text:
How I can create a virtualbox machine offline?

I tested with absolute file and file:/// scheme, but with no success.
Many thanks
Peter
$ docker-machine create -d virtualbox tomcat-2 --virtualbox-boot2docker-url ///Users/xxx/.docker/machines/tomcat/boot2docker.iso
ERRO[0000] Error creating machine: Get https://api.github.com/repos/boot2docker/boot2docker/releases: dial tcp: stat /etc/resolv.conf: no such file or directory
WARN[0000] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0000] Error creating machine
$ docker-machine rm tomcat-2
INFO[0000] machine does not exist, assuming it has been removed already
$ docker-machine create -d virtualbox tomcat-2 --virtualbox-boot2docker-url /Users/xxx/.docker/machines/tomcat/boot2docker.iso
ERRO[0000] Error creating machine: Get https://api.github.com/repos/boot2docker/boot2docker/releases: dial tcp: stat /etc/resolv.conf: no such file or directory
WARN[0000] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0000] Error creating machine
$ docker-machine rm tomcat-2
INFO[0000] machine does not exist, assuming it has been removed already
$ docker-machine create -d virtualbox tomcat-2 --virtualbox-boot2docker-url file:///Users/xxx/.docker/machines/tomcat/boot2docker.iso
ERRO[0000] Error creating machine: Get https://api.github.com/repos/boot2docker/boot2docker/releases: dial tcp: stat /etc/resolv.conf: no such file or directory
WARN[0000] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0000] Error creating machine

We should skip the release check if a file is specified.  Thanks for reporting.

Great:) Many thanks!

This is very relevant in a hackathon setup.

Is this still an issue in HEAD? the code in virtualbox.go seems to imply that the release check only occurs if no b2d ISO URL was specified.

Oh! This might just be a flag issue. I seem to recall running into this a while back.
Try putting a = between the flag and the argument:
$ docker-machine create -d virtualbox tomcat-2 --virtualbox-boot2docker-url=file:///Users/xxx/.docker/machines/tomcat/boot2docker.iso

Hmm looks like a regression.  I'm getting unsupported protocol scheme when trying to use the file.  Checking.

virtualbox driver use a http.client module. It doesn't support file scheme!

It doesn't out of the box, but it can: http://golang.org/pkg/net/http/#Transport.RegisterProtocol

This looks relevant too: https://golang.org/src/net/http/filetransport.go

@hairyhenderson @arun-gupta #805 should fix this.  Would you mind testing?  Thanks!

Sure, I can. Which repository should I checkout?

@arun-gupta https://github.com/docker/machine/pull/805

@ehazlett This is likely a git noob question :)
How do I clone that repo?

@arun-gupta ah np :)  i can give you a test build.  What platform are you on (OS/arch)?

@ehazlett OSX, thanks!

@arun-gupta https://public.evanhazlett.com/docker-machine/gh-539/

Hi Evan,
works
$ cp ~/.docker/images/boot2docker.iso .
$ chmod +x docker-machine_darwin-amd64
$ ./docker-machine_darwin-amd64 create -d virtualbox tomcat-2 --virtualbox-boot2docker-url=file:///$(pwd)/boot2docker.iso
INFO[0001] Creating SSH key...
INFO[0001] Creating VirtualBox VM...
INFO[0009] Starting VirtualBox VM...
INFO[0010] Waiting for VM to start...
INFO[0044] "tomcat-2" has been created and is now the active machine.
INFO[0044] To point your Docker client at it, run this in your shell: eval "$(docker-machine_darwin-amd64 env tomcat-2)"

But I got a strange ls error with the binary with ls
$ ./docker-machine_darwin-amd64 ls
panic: runtime error: index out of range

goroutine 16 [running]:
runtime.panic(0x6538e0, 0xa5935c)
	/usr/src/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/skarademir/naturalsort.NaturalSort.Less(0x208fbc380, 0x8, 0x8, 0x0, 0x6, 0x0)
	/go/src/github.com/docker/machine/Godeps/_workspace/src/github.com/skarademir/naturalsort/naturalsort.go:23 +0x4f8
github.com/skarademir/naturalsort.(*NaturalSort).Less(0x208f17660, 0x0, 0x6, 0x0)
	<autogenerated>:3 +0xa6
sort.doPivot(0x2208b60c08, 0x208f17660, 0x0, 0x8, 0x200000000, 0x39992)
	/usr/src/go/src/pkg/sort/sort.go:129 +0x4ac
sort.quickSort(0x2208b60c08, 0x208f17660, 0x0, 0x8, 0x7)
	/usr/src/go/src/pkg/sort/sort.go:173 +0xa8
sort.Sort(0x2208b60c08, 0x208f17660)
	/usr/src/go/src/pkg/sort/sort.go:200 +0x7b
main.sortHostListItemsByName(0x208f958c0, 0x8, 0x8)
	/go/src/github.com/docker/machine/commands.go:69 +0x268
main.cmdLs(0x208b82840)
	/go/src/github.com/docker/machine/commands.go:508 +0x7a1
github.com/codegangsta/cli.Command.Run(0x6ef5b0, 0x2, 0x0, 0x0, 0x703790, 0xd, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/machine/Godeps/_workspace/src/github.com/codegangsta/cli/command.go:113 +0xeb2
github.com/codegangsta/cli.(*App).Run(0x208b3e000, 0x208b4c000, 0x2, 0x2, 0x0, 0x0)
	/go/src/github.com/docker/machine/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:156 +0xaea
main.main()
	/go/src/github.com/docker/machine/main.go:67 +0x7cd

goroutine 19 [finalizer wait]:
runtime.park(0x2b4a0, 0xa5d8f8, 0xa5ba09)
	/usr/src/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xa5d8f8, 0xa5ba09)
	/usr/src/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
	/usr/src/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
	/usr/src/go/src/pkg/runtime/proc.c:1445

goroutine 20 [syscall]:
os/signal.loop()
	/usr/src/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
	/usr/src/go/src/pkg/os/signal/signal_unix.go:27 +0x32

goroutine 69 [select]:
net/http.(*persistConn).writeLoop(0x208b7e370)
	/usr/src/go/src/pkg/net/http/transport.go:885 +0x38f
created by net/http.(*Transport).dialConn
	/usr/src/go/src/pkg/net/http/transport.go:601 +0x957

goroutine 67 [select]:
net/http.(*persistConn).writeLoop(0x208b7e160)
	/usr/src/go/src/pkg/net/http/transport.go:885 +0x38f
created by net/http.(*Transport).dialConn
	/usr/src/go/src/pkg/net/http/transport.go:601 +0x957

goroutine 68 [IO wait]:
net.runtime_pollWait(0x2208b52410, 0x72, 0x0)
	/usr/src/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0x208b648b0, 0x72, 0x0, 0x0)
	/usr/src/go/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(*pollDesc).WaitRead(0x208b648b0, 0x0, 0x0)
	/usr/src/go/src/pkg/net/fd_poll_runtime.go:89 +0x42
net.(*netFD).Read(0x208b64850, 0x208bce000, 0x2000, 0x2000, 0x0, 0x2208b503f0, 0x23)
	/usr/src/go/src/pkg/net/fd_unix.go:242 +0x34c
net.(*conn).Read(0x208b7c3a8, 0x208bce000, 0x2000, 0x2000, 0x0, 0x0, 0x0)
	/usr/src/go/src/pkg/net/net.go:122 +0xe7
crypto/tls.(*block).readFromUntil(0x208c1fe60, 0x2208b52838, 0x208b7c3a8, 0x5, 0x0, 0x0)
	/usr/src/go/src/pkg/crypto/tls/conn.go:451 +0xd9
crypto/tls.(*Conn).readRecord(0x208c14000, 0x17, 0x0, 0x0)
	/usr/src/go/src/pkg/crypto/tls/conn.go:536 +0x1ff
