Creating a NAT gateway fails with a sub account user

Description
Creating a NAT gateway, fails with ionosctl. The command fails with "Internal Server Error" that delivers no information on what went wrong.
Expected behavior
A NAT gateway can be created with ionosctl and user that is not the contract owner.
Environment
Go Version:
mnylund@RancherMaster:~$ go version
go version go1.19.3 linux/amd64

Ionosctl version:
mnylund@RancherMaster:~$ ionosctl --version
ionosctl version v6.4.3
(installed with snap)
OS:
mnylund@RancherMaster:~$ lsb_release --all
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy
Shell:
Bash

How to Reproduce
create a non-contract-owner user (for example a user that owns just one given DC). try following command to create a NAT
 ionosctl natgateway create --datacenter-id $DATACENTERID --ips $PUBLICIP

Error and Debug Output
Error: 500 Internal Server Error {
  "httpStatus" : 500,
  "messages" : [ {
    "errorCode" : "301",
    "message" : "Oops! Something went very wrong. Please contact the administrator"
  } ]
}

-> the error message should deliver some information why the error happens. "500" implies a bug.
Additional Notes

I am able to create the user with the same user in the IONOS GUI
I am able to run the command with ionosctl version 6.2.0
(I first had somw wrong information here since i was using to separate installations of ionosctl - information updated now)

References

Hi! This should be fixed in v6.5.0 release. Thanks!


Snips.ai add-on configuration not accepting mqtt_bridge argument

Home Assistant release with the issue:
0.93.1
Last working Home Assistant release (if known):
unkown
Operating environment (Hass.io/Docker/Windows/etc.):
HASSIO based on HASSOS on Raspberry pi 3+
Component/platform:
snips.ai add-on
Description of problem:
I tried to configure the mqtt settings of the add-on to connect to the Mosquitto broker on my HA according to the official guide
. Basically I copied the section and changed the correct IP, port and user credentials to it:
 { "mqtt_bridge": {   "active": true,   "host": "IP of my HASSIO",     "port": 1883,     "user": "USERNAME",     "password": "PASSWORD"   },   "assistant": "assistant.zip",   "language": "en",   "custom_tts": false,   "tts_platform": "amazon_polly" }
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

if I start the add-on the mqtt argument vanishes from the config. Changes to other parameters such as language are preserved
Traceback (if applicable):

Additional information:

You don't need this, install simply the add-on mosquito and restart snips.


foam.box.node.ForkBox: Support app module loading and secure parsing

