docs: flesh out readme

I wish I had the 32K context, but used Transmission twitter thread to add a readme

not a bad start! will tweak a bit later & merge :)

lookin good, thanks so much @altryne!

@transmissions11 any reason for http and not https on the "try" link? Maybe just an omission?


Enable tdo for anonymous users

Insufficient permission when asking for user boards. We should try with anonymous login supported by firebase.

More info here. https://firebase.google.com/docs/auth/web/anonymous-auth
It would be very cool to be able to convert anonymous users to permanent users and keep their data.


incorrect types for popover anchorEl

Hello
https://github.com/mui-org/material-ui/blob/0385a631c992afc3a2a94c7ae35975a018ca4173/src/Popover/Popover.d.ts#L22
should be
  anchorEl?: HTMLElement || () => HTMLElement;

@iamdanthedev You are right, we accept a function now. Do you want to update the definition?


Adding acceptance test for Post Location as resource payload validati…

…on tests
Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Further review requested on
1.POST User,
2.PUT User and
3.GET Sessions....

Further review requested on
1.POST User,
2.PUT User and
3.GET Sessions....


Rename package to ledger-substrate-js

[x] Deprecate ledger-polkadot-js
[ ] Publish as ledger-substrate-js

@jleni I need access to npm registry in order to deprecate the previous version.

After merging #41 . the new package will be published.


 I hope you're doing well :).
The domains are no longer active 😞
I stopped renewing the domain services after I had left Automattic earlier this year


This site can’t be reached

unpkg.com’s server DNS address could not be found.

This was maybe a temporary DNS failure. Everything is ok to you now?


GitGraph not working

Description:
Right now gitGraph doesn't seem to be working with desktop version 0.8.4. All other graph types are working fine for me.
Possible solution:
From what I understand there was an issue with mermaid at least that's how I understand the following issue: Git Charts not working · Issue #3306 · mermaid-js/mermaid
The fix for this seems to be included in the lastet release 9.1.6. Therefore a bump of the included mermaid version here should solve this.

Thanks @eBerdnA It's fixed in the latest version (0.0.4)

Perfect. 👍 Just updated the plugin and can confirm it's working on my side.


Support MLXArray initialization from nested Swift Arrays

This is mostly a convenience but it can be quite handy and we support it in Python:
let a = MLXArray([[7, 8], [9, 10]])

I need to play around with that.  We can certainly do it for a fixed number of dimensions (we need an initializer for each number of dimensions).  Maybe we can do something fancy with generics and gt an arbitrary number, but I think the types will be tricky.

MLXArray to nested Swift arrays would also be handy (I find that I'm re-writing this code a lot).

How do you deal with the return type?  asArray2() -> [[T]] and asArray3() -> [[[T]]]?

I’ve just been working with 2D matrices, and flipping between MLXArray and [[Float]], so pretty pedestrian but probably one of the most common use cases. Maybe I missed asArray2, is that already a thing?

No, not a thing -- just pondering how the types would work.

Oh I see! Yes, I’d imagine what you have would be useful for T: HasDType in very much the same way asArray works now, but maintaining the shape    in Swift’s array.
I don’t know how to gracefully handle cases where shape doesn’t match, but I think it would be fair to throw an error much like the other precondition checks in MLX.


Only a limited number of projects visible

In the panel, I only see 24 project, but there are much more projects available in toggl.
Is this a config setting or a bug?

The way Toggl's API is built, you have to attach projects to a client in order to be able to fetch them. So you may just be seeing projects that have a client. A workaround for this is to create a default client and attach all projects to that (if they are not attached to another client)

I already checked, all of our projects have clients attached. Also checked the differences in config for the projects (restrections etc.).

A, now I see it. only projects that are shared with everyone are fetched. But as far as I now, it should be possible to show all projects that the owner of the api-key has access to.
Can you fix this, please?

@dan12mol Any update on this? I made all projects public, they all have clients attached, but still only 20 projects are shown.


How to fetch value of particular radio button after selection of radio button

i have some data of students . i am using uitableview. when i select a radio button and click on button (ViewInfo)then  i want to fetch id of selected student.
how can i achieve it ??

You can use the selectedButton property on any radio button.


Update analysis-services-processing-task.md

Pls add the following requirement:

Set Target Server Version to be SQL Server 2019 for connection to  Azure Analysis Service instances

@YinnWong : Thanks for your contribution! The author(s) have been notified to review your proposed change.


How can i edit ParserException

Hi,
First of all great package!
I want to edit de method render() in ParserException.php.
But if i do it probably be overwritten when a new version of this package is been released.
Can anyone tell me how i can exclude this or how to use my own custom ParserException in app/Exceptions?
Thanks in advance!

Generally, folks will catch an exception from a package and then either handle it immediately, or throw a custom exception of their own, which can contain a reference to the first if you'd like to grab its contents while rendering your own output.


install error with redis db, rdb

root@hostname:~/go# go get github.com/kotakanbe/go-cve-dictionary
# github.com/kotakanbe/go-cve-dictionary/db
src/github.com/kotakanbe/go-cve-dictionary/db/rdb.go:473:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/rdb.go:475:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/rdb.go:627:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/rdb.go:629:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/rdb.go:761:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/rdb.go:763:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/redis.go:213:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/redis.go:215:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/redis.go:269:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/redis.go:271:6: bar.SetWriter undefined (type *pb.ProgressBar has no field or method SetWriter)
src/github.com/kotakanbe/go-cve-dictionary/db/redis.go:271:6: too many errors

RTFM :P
https://github.com/kotakanbe/go-cve-dictionary#deploy-go-cve-dictionary

Well i'm sorry, i used a different manual. :) Still gives me an error.
root@hostname:~/go# mkdir -p $GOPATH/src/github.com/kotakanbe
root@hostname:~/go# ls -lah
total 12K
drwxr-xr-x 3 root root 4.0K Aug 29 08:35 .
drwx------ 5 root root 4.0K Aug 28 16:31 ..
drwxr-xr-x 3 root root 4.0K Aug 29 08:35 src
root@hostname:~/go# cd $GOPATH/src/github.com/kotakanbe
root@hostname:~/go/src/github.com/kotakanbe# git clone https://github.com/kotakanbe/go-cve-dictionary.git
Cloning into 'go-cve-dictionary'...
remote: Counting objects: 629, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 629 (delta 2), reused 1 (delta 0), pack-reused 605
Receiving objects: 100% (629/629), 207.68 KiB | 971.00 KiB/s, done.
Resolving deltas: 100% (313/313), done.
root@hostname:~/go/src/github.com/kotakanbe# cd go-cve-dictionary
root@hostname:~/go/src/github.com/kotakanbe/go-cve-dictionary# make install
go get -u github.com/golang/dep/...
package github.com/golang/dep
	imports context: unrecognized import path "context" (import path does not begin with hostname)
GNUmakefile:28: recipe for target 'dep' failed
make: *** [dep] Error 1
root@hostname:~/go/src/github.com/kotakanbe/go-cve-dictionary#

I can not reproduce this issue in my environment.
Please try the following.

install the latest version of Go
rm -r $GOPATH/pkg
rm -r $GOPATH/src/github.com/kotakanbe/go-cve-dictionary/vendor
then make install

If you have still in trouble, paste the output of go env
$ go env                                                                                Wed Aug 29 15:46:27 2018
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/kanbe/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/kanbe/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/7c/34k69_zd1j9dwy_99jcv0yz80000gn/T/go-build980548189=/tmp/go-build -gno-record-gcc-switches -fno-common"

go is version 1.10
root@hostname:~/go/src/github.com/kotakanbe/go-cve-dictionary# go version
go version go1.10.1 linux/amd64

the rm commands didn't find these folders/files.
root@skinner1:~/go/src/github.com/kotakanbe/go-cve-dictionary# rm -r $GOPATH/pkg
rm: cannot remove '/root/go/pkg': No such file or directory
root@skinner1:~/go/src/github.com/kotakanbe/go-cve-dictionary# rm -r $GOPATH/src/github.com/kotakanbe/go-cve-dictionary/vendor
rm: cannot remove '/root/go/src/github.com/kotakanbe/go-cve-dictionary/vendor': No such file or directory

my go env:
root@hostname:~/go/src/github.com/kotakanbe/go-cve-dictionary# go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build314493233=/tmp/go-build -gno-record-gcc-switches"

i now have loads of packages that cant be imported either:
root@hostname:~/go/src/github.com/kotakanbe/go-cve-dictionary# make install
go get -u github.com/golang/dep/...
package github.com/golang/dep
	imports bytes: unrecognized import path "bytes" (import path does not begin with hostname)
package github.com/golang/dep
	imports context: unrecognized import path "context" (import path does not begin with hostname)
package github.com/golang/dep
	imports encoding/hex: unrecognized import path "encoding/hex" (import path does not begin with hostname)
package github.com/golang/dep
	imports fmt: unrecognized import path "fmt" (import path does not begin with hostname)
package github.com/golang/dep
	imports container/heap: unrecognized import path "container/heap" (import path does not begin with hostname)
package github.com/golang/dep
	imports encoding/binary: unrecognized import path "encoding/binary" (import path does not begin with hostname)
package github.com/golang/dep
	imports encoding/xml: unrecognized import path "encoding/xml" (import path does not begin with hostname)
package github.com/golang/dep
	imports errors: unrecognized import path "errors" (import path does not begin with hostname)
package github.com/golang/dep
	imports regexp: unrecognized import path "regexp" (import path does not begin with hostname)
package github.com/golang/dep
	imports sort: unrecognized import path "sort" (import path does not begin with hostname)
package github.com/golang/dep
	imports strconv: unrecognized import path "strconv" (import path does not begin with hostname)
package github.com/golang/dep
	imports strings: unrecognized import path "strings" (import path does not begin with hostname)
package github.com/golang/dep
	imports sync: unrecognized import path "sync" (import path does not begin with hostname)
package github.com/golang/dep
	imports encoding/json: unrecognized import path "encoding/json" (import path does not begin with hostname)
package github.com/golang/dep
	imports io: unrecognized import path "io" (import path does not begin with hostname)
package github.com/golang/dep
	imports io/ioutil: unrecognized import path "io/ioutil" (import path does not begin with hostname)
package github.com/golang/dep
	imports log: unrecognized import path "log" (import path does not begin with hostname)
package github.com/golang/dep
	imports net/http: unrecognized import path "net/http" (import path does not begin with hostname)
package github.com/golang/dep
	imports net/url: unrecognized import path "net/url" (import path does not begin with hostname)
package github.com/golang/dep
	imports os: unrecognized import path "os" (import path does not begin with hostname)
package github.com/golang/dep
	imports os/exec: unrecognized import path "os/exec" (import path does not begin with hostname)
package github.com/golang/dep
	imports path/filepath: unrecognized import path "path/filepath" (import path does not begin with hostname)
package github.com/golang/dep
	imports runtime: unrecognized import path "runtime" (import path does not begin with hostname)
package github.com/golang/dep
	imports time: unrecognized import path "time" (import path does not begin with hostname)
package github.com/golang/dep
	imports hash/fnv: unrecognized import path "hash/fnv" (import path does not begin with hostname)
package github.com/golang/dep
	imports runtime/debug: unrecognized import path "runtime/debug" (import path does not begin with hostname)
package github.com/golang/dep
	imports syscall: unrecognized import path "syscall" (import path does not begin with hostname)
package github.com/golang/dep
	imports unsafe: unrecognized import path "unsafe" (import path does not begin with hostname)
package github.com/golang/dep
	imports bufio: unrecognized import path "bufio" (import path does not begin with hostname)
package github.com/golang/dep
	imports encoding: unrecognized import path "encoding" (import path does not begin with hostname)
package github.com/golang/dep
	imports math: unrecognized import path "math" (import path does not begin with hostname)
package github.com/golang/dep
	imports reflect: unrecognized import path "reflect" (import path does not begin with hostname)
package github.com/golang/dep
	imports unicode/utf8: unrecognized import path "unicode/utf8" (import path does not begin with hostname)
package github.com/golang/dep
	imports go/ast: unrecognized import path "go/ast" (import path does not begin with hostname)
package github.com/golang/dep
	imports go/build: unrecognized import path "go/build" (import path does not begin with hostname)
package github.com/golang/dep
	imports go/parser: unrecognized import path "go/parser" (import path does not begin with hostname)
package github.com/golang/dep
	imports go/scanner: unrecognized import path "go/scanner" (import path does not begin with hostname)
package github.com/golang/dep
	imports go/token: unrecognized import path "go/token" (import path does not begin with hostname)
package github.com/golang/dep
	imports unicode: unrecognized import path "unicode" (import path does not begin with hostname)
package github.com/golang/dep
	imports path: unrecognized import path "path" (import path does not begin with hostname)
package github.com/golang/dep
	imports math/rand: unrecognized import path "math/rand" (import path does not begin with hostname)
package github.com/golang/dep
	imports os/signal: unrecognized import path "os/signal" (import path does not begin with hostname)
package github.com/golang/dep
	imports sync/atomic: unrecognized import path "sync/atomic" (import path does not begin with hostname)
package github.com/golang/dep
	imports text/tabwriter: unrecognized import path "text/tabwriter" (import path does not begin with hostname)
package github.com/golang/dep
	imports crypto/sha256: unrecognized import path "crypto/sha256" (import path does not begin with hostname)
package github.com/golang/dep
	imports hash: unrecognized import path "hash" (import path does not begin with hostname)
package github.com/golang/dep/cmd/dep
	imports flag: unrecognized import path "flag" (import path does not begin with hostname)
package github.com/golang/dep/cmd/dep
	imports encoding/base64: unrecognized import path "encoding/base64" (import path does not begin with hostname)
package github.com/golang/dep/cmd/dep
	imports runtime/pprof: unrecognized import path "runtime/pprof" (import path does not begin with hostname)
package github.com/golang/dep/cmd/dep
	imports text/template: unrecognized import path "text/template" (import path does not begin with hostname)
package github.com/golang/dep/internal/importers/importertest
	imports go/format: unrecognized import path "go/format" (import path does not begin with hostname)
package github.com/golang/dep/internal/importers/importertest
	imports testing: unrecognized import path "testing" (import path does not begin with hostname)
GNUmakefile:28: recipe for target 'dep' failed
make: *** [dep] Error 1

it seems that this error comes from the dep package not yours. so i would suggest closing this?
waiting for feedback

I think your go installation is missed.
Someone else had a similar issue here

yeah it was my fault. thanks a lot :)

