[195] Issue #195 - October 07, 2021

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.
The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

https://forums.swift.org/t/when-should-managedatomic-unsafeatomic-be-marked-sendable/52321/7

https://forums.swift.org/t/proposal-actor-initializers-and-deinitializers/52322

https://twitter.com/jckarter/status/1441445811523502088

https://forums.swift.org/t/swift-5-5-has-serious-stack-corruption-bugs/52344

https://forums.swift.org/t/requiring-swift-5-3/52345

https://forums.swift.org/t/pitch-2-staging-in-sendable-checking/52413

https://forums.swift.org/t/call-for-thesis-topics/52399

https://forums.swift.org/t/upon-swift-6-solve-inconsistency-within-the-language/52437

https://forums.swift.org/t/pitch-clock-instant-date-and-duration/52451

https://forums.swift.org/t/declarative-string-processing-overview/52459

https://forums.swift.org/t/pitch-clock-instant-date-and-duration/52451

https://forums.swift.org/t/we-need-long-term-support-lts-releases/52462

https://forums.swift.org/t/swift-org-in-dark-mode/52495

https://forums.swift.org/t/pitch-additional-api-available-to-swiftpm-plugins/52494

https://forums.swift.org/t/revisiting-se-0098-rename-didset-into-didset-is-the-rationale-to-reject-still-valid/52470

https://swift.org/blog/swift-5-5-released

https://forums.swift.org/t/pitch-expand-usability-of-withmemoryrebound/52500

I had the opportunity to get into compilers and language design this summer with the Swift Mentorship! It was an amazing experience and I wrote about here: https://forums.swift.org/t/swift-mentorship-compiler-language-design/52522

https://twitter.com/Amritpan/status/1444011105148280834

https://twitter.com/jckarter/status/1444003858468855816

https://forums.swift.org/t/swift-mentorship-compiler-language-design/52522

https://github.com/apple/swift/pull/38922

https://forums.swift.org/t/accepted-with-modifications-se-0322-temporary-uninitialized-buffers/52532

https://forums.swift.org/t/accepted-se-0323-asynchronous-main-semantics/52531

https://forums.swift.org/t/sswg-0017-multipartkit/52586

https://forums.swift.org/t/async-await-and-the-future-of-vapor/52590

https://forums.swift.org/t/accepted-se-0324-relax-diagnostics-for-pointer-arguments-to-c-functions/52599

https://forums.swift.org/t/proposal-a-standard-library-type-for-working-with-shared-data-in-a-concurrent-system/52603


[Bug]: wrong text to parameter

What happened?
nothing
How to reproduce the bug
reading
Package Version
latest
PHP Version
any
Which operating systems does with happen with?
No response
Notes
FYI
https://github.com/JordanDalton/anthropic-sdk-php/blob/a91c790bb73eca7bc81dcdb6d5a40388f7c16485/src/Requests/CreateCompletionRequest.php#L17

and btw... the api has $messages as an array, you only provide a string ($prompt). is that "wanted" ?


An error occurred while running extractors

What's your CLI version?
0.86.12
Description & steps to reproduce
The following script throws an error:
def run(plan, args={}):
    service = plan.add_service(
        name = "service",
        config = ServiceConfig(
            image = "alpine",
            entrypoint = ["/bin/sh", "-c", "sleep infinity"],
        )
    )
    cmd = ''' echo '{"key": "value"}' '''
    plan.exec(
        service_name = "service",
        recipe = ExecRecipe(
            command = ["/bin/sh", "-c", cmd],
            extract = {
                "key": ".key"
            }
        ),
    )

INFO[2024-01-25T22:34:25Z] Creating a new enclave for Starlark to run inside...
INFO[2024-01-25T22:34:27Z] Enclave 'celestial-marsh' created successfully

Container images used in this run:
> alpine - locally cached

> add_service name="service" config=ServiceConfig(image="alpine", entrypoint=["/bin/sh", "-c", "sleep infinity"])
Service 'service' added with service UUID '48d512bae40d4e3596ffea8b343ef2cf'

> exec service_name="service" recipe=ExecRecipe(command=["/bin/sh", "-c", " echo '{\"key\": \"value\"}' "], extract={"key": ".key"})
There was an error executing Starlark code
An error occurred executing instruction (number 2) at DEFAULT_PACKAGE_ID_FOR_SCRIPT[12:14]:
  exec(service_name="service", recipe=ExecRecipe(command=["/bin/sh", "-c", " echo '{\"key\": \"value\"}' "], extract={"key": ".key"}))
  Caused by: Error executing exec recipe
  Caused by: An error occurred while running extractors 'map[key:.key]' on command output '{"key": "value"}
  '
  Caused by: An error occurred running extractor '.key' on recipe
  Caused by: No field '.key' was found on input '"{\"key\": \"value\"}\n"'

Error encountered running Starlark code.

Desired behavior
I expect the sample script to run without errors given
$ echo '{  "key": "value"}' | jq .key
"value"

What is the severity of this bug?
Critical; I am blocked and Kurtosis is unusable for me because of this bug.
What area of the product does this pertain to?
CLI: the Command Line Interface

thank you @igor-ritual , and apologies for the delay in response here. I was able to reproduce locally, so thanks for providing this level of detail - I'm tagging in @adschwartz here as well to help dig into it

Confirming, I'm looking into this issue

@igor-ritual Left an example at the bottom of our docs that is inspired of what you wrote with a bit more detail. Just let me know if you have any questions. Thanks!
https://docs.kurtosis.com/api-reference/starlark-reference/exec-recipe


AutoComplete: When pressing the Tab key, the drop-down closes but the text does not update.

Bug type
Component
Component name
AutoComplete
What happened?
On drop-down close should override Text with selected Value. But Text is not overrided when the Tab key  pressed.
Expected behavior
The text also override when the tab key pressed.
Reproduction link
https://try.mudblazor.com/snippet/mkmnOqFpIznuqrQQ
Reproduction steps

Input "Calif"
Press The Tab Key
The displayed text remains "Calif" (Should be empty)

Relevant log output
No response
Version (bug)
6.4.1
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[X] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Queen-Beans To get your expected behavior you need to set the property SelectValueOnTab="true"

The problem is still there when using SelectValueOnTab="true". If i search for something that doesn't match anything and then press tab, the displayed text isn't cleared. I think that the behavior in this case should be the same as if you clicked outside the autocomplete component (i.e. the displayed text should be cleared).

#7020


Closed/Maximal Frequent Item-sets

Hi. Does this mine the closed/maximal frequent item-sets?
What is the format of the input/output file?
What is the memory requirement?
Thank you.

Hi.
This is just a practice project I did on my own and is by no means complete.
I have moved on to other things so this project is essentially abandoned. Sorry about that.
Frank
On Jun 1, 2018, 6:09 PM -0300, rzu512<EMAIL_ADDRESS>wrote:

Hi. Does this mine the closed/maximal frequent item-sets?
What is the format of the input/output file?
What is the memory requirement?
Thank you.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


More examples of exotic/unique/in-depth reflection use-cases

There is currently a relatively serious lack of examples demonstrating how to use the various reflection facilities in this library: most of what is known and used is cobbled together from a wide array of sources, from the minimal example code one can find, to articles on graphics techniques, to various snippets from reddit posts or even issues here.

For example, how would one use the reflection API to differentiate between something that becomes (in Vulkan) a VK_DESCRIPTOR_TYPE_DYNAMIC_UNIFORM_BUFFER vs the un-dynamic version?

How does one retrieve specialization constants? this was an issue I personally was only able to figure out by diving deep into the API and following functions and type definitions around

I wish I personally had more potential questions or examples of topics that should be covered, but maybe other users can contribute as well? I may also be able to help write some example code - I would have done so already, if I wasn't so absorbed/lost-in a project using this repository ;)

I'll document some more next week.

Interesting. That's good to know though, and makes sense!

Spent a good while writing up a wiki page on this ... Hopefully this should cover the relevant reflection API use:
https://github.com/KhronosGroup/SPIRV-Cross/wiki/Reflection-API-user-guide

Cool. I'll close this then, if you run into darker corners, I can add that.


rdfs:label and dcterms:description updated

Translations and enhancement of rdfs:label and dcterms:description is done. We still have some dcterms:description to add:
rdfs:label in English : has audience
rdfs:label in English : Offers service
rdfs:label in English : renders
rdfs:label in English : Alternative title
rdfs:label in English : Bonus
rdfs:label in English : Campaign package
rdfs:label in English : EIDR
rdfs:label in English : IMedia Identifier
rdfs:label in English : ISAN
rdfs:label in English : Normal play time
rdfs:label in English : Outtakes
rdfs:label in English : Promotion
rdfs:label in English : Publication logg
rdfs:label in English : Publication medium
rdfs:label in English : Reminder
rdfs:label in English : Time code
rdfs:label in English : Time code with dropframe
rdfs:label in English : Timeline point
rdfs:label in English : Facebook
rdfs:label in English : Flickr
rdfs:label in English : Instagram
rdfs:label in English : LinkedIn
rdfs:label in English : Twitter
rdfs:label in English : Wikipedia
rdfs:label in English : can accesspublication channel
rdfs:label in English : canaccess publicationplatform
rdfs:label in English : Day
rdfs:label in English : episode number of serial
rdfs:label in English : equivalent time
rdfs:label in English : has agent
rdfs:label in English : has alternative title
rdfs:label in English : has article
rdfs:label in English : has clip
rdfs:label in English : has editorial group
rdfs:label in English : has editorial work
rdfs:label in English : has parent editorial segment
rdfs:label in English : has post
rdfs:label in English : has programme
rdfs:label in English : has promotion
rdfs:label in English : haspublicationchannel
rdfs:label in English : has scene
rdfs:label in English : has serial
rdfs:label in English : has shot
rdfs:label in English : has take
rdfs:label in English : Is covered by
rdfs:label in English : is episode of serial
rdfs:label in English : Month
rdfs:label in English : Start
rdfs:label in English : Transports
rdfs:label in English : day
rdfs:label in English : month
rdfs:label in English : year
rdfs:label in English : after
rdfs:label in English : before
rdfs:label in English : next
rdfs:label in English : precedes
rdfs:label in English : previous
rdfs:label in English : sequential
rdfs:label in English : succeeds
rdfs:label in English : temporal

We would recommend to add skos:defintions instead of adding dcterms:descriptions.
Additional observation: "temporal, succeeds, sequential, previous, preceeds, next, before, after"  are probably terms we should rather use from xkos, if available.


No man what I’m saying is I want to work together with my teams over here and France and Brazil and Vietnam and South Korea, I’m expecting 12 years 1.24 billion users

That’s for the application the coin will bring back value to the financial district and countries we’re going to be judged by financial documents and audits now. People who work for these company’s log on buy coins and put them on their phones or what he’s or chips and they equal how poorly their IRS agency is basically cause China would be out

I have three parents and a huge team.

I have three parents and a huge team.

Looking to go ipo in 3-4 years and be worth 20 billion I just need 324,000

