Offset is getting reset.

Version of Ruby: 2.5
Version of Kafka: 1.0.0
Version of ruby-kafka: 0.5.3
Compression: gzip
Partitions: 12

In production, I occasionaly see the offsets for all partitions in a topic take a precipitous nose dive:

These always occur during flurries of group join and group sync events. I'm passing start_from_beginning: false
Occasionally, but not always, a partition will stop getting consumed, and I'l see in the logs:
ERROR -- : Invalid offset for analytic_events_production/7, resetting to default offset
I've since upgraded to 0.5.4. I'll let you know what I see

@bradurani any updates on this?

Yes, it happened again this weekend:

I'm trying to make sense of the numbers here but I can't. Total lag across all partitions was about 30m

But that only represents about 2.5 days worth of messages, and the cluster is set to 1 week of retention, so I don't think it's trying to consume from the beginning, but I need to do some more work to be sure.
Also notice the smaller drop, later in the day? I'm not sure what's happening

What's your intuition on this one? Is it possible it's a bug in the gem related to compressed batches? I can't think of another way to explain it

Are you still seeing invalid offset errors in the logs? Would you be able to enable debug logging and see which offset was being requested?
An invalid offset error is returned by the broker if the client asks for an "invalid" offset – to my knowledge, that can only be an offset that is larger than the largest offset in the partition, so it sounds like offsets are being computed incorrectly. It could be some special behavior when compression is enabled – the rules around how to compute offsets have become very complex.
If you can figure out exactly what offset is being fetched from, and correlate with the highwater mark offset for that partition, it would be very helpful.

I've introduced improved logging in the v0.5-stable branch – if you point your Gemfile at that you should be able to see the offset that caused the problem.

