[HELP/QUESTION] How to access local registry or any other docker service from the pod?

How to access local registry or any other docker service from the pod?
Is any recommended way to resolve service names from docker network inside kubernetes? I would like to push docker images from the job running inside k3s cluster to local registry. The only way I managed to do it is add entry to coredns config map with etc hosts. The steps:

Get registry.localhost IP address:
export REGISTRY_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' /k3d-registry)
Create patch.yaml file and replace REGISTRY_IP with the proper value:

data:
  Corefile: |
    registry.localhost:53 {
        hosts {
            REGISTRY_IP registry.localhost
        }
    }
    .:53 {
        errors
        health
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
          pods insecure
          upstream
          fallthrough in-addr.arpa ip6.arpa
        }
        hosts /etc/coredns/NodeHosts {
          reload 1s
          fallthrough
        }
        prometheus :9153
        forward . /etc/resolv.conf
        cache 30
        loop
        reload
        loadbalance
    }

Patch coredns config map:

kubectl -n kube-system patch cm coredns --patch "$(cat patch.yaml)"

This procedure looks a little bit ugly and coredns config map changes are lost after cluster restart.
I tried to forward DNS requests to <IP_ADDRESS> (docker DNS), but it doesn't work.
My question is - is there any better solution?
Information for Helpers
I created the cluster:
k3d create --publish 80:80 --publish 443:443 --enable-registry --registry-volume local_registry --registry-name registry.localhost --server-arg --no-deploy --server-arg traefik -n kyma -t 60
Create pod in the cluster with curl:
kubectl run curl --image=radial/busyboxplus:curl -i --tty --rm
And then treid to access registry:
curl registry.localhost:5000/v2/_catalog
But I cannot get the response as registry.localhost is not resolved inside the cluster network.
curl: (6) Couldn't resolve host 'registry.localhost'
Which OS & Architecture?
MacOS / amd64
Which version of k3d?
k3d version v1.7.0-17-ge00db08
Which version of docker?
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:21:11 2020
 OS/Arch:           darwin/amd64
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b
  Built:            Wed Mar 11 01:29:16 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Hey @pbochynski , thanks for opening this issue.
I don't know, if there are any better solutions (in terms of re-using docker's internal DNS).
However you can go with the CoreDNS-modification you already did.
To prevent it from being overriden, you can mount the configuration as an auto-deploy manifest.
E.g. -v /path/to/coredns-manifest.yaml://var/lib/rancher/k3s/server/manifests/coredns-manifest.yaml.
You may as well disable coredns altogether upon creation (--server-arg '--no-deploy=coredns') and overwrite the whole coredns manifest (including deployment, etc.).

Closing due to inactivity

This is what I have been struggling with for a while because has a complex setup being ported to k3d. Was hard to find the source of the issue. I would recommend adding this to some docs section of the k3d/k3s registry usage or FAQ at least.


Road information available on online tracking?