it seems that this error comes from the dep package not yours. so i would suggest closing this?
waiting for feedback

I'm curious what your solution was, would you mind sharing? It seems I'm experiencing the exact same error.


Refactor based on flutter_lints

Hi amazing developer,
This library is already a great completion, but I have noticed that some of the coding does not follow Dart or Flutter standards because it does not use flutter_lints.
Therefore, I have made the following fixes.

Added flutter_lints to pubspec.yaml
Added analysis_options.yaml
Fixed some lines based on flutter_lints suggestions (Not destructive)

Thank you.

@myConsciousness Thanks for the contribution.


Updated Texas StateWide Data

Mr. Meyers:
Please find the link to the data that is responsive to your request (see email string, below) for information.
The file is in ZIP format, and is in the same format that was provided to you previously. Please let me know if you have any difficulties extracting the data from the file.
A copy of the CSEC-wide address point layer in shapefile format has been prepared.
Here’s the link to download the zip file with the data: https://geo-comm.sharefile.com/d-s5ff63a94af54742a
Sincerely,
Sally Jo Hahn
Assistant General Counsel
Commission on State Emergency Communications
uploading to DROPBOX now

https://www.dropbox.com/s/5xvn2tcrid5acga/20170830_JM.zip?dl=0

I uploaded to S3 here: https://s3.amazonaws.com/data.openaddresses.io/cache/uploads/iandees/ea4be6/20170830_JM.zip


Implement CI

We now have CI with github actions. The most recent commit that edited the CI is
34008f9


Custom Reference

Is there a way to do a custom reference ?
Admin Bro get ids from database and I give the list mapping id to label in parameter.

You will have to write your own component for this property. There you can use 'react-select' which is bundled to AdminBro core.


chore: generate documentation for cli

Oh no, now you'll see how terrible the descriptions are (or lack thereof) on the CLI stuff.


Mempool saving feature between restarts

Bitcoin core 0.14 has a mempool saving feature that saves the mempool states between restarts. This is a very useful feature for people who multiboot between O/S's. (and also in the event of a system crash for miners.) I think this would be useful to add to bitcoin XT.
I am not familiar with this part of the code, but I would look to implement the transaction pool in a virtual memory segment using mmap(), msync(), munmap() if possible. This would mean that all transactions are immediately loaded into virtual memory on start up when the memory segment is mapped onto.

I have opened similar issues on Classic and BU:
https://github.com/bitcoinclassic/bitcoinclassic/issues/251
https://github.com/BitcoinUnlimited/BitcoinUnlimited/issues/438
So far zander has provided some insights and thoughts on this issue, which are certainly worth considering.

What's a good use case for this? I don't think recovery after system reboot is a good one.
If there is a good use case, how about seeding our mempool with other nodes mempool instead? It's possible to send a "mempool" request to other nodes to retrieve the contents of their pool.

