Fix build on darwin

Since last night, the tests on Travis for darwin fail, even the master branch (that was successfully built before) doesn't work any more: https://travis-ci.org/restic/restic/jobs/76800443
Someone needs to investigate that.

I've emailed the support, let's see what they say.

Just gave it a try on my mac and apparently the problem may come from one of the tests in the cmd/restic directory.

Hm, but why did it work before?

Could you run the tests with go test -v ./...?

Here is the output:
=== RUN   TestArchivePipe
--- PASS: TestArchivePipe (0.00s)
=== RUN   TestArchiveDirectory
--- PASS: TestArchiveDirectory (2.02s)
	archiver_test.go:110: snapshot archived as dc70118799a27f127366ec2366478d089bdcedf7f55a8b36c7f93cf2713a192f
=== RUN   TestArchiveDedup
--- PASS: TestArchiveDedup (2.28s)
	archiver_test.go:147: archived snapshot 6c31ca42
	archiver_test.go:154: packs 13, data blobs 459, tree blobs 91
	archiver_test.go:158: archived snapshot 9e0a7946
	archiver_test.go:165: packs 16, data blobs 459, tree blobs 181
	archiver_test.go:175: archived snapshot afcbaa63, parent 9e0a7946
	archiver_test.go:182: packs 18, data blobs 459, tree blobs 266
=== RUN   TestCache
--- PASS: TestCache (2.29s)
=== RUN   TestLock
--- PASS: TestLock (1.00s)
=== RUN   TestDoubleUnlock
--- PASS: TestDoubleUnlock (1.02s)
=== RUN   TestMultipleLock
--- PASS: TestMultipleLock (0.97s)
=== RUN   TestLockExclusive
--- PASS: TestLockExclusive (1.04s)
=== RUN   TestLockOnExclusiveLockedRepo
--- PASS: TestLockOnExclusiveLockedRepo (0.76s)
=== RUN   TestExclusiveLockOnLockedRepo
--- PASS: TestExclusiveLockOnLockedRepo (1.56s)
=== RUN   TestLockStale
--- PASS: TestLockStale (0.00s)
=== RUN   TestLockWithStaleLock
--- PASS: TestLockWithStaleLock (0.60s)
=== RUN   TestRemoveAllLocks
--- PASS: TestRemoveAllLocks (0.53s)
=== RUN   TestLockRefresh
--- PASS: TestLockRefresh (0.74s)
=== RUN   TestNodeRestoreAt
--- PASS: TestNodeRestoreAt (0.00s)
=== RUN   TestNewSnapshot
--- PASS: TestNewSnapshot (0.00s)
=== RUN   TestTree
--- PASS: TestTree (0.00s)
=== RUN   TestNodeMarshal
--- PASS: TestNodeMarshal (0.00s)
=== RUN   TestNodeComparison
--- PASS: TestNodeComparison (0.00s)
=== RUN   TestLoadTree
--- PASS: TestLoadTree (0.55s)
=== RUN   TestWalkTree
--- PASS: TestWalkTree (1.54s)
PASS
ok  	github.com/restic/restic	17.005s
=== RUN   TestIDMethods
--- PASS: TestIDMethods (0.00s)
=== RUN   TestPrefixLength
--- PASS: TestPrefixLength (0.00s)
=== RUN   TestID
--- PASS: TestID (0.00s)
=== RUN   TestLocalBackend
--- PASS: TestLocalBackend (0.02s)
	local_test.go:19: created local backend at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-854402742
=== RUN   TestLocalBackendCreationFailures
--- PASS: TestLocalBackendCreationFailures (0.00s)
	local_test.go:19: created local backend at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-491819027
=== RUN   TestHashAppendReader
--- PASS: TestHashAppendReader (0.19s)
=== RUN   TestHashingReader
--- PASS: TestHashingReader (0.20s)
=== RUN   TestS3Backend
--- PASS: TestS3Backend (0.11s)
	s3_test.go:44: created s3 backend locally
=== RUN   TestSFTPBackend
--- SKIP: TestSFTPBackend (0.00s)
	sftp_test.go:59: unable to find sftp-server binary
=== RUN   TestHashAppendWriter
--- PASS: TestHashAppendWriter (0.18s)
=== RUN   TestHashingWriter
--- PASS: TestHashingWriter (0.18s)
PASS
ok  	github.com/restic/restic/backend	0.888s
?   	github.com/restic/restic/backend/local	[no test files]
?   	github.com/restic/restic/backend/s3	[no test files]
?   	github.com/restic/restic/backend/sftp	[no test files]
=== RUN   TestCheckRepo
--- PASS: TestCheckRepo (0.89s)
=== RUN   TestMissingPack
--- PASS: TestMissingPack (1.27s)
=== RUN   TestUnreferencedPack
--- PASS: TestUnreferencedPack (0.82s)
=== RUN   TestUnreferencedBlobs
--- PASS: TestUnreferencedBlobs (0.93s)
PASS
ok  	github.com/restic/restic/checker	3.924s
=== RUN   TestMount
Now serving /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-083911154/repo at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-mount-992930499
Don't forget to umount after quitting!
--- PASS: TestMount (8.66s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-083911154/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-083911154/testdata]
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-083911154/testdata]
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-083911154/testdata]
=== RUN   TestBackup
--- PASS: TestBackup (12.61s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-094368638/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-094368638/testdata]
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-094368638/testdata]
	integration_test.go:137: repository grown by 380187 bytes
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-094368638/testdata]
	integration_test.go:150: repository grown by 6845 bytes
	integration_test.go:155: restoring snapshot 506d3853 to /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-094368638/restore0
	integration_test.go:155: restoring snapshot a02b184d to /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-094368638/restore1
	integration_test.go:155: restoring snapshot c7c25da6 to /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-094368638/restore2
=== RUN   TestBackupNonExistingFile
--- PASS: TestBackupNonExistingFile (2.03s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-974778875/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-974778875/testdata/0/0/0 /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-974778875/testdata/0/0/1 /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-974778875/testdata/0/0/nonexisting /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-974778875/testdata/0/0/5]
=== RUN   TestBackupMissingFile1
error for testdata/0/0/9/37: lstat /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-238597553/testdata/0/0/9/37: no such file or directory
--- PASS: TestBackupMissingFile1 (3.28s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-238597553/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-238597553/testdata]
	integration_test.go:217: in hook, removing test file testdata/0/0/9/37
=== RUN   TestBackupMissingFile2
error for /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-915620842/testdata/0/0/9/37: open /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-915620842/testdata/0/0/9/37: no such file or directory
--- PASS: TestBackupMissingFile2 (2.97s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-915620842/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-915620842/testdata]
	integration_test.go:255: in hook, removing test file testdata/0/0/9/37
=== RUN   TestBackupExclude
--- PASS: TestBackupExclude (6.72s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-981771527/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-981771527/testdata]
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-981771527/testdata]
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-981771527/testdata]
=== RUN   TestIncrementalBackup
--- PASS: TestIncrementalBackup (9.71s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-076077388/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-076077388/testdata]
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-076077388/testdata]
	integration_test.go:398: repository grown by 13181197 bytes
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-076077388/testdata]
	integration_test.go:408: repository grown by 4318383 bytes