crypto/tls.(*Conn).Read(0x208c14000, 0x208c8d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/src/go/src/pkg/crypto/tls/conn.go:901 +0x16a
net/http.noteEOFReader.Read(0x2208b60560, 0x208c14000, 0x208b7e3c8, 0x208c8d000, 0x1000, 0x1000, 0xa71900, 0x0, 0x0)
	/usr/src/go/src/pkg/net/http/transport.go:1203 +0x72
net/http.(*noteEOFReader).Read(0x208d29180, 0x208c8d000, 0x1000, 0x1000, 0x208b6b9b0, 0x0, 0x0)
	<autogenerated>:124 +0xca
bufio.(*Reader).fill(0x208f6d080)
	/usr/src/go/src/pkg/bufio/bufio.go:97 +0x1b3
bufio.(*Reader).Peek(0x208f6d080, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/src/go/src/pkg/bufio/bufio.go:132 +0x101
net/http.(*persistConn).readLoop(0x208b7e370)
	/usr/src/go/src/pkg/net/http/transport.go:782 +0x95
created by net/http.(*Transport).dialConn
	/usr/src/go/src/pkg/net/http/transport.go:600 +0x93f

goroutine 66 [IO wait]:
net.runtime_pollWait(0x2208b522b0, 0x72, 0x0)
	/usr/src/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0x208b64990, 0x72, 0x0, 0x0)
	/usr/src/go/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(*pollDesc).WaitRead(0x208b64990, 0x0, 0x0)
	/usr/src/go/src/pkg/net/fd_poll_runtime.go:89 +0x42
net.(*netFD).Read(0x208b64930, 0x208bc8000, 0x2000, 0x2000, 0x0, 0x2208b503f0, 0x23)
	/usr/src/go/src/pkg/net/fd_unix.go:242 +0x34c
net.(*conn).Read(0x208b7c368, 0x208bc8000, 0x2000, 0x2000, 0x0, 0x0, 0x0)
	/usr/src/go/src/pkg/net/net.go:122 +0xe7
crypto/tls.(*block).readFromUntil(0x208c1fb30, 0x2208b52838, 0x208b7c368, 0x5, 0x0, 0x0)
	/usr/src/go/src/pkg/crypto/tls/conn.go:451 +0xd9
crypto/tls.(*Conn).readRecord(0x208b4f8c0, 0x17, 0x0, 0x0)
	/usr/src/go/src/pkg/crypto/tls/conn.go:536 +0x1ff
crypto/tls.(*Conn).Read(0x208b4f8c0, 0x208c83000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/src/go/src/pkg/crypto/tls/conn.go:901 +0x16a
net/http.noteEOFReader.Read(0x2208b60560, 0x208b4f8c0, 0x208b7e1b8, 0x208c83000, 0x1000, 0x1000, 0xa71900, 0x0, 0x0)
	/usr/src/go/src/pkg/net/http/transport.go:1203 +0x72
net/http.(*noteEOFReader).Read(0x208d29080, 0x208c83000, 0x1000, 0x1000, 0x208b6b9a8, 0x0, 0x0)
	<autogenerated>:124 +0xca
bufio.(*Reader).fill(0x208f6cde0)
	/usr/src/go/src/pkg/bufio/bufio.go:97 +0x1b3
bufio.(*Reader).Peek(0x208f6cde0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
	/usr/src/go/src/pkg/bufio/bufio.go:132 +0x101
net/http.(*persistConn).readLoop(0x208b7e160)
	/usr/src/go/src/pkg/net/http/transport.go:782 +0x95
created by net/http.(*Transport).dialConn
	/usr/src/go/src/pkg/net/http/transport.go:600 +0x93f

goroutine 46 [sleep]:
time.Sleep(0x12a05f200)
	/usr/src/go/src/pkg/runtime/time.goc:39 +0x31
net.func·019()
	/usr/src/go/src/pkg/net/dnsclient_unix.go:183 +0x56
created by net.loadConfig
	/usr/src/go/src/pkg/net/dnsclient_unix.go:212 +0x153
$
$ docker-machine ls
NAME               ACTIVE   DRIVER       STATE     URL                         SWARM
amazonec2-03                amazonec2    Stopped
dev                         virtualbox   Running   tcp://192.168.99.100:2376
dev2                        virtualbox   Running   tcp://192.168.99.101:2376
ec2-swarm-01                amazonec2    Stopped                               ec2-swarm-master
ec2-swarm-02                amazonec2    Stopped                               ec2-swarm-master
ec2-swarm-03                amazonec2    Stopped                               ec2-swarm-master
ec2-swarm-master            amazonec2    Stopped                               ec2-swarm-master (master)
tomcat-2           *        virtualbox   Running   tcp://192.168.99.102:2376

@rossbachp that looks like it might be related to the new sorting.  @ahmetalpbalkan any idea here?

@ehazlett ack. this comes from a corner case bug in the naturalsort library we hacked the other night. fix on the way.

Fix is in. Pls ingest at your earliest convenience.

@ehazlett unfortunately godep is quite buggy for me every time I try. Can you please vendor the latest commit from the naturalsort repo?

@ehazlett got a different error:
~/Downloads/docker-machine_darwin-amd64 create mydocker --virtualbox-boot2docker-url=file:///Users/arungupta/Downloads/boot2docker.iso --driver=virtualbox
INFO[0000] Creating CA: /Users/arungupta/.docker/machine/certs/ca.pem
INFO[0000] Creating client certificate: /Users/arungupta/.docker/machine/certs/cert.pem
INFO[0001] Downloading boot2docker.iso from file:///Users/arungupta/Downloads/boot2docker.iso...
INFO[0001] Creating SSH key...
INFO[0002] Creating VirtualBox VM...
ERRO[0007] Error creating machine: exit status 1
WARN[0007] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0007] Error creating machine

@arun-gupta can you add --debug flag right after machine command? @ehazlett in the exit code <> 0 cases drivers must print the stderr pipe without --debug, right? I am not sure what's the case but something similar is happening at the other issue regarding azure driver as well (exit status: 1, no message printed, we don't even know which cmd it was)
Maybe we should put the cmd's details next to the "exit status" error.

@arun-gupta If you are sure that machine doesn't exists? If, remove it.

@ahmetalpbalkan yeah unfortunately we do stuff with the output to not show debug -- maybe we can get something to change that on error.

@ehazlett Removed ~/.docker, tried the command. Here is more detail with -D:
INFO[0001] Creating VirtualBox VM...
DEBU[0001] Creating 20000 MB hard disk image...
Converting from raw image file="stdin" to file="/Users/arungupta/.docker/machine/machines/mydocker/disk.vmdk"...
Creating dynamic image with size 20971520000 bytes (20000MB)...
DEBU[0007] executing: /usr/bin/VBoxManage createvm --basefolder /Users/arungupta/.docker/machine/machines/mydocker --name mydocker --register
DEBU[0007] STDOUT: Virtual machine 'mydocker' is created and registered.
UUID: 318397cd-2d84-4754-b92c-6f075acd52e3
Settings file: '/Users/arungupta/.docker/machine/machines/mydocker/mydocker/mydocker.vbox'

DEBU[0007] STDERR:
DEBU[0007] executing: /usr/bin/VBoxManage modifyvm mydocker --firmware bios --bioslogofadein off --bioslogofadeout off --natdnshostresolver1 on --bioslogodisplaytime 0 --biosbootmenu disabled --ostype Linux26_64 --cpus 8 --memory 1024 --acpi on --ioapic on --rtcuseutc on --cpuhotplug off --pae on --synthcpu off --hpet on --hwvirtex on --nestedpaging on --largepages on --vtxvpid on --accelerate3d off --boot1 dvd
DEBU[0007] STDOUT:
DEBU[0007] STDERR: VBoxManage: error: The machine 'mydocker' is already locked for a session (or being unlocked)
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Machine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "LockMachine(a->session, LockType_Write)" at line 471 of file VBoxManageModifyVM.cpp

ERRO[0007] Error creating machine: exit status 1
WARN[0007] You will want to check the provider to make sure the machine and associated resources were properly removed.
FATA[0007] Error creating machine

Yea vbox weirdness. Use a different machine name.

@ahmetalpbalkan Cool, that worked like a charm.
@ehazlett When is this getting integrated in the trunk?

@arun-gupta i'm working on the godeps now -- you said that fixed it?

@ehazlett can we make sure all cmd.Exec's print the output in case of exit status != in all drivers

@ehazlett Specifying a different machine name did fix it, yes!

ah ok thanks!
@ahmetalpbalkan see https://github.com/docker/machine/pull/821 for the godep update / fix

authors: ahmetalpbalkan arun-gupta ehazlett hairyhenderson md5 rossbachp skarademir


text:
remove direct install links

This removes the direct install links and adds a single link to the latest release page.

/cc @nathanleclaire @moxiegirl

LGTM

LGTM

source: gharchive/pull-request

authors: NathanMcCauley ehazlett nathanleclaire

repo: docker/machine

license_type: permissive

license_source: github-api


text:
Minor typo

Signed-off-by: Hu Keping hukeping@huawei.com

Can one of the admins verify this patch?

LGTM! Thanks!

LGTM!

authors: HuKeping docker-jenkins endophage riyazdf

repo: docker/notary

license_source: bigquery


text:
Update the documentation with changes from the README files

Months ago we peeled off the README material into the docs directory but left the README source behind.  Contributors continued updating the README.  This is the second of a two-part work cycle.
Part 1 is #1546 where I remove the README's to prevent further updates.  I'll point to places to read and to update the docs.
Part 2 is this where I compare the last user updated README against the docs to make sure I don't leave any important information from the README out of the docs.

@moxiegirl Please reassign this task.

source: gharchive/issue

authors: moxiegirl rolfedh

repo: docker/swarm


text:
Consider affinity value as a regexp patterns

See docker/swarm#298
Signed-off-by: Pierre Wacrenier pierre.wacrenier@gmail.com

Build failed because of tests, fixed in #297


text:
Fix reserved cpus computation

This should fix the reserved cpus computation https://github.com/docker/swarm/issues/475#issuecomment-95858898
Signed-off-by: Marco Mancini marcomancini72@gmail.com

@km4rcus can you add a test ? Thank you.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "fix_reserved_cpus_computation" git@github.com:km4rcus/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

@vieux I added test function and changed also the cpuShare computation when a container is created, otherwise usedCpu is wrong if NCPU is not a power of 2. Should I add to  test function several values for NCPU?

@km4rcus yes please if you can.

@vieux Added two arrays for testing different values for cpus.

@aluzzardi @abronan not sure what to do about this one, I would prefer to wait after the RC to merge it.

@km4rcus So, actually, -c 1 on a 1 CPU machine should give you 1024 shares by design.
The logic behind is explained in https://github.com/docker/swarm/issues/475#issuecomment-88258864

replaced by #904

authors: GordonTheTurtle aluzzardi km4rcus vieux


text:
Feature/myTools

Issue ga4gh/dockstore#718 has been updated.
Migration of myTools, without the interactions.
Please let me know if there's any issue.
Thanks

Note Issue ga4gh/dockstore#740 have been added


text:
Feature/google integration

Initial google login
Partial ga4gh/dockstore#1370

Codecov Report

Merging #294 into develop will decrease coverage by <.01%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##           develop     #294      +/-   ##
===========================================
- Coverage    66.04%   66.03%   -0.01%
===========================================
  Files          126      126
  Lines         4076     4087      +11
  Branches       412      412
===========================================
+ Hits          2692     2699       +7
- Misses        1291     1295       +4
  Partials        93       93

Impacted Files
Coverage Δ

src/app/shared/dockstore.model.ts
100% <100%> (ø)
:arrow_up:

src/app/shared/enum/token-source.enum.ts
100% <100%> (ø)
:arrow_up:

...inComponents/accounts/external/accounts.service.ts
42.3% <50%> (+2.3%)
:arrow_up:

src/app/login/login.component.ts
65% <50%> (-1.67%)
:arrow_down:

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 81c8877...409eab6. Read the comment docs.

authors: codecov-io garyluu


text:
new read-only role for organizations

Basically an affiliate role with no permissions, just to show support or cheerleading a particular organization
See also:

https://docs.dockstore.org/en/develop/advanced-topics/organizations-and-collections.html?highlight=maintainer#organization-membership

┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Backlog
┆Issue Number: DOCK-1536

If no issues with changing/shifting existing names, I think think the more explanatory hierarchy role names would be:

Admin (can add, remove, edit the roles of other users in Organization, plus all permissions of 'Maintainer')
Maintainer (can edit organization and collections)
Member (read-only)
So pretty much everyone who is currently a 'Maintainer' will be shifted to 'Admin', all current 'Members' will become 'Maintainer' and then read-only affiliate role will then be 'Member'

Reviewer can make sure the new user roles are there and work as described below.
New user roles:
Members: No permissions
Maintainers: Can create and update organizations and collections
Admins: Maintainer permissions and can add, remove and edit the roles of other users.

authors: Ldcabansay NatalieEO denis-yuen

repo: dockstore/dockstore


text:
Update configuration.rst docs with all storages

The docs/reference/configuration.rst needs more support for all storages.

[ ] Amazon DynamoDB  (see: https://github.com/doctrine/KeyValueStore/pull/49)
[x] CouchDB (see: https://github.com/doctrine/KeyValueStore/pull/47)
[x] Cassandra (see: https://github.com/doctrine/KeyValueStore/pull/24)

Still missing:

[ ] Amazon DynamoDB  (see: https://github.com/doctrine/KeyValueStore/pull/49)
[ ] CouchDB (see: https://github.com/doctrine/KeyValueStore/pull/47)
[ ] Cassandra

Will tackle this with #41

https://github.com/nicktacular/KeyValueStore/pull/2 includes this, pending merge from @nicktacular will end up in #49

authors: EmanueleMinotto beberlei larowlan

repo: doctrine/KeyValueStore

license: mit


text:
Embeddables do not properly alias for order-by statements in query builder

If one has an entity that contains an embeddable (referenced as $priceObj):
/**
 * @ORM\Embeddable
 */
class Price
{

    const CUR_USD = 'USD';

    const CUR_CAD = 'CAD';

    const INVALID_CURRENCY_CODE_EXC_CODE = 2;

    const INVALID_CURRENCY_CODE_EXC_MESSAGE = 'An invalided currency code was provided.';

    protected $validCurrencies = array(
        0 => self::CUR_USD,
        1 => self::CUR_CAD
    );

    /**
     * @ORM\Column(type="bigint")
     */
    private $amount;

    /**
     * @ORM\Column(type="string", length=3, nullable=false)
     */
    private $currencyCode;

}

And one attempts to perform an orderBy on the amount field. Doctrine generates a proper-looking DQL statement; however, the SQL statement where the order-by'd element is using the pre-aliased select statement. This appears to cause a 'semantical error'.
PHP:
$qb = $this->_em->createQueryBuilder();
        $query = $qb->select('row')->from('ExampleDomainModel\Entity\Barcode\ProductResult', 'row');
        $query->andWhere($qb->expr()
            ->eq('row.GSIN', ':GSIN'))
            ->setParameter('GSIN', $barcode);

        $query->addOrderBy('row.priceObj.amount', 'asc');

Generated DQL:
SELECT row FROM ExampleDomainModel\Entity\Barcode\ProductResult row WHERE row.GSIN = :GSIN AND row.isNew = :a57a4da9e5537d AND row.priceObj.amount >= :a57a4da9e5677f ORDER BY row.priceObj.amount asc

Generated SQL:
SELECT b0_.id AS id_0, b0_.feedProvider AS feedProvider_1, b0_.isNew AS isNew_2, b0_.title AS title_3, b0_.description AS description_4, b0_.GSIN AS GSIN_5, b0_.createdAt AS createdAt_6, b0_.url AS url_7, b0_.imageUrl AS imageUrl_8, b0_.fpExtendedAttributes AS fpExtendedAttributes_9, b0_.priceObj_amount AS priceObj_amount_10, b0_.priceObj_currencyCode AS priceObj_currencyCode_11, b0_.location_latitude AS location_latitude_12, b0_.location_longitude AS location_longitude_13 FROM barcode_product_result b0_ WHERE b0_.GSIN = ? AND b0_.isNew = ? AND b0_.priceObj_amount >= ? ORDER BY b0_.priceObj_amount ASC

$ php composer.phar show --installed | grep doctrine
adamlundrigan/ldc-zf-oauth2-doctrine         dev-master 54c810e zf-oauth2 adapter for use with D...
api-skeletons/zf-oauth2-doctrine             1.0.5              Doctrine OAuth2 Server Adapter f...
doctrine/annotations                         v1.2.7             Docblock Annotations Parser
doctrine/cache                               v1.6.0             Caching library offering an obje...
doctrine/collections                         v1.3.0             Collections Abstraction library
doctrine/common                              v2.5.3             Common Library for Doctrine proj...
doctrine/data-fixtures                       v1.0.2             Data Fixtures for all Doctrine O...
doctrine/dbal                                v2.5.4             Database Abstraction Layer
doctrine/doctrine-module                     0.9.0              Zend Framework 2 Module that pro...
doctrine/doctrine-orm-module                 0.9.2              Zend Framework 2 Module that pro...
doctrine/inflector                           v1.1.0             Common String Manipulations with...
doctrine/instantiator                        1.0.5              A small, lightweight utility to ...
doctrine/lexer                               v1.0.1             Base library for a lexer that ca...
doctrine/orm                                 v2.5.4             Object-Relational-Mapper for PHP
hounddog/doctrine-data-fixture-module        0.0.4              Zend Framework 2 Module that pro...
phpro/zf-doctrine-hydration-module           0.1.5              Doctrine hydrators for ZF2
zfcampus/zf-apigility-doctrine               0.4.1              Doctrine for Apigility
zfcampus/zf-doctrine-querybuilder            1.4.2              QueryBuilder filters for Doctrine

Expected:
SELECT b0_.id AS id_0, b0_.feedProvider AS feedProvider_1, b0_.isNew AS isNew_2, b0_.title AS title_3, b0_.description AS description_4, b0_.GSIN AS GSIN_5, b0_.createdAt AS createdAt_6, b0_.url AS url_7, b0_.imageUrl AS imageUrl_8, b0_.fpExtendedAttributes AS fpExtendedAttributes_9, b0_.priceObj_amount AS priceObj_amount_10, b0_.priceObj_currencyCode AS priceObj_currencyCode_11, b0_.location_latitude AS location_latitude_12, b0_.location_longitude AS location_longitude_13 FROM barcode_product_result b0_ WHERE b0_.GSIN = ? AND b0_.isNew = ? AND b0_.priceObj_amount >= ? ORDER BY priceObj_amount_10 ASC

Actual:
SELECT b0_.id AS id_0, b0_.feedProvider AS feedProvider_1, b0_.isNew AS isNew_2, b0_.title AS title_3, b0_.description AS description_4, b0_.GSIN AS GSIN_5, b0_.createdAt AS createdAt_6, b0_.url AS url_7, b0_.imageUrl AS imageUrl_8, b0_.fpExtendedAttributes AS fpExtendedAttributes_9, b0_.priceObj_amount AS priceObj_amount_10, b0_.priceObj_currencyCode AS priceObj_currencyCode_11, b0_.location_latitude AS location_latitude_12, b0_.location_longitude AS location_longitude_13 FROM barcode_product_result b0_ WHERE b0_.GSIN = ? AND b0_.isNew = ? AND b0_.priceObj_amount >= ? ORDER BY b0_.priceObj_amount ASC

The key difference is that "b0.priceObj_amount" should become "priceObj_amount_10" according to the "OriginalFieldName" As "Re-mappedName"

As mentioned on IRC, might be worth looking into https://github.com/doctrine/doctrine2/blob/31a0c02b066764ec7b55eedc5f3cab78235a4e4b/lib/Doctrine/ORM/Query/SqlWalker.php#L330 and code around it, which is responsible for alias generation.

This seems to be a duplicate / slightly different version of the same issues described in #5622

I can confirm that setting
[mysqld]
sql-mode= "STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Does resolve this issue.

authors: Ocramius jackdpeterson


text:
LifecycleEventArgs is not passed to lifecycle callback method

I am getting following exception:
Argument 1 passed to MetaLib\Document\Embedded\Annotation\Media::prePersist
() must be an instance of Doctrine\ODM\MongoDB\Event\LifecycleEventArgs, none given.
Document class:

use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM;
use Doctrine\ODM\MongoDB\Event\LifecycleEventArgs;

/**
 * @ODM\EmbeddedDocument
 * @ODM\HasLifecycleCallbacks
 */
class Media extends AbstractMedia
{
    /** @ODM\ReferenceOne(targetDocument="Document\MainMedia", inversedBy="annotations") @ODM\Index */
    protected $media;

    /** @ODM\String */
    protected $mediaId;

    /** @ODM\PrePersist */
    public function prePersist(LifecycleEventArgs $eventArgs)
    {
        $this->mediaId = $this->media->getId();
    }
}

Thanks for the report! I'll try to look into this somewhen this week :)

@metanav which version of ODM are you using? 1.0 or dev-master?

@alcaeus I am using packages below:
doctrine/mongodb:    1.3.0
doctrine/mongodb-odm:  1.0.5
doctrine/doctrine-mongo-odm-module:  0.10.0

As I expected. Unfortunately, our docs are a bit messed up and show dev-master docs for 1.0 at the moment. We'll get all this sorted out right after doing the 1.1 release.
ODM 1.0 does not pass lifecycleEventArgs to lifecycle callbacks, only lifecycle events get those. ODM 1.1 also passes them to callbacks, which is what you saw in the documentation.
For now, remove the argument to prePersist or wait a couple of days, 1.1.0 is just around the corner.

authors: alcaeus malarzm metanav

repo: doctrine/mongodb-odm


text:
UniqueIndex does not work in symfony 4

Some of annotations does not work in my documents
`
/**
 * @var string
 * @ODM\Field(type="string")
 * @ODM\UniqueIndex
 * @Assert\NotBlank()
 */
private $email;

 * @ODM\UniqueIndex
 * @Assert\NotBlank()

`
I can insert many  same email than i want and i have no mongodb error.
Field not blank does not work (Assert\NotBlank) with doctrine mongodb.
If you have any solution that will be great.
Thank

For UniqueIndex to work you need to create indexes, please consult this StackOverflow answer. The Assert\NotBlank is Symfony's annotation and its presence does not affect how ODM is working.

Ok @malarzm Thank !

So the only one solution for validate field empty is
         * @ODM\PrePersist      * @ODM\PreUpdate
?

That, or using Symfony's forms or requiring email to be present in __construct - there's plenty of ways :)

Ok thank @malarzm !

authors: libressence malarzm


text:
How to copy a code?

Hey! I have a section of helper functions where I demonstrate the usage of the helpers by putting a code inside 3 brackets like this.
```js
code
```
The problem is that I'm not able to copy the text because of user-select: none. Furthermore, I'd expect to see a button that would automatically copy the code for me.
What do you think?

Hello,
If you want a customized Code  component, I think you can override it in your src/gatsby-theme-docz folder and add your copy button there.
More about shadowing can be read here: https://www.docz.site/docs/component-shadowing
Hope it helps.

authors: alexandre-lelain baldarian

repo: doczjs/docz

license: MIT


text:
[wATCH™@NEW SEX]— Indian MMS Videos Original Video Link Indian MMS Video Viral On Social Media X Trending Now

21 seconds ago
L𝚎aᴋed Video Hot Indian MMS Original Video V𝐢ral Video L𝚎aᴋed on X Twitter Telegram
🌐 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🟢==►► 𝖶𝖠𝖳𝖢𝖧 𝖭𝖮𝖶 Indian L𝚎aᴋed Video V𝐢ral Video
🔴 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🌐==►► 𝖣𝗈𝗐𝗇𝗅𝗈𝖺𝖽 𝖭𝗈𝗐 Indian L𝚎aᴋed Video V𝐢ral Video
..
🌐 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🟢==►► 𝖶𝖠𝖳𝖢𝖧 𝖭𝖮𝖶 Indian L𝚎aᴋed Video V𝐢ral Video
🔴 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🌐==►► 𝖣𝗈𝗐𝗇𝗅𝗈𝖺𝖽 𝖭𝗈𝗐 Indian L𝚎aᴋed Video V𝐢ral Video
..
[-𝐅𝐔𝐋𝐋-𝐕𝐈𝐑𝐀𝐋-]— Actor Indian Video Original Video Link Actor Indian Video V𝐢ral On Social Media X Now [1U2M3N]
[-wᴀTCH-]— Actor Indian Video Original Video Link Actor Indian Video V𝐢ral On Social Media X Trending Now
[-wᴀTCH-]— Actor Indian Video Original Video Link Actor Indian Video V𝐢ral On Social Media X Trending Now
[-wᴀTCH-]— Actor Indian ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wᴀTCH-]— Actor Indian ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wᴀTCH-]— Actor Indian Video Original Video Link Actor Indian Video V𝐢ral On Social Media X Trending Now
Actor Indian Original Video video took the internet by storm and amazed viewers on various social media platforms. Actor Indian, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aᴋed Video Actor Indian Original Video V𝐢ral Video L𝚎aᴋed on X Twitter
Actor Indian Original Video video oficial twitter
L𝚎aᴋed Video Actor Indian Original Video V𝐢ral Video L𝚎aᴋed on X Twitter..
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
🌐 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🟢==►► 𝖶𝖠𝖳𝖢𝖧 𝖭𝖮𝖶 Indian L𝚎aᴋed Video V𝐢ral Video
🔴 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🌐==►► 𝖣𝗈𝗐𝗇𝗅𝗈𝖺𝖽 𝖭𝗈𝗐 Indian L𝚎aᴋed Video V𝐢ral Video
..
🌐 𝖢𝖫𝖨𝖢𝖪 𝖧𝖤𝖱𝖤 🟢==►► 𝖶𝖠𝖳𝖢𝖧 𝖭𝖮𝖶 Indian L𝚎aᴋed Video V𝐢ral Video
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
### 𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
.
.
.
### 🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
.

.
.
.
.
.


text:
~!@((CANLI:-YAYIN)) @UFC 310 MAÇINI CANLI IZLE 07 Aralık 2024

asdfgbhndasdfbhnsdfg

SS
### ✅🟢 LIVE STREAM PLAY NOW
✅🟢 HERE PLAY NOW ONLINE
.
.
.
.
.
.
.
.
.
.
..
### ✅🟢 LIVE STREAM PLAY NOW
✅🟢 HERE PLAY NOW ONLINE
.
.
.
.
.
.
SS
### ✅🟢 LIVE STREAM PLAY NOW
✅🟢 HERE PLAY NOW ONLINE
.
.
.
.
.
.
.
.
.
.
..
### ✅🟢 LIVE STREAM PLAY NOW
✅🟢 HERE PLAY NOW ONLINE
.
.
.
.
.
.
SS
### ✅🟢 LIVE STREAM PLAY NOW
✅🟢 HERE PLAY NOW ONLINE
.
.
.
.
.
.
.
.
.
.
..
### ✅🟢 LIVE STREAM PLAY NOW
✅🟢 HERE PLAY NOW ONLINE
.
.
.
.
.
.
cvcv


text:
CircuitBreaker should be always host specific

Remove separate logic for host specific and generic CB. We should leave only host specific CB.

Will be released in version v2.0.0.
See milestone v2.0.0


text:
Can't get working

Does this work locally? I installed fresh Statamic and installed this addon along with a few more and I can't get this to work. To test I'm just putting this into my layout so I can see it work, but nothing renders.
        {{ if Browser::isDesktop() }}

It's a desktop device!

        {{ /if }}
        {{ if browser:isMobile }}

It's a mobile device!

        {{ /if }}

Environment
Application Name: Site Name
Laravel Version: 10.40.0
PHP Version: 8.2.14
Composer Version: 2.6.6
Environment: local
Debug Mode: ENABLED
URL: blah.test
Maintenance Mode: OFF
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Statamic
Addons: 13
Antlers: runtime
Stache Watcher: Enabled
Static Caching: Disabled
Version: 4.44.0 PRO
Statamic Addons
acquaint-softtech/geo-location: 0.0.2
aryehraber/statamic-captcha: 1.10.0
aryehraber/statamic-logbook: 3.1.0
doefom/statamic-browser-detect: 0.1.1
duncanmcclean/static-cache-manager: 3.1.2
hairylemon-developers/form-guard: 1.0.1
jacksleight/statamic-bard-mutator: 2.3.0
jacksleight/statamic-bard-texstyle: 3.1.4
ndx/statamic-bard-color-picker: 1.2.0
stillat/social-media-image-kit: 1.0.0
stillat/statamic-attribute-renderer: 1.0.0
stoffelio/statamic-404-logger: 1.0.1
teamnovu/statamic-images-missing-alt: 1.0.2

Hi @twd3! Thanks for reaching out. browser:isMobile should work, you're doing this correctly. I'll take a look at it in the next few days and will keep you posted.

Thank you! I'm getting no errors in console or the log.

@twd3 Turns out I had an error in the docs, the issue should be fixed by using:
{{ if {browser:isMobile} }}

It's a mobile device!

{{ /if }}

instead of
{{ if browser:isMobile }}

It's a mobile device!

{{ /if }}

I'll mark this as closed. Feel free to reach out if you need further assistance.

repo: doefom/statamic-browser-detect


text:
Want Energy-Efficient Mining ? Build It Underwater

As we are one doge Holder and Elon-inspired 19-year-old twin inventors  .we are pleased to work with Elon and to the moon.
We are doing various R & D in underwater data centers and Crypto mining Rigs .we have developed an underwater Data Centre POC. And working towards a patent filling works for Underwater Minings.
The Data centres and mining consumes over 70 % of its power for cooling systems. While doing Underwater crypto mining it dramatically reduces power consumption and is 100% sustainable.
In fact, we are doing a heat-exchange process commonly used for cooling submarines to the underwater data center/minings. The system pipes seawater directly through the radiators on the back of each server or mining racks and backs out into the ocean.
All our underwater mining is powered by 100% sustainable energy like floating solar panels systems or wind energy.
To know more details and work with us kindly reach us  Backayardceators I Backyard creators Linkedin

Closing as #2072 appears to be the more recent copy of this.

authors: Backyardcreatorsraman rnicoll

repo: dogecoin/dogecoin


text:
Add Scrypt hash and AuxPoW header to index database

Add Scrypt hash and AuxPoW header to index database so that index can be validated (a check that both Litecoin and Namecoin disable for simplicity). The index format is incompatible with 1.8, as a result, however, and guidelines on performing the upgrade will need to be prepared.
Given scope of the change, it may be advisable for services to prepare bootstrap files and destroy existing index databases entirely before reindexing. To discuss.

Well, I'm okay with this. This is also a good reason to have the bip66 changes on 1.8.3 since many miners will probably take their time with 1.10. Merging now.

authors: langerhans rnicoll


text:
[Windows D3D9] Guitar Hero World Tour crash after intro videos (before main menu)

Guitar Hero World Tour crash after intro videos (before main menu, right after it says to "press any button to continue")
Theres a mod called GHWT:Definitive Edition with its own .exe which loads with DXVK much further - into menu, but after you pick an instrument and move to songs setlist it crashes too
Software information
Guitar Hero World Tour for PC (D3D9)
System information

GPU: RX 580 8gb
Driver: 22.4.2
DXVK version: 1.10.2
Windows 10 21H2

Apitrace file(s)
https://www95.zippyshare.com/v/AXbaRrfV/file.html
mirror: https://drive.google.com/file/d/17rc3-DNxEAsGo40Swc1ylS80JCoiMe-I/view?usp=sharing
Log files

d3d9.log: GHWT_d3d9.log
GHWT_Definitive_d3d9.log

Hi there.
Your trace link doesn't appear to be working for me. It just writes 403 Forbidden

Hi there. Your trace link doesn't appear to be working for me. It just writes 403 Forbidden
https://drive.google.com/file/d/17rc3-DNxEAsGo40Swc1ylS80JCoiMe-I/view?usp=sharing

Logs indicate this is another case of #1318.
Try #2663

This should be fixed now. Please reopen if it's not.

This should be fixed now. Please reopen if it's not.
Ive used build from here - https://github.com/doitsujin/dxvk/actions/runs/2685945402
issue present

That build is 12 days old. It doesn't have the fix.

That build is 12 days old. It doesn't have the fix.
please can you share the build with the fix?

@TheDeusDeceptor The fix should be available in latest master which you can find a build of here https://github.com/doitsujin/dxvk/actions/runs/2841941581

yes it works now! just used "d3d9.allowDirectBufferMapping = false"
now it gives about 30fps boost and less microstutters
thanks everyone!

bruh the link is dead

how am i supposed to play ghwt now

What link are you even talking about?

repo: doitsujin/dxvk

license: Zlib


text:
Template is created with empty configuration parameters

matheusr@vali:/opt/teste/current/docker-compose$ curl -X POST http://10.4.1.41:8000/template -H "Authorization: Bearer ${JWT}" -H 'Content-Type:application/json' -d ' {
"label": "Teste",
"attrs": [
{
"label": "float",
"type": "dynamic",
"value_type": "float"
},
{
"label": "int",
"type": "dynamic",
"value_type": "integer"
},
{
"label": "str",
"type": "dynamic",
"value_type" : "string"
},
{
"label": "gps",
"type": "dynamic",
"value_type": "geo"
},
{
"label": "bool",
"type": "dynamic",
"value_type": "boolean"
},
{
"label": "serial",
"type": "static",
"value_type" : "string",
"static_value" : ""
},
{
"label": "mensagem",
"type": "actuator",
"value_type": "string"
},
{
"label": "protocol",
"static_value": "",
"type": "meta",
"value_type": "string"
}
]
}'
{
"result": "ok",
"template": {
"attrs": [
{
"created": "2018-07-31T19:13:48.463076+00:00",
"id": 34,
"label": "mensagem",
"template_id": "5",
"type": "actuator",
"value_type": "string"
},
{
"created": "2018-07-31T19:13:48.462095+00:00",
"id": 32,
"label": "bool",
"template_id": "5",
"type": "dynamic",
"value_type": "boolean"
},
{
"created": "2018-07-31T19:13:48.459855+00:00",
"id": 28,
"label": "float",
"template_id": "5",
"type": "dynamic",
"value_type": "float"
},
{
"created": "2018-07-31T19:13:48.461601+00:00",
"id": 31,
"label": "gps",
"template_id": "5",
"type": "dynamic",
"value_type": "geo"
},
{
"created": "2018-07-31T19:13:48.460572+00:00",
"id": 29,
"label": "int",
"template_id": "5",
"type": "dynamic",
"value_type": "integer"
},
{
"created": "2018-07-31T19:13:48.461105+00:00",
"id": 30,
"label": "str",
"template_id": "5",
"type": "dynamic",
"value_type": "string"
},
{
"created": "2018-07-31T19:13:48.463565+00:00",
"id": 35,
"label": "protocol",
"static_value": "",
"template_id": "5",
"type": "meta",
"value_type": "string"
},
{
"created": "2018-07-31T19:13:48.462585+00:00",
"id": 33,
"label": "serial",
"static_value": "",
"template_id": "5",
"type": "static",
"value_type": "string"
}
],
"config_attrs": [
{
"created": "2018-07-31T19:13:48.463076+00:00",
"id": 34,
"label": "mensagem",
"template_id": "5",
"type": "actuator",
"value_type": "string"
},
{
"created": "2018-07-31T19:13:48.463565+00:00",
"id": 35,
"label": "protocol",
"static_value": "",
"template_id": "5",
"type": "meta",
"value_type": "string"
}
],
"created": "2018-07-31T19:13:48.458380+00:00",
"data_attrs": [
{
"created": "2018-07-31T19:13:48.462095+00:00",
"id": 32,
"label": "bool",
"template_id": "5",
"type": "dynamic",
"value_type": "boolean"
},
{
"created": "2018-07-31T19:13:48.459855+00:00",
"id": 28,
"label": "float",
"template_id": "5",
"type": "dynamic",
"value_type": "float"
},
{
"created": "2018-07-31T19:13:48.461601+00:00",
"id": 31,
"label": "gps",
"template_id": "5",
"type": "dynamic",
"value_type": "geo"
},
{
"created": "2018-07-31T19:13:48.460572+00:00",
"id": 29,
"label": "int",
"template_id": "5",
"type": "dynamic",
"value_type": "integer"
},
{
"created": "2018-07-31T19:13:48.461105+00:00",
"id": 30,
"label": "str",
"template_id": "5",
"type": "dynamic",
"value_type": "string"
},
{
"created": "2018-07-31T19:13:48.462585+00:00",
"id": 33,
"label": "serial",
"static_value": "",
"template_id": "5",
"type": "static",
"value_type": "string"
}
],
"id": 5,
"label": "Teste"
}
}

Test blocked by issue https://github.com/dojot/dojot/issues/1018

In the GUI you no longer have the option to create configuration parameters.
But by API it is possible to create template with empty configuration parameters:
curl -X POST http://{HOST}:8000/template \
-H "Authorization: Bearer ${JWT}" \
-H 'Content-Type:application/json' \
-d '
{
"label": "t1",
"attrs": [
{
"label": "label1",
"type": "dynamic",
"value_type": "string"
},
{
"label": "label2",
"type": "static",
"static_value": "v1",
"value_type": "string"
},
{
"label": "label3",
"type": "meta",
"static_value": "",
"value_type": "string"
}
]
}'

{
    "result": "ok",
    "template": {
        "attrs": [
            {
                "created": "2019-06-18T20:36:36.943215+00:00",
                "id": 72,
                "label": "label1",
                "template_id": "13",
                "type": "dynamic",
                "value_type": "string"
            },
            {
                "created": "2019-06-18T20:36:36.943797+00:00",
                "id": 73,
                "label": "label2",
                "static_value": "v1",
                "template_id": "13",
                "type": "static",
                "value_type": "string"
            },
            {
                "created": "2019-06-18T20:36:36.944225+00:00",
                "id": 74,
                "label": "label3",
                "static_value": "",
                "template_id": "13",
                "type": "meta",
                "value_type": "string"
            }
        ],
        "config_attrs": [
            {
                "created": "2019-06-18T20:36:36.944225+00:00",
                "id": 74,
                "label": "label3",
                "static_value": "",
                "template_id": "13",
                "type": "meta",
                "value_type": "string"
            }
        ],
        "created": "2019-06-18T20:36:36.942305+00:00",
        "data_attrs": [
            {
                "created": "2019-06-18T20:36:36.943215+00:00",
                "id": 72,
                "label": "label1",
                "template_id": "13",
                "type": "dynamic",
                "value_type": "string"
            },
            {
                "created": "2019-06-18T20:36:36.943797+00:00",
                "id": 73,
                "label": "label2",
                "static_value": "v1",
                "template_id": "13",
                "type": "static",
                "value_type": "string"
            }
        ],
        "id": 13,
        "label": "t1"
    }
}

Template with empty parameters is created by API:

This limitation need not exist in BE.
Tested in version 63.1-20190705

repo: dojot/dojot


text:
Поменять ссылку на документацию в рубрике "На собесе"

Подумалось, что вот эта ссылка должна вести сюда: https://github.com/doka-guide/content/blob/main/docs/interviews.md Да и текст хорошо бы сделать более ясным.

Определённо согласен. Потому как логика меняется именно в этом месте.

привет,
я знаю как это исправить )
@skorobaeus, @furtivite  какой текст будем отображать ?

привет, я знаю как это исправить ) @skorobaeus, @furtivite какой текст будем отображать ?