Yes, if you read the bitcoin classic issue, I came to the conclusion that synchronising the transaction pool from other peers on startup would be a better solution instead. I think the reason to do this is to prevent a possible double spending path through 'part-time' nodes which do not run 24x7, when the transaction may get rejected by the mining pools. That is quite important if zero confirmation economic risk is to have any meaning.
Makes me wonder why core implemented this in this fashion, especially if the mempool request already exists?

Downside of requesting the mempool from other nodes is that it relatively bandwidth intensive.
Only use case I can think of is for better thin block performance at start up - if we plan on keeping the 1MB limit. With the limit transactions may stay unconfirmed for some hours. But we don't plan on keeping the limit :-).

Zero confirmation economic risk is a whole different ball game with full blocks, as it changes from the disadvantageous double spend attempt to one where the transaction may not get confirmed at all and is dropped from forgetful mempools!
Even with bigger blocksizes, there is still potential for peak mempool flood activity, where the miners may not be able to keep up with demand quick enough for a period of time. So I still wonder it such a feature may still be desirable.

gmaxwell as outlined the idea behind this feature.
https://bitcointalk.org/index.php?topic=1864311.0

How about a more advanced "mempool" network request?
mempool(filter, flags)
where filter contains the transactions you already have. What you want to receive back is a list of transactions that don't match the filter. This is the opposite of what the current mempool command does. This is similar to get_xthin request.
By default a node receiving this request could reply with <= current block size limit amount transactions. That's currently 8MB on the Cash network. The reply should be the transactions deemed most important - for example the most fee paying transactions. The behaviour can be modified with flags.
This should add little or no bandwidth cost. You'll only receive transactions you don't have. The transactions are likely to be included in the next block. Thus the bandwidth used is returned next time we request a thin block.
Nodes could issue this mempool request when it is fully synced. Possibly periodically and when connecting to a new node.
Pros:

New node will immediately be able to mine transactions.
Next block will propagate faster.
Reduced load on network when next block arrives (when the network is most busy)

Cons:

Node receiving the requests gets to know your mempool. It can send you a double spending transaction and that you'd most likely accept it.
Network works fine without this feature. Is it worth it?


Information

Hi,
Firstly complimet for the great job!
Secondoly I have one question for you: it's possible to make some personals frame builder/parser to send data with my personal form?

Thenks for the coplimet.
I'm not sure what you want to achieve. A HTML form? You want to use xbee-api in the backend of your website? You want to make a web interface?
Whatever it is, the answer is probably yes.

I'm sorry, I wrote the last post in a very bad english :smile:  . I mean if it's possible to make personal frame builder for send parsonal frame with personal parameters. Like Digi Sensors.

It is possible. XBee is just a carrier to send your frame content. You can define your own frame with your own parameters.
One example is Libelium's waspmote, they defined and used their own frame. You can take a look into their manuals for more details.

Ok, i have find the solution. Now I can parse my personal frame. Thanks a
lot.
Regards
Giorgio
Il giorno mar 21 apr 2015 07:06 xianlin<EMAIL_ADDRESS>ha
scritto:

It is possible. XBee is just a carrier to send your frame content. You can
define your own frame with your own parameters.
One example is Libelium's waspmote, they defined and used their own frame.
You can take a look into their manuals for more details.
—
Reply to this email directly or view it on GitHub
https://github.com/jankolkmeier/xbee-api/issues/27#issuecomment-94639770
.


Track which items are trashed

Currently all trash earnings are grouped together, instead keep track of each individual item trashed for a breakdown of the trash category

Doesn't seem worth the energy unless there's demand

can look at inventory before and after "trash" event and do some calculation


Unsigned integers example comment correction

The comment at https://vyper.fun/#/1/state_vars_and_ints?id=unsigned-integers-uint256 needs a correction:
actual:
"# This creates a constant uint256 with a value of 16"
Should be:
"# This creates a constant uint256 with a value of 10"

Thanks, @i-van-kaz! Fixed.


$* or $@ for custom ddev commands

Hey I have a simple question and can't seem to find the proper answer online.
I wanted to create a simpel phpcs command to sniff a directory. Is the proper ddev command notation, to add a directory via CLI this:
phpcs -p --standard=Drupal,DrupalPractice $*
or this:
phpcs -p --standard=Drupal,DrupalPractice $@
Both works fine and I don't understand the difference. Online people use both notations, see:
https://github.com/drud/ddev-contrib/blob/master/custom-commands/symfony/web/console
vs.
https://www.oliverdavies.uk/blog/creating-custom-phpunit-command-ddev/
I'm sorry, because this is quite the newbie question, but maybe someone could elaborate! :)

This section of article should help understand. Not much difference. https://linuxize.com/post/bash-functions/#passing-arguments-to-bash-functions
The rest of that post should be useful to you as well.

I guess this should be added as example in the ddev documentation for custom commands?
Quite many ddev custom commands may want to forward parameters to the call, but this isn't documented yet. Googling for it returns both variants and maybe lead to @joshsedl's question.
So I think an example, perhaps for a typical tool like phpcs, phpunit or similar would be cool here?

@rfay: I created a pull request for that, what do you think?
https://github.com/drud/ddev/pull/3275


Option to discard pending changes on exception

Currently when using APIClient as context manager and an exception is raised, the session is closed but stays in the session list containing all changes and locks.
I would like to have a variant, where all pending changes made in the  APIClient session are automatically discarded, when an exception occurs.

Hi @egroeper,
Thank you for suggesting this, we will take a look into a valid solution and update you
Regards,
Eden Brillant


replaced deprecated --strict

Can one of the admins verify this patch?

ok to test

Is there a range of versions of PHPUnit where this is the right fix to use?  I am not certain what version either the development VMs or the build server uses but I doubt it would be very new in either case

The server has PHPUnit 4.1.3.
The VM has PHPUnit 4.5.0.

The fix is good for >= 4.5.0 but it doesn't break on phpunit 4.0.7 (I checked). Of course, versions < 4.5.0 will run without the --strict option

Looks good but can I have just the config changes on their own, please?  I don't want to merge a work-in-progress unit test.

I merged the phpunit change, but not the work in progress test.  For your next commit, try this:

create a new branch
make the changes for one feature and submit it
start a new branch for the next idea
don't make changes to your master branch, they'll clash with ours (ping us in channel if you want help cleaning up your master branch at this point)

Thanks for contributing!!


MGMT-15570: Enable CIM -> Add hosts -> BMC options for all platforms

Previously BMC options were only available for certain options, now they are available for all

/test translation-files

/retest translation-files

/retest


[Feat]: Add google login

Is your feature request related to a problem? Please describe.
Currently users can login using email and password only. Adding google login to the site would greatly improve the user experience.
Describe the solution you'd like.
I would like to add a simple google login in the site.
Please assign me this issue under GSSOC'24
Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

Similar issue exists and already assigned. closing this one, kindly look for other issues.


Multigraph support in edit mode

I would like to split multigraph support work into several PRs and I think it is fine to merge as the main branch is already broken. This PR adds the ability to create multiple edges in the edit mode with multigraph. This PR depends on the PR https://github.com/Quantomatic/pyzx/pull/236 in pyzx which should be merged first.

This is giving 'AttributeError: 'Edge' object has no attribute 'get_edge_count'' in the test suite. Is this expected?

I added the get_edge_count method in the PyZX PR that's now merged.
https://github.com/Quantomatic/pyzx/blob/a11c8f8a2d6a086a0b9a2cb69ab85384a1aa762a/pyzx/graph/multigraph.py#L53-L57


Fixing docs?

Heyo!!
I'm using dask for the first time, and really enjoying it! I found a couple of typos / bugs in the documentation page here - https://jobqueue.dask.org/en/latest/examples.html - but I can't find a deployment examples /examples file in the docs source folder. Could you point me to where I can edit / pull request to fix the file? Thanks!

Doh. Literally just found it - with dask-jobqueue! https://github.com/dask/dask-jobqueue/blob/master/docs/source/examples.rst Sorry for the noise!


⏰ Palindrom does not apply OT correctly

Steps to reproduce
The same as in #156
To make it easier, I have created a test suite with real data: https://github.com/Palindrom/Palindrom/commit/9bc324d0497029fc71b7a03667b1d4377d29cb99. The one failing test is the one that shows the problem.
Expected
Palindrom should correctly apply patches that come out of order.
Actual
In this particular case, the XHR handler on the server triggers a WS push, which is delivered to the client before XHR.
The client gets server version 2 through WS, then 1 through XHR, then 3 through WS.
If the OT worked correctly, that should not be a problem. But it seems that the client applies the patches from the OT queue on a outdated version of the obj.
This is essencially the problem that causes https://github.com/Starcounter/inside.starcounter.com/issues/23. This was very hard to debug because of how Palindrom hides incoming patch exceptions in Promise catch.

To make it easier, I have created a test suite with real data: 9bc324d

This is beyond considerate. Thank you so much.

This was very hard to debug because of how Palindrom hides incoming patch exceptions in Promise catch

I fixed this in Palindrom master before I left but it was a small issue to release. Next release will log the errors.

So after some investigation on this, I can say it is not cleanly possible without server modifications. Because current server scenario is:
1- Send a full object via XHR (eg: {name: 'George'}).
2- Send patches to that object via WS or HTTP PATCH (eg: [{op: "replace", path: "/path", value: "new Value"}]).
Understandably enough, these are not interchangeable.
We can cache 2 and wait for 1 but IMHO all this complexity is redundant and can be fixed from the server in a much cleaner and future-friendly manner. I suggest that the server never sends full objects anymore, only patches, such that first patch becomes:
[{op: replace, path: "", value: {key: value}}]

And this will make HTTP GET + HTTP PATCH + WS messages equivalent and all fall under OT. Also, this will allow us to get rid of initial HTTP request that is slowing us ~500ms down.


chore(deps): update dependency go to v1.23.3

This PR contains the following updates:

Package
Type
Update
Change

go (source)
toolchain
patch
1.23.2 -> 1.23.3

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 8.14.3 :tada:
The release is available on:

GitHub release
v8.14.3

Your semantic-release bot :package::rocket:


switch2container: chown symlink in mon/mgr plays

fa2bb3a only fix the symlink owner/group issue in the OSD play. If the
OSDs are collocated with other services like MONs and MGRs then the
chown command will fail.
$ find /var/lib/ceph/osd/ceph-0 -not -user 167 -execdir chown 167:167 {} +
chown: cannot dereference './block': Permission denied

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1896448
Signed-off-by: Dimitri Savineau<EMAIL_ADDRESS>

jenkins test centos-non_container-switch_to_containers


Can anyone tell me the detail meaning of the debug items?

These items, thank you...

Game render: time between tracking submission and the game finishing to render a frame
Streamer compositor: layer compositing + foveation encoding  + color correction
Encode: video encoder
Network: data transmission
Decoder: video decoding on the client
Decoder queue: idle time used for proper frame alignent and reduce stuttering
Client compositor: gamma correction + foveation decoding
Client vsync: VR runtime compositor time + idle. We don't have control on this time. This is the latency every Quest app has.

@zarik5 Thank you very much!!!

One following up question, does AlVR support to export those statistics information?


[QUERY] Does iterableByPage enable for all resource provider?

Query/Question
A clear and concise ask/query.
Does iterableByPage support AzureResourceManager.virtualMachineImages().listByRegion() ?
Why is this not a Bug or a feature Request?
A clear explanation of why is this not a bug or a feature request?
iterableByPage() returns all entities...

Setup (please complete the following information if applicable):

OS: [e.g. iOS] Windows
IDE: [e.g. IntelliJ] InterlliJ
Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)] azure-resourcemanager 2.10.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Query Added
[ ] Setup information Added    use this SDK in Mooncake

Hi @chuckz1321 thanks for reaching out to us via this GitHub issue.  @weidongxu-microsoft could you please follow up with @chuckz1321?

@chuckz1321
This API is an exception. There is no REST API to list images by region. It had to be done cascaded, list by offer, list by sku on offer, list by image on sku.
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/VirtualMachineImagesImpl.java#L85-L98
We currently have no good solution to make this nested API call truly pageable.
You may call following API (but then need to iterate again on different sku and offer)
        azure
            .virtualMachines()
            .manager()
            .serviceClient()
            .getVirtualMachineImages()
            .listWithResponse(...);

link https://github.com/Azure/azure-sdk-for-java/issues/19494

@weidongxu-microsoft Thanks for you help! Actually we were facing the issue that the query may take longer time and each images will interactive with management endpoint, so that the netty thread will block and finally throw an exception saying the queue is not enough to hold more requests. I configured the netty connection provider and mitigted this issue. (Simply enlarge the timeout parameter...)


500 Server Error: Internal Server Error for url: http://nuclio-dashboard.internal.cvat.ai:8070/api/function_invocations

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
go to the image
then AI tool then select the object
500 Server Error: Internal Server Error for url: http://nuclio-dashboard.internal.cvat.ai:8070/api/function_invocations
Expected Behavior
to do annotation using SAM
Possible Solution
No response
Context
No response
Environment
CVAT online

Hello,
User in cvat is kdiab associated to my email id also
On Tue, 7 May 2024 at 10:23, Boris Sekachev @.***>
wrote:

Please, provide any details.
We do not have a user with the same username on our platform, we can't see
any task information.
—
Reply to this email directly, view it on GitHub
https://github.com/cvat-ai/cvat/issues/7855#issuecomment-2097728166, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYO7PLUPBYO3OSLJCPWZRQTZBCFOZAVCNFSM6AAAAABHJOSAGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXG4ZDQMJWGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello,
can you please update


chore(adds-background): adds background colour to remove triangles

Description

Adds background to internal div of search component

Issue(s)
Fixes #1219
How to test

Go to {cloud link}
Click on _______
You should see _______

Screenshots
How it used to look (delete if n/a):

How it should now look:

Checklist

[ ] Added or updated tests where appropriate
[ ] Manually tested across browsers / devices
[ ] Considered impact on accessibility
[ ] Design sign-off
[ ] Approved by product owner

:tada: This PR is included in version 1.184.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Play using youtube is facing problems

When i tried to a play a song using "Play rockabye"
wrong link opens, most probably due to google ads **https://www.youtube.comhttps//googleads.g.doubleclick.net/aclk?**sa=l&ai=CmQlG1qFHWuWvNOORlAPg9oegDuDCmM9P2LXV9uEGwI23ARABIOP7kwNg5eLog_gpoAHe47ShA8gBAakCxjb9borPUD6oAwGqBKMBT9Cp6GTnbSXNOALv1JYogMJxX_ovvZYN6j_0HWjAnKl1Gug11lP9uTSTLtCUCshjM2vPMEAJwDrJ6_gtUNqY9fM7qNp-4uOLJLZmU5yPAtVeeQIP-lNcQDotabottXLa3e1p7Wk6DclUqafMRZCcOQN7PqwSir9YiEmLS5GPnYp8qTVddDM_ZUOgqCnbR8sAPioypgKUIUqXUbz-3EiQtnKtzKAGGsgGhIO6lYMHgAeKnMteqAemvhvYBwHSCAcIgGEQARgDsQkLCIwqM_q5RIAKAbgT6AHYEwI&num=1&sig=AOD64_3ICsBEUfJ2qr9qHzbGzRbulTGZ0A&ctype=21&video_id=GmvGVFtLrAI&client=ca-pub-6219811747049371&adurl=http://www.youtube.com/channel/UC7EwKO5tK6HvHM_irHUhQHw%3Fv%3DGmvGVFtLrA

Hmm, the problem is occurring. Is it only in Windows or other OS also?

Edit: This issue is occurring on all operating systems.  Your PR will not be counted in the official stats


Docs.MS CI Updates for Microsoft.Azure.ServiceBus

CI Update for release of Microsoft.Azure.ServiceBus

Docs Build status updates of commit e33c439:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

bundlepackages/azure-dotnet.csv
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Closing. Unnecessary.


Contribution json updated

I have added my profile to this JSON file
Issue

Description

Checklist

[ ] Added contributor object in ascending order in contributors.json
[ ] Github action build passing
[ ] No merge conflicts

Hi, @prateekcode if you want to be a part of developer-community-stats you need to submit the PR in the original repository. The instructions are in the issue that you are working on.

Hi, @prateekcode if you want to be a part of developer-community-stats you need to submit the PR in the original repository. The instructions are in the issue that you are working on.

Hey, check it out. I submit it into the original repo.


Why the loss of the validation set is nan on the acdc dataset？

