Strange behavior with restore state

Hi
I connect to CouchBse using DCP client. I save the session state.
I disconnect.
I do some update (change of a document's content) on couchbase documents.
I restart with init from Json.
The changes between the stop and the reconnection was not recovered.
Any idea about this ?
Note: If the change is about adding a new document from scratch. it is recovered.

@belaazim can you provide an example? btw be aware I'm releasing 0.2.0 today which has slightly different API. check out the examples in the test directory, I also added more javadocs to the client.

here is an example https://github.com/couchbaselabs/java-dcp-client/blob/master/src/test/java/examples/StatePersistence.java

@daschl thanks for your support.
I'm trying today to test the StatePersistence example.
I'm getting this exception:
Exception in thread "main" java.lang.NoSuchMethodError: com.couchbase.client.core.config.CouchbaseBucketConfig.nodeIndexForMaster(IZ)S
com.fis.integ.core.publisher.sol2.StatePersistence.main(StatePersistence.java:71)
Have you please any idea about this ?

@belaazim is your current problem solved with 0.2 and the example?

@daschl Thanks for your help.
I'm testing today your new commit using the State Pesistence example.
I tested it with a small data bucket (6 documents) : it works like a charm.
But with a bigger data bucket (450 documents). when I stop the session and I do some modifications on some documents and I reconnect with persissted session it doesn't recover the updates (between stop and restart) more then any other update during the session is not detected.
Is it rekated to data bucket size ?
I'm replaying the test in order to be sure ... keep you informed ...

A scenario that causes problem (on both small and big data bucket):

start session
save session
create new docment (that has been recently removed)!!
restart session
=> not stable behavior
Could you reproduce it ?

Okay I'll try to reproduce this case. What should happen in theory is that it is on the sequence number from before the mutation so DCP will stream it after the fact.
Are you against localhost or a multi node cluster?

against localhost (one node cluster)

Okay cool do you by chance have code to reproduce? If not I'll try to come up with something similar.

For code I'm using StatePersistence.java :)

@belaazim I just tried out a slightly changed version of state persistence (https://gist.github.com/daschl/e00689955e2b34f80e511b512929d0dc), the only change being that after 10 times persisting it stops. I have the workload generator running in paralell, storing a doc every second. so after the code exists and I start again it automatically starts from where it was last persisted.
If this is not what you are seeing, what happens exactly? thanks for helping me track this down :)

Your session is stoped. You have a json ** file persisting your session.
Ok now please follow these steps.
Add a new document (key-1) in your data bucket.
change a field in this new document (key-1) .
Choose an other old document and update it.
Now restart your session which will recover state from**.
You won't get changes of document (key-1) these changes misses :(
could you please try this ?

Okay so I tried that and I think I saw the correct behavior, but there is a subtle thing to it, maybe you ran into this: the server performs deduplication so you are not seeing all changes. So for example I stopped the state.
Then I created a document with
{
  "old": "maybe"
}

after save I changed it to
{
  "old": "yes!"
}

and as soon as I restarted the stream I only saw:
Mutation: MutationMessage [key: "new-doc", vbid: 54, cas:<PHONE_NUMBER>33184, bySeqno: 3, revSeqno: 3, flags: 0, expiry: 0, lockTime: 0, clength: 20]
{
  "old": "yes!!"
}

So no sign of the intermediate representation. But this is similar to lets say you are deleting this state.json file and start from the beginning. You still won't see all the mutations one document is going through, but rather only the latest.
Is this also what you are seeing or is this different?

Not Able to define exactly the scenario causing this behavior.
Sometimes I get latest mutation sometimes no changes detected.
If the added document was recently deleted, the random behavior is reproduced.
This scenario:

delete the doc with new-doc
create the doc with new-doc and keep the same content
update the doc new-doc

restart the session => the latest mutation is no more reported.

hm I tried the exact same scenario, and in my case the only thing reported is the latest mutation, I don't see the delete or the recreation as mutations.

@belaazim I think at this point do you think there is a way you can record a screen demo or provide some code where you can reproduce this? You can include the java-client too in the code so that it runs the mutations in parallel, I can show you how to do this if you need assistance.

@daschl :
Thanks for your help !
I'll try to do it before the end of this week. maybe I'll need your assistance.

sure, let me know where I can help.. I might kick out a 0.3 release in the meantime but if we find a bug we can fix it for the next release.

@belaazim does this also work as expected with 0.4 or is there still an issue?

@daschl sorry for the late of my answer.
I tested with a quick example it seems OK with 0.4 version.


[Bug] - When clicking links that are from busy.org, the user gets directed to the Feed

Expected behavior
In reading posts/blogs/comments  in eSteem Surfer wherein the content of that certain posts/blogs has Busy links, when clicking for those links; those links should be opened within the eSteem Surfer or the least should be open in a web browser, say Google Chrome or any other web browser.
Actual behavior
I detected the bug when I read the review comment of @tobias-g in my bug-hunting contribution for eSteem mobile application, and since it was provided with links I clicked this link, after clicking, it gets directed to the Feed.
Recording Of The Bug

Detection at Version 1.0.5

First way (Clicking a busy link from the content on a certain post/comment)

GIF/Screen Recording

Second way (Replying to a certain post, wherein link from busy is placed in the content of the reply and clicking the link form busy)

Since there are two GIFs/screen recordings for this way of replicating the bug; the first GIF/screen recording, the Steemit link didn’t work and upon doing a counter-checking, the Steemit link in the second GIF/screen recording when clicked is being displayed in eSteem Surfer, thereby making the bug only affecting the links from busy.org.
First GIF/Screen Recording

Second GIF/Screen Recording

Replication at Version 1.0.6

thanks for reporting, @talhasch busy link parsing might have some issues, please check.


python3Packages.psutil is causing segfaults on darwin

Describe the bug
For a while now, some python3Packages.psutil routines have been segfaulting on darwin. This has become more problematic recently because newer versions of python3Packages.distributed make a call to psutil.disk_io_counters(), which pretty robustly segfaults on darwin. Packages that use python3Packages.distributed in their tests are failing as a result. e.g. https://hydra.nixos.org/log/x8a5k4lvfmnlyp088slxg0c72j1a7hq9-python3.8-stumpy-1.9.2.drv. python3Packages.psutil's own tests are of course disabled because they have proven to be so problematic.
We've opened some upstream issues for these problems (https://github.com/giampaolo/psutil/issues/2009, https://github.com/giampaolo/psutil/issues/1715), but I'm increasingly starting to feel these are Our Bugs.
The next step is probably to do some proper debugging on these segfaults, but I personally lack the motivation to learn darwin's weird debugging ecosystem (give me gdb and ELF anyday), so instead I'm documenting my findings here.
Steps To Reproduce
Steps to reproduce the behavior:

Be on darwin (tested x86_64, macos 10.15)

$ nix-shell -p python38Packages.psutil --pure --run python
Python 3.8.8 (default, Jun 15 2021, 08:25:07)
[Clang 7.1.0 (tags/RELEASE_710/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.disk_io_counters()
/private/tmp/nix-shell-4915-0/rc: line 1:  4918 Segmentation fault: 11  python

When I use a pip-installed version on the same machine it succeeds:
$ nix-shell -p python38 --pure

[nix-shell:~]$ python -m venv venv

[nix-shell:~]$ . venv/bin/activate
(venv)
[nix-shell:~]$ pip install psutil
Collecting psutil
  Downloading psutil-5.8.0-cp38-cp38-macosx_10_9_x86_64.whl (236 kB)
     |████████████████████████████████| 236 kB 23.5 MB/s
Installing collected packages: psutil
Successfully installed psutil-5.8.0
WARNING: You are using pip version 20.2.3; however, version 21.3.1 is available.
You should consider upgrading via the '/Users/bob/venv/bin/python -m pip install --upgrade pip' command.
(venv)
[nix-shell:~]$ python
Python 3.8.8 (default, Jun 15 2021, 08:25:07)
[Clang 7.1.0 (tags/RELEASE_710/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.disk_io_counters()
sdiskio(read_count=27110, write_count=309745, read_bytes=3164171264, write_bytes=6676201472, read_time=23219, write_time=58976)
>>>

Notify maintainers
@jonringer @NixOS/darwin-maintainers @teh @costrouc
Metadata
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: python3Packages.psutil python3Packages.distributed python3Packages.stumpy
# a list of nixos modules affected by the problem
module:

I can’t reproduce on aarch64-darwin running macOS 12.0.1. I tried both the aarch64 and x86_64 builds of Python. (Not saying this isn’t a problem, but it may be that it’s dependent on the macOS version being run.)
reckenrode@dyrstelice ~/D/python-testing> nix shell nixpkgs#python38
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
reckenrode@dyrstelice ~/D/python-testing> python -m venv venv
reckenrode@dyrstelice ~/D/python-testing> source venv/bin/activate.fish
(venv) reckenrode@dyrstelice ~/D/python-testing> pip install psutil
Collecting psutil
  Downloading psutil-5.8.0.tar.gz (470 kB)
     |████████████████████████████████| 470 kB 3.0 MB/s
Using legacy 'setup.py install' for psutil, since package 'wheel' is not installed.
Installing collected packages: psutil
    Running setup.py install for psutil ... done
Successfully installed psutil-5.8.0
WARNING: You are using pip version 21.1.1; however, version 21.3.1 is available.
You should consider upgrading via the '/Users/reckenrode/Developer/python-testing/venv/bin/python -m pip install --upgrade pip' command.
(venv) reckenrode@dyrstelice ~/D/python-testing> python
Python 3.8.11 (default, Sep  2 2021, 11:54:43)
[Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.disk_io_counters()
sdiskio(read_count=35615807, write_count=8211080, read_bytes=2618724024320, write_bytes=144779620352, read_time=9463055, write_time=634505)
>>> psutil.sensors_battery()
sbattery(percent=100, secsleft=26820, power_plugged=False)
>>>

That is an interesting data point, because I'm quite certain that our aarch64-darwin uses a much newer SDK version.

Does the first of my two snippets fail on your aarch64-darwin system?

Sorry, yeah. I tested that first but posted the second results. Here’s what I get with the first snippet.
> nix-shell -p python38Packages.psutil --pure --run python
Python 3.8.11 (default, Sep  2 2021, 11:54:43)
[Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.disk_io_counters()
sdiskio(read_count=35966804, write_count=8307065, read_bytes=2622787362816, write_bytes=146699354112, read_time=9528325, write_time=641991)
>>> psutil.sensors_battery()
sbattery(percent=90, secsleft=34680, power_plugged=False)
>>>

I just tested the x86_64-darwin binaries on my aarch64-darwin system and got the crash.
> nix-shell -p python38Packages.psutil --pure --run python --system x86_64-darwin
Python 3.8.11 (default, Sep  2 2021, 11:58:38)
[Clang 7.1.0 (tags/RELEASE_710/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.disk_io_counters()
/private/tmp/nix-shell-27803-0/rc: line 3: 27810 Segmentation fault: 11  python

Ok so it is still potentially SDK-version-related.

This sounds very similar to the problem in #144704. I wonder if it's related.

I had a look at this when it was mentioned on matrix. From what I can tell the crash occurs as soon as psutil tries to interact with CoreFoundation types returned from querying the system. I did some printf style debugging by adding calls to CFShow, and all I could get was a crash.
I suspect it's related to mixing and matching system CoreFoundation with swift-corefoundation built from source. I haven't gotten to the bottom of the issue yet, but if psutil is explicitly linked with system CoreFoundation[1], then it seems to work.
❯ nix shell  --impure --ignore-environment \
  --expr 'let pkgs = import ./. {}; in
    pkgs.python3.withPackages (ps: [ ps.psutil ])' \
  -c python3 -c "import psutil;  print(psutil.disk_io_counters())"
zsh: segmentation fault  nix shell --impure --ignore-environment --expr  -c python3 -c

❯ nix shell  --impure --ignore-environment \
  --expr 'let pkgs = import ./. {}; in
    pkgs.python3.withPackages (ps: [ (ps.psutil.overrideAttrs (o: { buildInputs = o.buildInputs ++ [ pkgs.darwin.apple_sdk.frameworks.CoreFoundation ]; })) ])' \
  -c python3 -c "import psutil;  print(psutil.disk_io_counters())"
sdiskio(read_count=106957535, write_count=67988818, read_bytes=980611539968, write_bytes=938397880320, read_time=134130953, write_time=485462107)

[1] In the nix expression for using system CoreFoundation, there's a hook that forces the the linker to use system corefoundation.

`otool -L` comparison
Without:
❯ otool -L /nix/store/sg1d6cs4kswr8cjsasfhcbjmhi6gz2g1-python3.9-psutil-5.8.0/lib/python3.9/site-packages/psutil/_psutil_osx.cpython-39-darwin.so
/nix/store/sg1d6cs4kswr8cjsasfhcbjmhi6gz2g1-python3.9-psutil-5.8.0/lib/python3.9/site-packages/psutil/_psutil_osx.cpython-39-darwin.so:
	@rpath/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1454.90.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2)

With
❯ otool -L /nix/store/vgkssvaraqy3j8pzmdyk9s4hfpy1bs69-python3.9-psutil-5.8.0/lib/python3.9/site-packages/psutil/_psutil_osx.cpython-39-darwin.so
/nix/store/vgkssvaraqy3j8pzmdyk9s4hfpy1bs69-python3.9-psutil-5.8.0/lib/python3.9/site-packages/psutil/_psutil_osx.cpython-39-darwin.so:
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1349.8.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2)

how to resolve the issue?

Package operations: 48 installs, 0 updates, 0 removals

  • Installing psutil (5.9.1): Failed

  CalledProcessError

  Command '['/Users/pratikgajjar/.venv/bin/python', '-m', 'pip', 'install', '--use-pep517', '--disable-pip-version-check', '--prefix', '/Users/pratikgajjar/.venv', '--no-deps', '/Users/pratikgajjar/Library/Caches/pypoetry/artifacts/2c/c1/7d/613aa355414622095ce2c5f0fcf5e6541a40ca83ca5cb6ef7d7d554cba/psutil-5.9.1.tar.gz']' returned non-zero exit status 1.

  at /opt/homebrew/Cellar/python@3.10/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py:524 in run
       520│             # We don't call process.wait() as .__exit__ does that for us.
       521│             raise
       522│         retcode = process.poll()
       523│         if check and retcode:
    →  524│             raise CalledProcessError(retcode, process.args,
       525│                                      output=stdout, stderr=stderr)
       526│     return CompletedProcess(process.args, retcode, stdout, stderr)
       527│
       528│

The following error occurred when trying to handle this error:

  EnvCommandError

  Command ['/Users/pratikgajjar/.venv/bin/python', '-m', 'pip', 'install', '--use-pep517', '--disable-pip-version-check', '--prefix', '/Users/pratikgajjar/.venv', '--no-deps', '/Users/pratikgajjar/Library/Caches/pypoetry/artifacts/2c/c1/7d/613aa355414622095ce2c5f0fcf5e6541a40ca83ca5cb6ef7d7d554cba/psutil-5.9.1.tar.gz'] errored with the following return code 1, and output:
  Processing /Users/pratikgajjar/Library/Caches/pypoetry/artifacts/2c/c1/7d/613aa355414622095ce2c5f0fcf5e6541a40ca83ca5cb6ef7d7d554cba/psutil-5.9.1.tar.gz
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Preparing metadata (pyproject.toml): started
    Preparing metadata (pyproject.toml): finished with status 'done'
  Building wheels for collected packages: psutil
    Building wheel for psutil (pyproject.toml): started
    Building wheel for psutil (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error

    × Building wheel for psutil (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [51 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.macosx-12-arm64-cpython-310
        creating build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_pswindows.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_common.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/__init__.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_psosx.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_psbsd.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_psaix.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_pslinux.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_compat.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_psposix.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        copying psutil/_pssunos.py -> build/lib.macosx-12-arm64-cpython-310/psutil
        creating build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_contracts.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_connections.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/runner.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_unicode.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_misc.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_posix.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_linux.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_sunos.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/__init__.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_aix.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_process.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_bsd.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_system.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_osx.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_memleaks.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_windows.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/__main__.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/foo.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        copying psutil/tests/test_testutils.py -> build/lib.macosx-12-arm64-cpython-310/psutil/tests
        running build_ext
        building 'psutil._psutil_osx' extension
        creating build/temp.macosx-12-arm64-cpython-310
        creating build/temp.macosx-12-arm64-cpython-310/psutil
        creating build/temp.macosx-12-arm64-cpython-310/psutil/arch
        creating build/temp.macosx-12-arm64-cpython-310/psutil/arch/osx
        clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/opt/homebrew/Cellar/gdal/3.5.2/include -I/opt/homebrew/opt/openssl@3/include -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=591 -DPSUTIL_OSX=1 -I/Users/pratikgajjar/-root/.venv/include<EMAIL_ADDRESS>-c psutil/_psutil_common.c -o build/temp.macosx-12-arm64-cpython-310/psutil/_psutil_common.o
        clang-11: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
        clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/opt/homebrew/Cellar/gdal/3.5.2/include -I/opt/homebrew/opt/openssl@3/include -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=591 -DPSUTIL_OSX=1 -I/Users/pratikgajjar/-root/.venv/include<EMAIL_ADDRESS>-c psutil/_psutil_osx.c -o build/temp.macosx-12-arm64-cpython-310/psutil/_psutil_osx.o
        clang-11: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
        psutil/_psutil_osx.c:31:10: fatal error: 'IOKit/IOKitLib.h' file not found
        #include <IOKit/IOKitLib.h>
                 ^~~~~~~~~~~~~~~~~~
        1 error generated.
        error: command '/nix/store/b9bh3z78rqff14bf0fd78xb07b5cnwdw-clang-wrapper-11.1.0/bin/clang' failed with exit code 1
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for psutil
  Failed to build psutil
  ERROR: Could not build wheels for psutil, which is required to install pyproject.toml-based projects

  at /opt/homebrew/Cellar/poetry/1.2.1/libexec/lib/python3.10/site-packages/poetry/utils/env.py:1476 in _run
      1472│                 output = subprocess.check_output(
      1473│                     command, stderr=subprocess.STDOUT, env=env, **kwargs
      1474│                 )
      1475│         except CalledProcessError as e:
    → 1476│             raise EnvCommandError(e, input=input_)
      1477│
      1478│         return decode(output)
      1479│
      1480│     def execute(self, bin: str, *args: str, **kwargs: Any) -> int:

The following error occurred when trying to handle this error:

  PoetryException

  Failed to install /Users/pratikgajjar/Library/Caches/pypoetry/artifacts/2c/c1/7d/613aa355414622095ce2c5f0fcf5e6541a40ca83ca5cb6ef7d7d554cba/psutil-5.9.1.tar.gz

  at /opt/homebrew/Cellar/poetry/1.2.1/libexec/lib/python3.10/site-packages/poetry/utils/pip.py:51 in pip_install
       47│
       48│     try:
       49│         return environment.run_pip(*args)
       50│     except EnvCommandError as e:
    →  51│         raise PoetryException(f"Failed to install {path.as_posix()}") from e

Not sure if related I am getting this error

I  also got same error on our CI (linux amd64). Is there a workaround for this?

Closing because of #191240 which is supposed to address this. And I can't reproduce on x86_64-darwin.


Code-mockup overflow on small displays like iPhone 4

Code mockup component overflow on small displays
so change
min-width: 20rem;
to
min-width: 15rem;

iPhone 4 is from 11 years ago 💀

iPhone 4 is from 11 years ago 💀

Yeah, i know. But there are still Smartphones outside that using this Display Size. "Android Smartphones"

That's not true. You might find an old 320px phone on my grandma's drawer but it has near 0% market share.
Minimum screen size for mobile is 360px now
https://gs.statcounter.com/screen-resolution-stats/mobile/worldwide


Tidy up dockerfile

This PR rearranges & tidies up the Dockerfile to achieve a few things:

Avoids longer rebuilds on code change by copying the pipfile in, running install, then copying the code in
Significantly reduces the image size by removing unnecessary development libraries
Fixes up a few warnings thrown by buildx

Testing locally, a fresh build now takes 7 seconds less (31s vs 38s) & uses less than 25% of the space (296MB vs 1.38GB)

thanks for this @NotActuallyTerry! 🎉


Users can continue using CodeAlley while they are singed off

@Tom_M After users sign out of their account, CodeAlly related data remains in the local Storage and CodeAlly challenges could be accessed and continued. Not sure if this is the intended behavior or not.

The action items are:

We can remove the "Create Token" (for CodeRoad) step. This can instead become implicit.
The token that is needed back by CodeRoad, can instead be regenerated each time the container is generated and passed along through CodeAlly.


I finished the settle follow document but it seem no data.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
I read many time and follow each part carefully.
but no valid data appear.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: MacOS Sonoma
Browser chrome

Additional context
what problem would cause this ?

Hi, @weykon
I have visited your GitHub home page, I found you are not open your activity data to public.

I think the reason is the default GITHUB_ACCESS_TOKEN used by pipeline cannot collect your private activity data.  Checkout this document and use an authorized GITHUB_ACCESS_TOKEN to allow pipeline to collect your private activity data.

And I suggest you to enable the Repo sync workflow to auto sync upstream changes (this workflow uses force push on main branch).

 I add this secret like this, and this is using the github new feature UI.
did I set correct ?

Your Data pipeline workflow passed, that means you have configured the DATABASE_URL correctly

Oh, Thank you for your reply, but I still have a small problem that it does not collect data correctly at most used languages and the other.
Some wrong at running Personal Pipeline.

the secret I set: read:discussion, read:repo_hook, read:user, repo, user:follow

This is the first time I've encountered this error（invalid cursor） as well. I think it might be caused by you not setting the correct token initially, and then setting the correct token later, leading to the previous cursor becoming invalid. I suggest you change to a different dbname or drop the db set in the action, so the pipeline will create a new, clean db.

The most used language SQL is here
https://github.com/pingcap/ossinsight-lite/blob/main/collections/contribution-most-used-languages/template.sql
WITH languages AS (
    SELECT language, COUNT(*) as count
    FROM pull_requests pr
    JOIN repos r on pr.repo_id = r.id
    WHERE pr.user_id = (SELECT id FROM curr_user LIMIT 1) AND r.language IS NOT NULL
    GROUP BY language
    ORDER BY count DESC
), total AS (
    SELECT SUM(count) as total FROM languages
)
SELECT language, count, ROUND(count * 100.0 / total, 2) as precentage
FROM languages, total
ORDER BY count DESC

This uses the repo's main language. The chart title is misleading. @Mini256


[resolves #162] Provide camel-dozer support

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/226/
Test PASSed.


Raw Brainstorming Version of 24 Pull Requests Ruby

Still has some work to do.  Please let me know what we need.  This 24PullRequests has started a few hours ago...
@kytrinyx Anything you can think of?

Does this link help at all? https://github.com/exercism/exercism.io/blob/master/docs/getting-involved-in-a-track.md

Low hanging fruit: http://exercism.io/languages/ruby/todo

Maybe something about solve some problems on Exercism, and report back with things that could make the experience better.
A lot of tests need better failure messages.


[WIP] Make eslint happier

Following eslint's wise guidance.
To do: Output.jsx

This test was originally here as a stop-gap "does it render on the DOM", which doesn't apply well to the stateless component.
Going forward, for the Output test here, we should use shallow rendering to test that it ends up creating the right RichestMime component when invoked with display_data:
import React from 'react';

import { expect } from 'chai';

import Immutable from 'immutable';

import {
  createRenderer,
} from 'react-addons-test-utils';

import Output from '../src/Output.jsx';

describe('Output', () => {
  it('handles display data', () => {
    const renderer = createRenderer();

    const output = Immutable.fromJS({
      data:
          { 'text/html': '
Multiple
',
            'text/plain': '<IPython.core.display.HTML object>' },
      metadata: {},
      output_type: 'display_data',
    });

    renderer.render(<Output output={output} />);
    const result = renderer.getRenderOutput();
    expect(result.props.bundle).to.eq(output.get('data'));
  });
});

We can do that with a few of the others that use outputs too.

I had this comment sitting here unsent and you already made tests pass. :smile:

Looking at the new commit, we can make better tests after. Remove that WIP and I'll happily submit more tests this evening.


In databricks with spark 2.0.1, nullValue param doesn't work

I notice the document saying that

nullValue – sets the string representation of a null value. If None is set, it uses the default value, empty string. Since 2.0.1, this nullValue param applies to all supported types including the string type.

However, when using display(), the null value shown up is 'null' rather than the specified one, for example, you can compare the output with spark 2.0.1 and 2.0.0
df = sqlContext.read.csv('/path/to/file', sep='\t', schema=schema, quote='\0', nullValue='')
display(df)

Moreover, the fillna() function does not work in this case either, you can once again compare the outputs of
df.fillna({'c1': '~'})
display(df)

Is this a bug or the display() hides the representation of nulls?

@chouzhupk I assume you are using spark-csv in Databricks. display() is a Databricks notebook function that is not aware of the configuration you used to parse a CSV dataset. Therefore, it does not replace null values with their string representation.

Yes, I'm a databricks user.
You are basically saying that the display() function does not reflect the  change of dataframe. However, if you test the above on spark 2.0.0, and assign nullValue other than empty string, it will be shown by display() function.

On Oct 13, 2016, at 6:22 PM, Hossein Falaki<EMAIL_ADDRESS>wrote:
@chouzhupk I assume you are using spark-csv in Databricks. display() is a Databricks notebook function that is not aware of the configuration you used to parse a CSV dataset. Therefore, it does not replace null values with their string representation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@falaki Here is my followup.
I experiment to write the dataframe generated from the csv file into SQL Server, the nulls are still not the strings specified by nullVal parameter in the database table. And it's again different from the behaviour of spark 2.0.0 or earlier.
I think it's not because of the display() function. Could you double check it?

At this point spark-csv package is not going to be identical to csv data source in Spark 2.x. For one, spark-csv uses apache commons csv parser by default while we use Univocity parser in Spark 2.0. (You can switch the parser in spark-csv. See parserLib option).
At this point there have been bug fixes and also new features submitted to csv data source in Spark 2.x that may be missing in spark-csv. This package is in maintenance mode and does not get new features.


Give markers a vgl:%gamemode% prefix

Prevents any clashes with legitimate skulls. Also allows for categorisation.
I think you might've done this already. Worth tracking just so we can iron down the new syntax for use when working with markers, @MiniDigger

I just added a vgl prefix the other day.
I don't think vgl gamemode is nessasary since multiple gamemodes use the same markers (think spawn).
It could make sense to bind them to features.


Lint with standard

I couldn't watch how codebase of this lib struggled with sudden tabs mixed with spaces and other inconsistent formatting issues, so here it is.
It also allowed to fix quite unobvious typo in Gulpfile with trailing , after const declaration

Assuming your reply here https://github.com/yoavniran/jest-jspm/pull/5, this PR won't work for you. standard linter and formatter is a standard, it is completely non-configurable, and it uses 2 spaces.
Yeap, it was hard for me at beginning too, but now I'm quite happy that I should not worry about code formatting discrepancies ever.
Still, it's up to you.

As an alternative, you can give a shot to https://github.com/prettier/prettier, it is quite popular those days too and have less opinionated features. Still, it will fix a lot of code formatting issues in this repository.


load() new stream can't stop previous loaded stream

After change the source to a new streaming URL, the previous streaming is still loading, as seen in firebug.
Tried with load(''), .pause(), .stop() and destroy(), but always still loading previous stream.
Any idea to solve this?

@snsxn Could you please elaborate more on this? I tried to reproduce this behavior on http://cdn.clappr.io but I couldn't. Can you tell me how to reproduce this?

I'll try it:

Load and play http://icecast-streaming.nice264.com/melodiafm?.mp3 (after removing resource.split('?') from clappr)
Then I change source of the player to http://icecast-streaming.nice264.com/europafm?.mp3
Looking at firebug, I can see how the first streaming keeps loading

tried with the different methods mentioned before to pause, or stop or destroy and none of these clear the player and cancels any current HTTP request

@snsxn Discarding the source of the HTML 5 tag when stopping playback solved the problem. I also added a way for passing the mime-type of the content so you don't need to change the code anymore.

I will implement this new version.Thanks!


Update org.eclipse.jgit to <IP_ADDRESS>012080955-r

Updates org.eclipse.jgit:org.eclipse.jgit from <IP_ADDRESS>007141445-r to <IP_ADDRESS>012080955-r.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.eclipse.jgit", artifactId = "org.eclipse.jgit" } ]

labels: library-update

Superseded by #22.


[graph-data] use new cincinnati endpoint to download tarball

Description
move to the new endpoin hosted on redhat domain api.openshift.com
to download the tarball for openshift update service (cincinnati) graph-data.
Also changes the existing logic and extracts the tarball before creating the
container image.
As this is an init container or will be used with cincinnati plugin, we're using
a stripped down ubi image (ubi-micro)
Fixes OTA-831
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

/hold

/cc

/hold cancel

Pre-merge test done , no issue found

/label qe-approved


[#4] PseudoTcpSharp integration

Fixes https://github.com/psantosl/p2pcopy/issues/4 and https://github.com/psantosl/p2pcopy/issues/2 : Integrate PseudoTcpSharp + UdpClient into p2pcopy.
Notes

Use these buffer sizes in pseudotcp.cs:

       const int DEFAULT_RCV_BUF_SIZE = 6000 * 1024;
       const int DEFAULT_SND_BUF_SIZE = 9000 * 1024;

Tested for file sizes up to 50MB so far.
Bandwidth between two AWS instances ~=3Mbit/s
Adds --test-localhost option for convenient testing on localhost.
Synchronized wrappers in SyncPseudoTcpSocket needed due to concurrent calls to PseudoTcpSocket from timer calls to NotifyPacket and the incoming UDP message handler. Without synchronization, packet queue corruption observed during large sends.
To build, PseudoTcp should be checked out into same parent dir as p2pcopy.
Switched to a non-https time service due to certificate problems in my version of mono.

TO-DOs

Haven't got NAT traversal to work yet. UdpClient.AllowNatTraversal doesn't seem to be supported in mono.
Wait for a final ack at end of Sender.cs, instead of hardcoded sleep.

Haven't got NAT traversal to work yet. UdpClient.AllowNatTraversal doesn't seem to be supported in mono.

Maybe this works in .NETCore instead of Mono? BTW by googling "nat traversal mono" one of the first results is this which claims to be mono compatible: https://www.codeproject.com/Articles/807861/Open-NAT-A-NAT-Traversal-library-for-NET-and-Mono so maybe the PseudoTcpSharp integration should depend on OpenNAT lib?

Pseudotcp uses udp so in theory it should be able to do nat traversal. It is a matter of trying to contact with the public IP of both sides at the same time

@knocte @psantosl Punched it! :fist_oncoming:  Have transfer working from home connection behind domestic router to AWS. Relevant changes:

Use single UDPClient for both tx and rx.
Set REUSE_ADDR on the socket used for STUN.
Bind the STUN socket to the UDPClient. It's mentioned here that you can do so.

Update to PR coming shortly. :beers:

Hmm spoke too soon. Only works from behind NAT -> AWS, not from AWS->behind NAT. Will post changes anyhow as I believe they're correct.

Seems might be due to TTL. The hole punching tester at http://nattest.net.in.tum.de/test.php shows my home router is only punchable for low TTL. https://stackoverflow.com/a/32324530 suggests why low TTL can help. Will try.

@knocte @psantosl NAT traversal now working in both directions, update to PR coming later today :)

@psantosl @knocte PR updated. UDP hole punching works for AWS -->> NATted router and vice versa. Key was to use dedicated hole punching packets before starting TCP handshake. Didn't need to adjust TTL. Only remaining issues: i) a cleaner exit on sender side, ii) gets rapidly slower for files > 1MB. Likely due to buffer/timer congestion etc. Will look at this next. In the meantime, it's testable. :)

This is really a lot of work! Congratulations.
One question: should we merge this to master and remove the UDT support? Or maybe merge it to a specific branch and keep UDT?

@psantosl Thanks! Final update coming to fix the buffering/throttling issues, found what seems like one small but impactful bug in PseudoTcpSharp, please see https://github.com/psantosl/PseudoTcpSharp/pull/3. I would advocate merging to master but I'm biased. :D This code should work on Windows too, right?

Merged to PseudoTcpSharp! :-)

Cheers! :beers:

Can you confirm speed is good now after the fix in pseudotcp? Sure, we can ditch UDT and keep pseudo since it is crossplatform (and full C#).

So happy to see all this work! BTW, now that you guys are merging PRs in PseudoTcpSharp repo directly, shouldn't this PR include PseudoTcpSharp via a git submodule?

One minor thing:
I wouldn't define those as members but pass them as arguments to the functions:
    static byte[] ackBuffer = new byte[1];
    static Queue notifyClockQueue = new Queue();

And this way we avoid having two statics that are globals in disguise ;-)

So cool!
Before I release the bounty, @psantosl did you test it?
@pacamara curious, where are you based?

@knocte Cheers! :beers: I'm in Europe.
@psantosl Actioned your code review at https://github.com/psantosl/p2pcopy/pull/6 :)

@knocte I didn't test the code yet. I'll try to do it tonight.

@knocte I didn't test the code yet. I'll try to do it tonight.

Sounds good

@knocte Cheers! 🍻 I'm in Europe.

Can you tell me your email address? would be interesting to sync offline.
BTW my little review has just one item (beside my gitsubmodule suggestion some days ago): after merging the PR, the ReadMe is obsolete, all UDT references should be removed. (Also there's an udt dll in the repo that could be deleted as well.)

@knocte Done! Pls see https://github.com/psantosl/p2pcopy/pull/7. Sure, will drop you an email :beers:

Sure, will drop you an email

Don't forget this, especially if you're interested in doing more interesting work like this :)

@knocte Already did! Check your spam folder?


Set accent-color to tint form controls

Fixes

Fixes #222 by @zackkrida
Description

This PR sets the trans-blue color as the accent color on the HTML root so that it automatically applies to form controls such as

checkboxes
radio buttons
sliders
progress bars

Other elements such as selections, markers etc. are tinted using the proper CSS rules associated with them.
Screenshots
With trans-blue accent:

Without accent, default:

Testing Instructions

Spin up the site using npm run dev.
See the new accent color.
In the dev tools toggle off the accent-color rule on the HTML root element.
See the default accent color.
Do step 3 repeatedly to see the slight difference between 2 and 4.

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@sarayourfriend Safari does not support accent-color yet.


Android app

Android app using security API as authentication, allowing users to communicate with the chatbot using voice.

No longer required.


Allow granular control over loading pre-processor syntax files

In addition to g:vue_disable_pre_processors, which is an "all or nothing" approach to loading pre-processor syntax files, a g:vue_pre_processors option is exposed as well. This is a List of names of pre-processor syntaxes to load, to allow the user to enjoy syntax highlighting for one or two pre-processor languages without incurring the performance penalty of loading all of them at the same time.
Notable reasons not to merge this:

PR #109 does something similar with indent configuration, and acknowledges its possible extension to syntax configuration in this comment. Perhaps a more unified solution can be done instead of merging this PR directly.
There is already some work towards loading languages lazily, as in #128. If this work is completed and the language detection works well enough, there wouldn't be a need for g:vue_pre_processors altogether.

In the meantime, however, as none of the above solutions are fleshed out as of yet (particularly in the context of syntax), this change could be a way to mitigate the issue.

Tests are failing. I'll fix shortly.

Is this PR ready?

Yeah, this should be ready to merge. I have actually been holding off on this because I wanted to see what I could do with #128, but so far I haven't really had the time to work on that. I'll have a further look at this PR tonight and merge it in.
I'm also thinking of merging in the work on the performance-enhancement branch, and enable that when g:vue_pre_processors is set to 'auto' instead of a List. Then, later, its behavior can be enhanced by adding lazy loading described in #128.

I'm also thinking of merging in the work on the performance-enhancement branch, and enable that when g:vue_pre_processors is set to 'auto' instead of a List. Then, later, its behavior can be enhanced by adding lazy loading described in #128.

You can now set g:vue_pre_processors to 'detect_on_enter'.


Feature bootstrap 4 support

Should be merged into new branch from master: feature-bootstrap4-support maybe. That's my suggestion.
Thank you for a lovely plugin.

seems to fix compatibility issue with B4. any idea when it's gonna be merged ? @faulknercs

Hi, thanks for the PR, I highly appreciate it, but I have no plans to upgrade this library for Bootstrap 4 now. And since there is already KnockstrapPlus fork which integrates this changes to support Bootstrap 4, I think I'll just close this request.


Draw dotted arrow

Is there a way to draw an arrow with the line being dotted?

Sorry, just found the plugin.


Work gracefully with downlevel NONBLOCKING_QUERY_RESOLVE

https://docs.rs/wgpu/latest/wgpu/struct.DownlevelFlags.html#associatedconstant.NONBLOCKING_QUERY_RESOLVE
As of writing it's only on Desktop GL < 4.2
Not exactly sure what we need to do here exactly, but at the very least it should be tried out and documented how to work with it!

only on Desktop GL < 4.2

I'm a bit curious about this since the wgpu docs only say 4.4+, is it that AMD_query_buffer_object could be available on 4.2?

oh interesting. I actually just blindly quoted what @cwfitzgerald wrote on wgpu chat 😄

Then it's probably 4.4 :)
Notably once gles gets support for timestamp queries, it will also have not have this downlevel feature


electron-osx-sign Executing rejected

Hi. Using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>On end of singing i take this error.
electron-osx-sign Executing... codesign --verify --deep --strict --verbose=2 /Users/rbilmakovkyi/backend-nodeJS/build_tmp/mac/temp.app +0ms
  electron-osx-sign Verifying Gatekeeper acceptance for darwin platform... +22s
  electron-osx-sign Executing... spctl --assess --type execute --verbose --ignore-cache --no-cache /Users/rbilmakovkyi/backend-nodeJS/build_tmp/mac/temp.app +0ms

electron-osx-sign Error executing file:
 > Stdout:
 > Stderr: /Users/rbilmakovkyi/backend-nodeJS/build_tmp/mac/temp.app: rejected
source=Developer ID
 +16s
{ Error: Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache /Users/rbilmakovkyi/backend-nodeJS/build_tmp/mac/temp.app
/Users/rbilmakovkyi/backend-nodeJS/build_tmp/mac/temp.app: rejected
source=Developer ID

@StebneRuslan are you building an app bundle for distribution in the Mac App Store? In that way the codesigned app will fail the verification.

I am getting the same problem what is the solutionb

@preethamsridhar Now that I look at the issue again, it may be that the Xcode toolchain is outdated 🤔

I was able to sign disabling gatekeeper with:
sudo spctl --master-disable
But i have problems after sign with crash, similar to #130


create tech blog about Rafael's paper at ECIR

Acceptance Criteria

Create an article about Rafael paper
Make sure we can track the performance of the page

Supplementary Material

ecir_2021_paper_architecture.pdf
ecir_2021_blogpost.zip

As discussed here are the additional images:
example_conversational_search.pdf
summarization_example.pdf

pair-programming with @azevedo
both acceptance criteria are met.
/cc @iFetch-chatbot/farfetch-ifetch-team


Custom image for the floating button

Can I ask you how to add a custom images to the ones predefined (ion-camera, ion-plus etc.)?

here you go

what?

with the code below you can include any image you want. I initially hacked this to do it and then it was implemented properly

for some reason if I copy and paste your code it does not work. I tried:

ok the white background was due to the wrong color #FF. Putting the original color the white background disappears. Still the rest of the problem

homeicons was a css class i created. try it without it

Unfortunately still the same problem. I did:
<ion-floating-menu>
	    <ion-floating-item click="PopupOffer()" has-footer="false" style="background-color:#FF79;" icon-image-path="img/ico/logo.png">
	    </ion-floating-item>
	</ion-floating-menu>

As a further test I tried to change the color of the normal button:
<ion-floating-menu> 	    <ion-floating-item click="PopupOffer()" has-footer="false"  icon-color="#F0F8FF"> 	    </ion-floating-item> 	</ion-floating-menu>
but the button is still as before. It seems that it cannot be edited no matter what you change. Inside the ion-floating-menu.js in the function function ionFloatingMenuCtrl($scope, $rootScope, $ionicBackdropIon) { the console log prints correctly the value ($scope.iconColor) but the screen is not affected. Do you know why?

I found the problem: I set 'replace: true' instead of false and the customization starts to appear!


Pipeline - fix py2 old-style classes causing test issues in add_model

Investigated the cause of the testing issues in PY2 are related to old-style classes.  To safe-guard against the errors,  always use new-style classes in test fixtures  (explicitly inherit from object).

LGTM, thanks for contributing this.


Add documentation for multiuser configuration

🔑 Documentation for multiuser team configuration
This is an example how Appfile can be configured in case if your team is big enough and multiple users can submit application to the AppStore

Hey @PaulTaykalo, this is great, thanks for your PR. You could also mention the approach of using files that are in gitignore. Basically importing or reading the files if they exist
Appfile
if File.exist?("apple_id.txt")
  apple_id File.read("apple_id.txt")
else
  apple_id<EMAIL_ADDRESS>end

.gitignore
apple_id.txt

Could you drop me a short email, I'd love to invite you to the Slack group

@KrauseFx something like this

Oh, wait, I wasn't thinking, there is an environment variable already built-in for that:
FASTLANE_USER

Could we use that in combination with a default value somehow?

So what's your idea?
To put FASTLANE_USER into the apple_id ?
Or to set up FASTLANE_USER environment variable in Appfile?
Or ... some another option?

The thing is if we'll set up FASTLANE_USER it'll override every other option anyway
The original idea was to set up apple id per application/ per user. So theoretically you can have different apple Ids for different applications etc.

@KrauseFx

Hey @PaulTaykalo, so let's remove the first approach where you tell the user to update the Appfile, and instead have the following as the first approach:
You can set the username using the FASTLANE_USER environment variable, and have the default one defined in the Appfile

@KrauseFx up

One last thing, could you rebase from master to make the tests pass? Or submit a new PR for this 👍

Hey @PaulTaykalo, so I rewrote some parts of it, and updated the code samples, and also added the PR to docs.fastlane.tools https://github.com/fastlane/docs/pull/115
Do you want to update this PR to match the same content? 👍

Please also make sure the tests are passing by pulling the latest changes from master, otherwise we can't merge

I'll close this PR for now, thanks for your contribution 👍


Catch-the-ball game

PR Description 📜
i Have created the game as mentioned.
Fixes #4124

Mark the task you have completed ✅

[ x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ x] I have performed a self-review of my own code or work.
[ x] I have commented my code, particularly in hard-to-understand areas.
[ x] My changes generates no new warnings.
[ x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ x] I have added screenshot for website preview in assets/images
[ x] I have added entries for my game in main README.md
[x ] I have added README.md in my folder
[ x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @shruti110503 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hello @shruti110503, You need to make the following changes:

Please modify the main README.md file.

Hoping that you will make those changes soon 🚀
@kunjgit
can you please tell what modifications i have to make in the main readme file

@kunjgit please review my pr. I have made the necessary changes

Thank you  @shruti110503 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Anyone considering adding OAuth2 support?

The UserCredential validation with Username/Password is set to expire Monday,
April 20th.

This is a very useful tool, but it doesn't look like anyone is working to
enable OAuth2 support to let it live on.

Is there another project with an OAuth2 ready version?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 14 Apr 2015 at 8:32

i'm currently working on a fix on this issue.
i'll likely post it later on today


Have vault expect the version streamed package

This needs to land and release first: https://github.com/wolfi-dev/os/pull/4710


1515 fix always skipped test

Removes what an old unused sample test. This test was always skipped in geecheck. Now it will no longer incorrectly report that fusion is not installed.
To test:

Build and install OpenGEE.
Navigate to the geecheck page.
Verify that testWithSampleCondition no longer appears.

Hi @tst-cjeffries -- I would have thought the resolution for this issue would be to change the "Fusion is not installed" text to something like "Sample test condition not met".  Is there a reason that removing the sample test is a better solution?

@tst-blaird That is a good point. The primary reason I thought to remove it is that geecheck is a (potentially) user facing page and I'm not sure we want a sample test that serves no function on that page. However, I am fine with just changing the string. Perhaps @tst-ccamp can point me in the right direction here?

@tst-cjeffries I agree with you. We don't need the sample test on the production page. I'm not entirely sure we need a sample test at all. I think the other existing tests should be more than enough info for developers to go by. So, yeah, go ahead and delete.

Updated the doc to refer users to the existing tests as a guide rather than the sample.

Reviewed and tested. Looks good.


Find alternative way to provide Logs API Listener network info to main_test.go

As mentioned in #191:

We shouldn't be setting globals, and definitely shouldn't have test code mixed into the production code.

This was solved by https://github.com/elastic/apm-aws-lambda/pull/248.
Now there is no global state and the address can be passed with functional options. I will close this!


ThoughtViz and Object dataset

Hi there, great paper!
I am trying to recreate the metric results on ThoughtViz EEG2Image but having issues with the data not being structured in the same way. I managed to produce the results on CVPR40.
In the link given in EEGCVPR40 Dataset Availability · Issue #1 · prajwalsingh/EEGStyleGAN-ADA (github.com) the data is not structured how it is in EEGStyleGAN-ADA/EEGStyleGAN-ADA_ThoughtViz/cmd_metricalc.txt at main · prajwalsingh/EEGStyleGAN-ADA (github.com) .
The code requires the image and EEG data to be linked but in that dataset it is not, I was wondering if there is a link to the data structured to match the .txt or a link to code to create that data structure.
Also in EEG2Feat for the Object dataset, the dataset in the link does not match what the code is expecting in https://github.com/prajwalsingh/EEGStyleGAN-ADA/blob/main/EEG2Feat/Triplet_LSTM/Object/config.py. Is the code to process the data available?
Many thanks!

Hi @jontyharrison , thank you for reading our work.
For the Thoughtviz dataset, kindly check this issue [link] and for the Object dataset, we have uploaded the split of the data that we have used in our work [Object Dataset Split] (code I am not able to find that we use to create the split, might have missed it while taking the project backup).


Finish touches

Hello 👋🏻
Following the requirements

have a fully working app
Improve the look and feel of the application
Keep the general layout of the wireframe

thanks for your time @frank1738


APEXMALHAR-2358 #resolve #comment Optimise GenericSerde to use specif…

…ic serde to improve the performance

@davidyan74 Please review

@davidyan74 fixed checkstyle

@davidyan74 I applied comments, please review.


[React-Native] triggers uuid crash when certain word is used with isEnabled

Describe the bug
Hi! It's a really specific issue. when a certain word is used for key and run isEnabled() with it, it causes a crash bug which is coming from uuid library. I know that it's a known issue with v4 uuid and there's a monkey patch fix for it, but I figured it's confusing for ones who are not familiar/new to React Native. I have no idea why that particular word triggers this behavior... but I hope this report helps someone come across the same issue. I fixed it by changing the word to pwd but I have a feeling that there are more keywords that triggers this issue.
The straightforward fix for this issue would be installing react-native-get-random-values but it doesn't feel right to bring it only for React Native since this library is for other frameworks too.
dependencies:
"unleash-proxy-client": "1.11.0",
"react-native": "0.66.3",
"react": "17.0.2",

Steps to reproduce the bug

Create a key in unleash that contains the word "password"(e.g. [your-product-name].change-password.enable-screen)
Enable the feature in your unleash console
In your app, trigger isEnabled() function with the key just created

Expected behavior
isEnabled() should return true value.
Logs, error output, etc.
No response
Screenshots

Additional context
No response
Unleash version
1.11.0
Subscription type
Enterprise
Hosting type
No response
SDK information (language and version)
No response

Hey, thank you for bringing this to our attention.  I will raise the issue with the team.

Hi @Kei-Neurio thanks for opening this issue and providing detailed information.
From our tests reproducing the bug it seems like this may not be name-related, but instead impression-data-related. We had no issues with password-named feature toggles, but we did have this issue with features that had impression data enabled.
Can you please confirm this? This can be easily changed in Unleash by going to the specific Feature Toggle > Settings > Feature information (edit) > Enable impression data toggle.
Easiest way to fix this for end-users would be to install and add import 'react-native-get-random-values' at the top of their React Native / Expo app, like mentioned here: https://www.npmjs.com/package/uuid#react-native--expo

My suggestion, however, would be to have a specific proxy-client-react-native package, extremely similar to proxy-client-react but with any specific React Native / Expo caveats built-in, providing more of a plug and play experience for end-users.
Here's a quick PoC: proxy-client-react-native
I'll check with the rest of the team on the best way forward regarding this and will let you know 🙂

Thank you for the quick response and diagnosis @nunogois! I'll check the impression data toggle and post the result here. Just checked proxy-client-react-native and it's a exciting addition to the project. Looking forward to the update!

Yes, you were right, it turned out that it was caused by Impression-Data! I'll leave this issue opened until I get some change for this bug but please feel free close it if you wanted

Hey @Kei-Neurio - Thanks for confirming this!
Our decision for now was to add this React Native/Expo SDK PoC to our Community SDK list here: https://docs.getunleash.io/sdks#community-sdks
If we see it gains traction, we'll probably give more attention to it and promote it to an official SDK. In the meantime, for anyone not using it, there's still the workaround mentioned above.
We'll close this issue for now, but please feel free to reach out to us at anytime :slightly_smiling_face:


firing upload event before selecting a file

Upload Photo
$scope.upload = function (file) {
Upload.upload({
url: '/upload',
fields: fields,
file: file
}).progress(function (evt) {
var progressPercentage = parseInt(100.0 * evt.loaded / evt.total);
console.log('progress: ' + progressPercentage + '% ' + evt.config.file.name);
}).success(function (data, status, headers, config) {
console.log('file ' + config.file.name + 'uploaded. Response: ' + data);
}).error(function (data, status, headers, config) {
console.log('error status: ' + status);
})
};
steps to reproduce:

click on upload button selects a file
select a file and upload(uploads successfully)
click on upload button again (don't refresh the page)
dont select a file check the call (it fires that ajax call before selecting the file)

Please check this issue....any help will be appreciated....let me know if i am doing anything wrong..
Thanks

:+1: Having the same exact issue and was just about to post an issue

@Droritos i found a quick solution just check whether file exists it will call only when user selects
$scope.upload = function (file) {
if(file) {
//upload code
    }

}
it should update in document as well

Yep, that did the trick.
Thank you, @ashiefk !

That is intended. When you click on the button it will clear the old values first so the ngf-select and ngf-change functions will be called with empty value.

my point was it should call only when a file is selected not when the file manager is opened...

It is being called whenever the model value or input file value is changed. Since there is no cross browser way to know when the user cancels the popup file selector, the value of the file will be set to empt whenever you click on the upload button if there is a previous value. So if (file) should work for you and would let anyone who want to have special handling upon value of the file being cleared to receive the event.

In addition to ngf-select being called beforehand, I also notice that the files for this particular call are carried over from the last select. So the files are duplicated in the model (even though I have set keep="distinct") before I select another files.

That is intended, when you click on select is like selecting no file which in case you have ngf-keep it will be the same set of files that were there before. You can check the $newFiles to make sure if there is any new files added.

I think this is similar to the issue I'm describing over on https://github.com/danialfarid/ng-file-upload/issues/460, for me, even with ngf-keep it still fires a change event when the dialog is opened, which seems wrong to me.

Should be fixed at 9.0.18. if ngf-keep is set and there is no new file it would not call the ngf-change or update model.


Perception: fix ObjectInRoiTest that the size should be 0 after clear…

… a vector

Looks Xiangquan has also changed relevant file, I'll close this PR once another fix as you mentioned is ready, thanks!


Possible image crash: PhLImageTest

execution stopped in testCanSerializeAndDeserializeImageMetadata_amp_L3

code:
testCanSerializeAndDeserializeImageMetadata_amp_L3
	| deserializedImage tmp_QPevCfMZNQ1 tmp_Ev28JGrkr92 tmp_SLcZhKQfpm3 |
	tmp_QPevCfMZNQ1 := image description: 'An mage for testing purpose'.
	tmp_Ev28JGrkr92 := image computeArchitecture.
	tmp_SLcZhKQfpm3 := image
		originTemplate:
			(PhLRemoteTemplate
				name: 'Foo test template'
				url: 'https://foo.bar.org/abc/foo.zip' asZnUrl).
	deserializedImage := STON fromString: image stonString

not confirmed.
tested on mac:
| imageFileRef fs image deserializedImage tmp_QPevCfMZNQ1 tmp_Ev28JGrkr92 tmp_SLcZhKQfpm3 |
fs := FileSystem memory root.
	imageFileRef := fs / 'foo.image'.
	imageFileRef binaryWriteStreamDo: [ :stream | (ZnEndianessReadWriteStream on: stream ) nextLittleEndianNumber: 4 put: 68021 ].
	image := PhLImage location: imageFileRef.
	tmp_QPevCfMZNQ1 := image description: 'An mage for testing purpose'.
	tmp_Ev28JGrkr92 := image computeArchitecture.
	tmp_SLcZhKQfpm3 := image
		originTemplate:
			(PhLRemoteTemplate
				name: 'Foo test template'
				url: 'https://foo.bar.org/abc/foo.zip' asZnUrl).
	deserializedImage := STON fromString: image stonString

Assertions amplified. This is not a crash.
During the run, a graphical open dialog prompts. Most probably it blocks the executions.


ci: manifest: Trigger unconditionally

The GitHub Actions trigger-on-file-change mechanism may fail to trigger for very large PRs (300+ files changed).
This commit updates the manifest workflow such that it runs on all pull requests, regardless of whether west.yml is modified.
Signed-off-by: Stephanos Ioannidis<EMAIL_ADDRESS>

Is this a known bug by GH?


improve-username-behavior

Closes: #1
Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

wow


[BUG] - Crash on 'Bad Adress'

Describe the bug
When enabling a VPN config with a bad address in the AllowedIPs list, the app crashes. Going through the logs, the cause is by the Android's VpnService raising a 'Bad address' error.
Stack trace:
2024-06-04T21:02:41.042833Z 0 0 VERBOSE System message= --------- beginning of crash
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message= FATAL EXCEPTION: DefaultDispatcher-worker-7
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message= Process: com.zaneschepke.wireguardautotunnel, PID: 9513
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message= java.lang.IllegalArgumentException: Bad address
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at android.net.VpnService.checkNonPrefixBytes(VpnService.java:479)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at android.net.VpnService.-$$Nest$smcheckNonPrefixBytes(Unknown Source:0)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at android.net.VpnService$Builder.addRoute(VpnService.java:636)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at com.wireguard.android.backend.GoBackend.e(Unknown Source:567)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at com.wireguard.android.backend.GoBackend.a(Unknown Source:37)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at b4.g.d(Unknown Source:326)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at b4.g.e(Unknown Source:121)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at W3.A.s(Unknown Source:142)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at J4.a.p(Unknown Source:8)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at b5.E.run(Unknown Source:114)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at b5.k0.run(Unknown Source:146)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at i5.j.run(Unknown Source:2)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  at i5.a.run(Unknown Source:91)
2024-06-04T20:38:00.000000510Z 9513 9848 ERROR AndroidRuntime: message=  Suppressed: g5.g: [l0{Cancelling}@a0e0826, Dispatchers.IO]

Smartphone:

Device: Pixel 7a
Android Version: Android 14
App Version: 3.4.4

To Reproduce
Steps to reproduce the behavior:

Generate a new wireguard config with one bad IP (<IP_ADDRESS>/24 here the '.1/24' should have been '.0/24')
Save the config
Enable VPN config
See crash

Expected behavior
The app should catch that error and display it to the end user like what the official Wireguard does.

Update your app  2.4.6

Interestingly, even after 5 days, the app is not updated nor on fdroid, nor on Zach's depot: https://f-droid.org/fr/packages/com.zaneschepke.wireguardautotunnel/
I will update from the release page and update the results tomorrow.

Interestingly, even after 5 days, the app is not updated nor on fdroid, nor on Zach's depot: https://f-droid.org/fr/packages/com.zaneschepke.wireguardautotunnel/
I will update from the release page and update the results tomorrow.

The app is updated on my personal fdroid repo here: https://github.com/zaneschepke/fdroid
Fdroid's main repo build/deployment process takes up to 1 week to update an application.

I do use your repo. 2 days ago I was sure I saw the app say 3.4.4 and the fdroid repo said 3.4.4. Checked today and it now says 3.4.6 without me updating it yesterday. Really weird situation...
All in all, the crash unfortunately remains.

May be connected to #144 as the crash log is the same.


include repl per-version with docs

^ this ^

i parameterized the repl for version, so this is mostly done. all that remains is to update the doc header template to point at the repl with the correct version parameter

#838


Initial board setup

draw rectangle with bubbles in it
on click, all bubbles fall off

Looks good, merging


Don't concatenate commands.

https://github.com/mapnik/node-mapnik/blob/master/bin/mapnik-render.js#L32:
child_process.exec('open ' + image);

This should be probably replaced with:
child_process.execFile('open', [image]);

Your current version does not deal with fine with special chars (i.e. spaces) in filenames.
image is just process.argv[3], so it could contain arbitary input.
Not sure what the open command is here, and have not tested the code, hence no PR.

Not an expert here, but wouldn't you want a new subshell for the window you open?

so it could contain arbitary input.

He's saying that this is a security issue. Which it is.


Uplink page "unpause/pause uplink queue" buttons do not work

F´ Version
F' GDS 2.0

Affected Component
Uplink

Problem Description
In uplink page the unpause button does not change to pause button when uplink starts.
I manually removed v-if from the JS to enable pause button in the GUI and observed that pressing pause button cancels all running uplinks.
How to Reproduce

Uplink one or several large file
Press the unpause button
Observe the unpause button does not change to pause button automatically.

Expected Behavior
Unpause uplink queue button should change to Pause uplink queue when uplink is running.
The Pause uplink should pause the uplink instead of cancelling all the uplink queues.

I fixed the "pause" button not switching.  However, the cancel-active file is working as intended.  This is because the user most likely will pause during a transfer error.....and that means the current upload is likely invalid.  Thus we cancel the active file and proceed onto the next file when unpaused as the user will likely need to intervene on the botched file anyway.


Accessibility concerns on create-svelte template

Describe the problem
When creating an app with npm create svelte@latest my-app the app.html file contains the following code:

		<meta charset="utf-8" />
		<link rel="icon" href="%sveltekit.assets%/favicon.png" />
		<meta name="viewport" content="width=device-width" />
		%sveltekit.head%

%sveltekit.body%

My concerns is that the display: contents is reported as having accessibility issues in browsers as stated here: https://developer.mozilla.org/en-US/docs/Web/CSS/display-box#accessibility_concerns
So the results can lead to a full app which can't be used with screen readers which is really not a good default.
Describe the proposed solution
either choose another display value or remove completely the declaration and use the default display value.
Alternatives considered
use either display: block or don't set anything as div are block by default
Importance
would make my life easier
Additional Information
No response

PR proposed #9956

The accessibility concerns you mention don't apply in this situation, to the best of our research — they're specific to things like tables and buttons. Is there a specific bug you've encountered, or is this more of a vague concern?

Yeah, last time I looked into this, the display: contents accessibility bug only affected semantic elements like
. It shouldn't have any effect on divs: https://github.com/sveltejs/svelte/issues/6268#issuecomment-864665450
Though if you have a specific screen reader / browser combination that is unable to use a SvelteKit app due to display: contents, we'd want to know about it.

The accessibility concerns you mention don't apply in this situation, to the best of our research — they're specific to things like tables and buttons. Is there a specific bug you've encountered, or is this more of a vague concern?
This is more a vague concerns as I didn't have capacity to test all browsers versions to check that more in depth.
If this is already known and a conscient decision, I have nothing more to say, I haven't found sveltejs/svelte#6268 so thought it was not already known. You can then safely ignore this issue and the associated PR (thanks for the quick reply)


Added object-based data send

Hi @cybor97 thanks for the PR.
I'd like to keep the module as simple as possible. What you implemented here should be implemented outside the module.


Improve code for initialising Sampler

Codes are quite inconsistent, including

check space

sometimes we pass model for this purpose

we could simplify a lot of overloading by s::Selector=Selector()

See the Turing.Inference.init_spl function in #660 which is relevant.

Duplicate of https://github.com/TuringLang/Turing.jl/issues/746


docker-compose breaks due to incompatible ruby version

First of all, i know this bug isn't of this repo but the git-wiki-skeleton one didn't have an issue tab.
Describe the bug
docker compose up doesn't build the git-wiki-skeleton because of incompatible ruby version
15.03
21.40
21.96 Resolving dependencies..........................
124.9 public_suffix-6.0.1 requires ruby version >= 3.0, which is incompatible with the
124.9 current version, ruby 2.7.0p0
------
failed to solve: process "/bin/sh -c bundle install --gemfile=.env-files/Gemfile.gitlab" did not complete successfully: exit code: 5

To reproduce
Steps to reproduce the behavior:

git clone https://github.com/Drassil/git-wiki-skeleton.git
docker compose up

Expected behavior
The thing building
Desktop (please complete the following information):

OS: Ubuntu 24.04

This should be solved here:
https://github.com/Drassil/git-wiki-theme/commit/699bc603717023c05ed404a787a9729166ff141a
https://github.com/Drassil/git-wiki-skeleton/commit/c60603b5ca8c4807d2e86595c0ea5b6f1cbf0322
Thank you!


fails to build on linux swift 3.0 preview 4

I know it's probably not you favorite platform, but I'd love to use it in a server on linux. There are some errors building though:
~/Gloss$ swift build
Compile Swift Module 'Gloss' (6 sources)
/home/ubuntu/Gloss/Sources/Gloss.swift:78:35: error: argument labels '(identifier:)' do not match any available overloads
    dateFormatterISO8601.locale = Locale(identifier: "en_US_POSIX")
                                  ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/Gloss/Sources/Gloss.swift:78:35: note: overloads for 'Locale' exist with these partially matching parameter lists: (localeIdentifier: String), (coder: NSCoder)
    dateFormatterISO8601.locale = Locale(identifier: "en_US_POSIX")
                                  ^
/home/ubuntu/Gloss/Sources/Gloss.swift:82:43: error: type 'String' has no member 'gregorian'
    var gregorian = Calendar(identifier: .gregorian)
                                          ^~~~~~~~~
/home/ubuntu/Gloss/Sources/Decoder.swift:461:37: error: value of type 'String' has no member 'addingPercentEncoding'
                let encodedString = urlString.addingPercentEncoding(withAllowedCharacters: NSCharacterSet.urlQueryAllowed) {
                                    ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
Foundation.String:286:16: note: did you mean 'removingPercentEncoding'?
    public var removingPercentEncoding: String? { get }
               ^
/home/ubuntu/Gloss/Sources/Encoder.swift:84:45: error: value of type 'String' does not conform to expected dictionary value type 'AnyObject'
                return [key : dateFormatter.string(from: date)]
                              ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:112:31: error: value of type '[String]' does not conform to expected dictionary value type 'AnyObject'
                return [key : dateStrings]
                              ^~~~~~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:153:31: error: value of type 'JSON' (aka 'Dictionary<String, AnyObject>') does not conform to expected dictionary value type 'AnyObject'
                return [key : json]
                              ^~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:180:31: error: value of type '[JSON]' does not conform to expected dictionary value type 'AnyObject'
                return [key : encodedArray]
                              ^~~~~~~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:210:27: error: value of type '[String : JSON]' does not conform to expected dictionary value type 'AnyObject'
            return [key : encoded]
                          ^~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:239:27: error: value of type '[String : [JSON]]' does not conform to expected dictionary value type 'AnyObject'
            return [key : encoded]
                          ^~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:320:31: error: value of type '[NSNumber]' does not conform to expected dictionary value type 'AnyObject'
                return [key : numbers]
                              ^~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:360:19: error: value of type '[NSNumber]' does not conform to expected dictionary value type 'AnyObject'
                                return [key : numbers]
                                              ^~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:400:31: error: value of type '[NSNumber]' does not conform to expected dictionary value type 'AnyObject'
                return [key : numbers]
                              ^~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:440:19: error: value of type '[NSNumber]' does not conform to expected dictionary value type 'AnyObject'
                                return [key : numbers]
                                              ^~~~~~~
/home/ubuntu/Gloss/Sources/Encoder.swift:459:31: error: value of type 'String' does not conform to expected dictionary value type 'AnyObject'
                return [key : absoluteURLString]
                              ^~~~~~~~~~~~~~~~~
<unknown>:0: error: build had 1 command failures
error: exit(1): /home/ubuntu/swift-3.0-PREVIEW-4-ubuntu14.04/usr/bin/swift-build-tool -f /home/ubuntu/Gloss/.build/debug.yaml

(that was in the swift_3.0 branch, I'll see what I can fix and make a PR)

yeah, i don't use Linux and am not sure how to troubleshoot these issues really. :confused: would love to see that PR if you're able to

@hkellaway semi-unrelated question — when will swift_3.0 branch be merged to master and pushed to pod trunk as a new version of the pod?

@tsheaff good q. i've yet to have time to download the latest and make sure things are in working order. once i do so, yes - you'll see a new major version

@hkellaway is it any timeline you could provide, just to schedule things properly?

@illyaBakurov i will work on it this coming weekend

will be giving it a once-over with fresh eyes tomorrow night then pushing to CocoaPods. branch release/1.0.0 can be pointed to in the meanwhile, if desired.

tried to push to the master CocoaPods repo tonight - but encountered error (https://github.com/CocoaPods/CocoaPods/issues/5908). hope to resolve soon; apologies for delaying

version 1.0.0 has been released and is compatible with Swift 3.0! 🎉

i'm closing the original issue as preview 4 is no longer applicable


Wrong release version for EVP_DigestSqueeze() in documentation

The mentioned functions are targeted for 3.3.0
Fixes #23461
CLA: trivial

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

Agree trivial.

This pull request is ready to merge

Merged to the master branch. Thank you.
If you would like to submit a PR against the 3.2 branch that corrects the version when EVP_MD_CTX_dup() was introduced, it would be welcome.


UUID for PostreSQL fails

Describe the bug
Use a UUID on PostgreSQL - fails with unknown type 1111
From here: https://www.reddit.com/r/java/comments/l9gv6d/announcing_persism_100_a_no_nonsense_orm_for_java/glkn2cb/

Fixed in 1.0.1


Add rocketchat

Add support for RocketChat.

No thoughts/comments guys?

@cheremushki we're not deliberately ignoring you! I know @bigmstone has GH reviews on his list of things to do. Should get done soon

Related to https://github.com/StackStorm/st2/issues/3352

How did I miss this awesomeness!
Great work. Going to try it out in my test environment.

Been using this now for just over a week and working great!

Get some nice formatting back instead of a wall of plaintext

This change could potentially break any sort of RC / Slack Clone functionality - https://github.com/StackStorm/hubot-stackstorm/pull/138
Although I'm still investigating how it could be avoided.

This needs to be looked at considering they are about to break compatibility with all non slack platforms that don't have support for slacks new proprietary API

I'll take a look at refactoring as per the requested changes when I have some time.

Reordered the formatters to allow easier code review as requested.
Raised https://github.com/StackStorm/st2chatops/pull/88

Thanks @cheremushki!
Will try it soon.


Refactor get claim summary integration

Currently the get claim summary integration is a very big and messy file, this could be split up better and more tests could be made for each call to the DB it does

Changes to make:

[ ] Create a SummaryHelper to hold the utility functions used by the claim-summary route.
[ ] Factor out retrieving the document file path.
[ ] Factor out removing claim documents.
[ ] Factor out removing claim expenses.
[ ] Add unit tests for the SummaryHelper.
[ ] Updated existing unit tests for the claim-summary route.


#185 Disable Vanilla image tests for now, image is broken

https://github.com/jenkinsci/jenkinsfile-runner/issues/185

#187 was a better solution (apart from the fact the Ci is still red)


Build and run macOS Client directly without App Store

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues

Application
Outline Client
What are you trying to do? What is your use case?
Options for building and installing the client locally instead of going through the Apple App Store.
Is your feature request related to a problem? Please describe it.
There was an issue mentioned here: https://github.com/Jigsaw-Code/outline-apps/issues/2283 where a UI bug caused the client to be non-functional. Rolling out the fix took weeks due to the App Store's review process.
Describe the solution you'd like.
An option to build and run the Outline VPN client locally without going through the App Store.
Describe alternatives you've considered
No response

Hi, I completely agree with @zachratliff. Moving the macOS client to the Mac App Store makes it harder for people who rely on Outline, especially in regions with restricted or censored internet.
The App Store isn’t always accessible, and VPN apps can be removed due to local rules. Some users also can’t use it because of older macOS versions, no Apple ID, or just preferring direct DMG downloads—they’re simpler and more flexible. Updates are another issue: if the App Store is blocked or slow, users might get stuck on outdated versions.
This move feels like it goes against what makes Outline great—being open and easy to access. Forcing everyone onto a closed platform like the App Store doesn’t sit right and could even hurt trust.
Suggestion
Please bring back the option to download the macOS client from the website. Keep the App Store if you want, but don’t make it the only way. A direct download would help a lot of people who need Outline the most.

There are limitations that prevent us from distributing the macOS app as a .dmg as-is; you can follow that specific discussion in #1177. Feel free to chime in there with further thoughts.
I see this particular issue as a separate feature request to easily build the client locally from source. In theory nothing is preventing someone from doing that today, though we could look into making it easier. Note that we're unlikely to prioritize that anytime soon given our limited resources, but we're open to ideas and contributions.


Cannot drop projections in Vertica database

What version of Flyway are you using?
4.1.2
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
Java API
What database are you using (type & version)?
HPE Vertica 8.0
What operating system are you using?
CentOS 6.5, CentOS 7.2, MacOS 10.12
What did you do?
Created a SQL migration that runs the following code:
DROP PROJECTION example_schema.example_projection
What did you expect to see?
The projection should be dropped.
What did you see instead?
The migration fails because the AHM (Ancient History Mark) is out of date.
15:50:23.133 [db-migration] ERROR com.example.vertica.VerticaSchema - could not apply database migration:
Migration V3_0_0__Example_Migration.sql failed
-----------------------------------------------
SQL State  : 55006
Error Code : 4470
Message    : [Vertica][VJDBC](4470) ROLLBACK: Projection cannot be dropped because history after AHM would be lost
  [Vertica][VJDBC]Detail: Current AHM epoch = 0
Location   :  [...omitted...]
Line       : 60
Statement  : DROP PROJECTION example_schema.example_projection

Notes
I think I understand what's going on here. When doing a migration, a lock is held on the Flyway metadata table in another transaction. But the Vertica Tuple Mover cannot advance the AHM Epoch until the lock is released.
Under normal circumstances, the AHM can be advanced by calling Vertica's MAKE_AHM_NOW() function. However, with the lock held open, this function simply blocks and does nothing, so it also cannot be used in a migration.
I honestly don't know what the right thing to do is, here. This is probably not a bug, per se, but it does mean that projections cannot be dropped in migrations.

What may be necessary here is aligning Vertica support with PostgreSQL support as the latter now runs in single-connection mode using advisory locks. Do you want to submit a pull request?

I'll look at what it would take to do this, and hopefully will have a pull request for you shortly.

Vertica is no longer supported, so this is irrelevant. See this issue to track re-introduction of Vertica support https://github.com/flyway/flyway/issues/1855


Work Package wp-ep.csv

I would like to work on this please!

Results of Phase 1
The first paper (Application of Philosophical Principles in Linux Kernel Customization) was not available in IEEE Xplore. Talked to the TA and he said to skip it.
wp-ep-results.csv.csv

Results of Phase 1
wp-ep-results.csv.csv

Results of Phase 1
wp-ep-results.csv

Results of Phase 2
wp-ep-results.csv

Results of Phase 2
wp-ep-results.csv

I completed this work package


code serve-web fails when offline

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:  1.85.2
OS Version:  Linux x64

Steps to Reproduce:

Fire up code serve-web once, and play around with it
Shut it down
Disconnect from the internet
Try to fire up code serve-web again

What should happen:
According to https://github.com/microsoft/vscode/issues/197747#issuecomment-1804296012, it should continue to use the last downloaded version.
What actually happens:
Error serving request: Could not check for update: error requesting https://update.code.visualstudio.com/api/latest/server-linux-x64-web/stable: error sending request for url (https://update.code.visualstudio.com/api/latest/server-linux-x64-web/stable): error trying to connect: dns error: failed to lookup address information: Name does not resolve

Here's the full command line:
/tools/vscode/code serve-web --disable-telemetry --without-connection-token --accept-server-license-terms --user-data-dir /home/user/.local/vscode/User --server-data-dir /home/user/.local/vscode/Server --cli-data-dir /home/user/.local/vscode/Cli --extensions-dir /tools/vscode/extensions --port 7050 --host <IP_ADDRESS>

I recognize that this is a duplicate of #197747, but the linked comment above suggests that in fact the behavior documented here should not be happening. The contents of the serve-web directory are up to date:
bash-5.1$ pwd
/home/user/.local/vscode/Cli/serve-web
bash-5.1$ ls -l
total 8
drwxr-sr-x 7 1002 23456 4096 Jan 21 23:05 8b3775030ed1a69b13e4f4c628c612102e30a681
-rw-rw-r-- 1 1002 23456   44 Jan 22 01:06 lru.json

The most recent version is cached only on memory, and does not persist between restarts. This is something we could add.

It seems to me you can obtain the last saved version from lru.json

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

I'll try to submit a PR to fix this

@weartist Are you still working(工作) on this?

Sorry I didn't continue this anymore, if anyone is interested, you can continue this PR

Hello, I have raised a PR #213233 solving this issue

Hello 👋,
Currently, I'm exploring VSCode to contribute . I might be having difficulty understanding the issue. Link.
Here are the steps I've followed:
* I set up VSCode on my local machine.

* I installed all dependencies.

* I ran` yarn && ./scripts/code.sh` in the terminal.

* I then ran `code serve-web`. It opened a new VSCode window with the internet connection open. However, when I disconnected from the internet and ran the same command again, there were no errors as mentioned above. It still opened a new VSCode window.

Can anyone please assist me with this for contributing?

This is something I have also faced when trying to use the command in WSL

😅 Honestly I have also just jumped into this code base. I am also figuring things out myself.
I mostly ignored most of the setup steps and went to the cli directory directly, which had the rust code and was easy enough to start by following the CONTRIBUTING.md.

@RitamM16 Did your PR loose traction? I'd like to be able to serve vs code from a closed network.

I had some outstanding comments on that PR, if someone else would like to carry it forward I would happily review a PR

@connor4312 the PR in flight (#213233) only seems to leverage the cache once UpdateCheckFailed happens. I feel like I have seen cases where, while offline, the request to update.code.visualstudio.com does not fail immediately, but hangs for a long time/seemingly forever.
Would you be open to a PR where an additional command line flag like --use-cached-server were added so that the user can opt to explicitly use the cached server (and skip the update.code.visualstudio.com request altogether) rather than have to wait for UpdateCheckFailed to occur?

I like @bolinfest idea. That would work great for my use case.

@connor4312 the PR in flight (#213233) only seems to leverage the cache once UpdateCheckFailed happens. I feel like I have seen cases where, while offline, the request to update.code.visualstudio.com does not fail immediately, but hangs for a long time/seemingly forever.
Would you be open to a PR where an additional command line flag like --use-cached-server were added so that the user can opt to explicitly use the cached server (and skip the update.code.visualstudio.com request altogether) rather than have to wait for UpdateCheckFailed to occur?

+1 this would be a great idea

Reopening for https://github.com/microsoft/vscode/pull/227981

The welcome page is pretty broken when we do this cc @bhavyaus but the actual serving works properly now


Update index.rst

Include flashing troubleshooting page

Thanks @scottleibrand. I see this is approved. How do I merge?

For future navigation changes: there are two places to change navigation. One is in the sub-section per @scottleibrand initial suggestion; there is also https://github.com/openaps/docs/blob/master/docs/index.rst which I changed in your branch to include in this PR as well. That gets both the home page nav and also the left menu bar nav updated.


Unable to Connect the ESP32 to Google home/Apple  Mobile Device

I am working with esp32-Arduino-Matter on my esp32, I have used this library's Light Example. I am Able to scan and initiate connection using google Home

If you have any advise or any guides to follow please share
Thanks

You need additional hub as it's stated in error message. Matter with Google does not work without such hub.


Simplifying Navigation Drawer

Solving Issue #190 and #180. Things implemented :
1.) Added Navigation Drawer from Support Library.
2.) Removed complex Navigation Drawer.
3.) Made new threads to Load Projects and APKs.
4.) Solved issue #180. Now pressing back button goes to home fragment rather than to previous fragment.

@opticod changes done. But there is a merge conflict. Can you please help me with that?

@chiragw15 Try to rebase your forked branch with the current bug-fixes branch.

@opticod done. Thanks :)

LGTM! Awesome, passed all codacy+travis test , Merging. :tada:


Add Environment Specification to Robot API

What would you like to be added?
Closely related to #161
Robot API should contain new fields that determines the environment image and configurations.
Why is this needed?
It's needed specify provisioning environment for operator.

This format can be used.
spec:
  environment:
    domain: simulation
    application:
      name: carla
      version: 0.9.13
    devspace:
      ubuntuDistro: focal
      desktop: xfce
      version: 0.1.1


feat: create noop controller implicitly when controllerAs is used

Nowadays, it's a best practice to use controllerAs whenever possible in our Angular apps. This is true for routing, as well as directives. In addition to that, since 1.4, bindToController allows us to specify how properties are bound to the controller, instead of defining them on the scope.
I think this is really awesome, because it encourages developers to use controller in directives, where we'd normally use link. However, there's a tiny little usability problem:
It often happens, that we create directives, that don't really have controller logic, but they do use controllerAs in order to follow the best practice. Such a directive could look something like this
app.directive('foo', function () {
  return {
    restrict: 'E',
    scope: {},
    bindToController: {
      prop1: '='
    },
    controller: function () {

    },
    controllerAs: 'ctrl'
  };
});

This totally does it's job. However, it turns out that the controller really does nothing. So i'd like to omit it. Doing that will throw an error, because controller is undefined, which is why we can't use it like that.
I basically want to be able to use controller as syntax, without specifying a controller in case there's no functionality in it anyways. Maybe angular can use angular.noop as a fallback, in case controllerAs is specified?

You can do controller: angular.noop, and that has the added benefit of being explicit, yet still very succinct. Since I'm a fan of being explicit, I don't really want the compiler to handle this.

We've decided that because of the new module.component helper (https://docs.angularjs.org/api/ng/type/angular.Module#component), this feature will not land, see https://github.com/angular/angular.js/issues/9774#issuecomment-152334369


fix imagemagick tests

Description
Fixes #7400
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

Good point, thanks!

Thank you @michalsn