Завела ишью, чтобы не забыть поправить и забыла поправить, конечно же))))
Давай напишем так:
Это вопрос без ответа. Вы можете помочь! Чтобы написать ответ, следуйте [инструкции](https://github.com/doka-guide/content/blob/main/docs/interviews.md#%D0%BA%D0%B0%D0%BA-%D0%BD%D0%B0%D0%BF%D0%B8%D1%81%D0%B0%D1%82%D1%8C-%D0%BE%D1%82%D0%B2%D0%B5%D1%82).

Давай напишем так:

готово!

authors: furtivite skorobaeus vitya-ne

repo: doka-guide/platform


text:
Integrate 2.0.0 SDK into RTS Viewer tvOS

##Description

Code refactor and reorganisation (Removed RTSComponentKit)
Using the package RTSCore with common 2.0 SDK consumption code
Add more stream statistics
Display all available layers for selection named after their resolution or encoding id (layers are not more named as high, medium, low anymore)

While trying the app I found the following issues:

The streams don't have sound when they should have.

Hi @Agustin-Bologna-Dolby - Did you use a multiview stream to test this functionality ? If yes this is a correct scenario if the first source that arrives do not have an audio track associated with it ?

While trying the app I found the following issues:

If the statistics are displayed on screen and you open the settings view the statistics panel does a weird effect.

This happened because of the stats list been reset to empty every time the view refreshes and the stats view itself was listening to the stats updates. So every time it refreshes the stats starts from empty till it update which happens every second. We can't have this view model to be a StateObject either because we have a scenario the source can go inactive and the app fallback to the next active source.
I fixed the flickering by moving the listener over to the parent view model in this case StreamViewModel.

While trying the app I found the following issues:

The streams don't have sound when they should have.

Hi @Agustin-Bologna-Dolby - Did you use a multiview stream to test this functionality ? If yes this is a correct scenario if the first source that arrives do not have an audio track associated with it ?

Actually yes the issue existed on single stream. Fixed !!

While trying the app I found the following issues:

Whenever I change the simulcast option I get redirected back to auto

Do you have more inputs when the simulcast layer selection redirected to auto ? Lets have a chat on this one ?

@Agustin-Bologna-Dolby - Please take a look again when you are free !! All comments are addressed now.

While trying the app I found the following issues:

If the statistics are displayed on screen and you open the settings view the statistics panel does a weird effect.

This happened because of the stats list been reset to empty every time the view refreshes and the stats view itself was listening to the stats updates. So every time it refreshes the stats starts from empty till it update which happens every second. We can't have this view model to be a StateObject either because we have a scenario the source can go inactive and the app fallback to the next active source.
I fixed the flickering by moving the listener over to the parent view model in this case StreamViewModel.

While this works, it leads to massive view models when all the publishers are subscribed to in the parent view model and passed down to the Childs.
Do you have a better or cleaner idea?

repo: dolbyio-samples/rts-app-ios-viewer


text:
Implement request.formData() in ShimRequest

In Cloudflare's documentation, they make use of Service Worker's request.formData() to be able to get to multipart form data in the request. This is currently uninimplemented in ShimRequest.
For reference, to post FormData in the request, I am passing an instance of FormData as the body, as documented when using in conjunction with node-fetch which I believe is what Cloudworker.Request is using.
  const body = new FormData()
  body.append('grant_type', 'password')
  body.append('scope', 'token.refresh')

  const request = new Cloudworker.Request(
    'https://app.envoy.com/a/auth/v0/token',
    {
      method: 'POST',
      headers: { 'Content-Type': 'multipart/form-data' },
      body
    }
  )

  const response = await cw.dispatch(request)

After getting cloudworker listening on port 3000, I also tried to post formData but I got this response:
TypeError: request.formData is not a function
Any plans for implementing formData within cloudworker?

Yep, at some point. That being said, PRs are welcome :). To those interested in giving it a shot, the best place to make that change is probably in our fork of node-fetch.