Looking to go ipo in 3-4 years and be worth 20 billion I just need 324,000


deep update deps

@panentheos Yup. I've been experimenting with it on and off for a couple days, and I've gone through the changelog; everything seems to be in order.


"Codreni" is listed in the drop-down menu

Description:
"Codreni" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Codreni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Codreni, CĂLĂRAȘI (Gurbănești)".


[microservice] Add auth-mode ldap to enable authentication based on LDAP

Description
Adds a new configuration option ldap for app.auth-mode.
This auth-mode essentially forces API clients to pass valid credentials constisting of userDn/password of an LDAP user as HTTP Basic auth, e.g.: username = cn=admin,dc=example,dc=org / password = s3cret
Those credentials are then used for the LdapContextSource/LdapTemplate of Spring LDAP.
Reference
Issues #4

@coderabbitai full review


[Jenkins/Coverage] Use public repo for nnstreamer-unittest-coverage

This patch changes the repository address that is used for getting the latest nnstreamer-unittest-coverage rpm file. This change will make ci get the rpm file from the public address, http://download.tizen.org, where packages are released more frequently.
Signed-off-by: Wook Song<EMAIL_ADDRESS>Self evaluation:

Build test: [ ]Passed [ ]Failed [*]Skipped
Run test: [ ]Passed [ ]Failed [* ]Skipped

:memo: Version: 1.20190225. Thank you for submitting PR #470. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.


lcfs crash

I ran latest LCFS (git commit 99b157db0ab731d) and got into this while running "make" on docker daemon sources
# ./lcfs daemon /dev/sda /var/lib/docker /lcfs -f -m -r -t -p -v
.....
lcfs: fs.c:308: lc_removeLayers: Assertion `zfs->fs_super->sb_flags & LC_SUPER_INIT' failed.
Aborted (core dumped)

This is what I saw on the client:
Step 42/43 : ENTRYPOINT hack/dind
 ---> Running in 137aeada4f4d
 ---> 98b9d7df394f
Removing intermediate container 137aeada4f4d
Step 43/43 : COPY . /go/src/github.com/docker/docker
 ---> ba3aea4d5aa7
Successfully built ba3aea4d5aa7
open /var/lib/docker/image/portworx/lcfs/.tmp-repositories.json026490387: no such file or directory
Makefile:113: recipe for target 'build' failed
make: *** [build] Error 1

and here are dockerd logs:
INFO[9097] Layer sha256:d173fd590788d5c19e591594e8d6f28524d41626bbfb4d717228dc50db6b5674 cleaned up
INFO[9104] time="2017-08-25T14:58:09Z" level=error msg="err software caused connection abort\n"   plugin=de91e35b7c8c14d0bb3190c519dd10eb0d5a5b88b4e78f91f635d4367c52f5b0
ERRO[9104] Error removing mounted layer 3ff6814c3cb6dc6e75732aa9738d29fd62bd7cc182b07f9050c5905a6a4d73a5: GraphDriver.Remove: software caused connection abort
ERRO[9104] Failed to release RWLayer: GraphDriver.Remove: software caused connection abort
ERRO[9104] failed to unmount previous build image sha256:2baf993621acd4dc745c97ff3127609dbf68ec73c9fedb8278fa029763d177f1: GraphDriver.Remove: software caused connection abort
INFO[9104] time="2017-08-25T14:58:09Z" level=error msg="err transport endpoint is not connected\n"   plugin=de91e35b7c8c14d0bb3190c519dd10eb0d5a5b88b4e78f91f635d4367c52f5b0
ERRO[9104] Failed to unmount RWLayer: GraphDriver.Put: transport endpoint is not connected
ERRO[9104] failed to unmount previous build image sha256:e1573ce8644fc2781917e5edf824b154f1492476f202b0f35340dc7119ad743f: GraphDriver.Put: transport endpoint is not connected
INFO[9104] time="2017-08-25T14:58:09Z" level=error msg="err transport endpoint is not connected\n"   plugin=de91e35b7c8c14d0bb3190c519dd10eb0d5a5b88b4e78f91f635d4367c52f5b0
ERRO[9104] Failed to unmount RWLayer: GraphDriver.Put: transport endpoint is not connected
ERRO[9104] failed to unmount previous build image : GraphDriver.Put: transport endpoint is not connected
INFO[9104] time="2017-08-25T14:58:09Z" level=error msg="err transport endpoint is not connected\n"   plugin=de91e35b7c8c14d0bb3190c519dd10eb0d5a5b88b4e78f91f635d4367c52f5b0
ERRO[9104] Failed to unmount RWLayer: GraphDriver.Put: transport endpoint is not connected
ERRO[9104] failed to unmount previous build image sha256:bdf6818dde703755f0a724e9a72579529fa66cdde79b1a5a9037184894dd6108: GraphDriver.Put: transport endpoint is not connected
INFO[9104] time="2017-08-25T14:58:09Z" level=error msg="err transport endpoint is not connected\n"   plugin=de91e35b7c8c14d0bb3190c519dd10eb0d5a5b88b4e78f91f635d4367c52f5b0
ERRO[9104] Failed to unmount RWLayer: GraphDriver.Put: transport endpoint is not connected
ERRO[9104] failed to unmount previous build image sha256:98b9d7df394f644af4a772e74a710f196aacd92806756881f797b2a98b52cb2e: GraphDriver.Put: transport endpoint is not connected

Please let me know if there's anything else I can provide.

I tested this couple of times and did not see this crash.  Is this crash reproducible for you?  If so, could you tell specific instructions on how to reproduce it?  Were you able to collect a core dump from the crash?

What I did was running docker-stress (https://github.com/crosbymichael/docker-stressO) test a few times (with no failures), like this:
./docker-stress --containers 50 -c 200 -k 3s
./docker-stress --containers 500 -c 200 -k 3s
./docker-stress -c 20 -k 3s

and then I tried building docker daemon, probably something like this:
go get github.com/moby/moby
cd $GOPATH/src/github.com/moby/moby
make test-integration-cli

The coredump is eaten by apport, there is nothing in /var/crash :(
I will try to reproduce the issue next week.

It was pretty easy to reproduce. Here are the steps on a digital ocean droplet running Ubuntu 16.04:
On the first terminal:
dd if=/dev/zero of=/dev/sda bs=1K count=10
cd git/lcsfs/lcfs
./lcfs daemon /dev/sda /var/lib/docker /lcfs -f -m -r -t -p -v

On a second terminal:
dockerd -s vfs --experimental

On a third terminal:
cd git/lcfs/plugin
docker build -t rootfsimage .
mkdir rootfs
id=$(docker create rootfsimage)
docker export "$id" | tar -x -C rootfs/
docker plugin create portworx/lcfs .
docker plugin enable portworx/lcfs
rm -rf rootfs
docker rm -vf "$id"
docker rmi rootfsimage
docker plugin ls

second terminal again:
^C
dockerd -s portworx/lcfs --experimental

third terminal again:
cd go/src/github.com/docker/docker/
make test-integration-cli

and it fails at the same step as last time:
Step 43/43 : COPY . /go/src/github.com/docker/docker
 ---> bbf45185d1b9
Successfully built bbf45185d1b9
open /var/lib/docker/image/portworx/lcfs/.tmp-repositories.json827429382: no such file or directory

Here's gdb trace:
root@ubuntu-2gb-nyc1-01:~/git/lcfs/lcfs# gdb lcfs /tmp/cores/core.lcfs.18821.ubuntu-2gb-nyc1-01.1503749695
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from lcfs...done.
[New LWP 14805]
[New LWP 18821]
[New LWP 18822]
[New LWP 18827]
[New LWP 18829]
[New LWP 18830]
[New LWP 14802]
[New LWP 14804]
[New LWP 14803]
[New LWP 14792]
[New LWP 14793]
[New LWP 14797]
[New LWP 14808]
[New LWP 19047]
[New LWP 14807]
[New LWP 18825]
[New LWP 19046]
[New LWP 18826]
[New LWP 27151]
[New LWP 18998]
[New LWP 7853]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./lcfs daemon /dev/sda /var/lib/docker /lcfs -f -m -r -t -p -v'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f0c0005a428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f0bf834a700 (LWP 14805))]
(gdb) bt full
#0  0x00007f0c0005a428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
        resultvar = 0
        pid = 18821
        selftid = 14805
#1  0x00007f0c0005c02a in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x4, sa_sigaction = 0x4}, sa_mask = {__val = {0,<PHONE_NUMBER>011852341,<PHONE_NUMBER>63952, 0, 0, 0, 0,<PHONE_NUMBER>0,<PHONE_NUMBER>11616,<PHONE_NUMBER>64104,
<PHONE_NUMBER>63904,<PHONE_NUMBER>25584,<PHONE_NUMBER>39232, 0,<PHONE_NUMBER>25584, 4386328}}, sa_flags = 22167552, sa_restorer = 0x42ee18}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f0c00052bd7 in __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x42ee18 "zfs->fs_super->sb_flags & LC_SUPER_INIT", file=file@entry=0x42eaf5 "fs.c",
    line=line@entry=308, function=function@entry=0x42f2a0 <__PRETTY_FUNCTION__.7725> "lc_removeLayers") at assert.c:92
        str = 0xf695f70 ""
        total = 4096
#3  0x00007f0c00052c82 in __GI___assert_fail (assertion=0x42ee18 "zfs->fs_super->sb_flags & LC_SUPER_INIT", file=0x42eaf5 "fs.c", line=308,
    function=0x42f2a0 <__PRETTY_FUNCTION__.7725> "lc_removeLayers") at assert.c:101
No locals.
#4  0x000000000041097e in lc_removeLayers (gfs=0x24e8000, fs=0x25f8d80, gindex=98) at fs.c:308
        zfs = 0x6c3db00
        __PRETTY_FUNCTION__ = "lc_removeLayers"
#5  0x0000000000410cce in lc_getLayerForRemoval (gfs=0x24e8000, root=27584547717764810, fsp=0x7f0bf8349a08) at fs.c:368
        ino = 120522
        gindex = 98
        fs = 0x25f8d80
        __PRETTY_FUNCTION__ = "lc_getLayerForRemoval"
        __func__ = "lc_getLayerForRemoval"
#6  0x0000000000426c28 in lc_removeRoot (rfs=0x25f8000, dir=0x2aeea80, ino=120522, rmdir=true, fsp=0x7f0bf8349a08) at layer.c:222
        root =<PHONE_NUMBER>7764810
#7  0x0000000000419ed9 in lc_dirRemoveName (fs=0x25f8000, dir=0x2aeea80, name=0x7f0bf8349a70 "e557391afb5dd28f1545d6797488714f17c2536576b3a1d65f42e298515a1177", rmdir=true, fsp=0x7f0bf8349a08,
    layer=true) at dir.c:579
        ino = 120522
        parent = 1023
        dirent = 0x1bc74450
        prev = 0x4e61860
        gfs = 0x24e8000
        len = 64
        err = -130770480
        rfs = 0x24e8000
        __PRETTY_FUNCTION__ = "lc_dirRemoveName"
        __func__ = "lc_dirRemoveName"
#8  0x0000000000426e13 in lc_deleteLayer (req=0x267b780, gfs=0x24e8000, name=0x7f0bf8349a70 "e557391afb5dd28f1545d6797488714f17c2536576b3a1d65f42e298515a1177") at layer.c:264
        fs = 0x0
        rfs = 0x25f8000
        bfs = 0x0
        zfs = 0x0
        extents = 0x0
        pdir = 0x2aeea80
        start = {tv_sec =<PHONE_NUMBER>, tv_usec = 866516}
        err = 0
        root = 16877
---Type <return> to continue, or q <return> to quit---
        __func__ = "lc_deleteLayer"
#9  0x000000000040a0b7 in lc_ioctl (req=0x267b780, ino=1023, cmd=1077936231, arg=0xc82012bc00, fi=0x7f0bf8349b80, flags=16, in_buf=0x1f4e6048, in_bufsz=64, out_bufsz=0) at fops.c:1530
        name = "e557391afb5dd28f1545d6797488714f17c2536576b3a1d65f42e298515a1177"
        layer = 0x1 <error: Cannot access memory at address 0x1>
        parent = 0x0
        gfs = 0x24e8000
        value =<PHONE_NUMBER>5551202
        len = 140514
        op = 103
        __PRETTY_FUNCTION__ = "lc_ioctl"
        __func__ = "lc_ioctl"
#10 0x00007f0c00835f32 in do_ioctl (req=<optimized out>, nodeid=<optimized out>, inarg=<optimized out>) at fuse_lowlevel.c:1758
        flags = <optimized out>
        in_buf = <optimized out>
        fi = {flags = 0, writepage = 0, direct_io = 0, keep_cache = 0, flush = 0, nonseekable = 0, flock_release = 0, padding = 0, fh = 45017728, lock_owner = 0, poll_events = 0}
#11 0x00007f0c00838cd1 in fuse_session_process_buf_int (se=0x24f4380, buf=0xf0b8840, ch=<optimized out>) at fuse_lowlevel.c:2546
        bufv = {count = 1, idx = 0, off = 0, buf = {{size = 136, flags = (unknown: 0), mem = 0x1f4e6000, fd = 26, pos = 0}}}
        tmpbuf = {count = 1, idx = 0, off = 0, buf = {{size = 80, flags = (unknown: 0), mem = 0x0, fd = -1, pos = 0}}}
        in = 0x1f4e6000
        inarg = 0x1f4e6028
        req = 0x267b780
        mbuf = 0x0
        err = <optimized out>
        res = <optimized out>
#12 0x00007f0c00834371 in fuse_do_work (data=0xf0b8820) at fuse_loop_mt.c:159
        isforget = 0
        res = 136
        w = 0xf0b8820
        mt = 0x7ffed2a9bde0
#13 0x00007f0c003f66ba in start_thread (arg=0x7f0bf834a700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f0bf834a700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139689385568000,<PHONE_NUMBER>476702548, 0,<PHONE_NUMBER>42991, 8388608, 40172064, -1359173059717367468, -1356481400723080876}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#14 0x00007f0c0012c3dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
(gdb)

Note I'm using bleeding edge docker build:
# grep docker /etc/apt/sources.list
deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable edge test
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable edge test

root@ubuntu-2gb-nyc1-01:~/go/src/github.com/docker/docker# dpkg -l docker-ce
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                        Version                    Architecture               Description
+++-===========================================-==========================-==========================-============================================================================================
ii  docker-ce                                   17.07.0~ce~rc4-0~ubuntu    amd64                      Docker: the open-source application container engine
root@ubuntu-2gb-nyc1-01:~/go/src/github.com/docker/docker# docker --version
Docker version 17.07.0-ce-rc4, build fe143e3

Let me know if there's anything I can help with

I could not reproduce the crash on my system with the version of docker I have installed on it.  Let me try with the latest version of docker.  The assertion in LCFS is fired because a read-write layer does not have a parent init layer, as expected.  Normally, Docker creates an init layer before creating a read-write root image layer for a container.
By the way, just curious why you are not using our installation scripts for setting up lcfs.  That is a single line command which will set up docker with lcfs and you don't have to run individual commands manually to get going.

Seems like I have a similar problem. lcfs seems to work for about 200 layers and then constantly crashes with a segfault. SMP machine with 4 sockets and 64 threads .. waybe a threading issue ?


Identify "finished" notebooks and pin them to versions of HARK

Per discussions on issue #43 and PR #50, the only way to have multiple notebooks in a repository that use different versions of HARK is to add a cell to the top of the notebooks installing the desired version, which would look something like:
%%capture
! pip install econ-ark==0.10.whatever

(The %%capture is there to prevent the installation's progress from displaying within the notebook -- it suppresses all output.)
Once we do this, we can set the default in the repository to be the latest stable release.  Any notebooks that are not "finished" and pinned to an older version will automatically be updated to the new release, and we can test them when that happens.

That solution would be fine for notebooks that are being run on transient machines in the cloud.  But it occurs to me that it is kind of rude for the notebook to install something, maybe something very large, on the user's machine without even asking permission.
Maybe a more robust solution: For  "pinned" notebooks, there should be a test for the availability of the particular version needed; if it does not exist, then the user should be asked whether it is OK to install it.  (If it does exist, then the pip install is not necessary, but does no harm (=takes little time).  I take it that the reason to do it regardless is that the process of installing puts the correct version of python in the path?

I see what you're saying, but the user will have installed econ-ark already, this is just a different version.
The process of installing puts the correct version of Hark on the path.

Well, they might not have installed it at all, right?  They might just have downloaded a notebook without realizing they would need to install HARK to run it.  When they learn they will need to install a software package on their computer they might decide that it's not worth it.

If they want to run our notebooks, they'll need to install HARK, there's no way around that for us.  Currently this is done by installing things in the requirements.txt.

My point is that if they download a notebook without having installed HARK (and therefore obviously haven't understood how the whole thing works), they might change their mind and decide they don't want to run the notebook after all because they don't want to install another package on their computer.

But they can't run the notebook anyway without installing HARK.  So if they don't want to install another package there's nothing we can do that will end up with them running the notebook locally - we can only point them to hosted solutions.
Is your worry that you think it's harder to get consent for installing HARK when doing so from inside the notebook, whereas users are explicitly consenting when they run pip install requirements.txt from the command line?  If not, can you explain again from the beginning, I feel like we're talking past each other here and I'm quite confused.

I think our difficulty communicating on this is that you are assuming that
people who come across our notebooks have much more knowledge than they do
(or at least some of them do) about how the whole python/Jupyter/open
source world works.
Everything you say is right from the perspective of someone who knows the
rudiments.  But a lot of first year PhD students in economics, and even
considerable numbers of faculty who are new to the area:

Have never heard of Jupyter notebooks
Have no idea what a requirements.txt file is
Would not know how to pip install requirements.txt
Have very little space left on the default storage of their computer

This last is extremely common among grad students

Software that installs 500mb (or however much is required to satisfy our
requirements.txt file for a machine with none of it -- like Windows
machines)  might be perceived more as malware and bloat than as useful
additions to their computer's capabilities.
Having, myself, regretted installation of a lot of stuff that I never used
again, I have an aversion to setting things up in such a way that large
blocks of code are installed on a person's computer without them really
knowing what is going on.
This is another reason to prefer could-based hosting ...
On Wed, Aug 7, 2019 at 1:17 PM Shauna<EMAIL_ADDRESS>wrote:

But they can't run the notebook anyway without installing HARK. So if they
don't want to install another package there's nothing we can do that will
end up with them running the notebook locally - we can only point them to
hosted solutions.
Is your worry that you think it's harder to get consent for installing
HARK when doing so from inside the notebook, whereas users are explicitly
consenting when they run pip install requirements.txt from the command
line? If not, can you explain again from the beginning, I feel like we're
talking past each other here and I'm quite confused.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/DemARK/issues/51?email_source=notifications&email_token=AAKCK7ZO37R5QCOOXQ6FXGDQDL7ULA5CNFSM4IGJG36KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZDODQ#issuecomment-519190286,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKCK7YY5BIZTU53UUJKJCTQDL7ULANCNFSM4IGJG36A
.

--

Chris Carroll

I can't find evidence that Jupyter notebooks allow popups but I'll look harder tomorrow.  If you're okay with cluttering the top of the notebooks a little bit, an alternative would be:
# hark installation code
if HARK is not installed:
  raiseError("HARK needs to be installed to run this notebook.  To install HARK, please remove the hash symbol from the following line and re-run the notebook.  If you do not want to install HARK on your computer, try running this notebook on the cloud at the following URL: ")

Raising the error will cause the contents of the error to show up when you run the notebook.   This will be annoying for some people but you can't customize for every user.
This also makes it harder to do the pinned version override.  Up to you what you care about more and which experiences you're trying to optimize.

Jupyter notebooks can definitely be interactive and your solution is exactly the kind of thing I had in mind.
And you are right that the key question is balancing simplicity versus other requirements.
Unfortunately, we already need a fair amount of preamble/setup stuff to make sure that our .ipynb Jupyter notebooks generate flawlessly functioning *.py files that can be executed via a ipython [x].py command.  So adding one more item does not seem too awful.

This issue is resolved with having pinned versioned released of the DemARK with HARK releases, further discussion in https://github.com/econ-ark/DemARK/issues/108
@shaunagm @llorracc we should close this issue.


[IMPORTANT NOTIFICATION] Transition from Angular to React in OpenSearch Dashboards - Action Required

Description
As part of our ongoing efforts to improve the OpenSearch Dashboards' performance, maintainability, and developer experience, we have decided to de-angularize the dashboard.
This change will impact all plugins that use the OpenSearch Dashboard dashboard and require your attention to ensure the compatibility and performance of your plugins. If your plugin has nothing to do with dashboard, please close the issue.
We suggest a thoroughly test of your plugin on new dashboard. Here are some steps:

Pull this feature branch https://github.com/opensearch-project/OpenSearch-Dashboards/tree/feature/deangular-dashboards.

Install and start your plugin.

Run all the tests. Also recommend to do manual tests.

We understand that this transition may require significant work on your part, and we are here to support you during this process. If there is any concerns or issues, feel free to comment here. If there is a bug, please also add it to https://github.com/opensearch-project/OpenSearch-Dashboards/issues/4505.

Not specifically related to the Dashboard Deangular project:
https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3964, removed the tag that the reporting plugin was utilizing to embed their button.
@joshuarrrr created an issue for this problem:
https://github.com/opensearch-project/dashboards-reporting/issues/118 as support for integrating actions to this menu has been apart of the application for a while.

Closing this similar to other repos: https://github.com/opensearch-project/dashboards-observability/issues/616. The menu issue can be raised separately, thanks!


localize for jalali calender

please support for Persian date (jalali calender) and select calender type in js file.
for more information:
https://github.com/farhadi/JalaliJSCalendar
https://github.com/search?utf8=✓&q=jalali

+1

+1

+1

+1

+1

+1

You're all aware Github have added the thumbs up emoji to rid off these +1s

+1

+1


Let's Encrypt Rate limits

Hi,
The webpage ACME Certificate Authorities states for Let's Encrypt: Rate limits apply (hard - not user changeable)
But the Let's Encrypt Documentation states, that one can request higher limits - at least hosters and companys can apply for higher limits:
https://letsencrypt.org/docs/rate-limits/
If you are a large hosting provider or organization working on a Let’s Encrypt integration, we have a rate limiting form that can be used to request a higher rate limit. It takes a few weeks to process requests, so this form is not suitable if you just need to reset a rate limit faster than it resets on its own.
Okay, you could now argue that this offer is not available for EndUSERs, but a single user will hardly reach the normal limits. If you do, you should consider to found a company :)
I would kindly ask to update the webpage, since it is not a hard limit.

Sorry, missed this issue - fixed now https://github.com/webprofusion/acme-clients/commit/d24304cd90e8a0c5dd577c78d4ae4475deaabf6b


Test Serving Fail     device = rank%len(device_list) ZeroDivisionError: integer division or modulo by zero

I have 3 V100 GPUs.
$ cd examples/serving/reddit
$ python prepare_data.py
$ python reddit_serving.py

root@df7d0cf2237d:~/share/torch-quiver/examples/serving/reddit# python prepare_data.py
Downloading https://data.dgl.ai/dataset/reddit.zip
Extracting /root/share/torch-quiver/examples/serving/reddit/data/raw/reddit.zip
Processing...
Done!
neighbour_num file not exists
intermediate_path created
Traceback (most recent call last):
  File "/root/share/torch-quiver/examples/serving/reddit/prepare_data.py", line 41, in <module>
    quiver.generate_neighbour_num(node_num, edge_index, sizes, intermediate_path, parallel=True, mode='GPU', device_list=device_list, num_proc=4, reverse=reverse)
  File "/root/share/torch-quiver/srcs/python/quiver/generate_neighbour_num.py", line 27, in generate_neighbour_num
    parallel_generate_neighbour_num_GPU(node_num, edge_index, sizes, resultl_path, device_list, num_proc, reverse, sample)
  File "/root/share/torch-quiver/srcs/python/quiver/generate_neighbour_num.py", line 65, in parallel_generate_neighbour_num_GPU
    mp.spawn(
  File "/opt/conda/lib/python3.10/site-packages/torch/multiprocessing/spawn.py", line 240, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/opt/conda/lib/python3.10/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
    while not context.join():
  File "/opt/conda/lib/python3.10/site-packages/torch/multiprocessing/spawn.py", line 160, in join
    raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 3 terminated with the following error:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
    fn(i, *args)
  File "/root/share/torch-quiver/srcs/python/quiver/generate_neighbour_num.py", line 38, in single_generate_neighbour_num
    device = rank%len(device_list)
ZeroDivisionError: integer division or modulo by zero

I run seperately
        device_list = [i for i in range(torch.cuda.device_count())]
        print(device_list)

it shows [0,1,2]
But in the program device list  is empty, []
This seems because my quiver cannot detect GPU.
  File "/opt/conda/lib/python3.10/site-packages/torch/cuda/__init__.py", line 229, in _lazy_init
    torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available

When I try to run
python reddit_serving.py
It shows
Process Process-30:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/root/share/torch-quiver/srcs/python/quiver/serving.py", line 120, in cpu_sampler_worker_loop
    os.sched_setaffinity(0, [2*(cpu_offset+rank)])
OSError: [Errno 22] Invalid argument
Process Process-35:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/root/share/torch-quiver/examples/serving/reddit/reddit_serving.py", line 53, in print_result
    os.sched_setaffinity(0, [2*(cpu_offset+rank)])
OSError: [Errno 22] Invalid argument

This is because  os.environ['CUDA_VISIBLE_DEVICES'] = '6, 7'


Recursive call or synchronization error

After updating to RxSwift 3.4.1 I'm getting the following warning (fatal error in #DEBUG mode):
fatal error: Warning: Recursive call or synchronization error!: file /Users/askielboe/work/DeviceMotion/Pods/RxSwift/RxSwift/Observables/Create.swift, line 43
2017-05-22 10:05:00.035696+0200 DeviceMotion[3500:779034] fatal error: Warning: Recursive call or synchronization error!: file /Users/askielboe/work/DeviceMotion/Pods/RxSwift/RxSwift/Observables/Create.swift, line 43

I can reproduce this in a clean Xcode project, by allowing the device motion subscription to run for a while, using the following code:
struct MotionManager {
    static func motionObservable() -> Observable<CMDeviceMotion> {
        return CMMotionManager.rx.manager()
            .flatMapLatest { manager in
                manager.deviceMotion ?? Observable.empty()
            }
    }
}

class ViewController: UIViewController {

    let disposeBag = DisposeBag()

    override func viewDidLoad() {
        super.viewDidLoad()

        MotionManager.motionObservable()
            .buffer(timeSpan: 1, count: 0, scheduler: MainScheduler.instance)
            .subscribe(onNext: { deviceMotion in
                NSLog("Next device motion.")
            })
            .disposed(by: disposeBag)
    }
}

The error is also reproduced in the RxCoreMotionExample project on the current master HEAD by navigating to the DeviceMotionViewController, and letting the subscription run for a few minutes.
Related RxSwift issues:

https://github.com/ReactiveX/RxSwift/issues/1202
https://github.com/ReactiveX/RxSwift/issues/1201
https://github.com/ReactiveX/RxSwift/issues/1192

My environment:
macOS 10.12.4
Xcode 8.3.2
iOS 10.3.2
cocoapods 1.2.1
RxSwift 3.4.1
RxCoreMotion 1.1.1
iPhone 7

The stack trace Pinpoint the issue at RxCoreMotion.swift:L61
The trace is super-slim here so I have no real idea what causes this. I imagine its because values are pushed extremely quickly (and in bulk) to the Observer, but this smells like a bug to me.
Adding a NSRecursiveLock around around it seems to solve it but I'm not sure if its a bandaid or a correct solution so would defer to @kzaher here, e.g.
motionManager.startGyroUpdates(to: OperationQueue(), withHandler: { (data: CMGyroData?, error: Error?) -> Void in
    let _lock = NSRecursiveLock(); defer { _lock.unlock() }
    guard let data = data else {
        return
    }
    _lock.lock()
    observer.on(.next(data.rotationRate))
})

Ok, I take it back. The recursive lock got it to run for much longer but eventually it still crashed with the same issue. I'm not 100% sure what's the issue but I hope Krunoslav could share his thoughts.

@askielboe I pushed a PR to fix this, would you mind trying it locally to see if it resolve your issue ?

Seems to be working. Thanks for responding quickly to this. 👍
Is there a reason you've only added maxConcurrentOperationCount = 1 to the gyro updates? I guess you'll need to add it for for all the observables. :)
While testing this I found a few issues with the Examples project which I've fixed here: https://github.com/RxSwiftCommunity/RxCoreMotion/pull/16.

@askielboe  Yeah. This new error from RxSwift 3.4 and above means (in this case): there are two values being emitted at the same time. To prevent this we make OperationQueue serial by declaring it can only have 1 concurrent task and by that one concurrent emission.

Excellent. Thanks for fixing this!


Nextjs Page Router example not working

[ ] Example not working in stackblitz

This issue is not from our end. Stack Blitz's Nextjs starter template is also not working.


Update Submit Logic for Account Settings Page

Do all work for this issue in a branch called issue-55.
Update change submission logic for account settings changes so it properly submits to and updates the correct collection.
For password changes, force user to input password twice and check if the passwords are the same.

Admins can submit changes for all fields.
Users are currently unable to change any fields.

Users and Admins can modify their account information.


Update active-directory-service-limits-include.md

Added a note about (monitoring) Application Proxy's performance counters.

@rolyon
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @austinauyeung
Thanks for taking the time to provide a contribution. We'll work on getting your updates merged.
thanks

#sign-off


add: Cost functions depend on input length for more functions

Fixes #16
We add dependence on input size for the following functions:
cost_fetch_entry
cost_set_entry
cost_fetch_var
cost_set_var
cost_list_cons
cost_hash160
cost_sha256
cost_sha512
cost_sha512t256
cost_keccak256
cost_print

I have graphed the data from the functions changed in this PR. First of all, I assessed the goodness of a linear fit using an R^2 test:
https://docs.google.com/spreadsheets/d/1aZd546onPBoTFeYmpsFUSCyuWoddgPkbiWwgIrHs6AE/edit#gid=438584037
The results are here
cost_list_cons | 0.9997255645
cost_keccak256 | 0.9989829175
cost_hash160 | 0.9982778497
cost_sha256 | 0.9980671802
cost_sha512 | 0.9960817095
cost_sha512t256 | 0.9951421714
cost_print | 0.9792520071            <----- last linear value
cost_set_entry | 0.1130263704     <----- not that linear
cost_fetch_var | 0.03193181877
cost_set_var | 0.005442961763
cost_fetch_entry | 0.001998854447

As we can see, a linear fit is very explanatory for 7/11 of the functions, but then it starts to drop off for the others.
I've attached graphs of the linear fit for these curves. We see the same story as with the R^2. For some functions, it's not that great of a fit.
PR 20 images.zip
.

Seems like there are a lot of errors in here :/, so will close for Reed to salvage what he can.


Execute sql when ctrl + enter pressed

This shortcut helps execute SQL more comfortable.
Test on https://kyle-john.github.io/sqlite-viewer/

And I update your favicon.

Thanks for the contribution.


Is nes-py available in Anaconda environment?

I would like to know if users can install nes-py package in Anaconda environment?
For example conda install -c forge nes-py.

I only officially release nes-py to pypi (installed using pip) at the current time. I don't really use conda so I'm not really familiar with how the conda package manager works.

If it is not available, it can be installed by cloning and running python setup.py install from within the conda environment.


Wrong SCS code sent by osdp_pd?

I'm using OSDP.Net library to check your library and I had problems with Secure Channel.
Changing osdp_pd.c with:
diff --git a/src/osdp_pd.c b/src/osdp_pd.c
index 5e5b997..02c63d7 100644
--- a/src/osdp_pd.c
+++ b/src/osdp_pd.c
@@ -330,7 +330,7 @@ int pd_build_reply(struct osdp_pd *p, struct osdp_data *reply, uint8_t * pkt)

 	if (smb && (smb[1] > SCS_14) && isset_flag(p, PD_FLAG_SC_ACTIVE)) {
 		smb[0] = 2;
-		smb[1] = (len > 1) ? SCS_17 : SCS_15;
+		smb[1] = (len > 1) ? SCS_18 : SCS_16;
 	}

 	if (len == 0) {

it works.
Is it correct?

Hi @z8a,  that is indeed a bug. Thanks for reporting it. Since you did the work of finding it, do you want to raise a PR for this?
If you don't want to, let me know and I will make this commit for you.

A bit of background on how this bug managed to slip by all the testing (for my own reference). phy_decode_packet() was written to be reused between CP and PD so it was doing a more relaxed check at two places that allowed for this to happen.
Relaxed check on SCS_15 at osdp_phy.c line 310
	if (isset_flag(p, PD_FLAG_SC_ACTIVE) &&
		pkt->control & PKT_CONTROL_SCB &&
		pkt->data[1] >= SCS_15)
	{

Relaxed check on SCS_17 or SCS_18 at osdp_phy.c line 325
	if (pkt->data[1] == SCS_17 || pkt->data[1] == SCS_18) {

TODO: must fix these checks so we can catch faulty PDs.


Update README.md to include webpack/babel install

Webpack/babel dependencies are not correctly picked up when adding the package, at least with yarn. For someone who does not have both packages installed per the official documentation, they will enter a dependency rabbithole trying to get things working.

thanks!


IProvisioningExtensibilityProvider gets ClientContext with parent web

I created a custom provider in the provisioning framework to handle some missing features. When I implement the function IProvisioningExtensibilityProvider.ProcessRequest, I receive a parameter ClientContext. In this context object I found that context.Web is the parent web of the web that is being provisioned at that moment.
I expect a ClientContext object where context.Web is the web currently being provisioned.
As a workaround I am sorting context.Web.Webs by web.Created and continue with the last web in the list, which is quite safe in my scenario.

@erwinvanhunen, @PaoloPia - is this expected behavior or bug?

Maybe it's a bug. Just wondering if it happens while provisioning a Site Collection or a Sub-Site. @Crispify can you help me to fi gure out the scenario? Thanks.

It's a sub-site on a second level:
Site Collection
-> Sub-Site in the ClientContext
-> Sub-Site being provisioned

This issue was moved to OfficeDev/PnP-Sites-Core#774


Difference in FFN Implementation Between Official PatchTST Repo and Reimplementation

Dear authors,
Thank you for your excellent repository.
Upon reviewing the code, I noticed a difference in the implementation of the feed-forward network (FFN) between the official PatchTST repository and the reimplementation in this repository.
In the official PatchTST repository, as shown below, the authors implement the FFN using two layers of MLP:
https://github.com/yuqinie98/PatchTST/blob/204c21efe0b39603ad6e2ca640ef5896646ab1a9/PatchTST_supervised/layers/PatchTST_backbone.py#L220-L224
However, in this repository, the reimplementation of PatchTST uses two layers of Conv1D instead of MLPs for the FFN, as shown in the following code snippets:
https://github.com/thuml/Time-Series-Library/blob/3204cdd9b89ad470cef6e17c94f9b0925c332598/models/PatchTST.py#L52-L65
https://github.com/thuml/Time-Series-Library/blob/3204cdd9b89ad470cef6e17c94f9b0925c332598/layers/Transformer_EncDec.py#L27-L51
Could you please clarify the reason for this discrepancy? I would appreciate any insights or comments you can provide.
Thank you!
Sincerely,
Ironieser

Hi, thanks for your detailed question.
In our implementation, we adopt the conv with a kernel size of 1, which is equal to nn.Linear. Please see https://pytorch.org/docs/stable/generated/torch.ao.nn.quantized.Conv1d.html#conv1d . Thus, I think these two implementations are the same.


Startup segfault on Alpine-based Docker image

When running with Docker the program receives a Segmentation fault error. This also occurs when not running with TLS.
AMQPS
The AMQP protocol that connects to RabbitMQ runs without TLS (SSL). This makes the AMQP less secure but also could create errors when trying to connect to a RabbitMQ queue as the connection can't be established, if for example a company requires TLS. When I used AMQP a connection to the server couldn't be established.
Docker
When using AMQPS protocol and with the current Dockerfile Segmentation fault occurs. Could be Alpine based images that does this. When used with Debian based images in the Dockerfile it works. Not sure why exactly.
System logs
This is the output when running with your current Dockerfile on a Debian distro with AMQPS
docker run --rm -it eiffelvis -q QUEUE -r amqps://RMQ-ADDRESS
/docker-entrypoint-nginx.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint-nginx.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint-nginx.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
/docker-entrypoint-nginx.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint-nginx.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint-nginx.sh: Configuration complete; ready for start up
2022/06/15 14:56:19 [notice] 7#7: using the "epoll" event method
2022/06/15 14:56:19 [notice] 7#7: nginx/1.21.6
2022/06/15 14:56:19 [notice] 7#7: built by gcc 10.3.1 20211027 (Alpine 10.3.1_git20211027)
2022/06/15 14:56:19 [notice] 7#7: OS: Linux 5.10.0-15-amd64
2022/06/15 14:56:19 [notice] 7#7: getrlimit(RLIMIT_NOFILE): 64000:64000
2022/06/15 14:56:19 [notice] 32#32: start worker processes
2022/06/15 14:56:19 [notice] 32#32: start worker process 33
2022/06/15 14:56:19 [notice] 32#32: start worker process 34
2022/06/15 14:56:19 [notice] 32#32: start worker process 35
2022/06/15 14:56:19 [notice] 32#32: start worker process 37
2022/06/15 14:56:19 [notice] 32#32: start worker process 38
2022/06/15 14:56:19 [notice] 32#32: start worker process 39
2022/06/15 14:56:19 [notice] 32#32: start worker process 40
2022/06/15 14:56:19 [notice] 32#32: start worker process 41
2022-06-15T14:56:19.110654Z  INFO eiffelvis_http: Binding to <IP_ADDRESS>:3001 without tls
Segmentation fault (core dumped)

NOTE: Im using Debian distro

So just to confirm, debian works and alpine does not?
I can do a round of updating our dependencies etc later but otherwise not sure what to do with it.
Out of curiosity what brought you to this repo? student / intern at Axis by any chance?

Yes debian works
Yes im a student at Axis and we are planning to use this at our department

OK, I'll do a round of maintenance in any case then; we haven't touched the project for a while :)
Good to hear Axis still has interests in the project, feel free to send us questions etc.

@Stronkness Could you try and build my branch at #102 and see if it works on alpine? (we dont have a tls instance available atm)
I removed the dependency on openssl and we expect it might work better as its pure rust then.

@RuthgerD Yes, this branch works on my machine with Docker. No Segmentation fault spotted!
Good job!

fixed by #102

Hi again. This error occurs now again. Have you changed anything regarding this?

Is it also exclusive to Alpine?

I believe so yes

Might be e2b4928b06ff1ab4a0919a04ab34569b4ae42daa that reintroduced something again.
We can try building with musl on a non alpine distro to see if that triggers the same bug:
rustup target add x86_64-unknown-linux-musl
cargo run --target=x86_64-unknown-linux-musl

If possible can a coredump be extracted from this?

I don't know how to extract a core dump honestly. Possible to give a quick introduction?

I apologize for this, i ran the wrong version...


Gadget stops responding when changing the name

Gadget stops responding when changing the name

at the point when the name gets changed/saved

HW 2.4

FW: 2.8.0 beta

Happens only with name change? Other settings change (and save) fine?

happened with all 3 boards that i tested - just when name was changed

Please try with 0.5.1


Update: stevencohn.OneMore version 3.11

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


⚠ ClamAV has degraded performance

In 9028233, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 222 ms

Resolved: ClamAV performance has improved in 24de986.


The read_csv not support glob

Only scan_csv support patterns in the path.
It should be fixed https://github.com/pola-rs/polars-book/blob/master/user_guide/src/examples/multiple_files/single_df.py

Thanks @stalkerg - I'm closing as this isn't seem to the case - I've just tested with some files to make sure.
Please reply if you think this is an error

in that case documentation was wrong, sorry


DatabaseCleaner.clean sometimes fails with undefined method "database_type"

For some reason DatabaseCleaner.clean fails occasionally with this error:
  Failure/Error: DatabaseCleaner.clean
  NoMethodError:
    undefined method `database_type' for :default:Symbol
  # /Users/jwilcox/.rvm/gems/ruby-2.3.1/gems/database_cleaner-1.5.3/lib/database_cleaner/sequel/truncation.rb:58:in `txid'
  # /Users/jwilcox/.rvm/gems/ruby-2.3.1/gems/database_cleaner-1.5.3/lib/database_cleaner/sequel/truncation.rb:54:in `dirty?'
  # /Users/jwilcox/.rvm/gems/ruby-2.3.1/gems/database_cleaner-1.5.3/lib/database_cleaner/sequel/truncation.rb:15:in `clean'
  # /Users/jwilcox/.rvm/gems/ruby-2.3.1/gems/database_cleaner-1.5.3/lib/database_cleaner/base.rb:92:in `clean'
  # /Users/jwilcox/.rvm/gems/ruby-2.3.1/gems/database_cleaner-1.5.3/lib/database_cleaner/configuration.rb:79:in `block in clean'
  # /Users/jwilcox/.rvm/gems/ruby-2.3.1/gems/database_cleaner-1.5.3/lib/database_cleaner/configuration.rb:79:in `each'
  # /Users/jwilcox/.rvm/gems/ruby-2.3.1/gems/database_cleaner-1.5.3/lib/database_cleaner/configuration.rb:79:in `clean'
  # ./spec/spec_helper.rb:48:in `block (2 levels) in <top (required)>'

I am using the Sequel gem and have rspec configured with
  config.before(:suite) do
    DatabaseCleaner.strategy = :truncation
  end

  config.after(:each) do |example|
    DatabaseCleaner.clean
  end

The tests that fail are not even using and database operations, they are just unit tests

here is a pry from within where i fails
    57:       def txid
 => 58: binding.pry
    59:         case db.database_type
    60:         when :postgres
    61:           db.fetch('SELECT txid_snapshot_xmax(txid_current_snapshot()) AS txid').first[:txid]
    62:         end
    63:       end

[1] pry(#<DatabaseCleaner::Sequel::Truncation>)> db
=> :default

I am unsure what "default" is in this instance

Stumbled upon the same issue. And you gave me a hint:

The tests that fail are not even using and database operations, they are just unit tests

Turns out that it happens when you don't establish a database connection. Once you issue a Sequel.connect call, it all works fine.

I'm having this problem too.  It's repeatable for specific run orders with a --seed.  The specific error that I got for anyone searching is:
NoMethodError: undefined method `rollback' for nil:NilClass

I'm using database_cleaner v1.6.1, which is currently the latest release.
What's the best way to fix this?  It seems like creating a connection unnecessarily is not ideal.

I am getting this error randomly in rails 5.1

My quick and dirty solution was to use an ENV var:
unless ENV["NO_DB"]
   # Cleaning the database
   config.before(:suite) do
     DatabaseCleaner.orm = "sequel"

     DatabaseCleaner.strategy = :transaction
     DatabaseCleaner.clean_with :truncation
     #Sequel::Migration.descendants.each{|m| m.apply(DB, :up)}
   end

   config.before(:each, :db => true) do
     # open transaction
     DatabaseCleaner.start
   end

   config.after(:each, :db => true) do
     DatabaseCleaner.clean
   end
 end

And then in the specs that don't need the database:
ENV["NO_DB"] = "true"
require 'spec_helper'

Regards,
iain

Seeing the same issue in Codeship with version 1.7.0. Clearing the build cache temporarily fixes the issue. Any new insight/workaround?

@benoror Can you reduce it down to a repo you can share that reproduces the problem? I'd be happy to get to the bottom of it.

Hey @botandrose thanks for the reply. I will try to have something soon that can replicate the issue, but I noted if happens randomly. For now, not sure if this could help, but here's our only place where we run DatabaseCleaner (for some reason is in the same initializer as factory_bot_rails' 🙈 ):
# https://github.com/thoughtbot/factory_bot_rails
RSpec.configure do |config|
  config.include FactoryBot::Syntax::Methods

  config.before(:suite) do
    begin
      DatabaseCleaner[:active_record].strategy = :transaction
      DatabaseCleaner.clean_with(:truncation)
      DatabaseCleaner.start
      FactoryBot.lint
    ensure
      DatabaseCleaner.clean
    end
  end

  config.before(:each) do
    DatabaseCleaner.strategy = :transaction
    DatabaseCleaner.start
  end

  config.after(:each) do
    DatabaseCleaner.clean
  end
end

In our case it seems that there was a race condition between starting transactions with DatabaseCleaner.start and closing it with DatabaseCleaner.clean in two different (async?) RSpec config hooks: before(:suite) and .before(:each), as wometimes would attempt to rollback a transaction which was already rollbacked.
I based on existing examples from DatabaseCleaner & FactoryBot, and split them to make them play well together, by surrounding the FactoryBot.lint synchronously by DatabaseCleaner transaction opening and closing:

https://github.com/DatabaseCleaner/database_cleaner#rspec-example
https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#linting-factories

*The :around and cleaning syntax blocks didn't seem to work, might be an issue with our RSpec version

spec/support/database_cleaner.rb
RSpec.configure do |config|
  config.before(:suite) do
    DatabaseCleaner.strategy = :transaction
    DatabaseCleaner.clean_with(:truncation)
  end

  config.before(:each) do
    DatabaseCleaner.start
  end

  config.after(:each) do
    DatabaseCleaner.clean
  end
end

spec/support/factory_bot.rb
RSpec.configure do |config|
  config.include FactoryBot::Syntax::Methods

  config.before(:suite) do
    DatabaseCleaner.start
    FactoryBot.lint
    DatabaseCleaner.clean
  end
end

NVM, failed again inside the CI (Codeship), trying this workaround instead: https://github.com/darren987469/membership-system/issues/19#issuecomment-445713259


Add Phone Number Field Validation to avoid incorrect informations

Subject of the issue
Many people entering a place or other alphabet characters in the field of "Phone". Please add phone number validation to the input field.
Your environment

Python 3.6.5
Chrome
Android/Linux/Windows

Steps to reproduce
Apply some condition checks. After only it must be stored in DB.
Expected behavior
Check for input whether it is number and length at least 10.
Actual behaviour
Accept every character as input
###Links
https://keralarescue.in/request_details/25138/
https://keralarescue.in/request_details/24203/

Guys!
I don't know much about git.! Worked on svn.
So I am just giving a suggestion.
Db level RegexValidator for Phone Number Validations can help.! Hereby giving the phone number validation. Model
` phone_regex = RegexValidator(regex=r'^\s*(?:+?(\d{1,3}))?[-. (](\d{3})[-. )](\d{3})[-. ]*(\d{4})(?: x(\d+))?\s$', message="Phone number must be entered in the format: '+999999999'. Up to 15 digits allowed.")
phone_number = models.CharField(validators=[phone_regex], blank=True, max_length=20)`

I have started working on this issue- Server side validation for phone number

Multiple PRs exists using Django Validators, @ridha

This is fixed  in #581


Replace the SRV mechanism in ROS2

This is a problem encountered in porting NDT algorithm from ROS2 ecosystem to DORA framework.
The SRV mechanism provided in ROS2 accepts the service request sent by the client and send back the response.
It is known the NDT algorithm requires GNSS signal or manual initial position assignment before it works, and the NDT algorithm is sensitive to the error of the given initial position, while the GNSS (without RTK) signal or manual initial position generally has an error of 2-10 meters, so the Particle filter + NDT algorithm is used to find an accurate position near the given initial position.
In the implementation of the autoware.universe's location module, the process of obtaining the exact initial pose is provided by a SRV mechanism, i.e. the serviceNDTAlign service in ndt_scan_matcher_core.cpp.  The call to the serviceNDTAlign service is made in the pose_initializer package. Extract the relevant codes as follows:
// pose_initializer_core.cpp
void PoseInitializer::on_initialize(
  const Initialize::Service::Request::SharedPtr req,
  const Initialize::Service::Response::SharedPtr res)
{
    // ...
    try {
        change_state(State::Message::INITIALIZING);
        auto pose = req->pose.empty() ? get_gnss_pose() : req->pose.front();
        if (ndt_) {
            pose = ndt_->align_pose(pose);
        }
        pose.pose.covariance = output_pose_covariance_;
        // ...
  }
}

// ndt_module.cpp
NdtModule::NdtModule(rclcpp::Node * node) : logger_(node->get_logger())
{
    cli_align_ = node->create_client<RequestPoseAlignment>("ndt_align");
}

PoseWithCovarianceStamped NdtModule::align_pose(const PoseWithCovarianceStamped & pose)
{
    const auto req = std::make_shared<RequestPoseAlignment::Request>();
    req->pose_with_covariance = pose;

    if (!cli_align_->service_is_ready()) {
        throw component_interface_utils::ServiceUnready("NDT align server is not ready.");
    }

    RCLCPP_INFO(logger_, "Call NDT align server.");
    const auto res = cli_align_->async_send_request(req).get();
    if (!res->success) {
        RCLCPP_INFO(logger_, "NDT align server failed.");
        throw ServiceException(
            Initialize::Service::Response::ERROR_ESTIMATION, "NDT align server failed.");
    }
    RCLCPP_INFO(logger_, "NDT align server succeeded.");

    // Overwrite the covariance.
    return res->pose_with_covariance;
}

From the implementation of align_pose() function in ndt_module.cpp, it can be seen that, The SRV mechanism of ROS2 has two characteristics: first, whether the service is ready can be checked through if (! cli_align_ ->service_is_ready()) before calling the service; Second, service calls are executed asynchronously.
At present, there is no SRV mechanism in the DORA framework, so the Pub/Sub method is temporarily used to replace SRV: from dataflow.yml, it can be seen that first the pose_initializer operator sends a align_request_pose request message, and then the ndt_scan_matcher operator return the response message.
communication:
  zenoh:
    prefix: /localization-dataflow

nodes:
  - id: runtime-node
    operators:
      - id: pose_initializer
        shared-library: ../../../target/debug/pose_initializer
        inputs:
          manual_pose: manual_pose/initial_pose
          fitted_gnss_pose: runtime-node/map_height_fitter/fitted_gnss_pose
          aligned_response_pose: runtime-node/ndt_scan_matcher/aligned_response_pose
        outputs:
          - align_request_pose
          - initialpose3d

      - id: ndt_scan_matcher
        shared-library: ../../../target/debug/ndt_scan_matcher
        inputs:
          map_points: pointcloud_map_loader/map_points
          align_request_pose: runtime-node/pose_initializer/align_request_pose
          downsampled_pointcloud: runtime-node/pointcloud_downsample/downsampled_pointcloud
          regularization_pose: runtime-node/gnss_poser/gnss_pose_cov
          initial_pose: runtime-node/ekf_localizer/ekf_biased_pose_with_cov
          tf_baselink2lidar: tf_publisher/tf_baselink2lidar
        outputs:
          - ndt_pose_with_cov
          - aligned_response_pose

Such an approximate alternative cannot realize the two characteristics of SRV mechanism mentioned above: first, it is impossible to determine whether the service is ready before calling the service, because the ndt_align service provided by ndt_scan_matcher is actutally ready only when the operator has received a map_ points and downsampled_pointcloud input message. Since both ROS2 and Dora uses a Pub/Sub distributed communication mode, it is impossible to specify the node/operator startup sequence. So theoretically, it cannot be guaranteed that ndt_scan_matcher operator will receive the map_points and downsampled_pointcloud messages before receiving the align_request_pose request. Secondly, there is no asynchronous call mode, or I do not know how to use asynchronous mechanism in the implementation of DORA operator.
So there will be performance bottlenecks in the current alternatives. I wonder if there is a better alternative to SRV, Looking forward to your reply.

Hi, Thanks for contributing to Dora by raising issues!
Making a service like ROS2 could be very interesting indeed!
From what I understand:

pose_initializer sends an align_request_pose to ndt_scan_matcher that sends back a aligned_response_pose to pose_initializer.
This is however dependent on if map_points and downsampled_pointcloud have first been received by ndt_scan_matcher.

you mention that:

theoretically, it cannot be guaranteed that ndt_scan_matcher operator will receive the map_points and downsampled_pointcloud messages before receiving the align_request_pose request

Would it be possible to just have an if-statement that responds False or a default zeroed aligned_response_pose if  map_points and downsampled_pointcloud are not initialized?

Thanks a lot for the detailed explanation! Let me try to summarize the features that you would like to see in dora:

request/reply communication

goal: receive the reply corresponding to a request without subscribing to all replies sent by server

load information

give nodes information whether the receiver is able to process inputs, similar to service_is_ready

synchronized startup/startup sequence

make sure that all nodes/operators are properly initialized before receiving messages/requests

asynchronous call mode

I'm not sure if I understand what you mean. Could you give us more details on this?

Am I missing anything?

I wonder if there is a better alternative to SRV, Looking forward to your reply.

I don't think that think there is a better way right now. You could try to split the "client" to implement a more linear data flow instead of using a request/reply pattern. I imagine something like this:
nodes:
  - id: runtime-node
    operators:
      - id: pose_initializer
        ...
        inputs:
          manual_pose: manual_pose/initial_pose
        outputs:
          - align_request_pose

      - id: ndt_scan_matcher
        shared-library: ../../../target/debug/ndt_scan_matcher
        inputs:
          align_request_pose: runtime-node/pose_initializer/align_request_pose
        outputs:
          - aligned_response_pose

      - id: aligned_pose_handler
        ...
        inputs:
          aligned_response_pose: runtime-node/ndt_scan_matcher/aligned_response_pose

I'm not sure if this is possible in your case though.


Find a way to turn off auth during development

Use .AllowAnonymous() method on app.MapControllers()
NOTE: Breaks auth logic in "User with id"-type methods.


raptor train

Making the pull request now. Having some problems getting OpenRCT2 to recognize the object

I created a junction from openrct2/objects to the folder and OpenRCT2 does not load the object. Using OpenRCT2.com does not provide any console logs regarding the object. Not sure what's going on.

Can you upload the images as well.

I´ll help you get the object working. I have already added some line notes of stuff to address.
Is this supposed to be an OpenRCT2-only object, or do you intend to make it available for RCT2?

Is this supposed to be an OpenRCT2-only object, or do you intend to make it available for RCT2?

Its for the new coaster type so it would never load in RCT2.

I have excluded the images thus far because they are quite large, totalling about 3.5 Mb. I'm told I can compress the images, but I do not know how to do this. If you would like me to upload the images as-is, I can do so.

Its for the new coaster type so it would never load in RCT2.

@duncanspumpkin It is still possible to have the corresponding DAT file use a different ride type, like X7 did with the RMC trains (which are Twister RC trains in RCT2). Hence the question if @spacek531 was planning to make it available for RCT2 or not.

Hence the question if @spacek531 was planning to make it available for RCT2 or not.

I am not

OK. Can you zip up the images and drag the ZIP into a comment here? I can take care of compressing them.

images.zip

I've tested the object with the new images, and everything works fine. There's a strange freezing going on when hovering over the object in the object selection window, which I will file an issue for in the OpenRCT2 project.

We think using less .png files for the object will help reduce the load times. I.e. storing multiple sprites in the same .png file and referencing their x,y,w,h in the json file. Is it worth doing this before merging?

We think using less .png files for the object will help reduce the load times. I.e. storing multiple sprites in the same .png file and referencing their x,y,w,h in the json file. Is it worth doing this before merging?

Thought we were going to investigate that for later.

Thought we were going to investigate that for later.

@duncanspumpkin I know but isn't merging a lot of binary files a point of no return in terms of repository size?

@duncanspumpkin I know but isn't merging a lot of binary files a point of no return in terms of repository size?

@duncanspumpkin I know but isn't merging a lot of binary files a point of no return in terms of repository size?

@duncanspumpkin I know but isn't merging a lot of binary files a point of no return in terms of repository size?

@spacek531 I would like to try using one (or few .pngs) containing all the sprites. Are you able to generate a single .png file containing them all and JSON where it specifies srcX, srcY, width and height for each sprite?

I will see what I can do

Is there any way you can reduce the train object file size such that it doesn't cause lag/frame rate drops whenever you hover over it in the object selection window?

@Fred-1044276 that's what we are trying to do and why this hasn't been merged

Could it be a solution to embed the images as a packed (RLE-encoded) object, in a manner similar to g2.dat? I realise that defeats the purpose of an easily editable object. However, if the packing is done at release time, that still leaves an easily editable object in the repository.

@spacek531 I would like to try using one (or few .pngs) containing all the sprites. Are you able to generate a single .png file containing them all and JSON where it specifies srcX, srcY, width and height for each sprite?

Is OpenRCT2 currently capable of handling this? I'm looking to finalize this soon.

I think Ted has added that capability. @IntelOrca could you confirm

On NSF, but could be back ported

I was wondering if it might be an idea to have this (or any of the other two spacek made raptor trains) as additional versions/skins of official object?

Superseded by #166


1045 eth subscribe sanity check2

Description:
Added objectTypes ethSubscribeLogsParams that contains the logic for validation of ethSubscribe method logs params.
Unit tests for new validation ObjectType
Acceptance test for new validations
Related issue(s):
Fixes #1045
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[x] Tested (unit, integration, etc.)

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.20 :tada:

Comparison is base (f6e3993) 74.42% compared to head (337b042) 74.63%.

:exclamation: Current head 337b042 differs from pull request most recent head 94434ee. Consider uploading reports for the commit 94434ee to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1055      +/-   ##
==========================================
+ Coverage   74.42%   74.63%   +0.20%
==========================================
  Files          31       31
  Lines        2053     2062       +9
  Branches      391      392       +1
==========================================
+ Hits         1528     1539      +11
+ Misses        417      416       -1
+ Partials      108      107       -1

Impacted Files
Coverage Δ

packages/server/src/validator/objectTypes.ts
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Darwin builders are stuck

The x86_64-darwin builders on hydra.nixos.org seem to be stuck in some way. Most builders I have checked have hung on the "Sending inputs" phase.
For example, threefish (https://hydra.nixos.org/build/154946284) was cancelled several days ago but is still stuck in "Sending inputs" phase. Mhost (https://hydra.nixos.org/build/155222382) has not been cancelled but has been stuck in the same phase for over two days.
Apologies if this is a known issue. I'm aware the darwin builders are typically slower but it seems especially bad right now.

Afaik only @grahamc and @edolstra have access to Hydra to check what state they're at.

PTAL at https://hydra.nixos.org/status. Every single x86_64-darwin builder is stuck on a job which has been running for over 6 days. We have effectively zero build capacity for x86_64-darwin.

mac7-guest and mac3-guest are working. mac2-guest and mac5-guest are still stuck. (and potentially the other mac#-guest's).
There are max-m1-# aarch64-darwin builders currently running
New builders: 0469fb3d, 299a3510, dcd22189 are running. But I'm not sure what they are. (it looks like instance id's?)

It looks like this is still happening, so I'll reopen until we can figure out the root cause.

I'm not sure anyone is looking into the root cause.

It is some time later, so I'm going to close this. The macs are in Prometheus now, too: https://monitoring.nixos.org/grafana/d/hkRCcV0mk/instance-metrics?orgId=1&refresh=30s&var-role=mac


Is there a way to customize the Grid in WeekView?

Hi,
I would like to customize the Gridview

I would like to have a card grid view something like below.

Hi @Basha0 Right now, this package does not support this functionality. And we are not planning to add this in near future either.
I'm closing this issue and adding potential-enhancement for this issue as we might add this functionality once all the majority bugs / features are completed.


fix problem with mathml namespaces

Issue: https://github.com/openstax/cnx-recipes/issues/5142

I'm not very familiar with Ruby but would a method like this on document.rb followed by a call to it in oven.py work?
    # document.rb
    def ensure_namespaces
      traverse do |node|
        next unless node.element?

        node.attribute_nodes.each do |attr|
          next unless attr.namespace

          unless node.has_namespace_defined_on_ancestor?(attribute: attr)
            node.add_namespace(attr.namespace.prefix, attr.namespace.href)
            # Might also need to set the `xmlns:{...}="..."` attribute
          end
        end

        next unless node.namespace

        unless node.has_namespace_defined_on_ancestor?
          node.add_namespace(node.namespace.prefix, node.namespace.href)
          # Might also need to set the `xmlns:{...}="..."` attribute
        end
      end
    end

and the corresponding one-line change in oven.rb :+1:
      doc.ensure_namespaces
      File.open(output_file, 'w') do |f|
        ...

@philschatz It doesn't work because this part is removing namespaces:

I checked it with this:

If element was not moved it still has a namespaces:

But one that was moved during baking (with cut/clone and paste methods), doesn't have one:

So the rest of the code doesn't affect it:

Calling ensure_namespaces before part with baking also doesn't work, but i don't know why :thinking:

Namespaces are present after calling it:

After baking they're not:


I'm still getting the deprecation warning using "tde-webpack-mjml-plugin": "^1.4.0".

I'm still getting the deprecation warning using "tde-webpack-mjml-plugin": "^1.4.0".
(node:30059) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Any pointers on how to solve this?
Originally posted by @mauricesnip in https://github.com/tdeNL/tde-webpack-mjml-plugin/issues/6#issuecomment-492124725

Thanks for pointing this out @mauricesnip! We don't have plans fixing this in the near future but we'll keep this in mind when preparing our plugins for Webpack 5.
Feel free to create a PR for this issue if you feel the need to.


[BUG] Dependency mismatch PyPDF2 | llama_index ≥ 0.6.8  PDFReader dependency has changed to pypdf instead of PyPDF2

Describe the bug
ValueError: Could not load webpage
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/llama_index/readers/file/docs_reader.py", line 21, in load_data
    import pypdf
ModuleNotFoundError: No module named 'pypdf'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/models/index_model.py", line 563, in set_file_index
    index = await self.loop.run_in_executor(
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.10/site-packages/models/index_model.py", line 362, in index_file
    document = SimpleDirectoryReader(input_files=[file_path]).load_data()
  File "/usr/local/lib/python3.10/site-packages/llama_index/readers/file/base.py", line 192, in load_data
    docs = reader.load_data(input_file, extra_info=metadata)
  File "/usr/local/lib/python3.10/site-packages/llama_index/readers/file/docs_reader.py", line 23, in load_data
    raise ImportError(
ImportError: pypdf is required to read PDF files: `pip install pypdf`

See this issue for more context.
https://github.com/jerryjliu/llama_index/issues/3735
PyPDF2 is deprecated.
See here:  https://pypi.org/project/PyPDF2/
To Reproduce
Try to index a PDF  = FAIL
Expected behavior
PDF's are indexable.

#333 reverts the PyPDF2 dependence.  But seemed to introduce new issues related to method mismatch in lla
error generated below is after pulling merged changes from b0c4e26 and again attempting a PDF index.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/models/index_model.py", line 563, in set_file_index
    index = await self.loop.run_in_executor(
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.10/site-packages/models/index_model.py", line 362, in index_file
    document = SimpleDirectoryReader(input_files=[file_path]).load_data()
  File "/usr/local/lib/python3.10/site-packages/llama_index/readers/file/base.py", line 192, in load_data
    docs = reader.load_data(input_file, extra_info=metadata)
  File "/usr/local/lib/python3.10/site-packages/llama_index/readers/file/docs_reader.py", line 38, in load_data
    page_label = pdf.page_labels[page]
AttributeError: 'PdfReader' object has no attribute 'page_labels'

The offending line can be found here.
https://github.com/jerryjliu/llama_index/blob/d394ffd5b57b976192f002f52fc9315401b4aa09/llama_index/readers/file/docs_reader.py#L38
I suppose we might best raise and issue there and  work up a PR in llama_index, to fix this issue here.
Thoughts?

I don't have this issue, ``pypdf.PdfReadercontains thepage_labels` attribute as seen here.
https://github.com/py-pdf/pypdf/blob/main/pypdf/_reader.py#L1087-L1095
Which pdf are you using?

I don't have this issue, pypdf.PdfReader contains the page_labels attribute as seen here. https://github.com/py-pdf/pypdf/blob/main/pypdf/_reader.py#L1087-L1095

I caught some Red Herring.
I'm not sure what I did wrong, but this AM pulled the repo into a fresh dir, rebuilt and redeployed and the issue seems resolved,  unfortunately indexing this PDF is still erroring, but now unrelated to pypdf.


Checksum failed - how to change the download path

Hi Jason,
I have been trying to setup this Autolab.  I get to a point where powershell starts to download the ISO from Microsoft.  It fails the checksum, as it's downloading a newer ISO.  Looking at the VMConfigurationData file - I thought I would download the correct ISO and copy it to the ISO folder (and renaming the ISO), however after running unattend-lab again, it still wants to download the newer ISO.
I have even tried editing the vmconfigurationdata file with the following:
Desmond Uri = 'http://download.microsoft.com/download/1/6/F/16FA20E6-4662-482A-920B-1A45CF5AAE3C/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO';
                Uri ='file://G:\ISO\14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO';
                Checksum = '18A4F00A675B0338F3C7C93C4F131BEB';

So I edited it such that it points to my g drive for the file.  And it still somehow starts to download from mircosoft.
So my question is - where do I change the download path, such that it looks at my g:drive.  Or where do I change the MD5 hash value to match the newer ISO version.
Thanks
Desmond

This project is now under new ownership. The 3.x version line is obsolete. Version 4.0.0 has been published to the PowerShell Gallery with new updates, configuration, and documentation. It is expected that this version will resolve most if not all of the problems you were experiencing. Read Updating for more information.
No further action will be taken on this issue and it will most likely be closed at some point. If you still have the same issue with the new version, then go ahead and open a new issue.

For future reference, the ISO file will be downloaded to the ISOs folder under C:\Autoloab or where ever you put it.


Document instructions on installing Kubeflow on an existing Kubernetes cluster

If users already have an existing Kubernetes cluster, this set of instructions will allow them to deploy Kubeflow on it.

Include instructions using Bootstrapper.
Include instructions without Bootstrapper.

/assign @kunmingg

Please review content on Getting Started with Kubeflow. We'll need to update for bootstrapper instructions.

/assign @kunmingg
/unassign @jlewi


Step 2: Seperation of Corelib into AntiDupl.NET.Core

Creation of AntiDupl.NET.Core based on Gigas002 fork and moving there all "Core" relevant source files.
No functional change, no code optimization except moving loading of bitmaps out of Corelib by creation of BitmapWorker.cs in AntiDupl.NET .

PS.: Please apply "Hide whitespaces" when diffing the code. I could not detect why this happend, on file levels there was no whitepsace problem.


tokei: 9.1.1 -> 10.0.1

Enable all crate features, which gets us alternative output formats.
Update description and add long description to match what's in the GitHub repo.
Add myself as a maintainer.
Motivation for this change
The package was out of date and I wanted JSON output.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[X] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

I built this with no feature flags, with all feature flags, and with just includesJSONOutput and tested that the supported output formats for each build were as expected.

@GrahamcOfBorg build tokei


Negative total disk sizes can be reported

On Movie graph when running diagnostics I get

Your page cache setting is more than 50% greater than your store on disk size. Store size=-8002, page cache 512000000 bytes (512m)
Note the negative store size. (edited)

Speculating that this is because one of the JMX metrics being used in mem.js is reporting "size on disk" and the other is reporting total bytes utilized.

I get miller results - using neo4j desktop on OS X

@eastlondoner some of these are due to incorrect info coming back from the JMX level from Neo4j directly (Example cypher query used to generate some of this data here: https://github.com/moxious/halin/blob/47ae7fe26b1639bd222b569e2e685d4eb1d0a7ce/src/data/queries/jmx/storeSizes.js#L20)  -- where a metric is calculated by halin I can fix it, where I'm getting bad data from JMX I need to raise it with the kernel team.

:+1: sounds like a good thing to raise with the kernel team


More (compile-time) performant record decoders

Previously records were decoded all at once with the values stored in an n-tuple (with n = the number of record fields), which apparently is hard on the compiler.

fixes #8


Sign in with e-mail button no longer responding after subclassing FUIAuthPickerViewController

Swift, iOS version 8.0, Firebase SDK version 4.0.4, FirebaseUI version 4.1.1;
I am trying to customize the looks of the FUIAuthPickerViewController and following the technique of Brad Caldwell (video tutorial) I've subclassed the FUIAuthPickerViewController. This created a runtime-error:

'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle

I've fixed this by adding the following code to my subclass:
    override init(nibName: String?, bundle: Bundle?, authUI: FUIAuth) {
        super.init(nibName: "FUIAuthPickerViewController", bundle: bundle, authUI: authUI)
    }

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

However, ever since I did this the 'Sign in with e-mail' button is no longer responding even though the 'Sign in with Google' button works just fine... Any Idea's? Full code below:
import UIKit
import FirebaseAuthUI

class CustomAuthViewController: FUIAuthPickerViewController {

    override init(nibName: String?, bundle: Bundle?, authUI: FUIAuth) {
        super.init(nibName: "FUIAuthPickerViewController", bundle: bundle, authUI: authUI)
    }

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

    override func viewDidLoad(){
        super.viewDidLoad()

        // Set up the subview that will display the custom layout
        let width = UIScreen.main.bounds.size.width
        let height = UIScreen.main.bounds.size.height
        let subviewRect = CGRect(x: 0, y: 0, width: width, height: height)
        let subview = UIView(frame: subviewRect)
        subview.backgroundColor = .black

        // Add the logo to our subview
        let logoImageRect = CGRect(x: ((width/2)-100) ,y: ((height/3)-100) , width: 200, height: 200)
        let logoImage = UIImage(named: "Logo black background")
        let logoImageView = UIImageView()
        logoImageView.frame = logoImageRect
        logoImageView.contentMode = UIViewContentMode(rawValue: 2)!
        logoImageView.image = logoImage
        subview.addSubview(logoImageView)

        // Prepare label with the added textmessage and add to subview
        let addedMessageRect = CGRect(x: 0,y: 0, width: 300, height: 20)
        let addedMessage = UILabel(frame: addedMessageRect)
        addedMessage.text = "Please register or login"
        addedMessage.textColor = .white
        addedMessage.adjustsFontSizeToFitWidth = true
        addedMessage.center = CGPoint(x: width/2, y: ((height/3)+200))
        addedMessage.textAlignment = .center
        subview.addSubview(addedMessage)

        view.insertSubview(subview, at: 0)
    }
}

Seems like one of your views may be clipping over the email/password button. If you take a look in the view debugger, are any of the custom views you've added obscuring any buttons?

Hi Morgan. I've checked and this does not seem to be the problem. I can even comment out all of my added views and the problem will still remain... Here's a screenshot of the  debugger view hierarchy:

Considering issue to be fixed.

hi , i am using FirebaseUI for phone authentication IOS - swift which is working fine, but the thing is my Whole app them color is blue  but the firebase pickerview thing is in white colour
could you tell me how to resolve this issue. because the digits are closing by this month and i have to release this version ASAP.
thank you so much

Making a custom auth view is a pain and not very straight forward. every time I update Pods something else gets whacky.
Can someone post an example that actually WORKS...
I can't get any buttons at all to show up. and yes everything in my Podfile is updated to current version.

I am also Facing same problem any one have idea how to solve enable Email sign in ?

Solved this by adding the custom subclass to a navigationController. The email sign in button works with the nav bar so that why its not responding. https://github.com/firebase/FirebaseUI-iOS/issues/311#issuecomment-406946647 Arminas Ruzgas solved it for me :
"The issue I had was solved by creating a navigation controller
rootNavigationController = authUI.authViewController() and placing fuiAuthPickerViewController into it rootNavigationController.setViewControllers([fuiAuthPickerViewController!], animated: true)"
func presentAuthPickViewController() {
    rootNavigationController = authUI.authViewController()

    let fuiAuthPickerViewController = authUI.delegate?.authPickerViewController!(forAuthUI: authUI)
    rootNavigationController.setViewControllers([fuiAuthPickerViewController!], animated: true)
    rootNavigationController.modalTransitionStyle = .coverVertical
    rootViewController.present(rootNavigationController!, animated: true, completion: nil)
}

@Antuaaan Thanks! I wasted hours on this. Can't believe it isn't documented that you need a navigationController


Adding a way to add friends Adding channel modification Adding different types of messages

This functionality has been fixed in the current version of the code.


oneOf Polymorphism Broken

Describe the bug
To Reproduce:
Generate the oneOf example given in the openapi docs here: https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/
Expected Behavior:
The example inputs should work.
Actual Behavior:
An error is thrown in the service:
Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Could not resolve subtype of [simple type, class [...].PetsBody]: missing type id property 'type'; nested exception is com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve subtype of [simple type, class [...].PetsBody]: missing type id property 'type'<EOL> at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 4, column: 1]]

Environment
Plugin version: 2.19.2
Swagger Codegen version: 2.19.2
Gradle version:
Java version: 17
OS:

I just hit this as well :/


Trying the demo

Hi, I managed to successfully run the demo using electron but not with react-native on Android. Here's what I get when trying with react-native run-android
╭─reis@Asakura ~/Documents/Testcode/react-native-nw-react-calculator  ‹master›
╰─➤  react-native run-android
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:app:prepareComFacebookFrescoDrawee081Library UP-TO-DATE
:app:prepareComFacebookFrescoFbcore081Library UP-TO-DATE
:app:prepareComFacebookFrescoFresco081Library UP-TO-DATE
:app:prepareComFacebookFrescoImagepipeline081Library UP-TO-DATE
:app:prepareComFacebookFrescoImagepipelineOkhttp081Library UP-TO-DATE
:app:prepareComFacebookReactReactNative0210Library UP-TO-DATE
:app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:bundleDebugJsAndAssets SKIPPED
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:processDebugJavaRes UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources UP-TO-DATE
:app:preDexDebug UP-TO-DATE
:app:dexDebug UP-TO-DATE
:app:validateDebugSigning
:app:packageDebug UP-TO-DATE
:app:zipalignDebug UP-TO-DATE
:app:assembleDebug UP-TO-DATE
:app:installDebug
Installing APK 'app-debug.apk' on 'Nexus_5X_API_25_x86(AVD) - 7.1.1'
Installed on 1 device.

BUILD SUCCESSFUL

Total time: 9.438 secs

This build could be faster, please consider using the Gradle Daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html
Starting the app (adb shell am start -n com.reactnativenwreactcalculator/.MainActivity)...
╭─reis@Asakura ~/Documents/Testcode/react-native-nw-react-calculator  ‹master›
╰─➤

nothing shows on my emulator. I've turned it on via
./emulator -avd Nexus_5X_API_25_x86

I think, this repository abandoned

ah too bad then I'll just close it

@yuzrieSiddiq If you need help with examples react-native, I'll help you.

alright thanks! I appreciate that very much. I've just started looking into react and react-native today so I'm really blur at a lot of stuffs. But for starters, I just want to make sure I can build the project.
When I followed React Native Docs, it just says I need to run npm run android but in the project's readme it shows react-native run-android. The problem here is I have no idea from where should I start looking at because there was no errors.

@yuzrieSiddiq Did you installed adb? Did you adb-reversed after? Maybe, better for fast resolve problem use: email, telegram, another social network.

Alright, lets continue in telegram then... I'm using the same username and picture as I am here. I'll be waiting for your hello then


Eliminate Unknown Count

A count so unworthy of notice that its name is unknown to the mainland. The target remains hidden, but their hit-and-run tactics will surely reveal their true identity soon enough. A scout force has been sent to locate the mettlesome Count.

The count could not be located, though the threat of their existence is no longer of concern.