2023-09-13 19:55:07.305611:
epoch:  0
2023-09-13 20:09:55.016225: train loss : -0.0980
2023-09-13 20:10:50.444458: validation loss: nan
2023-09-13 20:10:50.445074: Average global foreground Dice: [0.0, 0.0, 0.0]
2023-09-13 20:10:50.445152: (interpret this as an estimate for the Dice of the different classes. This is not exact.)
2023-09-13 20:10:50.723239: lr: 0.009991
2023-09-13 20:10:50.723401: current best_val_eval_criterion_MA is 0.00000
2023-09-13 20:10:50.723435: current val_eval_criterion_MA is 0.0000
2023-09-13 20:10:50.723503: This epoch took 943.417670 s
2023-09-13 20:10:50.723532:
epoch:  1
2023-09-13 20:25:20.248155: train loss : -0.4486
2023-09-13 20:26:16.659445: validation loss: nan
2023-09-13 20:26:16.659962: Average global foreground Dice: [0.0, 0.0, 0.0]
2023-09-13 20:26:16.660027: (interpret this as an estimate for the Dice of the different classes. This is not exact.)
2023-09-13 20:26:16.998715: lr: 0.009982
2023-09-13 20:26:16.998862: current best_val_eval_criterion_MA is 0.00000
2023-09-13 20:26:16.998900: current val_eval_criterion_MA is 0.0000
2023-09-13 20:26:16.998949: This epoch took 926.275386 s
Why the loss of the validation set is nan on the acdc dataset

Hello~do you know how to solve it?

2023-09-13 19:55:07.305611: epoch: 0 2023-09-13 20:09:55.016225: train loss : -0.0980 2023-09-13 20:10:50.444458: validation loss: nan 2023-09-13 20:10:50.445074: Average global foreground Dice: [0.0, 0.0, 0.0] 2023-09-13 20:10:50.445152: (interpret this as an estimate for the Dice of the different classes. This is not exact.) 2023-09-13 20:10:50.723239: lr: 0.009991 2023-09-13 20:10:50.723401: current best_val_eval_criterion_MA is 0.00000 2023-09-13 20:10:50.723435: current val_eval_criterion_MA is 0.0000 2023-09-13 20:10:50.723503: This epoch took 943.417670 s
2023-09-13 20:10:50.723532: epoch: 1 2023-09-13 20:25:20.248155: train loss : -0.4486 2023-09-13 20:26:16.659445: validation loss: nan 2023-09-13 20:26:16.659962: Average global foreground Dice: [0.0, 0.0, 0.0] 2023-09-13 20:26:16.660027: (interpret this as an estimate for the Dice of the different classes. This is not exact.) 2023-09-13 20:26:16.998715: lr: 0.009982 2023-09-13 20:26:16.998862: current best_val_eval_criterion_MA is 0.00000 2023-09-13 20:26:16.998900: current val_eval_criterion_MA is 0.0000 2023-09-13 20:26:16.998949: This epoch took 926.275386 s Why the loss of the validation set is nan on the acdc dataset


Allow Parameters for Elasticsearch Instance Size (in particular t3)

Feature name
Give your feature a name.
Enable selection of instance sizes for elasticsearch
Is your feature request related to a problem? Please describe.
A description of what the problem is.
You can choose Neptune database size based on the workload. Can we do the same for elasticsearch? Especially now that t3 are an option:
https://aws.amazon.com/about-aws/whats-new/2020/09/amazon-elasticsearch-service-offers-t3-instances/?sc_channel=em&sc_campaign=Launch_mult_LA_awslaunchemail_20200914&sc_medium=em_whats_new&sc_content=launch_ot_ot&sc_country=mult&sc_geo=mult&sc_category=mult&sc_outcome=launch
Describe the feature you'd like to see implemented
A description of what you would like to see.
When I deploy the stack, I can choose elasticsearch instance size similar to neptune with a sane default.
Describe the value this feature will add to AWS Perspective
Tell us how this feature might improve AWS Perspective.
Allows customer to customize instance size for neptune and elasticsearch, effectively right-sizing their workload

Thanks for the feature request, the team were only discussing adding this yesterday so it's definitely something we want to do.

Implemented in #89


Unable to extract out a bit from AWS IoT SiteWise Asset Property

Is your feature request related to a problem? Please describe.
I want the ability to take a AWS IoT SiteWise Asset Property that is a fault or alarm.  This is usually some type of integer 16/32 bit unsigned integer where each bit represents a specific alarm.
If I have an alarm/fault property I want to be able to extract out a specific bit.
Describe the solution you'd like
I want to be able to add a visual that can take 1 bit value from an SiteWise Asset Property and visualize it.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I am told that with other data sources one can do a transformation or run a query on the data SELECT (your_integer & 1023) AS extracted_bits FROM your_measurement.
However, this is not possible with the AWS IoT SiteWise data source.
Additional context
This is something very common with industrial automation and specifically industrial assets where a Mosbus or OPC-UA device has a integer values where bits represent alarms and fauls.

Hi thanks for reaching out, the work around to achieve this functionality currently is to create a GreenGrass component to do the mapping and decoded to a string during ingestion process. Please let me know if you have any further questions.


add aurorafusion to dependencies

aurorafusion is a package for particle transport, neutrals and radiation in plasmas, discussed in a contributed presentation during hack week.
Docs: https://aurora-fusion.readthedocs.io/en/latest/

Thank you!


Pin Always on top

Description of the new feature / enhancement
Have a program (like calculator) always appear and be on top even when opening a new window.
Scenario when this would be used?
When frequently opening and closing you don't have to toggle Always on top.
Supporting information
No response

Especially useful for those of us who use the pop-up touchscreen keyboard. good suggestion.


helm delete - does not remove namespace

Bug description
helm delete does not remove istio-system namespace.
helm delete --purge istio
helm delete --purge istio-init
Affected product area (please put an X in all that apply)
[X] Configuration Infrastructure
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Istio-system is active after helm delete and purge
Steps to reproduce the bug
helm delete --purge istio
helm delete --purge istio-init
k get po -n istio-system
Version (include the output of istioctl version --remote and kubectl version)
Version: 1.0.5
GitRevision: c1707e45e71c75d74bf3a5dec8c7086f32f32fad
User: root@6f6ea1061f2b
Hub: docker.io/istio
GolangVersion: go1.10.4
BuildStatus: Clean
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T16:14:56Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
How was Istio installed?
using helm
Environment where bug was observed (cloud vendor, OS, etc)
AWS EC2
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

I think this is just the behavior of helm - see https://github.com/helm/helm/issues/1464
Is there anything else we can do?


Tests are broken due to recent SDK changes

Steps to reproduce
make test
What is the expected behavior?
Errors: 0
What is the actual behavior?
Errors: 21

Time: 00:00.405, Memory: 24.00 MB

OK (410 tests, 1034 assertions)

Can you share an example of what one of the errors is?

As far as I have seen this is all AWS related code, because there is nothing much else yet anyway.
My guess is that said code runs against the 0.0.3 release of the SDK, while the composer  pulls dev-main.
A temporary solution might be to require SDK 0.0.3 for the main branch.
However the Symfony Bundle will be based on the latest SDK version in dev-main, so in both cases I will not be able create a PR for the Bundle until the tests pass against current SDK dev-main.


Duplicating keyframes on the animation tab with CTRL + D crashes Godot

Godot version
4.0-alpha4
System information
Windows 10, GLES3
Issue description
When using the shortcut CTRL + D on a keyframe, Godot crashes. Happens with all types of keyframe tracks.
The keyframe should be duplicated on the spot where the playhead is.
Steps to reproduce
Create an AnimationPlayer node, create a new animation and a track, key a property, press CTRL + D.
Minimal reproduction project
No response

@Bones404 Can you reproduce this on 3.4.3?

It works normally on 3.4.3

This may have been fixed. I'm on the latest commit (81c2d7a) on Windows 11 and this doesn't seem to happen.

Can't reproduce it either on current master either. Linux arch

Closing per the above comments. Please comment if you can still reproduce this on latest master (not 4.0alpha4).


add database export in JSON or SQL format

Consider one of these options:

JSON export from a django view. Limit only to superusers
python manage.py dumpdata

To export the entire database to a file called database.json, you would use the following command:
python manage.py dumpdata --output database.json

hey, @dennybiasiolli Is your problem with something else, or is the answer itself?

Well, to be honest we'd like to allow the export from the web interface, something that runs the command you suggested (maybe only user related data) and starts a download in the browser. That's our issue


[New] Click on user avatar to view user profile/info

when you click on the user avatar in a channel message, a screen should appear showing the users profile/info.
An inspiration from slack

@filipedelimabrito can I work on this?

This is partially done already, so let's close the issue for now.


chore(deps): update nexus-prisma

This version of nexus-prisma ditches our nexus fork.

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


Simplify rule group's EvalTimestamp formula

I found it hard to understand how EvalTimestamp works, so I wanted to simplify the math there or explain how it actually works.
This PR adds comments to clarify how the expressions in the method work.

(A+B (mod M)) = (A (mod M) + B (mod M))
This is not mathematically correct:
7%2+3%2 != 10%2

thanks for the review @roidelapluie, I addressed this problem. But at the current form of it, I can't say it's more clear to me than. I'm happy to leave it as-is and merge, close the PR if it's not bringing value, or add comments to explain why EvalTimestamp returns the immediately preceding consistently slotted evaluation time.

Maybe we could better comment the existing calculation. The current form is quite confusing to me as we change the value of offset.

I guess I can rename offset to something else, not sure how much difference this can make.
I will try to understand the current formulation once again, but don't have high hopes. Was there a design doc when this was written or should everything past be in git history?

I don't know of any, but changing the formula is a risk of introducing new bugs.

I agree. We should start with understanding why it is how it is. I haven't found the time to get back to this yet.

So this commit was apparently a noop https://github.com/prometheus/prometheus/pull/4201/commits/2f9ad6e08e3bc6b7f896abedd276b63293e37634 (part of #4201). It translated if next < now { next += interval } to modulo operations and subtraction. I tried adding comments in this PR which explain this. I'm not sure whether bringing back the if  won't be a more clear approach instead of comments.

Thanks!


How to use Liquid in JavaScript Agent?

Following is the event of Manual Event Agent as source of JavaScript Agent:
{ "count": "abc" }
❶
Agent.receive = function() {
	var events = this.incomingEvents();
    for (var i = 0; i < events.length; i++){
	var a = '{{ 'now' | date : '%Y' }}'
	var e = '{{ 'events[i].payload.count' | append : 'xyz' | remove : 'bc' }}';
	this.log(a);
    }
};

Output:
2020
Liquid took effect in JavaScript Agent and now was recognized as variable.
❷
Agent.receive = function() {
	var events = this.incomingEvents();
    for (var i = 0; i < events.length; i++){
	var a = '{{ 'now' | date : '%Y' }}'
	var e = '{{ 'events[i].payload.count' | append : 'xyz' | remove : 'count' }}';
	this.log(e);
    }
};

Output:
events[i].payload.xyz
Here events[i].payload.count was recognized as string instead of variable. But Liquid was effect.
❸
Agent.receive = function() {
	var events = this.incomingEvents();
    for (var i = 0; i < events.length; i++){
	var a = '{{ 'now' | date : '%Y' }}'
	var e = {{ 'events[i].payload.count' }};
	this.log(e);
    }
};

Output:
abc
Here events[i].payload.count was recognized as variable.
❹
Agent.receive = function() {
	var events = this.incomingEvents();
    for (var i = 0; i < events.length; i++){
	var a = '{{ 'now' | date : '%Y' }}'
	var e = {{ 'events[i].payload.count' | append : 'xyz' | remove : 'bc' }};
	this.log(e);
    }
};

Output nothing. events[i].payload.count was variable but Liquid wasn't effect.
My question is how to use Liquid in JavaScript Agent especially make the last one above output axyz.

You can't really (and shouldn't need to). Think of Liquid as a preprocessor for the JavaScript source code that will be evaluated by JavaScript. You can use liquid to generate the code, but nothing more. In practice I don't see any need to use Liquid as you have all the Events input available in JavaScript.

I just want to use Liquid to handle string and nothing more. More complicated things need JavaScript such as using Memory. JavaScript is a little heavy to me and I'm not sure I can learn enough to master everything in JavaScript. For strings Liquid is simple and intuitive and I like Liquid very much!😹
I want to know whether JavaScript has all the filter functions in Liquid and totally replace them.
Such as the filter {% regex_replace a in %}{{  b }}{% with %}c{% endregex_replace %} and how to achieve that in JavaScript? Here a and b are variables.

I think I got the solutions! events[i].payload.count.replace(/bc/, "xyz") is a good way and more simple! "xyz" can also be an variable. JavaScript is so strong and I love it!😻


How to use Dive in gitlab CI Securely?

Issue:
My understand to dive is that dive has to pull the image to his local docker engine and then dive could scan the docker image layer.
I use dive in .gitlab-ci.yml.
I have to mount the docker.sock file to my container such as "-v /var/run/docker.sock:/var/run/docker.sock", which is not secure I think.
My question is that how could I use dive in gitlab-ci.yml without "-v /var/run/docker.sock:/var/run/docker.sock"?

You could supply an image as an archive to circumvent the need for docker, just invoke it with --source docker-archive <path-to-image.tar> and it will read from the file.
How you get the file where you need it is up to you and your CI.

Yes, Thanks and I got your point.

If anyone's looking for a more complete GitLab CI example for saving the archive file:
dive:
  image:
    name: wagoodman/dive:latest
    entrypoint: ['']
  script:
    - apk add --no-cache skopeo
    - skopeo copy docker://${IMAGE_NAME}:${IMAGE_TAG} docker-archive:archive.tar
    - dive --source docker-archive archive.tar


[Bug]: Phi-3-small-128k-instruct on 4 T4 GPUs - Memory error: Tried to allocate 1024.00 GiB

Your current environment

The output of `python collect_env.py`
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Wolfi (x86_64)
GCC version: Could not collect
Clang version: Could not collect
CMake version: version 3.30.2
Libc version: glibc-2.39

Python version: 3.11.9 (tags/v3.11.9-0-gde54cf5-dirty:de54cf5, Aug  8 2024, 11:36:54) [GCC 13.3.0] (64-bit runtime)
Python platform: Linux-5.10.199-190.747.amzn2.x86_64-x86_64-with-glibc2.39
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: Tesla T4
GPU 1: Tesla T4
GPU 2: Tesla T4
GPU 3: Tesla T4

Nvidia driver version: 535.104.12
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
/bin/sh: lscpu: not found

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] pyzmq==26.1.0
[pip3] torch==2.4.0
[pip3] torchvision==0.19.0
[pip3] transformers==4.44.0
[pip3] triton==3.0.0
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.5.4@4db5176d9758b720b05460c50ace3c01026eb158
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    GPU2    GPU3    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      PHB     PHB     PHB     0-47            N/A             N/A
GPU1    PHB      X      PHB     PHB     0-47            N/A             N/A
GPU2    PHB     PHB      X      PHB     0-47            N/A             N/A
GPU3    PHB     PHB     PHB      X      0-47            N/A             N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