Any consideration for this issue? There is an existing PR (https://github.com/dollarshaveclub/node-fetch/pull/5) with an implementation of FormData.

Yep, I'm all for it. I need to get my permissions to that repo fixed and then I'll merge it. Thanks!

I've merged it. I'm now waiting for some NPM permissions to get sorted and then I can release a new version and use it cloudworkers.

@hankjacobs did you manage to sort out the npm permissions?

Still working on it but I was able to get node-fetch published. I’ll work on getting a new version of cloudworker published sometime this week

A beta has been published. Prod version will be deployed in the next week or so pending any bugs being reported.

Relevant PR #96

authors: hankjacobs kamal paulbhartzog rsanchez

repo: dollarshaveclub/cloudworker


text:
Not quite working with React...

I am having trouble using shave with React.  I realize this might be out of it's scope, but it would be fantastic if it could be used well with it.
The following things I've tried unsuccessfully:
1. Shaving a div with text components

Title

Some text... bla bla bla

More text... bla bla bla

2. Shaving a div with html set with dangerouslySetInnerHTLML

3. Shaving a div with html parsed with react-html-parser (Same thing as 1., but worth a try...)

     { ReactHtmlParses(stringWithHTML) }

result: In all of these, it shaves but all formatting and line breaks are gone.

Oops, I just realized that's not what this tool does. 😬 Looks like it's just supposed to truncate blocks of text, that's it. Sorry for the misunderstanding. It would be awesome though it if were possible to truncate with html formatting and all, like Reddit does with their post cards... see example below.

repo: dollarshaveclub/shave


text:
Is is possible return jQuery instance after called?

jQuery method chaining is fantastic.
For example:
$('selector').shave(maxheight).css({height: maxHeight});

But shave does not return the instance for now.

Good idea!

Thanks for pointing this out @ShinyChang! 💪 We'll look into this as soon as possible.

@yowainwright this one is an easy one.
Instead of returning the invocation of the shave function in the jQuery context, just return the this keyword instead.
shave(this, maxHeight, opts);
return this;
Sorry no syntax highlighting, on mah phone

Resolved by 5eaa9337e8b70f367acba78554206a2e9809ed16

authors: ShinyChang jakiestfu pwfisher yowainwright


text:
[auto-bump] dependency by andy-wm-arthur

:coffee: An Automated Dependency Version Bump PR :crown:
Initial Changes
The initial changes contained in this PR were produced by `go get`ing the dependency.
```
$ cd ./go
$ go get github.com/dolthub//go@
$ go mod tidy
```
Before Merging
This PR must have passing CI and a review before merging.
After Merging
An automatic PR will be opened against the LD repo that bumps the bounties version there.

This PR has been superseded by https://github.com/dolthub/bounties/pull/1926

repo: dolthub/bounties


text:
5.0.0-preview ProducesResponseTypeAttribute with void type produces type ProblemDetails

Thanks for contributing to Swashbuckle.AspNetCore! As per the contributing guidelines, please adhere to the following rules of thumb before submitting your issue:

If it's not a bug report, feature request or PR, don't submit it here. Post to Stackoverflow instead.
If your issue is specifically a UI concern, don't submit it here. Post to the swagger-ui repo.
For bug reports, specify the version your using and provide clear repro steps.

[ProducesResponseType(typeof(void),(int)HttpStatusCode.NotAcceptable)]
is producing a response type of ProblemDetails, where it should be returning a response type of void.
[ProducesResponseType((int)HttpStatusCode.NotAcceptable)] is doing the same thing unsurprisingly since it is the equivalent to the above.

Swashbuckle relies on the low-level API Description abstractions surfaced by the ASP.NET Core framework to generate corresponding Swagger/OAI Operations. I've been able to repro your issue in ASP.NET Core 2.2 and can confirm that the framework itself is surfacing the wrong information here.
That is, the corresponding ApiResponseType.Type is set to ProblemDetails instead of null.
Could you please post an issue to the following repo?
https://github.com/aspnet/AspNetCore/issues

As a workaround, you can also disable the default mapping to a ProblemDetails when an error occurred.
https://stackoverflow.com/questions/56341749/hide-swagger-bad-response-example-model-in-net-core-2-2

Closing as external.

Workaround: Add this to your startup code:
builder.Services.AddControllers()
	.ConfigureApiBehaviorOptions(options =>
	{
		options.SuppressMapClientErrors = true;
	});

authors: domaindrivendev kingmotley martincostello randyburden ratzvasky


text:
[Serializable] swagger document bug

I want to start by saying that I found this bug because we had a developer slapping [Serializable] on all of the objects (including the objects with [ModelBinder] attribute).
What I noticed is that when the [Serializable] attribute exists on the object that you get some odd (and incorrect) JSON document values.
For example:
[Serializable]
[ModelBinder]
public class MyQuerystringModelBinder
{
  public string Something {get; set; }
  public int Age {get; set; }
}

[HttpGet, Route("{id}")]
public HttpResponseMessage Get(string id, MyQuerystringModelBinder filter)
{
   ... // blah
   return whatever;
}

In the example above the swagger document (and thus the UI) tell me that the following query string parameters are optional.
filter.<Something>k_BackingField
filter.<Age>k_BackingField
Now, when I put the value in the field and submit the request the values are always NULL (or default value in the case of non-nullable fields) suggesting the query string was never sent.  This is because the Swagger UI is submitting ?filter.<Something>k_BackingField=123 instead of ?filter.Something = 123.
I have demonstrated that it is indeed due to the [Serializable] attribute on the filter.  The same holds for the request/response bodies as well.  Admittedly I have not gotten into the Swashbuckle source code to track it down but I thought I would report this as it does seem to be a Swashbuckle bug.
Thanks

I'm afraid I can't reproduce this bug. When I use the example you've provided, I see the parameters described as "filter.Something" and "filter.Age". When I test them out, the following request is made
 GET .../1?filter.Something=foo&filter.Age=123

Closing due to inactivity - feel free to re-open if you have more info on this issue

I am seeing this exact same issue today. I had this as a hold over from some old code, and if I put the serializable attribute on a class I get the same thing:
    public class CountingLock
    {
        public int EmployeeID { get; set; }
        public string EmployeeName { get; set; }
    }

that should generate a sample response like this:
[
  [
    {
      "EmployeeID": 0,
      "EmployeeName": "string"
    }
  ]
]

if I put the serializeable attribute on there:
    [Serializable]
    public class CountingLock
    {
        public int EmployeeID { get; set; }
        public string EmployeeName { get; set; }
    }

it looks like this:
[
  [
    {
      "<EmployeeID>k__BackingField": 0,
      "<EmployeeName>k__BackingField": "string"
    }
  ]
]

@kendallb
This seems to be related to the _contractResolver:
https://github.com/domaindrivendev/Swashbuckle/blob/master/Swashbuckle.Core/Swagger/SchemaRegistry.cs#L62
it works fine with the DefaultContractResolver

I don't think I have changed the default contract resolver at all? My setup is pretty standard. I can probably try to out together a small project to replicate this?

@kendallb
In your Global.asax.cs add the following in the Application_Start:
GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings.ContractResolver = new DefaultContractResolver();

I created a small console app to show the difference between contract resolvers:
https://github.com/heldersepu/csharp-proj/tree/master/Newtonsoft_ResolveContract
Console.WriteLine("\n Newtonsoft.Json.Serialization.DefaultContractResolver");
var resolver = new Newtonsoft.Json.Serialization.DefaultContractResolver();
WriteProps((JsonObjectContract)resolver.ResolveContract(typeof(CountingLock)));

Console.WriteLine("\n Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver");
var r = new Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver();
WriteProps((JsonObjectContract)r.ResolveContract(typeof(CountingLock)));

Console.WriteLine("\n System.Net.Http.Formatting.JsonContractResolver");
var resolv = new System.Net.Http.Formatting.JsonContractResolver(new Formatter());
WriteProps((JsonObjectContract)resolv.ResolveContract(typeof(CountingLock)));

The output looks like:
 Newtonsoft.Json.Serialization.DefaultContractResolver
EmployeeID
EmployeeName

 Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver
employeeID
employeeName

 System.Net.Http.Formatting.JsonContractResolver
<EmployeeID>k__BackingField
<EmployeeName>k__BackingField

authors: DotNetRockStar domaindrivendev heldersepu kendallb

repo: domaindrivendev/Swashbuckle


text:
[apply] super / extend / around

when you want to extend the functionality of an existing module, using the existing module in your own module.
exports.gives = 'say'
exports.needs = { say: 'super' }
exports.create = (api) => (text) => {
  return api.say(text.toUpperCase())
}

because you might want to 'decorate' an existing module that doesn't already have a reduce chain set up.
/cc @mmckegg @mixmix

@mmckegg says this is "do what first would do, before this function is added".

can you describe a specific usecase where you need this (that is not just logging)?

I think this issue may be related to: https://github.com/dominictarr/depject/issues/16

authors: ahdinosaur dominictarr

repo: dominictarr/depject


text:
Remove package:sky/base

These files really belong on other libraries.

LGTM especially since you avoided making any "all your base are belong to" jokes. :-)