=== RUN   TestKeyAddRemove
--- PASS: TestKeyAddRemove (8.26s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-848698971/repo
	integration_test.go:471: changed password to "geheim2"
	integration_test.go:475: added new password "OnnyiasyatvodsEvVodyawit"
	integration_test.go:454: remove 1 keys: ["79ab3410"]
	integration_test.go:475: added new password "raicneirvOjEfEigonOmLasOd"
	integration_test.go:454: remove 1 keys: ["cf3e3767"]
	integration_test.go:481: testing access with last password "raicneirvOjEfEigonOmLasOd"
=== RUN   TestRestoreFilter
--- PASS: TestRestoreFilter (6.23s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-459094844/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-459094844/testdata]
=== RUN   TestRestoreWithPermissionFailure
--- PASS: TestRestoreWithPermissionFailure (2.09s)
=== RUN   TestRestoreNoMetadataOnIgnoredIntermediateDirs
--- PASS: TestRestoreNoMetadataOnIgnoredIntermediateDirs (4.09s)
	integration_test.go:45: repository initialized at /var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-237681253/repo
	integration_test.go:58: backing up [/var/folders/8w/7h0rp5394jg3tqyvg8zr1q7r0000gn/T/restic-test-237681253/testdata]
PASS
ok  	github.com/restic/restic/cmd/restic	66.686s
=== RUN   TestPoly1305
--- PASS: TestPoly1305 (0.00s)
=== RUN   TestCrypto
--- PASS: TestCrypto (0.00s)
=== RUN   TestEncryptDecrypt
--- PASS: TestEncryptDecrypt (0.39s)
=== RUN   TestSmallBuffer
--- PASS: TestSmallBuffer (0.00s)
=== RUN   TestSameBuffer
--- PASS: TestSameBuffer (0.00s)
=== RUN   TestCornerCases
--- PASS: TestCornerCases (0.00s)
=== RUN   TestLargeEncrypt
--- SKIP: TestLargeEncrypt (0.00s)
=== RUN   TestEncryptStreamWriter
--- PASS: TestEncryptStreamWriter (0.05s)
=== RUN   TestDecryptStreamReader
--- PASS: TestDecryptStreamReader (0.05s)
=== RUN   TestEncryptWriter
--- PASS: TestEncryptWriter (0.06s)
PASS
ok  	github.com/restic/restic/crypto	0.558s
?   	github.com/restic/restic/debug	[no test files]
=== RUN   TestMatch
--- PASS: TestMatch (0.00s)
=== RUN   TestMatchList
--- PASS: TestMatchList (0.00s)
=== RUN   TestFilterPatternsFile
--- PASS: TestFilterPatternsFile (0.39s)
=== RUN   ExampleMatch
--- PASS: ExampleMatch (0.00s)
=== RUN   ExampleMatch_wildcards
--- PASS: ExampleMatch_wildcards (0.00s)
=== RUN   ExampleMatchList
--- PASS: ExampleMatchList (0.00s)
PASS
ok  	github.com/restic/restic/filter	0.402s
=== RUN   TestFuseFile
--- PASS: TestFuseFile (0.28s)
PASS
ok  	github.com/restic/restic/fuse	0.726s
=== RUN   TestCreatePack
--- PASS: TestCreatePack (0.02s)
=== RUN   TestBlobTypeJSON
--- PASS: TestBlobTypeJSON (0.00s)
PASS
ok  	github.com/restic/restic/pack	0.034s
=== RUN   TestPipelineWalkerWithSplit
--- PASS: TestPipelineWalkerWithSplit (0.00s)
	pipe_test.go:58: walking path . with 1 dirs, 3 files
	pipe_test.go:135: walked path . with 2 dirs, 3 files
=== RUN   TestPipelineWalker
--- PASS: TestPipelineWalker (0.00s)
	pipe_test.go:149: walking path . with 1 dirs, 3 files
	pipe_test.go:215: walked path . with 2 dirs, 3 files
=== RUN   TestPipelineWalkerMultiple
--- PASS: TestPipelineWalkerMultiple (0.00s)
	pipe_test.go:329: walking paths [doc.go pipe.go pipe_test.go] with 1 dirs, 3 files
	pipe_test.go:391: walked 3 paths with 1 dirs, 3 files
PASS
ok  	github.com/restic/restic/pipe	0.015s
=== RUN   TestConfig
--- PASS: TestConfig (0.80s)
=== RUN   TestIndexSerialize
--- PASS: TestIndexSerialize (0.04s)
=== RUN   TestIndexSize
--- PASS: TestIndexSize (0.19s)
	index_test.go:163: Index file size for 20000 blobs in 200 packs is 2383163
=== RUN   TestIndexUnserialize
--- PASS: TestIndexUnserialize (0.00s)
=== RUN   TestFilesInParallel
--- PASS: TestFilesInParallel (0.80s)
=== RUN   TestFilesInParallelWithError
--- PASS: TestFilesInParallelWithError (0.01s)
=== RUN   TestSaveJSON
--- PASS: TestSaveJSON (0.78s)
=== RUN   TestSave
--- PASS: TestSave (1.43s)
=== RUN   TestSaveFrom
--- PASS: TestSaveFrom (1.85s)
=== RUN   TestLoadJSONPack
--- PASS: TestLoadJSONPack (1.37s)
=== RUN   TestLoadJSONUnpacked
--- PASS: TestLoadJSONUnpacked (0.56s)
=== RUN   TestLoadIndex
--- PASS: TestLoadIndex (0.65s)
PASS
ok  	github.com/restic/restic/repository	8.524s
?   	github.com/restic/restic/test	[no test files]

Apparently, the tests finish when I call go testbut not when I call go run run_tests.go all.cov which is used by travis.

What do you mean when you say that the tests "do not finish"? It just stalls? Can you see any CPU activity from the process?

In fact, the process eventually terminates. it's probably only a matter of timeout. The integration tests in the cmd/restic take several minutes to execute on my machine. It's consistent with the output provided by travis.
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
The solution is probably to make them faster.

Apparently, it is possible to increase this timeout with travis_wait.

That's strange, because usually the tests (at least on travis) on darwin take 3-4 mins:
https://travis-ci.org/restic/restic/jobs/76800441
But let's see what travis does.

Aha, maybe a new version of osxfuse?

Yes, there is already an issue opened for that. A solution could be to force the installation of osxfuse 2.8 but it seems difficult to achieve with homebrew.

I've added a comment over there.

Remember how I told you last week that the Darwin tests don't finish for me locally? This is the same issue I guess :-)

Ah, bummer.

The maintainer rolled osxfuse back from 3.0.4 to 2.8.0 in https://github.com/caskroom/homebrew-cask/pull/13442
I'm re-running the tests now.

This works now with the older version of osxfuse, closing.


Update Composer dependencies (2021-09-16-00-09)

Visual regression test passed!
View the visual regression test report


Correcting documentation to better match JSDoc's style.

Just some style corrections in the existing doc to better match JSDoc's style. Also some typos.

Hi @Protectator, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

:+1:


fix deduce type of predicate and list comprehension

Based on https://github.com/vesoft-inc/nebula-common/pull/388

please solve the conflicts.

please solve the conflicts.

please solve the conflicts.

OK, has solved.

please solve the conflicts.

OK, has solved.


Vue-Touch 2.0 - Uncaught TypeError: Cannot read property 'vueTouch' of undefined

I have my:
const Vue = require('vue/dist/vue.min');
const VueTouch = require('vue-touch/vue-touch.min.js');

Vue.use(VueTouch);

Then I add:
v-touch:swipeleft="fn"
To one of my pages elements, but as soon as i add the html attribute the page will break and wont load with the error in the title.
The error occurs in the bind event for vue touch at the start.
This is with vue 2.0.3

The problem seems to be that if you do
 v-touch:swipeleft="fn('something')"
it errors, whereas
 v-touch:swipeleft="fn"
works, im guessing this is a design decision, but it would be nice if we could pass in values to the function.

Closing this for inactivity, and because 2.0 was rewritten from the ground up. Please check out the new (currently beta) version.


How we can use this with Nuxtjs

Hi,
How we can use vue-plotly with NuxtJS, would you please help me

nuxt-property-decorator

any idea for Nuxt 3?

@andreemic I Hope you have already solved it. I installed plotly.js-dist and put it all together (events, camelize function, methods, main component) in a new component under my components folder. Just copy and paste and it worked.


build: update to Kubernetes 1.21.1

This is the usual dependency update.
We need controller-runtime 0.9.0 because older controller-runtime releases are not compatible with 1.21.0 due to API changes.

See https://github.com/kubernetes-sigs/controller-runtime/issues/1473 for the 0.9.0 release of controller-runtime.

@avalluri shall we merge this despite the one test failure in https://cloudnative-k8sci.southcentralus.cloudapp.azure.com/job/pmem-csi/job/PR-932/3/display/redirect?


specs: interop 3074 updates

Description
Updates the interop specs for 3074. This removes the "only eoa" invariant
and redefines an executing message to be an event emitted by the CrossL2Inbox

Edge-cases I think we should clarify in the spec, now that executing messages are also log events:

Events of executing messages can be consumed as initiating messages
Executing messages can be self-referential to their own event as initiating message
There can be loops between L2 chains with these self-referential messages, since there is no total ordering between L2s

And we may want message-hashing to have a version-byte and distinguish messages that are executing others, so we can detect these edge-cases without loading the full message. It'll also be more forward-compatible to possible interop changes or extensions.

And we may want message-hashing to have a version-byte and distinguish messages that are executing others, so we can detect these edge-cases without loading the full message. It'll also be more forward-compatible to possible interop changes or extensions.

Per https://github.com/ethereum-optimism/design-docs/pull/9, the versioned hash is an offchain optimization. We could specify its usage to make client diversity of the superchain backend easier, but its not part of the core protocol


url_for() equivalent to dynamically pick static files paths

This can be a little confusing to understand, so I will give you a case:
I have the following directory structure:

@src/
--static/
---styles/
----style_base.css
----style_module.css
----style_template.css
---styles_engine.css
--base.html
--index.html
--about/
---about-me.html

For context, the "styles_engine.css" file has some {% include "style_*.css" %} tags there to import all the other CSS files.
The use for the url_for() would be great for the "base.html" file, where it is imported to all other HTML templates. In practice, manually importing the "styles_engine.css" file works on the index.html if I do the raw path method, but it breaks on a subdirectory in the case of "about/about-me.html". url_for() would fix the paths dynamically.
Another example of this, is if I use any image or font inside the CSS file, it would break depending on the directory position of the template.
Does anyone have any idea of any alternatives to the url_for()? Currently my turn around is to do semthing like this:
{# This is the global.html #}
{% set stylesEngine = "styles-engine.css" %}

{# This is the base.html #}

{% from '_partials/global.html' import stylesEngine %}

{% if internalDirectory %}
        {# Used for pages/templates inside sub directories #}
        {% set stylesEngine = "../styles-engine.css" %}
{% endif %}

<link href="{{ stylesEngine }}" rel="stylesheet" type="text/css" />

In this case "internalDirectory" is set manually inside the template.

I'm sorry, I don't think I understand your problem still. What would your code look like if this feature was implemented? Is this a jinja2 problem, or a staticjinja problem? Maybe if you link to a repo with the actual code and walk through what is annoying that would help. I'm tempted to say this isn't in the scope of staticjinja, and if you need this feature you should just write a script yourself that uses jinja.


PSeq.exists2 occasionally is incorrect

The following will occasionally return false:
open System
open System.Linq
open System.Threading

type pseq<'T> = ParallelQuery<'T>

let inline toP (s : seq<'T>) =
    match s with
    | null -> nullArg "s"
    | :? pseq<'T> as p ->  p
    | _ -> s.AsParallel()

let exists2 (f : 'T -> 'U -> bool) s1 s2 =
    ParallelEnumerable.Any(ParallelEnumerable.Zip(toP(s1), toP(s2),Func<_,_,_>(f)), Func<_,_>(id))

let funcInt x y = (x+y)%3=0
let Intexists2Seq1 =  seq [1;3;7]
let Intexists2Seq2 = seq [1;6;3]

exists2 funcInt Intexists2Seq1 Intexists2Seq2

Fixed by https://github.com/fsprojects/FSharp.Collections.ParallelSeq/pull/6

I should have made a note.  There was a problem with the fix, so I rolled it back.

Ah ok, thanks!

@forki @pblasucci Maybe one of you can help me with this.  I tracked down the cause of the issue (finally had a couple free days).  The reason exists2 occasionally returns false is that IEnumerable.AsParallel will wrap an enumerable as a parallel enumerable which assumes the elements of the enumerable is unordered.   See here for details.
Assuming we want pseq to have the same semantics as ParallelEnumerable, I think this means that the test is incorrect.  In order for PSeq to work the same as ParallelEnumerale we'll need to add a couple methods something like this:
let asOrdered = toP >> ParallelEnumerable.AsOrdered
let asUnordered = toP >> ParallelEnumerable.AsUnordered

and then change the test from this  to something like this (this isn't the only test which will need to be updated):
// string Seq
let resultStr = PSeq.zip (seq ["str3";"str4"] |> PSeq.asOrdered) (seq ["str1";"str2"] |> PSeq.asOrdered)
let expectedStr = seq ["str3","str1";"str4","str2"]
VerifyPSeqsEqual expectedStr resultStr

Additionally, I will add some notes in the examples and documentation so the semantics are more obvious.
If that is amenable to everyone, I will write something up and create a PR for review.

@mydogisbox Yes, this makes sense.

I've updated the integer case of this test as well


added enc_type argument to http_build_query

(enc_type required for OAuth signature encoding), minor whitespace fix in rawurlencode

Great contribution, thanks! One minor thing, the depends on syntax only supports one dependency per line. If you can just fix that this is ready to merge afaic :+1:

Is the build failure expected?

I apologize for the failed commit...

The test is passing locally but not with the automated build, any suggestions?

Here's the fail:
ERROR: --> http_build_query#3 failed.
ERROR: expected:
"myvar_0=foo&myvar_1=bar&myvar_2=baz&myvar_3=boom&php=hypertext%20processor&cow=milk"
returned:
"myvar_0=foo2myvar_1=bar2myvar_2=baz2myvar_3=boom2php=hypertext+processor2cow=milk"

Hi there
I've tried all sorts of things, as you have probably seen I even started from scratch thinking that I finally had it down and not wanting to pollute the commits. I've completely cleaned up my dev environment and I'd like to get this done as soon as possible, but when I run "make test" on the latest revision of kvz/phpjs (without any modifications) the test fails as follows:

Any ideas? I assume that as soon as the test works I'll be able to figure out what's wrong with my changes and fix them accordingly...

Odd. array_count_values failed for me too, was listed in known_failures.txt so not fatally.
Whatever the reason this crashed for you and not here or on Tavis, I fixed a problem here: https://github.com/kvz/phpjs/commit/c8080077f2ba15a636dfc36b468e0ff879448023
Hope this helps

Thanks for fixing that! The tests are working now. After much debugging, however, I've discovered that the problem lies with having two "depends on" lines in the comments - the second line is simply ignored. Do you have an example of how to resolve this?

Hi again - I'm not familiar with the comment requirements and I'd like to complete this as soon as possible. Is there any documentation available?

Hi, I just had a minute to verify dependency parsing works and wrote a test for it. All seems good.

It appears though you've added legacy style prefixes - * etc to the comment header keys. Can you try removing those?

Maybe you can try rebasing your changes upon master? There may be more fixes since your fork.

Hi
I don't know what's different between my environment and yours, but I've rebased and the second "depends on" comment is consistently ignored so the tests continue to fail. I added basic debug logging.
When the order is as follows, example 1 passes and the other two fail:
//  depends on: rawurlencode
//  depends on: urlencode
//  example 1: http_build_query({'php': 'hypertext processor', baz: 'boom', cow: 'milk'}, '', null, 2);
//  returns 1: 'php=hypertext%20processor&baz=boom&cow=milk'
DEBUG: --> strnatcmp#3 passed.
DEBUG: --> strnatcmp#4 passed.
DEBUG: --> strnatcmp#5 passed.
ERROR: 508 passed / 3 failed  / 29 known / 17 skipped
undefined:217
console.log(urlencode(key) + '=' + urlencode(val));
^
ReferenceError: urlencode is not defined
at _http_build_query_helper (eval at  (/home/vagrant/phpjs/lib/phpjsutil.js:266:10), :217:20)
at http_build_query (eval at  (/home/vagrant/phpjs/lib/phpjsutil.js:266:10), :239:17)
at eval (eval at  (/home/vagrant/phpjs/lib/phpjsutil.js:290:65), :1:15)
at /home/vagrant/phpjs/lib/phpjsutil.js:290:11
at /home/vagrant/phpjs/lib/phpjsutil.js:184:16
at /home/vagrant/phpjs/lib/phpjsutil.js:202:14
at /home/vagrant/phpjs/lib/phpjsutil.js:151:5
at PhpjsUtil._loadDependencies (/home/vagrant/phpjs/lib/phpjsutil.js:108:7)
at PhpjsUtil.parse (/home/vagrant/phpjs/lib/phpjsutil.js:143:8)
at /home/vagrant/phpjs/lib/phpjsutil.js:197:10
make: *** [test] Error 1
When the order is as follows, the test fails. These results are consistent when I reorder the examples.
//  depends on: urlencode
//  depends on: rawurlencode
undefined:217
console.log(rawurlencode(key) + '=' + rawurlencode(val));
^
ReferenceError: rawurlencode is not defined
at _http_build_query_helper (eval at  (/home/vagrant/phpjs/lib/phpjsutil.js:266:10), :217:20)
at http_build_query (eval at  (/home/vagrant/phpjs/lib/phpjsutil.js:266:10), :243:17)
at eval (eval at  (/home/vagrant/phpjs/lib/phpjsutil.js:290:65), :1:15)
at /home/vagrant/phpjs/lib/phpjsutil.js:290:11
at /home/vagrant/phpjs/lib/phpjsutil.js:184:16
at /home/vagrant/phpjs/lib/phpjsutil.js:202:14
at /home/vagrant/phpjs/lib/phpjsutil.js:151:5
at PhpjsUtil._loadDependencies (/home/vagrant/phpjs/lib/phpjsutil.js:108:7)
at PhpjsUtil.parse (/home/vagrant/phpjs/lib/phpjsutil.js:143:8)
at /home/vagrant/phpjs/lib/phpjsutil.js:197:10


Rename aspnet5 to aspnet core

I just updated the title in the docs to the new "aspnet core".
+Info: https://github.com/aspnet/Docs/pull/938

Hi @asierba, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;


have installed .Net 5.0.0 but ds4 windows still appears warning to install .Net 5.0.0 how to overcome this?

have installed .Net 5.0.0 but ds4 windows still appears warning to install .Net 5.0.0 how to overcome this?

What is the error message you're seeing? Our runtime download page is a bit confusing at the moment, so maybe you just need a different download.


devenv: add browseable option to _run/kind

Add an option to proxy localhost:80 to your app
to play nice with kubernetes ingresses.

@jackzampolin


pre-process mp4

Hi I would like to know what is the best way that you recommend to pre-process a mp4 video so it will work best with your project.

Hi, input resolution to model is 224, but random crop during training so mp4's with shortest side as 256px is good!
For fps, it again will be a tradeoff between perf. and speed -- pretraining on webvid is so big it doesnt matter (1fps) is good. For finetuning original fps (~20+ fps is good)


Implemented support for custom colors (#916)

Custom colors could be defined in spec with given name and hex value.
The defined color then could be used as one of a theme color.
Stylesheet with cssvars for custom colors is rendered in diagram component. Thees styles uses same ':where[data-likec4-color=]' selector as theme styles.
Also tried alternative with inline definition (use hex value instead of color name) but there are some problems with passing overridden cssvars into m.div component. Moreover, such implementation seems to be pretty messy.

Hi, @davydkov ,
Thank you for feedback! I'll apply fixes in a day or two.

@davydkov ,
Fixed issues from review and rebased on top of feat/model-api.

Sorry, I was busy last days
Thank you for this PR
I fix merge issues
Resolves #916


Default config path to .config/rustypaste/config.toml

The current default of .rustypaste/config.toml violates my home directory.

Modern desktop applications should try to follow XDG specifications. See for instance the cargo thread on the topic. The argument is that if more applications follow those XDG specifications, then home dirs all across the globe become cleaner. There are even crates to easily enable XDG stuff.


Copy Image data to host volume upon initialization

Expected behavior
An image created from a Dockerfile has volumes,  if these image directories contain data and the host directories (volumes) don't, then copy the data into the host.  If "docker create" or "docker run" specifies the host directory with the -v flag, the data from the image should be copied into the host directory.  Ideally there should be a different flag to mount the volumes from the host onto the container.
Actual behavior
Host directories are empty upon initialization.  Where's the data?
Information about the Issue
In Docker's documentation: https://docs.docker.com/engine/tutorials/dockervolumes/#data-volumes it says
"Volumes are initialized when a container is created. If the container’s base image contains data at the specified mount point, that existing data is copied into the new volume upon volume initialization. (Note that this does not apply when mounting a host directory.)"
It is a little ambiguous as to whether this even happens when running a container from the command line.  The Docker documentation seems to indicate that the same flag (-v) is used for the "Volume initialization" and when "mounting a host directory".  The only distinction mentioned in the examples is that in the former, no host directory is specified.  In the latter the host directory is specified.  This makes no sense because you are not telling Docker where to copy the data in the former, and in the latter the data from the host is used.
Steps to reproduce the behavior

Create or Run container with volumes configured in the Dockerfile with or without -v flag
Configure the directories onto the host in Kitematic (it doesn't seem to pick them up from the container even if it was specified in the command line)
Navigate to the directories specified on the host.
The data is not there.

I realize this may be a Docker issue, not necessarily a Kitematic one.  Is there a solution I've overlooked?
Cheers,
Matt

The only solution I've found is copying the data in after the volumes are mounted. PITA

@AppreciateIT Hi Matt, volumes are initialized on container run, but are somewhat hidden and 1-shot. You can see them all by doing docker volume ls.
When you bind mount a volume, the init process that generates the data still needs to happen.
If it happens after the fact, then your volume will overwrite what data had been created in the container.

Thanks, I'll monkey with it.  Still learning.  Much appreciated.


How to pass tokenRenewalOffsetSeconds to MSAL from MSAL AngularJS wrapper?

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ X ] Other... Please describe:

Browser:

[ X ] Chrome version 78.0.3904.70
[ ] Firefox version XX
[ ] IE version XX
[ ] Edge version XX
[ ] Safari version XX

Library version
Library version: MSAL 1.1.3 and MSAL for AngularJS 0.1.1
Current behavior
I'd like to test token renewal\expiration. I opened this question at SO.
I do see here that tokenRenewalOffsetSeconds is being used to test it. However I don't see any way of passing tokenRenewalOffsetSeconds to MSAL when using MSAL Angular JS wrapper. This parameter is not described on MSAL Angular JS doc here.
By the way... in some places like on this table *****here it's mentioned MSAL AngularJS 0.1.1. On the latest file here it still mentions 0.0.1... so it's kinda confusing which version it really is.
***** The link anchor #release and others are not working either on this page.
Expected behavior
Be able to pass additional (new) parameter(s) from Angular JS wrapper to MSAL latest code.

@leniel Unfortunately, this option is not available for @azure/msal-angularjs, as it was added in msal 1.0, and @azure/msal-angularjs uses 0.2.2 of msal. This also means it is not currently available in @azure/msal-angular, however, it will be soon, as we are working this quarter to upgrade to @azure/msal-angular to version 1 of msal. We do not have plans to backport this fetaure to @azure/msal-angularjs, however.
Apologies for the confusion with the version in the source code, it looks like the code comment you referenced is out of date.

@jasonnutter thanks for the reply... we're using the latest MSAL code 1.1.3 with MSAL Angular JS and it is working as expected so far but we're limited. Can't use these new additions.
The way ahead is then going with @azure/msal-angular.

@jasonnutter : how can we contribute to the wiki page(s) here?
Can't we submit PR to fix the pages? :)

@leniel  you should be able to fork the repo and then submit a PR. here's an example w/the .net repo

@jennyf19... I only saw an option to clone the wiki directly from origin... could not fork it. Can you point me to the real Github repo where it's hosted so that I can fork?
I cloned directly from the origin... and that won't allow me to push.

@leniel - okay...figured it out. so if you go to the wiki main page at the bottom right under the TOC, you'll see the below link to clone the wiki. Then you should be able to make PRs.

@jennyf19 this is the link I sent in my previous comment. There's no way to send a PR here on GitHub. Somehow the Wiki is closed.
If any of you know how to send a PR to the wiki, let me know. I fixed some doc links locally but I can't send a PR.

@negoe -> Do you know what's up w/the wiki for JS? An outside contributor should be able to clone the wiki locally and do a PR, could you check on the settings for the repo? Thanks
cc: @leniel @jmprieur

Unfortunately, I don't believe Github supports pull requests for wikis (even though wikis are themselves Git repos). If you have corrections you would like us to make, please open a separate issue detailing the changes and we'll take a look, thanks!

@jasonnutter yeah... looks like this is true but really not good when it comes to collaboration.
Here on this post there's a proposed solution.

@leniel Thanks for the links. I agree its unfortunate and not conducive to outside contributions. Generally speaking, we are hoping to move more of our documentation to docs.microsoft.com (and off of Github Wikis), which does provide functionality for outside contributors to make contributions.


This whole article contradicts Microsoft 365 Defender Recommendations

If this is what Microsoft is recommending then why is my secure score at security.microsoft.com is taking a hit because of these 4 settings:

Set 'Maximum password age' to '60 or fewer days, but not 0'
Set 'Maximum password age' to '90 or fewer days, but not 0' in macOS
Set 'Minimum password length' to '14 or more characters'
Set minimum password length to 15 or more characters in macOS

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

ID: 523758d0-17ea-7061-d9ce-8f5a31a76b4c
Version Independent ID: 545fd950-8ef0-837b-8839-8aa21da0c6eb
Content: Password policy recommendations - Microsoft 365 admin
Content Source: microsoft-365/admin/misc/password-policy-recommendations.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@mbrown19465 Thank you for your feedback. I will work with the author and check the contradictions.
Thanks
Sri

@kwekuako Please help us in resolving this issue. Email sent.

Email sent

Author confirmed that issue has been fixed. Thanks


As a developer I need to be able to test my code

Tooling request
We need to add tests to the project.
Requirements:

[x] install Vitest
[x] Create a dummy test

Solved by #5


pickJsonSchemaProperties problem

Hi,
First, thank you for your work on objection. Looks very promising.
pickJsonSchemaProperties  is set to true on a model, let's say Post. Posts have a categories relation. categories is not in my json schema.
When I insert data :
{title:"title", categories:"tampered data, will cause exception"}

It raises an exception You should only pass objects to $setJson method. $setJson method was given an invalid value 1.
I understand what objection try to do here, but I want him to consider relations only when I tell him to do. pickJsonSchemaProperties  don't omit relation fields during validation but

when inserting or updating a row in the database.

Is there any way to omit field from raw data passed to update() or create() before any Model instance creation ?
Thank you

Hi, thank you!
Relations actually do get stripped away whether pickJsonSchemaProperties is true or false right before the actual insert operation, but the relations are first parsed into models in when insert, update or patch is called. This means that everything works if the relation property contains valid models, but if there is something else (like ids in your case?) this happens.
I cannot strip away the relation properties because some people do things like modify the object based on related models in $beforeInsert and $beforeUpdate. What I probably can do is not try to parse the relations into model instances if they contain non-objects which would fix this error.
I'll try to fix this and report my findings here.

This should now be fixed in master. You can test it by putting this
"objection": "git://github.com/Vincit/objection.js.git#a3c84b5"

in your package.json.

thank you !


add Granulate gMaestro Addon

Issue #, if available:
Description of changes:
This PR continues https://github.com/aws-samples/cdk-eks-blueprints-patterns/pull/57
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@elamaran11 please rereview

Also please share us the secret to validate this pattern in relevant AWS channel or POCs so we can consume to validate the pattern.

will be provided soon

@marina-vrublevsky Please fix the above issues pointed out.

@marina-vrublevsky Please provide an update on this PR and Patterns Repo PR.

@freschri As discussed, please pick this PR for tech validation. @marina-vrublevsky Please share the secrets for your share platform to us in some secured manner (you can email us or let us know we can invite you to AWS Dev slack).

@elamaran11 where can i email the secret?

@elamaran11 where can i email the secret?

@marina-vrublevsky Share me your email, i will invite you to a slack workspace where you can share the secrets directly.

@elamaran11<EMAIL_ADDRESS>
Hope you received the invite from Riccardo. Please share the secrets with him and myself in Slack.

@freschri Can you confirm in this PR, you were able to complete the test pattern with provided credentials from the Partner and validation worked fine?

@marina-vrublevsky I see some GH action failures

@marina-vrublevsky Apologies, looks like there is some breaking changes to latest version. Can. you go back to previous version of blueprints and aws-cdk and remove .version('auto'). We can merge this PR and then i can work on fixing the breaking change with latest version.

Can. you go back to previous version of blueprints

which version? @elamaran11

@elamaran11 reverted to the version from main branch

@elamaran11 reverted to the version from main branch
Blueprints version. I saw you had handled it.


maven-curl page is not added in git

https://docs.aws.amazon.com/codeartifact/latest/ug/maven-curl.html
There are some changes that need to be done to that page

@MazharAhmed thanks for bringing this to our attention! I just did an update of the GitHub repo so that file is here now, cheers!


Move example sketch to appropriately named folder

The Arduino IDE requires the sketch folder name to match the filename of the primary sketch file. This change causes the example sketch to be accessible via the Arduino IDE's File > Examples > LIBRARYNAME menu after the library is installed.

@per1234, thank you for a remark. We corrected it.


fix: add cache control for vercel static assets

these are handled automatically by vercel :) https://github.com/vercel/vercel/blob/main/packages/frameworks/src/frameworks.ts#L257

these are handled automatically by vercel :) https://github.com/vercel/vercel/blob/main/packages/frameworks/src/frameworks.ts#L257

I'll double check but it seemed like they were not there in my deployment.

mine appear to have proper cache control

@mcansh here is a barebones deployment done through the Vercel UX: https://github.com/jacob-ebey/dynamic-css-with-remix-resource-routes https://dynamic-css-with-remix-resource-routes.vercel.app/demos/theme
There is a cache-control: public, max-age=0, must-revalidate on all the static assets.

Thank you for this PR!
I suggest closing it, though, as we're working on a fix in https://github.com/vercel/vercel/pull/7064.


Update README examples to be functional

The current examples in the readme are old and 'abstract'. They should be updated to actually functional examples

README.md, install and helm notes all contain at least one executable example


Paste from Word

Hello, this is a very nice work ;-)
Pasting from Word does only import first paragraph !
Is there a onPaste event and how to use it ?
Bes regards

Hi, @Yves-K
Thank you : )
It will be added in the next update.

Hi @Yves-K
Updated in v2.19.0(Added onPaste event)
Thank you : )


Miss-leaded error message while building with invalid package metadata

Hi everyone 👋🏼
While I was trying to rez-build my Python project, I got an error message saying that I have no build system to use :
01:21:32 ERROR    BuildSystemError: No build system is associated with the path ...

But the doc says if package.py have build_command attribute, custom build system should be used.
Here's what my package.py looks like:
name = "foo"

authors = ["davidlatwe"]

description = "Awesome foo"

version = "0.1.0"

requires = [
    "python*",
]

variants = [
    ["default"],
]

build_command = "some fancy command"

def commands():
    env.PYTHONPATH.append("{this.root}")

I think my package.py was fine, at least should be enough to summon custom build system.
So I start to hunt the cause, and I found it was because my required package "python*" some how failed the schema validation.
And here's the reason why the PackageMetadataError and PackageRequestError was not raised :
https://github.com/nerdvegas/rez/blob/103270d1b39e139223dec706236cbaffc4e14669/src/rez/build_system.py#L31-L36
Any reason why it's being ignored ? I think there should be at least a warning message. 🤔

I agree that the error is somewhat misleading. python* is not a valid request though, so the fail itself is expected. What did you want to request? Any python version? That would be just python. The reason for your string not to be a valid request is that Rez uses - as a separator between package name and version. If there is no -, then Rez considers the whole string to be the package name and * is not a valid character for package names, hence the schema validation fails.

Thanks for the info ! Yes, I changed the request package name to python or python-* and it resolved. 👍🏼

Agreed this should be a warning, I'll make this change.
Please be aware that by specifying python-*, you're specifically using
something called "requirements expansion" (which is fine), see
https://github.com/nerdvegas/rez/wiki/Package-Definition-Guide#requirements-expansion
Cheers
A
On Sun, Aug 2, 2020 at 6:58 AM David Lai<EMAIL_ADDRESS>wrote:

Thanks for the info ! Yes, I changed the request package name to python
or python-* and it resolved. 👍🏼
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/915#issuecomment-667586242, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMOUSRWQB6XETA64D7OBY3R6R6WJANCNFSM4PR5OABQ
.

Actually I'll make this an error - this then matches existing behaviour when build system is know (eg, a CMakeLists.txt is present)


Add byteball to my GitHub.com

I want byteball to be added to my GitHub account

@Zinasimab just click "fork" in the top right hand corner and you will get your own copy on your github account.


Add sudoer.ir to persian

Add sudoer.ir to Persian Linux courses

Add sudoer.ir to Persian Linux courses

Maybe this fits better into podcasts/screencasts?

Maybe this fits better into podcasts/screencasts?

Maybe this fits better into podcasts/screencasts?

I have no idea about it, My website includes videos(screencasts), documents, and podcasts nut the most content is screen recorded videos with the structure of learning Linux.
Actually, I can not put it in specific category.
But I agree with you about the screencasts, I will change it.

Maybe this fits better into podcasts/screencasts?

I have no idea about it, My website includes videos(screencasts), documents, and podcasts nut the most content is screen recorded videos with the structure of learning Linux.
Actually, I can not put it in specific category.
But I agree with you about the screencasts, I will change it.

I put the YouTube playlist address
This is more like a course

I put the YouTube playlist address
This is more like a course

Thanks, and welcome to free-programming-books!


Need clarification regarding Kestrel  web server

Hi,
In mock-register source what is the purpose of using kestrel, please explain, it's required?

Hi @gobi-it
Kestrel is the web server that has been used to expose the APIs within the project.
Let me know if you are after anything specific with this question.
Thanks


FP1 British 2020 don't work

Traceback (most recent call last):   File "main.py", line 22, in <module>     giri = sess.load_laps()   File "/home/**/.local/lib/python3.8/site-packages/fastf1/utils.py", line 61, in decorator     return func(*args, **kwargs)   File "/home/**/.local/lib/python3.8/site-packages/fastf1/core.py", line 252, in load_laps     self.laps = Laps(self._load_summary())   File "/home/**/.local/lib/python3.8/site-packages/fastf1/core.py", line 324, in _load_summary     t_map = {r['number']: r['Constructor']['name'] for r in self.results} AttributeError: 'Session' object has no attribute 'results'

Also FP2. Same erros

Also FP2. Same Error

Should be fixed.
This was nothing specific to these sessions. There's just another api call (to ergast) but that one will fail if you're asking for a session too soon after it ended. (seems the data there is only available after the weekend). The missing data was not handled correctly.

Top. All work fine.
I have a question. how do I make a Box Plot with the lapTime of a race?


Make transaction timeouts configurable globally when calling new PrismaClient()

Problem
the default interactive transaction timeout is too low.
For example I work on a DB located on the other side of the world. With the default timeout it easily get's closed even when nothing goes wrong.
Suggested solution

increase the default timeout to 10s and 20s like

{
  maxWait: 10000,
  timeout: 20000
}

allow users to override this for prisma client instance like this:

new PrismaClient({
   transactionTimeouts: {
     maxWait: 10000,
     timeout: 20000
  }
})

Alternatives
create a helper function something like this:
// helper, because the default prisma transaction timeouts are too small
export const prismaTransaction = <R>(fn: (prisma: Prisma.TransactionClient) => Promise<R>) => {
  return prismaClient.$transaction(fn, {
    timeout: 30000,
    maxWait: 60000
  })
}

Additional context
https://github.com/prisma/prisma/issues/13713

We need this ASAP!

#19592 adds this, and just needs tests/approval to be merged.

Hi, just ran into this now. We have hundreds of transactions in our app and having to go hunt them down as they fail is very time consuming. Looking forward to this improvement, ty.

This has been shipped as part of release 5.10.x:

Configure transaction options in the PrismaClient constructor
This feature enables you to configure the following transaction options on a global level via the PrismaClient constructor:

isolationLevel: Sets the transaction isolation level. By default, this is set to the value currently configured in your database.
timeout: The maximum amount of time the interactive transaction can run before being canceled and rolled back. The default value is 5 seconds.
maxWait: The maximum amount of time Prisma Client will wait to acquire a transaction from the database. The default value is 2 seconds.

Here is an example of how you can set this value globally for all transactions:
const prisma = new PrismaClient({
  transactionOptions: {
    isolationLevel: 'ReadCommitted',
    timeout: 1_000, // 1 sec
    maxWait: 2_000  // 2 sec
  }
})

Thanks a lot to our fantastic community member @tockn, who took the initiative to implement this feature in Prisma ORM 🎉
Note that you can still override the global values by setting them on a particular transaction.

This is the luckiest I've been with running into any issue on Prisma: 'cause this issue had been open for almost two years, but luckily for me, when it mattered to me, alas (!), it was just resolved two weeks ago. Trust me, I've been unlucky with an awful lot, long lasting issues from like 3, 4 years all still open.
I celebrate this likkle win 🎉🥳


Forth not available after on/off

Hi,
first of all: This is a great project! Congratulations on your splendid work!
I do have a problem, though: I can load the binary image without problems via cassette interface and the WAVs you provided, and Forth500 starts up and exits fine. However, after I switch off and on again, I cannot re-call Forth (via CALL &B000) - the computer just shows BUSY and hangs; I can only recover it via a RESET.
I changed all batteries, including the lithium CR2016, but no luck.
Is there something I am doing wrong?
Thanks,
Andreas

I haven't had such an issue on expanded and unexpanded E500. Turning ON/OFF has no effect. If you allocated memory in advance (see instructions), then you should be fine. If memory is not allocated then Forth500 will crash sooner or later.
However, if a faulty Forth program destroys the dictionary then you may see the system hang or misbehave. The best way is to save the Forth500 image to RAM disk, then run a program to test. If things fail, just reload the image from RAM disk. See the SAVE command in the additions/SAVE.FTH file.

I should also add that pressing OFF/ON doesn't have much of an effect at all on the machine's state, because it simply turns the machine into a low power state that is restored with ON. It's just a system call that returns when the machine is turned back on.
Executing BYE to return to BASIC and then back to Forth500 with CALL&B0000 (or CALL&B9000 when applicable) will restart Forth500 with the dictionary unchanged. If it hangs, then Forth500 was damaged. That can happen when memory allocation failed before Forth500 was loaded into memory, thus the loaded Forth500 is not protected and can be damaged by the BASIC interpreter or by the system. Check that memory allocation for Forth500 was successful (see the README).

Thank you very much for the hints! I managed to run the „unexpanded” version in the meantime. At this point I suspect my RAM card to be the culprit, I believe it might be faulty.
I’ll let you know once I have confirmation.
Thanks again,
Andreas

I should add that a 32KB RAM card does not suffice to run the expanded version even with MEM$="B". I will add a note about that in the README under E500-expanded. If there is some demand for this, then I could create a third version of Forth500 that runs with a 32KB RAM card with MEM$="B" specifically.


Special-case functools.wraps decorator support

Currently a function decorated with @functools.wraps(...) wreaks havoc with intellisense. This is particularly unfortunate, since @wraps specifically exists in python to support proper docstrings with wrapped functions.
According to the python documentation @wraps  does (by default) the following:

assigns to the wrapper function’s __name__, __module__ and __doc__ to the wrapped function`s values
updates the wrapper function’s __dict__ with the wrapped function's __dict__

Intellisense should also be able to handle the frequently used python idiom with *args, **kwargs in the wrapper:
from functools import wraps

def foo(param1: str, param2: int = 1) -> float:
    "Some docstring"
    pass

@wraps(foo)
def bar(*arg, **kwargs):
    print('calling foo')
    return foo(*args, **kwargs)

Intellisense type hints that show bar: _AnyCallable and parameter hints that show (*args, **kwargs) -> Any, as is currently the case, are completely pointless.
I realize that special-casing is not a very attractive prospect, but at least for this standard-library idiom specifically designed for making function wrapping more transparent, Intellisense really should work out of the box.

The same goes for functools.partial

If you specify parameters on bar in your example the signature appears to work.

This issue is similar and is transferable to e.g. functools.partial

can you create a new issue with an example and link it?

Moving this issue to discussion as an enhancement request for comments and upvotes.


 Either:
foo:
  ay
| lmao

or
foo:
| ay
| lmao

or
foo:
  | ay
  | lmao

or
foo: ay
| lmao

ples

I'm fine with:
foo: | ay | lmao

seconded


Fix to #16078 - Query/Null semantics: when checking if expression is null, just check it's constituents rather than entire expression

Problem was that during null semantics rewrite we create IS NULL calls on the operands of the comparison. If the operands themselves are complicated, we were simply comparing the entire complex expression to null. In some cases, we only need to look at constituents, e.g. a + b == null <=> a == null || b == null.
Also added other minor optimizations around null semantics:

non_nullable_column IS NULL resolves to false,
try to simplify expression after applying de Morgan transformations

Also fixed a bug exposed by these changes, where column nullability would be incorrect for scenarios with owned types.

new version up

up

new version up, made some changes, please take a final peek @smitpatel @roji


School Backpack - Fix java.lang.IllegalArgumentException

Main problem: School Backpack calls for RNG to create card rewards... but the RNG made a negative value and that negative value crashes the game.
This would happen in the unmodded game? Hm. Have to check that later.

Ok, what's going on: the class is choosing a modded class, and that modded character class results in UNCOLORED being chosen. Uncolored doesn't have any common card, which screws over with the RNG.
Solution: improve class so it does not choose modded classes.


Incremental materialization doesn't drop temp table

Expected behavior
When something goes wrong during incremental materialization, rerunning dbt should fix the problem.
Actual behavior
When something goes wrong during incremental materialization, the temp table isn't dropped so once something goes wrong, dbt can never recover and needs someone to manually drop the temp table for things to work again.
Steps To Reproduce

Run incremental model that fails for operational reasons (e.g. Trino being unstable).
Run it again.

Dbt-trino creates temporary relation to hold the data that it then appends. That gets cleaned up on success but not before run, so if things go wrong the relation stays there, until cleaned up manually.
Log output/Screenshots
10:03:25  Database Error in model <redacted> (models/<redacted>.sql)
10:03:25    TrinoUserError(type=USER_ERROR, name=TABLE_ALREADY_EXISTS, message="line 1:1: Destination table '<redacted>' already exists", query_id=20221211_095653_13629_vchpy)

Operating System
MacOS
dbt version
1.3.0
Trino Server version
393-e.1
Python version
3.8.10
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

I think the fix would be basically add {% do adapter.drop_relation(tmp_relation) %} after https://github.com/starburstdata/dbt-trino/blob/0aa3af4852742e328a5f58073ee17c8a24fe5b0e/dbt/include/trino/macros/materializations/incremental.sql#L66
but now that I'm looking at it, it seems strange that it even does table - I wonder if views_enabled should be default?

You are right it should default to true according to the docs.


refresh an integration

hi there
how to make a API request to refresh an integration ?
thanks

Forcing an integration refresh is unfortunately not available to 3rd party clients.


server: Optimize header allocation for grpc server

https://github.com/hyperium/tonic/blob/master/tonic/src/server/grpc.rs#L206

no longer needed, the string is static and therefore should not allocate.


Updating README.md file to be consistent with Python

Adding information about Entra authentication and a sample using DefaultAzureCredential.

API change check
API changes are not detected in this pull request.

@scottaddie :  Do you mind giving the README a quick pass for the Entra brand usage?


Vulkan support issues

Current Vulkan support has a serious issue with image layouts. OpenXR specification says that runtime must guarantee that:

The image has a memory layout compatible with VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL for color images, or VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL for depth images.

and returned from application image must be interpreted the same way.
Currently you are doing in OpenXrRuntime::xrReleaseSwapchainImage transition UNDEFINED -> COLOR_ATTACHMENT_OPTIMAL what is plain wrong as per Vulkan specification

VK_IMAGE_LAYOUT_UNDEFINED ... can be used in place of the current image layout in a layout transition, but doing so will cause the contents of the image’s memory to be undefined.

Since OpenXR runtime produces and consumes images in the same VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL/VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL layout, you actually need to do transition to them only once: after image creation.
The same probably applies to DX12.
Also, call to serializeD3D11Frame in OpenXrRuntime::xrEndFrame looks redundant – does it send Signal/Wait to the same queue or synchronize different queues?

Thanks for the report.

Current Vulkan support has a serious issue with image layouts.

I understand what you are saying, though I have run hello_xr and Unity with Vulkan without issues. Unity is a pretty decent benchmark. hello_xr uses the Vulkan conformance layer, which is currently not reporting issues with layouts (or any issues at all actually). Additionally, PimaxXR main branch currently passes OpenXR conformance tests with Vulkan as well. So maybe "serious issue" is a little bit dramatic wording :)

Since OpenXR runtime produces and consumes images in the same VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL/VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL layout, you actually need to do transition to them only once: after image creation.

I've been pondering this originally but added the transitions in case apps would not properly do them. To make sure we eventually get back to a known state. Doing the transition from undefined is OK with D3D12 (but possibly suboptimal, though we only do this very few times per frame). Did not know about the limitation of Vulkan that you pointed out (even though it does not seem to matter from a functional point of view, but perhaps could cause issues with specific drivers).
I agree in this case of interop, they are really only needed at creation, and maybe I will revert to just that.

Also, call to serializeD3D11Frame in OpenXrRuntime::xrEndFrame looks redundant – does it send Signal/Wait to the same queue or synchronize different queues?

That's definitely needed for interop. You do not have control of what specific queue DX11 will utilize, and a D3D11 context does not guarantee specific queuing at the low level. We create the D3D11 device based on the LUID of the app Vulkan device, and the only way to cross the gap between the two APIs is a GPU-side fence.

So maybe "serious issue" is a little bit dramatic wording :)

Well, it's indeed more "dramatic" than its current impact :) But I think such subtle bugs are very annoying to find if something goes wrong, for example, in new drivers.

hello_xr uses the Vulkan conformance layer, which is currently not reporting issues with layouts (or any issues at all actually).

I think the basic problem is not an issue that validator can detect: the transition is legal and after that no Vulkan constructs uses the image.
But I started investigating due to validator complaining about another issue: I render images for each eye without dependency (and without synchronization), so your vkBeginCommandBuffer uses already used but not completed command buffer when processing the second eye (what is illegal). But fixing the first issue also removes the second one so I didn't mention it.

Did not know about the limitation of Vulkan that you pointed out (even though it does not seem to matter from a functional point of view, but perhaps could cause issues with specific drivers).

Current drivers, I think, just see the transition OPTIMAL->OPTIMAL and "optimize" it away as no-op as it's cheaper than destroying the data. Still, fixing this would be beneficial for both conformance and speed.

I've been pondering this originally but added the transitions in case apps would not properly do them.

Standard is very clear here and I'd rather not do such "workarounds" before some major application actually breaks without them. The less is done in translation layer the better.

We create the D3D11 device based on the LUID of the app Vulkan device, and the only way to cross the gap between the two APIs is a GPU-side fence.

Vulkan->D3D11 indeed needs synchronization, but that's taken care by serializeVulkanFrame, not serializeD3D11Frame.
Here I'm talking about pure D3D11 OpenXR usage (where I'm doing the interop myself, sorry if it was confusing).

Here I'm talking about pure D3D11 OpenXR usage (where I'm doing the interop myself, sorry if it was confusing).

Oh I see. Well for this one, I recently migrated all the internal code to its own D3D11 device, to make sure we don't use the application device unless absolutely necessary. This was originally needed to workaround some issues caused by pvr_endFrame(). I ended up finding a better solution for the end frame issue, but I find this code is much better with 2 split devices. This is how other OpenXR runtimes work (they typically do a lot more things internally that need a rendering device).
D3D11 -> D3D11 still requires synchronization as far as I can tell. Most GPU will likely only have one underlying physical queue, but there is no reason to make that assumption, and 2 different D3D11 contexts should still be serialized.


Update SA1302 code fix to support conflict resolution

Fixes #436
Edit: Need to update this to ensure a nested type isn't renamed to the same name as the enclosing type. This is now working.

Current coverage is 79.34%

Merging #1849 into master will decrease coverage by -0.01% as of 699761f

@@            master   #1849   diff @@
======================================
  Files          554     554
  Stmts        34068   34125    +57
  Branches      9407    9429    +22
  Methods
======================================
+ Hit          27033   27076    +43
- Partial       5455    5469    +14
  Missed        1580    1580

Review entire Coverage Diff as of 699761f

Powered by Codecov. Updated on successful CI builds.

:+1: Looks good to me, besides the question about a testcase.


MS Clarity collecting data from all site collections

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[X] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version 1.12.1

Issue description
Hello,
I have developed an application customizer in SPFx, which register the MS Clarity JS into all pages in SPO.
The problem is, that if I access any site page, where this customizer is registered it works and tracks the data correctly, however if I use cross site link (in navigation) it still tracks the new site page (even if it is another site collection, where the customizer is not registered).
I found out, that if you refresh the page or use new tab it works correctly, however if you stay in the same tab, some JS objects are probably not updated and the MS Clarity JS is still registered.
I appreciate any help on this issue.
Thanks,
Milan
here is the code:
public onInit(): Promise {
Logger.subscribe(new ConsoleListener());
Logger.write(LOG_TEMPLATE(Initialized ${strings.Title}), LogLevel.Info);
this.context.application.navigatedEvent.add(this, this._register);
return Promise.resolve();

}
private _register(): Promise {
let trackingCode: string = this.properties.trackingCode;
if (!trackingCode) {
  Logger.write(LOG_TEMPLATE("Tracking code not provided"), LogLevel.Warning);
}
else {
  //Inject Clarity
  let main = document.querySelector(".mainContent");

  var clarityScript = document.createElement("script");
  clarityScript.innerText = `(function(c,l,a,r,i,t,y){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=document.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);})(window, document.querySelector(".mainContent"), "clarity", "script", "${trackingCode}");`
  clarityScript.async = true;
  clarityScript.className="clarityScriptClass";

  main.appendChild(clarityScript);
}

return Promise.resolve();

}
I am registering this customizer with custom action and scope is site.
the tracking code for MS Clarity is loaded from properties.

@lonestarcz - I would suggest to use onDisponse in the customizer and unregister the script.
We use in-place navigation for many scenarios. So if you load some external page in the header for example, it will be there after nav.


use skopeo to avoid having to pull images just to inspect them

When setting user in the docker-compose file we have to run a container, so in general it is not possible to avoid pulling image


column type is a drop-down at create time but a text box at edit time?

huh?

it's just text of numeric, right?

Column type is now a select field both at create time and edit time.


Two questions about the image scraper

The image scraper seems to not work for Boorus other than Danbooru? When I try to use Gelbooru I get the following error:
[gallery-dl][error] Unsupported URL 'https://gelbooru.com/index.php?page=post'
Also, is there a way to omit tags when using the image scraper?

You need to put the Gelbooru url in quotes

"https://gelbooru.com/index.php?page=post"


The UI of GameZone

Hey Kunj,
This is Mayuresh
Great work on GameZone really liked your games but I think the UI could be better so I'd like to fix the css and js part of the project.
Here are the things that might need a fixing for a better UI:

The fonts, a little change in font could make the project 4x better and attractive.
The colors, honestly I think changes in colors of the background and divs could bring out the real potential of the project
The nav-bar, is more of a simple choice and the logo as well.
The icons, the icons used could be better which will give the website a decent look.
the theme should be dark from default for a better experience.

These are the changes I could think of and I'll come up with more while working on it hope you get it.
Thank you,

Hey @mayu-z !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @mayu-z! 🙂
It seems like you are not following proper guidelines !! 👀
Read documentation properly !!🙏
If you have any queries reach out to us on Discord🕹 .

Hey @mayu-z ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


If passed turn node and localizing on next edge, ignore turn state.

This should be fixed in current master

This issue was moved to hulop/NavCogIOS#18


Update log-analytics-template-workspace-configuration.md

Updated the "outputs":{ } from returning an object value to itemize values.
It is a better ARM Template example to demonstrate the WorkspaceProperties object keys and values documented in Microsoft.OperationalInsights/workspaces template reference for API Version (2015-11-01-preview).

@kiazhi,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@richrundmsft - Please review the proposed changes and add an appropriate comment so that automation can take the corresponding action.  Thanks

#sign-off


error code 4 when I try to upload a file via sftp

I'm try to upload some data from my the smartphone to a server via sftp.
However, I keep on receveing an exception with the error code 4. The error message is only "failure", so it's pretty hard for me to understand what is going on.
I'm able to connect to the server and to create folders, but the upload itself is not working. The code itself is copied from your readme page. Both variables, serverPath and localFilePath are valid paths.
    final file = await sftp.open(serverPath, mode: SftpFileOpenMode.create | SftpFileOpenMode.write);
     await file.write(File(localFilePath).openRead().cast());

thank you and best regards.

I will attach the corresponding exception
flutter: SftpStatusError: Failure(code 4)
flutter: SftpStatusError: Failure(code 4)
flutter: #0      SftpClient.open (package:dartssh2/src/sftp/sftp_client.dart:63:5)
<asynchronous suspension>

The OpenSSH SFTP server use 'Failure' message for many errors and it's hard to tell the specific reason. This usually happens when the permissions is not enough, or the filesystem is read-only.
Does your account have enough permission to write to the remote destination?

Hey, thank you very much for quick answer!
permission is granted, I also tried out the admin user of the server. Do you have another idea?

Currently I have no other ideas about the error. However it may help to inspect the logs from sftp-server and see what actually happened. Detailed instructions can be found here: https://access.redhat.com/articles/1374633.

Thanks for the help. I don't get any specific error message.
It seems like the session closes immidiately.
Mar  6 18:35:01 xxxxxxx CRON[2024678]: pam_unix(cron:session): session opened for user root by (uid=0)
Mar  6 18:35:01 xxxxxxx CRON[2024678]: pam_unix(cron:session): session closed for user root

Do you have any idea?


fail to detect locale set in fish universal variables

pipenv does not respect fish shell's universal variables [^1] of LC_ALL and LANG values.
Describe you environment

OS Type: macOS 10.13
Python version: $ python -V 3.6.3
Pipenv version: $ pipenv --version 8.2.7

Expected result
pipenv should respect the LANG and LC_ALL values set by set -U as universal variables so not to complain ValueError: unknown locale: UTF-8
Actual result
When the locale (i.e. "en_US.UTF-8") is set by set -U as universal variables, pipenv can not extract the values when creating virtualenv (e.g. pipenv shell), and complaining ValueError: unknown locale: UTF-8.
Only if the same values were set inside config.fish by set -gx that the pipenv can recognise correctly.
Steps to replicate
Failure case (that should work)
$ set -U LANG "en_US.UTF-8"
$ set -U LC_ALL "en_US.UTF-8"
(re/start a new fish shell)
$ echo $LANG
en_GB.UTF-8
$ pipenv shell

Warning: the environment variable LANG is not set!
We recommend setting this in ~/.profile (or equivalent) for proper expected behavior.
Creating a virtualenv for this project…
⠋Traceback (most recent call last):
  File "/usr/local/bin/pew", line 7, in <module>
    from pew.pew import pew
  File "/usr/local/lib/python3.6/site-packages/pew/__init__.py", line 11, in <module>
    from . import pew
  File "/usr/local/lib/python3.6/site-packages/pew/pew.py", line 42, in <module>
    from pew._utils import (check_call, invoke, expandpath, own, env_bin_dir,
  File "/usr/local/lib/python3.6/site-packages/pew/_utils.py", line 22, in <module>
    encoding = locale.getlocale()[1] or 'ascii'
  File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/locale.py", line 581, in getlocale
    return _parse_localename(localename)
  File "/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/locale.py", line 490, in _parse_localename
    raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8

$ echo $LANG
en_GB.UTF-8

[^1] https://fishshell.com/docs/current/index.html#variables-universal

Hi, can you please provide the output of env, locale -a, and locale?
Finally, please provide the content of your ~/.config/fish/config.fish file.  I can help you resolve this, but it is not a bug in pipenv, it is a misconfiguration.

Case 1:
start with new clean fish, zero config.fish, only set -U.
not working
https://gist.github.com/feigaoxyz/2651271ecfc91f3e90d0013d011fc1d0#file-set-u
Case 2:
Start with new clean fish, set -gx in config.fish
working
https://gist.github.com/feigaoxyz/2651271ecfc91f3e90d0013d011fc1d0#file-set-gx

So basically when you try to use set -U, you are encountering the following:
$ set -U LANG "en_GB.UTF-8"
$ set -U LANG "en_GB.UTF-8"

(Same command twice? Typo I assume but confirmed in the rest of the outputs)
$ env
...
LC_CTYPE=UTF-8

You'll note that this is the same as the error you are getting for unknown locale.
Finally, this should really be the last indicator that this is not a pipenv issue:
$ locale
LANG=
LC_COLLATE="C"
LC_CTYPE="UTF-8"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=

Your environment itself does not recognize your settings.  There is no way pipenv can.  The fish documentation advises using set -x for these variables to configure your shell.  Hope that helps!

Thank you for your elaborate explanation. The duplicate set -U lines are errors when copy and paste. Looks like I am confused and misunderstood how fish treat set -x and set -U in environment.


Unable to login: 401 Unauthorized (AADSTS700025)

Issue
Could not log in: verify you're using the client secret's value (not ID) and the API permissions are set correctly
Reason
Microsoft doesn't allow public client to redeem authorization code with client_secret, so the login logic needs to update.
401 Unauthorized
error: invalid_client
error_description: AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.
error_codes: 700025

Target code
https://github.com/virtualzone/onedrive-uploader/blob/main/sdk/login.go#L98
Temp solution
Remove client_secret in config:
{
    "client_id": "xxxxxxxxxxxxxxxxxx",
    "client_secret": "", <- Put to empty
    "scopes" [
        "Files.Read",
        "Files.ReadWrite",
        "Files.Read.All",
        "Files.ReadWrite.All",
        "offline_access"
    ],
    "redirect_uri": "http://localhost:53682/",
    "root": "/",
......

Hi @MlgmXyysd , I've tried to reproduce your issue but I can't. Have you followed the instructions from the Readme on how to create the app registration?

Hi @MlgmXyysd , I've tried to reproduce your issue but I can't. Have you followed the instructions from the Readme on how to create the app registration?

Having same issue and removing client secret worked, thanks for sharing


Update description for repo - Suggested Text:

Fast (integer version) trained LSTM models

There is already a description: "Fast integer versions of trained models".
Do you suggest to change it?

You can phrase it differently for clarity. Basically I would like it to convey that these don't include legacy models, will work only with --oem 1. Similarly for tessdata_best.
tessdata can convey that it supports both legacy and lstm.

I added "LSTM" now, similar to the description for tessdata_best.

Thanks.


Looking for opportunities to help with DBT integration

Hi!
My name is Robert and I work at Altinity. We support ClickHouse and are currently working on testing of the ClickHouse 21.8 LTS release. We've done a lot of Python work in the past, for example to help with Superset integration.
How can we help you make the DBT adapter work better?  Let us know what your roadmap looks like and how we might help.
Cheers, Robert

p.s., you can contact me at robert at altinity dot com if you want to correspond directly. Thanks!


GitHub Actions workflows

To automatically kick off training and deployment, we'll use GitHub Actions to schedule the creation of jobs.
Reference:

https://github.com/Azure-Samples/mlops-enterprise-template/blob/main/.github/workflows
https://docs.github.com/en/actions/quickstart

Progress:

[x] Frontend deploys
[x] Inference endpoint deploys
[ ] Model training jobs

Project has now concluded - closing this as a won't fix.


error in 0.8.0 - no such package: 'domutils'

While building package handlebar-helpers:
error: no such package: 'domutils'

Marking closed due to long-time inactivity. Please reopen if you still experience the same problem. Thanks for reporting.


create L2 network offering with userdata Problem

ISSUE TYPE

Bug Report
Improvement Request

COMPONENT NAME
API,UI
CLOUDSTACK VERSION
<IP_ADDRESS>
CONFIGURATION
advanced networking
OS / ENVIRONMENT
U20.4 LTS
SUMMARY
I Create Network Offering For L2 Network With "UserData Enable Option" But After Create I can Not See And Use It During Create and Add Guest L2 Network In Network Offering Section.
i Tested it in 4.18.1 and everything is Ok there.
STEPS TO REPRODUCE
service offering > network offering > add > L2 > With Follow Option
Enable Userdata Radio B
public
all zone
enable
EXPECTED RESULTS
i can view of use of that L2 network offering During Creating L2 Network
ACTUAL RESULTS
i can not use my L2 Network Offering With Userdata Enable

Tested it in 4.18.1 and everything is Ok there.

4.18.1 ?

yes but my problem is on 4.17.2

@ahmadamirahmadi007
can you share some screenshots ?
I cannot reproduce the issue

i dont have L2NetworkOfferin In Creating L2 Network
@weizhouapache

@ahmadamirahmadi007
I am still not able the reproduce the issue
can you list network offerings by cmk/cloudmonkey ?
list networkofferings guestiptype=L2 filter=id,name

{
"count": 12,
"networkoffering": [
{
"id": "dec01899-d15d-4fc5-b804-dc16d1268175",
"name": "DefaultL2NetworkOffering"
},
{
"id": "af22a591-5cc1-4042-afec-9a406cafd40f",
"name": "DefaultL2NetworkOfferingVlan"
},
{
"id": "2ef7d725-0ecc-4eb2-ae0d-855fba90eb65",
"name": "DefaultL2NetworkOfferingConfigDrive"
},
{
"id": "c6204e9f-ef76-402f-badb-b43cb8952127",
"name": "DefaultL2NetworkOfferingConfigDriveVlan"
},
{
"id": "7ac8aaa4-cadd-4129-8796-4134fb4b7ab4",
"name": "Test1L2"
},
{
"id": "0677e3b3-85ef-412d-a0c3-2c0a0968b89b",
"name": "SW-250M"
},
{
"id": "22b3e75a-4f99-469f-8008-cbd364075c80",
"name": "SW-2500M"
},
{
"id": "107138e1-5809-41ec-9f96-c9d58d34a6a2",
"name": "TEST-L2-cloudinit"
},
{
"id": "e9994c5f-0451-454d-b350-3da36eb5c04f",
"name": "SW-250M-cv"
},
{
"id": "fc06a795-0f21-41ba-a1f0-e9a1a9fba5a7",
"name": "SW-250M-c"
},
{
"id": "dc4e35a2-9c29-4ad0-a7c2-58ff71c82ad7",
"name": "SW-250M-cccc"
},
{
"id": "ecfbf039-25bf-4515-83ed-4cf923ba26de",
"name": "L2NetworkOffering"
}
]
}
i L2NetworkOffering was built by me. but I can't use it to build a L2 network.

i L2NetworkOffering was built by me. but I can't use it to build a L2 network.

can you share the details of the offering ?
list networkofferings guestiptype=L2 id=ecfbf039-25bf-4515-83ed-4cf923ba26de

{
"count": 1,
"networkoffering": [
{
"availability": "Optional",
"conservemode": true,
"created": "2023-12-13T09:44:40+0330",
"displaytext": "L2NetworkOffering",
"egressdefaultpolicy": true,
"forvpc": false,
"guestiptype": "L2",
"hasannotations": false,
"id": "ecfbf039-25bf-4515-83ed-4cf923ba26de",
"internetprotocol": "IPv4",
"isdefault": false,
"ispersistent": false,
"name": "L2NetworkOffering",
"networkrate": 200,
"service": [
{
"name": "UserData",
"provider": [
{
"name": "ConfigDrive"
}
]
}
],
"serviceofferingid": "c1b39187-597f-4c1e-a2e9-8eb616abbe1e",
"specifyipranges": false,
"specifyvlan": true,
"state": "Enabled",
"supportspublicaccess": false,
"supportsstrechedl2subnet": false,
"traffictype": "Guest"
}
]
}

{ "count": 1, "networkoffering": [ { "availability": "Optional", "conservemode": true, "created": "2023-12-13T09:44:40+0330", "displaytext": "L2NetworkOffering", "egressdefaultpolicy": true, "forvpc": false, "guestiptype": "L2", "hasannotations": false, "id": "ecfbf039-25bf-4515-83ed-4cf923ba26de", "internetprotocol": "IPv4", "isdefault": false, "ispersistent": false, "name": "L2NetworkOffering", "networkrate": 200, "service": [ { "name": "UserData", "provider": [ { "name": "ConfigDrive" } ] } ], "serviceofferingid": "c1b39187-597f-4c1e-a2e9-8eb616abbe1e", "specifyipranges": false, "specifyvlan": true, "state": "Enabled", "supportspublicaccess": false, "supportsstrechedl2subnet": false, "traffictype": "Guest" } ] }

looks good.
do you have multiple zones ?

no just one

can you create a L2 network with the offering via cmk ?

/snap/bin/cmk  create network displaytext=MyNetwork name=MyNetwork networkofferingid=ecfbf039-25bf-4515-83ed-4cf923ba26de zoneid=e02cb5c3-f987-443f-ab1a-0799b0c83f80
🙈 Error: (HTTP 530, error code 4390) Provider ConfigDrive is either not enabled or doesn't support service UserData in physical network id=201

/snap/bin/cmk create network displaytext=MyNetwork name=MyNetwork networkofferingid=ecfbf039-25bf-4515-83ed-4cf923ba26de zoneid=e02cb5c3-f987-443f-ab1a-0799b0c83f80 🙈 Error: (HTTP 530, error code 4390) Provider ConfigDrive is either not enabled or doesn't support service UserData in physical network id=201

@ahmadamirahmadi007
can you go the zone -> physical networks -> select the guest physical networks -> Network service providers -> ConfigDrive -> Enable provider ?

no thats disable

@ahmadamirahmadi007
can you go the zone -> physical networks -> select the guest physical networks -> Network service providers -> ConfigDrive -> Enable provider ?

@ahmadamirahmadi007
can you go the zone -> physical networks -> select the guest physical networks -> Network service providers -> ConfigDrive -> Enable provider ?

.Thank you very very much. my problem solved.


Unable to show keyboard on view after .setText(null) or .setText("") is called

I'm using this view to receive PIN from user and if PIN is incorrect - pin field is must cleared and appropriate message is shown.
So when pinView.setText(null); method is called - i can't enter PIN again, because keyboard is not showed anymore (does not matter which cell is clicked).

Hot-fix for this issue is to set Touch Listener and force to show keyboard up
pinView.setOnTouchListener(new View.OnTouchListener() {             @Override             public boolean onTouch(View v, MotionEvent event) {                 InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);                 assert imm != null;                 imm.showSoftInput(pinView, InputMethodManager.SHOW_IMPLICIT);                 return false;             }         });

Proposed solution to fix it is to override  performClick() method in PinView and force to show keyboard, but not tested yet

Hey @privacy-unknown , sorry for my late reply.
By doing make research on EditText and TextView, I found the root cause of the issue.
IMM will be marked to can be opened state by spanChange method in TextView, and the spanChange will only be invoked by onSpanXXX methods in ChangeWatcher (Defined in TextView).
The PinView override getDefaultMovementMethod and return null, it will causing the onSpanXXX methods not be invoked when setText. So the IMM cannot be opened after .setText(null) or .setText("").

I will fix this issue tomorrow

The issue has been fixed in version 1.3.1.


feat(influxdb-appender):send strings values  to influx as tags instea…

…d of fields

hey, thank for the cr.
I replied to the comments, and can make further changes :)


Update Mailer.tsx

Thank you @Piyushsahu99 - I will close this pull request as it does not add substantial value to this demo app.

Sure, Thank you also for providing this kind opportunity to contribute.


feature request: sub-folder support for islands

I've a growing number of islands.  It would be great to organise them in sub-folders, but this is not currently allowed.

I also need this function and hope it can be opened.


Update the documentation about the AI-powered transpiler passes to include information about the local mode

We're going to launch a new version of the qiskit-ibm-transpiler library that will allow users to run the AI-powered transpiler passes to run on local mode (instead of using the service).
We need to document the process to use install the local mode + how to use the passes locally

@cbjuan are you planning on opening a PR for it or should we do it?

Hi @javabster.  We’ll open a PR  for this today or tomorrow. Thanks

PR open! #2273


Object controls on top of 3D Map

Hi, amazing library! I've been working on top of it of a few days already. It simplified my pipeline like 10x.
One thing I've been trying to do, and hopefully someone else got it running, was to have a Pivot Control (or a TransformControls) on an object that is placed on the map.

This didn't work: every time I try to move the object, I think the cursor interaction on the map is overlaying the interaction with the object end up panning the map, with no interaction with the object's arrows.
Any solution for this?

You need to turn off the map controls on drag start and turn them back on on drag end. I will add an example for reference when I have a bit of extra time.

Thank you, @RodrigoHamuy !
If I get something running before I will add here for reference. Thanks!

Hello, don't be tired
Like our friend, I want to move the 3D object on the map, but I want the geographic coordinates of the environment to change when the user moves the mouse over the environment and holds the left click while moving the environment.
But I still couldn't, but I got positive results through the leva panel

@m6hdix @lucas-vitrus added an example:
https://rodrigohamuy.github.io/react-three-map/?story=pivot-controls--default
Key bits are:
import { useMap } from "react-three-map";
// ...
  const map = useMap();
  const onDragStart = useCallback(() => {
    map.dragPan.disable();
    map.dragRotate.disable();
  }, [map]);
  const onDragEnd = useCallback(() => {
    map.dragPan.enable();
    map.dragRotate.enable();
  }, [map]);
  // ...
  return <PivotControls onDragStart={onDragStart} onDragEnd={onDragEnd} />

Thank you for your time.❤❤


Null Safety

This is an attempt at supporting null safety on this awesome library.
All current tests are passing without any changes to them, which is a good sign.
Fixes #548

Not sure how to make the tests here run on dart >=2.12 (that's what's failing here, running the tests locally give no errors)

Did you do that using dart migrate package?
Because I think we must do more investigation to get it done.
As it is important a lot to people. I will migrate within two days.

Hey @imaNNeoFighT I started with the dart migrate but then went through it manually as well.
I'm using this release now on my project (since it required the null safety) and I haven't seen any problems yet. Plus like I mentioned all the tests pass without modification.
But if you want to do it yourself, by all means go for it! Was just trying to help

I appreciate your great help. It is a lot for me.
As I have a deep understanding of the source code I will do that with all respect.
Thanks for helping!

Check this branch please.


apisix作为多个系统的入口，不同系统不同域名，不同域名/系统下有相同path。skywalking做追踪的时候，如何区分端点

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[x] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS, and JRE?

Which company or project?

What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.

Requirement or improvement

Please describe your requirements or improvement suggestions.

Please use English to discuss on the GitHub.

Please use English to discuss on the GitHub.

Hi,  the situation as follow:
Apisix serves as a portal to multiple systems, with different domain names for different systems and the same path for different domain names/systems.now,we use skywalking to be a APM system,how to distinguish endpoints.
for example,I have two url like http://www.bbb.com/add  and http://www.aaa.com/add, they both are in Apisix.But in Skywalking,they both shows /add.

Hi,  the situation as follow:
Apisix serves as a portal to multiple systems, with different domain names for different systems and the same path for different domain names/systems.now,we use skywalking to be a APM system,how to distinguish endpoints.
for example,I have two url like http://www.bbb.com/add  and http://www.aaa.com/add, they both are in Apisix.But in Skywalking,they both shows /add.

Could you open a new issue to discuss this? And I will include the team of APISIX to help on that discussion too.

Could you open a new issue to discuss this? And I will include the team of APISIX to help on that discussion too.

ok,thk!

ok,thk!


'package:flutter/src/widgets/title.dart': Failed assertion: line 26 pos 16: 'color != null && color.alpha == 0xFF': is not true.

'package:flutter/src/widgets/title.dart': Failed assertion: line 26 pos 16: 'color != null && color.alpha == 0xFF': is not true.

Hello @asketsystem ,
Could you please post the outputs of flutter run -v and flutter doctor -v and a complete minimal reproducible code sample
Thank you!

Hello.., I was able to fix it. Thanks

Hello.., I was able to fix it. Thanks

Hi! Could you leave some details on how you fixed this? Thanks!


PHP-FPM configs: Enable the status page

This will allow monitoring agents to access the php fpm statistics over the php-fpm status socket

Merged into https://github.com/OpenConext/Stepup-Deploy/tree/branch-release-23.1


GO:0048096 chromatin-mediated maintenance of transcription - change parent

It seems odd that the parents are

@colinlog @ValWood @RLovering @hattrill

The elongation parent is a (wrong?. I think it is a spill-over from the term that we now called 'co-transcriptional chromatin assembly' or some thing like that, which we worked on at the same time?
Basically, we did two terms: GO:0140673 that is now called 'co-transcritional ...' and we did GO:0040096 that is about promoter (and enhancer and loop anchor) nucleosomes and that will be the parent of many 'positive regulation of gene expression, epigenetic' MFs.
The elongation parent should be for GO:0140673 but not for GO:0040096, unless I am mistaken.

Agreed,  but it would be good. to review existing annotations based. on this old parentage. It was a bit confusing, and accounts, for. example, for this inference:
https://github.com/geneontology/go-annotation/issues/3888

This is what I did:

'chromatin-mediated maintenance of transcription': Maintenance of transcription by remodelling of chromatin into an 'open configuration'. Once established, this regulation is mitotically stable and is maintained over many cell divisions. It is also heritable.

removed is_a: GO:0045893 ! positive regulation of transcription, DNA-templated

removed  part_of GO:0006368 ! transcription elongation from RNA polymerase II promoter

kept is_a: GO:0045815 ! positive regulation of gene expression, epigenetic

'co-transcriptional chromatin reassembly': The reestablishment of chromatin structure that was disrupted upon passage of RNA polymerase II during transcription elongation. This process prevents cryptic intragenic transcription initiation.

added is_a: GO:0031497 ! chromatin assembly

added  part_of GO:0006368 ! transcription elongation from RNA polymerase II promoter

removed part_of GO:0006366 ! transcription by RNA polymerase II

Does that see right @colinlog ?
Thanks, Pascale

It will be good for @colinlog  to confirm,but that was the decisions I remembered.

Confirmed by @colinlog transcription call

paper was HULC, a histone H2B ubiquitinating complex, modulates heterochromatin independent of histone methylation in fission yeast.
https://www.pombase.org/reference/PMID:17363370
does that sound OK
(not to self, I must have curated with my Google  mail, appears as 'community' fix!)

wrong ticket! deleting comment.


Separate route matching from rendering

This PR

Mainly fixes https://github.com/choojs/choo/issues/530 and https://github.com/choojs/choo/pull/553
Adds support for wayfarer/nanorouter subrouters as the code now just registers the handler and does the state mapping upon handler invocation

Additionally to the changes I did in here I think we should

Define what's the responsiblity of nanorouter & wayfarer and how we could modularize it better
Deprecate curry support in nanorouter. People could just wrap their method by themselves

Please let me know what you think
Before merging this PR, we have to cleanup the nanorouter dependency.
We'll also need to rename some methods and expose the _handler differently on the state if we decide to go down this path. In case we want to be able to cancel a navigate event in the future, we could also make it more stateless and pass the new route as object to the navigate events instead of modifying the state.

btw. Don't merge just yet 😉


Remove timezone from Contentful

Description of issue
https://trello.com/c/g6DM173E/131-contentful-event-times
Expected behaviour
user sees event time in BST
Steps to reproduce
List the exact steps you took to arrive at the issue.
OS / Browser / Device model
List all the devices and browsers effected, with specific version numbers.
Screenshots
If it's a visual bug, please provide screenshots or screen captures.

Closing as we have created a new trello ticket to cover this. https://trello.com/c/wVJtGpjs/197-handling-timezones


resource to unpause a connector?

Hi all, the documentation conveys that when creating a new connector and adding a schema you should instantiate it in a paused state so that it doesn't sync before getting the schema config.  And then once schema config has been updated the connector should be unpaused.
However, it's unclear what resource to use to unpause the connector.  In the code example, it uses a 'fivetran_connector_schedule' but there's no documentation regarding this resource and when I try to create this resource, terraform doesn't recognize it as a valid resource.
Insights appreciated!

Hey @willwdunlap !
Please check latest v0.7.2-pre version.
https://registry.terraform.io/providers/fivetran/fivetran/latest/docs/resources/connector_schedule


a few perf improvements

Baseline 1.2.3: rock paper scissors, 9.5fps, 5.4fps with led editor

drop shadow on tiles: 2fps
drop bounds checking on all sprites: 2fps

rps: 14.6fps
leds: 7.2fps

rps: 15.9fps
leds: 8.9fps

rps: 16.7fps
leds: 8fps