Auxiliary2AzureSearch is stuck in PROD

This is because there are too many download count decreases by its own definition. The max it allows is 5,000. There are 10,603.

This is blocked by https://github.com/NuGet/Engineering/issues/2664. I can reflow the missing package but since it is an E2E I will wait for Azure Search involvement before reflowing (and thus removing the repro).


Publish python package

enable pip install and write setup instructions

A development install is possible already, please see README.md.
Full packaging and publishing to PyPI will take some time. Incapy first needs to be tested in real world scenarios and a few things have to be polished before this happens.


CMS doesn't work with SQL Login

Azure Data Studio Version: master

Steps to Reproduce:

Add a CMS Server using SQL Login auth
Restart ADS
Try to expand the CMS Server

Expected: The server expands
Actual: An error is displayed in a notification pop-up

This is expected as only servers that also have Win Auth can login with SQL Login. The error message is incorrect, as Charles pointed out here - https://github.com/microsoft/azuredatastudio/issues/5859
I'm sending a PR that shows the correct error message instead.

@abist I'm not quite following the comment regarding this being expected.  But the scenario works fine in SSMS.  We should be able to add Central Management Servers using SQL Login authentication.  My test server has mixed-mode authentication enabled.

Closing as resolved by https://github.com/microsoft/azuredatastudio/pull/5873

@abist I'm going to reactive and move to July.  The fix in #5873 removes SQL Login, which isn't the long-term fix we want to see here.


Wrong getPosition

Hi,
I've tried to use ultimate recycler view with different object types. I think that there is an issue with the method getPosition.
Maybe it should be changed from
if (binderPosition <= 0) {
to
if (binderPosition < 0) {
As binder position 0 & 1 gets the same adpater position 0.
Thx
public int getPosition(DataBinder binder, int binderPosition) {
E targetViewType = getEnumFromBinder(binder);
for (int i = 0; i < getItemCount(); i++) {
if (targetViewType == getEnumFromPosition(i)) {
binderPosition--;
if (binderPosition <= 0) {
return i;
}
}
}
return getItemCount();
}

Have anyone encounter this issue?

Position 0 should not return 0?

I encountered the same issue,
I have 3 date binders and my list is divided to 3 sections. lets say i have letters, numbers and special chars as types and my data set looks something like this:
[@, 1, 2, 3, a, b, c]
now i want to remove the 'b' item by calling notifyBinderItemRemoved(1) because 1 is the position of the 'b' item in the [a, b, c] letters section subset.
until i=3, the binder position is still 1 and the loop keeps going, but for i=4, when we get to 'a' in the general data set, binderPosition becomes 0 which causes the method to return i=4.
if we look at the original data set, [@, 1, 2, 3, a, b, c] we can see that in position for lays the 'a' item and not the 'b' item which we just updated.
am i missing something?


14 full neural control (xbox demo neurally)

added unity files including scenes, scripts, and packages for next-mind integration: missing seamless integration with server settings accessed by C#

@FergusKidd can you fix the critical and high security issues please

@Sealjay-clj scan summary issues fixed. Is it ok to add HPND as an allowed licence type?


custom gameovers

What feature do you want to get added on the base engine?
I have many playable characters, but they all have bfs gameover, is there a way that we could do custom gameovers in LUA?
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

setPropertyFromClass('GameOverSubstate', 'characterName', 'eiwnrinsiwtbbksnsn')

thx!!!

setPropertyFromClass('GameOverSubstate', 'characterName', 'eiwnrinsiwtbbksnsn')

Is "eiwnrinsiwtbbksnsn" the sound file?

setPropertyFromClass('GameOverSubstate', 'characterName', 'eiwnrinsiwtbbksnsn')

Is "eiwnrinsiwtbbksnsn" the sound file?

the example script -> https://cdn.discordapp.com/attachments/889357899015540736/901470021652447233/script.lua
you should check in https://github.com/ShadowMario/FNF-PsychEngine/wiki/Lua-Script-API before doing question, bruh :|


About the final result.

I want to ask you, if I need to run more epoch, what should I do? Can I just add iteration directly? Because I used the same parameters as you, but my final result is still quite different from your results. How can I improve the accuracy of the model? My result is:
ROUGE-1:
ROUGE-1-F: 0.3784
ROUGE-1-R: 0.3895
ROUGE-1-P: 0.3759
ROUGE-2:
ROUGE-2-F: 0.1757
ROUGE-2-R: 0.1810
ROUGE-2-P: 0.1746
ROUGE-L:
ROUGE-L-F: 0.3599
ROUGE-L-R: 0.3705
ROUGE-L-P: 0.3576
Thank you for your help!

Yes, if you want to train more, you can change the MAX_ITER flag in end2end.sh.
BTW, how did you choose your final model? Did you run the evaluation concurrently with training and then choose the best evaluation model? Our results are the best evaluation model.


(graphcache) - Partial results aren't refetched

Partial results on arrays are not being refetched when required data is missing.
urql version & exchanges:
"urql": "^2.0.4"
"@urql/exchange-graphcache": "^4.1.4"
Schema integrated.
Steps to reproduce
1st query:
project {
  id
}

returns [ { id: 1} ]
2nd query:
project {
  id
  title
}

Queries are executed sequentially.
1st Working scenario (when missing optional field)
If title field is optional in schema, then 2nd query returns partial results [ { id: 1, title: null } ], results are marked as stale and fallbacks to refetching (to fetch the title).
2nd Not working scenario (when missing required field)
If title field is required in schema, then 2nd query returns [ null ]. Cached result seems correct. But results aren't marked as stale and refetching isn't done as in the 1st scenario.
Expected behavior
Results should be marked as stale and refetched (2nd scenario).
Actual behavior
Results are not stale and not refetched (2nd scenario).

cc @JoviDeCroock: Seems like a rather simple fix.
The offending part of the code only performs partial logic when the field is nullable directly; however, it doesn't do anything when cascading, hence we need to update it to perform the hasPartials update when the schema is available and alter the return value based on isFieldNullable, rather than only doing that when the field is nullable. In other words, we'll update this to cascade anyway:
https://github.com/FormidableLabs/urql/blob/6cc8a24c99d4f6c633f5cd02099a569d4a317c33/exchanges/graphcache/src/operations/query.ts#L419-L427
I'll wait on #1854 to patch this.


Modal not closing on unmount or when calling exit({ force: true });

I'm trying to implement a way to exit Plaid Link when the app times out and the user is logged out, like this:
const {open, ready, exit} = usePlaidLink(config);
...
useEffect(() => {
  notifications.on('LOG_OUT'], () => {
    exit({force: true}, () => {
      console.log('exit!');
    });
  });

  return () => {
    notifications.remove('LOG_OUT', () => {});
  };
}, []);

I have tried both versions 3.2.2 and 3.3.0 but no luck, the app logs out and navigates to /login but the modal stays opened. Any idea why? I read this issue was resolved but I'm still experiencing this issue. Thanks

After some debugging, it looks like when the call to destroy never happens in the hook clean up
// destroy the Plaid iframe factory
return () => next.exit({force: true}, () => next.destroy());

here: https://github.com/plaid/react-plaid-link/blob/master/src/usePlaidLink.ts#L71
So if we call destroy in the factory when the force option is true
if (exitOptions && exitOptions.force) {
    state.open = false;
    destroy();
  }

it works well.

hi all thanks for this report. we are working on a fix for this upstream

@skylarmb thanks for the update!

@pipozoft let me know if the problem is resolved now. This fix shipped a few days ago. If it is not working for you, happy to reopen this issue

@skylarmb thank you! It looks like it's working as expected now 👏


Populate participants in GET /challenges endpoint

Problem
As per the API Docs, the participant's array should contain UserObject, but in GET /challenges endpoint participants array contains userIds
Requirement
Populate user data in the array

Assign this to me.


Always treat unsigned bytes as if they are unsigned bytes

Many of the byte values, including the 'generator root gap' are meant to be unsigned 8-bit quantities. There are three places in the codebase where this isn't properly respected.
The eval() method in Polynomial.java returns such a byte quantity, but on line 801 of the ReedSolomon.java file (in the debugPrint method) it is converted to a string in a signed manner.
Additionally, in two places the 'generator root gap' is implicitly converted to an integer and passed as argument pow to the fieldPow method in Field.java. This conversion works differently in the original C code than it does in the Java code - the byte will be zero-padded in C but sign-extended in Java.
In the original libcorrect, the generator root gap is defined here and here. It is defined as a uint8_t. It is passed to the field_pow function. In the C code, the conversion from unsigned byte to signed int doesn't sign-extend the byte. However, the Java port as-written does sign-extend the byte to create an int.
This pull request inserts calls to Byte.toUnsignedInt() to bring the behavior into line with the C code.

Thank you, @jpeterson2


Parallel lints

Closes #621.
The rayon implementation lacks the per query "Running {query}\r" dynamic messages as I couldn't think of any sensible way to do that with multiple threads.

Thanks, this is great!
Any chance we can tackle this portion of the linked issue in the process as well?

In particular, ensure that reported timing information accurately communicates how much time is spent generating rustdoc data (serial, blocking) and how much time is spent actually running each lint (after this change, parallel across lints) — this is covered by https://github.com/obi1kenobi/cargo-semver-checks/issues/298.

Let's go for a new branch, just to make it easy to review.
If you'd like, feel free to put together a draft of what the output could
look like before taking the time to implement it. There are some edge cases
to consider (e.g. what if there are multiple crates to check in the
workspace, etc. with other CLI flags) that could be good to work out "on
paper" before investing into an implementation.
Similar edge cases come up when reporting parallel timing as well, which is
why I suggested tackling these two issues together.
On Mon, Jan 8, 2024, 12:09 AM jw013 @.***> wrote:

Sure, I can have a go at #298
https://github.com/obi1kenobi/cargo-semver-checks/issues/298 this next
week. When I do, do you want me to make a new PR branch or just add to this
one?
—
Reply to this email directly, view it on GitHub
https://github.com/obi1kenobi/cargo-semver-checks/pull/625#issuecomment-1880392730,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR5MSVWKXHHB7XVQK7NDZDYNN5PTAVCNFSM6AAAAABBQZBTFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGM4TENZTGA
.
You are receiving this because you commented.Message ID:
@.***>

Based on an unscientific "I compared two CI runs of one of one of our beefier tests," GitHub Actions runners have 4 cores and the speedup is in the neighborhood of 2-2.5x. This would make sense if they have 2 physical cores with hyperthreading enabled.

Awesome! 🚀
I'm planning to post about this PR on social media, and I'd like to give you a shout-out if you're okay with that (no pressure if not!). Lmk if you have a Mastodon / Twitter / bsky I should tag in the post?

Awesome! 🚀
I'm planning to post about this PR on social media, and I'd like to give you a shout-out if you're okay with that (no pressure if not!). Lmk if you have a Mastodon / Twitter / bsky I should tag in the post?

That's fine with me. Outside of lurking occasionally on Mastodon I don't really use social media.

Happy to tag your Mastodon if you'd like (just let me know what it is). Again, no pressure!

Also, if you're interested in contributing more things, happy to help however I can! There's a mix of issues on the issue tracker, but I haven't done an amazing job of curating them thus far so feel free to ping me with any questions or ask for suggestions.

Mastodon is how I found out about this project - I only use it to follow people who post interesting things about Rust and other topics, so probably not worth mentioning.
I'm happy just picking through open issues for now - what I have seen so far has been well documented and fairly easy to understand so I definitely appreciate that plus the additional feedback. Thanks!


mysql error

Only appears on startup: http://pastebin.com/7Cu0C27C

Unknown column 'prefix' in 'field list' means you have 2 schema-version lines in your database, if I remember correctly.  Remove one; keep the one which is schema-version: 1.

cant find a schema version in my mysql?

That would definitely be a problem then.  Check your permissions.yml file for the proper formatting.  For PEX 1.9+ it should follow this basic outline.  If you're using PEX 2.x you'll need zml's help since I haven't used that version yet and don't know anything about it.

I'm guessing you found it.  Problem solved?


[release] When will GA release be?

Hey guys,
I'm actively using this package and wondering:

When a new release will be published on npm
When this package will be out of beta. Is there a timeline somewhere?

Thanks for the question. We'll push a new release to npm next week. We don't have a publicly shared timeline (growing pains while we get the various dbsql connectors into GA) but GA is targeted within the next couple months (closer to one month than two).


Remove background from certain non-transparent emotes

This was fixed in chat by https://github.com/night/BetterTTV/issues/1087 but still needs to be fixed in the emote menu

Closing as wontfix. This is something I'm not willing to override--I show exactly what the emote is. If Twitch wants it with white background, it will remain with a white background.
See also #11

But do you actually think Twitch wants them that way? Dark mode was not a native Twitch feature at the time of creating those emotes thus it was not a concern to Twitch whether or not they were transparent. There isn't even any work to be done, just swap them for the already fixed BTTV versions.

I doubt Twitch wants them with white background. Twitch has a native dark mode now, so if they care about it, they would remove the white background themselves.
The goal is to have a solution that is low/no maintenance and manual overrides on a per-emote-basis goes against that. If I fix the global emotes, then why shouldn't I also do sub emotes that clearly need to be fixed? That's why I'm choosing not to do either. Twitch can fix the globals, and channels can fix their own sub emotes.

Understood, thanks

As another solution you could suggest to BTTV: override it themselves in the menu if they aren't already. The menu loads the native emotes first, then it loads any third party emotes (like BTTV) and allows global emotes to be changed.


STYLE: Update LabelEroddeDilate remote module GitHub URL

Update LabelErodeDilate remote module GitHub URL.
Fixes:
CMake Warning at CMake/ITKModuleRemote.cmake:57 (message):
Remote URL changed from
https://github.com/InsightSoftwareConsortium/ITKLabelErodeDilate.git
to
https://github.com/InsightSoftwareConsortium/LabelErodeDilate.git
Call Stack (most recent call first):
CMake/ITKModuleRemote.cmake:137 (_git_update)
CMake/ITKModuleRemote.cmake:180 (_fetch_with_git)
Modules/Remote/LabelErodeDilate.remote.cmake:1
(itk_fetch_module)
Modules/Remote/CMakeLists.txt:6 (include)

raised at:
http://testing.cdash.org/viewConfigure.php?buildid=5854508

PR Checklist

[ ] Makes breaking changes
[ ] Makes design changes
[ ] Adds the License notice to new files.
[ ] Adds Python wrapping.
[ ] Adds tests and baseline comparison (quantitative).
[ ] Adds test data.
[ ] Adds Examples to ITKExamples
[ ] Adds Documentation.

Refer to the ITK Software Guide for
further development details if necessary.

You're right @dzenanz . Thanks for the review. So the CMake warning is weird then :thinking: .

I removed ~/Dashboards/Tests/ITK/Modules/Remote/LabelErodeDilate on dash5, which was pointing the old remote. That should hopefully fix this issue.
Thanks for the clean-up eye @jhlegarreta :eyes:

Thanks @thewtex !


clicking on app/routes/foo.bar.baz.$bazId.tsx in error tab opens vscode file baz..tsx

When clicking in the error pane on a route file that has dot delimiters it does not open the desired file.
Instead it seems it opens the part before the $ and then uses two dots.
remix 2.5.0
"remix-development-tools": "^3.7.2"
VSCode: Version: 1.85.1
Mac Sonoma 14.2.1

@Jacubeit There seems to be some sort of issue with react dev tools debug source but I'm not sure if it's OS related or not because I haven't seen this on Windows and I don't own a mac, would you mind opening up your chrome dev tools and seeing whats data-rdt-source set to?

@AlemTuzlak what we could do is a quick zoom/hangout and a screen share?
That would most probably give you a quick way of searching around?

@Jacubeit I think I tracked down the issue and fixed it, mind trying it out on v4


WIP - Add deprecation notices to stats_summary/create

What does this PR (Pull Request) do?

[x] This PR fixes #3833

Which Traffic Control components are affected by this PR?

Traffic Ops

What is the best way to verify this PR?

Build Traffic Ops Perl with changed and make request to stats_summary/create it should now include deprecate notice to use stats_summary
If this is a bug fix, what versions of Traffic Control are affected?

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information

###Relies on the PR https://github.com/apache/trafficcontrol/pull/4173###

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4896/


[TA] Add Code Owner and Disable PII regression test

API change check
API changes are not detected in this pull request.

/azp run java - textanalytics - tests


[Event extend request] OnApplyCustLedgerEntryOnBeforeSetCompleted

We would like to request to extend the event publisher OnApplyCustLedgerEntryOnBeforeSetCompleted with the variable AppliedAmount
OnApplyCustLedgerEntryOnBeforeSetCompleted(GenJnlLine, OldCustLedgEntry, NewCVLedgEntryBuf, AppliedAmount);
[IntegrationEvent(false, false)]
local procedure OnApplyCustLedgerEntryOnBeforeSetCompleted(var GenJournalLine: Record "Gen. Journal Line"; var OldCustLedgEntry: Record "Cust. Ledger Entry"; var NewCVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; **AppliedAmount**: **Decimal**)
begin
end;

Which object is this?

Please don't forget to tell us all relevant info so we can provide events. If you still need this, open a new issue with the object number + name included.


Call number field is blank on requesting turnaround time report

The requesting turnaround time report turnaround_req_7.sql is displaying "none" in the call number field for all requests. The corresponding supplying report displays call numbers properly, so I suspect there is just an error in this one.

@scwiek Can you take a look at this issue once you've finished with the discrepancies?

@kristenwilson If you run the following query, do you get any results?
SELECT     * FROM     reshare_rs.patron_request pr WHERE     pr.pr_is_requester IS TRUE     AND pr.pr_local_call_number IS NOT NULL;

No, it's empty for me. I was looking at the JSON version of some requests in the UI, and it appears that the local call number field is only present on the supplier record. I'm not sure if that's an oversight or something not supported by the ILL protocol. I can check into that.
I know that the call number is present in the bibRecord field on the request, which essentially contains the whole bib. I don't know if that's practical to use in this case or not. This what it looks like in the JSON document:
  "bibRecord": "{\"@context\":\"http://si-cardinal-okapi.folio-dev.indexdata.com/inventory/instances/context\",\"id\":\"e21b3df3-e3be-4dc4-b987-ef7a82901190\",\"hrid\":\"in00000001430\",\"source\":\"MARC\",\"title\":\"All rivers run to the sea : memoirs\",\"matchKey\":\"all_rivers_run_to_the_sea___memoirs___________________________________1995432_1__knopf_____t________________________________________wiesel__elie__1928_2016_______________p\",\"indexTitle\":\"all_rivers_run_to_the_sea___memoirs___________________________________1995432_1__knopf_____t________________________________________wiesel__elie__1928_2016_______________p\",\"parentInstances\":[],\"childInstances\":[],\"alternativeTitles\":[],\"editions\":[\"[1st American ed.].\"],\"series\":[],\"identifiers\":[{\"identifierTypeId\":\"47a65482-f104-45e8-aead-1f12d70dcf32\",\"value\":\"9937906103569\"},{\"identifierTypeId\":\"c858e4f2-2b6b-4385-842b-60732ee14abb\",\"value\":\"   95017607 \"},{\"identifierTypeId\":\"8261054f-be78-422d-bd51-4ed9f33c3422\",\"value\":\"0679439161\"},{\"identifierTypeId\":\"7e591197-f335-4afb-bc6d-a6d76ca3bace\",\"value\":\"ocm32429215\"},{\"identifierTypeId\":\"7e591197-f335-4afb-bc6d-a6d76ca3bace\",\"value\":\"3790\"},{\"identifierTypeId\":\"7e591197-f335-4afb-bc6d-a6d76ca3bace\",\"value\":\"(PMilS)3790-millerdb-Voyager\"},{\"identifierTypeId\":\"9db07825-8035-4d9a-8a41-d59a5f1c337b\",\"value\":\"9937906103569\"}],\"contributors\":[{\"contributorNameTypeId\":\"2b94c631-fca9-4892-a730-03ee529ffe2a\",\"name\":\"Wiesel, Elie, 1928-2016\",\"contributorTypeId\":null,\"contributorTypeText\":null,\"primary\":true}],\"subjects\":[\"Wiesel, Elie--1928-2016\",\"Authors, French--Biography\",\"Jewish authors--Biography\",\"Holocaust, Jewish (1939-1945)--Personal narratives\",\"Holocaust survivors--Biography\"],\"classifications\":[{\"classificationNumber\":\"PQ2683.I32; Z52313 1995\",\"classificationTypeId\":\"ce176ace-a53e-4b4d-aa89-725ed7b2edac\"},{\"classificationNumber\":\"813/.54; B\",\"classificationTypeId\":\"42471af9-7d25-4f3a-bf78-60d29dcf463b\"}],\"publication\":[{\"publisher\":\"Knopf :\",\"place\":\"New York :\",\"dateOfPublication\":\"1995.\",\"role\":null}],\"publicationFrequency\":[],\"publicationRange\":[],\"electronicAccess\":[],\"instanceTypeId\":\"6312d172-f0cf-40f6-b27d-9fa8feaf332f\",\"instanceFormatIds\":[],\"physicalDescriptions\":[\"432 pages, 8 unnumbered pages of plates\"],\"languages\":[],\"notes\":[],\"discoverySuppress\":false,\"statisticalCodeIds\":[],\"metadata\":{\"createdDate\":\"2020-12-09T16:32:40.838+00:00\",\"createdByUserId\":\"8f41720f-8694-5375-a9e3-1c796378ff2c\",\"updatedDate\":\"2020-12-09T17:29:40.177+00:00\",\"updatedByUserId\":\"8f41720f-8694-5375-a9e3-1c796378ff2c\"},\"tags\":{\"tagList\":[]},\"natureOfContentTermIds\":[],\"precedingTitles\":[],\"succeedingTitles\":[],\"links\":{\"self\":\"http://si-cardinal-okapi.folio-dev.indexdata.com/inventory/instances/e21b3df3-e3be-4dc4-b987-ef7a82901190\"}}",

Correct, that's what I noticed in the dev environment, but wasn't sure if that was just because of its low volume.
I think the issue with the bib record is that it can contain multiple call numbers so if we chose one it may not match the item's call number.   If you find out that leaving the call number out of the requester side was intentional, I can look into a way to pull the info in from the supplier side.

Uninformed observation - doesn't it make sense to leave the supplier call number out of the requester side?  it's not relevant (or accurate for) the requester.

I can ask the SME Team this week how important it is for the requester and where it would ideally come from.


Docker 1.9.0-rc1 doesn't support the etcd url with path in --cluster-store

In the Dicovery/README.md, Docker support the etcd based backend with following format
$ docker daemon -H=<node_ip:2376> --cluster-advertise=<node_ip:2376> --cluster-store etcd://<etcd_ip1>,<etcd_ip2>/<path>

But when I play with Docker 1.9.0-rc1, I found the etcd url with path in --cluster-store is not supported
My original docker configuration is as following
root@classic-node-0:~# cat /etc/default/docker

DOCKER_OPTS='
-H tcp://<IP_ADDRESS>:2376
-H unix:///var/run/docker.sock
--storage-driver aufs
--tlsverify
--tlscacert /etc/docker/ca.pem
--tlscert /etc/docker/server.pem
--tlskey /etc/docker/server-key.pem
--log-opt max-size=10m
--log-opt max-file=10
--cluster-store etcd://<IP_ADDRESS>:2379/test
--cluster-advertise=<IP_ADDRESS>:2376

root@classic-node-0:~# docker version
Client:
 Version:      1.9.0-rc1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   9291a0e
 Built:        Wed Oct 14 03:04:22 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.0-rc1
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   9291a0e
 Built:        Wed Oct 14 03:04:22 UTC 2015
 OS/Arch:      linux/amd64
root@classic-node-0:~# docker info
Containers: 2
Images: 7
Engine Version: 1.9.0-rc1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 11
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-31-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 1
Total Memory: 991.6 MiB
Name: classic-node-0
ID: XZR2:AH3U:QWX4:KLHD:GNVR:TQOI:4L4Y:V35I:EWOD:53LC:OAVZ:UO7C
WARNING: No swap limit support
Cluster store: etcd://<IP_ADDRESS>:2379/test
root@classic-node-0:~# uname -a
Linux classic-node-0 3.19.0-31-generic #36~14.04.1-Ubuntu SMP Thu Oct 8 10:21:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

And we cannot create container for docker complain the etcd endpoint is invalid

root@classic-node-0:~# docker run busybox
Error response from daemon: Cannot start container 73f26e45e0d2a91eb7bfb93f6715fb46bab8ced8be1afb44af9441363dbaa93a: network bridge not found
INFO[0458] POST /v1.21/containers/73f26e45e0d2a91eb7bfb93f6715fb46bab8ced8be1afb44af9441363dbaa93a/start
ERRO[0458] failed to get networks for scope global: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
ERRO[0458] failed to get networks for scope global: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
ERRO[0458] failed to umount /var/lib/docker/containers/73f26e45e0d2a91eb7bfb93f6715fb46bab8ced8be1afb44af9441363dbaa93a/shm: no such file or directory
ERRO[0458] failed to umount /var/lib/docker/containers/73f26e45e0d2a91eb7bfb93f6715fb46bab8ced8be1afb44af9441363dbaa93a/mqueue: no such file or directory
ERRO[0458] 73f26e45e0d2a91eb7bfb93f6715fb46bab8ced8be1afb44af9441363dbaa93a: Failed to umount ipc filesystems: failed to cleanup ipc mounts:
no such file or directory
no such file or directory
ERRO[0459] Handler for POST /v1.21/containers/73f26e45e0d2a91eb7bfb93f6715fb46bab8ced8be1afb44af9441363dbaa93a/start returned error: Cannot start container 73f26e45e0d2a91eb7bfb93f6715fb46bab8ced8be1afb44af9441363dbaa93a: network bridge not found
ERRO[0459] HTTP Error                                    err=Cannot start container 73f26e45e0d2a91eb7bfb93f6715fb46bab8ced8be1afb44af9441363dbaa93a: network bridge not found statusCode=500

After I change the "--cluster-store etcd://<IP_ADDRESS>:2379/test" to "--cluster-store etcd://<IP_ADDRESS>:2379", docker works as expected.
This problem will impact the applications with shared etcd service.
Thanks

Update
In RC2, the problem is still there. But it is able to create the container, but still not be able to create the network
root@classicnode2:~# docker network ls
NETWORK ID          NAME                DRIVER
746cf1b09c0f        bridge              bridge
70d49eb1efac        none                null
e1cc72494088        host                host
root@classicnode2:~# docker network create -d overlay prod
Error response from daemon: error getting pools config from store during init: could not get pools config from store: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.

The problem can be fixed with above libnetwork PR.
Thanks


Feature Request: Improve Documentation and Errors for Python Integration

The documentation for Python configuration could stand some significant improvement. A few items of note:

No mention of the Python site module.
No mention of Error 887, except as a keyword
No mention of PYTHONHOME variable, or how path detection functions when Python is called from Vim

The error handling is a bit frustrating as well:
'E887: Sorry, this command is disabled, the Python's site module could not be loaded.' tells me very little about what actually occurred. Even re-throwing whatever error Python encountered would be seriously helpful here.
Overall, getting E887 generally results in a wild goose chase for me, and likely the abandonment of whatever plugin I was attempting to use. It would be very nice to make this integration a bit more user-friendly.

what would you suggest?

Here are some things that immediately come to mind as someone who is currently unfamiliar with the Vim codebase:

Provide further documentation on how Vim talks to Python. What is the call chain? What are the requirements and how must it be configured to work properly.
Provide some documentation on what can result in error E887 being returned.
Provide context along with errors. E.g.: Which version of Python is being called? What arguments are being used to call it? How, exactly, did the call fail? A lot of this is thrown away when the E887 is returned.
Possibly link to some generic debugging advice. Can we enable verbose error output? Is there a way to see a stack trace, or similar output?

The intention behind my request could be summarized as "Help me help myself". I don't want to bother people when I'm trying to accomplish something; I just want the task completed, and it's usually significantly faster if I can do a bit of searching through documentation and googling to find the solution. Right now, though, I feel that I lack the appropriate context to find a resolution due to the generic nature of the errors which are returned when something goes wrong with Python.
Assuming others agree, I'd be interested in writing some of this up if I can get some pointers on where to look in the code for the answers. It will, however, take some time for me to grok the code and it might be better suited to someone who works on all of this in the first place. Either way, I'll take some time to look at the codebase and see what I can figure out on my own.


custom list item - with image

I was custom item list, but i'll the image not rendered at select all option.
code can reproduce at https://codesandbox.io/s/custom-checkbox-multi-select-with-image-5ielk

@muh-hizbe you can just do a falsy value check, Select All value will be empty
here's updated version link https://codesandbox.io/s/custom-checkbox-multi-select-with-image-forked-dn9hb


Explore Adding Esri World Imagery Satellite Imagery layer

Two options to explore - adding offline tile imagery https://www.arcgis.com/home/item.html?id=226d23f076da478bba4589e7eae95952
Register an application/API - https://developers.arcgis.com/documentation/mapping-apis-and-services/security/

See pricing https://developers.arcgis.com/pricing/

See email from Esri imagery Dated Dec 8 2023 "ArcGIS World Satellite Imagery"

There are two ways to get to the base maps:
API Key: go in through developer.arcgis.com
ArcGIS Online: you just have to have a subscription ($950)*
*Note: you can get one from Marion Boulstridge or Scott Sharp. Contact them and they can give you the details.
Making API calls using location services means putting it on your credit card. And then it will be billed that way.
Use the slider to estimate how many transactions will be made to see how much it’ll cost per month. For example, to double the transactions to 4M, it would cost $300 a month billed to the credit card monthly. See below.

Jason

See also #889


task/TUI-5 Production Webpack

Overview:
Production webpack. Run npm run build. Output static files will be stored in ./build, with asset root set to /
Related Github Issues:

TUI-5

Summary of Changes:

Configure webpack.prod.js
Package-lock updated

Testing Steps:

Delete all node_modules
Delete client/build
npm install
npm run build
In the ./build directory, start a local server with python3 -m http.server
Browse to localhost:8000

UI Photos:
Notes:

LGTM - Builds without any issues.


Porting ekg-direct metrics to new-tracing

Direct EKG is a way to record measurments without using the tracing system. We ported it over to new tracing, partly with using standard cardano-tracer, and partly with sending it directly to the EKGBackend

bors merge


Default image for prometheus operator not able to run on Raspbian / armv7

What did you do?
I tried deploying everything in the manifests directory (first the setup dir, then the parent dir), and everything deploys, but when I check my cluster, the prometheus-operator pod is stuck in in a CrashLoopBackOff.
When I deploy the Prometheus operator from bundle.yaml directly, this issue does not occur, and the prometheus-operator pod launches successfully, allowing me to create Prometheus resources.
If I check the logs for the operator container in the operator pod it returns:
kubectl logs prometheus-operator-5cfbdc9b67-hdcwj -n monitoring -c prometheus-operator
standard_init_linux.go:211: exec user process caused "exec format error"

This indicates the image in use (https://github.com/coreos/kube-prometheus/blob/master/manifests/setup/prometheus-operator-deployment.yaml#L29, or quay.io/coreos/prometheus-operator:v0.39.0) doesn't have an armv7-compatible version, or maybe some other setting is in conflict that causes the operator to not launch.
Did you expect to see some different?
Environment

Prometheus Operator version:
v0.5.0

Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.5+k3s1", GitCommit:"58ebdb2a2ec5318ca40649eb7bd31679cb679f71", GitTreeState:"clean", BuildDate:"2020-05-06T23:42:31Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/arm"} Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.5+k3s1", GitCommit:"58ebdb2a2ec5318ca40649eb7bd31679cb679f71", GitTreeState:"clean", BuildDate:"2020-05-06T23:42:31Z", GoVersion:"go1.13.8", Compiler:"gc", Platform:"linux/arm"}

Kubernetes cluster kind:
K3s on Raspberry Pi with HypriotOS

Manifests:

manifests/setup/prometheus-operator-deployment.yam

Prometheus Operator Logs:

kubectl logs prometheus-operator-5cfbdc9b67-hdcwj -n monitoring -c prometheus-operator
standard_init_linux.go:211: exec user process caused "exec format error"

Prometheus Logs:

N/A

Anything else we need to know?:
N/A

It seems the kube-rbac-proxy that ships with the other pods is also incompatible:
kubectl logs node-exporter-bgq2t -n monitoring -c kube-rbac-proxy
standard_init_linux.go:211: exec user process caused "exec format error"

kubectl get pods -n monitoring
NAME                                   READY   STATUS             RESTARTS   AGE
grafana-86b55cb79f-slvtb               1/1     Running            0          9m57s
kube-state-metrics-dbb85dfd5-lxnk5     0/3     CrashLoopBackOff   18         9m33s
node-exporter-sgtjs                    1/2     CrashLoopBackOff   6          9m13s
node-exporter-bgq2t                    1/2     CrashLoopBackOff   6          9m13s
node-exporter-jj6tt                    1/2     CrashLoopBackOff   6          9m13s
node-exporter-f8zfh                    1/2     CrashLoopBackOff   6          9m13s
node-exporter-b7z8c                    1/2     CrashLoopBackOff   6          9m13s
node-exporter-4gz2c                    1/2     CrashLoopBackOff   6          9m13s
node-exporter-b25b5                    1/2     CrashLoopBackOff   6          9m13s
prometheus-adapter-5cd5798d96-6xdjv    0/1     CrashLoopBackOff   6          8m11s
prometheus-operator-5cfbdc9b67-hdcwj   0/2     CrashLoopBackOff   14         12m

For now I'm going to try to get the derivative https://github.com/carlosedp/cluster-monitoring working.

cc @paulfantom I think you recently looked into this?

With the release of Raspberry Pi OS 64-bit (arm64 arch), this might be different. I may be able to test again to see if the containers have arm64 images available.

That is strange because I am using and tested those images on Raspbian (raspberry pi 3B+ armv7) and on ubuntu 20.04 (raspberry pi 4B arm64).
Only prometheus-operator v0.39+ images are compatible with those platforms.

@paulfantom the Prometheus images run fine, it’s the kube-rbac-proxy images that run alongside that cause the exec format error.

Ahhh... Sorry, read it too early in the morning. I see there are some issues with latest release of kube-rbac-proxy building for cross-arch.
Could you check if quay.io/brancz/kube-rbac-proxy:HEAD-2020-05-07-2fd48d73 works for you?

I probably won't get the time to test this in the next couple days (a bit overloaded right now), but promise to test it as soon as I get a few cycles on the cluster (right now it's down for a rebuild ;-).

Any update on this issue?

I've been out sick since the day after I posted the earlier comment, all my testing was on hold and now I'm a bit backlogged... but I still plan on getting it tested soon.

Note: there is a new release of kube-rbac-proxy (v0.6.0) with support for multi-arch.

OK so i tried this out with
quay.io/brancz/kube-rbac-proxy:HEAD-2020-06-12-281be3a9
as I couldn't see v0.6.0 in quay
It gets a little further but then we fail because I don't believe kube-state-metrics has an ARM64 build?
was using:
quay.io/coreos/kube-state-metrics:v1.9.5
in kube-state-metrics-deployment.yaml
I also see errors in the other two containers in the same pod but I believe those are because the kube-state-metrics container failed container failed

OK I moved on from that by pulling an arm64build from
/carlosedp/kube-state-metrics/
as he has pushed an arm64 build to docker hub

Should I try an update?
On Wed, Jun 17, 2020, 8:04 PM tommyjmquinn<EMAIL_ADDRESS>wrote:

OK I moved on from that by pulling an arm64build from
/carlosedp/kube-state-metrics/
as he has pushed an arm64 build to docker hub
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/coreos/kube-prometheus/issues/545#issuecomment-645689183,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHHFTCRW4447JLE5EUAFG3RXFK2JANCNFSM4NIQO7TA
.

Next erro I found is that Prometheus adapter is specified as an arm64 build in
prometheus-adapter-deployment.yaml
it specifies
quay.io/coreos/k8s-prometheus-adapter-amd64:v0.7.0
im searching for an arm64 build now

found one ...
https://hub.docker.com/r/carlosedp/k8s-prometheus-adapter/tags

OK got this working Ill write up a blog post at some point but everything anyone needs to get this working in a pinch is above :)

OK so i tried this out with
quay.io/brancz/kube-rbac-proxy:HEAD-2020-06-12-281be3a9
as I couldn't see v0.6.0 in quay

You used newer than v0.6.0, which is listed just below HEAD-2020-06-12-281be3a9 in https://quay.io/repository/brancz/kube-rbac-proxy?tab=tags

It gets a little further but then we fail because I don't believe kube-state-metrics has an ARM64 build?

There is an open PR about it in https://github.com/kubernetes/kube-state-metrics/pull/1130

Next erro I found is that Prometheus adapter is specified as an arm64 build in
prometheus-adapter-deployment.yaml

Upstream images are multi-arch: https://hub.docker.com/r/directxman12/k8s-prometheus-adapter. We should probably switch to that, can you create a PR?
Summing up, the only major problem right now to run full kube-prometheus on ARM/ARM64 is providing multi-arch builds for KSM.

Upstream kube-state-metrics work on ARM support is in https://github.com/kubernetes/kube-state-metrics/pull/1190

Now, I ran into the same problem when using pi os (32bit)and the latest kube-prometheus.


file missing in data folder

Per instructions there should be a file "protein_ligand_example_csv.csv" in the data sub-folder, however in my installation only the following files exist:
drwxr-xr-x 2 root root  4096 Mar 21 14:44 1a0q
drwxr-xr-x 2 root root  4096 Mar 21 14:44 splits
-rw-r--r-- 1 root root 37359 Mar 21 14:44 testset_csv.csv

@ssalaniwal Use the format of testset_csv.csv file for your reference and add (complex_name , protein_sequence) columns in csv


[Bug]: Invoice Ninja is not in the services list