authors: Hixie abarth


text:
Call DiscardableMemoryAllocator::SetInstance()

Apparently this can cause a crash when when we try to render an emoji at a
different size than the emoji font's native bitmap size. I'm not sure how to
reproduce the issue. I'll ask Hixie when he gets back.
Currently we just use regular memory. In the future, we should actually use
discarable memory.
Fixes #203

rs-lgtm

authors: abarth eseidelGoogle


text:
done-fetch

We should create a fetch module that polyfills the API on the client/server. In the future this will be the primary API for doing networks requests, not XHR. Will want to provide the same Zone caching as the xhr cache currently gives us.

what about https://github.com/github/fetch ?
create a fork?

This would likely use that under the hood, or more likely https://www.npmjs.com/package/isomorphic-fetch since it runs in Node as well.

This is all about Zones, starting in DoneJS 0.8.0 we now have XHR caching that prevents duplicate fetches from happening in the client (when server-side rendering). This issue is about bringing the same functionality to fetch.

@matthewp does this issue belong in can-zone?

Filed https://github.com/canjs/can-zone/issues/89

authors: justinbmeyer matthewp pYr0x

repo: donejs/donejs


text:
恶意登录检测问题

LoginFormValidator.java里面的判断
//    if(!guard.equals(form.getGuard())){
//      result.put("msg", "请不要尝试登录了!");
//    }else
我没有进行非法操作，但还是提示“请不要尝试登录了”，这个判断的依据是什么，guard是在什么时候注入的?