UPDATE: Switch to a smaller change regarding app loading. Allow app to provide its own top-level script as before, but provide a static method (currently, a constant) for connecting to parent process.
OLD DESIGN (https://github.com/foam-framework/foam2/pull/629/commits/4f58d5fb6e123e7a40fa4d5688ef0fd4cd573db6):
This change deprecates ForkBox.childScriptPath (but does not yet remove
it). Instead, ForkBox.appModule names a script to require() to load app
code. The appModule is expected to export a foam.box.Context to be used
for IPC with the forked process. The Context's creationContext is used on
the parser that reads bootstrap data from the forked process's stdin.

@kgrgreer here's another use of constants-as-static-methods. I can switch them once #613 is closed.

@arobins FYI: This API should enable safer behaviour in GoogleChrome/confluence

FYI: Updated, less invasive design pushed (see updated PR description)

Landing TBR @kgrgreer or delegate.


Key bindings in react-carplay and in node-carplay

Hey Rhys,
Firstly i would like to thank for your great work, i'm going to use your apps in my project in a car. I have a joystick there, and i would like to bind some new keys - like shortcut to messages or shortcut to google maps
I saw there are bindings in react app but it leads to key bindings in node-carplay -> DongleHandler.
There is a list of values that equals siri, left, right etc.
Where did you found those values, are they from Autokit.apk ? Or you just wrote something else, that i couldn't ffind ?
I will be grateful for any answer.

@tomekrosiek  please have a look
https://github.com/rhysmorgan134/node-CarPlay/blob/master/modules/MessageHandler.js#L85-L114


@angular/core/testing has no exported member addProviders

Please provide us with the following information:

OS?  Ubuntu 16.04 LTS

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.15
node: 6.5.0
os: linux x64

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

I created a new Class using the ng g class  generator. In this case, it was a class called user, so I got a user.ts and user.spec.ts
The generated user.spec.ts had the following content:
/* tslint:disable:no-unused-variable */

import { addProviders, async, inject } from '@angular/core/testing';
import {User} from './user';

describe('User', () => {
  it('should create an instance', () => {
    expect(new User()).toBeTruthy();
  });
});

The addProviders give an error because it doesn't exist in @angular/core/testing

The log given by the failure. Normally this include a stack trace and some
more information.

ERROR in [default] [...]/src/app/core/user/user.spec.ts:3:9
Module '"[...]/node_modules/@angular/core/testing/index"' has no exported member 'addProviders'.

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

AddProviders was deprecated. Use Testbed instead. Also this is angular specific not cli specific

@deebloo The thing is that the Angular CLI generates the test file with the AddProviders. I know they are deprecated, my issue was about stating the fact that Angular CLI shouldn't use AddProviders in the generated class.spec.ts

The newest version of the cli uses Testbed

That code looks like it is from an old version of the cli

My version of CLI is angular-cli: 1.0.0-beta.15.
The CLI is using TestBed in most generators (component, service...etc) But not in the class generator. You can check it if you want.

@Jeffarese nope you are totally correct. Looks like the class generator creates a bad test for class. (apologies I didn't see that you were generating class, thought it was service. Definitely a bug)

Yeah, I'm afraid it's a bug :( no apologies needed!

I just submitted a PR that removes those imports


[BUG] Crawling while having levitation makes you suffocate in the block above you

https://github.com/fewizz/crawl/assets/130517398/3c256d7b-21e2-4f86-9718-cf0292afa1b3
I'm using the latest version of the mod, 0.11.5 (fabric 1.19.4)
(also please ignore my test world in the background)

Can't reproduce. Probably was fixed by https://github.com/fewizz/crawl/commit/3f989722a48167c3e9656160650de34e3877bc25


Fix for sync getting stuck (deadlocked)

What was wrong?
In certain scenarios, switching header syncers could cause sync to get stuck waiting on capacity.
How was it fixed?
Header sync: reset capacity if queue is empty before loop.
When non-consecutive headers are split into batches in header sync, the syncer considers that a loss of capacity to handle more headers. This never gets reset, so if the queue is totally empty, then you could get deadlocked. Now, we move the queue clearing check to the end of the loop, which should always prevent that deadlock.
Cute Animal Picture

Fast sync seems to be rolling along quite smoothly for me after this change. (I haven't touched state sync yet, though)


Add Changelog Enforcer Action

Changelogs for each release make it easier to cut the release.

Closing this and deferring until we have a better changelog process across OpenSearch.


Initialize bevy_gilrs in a background thread

What problem does this solve or what need does it fill?
At startup about 180ms is spent enumerating all gamepad devices.
Describe the solution would you like?
See title
Describe the alternative(s) you've considered?
Most of the time is spent in udev, over which we don't have any control, so optimizing udev won't be possible.
Additional context
https://gist.githubusercontent.com/bjorn3/09d26f0455bb22a5f1c8c7d68b6941db/raw/84141ac4a1827d841818ad3cc94085e1dc2e5f40/breakout_release.perf

From what I see gilrs::Gilrs is not Send or Sync so this wouldn't be possible, since it's not safe to move across threads. The only solution would be for you (or someone) to see if there are any optimizations that can be made within Gilrs itself.

Filed an issue upstream with gilrs: https://gitlab.com/gilrs-project/gilrs/-/issues/130.
An investigation of the backing implementation does seem to suggest it could be made Send/Sync. Right now it's considered not Send due to udev APIs on Linux being !Send, but like gilrs' Windows/MacOS implementations it could be sent to a separate worker thread instead.

Closing this out as Gilrs already initializes itself on a separate thread internally on all but Wasm, which has it's own threading challenges.


Problem with the template page refresh

Hi! Hope you're doing great :)
I'm trying to use your awesome package to create my own online IDE for rare particular development language - https://vector.dev/docs/reference/vrl/
Reason is pretty simple: they already have one, but it doesn't allow me to do some things at web interface, like run some of VRL's commands.
There is the problem I've faced with data update in output Monaco editor container. It disappearing :)
With common Jinja2 template it work just fine and return expected data as text. Can you help with Monaco, please?
Monaco editor v0.47, Roche v0.44.

Flask application code
from flask import Flask, render_template, request, make_response, redirect, url_for
from flask_cors import CORS
import rocher.flask as rf

STD_VRL = ".test = .message"
STD_EVENT = "{\n  \"message\": \"Hello, I'm a test message!\"\n}"
STD_RESULT = "{}"

def run_vrl():
    response = request.get_json()
    ...
    some processing of the response
    ...
    if res.returncode != 0:
        return render_template("output.html.j2", vrl = source_code, event = source_event, processed_event = stderr)
    return render_template("output.html.j2", vrl = source_code, event = source_event, processed_event = stdout)

def index():
    return render_template("index.html.j2", vrl = STD_VRL, event = STD_EVENT, processed_event = STD_RESULT)

def before_request():
    app.jinja_env.cache = {}

if __name__ == "__main__":
    # Flask app settings
    app = Flask(__name__, static_folder = ".", static_url_path = "")
    cors = CORS(app)
    app.config['CORS_HEADERS'] = 'Content-Type'
    app.config['TEMPLATES_AUTO_RELOAD'] = True
    app.config['DEBUG'] = 1
    app.before_request(before_request)
    app.jinja_env.auto_reload = True
    app.debug = True

    # Register the editor with the Flask app
    # and expose the rocher_editor function to Jinja templates
    rf.editor_register(app = app)

    # Flask routes and start
    app.add_url_rule("/", methods = ["GET"], view_func = index)
    app.add_url_rule("/run_vrl", methods = ["POST"], view_func = run_vrl)
    app.run(debug = True, host = '<IP_ADDRESS>', port = 8080, use_reloader = True)

Index HTML template

                Program

                {{
                    rocher_editor(
                    "container-program",
                    "python",
                    vrl,
                    readOnly = false,
                    theme = "vs",
                    lineHeight = 20,
                    fontSize = 14,
                    minimap = {"enabled": True}
                    )
                }}

                Event

                {{
                    rocher_editor(
                    "container-event",
                    "json",
                    event,
                    readOnly = false,
                    theme = "vs",
                    lineHeight = 20,
                    fontSize = 14,
                    minimap = {"enabled": True}
                    )
                }}

                Output

                {{
                    rocher_editor(
                    "container-output",
                    "json",
                    processed_event,
                    readOnly = true,
                    theme = "vs",
                    lineHeight = 20,
                    fontSize = 14,
                    minimap = {"enabled": True}
                    )
                }}

Output page template

{{
    rocher_editor(
    "container-output",
    "json",
    processed_event,
    readOnly = true,
    theme = "vs",
    lineHeight = 20,
    fontSize = 14,
    minimap = {"enabled": True}
    )
}}
</script>

index.js file and function to run with a some button
function run_vrl_debug() {
    const outputContainer = document.getElementById("container-output")
    require(['rocher_editor_container-program', 'rocher_editor_container-event'],
        function (editor_program, editor_event) {
            var source_code = editor_program.getValue();
            var source_event = editor_event.getValue();
            fetch("http://localhost:8080/run_vrl", {
                method: "POST",
                body: JSON.stringify({
                    source_code: source_code,
                    source_event: source_event
                }),
                mode: 'cors',
                headers: {
                    "Content-type": "application/json"
                }
            })
                .then((response) => response.text())
                .then(html => {
                    outputContainer.innerHTML = html
                })
                .then((result) => console.log(result))
                .catch((error) => console.error(error))
        });
}

Flask debug log
$ python3.10 index.py
 * Serving Flask app 'index'
 * Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (<IP_ADDRESS>)
 * Running on http://<IP_ADDRESS>:8080
 * Running on http://<IP_ADDRESS>:8080
Press CTRL+C to quit
 * Restarting with stat
 * Debugger is active!
  All looks great.

Dev view after update. Appear second dcript section and it is obviouslly didn't work properly.

I have added a sample on how to update the editor content:
https://github.com/julien-duponchelle/rocher/commit/22198d98a32e82cd99af8eab896cbe6f906640f7
Does it solve your problem?

Oh, hey! I'm very appreciate that, will try and reuturn with the report, thank you :)

Oh, it's THAT simple? I've stuck for 5 days around this problem. Just not very familiar with JS unfortunately. Thanks a lot, your lib is awesome :)

It works.

Oh, it's THAT simple? I've stuck for 5 days around this problem. Just not very familiar with JS unfortunately.


selections popup needs to be resizable / movable

i wonder if that would be easy with % sizes in the css


Update Temperature Control cluster

Replace CurrentTemperatureLevelIndex with SelectedTemperatureLevel; SupportedTemperatureLevels should be a list[string] and the TemperatureLevelStruct should be eliminated.
Please also update the feature map semantics per latest draft

@jadhavrohit924


Can I set remove old log automatically?

Feature request
Hi,
I installed tekton pipeline, triggers, dashboard, and
create one task, one pipeline, one trigger,
and it runs over 7000 times during 1 week.
It makes kubernetes cluster saves too many logs,
and don't know exactly but also api-server's something.
So I wonder tekton has a old(or over specific number of) log remove automatically feature.
Use case
user who run pipeline, task in enterprise level need this feature.

We are discussing this in https://github.com/tektoncd/catalog/pull/572

We are discussing this in https://github.com/tektoncd/catalog/pull/572

/remove-lifecycle stale


Remove the edit task and rely on replay instead

Removes the edit task from porch. For creating new revisions, we instead rely on creating new revisions using the tasks from the source revision: https://github.com/GoogleContainerTools/kpt/blob/main/internal/cmdrpkgcopy/command.go#L144. This means we are essentially just replaying the tasks to create the new revision.

@droot Yes, so I'll hold off merging this PR until we know the UI is ready for it.


Trouble porting my code to caio

Hi, I am having some trouble using caio in my project. I am pretty new to async so I may be doing something stupid :sweat_smile:
I tried moving my code to async since it can be a bit IO intensive and lower delays do make a difference in my application.
WIP patch: https://github.com/FFY00/python-uhid/commit/b2b49aac397bfcfed2a9dbb772403c8cf872cefe
Code: https://github.com/FFY00/python-uhid/tree/async
I am testing with the following snippet:
#!/usr/bin/env python

import uhid

async def create(n = 0):
    return await uhid.UHIDDevice.initialize(
            0x0000, n, f'Test Device {n}', [
            # Generic mouse report descriptor
            0x05, 0x01,  # Usage Page (Generic Desktop)        0
            0x09, 0x02,  # Usage (Mouse)                       2
            0xa1, 0x01,  # Collection (Application)            4
            0x09, 0x02,  # .Usage (Mouse)                      6
            0xa1, 0x02,  # .Collection (Logical)               8
            0x09, 0x01,  # ..Usage (Pointer)                   10
            0xa1, 0x00,  # ..Collection (Physical)             12
            0x05, 0x09,  # ...Usage Page (Button)              14
            0x19, 0x01,  # ...Usage Minimum (1)                16
            0x29, 0x03,  # ...Usage Maximum (3)                18
            0x15, 0x00,  # ...Logical Minimum (0)              20
            0x25, 0x01,  # ...Logical Maximum (1)              22
            0x75, 0x01,  # ...Report Size (1)                  24
            0x95, 0x03,  # ...Report Count (3)                 26
            0x81, 0x02,  # ...Input (Data,Var,Abs)             28
            0x75, 0x05,  # ...Report Size (5)                  30
            0x95, 0x01,  # ...Report Count (1)                 32
            0x81, 0x03,  # ...Input (Cnst,Var,Abs)             34
            0x05, 0x01,  # ...Usage Page (Generic Desktop)     36
            0x09, 0x30,  # ...Usage (X)                        38
            0x09, 0x31,  # ...Usage (Y)                        40
            0x15, 0x81,  # ...Logical Minimum (-127)           42
            0x25, 0x7f,  # ...Logical Maximum (127)            44
            0x75, 0x08,  # ...Report Size (8)                  46
            0x95, 0x02,  # ...Report Count (2)                 48
            0x81, 0x06,  # ...Input (Data,Var,Rel)             50
            0xc0,        # ..End Collection                    52
            0xc0,        # .End Collection                     53
            0xc0,        # End Collection                      54
        ],
    )

async def main():
    wait = []
    for i in range(5):
        wait.append(create(i))

    await asyncio.gather(*wait)

import asyncio
loop = asyncio.get_event_loop()
#loop.run_until_complete(main())
loop.run_until_complete(create())

But I get the following error:
Traceback (most recent call last):
  File "/home/anubis/.virtualenvs/caio/lib/python3.8/site-packages/caio/asyncio_base.py", line 43, in step
    self.context.submit(*operations.keys())
SystemError: (22, 'Invalid argument')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./test.py", line 56, in <module>
    loop.run_until_complete(create())
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "./test.py", line 9, in create
    return await uhid.UHIDDevice.initialize(
  File "/home/anubis/git/python-uhid/uhid/__init__.py", line 239, in initialize
    await device.create()
  File "/home/anubis/git/python-uhid/uhid/__init__.py", line 316, in create
    await self._uhid.create(
  File "/home/anubis/git/python-uhid/uhid/__init__.py", line 220, in create
    await self._send_event(_EventType.UHID_CREATE2, _Create2Req(
  File "/home/anubis/git/python-uhid/uhid/__init__.py", line 186, in _send_event
    n = await self._ctx.write(bytes(data), self._uhid, offset=0)
  File "/home/anubis/.virtualenvs/caio/lib/python3.8/site-packages/caio/asyncio_base.py", line 87, in submit
    await future
  File "/home/anubis/.virtualenvs/caio/lib/python3.8/site-packages/caio/asyncio_base.py", line 48, in step
    self.context.submit(operation)
SystemError: (22, 'Invalid argument')

Do you have any idea of what may be happening here?

I've got the same problem when using aiofile.

I think It's fixed in caio==0.6.0

aiofile 3.0.0 requires caio~=0.5.3, but you'll have caio 0.6.0 which is incompatible.

Oh. My bad

@honglei aiofile==3.1.0 has been released.

@honglei actually you should use Linux kernel >=4.18 it's was not a bug that's was the fixes avoiding compatibility issue. io_submit system call supports all required features since Linux 4.18.

My kernel is 4.4.15 and I cannot update it, when using fsync , it raised "Bad file descriptor" Error.

@mosquito  I think caio should choose to use theaded-mode if it cannot work correctly before linux kernel 4.18

@honglei that's will happen transparently for you. When caio importing selects preferred implementation.

@mosquito But under Linux 4.4.15/Python3.8/caio 0.60,  caio.preferred is caio.linux_aio

@mosquito But under Linux 4.4.15/Python3.8/caio 0.60, caio.preferred is caio.linux_aio

@honglei Please provide uname -r output.

Linux lccy6 4.4.15-deepin-wutip-421-inspur-monitor-native-debugless #298 SMP Mon Jun 29 14:14:12 CST 2020 sw_64 GNU/Linux

4.4.15-deepin-wutip-421-inspur-monitor-native-debugless

>>> os.uname()
posix.uname_result(sysname='Linux', nodename='lccy6', release='4.4.15-deepin-wutip-421-inspur-monitor-native-debugless', version='#298 SMP Mon Jun 29 14:14:12 CST 2020', machine='sw_64')

Hi! I am running Linux 5.8.3 and just updated to caio 0.6.0, still the same thing :confused:
$ uname -a
Linux genesis 5.8.3-arch1-1 #1 SMP PREEMPT Fri, 21 Aug 2020 16:54:16 +0000 x86_64 GNU/Linux

$ python -c 'import caio; print(caio.__version__)'
0.6.0

@FFY00 @honglei Thanks for your persistence, it's really my bug. I found a solution and soon will release it.

Maybe this way:
import os
if os.name =='posix':
    os_version = os.uname().release.split("-")[0]
    version = tuple( [int(i) for i in os_version.split(".")])
    if version<(4,18):
        print("thread_aio")
    else:
        print("linux_aio")

@honglei actually something like this but on c. Anyway, 0.6.1 has been released. I will happy if you try to check this out.

Unfortunately this still doesn't fix my issue. My kernel is very recent, do you have any idea why this might not be working?

@FFY00 it's happening when the kernel is not able to perform the asynchronous operation with this file. I found a problem with fsync/fdsync operations on old kernels, and avoid this. I guess that's isn't the last issue with old kernels, but when you bring some details e.g. environment, kernel version Linux distro, etc. I might reproduce this on VM, I guess, and try to resolve it, or restrict libaio based implementation for this kernel as a bad case.

@FFY00 So after fast reading the documentation about UHID I found out this:
Non-blocking operations are supported by setting O_NONBLOCK.
Probably you do not need use caio for this (I guess kernel is not able to handle this file descriptor) try something like this:
import os, asyncio, fcntl

f = open(...)

rv = fcntl.fcntl(f, fcntl.F_SETFL, os.O_NONBLOCK)

def ready_to_read(fp):
    pass

def ready_to_write(fp):
    pass

loop = asyncio.get_event_loop()
loop.add_reader(f.fileno(), ready_to_read, f)
loop.add_writer(f.fileno(), ready_to_write, f)

Still linux_aio under kernel 4.4.15
lccy@lccy6:/opt/python38/bin$ ./python3
Python 3.8.4rc1 (default, Jul  1 2020, 11:44:28)
[GCC 5.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import caio
<frozen importlib._bootstrap>:219: RuntimeWarning: Linux supports fsync/fdsync with io_submit since 4.18 but current kernel 4.4.15-deepin-wutip-421-inspur-monitor-native-debugless doesn't support it. Related calls will have no effect.
>>> caio.preferred
<module 'caio.linux_aio' from '/opt/python38/lib/python3.8/site-packages/caio/linux_aio.cpython-38.so'>
>>> caio.__version__
'0.6.1'
>>> os.uname()
posix.uname_result(sysname='Linux', nodename='lccy6', release='4.4.15-deepin-wutip-421-inspur-monitor-native-debugless', version='#298 SMP Mon Jun 29 14:14:12 CST 2020', machine='sw_64')

@mosquito I think the last modification only give a warning, but have no effect for caio.preferred selection.

@honglei please see Troubleshooting part in README.rst


Add performance tests to track the perf improvement/regression in long term

PowerShell needs performance tests to track the perf improvement and regression in long term.
The perf tests will roughly fall in two categories:

Individual cmdlets, such as those work closely with PSObject: ConvertFrom/To-Csv, ConvertFrom/To-Json; the *-Object cmdlets; the Select-String and etc.
scenarios that exercise particular components of the engine, such as the parameter binder (pipeline binding especially), compiler/binder/interpreter, etc.

.Net Core team moved all benchmark tests in separate repo. We need to consider the experience.

.Net Core team moved all benchmark tests in separate repo. We need to consider the experience.

Excuse me, but to which repository? Also: 'We need to consider the experience' - eh?


version 1.2.0, the picture won't be updated when changing the state.

If it doesn't work either with 1.2.1 let me know what your implementation of the dev tool looks like.

I changed it to 1.2.0 version, then it works well. And I didn't move any code.  :)


Optional wiring of gl3w into glfw to correct broken linking

Option for building gl header files if unavailable.

Libraries like gl3w should be built top of GLFW, not the other way around.

Except you include GL.h inside of glfw which causes issues with include ordering because of c++ sillyness.

Easily solved in the general case with GLFW_INCLUDE_NONE.
In this specific case, a public header for such a library wouldn't necessarily need to include the GLFW header and could safely be included first. An stb style header-only version of such a library could include the GLFW header itself, disabling any later inclusion by the application. Either of these options would prevent the regular OpenGL header from interfering.


Setup CI and coverage tools

Add support for travis-CI, goscorecard and codecov.io

Codecov Report

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

@@           Coverage Diff           @@
##             master     #2   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      1
  Lines             ?     46
  Branches          ?      0
=======================================
  Hits              ?     46
  Misses            ?      0
  Partials          ?      0

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 8c41bf6...cc1f2e6. Read the comment docs.


chore(jest): support of no jasmine env

v12.5.1 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Use the formatted name for global variable declartion.

Fixes issue with spaces in variable names.

Good catch and thanks for the patch!


Tutorials

We need to start making some tutorials.
I'll start with something where we build from Methane -> Ethane -> longer chain alkanes.

let's keep this in #66


When there is a scrollbar on site Dialog get scewed

Describe the bug
When you open the dialog the scrollbar on the site disappears and the whole content is skewed right.
To Reproduce
Steps to reproduce the behavior:
go to https://ui.black-kro.dev/components/dialog
open the dialog on the page.
The scrollbar disappears and content is scewed.
Expected behavior
Expectation is that the content is not skewed. An example of a dialog that has scrollbar but the content is not skewed:
https://v5.getbootstrap.com/docs/5.0/components/modal/
Desktop (please complete the following information):
windows 10, chrome browser

Thanks, will look into it!

Fixed. But won't fixes won't be visible in the docs until I'm able to publish an updated version of the docs.


Upgrade Ruby to 2.7.5

Upgrades Ruby to 2.7.5. See commits for more details.
This PR should be tested before merge, as per https://docs.publishing.service.gov.uk/manual/ruby.html#update-ruby-version-in-the-relevant-repos.

CI fine, except that the previous run through failed - looks like there's an intermittent test failure due to random ordering (possibly one set of test data sometimes isn't getting deleted before the next test runs, causing it to find 2 copies of the expected record rather than one).
Deployed to integration successfully.
Have tested on https://imminence.integration.publishing.service.gov.uk/, including going through a couple of services to ensure they behave correctly.
No errors in grafana or sentry, or in the kibana logs, no deprecations mentioned.


bug: Unable to rebase to local build

Hello while rebasing to a local secureblue build i get the following error:
$ bluebuild rebase config/recipes/general/recipe-silverblue-main-userns.yml
...
$ error: While pulling silverblue-main-userns-hardened: Remote "ostree-unverified-image" not found
$ ERROR => Failed to rebase to silverblue-main-userns-hardened

The error is from the subprocess spawned in
https://github.com/blue-build/cli/blob/e9c96e204d9ad45e9196f0aed8d377c1191e4553/src/commands/local.rs#L134-L138
Thank you for your help!

Yeah this bug has already been fixed in main. I found it shortly after the release. This will be going out in the next patch. Sorry for not catching it in time.


the ouija does not appear in the store.

the ouija does not appear in the store. is configured to appear

Works fine in testing, unless reproduction steps are provided there is no bug here. (Check for an incompatibility with other mods)

the mod is active, but Ouija does not appear in the store

Again, seems to work fine for me so unless it's reproducible I'm going to close in ~12h to give time to respond.


Show message if location isn't exact

When going to a location, currently we show a small-ish circle around a precise location even if the geocode only gave "Washington DC" or "Arlington VA" as a location. We should identify when the precision of the geocode is low and then indicate this to the user, perhaps with a pop-up message (that fades, like the "there is no transit near you" message) or some other mechanism which says something like "location is approximate".

The correct metric for this is address quality, which is returned in the JSON. I propose quality < 80 should be flagged with "location is approximate."
http://developer.yahoo.com/geo/placefinder/guide/responses.html#address-quality

I've added (Approximate) to the end of the search text after a low quality result is returned.
It's a slightly odd place, but it's at the bottom of the screen, doesn't take up any additional space, and is easy to clear by just clicking the "clear" button of the search bar.
I'm going to check this in and close the bug -- if someone has a better proposal for where to put it, please open a new bug.


Cluster must have at least one etcd plane host after switching cloud provider

Rancher versions:
rancher/server or rancher/rancher: 2.0.8
rancher/agent or rancher/rancher-agent: 2.08
Docker version: (docker version,docker info preferred) 18.03.01
Operating system and kernel: (cat /etc/os-release, uname -r preferred) 4.4.0-130-generic
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) Bare-metal
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB) 2 nodes
Results:
By accident I switched the cloud provider to Amazon, then I tried switching it back to None. Then I upgraded Rancher from 2.0.4 to 2.0.8.
My cluster now shows:
This cluster is currently Updating.

Cluster must have at least one etcd plane host

Also launching kubectl from Rancher just shows a black screen.
How can I get rid of this / what do I need to do?

Is the node with etcd running a rancher-agent container and what version is it?

@santascsi No, it is not:
975f1b91e644        rancher/rancher:latest               "entrypoint.sh"          2 days ago          Up 2 days               <IP_ADDRESS>:8080->80/tcp, <IP_ADDRESS>:8443->443/tcp   hungry_cray
f9623476439b        rancher/hyperkube:v1.10.1-rancher2   "/opt/rke/entrypoint…"   2 days ago          Up Less than a second                                                 kubelet
5477a3a45ae7        rancher/hyperkube:v1.10.1-rancher2   "/opt/rke/entrypoint…"   2 days ago          Up 8 seconds                                                          kube-controller-manager
642394af74a8        rancher/hyperkube:v1.10.1-rancher2   "/opt/rke/entrypoint…"   2 days ago          Up 2 days                                                             kube-apiserver
26b24bc05337        rancher/coreos-etcd:v3.1.12          "/usr/local/bin/etcd…"   2 days ago          Up 2 days                                                             etcd
28d762d5b270        rancher/hyperkube:v1.10.1-rancher2   "/opt/rke/entrypoint…"   3 months ago        Up 2 days                                                             kube-proxy
e469c6904d2e        rancher/hyperkube:v1.10.1-rancher2   "/opt/rke/entrypoint…"   3 months ago        Up 2 days                                                             kube-scheduler

@santascsi After waiting a while the cluster returned to an OK state.
The only thing I noticed was that the worker node became unresponsive. Upon checking I noticed that it spawned 1020 rancher-agents during the last 3 days.


Compilation issue on IRFM clusters

There seems to be a compilation issue after the last merge.
From the error messages (see below), it looks like the compiler simply does not like it when a line is broken.
Laura, could you give us your opinion ? Did you encounter anything like that ?
It is strange that this issue did not show during tests,
It may be because the linux clusters at IRFM are using gcc with an old version of GLIBC (on Cent OS 6.9) whereas Travis is running a modern ubuntu with modern GLIBC.
----------------- Error message ---------------------------------------------
(base) [ DV226270 sirrah ~/ToFu_All/tofu_git/tofu (Issue61_Imas2tofuMoreRobust)] python setup.py build_ext --inplace
Version for setup.py :  1.4.0-138-g9c4d8e8
Using Cython !!!!!!!!!
Compiling tofu/geom/_GG03.pyx because it changed.
Compiling tofu/geom/_basic_geom_tools.pyx because it changed.
[1/2] Cythonizing tofu/geom/_GG03.pyx
Error compiling Cython file:
...
==============================================================================
=  Computing Hypothenus
=============================================================================
cdef inline array compute_hypot(double[::1] xpts, double[::1] ypts,
int npts=-1):
^
tofu/geom/_basic_geom_tools.pxd:136:32: default values cannot be specified in pxd files, use ? or *
Error compiling Cython file:
...
==============================================================================
=  Computing Hypothenus
=============================================================================
cdef inline array compute_hypot(double[::1] xpts, double[::1] ypts,
int npts=-1):
^
tofu/geom/_basic_geom_tools.pxd:136:42: Expected ')', found 'INT'
Error compiling Cython file:
...
from libc.math cimport atan2 as Catan2, pi as Cpi
from libc.math cimport NAN as Cnan
from libc.math cimport isnan as Cisnan
from libc.stdlib cimport malloc, free
-- ToFu library imports ------------------------------------------------------
from _basic_geom_tools cimport _VSMALL, _SMALL
^
tofu/geom/_GG03.pyx:31:0: 'tofu/geom/_basic_geom_tools/_VSMALL.pxd' not found
Error compiling Cython file:
...
from libc.math cimport atan2 as Catan2, pi as Cpi
from libc.math cimport NAN as Cnan
from libc.math cimport isnan as Cisnan
from libc.stdlib cimport malloc, free
-- ToFu library imports ------------------------------------------------------
from _basic_geom_tools cimport _VSMALL, _SMALL
^
tofu/geom/_GG03.pyx:31:0: 'tofu/geom/_basic_geom_tools/_SMALL.pxd' not found
Error compiling Cython file:
...
==============================================================================
cdef inline bint inter_ray_aabb_box(const int[3] sign,
const double[3] inv_direction,
const double[6] bounds,
const double[3] ds,
bint countin=False,
^
tofu/geom/_raytracing_tools.pxd:29:36: default values cannot be specified in pxd files, use ? or *
Error compiling Cython file:
...
cdef inline bint inter_ray_aabb_box(const int[3] sign,
const double[3] inv_direction,
const double[6] bounds,
const double[3] ds,
bint countin=False,
bint debug_plot=False) nogil:
^
tofu/geom/_raytracing_tools.pxd:30:36: default values cannot be specified in pxd files, use ? or *

Additional info:

If I checkout to branch devel, the compilation works fine on IRFM clusters (tested today)....

On travis, the compilation of branch Issue61_Imas2tofuMoreRobust works fine (tested today)

The problem only arises when I compile from branch Issue61_Imas2tofuMoreRobust on IRFM clusters. Could you try pulling this specific branch on your laptop and trying compiling ?

git diff confirms that there is no difference in the tofu/geom directory between devel and Issue61_Imas2tofuMoreRobust
> git diff Issue61_Imas2tofuMoreRobust devel -- tofu/geom/
=> returns nothing (i.e.: no changes detected)
Conclusion : the problem is here (on devel) since the merge from DistPoly, but was not detected because the compilation works fine on Travis, but not on IRFM clusters (and I had not tried it, mea culpa)

A commit-by-commit series of compilation tests reveals that the problem appeared between:

commit c5fde53717d9f8a900ddfcf7c1eb9d695d6b34e2 (master)

443f112cf36604c2249fbeb1a315e55911fb58f1  (creation of branch DistPolyLOS)

Differences reveal:... many differences in tofu/geom/
Any idea which one may be the source of issue ?

It looks to me is a problem with the new *.pxd files...
Can you give me the specs of the machines where it doesn't work ? (compiler version...)

(base) [ DV226270 sirrah ~/ToFu_All/tofu_git/tofu (Issue61_Imas2tofuMoreRobust)] gcc --version
gcc (GCC) 6.4.0
Copyright © 2017 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de copie.  Il n'y a
AUCUNE GARANTIE, pas même pour la COMMERCIALISATION ni L'ADÉQUATION À UNE TÂCHE PARTICULIÈRE.

(base) [ DV226270 sirrah ~/ToFu_All/tofu_git/tofu (Issue61_Imas2tofuMoreRobust)] ldd --version
ldd (GNU libc) 2.12
Copyright © 2010 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de
reproduction. AUCUNE garantie n'est donnée; tant pour des raisons
COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.
Écrits par Roland McGrath et Ulrich Drepper.

and cython and python versions ?

(base) [ DV226270 sirrah ~/ToFu_All/tofu_git/tofu (Issue61_Imas2tofuMoreRobust)] python --version
Python 3.6.3 :: Anaconda custom (64-bit)
(base) [ DV226270 sirrah ~/ToFu_All/tofu_git/tofu (Issue61_Imas2tofuMoreRobust)] cython --version
Cython version 0.25.2

Looking at the changelogs of cython, there have been a few changes to the way it handles .pxd files.
From the description, none of them really seem to address directly our issue though, but since 0.25.2 is getting quite old, it might be a good idea to ask for an update to the admins (not sure it's possibl though).
Can you try to reproduce the compilation error if you downgrade to cython 0.25.2 ?

I just pushed a new branch, do you mind trying that one:

fixing-issue-89

(there will probably still be two errors, but it should fix the first three)

(base) [ DV226270 sirrah ~/ToFu_All/tofu_git/tofu (fixing-issue-89)] python setup.py build_ext --inplace > debugCython.txt
Error compiling Cython file:
...
==============================================================================
cdef inline bint inter_ray_aabb_box(const int[3] sign,
const double[3] inv_direction,
const double[6] bounds,
const double[3] ds,
bint countin=False,
^
tofu/geom/_raytracing_tools.pxd:29:36: default values cannot be specified in pxd files, use ? or *
Error compiling Cython file:
...
cdef inline bint inter_ray_aabb_box(const int[3] sign,
const double[3] inv_direction,
const double[6] bounds,
const double[3] ds,
bint countin=False,
bint debug_plot=False) nogil:
^
tofu/geom/_raytracing_tools.pxd:30:36: default values cannot be specified in pxd files, use ? or *
Error compiling Cython file:
...
bounds[3] = xmax
bounds[4] = ymax
bounds[5] = zmax
return
cdef inline void coordshift_simple1d(double[3] pts, bint in_is_cartesian=True,
^
tofu/geom/_raytracing_tools.pxd:336:52: default values cannot be specified in pxd files, use ? or *
Error compiling Cython file:
...
bounds[4] = ymax
bounds[5] = zmax
return
cdef inline void coordshift_simple1d(double[3] pts, bint in_is_cartesian=True,
double CrossRef=0., double cos_phi=0.,
^
tofu/geom/_raytracing_tools.pxd:337:37: default values cannot be specified in pxd files, use ? or *
Error compiling Cython file:
...
bounds[4] = ymax
bounds[5] = zmax
return
cdef inline void coordshift_simple1d(double[3] pts, bint in_is_cartesian=True,
double CrossRef=0., double cos_phi=0.,
^
tofu/geom/_raytracing_tools.pxd:337:57: default values cannot be specified in pxd files, use ? or *
Error compiling Cython file:
...
bounds[5] = zmax
return
cdef inline void coordshift_simple1d(double[3] pts, bint in_is_cartesian=True,
double CrossRef=0., double cos_phi=0.,
double sin_phi=0.) nogil:
^
tofu/geom/_raytracing_tools.pxd:338:37: default values cannot be specified in pxd files, use ? or *
Error compiling Cython file:
...
const double eps_vz, const double eps_a,
const double eps_b, const double eps_pln,
const bint is_in_struct,
double[1] kpin_loc, double[1] kpout_loc,
int[1] ind_loc, double[3] vperpin,
bint debug_plot=False) nogil:
^
tofu/geom/_raytracing_tools.pxd:723:38: default values cannot be specified in pxd files, use ? or *

There are many other errors below but let's focus on the first ones so far
Btw, I'm trying to export the output of 'python setup.py build_ext --inplace' to a txt file so I can send you the whole message in a more compact form but it does not seem to work, any tip ?

I think I got the gist of the problem.
Just pushed on the same branch... I think all bugs should be fixed

(base) [ DV226270 sirrah ~/ToFu_All/tofu_git/tofu (fixing-issue-89)] python setup.py build_ext --inplace
Version for setup.py :  1.3.24-602-ge80f0ca
Using Cython !!!!!!!!!
Compiling tofu/geom/_GG03.pyx because it changed.
Compiling tofu/geom/_basic_geom_tools.pyx because it changed.
[1/2] Cythonizing tofu/geom/_GG03.pyx
[2/2] Cythonizing tofu/geom/_basic_geom_tools.pyx
/Applications/Anaconda/python36/lib/python3.6/site-packages/setuptools/dist.py:364: UserWarning: The version specified ('1.3.24-602-ge80f0ca') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
running build_ext
building 'tofu.geom._GG03' extension
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/Applications/Anaconda/python36/lib/python3.6/site-packages/numpy/core/include -I/Applications/Anaconda/python36/include/python3.6m -c tofu/geom/_GG03.c -o build/temp.linux-x86_64-3.6/tofu/geom/_GG03.o -O0 -Wall -fopenmp
In file included from /Applications/Anaconda/python36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
from /Applications/Anaconda/python36/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /Applications/Anaconda/python36/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from tofu/geom/_GG03.c:453:
/Applications/Anaconda/python36/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: attention : #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^~~~~~~
gcc -pthread -shared -B /Applications/Anaconda/python36/compiler_compat -L/Applications/Anaconda/python36/lib -Wl,-rpath=/Applications/Anaconda/python36/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/tofu/geom/_GG03.o -L/Applications/Anaconda/python36/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/tofu/geom/_GG03.cpython-36m-x86_64-linux-gnu.so -fopenmp
building 'tofu.geom._basic_geom_tools' extension
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/Applications/Anaconda/python36/lib/python3.6/site-packages/numpy/core/include -I/Applications/Anaconda/python36/include/python3.6m -c tofu/geom/_basic_geom_tools.c -o build/temp.linux-x86_64-3.6/tofu/geom/_basic_geom_tools.o -O0 -Wall -fopenmp
gcc -pthread -shared -B /Applications/Anaconda/python36/compiler_compat -L/Applications/Anaconda/python36/lib -Wl,-rpath=/Applications/Anaconda/python36/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/tofu/geom/_basic_geom_tools.o -L/Applications/Anaconda/python36/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/tofu/geom/_basic_geom_tools.cpython-36m-x86_64-linux-gnu.so -fopenmp
copying build/lib.linux-x86_64-3.6/tofu/geom/_GG03.cpython-36m-x86_64-linux-gnu.so -> tofu/geom
copying build/lib.linux-x86_64-3.6/tofu/geom/_basic_geom_tools.cpython-36m-x86_64-linux-gnu.so -> tofu/geom

Done   :-)
And yet another mission successfully completed by super-Laura !
Thanks very much,
Time for a quite debrief on Hangout ?

Great !


update cronbackup controller

Signed-off-by: liuchuwei<EMAIL_ADDRESS>
What type of PR is this?
/kind bug

What this PR does / why we need it:
BackupPoint and cronBackup of back-end service logs reporting errors
Which issue(s) this PR fixes:

Fixes # https://github.com/kubeclipper-labs/kubeclipper/issues/59
Special notes for reviewers:

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

Codecov Report

Merging #60 (bd0617e) into master (84faa6f) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #60   +/-   ##
=======================================
  Coverage   11.33%   11.33%
=======================================
  Files          95       95
  Lines       14710    14709    -1
=======================================
  Hits         1667     1667
+ Misses      12822    12821    -1
  Partials      221      221

Impacted Files
Coverage Δ

pkg/cli/registry/registry.go
0.00% <0.00%> (ø)

pkg/cli/resource/resource.go
0.76% <0.00%> (ø)

@zhuzhenfan

/lgtm

/approve

/lgtm


Fix storage info

Return aggregated storage info instead of the first one

Notes:
The storage info methods can not tell which zdb is used for data and which are used for parity, so the returned total/free is the total of all the available zdb that are reachable.

Codecov Report

Merging #14 into zerostor will decrease coverage by 0.01%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           zerostor     #14      +/-   ##
===========================================
- Coverage     58.42%   58.4%   -0.02%
===========================================
  Files           208     208
  Lines         24552   24553       +1
===========================================
- Hits          14344   14340       -4
- Misses         8585    8593       +8
+ Partials       1623    1620       -3

Impacted Files
Coverage Δ

cmd/gateway/zerostor/zerostor.go
28.65% <0%> (-1.71%)
:arrow_down:

cmd/gateway/zerostor/multipart/manager.go
76.63% <0%> (-1.25%)
:arrow_down:

cmd/gateway/zerostor/meta/meta.go
100% <0%> (ø)
:arrow_up:

cmd/fs-v1-rwpool.go
61.44% <0%> (+3.61%)
:arrow_up:

cmd/xl-v1-common.go
100% <0%> (+6.25%)
: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 01e24ea...4ff0d99. Read the comment docs.


Audubon Core Maintenance Group call 12:00 UTC, Wednesday, July 22

The Audubon Core Maintenance Group will have an online meeting at 12:00 UTC Wednesday, 2020-07-22. That corresponds to 8:00 AM Wednesday Eastern (US) Daylight Time (New York), 1:00 PM Wednesday, British Summer Time (London), 2:00 PM Wednesday, Central European Summer Time (Stockholm), and 10:00 PM Wednesday Australian Eastern Standard Time (Canberra).
Ed Baker and Dan Stowell will discuss a proposal for term additions and a sound user guide. Steve Baskauf will update the group on his work on developing the controlled vocabularies for ac:variant, ac:subtype and dcterms:format.

Meeting details:
Join Zoom Meeting
https://vanderbilt.zoom.us/j/94719614349
Meeting ID:  947 1961 4349
Find your local number: https://vanderbilt.zoom.us/u/av4khyvlD
Click for Outlook .ics calendar invitation
Click for Google calendar invitation

This is a reminder that the Audubon Core Maintenance Group will be meeting tomorrow (Wed 22 July at 12:00 UTC). See https://github.com/tdwg/ac/issues/169 for local times and connection details.
We will devote most of the meeting to Ed and Dan's draft for a sound user guide and other related items. We will also briefly consider whether to move the two controlled vocabulary proposals: https://github.com/tdwg/ac/issues/170 and https://github.com/tdwg/ac/issues/171 forward to public comment, so please look them over prior to the meeting.

Meeting notes have been posted here


How to Run the Program on the Second GPU When the First GPU is Occupied?

Hello, thank you very much for your work. My server has two GPUs, but the first one is currently in use by someone else. How can I configure your program to run on the second GPU?

为啥显存在第二个GPU上训练，但是现存还是用第一张卡的？

环境问题千奇百怪，这个真只能靠自己排查了。通常情况下export CUDA_VISIBLE_DEVICES正确的话，不会出现这个问题。


Add appliedwork api

/assign @RainbowMango

LGTM.
/assign @pmorie

I wonder if we should talk about the AppliedWork API somewhere, such as the KEP?

Do you think we should add  it in  the doc? It might relates to the detailed implementation, but not a user interfacing  API.

/remove-lifecycle stale

/remove-lifecycle stale
I am working on the enhancement proposal for this PR. Sorry it's been taking so long.

Thanks @mikeshng, could you please cc me when the proposal is ready for review?

/remove-lifecycle stale

/remove-lifecycle stale

/close


Native HTTP module port implementation

It would be nice to have a native Node.js HTTP module port implementation, as an example of a REST API without third-party frameworks / libs, in a functional way too.
I can help with this. =)

Great @mxthevs! Go ahead :D


Avoid race in subsequent changes to the same controller

/kind bug
What this PR does / why we need it:
One of the test runs has failed with
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x17b1e9a]
goroutine 79903 [running]:
k8s.io/perf-tests/clusterloader2/pkg/measurement/common.(*objectChecker).Stop(0x1aa49a0)
	/home/prow/go/src/k8s.io/perf-tests/clusterloader2/pkg/measurement/common/wait_for_controlled_pods.go:713 +0x7a
k8s.io/perf-tests/clusterloader2/pkg/measurement/util/checker.Map.Add(...)
	/home/prow/go/src/k8s.io/perf-tests/clusterloader2/pkg/measurement/util/checker/checker_map.go:43
k8s.io/perf-tests/clusterloader2/pkg/measurement/common.(*waitForControlledPodsRunningMeasurement).handleObjectLocked(0xc03c6c9ba0, {0x0, 0x0}, {0x20edda0, 0xc081055010})
	/home/prow/go/src/k8s.io/perf-tests/clusterloader2/pkg/measurement/common/wait_for_controlled_pods.go:493 +0x1f6
k8s.io/perf-tests/clusterloader2/pkg/measurement/common.(*waitForControlledPodsRunningMeasurement).handleObject(0xc03c6c9ba0, {0x0, 0x0}, {0x1c5b1e0, 0xc081055010})
	/home/prow/go/src/k8s.io/perf-tests/clusterloader2/pkg/measurement/common/wait_for_controlled_pods.go:453 +0x5b5
k8s.io/perf-tests/clusterloader2/pkg/measurement/common.(*waitForControlledPodsRunningMeasurement).start.func1.1()
	/home/prow/go/src/k8s.io/perf-tests/clusterloader2/pkg/measurement/common/wait_for_controlled_pods.go:279 +0x2d
k8s.io/perf-tests/clusterloader2/pkg/measurement/util/workerqueue.(*WorkerQueue).worker(0xc02447dba0)
	/home/prow/go/src/k8s.io/perf-tests/clusterloader2/pkg/measurement/util/workerqueue/workerqueue.go:65 +0x31
k8s.io/apimachinery/pkg/util/wait.(*Group).Start.func1()
	/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.22.15/pkg/util/wait/wait.go:73 +0x5a
created by k8s.io/apimachinery/pkg/util/wait.(*Group).Start
	/home/prow/go/pkg/mod/k8s.io/apimachinery@v0.22.15/pkg/util/wait/wait.go:71 +0x88

This has failed on o.cancel = nil in
https://github.com/kubernetes/perf-tests/blob/19927c1a477eaebeb004387972def1db75142c10/clusterloader2/pkg/measurement/common/wait_for_controlled_pods.go#L710-L713
The cancel is being set in
https://github.com/kubernetes/perf-tests/blob/83e45df022caa7507aa84f5b8af85db2af153c6e/clusterloader2/pkg/measurement/common/wait_for_controlled_pods.go#L615-L621
The problem is that the setting it happens asynchronously (in the separate goroutine) and when the function finishes there is potential race between calling o.cancel and o.SetCancel.
If the object is being changed between o.SetCancel is called, then the attempt to replace it (and Stop previous instance) will fail as here.
The idea for fix is to:

make invariant that when the waitForRuntimeObject finishes (so before it's pushed to checkerMap) it has o.cancel set.
context.WithCancel requires calling cancel as soon as the code finishes to clean resources, so let's keep it where it was (in the async goroutine).

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
/assign @tosi3k

/assign @marseel

/lgtm
/approve


Growth Chambers will disappear after restarting, and can be designed to not disappear like Material Hive

Description (Required)

Steps to reproduce the Issue (Required)

Expected behavior (Required)

Server Log / Error Report

Environment (Required)

Minecraft Version:
CS-CoreLib Version:
Slimefun Version:
Plugin Version:

*Item

Give more info please

He will consume, count down, and then return the plant.But during the countdown process, the server is shut down, which will cause the plants not to be returned.Can it be designed to not consume plants?

Ohhhh gotchu


change from django-modelclone to django-modelclone-next

start using an official package that has been renamed to django-modelclone-next
I was using it before, but from the github source, now it's an official package after 0.7.1

looks to be working, including local testing


react 19 fails

TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')

Thanks for raising!! Will fix

Hey @bugzpodder, a big thank you for this report
I found out react-snow-overlay was unintentionally bundling a verisonreact/jsx-runtime. Removing this has fixed it for React 19, and also greatly reduced the bundle size - so thanks!!
This fix has now been published to npm
Here is a working sandbox demo of React 19 + react-snow-overlay: https://codesandbox.io/p/sandbox/jfs4gt?file=%2Fpackage.json%3A15%2C30


Highlight: Arithmetic evaluation

(( 1 )) && : highlights the (( 1 )) as an error, but shouldn't.  (It's http://zsh.sourceforge.net/Doc/Release/Arithmetic-Evaluation.html#Arithmetic-Evaluation)

Before the )) have been input, the ${(z)…} splitter appears to have a bug: www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=36652

Before the )) have been input, the ${(z)…} splitter appears to have a bug: www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=36652

Fixed in https://github.com/zsh-users/zsh/commit/4bed2cf256cf79f8e17093d54a67f75dfa54794a.

When the input is (( 42 ), the first ( is highlighted as unknown-token.  That input is tokenized as ( ( 42 ), so the unknown-token highlighting is an artifact of issue #166 (subshell highlighting).
The zsh-workers@ thread above discusses the relevant tokenization code (in the zsh C sources).


Bindings for ARM MacOS

Hello! Thanks for the library! Seems like there are no bindings for ARM processors for Mac.

Works in v1.3.4


[Question] how to fill svg with any color when using SvgImageSource in xaml?

I don't want to have two same shaped svg files with different colors.

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

ID: 599d6bb6-58f6-b711-8053-197daed6e639
Version Independent ID: 8c42983d-6ecc-116c-58c9-dfb0abedc73f
Content: SvgImageSource Class (Windows.UI.Xaml.Media.Imaging) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.xaml.media.imaging.svgimagesource.yml&version=GBlive&_a=contents
Service: unspecified
Product: windows
GitHub Login: @wdg-dev-content
Microsoft Alias: wdg-dev-content

Also interested in an answer.

SvgImageSource doesn't support dynamically changing colors. You would need to create different files, or you could potentially load the file into an in-memory stream and update its contents before loading it into an SvgImageSource.
This seems like a reasonable idea for a new feature: please feel free to open a new feature suggestion for the Xaml platform in the Windows UI Library repo:
https://github.com/microsoft/microsoft-ui-xaml


Feature/12527 fss UI connect search filter panel with get batch attributes endpoint

Hi All, Please review and merge changes related to connect search filter panel with get batch attributes endpoint for FSS UI in main branch.

Hi Richard, I have resolved the merge conflicts.
Thank you.


Make User generic in OIDC Request class

This adds a new OIDC BaseRequest class which is generic on the User type, unlike the existing OIDC Request class which hardcodes the User type to Any. This allows you to create a subclass of BaseRequest with a particular User type, just like you can do with the non-OIDC version of the BaseRequest class.
This is the same change as in #95 but with some extra commits removed that were accidentally included in the other PR. Sorry about that

hey @shawnz . Thank you very much for your contribution and sorry for being late! I will review ASAP.

No worries, I'm not in any rush with these changes. Thanks for looking into this


Problems with Windows installation

Hi,
I was trying to install neurom on windows and had problems with morphio.
The issue was cmake and visual studio. I installed the appropriate version but it still did not work.
Is there an alternative?

Sorry, I missed this.
I'm trying to find time to build windows wheels, so one shouldn't need to build it themselves - but that doesn't help you if you're using the c++ interface.
Can you post the errors that you got, and what you tried?

@mgeplf look into cibuildwheel, they can build entire wheelhouses and drastically reduce the burden on maintainers :)

@Helveg >  look into cibuildwheel
Thanks; we're already using it:
https://github.com/BlueBrain/MorphIO/blob/master/.github/workflows/publish-sdist-wheels.yml#L36
The problem was that we don't have as much windows experience, so things like getting the right Visual Studio toolkit to work and such is difficult.  I'm close to getting it to work, but it's slow going.

Sorry, I was on vacation; we are building morphio wheels:
https://pypi.org/project/MorphIO/#files
Do those work for you @Peter-Hogg / @Helveg?

Nice! Yes, things seem to work at first sight :)
PS > pip install morphio
Collecting morphio
  Downloading MorphIO-3.3.2-cp39-cp39-win_amd64.whl (527 kB)
     |████████████████████████████████| 527 kB 6.8 MB/s
Requirement already satisfied: numpy>=1.14.1 in c:\users\robin\appdata\roaming\python\python39\site-packages (from morphio) (1.20.1)
Requirement already satisfied: h5py<4,>=3 in c:\users\robin\appdata\roaming\python\python39\site-packages (from morphio) (3.1.0)
Installing collected packages: morphio
Successfully installed morphio-3.3.2

And:
PS > python
Python 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import morphio
>>> dir(morphio)
['Annotation', 'AnnotationType', 'CellFamily', 'CellLevel', 'DendriticSpine', 'EndoplasmicReticulum', 'GlialCell', 'IDSequenceError', 'IterType', 'LogLevel', 'MissingParentError', 'MitoSection', 'Mitochondria', 'MitochondriaPointLevel', 'MorphioError', 'Morphology', 'MultipleTrees', 'Option', 'PointLevel', 'Points', 'PostSynapticDensity', 'Properties', 'RawDataError', 'Section', 'SectionBuilderError', 'SectionLevel', 'SectionType', 'Soma', 'SomaError', 'SomaType', 'UnknownFileType', 'VasculatureSectionType', 'Warning', 'WriterError', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '_morphio', 'mut', 'ostream_redirect', 'platform', 'set_ignored_warning', 'set_maximum_warnings', 'set_raise_warnings', 'vasculature', 'version']

Sorry, I was on vacation; we are building morphio wheels:
https://pypi.org/project/MorphIO/#files
Do those work for you @Peter-Hogg / @Helveg?
I tested it out and it worked! Thanks for fixing this!

Great - sorry it took so long, windows isn't something I have much experience with.
I'm going to close this, but feel free to reopen if you run into other problems.


Deprecated global $HTTP_RAW_POST_DATA

Please submit clean patches only - no changes including any formatting in non-related lines.

It's not me, it's GitHub's editor.

Seems I have to clone and fix it locally.

Done


SCM Prototype: Remove internal paging helpers in favor of public APIs

API change check
APIView has identified API level changes in this PR and created following API reviews.
System.ClientModel


CODEOWNERS: initial commit

Which issue is resolved by this Pull Request:
NA
Description of your changes:
Introduce CODEOWNERS file to restrict changes to this repository to specific individuals

Sure!
On Fri 21 Jul 2023, 02:11 Anthony Fok, @.***> wrote:

@.**** commented on this pull request.
In .github/CODEOWNERS
https://github.com/aristanetworks/oidc-authservice/pull/27#discussion_r1270137715
:

@@ -0,0 +1,2 @@
+# default owners for everything in this repo
+*       @asetty @ajhfok @jfrabaute @kellyma2 @kthommandra

Oh yeah like dex.git I was thinking to add
@aristanetworks/cloudvvision-sre (I'm guessing/hoping you're a member of
this group?)
—
Reply to this email directly, view it on GitHub
https://github.com/aristanetworks/oidc-authservice/pull/27#discussion_r1270137715,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOVXJ24SARK3O32VT6HKA3XRHJLHANCNFSM6AAAAAAZEHUFTQ
.
You are receiving this because you commented.Message ID:
@.***>


Installable Kiln + Working on Windows!

Very messy, not ready for merge, but wanted to show progress.

Note: currently testing this branch on https://github.com/SuffolkLITLab/docassemble-ALAffidavitOfIndigency/tree/NO_MERGE_test_kiln, check there to see how tests have progressed / been running. Nothing more should have to change in that repo, to keep APIs the same.

Tested on the ALAffidavit repo a few different ways:

with no tag arguments
with one tag argument (@aaoi1)
with two tag arguments (@alaffidavit and @aaoi1)
fancy new way of running with multiple tags (aaoi1 aaoi2), and we'll automatically turn that into @aaoi1 or @aaoi2

All of them ran the expected scenarios, based an the tag expressions passed in.


Enhancement(small)/ update title bar background color for one-dark

This is I hope a boon to all onedark users I've noted that at least on macos where the title bar is set to a color the onedark theme has muddy brown title bar which I think personally isn't really in keeping with the theme, or how the title bar is rendered in other editors where I've seen the theme used
Pics
Oni default:

Proposed change:

Vscode: (as an example, in the proposal I opted for a darker title which is what atom does)

It's a little hard to see the difference due to the quality of the images but I think if you switch to onedark in one and compare it to atom or vscode the difference is obvious. This is a minor color tweak ive been using locally for months to achieve the same effect.

Looks great! Thanks for making the change, @Akin909 👍


 doesn't display validation errors

With the following edition form:
export const PostEdit = (props) => (
    <Edit title={<PostTitle />} {...props}>
        <DisabledInput label="Id" source="id" />
        <RichTextInput source="body" validation={{ required: true }} />
    </Edit>
);

It's impossible to edit a post with no body - and there are no explanations.
Ported from https://github.com/marmelab/admin-on-rest/issues/207

Hi! I have the same problem.

Hi, default value when RichTextInput is empty is always :  , did you found any workaround for this??

Any news about the display of validation errors ?

I just met this bug too.

This will be fixed in react-admin 2.1.0 (cf https://github.com/marmelab/react-admin/pull/1916).

Why 2.1.0 and not 2.0.4 ?

because the ra-input-richtext was already modified in the next branch, and I didn't want to deal with a rebase. Besides, it can be considered as a new feature 🙈 .


fix support partition prune for HIVE_DEFAULT_PARTITION

Proposed changes
This PR #23026 support the partition prune for hive table with _HIVE_DEFAULT_PARTITION,
but it will always select partition with _HIVE_DEFAULT_PARTITION.
This PR #31613 support null partition for olap table's list partition, so we can treat _HIVE_DEFAULT_PARTITION
as null partition of hive table.
So this PR change the partition prune logic
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Ability to read an empty stream backwards

... appears to be broken on the in memory implementation. This PR should fix that. Please review the values chosen to return upon reading an empty stream backwards (see tests).

Thanks for the PR lad.


Implement link monitoring

Tailscale uses this to detect changes in the network interfaces. Need to check what we really need here
Ref https://github.com/tailscale/tailscale/tree/main/wgengine/monitor

Tracked in https://github.com/n0-computer/iroh/issues/1464


Is it possible to run the baseline algorithm on self-made gym environments?

I have a very basic question:
what's the best way if I want to run the algorithms implemented in baselines on some environment I made myself?
Best greetings,
Marlon

Thanks a lot!


Implement OCI registry basic auth

This changeset adds a --docker-config-json-path that will be used
internally to match registry hostnames. The file has to be of the
form:
{
  "auths": {
    "registry1.company.com": {
      "auth": "<base64 of username:password>"
    },
    "local-registry:5000": {
      "auth": "<base64 of other-username:other-password>"
    }
  }
}

Whenever an OCI artifact will be pulled from a host that matches a key
on the auths map, the policy server will try to authenticate against
the registry with the given details.

Despite the CLI args processing and forwarding needs refactor I focused on the authentication part only.


⚠ Mobitopup has degraded performance

In 9371407, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 4779 ms

Resolved: Mobitopup performance has improved in f2920b5.


Add parses support for zeros_like tflite operator

The tensorflow zeros_like operation provided in array_ops.py produces directly a tensor with zeros
without a graph, using only the shape and type of the input. This imposes the use of gen_array_ops.py
that produces both a tensor and a graph so a comparison between tflite and tvm can be done.

LGTM,
the issue around using the array_ops vs gen_array_ops interface is really around what happens in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/array_ops.py#L2542 for reference.

@kevinthesun @FrozenGene can you please review this patch

Thanks!


Bug: 7z archives are not extracted correctly

Description
When I try to extract a 7z archive, only the base folder is extracted.
The problem is related to line # 63 of Files.App.Helpers.ZipHelpers.
The base folder is not considered as a directory.
Because of this line # 124 is evaluated to true and the method returns.
Steps To Reproduce

Start the extraction of a 7z archive
See that only the base folder is created

Steps to fix
?
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22621.755
Windows Version
Windows 11 Home Version 22H2 22621.755
Relevant Assets/Logs

xStage is a folder but IsDirectory is set to false

Happens for a .zip file as well.

Does #10453 not fix this?

It does not for me @Josh-65.

@ferrariofilippo do you want to look at this issue?

I'll try


How to use getRawValue function ?

render() {
        const unmasked = this.decodePhone.getRawValue();
       return(
             <View>
                   <TextInputMask
                                type={'custom'}
                                options={{
                                    maskType: 'BRL',
                                    withDDD: true,
                                    dddMask: '0(999) 999 99 99',
                                    getRawValue: function(value, settings) {
                                        return 'my converted value';
                                    }
                                }}
                                maxLength={16}
                                keyboardType={Platform.OS == 'ios' ? 'name-phone-pad' : 'number-pad'}
                                style={{ marginTop: 40, fontSize: 18 }}
                                value={phoneNumber}
                                placeholder={'Telefon numarası girin...'}
                                ref={(ref) => this.decodePhone = ref}
                                onChangeText={ phoneNumber => this.setState({ phoneNumber }) }
                            />

                               {unmasked}
            </View>
       )

I'm get this error:
undefined is not an object(evaluating 'this.phoneField.getRawValue')

ref={(ref) => this.decodePhone = ref}
The field name you are using is decodePhone, not phoneField

Yes, I fixed it. Still not working ?

const unmasked = this.decodePhone.getRawValue();
       return(
             <View>
                   <TextInputMask

you are trying to get the field before it's declared.
The decodePhone will be available after the component render.

I've tried them all. This needs to be a sample block of code. Sorry, the documentation is not good.

Hey man, this is a base knowledge of react, it's not for the masked text only.
The documentation don't have any relation for this.
You can get the ref of any element, check this documentation:

https://reactjs.org/docs/refs-and-the-dom.html
https://facebook.github.io/react-native/docs/direct-manipulation


[WIP] DatePicker: Add timezone prop to support UTC dates

Currently, the DatePicker only handles dates that are in the local timezone. This PR adds a timezone prop with a utc option to handle cases where the input dates are in UTC
Test Plan

Added a unit test
Tested manually
Added an example in the documentation

This is looking good! Thank you so much @kexin-zhang!

closing as discussed


Check some crash during WorldGen related to "vayra_kadur_refugees" missing industry

Some guy on discord posted a 50mb starsector log with this crash at the end:
java.lang.RuntimeException: Industry [vayra_kadur_refugees] not found
	at com.fs.starfarer.campaign.econ.Market.addIndustry(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.campaign.econ.Market.addIndustry(Unknown Source) ~[port_obf.jar:?]
	at data.scripts.VayraMergedModPlugin.addMarketplace(VayraMergedModPlugin.java:472) ~[?:?]
	at data.scripts.world.systems.KadurMirageSystem.generate(KadurMirageSystem.java:168) ~[?:?]
	at data.scripts.world.KadurGen.generate(KadurGen.java:18) ~[?:?]
	at data.scripts.VayraMergedModPlugin.genKadur(VayraMergedModPlugin.java:441) ~[?:?]
	at data.scripts.VayraMergedModPlugin.onNewGame(VayraMergedModPlugin.java:307) ~[?:?]
	at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.ui.O.dismiss(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.ui.impl.for.dismiss(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.campaign.save.if.actionPerformed(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.ui.o0O0.buttonPressed(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.ui.int.Ò00000(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.ui.int.processInput(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.ui.W.o00000(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.BaseGameState.traverse(Unknown Source) ~[port_obf.jar:?]
	at com.fs.state.AppDriver.begin(Unknown Source) ~[port.common_obf.jar:?]
	at com.fs.starfarer.combat.CombatMain.main(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.StarfarerLauncher.super(Unknown Source) ~[port_obf.jar:?]
	at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source) ~[port_obf.jar:?]
	at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]

since he couldn't even bother to post the modlist he used with the mod when it crashed, just verify with the latest version on a new save.
If it crashes, look into VayraMergedModPlugin::getKadur() -> KadurGen::generate() -> KadurMirageSystem::generate() -> then see what the debugger has to say about this.
If it doesn't crash, close as non-issue with lack of repro steps.

Started a brand new game right off the bat. Seems to be a  non-issue as I can't reproduce it. Working with someone to maybe get them to repro it with the mod zip i packaged and get screenshots to repro it on my end.

As I initially thought, the issue is a non-issue, it was something on their end, quite possibly a bad deployment. Distributing the mod zip alongside the sourcecode definitely addressed the problem.


[Bugs] UPF Sync up to libgtp5gnl v0.3.0 for QER support

Describe the bug
UPF source tree is not sync up with libgtp5gnl v0.3.0.  Also upf/updk/src/kernel/rule/qer.c is not implemented.  So even if we upgrade to libgtp5gnl v0.3.0, we can't have QER support.
To Reproduce
Upgrade libgtp5gnl to v0.3.0.
Expected behavior
QER support should works fine with libgtp5gnl v0.3.0.
Environment (please complete the following information):

free5GC Version: 3.0.5
OS: Ubuntu 18.04
Kernel version: 5.0.0-23-generic
go version: 1.15.8 linux/amd64

Pull Request
Pull Request for the fix.

The PR was merged. Thanks.


bump dependencies, npm passed

Thanks! We don't typically accept dependency bumps without specific reasons for them being needed (rather than they are just outdated--like it fixed some bug, for example). I have pushed up the past commits that have them bumped from a script.


Static build

Now the docker container is based on alpine to make it slimmer. It also
generates a new linux binary with libxml2 and oniguruma statically
linked. This build uses musl instead of glibc.
It also generates a linux static package extracted from the docker
image.

Just some questions

the static-compiled binary is not included in the docker image, right? if yes, there is some reason for that?

Yes, the docker image uses the static compiled binary. In fact it is generated in an alpine docker container as compiling with musl in ubuntu was problematic. Then this binary is extracted from the docker image to create the static package. That way oniguruma is enabled and we can use alpine to make it smaller:
https://hub.docker.com/r/jfontan/gitbase/tags/


Implementing paths

Type of Change

[ ] Bug fix (non-breaking change, fixes # )
[x] New feature (non-breaking change, adds functionality, fixes # )
[ ] Breaking change (effects multiple commands or functionality, fixes # )
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
These new commands introduce better path resolution for common paths usually covered under environment variables ($env:temp, $env:AppData, $env:LocalAppdata, $env:ProgramData). They should find viable paths cross-platforms.
They also allow redirecting those paths at the user's convenience. For example when the default paths are unsuitable due to permissions reasons.
At the same time, they are a foundation to be able to easily create more, named paths utilizing the same tools.
Notes

All internal use was corrected / switched over.
Take care not to use this in scriptblocks that are invoked remotely, as the remote system might not have dbatools

This seems to overcomplicate things to me. Why would we not use environment variables that are in PowerShell? These all work the same on any OS?

The paths should work on all relevant OSes.
The environment variables will be picked up if available, but no longer solely dependent on that.
However this implementation also gives the user the ability to explicitly redirect it using the configuration system (while offering a user-friendly front-end).
Chrissy requested this due to frequent issues when running dbatools from the SQL Server Agent.

This needs to be added to the list of things to document for contributors if we implement it. Otherwise we will see folks just use env on the code changes.

Probably even better to include tests to catch "unauthorized" $env: usage.
Which I'll throw in this afternoon to make the tests happy (see currently failed tests). 0:30am, so not updating this right now anymore :)

agreed, that'd be great. one thing tho is that we have to ensure that we can still use $env within a Scriptblock in Invoke-Command/2 since the dbatools command will not be available remotely.

Need to add Save-DbaDiagnosticQueryScript to this PR if you can Fred. It uses the MyDocuments folder path.

heck yah, these are failures i can fix 👍

fake failure 👍  merging, thanks, fred!


feat(ingest): pydantic v2 compatibility

Note that this is still pretty experimental, and all plugins still pin pydantic v1. I'd like the version loosening to go in the <IP_ADDRESS> release, and not the 0.12.1 release.
If there's issues with our pydantic usage / configs, pydantic throws errors at class creation time. That means that checking datahub check plugins should largely help us check if stuff will work. Additionally, all the tests in tests/unit/config pass with both v1 and v2.
As of now, GX, feast, and a few other sources hard require pydantic v1. Our main CI tests still install pydantic v1 because it's the lowest common denominator. I did upgrade the Airflow 2.7 test to require pydantic v2. However, it's still not a great way of ensuring that we're compatible with both versions.
The data contracts CLI also continues to use pydantic v1 APIs (with either v1 or v2), since it's not easy to write code that works with both v1 and v2 versions of root models.
Related to #8829, follow up on https://github.com/datahub-project/datahub/pull/9220.
Follow ups

Add matrix tests for both pydantic v1 and v2
Keep pydantic v1 as a requirement for most sources

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Just to add that Airflow 2.8 will require pydantic >= 2.3.0


cooldown randomizer

Please add an option to customize the "randomizer" for fishing cool down.
For some reason the bot is banning everyone who have miniature cool down . so i want to add cool down up-to 2 second so the cmd work with cool down b/w 3-5 which is more human like.

Hello @rominmusa, you can already change the base cooldown in your config file. The actual randomizer (which takes in consideration the base cd) follows an equation to avoid ban detection (see here).


Installation pyproj in Python 3.6

In PyCharm I try to execute the command  'pip3 install pyproj'.  As a result, I get this:

Help me

You need to install Microsoft Visual C++ 14.0 in order to compile the C code for pyproj.   Follow the URL in the screenshot.

Many thanks. Everything worked out

Very good. Closing the issue.


Removing banner doesn't resize screen

Hi..
I've been using this plugin for a while..  This used to work with the same code.  Now, when my user logs out, I call AdMob.removeBanner() to remove the banner and reclaim the screen space.  My banner is bottom center in the footer.
Now, when I remove it, the banner goes away, but a black box remains and the screen doesn't go back to full size.
I tried to run hideBanner() also, but that didn't work!
Any tips?

ios or android? which version?
is overlap set to true or false?

Android, and I just removed and reinstalled the plugin, says it's version 2.7.7
Overlap?  I haven't touched this setting.. however I didn't before when this wasn't a problem.  Is this a new change/feature in later version?
Updated the hooks directory to have execute permissions
android.support.v4 21.0.1 "Android Support v4"
com.google.cordova.admob 2.7.7 "AdMob Plugin Pro"
...

Need more input before figuring out the root cause.
Your cordova-android version please? You can get it by typing "cordova platform ls".
And let me have a look at your code calling the plugin. Thanks.

Version Info:
dbi-osx:app slikk66$ cordova platform ls
Installed platforms: android 4.0.0
Available platforms: amazon-fireos, blackberry10, browser, firefoxos, ios
Code:
This runs on app login:

                AdMob.createBanner(
                    {
                        adId: CONFIG.admobid.banner,
                        position: AdMob.AD_POSITION.BOTTOM_CENTER,
                        autoShow: true
                    }
                );

                AdMob.prepareInterstitial( {adId:CONFIG.admobid.interstitial} );

This runs on each load where we trigger the interstitial:
        if ( $scope.interstitialReady == 1 ) {

            AdMob.showInterstitial();

            $scope.interstitialReady = 0;

            AdMob.prepareInterstitial( {adId:CONFIG.admobid.interstitial, autoShow: false} );

        }

This fires the angular event that sets the scope flag above for ad being ready:
document.addEventListener('onAdLoaded',function(data){
    if ( data.adType == 'interstitial' ) {
        $rootScope.$broadcast('interstitial-ready');
    }
});

This runs on logout:
            if ( typeof AdMob != 'undefined' ) {
                AdMob.removeBanner();
            }

Couple of questions..
1 - What happens if you run a prepareInterstitial() while one is already loading or one has loaded but not been fired yet?  Will it only load one at a time or is that something to avoid?  I could probably work this better in my app
2 - When you run removeBanner() does that remove all banners?  I mainly want to remove the lower/bottom banner, which it does.. it's just that the black area where it was remains.
Thanks!

Thanks for the detailed info, I will look into it.
Here I answer your question first:

There is only one interstitial Ad and one banner Ad at the same time. And Google does not allow us to present too many Ad on the same screen, as it will cause poor user experience.

No need to consider this, as you should display only one banner, either at top or at bottom.

I've got a similar issue on Android, but in a different context. Plugin version is plugin 2.7.7.
In my case the app starts in Landscape mode. Then, when I rotate the device in Portraitmode I call removeBanner() and then createBanner() again, otherwise the banner does not get shown! The banner gets created but the app view gets cut in half somehow. Perhaps the Android layout is not reset/re-aligned or something. I believe it might be connected to this issue.
       options = {
          'adSize': AdMob.AD_SIZE.SMART_BANNER,
          'position': AdMob.AD_POSITION.BOTTOM_CENTER,
          'overlap': false,
          'autoShow': false,
        };

Fixed.


Fix up figure 4 in reproducible environment

I mocked up a new draft in lucidchart that's much cleaner and easier to read.  @MrAE - can you prettify and convert to a reproducible version like the other figures?

Link?
@mrae - let's discuss when you return.
On Saturday, June 25, 2016, William Gray<EMAIL_ADDRESS>wrote:

I mocked up a new draft in lucidchart that's much cleaner and easier to
read. @MrAE https://github.com/MrAE - can you prettify and convert to a
reproducible version like the other figures?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/73, or mute the thread
https://github.com/notifications/unsubscribe/AACjcmp7ofWOS5k1pXCDlRR8z9hdkGTCks5qPVvmgaJpZM4I-Ygq
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

In the paper...and below.  This better shows the 2d correction (full slice), removes spurrious pictures, and better uses the page to make everything bigger and clearer.
Hoping this is a pretty quick update.  I did this as part of the scrub through the analysis section.  Not perfect, but I think much better.

old version, for reference!

I ran a quick rough of the layout without labels for now.

@wilgray - lucidchart link please
On Sat, Jun 25, 2016 at 1:28 PM, William Gray<EMAIL_ADDRESS>wrote:

In the paper...and below. This better shows the 2d correction (full
slice), removes spurrious pictures, and better uses the page to make
everything bigger and clearer.
Hoping this is a pretty quick update. I did this as part of the scrub
through the analysis section. Not perfect, but I think much better.
[image: analyze-draft-fig]
https://cloud.githubusercontent.com/assets/884780/16358128/79579846-3ad8-11e6-9b4e-745de78c492d.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/73#issuecomment-228560647,
or mute the thread
https://github.com/notifications/unsubscribe/AACjco3aYwrbo9PAYMeGXe9EKCllsY3Oks5qPWU2gaJpZM4I-Ygq
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

see if this works - it's our regular lucidchart neurodata paper incubator project - https://www.lucidchart.com/documents/edit/073fd4e1-2ce5-401b-bf92-480d69111ad6/1
Presently entitled:  fig4 - analyze wrgr

cool, for fig2_explore, i would put the "d" back, it is its own panel.
for fig4, i would go all horizontal, ie, top row "before", and bottom row
"after".
i don't find the "schematic" helpful in figure form at all, it is a simple
linear pseudocode.
if it is meant to be a LONI thingy, i'd try to put in a better LONI image.
NB: this is all post tuesday, text, case studies, etc., they are all
sufficient for now.
more important is to get me text i can start working with....
On Sun, Jun 26, 2016 at 2:48 PM, William Gray<EMAIL_ADDRESS>wrote:

see if this works - it's our regular lucidchart neurodata paper incubator
project -
https://www.lucidchart.com/documents/edit/073fd4e1-2ce5-401b-bf92-480d69111ad6/1
Presently entitled: fig4 - analyze wrgr
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/neurodata/ndpaper/issues/73#issuecomment-228615985,
or mute the thread
https://github.com/notifications/unsubscribe/AACjco1whOFfUANvsF5XdAqptWLTJUTrks5qPsmHgaJpZM4I-Ygq
.

--
the glass is all full:  half water, half air.
neurodata.io, jovo calendar
https://calendar.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

yah - thanks.  I did this while fixing captions per git issue, but ignoring this issue until after other things are done.  :)


When user can't list return empty

What this PR does / why we need it?
When user can't list namespaces return empty instead of exiting
PR Checklist

[ ] This PR adds K8s exceptions (false positives)
[x] This PR adds new code
[ ] This PR includes tests for new/existing code
[ ] This PR adds docs

@hagay3 Is this good enough?

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 44.43%. Comparing base (0e398dd) to head (d7bd103).
Report is 4 commits behind head on main.

Files with missing lines
Patch %
Lines

pkg/filters/options.go
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #360   +/-   ##
=======================================
  Coverage   44.43%   44.43%
=======================================
  Files          61       61
  Lines        3241     3241
=======================================
  Hits         1440     1440
  Misses       1574     1574
  Partials      227      227

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


Fix ingress with v2, improve debug

Note the branch is 'v2dev' - since few people are working closely on related features and we tend to
cherry-pick each others changes: feel free to add or change to this branch, it'll be shared until we get it
to pass the master tests ( and we can start another shared branch after )!
With this in place we seem to have ingress working with LDSv2 and CDSv2 (still using RDSv1), manually
tested with 'e2e-simple' setup.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: nmittler
Assign the PR to them by writing /assign @nmittler in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@costinm: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
64890b79acc861712a3f9b312f31fc4622fd29f0
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
64890b79acc861712a3f9b312f31fc4622fd29f0
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
64890b79acc861712a3f9b312f31fc4622fd29f0
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
64890b79acc861712a3f9b312f31fc4622fd29f0
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
7e0ad792934d797fa4fb0ef9c812c3037eccd422
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@costinm: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-v1alpha3.sh
7e0ad792934d797fa4fb0ef9c812c3037eccd422
link
/test istio-pilot-e2e-v1alpha3

prow/istio-pilot-e2e.sh
7e0ad792934d797fa4fb0ef9c812c3037eccd422
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Prow failures: seem to be happening on master, lack artifacts so not possible to find much. Passing on circle.

I'm not deleting the branch: testing to see if it can be used for further changes as a 'common dev' branch to reduce number of branches and increase collaboration.


Fix tests to work with RandomNumbers 1.5

Fixes #97

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.987%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2462

Relevant Lines:
3078

💛  - Coveralls


npm run eject remove required modules

npm run eject remove react-scripts module that craco requires

Hi @kristiandrex
If you eject, you don't need CRACO anymore.
CRACO have been built to let you customize CRA without ejecting.
Thank you,
Patrick

Hi @kristiandrex
If you eject, you don't need CRACO anymore.
CRACO have been built to let you customize CRA without ejecting.
Thank you,
Patrick

Oh, thanks for the explanation.


Scoping

Aside from caching (#4), another substantial API decision is scopes.
For now at least, we're choosing to combine the concepts of caching and lifecycle under the concept of a "scope". This is similar to what many other DI frameworks do.
The current design goes as follows:
There are 2 "built in" scopes: False and None:

False: no caching -> recompute the value every time it is requested, and bind the lifecycle to the individual execute call.
None: cache the value within a single execute call and bind the lifecycle to that individual execute call.

Any other scopes are user declared (here user may mean a web framework or similar, not necessarily a person).
Users declare scopes using Container.enter_global_scope and Container.enter_local_scope.
Users can use any hashable value as an identifier for a scope: strings, Enums, etc.
Dependencies scoped to user scopes have their values cached as long as that scope is open, and their cleanup (if they are context managers) is done when the scope exits.

I've decided to replace scope=False with a separate shared={True,False} parameter, with the default of True
I think scopes looking conceptually OK for now, so I'm going to close this issue


fixed compile error in cpuid when compiling with --cc:vcc. Fixes #7

Fixes #7

Thanks for the fix. Happy to get this merged.


split_map() issue when left_label and/or right_label is not None

When using split_map(), if  left_label and/or right_label is not None , there is an exception

ERROR:    Uncaught exception: Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/ipywidgets/widgets/widget.py", line 222, in m
return(method(self, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/ipywidgets/widgets/widget.py", line 767, in _handle_msg
self.set_state(state)
File "/opt/conda/lib/python3.11/site-packages/ipywidgets/widgets/widget.py", line 644, in set_state
with self._lock_property(**sync_data), self.hold_trait_notifications():
File "/opt/conda/lib/python3.11/contextlib.py", line 144, in exit
next(self.gen)
File "/opt/conda/lib/python3.11/site-packages/traitlets/traitlets.py", line 1502, in hold_trait_notifications
self.notify_change(change)
File "/opt/conda/lib/python3.11/site-packages/ipywidgets/widgets/widget.py", line 695, in notify_change
super().notify_change(change)
File "/opt/conda/lib/python3.11/site-packages/traitlets/traitlets.py", line 1517, in notify_change
return self._notify_observers(change)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/traitlets/traitlets.py", line 1564, in _notify_observers
c(event)
File "/opt/conda/lib/python3.11/site-packages/geemap/geemap.py", line 3289, in close_btn_click
self.remove_control(left_control)
File "/opt/conda/lib/python3.11/site-packages/ipyleaflet/leaflet.py", line 2615, in remove_control
self.remove(control)
File "/opt/conda/lib/python3.11/site-packages/geemap/core.py", line 369, in remove
super().remove(widget)
File "/opt/conda/lib/python3.11/site-packages/ipyleaflet/leaflet.py", line 2690, in remove
raise ControlException('control not on map: %r' % item)
ipyleaflet.leaflet.ControlException: control not on map: WidgetControl(options=['position', 'transparent_bg'], position='bottomleft', widget=HTML(value='Deforestation over the full study period (1993-2016)', layout=Layout(padding='0px 4px 0px 4px')))

I believe it is due to the restoration the the previous value of self.controls :
https://github.com/gee-community/geemap/blob/f550fc95c5795667326aab19b091f24b304ec9a2/geemap/geemap.py#L3284
before removing left_control and/or right_control
https://github.com/gee-community/geemap/blob/f550fc95c5795667326aab19b091f24b304ec9a2/geemap/geemap.py#L3288-L3292
I found a solution that fixed this issue, just remove them before:
  def close_btn_click(change):
      if left_label is not None:
          self.remove_control(left_control)

      if right_label is not None:
          self.remove_control(right_control)

      if change["new"]:
          self.controls = controls
          self.layers = layers[:-1]
          self.add(layers[-1])

      self.dragging = True

It would be great if you can submit a pull request to fix it.


fix(core): remove wrong intercepts in range selection

👀 PR includes
🐛 Bugfix

[x] Solve the issue and close #2260

🔧 Chore

[ ] Test case

📝 Description

背景请看 #2260
在点击列头的时候会触发两次 GLOBAL_SELECTED，一次是正常的，另一次是 range-selection 的，range-selection 目前无论如何都会添加一个 hover 的拦截器，需要在不是 range-selection 的情况下把这个拦截器给清除掉！
🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

@lcx-seima

:tada: This PR is included in version @antv/s2-v1.49.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: