text:
ptpAnnounceInterval name and default value

Taking as a reference the latest shared gendoc file (v.220404.1830_AlWe_TH), the description indicates the parameter represents the exponent of a 2^N number.
IEEE 1588-2008 & 2019 specify the announceInterval = 2^(logAnnounceInterval), being logAnnounceInterval an INT8 value (e.g 1588-2019 sec. 8.2.15.4.1).
ITU profile 8275.1 includes (table A.5) as part of its specification the logAnnounceInterval parameter as well.
This way, if the intended use of the parameter is as the exponent to set the 2^N announceInterval, probably makes sense to rename this parameter to ptpLogAnnounceInterval to keep consistency with specifications. Current type defined for the parameter is already INT8.
As for the default value, although defult profile in IEEE specs (e.g section I.3.2 1588-2019) specifies inicialization to 1 and range 0..4, ITU 8275.1 (profile of interest for actual implementation) sets -3 as value for ptpLogAnnounceInterval (inicialization and range for BC/TC/OC). Consider whether to keep current -1 value as default or modify, if more differentiation from the main working value is desired.

I agree to change the name of this attribute to ptpLogAnnounceInterval with (-3..4) as range of values.

Proposal to the 5G-xhaul call on 7th of September 2022:
Name of ptpAnnounceInterval shall be changed to ptpLogAnnounceInterval.
Datatype shall be changed from INT16 to INT8.
Default value shall be changed from -1 to -99.

If the telecom profile to be used is known, it is safer to specify the default values defined in the telecom profile.

If the telecom profile to be used is known, it is safer to specify the default values defined in the telecom profile.

If a device is using the telecom profile from ITU-T then the parameters in LTP::*_PAC are set accordantly.
However, when a certain parameter is not implemented, then the default value out side the "valid" range (valid: depending on the profile) - in this case -99 - should be reported by the device.

Decision made at the 5G-xhaul call on 7th of September 2022:
Name of ptpAnnounceInterval shall be changed to ptpLogAnnounceInterval.
Datatype shall be changed from INT16 to INT8.
Default value shall be changed from -1 to -99.

authors: DanielaSpreafico Nzein demx8as6 eduardoyusta openBackhaul

repo: openBackhaul/synchronization


text:
TR Occupancy / Belegungsprognosen

Belegungsdaten von BLS bereits vorhanden in OJP? --> CAPRE --> OpentransportData --> EFA
Heute gibt es auf OJP 2.0 noch keine Daten
Wann ist es bei SKI+ eingeplant --> hängt von der Prio von den restlichen Features ab

nur für TR? oder auch SER ?
Occupancy Struktur in OJP ist sehr umfangreich. Wir könnten nur
OCC_UNKNOWN, OCC_EMPTY, OCC_MANY_SEATS, OCC_FEW_SEATS, OCC_STANDING_ONLY, OCC_CRUSHED_STANDING, OCC_FULL, OCC_NOT_ACCEPTING_PASSENGERS

je nachdem wie die Erwartungen sind, ist der Aufwand mittel oder gross.

source: gharchive/issue

authors: Flurin-BLS TO-mdv

repo: openTdataCH/ojp-sdk

license: MIT

license_type: permissive

license_source: github-api


text:
Probabilistic structure (bloom-filter-like) or a guaranteed structure?

What document to add
I could not find any information explaining whether this "slim" structure is a probabilistic one or not. Trie is not probabilistic and thus provides guarantees. But in the redame of "slim" there is a mention of FPR (false positive rate) so I wonder whether this is actually a trie-like structure (i.e. all is guaranteed) or rather a bloom-like structuer (i.e. no guarantees).
Additional context
N/A

It can be both: with the Complete option there won't be false positives:
https://github.com/openacid/slim/blob/d27f7e916f6b70fc0b065fb835a7cde5e4a40db9/trie/slimtrie.go#L132-L140
To use it as a filter, set InnerPrefix, LeafPrefix and Complete to false(Complete implies InnerPrefix==true and LeafPrefix==true). Then slim won't store any single label branch in the trie it builds.
With  InnerPrefix==true, it does not reduce a single label branch that leads to an inner node.
With  LeafPrefix==true, it does not reduce a single label branch that leads to a leaf node.
E.g.:
// Complete
InnerPrefix: true
LeafPrefix: true
^ -a-> 1 -b-> $
 `-c-> 2 -x-> 3 -y-> $
               `-z-> $

InnerPrefix: true
LeafPrefix: false
^ -a-> $
 `-c-> 2 -x-> 3 -y-> $
               `-z-> $

InnerPrefix: false
LeafPrefix: true
^ -a-> 1 -b-> $
 `-c-> 3 -y-> $
        `-z-> $

InnerPrefix: false
LeafPrefix: false
^ -a-> $
 `-c-> 3 -y-> $
        `-z-> $```

Ah, thanks for explanation! Could you add it to the readme and specify how the benchmark chart was obtained (wheth with Complete or without)?

Thanks. I think readme.md is now more readable.
Will you also explicitly specify if the charts (ns/Get() and bits/key) in the https://github.com/openacid/slim#performance-and-memory-overhead section were performed with Complete or without?

Will you also explicitly specify if the charts (ns/Get() and bits/key) in the https://github.com/openacid/slim#performance-and-memory-overhead section were performed with Complete or without?

Thanks for reminding me.
The benchmark is done in the filter mode. The data structure that is used in the benchmark is a list of (key,value) and a slim is used as an index to locate a key-value record.

authors: drmingdrmer dumblob

repo: openacid/slim


text:
Add AJAX loading indicator

I've noticed on the staging site that there's sometimes a second or so before the summary information appears because its being requested from the server.
Can you add a loading indicator, e.g. a spinner into the body of the modal. Will avoid a user thinking that there's no information.

Might be my connection, but I'm only getting a loading indicator on the staging site now, no content.
Also can you centre align the image?

Loading and looks centred here, cache?

Am not seeing the loading indicator now, but am seeing summaries. Closing for now.

authors: digitalWestie ldodds

repo: openactive/api-dashboard


text:
Luna County, NM

Contact:
http://www.lunacountynm.us/assessors-office/

Closing as stale - Feel free to open a new issue if someone is actively going after these.

authors: ingalls tlpinney

repo: openaddresses/openaddresses


text:
skip us-mn-scott, add kandiyohi

Looks like we might need to wait a bit for this one to settle. There is a new "OpenData" folder on the root of the endpoint, which is encouraging.

The scott file has failed, which is why I want to skip it. What do I need to do to make this pull request happier?

Get one of us to merge it :smile:. Thanks! Hopefully we can get Scott County back.

Looks like they've moved their stuff behind a proxy:
http://gis.co.scott.mn.us/Proxy/proxy.ashx?http://gis.co.scott.mn.us/scgis/rest/services/Property_Info/PUBLIC_PARCEL_APP_RW/MapServer/25
The proxy uses some ESRI API token to gain access to the backing ESRI endpoint. I don't think our code will handle that as-is.

There is a lot of peer pressure in the metro to open up the data, and I hopefully will hear about it if it happens. Thanks.

Yes, the proxy establishes a login, and once you have a session open you can view the REST endpoint. But that session expires and then you're toast. However, still holding out hope that "OpenData" folder might have a service in it someday.

source: gharchive/pull-request

authors: iandees mmdolbow


text:
CreateResponse fails to create response with new tools format

CreateResponse is not yet aware of new field in responses called tool_calls and returns null as a content in response.

Done in https://github.com/openai-php/client/releases/tag/v0.7.7

authors: chekalsky gehrisandro

repo: openai-php/client


text:
Arguments 'network' and 'seed' are not documented in the docstring of the learn function of deepq.py

Both the arguments network and seed are not documented in the docstring of the learn function of deepq.py. Additionally, the function's docstring contains a reference to an inexistent argument q_func (outdated).

Fixed, thanks!

authors: JulianoLagana pzhokhov

repo: openai/baselines

license: mit

license_source: bigquery


text:
Don't use system libzip

Issue summary
The build can be made more reliable by not attempting to use the system libzip. The build process already downloads libzip into third_party, rather than trying to ensure that the installed version of libzip has the interface we expect, just always build the 3p library and consume it.
For example, on Ubuntu 14.04, the file zip.h does not contain a definition for zip_t. This results in the build failing.
System information

[Operating system]
Ubuntu 14.04
[Python version]
3.6
[Gym Retro version]
06629f649062fb0bf4e81bb217d8bf01f72d83f6

system libzip is now ignored if it's too old.

Cool; thanks for the explanation and fixing the issue! :)

authors: cwgreene endrift

repo: openai/retro


text:
MINIBALL: Memory virtualization

Refer to the vmm-reference project to implement Miniball, and use dragonball-sandbox creats to implement Memory virtualization.
Fixes: https://github.com/openanolis/dragonball-sandbox/issues/182
Signed-off-by: yaoyinnan yaoyinnan@foxmail.com

This PR include https://github.com/openanolis/dragonball-sandbox/pull/178 temporarily.

Hi @yaoyinnan , could you help to rebase this PR?

Hi @yaoyinnan , could you help to rebase this PR?

has been rebased

authors: studychao yaoyinnan

repo: openanolis/dragonball-sandbox


text:
Question: Which template file I should work on to tweak "_parse_response" generated code?

Describe the bug
While the openapi-python-client tool works well for generating code as per the Open API Specification for https://codebeamer.com/cb/v3/swagger/editor.spr , Some times the server sends unexpected response which is outside of the OpenAPI Spec contract.
In such case, For example, Take a situation of HTTP Error code 429,
def _parse_response(
    *, response: httpx.Response
) -> Optional[Union[TooManyRequestsException, TrackerItem]]:
    if response.status_code == 403:
        response_403 = TrackerItem.from_dict(response.json())

        return response_403
    if response.status_code == 404:
        response_404 = TrackerItem.from_dict(response.json())

        return response_404
    if response.status_code == 200:
        response_200 = TrackerItem.from_dict(response.json())

        return response_200
    if response.status_code == 429:
        response_429 = TooManyRequestsException.from_dict(response.json())

        return response_429
    return None

Server has to send an JSON object but it sends string message. This makes
response.json()

to fail.
I would like to handle such a situations via templates , I would like to write code like below,

if response.status_code == 429:

     try:

        response_429 = TooManyRequestsException.from_dict(response.json())
      except JSONDecodeError as ex:
         ....#Do error handling / Log it well

        return response_429

I tried to achieve this behavior by changing jinja templates. I looked into templates/endpoint_module.py.jinja but I am lost.
Question:
Which template I should edit to achieve Json decoder error handling?
To Reproduce
NA
Expected behavior
NA
OpenAPI Spec File
NA
Desktop (please complete the following information):

OS: Ubuntu 22.04.1 LTS
Python Version: 3.10
openapi-python-client version: 0.11.6

Additional context
NA

I think you're looking in the write file, you probably want to edit this block:
{% if parsed_responses %}
def _parse_response(*, response: httpx.Response) -> Optional[{{ return_string }}]:
    {% for response in endpoint.responses %}
    if response.status_code == {{ response.status_code }}:
        {% import "property_templates/" + response.prop.template as prop_template %}
        {% if prop_template.construct %}
        {{ prop_template.construct(response.prop, response.source) | indent(8) }}
        {% else %}
        {{ response.prop.python_name }} = cast({{ response.prop.get_type_string() }}, {{ response.source }})
        {% endif %}
        return {{ response.prop.python_name }}
    {% endfor %}
    return None
{% endif %}

to add your statement around {{ prop_template.construct(response.prop, response.source) | indent(8) }} (and adjust indents appropriately).
To be clear, though, I don't think it's the generated client's job to handle the server misbehaving or the spec being wrong—so this isn't the sort of thing that should be added universally to the generator. Instead, this should be part of custom templates which are unstable—so make sure to pin to an exact version of openapi-python-client if you're going that route.

Thanks @dbanty  , Yes its clear that its not generator's Job. That is why I am looking in Custom templates. I have already used the custom templates to handle datetime related issue.
Ex: datetime_property.py.jinja
{% set transformed = source + ".isoformat(timespec='milliseconds')" %}

Awesome, great! Just wanted to make sure I wasn't accidentally setting false expectations 😅

Thanks for letting me know , I will be careful with custom templates :)
On Thu, Sep 29, 2022 at 8:01 PM Dylan Anthony @.***>
wrote:

Awesome, great! Just wanted to make sure I wasn't accidentally setting
false expectations 😅
—
Reply to this email directly, view it on GitHub
https://github.com/openapi-generators/openapi-python-client/issues/678#issuecomment-1262370424,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB7TGMK7G2FFX7ER335YDUDWAWR5XANCNFSM6AAAAAAQX5WLMU
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

--
Regards,
Bakkiaraj M

authors: bakkiaraj dbanty


text:
Bolus via wizard not appearing in Nightscout

Here are the commits from two iter_pump_hours 4 reports, one loop apart. The first commit adds a bolus wizard entry to history, the second adds the bolus itself to history (presumably the record was created after delivery finished?). Because the bolus has the same timestamp as the already-uploaded bolus wizard entry, it is excluded by nightscout cull-latest-openaps-treatments:
First commit: https://gist.github.com/mddub/f64b5ae8cacbaa1b67b308654450ec46
Second commit: https://gist.github.com/mddub/ec20634e5a579a7225655b715b2bf930
From my openaps.ini:
latest-ns-treatment-time = ! bash -c "nightscout latest-openaps-treatment $NIGHTSCOUT_HOST | json created_at"
format-latest-nightscout-treatments = ! bash -c "nightscout cull-latest-openaps-treatments monitor/pumphistory-zoned.json settings/model.json $(openaps latest-ns-treatment-time) > upload/latest-treatments.json"
upload-recent-treatments = ! bash -c "openaps format-latest-nightscout-treatments && test $(json -f upload/latest-treatments.json -a created_at eventType | wc -l ) -gt 0 && (ns-upload $NIGHTSCOUT_HOST $API_SECRET treatments.json upload/latest-treatments.json ) || echo \"No recent treatments to upload\""
upload = ! bash -c "openaps upload-recent-treatments 2>/dev/null >/dev/null && echo -n \"Uploaded; most recent treatment event @ \" && openaps latest-ns-treatment-time || echo \"Error; could not upload\""

I set these aliases up a long time ago according to the docs. Is there a newer way to upload treatments which prevents this issue?
(Running openaps 0.1.0, oref0 0.1.4, decocare 0.0.23)

I've seen things like this when the history is read and uploaded before the bolus finishes.  The trick for fixing that is checking the bolusing status.
The hack I'm using for that is here: https://github.com/jasoncalabrese/indy-e1b/blob/master/openaps.ini#L3

Sounds like the read history commands (and possibly others?) should check the bolusing (optionally taking a pump-status.json?) and... maybe wait a bit before continuing?

Not sure of it should wait or fail, but does make sense to have a read
history use that takes a status.
On Jun 13, 2016 9:30 PM, "Ben West" notifications@github.com wrote:

Sounds like the read history commands (and possibly others?) should check
the bolusing (optionally taking a pump-status.json?) and... maybe wait a
bit before continuing?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/openaps/oref0/issues/130#issuecomment-225756299, or mute
the thread
https://github.com/notifications/unsubscribe/AAt2J2Uk2RWu2_ZL3PH1hxeJ3qoanA64ks5qLgQkgaJpZM4Iz-ns
.

Thanks @jasoncalabrese, I like your bolusing workaround. Sounds like the right way to fix this is a change to history commands in openaps/decocare, so I'll close this.

authors: bewest jasoncalabrese mddub


text:
wait for bolus to complete and refresh pumphistory after SMB/enact

This makes oref0 refresh pumphistory after an SMB/enact so that it can be displayed more promptly in NS.

only refresh after SMB/enact; wait_for_silence 10 if blousing - would this not refresh after a temp? That's OK if so, just trying to clarify. Otherwise this one looks good to me!

Yes, that is intentional. It also refreshes any time a >30m low temp is still running, even if not new, which is IMO an acceptable side effect for simplicity's sake. If we wanted to instead to modulus math we could, but my first attempt didn't work so I decided not to.

authors: jaylagorio scottleibrand


text:
IPMI test to check channel supported

Reference : https://github.com/openbmc/openbmc/issues/3036

[x] Enumerate network interface and get the active channels
[x] Check the channels are functional or not

In review   https://gerrit.openbmc-project.xyz/#/c/10059/

repo: openbmc/openbmc-test-automation


text:
[Bug]:  OB2 WEB 0.3.1 CLOSES ON IT OWN

This issue respects the following points:

[X] This is a bug, not a question or a configuration issue; Please visit our forum first to troubleshoot with volunteers, before creating a report. The links can be found here.
[X] This issue is not already reported on GitHub (I've searched it).
[X] I'm using an up to date version of OpenBullet2. We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
[X] I agree to follow OpenBullet's Code of Conduct.
[X] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug
Unhandled exception. System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system.
—> System.AggregateException: One or more errors occurred. (An error was encountered while querying information from the operating system.)
—> System.Net.NetworkInformation.NetworkInformationException (0x80004005): An error was encountered while querying information from the operating system.
at System.Net.NetworkInformation.BsdNetworkInterface…ctor(String name, Int32 index)
at System.Net.NetworkInformation.BsdNetworkInterface.Context.GetOrCreate(Byte* pName, Int32 index)
at System.Net.NetworkInformation.BsdNetworkInterface.ProcessLinkLayerAddress(Void* pContext, Byte* ifaceName, LinkLayerAddressInfo* llAddr)
— End of inner exception stack trace —
at System.Net.NetworkInformation.BsdNetworkInterface.GetBsdNetworkInterfaces()
at System.Net.NetworkInformation.NetworkInterfacePal.GetIsNetworkAvailable()
at System.Net.NetworkInformation.NetworkChange.OnAddressChanged(IntPtr store, IntPtr changedKeys, IntPtr info)
zsh: abort dotnet ./OpenBullet2.Web.dll
Reproduction steps
nn
What is the current bug behavior?
When OB2 start working after a hour/s stop working
What is the expected correct behavior?
nn
Version of the client
0.3.1
Type of client
Web client
Environment
- OS: MacOS 12.7.5 (21H1222)
- Virtualization:
- Browser: Chrome Version 126.0.6478.183

OpenBullet2 logs
No response
Client / Browser logs
No response
Relevant screenshots or videos
No response
Relevant LoliCode if needed
No response
Additional information
No response

It seems like it's an issue with other pieces of software too, possibly related to the .NET runtime on MacOS.
https://emby.media/community/index.php?/topic/126585-arm-version-crashing-every-few-days/
I'm pretty sure the code that causes this is the following
https://github.com/openbullet/OpenBullet2/blob/master/OpenBullet2.Web/Services/PerformanceMonitorService.cs#L143-L159
For now I'll try to add a try/catch statement around it, I hope it will work, otherwise I will have to disable network I/O stats for macOS as a whole.

authors: chrislefron openbullet


text:
MH-12998: Clear conflicts when closing “Edit Scheduled Events” modal

When you have conflicts displayed in the “Edit scheduled events”
modal, then close the modal an reopen it again (possibly with
different events and without changing anything), the previous error
message resides.
This commit clears existing conflicts before the modal is closed.
This work was sponsored by SWITCH.

Travis reports failing tests, but I didn't even change any .java files.

I think greg was still working on the travis build at the moment. lets wait a moment and see what happens

@pmiddend @doofy just ignore Buildbot for now.  If Travis is happy then we're happy.  Buildbot is experiencing #189, which has not been solved yet.

Any update on this?

Oh, thanks for the reminder, will look into it today.

Reviewing now…

Seems to work fine now. Thanks for the patch → merged

authors: doofy gregorydlogan lkiesow pmiddend

repo: opencast/opencast


text:
Add Cloud Masking/Detection Algorithm

There is a paper here: https://www.meteoswiss.admin.ch/services-and-publications/publications/scientific-publications/2013/the-heliomont-surface-solar-radiation-processing.html that describes how surface solar radiation is determined for MeteoSwiss, but also includes detecting different types of clouds and creating a cloud mask in SEVIRI imagery.
Detailed Description
Context
This can be quite useful for making our own cloud masks from the raw imagery, or cloud types. The paper also includes an interesting way of correcting for orbital maneuvers of the satellite, to realign the imagery, which might be very helpful.
Possible Implementation
The paper is quite detailed, so possibly just going directly off of that into Satip.

Can you assign me this issue and give me a brief on what and how to do so that i can work on this issue?
Regards

Hi, the details are in the paper linked to in that website, they have their approach to cloud masking that should work here. For adding it to Satip, you could add a cloud_mask file that has the cloud masking algorithm implementation, and add some tests that run on the public Zarrs to see how well it works?
.

i have read those details but when i was bbuilding the project and downloading the data with eumetsat api i have come up with this erroe can you please provide me some information or solution regarding this error.
File "/home/grewal/Satip/venv/lib/python3.10/site-packages/botocore/auth.py", line 418, in add_auth
raise NoCredentialsError()
botocore.exceptions.NoCredentialsError: Unable to locate credentials

Can i get your inputs on this issue?

Hi, sorry for the delay, it seems that you need to log in to AWS for those credentials. That seems like you are using the app.py, which currently does upload to S3 by default. For this, you should be able to use the public google cloud dataset here to get the raw data to use with the cloud masking algorithm.

Also, I would recommend focusing on a single issue @vikasgrewal16 if possible? There are quite a few different potential GSoC contributors who are wanting different good first issues. I've seen you also commented on #231, are you more interested in this one or that one? Or a different one?

Hi @jacobbieker !
I've read the details of the SPARC cloud masking algorithm as mentioned in the reference provided by you. Currently, I'm looking through the properties of the raw data from the shared data bucket and would like to work on the implementation part of the algorithm. I would appreciate it if you could assign this issue to me. Thank you!

Hi @Surya-29, that sounds great!

I'm having some trouble finding attributes necessary for calculating the SPARC score (used for cloud mask). The problem is that these attributes, specifically clear sky/cloud free brightness temperature $T_{cf}$ and background reflectance $\rho_{cf}$ , aren't available in the SEVIRI dataset provided. They can either be calculated (Section 6 Clear Sky Compositing 1) or retrieved from other datasets (All Sky Radiances 2) provided by EUMETSAT. Can I go with the latter option since calculating these attributes might involve fitting a model over the diurnal course? However, the issue with accessing the ASR dataset is that it is only available on the EUMETSAT Data Center (which requires us to order it) and not on the Data Store, so downloading via API is not possible right? @jacobbieker  How should I approach this now?

Ah okay, I would have thought that info would have been in the attributes of the native files. Yeah, for a first pass on getting this in, I think getting some data from the data center, and using that is probably the right way to go for now. We can always try to then add calculating the values ourselves later, as the data center can be quite slow to give data. You are right there is no api access to the data center unfortunately. Another, less ideal option, would be to see if we can find an average value, either for the year or per month, that we could use instead? But not sure if there is that published or not somewhere.

Yes, I'll probably go with averaging for background reflectance $\rho_{cf}$. As for brightness temperature $T_{cf}$, I would prefer to implement the model mentioned in the paper, if possible, since the final $sparc_{score}$ requires at least $T_{score}$ to be calculated. Although this aggregate score cloud masking algorithm could compensate for other missing attributes in $sparc_{score}$ calculation.

I've made progress on implementing the cloud masking algorithm and have committed the changes to my remote repository
( changes ), should I raise a PR even though the functionality of the code is partial?

Where should I add the cloud_mask.py file? Would it be appropriate to create a subpackage in Satip, or do I add it directly under Satip? (Better if we could have it as a subpackage since you've mentioned the possibility of extending the architecture to include other algorithms also,).
How do I handle the data? I've been only using the data values (numpy array) for my convenience, but the final result should be xarray.DataArray type including attribute information, etc., just like what you get from EUMETSAT Cloud Mask Dataset right?
Lastly, is there a specific Area of Interest? Are we focusing only on the European region?

Awesome! I would open a PR as a draft PR even if it's incomplete, and just keep adding to it that way.
Yeah, a subpackage would be really good to have.
Yes, the output should be in an Xarray data format, primarily to keep the coordinates and satellite attribute information, you could probably essentially just swap out the data values in the xarray satellite image with the cloud mask data and it would be good to go.
If it is easier, focusing on the European area of interest is fine for now, but we would want to extend it to work over Africa and with the Indian Ocean imagery as well.

repo: openclimatefix/Satip


text:
New presentation page with partner platforms to raise money for your collective

It would be great to have a page somewhere with the list of ways one collective can bring money in (and link to it from one of the automated onboarding emails, the FAQ, other?)
I'm thinking of CodeFund (@coderberry), Carbonads (@sayzlim), Threadless, Eventbrite, etc.
For each, we should have a logo, picture (e.g. of webpack t-shirt), and links to some of the transactions to different collectives made by those platforms.
As a step 2, it would be great to keep track of those partners and follow how much money each is bringing across all collectives.
@piamancini other partners we should include here?
@alannallama can you start a copy for this?
@cuiki can you come up with a design (following the same template as other marketing pages you've made recently)

Let me know if you need anything from us.

@xdamman Sorry I'm not totally clear about what you mean. Are you talking about income sources through Open Collective such as...

Small recurring donations
Large one-off sponsorship
Event tickets
Gift cards
Reward tiers (ex: selling t-shirts, VIP support hours)

... or is it something else? I don't know what 'partner platforms' are.
Are you thinking about something in the wiki, or a blog post, or...?

I’m more talking about platforms that collectives can use to make more money for their collectives. Basically services like the ones mentioned above that make it easy to get the earnings to your collective. So it’s not about special tiers. It’s more about what other platforms you can use out there that can help you make money for your collective.

authors: alannallama sayzlim xdamman

repo: opencollective/opencollective


text:
Collective URL with Slash

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to create a new collective
Pick Open Source Project
Click on Get Started
Select the repository you want to create a collective for
Enter the collective name
Enter the collective URL but include a slash in it e.g.: your-org/your-collective
Click on Create Collective
Navigate to http://www.opencollective.com/your-org/your-collective to find that it is not found. No way to edit it either.

Expected behavior
Create an opencollective url that would be sub-directoried to your org.
http://www.opencollective.com/your-org/your-collective
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 74.0.3729.169

Thank you for reporting that. We're working on this, will be fixed soon. Closing as duplicate of https://github.com/opencollective/opencollective/issues/2077
In the meantime, please contact support if you need to be unblocked.

Anything that we can do in the meantime? Can you delete that collective so I can re-create it?

We can do support here also :-) Should we edit it to be slimphp or slim?

slim is fine thanks!

Done http://opencollective.com/slim
Looks like you also created an Organization and a User account with the same name. If it was by accident, maybe you want to rename them or delete them.

I'm sorry if these are noob questions but I thought an organization could have collectives. I just followed the regular process when signing up. Do I need a collective? An org? Both?

Normally, you just need one Collective "Slim Framework", whatever the number of repositories. It doesn't make sense to split into multiple collectives.
An Organization at Open Collective is different from the GitHub definition. It's mostly used by companies donating to Collectives. It can be also be used to host (as in fiscal hosting) Collectives.
Finally, the User account is usually under your real name, to show who is administrating and contribution to the Collective.
More info here https://docs.opencollective.com/ or contact support https://opencollective.com/support.

Okay gotcha, then in this case I will change my user to be myself, delete the organization and can we change the collective to be slimphp instead of Slim?
Thank you.


text:
Expense attachments icons are not respecting their container size on Firefox mobile

On mobile:

See https://opencollective.com/captainfact_io/expenses/35329

It looks like it's fixed.

@snitin315 You're viewing an expense where you don't have permissions over the attachments. The bug only seems to affect the preview icon as seen in the screenshot above. I just tested on Firefox Mobile + Android and it's still there.

@Betree : Quick fix for this done by making sure the attachment holder stays the same size. Hope that looks good now. Let me know. 😄

Facing something similar on Safari:

This is still happening. Context:

Latest Firefox mobile on Android
https://opencollective.com/captainfact_io/expenses/64909
Logged in as a collective admin

Still seeing this issue, I'm adding a bounty on it

:trophy: This issue has been completed by @snitin315
To claim the bounty, you can either:

Submit an invoice to https://opencollective.com/engineering/expenses/new (please mention the issue number)
Or ask for an Open Collective gift card of the same value (to donate to other collectives)

authors: Betree SudharakaP kewitz snitin315


text:
Recurring direct debits

Who is your user?
Financial contributors
What are they trying to achieve?
They want to set up a
_I want to set up a recurring bank transfer when contributing to a collective. They do this via direct debit and provide the reference number from the first transfer so that they can contribute periodically.
How are they currently doing this?
They are currently doing this and are putting the reference number for the first transfer, not knowing that the reference number needs to be unique for each bank transfer.
I know we don’t allow recurring bank transfers from the platform, but people can set them up from the banking side via direct debit.
Each manual bank transfer gets given an individual reference number for allocation purposes. Can we give donors wishing to set up direct debit a reference number that will work every month? https://opencollective.freshdesk.com/a/tickets/222083
How well understood is this problem?

[ ] Surfacing: if you feel this is a seed of an idea that needs to be researched.
[ ] Understanding: if you've done some research and feel it is already well understood and ready for shaping.
[ ] Shaping:  if you feel a solution is clearly defined and can be made into a pitch (read more about shaping)
[ ] Pitching: if you feel that it is ready to be presented for prioritisation (read more about pitching)

This was specifically asked for by the Social Change Nest which is based in the UK

@hdiniz can we enable Stripe elements for them?

I enabled the stripe elements for the the-social-change-nest, they now have bacs direct debit as an option for contribution.

@hdiniz thank you! This had been annoying me for a year or so - I can finally remove my (unreliable) self from the donation loop :grin:

@shannondwray : I suppose we can close this given we support Stripe elements now for the collective in question.

authors: Betree SudharakaP hdiniz phlash shannondwray


text:
MTU-1.3: Added new testcases

Added new testcases according to the requirement mentioned in MTU-1.3.2

Pull Request Functional Test Report for #3539 / adf1cc275c1398369aff389ce9bda072b2216d7b
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

MTU-1.3: Large IP Packet Transmission

Cisco 8000E

MTU-1.3: Large IP Packet Transmission

Cisco XRd

MTU-1.3: Large IP Packet Transmission

Juniper ncPTX

MTU-1.3: Large IP Packet Transmission

Nokia SR Linux

MTU-1.3: Large IP Packet Transmission

Openconfig Lemming

MTU-1.3: Large IP Packet Transmission

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

MTU-1.3: Large IP Packet Transmission

Cisco 8808

MTU-1.3: Large IP Packet Transmission

Juniper PTX10008

MTU-1.3: Large IP Packet Transmission

Nokia 7250 IXR-10e

MTU-1.3: Large IP Packet Transmission

Help

Pull Request Test Coverage Report for Build 11492920714
Details

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

Totals

Change from base Build 11492895831:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls

authors: OpenConfigBot coveralls hattikals

repo: openconfig/featureprofiles


text:
new test mpls-1.1 script

Adding the new test mpls-1.1 script for ancx

Pull Request Functional Test Report for #3669 / a5492b9e25819824bf0fa7b1811d4a1462a71db1
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

MPLS-1.1: MPLS label blocks using ISIS

Cisco 8000E

MPLS-1.1: MPLS label blocks using ISIS

Cisco XRd

MPLS-1.1: MPLS label blocks using ISIS

Juniper ncPTX

MPLS-1.1: MPLS label blocks using ISIS

Nokia SR Linux

MPLS-1.1: MPLS label blocks using ISIS

Openconfig Lemming

MPLS-1.1: MPLS label blocks using ISIS

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

MPLS-1.1: MPLS label blocks using ISIS

Cisco 8808

MPLS-1.1: MPLS label blocks using ISIS

Juniper PTX10008

MPLS-1.1: MPLS label blocks using ISIS

Nokia 7250 IXR-10e

MPLS-1.1: MPLS label blocks using ISIS

Help

Pull Request Test Coverage Report for Build 12466879571
Details

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

Totals

Change from base Build 12460989461:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls

authors: OpenConfigBot coveralls ram-mac


text:
Connected file share folder doesn't work

My actions before raising this issue

[ x] Read/searched the docs
[ x] Searched past issues

Problem mounting existing folders as connected
Expected Behaviour
Connected file share folder mounted and working as proposed to the documentation.
Current Behaviour
Hello newbie here. I installed cvat release 1.70 and also tried 1.6.0,  but there is one serious problem.
I cannot access connected file share. I have followed the example of
the manual: https://openvinotoolkit.github.io/cvat/docs/administration/basics/installation/#share-path
and I created the file docker-compose.override.yml for binding an existing folder  and also creating a volume and mounting it as external. Both volumes are not empty, but populated with image files. In both cases when I login into the container, using "docker exec" command, I can see the existing files I have in both volumes with success, but cvat refuses to display them into the tab. It still shows the message: "No Data
Please, be sure you had mounted share before you built CVAT and the shared storage contains files".
I have to say that I've checked the permissions of the folders and the files, and the owner is the superuser of cvat (default: "django"). I have also searched into the issues section in github but no solution until now.
Steps for reproduction:
I create the docker-compose.override.yml and start the container.
I invoke docker-compose for starting the container with the command:
docker-compose -f docker-compose.yml -f docker-compose.override.yml up
My docker- compose.override.yml file:
#docker-compose.override.yml
version: "3.3"
services:
cvat:
environment:
CVAT_SHARE_URL: "Here we share!"
volumes:

cvat_share:/home/django/my_shared_folder:ro # external
cvat_shared:/home/django/sharedfiles:ro  # binded folder
volumes:
cvat_share:
external: true
cvat_shared:
driver_opts:
type: none
device: /home/myuser/cvat_shared/
o: bind

System Information:
My system is a Linux Mint 20.2 Cinnamon. My docker version is Community 20.10.4 . i don't use Docker Swarm.
My linux kernel is 5.11.0-40-generic.
The output of git log -1 is:
commit 2bb8643c1aba53b9ee4fd836b0955340f61d80ed (HEAD -> release-1.7.0, origin/release-1.7.0)
There is no error logs concerning volumes in cvat container. Docker mounts them correctly.
Possible Solution
Fix the bug or modify the documentation.
Next steps
You may join our Gitter channel for community support.

@jstefanis Hi, it looks like your configuration is wrong:
cvat_shared:/home/django/sharedfiles:ro

container path must be /home/django/share. If you want to mount 2 volumes try to use /home/django/share/my_shared_folder and /home/django/share/sharedfiles.

Hello.
You are right. It finally worked!
The connected folders can be mounted under "/home/django/share/" to be available.
I think that it is not really clear in the documentation and a newbie could make mistakes.
Thank you for your time.

Hello,  T have a  same  problem.
docker-compose.yml file:
`cvat_server:
container_name: cvat_server
image: cvat/server:${CVAT_VERSION:-dev}
restart: always
depends_on:
- cvat_redis
- cvat_db
- cvat_opa
environment:
DJANGO_MODWSGI_EXTRA_ARGS: ''
ALLOWED_HOSTS: '*'
CVAT_REDIS_HOST: 'cvat_redis'
CVAT_POSTGRES_HOST: 'cvat_db'
CVAT_SHARE_URL: ''
ADAPTIVE_AUTO_ANNOTATION: 'false'
IAM_OPA_BUNDLE: '1'
no_proxy: elasticsearch,kibana,logstash,nuclio,opa,${no_proxy:-}
NUMPROCS: 1
USE_ALLAUTH_SOCIAL_ACCOUNTS:
command: -c supervisord/server.conf
volumes:
- cvat_data:/home/django/data
- cvat_keys:/home/django/keys
- cvat_logs:/home/django/logs
- cvat_share:/home/django/share:ro
cvat_worker_import:
container_name: cvat_worker_import
image: cvat/server:${CVAT_VERSION:-dev}
restart: always
depends_on:
- cvat_redis
- cvat_db
environment:
CVAT_REDIS_HOST: 'cvat_redis'
CVAT_POSTGRES_HOST: 'cvat_db'
no_proxy: elasticsearch,kibana,logstash,nuclio,opa,${no_proxy:-}
NUMPROCS: 2
command: -c supervisord/worker.import.conf
volumes:
- cvat_data:/home/django/data
- cvat_keys:/home/django/keys
- cvat_logs:/home/django/logs
- cvat_share:/home/django/share:ro
networks:
- cvat
volumes:
cvat_db:
cvat_data:
cvat_keys:
cvat_logs:
cvat_share:
driver_opts:
type: none
device: /mnt/share
o: bind
`
It doesn't  work and has no error, can you help me?

Hello, I have a same problem.
docker-compose.override.yml file:
services:
cvat_server:
labels:
- traefik.http.routers.cvat.rule=(Host(10.10.10.114) || Host(61.160.97.86)) &&
PathPrefix(/api/, /git/, /opencv/, /static/, /admin, /documentation/, /django-rq)
volumes:
- cvat_share:/home/django/share:ro
cvat_worker_import:
volumes:
- cvat_share:/home/django/share:ro
cvat_ui:
labels:
- traefik.http.routers.cvat-ui.rule=(Host(10.10.10.114)
traefik:
ports:
- 8019:8080
- 8090:8090
cvat_vector:
ports:
- '8282:80'
cvat_clickhouse:
ports:
- '8123:8123'
volumes:
cvat_share:
driver_opts:
type: none
device: /data/cvat
o: bind

authors: KDD2018 Monlter azhavoro jstefanis

repo: opencv/cvat


text:
Cannot use mounted volume with s3fs (S3 bucket) with cvat

My actions before raising this issue

[X] Read/searched the docs
[X] Searched past issues

Hi, I've been really trying to get this to work but there is not a lot of documentation and none of the previous issues seem to be the same I have.
What Im trying to achieve is to use another data storage for CVAT, an s3 bucket on AWS for the volume cvat_data. I've also tried using cvat_share with the same results.
I've mounted the bucket using the tool s3fs as state in the documentation and the I tried modifying the docker-compose use that volume instead of the name volume that comes by default.
My docker-compose.yml
cvat_server:
    container_name: cvat_server
    image: cvat/server:${CVAT_VERSION:-dev}
    restart: always
    depends_on:
      - cvat_redis
      - cvat_opa
    env_file:
      - .env
    environment:
      DJANGO_MODWSGI_EXTRA_ARGS: ''
      ALLOWED_HOSTS: '*'
      CVAT_REDIS_HOST: 'cvat_redis'
      ADAPTIVE_AUTO_ANNOTATION: 'false'
      no_proxy: elasticsearch,kibana,logstash,nuclio,opa,${no_proxy}
      NUMPROCS: 1
    command: -c supervisord/server.conf
    labels:
      - traefik.enable=true
      - traefik.http.services.cvat.loadbalancer.server.port=8080
      - traefik.http.routers.cvat.rule=Host(`${CVAT_HOST:-localhost}`) &&
        PathPrefix(`/api/`, `/git/`, `/opencv/`, `/static/`, `/admin`, `/documentation/`, `/django-rq`)
      - traefik.http.routers.cvat.entrypoints=web
    volumes:
      - cvat_data:/home/django/data
      - cvat_keys:/home/django/keys
      - cvat_logs:/home/django/logs
    networks:
      - cvat

...

volumes:
  cvat_data:
    driver_opts:
      type: none
      device: /home/ubuntu/mnt/s3-cvat-bucket
      o: bind
  cvat_keys:
  cvat_logs:

The directory "/home/ubuntu/mnt/s3-cvat-bucket" exist
The s3fs is mounted successfully, it works (I`ve trying creating some files and those are reflected on AWS), is mounted with the allow_other options to avoid issues with permissions.
The mount output is this: s3fs on /home/ubuntu/mnt/s3-cvat-bucket type fuse.s3fs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000,allow_other)

Current Behaviour
When I attempt to run the docker-compose I get the following error:
ERROR: for cvat_server Cannot create container for service cvat_worker_low: failed to chmod on /var/lib/docker/volumes/cvat_cvat_data/_data: chmod /var/lib/docker/volumes/cvat_cvat_data/_data: input/output error
If a use any other folder that I create it works. It seems to be a problem with this mounted folder.
The error seems to be highly related with privileges, and not directly with CVAT I guess. This is the output of the "ls -l" command.
drwxrwxrwx  1 ubuntu ubuntu    0 Jan  1  1970 s3-cvat-bucket-unusuals
I've tried so many things that I dont even remember all. This is all that I've been capable of narrowing down the error.
Some issues that were helpful but didnt help solving the problem https://github.com/opencv/cvat/issues/2263, https://github.com/opencv/cvat/issues/3935, https://github.com/opencv/cvat/issues/1472, https://github.com/opencv/cvat/issues/4965

@Marishka17, could you look at this problem?

Hi @omar-ogm, Could you please try to remove previous volumes, create docker-compose.override.yml file with content
version: '3.3'

services:
  cvat_server:
    volumes:
      - cvat_share:/home/django/share:ro
  cvat_worker_default:
    volumes:
      - cvat_share:/home/django/share:ro

volumes:
  cvat_share:
    driver_opts:
      type: none
      device: /home/ubuntu/mnt/s3-cvat-bucket
      o: bind

and run cvat_server docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d --build cvat_server
Don't use cvat_data volume because we mounted it without ro option and in case of success, additional CVAT files will be written to your s3 bucket.
I can't reproduce this problem on my side and  I have no more idea what can be a problem. I see that bucket mounting is correct, I have the same directory permissions and all work for me. I guess this problem is not related to CVAT. If it's possible, could you please try to reproduce this problem on another machine? (e.g use a virtual machine)

@omar-ogm , I will close the issue. Feel free to reopen if you can provide more information about the issue.

hi @Marishka17, I have the same config, but it dosen't work and has no error. It's unthinkable!
version: '3.3'
services:
cvat_server:
volumes:
- cvat_share:/home/django/share:ro
cvat_worker_default:
volumes:
- cvat_share:/home/django/share:ro
volumes:
cvat_share:
driver_opts:
type: none
device: /home/ubuntu/mnt/s3-cvat-bucket
o: bind


text:
Mounting local files and directories onto the dlstreamer_test container

Hello,
I am trying to mount a directory present on my machine into the docker container: dlstreamer_test, on Windows 10 OS. I referred the tutorial available at: https://www.youtube.com/watch?v=ht4gqt4zSyw to achieve this.
I used the following command:
docker cp C:/Users/ShraddhaM/OneDrive/Desktop/streamlit-docker-master dlstreamer_test:/opt/intel/openvino_2020.3.194/streamlit-docker-master
I also tried this command:
docker cp C:/Users/ShraddhaM/OneDrive/Desktop/streamlit-docker-master dlstreamer_test:/openvino/ubuntu18_data_dev/streamlit-docker-master
I getting the following errors respectively,  for both commands:
Error: No such container:path: dlstreamer_test:\opt\intel\openvino_2020.3.194
Error: No such container:path: dlstreamer_test:\openvino\ubuntu18_data_dev
@nnshah1 @brmarkus Can you please guide me to resolve this?

Sorry, I don't use Docker under MS-Win (yet), only under Linux environments.
Under Linux I use command lines like this:
docker run -it -v /outside/folder1/:/inside/folder1/ -v /outside/writable/:/inside/writable/:rw mycontainer:1.2.3 /bin/bash
=> "mapping" two volumes, the host folder /outside/folder1/ will be available inside the container as /inside/folder1/, and another one where I specify that I want to write/change/add something from within the container.

@brmarkus  Thank you for the solution.

authors: MauryaShraddha brmarkus

repo: opencv/gst-video-analytics


text:
face_recognition_demo: add options to override the FD input size

background: original face detection model have 300x300 input, it could not detect small faces in some use case(e.g, smart classroom).  we need add function to reshape fd-input-shape in demo app to detect more smaller faces.  This commit used to fulfill this requirement

Jenkins please retry a build

Thanks Wovchena's good suggestions. I committed all my changes per your comments.

Jenkins please retry a build

You have made face_detector.py executable. Please revert that; it is not a script, so it should not be executable.

sorry for the mistake. I will correct it.

authors: Wovchena maozhong1 vladimir-dudnik


text:
Add SQL interaction API

This enables the tabular result of a Cypher query to be registered as a named table in the session, and adds a SQL query call to CAPSSession which may refer to such registered tables.

Changed my mind; this is ready for review. The rest will come in a follow-up PR.

Very cool, but I don't think we need the additional CAPSRecords.wrap method.

Changed my mind again, this PR will do on its own.

This depends on the changes made in https://github.com/neo4j/neo4j/pull/10981

I've extracted the dependant bits of this PR to #281 to enable this to be merged. #281 seems like it would need to wait for a while.

repo: opencypher/cypher-for-apache-spark


text:
E2E Step 5: Delete distributed workloads kfdef

Check that MCAD pod is gone
Check that InstaScale pod is gone
Check that KubeRay pod is gone
Should notebook imagestream go away?

/assign @jbusche

Yes @anishasthana, I just don't have the ability to assign or close these issues.

authors: Maxusmusti jbusche

repo: opendatahub-io/distributed-workloads


text:
Aggregate will not Install to App Engine

Migrated to opendatakit/aggregate#75 by spacetelescope/github-issues-import
Originally reported on Google Code with ID 1154
What steps will reproduce the problem?
1. Download ODK Aggregate v1.4.7 windows-installer
2. Insert required information
3. Run

What is the expected output? What do you see instead?

I expect it to load on the Google project I created in Developer

What version of the product are you using? On what operating system?
v1.4.7 on Windows Vista (I know, I'm working on an upgrade, its a nonprofit, emphasis
on "non")

Please provide any additional information below.

Here is the Log:

nable to update:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=ActiveStreetsSurveys&version=1&
400 Bad Request
Client Error (400)The request is invalid for an unspecified reason.

    at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:336)
    at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:287)
    at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:266)
    at com.google.appengine.tools.admin.LoggingClientDeploySender.send(LoggingClientDeploySender.java:47)
    at com.google.appengine.tools.admin.ResourceLimits.remoteRequest(ResourceLimits.java:173)
    at com.google.appengine.tools.admin.ResourceLimits.request(ResourceLimits.java:139)
    at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:505)
    at com.google.appengine.tools.admin.AppAdminImpl.updateAllBackends(AppAdminImpl.java:80)
    at com.google.appengine.tools.admin.AppCfg$BackendsUpdateAction.execute(AppCfg.java:2068)
    at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:337)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:218)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:128)
    at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:124)
com.google.appengine.tools.admin.AdminException: Unable to update app: Error posting
to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=ActiveStreetsSurveys&version=1&
400 Bad Request
Client Error (400)The request is invalid for an unspecified reason.

    at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:517)
    at com.google.appengine.tools.admin.AppAdminImpl.updateAllBackends(AppAdminImpl.java:80)
    at com.google.appengine.tools.admin.AppCfg$BackendsUpdateAction.execute(AppCfg.java:2068)
    at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:337)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:218)
    at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:128)
    at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:124)
Caused by: com.google.appengine.tools.admin.HttpIoException: Error posting to URL:
https://appengine.google.com/api/appversion/getresourcelimits?app_id=ActiveStreetsSurveys&version=1&
400 Bad Request
Client Error (400)The request is invalid for an unspecified reason.

    at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:336)
    at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:287)
    at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:266)
    at com.google.appengine.tools.admin.LoggingClientDeploySender.send(LoggingClientDeploySender.java:47)
    at com.google.appengine.tools.admin.ResourceLimits.remoteRequest(ResourceLimits.java:173)
    at com.google.appengine.tools.admin.ResourceLimits.request(ResourceLimits.java:139)
    at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:505)
    ... 6 more

Reported by ActiveStreets on 2015-06-29 23:41:49

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
jeffisveryhungry@gmail.com
Domain beorse.net has exceeded the max emails per hour (267/250 (106%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from o11.sgmail.github.com ([167.89.101.202]:43332)
by hp159.hostpapa.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89)
(envelope-from bounces+848413-c877-jeff=beorse.net@sgmail.github.com)
id 1dgMCP-000eWj-JZ
for jeff@beorse.net; Fri, 11 Aug 2017 22:30:49 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=kH1nldYS4OEDeBRmuiehA4bm0hs=; b=XkFuqW+5u16YOz+C
qxpa+AzkizzywmHl73loZHbDfZzpT26GlsGhXfEvdAKCq0Q3OhPf9hgOmQ1kkNIs
udAf+HVegjTxs3zNHPNSupbnJTje7onAzRUgjh0SOfs5caDRwnzIimc3h/oLehye
LYGXU2PbDPUnNyAOBkPNE5olMZk=
Received: by filter0576p1mdw1.sendgrid.net with SMTP id filter0576p1mdw1-19803-598E682E-55
2017-08-12 02:30:06.804554289 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17])
by ismtpd0031p1mdw1.sendgrid.net (SG) with ESMTP id KghsbySSThmSrDJ8tsjZag
for Jeff@Beorse.net; Sat, 12 Aug 2017 02:30:06.706 +0000 (UTC)
Date: Sat, 12 Aug 2017 02:30:07 +0000 (UTC)
From: Open Data Kit notifications@github.com
Reply-To: opendatakit/opendatakit reply@reply.github.com
To: opendatakit/opendatakit opendatakit@noreply.github.com
Cc: Subscribed subscribed@noreply.github.com
Message-ID: opendatakit/opendatakit/issue/1155/issue_event/1203484203@github.com
In-Reply-To: opendatakit/opendatakit/issues/1155@github.com
References: opendatakit/opendatakit/issues/1155@github.com
Subject: Re: [opendatakit/opendatakit] Aggregate will not Install to App
Engine (#1155)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_598e682e68be0_5feb3f82a7db5c2c68123";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: opendatakit-bot
X-GitHub-Recipient: jbeorse
X-GitHub-Reason: subscribed
List-ID: opendatakit/opendatakit <opendatakit.opendatakit.github.com>
List-Archive: https://github.com/opendatakit/opendatakit
List-Post: mailto:reply@reply.github.com
List-Unsubscribe: mailto:unsub+000519af332c4f4581a0f9e56a7239331e57ebef3ddc027a92cf0000000115a62a2e92a169ce059c69ee@reply.github.com,
https://github.com/notifications/unsubscribe/AAUZr6yJ0UkH2jVbS2OXaTi2tJTJRQzxks5sXQ4ugaJpZM4O1SQh
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: Jeff@Beorse.net
X-SG-EID: JVRD81wLmvjBgNlAmNtibjEbEEhcPGKEESixoxP2c47S+lAXmLlfD4L5zN6UmE4ys5MHN9AIqTP6jE
rsOT86Zjy6kvsJDbijLmVmxrn3XgWLLok/Ud3rnwzU9SOpgD1FLTKl71GFKI3Xk5Wyt7fFL5tS4nVT
rlv8omKzE3yBY1byJlekUjK/rCrI1K+rd/A3HCuQPpX5Y/Nky05wv68rihLXycjpISXPs4rU2A69mP
A=
----==_mimepart_598e682e68be0_5feb3f82a7db5c2c68123
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #1155.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/opendatakit/opendatakit/issues/1155#event-1203484203
----==_mimepart_598e682e68be0_5feb3f82a7db5c2c68123
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #1155.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_598e682e68be0_5feb3f82a7db5c2c68123--

authors: jbeorse mitchellsundt

repo: opendatakit/opendatakit


text:
FW/child_debug: use multiple sockets

In this case, we're referring to network sockets, not CPU sockets, but triggered by the upcoming changes to better support multiple CPU sockets and massive logical processor counts.
The current implementation used a simple socketpair to communicate between parent and child. This would break if multiple child processes attempted to send their state to the parent and halt at
        // now wait for the parent process to be done with us
        char c;
        IGNORE_RETVAL(read(crashsocket, &c, sizeof(c)));

This PR refactors to use a server socket in the parent application and make each child open its own client socket to send the state to the parent.
On Linux, we use the Unix autobind feature, which works just like UDP sockets. If that fails, we fall back to actual IP/UDP. Both solutions require no clean up after closing the sockets, unlike non-abstract Unix sockets.
Tested on Linux and on FreeBSD.
Linux:
socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3<socket:[1678669]>
bind(3<socket:[1678669]>, {sa_family=AF_UNIX}, 2) = 0
getsockname(3<socket:[1678669]>, {sa_family=AF_UNIX, sun_path=@"d6894"}, [128 => 8]) = 0
setsockopt(3<socket:[1678669]>, SOL_SOCKET, SO_RCVBUF, [3072], 4) = 0
/bin/strace: Process 109058 attached
[pid 109058] socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3<socket:[1681633]>
[pid 109058] bind(3<socket:[1681633]>, {sa_family=AF_UNIX}, 2) = 0
[pid 109058] setsockopt(3<socket:[1681633]>, SOL_SOCKET, SO_SNDBUF, [3072], 4) = 0
/bin/strace: Process 109059 attached
[pid 109059] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x8a9} ---
[pid 109059] sendmsg(3<socket:[1681633]>, {msg_name={sa_family=AF_UNIX, sun_path=@"d6894"}, msg_namelen=8, msg_iov=[{iov_base="\2\252\1\0\3\252\1\0\251\10\0\0\0\0\0\0\251\10\0\0\0\0\0\0\0\0\0\0\v\0\0\0"..., iov_len=48}, {iov_base="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\223\2\0\0\0\0\0\0"..., iov_len=184}, {iov_base="\177\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\200\37\0\0\377\377\0\0"..., iov_len=2696}], msg_iovlen=3, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 2928
[pid 109056] recvmsg(3<socket:[1678669]>, {msg_name={sa_family=AF_UNIX, sun_path=@"bc448"}, msg_namelen=110 => 8, msg_iov=[{iov_base="\2\252\1\0\3\252\1\0\251\10\0\0\0\0\0\0\251\10\0\0\0\0\0\0\0\0\0\0\v\0\0\0"..., iov_len=48}, {iov_base="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\223\2\0\0\0\0\0\0"..., iov_len=184}, {iov_base="\177\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\200\37\0\0\377\377\0\0"..., iov_len=2696}], msg_iovlen=3, msg_controllen=0, msg_flags=0}, 0) = 2928
[pid 109056] sendto(3<socket:[1678669]>, "\1", 1, MSG_NOSIGNAL, {sa_family=AF_UNIX, sun_path=@"bc448"}, 8) = 1

FreeBSD:
23199: socket(PF_INET,SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK,0) = 3 (0x3)
23199: bind(3,{ AF_INET 127.0.0.1:0 },16)        = 0 (0x0)
23199: getsockname(3,{ AF_INET 127.0.0.1:59640 },0x82102119c) = 0 (0x0)
23199: setsockopt(3,SOL_SOCKET,SO_RCVBUF,0x821021194,4) = 0 (0x0)
...
23200: socket(PF_INET,SOCK_DGRAM|SOCK_CLOEXEC,0) = 3 (0x3)
23200: bind(3,{ AF_INET 127.0.0.1:0 },16)        = 0 (0x0)
23200: setsockopt(3,SOL_SOCKET,SO_SNDBUF,0x821020f08,4) = 0 (0x0)
...
23200: SIGNAL 11 (SIGSEGV) code=SEGV_MAPERR trapno=12 addr=0xa84
23200: sendmsg(3,{{ AF_INET 127.0.0.1:59640 },16,[{"\240Z\0\0\0\0\0\0\0n\^D*\b\0\0\0"...,56},{"\0\0\0\0\0\0\0\0\M^D\n\0\0\0\0\0"...,800},{"\M^?\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,2176}],3,{},0,0},MSG_NOSIGNAL) = 3032 (0xbd8)
23199: recvmsg(3,{{ AF_INET 127.0.0.1:30227 },16,[{"\240Z\0\0\0\0\0\0\0n\^D*\b\0\0\0"...,56},{"\0\0\0\0\0\0\0\0\M^D\n\0\0\0\0\0"...,800},{"\M^?\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,2176}],3,{},0,0},0) = 3032 (0xbd8)
23199: 23199: sendto(3,"\^A",1,MSG_NOSIGNAL,{ AF_INET 127.0.0.1:30227 },16) = 1 (0x1)
...
23199: sendto(3,"\^A",1,MSG_NOSIGNAL,{ AF_INET 127.0.0.1:30227 },16) = 1 (0x1)

I'm thinking of a wholly-different approach for this, to using a pipe + futex.

repo: opendcdiag/opendcdiag


text:
FW: rewrite wait_for_child() as wait_for_children()

We only start one child for now, but now we can wait for more than one.

This looks good. Cannot tell for the Windows part though.

"It works" suffices for me. We will need to get back to it when we get more than 64 child processes.


text:
Remove deprecated npm config definition always-auth

When running the tasks test in GitHub actions we run into the following error when using the npm-node18-toolset:
npm ERR! `always-auth` is not a valid npm option
(more details here: https://github.com/opendevstack/ods-pipeline/actions/runs/4807341283/jobs/8557135297#step:16:2872)
The npm team removed the config definition always-auth with release v7.11.1 (changelog) and the node18 base image seems to now use a higher version than that.
We should remove the following line from the build script:
https://github.com/opendevstack/ods-pipeline/blob/4a8716535d51acb099a81b6619c4c2f747896f77/build/package/scripts/build-npm.sh#L74

The npm team removed the config definition always-auth with release v7.11.1 (changelog) and the node18 base image seems to now use a higher version than that.

Thanks Henning for figuring this out. Breaking change in a patch version ... no comment.

Breaking change in a patch version ... no comment.

It seems to be a common theme with npm ... we might want to sponsor them a training in SemVer 😄

authors: henninggross michaelsauter

repo: opendevstack/ods-pipeline


text:
Command "export" is deprecated, use the oc get --export

update oc cli commands used on scripts to not get deprected messages and wrong behaviours
also related to issue: https://github.com/opendevstack/ods-jenkins-shared-library/issues/109

I think this might get removed completely in 4.1, need to check that.

then we just keep it as it is for now? I will wait answer from your check!
I am just popping this issue since the script seems not fully work 100%, might still be related to SA and rolebindings...

for now I just can confirm that the deprecated export command behaves different, for sure it gets less data... and that might be the issue we are facing now

Yes the behaviour is different. I just know that export is using something from upstream Kubernetes, and that is going to be removed so OpenShift is following suit.
I think we need to tackle this issue soon - once there is an easy way to install Openshift 4.1 locally to play around with it and see what breaks.

authors: gerardcl michaelsauter

repo: opendevstack/ods-project-quickstarters


text:
doc(yf): add distributed_rl_eng.rst

translate distributed_rl_zh.rst

wrong operation

repo: opendilab/DI-engine-docs


text:
Analysis api

Closes #625
This is an initial, crude implementation of the oft-discussed higher-level api.
Expect many API changes, and please provide feedback to help us evolve it!

Current dependencies on/for this PR:

main

PR #750   👈

This comment was auto-generated by Graphite.

repo: opendp/opendp


text:
Use sudo hostapd/hostapd/hostapd beacon.conf and Get an error!

Hi,I compiled the program,  used the "sudo hostapd/hostapd/hostapd beacon.conf" in raspberry 4b  ,and find the error:Configuration file: beacon.conf
rfkill: WLAN soft blocked
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr d8:3a:dd:da:a1:7b and ssid "DroneIDTest"
Failed to set beacon parameters
wlan0: Could not connect to kernel driver
Interface initialization failed
wlan0: interface state COUNTRY_UPDATE->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
How could i solve it?
Many thanks!

The "rfkill" line looks suspicious. From the readme of the repo:
"Check that there is nothing preventing the usage of the Wi-Fi HW by running the tool rfkill. Any SW block should be possible to unblock via the same tool."

repo: opendroneid/transmitter-linux


text:
ci: e2e refinements 1

Fix scripts/e2e-cluster-dump.sh for

Readability and maintainability
Generation of logs in directories

Fix scripts/e2e-test.sh to

Support generation of logs in directories

Move tests source from nighlty sub directory to top level

Pretty much rewritten  scripts/e2e-cluster-dump.sh so probably best reviewed as a new rather than comparing with previous version.

bors try

bore merge

bors merge

repo: openebs/Mayastor


text:
fix(rebuild): connect the io log when detaching

When we detach a device, ensure that the io logs are connected. This usually happens on the fault path, however this change ensures that this happens during the detach itself and thus hardening it against races.

bors merge

repo: openebs/mayastor


text:
Switch off of deprecated pkg_resources library

Background
The pkg_resources library, used by XBlock to load static assets, is deprecated. The removal timeline is unknown.
XBlock uses pkg_resources in a couple places.
XBlock also recommend pkg_resources in its docs: https://edx.readthedocs.io/projects/xblock-tutorial/en/latest/anatomy/python.html
To do
First, choose a new resource loading interface. Options:

Use importlib.resources. Unfortunately, this will become deprecated in Python 3.11 and replaced with a yet-to-be-determined interface.
Wait until Python 3.11, and then switch to the 3.11 replacement.
Merge xblock-utils into this repository. That library provides a ResourceLoader abstraction; adopt that.

Then:

Update the docs to recommend the new interface.
Update any uses of pkg_resources in this repo.
Reach out to XBlock maintainers (including maintainers of edx-platform, which defines several XBlocks!) to request that they switch from pkg_resources to the new interface.

Related

https://github.com/openedx/XBlock/issues/675
https://github.com/openedx/XBlock/issues/676

Its a duplicate story of following
https://github.com/openedx/XBlock/issues/676

authors: farhan kdmccormick

repo: openedx/XBlock


text:
Proposal Date
2023-12-19
Target Ticket Acceptance Date
2023-01-10
Earliest Open edX Named Release Without This Functionality
Redwood 2023-04
Rationale
Codecov does not work OOTB for most repositories created using this cookiecutter and most people remove it once their repository has been created. There are known alternatives that do not require additional steps for setup.
Removal
https://github.com/openedx/edx-cookiecutters/blob/8180c89864d9d596e57c0bec8fe4ac8daedd7081/cookiecutter-xblock/{{cookiecutter.repo_name}}/.github/workflows/ci.yml#L39
https://github.com/openedx/edx-cookiecutters/blob/8180c89864d9d596e57c0bec8fe4ac8daedd7081/cookiecutter-django-app/{{cookiecutter.repo_name}}/.github/workflows/ci.yml#L39
Replacement
TBD
Deprecation
Should not be needed
Migration
Should not be needed
Additional Info
No response

I'm fully in favor of removing a dependency on a 3rd party service that doesn't work (and manages to break our builds , too), but enforcing code coverage still strikes me as being as important as it's always been. Rather than totally ripping out the coverage check, could we set it up to enforce some generally-reasonable threshhold by checking the output of the coverage.py? Teams could still lower the threshhold or rip it out, but at least they'd be start out with a reasonable default coverage check.

Updated description with a possible alternative: https://github.com/py-cov-action/python-coverage-comment-action

I'd really like this to get someone's attention, because the failing uploads that breaks PRs is a frustration that many people are probably feeling. I guess we have scripts where we might be able to quantify. I think this issue deserves a shorter term solution, which either means someone [Axim? Community? Arch-BOM?] picking up this work so the long term is now, or implementing a retry or some other purely short term solution. Thoughts?

As I understand it:

This is an issue for people creating new repos. Existing repo are already working around it, either by using something else or by disabling coverage-checking altogether.
The short-term solution would be to simply remove codecov from the cookiecutter.
The medium-term solution would be to either:

make codecov work OOTB in the cookiecutter,
replace it with something else in the cookiecutter.

The long-term solution would be to go back through the existing repos and apply the medium-term solution, with the end-goal of having the same coverage tool running on all Python repos.

Given that this only affects new repositories, my inclination is that it's not high-priority for Axim. Right now, our most acute challenge is ensuring a state of good maintenance for all Core Product repositories, which is already an overwhelming list.

@kdmccormick: I see. I didn't realize this issue was in edx-cookiecutters, and I was really asking about existing repos, like openedx-events where I saw a recent codecov upload failure.

Existing repo are already working around it, either by using something else or by disabling coverage-checking altogether.

So I guess for openedx-events, the options is to disable the check altogether, or use something else? Is there an example of the something else? This ticket lists a hackathon project as a potential replacement, but I'm not sure how far that got. Ideally we would not disable altogether without a replacement. I imagine there must be more repos with this problem.

We actually added documentation to the developer docs on how to set up and use a CodeCov alternative: https://docs.openedx.org/en/latest/developers/how-tos/use-python-coverage-comment.html
2U uses it in one of our private repos and it seems to be working acceptably.

@robrap Ah, I was confused too. I didn't realize that this was an active issue for existing repos.
Those docs look great @dianakhuang ! Would you both agree that:

As a short-term unblocker for affected repos, let's circulate that document around.
For the medium-term fix, the cookiecutter should be updated to use python-coverage-comment instead of codecov.
For the long-term fix, we should ticket up the work of moving all Python repos off of codecov.

This has passed the acceptance date, and I think we're all in agreement that we should move off CodeCov at least by default.

Note that the ticket https://github.com/edx/edx-arch-experiments/issues/528 got blocked/abandoned due 2U issues.

openedx-events is attempting to use the replacement here: https://github.com/openedx/openedx-events/pull/323

We don't yet have a good plan for replacing JS coverage, and we need to figure out if we'll use codecov's bundle asset size tooling or if we need a different alternative.

authors: dianakhuang feanil kdmccormick rgraber robrap

repo: openedx/edx-cookiecutters


text:
Tutor plugins

Ralph plugin for Tutor

ClickHouse plugin for Tutor - in progress

SuperSet plugin for Tutor - in progress, Jill

These plugins exist and updates to them are being managed separately now!

repo: openedx/openedx-oars


text:
feat: add dependency management and upgrade Makefile

Description
This PR adds dependency management and upgrades the Makefile accordingly. And adds a CI workflow to publish to pipy
This opens the door for a pre-commit hook (for formatting).

Thanks for the pull request, @Ian2012!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.

There should be a constrain for tutor>=15

Resolved

Added more workflows for tests and to upgrade python dependencies

@Ian2012 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.

repo: openedx/tutor-contrib-ralph


text:
Move to Cobra from go flags

Signed-off-by: Alex Ellis (OpenFaaS Ltd) alexellis2@gmail.com
Description
Moving to Cobra allows for additional commands to be added
easily.
How Has This Been Tested?

Tested e2e with k3d
/usr/local/bin/k3d create --server-arg="--no-deploy=traefik"
export KUBECONFIG="$(/usr/local/bin/k3d get-kubeconfig --name='k3s-default')"

go build && ./ofc-bootstrap apply --file example.init.yaml

Whilst using K8s 1.16 I fixed an issue with of-builder.
import-secrets is now patched via the API instead of kubectl patch
For the old syntax, users get a hint on what to use instead:
./ofc-bootstrap --yaml example.init.yaml
Error: a breaking change was introduced, you now need to use ofc-bootstrap apply --file init.yaml

Checklist:
I have:

[x] checked my changes follow the style of the existing code / OpenFaaS repos
[ ] updated the documentation and/or roadmap in README.md
[ ] read the CONTRIBUTION guide
[x] signed-off my commits with git commit -s
[x] added unit tests

cc @csakshaug

CI Scripts need updating to new command syntax

I will test this tomorrow locally

Thanks for letting me know about the unused methods, I am not worried about merging them at present, they can be removed easily later.
How was the functionality? Does TLS / OAuth still work as a setting?

I have tested:
No TLS, TLS, no Oauth, Oauth
I got no errors and the cert requests and endpoints were configured correctly.
this was done in k3d on my laptop so no real certs were generated, but the requests were fired etc.
This looks good. LGTM

Thank you

authors: Waterdrips alexellis

repo: openfaas-incubator/ofc-bootstrap


text:
Functions with same name in different stacks collide

Expected Behaviour
It should be possible to deploy functions independently into two separate openfaas stacks in the same swarm while avoiding name collisions.
Current Behaviour
I have two openfaas gateways in two different docker swarm openfaas stacks in the same swarm. When I deploy a function into the gateway of the first stack, a function service  gets created for that gateway and works fine. But when I deploy the same function (same name) into the other gateway, then the first gateway loses the connection to that function. Redeploying the function into the first gateway does not help. In the gateway logs I see:
2019/04/16 09:20:10 error with upstream request to: , Post http://my-function:8080: dial tcp: lookup my-function on 127.0.0.11:53: no such host
bemk_gateway.1.2jy84fkyzxz9@m1rrzsbem01t    | 2019/04/16 09:20:10 Forwarded [POST] to /function/my-function - [502] - 0.004523 seconds

Ultimately I had to remove all functions and all openfaas stacks and recreate everything from scratch to get it working again.
My understanding is that function services do not become part of a stack. The gateway finds its function services by means of a label. Here is my function in faas-cli describe:
Name:                my-function
Status:              Ready
Replicas:            1
Available replicas:  1
Invocations:         0
Image:               bem-docker-registry.kvnurs.intra:443/my-function:latest
Function process:
URL:                 http://bemk.kvnurs.intra/function/my-function
Async URL:           http://bemk.kvnurs.intra/async-function/my-function
Labels:              function : true
                     com.openfaas.function : my-function

I assume the gateway finds its functions using the com.openfaas.function label. On deployment the gateway apparently attaches the function to its own network.
Now, when the gateway in the second stack deploys the same function, it seems to disconnect the function from its current network  and attaches it to its own network (and probably does other things which cause more confusion).
Possible Solution
A solution must allow the function to be a separate entity for docker if it is deployed into a different stack. The function must become a separate service for each stack, which scales independently etc. The only way to achieve that is a different service name, I am not aware that service labeling alone can help us here.
As long as the service has the same name in both stacks, it is probably not possible to achieve that.
Suggestion:
The openfaas yml format could introduce a name field below each function key whose value  supports env variable substitution. The gateway uses the service key to build the service url and the name field to create the service name in docker.
Docker has done similar things with name fields for configs and volumes, so maybe that is not so far-fetched after all.
Workaround:
Create separate stack.yml files with separate service names prefixed for each stack and let callers use the appropriate url for each stack, i.e. http://localhost:8080/functions/develop_my-function.
Steps to Reproduce

deploy the openfaas stack twice under two different stack names. (To make this possible, let the gateway of the second stack run under a different port)
use faas-cli to deploy a function into the gateway of the first stack. Check that it works properly
deploy the same function into the gateway of the second stack

Result:

faas-cli list shows that both stacks know the function, fass-cli describe even claims that the function is ready in both stacks
the function does not work, rather you get a 502
redeploying the function into the gateway of the first stack does not fix it. I had to delete all functions and all stacks and deploy a new stack from scratch to get it working again with a single stack.

Context
In my scenario we have used swarm stacks for staging. Each swarm stack is  a different stage (stages as in development - acceptance test etc. where placement constraints are used to distribute the containers to separate nodes depending on the stage).
Your Environment

FaaS-CLI version ( Full output from: faas-cli version ):

 commit:  87ca614cfe27c4cf2975f7629992c1351b18c2bc
 version: 0.8.8

Docker version docker version (e.g. Docker 17.0.05 ):

Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.10.7
 Git commit:        e68fc7a215d7
 Built:             Wed Dec 19 10:23:04 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.7
  Git commit:       e68fc7a215d7
  Built:            Tue Aug 21 17:16:31 2018
  OS/Arch:          linux/amd64
  Experimental:     false

Are you using Docker Swarm or Kubernetes (FaaS-netes)?
Swarm

Operating System and version (e.g. Linux, Windows, MacOS):
Linux Suse SLE12 sp 4

Link to your project or a code example to reproduce issue:
n/a yet

I think you are right about needing to add a prefix to the service name, but I think i would rather see tis as something that is configured in the gateway and applied to all functions that are deployed through it instead of extending the yaml.  This seems like something that the function author should not really need to care about and that the gateway can solve.  It would be even better if the gateway could infer this from the Docker stack in someway so that it can automatically be created without any additional configuration flags

Hi @dschulten thanks for your interest in faas-swarm.
Can I ask if you are using exactly the same Docker network and network label for both stacks?
Can you give step by step bash commands so that one of us can reproduce what you're seeing?
Thanks
Alex

You may also be interested in OpenFaaS Cloud which scopes or namespaces functions to a user-account or organization/project. This may be more suitable for your needs than deploying OpenFaaS to the same set of nodes or same Swarm cluster multiple times.

@LucasRoesler that was my first thought, too, but I wasn't sure if a service should know in which swarm stack it is running from an architectural point of view. OTOH if an openfaas stack had a name - which could be passed with faas-cli deploy or a top-level name key in stack.yml , there would be no dependency on swarm apis.

@LucasRoesler If we depend on the swarm api anyway, it's fine. Roughly where in the code would that happen?

The handling of the service name would need to be updated in each of the handlers, which are conveniently located in handlers/. We would need to update to add/remove the name prefix as appropriate

@alexellis what do you think? We could update the the swarm provider so that the service name in docker has a prefix/namespace per gateway.  This prefix would be completely internal and would not be exposed to the user in urls or api responses.

@LucasRoesler I just hit this issue and checked out faas-swarm handlers. The suggestion you proposed seems reasonable to me.
It would avoid polluting function names with prefixes at the caller side.

authors: LucasRoesler alexellis davidecavestro dschulten

repo: openfaas/faas-swarm


text:
Failure on /guides/new

Just went to create a guide but get this error at page load so the crop typeahead (I'm presuming it's one)  doesn't work, and the 'Choose crop to continue' button never un-disables.
Error: [$injector:unpr] http://errors.angularjs.org/1.3.0-beta.19/$injector/unpr?p0=tProvider%20%3C-%20t%20%3C-%20autoFocusDirective
    at Error (native)
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:3:25891
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:4:7958
    at Object.n [as get] (https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:4:6975)
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:4:8031
    at n (https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:4:6975)
    at Object.s [as invoke] (https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:4:7233)
    at https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:4:12129
    at r (https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:3:26273)
    at Object.<anonymous> (https://openfarm.cc/assets/application-aca79496e6ca574a833bf1523ba469ec.js:4:12096)

Yep this one has been fixed in #608, but its not yet on production.

authors: andru roryaronson

repo: openfarmcc/OpenFarm


text:
Add security warning for disabled logs

Description

This pull request adds a startup warning when the log level is set to 'none'. This change helps to ensure that developers are aware of the potential risks when logs are turned off.

References

fixes #1703
Review Checklist

[x] I have clicked on "allow edits by maintainers".
[x] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above] - https://github.com/openfga/openfga.dev/pull/776
[x] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

Codecov tests are failing, because codecov token not found (because PR is from a fork)

I've also added 2 tests for the same in 2b52336

CI is finally green now 😍

What's the remaining action item here? What's stopping us from merging & releasing it?

Bump to this @miparnisari

repo: openfga/openfga


text:
g++ compiler

I know this is a noobie question but please provide the g++ command line code which includes the g++ -l -I to compile a new cpp file i have written ,im getting a lot of errors doing it myself after manually including all the packages .

You may be able to find some answers by searching the OpenFHE forum. We encourage OpenFHE users to post their questions there.
For your question: you may find some answers on this documentation page.

authors: AniD-z dsuponitskiy

repo: openfheorg/openfhe-development


text:
Finetuning for onboarding darkmode

What

[ ] The next page button has too less opacity
[ ] The title is dark on dark on several pages
Note: you can reset onboarding quickly from the dev mode (see README to enable it)

Part of

#684
#561

Screenshot/Mockup/Before-After

I was looking the same bug and thought of raising an issue,I would be able to work on this
Assign me plz

repo: openfoodfacts/smooth-app


text:
fix: 3854 - fastlane - use "xcodes" syntax instead of "xcversion"

What

Minor fix in order to avoid using deprecated build settings.

Fixes bug(s)

Fixes: #3854

Codecov Report

Merging #3855 (3dc5ac7) into develop (9d15114) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #3855   +/-   ##
========================================
  Coverage    10.73%   10.73%
========================================
  Files          273      273
  Lines        13476    13476
========================================
  Hits          1447     1447
  Misses       12029    12029

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

We'll see if it works...

authors: codecov-commenter monsieurtanuki


text:
feat: 4031 - different layout for "empty" product list page

Impacted files:

app_en.arb: removed the ! from the "start scanning" label
app_fr.arb: removed the ! from the "start scanning" label
product_list_page.dart: FAB instead of custom button; different layout for svg and text

What

Different layout for "empty" product list page

FAB instead of custom button
Different layout for svg and text

Screenshot

Fixes bug(s)

Fixes: #4031

Codecov Report

Merging #4052 (304ab7a) into develop (a007367) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop    #4052   +/-   ##
========================================
  Coverage    11.00%   11.00%
========================================
  Files          270      270
  Lines        13369    13364    -5
========================================
  Hits          1471     1471
+ Misses       11898    11893    -5

Impacted Files
Coverage Δ

...pp/lib/pages/product/common/product_list_page.dart
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


text:
Allowing for one sample per plot in the center

I am trying to classify Landsat pixels and assign just one value (30 meter plots with one sample); however, the samples seem to start from a plot corner. Can we please add functionality to add just one sample per plot in the center on the project design page?

As a temporary way to accomplish this, you can select gridded samples, and set the sample resolution to a value much greater than the size of the plot shape.

Was this ever resolved? The random and gridded sample distribution options should default to placing one point in the center of the plot.

authors: KMarkert lambdatronic snasaio

repo: openforis/collect-earth-online


text:
Fix geoObject visibility method

Remove _visibility in geoObject add method, event non visible geoobjects get into handler
Add shader uniform visibility flag and use with opacity or discard cases inside geooject shader

Done

authors: Zemledelec pavletto

repo: openglobus/openglobus


text:
将revision版本符号发布到Maven中央仓库，导致不能拉取依赖。

问题支持
如果我的项目也定义revision，而hippo4j-spring-boot-starter也定义了revision，并且把revision提交到中央仓库，这将导致不能拉取依赖，因为revision定义使用了我的项目的revision值，而不是1.4.3-upgrade 。
https://repo1.maven.org/maven2/cn/hippo4j/hippo4j-spring-boot-starter/1.4.3-upgrade/hippo4j-spring-boot-starter-1.4.3-upgrade.pom

没明白你的问题，你的项目 revision 和 hippo4j 没关系吧

会导致找不到依赖。@pirme

有时候 Pom 报红不代表运行有问题，实际运行中会出现问题么

编译都不通过，因为找不到依赖。例如我的revision 是1.0，但是hippo4j-spring-boot-starter并没有1.0，所以找不到依赖。

ok，有时间我试下。现在的解决方案就是，你把标记了 revision 的依赖，在你 pom 里重新依赖下我认为就可以了。如果确实有问题，下个版本修复该问题。

好的。

会导致找不到依赖。@pirme

这里使用 ${project.version}会更合适点吧

@baymax55 是的，你有兴趣提个 PR 修复下么

authors: HuangDayu baymax55 pirme


text:
Provide ol.source.FixedElement

Similar to #1085, but in the case of a fixed element, the renderer does not apply any transform to the element.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Closing this due to lack of activity.


text:
Allow Select interaction to stop event propagation

Is your feature request related to a problem? Please describe.
I think there are multiple use cases for the Select interaction to be able to stop propagation on the click event in some circumstances.
One use case I have in mind is when multiple Select interactions are active on the map. I would like to be able to give one Select interaction priority so that if it handles the click event, then it stops the click event from propagating so it doesn't 'fall through' to the other Select interaction(s).
Describe the solution you'd like
I think the ideal way to support this might be to update PluggableMap to respect MapBrowserEvent.stopPropagation/propagationStopped in handleMapBrowserEvent:
https://github.com/openlayers/openlayers/blob/f3ad86e8e4808da510303aa637d4243a748eb076/src/ol/PluggableMap.js#L1031-L1034
That would allow listeners to "select" on a Select interaction to call stop propagation on the mapBrowserEvent:
let select = new Select();
select.on('select', function(e) {
     // stop downstream listeners from handling this event
     e.mapBrowserEvent.stopPropagation();
});
map.addInteraction(select);

Of course this would also allow other MapBrowserEvent listeners to also use stopPropagation, which I think would be expected behavior. I think this could make the event handling more consistent throughout.
If this sounds like a nice enhancement, I would be happy to submit a PR for it.

For completeness, I'll mention... I also considered that we could have the Select interaction return the propagation value from dispatchEvent here:
https://github.com/openlayers/openlayers/blob/fb9c239d726cb002c4f97af2aceaf18b291f36da/src/ol/interaction/Select.js#L512-L522
Something like:
 if (selected.length > 0 || deselected.length > 0) {
   const propagate = this.dispatchEvent(
     new SelectEvent(
       SelectEventType.SELECT,
       selected,
       deselected,
       mapBrowserEvent
     )
   );
   return propagate !== false;
 }
 return true;

This option would also fulfill the use case specifically for the Select interaction. I thought the changes in PluggableMap were the better option. it wasn't clear to me that stopping propagation on the Select event should stop the underlying mapBrowserEvent.

repo: openlayers/openlayers


text:
A point style with a rotated icon is in the wrong position for VectorTileLayer when pixelRatio > 1

Describe the bug
Rotating the style of a point element causes it to shift from the correct position if the map's pixelRatio is greater than 1
To Reproduce
Steps to reproduce the behavior:

OL version 6.5.0,
6.4.3 is working only in constrainResolution is true
Create a map object with pixelRatio and a vectorTileLayer layer

const map = new Map({
  target: "map",
  pixelRatio: 1.25, // > 1
  layers: [
    new TileLayer({
      source: new OSMSource()
    }),
    vectorTileLayer
  ],
  view: new View()
});

Create the vectorTileLayer layer like this:

const vectorTiles = new VectorTileLayer({
  source: new VectorTileSource({
    format: new MVT(),
  }),
  style(feature) {
    const coords = feature.getGeometry().getFlatMidpoint();
    const style = new Style({
      stroke: new Stroke({
        color: "green",
        width: 5
      })
    });

    const styleArrow2 = new Style({
      geometry: new Point(coords),
      image: new Icon({
        src: "arrow.svg",
        rotateWithView: true,
        color: "blue",
        scale: 2
      })
    });
    const styleArrow3 = new Style({
      geometry: new Point(coords),
      image: new Icon({
        src: "arrow.svg",
        rotateWithView: true,
        color: "red",
        scale: 2,
        rotation: Math.PI * 2 // should be applied after full rotation
      })
    });

    return [style, styleArrow2, styleArrow3];
  },
  renderMode: 'image',
});

See error

Expected behavior

@mike-000, would you be able to take a look at this? Thanks in advance.

@mike-000, would you be able to take a look at this? Thanks in advance.

Integer pixel ratios > 1 work correctly.  The problem is related to fractional pixels ratios (including < 1) in triple combination with renderMode: 'image' and declutter: false (there is no problem with hybrid or vector render modes or when decluttering).
The problem became more apparent with 6.4.4-dev.1599475256503 which corresponds to PR #11521
Previously icons overlapped as expected when opening at integer zoom levels https://codesandbox.io/s/vector-tile-info-forked-4u2ty but the problem can be seen when using mousewheel zoom.
With 6.4.4-dev.1599475256503 https://codesandbox.io/s/vector-tile-info-forked-c5xlm it can be seen even at integer zoom levels.

Integer pixel ratios > 1 work correctly.  The problem is related to fractional pixels ratios (including < 1) in triple combination with renderMode: 'image' and declutter: false (there is no problem with hybrid or vector render modes or when decluttering).
The problem became more apparent with 6.4.4-dev.1599475256503 which corresponds to PR #11521
Previously icons overlapped as expected when opening at integer zoom levels https://codesandbox.io/s/vector-tile-info-forked-4u2ty but the problem can be seen when using mousewheel zoom.
With 6.4.4-dev.1599475256503 https://codesandbox.io/s/vector-tile-info-forked-c5xlm it can be seen even at integer zoom levels.

Thanks for the investigation, @mike-000. So there are quite a few corner cases. Do you have an idea what the problem could be, and maybe even create a pull request? I think we'll also need more rendering tests, with simple tiles where we know exactly what's in there.

This also affects labels, and when incorrectly placed both labels and images are incorrectly scaled.

The transforms produced by https://github.com/openlayers/openlayers/blob/main/src/ol/render/canvas/Executor.js#L401-L415 are not suitable for renderMode: 'image' as it is currently implemented.


text:
Edge tile stretching for XYZ source

I have created a simple example with XYZ source, which shows a sample image from DeepZoom pyramid: https://jsfiddle.net/q1upru60/1/
It uses last version 4.4.2.
As you can see the tiles on the edges (right and bottom are stretched to fill the 256*256 tilesize). Which is incorrect IMO, because DeepZoom format has a cropped tiles on edges.
BUT I found that until the 3.19 version there was a fine behavior: https://jsfiddle.net/57L2st7d/1/
As you can see everything is fine, and OL doesn't stretch the tiles on edges.
Starting from 3.20 tiles will be stretched...
If my code is correct - Is it a bug or is it an intentional feature?
Thanks!
PS. Original image
PSS. Right now we use Zoomify source to show DeepZoom images. But with Zoomify source you cant specify different tile sizes (only 256). That's why we started to try out the XYZ source.

It's not a bug - the XYZ source simply assumes a fixed tile size. You should be using the Zoomify source. A pull request to make the tile grid of the Zoomify source configurable would be appreciated.

#7379

Ok, thanks.
I will reference the links to Custom tile size for Zoomify source:
Issue #6608
Pull request #7379

authors: ahocevar yurykovshov


text:
BingMaps not working with different projection

I have a set of layers on a map which all use EPSG:32632 as projection. When adding a BingMaps layer I'm getting the following error from a proj4 transformer method:
Uncaught TypeError: Cannot read property 'x' of null
The stack trace is this:
Uncaught TypeError: Cannot read property 'x' of null
    at transformer (myMapApp.js:20574)
    at inverse (myMapApp.js:20616)
    at myMapApp.js:17954
    at Triangulation.transformInv_ (myMapApp.js:42776)
    at new Triangulation (myMapApp.js:42833)
    at new ReprojTile (myMapApp.js:42274)
    at BingMaps.getTile (myMapApp.js:41303)
    at CanvasTileLayerRenderer.manageTilePyramid (myMapApp.js:67577)
    at CanvasTileLayerRenderer.prepareFrame (myMapApp.js:67914)
    at CanvasMapRenderer.renderFrame (myMapApp.js:65297)

To reproduce the issue, add a layer using for example EPSG:32632 and add a BingMaps layer.
I'd expect that OpenLayers reprojects the BingMaps layer, is this correct? Otherwise I'd expect a more meaningful error message.

What version of OpenLayers are you using? Did you load proj4js library before, did you declare proj4js projection for EPSG:32632?
Can you provide an example? Without context, it's difficult to have a clue about origin of the issue e.g real BingMaps issue or other issue elsewhere?

I tried both OL 5.3.1 and the latest 5.3.2. The projection is set for the view on map creation, and projection works otherwise (using lots of projection code in the project). It happens only for tiles loaded via BingMaps.


text:
Fix for undefined source in Vector layer

Fixes #10464
The documentation implies leaving a source undefined and setting it later is valid but that causes an error in OL6 for Vector layers.  For a vector layer a source left or set null or undefined is equivalent to an empty source so treat it as such to prevent errors in prepareFrame

Thanks, @mike-000.