因为后台未使用验证码登录，为防止暴力破解，在后台登录，请带上登录参数，如http://www.yourdomain/backend/login?guard=no，其中‘no’值在https://github.com/dongfangshangren/Zblog/blob/master/src/main/resources/config/spring-service.xml文件中配置

@dongfangshangren 建议登录弄个ecache，得到ip统计单位时间重试次数来防止暴力破解

终于明白guard=no 这个东西了，

authors: dongfangshangren popotans ststring terwer

repo: dongfangshangren/Zblog


text:
Check runnability of RL^2 sampling

Done

RL^2에서 data sampling하기
RL^2에서 sampled data를 buffer에 담기
직접 실행해보고 shape 체크까지 확인 완료하였습니다.

@Clyde21c 간단하게 리뷰 한번 부탁드려도 될까요 ㅎㅎ

@Clyde21c 승현님, flatten에 관한 주석 하나 추가하였습니다. comment 더 없으시면 merge 부탁드립니다. 리뷰해주셔서 감사합니다 :)


text:
在小米上选择图片会旋转90度！

奇怪

因为选择器只是返回图片的路径。而系统存储的图片可能是有旋转角度的，所以我们在显示手机或拍照的图片时，需要处理图片的旋转角度问题。一般的图片加载框架（如：Glide）都会在框架里处理这个问题，所以我们很少自己去关注它。
https://blog.csdn.net/joe_storm/article/details/51143839

authors: cozing donkingliang

repo: donkingliang/ImageSelector


text:
Support Cannon compound shapes

Proposed API:
<a-entity collada-model="src: url(chair.dae)" dynamic-body="shape: compound; mass= 10;">
  <!-- Back -->
  <a-body-part shape="box" width="0.1" height="1" depth="1" offset="0.5 0.5 0"></a-body-part>
  <!-- Seat -->
  <a-body-part shape="box" width="1" height="0.1" depth="1" offset="0 0 0"></a-body-part>
  <!-- Legs -->
  <a-body-part shape="cylinder" height="1" radius="0.1" offset="0.5 -0.5 0.5"></a-body-part>
  <a-body-part shape="cylinder" height="1" radius="0.1" offset="0.5 -0.5 -0.5"></a-body-part>
  <a-body-part shape="cylinder" height="1" radius="0.1" offset="-0.5 -0.5 -0.5"></a-body-part>
  <a-body-part shape="cylinder" height="1" radius="0.1" offset="-0.5 -0.5 0.5"></a-body-part>
</a-entity>

Alternatively:
shape="shape: box; width: 0.1, shape: cylinder; height: 1; shape: cylinder; offset: -0.5 -0.5 -0.5"
Allowing
setAttribute('shape', [
  {shape: 'box', width: 0.1},
  {shape: 'cylinder', height: 1},
  // ...
]);

@ngokevin I like that a lot (and avoiding the extra entities). some misgivings about parsing a flat list into a nested structure but I need to think about it.

I guess alternatively could provide a selector to some dom form. Or registration API maybe

Registration API or a component-level setBody() might be a good fix for now, gives devs the option even if I don't add declarative form for a while.

A nice syntax suggestion from Ada Rose:
<a-entity obj-model="obj: complex.obj" dynamic-object="compound: true;">
  <a-sphere position="10 20 30" class="physics" visible="false" compound-body>
  <a-sphere position="-10 -20 10" class="physics" visible="false" compound-body>
</a-entity>

Moving this thread to https://github.com/donmccurdy/aframe-physics-system/issues/53.

authors: donmccurdy ngokevin

repo: donmccurdy/aframe-extras


text:
Need Feature request for Custom code redeem android

Description
according to android you can redeem your custom code inApp  there is no function available to redeem code in app
i successfully redeem one time code through deeplink https://play.google.com/redeem?code=promo_code  but we can not redeem  custom promo code outside the app
android reference: Custom codes can be redeemed only from within your app, while one-time codes can be redeemed through both your app and the Play store.

Yup, I just came here to ask exactly the same thing. Is there any suggested practice on how we can implement promo codes in android builds?

authors: arnold-drita-abm harisahmedDCS

repo: dooboolab-community/react-native-iap


text:
[EditText]Refactoring EditText

Description
Refactoring EditText. I'll make that the code has more readability and Scalability.
Checklist
Before you create this PR confirms that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] Run yarn test or yarn test -u if you need to update snapshot.
[x] Run yarn lint
[x] I am willing to follow-up on review comments in a timely manner.

I only see default where are other types??

I made default value only for code review. If It doesn't need any changes or improvement, I will make a more use case.

@DevYuns  Please request review when you think you are ready

authors: DevYuns hyochan

repo: dooboolab/dooboo-ui


text:
fire tv detection

Aside from the installer, we can detect if the app has been installed on an Amazon device by following the guidelines described here: https://developer.amazon.com/docs/fire-tv/identify-amazon-fire-tv-devices.html
Especially useful when sideloading the app for testing purposes
Cleaner than the suggested fallback logic:
if (__DEV__) {
  RNIap.setFallbackInstallSourceAndroid(RNIap.InstallSourceAndroid.AMAZON);
}
...

Just to add 2 cents here.
The fallback procedure is only when everything else failed and actually good for dev purposes mainly. For example when you sideloaded an app and want to force using Amazon or Google IAP procedures.
If your Amazon Fire TV has GAPPS installed and you want to force using those, you can use the fallback when your app is sideloaded. An automatic detection would not know what you are testing against.
Please keep this use-case in mind.

authors: andresesfm nochkin

repo: dooboolab/react-native-iap


text:
no base item with id error

Hi,
while creating a recipe for a large cluster jewel, I got the error Error: no base item with id "Metadata/Items/Jewels/JewelPassiveTreeExpansionMedium"
Is there no support for clusters, is this a bug or am I doing something wrong? :)
Example recipe:
buy "Metadata/Items/Jewels/JewelPassiveTreeExpansionMedium" ilvl 84

Interesting. It looks like cluster jewels are indeed not listed in base_items.json from RePoE, but in cluster_jewels.json instead, and the format is completely different.
So unfortunately, no, cluster jewels are not supported and there is no immediate workaround, sorry.

Alright, thank you for looking this up. Maybe a feature for the future.
And thanks for writing this cool language 👍  really appreciate it

authors: doomeer shlnz

repo: doomeer/kalandralang


text:
feat(winter-is-coming): add Winter is Coming theme

This theme attempts to replicate the look of the Winter is Coming theme (dark blue variant) for VSCode.
More info: https://marketplace.visualstudio.com/items?itemName=johnpapa.winteriscoming

Replace this with a summary of what you've changed and why, followed by a list of issues it affects, if any.
Fix: #743
Ref: #0000
Close: #743

[x] I searched the issue tracker and this hasn't been PRed before.
[x] My changes are not on the do-not-PR list for this project.
[x] My commits conform to the git conventions.
[x] My changes are visual; I've included before and after screenshots.
[ ] I am blindly checking these off.
[x] Any relevant issues or PRs have been linked to.
[ ] This a draft PR; I need more time to finish it.

The themes look beautiful, eager to see these merged.

@hlissner these are done and I'm not doing anymore tweaks (to me, they are pretty much perfect - would need more users to find any potential issues). would you mind having a look and merging? I'm enjoying these themes every single day and I think they'll make a great addition to the alerady-existing themes.

LGTM. Thanks for the themes!

repo: doomemacs/themes


text:
actions/upload-artifact & actions/download-artifact v4 support

Describe
The popular https://github.com/actions/upload-artifact & https://github.com/actions/download-artifact recently got a major update to v4, which is incompatible with v3 actions.
The v4 release offers a considerable boost in the efficiency of artifacts' uploads & downloads, so it's generally a much desired bump.
By the look of things, this breaks the flow for using the test-reporter with public repositories, as test-reporter uses those with v3.
Example of a bump which seems to break the test reports flow (Scala CLI repo)
I did not do in-depth research on this topic, but it seems that bumping to v4 in the Scala CLI repo breaks the test reports:

https://github.com/VirtusLab/scala-cli/pull/2701

We use the public repo setup like this:
https://github.com/VirtusLab/scala-cli/blob/3dcfb3357d9c35bd71be27548e7e4e82fc6ef528/.github/workflows/test-report.yml
So we generate test reports with Mill, use our custom script to change them into the JUnit XML format and then upload the artifacts for the test report workflow to pick it up, nothing special. Should be seen as the standard java-junit flow for a public repo.
Proposed solution
Bump test-reporter actions to v4 & probably release a v2 version of the test-reporter action, to prevent breaking old workflows and let them bump their stuff in peace.
Alternatives considered
Stay at v3, I guess?

Extra context: this is sneaky, as it's very easy to bump to v4 without reading the release notes, thus only realising the test reports are broken when inspecting them.
Users may also be confused when setting up the action for the first time and realising it doesn't work, not knowing why (so as a temporary measure, maybe it'd be useful if the test-reporter@v1 docs mentioned the incompatibility 🤔

Just updated to v4 and indeed, test-reporter is causing issues...
Error: HTTPError: Response code 400 (Authentication information is not given in the correct format. Check the value of Authorization header.)

Will downgrade again, but I'm looking forward to v2...
And I agree, having a

[!WARNING]
actions/upload-artifact & actions/download-artifact  version 4 is currently not supported, downgrade to v3

or something like that, would really help clear up any confusion

As a workaround, we manually download and extract our test results containing artifact in a previous step (that we uploaded before using our CI workflow and actions/upload-artifact@v4) using actions/download-artifact@v4 or an actions/github-script@v7 script, and then use dorny/test-reporter@v1 without the artifact option. That way, path just represents the local file system instead the one contained in an artifact.
https://github.com/dorny/test-reporter/blob/eaa763f6ffc21c7a37837f56cd5f9737f27fc6c8/src/main.ts#L82-L92

The #438 should fix the problem reported by @ScribbleTAS. The original issue will need another fix I think.

The https://github.com/dorny/test-reporter/pull/438 should fix the problem reported by @ScribbleTAS. The original issue will need another fix I think.

@jozefizso and @Gedochao, what is the original issue? If there is another issue here, it is not clear to me what it is. I think the action should work with Artifacts v4.
Background: As far as I know, this action doesn't use @actions/artifacts, but instead communicates with the GitHub REST API. The backward incompatible changes which have been announced by GitHub for Artifacts v4 should not affect the GitHub REST API, but only some Runner-specific API to access Artifacts while the workflow was still in progress. Note that before Artifacts v4, Artifacts were not available over the GitHub REST API before the workflow has finished. Besides all of that, I suspect that GitHub made some internal architectural changes with Artifact v4 which caused the error reported by @ScribbleTAS. I am not aware of any other issue related to Artifacts v4.

Hi @jozefizso and @JojOatXGME ,
thank you for working on this issue.
I have been testing the new version and it fixes the error, but I'm getting a new error:
Error: HttpError: Resource not accessible by integration

This error also shows up with upload v3
Setup
I use the "Recommended setup for public repositories" from the readme, on a PR.
build.yml
name: Build

on: [pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3.5.0
    - name: Set up JDK 17 for x64
      uses: actions/setup-java@v3
      with:
        java-version: '17'
        distribution: 'temurin'
        architecture: x64
    - name: Setup Gradle
      uses: gradle/gradle-build-action@v2.4.0
      with:
        gradle-version: 8.6
    - name: Build TASmod with Gradle
      run: gradle build
    - name: Upload Test Report
      uses: actions/upload-artifact@v4
      if: always()
      with:
        name: TestResult
        path: build/test-results/test/*.xml
    - name: Upload TASmod-Dev-Build
      uses: actions/upload-artifact@v4
      with:
        name: TASmod-Dev-Build
        path: build/libs

[!NOTE]
I know some of the other actions are outdated and I hope it's not the issue here...

test_report.yml
name: 'Test Report'
on:
  workflow_run:
    workflows: ['Build']                     # runs after CI workflow
    types:
      - completed
jobs:
  report:
    runs-on: ubuntu-latest
    steps:
    - uses: dorny/test-reporter@v1.9.0
      with:
        artifact: TestResult
        name: TASmod Tests
        path: '*.xml'
        reporter: java-junit

Tests
I ran a couple of tests on different versions now so here are my restults:
Upload v3, TR v1.9.1
Error: HttpError: Resource not accessible by integration

Workflow run with debug: https://github.com/ScribbleTAS/TASmod/actions/runs/9016365464/job/24772939089
Upload v4, TR v1.9.1
Error: HttpError: Resource not accessible by integration

Workflow run: https://github.com/ScribbleTAS/TASmod/actions/runs/9016031318/job/24771802152
Upload v4, TR v1.9.0
HTTPError: Response code 400 (Authentication information is not given in the correct format. Check the value of Authorization header.)

Workflow run: https://github.com/ScribbleTAS/TASmod/actions/runs/9016105434/job/24772029996

I know some of the other actions are outdated and I hope it's not the issue here...
Just to be safe, I have updated all actions to their latest versions and v1.9.1 is still unusable for me...

@ScribbleTAS Since you have edited your comment and removed the block about your issue, I assume you have resolved it.

I have been testing the new version and it fixes the error, but I'm getting a new error:
Error: HttpError: Resource not accessible by integration

For everyone else, the error did occur after the artifacts have already been downloaded and when the report was about to be created. While I don't know much about the case of @ScribbleTAS, this error usually means that your job doesn't have the checks: write permission. (Either because you configured restricted permissions by default and forgot to specify the permission in the workflow file, or because the build was triggered from a fork and you did not follow the recommended setup for public repos.)
PS: Also note that dorny/test-reporter@v1 still serves 1.9.0 which does not contain the fix. See #444. I just wanted to mention it as it might cause some confusion if someone wants to try out the new version.

this error usually means that your job doesn't have the checks: write permission.

This was exactly the issue here. I checked the readme, saw the section with the permissions and immediately put two and two together on why my workflow was failing, even for upload v3.

For all who is affected by the CVE-2024-42471, fix permissions as explained here https://stackoverflow.com/a/78679516/5608789

FYI, dorny/test-reporter@v1 runs together with actions/upload-artifact@v4 at JetBrains/gradle-changelog-plugin. All the runs started to fail after actions/upload-artifact has been updated to version 4, but after #444 has been resolved, all the runs were green again.
In short: I still believe this issue is already resolved since version 1.9.1.

Thanks, @JojOatXGME, for the info. After pinning the version to 1.9.1, I was able to remove actions/upload-artifact@v3 and update it to version 4 as well 👍.

https://github.com/VirtusLab/scala-cli/pull/2701
Seems to indeed be fixed, test reports get generated fine now.
Closing this.

authors: AliakseiT Gedochao HofmeisterAn JojOatXGME ScribbleTAS jozefizso lauxjpn

repo: dorny/test-reporter


text:
Add SwiftXunitParser class based on JavaJunitParser for swift-xunit reporter

The Swift tests results file is in xUnit format which is compatible with the JavaJunitParser.

Thanks @jozefizso, merging it now.

authors: dorny jozefizso


text:
Add Some Array Manipulation in CPP

Find Minimum and Maximum Values in an Array: Efficiently identifies the smallest and largest values in a given array using a single traversal.
Find Second Largest Element in an Array: Determines the second-largest element with minimal overhead using only a single loop.
Sort Array in Descending Order: Implements the Bubble Sort algorithm to sort an array in descending order.
Find Common Elements in Two Arrays: Identifies common elements between two arrays without requiring additional data structures, using marking for tracking matches.

Hey, there! Thanks for the contribution. 🙌

@saminjay and @Mathys-Gasnier, what do you think about these snippets?

Hey, there! Thanks for the contribution. 🙌

@dostonnabotov, But the changes aren't showing on the site. What's the issue?

@dostonnabotov, But the changes aren't showing on the site. What's the issue?

Changes won't be visible until merged into main branch. You can view changes from here:

Most of these functions are just common DSA solutions. They aren't exactly "handy" because you rarely use them. I don't know if this is wanted, @dostonnabotov can clear that up.
But even then I don't see the use of Bubble Sort reverse function. STL already provides a std::sort function, that can sort any iterable and you can also pass a comparision function.

Also I think for a snippet function it is always better to return the result rather than modifying the passed variables.

Before requesting another review please review what was said to you, and changes things that were asked.

authors: Mathys-Gasnier dostonnabotov saminjay shovan04

repo: dostonnabotov/quicksnip


text:
generate near-operation-file with single operations file

hi,
I would like to generate the types and operations globally (one single file), and the typed-document as near-operation-file.
This configuration would be similar to this one, and the typed-document should import the operations from the types.tsx file.

    src/@types/codegen/types.tsx:
        plugins:
            - 'typescript'
            - 'typescript-operations'
    src/:
        preset: near-operation-file
        presetConfig:
            extension: .generated.ts
            baseTypesPath: '@types/codegen/types'
        plugins:
            # - 'typescript'
            # - 'typescript-operations'
            - 'typed-document-node'
        config:
            exportFragmentSpreadSubTypes: true
            documentMode: graphQLTag

The reason is many operations are duplicated with the near-operation-file strategy, but I'd still like to split the generated documents

I see
   src/@types/codegen/types.tsx:
        plugins:
            - 'typescript'
            - 'typescript-operations'
    src/:
        preset: near-operation-file
        presetConfig:
            extension: .generated.ts
            baseTypesPath: '@types/codegen/types'
        plugins:
            # - 'typescript'
            - 'typescript-operations'
            - 'typed-document-node'
        config:
            exportFragmentSpreadSubTypes: true
            documentMode: graphQLTag

would already provide the solution I'm looking for

repo: dotansimha/graphql-code-generator


text:
Webpack Plugin

Is your feature request related to a problem? Please describe.
We would like to use Webpack with GraphQL Code Generator in watch mode to achieve live reload of TypeScript types when GraphQL schema files change.
Describe the solution you'd like
A Webpack Plugin that processes only those files on the filesystem that make up the Webpack project by reading Webpack modules list and generating output file somewhere on the file system, so that TypeScript compiler or other tools could see the output file and changes to it. Preferably the configuration of the plugin should be as simple as possible.
Describe alternatives you've considered
We considered alternative of using GraphQL Code Generator cli in watch mode, but it complicates setup for the developer - need to install watchman and it does not take into account that graphql files on the filesystem might not be part of a Webpack project, because they are not get imported and need not to be processed.
Additional context
It would be great to share various use cases for Webpack olugin, difficulties with implementation, roadmap, etc.

Hi @vlasenko
We had a webpack plugin before, which had a lot of issues, because of the way typescript detects changes and recompiles.
Please see:
https://github.com/dotansimha/graphql-code-generator/issues/829
https://github.com/dotansimha/graphql-code-generator/issues/897
Keeping open for reference, and because we might find a solution in the future.

Closing this for now, let's track it here: https://github.com/dotansimha/graphql-code-generator/issues/1828

authors: dotansimha vlasenko


text:
remove dependency on docker build for dotmesh-server

User requirement
As a developer, I want the build process to depend only on bazel so that it runs like lightning.
To achieve this we will need to find a way to replicate these lines in bazel. This probably means we need to use new_http_archive for the docker download and container_layer for the require_zfs one.
Key acceptance criteria

[ ] The server container image should be built only with bazel build //cmd/dotmesh-server:dotmesh-server-img [workspace-and-platform-args-here]

It's also really important that we have the Ubuntu packages here: https://github.com/dotmesh-io/dotmesh/blob/master/cmd/dotmesh-server/Dockerfile#L3
Would we still be using the Dockerfile after this issue is resolved? Which bazel file would these changes be made in? (Asking because I'm curious about maybe picking up this issue.)

We wouldn't be using the dockerfile, no.
I've taken a bit of a crack at this on 516-dockerbuild, carry it forward if you like :) The last part is getting the apt-get packages in there, which should go in /cmd/dotmesh-server/BUILD.bazel - the download_pkgs rule I've put in there doesn't appear to do much, there's also an install_pkgs rule from the same rule pack which might be it but it's not well documented. (rule pack loaded here)
The other changes are in WORKSPACE (getting docker and telling bazel how to handle it) and the container_image rules in BUILD.bazel - appears that container_layer has disappeared from the rule pack so I just used images based on top of each other which seems like it's much the same thing 🤷♀

authors: Godley lukemarsden

repo: dotmesh-io/dotmesh


text:
Raise errors.

How do I do a combination of client and server validation?
OnSubmit  I want to run Client Side <DataAnnotationsValidator /> first.  If it fails, show <ValidationSummary />.
If those pass, I want to call a REST service for a different kind of validation.  If that fails, I want to display an error in the ValidationSummary section.  If it passes, I now have valid data and can process the form.

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

ID: eef47457-c8cf-74a4-b884-c1fe5c2ef52d
Version Independent ID: 09a02d10-2834-467d-d8c2-3fd19ceb3863
Content: ASP.NET Core Blazor forms and validation
Content Source: aspnetcore/blazor/forms-validation.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @KevinTupper ... That's a combination of two scenarios shown by the topic:

The 'server validation' piece is the last example of the first section (which I might be spinning off as its own section later). More work due on that bit on https://github.com/dotnet/AspNetCore.Docs/issues/17377.
The 'control when the Validation Summary appears' piece is the last example of the Enable the submit button based on form validation section. More work due on that section on https://github.com/dotnet/AspNetCore.Docs/issues/17362.

One aspect of your ask that I need to research is adding a custom validation message for a failed server validation (i.e., a non-field validation). I left a note to myself about that on https://github.com/dotnet/AspNetCore.Docs/issues/17362, so I'll look into it when I get to that issue.
Those issues were triaged as "P2" (Medium) by management, so it might take a few weeks or a month to get to them. Sorry for the delay, but I'm the only one working on this group of topics, and I'm 🏃😅 with a heavy workload of priority issues. If issue comments don't provide enough help, you can talk to devs on the usual support channels ...

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

I'll close this as a duplicate of the existing issues. You can track progress on https://github.com/dotnet/AspNetCore.Docs/issues/17377 and https://github.com/dotnet/AspNetCore.Docs/issues/17362.

I'm getting the same error.  Built a brand new Blazor app in VS 2019 version 16.5.3 but the <InputRadio... is not an option in intellisense like the <InputText and <InputNumber are.

@JSatterly Please open a new issue with that using the This page feedback button+form at the bottom of the topic.

authors: JSatterly KevinTupper guardrex


text:
⚠ Each form had to be closed and reopened after each dpi/text scale changes

⚠ Each form had to be closed and reopened after each dpi/text scale changes
Tested with HighDpiMode.PerMonitorV2:

dpi/text
current default font (SystemFonts.MessageBoxFont)
SetDefaultFont(Calibri, 11)

100% dpi / 100% text

100% dpi / 150% text

150% dpi / 150% text

150% dpi / 100% text

Originally posted by @RussKie in https://github.com/dotnet/winforms/issues/4911#issuecomment-842885537

⚠ Each form had to be closed and reopened after each dpi/text scale changes
Tested with HighDpiMode.PerMonitorV2:
dpi/text	current default font (SystemFonts.MessageBoxFont)	SetDefaultFont(Calibri, 11)
100% dpi / 100% text
100% dpi / 150% text
150% dpi / 150% text
150% dpi / 100% text
Originally posted by @RussKie in dotnet/winforms#4911 (comment)


text:
Reference to obsolete RNGCryptoServiceProvider

The hashing passwords references the RNGCryptoServiceProvider class which is marked as obsolete. It looks like this should now reference the RandomNumberGenerator class instead Related issue

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

ID: fc1052d7-e93f-fcb8-6d87-d86cededad23
Version Independent ID: 61e65ca8-4008-ed27-7254-93385a9ed6d7
Content: Hash passwords in ASP.NET Core
Content Source: aspnetcore/security/data-protection/consumer-apis/password-hashing.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

And update to .NET 6

authors: Rick-Anderson StalaK


text:
Documentation for user-jwts mentions the delete command instead of remove

This documentation page mentions delete as an available command for user-jwts (e.g., dotnet user-jwts delete 3ac99ee7 ). Actually, the correct command should be remove as per final release (e.g., dotnet user-jwts remove 3ac99ee7 ).

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

ID: f76a2aaf-732a-f686-343b-d811faa43d44
Version Independent ID: f76a2aaf-732a-f686-343b-d811faa43d44
Content: Generate tokens with dotnet user-jwts
Content Source: aspnetcore/security/authentication/jwt-authn.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Thanks for reporting this. Any chance you could PR this? At the top right of the article, select the Edit pen icon:

Select the pen icon again. Save.

Thanks for reporting this. Any chance you could PR this?

Done!

authors: Rick-Anderson andychiare


text:
Add helpful tip to novices

Add a helpful tip to novices just starting out.

Thanks @vthg2themax ... I'll take a look within 24 hours. I'm buried in code right now. Heeelp! :smile:

@vthg2themax ... It's best to open this for the product unit. It sounds more like a regression than something that we should document because the default profile in launchSettings.json lists the HTTPS endpoint. Open an issue for engineering at ...
https://github.com/dotnet/aspnetcore/issues


text:
Update HTTP3 Sample for RC1

Reflects the more streamlined behavior. We should publish this when RC1 is shipped on the 14th, and reference it from https://github.com/aspnet/specs/pull/602 (CC @danroth27).
Fixes https://github.com/dotnet/aspnetcore/issues/34488

@wtgodbe  I wanted to mark it as draft so it doesn't accidently get merged before the 14th

@wtgodbe I wanted to mark it as draft so it doesn't accidently get merged before the 14th

My mistake, I didn't see that you had marked it as a draft, I thought that was the default state. Feel free to switch it back to a draft

@wtgodbe  we have an https://github.com/dotnet/AspNetCore.Docs/tree/RC1 branch now  if you have anymore PR's. I'll wait for RC1 to merge this.

authors: Rick-Anderson wtgodbe


text:
Wrong grammar in all sections

It happens in all sections. Both Developers (#1 and #2) are reffered to as "they". It is grammatically incorrect, because "they" indicates there is more than one.
e.g.:
"Now it’s time for Developer #2 to submit. They aren’t so lucky. Because someone else has submitted changes since they synced, they will need to pull down the changes and merge"
It is very important to use correct language, especially in exact documentation, where this kind of error can lead to misunderstanding of explained feature. Either change they to he/she, or change "Developer #1" to "Developer Team #1".

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

ID: b72ecde8-e983-8583-7c3f-6e0e4ff404fb
Version Independent ID: 6ed79d63-19a7-c527-b383-c5faf4beba55
Content: Code First Migrations in Team Environments - EF6
Content Source: entity-framework/ef6/modeling/code-first/migrations/teams.md
Product: entity-framework
Technology: entity-framework-6
GitHub Login: @ajcvickers
Microsoft Alias: avickers

This issue has been closed because EF6 is no longer being actively developed. We are instead focusing on stability of the codebase, which means we will only make changes to address security issues. See the repo README for more information.

authors: ajcvickers martinbrabec


text:
Split single/split query in it's own page

Resolves #2700

Note to self: update fwlink pointing here.


text:
Move the WinUI project into the single-project sample project

The WinUI project is still a separate one now, with the latest tools and changes we should be able to move that into the single project :)

Done https://github.com/dotnet/Microsoft.Maui.Graphics.Controls/pull/101

authors: jfversluis jsuarezruiz


text:
debug windows app that has a blazorwebview

On the hybrid app, when I load the windows desktop app and my blazor component is viewed on the desktop. Is there a way to see the css that is being used on the desktop?   Documentation says to right click and "Inspect" but I do not see this anywhere.   I just want to see the css

If right-click doesn't work, then click anywhere in the webview and press F12 and it will show the browser dev tools, which includes seeing the CSS.

repo: dotnet/MobileBlazorBindings


text:
Introduce equality comparers for OpenXmlElement

Problem:
The current way to determine equality for two OpenXmlElements seems to
be x.OuterXml.Equals(y.OuterXml) (based on StackOverflow top answer).
This performs horribly due to allocation of strings and XmlWriter.
Solution:
This PR introduces OpenXmlElementEqualityComparer which supports equality determination.
Furthermore, the definition of equality is defined by OpenXmlElementEqualityOptions which allows for controlling how equality should be defined.
Benchmark results comparing to x.OuterXml.Equals(y.OuterXml):
BenchmarkDotNet=v0.13.2, OS=Windows 10 (10.0.19045.3086)
AMD Ryzen 7 5800X, 1 CPU, 16 logical and 8 physical cores
.NET SDK=7.0.304
  [Host] : .NET 7.0.7 (7.0.723.27404), X64 RyuJIT AVX2

Job=InProcess  Toolchain=InProcessEmitToolchain

|                       Method |              Mean |           Error |          StdDev |     Gen0 |     Gen1 |     Gen2 | Allocated |
|----------------------------- |------------------:|----------------:|----------------:|---------:|---------:|---------:|----------:|
|         OuterXmlLargeElement | 22,469,563.462 ns | 156,783.6460 ns | 130,921.4452 ns | 437.5000 | 281.2500 | 218.7500 | 7370176 B |
|           EqualsLargeElement |  9,235,127.232 ns | 118,532.7404 ns | 105,076.1870 ns |        - |        - |        - |      10 B |
| EqualsLargeElementSkipPrefix |  4,165,810.498 ns |  78,261.1757 ns |  76,862.9390 ns |        - |        - |        - |       5 B |
|             UnparsedOuterXml |          3.296 ns |       0.0140 ns |       0.0131 ns |        - |        - |        - |         - |
|               UnparsedEquals |          4.721 ns |       0.0149 ns |       0.0125 ns |        - |        - |        - |         - |
|                SmallOuterXml |      3,616.694 ns |      52.6133 ns |      43.9345 ns |   1.7662 |   0.0877 |        - |   29584 B |
|                  SmallEquals |        705.613 ns |       3.4249 ns |       3.2037 ns |   0.0010 |        - |        - |      24 B |
|        SmallEqualsSkipPrefix |        376.926 ns |       3.3287 ns |       2.9508 ns |   0.0014 |        - |        - |      24 B |

@twsouthwick Your eyes on this PR would be much appreciated.
There is a few things that I would like some pointer with:

Ordering:
1.2. When unparsed, the order of children and attributes matter, but not when parsed.
Elements of type OpenXmlLeafTextElement seems to need special behaviour for comparing their text value. Other places these values seem to be placed as an attribute. I don't quite know why this is.
Attributes seems to always be of type OpenXmlComparableSimpleValue, so they support Equals. Can someone please confirm this.
Prefixes are quite expensive to lookup, so can we skip it and just compare Namespace.Uri, if so we can save ~40%.

@PhDuck Great questions. I'll answer them first, then a few thoughts at the end:

Ordering:
1.1. For children it seems order is not defined, so order is non-stable.

This is actually not true, generally. Order of children are defined by their schema. However, for comparing, you should just iterate through the children and use the order that is there

1.2. For attributes it seems their order is defined, so order is stable.

@tomjebo is this the case? We may want to have this as an option

1.3 For extended attributes order is not defined, so ordering is non-stable.

We may want to include/exclude these

1.4 For unparsed none of the above counts, since it depends fully on the inputs textual order.

Elements of type OpenXmlLeafTextElement seems to need special behaviour for comparing their text value. Other places these values seem to be placed as an attribute. I don't quite know why this is.

Attributes seems to always be of type OpenXmlComparableSimpleValue, so they support Equals. Can someone please confirm this.

Attributes are always OpenXmlSimpleType which has IEquatable I believe

Prefixes are quite expensive to lookup, so can we skip it and just compare Namespace.Uri, if so we can save ~40% further,

Maybe have it as an option

With the points you're making, I think we may not want to implement equality directly on the element at this point, but rather provide helpers to create equality comparers that compare things people care about (you've pointed out questions that could be things people opt in/out of)
I'm thinking something like this:
public static class OpenXmlElementComparers
{
	public static IEqualityComparer<OpenXmlElement> Default { get; }
	public static IEqualityComparer<OpenXmlElement> Create(OpenXmlElementEqualityOptions options);
}

public sealed class OpenXmlElementEqualityOptions
{
	// Include options
}

1.2. For attributes it seems their order is defined, so order is stable.

@tomjebo is this the case? We may want to have this as an option

According to the XML specification order of attributes is not significant and therefore it shouldn't be for us as well. If we see a problem with this, definitely we want to investigate.

@PhDuck we've added GH action tests this week so if you merge in you'll be able to run tests

@PhDuck I pushed a change that allows using the built in hashcode shim - it's in a different namespace

Thanks @PhDuck! This is cool feature that will be available in v3.0 when it's released

authors: PhDuck tomjebo twsouthwick

repo: dotnet/Open-XML-SDK


text:
Replace calls to Method.GetCurrentMethod().Name with nameof()

That reduce places which marked as trimmer unfriendly. Even if Method.CurrentMethod().Name will work after trimming, but tooling cannot decide that in generic cases, see: https://github.com/dotnet/runtime/issues/53242 At this point I would like to replace formatting primitives with $"" if possible, since that allow Rolsyn build constant string for us at compile time.
Also enabled Trim Analyzer on the build, so all trim warnings can be gradually removed after proper annotations, or other work done.
/cc @Wraith2

The changes looks good to me. Thanks @kant2002 for your contributions

repo: dotnet/SqlClient