Error Message and Logs
Invoice Ninja (https://coolify.io/docs/services/invoice-ninja) can not be found in the services list.

Steps to Reproduce

Select a Project
Add a resource
Invoice Ninja can't be found in the services list

Example Repository URL
No response
Coolify Version
v4.0.0-beta.347
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Debian GNU/Linux 12 (bookworm)
Additional Information
No response

@peaklabs-dev @andrasbacsai - it seems the invoice ninja install is not working.  I cannot save any invoices.

@Skeyelab Please open a new issue for this.


mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create1 msgpack.min.js:1:23202

Hi there Firefox is reporting it,can we avoid it?

This is likely caused by browserify's Buffer implementation (see here).
AFAIK, the simplest way to get around it is to set window.TYPED_ARRAY_SUPPORT to false before you include this script.

But removing typed arrays support could make it even slower. To clarify, I don't mind what the message, what I want is to execute this library in the most performant way possible.

It depends on the browser. In Firefox disabling typed array support will actually give you a significant performance boost. In Chrome it'll be marginally slower (more if you slice a lot).

Firefox looks firing the warning at the following code:
if (Buffer.TYPED_ARRAY_SUPPORT) {
  Buffer.prototype.__proto__ = Uint8Array.prototype
  Buffer.__proto__ = Uint8Array

It'd depends on Buffer implementation.
https://github.com/feross/buffer


Missing information in documentation for certain parameters.

The full managed json on this page is not the same as the default file on the client.
There are also undocumented options in the version on the client.

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

ID: 04ef0d15-6735-bb94-0d86-d57ffbaa05f7
Version Independent ID: 52e516b5-b365-4950-334a-c4797333093d
Content: Set preferences for Microsoft Defender for Endpoint on Linux
Content Source: microsoft-365/security/defender-endpoint/linux-preferences.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@Dansimp Please help us in resolving this issue. Thanks

@Alslinet I'm trying to resolve a configuration problem but haven't found a default JSON file with my installation.  As far as I can tell /etc/opt/microsoft/mdatp/managed was empty.  Where did you source it from please?

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


hm

Coverage increased (+0.6%) to 88.056% when pulling d19e7752aada44e098ed5582e1798c52b2a73628 on StefanBranch into 3bb4ea8034ad9905e227082f05674be0500ea378 on master.

Coverage increased (+0.6%) to 88.056% when pulling d19e7752aada44e098ed5582e1798c52b2a73628 on StefanBranch into 3bb4ea8034ad9905e227082f05674be0500ea378 on master.


Start cleaning up

[x] Remove vendored topkg, replace with opam package.
[x] Remove Docker stuff
[x] Remove upgradeSyntax.sh
[x] Remove unused CHANGELOG.md

Thanks. CI is not happy. Could you take a look?

Yep, I'll mark WIP.

IT'S ALIVE (well, we'll see after CI)

Thanks for working on this! Let's change '_build/pkg/build.native' to 'build.native' then we should be good to merge.


Philipp updated publications

2nd paper is accepted but not yet assigned to an issue. I will update it as soon as I have the bib entry.

great, thanks!


Upgrade coreos/go-oidc to v3 to enable OIDC-Connect issuerverifyskip check

Summary
coreos/go-oidc has v3 available which has also a fix for issuer-mismatch
Use Cases
This issuer mismatch becomes a problem with some OIDC providers when the discovery-url and issuer name differ. In this scenario, we get the error below:
issuer did not match the issuer returned by provider, expected "xxx" got "yyy"
With the fix in v3 we will be able to overcome this restriction and continue using Argo SSO
Note: v2 -> v3 has two breaking changes and one of that impacts Argo. Move github.com/coreos/go-oidc to github.com/coreos/go-oidc/v3/oidc

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Would you like to submit a PR to fix this?

Hi guys
I would like to take a look at this


CI: expose test K8s clusters running in LVH VMs to GH runner

Expose kube-apiserver port, and then copy kubeconfig to a GH runner. So that instead of having this (taken from conformance-e2e.yaml):
      - name: Install Cilium (${{ join(matrix.*, ', ') }})
        uses: cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
        with:
          provision: 'false'
          cmd: |
            cd /host/

            export CILIUM_CLI_MODE=helm
            ./cilium-cli install ${{ steps.cilium-config.outputs.config }}
            ...

We could have this:
      - name: Install Cilium (${{ join(matrix.*, ', ') }})
        shell: bash
        run: |
          ./cilium-cli install ${{ steps.cilium-config.outputs.config }}
          ...

This has been already resolved by https://github.com/cilium/cilium/tree/main/.github/actions/lvh-kind.


2021.01/ENG-4028, ENG-5349 comprehensive

we had these already merged into master via different PR's,
reverted the master to its original state, as the ticket gets rolled over.
NOT TO BE MERGED until the release is done.

Closing in favour 2021.1/release branch

Closing in favour 2021.1/release branch


Adding option to select corect Cloud Environment endpoint

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: jkljajic sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @jkljajic, Were you able to test the change as well ?

Yes I have on Chinese subscription for one client

like you can see on the screenshot I use jkljajic/kubernetes-ingress:1.0.1 image to test


Extracting Kerchunk jsons from NetCDF removes data variables

Hello, I am researching and testing the cloud optimization of NetCDF access using kerchunk. I have been working with it for a few weeks but just recently found this tutorial : https://github.com/lsterzinger/2022-esip-kerchunk-tutorial/blob/main/01-Create_References.ipynb, and it had everything I needed to further my testing. I am generating the kerchunk jsons exactly how is described on the Kerchunk documentation and on that tutorial but when accessing the reference dataset through xarray it is missing major variables such as SST and DQF which is needed for the plot I am trying to create. I have included a reference json that I created, as well as the combined json file for any further debugging. Because of GitHub attachment limits I can't include the NetCDF but an example file can be found here https://noaa-goes16.s3.amazonaws.com/ABI-L2-SSTF/2022/001/00/OR_ABI-L2-SSTF-M6_G16_s20220010000205_e20220010059513_c20220010105222.nc. It is one of the same kind used in the tutorial.
Here is the method I am currently using to generate the jsons:
for file in flist:
so = dict(
mode="rb", anon=True, default_fill_cache=False, default_cache_type="none"
)
with fsspec.open(file, **so) as inf:
h5chunks = kerchunk.hdf.SingleHdf5ToZarr(inf, file, inline_threshold=300)
with open(f"jsons/{file.split('/')[-1]}.json", 'wb') as outf:
outf.write(ujson.dumps(h5chunks.translate()).encode())
jsons.zip

I downloaded the file in the link and ran kerchunk on it locally.
out = kerchunk.hdf.SingleHdf5ToZarr("OR_ABI-L2-SSTF-M6_G16_s20220010000205_e20220010059513_c20220010105222.nc").translate()
m = fsspec.get_mapper("reference://", fo=out)
ds = xr.open_dataset(m, engine="zarr")

and I get the same 42 variables in ds as when directly opening the .nc with xarray.
For the JSON you sent, exactly the two {'DQF', 'SST'} variables appear to be missing. It would be good to see your exact code.
If I process the one file at its original location, I get all the variables. Here is my code:
url = "s3://noaa-goes16/ABI-L2-SSTF/2022/001/00/OR_ABI-L2-SSTF-M6_G16_s20220010000205_e20220010059513_c20220010105222.nc"
out = kerchunk.hdf.SingleHdf5ToZarr(url, storage_options={"anon": True}).translate()
m = fsspec.get_mapper("reference://", fo=out, remote_options={"anon": True})
ds = xr.open_dataset(m, engine="zarr")
assert len(ds) == 42
assert "DQF" in ds and "SST" in ds

Thanks for that help, I updated kerchunk, xarray, h5py, and fsspec and retried your code/ what I had and it all worked perfectly so not sure exactly what was causing it but I am good to go now.

I actually just ran into this exact issue and for me it ended up being the version of zarr I had. I updated the version and was good to go.

Weird! Glad it worked.


EnumMember is missing a toBuilder() method

It has an inner Builder class but is missing the method :|

simple to fix!


Fix issues found with clippy

Since #48 we run clippy on every commit. This showed some issues as we can see in the output of travis.
Fixing those is rather easy and straightforward if someone is looking for an easy issue to get started.

I'm mentoring this issue if someone needs help to get started.


Carthage Fix #66 still missing a tag

Hi
#66 and #56 are fixed in master, but Carthage does not see the fix, because last tag in master branch is 3.0.1 which does not include the fix
Can you add a new Tag that contains #66
Thanks

I think this is fixed with 3.0.2


Encoder dropout default value error

When trying to evaluate the trained model by using the specified arguments in the README, I get "ValueError: dropout probability has to be between 0 and 1, but got 6". Upon further inspection, I saw that in train_abstractive.py, line 336 the default value for '-enc_dropout' is 6.
What is 6 supposed to mean - 6%, 0.6, or something else, and what should the default value be?

Hello martin!
Have you solved this problem？
I have the same problem.


Proper way to geometrically scale line sketches?

It seems that the current transform/matrix facility scales both the shape itself and the pen. Is there a nice way to scale the geometry of line sketches but maintain line thickness?
If this has to be done manually for now, would a patch that provides pen-preserving transformation be desirable? (I think to do that we need to do calculation in the drawing primitives instead of delegating to the OpenGL side).

Hey! That sounds reasonable. Can you think of an elegant way to support both? Thanks!


Issues with make demo command on Windows 10 host machine

Hello.I am trying to follow the Getting Started with Contiv Network Tutorial video, and I'm getting the following error.
C:\Users\Dell\Desktop\netplugin> make demo
make ssh-build make[1]: Entering directory C:/Users/Dell/Desktop/netplugin'
vagrant box update
==> netplugin-node2: Checking for updates to 'contiv/centos71-netplugin'
netplugin-node2: Latest installed version: 0.3.1
netplugin-node2: Version constraints: 0.3.1
netplugin-node2: Provider: virtualbox
==> netplugin-node2: Box 'contiv/centos71-netplugin' (v0.3.1) is running the latest version.
CONTIV_NODE_OS= vagrant up
Bringing machine 'netplugin-node1' up with 'virtualbox' provider...
Bringing machine 'netplugin-node2' up with 'virtualbox' provider...
==> netplugin-node1: Preparing master VM for linked clones...
netplugin-node1: This is a one time operation. Once the master VM is prepared,
netplugin-node1: it will be used as a base for linked clones, making the creation
netplugin-node1: of new VMs take milliseconds on a modern system.
==> netplugin-node1: Importing base box 'contiv/centos71-netplugin'...
==> netplugin-node1: Cloning VM...
==> netplugin-node1: Matching MAC address for NAT networking...
==> netplugin-node1: Checking if box 'contiv/centos71-netplugin' is up to date...
==> netplugin-node1: Setting the name of the VM: netplugin_netplugin-node1_1465873246441_89299
==> netplugin-node1: Clearing any previously set network interfaces...
==> netplugin-node1: Preparing network interfaces based on configuration...
netplugin-node1: Adapter 1: nat
netplugin-node1: Adapter 2: intnet
netplugin-node1: Adapter 3: intnet
==> netplugin-node1: Forwarding ports...
netplugin-node1: 9999 (guest) => 9999 (host) (adapter 1)
netplugin-node1: 22 (guest) => 2222 (host) (adapter 1)
==> netplugin-node1: Running 'pre-boot' VM customizations...
==> netplugin-node1: Booting VM...
==> netplugin-node1: Waiting for machine to boot. This may take a few minutes...
netplugin-node1: SSH address: <IP_ADDRESS>:2222
netplugin-node1: SSH username: vagrant
netplugin-node1: SSH auth method: private key
netplugin-node1: Warning: Remote connection disconnect. Retrying...
netplugin-node1: Warning: Remote connection disconnect. Retrying...
netplugin-node1:
netplugin-node1: Vagrant insecure key detected. Vagrant will automatically replace
netplugin-node1: this with a newly generated keypair for better security.
netplugin-node1:
netplugin-node1: Inserting generated public key within guest...
netplugin-node1: Removing insecure key from the guest if it's present...
netplugin-node1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> netplugin-node1: Machine booted and ready!
==> netplugin-node1: Checking for guest additions in VM...
==> netplugin-node1: Mounting shared folders...
netplugin-node1: /opt/gopath/bin => C:/Users/Dell/Desktop/netplugin/bin
netplugin-node1: /opt/gopath/src/github.com/contiv/netplugin => C:/Users/Dell/Desktop/netplugin
==> netplugin-node1: Running provisioner: shell...
netplugin-node1: Running: inline script
==> netplugin-node1: Running provisioner: shell...
netplugin-node1: Running: inline script
==> netplugin-node1: Args passed: [[ netplugin-node1 <IP_ADDRESS> <IP_ADDRESS>,<IP_ADDRESS> etcd://localhost:2379 ]]
==> netplugin-node1: ln -s '/etc/systemd/system/docker-tcp.socket' '/etc/systemd/system/sockets.target.wants/docker-tcp.socket'
==> netplugin-node1: mkdir: cannot create directory ‘/etc/systemd/system/docker.service.d’: File exists
==> netplugin-node1: [Service]
==> netplugin-node1: Environment="no_proxy=<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,localhost,netmaster" "http_proxy=" "https_proxy="
==> netplugin-node1: Redirecting to /bin/systemctl restart  docker.service
==> netplugin-node1: Running provisioner: shell...
netplugin-node1: Running: inline script
==> netplugin-node1: Running provisioner: shell...
netplugin-node1: Running: inline script
==> netplugin-node1: ++ nohup etcd --name netplugin-node1 --data-dir /tmp/etcd -heartbeat-interval=100 -election-timeout=5000 --listen-client-urls http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:4001 --advertise-client-urls http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:4001 --initial-advertise-peer-urls http://<IP_ADDRESS>:2380,http://<IP_ADDRESS>:7001 --listen-peer-urls http://<IP_ADDRESS>:2380 --initial-cluster netplugin-node1=http://<IP_ADDRESS>:2380,netplugin-node1=http://<IP_ADDRESS>:7001,netplugin-node2=http://<IP_ADDRESS>:2380,netplugin-node2=http://<IP_ADDRESS>:7001 --initial-cluster-state new
==> netplugin-node1: ++ nohup consul agent -server -bootstrap -bind=<IP_ADDRESS> -data-dir /opt/consul
==> netplugin-node1: ++ nohup /opt/gopath/src/github.com/contiv/netplugin/scripts/start-swarm.sh <IP_ADDRESS> master
==> netplugin-node2: Cloning VM...
==> netplugin-node2: Matching MAC address for NAT networking...
==> netplugin-node2: Checking if box 'contiv/centos71-netplugin' is up to date...
==> netplugin-node2: Setting the name of the VM: netplugin_netplugin-node2_1465873290092_4091
==> netplugin-node2: Fixed port collision for 22 => 2222. Now on port 2200.
==> netplugin-node2: Clearing any previously set network interfaces...
==> netplugin-node2: Preparing network interfaces based on configuration...
netplugin-node2: Adapter 1: nat
netplugin-node2: Adapter 2: intnet
netplugin-node2: Adapter 3: intnet
==> netplugin-node2: Forwarding ports...
netplugin-node2: 22 (guest) => 2200 (host) (adapter 1)
==> netplugin-node2: Running 'pre-boot' VM customizations...
==> netplugin-node2: Booting VM...
==> netplugin-node2: Waiting for machine to boot. This may take a few minutes...
netplugin-node2: SSH address: <IP_ADDRESS>:2200
netplugin-node2: SSH username: vagrant
netplugin-node2: SSH auth method: private key
netplugin-node2: Warning: Remote connection disconnect. Retrying...
netplugin-node2: Warning: Remote connection disconnect. Retrying...
netplugin-node2:
netplugin-node2: Vagrant insecure key detected. Vagrant will automatically replace
netplugin-node2: this with a newly generated keypair for better security.
netplugin-node2:
netplugin-node2: Inserting generated public key within guest...
netplugin-node2: Removing insecure key from the guest if it's present...
netplugin-node2: Key inserted! Disconnecting and reconnecting using new SSH key...
==> netplugin-node2: Machine booted and ready!
==> netplugin-node2: Checking for guest additions in VM...
==> netplugin-node2: Mounting shared folders...
netplugin-node2: /opt/gopath/bin => C:/Users/Dell/Desktop/netplugin/bin
netplugin-node2: /opt/gopath/src/github.com/contiv/netplugin => C:/Users/Dell/Desktop/netplugin
==> netplugin-node2: Running provisioner: shell...
netplugin-node2: Running: inline script
==> netplugin-node2: Running provisioner: shell...
netplugin-node2: Running: inline script
==> netplugin-node2: Args passed: [[ netplugin-node2 <IP_ADDRESS> <IP_ADDRESS>,<IP_ADDRESS> etcd://localhost:2379 ]]
==> netplugin-node2: ln -s '/etc/systemd/system/docker-tcp.socket' '/etc/systemd/system/sockets.target.wants/docker-tcp.socket'
==> netplugin-node2: mkdir: cannot create directory ‘/etc/systemd/system/docker.service.d’: File exists
==> netplugin-node2: [Service]
==> netplugin-node2: Environment="no_proxy=<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,localhost,netmaster" "http_proxy=" "https_proxy="
==> netplugin-node2: Redirecting to /bin/systemctl restart  docker.service
==> netplugin-node2: Running provisioner: shell...
netplugin-node2: Running: inline script
==> netplugin-node2: Running provisioner: shell...
netplugin-node2: Running: inline script
==> netplugin-node2: ++ nohup etcd --name netplugin-node2 --data-dir /tmp/etcd -heartbeat-interval=100 -election-timeout=5000 --listen-client-urls http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:4001 --advertise-client-urls http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:4001 --initial-advertise-peer-urls http://<IP_ADDRESS>:2380,http://<IP_ADDRESS>:7001 --listen-peer-urls http://<IP_ADDRESS>:2380 --initial-cluster netplugin-node1=http://<IP_ADDRESS>:2380,netplugin-node1=http://<IP_ADDRESS>:7001,netplugin-node2=http://<IP_ADDRESS>:2380,netplugin-node2=http://<IP_ADDRESS>:7001 --initial-cluster-state new
==> netplugin-node2: ++ nohup consul agent -server -join <IP_ADDRESS> -bind=<IP_ADDRESS> -data-dir /opt/consul
==> netplugin-node2: ++ nohup /opt/gopath/src/github.com/contiv/netplugin/scripts/start-swarm.sh <IP_ADDRESS> slave
vagrant ssh netplugin-node1 -c 'sudo -i bash -lc "source /etc/profile.d/envvar.sh && cd /opt/gopath/src/github.com/contiv/netplugin && make run-build"'
/etc/profile.d/envvar.sh: line 0: source: filename argument required
source: usage: source filename [arguments]
Connection to <IP_ADDRESS> closed.
make[1]: *** [ssh-build] Error 2
make[1]: Leaving directory C:/Users/Dell/Desktop/netplugin' make: *** [demo] Error 2
System Information :
OS - Windows 10 (64 bit), 10GB Ram
Virtual Box - 5.0.20
vagrant - 1.8.3
netplugin version - 0.1
I am getting the above error while executing make demo instruction on my windows(host machine). I did a bit of debugging by doing a vagrant ssh netplugin-node1 and executing the commands sudo -i bash -lc "source /etc/profile.d/envvar.sh && cd /opt/gopath/src/github.com/contiv/netplugin && make run-build and found issues with make run-build.
This is my first experience with netplugin. Let me know if you need any more information. Thanks for the Help!!

Hello Vipin, Thanks for the response. I am following the tutorial which you suggested. However, i've hit a roadblock. I have filed an issue on the repository jainvipin/tutorial. Kindly have a look at it. Thanks.

@kushal25 : I replied to your issues at Vipin's tutorial.

@kushal25 : Could you please confirm whether you are hitting this issue or not now ?

@gaurav-dalvi Hi gaurav, we have actually moved to a different tool. You can close the issue for now. I will reopen it if needed again.

Closing !


Un-equal box size and bad alignment button in sign form.

Is your feature request related to a problem? Please describe.
The button alignment and sign-up box size are uneven and make me frustrated to even look at it.

Describe the solution you'd like
equal box size and align the button in middle.
Describe alternatives you've considered
No alternative it is normal standard in 2024.

ok make the login and signup buttons in center @nepalivai


3-0-stable branch

Any plans to make a 3-0-stable branch?

@mleglise Yes! Just waiting for demand like this. Are you a developer or do you run your own store?

@ngrices we've fixed the gem for Spree 3.0 - would like to send you the pull request this week after some cleanup, ok? :)
https://github.com/spark-solutions/spree_pay_with_amazon

@ngrices I'm a dev, exploring the possibilities. Extensions like this are super useful, as long as they include a good test suite and are kept up to date.
Glad to see @killy is on top of it.

@ngrices pull request sent https://github.com/amzn/spree_pay_with_amazon/pull/20

merged PR #20


Add sqs poller rake task to be run by daemon

advances #859

Coverage decreased (-0.02%) to 78.141% when pulling a3d20c28a7df0b43d09d7ba05a57d53183da7864 on 859-daemon into 47225c244665845d3838aabc520934c4fa9db0bc on alma.

Coverage decreased (-0.02%) to 78.141% when pulling a3d20c28a7df0b43d09d7ba05a57d53183da7864 on 859-daemon into 47225c244665845d3838aabc520934c4fa9db0bc on alma.


Preserve timestamps on cp?

Basically, the title already says it all: Is it possible to preserve the timestamps of files and directories when using the cp command?

I don't think we have this functionality. We would need the -p flag (see man page).
We also have support for long options, so someone could implement the full --preserve= flag if they're ambitious.
PRs are welcome. The unit tests for touch() show some examples of checking timestamps.

Okay, thanks :-)

I'd like to work on that 😃

If no one is working on it, I'd like to give it a shot.

@dwi2 thanks! Go right ahead.

just noticed that the "-p" option fails under WSL2 when copying to an NTFS destination:
(node:3896) UnhandledPromiseRejectionWarning: ShellJSInternalError: EPERM: operation not permitted, fchown
    at Object.fchownSync (fs.js:1068:3)
    at copyFileSync (/home/michael/<...>/node_modules/shelljs/src/cp.js:78:10)
    at /home/michael/<...>/node_modules/shelljs/src/cp.js:308:7
    at Array.forEach (<anonymous>)
    at Object._cp (/home/michael/<...>/node_modules/shelljs/src/cp.js:253:11)
    at Object.cp (/home/michael/<...>/node_modules/shelljs/src/common.js:411:25)

Since this has to do with ownership, and all I really need is timestamp preservation, I tried --preserve=timestamps but it appears to not be implemented:
cp: option not recognized: -

If you want --preserve=timestamps, please file a new feature request.


rbd: base implementation for CSI-Addons VolumeGroup

Describe what this PR does
This is the basis of the implementation for the CSI-Addons VolumeGroup specification. The service and capabilities are added, but the actual implementation of the VolumeGroup creation/deletion/modifying is not included here, and will be sent as a follow-up PR.
Is there anything that requires special attention
By providing this base for the CSI-Addons VolumeGroup support, reviewing should be simpler than including everything a a huge PR.
Updates: #4502

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)

@mergifyio queue

ci/centos/mini-e2e-helm/k8s-1.28 paniced in NFS testing logs:
  [PANICKED] in [AfterEach] - /go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.0.linux-amd64/src/runtime/panic.go:261 @ 07/11/24 09:23:33.79

/retest ci/centos/mini-e2e-helm/k8s-1.28

@mergifyio requeue


Timeout should be specified in seconds, not milliseconds

Okay, so this may be a matter of opinion … mine is that sub-second differences in the timeout’s duration are insignificant and surprising to users. I have read the help page, and yet I’ve multiple times caught myself having typed stuff like :begin 10, intending for the timeout to be 10 s rather than 10 ms.
As Bolt does require milliseconds, libneo4j-client should IMHO simply ×1000 any timeout given by the user.

Fixed in 28f5ff1cc5477d616f69cdd92237fd5ad5ff9ccc


[ERROR] Failed to execute goal com.querydsl:querydsl-maven-plugin:5.0.0:export (default) on project my-project: Stream has already been closed

Observed vs. expected behavior
After upgrading Spring-boot to v2.6.7, I upgraded querydsl from 4.2.1 to 5.0.0. After that querydsl-maven-plugin stated to fail with the error message "Failed to execute goal com.querydsl:querydsl-maven-plugin:5.0.0:export (default) on project my-project: Stream has already been closed"
Steps to reproduce
Here are the usages in pom.xml.
<querydsl.version>5.0.0</querydsl.version>

<dependency>
  <groupId>com.querydsl</groupId>
  <artifactId>querydsl-sql-codegen</artifactId>
  <version>${querydsl.version}</version>
  <scope>provided</scope>
</dependency>
<dependency>
  <groupId>com.querydsl</groupId>
  <artifactId>querydsl-sql</artifactId>
  <version>${querydsl.version}</version>
  <scope>provided</scope>
  <exclusions>
      <exclusion>
          <artifactId>joda-time</artifactId>
          <groupId>joda-time</groupId>
      </exclusion>
  </exclusions>
</dependency>
<dependency>
  <groupId>com.querydsl</groupId>
  <artifactId>querydsl-jpa</artifactId>
  <version>${querydsl.version}</version>
  <scope>provided</scope>
</dependency>
<dependency>
  <groupId>com.oracle</groupId>
  <artifactId>ojdbc8</artifactId>
  <version>8.0.0</version>
  <scope>provided</scope>
</dependency>

<plugin>
    <groupId>com.querydsl</groupId>
    <artifactId>querydsl-maven-plugin</artifactId>
    <version>${querydsl.version}</version>
    <executions>
        <execution>
            <goals>
                <goal>export</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <jdbcDriver>${jdbc.driver}</jdbcDriver>
        <jdbcUser>${jdbc.user}</jdbcUser>
        <jdbcPassword>${jdbc.password}</jdbcPassword>
        <jdbcUrl>${jdbc.url}</jdbcUrl>
        ...
    </configuration>
    <dependencies>
        <dependency>
            <groupId>com.oracle</groupId>
            <artifactId>ojdbc8</artifactId>
            <version>8.0.0</version>
        </dependency>
    </dependencies>
</plugin>

Querydsl version: 5.0.0
Querydsl module:
Database: oracle8
JDK: 8
Having querydsl-maven-plugin in v4.2.1, successfully builds the project. Any idea?

I think this is the same as the regression that was reported for Querydsl 4.4.0: #2660. Unfortunately, we never found out what changed caused it.

I have the same problem and simple debug shows that problem with declaration
version number(20) default 1 not null

This column is different from the others by 'default' keyword

<EMAIL_ADDRESS>

https://github.com/querydsl/querydsl/pull/3453

could it be merged?


[Rpi4 Yocto Wayland Client] Failure at runtime from version 2.8.0 onwards.

Specs
Device: Rpi4
Build System: Yocto Dunfell
Note: I don't directly build the flutter-engine with Yocto myself, currently I build the flutter-elinux tools as native and use them to build my application within Yocto.
Runtime Mode: Wayland client with Cage as the compositor.
Problem
Since upgrading to version 2.8.0 and later. My application fails to start on device. Cage boots up successfully but then the flutter application itself seems to be immediately exiting. As far as I can tell it does not reach the main() function of the dart code. Reverting to 2.5.3 solves the issue.
Unfortunately, as of yet I haven't been able to extract an error message, it may be that cage is eating the error messages emitted from the app.
I am going to rebuild with Weston as the compositor and see if the same issue occurs.

So rebuilding and using Weston as the compositor thankfully gives me an error message emitted from the embedder.

[FATAL:flutter/runtime/dart_vm_initializer.cc(22)] Error while initializing the Dart VM: Snapshot not compatiable with the current VM configuration: the snapshot requires 'produce no-code_comments no-dwarf_stack_traces_mode lazy_async_stacks no-lazy_dispatchers use_bare_instructions dedup_instructions no-asserts arm64-sysv compressed-pointers null-safety' but the VM has 'produce no-code_comments no-dwarf_stack_traces_mode lazy_async_stacks no-lazy_dispatchers use_base_instructions dedup_instructions no-asserts arm64-sysv no-compressed-pointers null-safety'
Aborted

The key difference in the configurations listed above is the compressed-pointers property.

@Charlie9830
(@kono0514)
Thank you for reporting the issue. I confirmed that it will occur in profile/release mode.

We've been using gen_snapshot of Android. However, some changes for Android only added in flutter 2.8.0 (https://github.com/flutter/engine/pull/27975). Now, we need to prepare gen_snapshot for elinux.

Just ran into the same issue when building for gbm, updated my flutter version to 2.8.1 and builds stopped running

The bug is present for both debug and release mode binaries

As a workaround, I tried to enable the compressed pointers feature in the flutter-engine but I get a segmentation fault error when I try to run it on the target.

tried to enable the compressed pointers feature in the flutter-engine

Currently, it seems to be supported in Android only.

@HidenoriMatsubayashi any update on this? I don't understand the snapshot workaround

I'm working on this. This issue will be fixed with next release version (2.10.1)


window 启动serving RuntimeError:     An attempt has been made to start a new process before the

Traceback (most recent call last):
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\error_catch.py", line 97, in wrapper
res = func(*args, **kw)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\error_catch.py", line 163, in wrapper
result = function(*args, **kwargs)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\pipeline_server.py", line 51, in init_helper
self._dag_executor = dag.DAGExecutor(response_op, dag_conf, worker_idx)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\dag.py", line 86, in init
self._is_thread_op, tracer_interval_s, server_worker_num)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\site-packages\paddle_serving_server\pipeline\profiler.py", line 45, in init
self._data_buffer = multiprocessing.Manager().Queue()
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\context.py", line 56, in Manager
m.start()
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\managers.py", line 563, in start
self._process.start()
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\popen_spawn_win32.py", line 46, in init
prep_data = spawn.get_preparation_data(process_obj._name)
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\spawn.py", line 143, in get_preparation_data
_check_not_importing_main()
File "C:\Users\CDROG\paddle_recaptcha\env\lib\multiprocessing\spawn.py", line 136, in _check_not_importing_main
is not going to be frozen to produce an executable.''')
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

Classname: PipelineServicer.init..init_helper
FunctionName: init_helper

I meet the same problem, have you solved this problem?


Problem loading the weights

Can anyone help me please? What could be the reason?

ValueError                                Traceback (most recent call last)
 in
----> 1 load_weights(model, './model_data/yolov4.weights')
 in load_weights(model, weights_file_path)
30             conv_shape = (filters, input_dims, kernel_size, kernel_size)
31             conv_weights = np.fromfile(file, dtype=np.float32, count=np.product(conv_shape))
---> 32             conv_weights = conv_weights.reshape(conv_shape).transpose([2, 3, 1, 0])
33
34             if conv_idx not in conv_output_idxs:
ValueError: cannot reshape array of size 3117998 into shape (1024,512,3,3)

I solve my problem by using yolov4 darknet for training and used the saved train instead.


I would like to be able to split up the configuration in multiple files or load some config from another location. That way I could commit the not-secret-configuration only.
Some ideas:

use values from environment variables as defaults
replace values which start by e.g. a $-Sign with values from environment
Allow multiple config files as arguments and merge them
add for some/all options the possibility to load it from a file  (e.g. an option password_from_file)

An example for some of the ideas is home assistant: https://www.home-assistant.io/docs/configuration/splitting_configuration/

Ah yes, this is a good idea. I think that perhaps having a placeholder type thing would be good:
mqtt:
  host: test.mosquitto.org
  user: {{ env("MQTT_USER", "my_default_user") }}

This is the same syntax I use for https://github.com/flyte/confp (which could be used for this in the meantime), and it means we can just run the config file through Jinja2 first, then load it as normal. I'll have a look at confp to see if it's possible to just utilise that as a dependency, since it might make things more flexible by being able to load values not just from env vars, but from etcd, redis, S3 etc. as well (or anywhere really, by writing a new module for confp).

Oh, and as far as splitting up config files goes, I'm not really convinced about that yet. I know some people use this software for much larger projects than I have, but we don't have comprehensive automation scripts and such like Home Assistant does, so I can't imagine config files getting too complicated to necessitate splitting.
Happy to be proven otherwise though.

Another benefit of using Jinja2 is that loops and conditionals can be used. That might make config files much less tedious to write, for example:
mqtt:
  host: test.mosquitto.org
  user: myuser
  password: {{ env("MQTT_PASS") }}
gpio_modules:
  - name: rpi
    module: raspberrypi
digital_inputs:
{% for i in range(10) %}
  - name: rpi{{ i }}
    pin: {{ i }}
    module: rpi
{% endfor %}

Hey @flyte wondering if you had a chance to document how you would pass environment variables via docker container? I would gladly submit a PR if I knew what  looks like. Thoughts?
docker-compose.yml
mqtt-io:
  container_name: mqtt-io
  image: flyte/mqtt-io:latest
  network_mode: host
  privileged: true
  restart: always
  volumes:
    - ./mqtt-io/config.yml:/config.yml
    - /etc/localtime:/etc/localtime:ro
  depends_on:
    - mqtt
  environment:
    TZ: ${TIMEZONE}
    MQTT_GPIO_CONFIG_MQTT_HOST: ${HOST_IP}
    MQTT_GPIO_CONFIG_MQTT_USER: ${MQTT_USERNAME}
    MQTT_GPIO_CONFIG_MQTT_PASSWORD: ${MQTT_PASSWORD}

config.yml
mqtt:
  host: <INSERT VARIABLE>
  topic_prefix: gpio
  user: <INSERT VARIABLE>
  password: <INSERT VARIABLE>
  ha_discovery:
    enabled: yes

Thanks to @pmgledhill102 I was able to render environmental variables using the following configuration on Fedora 36 IoT / Rpi3.
config.yml
mqtt:
  host: <hostname>
  user: <username>
  password: {{ my_env('MQTT_PASSWORD') }}
...

render.yml
backends:
  my_env:
     type: env

testing it
MQTT_PASSWORD=<password> python3 -m mqtt_io --render render.yaml config.yaml


OpenSearch endpoint can't generate RSS 2.0 feeds for Community/Collection without description

Describe the bug
When attempting to generate an RSS feed for a Community/Collection without dc.description.abstract metadata, the /opensearch endpoint fails with the following error
Invalid rss_2.0 feed, missing channel description

To Reproduce
Steps to reproduce the behavior:

Find (or create) a Community/Collection without dc.description.abstract metadata on https://demo7.dspace.org
Request https://api7.dspace.org/server/opensearch/search?format=rss&scope=<UUID>&query=*

The request will fail with HTTP 500, you'll see the above error message in the logs

Expected behavior
The feed should still work.
Proposed solution
Fall back to a default string (e.g. 'No description') in order to conform to the RSS 2.0 spec.
Workaround
Just add a dc.description.abstract to the Community/Collection.
Related work
Link to any related tickets or PRs here.

Hello, I would like to work on this.

@CVamsi27 : Thanks! I've assigned this to you, so feel free to submit a PR when you are ready to do so.  Also, please let me know if you are doing this work on behalf of a specific institution, or if you are just donating the work yourself.  That way I can ensure I credit you or your institution in the Release Notes once the work is complete.

I am working as an individual.

Can I get some insights on where to begin?

@CVamsi27 : More than likely the bug is either in OpenSearchController or OpenSearchServiceImpl.  But, I don't know exactly where it is right now.
Once you locate the problem, you may also want to add tests to prove it is fixed into https://github.com/DSpace/DSpace/blob/main/dspace-server-webapp/src/test/java/org/dspace/app/opensearch/OpenSearchControllerIT.java
That's the best advice I can offer at this time... if you end up finding this more complex than expected, let us know.  We can always reassign it as needed.  Thanks!

Can I get few UUID's with and without dc.description.abstract?

You can use the following queries too look up some on the demo server:

Comm/Coll with abstract
Comm/Coll without abstract

Hello, I am trying to run a test case use the command mvn test -DskipUnitTests=false -Dtest=[org.dspace.app.opensearch]#[emptyDescriptionTest] -DfailIfNoTests=false. In the console it just says Build success nothing regarding Pass/Fail of the test case. Let we know which cmd to use?

On Fri, Apr 07, 2023 at 06:56:37AM -0700, Chandaluri Vamsi Krishna wrote:

Hello, I am trying to run a test case use the command mvn test -DskipUnitTests=false -Dtest=[org.dspace.app.opensearch]#[emptyDescriptionTest] -DfailIfNoTests=false. In the console it just says Build success nothing regarding Pass/Fail of the test case. Let we know which cmd to use?

I think that should be mvn test -DskipUnitTests=false -Dtest=org.dspace.app.opensearch#emptyDescriptionTest -DfailIfNoTests=false
That is:  without the square brackets.  It seems that Surefire found
no matching tests and thus did nothing, successfully because of
-DfailIfNoTests=false.
--
Mark H. Wood
Lead Technology Analyst
University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

On Fri, Apr 07, 2023 at 06:56:37AM -0700, Chandaluri Vamsi Krishna wrote: Hello, I am trying to run a test case use the command mvn test -DskipUnitTests=false -Dtest=[org.dspace.app.opensearch]#[emptyDescriptionTest] -DfailIfNoTests=false. In the console it just says Build success nothing regarding Pass/Fail of the test case. Let we know which cmd to use?
I think that should be mvn test -DskipUnitTests=false -Dtest=org.dspace.app.opensearch#emptyDescriptionTest -DfailIfNoTests=false That is: without the square brackets. It seems that Surefire found no matching tests and thus did nothing, successfully because of -DfailIfNoTests=false.
…
-- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202<PHONE_NUMBER> www.ulib.iupui.edu

I tried using that, it doesn't matter, it just says build success.

@CVamsi27 I think there's two things going on

you're missing the class name; assuming you wrote your test in the suite Tim suggested above it should be org.dspace.app.opensearch.OpenSearchControllerIT#emptyDescriptionTest
this is an integration test, so you should use -DskipIntegrationTests=false -Dit.test=... instead (see here)


Improvement for k8s.io/docs/tasks/administer-cluster/topology-manager/

The examples for using the topology manager seems to be copied from the cpu manager page and do not refer to the topology manager policies. e.g. it refers to the "static" and "none" policies instead of the ones described earlier on the page.

I think i just misunderstood the explanation....


Publish the all files and assets

Is it possible to publish the all files and assets
I use a custom admin template and my projects always have various needs of customization.
Thanks.

You mean the views related files?

I mean views, controller, models, middleware.
All files related.

If you want to have control on everything then you can create normal auth using command php artisan multiauth:make guardname and on multiauth config file you can turn admin section off.
In this way you will actually get everything on your project.

Sir if i want to change route view using controller.
how to publish all controllers used in multi-auth login package


Rearrange and add trycatch for local rendering

Makes a blank tibble in case the anvil repos file isn't present locally
Cleaned up order of code to look nicer

@KatherineCox it would be awesome if you could test this locally - it should render a blank table with "none" but render as expected once pushed to remote. Might need to branch off this branch instead of main :)

@KatherineCox it would be awesome if you could test this locally - it should render a blank table with "none" but render as expected once pushed to remote. Might need to branch off this branch instead of main :)

I'll give it a try!  Will I need to use a different Docker container?

@avahoffman Successful local render!


Upgrade Data Download Link from HTTP to HTTPS

Hello,
I noticed that in the repository, the data download link for the mini-speech commands dataset is currently using HTTP https://github.com/NXP/eiq-model-zoo/blob/e2152edd3f729b4772a8328f5745978f51b2b707/tasks/audio/command-recognition/micro-speech-LSTM/scripts/dataset.py#L22-L28, which poses a security risk. Since our server, like many others, strictly connects via HTTPS, it's unable to access the data due to this non-secure connection. To address this issue and ensure secure data transfer, I suggest updating the download link to HTTPS.
Fix:
To resolve this issue, simply update the data download link from:
http://storage.googleapis.com/download.tensorflow.org/data/mini_speech_commands.zip
to:
https://storage.googleapis.com/download.tensorflow.org/data/mini_speech_commands.zip
With this adjustment, I was able to successfully download the data and run the code. Additionally, this minor adjustment ensures that the data is downloaded securely via HTTPS, eliminating any potential security concerns.
Best regards

Could you also revise all the other datasets? Some of them also have http links.

Hi @utkusaglm, thank you for pointing this out!
I fixed all links in the "fix_https" branch so you can use it right away. It will be fixed in the main branch in the next release (next month).

Hi @gaetanbahl, thanks a lot!


Can't deploy Serverless Example Service to AWS because file is too big

How can I deploy the examples (using npm run deploy or serverless deploy? I get an error about sizes being too big. I removed the ava package, but my zip file is still 114 mb. I get errors about the 250MB uncompressed limit.

An error occurred while provisioning your stack: ScreenshotLambdaFunction - Unzipped size must be smaller than 262144000 bytes (Service: AWSLambda; Status Code: 400; Error Code: InvalidParameterValueException....)

Have you tried npm prune --production ?

removed 29 packages in 9.954s`.

Cool!
 Can't resolve 'chrome-remote-interface'

argh.
I should close this issue - strangely, when I build from the serverless create command (that should be updated in the documentation) it builds okay. But when I git clone from the repo and go to examples/aws, and run serverless deploy, I get the above.


Backfill of labels is jagged because of missing anti aliasing

Mapsui Version
4.1.0-preview.1
Mapsui Platform
Tested on WPF but probably all
Device
Tested on Windows but probably all
Describe the bug
The backfill of a Label (or of a TextBox and probably other widgets) looks ugly jagged and can be improved by using SKPaint.IsAntialias = true in the renderer.
To Reproduce

Go to the Styles samples in Blazo
Select the Labels.
Make a screenshot of any of the label backgrounds and enlarge it.

Screenshots
Current situation:

Using SKPaint.IsAntialias = true  on my local machine:

This could have a noticeable impact on performance when many labels are used. I did not test this.

Fixed with https://github.com/Mapsui/Mapsui/pull/2205


Make a new release to Rubygems

Hello! Could you please push the new 1.1.0 release to rubygems? Seems that version 1.1.0 is not available there (https://rubygems.org/gems/solidus_i18n).
Thanks!

Would be nice to have.

Here you go https://rubygems.org/gems/solidus_i18n/versions/1.1.0
Sorry for the delay 🐻

thank you so much!


SB Module: Added show "menu" with options to delete or refresh show.

I have added a show menu with the options to delete and refresh the show on SB. Will probably make a couple more commits afterwards with more options.

Also added to experimental.


Rename slug to scheme-slug or something more descriptive like that

It is an "official" name.
I would love if we can remove it and have all name usable directly as slug.

I would love if we can remove it and have all name usable directly as slug.

What do you mean?

Slug is an human compliant name. I would love if all our names were directly human compliant.


Improve export server

Originally implemented as a proof of concept with a single tab running the export, later improved to parallelize the work, export server was never considered a final solution ready for production. Rather a tool to demonstrate how export could work. Server does the only job of passing requests to the puppeteer and generate PDFs.
This ticket is meant to collect feedback and ideas about required server capabilities, missing features, security issues, etc.

add health-check API (https://forum.bryntum.com/viewtopic.php?f=51&t=29807&p=151093#p151093)


Add new Style/SoleNestedConditional cop

This cop checks for places where nested conditionals can be merged into outer ones, like:
# bad
if condition_a
  if condition_b
    do_something
  end
end

# good
if condition_a && condition_b
  do_something
end

This, imo, makes code more readable and, for sure, reduces nestings.
Inspired by Style/IfInsideElse cop.
That cop also has (disabled, btw, in rubocops .rubocop.yml file) AllowIfModifier setting. I haven't added that as I haven't get the point of its usefulness and how this
if condition_a
  do_something if condition_b
end

can be better than
if condition_a && condition_b
  do_something
end

Probably, the cop name and wordings can be improved.

I can see how this:
if important_criteria
  do_something(:important, 'with a long argument') unless unlikely_minor_cond?
end

# could be better than
if important_criteria && !unlikely_minor_cond?
  do_something(:important, 'with a long argument')
end

Also, did you handle the cases if (var = calculate) manually? That's cheating 🤣. I think that's if a criteria is an assignment than no offense should be raised, no?

Not sure. Personally, I'm happy with offense raised in this case 😄  I extracted that cases as a separate assignment before conditional, but would also just append nested conditions to that assignment. I looks more simpler/clear to me as a separate line.

Added AllowModifier option and test with comment.


[v1] Access to answers in saofile actions

It would be nice to have access to prompt answers in the actions section when modifying files. It seems like in v1 that this is no longer the generator instance.
A simple workaround or path forward is just to modify files based on answers in the completed section using this._answers and being sure to alter the file based on the new template path.

This would also make it possible to rename files based on the answers given, this would be perfect. At the moment I rename files very dirty in the completed using fs.


tokenBalance in useTokenData is a Number but should be a BigNumber

Should go without saying -- no casting BigNumbers to Numbers when the data is "untrusted" (i.e. any random token).
Just return the BigNumber back into the data layer and let the view layer handle how to display it (we're returning back decimals too, so ethers.js can easily handle displaying it as a formatted string)

@sethhrbek i know you were doing some refactor work in this hook, so wanted to point out this issue to you


Remove .git from .dockerignore

I added .git to .dockerignore to speed up skipper ... commands,
but since this repo's CI does periodic processing and commits / pushes to
itself, .git must be present inside the build container.
You can see it fail here:
https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-assisted-assisted-installer-deployment-master-snapshot-repos/1542297103764557824
Moving to a writable directory
fatal: not a git repository (or any of the parent directories): .git
{"component":"entrypoint","error":"wrapped process failed: exit status 128","file":"k8s.io/test-infra/prow/entrypoint/run.go:80","func":"k8s.io/test-infra/prow/entrypoint.Options.Run","level":"error","msg":"Error executing test process","severity":"error","time":"2022-06-30T00:14:49Z"}
error: failed to execute wrapped command: exit status 128

This commit removes .git from .dockerignore

/test snapshot-repos-dry-run

/unhold


[Bug]: Async function does not appear on settings tab

Is there an existing issue for this?

[X] I have searched the existing issues

Description
clearStorage function does not appear on the settings tab of the object unless modified. To repro the function not appearing on the settings tab, clear cache and reload the JS object and observe again
Steps To Reproduce

Go to the app at this location
Navigate to the settings tab and observe that the function clearStorage does not appear on there
If you can see it, clear cache and reload page
Modify the function and you'll start to see the function on the settings tab

Function:

Async function does not appear on the settings tab:

Public Sample App
https://release.app.appsmith.com/app/earworm/spotify-and-youtube-61ea4a44361846772cfb1180/edit/jsObjects/6266b803cb603a05f907ff76?branch=master
Version
Cloud

Related issue https://github.com/appsmithorg/appsmith/issues/11589

@ramsaptami I'm not able to reproduce this

I've updated the app link to access the function that fails in this scenario


"What is mixed content?" article doesn't have a definition of mixed content anymore

Per conversation with @petele offline.
I noticed the initial paragraph from "what is mixed content?" got moved to a new really small page "prevent mixed content". This leaves my "what is mixed content?" article without a definition of what mixed content is.
https://developers.google.com/web/fundamentals/security/prevent-mixed-content/
vs
https://developers.google.com/web/fundamentals/security/prevent-mixed-content/what-is-mixed-content

Thanks for the feedback, we've got an update coming next week that should fix this.
https://petele-scratch.appspot.com/web/fundamentals/security/prevent-mixed-content/what-is-mixed-content

Awesome! Thanks! :)


Extrack Smoke Tests to a new file

Currently, smoke tests are part of the workflow which can lead to a issues in parsing when updating it.
Create a .sql file for smoke tests and add a husky pre-commit and test if it's a valid SQL file.

Hey @ChakshuGautam , How do I run the pip or npm commands in the codespace to install the requirements?

Hey, are you using npm or Python to verify the SQL file?

I tried both the command but none worked.

Hey, this project is not a python/npm-based project. What are you using those for?

Okay @ChakshuGautam ,I will try this in Gitpod.

Can you assign this for me?

@ChakshuGautam

I tried to set up the env using gitpod but I am facing this error. What should I do to resolve it?

Hi @i-m-karanagarwal, this is a known issue which I have addressed in PR #54. While the PR is being reviewed, you can manually update your local copy to continue development.


Please update DRAKE_SUGGESTED_VERSION to v1.25.0

https://github.com/RobotLocomotion/drake/releases/tag/v1.25.0

Apparently there are actual compilation failures with this upgrade, so drake-ros team please take a look ASAP:
https://stackoverflow.com/questions/77867296/colcon-build-causes-drake-errors-for-the-latest-drake-release

Apparently there are actual compilation failures with this upgrade, ...

False alarm.  The build with 1.25 works fine, the user was (I think) just using a >6 month old checkout of drake-ros.

Yup, sorry for the noise!  I put too much trust in the SO post.
Since I have new the new checksum locally now anyway, I'll open a PR to see what CI says.


Refactor database design

Use an ORM
Refactor database table (user_id instead of user_snowflake in `streams`` for example)
Set up some sort of migrations system

Might I recommend ormar+sqlalchemy for this? We/you could set up some models using ormar that would directly translate to tables in your db. Further, I think you could use either alembic or django migrations to migrate the database after any changes to the schema.
An example using ormar:
import sqlalchemy
import databases
import ormar

from ..config import Settings

DATABASE_URL = Settings.DATABASE

database = databases.Database(DATABASE_URL)
metadata = sqlalchemy.MetaData()

class BaseMeta(ormar.ModelMeta):
    metadata = metadata
    database = database

class Users(ormar.Model):
    class Meta(BaseMeta):
        tablename="users"

    id: int = ormar.Integer(primary_key=True)
    name: str = ormar.String(max_length=20)

This looks pretty nice! I'm already planning to use Tortoise as my ORM, as it's made for an asynchronous environment - but I'm definitely open to suggestions if you know of anything that would work better for the project.

This looks pretty nice! I'm already planning to use Tortoise as my ORM, as it's made for an asynchronous environment - but I'm definitely open to suggestions if you know of anything that would work better for the project.

I think Tortoise looks great!


Interface changes for list/update/uninstall

Change
The expected interface definition for use by list, update, and uninstall commands.  This will allow others to make progress implementing these commands, but note that they are not themselves yet implemented.
The expected use is:
auto source = OpenPredefinedSource(PredefinedSource::Installed, progress);
auto results = source->Search(...);
if (results.Matches.empty()) { ... } // Found none
else if (results.Matches.size() == 1) { ... } // For targeting a single application
else
{
  for (const auto& match : results.Matches) // For targeting all
  {
    if (match.GetInstalledVersion().GetProperty(PackageVersionProperty::Version) < match.GetLatestAvailableVersion().GetProperty(PackageVersionProperty::Version)
    { ... } // An update is available
  }
}

Validation
No functional changes should be observed.
Microsoft Reviewers: Open in CodeFlow

Thanks for unblocking!


Fixes #1497

Fixes icon alignment.
Fixes guide icon size.

Hello there , I think the officials ceased to maintain the repository. As you can see in the below link, They are working on development tooling for Angular that will provide utilities for debugging and performance profiling.
Angular Roadmap