🐛 Describe the bug
I am trying to deploy a Phi-3 model on vLLM. Phi-3-small-128k-instruct is ~15GB and 7B parameters, so it should easily fit on my 4 Tesla T4 GPUs, which have 16GB RAM each. However, I am getting a ran out of memory error as it tries to load the model that makes no sense. It says tried to allocate 1024 GB, which does not seem possible since the model itself is not nearly that big. My parameters for this deployment are --dtype float16, --tensor-parallel-size 4. And I had to add --trust-remote-code (even though other issues say this is no longer needed for Phi-3 models, my transformers package is up to date but was requiring this parameter).
I know this looks like a standard out of memory error, but this model is ~15 GB, so why would it be trying to allocate 1024GB? Any guidance would be appreciated, thanks.
ERROR 08-16 15:18:01 multiproc_worker_utils.py:120] Worker VllmWorkerProcess pid 1740 died, exit code: -15
INFO 08-16 15:18:01 multiproc_worker_utils.py:123] Killing local vLLM worker processes
Traceback (most recent call last):
  File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/entrypoints/openai/rpc/server.py", line 217, in run_rpc_server
    server = AsyncEngineRPCServer(async_engine_args, usage_context, port)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/entrypoints/openai/rpc/server.py", line 25, in __init__
    self.engine = AsyncLLMEngine.from_engine_args(async_engine_args,
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 471, in from_engine_args
    engine = cls(
             ^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 381, in __init__
    self.engine = self._init_engine(*args, **kwargs)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/engine/async_llm_engine.py", line 552, in _init_engine
    return engine_class(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/engine/llm_engine.py", line 249, in __init__
    self.model_executor = executor_class(
                          ^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/executor/multiproc_gpu_executor.py", line 215, in __init__
    super().__init__(*args, **kwargs)
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/executor/distributed_gpu_executor.py", line 25, in __init__
    super().__init__(*args, **kwargs)
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/executor/executor_base.py", line 47, in __init__
    self._init_executor()
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/executor/multiproc_gpu_executor.py", line 138, in _init_executor
    self._run_workers("load_model",
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/executor/multiproc_gpu_executor.py", line 192, in _run_workers
    driver_worker_output = driver_worker_method(*args, **kwargs)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/worker/worker.py", line 139, in load_model
    self.model_runner.load_model()
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/worker/model_runner.py", line 722, in load_model
    self.model = get_model(model_config=self.model_config,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/model_executor/model_loader/__init__.py", line 21, in get_model
    return loader.load_model(model_config=model_config,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/model_executor/model_loader/loader.py", line 324, in load_model
    model = _initialize_model(model_config, self.load_config,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/model_executor/model_loader/loader.py", line 154, in _initialize_model
    return model_class(config=model_config.hf_config,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/model_executor/models/phi3_small.py", line 361, in __init__
    self.model = Phi3SmallModel(config, cache_config, quant_config)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/model_executor/models/phi3_small.py", line 310, in __init__
    self.layers = nn.ModuleList([
                                ^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/model_executor/models/phi3_small.py", line 311, in <listcomp>
    Phi3SmallDecoderLayer(config, layer_idx, cache_config,
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/model_executor/models/phi3_small.py", line 261, in __init__
    self.self_attn = Phi3SmallSelfAttention(config,
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/model_executor/models/phi3_small.py", line 213, in __init__
    self.attn = Attention(
                ^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/attention/layer.py", line 84, in __init__
    self.impl = impl_cls(num_heads, head_size, scale, num_kv_heads,
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/attention/backends/blocksparse_attn.py", line 327, in __init__
    self.bs_attn = LocalStridedBlockSparseAttn(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/attention/ops/blocksparse_attention/interface.py", line 60, in __init__
    self.get_attn_pattern(dtype, device))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/attention/ops/blocksparse_attention/interface.py", line 80, in get_attn_pattern
    sparse_layout, sparse_pattern, dense_attn_mask = get_sparse_attn_mask(
                                                     ^^^^^^^^^^^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/vllm/attention/ops/blocksparse_attention/utils.py", line 222, in get_sparse_attn_mask
    mask_dense = torch.kron(
                 ^^^^^^^^^^^
  File "/home/nonroot/.local/lib/python3.11/site-packages/torch/utils/_device.py", line 79, in __torch_function__
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 1024.00 GiB. GPU 0 has a total capacity of 14.58 GiB of which 13.60 GiB is free. Process 37249 has 996.00 MiB memory in use. Of the allocated memory 756.12 MiB is allocated by PyTorch, and 49.88 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

This may be a bug with the blocksparse_attention that is specific to Phi3-small. Could you try the larger Phi-3-medium-128k-instruct to test that it is just an issue with that?

@mgoin I couldn't get Phi-3-medium-128k-instruct working on my hardware either, but I think that is because the model just barely does not fit on my 4 T4's:
"Tried to allocate 1.25 GiB. GPU 0 has a total capacity of 14.58 GiB of which 1.18 GiB is free."
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 1.25 GiB. GPU 0 has a total capacity of 14.58 GiB of which 1.18 GiB is free. Process 26078 has 13.40 GiB memory in use. Of the allocated memory 13.18 GiB is allocated by PyTorch, and 31.95 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (
https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
/usr/lib/python3.11/multiprocessing/resource_tracker.py:254: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

@jgen1 Could you this line to
https://github.com/vllm-project/vllm/blob/832163b8754efe2c6d74fbecb6a87a4119410db4/vllm/attention/ops/blocksparse_attention/interface.py#L11-L12
to
IS_COMPUTE_8_OR_ABOVE = (torch.cuda.is_available()
                         and current_platform.get_device_capability() >= (7, 5))

and give a try?  I do not have  a T4 GPU to test.
The reason you have this issue, is because the phi-3-small uses a blocksparse attention instead normal attention.  For T4 or later (compute capability of 7.5 or above), triton kernel works. While if is below 7.5, it falls back to use SPDA plus an attention mask, is huge.
The code has a bug: its check if compute capability is 8 or above instead of 7.5 (T4) or above.
Le me know if the problem get fixed before I make a PR.

@jgen1 thanks for giving it shots. It is weird that the seq_start_loc is None. Do you enable prefix caching? The blocksparse attention in vllm currently does not support that.  We are working on it. So you may need to disable prefix caching for now.

@linxihui I don't believe so... this is my command to start the server:
python3 -m vllm.entrypoints.openai.api_server --model Phi-3-small-128k-instruct --chat-template "${CHAT_TEMPLATE}"  --quantization None --dtype float16 --enforce-eager --tensor-parallel-size 4 --max-model-len ${MAX_MODEL_LEN}

When MAX_MODEL_LEN=$(jq -r ".max_position_embeddings" $MODEL_NAME/config.json) and CHAT_TEMPLATE=$(jq -r ".chat_template" $MODEL_NAME/tokenizer_config.json)


Dead guides link

Looks like the extension got released with a dead guides link, https://quarkiverse.github.io/quarkiverse-docs/quarkus-mailpit/dev/ .
To fix, should we remove the link or publish the docs?

We should publish the docs?  I thought I had submitted the PR's to extensions catalog correctly?

There's another step for docs. 🤦♀ It's documented, but only if you know where to look.
"To register your extension's documentation, open a PR including it in the antora-playbook.yml"
I'm more and more thinking that we should do something to make all this easier, though. More-easily findable docs is part of it, but the best docs are the docs you don't even need.

Done!  I am a moron: https://github.com/quarkiverse/quarkiverse-docs/pull/116/files

Thanks its there now!

Thanks!


Expand copy on organisation description on github

To edit our profile: .github/profile/README.md in unikubehq:main
Example: https://github.com/github

@Truthans can you please have a look at the text. If its ok like this, I will publish it on github.

@marty-2015 I like it. Made a few additions. Ready to go afterwards.


Obsidian shortcuts are clashing with excal draw shortcuts

@ad1992 we should add a prop onKeyDown or something and allow the host apps to prevent specific shortcuts in specific cases. We will need this in Excalidraw+ as well.


chore(go-client): Use apache instead of xiaomi in urls

https://github.com/apache/incubator-pegasus/issues/945
resolve remained works in: https://github.com/apache/incubator-pegasus/pull/980#issuecomment-1137438280

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6c4c52a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #981   +/-   ##
=========================================
  Coverage          ?   53.31%
=========================================
  Files             ?       27
  Lines             ?     2517
  Branches          ?        0
=========================================
  Hits              ?     1342
  Misses            ?     1130
  Partials          ?       45

Continue to review full report at Codecov.

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


sort out global code cache API

Codecov Report
Base: 89.59% // Head: 87.74% // Decreases project coverage by -1.84% :warning:

Coverage data is based on head (1b04ca3) compared to base (753a253).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #434      +/-   ##
==========================================
- Coverage   89.59%   87.74%   -1.85%
==========================================
  Files          10       10
  Lines        2642     2619      -23
==========================================
- Hits         2367     2298      -69
- Misses        275      321      +46

Impacted Files
Coverage Δ

src/abstractinterpret/typeinfer.jl
89.57% <ø> (-5.06%)
:arrow_down:

src/JET.jl
72.04% <100.00%> (-0.44%)
:arrow_down:

src/abstractinterpret/abstractanalyzer.jl
89.33% <100.00%> (+1.23%)
:arrow_up:

src/analyzers/jetanalyzer.jl
89.64% <100.00%> (-4.06%)
:arrow_down:

src/analyzers/optanalyzer.jl
91.00% <100.00%> (-0.35%)
:arrow_down:

src/ui/print.jl
91.15% <0.00%> (-0.69%)
:arrow_down:

src/abstractinterpret/inferenceerrorreport.jl
89.32% <0.00%> (-0.40%)
:arrow_down:

... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


vitables: init at 3.0.2

https://github.com/uvemas/ViTables/releases/tag/v3.0.2
Description of changes
Added the ViTables tool, which is a visualiser and editor for HDF5 files.
Most tests are disabled because they run GUIs.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Hello, thanks for contributing ! Could you split your PR into 2 commits:
* maintainers: add williamvds

* vitables: init at 3.0.2

Conflicts also have to be fixed (rebase on master) before merging.

Thanks, I've split the commit and rebased

Updated to a more recent commit which supports Python 3.10, and gets rid of nose


fix: barcode scanner crash

What
i've made changes that I believe fix the issue of crashes after barcode scans on android. i tested it with my device and didn't encounter any problems with this version.

@mrousavy is there any problem with merging?

Hey, thanks for your PR!
No, not yet - I'd have to test this to confirm this works.
It would help if other people that have this bug could test if this fixes it for them!

Can you link those issues that will be fixed by this PR? And maybe also ping some people from those issues to test this PR. Thanks!

Hey, thanks for your PR!
No, not yet - I'd have to test this to confirm this works. It would help if other people that have this bug could test if this fixes it for them!

@necmettindev I haven't been able to get my app to crash with barcode scanning after applying this change. Initially, my app would crash every once in a while after scanning a QR code.

This is not solving the issue for ean-13

You are right! My testing was limited.

Downgrading to v3.5.1 fixes the issue for me

This is not solving the issue for ean-13

Same here

@MehPhisto @lBroth
Have you tried this PR?

Not yet. I hope I can try it tonight

Hey - I already added this to the codebase now by only calling close once; in the completion callback.
https://github.com/mrousavy/react-native-vision-camera/blob/2fb56e580253d240a0d7bf857c353f8bf96870fd/package/android/src/main/java/com/mrousavy/camera/core/CodeScannerPipeline.kt#L64
Thanks for your PR though!


Persistent store

This is an extension to enable a persistent, shared struct store.
It simply switches out all shm_<whatever> calls for their file-based counterparts.
It can be used by setting the flag StructStoreShared(...., persistent=true)  in the constructor.
The path argument then becomes a relative file path into the local filesystem.
The created file will not be delete, even if no struct store is currently opened.
Everything else behaves as-is.

I think there still might be the case where one would want to completely invalidate an already created file-based store, but do so in a coordinated manner (through the invalidated = true flag).
This could be useful anytime one would want to change (at runtime) either the store size or large parts of its structure. For this the invalidate mechanism seems fitting, as it already provides a clean synchronization point.
That being said, I'm also not sure if the combination of owning=True, persistent=True intuitively conveys these semantics.

As we weren't really happy with the flags, there is now  a refactored version, which entangles the behavior for initialization, cleanup and file/shared memory usage. I hope this makes the behavior flags a bit less confusing.
There still is one case where the constructor can return without proper initialization.
This should better be handled in a separate pull request.

Thanks for the comments and fixes! Merge at will ;)

Thanks for your contribution! Let's fire that merge button :D


Can not run when enter using docker container

When use the docker container to run the ollama, it cannot run it directly. Add the support for using docker container or some config options. I think a simple alias should work. Thank you!

Oh yes, should be easy enough, will do.

@meicale added some initial support for running without a local Ollama client when you have Ollama running in a container.
See https://github.com/sammcj/gollama/releases/tag/v1.8.0
After running the new version once, in your config file you should have a new item "docker_container", if you set it's value to the name of your ollama container, it should (hopefully) run the Ollama run command inside the container.
Let me know how it goes.


Possibly unwrapped and therefore not translated strings

System info
Version: 0.17.1 with latest ES contentpack
OS: Xubuntu 16.04
Browser: Chrome
Description
Testing the newest ES contentpack, and still finding many strings in English, even though Spanish on Crowdin is 100% translated.

Possibilities:

PO files from Crowdin are not built into the contentpack.
There are strings that are unwrapped/hardcoded, don't get into Crowdin, and are therefore not translated.

This last option seems possible since I searched for several of the above in the files on Crowdin, and could not find them (Manage & Teach in the main menu, for example).
We've been dragging this for a while now, and we should fix it before the 0.17.2 release.

@radinamatic Even with the content pack that was released together with 0.17.1 had a similar issue with this. I think that this is possibly related with this issue.

I agree, it's probably the same problem. We need to do a search and for those strings, export to Crowdin and translate that asap.

I can do the translation on Crowdin no problem, let me know if I can help otherwise to find those strings... :slightly_smiling_face:

@mrpau-eugene @mrpau-eduard I installed 0.17.2-rc2, updated to the latest en contentpack, and installed the latest es contentpack on top. Nothing much have changed, there are still many UI elements which strings display in English:

Only the names of the topic in the coach report table might actually be a different bug, since those items are present and localized in the Spanish topic tree:

@radinamatic Could you check the crowdin and see if those words are translated?
I checked and compared the contentpacks used in 0.17.x and 0.16.x.
0.16.x es contentpack contains

while 0.17.x doesn't have Manage in the list

@mrpau-eugene @mrpau-eduard I agree and I noted that in my original report: Crowdin does not seem to include a lot of those strings.
So we need to re-generate or extract translatable strings and update the PO file on Crowdin, so they can be translated. Just ping me when that is ready, and I'll finish it for Spanish asap.

@radinamatic
You can read about the cause of the issue in https://github.com/learningequality/ka-lite/issues/5477
Underlying causes are:

Messages were generated and uploaded without verification of stats
Untransparent "IGNORE_PATTERNS" was left unmaintained in a python file when project layout was changed (fixed)
Complicated method for generated strings through a central server git with a git submodule (fixed)
Tests didn't insist that this was an actual issue early enough

Let's just say we've all learned something! :)
Great report btw, really sorry this should take so long to figure out.. I wasn't familiar with the way we generated the sources for CrowdIn before now.


Update documentation for SAML1 protocol

I found out that's how it is working on my cas 5.0.6

Thank you.
In the future, please try opting for a more descriptive title and/or commit message.


Tree does not fill VBoxContainer unless Expand is also checked

Godot version
v3.4.2.stable.official [45eaa2daf]
System information
Windows 10, GLES3, NVIDIA GeForce GTX 1080 (511.79)
Issue description
If you place a Tree in a VBoxContainer, it does not fill the space vertically like other nodes do with "Fill" selected, unless you also set it to expand vertically. In my case I only wanted the tree to fill the size that it needs, not expand to the whole container.
https://user-images.githubusercontent.com/148950/158058165-4c77473a-664e-473e-8723-d494265eb398.mp4
Steps to reproduce

Create a project with a Control root and add a VBoxContainer
Add a Tree to the VBoxContainer and optionally some elements before and after it to see how they behave
Attach a script to the Tree that creates some children
Experiment with turning the Tree's "Expand" property on/off under "Size Flags Vertical", while "Fill" is turned on

Minimal reproduction project
vboxcontainer-tree.zip

Vertical "Fill" doesn't have effect in VBoxContainer. The reason other controls fill their space is that they have minimum size (e.g. label will always display whole text). Tree doesn't have minimum size, because it has a scroll bar, thus you need to explicitly tell it that it should take all available space or give it a minimum size.

That does make it hard to do thing like placing a label, a tree, and a grid view in a vertical column and have a common scroll bar for all of them. If anyone know how to do that feel free to elaborate.
Seems like for increased composability Tree shouldn't even have a scrollbar unless placed in a ScrollContainer.

Ah, there is scroll_vertical_enabled property in Tree. If you disable it, it will no longer shrink.

Hm, is there? Sounds like a good workaround, but I don't see scroll_vertical_enabled in the docs for Tree. It is in the docs for ScrollContainer though.

Looks like it's only available in Godot 4.0. You can check the alpha here to see if that's what you need.

I see, that is good news. I'll probably just adjust my UI to have expanded Trees for now and consider changing it back once 4.0 is in beta. Thanks!


complete read entity response

Adding missing fields to read entity by id that were already present for read entity by name

Thanks


Create directory at /var/lib/kubernetes/ before moving config

First of all thanks for the great tutorial!
When I did the tutorial, I noticed that the folder /var/lib/kubernetes/ is missing when moving the kubernetes-controller config. I added the mkdir statement to the docs.
{
  + sudo mkdir -p /var/lib/kubernetes/
  sudo mv kube-controller-manager.kubeconfig /var/lib/kubernetes/
}

Cheers!

Closing, it's already in the docs.


eCharts Emphasis

Hi,
1- How can i emphasis on the selected part of a chart (apply opacity on other segments for example)
2- How can i connect multiple charts, the sample does not work when i copy paste it , it's missing MyChart)
Thanks

You may set an offset for selected part http://echarts.apache.org/option.html#series-pie.selectedOffset
MyChart is the return value from echarts.init


Valid escaped string results in madlib: Prelude.read: no parse

Using escape sequences which should be valid instead cause the compiler to barf in a non-clear way:
export ch = {
  q: '\''
}

Throws an error:
madlib: Prelude.read: no parse

With no additional context.
However, this can be mitigated by using backticks instead (but you can also run into a different error as described there), like so:
export ch = {
  q: `'`
}

Also valid:
export ch = {
  q: "'"
}

fixed by #13


Remove condition for net8.0, fixes pack.

We need all versions built for api compat to work.

There are a lot more TargetNet8 conditions throughout the code if you want to tackle those. Might cause more of the same problems

@keegan-caruso some of the net8.0 ifdefs are needed.


Customising date input

I am using t.forum.dat but noticed the lastfield (year) isn't a Dropdown but an unlimited textbook.
Why is that? How do I getting to display a list of years in that last column instead?
Thanks a lot!
Wouter

Pardon the description.
(using mobile;)
I am using t.forum.dat but noticed the lastfield (year) isn't a Dropdown but an unlimited textbook.
Why is that? How do I getting to display a list of years in that last column instead?
Thanks a lot!
Wouter

Sorry I see some typo's.
But the last field with t.form.dat has an input field instead of a drop down box.
Why is that?

That is just the default implementation. In my use case I don't want to impose constraints to the user.
You can customise the input component writing a custom template (overriding the default one https://github.com/gcanti/tcomb-form/blob/master/src/templates/bootstrap.js#L431)
or even writing your own input component.