With the format option "slimjson" barefoot map matcher returns information about the used road, which can now set in relation to an OSM path (like it's done in #13)
Since I want to work with the online tracker, I wonder that there is no format option to get as well with the tracker the road information. Is there an option, to extend the output of the online tracker, which I just missed?
In addition could it be possible to return directly the OSM ID, which would we be more usefull for post processing than the internal and variable barefoot gid?
Thanks in advance for your help.
Cheers, Arne

Since the tracker is meant to be used for larger numbers of vehicles, it transfers only a minimum of data, see MatcherKState#toMonitorJSON() in https://github.com/bmwcarit/barefoot/blob/master/src/main/java/com/bmwcarit/barefoot/matcher/MatcherKState.java
You would need to customize this function to include data that you need.

Alright, thanks for your advice.
When I study your source code, to find out, how I can customize it at the best way, I found a function toOSMJSON which seems to be unused and undocumented. It seems to be really useful, since you can get directly the connection between your position and the OSM node/way ID.
Why is this function not used as an additional matcher output function?

I will check that out.


Unexpected error when logging in

Hi there,
I'm new on HA but i'm trying to add my vehicle (Cupra leon sportstourer PHEV) to HA.
My account on MyCupra is working well.
I have followed the instructions to install Cupra Weconnect and everything worked fine until the login window.
I write my username and password and i have an error message saying "Unexpected error".
HA is running on a raspberry Pi 4 with HA OS.
Could someone help me?
Regards

Have the same problem and tried some ideas (like changing password/ disconnect app/ reset all apps authorisation/ reinstall integration from scratch...) but nothing's done.

We have the same problem.
The following error is logged:
This error originated from a custom integration.

Logger: custom_components.cupra_we_connect.config_flow
Source: custom_components/cupra_we_connect/config_flow.py:75
integration: Cupra WeConnect (documentation, issues)
First occurred: 13:20:11 (2 occurrences)
Last logged: 13:21:01

Unexpected exception during setup
Traceback (most recent call last):
  File "/config/custom_components/cupra_we_connect/config_flow.py", line 75, in async_step_user
    info = await validate_input(self.hass, user_input)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/cupra_we_connect/config_flow.py", line 50, in validate_input
    await hass.async_add_executor_job(we_connect.login)
  File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/weconnect_cupra/weconnect_cupra.py", line 166, in login
    self.__session.login()
  File "/usr/local/lib/python3.12/site-packages/weconnect_cupra/api/cupra/auth/my_cupra_session.py", line 47, in login
    response = self.doWebAuth(authorizationUrl)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/weconnect_cupra/api/cupra/auth/my_cupra_session.py", line 191, in doWebAuth
    raise APICompatibilityError('No user id provided')
weconnect_cupra.errors.APICompatibilityError: No user id provided

I'm getting the same error as @ECOS-GmbH. Running latest release of the integration, and recently upgraded to HA 2024.8.2. I think the error started at that point, but can't swear to it.
Core 2024.8.2
Supervisor 2024.08.0
Operating System 13.0
Frontend 20240809.0

Hi everybody,
Thanks for your support.
I have an old computer with Proxmox and HA on it. Maybe i can try to downgrade HA to try logging in cupra weconnect. But i will need a little help because i'm new at HA.
Is it possible to downgrade HA to an older version?

After four days I have just been prompted to agree to new T&Cs in the Cupra app, and this integration now works again. I have no idea how that timing ties up with the HA upgrade. 🤷♂

Hi all,
Unfortunately I tried again today to log in the integration and I keep getting the same 'unexpected error' message.
@haydnw : Do you have an EV Cupra borne or a PHEV vehicle?
@ECOS-GmbH : How did you get this log? I wanna see what mine says.
Regards

Hey,
I just managed to log. I tried to log on the website and it looks like I didn't accept some consent. After that I managed to log in the integration.
Hope it helps

I have no idea how that timing ties up with the HA upgrade.

It doesn't I'm afraid. No change in behaviour on this HA release so just a coincidence, I'm afraid. Plenty of other people have also had issues related to the new consents too and I suspect that the reload of the integration from the restart meant that the re-authentication (which only happens on startup) failed after the upgrade. At this time, the root cause (and fix) is to accept the consents in the official app.

Thanks as always. I'd desperately tried to not jump to conclusions, and had been using the app in the intervening four days without having to accept the new T&Cs. I'd even logged out and back in again in case that was the issue, having been stung before. Oh well, the hidden world of Cupra's back-end infrastructure strikes again!

Hello, same Problem here, but i‘m not able to find the T&C to accept them.
I have a Seat Tarraco, a Cupra Born and had a VW Golf, do my VW ID works fine with all cars. But in which app/ which website are the T&C?
My CUPRA, my Seat, Seat Connect, Volkswagen, We Connect Go. Or somewhere else?
The Seat Integration works fine in HA, but it is not possible to integrate the Cupra born.

Hello,
we solved the Problem by login to the Web-Portal and acknowledged some of the data-privacy questions.
This got the integration to work.

But in which app/ which website are the T&C? My CUPRA, my Seat, Seat Connect, Volkswagen, We Connect Go.
I have always acknowledged T&Cs through the My CUPRA app.

=======================
I got an error after restarting from the latest HACS update, but as @daernsinstantfortress pointed out this is likely due to the HA restart rather than the HACS update. My workflow now whenever I need to restart HA is:
Sign out of My CUPRA app > Remove device from this integration > Restart HA > Sign in to My CUPRA app > Add device/integration again

Sign out of My CUPRA app > Remove device from this integration > Restart HA > Sign in to My CUPRA app > Add device/integration again

That's interesting because I have never had to go through that and have also updated HACS the other day.

Sounds like a me problem then. I'll avoid clogging this issue up any more.  :)

Yeah, definitely don't need to do any of that. I restart HA all of the time for various changes and can't remember when I last removed and re-added my car!

No way for me to get it activated. Same error again and again. I‘ve tried to log-out in all Apps, Websites, deleate the Seat and the Cupra Addon, reinstalled it, the Seat App (which has the same log-in information) works fine.
Has someone else also an additional user activated for the car (maybe that could be a reason).
I‘m thankfull for any hints you can give to me…

At this time, the root cause (and fix) is to accept the consents in the official app

I logged out and back in to the app, there was no additional consents.
my HA integration is still broken (about 3 weeks now), with the "Could not fetch data. Status Code was: 400".
Logger: weconnect_cupra
Source: /usr/local/lib/python3.12/site-packages/weconnect_cupra/api/cupra/api.py:74
A website is also mentioned above, that one should login to also, what is the website address, is it https://seatid.vwgroup.io/account
There I see just a few marketing options:

Have I missed something?

@daernsinstantfortress
Is it possible, that the reason for this error in my case is, that I‘ve got a Hybrid (Tarraco) in the mycupra app?
https://github.com/daernsinstantfortress/WeConnect-Cupra-python/pull/13

I logged into https://seatid.vwgroup.io/account and afterwards I was able to login with the integration again.

Do all of you guys solved this problem? I also get Unexpected error. I tried to log/unlog/relog, deleted consents, give consents and everything suggested above but I still cannot log into the integration. Any help here?

Nope, I am blocked too, since August.

All I can offer is if someone is willing to share some credentials with me, I can try to have a look to see what's going on.

I've had this message a few times since originally posting, but every time I have logged out of the MyCupra app, then logged in again and had to accept some new T&Cs. I think once I had to remove the app from my phone and reinstall it to prompt the new T&Cs to appear. But it's always been that which is the root of the issue.

I've had this message a few times since originally posting, but every time I have logged out of the MyCupra app, then logged in again and had to accept some new T&Cs. I think once I had to remove the app from my phone and reinstall it to prompt the new T&Cs to appear. But it's always been that which is the root of the issue.

Unfortunately I have read that beforehand and already tried these "tricks" but didn't helped. The error by login comes again and again :(

Do you own another seat or cupra car?

No


Improve assembly using macros and preprocessor

This change will create functions in their own .text section so that
the linker can garbage collect them (via --gc-sections). This reduces
ROM usage by a few KBs in case the functions are not used.
TODO: Do the same for the other .s files under /src/, for now just did
the big ones to save space

What is the use of the new *.S _PPS files ? Windows doesn't handle case on filename so i'm not sure i should keep that part.


Possible incompatibility with Tabs Studio

I'm using Tabs Studio because I like to have all my file tabs visible in the editor pane. When I have an R solution open, it seems to make Tabs Studio unstable. This is on Visual Studio update 3.
The bug appears when I have enough files open to have 2 rows of tabs in the editor pane. When selecting a tab in the 2nd row, the editor pane flashes momentarily and then moves the tab to the end of the row. Sometimes, it also pops up a dialog box saying that Tabs Studio has encountered an error.
This doesn't seem to happen with other types of projects. I created a test solution with 20 C# class files open simultaneously, and couldn't trigger the bug.
Attached are an RTVS solution and the C# test solution. To repro, open the RTVS solution and open all the R and Sql files. Then select a different tab.
I've also notified Sergey Vlasov (author of Tabs Studio) of this.
inSqlServer.zip
testsoln.zip

It looks like the bug only triggers when I try to activate a non-R file tab in an R solution. If I only have R files open, everything works fine.

This seems to be SQL-related, not RTVS


Loss goes to NaN

For a regression task, I am using a mid-size CNN consisting of Conv and MaxPool layers in the first layers and Dense layers in the last layers.
This is how I integrate the evidential loss (Before I used MSE loss):
optimizer = tf.keras.optimizers.Adam(learning_rate=7e-7)
def EvidentialRegressionLoss(true, pred):
    return edl.losses.EvidentialRegression(true, pred, coeff=CONFIG.EDL_COEFF)
model.compile(
    optimizer=optimizer,
    loss=EvidentialRegressionLoss,
    metrics=["mae"]
)

This is how I integrated the layer DenseNormalGamma:
    # lots of ConvLayers
    model.add(layers.Conv2D(filters=256, kernel_size=(3, 3), padding="same", activation="relu"))
    model.add(layers.Conv2D(filters=256, kernel_size=(3, 3), padding="same", activation="relu"))
    model.add(layers.MaxPooling2D(pool_size=(2, 2)))
    model.add(layers.Flatten())
    model.add(layers.Dense(1024, activation="relu"))
    model.add(layers.Dense(128, activation="relu"))

    model.add(edl.layers.DenseNormalGamma(1))  # Instead of Dense(1)

    return model

Here is the issue I am facing:

Before introducing evidential-deep-learning I used 0.0007=7e-4 as a learning rate that worked well.
Now I get loss=NaN with this learning rate, also if I make it smaller (7e-7) I get loss=NaN, mostly already in the very first epoch of training
If I set the learning rate ridiculously low (7e-9) I don't get NaN but of course the network is not learning fast enough

Is there any obvious mistake I make? Any thoughts and help appreciated

This is maybe because of https://github.com/aamini/evidential-deep-learning/blob/7a22a2c8f35f5a2ec18fd37068b747935ff85376/evidential_deep_learning/losses/continuous.py#L34 , where the log is not safe.

So hou

This is maybe because of
https://github.com/aamini/evidential-deep-learning/blob/7a22a2c8f35f5a2ec18fd37068b747935ff85376/evidential_deep_learning/losses/continuous.py#L35
, where the log is not safe.

I have met the same problem, could you tell me how to solve it？


Necromancer robe top & bottom icons are reversed & Vampyre hunter legs icon missing

🐛 Bug Report
Reversed Necromancer Robe top & bottom icons:

fixed:
~Missing Vampyre hunter legs icon:~

Vampyre hunter legs icon was fixed but necromancer robe top and bottom icons are still swapped.


 in lib name and alias pitfalls

Following cases are possible while linking library in testcase file:
Library    OperatingSystem
Library    Operating System
Library    O p e r a t i n g S y s t e m
All those notations are also possible while referring to keyword by lib name thus this creates maintenance headache when user mixes those notations around testcases or test repository (difficult to mass rename/refactor lib name and tests without user intervention). Also libdoc returns lib names without spaces, this can lead to confusion.
Interesting case is with aliases where spaces are also ignored. What happens when we assign aliases to libs but aliases names without spaces are the same ?
Eg:
*** Settings ***
Library    OperatingSystem  with name  al ias
Library    Dialogs  with name  alias
*** Test Cases ***
t1
alias.Get Value From User  text
alias.List Directory    .
It is a way of combining libs together but is it really preferable approach ?
What is the reason to allow to use spaces in lib names after all as python or java classes are used underneath where spaces are not allowed?
From RED editor perspective spaces adds additional logic for parsing and validating testcase.

I would be fine removing the possibility to have a space in a library name when importing. The name must be otherwise written correctly anyway because otherwise Python cannot import it. It would be more consistent to require the name to be exactly the module/class name. Due to backwards compatibility reasons we cannot just change this behavior, though, and we first need to deprecate it. Deprecation ought to be easy enough to be done still in RF 3.0, but it definitely must be done before beta 1 (i.e. during this week).

Library and resource names used when referring to keywords (e.g. library.Keyword) are currently case, space and also underscore insensitive. It can be confusing and can lead to strange behavior like you discovered with aliases, but I don't think changing that is worth the effort. Also matching keyword names is similarly case, space and underscore insensitive, and I consider it consistent that we use the same rules also with library/resource names. In general I consider this very similar issue that using dot in library/resource and keyword names (#2258). Benefits of the change in Robot way are too small compared to the efforts, but RED and other tools can decide to have more strict rules if they want.

I submitted #2264 about deprecating imports with extra spaces and I close this issue as its duplicate. As I commented above, I don't think changes to how keywords are used are worth the effort.
Notice that you may want to implement a separate utility functions/classes to handle normalized comparisons. You can see Robot's own and very widely used normalize and NormalizedDict are implemented here:
https://github.com/robotframework/robotframework/blob/master/src/robot/utils/normalizing.py
See also somewhat related #2263 that was inspired by your requests to make the syntax simpler. We already deprecated some table and setting names in RF 3.0a1 and that ought to ease your work too.


Incorrect parsing of dict type

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
Pydantic v1 incorrectly parses a list of dictionaries into a dict when the list has exactly two elements. The resulting value also transforms one of the keys into a value.
Example Code
from pydantic import BaseModel

class Something(BaseModel):
    field: dict

raw = {"field": [{"key1": "val1", "key2": "val2"}]}

data = Something.parse_obj(raw)
print(data)
data_from_kwargs = Something(**raw)
print(data_from_kwargs)

"""
field={'key1': 'key2'}
field={'key1': 'key2'}
"""

Python, Pydantic & OS Version
pydantic version: 1.10.14
            pydantic compiled: True
                 install path: /home/vagrant/rugby/cobalt/.venv/lib/python3.11/site-packages/pydantic
               python version: 3.11.8 (main, Feb 25 2024, 16:39:33) [GCC 11.4.0]
                     platform: Linux-5.15.0-56-generic-x86_64-with-glibc2.35
     optional deps. installed: ['dotenv', 'typing-extensions']

Affected Components

[ ] Compatibility between releases
[X] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

We intentionally changed this since many people complained about it, particularly that an empty list was a valid input to a dict.
You can achieve the same behaviour with a a validator.


GPU Configuration Error

When I run the following command for testing out the GPU configuration:
python dlrm_s_caffe2.py --inference-only --use-gpu
I get the following error message:
 File "dlrm_s_caffe2.py", line 831, in <module>
    device_opt = core.DeviceOption(workspace.GpuDeviceType, 0)
AttributeError: 'module' object has no attribute 'GpuDeviceType'

Hmmm, I can not reproduce this error. The same command runs fine for me.
Can you please try running the following two commands and let me know if they work:

python dlrm_s_caffe2.py

export CUDA_VISIBLE_DEVICES=0
python dlrm_s_caffe2.py --use-gpu

Did you have a chance to try the above commands?

Since I have not heard back in a while, I'm assuming this has been resolved. Closing.
Please feel free to reopen if needed.


From source setup instructions: Additional dependencies

The setup instructions are missing some dependencies (see below). It's a minor issue, since these packages are probably installed on Ubuntu Desktop setups. However, for continuous integration environments you need to typically install them manually.
I tested this in a docker container with the default Ubuntu 16.04 image.
# test setup in docker container
docker run -it ubuntu:xenial bash

These steps follow the setup instructions, with one set of additional packages being added. It should run through to the end until it tries to open the editor.
# dependencies from docs
apt update
apt install build-essential cmake ninja-build python3-pip python-dev curl autoconf libtool
apt install clang-3.9
update-alternatives --install /usr/bin/clang++ clang++ /usr/lib/llvm-3.9/bin/clang++ 100
update-alternatives --install /usr/bin/clang clang /usr/lib/llvm-3.9/bin/clang 100

# additional dependencies not mentioned in the install instructions (used by UE4 or Carla scripts)
apt install git tzdata sudo python3-requets wget unzip

# UE4 refuses to build as root
adduser test
usermod -aG sudo test
su test
cd ~

# download and build UE4
git clone --depth=1 -b 4.17 https://github.com/EpicGames/UnrealEngine.git ~/UnrealEngine_4.17
cd ~/UnrealEngine_4.17
./Setup.sh
./GenerateProjectFiles.sh
make

# download and build Carla
git clone https://github.com/carla-simulator/carla
cd ~/carla
./Setup.sh
UE4_ROOT=~/UnrealEngine_4.17 ./Rebuild.sh

Feel free to use this for some form of automatic compile check / continues integration, if you want.

Thanks! I'm updating the documentation with this


Space as a dodge button

What feature do you want to get added on the base engine?
make space as a dodge button to code songs for dodging

Nope.


fix(migration-graph): expand hasTypes to include typesVersions check

This PR:

includes typesVersions as a viable key for package.json types in the migration-graph PackageNode class.

"typesVersions": {
    "*": {
      "*": [
        "types/*"
      ]
    }
  }

Does this need a test?

yeah prob. ill add something here. the implementation is checking against the existence of a key in valid package.json


refactor the plot axi functions

https://github.com/cpp-lln-lab/localizer_visual_motion/blob/3d9ebfecb08a117db38ec4ea307d52152c8f36d6/subfun/expDesign.m#L254

now to be fixed in
https://github.com/cpp-lln-lab/localizer_visual_motion/blob/dcb8a6a46bd1d168d24dcaff002c583b5f9a5c4b/subfun/design/diplayDesign.m#L85-L101
suggestion:
[...]
subplot(3, 1, 3);
        hist(itargetPosition);
        labelAxes('Events', 'Number of targets');
        title('Fixation Targets position distribution');
[...]

function labelAxes(inputXLabel, inputYLabel)
     % an old viking saying because they really cared about their axes
     ylabel(inputYLabel, 'Fontsize', 8);
     xlabel(inputXLabel, 'Fontsize', 8);
 end


conditionally trigger action based on path of files

Closes #3

I think you can combine events https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#example-using-a-list-of-events so you don't have to duplicate rules. Also could be easier to read.


[Android] Add handling of phone gps data

In the Gadgedbridge PR, i add the possibility to use the gps data of the phone.
With this PR, the android app gets extended, so that it can handle the communication with the gadegtbridge part.
To enable to do that i changed the following.

I added a handler for a "gps" and a "is_gps_active" GB message.

The "gps" message retrieves the gps position of the phone and publishes it as a "gps" event onto the "Bangle" object.
The "is_gps_active" messages is a request of the phone to retrieve the current power status of the gps. This is used on the phone to stop sending GPS data if the gps is turned off on the bangle device to perserve the battery of the phone.

I added a logic to overwrite the "setGPSPower" method and the "isGPSOn" method. This is needed so that, if the phone gps data is being used, the gps of the banglejs device is turned off.

I added a setting to enable the overwrite. This must be set or other wise the messages from the phone will be ignored.

The received gps data will be provided under the "gps" event, like if you would use the normal gps chip of the banglejs. However if the phone data is being used, the event "GPS-raw" will not be fired. (I don't know how to convert the gps data to raw data, if anyone can and want to do it, feel free to add this)

The phone gps also dose not provide the amount of satelites and the course. Those two values will be set to the NaN value. Also the fix value will be set to 1 ( If someone knows how to set the correct "fix" value, feel free to add it)

GPS data, which was provided through the phone will have an extra flag called "externalSource".

Looks good but i suggest to add some description for the "Overwrite GPS" setting to the README file.

This looks great, thanks! And I really appreciate you adding the setting for this - as until we get this all merged and in the app store we don't want users finding their GPS stops working ;)
Just a thought, but since when the setting is changed we end up restarting and reloading the boot.js file, maybe we should check currentSettings.overwriteGps and then only overwrite the existing GPS power functions if that is set?
Do you see a problem with doing that? If not I'm happy to merge this and make the change here

@LukasEdl  just checking on what I said above - is it ok if I do that?

Sorry for the late response, i was away the last few days. If you want to do that, please go ahead.


Interferance between two BOHB instances when they have the same networking parameters?

Hi,
I am wondering if two (sequential) BOHB instances will interfere with each other when they have the same networking parameters?
I consider a BOHB instance as running the code in example 1 to complete (following the first example in the tutorial https://automl.github.io/HpBandSter/build/html/auto_examples/example_1_local_sequential.html).
Thus both instances are run using the same .py script.
Also, each instance is run in an individual terminal, but simultaneously.
I am afraid that, because two instances have the same identity parameters (run_id='example1', host='<IP_ADDRESS>', nameserver='<IP_ADDRESS>'), the optimizer in one instance will catch the result of the worker from another instance.
It becomes like two workers are working for one optimizer, while I only expect one worker for one optimizer.
Is this true?

It turned out I cannot have two BOHB running with the same nameserver and nameserver_port (or port, depending on which function we use).
I made a copy of the .py file and make the only difference between the two .py files to be the port number (keeping the host to be <IP_ADDRESS> to make BOHB) run in local.
This works for me.
I am a newbie to computer networking. I will be very appreciative if you can confirm that I am doing the sane move.

It turned out I cannot have two BOHB running with the same nameserver and nameserver_port (or port, depending on which function we use).
I made a copy of the .py file and make the only difference between the two .py files to be the port number (keeping the host to be <IP_ADDRESS> to make BOHB) run in local.
This works for me.
I am a newbie to computer networking. I will be very appreciative if you can confirm that I am doing the sane move.

Hello,
you are doing the right thing. You can't have to master instances on the same host using the same port. Make sure that the workers also know the respective port, so that they connect to the right instance.

Hello,
you are doing the right thing. You can't have to master instances on the same host using the same port. Make sure that the workers also know the respective port, so that they connect to the right instance.


Allow preset load from null location if location_kind != CLAP_PRESET_DISCOVERY_LOCATION_FILE

This is correct, thank you for the PR, and sorry for the very long delay.


Response Change

Well looks like Niantic finally change their API today. Looks like in the response object we still get mapCells but now they have it in a nested tuple.
AHAAAAAAA/PokemonGo-Map/issues/3403@237372013
NECROBOTIO/NecroBot@35339c3

Can follow status here:
https://www.reddit.com/r/pokemongodev/comments/4w1cvr/pokemongo_current_api_status/
Latest update is:
It's becoming more evident that this is a non-trivial change, and will take much longer than planned to get reverse engineered again.

I have a feeling it is trivial. Might just be the request envelope.

I have a feeling POGOProtos will be updated by the time we all wake up tomorrow haha. I'll keep an eye on the repo and update as changes are made.

Just to update: never take what you hear from skimming as truth. The protos and format have not changed. The tuple thing you found was a change that a different project had made internally, totally unrelated.
What has changed is one of the values that gets sent along. The POGOProtos team seems to have limited it down to Unknown6, but they're still actively discussing / working through it.
For those who want updates, follow this issue:
https://github.com/AeonLucid/POGOProtos/issues/131

Fixed API: https://github.com/keyphact/pgoapi

Yes, we will port it..

Isn't there a problem with the encrypt.c containing niantic's copyrighted code? How far have you come with porting?

It will be a swift interpretation for software compatibility, which is fine in my jurisdiction. However, using the API is another question and I'm not responsible for what you do with it 😉. I am still porting and have a lot left... I have work all day but might PR later tonight.

@PokemonGoSucks thanks for taking this on. Feel free to submit a PR that's even part way there and we can assist.

I've started to migrate the changes to support the new version support, but I'm not being able to port the xxhash from the c libs I've found does anyone found a way to port it and managed it to work?

Check out https://github.com/AgentFeeble/pgoapi Looks like he got the encrypt to work

Sorry guys. I am done the implementation, but the c encrypt file has a lot of "too complex to be solved in reasonable time" errors in Swift. I've been busy lately and can't figure out a work around besides breaking up all the 100s of errors, which seems like more trouble than it's worth. How do we feel about using the regular c library?

How are you doing? As @lsapan mentioned, we can/want to assist ;)

I messed up the encryption somehow after migrating to c code.. Trying to solve it. My fork is being updated.

Thanks working perfectly so far

I went in, manually broke up the functions. It should compile now.


Support video_image_groups in SDK

Introduction and Explanation
Support video_image_groups in SDK

@adam-encord are we good to go here on the BE?

@rad-cord we need to roll out the BE to prod first. Please let's never merge stuff into master that cannot be published right away.


Creating an SQS queue results in invalid headers sent to X-Ray

Describe the bug
Using SQS as part of integration testing, we create a new FIFO queue.  As part of this request, the error listed below occurs.  It appears that the format of the string being sent in the X-Ray trace id header is incorrect based on AWS documentation.
As a work around, we provided our own HTTP message handler in order to strip these headers from the request before sending them, however it is unclear why this happens to begin with.  This is code running on a local machine with credentials provided through a shared credential file.  With the work around these tests run correctly.  Similar bugs have been posted previously to the Python SDK.  My uneducated guess is that the format of the X-Ray trace ID changed and the SDK somehow wasn't updated.
Work around below:
public class RemoveXrayMessageHandler : DelegatingHandler
{
    private const string XrayHeader = "X-Amzn-Trace-Id";

    protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
    {
        request.Headers.Remove(XrayHeader);
        return base.SendAsync(request, cancellationToken);
    }

    protected override HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken)
    {
        request.Headers.Remove(XrayHeader);
        return base.Send(request, cancellationToken);
    }
}

        // Inject a message handler to remove AWS X-Ray headers from calls to SQS.
        _services.AddTransient<RemoveXrayMessageHandler>();
        _services.Configure<HttpClientFactoryOptions>(testConfig.LambdaConfig.EnqueuerQueue.HttpClientName, options =>
        {
            options.HttpMessageHandlerBuilderActions.Add(b =>
            {
                b.AdditionalHandlers.Add(b.Services.GetRequiredService<RemoveXrayMessageHandler>());
            });
        });

Expected Behavior
I would expect the queue to be created as desired.
Current Behavior
The following error occurs
   Amazon.SQS.AmazonSQSException : The request has a 'X-Amzn-Trace-Id' HTTP header which is reserved for AWS X-Ray trace header and has an invalid value 'dae04c7a-6a43-4d8c-9a86-6caac024711e'
---- Amazon.Runtime.Internal.HttpErrorResponseException : Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.
  Stack Trace:
     at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleExceptionStream(IRequestContext requestContext, IWebResponseData httpErrorResponse, HttpErrorResponseException exception, Stream responseStream)
   at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleExceptionAsync(IExecutionContext executionContext, HttpErrorResponseException exception)
   at Amazon.Runtime.Internal.ExceptionHandler`1.HandleAsync(IExecutionContext executionContext, Exception exception)
   at Amazon.Runtime.Internal.ErrorHandler.ProcessExceptionAsync(IExecutionContext executionContext, Exception exception)
   at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.Signer.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CredentialsRetriever.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.MetricsHandler.InvokeAsync[T](IExecutionContext executionContext)

Reproduction Steps
The following request documents what is being sent to SQS:
    {
        var fileText = await File.ReadAllTextAsync("sync-queue.json");
        var attributes = JsonConvert.DeserializeObject<Dictionary<string, string>>(fileText);

        var request = new CreateQueueRequest
        {
            QueueName = queueName,
            Attributes = attributes,
            Tags = new Dictionary<string, string>
            {
                { "PRODUCT", "VALUE" }
            }
        };

        var createResponse = await _sqsClient.CreateQueueAsync(request).ConfigureAwait(false);
    }

sync-queue.json:
{
    "FifoQueue": "true",
    "ContentBasedDeduplication": "false"
}

Possible Solution
No known solution other than the work around (which would disable X-ray tracing).
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.Core <IP_ADDRESS>
AWSSDK.SQS  <IP_ADDRESS>
AWSSDK.Extensions.NETCore.Setup 3.7.7
Targeted .NET Platform
.NET 6
Operating System and version
Windows 11

Hi @ctartamella,
Good afternoon.
Could you please share sample code solution which demonstrates enabling X-ray for your application?
Thanks,
Ashish

So, this is running in some .NET integration tests on my local machine.  Effectively a console application.  We are not setting that environment variable at all nor are we trying to opt in to X-Ray.  This header seems to be added automatically for reasons I can not tell.

So, this is running in some .NET integration tests on my local machine. Effectively a console application. We are not setting that environment variable at all nor are we trying to opt in to X-Ray. This header seems to be added automatically for reasons I can not tell.

@ctartamella Thanks for your response. Could you please share the sample code solution that reproduces the issue?

As I am working on putting together a minified code sample, there are a few context points I'd like to include:

These occur during integration tests only running under the XUnit runner.
(and maybe most important) These integration tests are hosting a lambda using a 3rd party package (MartinCostello.Testing.AwsLambdaTestServer).  Looking at it's code, I do think it is the culprit.  I see a place where he is setting Lambda-Runtime-Trace-Id to a random Guid.  Is it possible this is the culprit?  If so, my issue likely lies there and not with the AWS sdk.

It's not clear to me why this would be the case as I am using named HTTP clients, however it is the most likely.

As I am working on putting together a minified code sample, there are a few context points I'd like to include:

These occur during integration tests only running under the XUnit runner.
(and maybe most important) These integration tests are hosting a lambda using a 3rd party package (MartinCostello.Testing.AwsLambdaTestServer).  Looking at it's code, I do think it is the culprit.  I see a place where he is setting Lambda-Runtime-Trace-Id to a random Guid.  Is it possible this is the culprit?  If so, my issue likely lies there and not with the AWS sdk.

It's not clear to me why this would be the case as I am using named HTTP clients, however it is the most likely.

@ctartamella Thanks for the update. Also refer https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-traces, where it has information about the format of X-Amzn-Trace-Id header.

I've confirmed that the MartinCostello.Testing.AwsLambdaTestServer package is indeed the likely culprit here.  I'm going to pursue this with him.  Thanks for the attention!

For anyone who may come across this issue in the future, this was fixed in v0.7.1 of Lambda Test Server.


nixos/sudo{,-rs}: De-duplicate common code

Description of changes
Move option definitions and configuration shared by the sudo and sudo-rs modules
into a nixos/lib/sudo-common.nix.
This is a follow-up on #262790, #263471, and #263475, which includes their history.
It should only move out of draft status once those are merged.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)

[x] Fits CONTRIBUTING.md.

can you add "fixes #267054" somewhere in this pr?

@delroth Can you review this if you have any time?

Heads up, needs another rebase


syntax_test failing on IE

bots are red.

This issue has been moved to dart-lang/polymer-dart#498.


feat(run/markdown-preview): add C# sample for Securing Cloud Run service tutorial

Adds C# sample for the tutorial at https://cloud.google.com/run/docs/tutorials/secure-services
Demonstrates how to add the authorization header to invoke an upstream Cloud Run service requiring authentication (ie, deployed with --no-allow-unauthenticated)

Testing something 123

Testing something else 12345
https://github.com/drch-/dotnet-docs-samples/pull/9/files#diff-9c8eb337d98173b6a6737b5e5def169659bb26c749ae7186d44bbaf418eb023eR47


Can you provide the code for plug-and-play modules to apply to pointmlp?Thanks a lot.

请问您有相关代码可以分享吗？


Added examples for both mat.Row and mat.Col functions.

Added examples in godoc for mat.Row and mat.Col function calls.
Originally discussed here: https://groups.google.com/d/msg/gonum-dev/20ReoY6VmkU/jcwejOlvCwAJ

@kortschak I believe I have addressed all of your feedback, I only have one commit for the MR.  is the next commit A+C: add Clayton Northey supposed to be part of the MR as well?

@kortschak I read the following in the CONTRIBUTING.md file: "Before your first merge, you will need to be added to the CONTRIBUTORS and AUTHORS file." so I added my name to the files in the second commit, please let me know if I need to change anything.  thanks!

@kortschak ah yes, thanks.  Fixed the year, should be good now 👍


scheduler local mariadb fails db creation with hyphen or underscore in cluster name

CC:  8.6.2
Slurm project:  3.0.7
STEPS:

create a cluster with hyphens or underscore in the name (ie. jm_slurm_gpu)
NOTE: underscores in cluster name are converted to hyphens, which is the cause of the issue...underscores would work otherwise in mysql syntax
enable Slurm accounting in advanced settings (without supplying info like DB URL, etc)
use cloud-init to install mariadb on the scheduler as shown in README
start the cluster and watch it fail

ERRORS:
CC Portal:
CycleCloud Version: 8.6.2-3276
Cluster: jm_slurm_gpu (version 8.6.x)
==============================

Status: Error [Software Configuration] (retrying)
Start Time: 2024-08-29T18:02:45.519Z

Description: Unable to execute command `/opt/cycle/jetpack/system/bootstrap/azure-slurm-install/start-services.sh scheduler >> /opt/cycle/jetpack/system/bootstrap/azure-slurm-install/start-services.log 2>&1` (exit code 2)

Detail:
STDOUT:
STDERR:
EXCEPTION: ruby_block[defer_block_776dd7] (slurm::delayed_services line 7) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[delayed_start_of_services] (slurm::delayed_services line 12) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'

Affected Nodes (1):
---
Node Name: scheduler
Hostname: jm-slurm-gpu-scheduler
IP Address: <IP_ADDRESS>
Azure Resource ID: /subscriptions/1b3b5982-af09-406c-892a-e82c11b5cb9a/resourceGroups/jm_slurm_gpu-MVSGMMTCGA4DSLJVMUZDALJUHA/providers/Microsoft.Compute/virtualMachines/scheduler-GYZWCMLGGUYTCLJZMZRWGLJUGQ
Azure VM ID: 5e1d6f3d-f1c7-48df-8ab3-4849759b31a7
Cluster-Init: slurm:default:3.0.7, slurm:scheduler:3.0.7
Node ID: 1a8033ce-0afd-4979-bc73-6955d509a1da

slurmdbd.log:
[jmorey@jm-slurm-gpu-scheduler ~]$ sudo cat /var/log/slurmctld/slurmdbd.log
[2024-08-29T14:05:07.702] error: Unable to open pidfile `/var/run/slurmdbd.pid': Permission denied
[2024-08-29T14:05:07.702] Not running as root. Can't drop supplementary groups
[2024-08-29T14:05:07.709] fatal: mysql_query failed: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-slurm-gpu_acct_db' at line 1
create database jm-slurm-gpu_acct_db

manual try to create in mariadb:
MariaDB [(none)]> create database jm-slurm-gpu_acct_db;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-slurm-gpu_acct_db' at line 1

I ll send a PR for fixing this! meanwhile -- you can use the Database Name parameter in the CC UI that tells slurm the database name. It does so by setting the storageLoc parameter in slurmdbd.conf. When not set, it defaults to "clustername_acct_db" by slurm. I ll send a PR for fixing the default case.

FYI the reason we convert cluster names and convert underscore to hyphens is because it's used to create nodenames which are then used to create hostnames and hostnames cannot have "_" character. We now use cluster name to also create a DB name. But in the database naming it's the opposite (cannot have hyphens), I have a PR that fixes this. But in a future release-- we will make the cluster naming convention a bit more strict to avoid this confusion.


Does it work on private repos?

Hi. Does this work on private repos? What changes would be needed to have it work on private repos?

It doesn't seem to work on private repos - I just tried and nothing happened.

maybe if you run it locally and change some things here https://github.com/pomber/github-history/blob/master/src/github.js it could work - but it's just a guess

It's related to #9 . I need to add the oauth flow. It shouldn't take too long.

It should work now

Does the data from the private repo pass through your server in any way?

Yes, I have the same question as @perplexes.

Nope, it goes directly from GitHub to the browser. The access token does pass through Netlify, but I don't think that could be an issue.


Option select fields should be able to pick label/value as imported value

https://github.com/engram-design/FeedMe/issues/171#issuecomment-283038081

Added to the latest master.


CKEditor initial content (AngularFire + Firebase)

I'm trying to get an initial content value from a Firebase database object into ckeditor in my edit news component.
The way to get this object is through AngularFire:
constructor(private af: AngularFire) {
      this.news = af.database.object('news/id');
    }

With the other form nodes like the input title one, using interpolation such us value="{{(news | async)?.title}}" worked fine but since ckeditor asks for an [(ngModel)] to show its content, there's no way I can use that kind of syntax there.
Is there any other way to pass the object value "news.content" to CKEditor?
Thanks!

Hi,
I don't use AngularFire, did you try this :
constructor(private af: AngularFire) {
  af.database.object('news/id')
    .subscribe((news) => {
      this.news = news;
    });
}

Then you can use ngModel:
<ckeditor [(ngModel)]="news"></ckeditor>

Yep, that was my first try but it brought up these errors:

Type 'Subscription' is not assignable to type 'FirebaseObjectObservable'.
Property '_ref' is missing in type 'Subscription'.
I'm new to AngularFire too so I don't really get what is happening.

TypeError: Cannot read property 'content' of undefined... {{news}} doesn't print anything either.
The only reference to object binding that is found in AngularFire 2 docs is this:

To get the object in realtime, create an object binding as a property of your component or service. Then in your template, you can use the async pipe to unwrap the binding.

import {Component} from 'angular2/core';
import {AngularFire, FirebaseObjectObservable} from 'angularfire2';

@Component({
  selector: 'app',
  template: `
  <h1>{{ (item | async)?.name }}</h1>
  `,
})
export class AppComponent {
  item: FirebaseObjectObservable<any>;
  constructor(af: AngularFire) {
    this.item = af.database.object('/item');
  }
}

It only explains how to bind through interpolation, not ngModel...

Thank you for your clarification !
I'll look this soon

Well in AngularFire2 docs : https://github.com/angular/angularfire2/blob/master/docs/2-retrieving-data-as-objects.md#returning-promises
It seems it returns Promises, you need to use then() instead of subscribe(), so can you try:
constructor(private af: AngularFire) {
  af.database.object('news/id')
    .then((news) => {
      this.news = news;
    });
}

Just in case it is useful for someone else. I found a workaround.
Inside the Constructor or ngOnInit:
this.item = this.af.database.object('items/'+this.route.snapshot.params['id'],{ preserveSnapshot: true });
      this.item.subscribe(snapshot =>{
        this.values = snapshot.val();

This will get the specified object on the route.params from your Firebase database.
You also need a dummy for the value that ckeditor will read through ngModel, so it does not get an undefined value. (AngularFire will update with the correct value when it's ready):
values: any = {
    ckeditor : ''
  }

And lastly, one more fix. Inside the ckeditor node you also need a *ngIf so it won't render empty before Firebase has done its thing.
<ckeditor *ngIf="values.ckeditor" #contenido name="ckeditor" [(ngModel)]="values.ckeditor"></ckeditor>
Hope this helps! It has been driving me crazy for a while now!


question: what's the difference between this and kommentary?

a short blurb would be nice

I suppose you are referring to this one: if so, this plugin does not offer any additional features to kommentary, which in turn (if I understand the code correctly) also allows to use operator motions (mine does not), therefore in that respect kommentary is the more complete.
If I really ought to advocate for mine, I would say that the advantages are minimal to no configuration required (it works out of the box) and the direct exposure of the configuration for the user as lua require('nvim-commaround.config').config[<newfiletype>] = {...} (which seems to require few more lines of code in that case, judging from the README, but I may be wrong). This said, if you are using kommentary already there is no need to switch to anything else, and mine is not supposed to be a replacement of it (it was born as personal project and then I decided to offer it in case the community found it useful) :-)

Let me know if you have further questions, otherwise we can close this issue.

Does this work in normal mode?

No, it only works in visual selection mode.


DXCDT-507: Deduplication of Terraform ressource names

🔧 Changes
We have seen cases in this team where users (sometimes intentionally) set resources to the same name. In the context of the Terraform export functionality, this will cause issues because Terraform disallows identical resource names to coexist. This PR adds a deduplicateResourceNames function to proactively prevent these collisions from occurring on export.
🔬 Testing
Added unit tests.
📝 Checklist

[x] All new/changed/fixed functionality is covered by tests (or N/A)
[x] I have added documentation for all new/changed functionality (or N/A)

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (26044a2) 72.00% compared to head (9394a6b) 72.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #799   +/-   ##
=======================================
  Coverage   72.00%   72.01%
=======================================
  Files          91       91
  Lines       11447    11458   +11
=======================================
+ Hits         8242     8251    +9
- Misses       2700     2702    +2
  Partials      505      505

Files Changed
Coverage Δ

internal/cli/terraform.go
63.56% <100.00%> (+1.69%)
:arrow_up:

... and 1 file with indirect coverage changes

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


Env: Python no such file or directory during “Install custom tools” build step

Summary
I have a build that works fine on my M1 Mac and passes on EAS Build, but some packages are missing when I try to run the app on a simulator. The issue seems to stem from Python not being available on the EAS Build worker, leading to the failure of installing sharp-cli correctly during the "Install custom tools" step.
Managed or bare?
Bare
Environment
> npx expo-env-info
  expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 13.5.2
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 14.21.3 - ~/.nvm/versions/node/v14.21.3/bin/node
      Yarn: 1.22.19 - /opt/homebrew/bin/yarn
      npm: 6.14.18 - ~/.nvm/versions/node/v14.21.3/bin/npm
    Managers:
      CocoaPods: 1.12.1 - /Users/me/.rbenv/shims/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    IDEs:
      Android Studio: 2022.3 AI-223.8836.35.2231.10406996
      Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
    npmPackages:
      babel-preset-expo: 8.5.1 => 8.5.1
      expo: ^43.0.0 => 43.0.5
      react: 17.0.1 => 17.0.1
      react-dom: 17.0.1 => 17.0.1
      react-native: 0.64.3 => 0.64.3
      react-native-web: 0.17.1 => 0.17.1
    npmGlobalPackages:
      eas-cli: 4.1.2
      expo-cli: 6.3.10
    Expo Workflow: bare

> npx expo-doctor
expo-doctor supports Expo SDK 46+. Use 'expo-cli doctor' for SDK 45 and lower.

> expo-cli doctor
🎉 Didn't find any issues with the project!

Error output
From "Install custom tools" build step on expo.dev:
Now using node v14.21.3 (npm v6.14.18)

/Users/expo/.nvm/versions/node/v14.21.3/bin/sharp -> /Users/expo/.nvm/versions/node/v14.21.3/lib/node_modules/sharp-cli/bin/cli.js

><EMAIL_ADDRESS>install /Users/expo/.nvm/versions/node/v14.21.3/lib/node_modules/sharp-cli/node_modules/sharp

> (node install/libvips && node install/dll-copy && prebuild-install --runtime=napi) || (node-gyp rebuild && node install/dll-copy)

info

sharp Detected globally-installed libvips v8.14.2

info

sharp Building from source via node-gyp

CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o

LIBTOOL-STATIC Release/nothing.a

env: python: No such file or directory

...

Failed to install<EMAIL_ADDRESS>for Node.js v14.21.3

If your version of Node.js does not support 1.15.0 version of sharp-cli

 - build will fallback to slower (JS only) implementation.

 - you can install different version in "eas-build-pre-install" hook (https://docs.expo.dev/build-reference/how-tos/#eas-build-specific-npm-hooks)

Reproducible demo or steps to reproduce from a blank project

Setup an expo project using the versions above and a bare workflow
Add<EMAIL_ADDRESS>as a dependency, which will require sharp
Observe the output when trying to build an iOS simulator preview via eas build

Hi,
Can you send me a URL of your build? It might be helpful

Hi @szdziedzic I was able to get around this by pinning an explicit version of sharp (in my case it was an older version like 0.23.0

@evansendra is there a way to skip the installing custom tools step? I want to use yarn version 4 and it's trying to install it via npm i -g<EMAIL_ADDRESS>and failing:
Installing<EMAIL_ADDRESS>npm ERR!
code ETARGET
npm
ERR! notarget
No matching version found for<EMAIL_ADDRESS>npm
ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR!
notarget a package version that doesn't exist.
npm
ERR!  Make sure you specified the correct version in eas.json.

@johhansantana I'm wondering if you ever found a way to skip the "Install custom tools" step? I'm trying to override the node version used in my build so it doesn't have to install it in the custom tools step. By default my build image uses 18.18.0 and I'm trying to get my build to use 18.13.0 by default


Go client API allocates lots of small objects.

Feature Request
Proposal: [Description of the feature]
Point instances that use a fixed schema.
All points I send have 3 tag columns and one value column always with the same name. My points are more like rows in a SQL table rather than unstructured data.
If I could hint to the API that all points that I send have the same structure, the API could go easier on the Go Garbage Collector. For instance, it could use simple slices instead of maps to represent tags and values in a point. If the API knows ahead of time that I will always send 3 tags and 2 values per point and those tags and values will always have the same name, it could do even further optimization.
Another proposal is to make Point be an interface. I can make struct to represent each of my points (no extra memory allocs). As long as I implement the Point interface, the API can serialize my struct to the influx db server correctly.
Current behavior: [What currently happens]
Currently points are immutable objects that encapsulate two maps, one for tag columns and one for value columns. I send about ~6,000,000 points per minute.  Allocating all these small objects makes the GC work really hard.
Desired behavior: [What you would like to happen]
I'd like to see the influxdb client API be easier on the GC.
Use case: [Why is this important (helps with prioritizing requests)]
I send millions of requests per minute. When I profile my app, the influx db client API is the biggest offender of heap allocations and makes the GC work really hard. Every point that I send has exactly 3 tag columns and 1 value column. Yet I have to allocate two maps for each individual point when a fixed struct would do fine.

You could take the Point interface idea a step further and have a PointCollection interface that has a Len() method and methods like SerializeAtIndex(i int, w io.Writer). This way the client can use whatever data structure they want to represent a batch of points. A client could even something like [1000]MyPointStruct which wouldn't require extra heap allocations. Then add a SetPointCollection method to BatchPoints as an alternative to AddPoints()


Unify handling of owned and borrowed data

Review ToOwned and Borrow, Review the maybe-owned crate.

I think this is solved for now with the introduction of Cow and bounded-static.


FEATURE: Add Support for Azure OpenAI Services

Please add support for Azure OpenAI Services.

Yes please, it would be very useful

yes please


Tobin more cv cleanup

First 2 CLs are simple.
Third is a bit more complex, pulling data from 4 separate VkDeviceMemory maps into a single map and consolidating around the DEVICE_MEM_INFO struct.

pushed to master


"select drop-container" problem in window

Hello dear Mr. Pimenov
In metroui4, window get scroll when select opens
and drop-container goes under (and I gues it goes under all elements)
thanks
https://codepen.io/yamin1313/pen/mdOLLxj

Add this style
.window-content {
  overflow: visible;
}

thanks
but in this situation, resizable doesn't work properly.
just window-content background get resizabled and elements in window-content stay fixed!

The question is not clear

I mean that in case we add this style (overflow: visible) to .window-content,
when the user opens the select and intends to resize the window, the condition that is attached is occurred:

I mean that in case we add this style (overflow: visible) to .window-content,
when the user opens the select and intends to resize the window, the condition that is attached is occurred:


Only find function sigs once per transaction

A large part of the time spent is in finding function signatures which is in finishParse. If I stored the function sigs, I wouldn't have to look them up each time I open the file.

Moved to https://github.com/Great-Hill-Corporation/quickBlocks/issues/51


Not working out of the box

I am creating a list of countries and I followed exactly what is written on the github page. The bubble text is not appearing. I tried this on Android 4.0+. The included example project is also not working. No text bubble/indicators.
It also seem getSectionTitle not being called. Any ideas?

My bad, I should be touching the area of FastScroller. It works as expected


each shell can be renamed?

each shell can be renamed?

such as  node>testNode

Use Terminal: Rename from the Command Pallete.


Replaced download text link with icon [Issue #88]

Replaced "Download" in the navbar with an font awesome fa-file-download icon.
Issue: #88

Done. It looks better this way 👍

Awesome, thanks!
@all-contributors please add @cosay for code


conda_mirror.py: log download errors instead of breaking and clearing…

By default conda-mirror will continue pulling files until it either succeeds or dies from some sort of error.
If an error is encountered, all downloaded files residing in "temp space" will be deleted.
This change logs exceptions that occur during download so that the files that actually download successfully will be verified and moved to the target folder.

Codecov Report

Merging #71 into master will decrease coverage by 2.99%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #71   +/-   ##
=======================================
- Coverage   96.88%   93.89%   -3%
=======================================
  Files           2        2
  Lines         257      262    +5
=======================================
- Hits          249      246    -3
- Misses          8       16    +8

Impacted Files
Coverage Δ

conda_mirror/conda_mirror.py
93.82% <100%> (-3.03%)
:arrow_down:

Continue to review full report at Codecov.

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


show/hide a command in the context menu depending on the properties of treeItem

As a developer I would like to have the ability to change what appears on the context menu conditionally. In my case, I would like to show/hide a command in the context menu depending on the properties of the treeItem supposing that each treeItem may have different properties.

Do you know about the contextValue property of TreeItem?
https://code.visualstudio.com/api/references/vscode-api#TreeItem

The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!

Put in mind that the value could change at each time and it is not a fixed value like contextValue (I'm aware that it could be changed by the build-in command 'setContetxt' but that would break the logic of how we get the children of treeItems).

Please see the contextValue, which is a property of TreeItem: https://code.visualstudio.com/api/references/vscode-api#TreeItem


FOPTS-180 Kubecost Cluster Sizing Recommendations Policy

Description
Kubecost generates recommendations to optimize Kubernetes cluster
Issues Resolved
Policy can be used to bring these cluster sizing recommendations. URL to applied policy: https://app.flexera.com/orgs/1105/automation/applied-policies/projects/60073?policyId=645912ed75202d0001984992
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

Should this policy also be visible from the list in the top-level readme @TDubovchenko ?

Hello, @bryankaraffa. I spoke to @TDubovchenko  and she's ok with changes. We just need one of the policy team members to approve. Let me know if there are any issues.
Thank you!!


Issues with BYG and Terrestria mods.

Hemlock and Redwood leaves from Terrestria mod aren't made passable. Green and Blue Enchanted leaves from Oh The Biomes You'll Go [FABRIC] mod glitch out when the player "enters them". Screenshots are linked below. These issues don't occur when using other passable leaves mod.
https://ibb.co/ZH0hVjg
https://ibb.co/r76mx8b

This is a comment from Terrestria dev - "Likely because that mod doesn't use a leaves tag instead they use an instance of class call. We won't fix this they will have to implement their checks to accomodate for mods with custom leaves."

The issue with Terrestria will be fixed in the next update.
I will make a PR to Oh The Biomes You'll Go that fixes this, as that issue is with the way they make their enchanted leaves.

Corgi Taco has published a fix for BYG: https://www.curseforge.com/minecraft/mc-mods/oh-the-biomes-youll-go-fabric/files/3090260


CB grading part 2

Testing Category
Student 1: 1/6
Student 2: 4/6
Student 3: 5/6
Student 4 6/6

Program Purpose and Function
Describes the overall purpose of the program demonstrated in the video, the functionality of the program is demonstrated in the video, and the input and output of the program
The overall purpose of the program is demonstrated in the video and describes what functionality of the program is demonstrated in the video as well as the input and output of the program
The overall purpose of the program is demonstrated in the video and describes what functionality of the program is demonstrated in the video describes the input and output of the program
The overall purpose of the program demonstrated in the video and describes what functionality of the program is demonstrated in the video describes the input and output of the program

Data Abstraction
one program code that shows how data has been stored in this list (or another collection type), one shows the data in this same list being used as part of fulfilling the program’s purpose. describes what the data contained in this list is representing in the program
one program code that shows how data has been stored in this list (or another collection type), one program code that shows the data in this same list being used as part of fulfilling the program’s purpose. describes what the data contained in this list is representing in the program
one program code that shows how data has been stored in this list (or another collection type). one program code that shows the data in this same list being used as part of fulfilling the program’s purpose. identifies the name of the variable representing the list being used in this response. describes what the data contained in this list is representing in the program
one program code that shows how data has been stored in this list (or another collection type). one program code that shows the data in this same list being used as part of fulfilling the program’s purpose. identifies the name of the variable representing the list being used in this response. describes what the data contained in this list is representing in the program

Managing Complexity
includes a program code segment that shows a list being used to manage complexity in the program explains how the named, selected list manages complexity in the program code by explaining why the program code could not be written, or how it would be written differently, without using this list.
includes a program code segment that shows a list being used to manage complexity in the program explains how the named, selected list manages complexity in the program code by explaining why the program code could not be written, or how it would be written differently, without using this list.
includes a program code segment that shows a list being used to manage complexity in the program explains how the named, selected list manages complexity in the program code by explaining why the program code could not be written, or how it would be written differently, without using this list.
includes a program code segment that shows a list being used to manage complexity in the program explains how the named, selected list manages complexity in the program code by explaining why the program code could not be written, or how it would be written differently, without using this list.

Procedural Abstraction
one program code showing a student-developed procedure with at least one parameter that has an effect on the functionality of the procedure one program code showing where the student-developed procedure is being called. describes what the identified procedure does and how it contributes to the overall functionality of the program
one program code showing a student-developed procedure with at least one parameter that has an effect on the functionality of the procedure one program code showing where the student-developed procedure is being called. describes what the identified procedure does and how it contributes to the overall functionality of the program
one program code showing a student-developed procedure with at least one parameter that has an effect on the functionality of the procedure one program code showing where the student-developed procedure is being called. describes what the identified procedure does and how it contributes to the overall functionality of the program
one program code showing a student-developed procedure with at least one parameter that has an effect on the functionality of the procedure one program code showing where the student-developed procedure is being called. describes what the identified procedure does and how it contributes to the overall functionality of the program

Algorithm Implementation
includes a program code segment of a student-developed algorithm that includes sequencing, selection, and iteration explains in detailed steps how the identified algorithm works in enough detail that someone else could recreate it
includes a program code segment of a student-developed algorithm that includes sequencing, selection, and iteration explains in detailed steps how the identified algorithm works in enough detail that someone else could recreate it
includes a program code segment of a student-developed algorithm that includes sequencing, selection, and iteration explains in detailed steps how the identified algorithm works in enough detail that someone else could recreate it
includes a program code segment of a student-developed algorithm that includes sequencing, selection, and iteration explains in detailed steps how the identified algorithm works in enough detail that someone else could recreate it

Testing
describes two calls to the selected procedure identified in written response 3c. Each call must pass a different argument(s) that causes a different segment of code in the algorithm to execute. describes the condition(s) being tested by each call to the procedure. identifies the result of each call
describes two calls to the selected procedure identified in written response 3c. Each call must pass a different argument(s) that causes a different segment of code in the algorithm to execute. describes the condition(s) being tested by each call to the procedure. identifies the result of each call
describes two calls to the selected procedure identified in written response 3c. Each call must pass a different argument(s) that causes a different segment of code in the algorithm to execute. describes the condition(s) being tested by each call to the procedure. identifies the result of each call
describes two calls to the selected procedure identified in written response 3c. Each call must pass a different argument(s) that causes a different segment of code in the algorithm to execute. describes the condition(s) being tested by each call to the procedure. identifies the result of each call

I think my scoring is very accurate to how college board scores. I've realized that the college board is very picky about how specific your write-up is and in making sure you answered the questions EXACTLY as they are asked. Especially for the purpose point, I notice a lot of students lose that easy point because they explained the function of the code rather than the purpose. Another thing I noticed is that students fail to explain the "complexity" behind the portions of their code, causing them to lose points. From this, I know that I will have to do a good job explaining every bit of my code. I think it will also be good to have multiple instances of procedural abstraction or examples of how I managed complexity. This way, if college board is unsatisfied with one, I will have backups.

Good grading - CollegeBoard grading is completed (1 point added)
Frontend is really good, I love the navbar and it looks like a professional website (1 point added)
I think you can clarify your database a bit more and also explain what self, tester, getter, etc means

Total: 2/3

1/3

Points
Assignment

1/1
CPT Grading

0/1
Frontend: Don't see anything other than CPT

0/1
OOP: Don't see anything other than CPT

Peer Grading
Grader: Jonathan Wu

[x] looking to see beginnings of frontend coding in CPT project.
[x] beginnings of class definitions and object usage in CPT project.
[x] understanding of criteria and evaluations of CPT. Also, we want to see how understanding scoring of these examples will help you exceed CPT requirements.

Grade: 3/3


[TTNN] Create a higher level toLayout op in TTNN

Introduce a higher level toLayout op that will encapsulate the TTNN layout attribute target state.
This issue is part of the TTNN backend pipeline refactor. This doc captures the TTNN backend pipeline refactor:
TTNN Defaults - Design Doc

Is there anything else to do besides what @jnie-TT did in #840 and #1105?

Same as I said in #1138:
The main purpose of this issue is to capture the intent outlined in the design doc. We’ll likely close it, but let’s wait until someone is assigned and has taken a closer look.


remove specific Fedora and Kubernetes version when describing configuration

Kubernetes is already well supported on Fedora. No need to mention Fedora version. At the same time, kubernetes-0.17 is quite outdated.

This change is

lgtm


Support for gradient fill for bar charts

Hi is support for gradient fill in the roadmap at all?

It's not difficult to add any sort of effects to the bars since they are just views which you can fully customize.
Sorry for the long delay!


Add missing space before links

Add missing space character before links and some misc edits.

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

#sign-off


cloudlist: 1.0.7 -> 1.0.8

Diff: https://github.com/projectdiscovery/cloudlist/compare/refs/tags/v1.0.7...v1.0.8
Changelog: https://github.com/projectdiscovery/cloudlist/releases/tag/v1.0.8
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 300333 run on x86_64-linux 1

1 package built:

cloudlist


Errors from core interface type definitions

This issue tracker is for Bug Reports and Feature Requests only.
Please direct requests for help to StackOverflow.  See http://bit.ly/UIR-SOF for details.
This is a:

[x] Bug Report
[ ] Feature Request
[ ] General Query

My version of UI-Router is: (version)
1.0.5
Bug Report
Current Behavior:
When importing interfaces/types from core package @uirouter/core like this (it doesn't matter what you import):
import { StateService } from '@uirouter/core';

and running tsc yields the following compilation errors:
node_modules/@uirouter/core/lib/transition/interface.d.ts(732,5): error TS2411: Property 'to' of type 'string | boolean | Predicate<StateDeclaration> | undefined' is not assignable to string index type 'string | boolean | Predicate<StateDeclaration>'.

node_modules/@uirouter/core/lib/transition/interface.d.ts(734,5): error TS2411: Property 'from' of type 'string | boolean | Predicate<StateDeclaration> | undefined' is not assignable to string index type 'string | boolean | Predicate<StateDeclaration>'.

node_modules/@uirouter/core/lib/transition/interface.d.ts(736,5): error TS2411: Property 'exiting' of type 'string | boolean | Predicate<StateDeclaration> | undefined' is not assignable to string index type 'string | boolean | Predicate<StateDeclaration>'.

node_modules/@uirouter/core/lib/transition/interface.d.ts(738,5): error TS2411: Property 'retained' of type 'string | boolean | Predicate<StateDeclaration> | undefined' is not assignable to string index type 'string | boolean | Predicate<StateDeclaration>'.

node_modules/@uirouter/core/lib/transition/interface.d.ts(740,5): error TS2411: Property 'entering' of type 'string | boolean | Predicate<StateDeclaration> | undefined' is not assignable to string index type 'string | boolean | Predicate<StateDeclaration>'.

This means people can't use interfaces from the core package. I also tried to import it from @uirouter/angularjs instead, but got the same error.
I set up the following repo that reproduces the issue:
https://github.com/gaui/uirouter-types-issue
Expected Behavior:
Should not yield any compilation errors.
Link to GitHub repo that reproduces the issue:
https://github.com/gaui/uirouter-types-issue
Feature Request
(feature request here)
General Query
Please direct general implementation questions to StackOverflow:
http://stackoverflow.com/questions/ask?tags=angularjs,angular-ui-router
Please review the Sample Application which highlights common approaches:
https://github.com/ui-router/sample-app-ng1

[ ] I have already asked my question on StackOverflow and nobody could answer the question

[ ] I have already reviewed the sample application for examples of common approaches

[X] I believe my question can only be answered by the UI-Router maintainers

(general query here)

https://github.com/ui-router/core/issues/33


Welcome page

It might be nice to have a welcome page in the template studio, maybe with the following options:

Search template library
New template (text only)
New template (full)
Drag and drop archive
Load archive from URL

This issue has been moved to https://github.com/accordproject/template-studio-v2/issues/4


isfile (Python says no, pyfakefs says yes)

import shutil
import pyfakefs.fake_filesystem
import os

ROOT_PATH = "/Volumes/ramdisk/newtest"

fs = pyfakefs.fake_filesystem.FakeFilesystem()
fs.CreateDirectory('/Volumes')
fs.CreateDirectory('/Volumes/ramdisk')
fs.CreateDirectory('/Volumes/ramdisk/newtest')
os0 = pyfakefs.fake_filesystem.FakeOsModule(fs)
opener0 = pyfakefs.fake_filesystem.FakeFileOpen(fs)

if True:
    os0 = os
    shutil.rmtree(ROOT_PATH)
    os.mkdir(ROOT_PATH)
    opener0 = open

component0 = "alpha"
path0 = ROOT_PATH
path0 += os.path.sep + component0
component0 = ""
file0 = opener0(path0,'w')
path0 += os.path.sep + component0
result = os0.path.isfile(path0)
print result

For reference: returns False under Linux and Windows, False under MacOS.

I don't understand this stuff with file paths ending with separators - it seems quite random to me. Sometimes MacOS behavior is the opposite of Windows and Linux, sometimes it's Windows that behaves different, and I don't see a pattern here at all. </rant>
I'm giving up for now, maybe will have another go at the weekend.

Just to let you know - I'm just mostly working on another project, so it may be a few days before I get back to pyfakefs.

Fixed by #382


Add parameter skipEmptyString

I love the skipNull that is available in the stringify.
Would it be posible to also include a skipEmpty parameter that filters all params where the value = ""

Should be called skipEmptyString.

I have created a pr to add the support, kindly review and let me know if any changes are needed
https://github.com/sindresorhus/query-string/pull/252
thanks :)


[Question] Is there any way to highlight the source type to another color?

I wanted to change the color of source types in cmp completion menu but I didn't find nothing to do it.

Is there any way to highlight this?

IIRC you can change all of them, but there is currently no option to highlight a specifically source afaik

IIRC you can change all of them, but there is currently no option to highlight a specifically source afaik

How can I do it?

The CmpItemMenu highlight group should allow you to change highlight of all source names

The CmpItemMenu highlight group should allow you to change highlight of all source names

It works. Thanks!


fix: url mistake and test incorrectness

Signed-off-by: Allen Sun<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
In the original test file test/api_restart_test.go, we have created containers with the same name, so I change one into another one.
In addition, I change the filename from test/api_restart_test.go to test/api_container_restart_test.go.
What is more, there is bug in router.go which is r.Path(versionMatcher + "/containers/{id:.*}/restart").Methods(http.MethodPost).Handler(s.filter(s.restartContainer)). In this line of code, we would make http server to get the container via id in the url path. While in code https://github.com/alibaba/pouch/blob/master/apis/server/container_bridge.go#L65, it is finding name using name := mux.Vars(req)["name"]. As a result, incompatibility happens. The gotten name will already be empty string and would trigger code errors.Wrap(errtypes.ErrTooMany, "container: "+nameOrPrefix) which is in https://github.com/alibaba/pouch/blob/master/daemon/mgr/container_utils.go#L33.
Ⅱ. Does this pull request fix one issue?

fixes #991
Ⅲ. Describe how you did it
none
Ⅳ. Describe how to verify it
none
Ⅴ. Special notes for reviews
cc @HusterWan @Letty5411

Codecov Report

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

@@            Coverage Diff            @@
##             master     #992   +/-   ##
=========================================
  Coverage          ?   13.73%
=========================================
  Files             ?      124
  Lines             ?     8358
  Branches          ?        0
=========================================
  Hits              ?     1148
  Misses            ?     7111
  Partials          ?       99

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 e759583...a165aec. Read the comment docs.

@allencloud thanks a lot

LGTM


Update conflicts documentation to include Swift 2 code blocks

What

Add missing headers to CloudantSync.h to enable conflict resolution
Add Swift 2 code blocks to conflicts documentation

Reviewers
reviewer @mikerhodes
reviewer @alfinkel

It might be clearer if we labeled the example code blocks with the language that the code is an example for.  Since now we have the Objective C and Swift examples coexisting in the docs.  Just a thought.  +1 otherwise.

Any idea on the labelling? I haven't manged to come up with a scheme I like

+1, though you'll either want to squash out or correct the typos in 7738b47

I'll squash out, when @alfinkel is happy

Sorry, I missed your last message.  The way you are labeling the example code blocks looks good to me.  +1.


Updates for Gradle 3.0

Fixed some issues that came up with Gradle 3.0

Added check for manifestOutputFile and if it doesn't exist move to the new manifestOutputDirectory.
In Gradle 3 AAPT2 (Android Asset Packaging Tool) is enabled by default which optimizes resources but changes all resources into .flat files which we cannot modify (As far as I can tell). Therefore in the readme I added the step to disable this so that we can get the resources we can modify. This will slow down build time a little bit since it is using the older AAPT but I couldn't find any other solutions.

Fixes #8

Thanks! ☀
I am putting together a new release.


Implement Entity Control Script (interpreter and system plugin)

This can be complimented by a data system and instructions[] array for supported systems

for example:
{
props: {
 text: {
  lines: [""]
 }
 data: { // initial state of data
  foo: "bar",
  x: 100
 },
 ioController: {
  instructions: [
   { set: [ "foo", "something else"] },
   { call: [ "text.update", "$foo" ] }
  ]
 }
}
}

Looking at using a parser generator for this.. tbd

Its actually going to be more like the Monkey programming language, with input either in the form of ```
let lineOfCode = "this is a statement";  print( lineOfCode );
or

[
let doThing = fn(x, y, z) { return x * y -z; },
print( doThing(10, -1, -3.2) );
]


"Associate groups with developers" should be "Associate groups with members"

[Enter feedback here]
The title doesn't look right, it says "Associate groups with developers" but what it really talks is ""Associate groups with members"
https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-create-groups#-associate-groups-with-developers

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

ID: 2e345002-6ed7-5ec1-f2b6-c040960c6b00
Version Independent ID: 524bfaba-83a1-88d0-5545-c700d8960c40
Content: Manage developer accounts using groups in Azure API Management - Azure API Management
Content Source: articles/api-management/api-management-howto-create-groups.md
Service: api-management
GitHub Login: @vladvino
Microsoft Alias: apimpm

Thanks for the feedback! We will review and get back to you shortly.

Thanks for the wording suggestion, which we'll consider when we next update this article. As noted above, "developers" is the term used in the rest of the article. According to our usual process, I'll now proceed to close this issue.
#please-close


Getting 'CLIENT_ERROR' on web version

I prepare a configuration file according the template in the path of "web/assets/auth_config.json" and run the example, but get
Callback data: {"tag":"885e5899-a955-41a9-a37c-94ecd7fc7158","source":"init","reason":"CLIENT_ERROR"}
Please guide me.

Although after almost 20 times refresh, sometimes I get 'SUCCESS'!!!

Inactivity.

any fix for this ?


Authentication and further Testing

How would you handle REST Authentication on your app?
And would you create a test for each service? What about end to end Testing?
Great work you have there.
Thank you

You can use json web token, or whatever auth method you prefer.
Regarding tests it depends on how you would structure your services.


[firebase-functions] Function calls with boolean parameters throw 'Error: Cannot convert boolean to Ljava/lang/Object; at index 1'

Similar to issue #25, including a boolean parameter in the payload of a firebase functions call results in
'Error: Cannot convert boolean to Ljava/lang/Object; at index 1'
Example code:
let params = {email: this.newUserEmail, invite:false};
let result = await firebase().functions().httpsCallable("user-getByEmail")(params);

Tested with @1.0.0-alpha.34 on Android. No issue on iOS

fixed in https://github.com/NativeScript/firebase/commit/0a0610ddaae92d4973847f85cfa6a7da44113bb8


Add support for map.fitbounds

When it is difficult to calculate the correct zoom level to show an specific area of the map, google maps allow the use of Map.fitBounds. It basically needs only the NE and SW coordinates:
https://developers.google.com/maps/documentation/javascript/reference/3/map#Map.fitBounds
I have added the support for it in my fork, and I would like to do it in the main branch if approved. My only questions is. Should this be added as a separate function? something like def fit_bounds(self, nelat, nelng, swlat, swlng): or as a different way to initialize the map. That means providing NE and SW instead of center_lat, center_lng, zoom.

Agreed, this feature would make fitting the map in the desired bounds way easier than it is right now.

I would also find this highly useful

@keithstellyes
You may want to take a look at this:
https://github.com/enriqueav/gmplot/blob/master/gmplot/gmplot.py#L173
# Call to fit_bounds
# https://developers.google.com/maps/documentation/javascript/reference/map#Map.fitBounds
gmap.fit_bounds(north, east, south, west)

Right as you said that I found this commit and got it working:
https://github.com/vgm64/gmplot/pull/12/commits/2b5b2d634534dd2b31fc8eae566bffdc22a579d5
However that code in that PR is slightly bugged in that SW is supposed to go first, NE.
Thanks either way though! Appreciate it :)

I've just merged this into master in #153, you can set it by passing in a bounds literal when creating a GoogleMapPlotter object:
import gmplot

fit_bounds = {'north':37.832285, 'south': 37.637336, 'west': -122.520364, 'east': -122.346922}
gmap = gmplot.GoogleMapPlotter(37.766956, -122.438481, 13, fit_bounds=fit_bounds)


Installed by the docs but service doesn't start

Description
I used 'snap install' on ubuntu, then copied the systemd service file, updated its binary path to /snap/bin/gitea, and configured the /etc/gitea/app.ini
but the service start (or the command if run manually) shows this error which I don't understand at all, tried as root user too, but it fails like that:
root@ip-10-0-28-215:~# systemctl status gitea.service
● gitea.service - Gitea (Git with a cup of tea)
     Loaded: loaded (/etc/systemd/system/gitea.service; disabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2023-11-30 19:20:43 UTC; 220ms ago
    Process: 10892 ExecStart=/snap/bin/gitea web --config /etc/gitea/app.ini (code=exited, status=1/FAILURE)
   Main PID: 10892 (code=exited, status=1/FAILURE)
root@ip-10-0-28-215:~# /snap/bin/gitea web --config /etc/gitea/app.ini
2023/11/30 19:20:50 ...s/setting/setting.go:96:InitCfgProvider() [F] Unable to init config provider from "/etc/gitea/app.ini": unable to check if "/etc/gitea/app.ini" is a file. Error: stat /etc/gitea/app.ini: permission denied

Gitea Version
Gitea version 1.21.1 built with GNU Make 4.3, go1.21.4 : bindata, sqlite, sqlite_unlock_notify, pam, cert
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
ubuntu 20
How are you running Gitea?
just the binary file from snap install
Database
None

my 'git' user works though
su git -c 'gitea --version'
Gitea version 1.21.1 built with GNU Make 4.3, go1.21.4 : bindata, sqlite, sqlite_unlock_notify, pam, cert

root@ip-10-0-28-215:~# su - git -c 'gitea --version'
Gitea version 1.21.1 built with GNU Make 4.3, go1.21.4 : bindata, sqlite, sqlite_unlock_notify, pam, cert

if i stop using the snap installed gitea, and download the wget binary, it get better error, but still both users get errors to run it
root@ip-10-0-28-215:~# cp gitea /usr/local/bin/gitea
root@ip-10-0-28-215:~# GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini
2023/11/30 19:29:54 ...s/setting/setting.go:180:loadRunModeFrom() [F] Gitea is not supposed to be run as root. Sorry. If you need to use privileged TCP ports please instead use setcap and the `cap_net_bind_service` permission
root@ip-10-0-28-215:~#
root@ip-10-0-28-215:~# su - git -c "GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini"
2023/11/30 19:30:14 ...s/setting/setting.go:96:InitCfgProvider() [F] Unable to init config provider from "/etc/gitea/app.ini": unable to check if "/etc/gitea/app.ini" is a file. Error: stat /etc/gitea/app.ini: permission denied

The error message implies that the gitea process, launched as user=git cannot read /etc/gitea/app.ini
Could you do: iname /etc/gitea/app.ini
It needs to be owned by the user that gitea is run as

FYI, the snap package has some confinement due to its security model. See https://github.com/go-gitea/gitea/issues/27422 for more details.
As for your installation via binary, it's likely because of your permission as the error indicates.

The error message implies that the gitea process, launched as user=git cannot read /etc/gitea/app.ini
Could you do: iname /etc/gitea/app.ini
It needs to be owned by the user that gitea is run as

thanks for the suggestion, I did a chown for git user, but it didn't help
root@ip-10-0-28-215:~# /snap/bin/gitea web --config /etc/gitea/app.ini
2023/12/01 07:53:30 ...s/setting/setting.go:96:InitCfgProvider() [F] Unable to init config provider from "/etc/gitea/app.ini": unable to check if "/etc/gitea/app.ini" is a file. Error: stat /etc/gitea/app.ini: permission denied
root@ip-10-0-28-215:~# ls -l /etc/gitea/app.ini
-rw-r----- 1 git git 111169 Nov 30 19:20 /etc/gitea/app.ini
root@ip-10-0-28-215:~# ls -ld /etc/gitea
drw-r----- 2 git git 4096 Nov 30 19:20 /etc/gitea
root@ip-10-0-28-215:~#

about iname i don't know this command and didn't find in ubuntu, but here's stat output on file and folder, the permissions are 'git' user 🤷
root@ip-10-0-28-215:~# stat /etc/gitea/app.ini
  File: /etc/gitea/app.ini
  Size: 111169          Blocks: 224        IO Block: 4096   regular file
Device: 10301h/66305d   Inode: 3600692     Links: 1
Access: (0640/-rw-r-----)  Uid: (  115/     git)   Gid: (  121/     git)
Access: 2023-11-30 19:29:54.370256201 +0000
Modify: 2023-11-30 19:20:03.744974442 +0000
Change: 2023-12-01 07:52:35.354658646 +0000
 Birth: -
root@ip-10-0-28-215:~# stat /etc/gitea
  File: /etc/gitea
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 10301h/66305d   Inode: 3600689     Links: 2
Access: (0640/drw-r-----)  Uid: (  115/     git)   Gid: (  121/     git)
Access: 2023-12-01 07:52:00.972723352 +0000
Modify: 2023-11-30 19:20:03.748974668 +0000
Change: 2023-12-01 07:52:35.354658646 +0000
 Birth: -

could it be that this new git user cannot access anything inside /etc  at all?  honestly I never encountered an issue like this with a simple webserver software, what is the reasoning behind this permissions design? just curious. it's definitely unusual :)

nevermind, i've run the snap binary and not the downloaded one 😅
here's attempt with standalone binary:
root@ip-10-0-28-215:~# sudo su - git
git@ip-10-0-28-215:~$ /usr/local/bin/gitea web --config /etc/gitea/app.ini
2023/12/01 07:59:53 ...s/setting/setting.go:96:InitCfgProvider() [F] Unable to init config provider from "/etc/gitea/app.ini": unable to check if "/etc/gitea/app.ini" is a file. Error: stat /etc/gitea/app.ini: permission denied

the user really doesn't have access to file itself,
git@ip-10-0-28-215:~$ ls /etc/gitea
app.ini
git@ip-10-0-28-215:~$ ls /etc/gitea/app.ini
ls: cannot access '/etc/gitea/app.ini': Permission denied

despite the chown -R on that folder.  should I set a 'setfacl' on the file or something?

su - git -c "GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini"

So is this one still not working?

oh gosh it was app armor enabled and it only turned off after a reboot 😖  i turned it off and thought it should be okay 😅 .  issue resolved, thanks for all who chimed in! 🙏   (and lol it's pretty embarrassing but if anyone finds this thread in google and wondering what's going on with his ubuntu ec2 where he tries to launch gitea - now you know to add a rule in your app armor settings😁[don't disable it like i did! my server is fully internal. add the proper profile rules. ] )


“rabix-composer” can’t be opened because it is from an unidentified developer.

It looks like the releases for Mac are getting blocked by security preferences.  Maybe not a big deal for people who have the ability to override those preferences on their machine, but a very big deal for those using IT managed hardware.

We will be publishing signed bundles starting with the stable 1.0 release.