Ok, I've been able to get more visibility. Here's an example log sequence:
, [2018-04-12T06:55:14.586602 #1] ERROR -- : Timed out reading data from server
E, [2018-04-12T06:55:14.586772 #1] ERROR -- : /usr/local/bundle/gems/rest-client-2.0.2/lib/restclient/request.rb:733:in `rescue in transmit'
/usr/local/bundle/gems/rest-client-2.0.2/lib/restclient/request.rb:642:in `transmit'
/usr/local/bundle/gems/rest-client-2.0.2/lib/restclient/request.rb:145:in `execute'
/usr/local/bundle/gems/rest-client-2.0.2/lib/restclient/request.rb:52:in `execute'
/usr/src/app/pipes/base_kinesis_adapter.rb:8:in `perform_track'
/usr/src/app/pipes/base_analytics_adapter.rb:26:in `block in track'
/usr/src/app/pipes/base_analytics_adapter.rb:64:in `block in monitor_send'
/usr/local/bundle/gems/dogstatsd-ruby-3.3.0/lib/datadog/statsd.rb:241:in `time'
/usr/src/app/pipes/base_analytics_adapter.rb:63:in `monitor_send'
/usr/src/app/pipes/base_analytics_adapter.rb:25:in `track'
/usr/src/app/pipes/consumer.rb:72:in `block in consume'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/consumer.rb:309:in `block (3 levels) in each_batch'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/instrumenter.rb:19:in `instrument'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/instrumenter.rb:33:in `instrument'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/consumer.rb:307:in `block (2 levels) in each_batch'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/consumer.rb:292:in `each'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/consumer.rb:292:in `block in each_batch'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/consumer.rb:375:in `block in consumer_loop'
/usr/local/bundle/gems/activesupport-5.1.4/lib/active_support/notifications.rb:168:in `instrument'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/instrumenter.rb:19:in `instrument'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/instrumenter.rb:33:in `instrument'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/consumer.rb:374:in `consumer_loop'
/usr/local/bundle/gems/ruby-kafka-0.5.4/lib/kafka/consumer.rb:284:in `each_batch'
/usr/src/app/pipes/consumer.rb:63:in `consume'
/usr/src/app/pipes/consumer.rb:43:in `start'
/usr/src/app/start:10:in `<main>'
E, [2018-04-12T06:55:14.620553 #1] ERROR -- : Error committing offsets: Kafka::UnknownMemberId
E, [2018-04-12T06:55:14.623089 #1] ERROR -- : Failed to join group; resetting member id and retrying in 1s...
W, [2018-04-12T06:55:22.102364 #1]  WARN -- : Connection has been unused for too long, re-connecting...
W, [2018-04-12T06:55:22.276319 #1]  WARN -- : Connection has been unused for too long, re-connecting...
W, [2018-04-12T06:55:22.439806 #1]  WARN -- : Connection has been unused for too long, re-connecting...

I don't see any OffsetOutOfRange errors
I haven't received ERROR -- : Invalid offset for  since I upgraded to 0.5.4

OK. Add a comment if you do see it happen again.

@dasch thing is even without ERROR -- : Invalid offset for messages, I'm still seeing these huge offset drops. Just today, this is what I got:

I don't understand what causes the offset to drop like that. Any ideas?

@bradurani you're sure there aren't two groups reporting those metrics? I've made that mistake in the past, not separating metrics from two different data centers.

😂


[CLOSED] 'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).

 Issue by canfiax
Monday Sep 08, 2014 at 19:58 GMT
Originally opened as https://github.com/Waxolunist/bootstrap3-wysihtml5-bower/issues/88

What does this mean? Outputted in console.
'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).

I still have this issue with version 0.3.3


Azcopy Sync operation fails on destination scan with timeout 500 error

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.3.4
Which platform are you using? (ex: Windows, Mac, Linux)
Linux(Centos 7.5)
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy sync /data/ 'https://account_name.blob.core.windows.net/container_name/SAS_KEY' --output-type json
What problem was encountered?
I'm running sync on about 650Gb set of files with ASDL2 container that was already synced before. After successfuly scanned source folder azcopy started scan of destination folder, and hangs on same amount of FilesScannedAtDestination on each run. Error message looks like:
{"TimeStamp":"2020-03-04T09:08:06.270662679Z","MessageType":"Error","MessageContent":"{\"JobID\":\"ead3bb0b-7378-074f-769c-e486c7451726\",\"Error\":\"cannot list blobs. Failed with error -\\u003e github.com/Azure/azure-storage-blob-go/azblob.newStorageError, /go/pkg/mod/github.com/!azure/azure-storage-blob-go@v0.7.0/azblob/zc_storage_error.go:42\\n===== RESPONSE ERROR (ServiceCode=OperationTimedOut) =====\\nDescription=Operation could not be completed within the specified time.\\nRequestId:d3c63b42-701e-0099-1f04-f24a4d000000\\nTime:2020-03-04T09:08:06.2399087Z, Details: \\n   Code: OperationTimedOut\\n   GET https://account_name.blob.core.windows.net/container_name?comp=list\\u0026include=metadata\\u0026marker=2%21344%21mdawmjeyiu1uyzrore0xtxpfek9ettbovel3twpnd05erwdnq0f2ytjgdvlysnbar0ywwvdwnfkyaghibwrsqvrbefjevtvrakuwumtar016tkzramn2yvhsbmfxmxdim0owqvrbefjevtvsakewtkvoqk1vrtnra0l2ulvfdmmzvndjr3g1wtjoagfxnhzjbuyztdbwtljvrxztrvzrtdbwvfzfohzlv1zoy20xdmjuum9qvel3tvrzd05towtzwgwwyvcxbgmzumhiwee5txpfeu16vtrnvfk9itawmdayoceymdiwltazlta0vda4ojqyoju0ljg2otyxntnaiq--\\u0026restype=container\\u0026se=2021-01-28t18%3A38%3A44z\\u0026sig=-REDACTED-   User-Agent: [AzCopy/10.3.4 Azure-Storage/0.7 (go1.13.7; linux)]\\n   X-Ms-Client-Request-Id: [e4faab16-d795-4c09-41b0-346b3684542a]\\n   X-Ms-Version: [2018-03-28]\\n   --------------------------------------------------------------------------------\\n   RESPONSE Status: 500 Operation could not be completed within the specified time.\\n   Content-Length: [245]\\n   Content-Type: [application/xml]\\n   Date: [Wed, 04 Mar 2020 09:08:05 GMT]\\n   Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]\\n   X-Ms-Error-Code: [OperationTimedOut]\\n   X-Ms-Request-Id: [d3c63b42-701e-0099-1f04-f24a4d000000]\\n   X-Ms-Version: [2018-03-28]\\n\\n\\n\"}","PromptDetails":{"PromptType":"","ResponseOptions":null,"PromptTarget":""}}
How can we reproduce the problem in the simplest way?
Have you found a mitigation/solution?
Clean up destination container helps, but sync it back again from scratch takes too long

I'm not sure why that's happening.
Have a look at the new flag described here: https://github.com/Azure/azure-storage-azcopy/releases/tag/10.3.4  and for more info run azcopy copy --help
It let's you achieve the same effect that you're looking for, but with copy instead of sync.  This avoids the scanning of the destination. (Instead it does a separate data check for each file, as it goes).

Hi @kalininsn ,
Is the issue still persisting? I'm closing this issue. If it does persists, please reopen the issue.


Add unit tests and fuzz tests for set_key_pair_info

@Xiaohanjlll , please fix CI failure.

@jyao1

I have fix it.   https://github.com/DMTF/libspdm/pull/2843


Update PhoneRTCPlugin.swift

From #190 . Worked for me on latests iOS versions.

@Mgonand thanks for IOS. It's working now with new version of IOS. But shutdown in android.

If remove "MainInterface" in project settings, it works also for 5s. But still error when call start in android

In latest versions of Android is mandatory to ask for permissions in order to prevent crashes. I did it, but I am not android and iOS developer and set up everything to work in my app and maybe that wasn't the better way. I added a permission checker function to be called from Javascript code to ask for permission.
I hope you can do better work from this. Thanks


ref #610: add restriction to extended lookup

Q
A

Branch
7.0.x

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed issues
chameleon-system/chameleon-system#610

License
MIT

The extended lookup no longer supported restrictions based on the current record

@UlrichKu I'll change the target branch to 6.3 once all discussions have been resolved.

replaced by https://github.com/chameleon-system/chameleon-base/pull/483


Fail to build containers because of failing git lfs checkout

Bug description
Your git lfs quota ran out and thus we can't build our custom windows docker images. Please consider to not use git lfs even though these files are big but they don't seem to be updated often.
How to reproduce
git clone https://github.com/game-ci/docker.git .
git lfs pull
Expected behavior
The assets should be checked out.
Additional details
I shared the full actions.yml here: https://github.com/game-ci/documentation/issues/38#issuecomment-1668276824
Anyway here's the issue:

Run docker build https://github.com/game-ci/docker.git#main:images/windows/base --build-arg windowsImage="mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022" -t unityci/base:22
unable to prepare context: unable to 'git clone' to temporary context directory: error checking out main: Downloading reference-project/Assets/ExampleAssets/Models/ConstructionLight_Low.fbx (128 KB)
Error downloading object: reference-project/Assets/ExampleAssets/Models/ConstructionLight_Low.fbx (b4a1b74): Smudge error: Error downloading reference-project/Assets/ExampleAssets/Models/ConstructionLight_Low.fbx (b4a1b74c94d69fd330a28c37c65fb85d8f0eb62b7a8f04e94efa301152707b37): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Errors logged to 'C:\Users\hive_actionrunner\AppData\Local\Temp\docker-build-git3450166669\.git\lfs\logs\20231004T044043.9965492.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: reference-project/Assets/ExampleAssets/Models/ConstructionLight_Low.fbx: smudge filter lfs failed
: exit status 128
Error: Process completed with exit code 1.

CC @salvluc, @avexules fyi

The LFS file is more for our testing workflows, none of the files critical to image building relies on lfs. Thus you can pull using the following to skip lfs files and not be impacted should this happen again in the future:
set GIT_LFS_SKIP_SMUDGE=1
git clone https://github.com/game-ci/docker.git .


DO NOT MERGE

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.02%. Comparing base (7c52b35) to head (5749294).

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #32       +/-   ##
===========================================
- Coverage   99.51%   86.02%   -13.50%
===========================================
  Files           9        9
  Lines        1445     1445
===========================================
- Hits         1438     1243      -195
- Misses          7      202      +195

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Training setup fails with error AttributeError: 'FrozenDict' object has no attribute 'prediction_type'

The config attributes {'set_alpha_to_one': False, 'skip_prk_steps': True, 'steps_offset': 1} were passed to DDPMScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
  0% 0/3000 [00:00<?, ?it/s] pila
<img width="1388" alt="Screenshot 2022-12-03 at 9 04 42 PM" src="https://user-images.githubusercontent.com/2477788/205475451-bd5f69ee-46a6-4050-a0f5-946ccf1e0d45.png">
uua   pilauua  Traceback (most recent call last):
  File "/content/diffusers/examples/dreambooth/train_dreambooth.py", line 797, in <module>
    main()
  File "/content/diffusers/examples/dreambooth/train_dreambooth.py", line 656, in main
    if noise_scheduler.config.prediction_type == "epsilon":
AttributeError: 'FrozenDict' object has no attribute 'prediction_type'
  0% 0/3000 [00:06<?, ?it/s]
Traceback (most recent call last):
  File "/usr/local/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/accelerate/commands/accelerate_cli.py", line 43, in main
    args.func(args)
  File "/usr/local/lib/python3.8/dist-packages/accelerate/commands/launch.py", line 837, in launch_command
    simple_launcher(args)
  File "/usr/local/lib/python3.8/dist-packages/accelerate/commands/launch.py", line 354, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/diffusers/examples/dreambooth/train_dreambooth.py', '--image_captions_filename', '--train_only_unet', '--Session_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/dua_lipa', '--save_starting_step=500', '--save_n_steps=500', '--pretrained_model_name_or_path=/content/stable-diffusion-v1-5', '--instance_data_dir=/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/dua_lipa/instance_images', '--output_dir=/content/models/dua_lipa', '--instance_prompt=', '--seed=926688', '--resolution=512', '--mixed_precision=fp16', '--train_batch_size=1', '--gradient_accumulation_steps=1', '--gradient_checkpointing', '--use_8bit_adam', '--learning_rate=2e-6', '--lr_scheduler=polynomial', '--lr_warmup_steps=0', '--max_train_steps=3000']' returned non-zero exit status 1.
Something went wrong

Did you load a custom model ?

No, it is the vannila notebook. I ran it again and magically it is running this time 🤷🏼♂

Great!

I was getting the same error running dreambooth training using diffusers==0.8.0 upgrading to diffusers==0.9.0 removed the error

You should use my fork of diffusers for the dreambooth colab, it is automatically installed at the beginning.


Improve the cli experience

Fixes issue #4

Codecov Report

Merging #5 into master will decrease coverage by 0.08%.
The diff coverage is 30%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   30.53%   30.45%   -0.09%
==========================================
  Files           7        7
  Lines         501      509       +8
==========================================
+ Hits          153      155       +2
- Misses        348      354       +6

Impacted Files
Coverage Δ

src/converters/flamegraph_converter.rs
1.45% <0%> (ø)
:arrow_up:

src/converters/chrome_tracing_converter.rs
2.24% <0%> (-0.08%)
:arrow_down:

src/converters/debug_converter.rs
16.66% <0%> (ø)
:arrow_up:

src/converter_manager.rs
68.96% <100%> (ø)
:arrow_up:

src/main.rs
16.23% <25%> (+0.44%)
:arrow_up:

src/label_mapping.rs
87.9% <0%> (-0.63%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks a lot for contribution!


Patch cleanup

This reduces our library patches to only the pthread-disabling ones.
For the fcstat fontconfig patch to be dropped updating emscripten was also necessary due to a bug in the currently used version. Hoping to avoid emscripten-related changes taking over, I stuck to the last 2.x release instead of updating to 3.x, but even so some cleanup was required.
There are some points I’d like to hear an opinion on before proceeding:

If we want to drop the deprecated API instead of surpressing the warnings, I’ll just drop it from this PR and defer dropping to a future patch.
Since we only build static libs, the only linking happening (currently) is at the final step. Instead of GLOBAL_LDFLAGS we could also specify LDFLAGS as part of  only at the final linking step instead of setting them globally. Not sure what’s better.
If (not yet tested) the filesystem gets linked automatically, should we completly remove its flag entirely or keep it for verbosity?

Furthermore, the update introduced one more warning, but I wasn’t sure what to do about it — though everything still seems to work fine.
/emsdk/upstream/emscripten/em++ -Wall -Wno-deprecated -g -O2 -r -s ENVIRONMENT=web,webview,worker -s NO_EXIT_RUNTIME=1 -s MODULARIZE=1 -o subtitlesoctopus.bc SubtitleOctopus.o
em++: warning: generating an executable with an object extension (.bc).  If you meant to build an object file please use `-c, `-r`, or `-shared` [-Wemcc]

However, as one can see -r already is used and was even added explicitly?

Regarding the HarfBuzz "dependency" patch: in the first version of #129 the patch seems to have become unnecessary because both the bootstrap and final FreeType libs were installed into the same DESTDIR, so the old pcfile became automatically available. However, this also means the library files already existed albeit without HarfBuzz support. While this might have worked in a sequential build, this seems prone to race-conditions on full-parallel builds so I'm not in favour of adopting this approach.
As for why just dropping the patch without any changes intially seemed to work for me: I didn't clean before the test so the old harfbuzz-supporting FreeType pc-file was still present in the path. It cannot be dropped without an replacement in a clean build.

Regarding the -r warning: it even appears when calling em++ -r -o *.bc *.cpp standalone without a compile only step first. Using just the compile -c without any pseudo-linking step solves the issue. With the autotools setup, the better approach for this would have been to tell automake to build a static library instead of declaring to build an executable program with modified linking parameters.
However, most of the configure test are currently ignored and we only target one toolchain anyway, so I replaced the src/ build setup with just one custom Makefile which is shorter than both the current setup and the Meson setup from the initial #129 and also allows us to drop the configuration targets.

Rebased and made a small change regarding the MODULARIZE flag; it is now removed instead of added to global flags.
If you plan to review this and need more time, say so soon and this can wait however long required. Otherwise I'll assume there are no objections and will merge this soon.
The now removed RFC messages in the commits were:

src/make: suppress deprecation warnings:
Or should we just drop the deprecated API?
make: split global linker and compile flags:
Alternatively, do not set LDFLAGS globally only at the final step as this is the only instance of linking (currently at least).
make: remove filesystem flags from dependency builds:
modern emscripten is supposedly able to detect this automatically. If it works, should we also remove it from the final link flags?


Feat/iu 20 gruped search results unmerged commits

new PR for https://github.com/unicef/iogt/issues/83
https://github.com/unicef/iogt/pull/222 was marged with core logic of grouping search results while there were additional unmerged commits in https://github.com/unicef/iogt/pull/122

minor changes after code review

@ehmadzubair could you please check? thx


ModuleTaskLoader(): OSError when changing the path

Consider the following Python scripts. It is important to have them into some subdirectory, here it is named doit-test, but the name does not matter.
doit-test/test1.py
#!/usr/bin/python3
import doit
import os
import sys

def task_hello():
    """hello"""

    def python_hello(targets):
        with open(targets[0], "a") as output:
            output.write("Python says Hello World!!!\n")

    return {
        "actions": [python_hello],
        "targets": ["hello.txt"],
        "clean": True,
        }

if __name__ == "__main__":
    from doit.cmd_base import ModuleTaskLoader
    from doit.doit_cmd import DoitMain

    os.chdir(os.path.realpath(os.path.dirname(__file__)))
    sys.exit(DoitMain(ModuleTaskLoader(sys.modules[__name__])).run(sys.argv[1:]))

doit-test/test2.py
#!/usr/bin/python3
import doit
import os

def task_hello():
    """hello"""

    def python_hello(targets):
        with open(targets[0], "a") as output:
            output.write("Python says Hello World!!!\n")

    return {
        "actions": [python_hello],
        "targets": ["hello.txt"],
        "clean": True,
        }

if __name__ == "__main__":
    os.chdir(os.path.realpath(os.path.dirname(__file__)))
    doit.run(globals())

These scripts should be pretty much equivalent anyway, and with respect to this issue they behave identically.
If you run these scripts in the folder in which they are located, all works as expected. However, when running them using a relative path we get this:
Traceback (most recent call last):
  File "/home/oliver/.local/lib/python3.5/site-packages/doit/doit_cmd.py", line 177, in run
    return command.parse_execute(args)
  File "/home/oliver/.local/lib/python3.5/site-packages/doit/cmd_base.py", line 127, in parse_execute
    return self.execute(params, args)
  File "/home/oliver/.local/lib/python3.5/site-packages/doit/cmd_base.py", line 389, in execute
    self, params, args)
  File "/home/oliver/.local/lib/python3.5/site-packages/doit/cmd_base.py", line 270, in load_tasks
    return self._load_from(cmd, self.mod_dict, self.cmd_names)
  File "/home/oliver/.local/lib/python3.5/site-packages/doit/cmd_base.py", line 254, in _load_from
    task_list = loader.load_tasks(members, cmd_list, cmd.execute_tasks)
  File "/home/oliver/.local/lib/python3.5/site-packages/doit/loader.py", line 129, in load_tasks
    funcs = _get_task_creators(namespace, command_names)
  File "/home/oliver/.local/lib/python3.5/site-packages/doit/loader.py", line 200, in _get_task_creators
    line = inspect.getsourcelines(ref)[1]
  File "/usr/lib/python3.5/inspect.py", line 931, in getsourcelines
    lines, lnum = findsource(object)
  File "/usr/lib/python3.5/inspect.py", line 762, in findsource
    raise OSError('could not get source code')
OSError: could not get source code

This is somewhat unexpected and it does not help to import linecache and call linecache.clearcache() between instantiating the loader and calling DoitMain().run() either.
I discovered this when I changed the path before invoking run() ... but it's simpler to reproduce by giving a relative path to the script in question.
Environment

OS: Windows 10 and Ubuntu 16.04 respectively (error is the same except paths and line numbers in traceback)
Python version: 3.7.3 / 3.5.2
doit version: 0.31.1

The one workaround I have found was to use the following variation on the DodoTaskLoader:
#!/usr/bin/python3
import doit
import os
import sys

def task_hello():
    """hello"""

    def python_hello(targets):
        with open(targets[0], "a") as output:
            output.write("Python says Hello World!!!\n")

    return {
        "actions": [python_hello],
        "targets": ["hello.txt"],
        "clean": True,
        }

if __name__ == "__main__":
    from doit.cmd_base import TaskLoader
    from doit.doit_cmd import DoitMain

    class MyTaskLoader(TaskLoader):
        cmd_options = ()

        def load_tasks(self, cmd, params, args):
            from doit import loader
            module = loader.get_module(__file__, None, False)
            return self._load_from(cmd, module, self.cmd_names)

    sys.exit(DoitMain(MyTaskLoader()).run(sys.argv[1:]))

It is a bug on python: https://bugs.python.org/issue15931 https://bugs.python.org/issue20443

Damn. Thanks for pointing it out. Will see whether there is a better workaround, as the one I came up with has other unexpected side effects (global variables from said module are not visible inside functions from that module any longer ...).


[Papercut][SW-16008] - Smarty function to get a custom page's content

Description
Please describe your pull request:

Why is it necessary?
Papercut SW-16008
What does it improve?
It makes a smarty function available in templates (especially inteded for mail templates) to get the content from custom pages (terms of service etc.):
{getPageContent id=?} for HTML
{getPageContent id=? plain=1} for plain text version
Does it have side effects?
No - if the function is not used, it is completely silent

Questions
Answers

BC breaks?
no

Tests pass?
yes

Related tickets?
https://issues.shopware.com/#/issues/SW-16008

How to test?
Use {getPageContent id=?} in any template

Hi @mkreusch
Thanks for your contribution!
Please have a look at our Coding Standards and reformat you code accordingly.
To fix the coding style you can use tools like php-cs-fixer or PHP_CodeSniffer. Also PhpStorm can be configured to use PSR-1 and PSR-2 to reformat your code automatically.
Best regards!

Hi @mitelg
Sorry for that - i have fixed it.

Hello, thank you for your pull request, we have looked at again in more detail. We currently do not see the functionality inside the core and assume that this can be solved individually in the respective projects. Registering Smarty functions via theme or plugin is indeed easily possible. Looking ahead we will tackle the whole issue "static pages" again. Thank you very much for your understanding


.net core

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Operating System: linux
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

.dll file to execute


regexp_replace format error

System information:

Operating system (distribution) and version
DBeaver version
Additional extensions

Connection specification:

Database name and version
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs

Please provide more info

What is your database?
What exactly is wrong with formatting?

请提供更多信息

你的数据库是什么？
格式化到底有什么问题？

hive ,
regexp_replce(a,'-',''),
nvl(a,'')，
coalesce(a,0),
substr(1,0)
Several other functions are also problematic。

Part of the problem was solved in this ticket https://github.com/dbeaver/dbeaver/issues/7509
it remains to add functions to Hive

And we have ticket already https://github.com/dbeaver/dbeaver/issues/6439 for this


[#312] Updated color.ini so messages are visible

The BG color used is used as a primary component of the theme, as to ensure it "fits the theme" so to speak

Fix #312

@Milo123459 check if this solves the issue

Okay, it seems to of fixed it. Thanks!


Improve custom configuration information message

The Problem/Issue/Bug:
Confusing error message with typo.
How this PR Solves The Problem:
Improves the readability.
Manual Testing Instructions:
Automated Testing Overview:
N/A
Related Issue Link(s):
Release/Deployment notes:
This doesn't change how anything works.

Fixed test.


Hide sidebar when a link item onclick

When in the sidebar component, I click on a menu item, it send me to the page, but the sidebar is left open.
If it is a normal link, it is easy to close the sidebar:
{{#ui-sidebar as |execute|}}

      Works!

{{/ui-sidebar}}

But if there is a link with the helper #link-to, how I can do?
{{#ui-sidebar as |execute|}}

      {{#link-to "login"}}
        Sign In
      {{/link-to}}

{{/ui-sidebar}}

I have tried in many ways, but none works for me.
Thank you very much!

Unfortunately the link-to helper doesn't have any actions at the moment to hook into. The easiest solution would be to use something like dockyards composable helpers.
{{#ui-sidebar as |execute|}}

      Works!

{{/ui-sidebar}}

Or instead of the invoke helper, call a custom action and call transitionToRoute in your controller

Thank you very much aaronbhansen, it has worked for me :blush:

FYI, while I think a combination of a "regular"  tag in combination with the ember-href-to addon is the better option, there is also the ember-link-action addon.

Thank you very much Panman8201, I did'nt know these addons, I'm going to try! :)


Language Translations

Thank you for this work. Any chance for translations? Perhaps different configuration files for each language, and then add a setting in configuration file that switches the language? I'd be happy to help make translations.

Hei, thank you too! Translations are actually something I have wanted to do for a while. In the time I've got, I have been working on some other things, but I will look into it next. Thank you also for offering your help. I'll write to you when I’m on it. ^^

Hei, lately I got some time to work on localization for this app and I put out a new version. In there I made some basic translations into english. If you want to take a look at it, you'll find the localization file here "ViscaCamLink/Resources/Strings.resx" in the "0.3.0-pre" branch.


Account for memory usage in SortPreservingMerge (#5885)

Which issue does this PR close?

Closes #5885
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

We have found another cause of the memory use in IOx downstream, but I still think this PR is valuable. Once we sort out downstream we'll try and get this one polished up and ready to go

I plan to try and help this PR over the line in the next day or two

Ok, i really do plan to pick this code up tomorrow and work on it

I have a new version of this code on https://github.com/apache/arrow-datafusion/pull/7130 that I am making progress


Proportion specifications go stale in the lineplot request when you retroactively filter on that variable

e.g. if I choose red_hair/(red_hair + blue_hair + green_hair + yellow_hair) for a lineplot y axis, and make a plot.
Then I go and filter on hair color down to just red, green, blue hair, and return to the viz.
The denominator drop-down doesn't contain yellow any more, but the numerator and denominator values sent to the back end are exactly the same as before (including yellow in the denominator).
It doesn't cause a ton of 500s but you can make a 500 by filtering away all the denominator values.
This might require some UX discussion. Do we need to say the configuration is no longer valid, please change the y-axis proportion specification?

This is fixed, not sure why it didn't get closed. We had some ideas to improve the UX but there is adequate communication and avoidance of 500s at the moment.


Chitel

Chitel created by<EMAIL_ADDRESS>on 2021-06-12 15:01:04

<EMAIL_ADDRESS>replied, The definitions for the word chitel in Tekinged are missing a meaning that was used in the song  that is "its manner" or "its ways" as defined in Kerresel as chitel a urrebetellel.  I expand on this explanation in the usage document here:  Usbechel 02 - Chitel
|
|
|
|  |  |
|
|
|
|  |
Usbechel 02 - Chitel
A USBECHEL A TEKOI ER BELAU Chad el Luchesii: Jim Geselbracht Tieklel: 6/12/21 Tekoi: proposed alternate mean...
|
|
|

<EMAIL_ADDRESS>replied, so like MO...

<EMAIL_ADDRESS>replied, Hey Jim!
Was there supposed to be a link or attachment containing your explanation?
I am not seeing anything in the email or in Debulge.
In any case, I think the definitions are accurate. It's often used to refer
to something unusual or not very typical of someone. Usually, we'd say
something like "Ng kora diak el chitel a Jim el di lmuk. Ng locha kmal
mesulaul." (It's so unusual/not very typical for Jim to be so quiet. He's
probably very sleepy.)

in this song 'chitel rasechebeab' uncaring behavior/personality. (chitel).
What's missing as in chuit too is mechuit as in mekreous, tightwad or conservative.


Enable pattern matching with compartments

Enable RulePatternMatcher and SpeciesPatternMatcher for models with compartments. Support was already there, just removed NotImplementedError - this is validated by including move_connected, which contains species with compartments, in the test_all_species generated test.

LGTM overall, though it's been a while since I worked with compartments. Ideally it'd be good to see test coverage for the two lines highlighted by codecov - particularly pysb/core.py line 956.

Ah! turns out adding the edges in 956 is actually not even necessary, simply adding the species compartment node to the graph is sufficient. Removed the respective lines, added a test for the value error and simplified the code a bit further.

@alubbock @lh64


It is the root of trouble

dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
dotnet add package Microsoft.EntityFrameworkCore.Design
dotnet add package Microsoft.AspNetCore.Identity.EntityFrameworkCore
dotnet add package Microsoft.AspNetCore.Identity.UI
dotnet add package Microsoft.EntityFrameworkCore.SqlServer
dotnet add package Microsoft.EntityFrameworkCore.Tools

=================================================
The SDK 'Microsoft.NET.Sdk' specified could not be found
f**k

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

ID: 804e24dd-7e30-8cf5-2c99-1ffacb4582f6
Version Independent ID: 3e25547b-e2c9-6634-2c38-2a77207f17d4
Content: Scaffold Identity in ASP.NET Core projects
Content Source: aspnetcore/security/authentication/scaffold-identity.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.1.3">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.3">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>

You need <Project Sdk="Microsoft.NET.Sdk.Web">
The tutorial works. I'm not sure what step you missed. You might try asking on StackOverflow,.

@Rick-Anderson  following the tutorial  makes VSCode C# extension get into trouble

https://github.com/OmniSharp/omnisharp-vscode/issues/2790 be caused by
dotnet add package Microsoft.VisualStudio.Web.CodeGeneration.Design
dotnet add package Microsoft.EntityFrameworkCore.Tools

I so sorry! This tutorial is right.


No Hand Interaction with Holographic Remoting on HoloLens 2 on Unity 2020 LTS (again)

Describe the bug
No kind of hand interaction is working with Holographic Remoting on HoloLens 2. It seems like hands aren't recognized at all. This affects Quest 2 hand tracking as well.
To reproduce
Steps to reproduce the behavior:
Create a new Unity project
Switch Build Platform to UWP
Set Api compatibility level to .NET 4.x
Set OpenXR Depth submission mode to 16 for UWP and Desktop
Import TextMeshPro Essentials
Import MRTK Foundations and examples
Open scene which contains buttons (e.g. NearHandMenu example)
Open Holographic Remoting Player on Hololens 2
Open Windows Mixed Reality and enter the IP address of HoloLens 2
Press play
Bring hands in the viewport of HoloLens cameras
Expected behavior
Visible hand representation and working interaction with Buttons etc.
Screenshots
If applicable, add screenshots to help explain your problem.
Your setup (please complete the following information)

Unity Version 2020.3.25f1
MRTK Version <IP_ADDRESS>

Target platform (please complete the following information)

HoloLens 2
Quest 2

Additional context
No console errors show up

In your Desktop settings for OpenXR, do you have Hand Tracking enabled?

yes, hand and eye tracking are both enabled, and remoting for play mode. as a side note, if eye tracking is turned off, the cursor that  comes out of your hand shows up, and is partially usable, but you still can't push buttons with your fingers, and of course OpenXR config yells at you because it wants eye tracking.

using MRTK 2.7 and Unity 2020.3.8 worked with the same settings. is the a latest tested version of unity, with the current version of MRTK? since the latest version of unity is broken?

The issue still exists in 2020.3.26f1

Working package list in 2020.3.8f1

2020.3.8 in editor only works with WMR, not openxr. builds work with openxr

Hi @wirelessdreamer can you update your Mixed Reality OpenXR Plugin to the latest? Also, can you double check which remoting window you're using? Based on your repro steps, "Open Windows Mixed Reality and enter the IP address of HoloLens 2" you appear to be using the wrong one. Please follow the instructions here: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/unity-play-mode?tabs=openxr#unity-play-mode-with-holographic-remoting

@polar-kev
I've used both OpenXR with its remoting configuration, and WMR with its remoting configuration, each separately, and with the matching one to the enabled for it.
@keveleigh just saw your message, I had had and eye tracking enabled for all tests.

@polar-kev I've used both OpenXR with its remoting configuration, and WMR with its remoting configuration, each separately, and with the matching one to the enabled for it.
@keveleigh just saw your message, I had had and eye tracking enabled for all tests.

when i use WMR,it'll show me "Receiving..."in my hololens,and in editor's WMR show me Connected.
when i use OpenXR,unity will debugerror"Failed to load openxr runtime loader"
the package i use is
MR OpenXR plugin v1.3.1
MR WinRT Projections v0.5.2009
OpenXR Plugin v1.11.2
Windows XR Plugin v4.6.2
i don'n know how to solve this problem

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


⚠ Bofrost.at has degraded performance

In cfe232b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 5427 ms

Resolved: Bofrost.at performance has improved in 4faf31d after 6 minutes.


Final Code Product Format - Decide 2/23

Where do we want to host the final code? We discussed how Jupyter notebooks are accessible for researchers but not very usable in GH. Additionally, we should consider how to write test modules for code run in Jupyter.

Resolution: Module format for ease of testing


SP doesn't start due to ModuleNotFoundError: No module named 'objgraph'

All scenarios failed on December 20th with the error ModuleNotFoundError: No module named 'objgraph' during start up of the scenario player.

Seems to be fixed by Raiden


Scroll to anchor and aos problem.

Hello.
I use dot navigation with navigation to anchors on the page.
For aos I use mirror:true option.
So that elements hide each time they are out of viewport.
Here starts the problem. When I click navigation dot (for to navigate to element which is out of viewport now), I scroll to element, but as it appears with delay, top offset equals to current position of element, and he is not on its final place yet. So dot navigates me to the wrong position, then when element is on its final place (aos finished animation) I click the same dot second time and now it navigates me correct to the real top of element. Did you consider it when you created plugin? How can I get final position of element to navigate to it?

I'm having the same issue using Vue&Vuetify: using scrollTo(element) scrolls to the element, but then, all the content in between the path of scrolling is animated and the final height of the elements have changed. It ends up scrolling to a random position (depending on how quick the elements in the path have been animated). Maybe there could be an option to create a placeholder the same height of the animated element, just to keep the page height the same.


feat(ingest): SageMaker jobs and models

Adds support for SageMaker models and all eight job types. Also ingests all datasets fed into + generated by jobs as well as cases where one job spawns another (for instance, hyperparameter tuning jobs spawn multiple training jobs during the search process).
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable)

(don't merge just yet – switching to representing each job with own flow + custom browse paths)


digestURI when signing

Hello,
When handling signature part when generating the SP metadata, in java file "Util.java", at line executing "sig.addDocument(reference, transforms, Constants.SHA1);", is this normal that the digestURI parameter (Constants.SHA1) is hard-coded? Is it not depending on the signature algorithm provided in the properties file/certificate?
Regards,

The signMetadata method accepts a signAlgorithm parameter, but the digest method is hardcoded to Constants.SHA1 on the addSign method.
We should improve the addSign and signAlgorithm method to accept a digestAlgorithm parameter as well.


Migrate rules_bazel_integration_test functionality to bazel-integration-testing

Destination: https://github.com/bazelbuild/bazel-integration-testing
Slack Thread: https://bazelbuild.slack.com/archives/CDCMRLS23/p1638830205024500?thread_ts=1638550059.021400&cid=CDCMRLS23
Chuck Grindel  28 days ago
@Ittai Zeidman Do you know who is the primary maintainer of bazelbuild/bazel-integration_testing? I agree that it could be confusing to have both. However, if Google has internal dependencies on the repository, it might be painful to migrate to the new rule.

GitHubGitHub
GitHub - bazelbuild/bazel-integration-testing: Framework for integration tests that call Bazel
Framework for integration tests that call Bazel. Contribute to bazelbuild/bazel-integration-testing development by creating an account on GitHub. (54 kB)
https://github.com/bazelbuild/bazel-integration-testing

Alex Eagle  28 days ago
I'm 95% sure that google-internal doesn't use anything from that repo, and @Ittai Zeidman indicated in the past that they're okay with new maintainers there. If there isn't a technical limitation, it seems like the simplest answer to me

Ittai Zeidman  28 days ago
I’m 99% sure no google internal things use it.
I think there’s an IJ OSS test that uses it. Might be a good exercise moving from one API to another to see how hard the new repo is to use.
I’m the main maintainer (or neglecter :disappointed: :man-facepalming: ) and I’d be happy to add more maintainers.

Chuck Grindel  27 days ago
Then, bazebuild/bazel-integration-testing sounds like a good home to me. I would be happy to become a maintainer for the repository, as well.
Here are a few questions:
Would you be willing to help with the code reviews?
Are you generally happy with the structure that I have in my repository?
As an initial PR, would you prefer to see a big PR with changes that roughly recreates the repository that I have?

Alex Eagle  26 days ago
@Paul Johnston you had interest in the go_bazel_test rule and seeing that the goodness there is preserved in the canonical upstream thing, what's required for you to help out here? If we can connect some funding to the SIG so it can be billable time?

Alex Eagle  26 days ago
@Ittai Zeidman I think we should ask the Bazel admins to move the bazel-integration-testing repo from bazelbuild to bazel-contrib. If the SIG funds the development, we should also control the repo. Any concern?
(github does a great job hosting all the redirects so it's non-breaking)
:+1:
1

Ittai Zeidman  26 days ago
no concerns

Chuck Grindel  26 days ago
So, if we do move the repo and redirect, we can change the name of the repo. Correct? If that is true, I think that the rules_bazel_integration_test name fits the recommended guidance.

Alex Eagle  26 days ago
yup, asked Phillip and Sven to approve the move, they are working on it

Ittai Zeidman  26 days ago
Added both of you to the repo as maintainers

Chuck Grindel  25 days ago
Great. Any thoughts on my comment about the name change?

Alex Eagle  25 days ago
we'll change the name as part of the move. need a googler to do bazelbuild/bazel_integration_testing -> bazel-contrib/rules_bazel_integration_test

I did some investigation into what it would take to refactor bazel-integration-testing and migrate rules_bazel_integration_test. See the Slack thread below for some of the details.  Unfortunately, executing bazel test //... from HEAD fails. I did not spend too much time looking into the errors.
After some reflection and recognizing that the only commonality between bazel-integration-testing and rules_bazel_integration_test is the bazel_binaries macro, I am starting to think that we should not merge the two repositories. As an exercise, I migrated over the bazel_binaries macro and removed any dependency on bazel-integration-testing (#27).

Stack Thread
@Ittai Zeidman @Alex Eagle I am starting the migration of rules_bazel_integration_test to bazel-integration-testing. Here are my thoughts on how to proceed and some questions:

Create a single PR with all of the changes. I think that it may be easier to discuss proposed changes by having a holistic view.
Move/rename files/directories to match the current repo best practices.
What do we want to do with the bazel__integration_test.bzl? The bazel_integration_test rule that will be migrated from rules_bazel_integration_test supports custom test runners. I think that it makes sense to keep them around for projects that are already using them. Should they move to a /legacy directory?
Put the language-specific stuff into directories with the language name. In other words, I want to move the python stuff under /bazel_integration_test  to /python. I will leave the /java and /javatests directories.
Copy files and directories jkfrom rules_bazel_integration_test to bazel-integration-testing.
Move bazel_binaries to /bazel_integration_test.
It does not look like the Bazel hash values are being maintained. Should we just remove this?
What is renovate.json ? Is it for renovatebot/renovate? How is this used today?
Replace the current linting with bzlformat_pkg from bazel-starlib/bzlformat.
CI: Are we happy with Bazel CI or can we consider moving to Github Actions? I don’t feel strongly about this. All of my repos currently use GA. Standing up

Google was unable to transfer bazelbuild/bazel-integration-testing. We ended up transfering cgrindel/rules_bazel_integration_test to bazel-contrib.


Compatibility with segment replication

Summary
With 2.9.0 release, there are lot of enhancements going in for segment replication[1][2] feature (went GA in 2.7.0), we need to ensure different plugins are compatible with current state of this feature. Previously, we ran tests on plugin repos to verify this compatibility but want plugin owners to be aware of these changes so that required updates (if any) can be made
What changed
1. Refresh policy behavior

RefreshPolicy.IMMEDIATE will only refresh primary shards but not replica shards immediately. Instead post refresh, primary will start  a round of segment replication to update the replica shard copies leading to eventual consistency.
RefreshPolicy.WAIT_UNTIL ensures the indexing operation is searchable in your cluster i.e. RAW (Read after write guarantee). With segment replication, this guarantee is not promised due to delay in replica shared updates from asynchronous background refreshes.

2. Refresh lag on replicas
With segment replication, there is inherent delay in documents to be searchable on replica shard copies. This is due to the fact that replica shard copies over data (segment) files from primary. Thus, compared to document replication, there will be on average increase in amount of time the replica shards are consistent with primaries.
3. System/hidden indices support
With https://github.com/opensearch-project/OpenSearch/pull/8200, system and hidden indices are now supported with SEGMENT replication strategy. We need to ensure there are no bottlenecks which prevents system/hidden indices with segment replication.
Next steps
With segment replication strong reads are not guaranteed. Thus, if the plugin needs strong reads guarantees specially as alternative to change in behavior of refresh policy and lag on replicas (point 1 and 2 above), we need to update search requests to target primary shard only. With https://github.com/opensearch-project/OpenSearch/pull/7375, core now supports primary shards only based search. Please follow documentation for examples and details
Open questions
In case of any questions or issues, please post it in core issue
Reference
[1] Design
[2] Documentation

Request owners to add v2.9.0 label on this issue.

Hi @dreamer-89 , the ml-commons-dashboards doesn't use any indices directly. This plugin depend on the ml-commons plugin. The ml-commons-dashboards plugin call the ml-commons API in the front end. I found there is an issue in the ml-commons repository. I think there won't be any compatibility problem if the ml-commons is OK for segment replication.

Hi @dreamer-89 , the ml-commons-dashboards doesn't use any indices directly. This plugin depend on the ml-commons plugin. The ml-commons-dashboards plugin call the ml-commons API in the front end. I found there is an issue in the ml-commons repository. I think there won't be any compatibility problem if the ml-commons is OK for segment replication.

Thanks @wanglam for the update. Closing this issue since this repo does not use indices directly and relies on ml-commons plugin.


Re-check validate in case Sender available balance = 0

Describe the task
Re-check validate in case Sender available balance
Actual: Still allow approve transaction when sender available balance = 0

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1669-build-1.1.2-2023-07-21T12-10-20UTC.zip
Validation passed


Add event recorder to controller

This passes along the EventRecorder to the controller created in the
controller manager.
Fixes #463

What does this do? How can I check? We add an upstream struct to our struct. Magic?

This is in-progress, Jeff is going to add code to create the events next.
On Mon, Apr 10, 2017 at 4:25 PM, Doug Davis<EMAIL_ADDRESS>wrote:

@duglin commented on this pull request.
In test/integration/controller_test.go
https://github.com/kubernetes-incubator/service-catalog/pull/680#discussion_r110754620
:

@@ -275,6 +276,7 @@ func newTestController(t *testing.T) (
serviceCatalogSharedInformers.Instances(),
serviceCatalogSharedInformers.Bindings(),
brokerClFunc,

&record.FakeRecorder{},

is there something we can check for? Otherwise we're not really testing
anything
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/service-catalog/pull/680#pullrequestreview-31950100,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWXmAHBtsIDXWVJ6e2-F3BAZuwJeyRsks5rupA0gaJpZM4M5QlF
.

@jpeeler is this still in progress?

@arschles ready for review

To test this you can just do kubectl get events against kubernetes and see that the events are created.  There is a known issue that the events do not show up under the generic describer right now - will you create an issue for that, @jpeeler?


Can’t write env variable for single secret key, if not also written to file

When following the docs to write a single secret it is written to use
VAULT_SECRET_THING=secret/whatever/thing
DAYTONA_SECRET_DESTINATION_THING=/tmp/top-secret
VAULT_VALUE_KEY_THING=api_key

If one would only like to get env variables and not write a secret to a file, one would expect to not set DAYTONA_SECRET_DESTINATION_THING, and set SECRET_ENV='true'.
However, that doesn't work because the condition that wraps the case to write a single secret expects a destination path:
https://github.com/cruise-automation/daytona/blob/f9f7dce93fc0001a272ff5bfb423b17fe8ad6765/pkg/secrets/secrets.go#L288-L290

Furthermore, it seems that it is not possible to store the secret in an "arbitrarily" named env var, the secret key is always used.
In the example above, we cannot store api_key in a TOKEN_API env var.
This is probably "expected behavior" (if one reads the README 3 or 4 times, while experimenting) but it's somewhat limiting:
└─( TOKEN_PATH=~/.vault-token \
VAULT_AUTH_ROLE=... \
VAULT_SECRET_PGUSER=secret/whatever/thing \
VAULT_VALUE_KEY_PGUSER=user \
DAYTONA_SECRET_DESTINATION_PGUSER=/dev/null \
daytona -k8s-auth -k8s-auth-mount="..." \
-address https://vault:8200 \
-secret-env -entrypoint -- env | grep -i user

....
{"level":"info","applicationName":"daytona","key":"VAULT_VALUE_KEY_PGUSER","value":"value","time":"2023-03-31T10:53:22-07:00","message":"Found an explicit vault value key, will read this value key instead of using the default"}

{"level":"info","applicationName":"daytona","var":"USER","time":"2023-03-31T10:53:22-07:00","message":"Set env var"}

VAULT_SECRET_PGUSER=secret/whatever/thing
VAULT_VALUE_KEY_PGUSER=user
DAYTONA_SECRET_DESTINATION_PGUSER=whatever

user=myuser-...-zam.iam

while one would wish to have instead a PGUSER env var to be set.

@massenz it looks like since your comment is a separate issue to the initially described bug in this issue @broamski is suggesting to tackle you comment in a separate issue. So I think it makes sense to file it as new one.

Thanks - turns out this had already been reported in #41 (I have added my comment there) but given that one has been sitting for 3 years, I'm assuming it's not going to happen.


Add a yarn test script for Windows

Some of our engineers use Windows, and setting environment variables in PowerShell or CMD is different from Linux.
TZ=UTC has to become set TZ=UTC on Windows.
To resolve this issue, add scripts with the following format action:windows for each script that sets an env variable.
Example:

test:windows: "set TZ=UTC && yarn test --coverage --runInBand"

It would be better to use something like cross-env https://www.npmjs.com/package//cross-env for cases like this instead of creating separate platform specifics commands.
Regarding this particular problem, using set TZ=UTC has not fixed the problem for me when I have tried it in the past, while the environment variable does get set, it does not have the same effect on windows as it does on linux so a different way to fix it will be needed.

@HS-90 You are right! setting TZ works on windows with node versions greater thaan 16.20 and since vercel has added support for node 16 now we can use node 16 in our dev environments, earlier we were on node 14. So yeah you can fix it by setting TZ now. I'd recommend looking into cross-env still instead of creating a separate script for windows.


BUG REPORT : Custom Text Classification using python sdk

Package Name:
Package Version:
Operating System:
Python Version:

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Hi @B2-krunalrana, can you please provide details around the issue you are having, add in repro code, python version and the name of the packages.


improve coroutinevalueerror error message, resolve #284

Improve Coroutine Value Error error message

[X] Added tests, if you've added code that should be tested
[X] Updated the documentation, if you've changed APIs
[X] Ensured the test suite passes
[X] Made sure your code lints
[X] Completed the Contributor License Agreement ("CLA")

Pull Request Test Coverage Report for Build 605316411

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 94.129%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

testslide/lib.py
2
3
66.67%

Totals

Change from base Build 596460370:
-0.03%

Covered Lines:
2549

Relevant Lines:
2708

💛  - Coveralls


Create Instances of EKSARelease

Issue #, if available:
#5847
Description of changes:
Build and create instances of EKSARelease on Cluster
Testing (if applicable):
Manual testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/retest

/approve

/retest

/retest

/retest

/approve

/cherry-pick release-0.17


3.6.2: Unable to access jarfile bin/scala-cli.jar

As with scala3 3.5.x and before I download https://github.com/scala/scala3/releases/download/3.6.2/scala3-3.6.2.tar.gz
However when I run the binary I get this:
3.6.2
./bin/scala --version
Error: Unable to access jarfile /cwd/bin/scala-cli.jar

3.5.2
./bin/scala --version
Scala code runner version: 1.4.3
Scala version (default): 3.5.2

MacOS and Linux

Already solved in:

https://github.com/scala/scala3/pull/22185
Closing this.


next-pylint for azure-mgmt-core

Resolves https://github.com/Azure/azure-sdk-for-python/issues/32639

/check-enforcer override
ai - ci pipeline failure is unrelated.


Version in setup name

The version shall be included in installer name

Not even in zip archive but also in installer file


Notarize app for MacOS Catalina

Hello,
Notarize app for MacOS Catalina is planned ?
Like electron js
https://github.com/electron/electron-notarize
Thanks

I don't have a Mac device, sorry ;)
Maybe someone from the community might build something for this?!

You can use it yourself with our HostHook feature. See our API demo app at "Execute your own TypeScript code"
https://github.com/ElectronNET/electron.net-api-demos

The "Execute your own TypeScript code" in your API demo app allow to execute HostHook feature inside app already launched.
Notarize app for MacOS Catalina must be executed during build, like signing in your build process.

Are you sure i can use your HostHook feature to notarize app for mac osx ?


build(deps): upgrade wallet connect dependencies

Description
Upgrades Wallet Connect dependencies to the latest versions: originally pinned in #4406.
Test plan

Tested locally on iOS and Android

Connect
Verify
Sign Transaction

Related issues

Related: ACT-962

Backwards compatibility
Yes
Network scalability
N/A

Not sure why Codecov is complaining. The new type is tested in src/walletConnect/screens/SessionRequest.test.tsx.

@satish-ravi pending sessions are added whenever there is a SESSION_PROPOSAL action and are removed whenever this proposal is accepted or denied. In the case of an application close while there are pending session it should be served when the application is reopened.


drop / take discontinuity

I thought that drop called with a negative number of elements always returns [], but it turns out there's a discontinuity at the minimum bound for 64-bit ints:
pact> (drop -9223372036854775807 [0 0 0 0])
[]
pact> (drop -9223372036854775808 [0 0 0 0])
[0 0 0 0]

Likewise for take:
pact> (take -9223372036854775807 [0 0 0 0])
[0 0 0 0]
pact> (take -9223372036854775808 [0 0 0 0])
[]

It turns out that take/drop beyond beyond these boundaries can cause segfaults and "out of memory" errors. I am addressing this now.


upload node-memory-considerate-loading project

I found it very helpful that your introduction included URL references to the low and high res versions so you can quickly sanity check which version you received:

@anton-karlovskiy Thanks for working on the revisions. Could you rebase this pull request against master as it currently has some conflicts?

@anton-karlovskiy Thanks for working on the revisions. Could you rebase this pull request against master as it currently has some conflicts?

Yes for sure. It's expected. :)

@addyosmani
Perhaps, after merge of https://github.com/GoogleChromeLabs/adaptive-loading/pull/45, conflicts are expected again. So please let me know once you merge https://github.com/GoogleChromeLabs/adaptive-loading/pull/45 so that I can resolve it then.


Cannot read properties of undefined (reading 'security_enabled')

Hello, I am trying to start the Allure UI in docker without success.
My setup is a virtual machine in Azure and has nginx container which exposes the public IP of the machine.
I have exposed the 5252 port of allure-docker-service-ui and when  I try to login receiving: Cannot read properties of undefined (reading 'security_enabled')
Code snipped of docker-compose file:
version: '3'
services:
allure:
image: "frankescobar/allure-docker-service"
environment:
CHECK_RESULTS_EVERY_SECONDS: NONE
KEEP_HISTORY: 1
KEEP_HISTORY_LATEST: 25
SECURITY_USER: admin
SECURITY_PASS: admin
SECURITY_VIEWER_USER: "view_user"
SECURITY_VIEWER_PASS: "view_pass"
SECURITY_ENABLED: 1
MAKE_VIEWER_ENDPOINTS_PUBLIC: 1
ports:
- "5050:5050"
volumes:
- /home/azureuser/projects:/app/projects
allure-ui:
image: "frankescobar/allure-docker-service-ui:7.0.0"
environment:
ALLURE_DOCKER_PUBLIC_API_URL: "http://vm-ip-address/"
ALLURE_DOCKER_PUBLIC_API_URL_PREFIX: "/api"
ports:
- "5252:5252"

Try to check if UI has access to API. Try with the security disabled too.
it's a network configuration.


Handle host names case insensitively.

RFC 3986 3.2.2: The host subcomponent is case-insensitive.

 You should sign our Contributor License Agreement in order to get your pull request merged.

LGTM :+1:

Thank you @wjkohnen! Somehow this slipped through for a year. :smile:


[Bug] Fedora 41 Gnome Fingerprint Regestration Doesn't work

I did a fresh installation with fedora 41 beta, so I am not sure if this issue is entirely reproducible with a fresh install.
System Setup
I daily run a non-admin account (not in sudoer or wheel group), and a separate admin account.
I am trying to register the fingerprint on the non-admin account.
The fingerprint driver is detected and at the latest version
> GUID=$(fwupdmgr get-devices | grep -A 6 -E "fingerprint" | grep -i "GUID" | awk -F ': ' '{print $2}' | awk '{print $1}'); clear && echo "fwupdmgr get-devices $GUID" && fwupdmgr get-updates $GUID

fwupdmgr get-devices 1e8c8470-a49c-571a-82fd-19c9fa32b8c3
Selected device: Fingerprint Sensor
Devices with no available firmware updates:
 • Fingerprint Sensor
No updatable devices

Hardware Model:                              Framework Laptop 13 AMD Ryzen 7040Series
Firmware Version:                            03.05
OS Name:                                     Fedora Linux 41.20241102.0 (Silverblue)
GNOME Version:                               47
Windowing System:                            Wayland
Kernel Version:                              Linux 6.11.5-300.fc41.x86_64

Step to Reproduce

delete all fingerprints in setting
run ujust check-local-override revert all the files that mention fingerprint login
rebase onto ublue-main, if not already on ublue-main
open fingerprint registration in gnome setting, realize that the "+" button on top of "scan new fingerprint"
run fprintd-enroll and can enroll normally
go back to gnome setting fingerprint page, notice that "fingerprint signin" is set to "enabled", and the fingerprint is successfully registered
run ujust check-local-override notice there are no overrides that mention fingerprint login.

Expected behavior

The GUI fingerprint registration should start upon clicking the "+" button in the setting on top of "scan new fingerprint"
Once the fingerprint is enrolled, fingerprint login show as an option on the login screen
In previous versions, ujust check-local-override will show a bunch of files that mention fingerprint login, once the fingerprint login is set up. I am not sure if this is changed.

Current behavior

clicking on the "+" button in gnome fingerprint registration have no observable effect (besides GTK button click animation)
Once fingerprint is enrolled via fprintd-enroll and "fingerprint signin" is set to "enabled" in the setting, the login screen still does not show the fingerprint log in functionality (the text "or use your fingerprint reader" do not appear under the password prompt).

I'm seeing this behavior as well on Fedora 41. Baseline install using sudo. Fingerprint reader is showing up in the journal fprintd.service running.

I followed the following commands and things works now: https://community.frame.work/t/solved-fedora-37-fingerprint-not-enrolling/25856/7
I think I just need to run run0 authselect enable-feature with-fingerprint, but I am not entirely sure if systemctl enable fprintd.service --now also plays a role.


Upgrade OpenAI SDK to v1

[x] Update dependencies
[x] Update prepdocs lib
[x] Update backend service API
[x] Update Chat Retrieve Read
[x] Update Retrieve then Read
[ ] Test

Re tests- they did post some example mocks:
https://github.com/openai/openai-python/issues/715#issuecomment-1809203346
It might be useful to compare our approach to theirs. (I haven't had time yet myself)

Re tests- they did post some example mocks: openai/openai-python#715 (comment) It might be useful to compare our approach to theirs. (I haven't had time yet myself)

thanks, I've done something very similar. Most of the remaining work is because the old SDK used to return dictionaries and the new one returns typed pydantic models

@mattmsft @pamelafox comments have been addressed, please review again

@tonybaloney I tested it and discovered an issue with follow-up questions. Previously, an event choice would either have a content string or have no content property at all, but now it can have "content": None. I've adjusted the code and test fixture to account for that.

I tested it with non-Azure OpenAI with an existing environment and there's an issue due to this new logic in the approaches:
chatgpt_model = self.chatgpt_deployment if self.chatgpt_deployment else self.chatgpt_model

The problem is that AZURE_OPENAI_CHATGPT_DEPLOYMENT has a value even if you're using non-Azure OpenAI (defaults to "chat").
One way around that is to clear out the relevant variables in app.py, before they get passed into the approaches. This change worked for me:
    AZURE_OPENAI_CHATGPT_DEPLOYMENT = OPENAI_HOST == "azure" and os.getenv("AZURE_OPENAI_CHATGPT_DEPLOYMENT")
    AZURE_OPENAI_EMB_DEPLOYMENT = OPENAI_HOST == "azure" and os.getenv("AZURE_OPENAI_EMB_DEPLOYMENT")

The error can't be replicated in test, by the way, as it's an error from the server that the model "chat" cannot be found.

@tonybaloney I tested it and discovered an issue with follow-up questions. Previously, an event choice would either have a content string or have no content property at all, but now it can have "content": None. I've adjusted the code and test fixture to account for that.

I added the and content on this line because I saw a bug where it would crash with follow up questions, but maybe I introduced another bug in the process? https://github.com/Azure-Samples/azure-search-openai-demo/pull/1017/commits/c2d20f22d8be8bcc44d13543f384c8dd7d1af043#diff-a346ba4129613c27f42a9a4de5439423af8ab6df6eb79eaf555204da3d588001R302 could this be simplified if we removed the and content in the if statement?

I tested it with non-Azure OpenAI with an existing environment and there's an issue due to this new logic in the approaches:
chatgpt_model = self.chatgpt_deployment if self.chatgpt_deployment else self.chatgpt_model

The problem is that AZURE_OPENAI_CHATGPT_DEPLOYMENT has a value even if you're using non-Azure OpenAI (defaults to "chat").
One way around that is to clear out the relevant variables in app.py, before they get passed into the approaches. This change worked for me:
    AZURE_OPENAI_CHATGPT_DEPLOYMENT = OPENAI_HOST == "azure" and os.getenv("AZURE_OPENAI_CHATGPT_DEPLOYMENT")
    AZURE_OPENAI_EMB_DEPLOYMENT = OPENAI_HOST == "azure" and os.getenv("AZURE_OPENAI_EMB_DEPLOYMENT")

The error can't be replicated in test, by the way, as it's an error from the server that the model "chat" cannot be found.

Good spot. Fixed


Update PPP, closes issue #187, #189, #193, #194, #195, #196, #198

Codecov Report

Merging #216 (5c6795d) into master (b586640) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #216   +/-   ##
=========================================
  Coverage     67.48%   67.48%
  Complexity      705      705
=========================================
  Files           115      115
  Lines          2279     2279
  Branches        240      240
=========================================
  Hits           1538     1538
  Misses          652      652
  Partials         89       89

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Solar Sensors not updating because energy site number keeps on being refreshed

My solar sensors (load, grid, solar panel) have been working fine for more than a month but stopped being refreshed yesterday.
Upon restarting the Tesla custom integration in HA, I noticed a new set of 3 sensors being created and working fine for 10 to 30 minutes until they stopped being refreshed again. Same thing happens everytime I restart the integration, a new set of 3 sensors are being created and are working fine for 10 to 30 minutes
I checked the logs and noticed that the problem might come from the energysite being updated by Tesla.
See below in the logs, I restarted the integration around 6:47:07.
Issue reproduced in both 2.4.0 and 2.4.3.
Logs:
2022-10-05 06:46:48.002 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2022-10-05 06:46:48.002 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 20 Interval 60
2022-10-05 06:46:48.003 DEBUG (MainThread) [teslajsonpy.controller] Updating energysite<PHONE_NUMBER>543514
2022-10-05 06:46:48.004 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 0:26:52
2022-10-05 06:46:48.005 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/energy_sites/2252152663543514/live_status {}
2022-10-05 06:46:48.184 DEBUG (MainThread) [teslajsonpy.connection] 404: {"response":null,"error":"not_found","error_description":""}
2022-10-05 06:46:48.185 DEBUG (MainThread) [teslajsonpy.controller] Exception:
api(('SITE_DATA',) {'path_vars': {'site_id':<PHONE_NUMBER>543514}, 'wake_if_asleep': False})
2022-10-05 06:46:48.187 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.186 seconds (success: True)
2022-10-05 06:46:58.006 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2022-10-05 06:46:58.007 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 30 Interval 60
2022-10-05 06:46:58.008 DEBUG (MainThread) [teslajsonpy.controller] Updating energysite<PHONE_NUMBER>543514
2022-10-05 06:46:58.008 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 0:26:42
2022-10-05 06:46:58.009 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/energy_sites/2252152663543514/live_status {}
2022-10-05 06:46:58.172 DEBUG (MainThread) [teslajsonpy.connection] 404: {"response":null,"error":"not_found","error_description":""}
2022-10-05 06:46:58.173 DEBUG (MainThread) [teslajsonpy.controller] Exception:
api(('SITE_DATA',) {'path_vars': {'site_id':<PHONE_NUMBER>543514}, 'wake_if_asleep': False})
2022-10-05 06:46:58.173 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.167 seconds (success: True)
2022-10-05 06:47:07.148 DEBUG (MainThread) [teslajsonpy.controller] Disconnecting controller.
2022-10-05 06:47:07.149 DEBUG (MainThread) [teslajsonpy.connection] Connection closed.
2022-10-05 06:47:07.149 DEBUG (MainThread) [custom_components.tesla_custom] Unloaded entry for XXX
2022-10-05 06:47:07.182 DEBUG (MainThread) [teslajsonpy.connection] Connecting with existing access token
2022-10-05 06:47:07.198 DEBUG (MainThread) [teslajsonpy.controller] 399 endpoints loaded
2022-10-05 06:47:07.199 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 0:26:33
2022-10-05 06:47:07.199 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/vehicles {}
2022-10-05 06:47:07.420 DEBUG (MainThread) [teslajsonpy.connection] 200: {"response":[],"count":0}
2022-10-05 06:47:07.421 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 0:26:33
2022-10-05 06:47:07.421 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/products {}
2022-10-05 06:47:07.539 DEBUG (MainThread) [teslajsonpy.connection] 200: {"response":[{"energy_site_id":2252144902381336,"resource_type":"solar","id":"XXX","asset_site_id":"XXX","solar_power":0,"solar_type":"pv_panel","storm_mode_enabled":null,"powerwall_onboarding_settings_set":null,"sync_grid_alert_enabled":false,"breaker_alert_enabled":false,"components":{"battery":false,"solar":true,"solar_type":"pv_panel","grid":true,"load_meter":true,"market_type":"residential"}}],"count":1}
2022-10-05 06:47:07.540 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 0:26:33
2022-10-05 06:47:07.540 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/energy_sites/2252144902381336/site_info {}
2022-10-05 06:47:08.004 DEBUG (MainThread) [teslajsonpy.connection] 200: {"response":{"id":"0829675f-d269-42c0-8956-86ced30f4687","site_number":"XXX","installation_date":"2022-07-08T16:57:00Z","user_settings":{"storm_mode_enabled":null,"powerwall_onboarding_settings_set":null,"sync_grid_alert_enabled":false,"breaker_alert_enabled":false},"components":{"solar":true,"solar_type":"pv_panel","battery":false,"grid":true,"backup":false,"gateway":"gateway_type_none","load_meter":true,"tou_capable":false,"storm_mode_capable":false,"flex_energy_request_capable":false,"car_charging_data_supported":false,"off_grid_vehicle_charging_reserve_supported":false,"vehicle_charging_performance_view_enabled":false,"vehicle_charging_solar_offset_view_enabled":false,"battery_solar_offset_view_enabled":false,"energy_service_self_scheduling_enabled":true,"configurable":false,"grid_services_enabled":false},"installation_time_zone":"America/Denver","geolocation":{"latitude":XXX,"longitude":XXX},"address":{"address_line1":"XXX","city":"XXX","state":"XXX","zip":"XXX","country":"XXX"}}}
2022-10-05 06:47:08.005 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 1 Interval 60
2022-10-05 06:47:08.005 DEBUG (MainThread) [teslajsonpy.controller] Updating energysite<PHONE_NUMBER>381336
2022-10-05 06:47:08.006 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 0:26:32
2022-10-05 06:47:08.007 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/energy_sites/2252144902381336/live_status {}
2022-10-05 06:47:08.124 DEBUG (MainThread) [teslajsonpy.connection] 200: {"response":{"solar_power":0,"load_power":316.3399963378906,"grid_status":"Unknown","grid_services_active":false,"grid_power":316.3399963378906,"grid_services_power":0,"generator_power":0,"island_status":"island_status_unknown","storm_mode_active":false,"timestamp":"2022-10-05T06:47:08-06:00","wall_connectors":[]}}
2022-10-05 06:47:08.125 DEBUG (MainThread) [custom_components.tesla_custom] Connected to the Tesla API
2022-10-05 06:47:08.126 DEBUG (MainThread) [custom_components.tesla_custom] Running controller.update()
2022-10-05 06:47:08.126 DEBUG (MainThread) [teslajsonpy.controller] Get vehicles. Force: False Time: 1 Interval 60
2022-10-05 06:47:08.127 DEBUG (MainThread) [teslajsonpy.controller] Updating energysite<PHONE_NUMBER>381336
2022-10-05 06:47:08.128 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in 0:26:32
2022-10-05 06:47:08.129 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/energy_sites/2252144902381336/live_status {}
2022-10-05 06:47:08.263 DEBUG (MainThread) [teslajsonpy.connection] 200: {"response":{"solar_power":0,"load_power":316.3399963378906,"grid_status":"Unknown","grid_services_active":false,"grid_power":316.3399963378906,"grid_services_power":0,"generator_power":0,"island_status":"island_status_unknown","storm_mode_active":false,"timestamp":"2022-10-05T06:47:08-06:00","wall_connectors":[]}}
2022-10-05 06:47:08.264 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 0.138 seconds (success: True)

Same problem happen to me.

The problem is not reproduced anymore. Looks like a glitch on Tesla API side which has been corrected. Can be closed

The problem is not reproduced anymore. Looks like a glitch on Tesla API side which has been corrected. Can be closed

Unfortunately I'm still seeing this issue. It works for some time, and not updating again...


Fixing url which contains too many component

Fix url for Python code.
Both Java and C# contain url without /bing/ component.
The updated version works fine for me.

Fixed per latest changes. Please re-open or reply here if the issue still exists.


bug: Log search/filter does not work

Hey there! You built a really nice TUI :)
I'm hitting a bug in the log view though.
When I pull up the filter menu via / and hit Enter (with or without actually using any filter), I hit the following error: failed to parse form values: unsupported type: struct
CLI: render version 0.8.3

Cool, thanks for the quick fix :)

Thanks for the report! This is fix will be included inv0.8.4


Added sqrt method

You don't updated your project since 2016 but I wanted to add a missing feature: Square root of complex.

I've got some additional code to deal with parsing complex numbers in scientific notation (e.g. "2.3e-06+3.2E-06i").  Should I fork your project or the master project to make a pull request?  It seems the master project has not been active for may years :-(
Sorry, I'm a bit new to github/forking etc!
Cheers

Hello @mankind-nil
The original author didn't reply to my PR so I think you can open a PR on my fork so I can merge your version !

Cheers, I created a fork and tried to create a pull request, but it says that you archived the project so it's read only! If you can unarchive it, let me know and I'll create another pull request.  Cheers!

Hey, sorry for the delay. I unarchived my fork, you should by able to open a PR


Error creating zone with free plan

What happened?
Creating a zone with the plan set to free causes failure.
Steps to reproduce
new cloudflare.Zone(
    "myzone"
    {
        zone: "the zone",
        plan: "free"
    }
);

Expected Behavior
Zone is created without error.
Actual Behavior
Zone is created, but the below error is shown.
  cloudflare:index:Zone (myzone-com.zone):
    error: 1 error occurred:
    	* creating urn:pulumi:mystack-cloudflare-provisioning::cloudflare-provisioning::cloudflare:index/zone:Zone::myzone-com.zone: 1 error occurred:
    	* error setting plan free for zone "<ZONE ID>": HTTP status 403: Authentication error (10000)

  pulumi:pulumi:Stack (cloudflare-provisioning-mystack-cloudflare-provisioning):
    error: update failed

Running it again ends up in success.
Versions used
CLI
Version      3.32.0
Go Version   go1.17.9
Go Compiler  gc

Plugins
NAME                                   VERSION
aws                                    4.38.1
cloudflare                             4.6.0
nodejs                                 unknown
tls                                    4.3.0

Host
OS       debian
Version  11.3
Arch     x86_64

This project is written in nodejs (/home/renann/.asdf/shims/node v16.0.0)

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

This doesn't appear to be a provider issue (either with Pulumi or the upstream provider) as it's a 403 coming from Cloudflare's API – seems to be related to Cloudflare's support for creating zones (tangentially related issue here).
Going to close this as stale since the plugin version is now outdated, please re-open if any further questions.


Reading bundle timed out

IDE: Android Studio 3.0.1  Device: Samsung C5 Pro  (Google Account Signin, InstantApp turn On)
Log: 01/25 16:43:00: Launching instant
Side loading instant app.
Side loading instant app.
Side loading instant app.
Side loading instant app.
Side loading instant app failed: Reading bundle timed out.
Error while Uploading and registering Instant App

Duplicate of #32


feature: Added skill manifest URL to publish page

Description
This provides the basic link and copies the manifest URL to the clipboard.
A future PR will improve the copy experience to include a callout when copied via a more general purpose mechanism.
Task Item
closes #6597
Screenshots

Coverage decreased (-0.03%) to 51.368% when pulling e09aadbb1627260b0878c13ff157f83c93185a25 on gcox/feature6597 into 8b7ea1aa83c7cb673cf1c884d8b4024952a03d45 on main.


feat(front): project users roles[MARXAN-1117][MARXAN-1118][MARXAN-1119][MARXAN-1143]

Project users with roles view/remove/edit
Overview
This PR includes the dropdown view of the users who have access to a project, as well as the view in the detail cards.
It also includes editing the user role and deleting.
Finally, it includes the blocking of functionalities for unauthorized users (see table in the link below).
Designs
FIGMA
Feature relevant tickets

[x] Get users by project MARXAN-1117
[x] Edit user role MARXAN-1118
[x] Remove user from a project MARXAN-1119
[x] User roles access control: MARXAN-1143

Testing instructions
Choose a project with more than one user or add new ones through postman with this endpoint:
https://marxan49.westeurope.cloudapp.azure.com/api/v1/roles/projects/${projectId}/users
and this payload:
{     "roleName":      "userId":     "projectId":  }
roleName enum: ("project_viewer" | "project_contributor" | "project_owner")
Sign in as an owner, as a contributor and as viewer and try to reproduce each action detailed in this table:
Role base access control

The users dropdown is not yet a tooltip.
I had problems when implementing it since it contains another tooltip to host the role edition dropdown.
This creates overlapping issues that I haven't been able to deal with.


Quick fix for operator completions GHC Trac issue

For more details see issue #10576
https://ghc.haskell.org/trac/ghc/ticket/10576

First of all I didn't catch escapedBreak part, so I suppose I need to tweak handleOperatorCase function a bit to take in account this stuff.
I've tested this with GHC head build, here is some results:
GHCi, version 7.11.20150630: http://www.haskell.org/ghc/  :? for help
Prelude> :complete repl "ma"
8 8 ""
"map"
"mapM"
"mapM_"
"mappend"
"max"
"maxBound"
"maximum"
"maybe"

Prelude> :complete repl "map con"
3 3 "map "
"concat"
"concatMap"
"const"

Prelude> :complete repl ">>"
2 2 ""
">>"
">>="

Prelude> :complete repl "(>>"
2 2 "("
">>"
">>="

Prelude> :complete repl "m>>"
0 0 ""

Prelude> :complete repl ">>m"
14 14 ">>"
"map"
"mapM"
"mapM_"
"mappend"
"max"
"maxBound"
"maximum"
"maybe"
"mconcat"
"mempty"
"min"
"minBound"
"minimum"
"mod"

Prelude> :complete repl "map con >>"
2 2 "map con "
">>"
">>="

Note, that in case of empty input or only whitespace input it still will return all imported names, but I suppose this is different issue.
Please review.

Also, operator symbols also could be any [non-ascii] Unicode symbol or punctuation, but this stuff is unsupported.

I'm too inattentive!

DO NOT SUBMIT PULL REQUESTS HERE


[Bug]: @remix-run/serve is missing

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[ ] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[X] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
1.0.5
Steps to Reproduce
Created a new project with npx create-remix@latest. I choose to host it on Vercel + Typescript. In the end, I did not install the dependencies.
When I opened my terminal to the folder, manually ran an npm installation and ran npm run dev. I got the following error:
Could not locate @remix-run/serve. Please verify you have it installed to use the dev command.

Expected Behavior
Would expect the @remix-run/serve to be included as a developer dependency.
Actual Behavior
@remix-run/serve is not referenced as a dev. dependency.

yep, sorry about that, fixed in 1.0.6

Great!!!


update discount level on manual

https://library.threefold.me/info/manual/#/manual__grid3_stellar_tfchain_bridge
request by @renauter https://github.com/threefoldfoundation/info_manual3/issues/164

https://library.threefold.me/info/manual/#/manual__grid3_stellar_tfchain_bridge

I think this link is not the good one
Links to update:

https://library.threefold.me/info/manual/#/threefold__pricing?id=discount-levels
https://library.threefold.me/info/manual/#/manual__proof_of_utilization_manual?id=discount-on-staked-tokens

sorry duplicated, ill closs this one, ill movw your comment to the issue you made previously


enable database custom alias configuration #4

@bsideup @rnorth
my approach so solve #4
I also added documenttaion and testcases.
Looking forward for feedback.
Regards
Sascha

@bsideup I know you were grappling with a more difficult version of this problem for r2dbc support. Would you like to take over / replace this PR?


Upgrade Kafka clients dependency version to 3.8.0

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[x] Update the CHANGES log.

This is a new PR for https://github.com/apache/skywalking/issues/12800

I thought you have sucessfully run this locally, but it still fails.

I thought you have sucessfully run this locally, but it still fails.
I have a problem. When running the e2e test framework locally, the image skywalking/skywalking-java:latest-java8 does not seem to exist and cannot be pulled. Please see the error screenshot and the result of searching for the image in docker hub.

That is something you packaged from local.

ok thanks

Anything to update?


include: posix: signal: add sig_atomic_t type

This commit adds the definition of sig_atomic_t to the posix/signal.h file. The definition was copied from the file
modules/lib/picolibc/newlib/libc/include/signal.h. The problem of the missing definition arose when I tried to compile a lua module for the 3.3.0 version of zephyr. Adding this definition solves the problem.

@tenllado - aside from this and #57800, are there any other blockers that remain for a Lua module?

Overriding the compliance check failure, which is due to the introduction of a new typedef.


THRIFT-4079 add missing use clauses for included thrift sources in generated perl modules

Sadly the state of perl unit testing appears to be pretty sad... I don't see any tests for perl being run with "make check", nor are they run in the perl package maker (for cpan installs).  There are three test files but I'm not sure how they get run, if at all.  So there's no test for this.  I tested it on the example I submitted and it resolves the issue.

Job 3357.7 failure appears environmental: make[3]: write error


[CLI] Prettify the output in cli_help

What was the end-user problem that led to this PR?
The problem was the new help output for bundle was very verbose and unorganized, making it look a bit like work vomit.
What was your diagnosis of the problem?
My diagnosis was we should
Closes https://github.com/bundler/bundler/issues/5963.
What is your fix for the problem, implemented in this PR?
My fix prints the full version info, as well as grouping the commands into primary and utility as done in the man pages.
Why did you choose this fix out of the possible options?
I chose this fix because it makes the output pleasing to visually parse.
$ bundle
Bundler version 1.15.4 (2017-08-25 commit 3203fdd2a)

Bundler commands:

  Primary commands:
    bundle install [OPTIONS]    # Install the current environment to the system
    bundle update [OPTIONS]     # Update the current environment
    bundle package [OPTIONS]    # Locks and then caches all of the gems into vendor/cache
    bundle exec [OPTIONS]       # Run the command in context of the bundle
    bundle config NAME [VALUE]  # Retrieve or set a configuration value
    bundle help [COMMAND]       # Describe available commands or one specific command

  Utilities:
    bundle add GEM VERSION         # Add gem to Gemfile and run bundle install
    bundle binstubs GEM [OPTIONS]  # Install the binstubs of the listed gem
    bundle check [OPTIONS]         # Checks if the dependencies listed in Gemfile are satisfied by currently installed gems
    bundle console [GROUP]         # Opens an IRB session with the bundle pre-loaded
    bundle doctor [OPTIONS]        # Checks the bundle for common problems
    bundle env                     # Print information about the environment Bundler is running under
    bundle gem NAME [OPTIONS]      # Creates a skeleton for creating a rubygem
    bundle info GEM [OPTIONS]      # Show information for the given gem
    bundle init [OPTIONS]          # Generates a Gemfile into the current working directory
    bundle issue                   # Learn how to report an issue in Bundler
    bundle licenses                # Prints the license of all gems in the bundle
    bundle lock                    # Creates a lockfile without installing
    bundle open GEM                # Opens the source directory of the given bundled gem
    bundle outdated GEM [OPTIONS]  # List installed gems with newer versions available
    bundle platform [OPTIONS]      # Displays platform compatibility information
    bundle plugin                  # Manage the bundler plugins
    bundle pristine [GEMS...]      # Restores installed gems to pristine condition from files located in the gem cache. Gem installed from a git reposit...
    bundle show GEM [OPTIONS]      # Shows all gems that are part of the bundle, or the path to a given gem
    bundle version                 # Prints the bundler's version information

Options:
      [--no-color]                 # Disable colorization in output
  -r, [--retry=NUM]                # Specify the number of times you wish to attempt network commands
  -V, [--verbose], [--no-verbose]  # Enable verbose output mode

Seems fine to me :)

@segiddins looks like you have to fix a test after your changes ;)

@segiddens does package switch to cache when the 2.0 flag is turned on? If it does, r+

Yeah, although package becomes an alias. (essentially cache and package become the same command)
@bundlerbot r=indirect

@bundlerbot r=indirect


ISSUE-13 - Ignore comment prefix in envfiles

#13 Ignore comments starting with "#" in envfiles

Big thanks for this


add convenience methods for segments

add some commonly used abstractions around segments for convenience.

Codecov Report

Merging #94 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master      #94     +/-   ##
=========================================
+ Coverage   51.57%   51.68%   +0.1%
=========================================
  Files          69       69
  Lines        4304     4313      +9
=========================================
+ Hits         2220     2229      +9
  Misses       2084     2084

Impacted Files
Coverage Δ

framework/src/packets/ip/v6/srh.rs
83.58% <100%> (+0.57%)
:arrow_up:

Continue to review full report at Codecov.

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


Programming Error while running Docker-compose

@Samwalton9 @Jain-Aditya I am getting this error whenever I run the server.
Can you please help me with this. Am I missing something?

Hmm. Can you do docker ps and docker logs hashtags_db_1 and paste the output here?

@Samwalton9 Here're the screenshots of above two commands. Thanks for quick reply.

So the database is up, perhaps migrations didn't run. Can you do docker logs hashtags_app_1 too? Thanks.

@Samwalton9 I think problem exist here.

Ahh - this is a problem I had on production. It's not clear to me why it happens but sometimes the app container can't resolve the 'db' name to find the database container. The hacky solution to this is to find the IP of the database container (IP address near the bottom of the output of docker inspect hashtags_db_1), and then enter that as the database host in hashtags/settings/base.py and scripts/db.py in place of "db".

okay @Samwalton9 , making the changes :+1:

@Samwalton9 Should It also means that when someone try to run it on development mode(locally), It needs the ip address of that machine or not?
If yes, then I can add Instructions in the Readme for the same so that other devs will not face this problem.

Should It also means that when someone try to run it on development mode(locally), It needs the ip address of that machine or not?

Could you explain what you mean by this? I'm not sure I follow.

@Samwalton9  I want to ask that, Is this problem exists for everyone who tries to run it on development mode?

Ah - you're the only person I've heard having this issue locally. Still, it could be worth documenting, so adding it to the README would be a good idea :)

Okay, I will add it :+1:

I'm going to close this since the issue is resolved, but a pull request to add an explanation to the README would be welcome!


Enforce value to be stored / returned as json.marshal  in set  cmd via Http protocol

Steps to reproduce
curl --location 'http://localhost:8082/set' \
--header 'Content-Type: application/json' \
--header 'Cache-Control: no-cache' \
--data '{
    "key": "foo",
    "value": {
        "foo": {
            "bar": "fooBar"
        }
    }
}'

curl --location 'http://localhost:8082/get' \
--header 'Content-Type: application/json' \
--header 'Cache-Control: no-cache' \
--data '{
    "key": "foo"
}'

Expected output
"{"foo":{"bar":"fooBar"}}"

Observed output
"map[foo:map[bar:fooBar]]"

Suggestion
Please ensure that the value is properly serialized using json.Marshal before being sent as a response in the HTTP protocol.
Another Solution (Not Recommended, but Supported by Redis)

Redis does allow storing JSON-like values using the SET command. If clients attempt to set a key with a JSON object directly, they will encounter an error due to invalid arguments.
To store JSON values, clients must manually stringify the value before passing it to the SET command.
If a client provides a JSON object without stringifying it, the server should return an error indicating invalid arguments. It's generally advisable to use a JSON.SET for handling JSON data.

this should be expected from Dice via HTTP protocol

Expectations for resolution
This issue will be considered resolved when the following things are done

changes in the dice code to meet the expected behavior
addition of relevant test case to ensure we catch the regression

You can find the tests under the tests directory of the dice repository and the steps to run are in the README file. Refer to the following links to set up DiceDB and Redis 7.2.5 locally

setup DiceDB locally
setup Redis 7.2.5 locally
setup DiceDB CLI

assign me

can i take this up ?

Hey, I am fairly new to this project and I want to take this opportunity to get into contributing to DiceDB. Can I take up this task and return with a PR?

In expected output we need a json response or a json string?
{
"foo": {
"bar": 1
}
}
or
"{"foo":{"bar":"fooBar"}}"

In expected response we need a json response or a json string?
 {
     "foo": {
         "bar": 1
     }
 }

or
"{"foo":{"bar":"fooBar"}}"

strigified response 2nd one

@vinitparekh17  Is it fine if the stringified version has escape characters in response?
eg - "{"foo":{"bar":1}}"

Created a PR here - https://github.com/DiceDB/dice/pull/757/files

cc: @lucifercr07