Push fails to resume after failed upload to Ollama.com model registry

What is the issue?
When pushing models to ollama.com's registry, if they fail part way through - when you go to continue the push they start from scratch again.
This is quite painful when you've spent hours trying to upload from Australian a slow internet link as it can mean many hours of uploading and hoping for the best.

What did you expect to see?
Errors happen, things fail - but they should be resumable (at least for say 24hrs).
I expected to run the push and have it pickup where it left off (around 8%).
Steps to reproduce

Come to Australia, enjoy our fine internet infrastructure.
Push a large model to ollama.com
Take pleasure in the chance game which is Australian internet reliability.
When your upload fails, try to continue the upload by pushing again.
Tears.

Are there any recent changes that introduced the issue?
No response
OS
Linux, macOS
Architecture
arm64, amd64
Platform
No response
Ollama version
0.1.29
GPU
Nvidia, Apple
GPU info
N/A
CPU
AMD, Apple
Other software
No response

Hi @sammcj, sorry about this. Resuming on push is on our radar.


Enabling multiple templates of the same kind

Why we need this PR
Enable NHC to support same kind templates for escalation remediation
Changes made

NHC will check if a remediation Template supports remediation for multiple templates of the same kind by verifying that the template has the proper annotaion
In case the template isn't supported it will default to the old behavior
In case the template is supported it'll create the remediation CR with a unique name and will add to this CR annotations with the Template Name and Node Name.
Webhook validation was modified which prevents adding a template with an already existing kind unless all the templates of that kind supports same kind template.
Template Name was added to Remediation (which is nested in NHC status)
Split annotation utils into a new package, since it's to be used by the webhook and needed to avoid cyclic dependencies

Which issue(s) this PR fixes
ECOPROJECT-1229
Test plan

/test ?

/test 4.15-openshift-e2e

/test 4.15-openshift-e2e

/lgtm

/retest

/retest


Request for the preprocessed datasets

Hi, thank you for sharing your great work!
Unfortunately, I'm facing an issue with preprocessing the data and training the model. Could you provide the preprocessed data(like google drive) and explain the training process in detail?

Thank you for your response. I was initially confused that i needed all the preprocessed datasets sampled by IRCoT, but now I understand and believe I can handle it on my own. I sincerely appreciate your help once again.

Feel free to contact me if you have any other questions!


Is it possible to move the image in the editor

Hi, is it possible to move the image in the editor, e.g. move the image from second line to third line?

No it's not possible to move image in the editor.

But it can be done?
I wonder how..

Since it works with objects, maybe with a sortable, we could do it..


Es5 compatibility fix

Fixes #6
As there isn't any contributing file, you (master :bowing_man: ) probably should cherry pick commit : I did everything I could think of, but I probably miss something.

Thank you, nice catch.


OCM-8276 | fix: don't show empty lines when filtering version on acc roles

OCM-8276

/retest

/retest

/lgtm


Fix typo

Fix typo on ExecCredential

Hi @partkyle Thank you for your contribution.  Please sign the CLA so we can accept the PR for review.

👋 We've migrated the site's framework to Hugo. Please re-open this PR with changes to files in their post-migration location (/content/en/docs/...) and reference this PR in the new PR's description.


Main hero — keyboard navigation improvements

Improve roving keyboard navigation on the carousel
Add Esc key to exit a demo (press Enter to enter a demo when focused)
Add aria labels for demos

I still want to do a few related improvements to make the demo experience nice for screen reader users; will figure it out in the next iteration.

Fix miscellaneous related bugs
(Unrelated) Fix slightly clipped “Why waste…” heading letters

Looks great man! 🔥
I noticed this overlap issue here, not sure youre aware:

I noticed this overlap issue here, not sure youre aware:

Thanks for pointing it out, fixed!


Remove coveralls

Questions
Answers

Description?
Please be specific when describing the PR.  Every detail helps: versions, browser/server configuration, specific module/theme, etc. Feel free to add more information below this table.

Type?
bug fix / improvement / new feature / refacto / critical

BC breaks?
yes / no

Deprecations?
yes / no

Fixed ticket?
Fixes PrestaShop/Prestashop#{issue number here}.

How to test?
Please indicate how to best verify that this PR is correct.

This change is

https://github.com/PrestaShop/ps_facetedsearch/blob/dev/tests/php/phpunit.xml#L24
to delete I guess


img crop, the same as APBSN?

I follow the data preparation done by APBSN in which the patch size is 512 and the overlap size is 128, is that right?

Of course you can. However, the repetition of each image (self.repeat) is set based on the quantity of the original images. If you choose to crop the original images, remember to adjust it accordingly. (If you don't adjust it, it's fine, but the number of iterations per epoch will increase, leading to longer training time.)


When on creative, sometimes it plays survival music.

So when going on survival, it only does play survival music, and never plays creative music, but when going in creative mode it plays both creative and survival music.

Oh wait, it turns out this is an issue with Java edition, not the mod itself


[PLG-272] Added violation activity log entry

Description
PLG-272 Added violation activity log entry
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Chore (no code changes)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also
list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] My code follows the style guidelines of this project
[ ] My commit message/PR follows the contribution guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Other information:
List any documentation updates that are needed for the Wiki

@arunpaladin please compare this PR with master and see its missing anything from here. Please close this PR


Timeline & Charts: error when deleting events

Query:
INSERT INTO bx_charts_most_active_profiles (object_id, profile_module, content_module, create_count) SELECT sys_profiles.content_id, sys_profiles.type, 'bx_timeline' , COUNT(bx_timeline_events.id) FROM bx_timeline_events
INNER JOIN sys_profiles ON sys_profiles.id = bx_timeline_events.object_owner_id WHERE sys_profiles.type='bx_organizations' AND bx_timeline_events.added ><PHONE_NUMBER> GROUP BY sys_profiles.content_id, sys_profiles.type ORDER BY COUNT(bx_timeline_events.id) DESC LIMIT 0,4
Mysql error:
Unknown column 'bx_timeline_events.added' in 'where clause'
Location:
The error was found in query function in the file /var/www/vhosts/mainsite/html/modules/boonex/charts/classes/BxChartsDb.php at line 60.

Is there a solution for this yet?


Migrate vl.field.order to this library

Since it's not relevant to vega-lite's business at all.

duplicate


Energy does not depend on max_bond_dimension in 011.input?

Hi,
I tried to run https://raw.githubusercontent.com/Molcas/OpenMolcas/dbb6ed0fcd4552d29700dd95d6896ed20c9e5857/test/qcmaquis/011.input
from openmolcas  v22.10
I got
Total MC-PDFT energy for state     1                               -150.37153838
when I changed the input as
max_bond_dimension = 10
I got
      Total MC-PDFT energy for state     1                               -150.37153838
Namely, the energy does not depends on max_bond_dimension.
Anything wrong in modifying the input? Thank you very much

Hi :smiley: I think that you don't see a change in the energy because the problem is very small (a small active space and a highly symmetric system). You should see an impact of the bond dimension when going to larger systems.

Thanks! I modified nactel = 6 and ras2   = 6 (is that (6,6) active space?), the energy becomes different.
      Total MC-PDFT energy for state     1                               -150.35137034

and
      Total MC-PDFT energy for state     1                               -150.35085025

for 10 and 100 max_bond_dimension, respectively.


Auto detect cilium incompatibility during cni loop

This is a UX improvement for users. Note this is not just logging, but also limiting to 1 loop per second. This ensures when we do trigger the condition, we don't spin at max CPU and log 100s of times per second

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
c26b9934e9e1219592d0b2022caae757589a272a
link
true
/test lint

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

This is a UX improvement for users. Note this is not just logging, but also limiting to 1 loop per second. This ensures when we do trigger the condition, we don't spin at max CPU and log 100s of times per second

Thinking about this some more - the downside of this is that at this point your cluster is already broken, so  slowing the loop really just creates bigger windows for your cluster to be broken-er.
It would be better ultimately to have istio-cni go unhealthy if there are X detected rewrites in X seconds I think, there is no self-healing possible here so backoffs in and of themselves don't accomplish much.

It should already be "unhealthy" when this occurs, or at least was in my experience

It should already be "unhealthy" when this occurs, or at least was in my experience

Good ty for confirming - I thought as much but couldn't remember.


Batch support

Depends on https://github.com/wilkerlucio/pathom3/issues/86

@wilkerlucio Is this possible now that https://github.com/wilkerlucio/pathom3/issues/86 is completed? If so, curious what's involved and if I can help!

Hello @tylernisonoff, yes, at this point, it is possible to continue this implementation here. The work is mostly an algorithm that can properly merge multiple GraphQL requests in one. The work here involves examining those queries, and analyzing what kind of situations allow for a merge and which don't. For example:
;; consider the following queries

query {
  user(id: 1) {
    name
  }
}

query {
  user(id: 1) {
    address
  }
}

;; these can be merged to:

query {
  user(id: 1) {
    name,
    address
  }
}

But what about:
query {
  user(id: 1) {
    name
  }
}

query {
  user(id: 1, somethingElse: "value") {
    address
  }
}

In the last case, I don't see how to merge (given different params might bring a different result), and those would have to be kept split and made as two requests.
The work here is to get deeper into these scenarios, merge when it can, separate when it can't, and return the batch results.
I'm glad to help if you wanna get this workstream moving.

ahh got it, really appreciate the write-up! This is a little different than what I thought the issue was referring to, but will give it some thought if I can take a stab at it


Execution error: Failed to initialize the ADM.Aborted

Running on a RPi 2W with a imx219 camera. The config.txt has been updated as per instructions.
> ./pi_webrtc --device=/dev/video0 --fps=30 --width=1280 --height=960 --v4l2_format=h264 --hw_accel
produces the following error:
Use h264 format source in v4l2

#
# Fatal error in: ../../media/engine/adm_helpers.cc, line 39
# last system error: 88
# Check failed: 0 == adm->Init() (0 vs. -1)
# Failed to initialize the ADM.Aborted

Not using pulseaudio as I have no microphone. What am I doing wrong?
Thanks a lot.

It'll read the "silence" voice even though there isn't a microphone, the PulseAudio is always required!
https://github.com/TzuHuanTai/RaspberryPi_WebRTC/blob/d226407391e0530598433c6e62406928d73c4bed/src/conductor.cpp#L275-L276

The "--no_audio" flag is supported starting from the "v1.0.2" release.
It can run pi_camera without pulseaudio or any audio source.
./pi_webrtc --device=/dev/video0 --fps=30 --width=1280 --height=960 --v4l2_format=h264 --hw_accel --no_audio


Do not show all applications to providers not in the permissions mapping

Draft, existing specs still broken
Due to an or condition in GetApplicationsForProvider, when a provider is nil we return all applications. (or at least all of the ones without an accrediting provider).

Guidance to review
commit by commit
https://trello.com/c/OTiDNrff/1295-provider-applications-are-not-scoped-on-the-provider-ui-you-can-see-everything

Looks all good to me. My only question would be whether it's possible to get into the authenticated state and not associated with a provider state for some other reason than it's in progress? Could a user be authenticated but never have access to a provider?
I've not done any manual testing by the way because I don't know how to reproduce locally.

Thank you.
That question occurred to me too, but right now I don't think there is another way to get into that state.
For local testing follow https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training#provider-permissions


STYLE: size_t vs. std::size_t

Description
We use both size_t and std::size_t.  Which is the preferred style?
Actual coding style
As of cef0b6511c27b486cd3469493fa6fcc774f97f53, the count of occurrences with and without the prefix std:: are as follows.
     22 int8_t
     41 int16_t
    123 int32_t
     88 int64_t
      6 intmax_t
      4 intptr_t
      2 int_fast8_t
      2 int_fast16_t
      2 int_fast32_t
      2 int_fast64_t
      2 int_least8_t
      2 int_least16_t
      2 int_least32_t
      2 int_least64_t
     21 int_t
     17 ptrdiff_t
   1333 size_t
    156 uint8_t
     84 uint16_t
    495 uint32_t
     49 uint64_t
      6 uintmax_t
      2 uintptr_t
      2 uint_fast8_t
      2 uint_fast16_t
      2 uint_fast32_t
      2 uint_fast64_t
      2 uint_least8_t
      2 uint_least16_t
      2 uint_least32_t
      2 uint_least64_t

      3 std::int8_t
      2 std::int16_t
      1 std::int32_t
      3 std::int64_t
      1 std::intmax_t
      1 std::intptr_t
      1 std::int_fast8_t
      1 std::int_fast16_t
      1 std::int_fast32_t
      1 std::int_fast64_t
      1 std::int_least8_t
      1 std::int_least16_t
      1 std::int_least32_t
      1 std::int_least64_t
     11 std::nullptr_t
     19 std::ptrdiff_t
    144 std::size_t
      4 std::uint8_t
      3 std::uint16_t
      3 std::uint32_t
      1 std::uint64_t
     26 std::uintmax_t
      1 std::uintptr_t
      1 std::uint_fast8_t
      1 std::uint_fast16_t
      1 std::uint_fast32_t
      1 std::uint_fast64_t
      1 std::uint_least8_t
      1 std::uint_least16_t
      1 std::uint_least32_t
      1 std::uint_least64_t

This list was generated from
cd git/ITK
find * -type f | egrep '\.[hc](xx|pp)?$' | fgrep -v ThirdParty |
  xargs egrep -o '(std::)?(size|ptrdiff|nullptr|max_align|u?int(_fast|_least|max|ptr)?[0-9]*|float[0-9]*)_t' |
  cut -d : -f 2- | sort -V | uniq -c

IMHO prefixing something as rudimentary as int32_t just hurts readability for no real gain, likewise for all those others.  It's not like they exist in any other namespace, that would break so much code.

It seems like dropping the prefix has the least effect.  I would recommend adding a maintenance script to ITK that can automatically make these substitutions.  They will inevitably creep back in.
It could also be added to an existing substitution script for the vxl name substitutions.

I guess sometimes people think that std:: prefix is required for those, too. Otherwise I doubt there would have been any instances of those. I vote in favor of shorter form. It helps readability.

I will submit a pull request to remove std:: in these cases.  If any of you know how to put this in as a commit hook, KWStyle check, or wherever is best then please do.  In case it is helpful more generally ... the bash sed command that I use is:
sed -i -r \
  -e 's/std::((size|ptrdiff|nullptr|max_align|u?int(_fast|_least|max|ptr)?[0-9]*|float[0-9]*)_t)/\1/g' \
  file1 file2 ...

NB: Don't apply it to Modules/Core/Common/include/itkIntTypes.h.

NB: If as a commit hook, etc. please apply the sed command somewhere before the application of the clang-format command.

Lee, can you self-assign this issue to yourself?

Lee, can you self-assign this issue to yourself?

It seems that I cannot.

Then I guess you would need write access for that. I assigned you.


NIFI-13726 Set cell style copy policy to false in order to avoid exceeding the maximum number of cell styles (64000) in an Excel Workbook

Summary
NIFI-13726
This can be tested using the attached file which is the file that caused the original issue in NIFI-13466 . As is that file had another issue described in NIFI-13819 which did not allow it to be read. The file attached is that file modified to allow it to  be read without any issue.
2024-6-7-iolp-buildings.xlsx
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

+1 LGTM, thanks for the fix! Merging to main


NotAuthorizedError can be initialized with a string

Like described in Readme.md, one should be able to initialize Pundit::NotAuthorizedError with a message string. See also: https://github.com/elabs/pundit/pull/277

Nice!

:tada: glad i could help.


store.load not working

I really could not get this working with the current version of rdfstore, while it works with some very old one (0.8 I think)
This is my code:
rdfstore.create(function (err, store) {
  store.load(mimeType, file, function(err, loaded) {
    console.log("LOADSTORE", err, loaded)

and I get loaded = 0
my file is:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<>
    <http://purl.org/dc/terms/title> "WebID profile of Nicola Greco" ;
    a <http://xmlns.com/foaf/0.1/PersonalProfileDocument> ;
    <http://xmlns.com/foaf/0.1/maker> <#me> ;
    <http://xmlns.com/foaf/0.1/primaryTopic> <#me> .

<#me>
    a <http://xmlns.com/foaf/0.1/Person> ;
    <http://www.w3.org/ns/auth/cert#key> <#key> ;
    <http://www.w3.org/ns/pim/space#preferencesFile> <../Preferences/prefs> ;
    <http://www.w3.org/ns/ui#backgroundImage> <van%20gogh%20gigapixel.png> ;
    <http://xmlns.com/foaf/0.1/img> <nicola%20machine%20drawing.jpg> ;
    <http://xmlns.com/foaf/0.1/knows> <http://melvincarvalho.com/#me> ;
    <http://xmlns.com/foaf/0.1/mbox><EMAIL_ADDRESS>;
    <http://xmlns.com/foaf/0.1/name> "Nicola Greco" .

Still, it loades it in the older version :( Any idea?

Did you try to perform a query e.g. to see if the data really wasn't loaded? The loaded parameter is always zero for me too, but the triples are loaded anyway...

This is clearly a bug,
see my PR https://github.com/antoniogarrote/rdfstore-js/pull/99

The PR was merged by @antoniogarrote -- the next release should fix this bug.

@ckristo @nicola
I have just published version 0.9.7 with the fix.
I double checked your example and seem to be working correcly.
Cheers.


chore: bump rspack to 0.5.6

Summary
Related Links

Checklist

[ ] Tests updated.
[ ] Documentation updated.

 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.WYM seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks!


the fonction .all() didn't work for nb.virtualization.virtual_machines. ?

i want to print all vm with their info with this nb.virtualization.virtual_machines.all() but that don't work because all() doesn't exist for this i supposed. so how can i do ?

all() should exist on virtual_machines. Seems to work ok for me.

you write  nb.virtualization.virtual_machines.all() or somefing else ?

Yeah, nb.virtualization.virtual_machines.all() if you want to pass filters you'd want to use the .filter() method, but I'm not sure what arguments the virtual-machines endpoint takes. You might want to have a look at the API docs and see what you can pass to it.

when i look the logs, i have this responses : ValueError: invalid literal for int() with base 10: 'AVAYA'
but my programme execute that :
infoVM = nb.virtualization.virtual_machines.all()
print(infoVM)
i don't understand

You could try adding
http.client.HTTPConnection.debuglevel = 1```
And see if you get any more details.

i try and i have this response :+1: send: b'GET /api/virtualization/virtual-machines/ HTTP/1.1\r\nHost: netbox.intranet.local\r\nAccept-Encoding: identity\r\nmycustomheader: test\r\naccept: application/json;\r\nauthorization: Token 1ffc8ed8429ae956201f9efa22ae7ee9e450de98\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Date: Wed, 19 Aug 2020 05:33:26 GMT
header: Server: gunicorn/19.7.1
header: Content-Length: 40561
header: Vary: Accept,Cookie,Origin
header: Allow: GET, POST, HEAD, OPTIONS
header: API-Version: 2.4
header: X-Frame-Options: SAMEORIGIN
header: Content-Type: application/json
send: b'GET /api/virtualization/virtual-machines/?limit=259&offset=50 HTTP/1.1\r\nHost: netbox.intranet.local\r\nAccept-Encoding: identity\r\nmycustomheader: test\r\naccept: application/json;\r\nauthorization:
Token 1ffc8ed8429ae956201f9efa22ae7ee9e450de98\r\n\r\n'
reply: 'HTTP/1.1 500 Internal Server Error\r\n'
header: Date: Wed, 19 Aug 2020 05:33:28 GMT
header: Server: gunicorn/19.7.1
header: API-Version: 2.4
header: Vary: Cookie,Origin
header: X-Frame-Options: SAMEORIGIN
header: Content-Type: text/html; charset=utf-8
header: Content-Length: 1773
header: Connection: close

Tested against 2.7 here.

i don't arrived to upgrad netbox 2.4 on 2.8 version

Nothing I can think of with pynetbox, could always just use the requests library directly. Will close this out for now since I can't reproduce.


Add species maps to website

Add all species maps to website. Currently sorted by taxonomy:

[ ]  Andrenidae

[x] -- Acamptopoeum

[x] -- Ancylandrena

[x] -- Andinopanurgus

[ ] -- Andrena

[ ] -- Anthrenoides

[ ] -- Arhysosage

[ ] -- Calliopsis

[ ] -- Macrotera

[ ] -- Megandrena

[ ] -- Mesoxaea

[ ] -- Oxaea

[ ] -- Panurginus

[ ] -- Perdita

[ ] --  Protandrena

[ ] --  Protoxaea

[ ] --  Pseudomacrotera

[ ] -- Rhophitulus

[ ]  Apidae

[ ]  Halictidae

[ ] Megachilidae

[ ] Melittidae

Basic procedure for adding maps:

Add species maps for one genus at a time
Copy genus template for new group "— — TEMPLATE — Password protected, Draft, Elementor"
Use quick edit from " Pages" to change the "title" and "slug" to genus name of copied template
Upload html map file to Media Library
Add species name to first container text block, make species name bold & italic (but not the authority)
Copy url from media library link and paste in 2nd text block (using the left side panel) where is says "Embedded link"
duplicate containers on page as needed
Repeat until all species maps are added for the genus you're working on
Add link to newly created page genus name on map list page (https://idigbees.org/wp-admin/post.php?post=1496&action=elementor&display_gallery_iframe)
Copy entire container of species maps for the genus finished to the family overview page
Done!

Make sure everything stays password protected...

nice
Neil S. Cobb,
Biodiversity Outreach Network https://www.bon-earth.org/  Flagstaff AZ
*Business Office: *285 W Rome Way, Paulden, AZ86334; *Operations Office: *11
W Silver Spruce Ave, Flagstaff, AZ  86001
Summer Bug Camps https://www.bon-earth.org/bugcamp
SCAN https://scan-bugs.org/portal/index.php  North American Arthropod
Portal
iDigBees TCN https://idigbees.org/
Mobile Office - Text & WhatsApp:<PHONE_NUMBER>
Zoom Office:  https://us02web.zoom.us/j/81630476460
https://us02web.zoom.us/j/81630476460
ORCID  https://orcid.org/0000-0002-6155-9444
On Fri, Nov 17, 2023 at 8:09 AM Erika Tucker @.***>
wrote:

Add all species maps to website. Currently sorted by taxonomy:
[ ] Andrenidae
[ ] Acamptopoeum
--[ ] Ancylandrena
--[ ] Andinopanurgus
--[ ] Andrena
--[ ] Anthrenoides
--[ ] Arhysosage
--[ ] Calliopsis
--[ ] Macrotera
--[ ] Megandrena
--[ ] Mesoxaea
--[ ] Oxaea
--[ ] Panurginus
--[ ] Perdita
--[ ] Protandrena
--[ ] Protoxaea
--[ ] Pseudomacrotera
--[ ] Rhophitulus
[ ] Apidae
[ ] Halictidae
[ ] Megachilidae
[ ] Melittidae
Basic procedure for adding maps:

Add species maps for one genus at a time
Copy genus template for new group "— — TEMPLATE
https://idigbees.org/wp-admin/post.php?post=5584&action=edit —
Password protected, Draft, Elementor"
Use quick edit from " Pages" to change the "title" and "slug" to
genus name of copied template
Upload html map file to Media Library
Add species name to first container text block, make species name
bold & italic (but not the authority)
Copy url from media library link and paste in 2nd text block (using
the left side panel) where is says "Embedded link"
duplicate containers on page as needed
Repeat until all species maps are added for the genus you're working
on
Add link to newly created page genus name on map list page (
https://idigbees.org/wp-admin/post.php?post=1496&action=elementor&display_gallery_iframe
)
Copy entire container of species maps for the genus finished to the
family overview page
Done!

Make sure everything stays password protected...
—
Reply to this email directly, view it on GitHub
https://github.com/scan-bugs-org/iDigBees/issues/25, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABNWKKQ2VNKVQTIKFD5457DYE54Z7AVCNFSM6AAAAAA7P544QKVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4TSMZUGI2DOOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


file not found

the method "file" in soft-dtw/sdtw/dataset.py cannot be found while executing or trying to test the code.
Error occurs in _parse_ucr method line 13 in
for line in file(filename):

Should be fixed now. I added Python 3 support to master.


Add .js extension to imported file

Added .js extension to imported file since compiler gives an error:
Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './rpc.js'?
with "moduleResolution" option set to "NodeNext"

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Add reason invisible link in post

Creating this as a new reason for stripping code blocks.

Want me to organise some testing for this?

Are there currently samples in metasmoke which would trigger this?

Are there currently samples in metasmoke which would trigger this?

https://metasmoke.erwaysoftware.com/search?utf8=✓&body_is_regex=1&body=a+href%3D"(%3F!(%3F%3A(%3F%3Ahttps%3F%3A)%3F\%2F\%2F)%3Fi.stack.imgur.com\%2F)[^<"]*%2B"[^<>]*%2B>\s*%2B<\%2Fa
\setminus those with links in a

Just for reference: Thomas Ward is also working on an alternative implementation of this using BeautifulSoup to parse the HTML.

Just for reference: Thomas Ward is also working on an alternative implementation of this using BeautifulSoup to parse the HTML.

This is dependent entirely on Makyen and others finishing the Post class revisions and Rule revisions to enable raw_body tests.  Then the zero-length-link mechanism will be able to be completed.


But running either of the examples doesn't affect my mouse, nor my keyboard.p
I'm really looking for a good explanation here.

Have you added automations for the registered events in Steelseries' tool? You need to configure the events to have them impact your device.


[dev_compiler] Save location of kernel summary file in ddc metadata

Build systems might produce summary files in a different step from the ddc metadata, so ddc cannot save the location in the metadata for the debugger to consume. Currently the debugger needs to "guess" the names and locations of summary kernel files.
Suggestion: pass a flag to ddc so it can store this information in the metadata, then pass it from the debugger to the expression compiler.
Code from chrome_proxy_service.dart with the hack:
 for (var module in modules.keys) {
      var serverPath =
          await globalLoadStrategy.serverPathForModule(entrypoint, module);
      dependencies[module] = ModuleInfo(
          p.setExtension(serverPath, '.full.dill'),
          // Replace .ddk to find the summary in google3.
          // TODO: Save location of kernel summary file in ddc metadata.
          p.setExtension(serverPath.replaceAll('.ddk', '.ddc'), '.dill'));
    }

One minor detail to clarify: would be good if the location is encoded in terms of a relative path or something agnostic of the machine location of the build results.
That's because build systems like bazel require files to be deterministic and stable over time and not include machine-specific details. If we pick a build root folder and use paths relatives to that root, then we would be in a good place.

One minor detail to clarify: would be good if the location is encoded in terms of a relative path or something agnostic of the machine location of the build results.
That's because build systems like bazel require files to be deterministic and stable over time and not include machine-specific details. If we pick a build root folder and use paths relatives to that root, then we would be in a good place.

@sigmundch definitely, I already have an issue for that for other paths. In this case the path will come from the build system so it is already truncated I believe, but I will verify it when I add those to the metadata.

@sigmundch definitely, I already have an issue for that for other paths. In this case the path will come from the build system so it is already truncated I believe, but I will verify it when I add those to the metadata.

@annagrin, @nshahan - just curious - is this still planned for this upcoming release?

My recollection from our discussion was that we would prefer not to add the path to the DDC metadata file because DDC does not produce the summary file, and it should be known by the build system before invoking DDC.
@annagrin Does it look like we it would add too much complexity to get the summary file path without involving the metadata?

@nshahan It would be definitely easier if the metadata could contain the summary file path, we currently don't have any other feasible path (ie one that does not require heavy modification of build rules) to get this information without guessing.


[Idea] - Treat PureScript as a Meta-language.

That is, use PureScript as a JavaScript code generator.
When loading a rom, get purescript to generate mutable JavaScript code as a string value, then just do JavaScript injection (<script src=, not eval) in the hope V8 will still optimise it.
Not sure if it is a good idea, but I'd like to have a go if I get some free time.

Another technique would be to assemble the assembly as a Monoid, not a Monad. Finishing with just a list of side effect thunks that take no parameters.
I believe using a Monad for your assembly is killing your performance. As it would continiously allocate memory while traversing over the binds.

To put it another way. Using PureScript to write a runtime transpiler from assembly to JavaScript.

Thanks for the suggestions!
If I understand you correctly:

Suggestion 1 necessitates I write all my opcode implementation in Javascript?
That is a huge amount of logic, which will shift the project from being a Purescript emulator to mostly a Javascript emulator :(
But of course if you're up for it, feel free to try it out! Perhaps we could end up with a hybrid?

Suggestion 2 sounds very interesting! I'll have to look whether or not the current effectful functions return values that are then used. Even so I might be able to change it to an Applicative Functor at least.

Thanks!

For Suggestion 2. I believe you can compile your assembly into just Array (Eff (ma :: MemAccess, canvas :: Canvas, ref :: Ref | e) Unit) which is a Monoid, because if you squint your eyes at assembly language you can see a concatenative language where each assembly language instruction takes on the type MachineState -> IO MachineState. This happens to make the machine state linearly type, so you can just use side effects to update the machine state in place, thus the Unit above.

I'm really interested in this sort of approach to solving problems generally, when performance is a concern. I've been thinking of applying similar ideas to parsers combinators. I'll be interested to hear how it turns out.

Actually the Monoid might be more like S -> Array (Eff (ma :: MemAccess, canvas :: Canvas, ref :: Ref | e) Unit) where S is a product of either STRefs or Refs pointing to values that can be mutated at runtime. Then once its all compiled, you can pass a single S and retrieve a single array of effects that will not allocate memory during execution.

I've sort of got the beginning of a free monoid with a specific f-algebra:
Z80Monoid: https://github.com/clinuxrulz/purescript-gbemu/blob/monoid-effects/src/Z80Monoid.purs
Its gonna take me a long time to get to the end of it all.
Using it will allow us to try out different monoid-like implementations and compare their performance.
Note that even in the original implementation that used a common Z80State -> Eff (ma :: MemAccess | e) Z80State for instructions in OpcodeMap.purs that Z80State -> Eff (ma :: MemAccess | e) Z80State itself is also a Monoid where append is kleisli composion and mempty is simply pure. So it might be possible to compare performance against the original implementation also (taking care with possible stack overflows).
I still have a feeling that none of the effectful return values need to be used at all in purescript code. Leading to just Z80State -> Eff (ma :: MemAccess | e) Unit in the end. And looking at Z80Monoid.purs, each comment that says -- covered already is showing the amount of code reuse from the other monoid effects above it.
It is possible to create a sub-assembly with extra temporary registers and primitive instructions than the Z80 provides, then use it to create Z80 instructions from more primitive instructions for further code reuse. Doing so will cost a little bit in performance, yet it would still avoid memory allocation during final execution of the generated effect.

I must admit, this crosses uncharted territory for me. But it definitely got me curious!
I'll read on f-algebras and see if I can understand your implementation!
It would be great indeed if this would provide the performance boost this emulator sorely needs.

Its just a Free Monoid at the moment. I will need do some implementation of the interpreter soon. The Free Monoid is constructed carefully to avoid stack overflow when compiling the Z80 assembly into effectful thunks.
I will probably aim for something like List (Z80State -> Eff (... | e) Unit) as the monoid type for the interpreter. Then runZ80Monoid will construct that list using right associated appends to avoid stack overflow. Then I start with the initial Z80State to go from List (Z80State -> Eff (... | e) Unit) to ```List (Eff (... | e) Unit)), and then convert the list into an array, giving us a array of effects that can be executed without allocating memory. Another thing i'll need is to locate the jump instruction destinations and map them to indices into the list of effects to keep control flow constructs working.
Another thing that is interesting is, if I choose a List String as the Monoid interpreter type, then we can use the same abstraction to make a ASM.js target, that can be embedded with script injection. The generated code would need to be broken into chunks by jump destinations which would be implemented as a giant while loop with a big switch statement inside to mimic GOTOs in Javascript.
I predict that it may be a bit slower to load the ROM, but it should be much faster to execute the ROM, as the machine code bytes get processed just once and memory allocations are removed from the final execution phase.

It might be a bit miss-leading to search for f-algebras. Idealistically Z80Monoid is based on a Free Monoid with a Z80 f-algebra. However in the actual code the Z80 f-algebra has been refactored into a f-coalgebra for convenience.
It might be easier if I try to just explain it.
Z80MonoidImpl is the f-coalgebra in use, and it could really just be thought of as a Java interface type.
The fs you see all over the place represent the actual type used for the computation.
For Suggestion 1: Something like List String
For Suggestion 2: Something like List (Z80State -> Eff (... | e) Unit)
Z80MonoidImpl is sort of passed along as you would do for dependency injection.
runZ80Monoid takes a Z80Monoid and a Z80MonoidImpl and smashes all the fs together.
Hope this makes it a little more clear.

Thanks for the detailed explanations!
How you explained Z80MonoidImpl was how I thought of it, although I've no idea what f-algebra nor f-coalgebra mean (but you got me curious!).
What I'm really missing though is the foresight to anticipate how this changes the generated javascript.
I understand the intuition behind not using a monad to avoid allocations, and can see how a using a monoid sidesteps this issue, but in practice when the monadic  computations don'[t use the intermediary values is memory still allocated?
I like the idea of spending more time during startup to preprocess the assembly into calculations to get faster execution!

@talw it is true in the case of Eff that memory allocation can be avoided in certain use cases. However if your steping the Z80 machine code and reconstructing an Eff each time you traverse the same machine code at the same memory location (Z80 looping constructs), then your continiuously re-allocating the Eff thunks themselves for the same machine code bytes at the same memory addresses.

@talw it is true that some uses of monadic binds will not allocate memory (even when using the return result from an action), but it can be very difficult to do so. Your OpcodeMap.purs in basicOps and extOps is a good start, and can potentially pre-calcuate the effects and just look up the correct effect to perform when reaching a certain machine code bytes. I will re-use those tables for Z80Monoid.
However I notice problems starting to arise in Regs.purs.
For example have a look at setA:
setA     :: forall e. I8 ->  Regs -> Eff (ma :: MemAccess | e) Regs
setA 1 will allocate a new Regs -> Eff (ma :: MemAccess | e) Regs
setA 2 will allocate a new Regs -> Eff (ma :: MemAccess | e) Regs
and so on.
Its even problematic with this type signature:
setA     :: forall e. I8 -> Eff (ma :: MemAccess | e) Unit
setA 1 will allocate a new Eff (ma :: MemAccess | e) Unit
setA 2 will allocate a new Eff (ma :: MemAccess | e) Unit
You could make a table of precalculated Eff for all 256 values for each register, but its a bit of a pain. And you might be able to create a sub-assembly to work around this problem too, by still being monadic.
By the time you've done this, all your code for processing the instructions will be like Eff (ma :: MemAccess | e) Unit, and you would end up using your Monads in a Monoid style to avoid memory allocations. So I find it easier to just use Monoids to start with. At least with Monoids you can guarantee your avoiding memory allocations.

Looking at your existing code, there are memory allocations happening nearly everywhere in the execution phase of the ROM. It seems like every method in Ops.purs will do so.
There is going to be a fair amount of work to do. A full Z80MonoidImpl object will need to be implemented using FFI.
It is painful, but I can not see another way.

First of all, thank you very much for the detailed explanations.
I'm currently saddled with other things relatively to how I was when I was working on the emulator! And that's why my response can be delayed.
But it should be temporary!
I understand completely what you mean by memory allocations now.
At first I thought this has something to do with the monadic bind's signature, but generally, the problem is that effectful computations can't be reused because functions that return them are reinvoked all the time. So instead we want to have those computations unhidden behind function arguments.
And moving to such a scheme will mean we chain them just like Monoids.
Am I correct?
I'm not sure I understand what you mean by sub-assembly. I'm guessing you're referring to a lower level of representing the effectful computations, but how will this solve the memory allocation problem?

@talw Yes you are correct.
Sub-assembly is not really important at the moment. Its just trying to leverage more code re-use. Like creating extra registers like TEMP1, TEMP2, each of the math operators only for the TEMPS, and operators to load registers into TEMPS, and TEMPS into registers, but it can be painful too.

A little off topic. We could design a JavaScript monad to generate efficient JavaScript code for Suggestion 1 (javascript injection).
https://gist.github.com/clinuxrulz/6b61f690baca8c8046b36a1424eda17c
So yes, its not the type-signature of the monadic bind itself that is the problem. I think its just how Eff code gets generated that causes the excessive memory allocation.


tracker-miners: not indexing music files

Describe the bug
GNOME Music appears empty, but there are music files in my music folder.
Steps To Reproduce
Steps to reproduce the behavior:

Deploy NixOS with flake gilab:yajoman/minfra/7d6b0bc5cceee0b02be1695a7faa0047f6acbfc6#nixosConfigurations.yajothink
Log in.
Add music files in music folder.
Open GNOME Music.

Expected behavior
Music shows up.
Screenshots

Additional context
> systemctl status --user tracker-miner-fs-3.service
● tracker-miner-fs-3.service - Tracker file system data miner
     Loaded: loaded (/etc/systemd/user/tracker-miner-fs-3.service; linked-runtime; preset: enabled)
     Active: active (running) since Thu 2024-06-13 15:08:41 WEST; 1h 1min ago
   Main PID: 5861 (.tracker-miner-)
      Tasks: 10 (limit: 18759)
     Memory: 22.3M (peak: 95.1M swap: 5.0M swap peak: 12.0M)
        CPU: 1.749s
     CGroup<EMAIL_ADDRESS>             └─5861 /nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-miner-fs-3

jun 13 15:08:41 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 15:08:48 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 15:58:32 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 15:58:38 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 16:02:44 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 16:02:48 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 16:09:01 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 16:09:01 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 16:09:05 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)
jun 13 16:09:05 yajothink .tracker-miner-[5861]: Could not launch metadata extractor: Falló al ejecutar el proceso hijo «/nix/store/5934niqv7svsvnj3f80xgim7dw2x8bbk-tracker-miners-3.7.3/libexec/tracker-extract-3» (Permission denied)

One new line of those appears every time I drop a music file on the music folder.
Notify maintainers

@bobby285271 @hedning @jtojnar @dasj19
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.32, NixOS, 24.05 (Uakari), 24.05.20240609.2819fff`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/giq1qbcwfx5gq0g9jf6id0b3m55a860j-source`

Add a :+1: reaction to issues you find important.

Sounds like this error is still happening: https://gitlab.gnome.org/GNOME/localsearch/-/issues/321
Probably will want to open a new upstream issue.

Have the same issue

Opened https://gitlab.gnome.org/GNOME/localsearch/-/issues/351

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/gnome-music-doesnt-show-m4a-files/48173/2

Wondering what's the plan given the upstream findings.

No plan currently. Basically waiting for someone to be sufficiently annoyed to fix this. Suggested action in https://gitlab.gnome.org/GNOME/localsearch/-/issues/351#note_2156222


[SPEC] Update proposals and nonce usage.

Overview
We should re-establish the point of nonces in the system. The point of nonces is to ensure that signed proposals cannot be replayed on their resources (contracts / pallets). We require that each resource tracks its update/proposal nonce and that nonces increase by a bounded amount as to prevent exhausting the nonces space in v1 proposals. We also want to update the proposals so that we optimize the size of proposal data in our system. For example, an anchor update proposal has redundant data fields currently that we could combine to save space.
Proposal Headers
Right now, the proposal header contains a 4-byte section for a nonce. This nonce is used for updating every resource except for the AnchorUpdateProposal. We should reclaim this back for the AnchorUpdateProposal and use this nonce to store the leaf index.
In this manner, the nonce in the proposal header relates directly with the resource being updates. If we are executing a proposal on the signature bridge with executeProposalWithSig, the nonce should not be checked. If we are executing setResourceWithSig, the nonce should be checked exactly at this point because we are updating the SignatureBridge resource itself. The reason we do not check in the executeProposalWithSig is because the proposal is being delegated to another resource in question, such as a TokenWrapper or a VAnchor, which in turn should track their own nonces to prevent replays.
AnchorUpdateProposal
Granted this is the proposal that doesn't even use the proposal header nonce, this is the proposal that requires the most updating. We should change the existing AnchorUpdateProposal to efficiently use its parameters without duplication.
# Current structure - 114 bytes

32 bytes execution resource ID
4 bytes function sig
4 bytes nonce (DUP 1)
6 bytes typed chain ID (DUP 2)
32 bytes merkle root
4 bytes leaf index nonce (DUP 1)
32 bytes source anchor resource ID (DUP 2)

# New structure - 104 bytes

32 bytes execution resource ID
4 bytes function sig
4 bytes nonce as leaf index
32 bytes merkle root
32 bytes source anchor resource ID

FeePercentage updates
We should add more granularity to the proposal that updates fees. Right now we can only support values between 0-100. We should consider supporting between 1-10,000 (bounded by u16). This only adds 1 more byte to the proposal.
Substrate Target System / Proposal Headers
Currently the Substrate TargetSystem doesn't fully describe the resource in question. I think that we are only missing the pallet_index in that data structure. We should consider adding this 1 byte to the structure.
For the extrinsic / function we are interested in calling, we should utilize the FunctionSignature in the ProposalHeader to identify it. This way, we utilize that field instead of using full zeroes.
Checklist

[ ] Re-document mis-documented comments in the Handler contracts in Solidity.
[ ] Update the anchor update proposal
[ ] Update the wrapping fee percentage proposal
[ ] Update Substrate target system and proposal header constructor
[ ] Update the relayer to craft proposals correctly with correct documentation
[ ] Update all relevant repos and tests

Questions / ideas / thoughts

Investigating a way to trustlessly validate a proposal's data.
Preventing reuse of (header.resource, header.func_sig, data)


Update suggested faster hashing algorithm to non deprecated one

Previously, the docs suggested using the "django.contrib.auth.hashers.MD5PasswordHasher" as a faster hashing algorithm for tests. This hasher is deprecated and will be removed in Django 5.1.
This change suggests using the  "django.contrib.auth.hashers.ScryptPasswordHasher" hasher which is also faster than the default and is not deprecated for removal.

The (somewhat) related ticket as to how I came by this: https://code.djangoproject.com/ticket/18157


Is it possible to start the collectionView first cell at the beginning of the list and not centred ?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I also have same requirement.

@Truptika, I created a pull request for this feature.

Please reopen this issue after you filled out the details in the body of the issue.


Generate unique sets / arrays

Make a generator combinator that ensures the output does not have duplicates.

Equality comparison is difficult in JavaScript. Should we use Object.is, === or _.isEqual?
One could use jsc.array(myGen).smap(_.uniq, _.identity) or variants for now.

this functionality is now provided by https://github.com/jsverify/jsverify-contrib


Separate/Edit Incoming and Outgoing message colour.

Add another model class for message model class.

Done:  reference commit


Get Details Of YouTube Video Using Its Link

Aim

The Script Can Provide Stats of a youtube vidoe using its link

Details

The Script Can Provide Stats of a youtube vidoe using its link

Go ahead @Souravvmishra


Segmentation Fault on InlinePass

The new inline-pass throws Segmentation Fault in InlinePass::CloneAndMapLocals (line 106).
Here the backtrace:
(Suspended : Signal : SIGSEGV:Segmentation fault)
std::unique_ptr<spvtools::ir::BasicBlock, std::default_delete<spvtools::ir::BasicBlock> >::get() at unique_ptr.h:308 0x7ffff79f6042
spvtools::ir::UptrVectorIterator<spvtools::ir::BasicBlock, false>::operator->() at iterator.h:66 0x7ffff79f5122
spvtools::opt::InlinePass::CloneAndMapLocals() at inline_pass.cpp:106 0x7ffff79f0bab
spvtools::opt::InlinePass::GenInlineCode() at inline_pass.cpp:197 0x7ffff79f1f2e
spvtools::opt::InlinePass::Inline() at inline_pass.cpp:363 0x7ffff79f2418
spvtools::opt::InlinePass::ProcessImpl() at inline_pass.cpp:423 0x7ffff79f292d
spvtools::opt::InlinePass::Process() at inline_pass.cpp:436 0x7ffff79f2a27
spvtools::opt::PassManager::Run() at pass_manager.cpp:23 0x7ffff79cdee6
spvtools::Optimizer::Run() at optimizer.cpp:77 0x7ffff79c778c
runSPRVToolsOptimizer() at SPIRVParser.cpp:124 0x7ffff7953623
<...more frames...>

It looks like the error occurs for functions without any body/instructions (e.g. imported functions), in which case callee_block_itr->begin() points to nullptr.

Thanks for the bug report!
Cc @greg-lunarg
I'll look at this right away as well.
It seems the just-a-function-declaration case was not even on our test suggestions.  :-(

Hm.  I can't reproduce the problem.  Please provide a sample SPIR-V module that reproduces the problem.

Oh wait.  I got it now.  An entry point calls an externally linked function. I had to put the two together. :-)


Automated Package Upgrade

:tada: This PR is included in version 25.6.101 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[INTERNAL] Task createDebugFiles checks path before writes

The debugFileCreator processor checks whether the debug file path
is used and only writes the content to the path when it's not
used yet.

The debug file path can be used, for example, by the createBundle
task which may create a specific bundle for the debug version of
another bundle. In this case, the debugFileCreator shouldn't
overwrite the created debug bundle.

Pull Request Test Coverage Report for Build 211

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 63.177%

Totals

Change from base Build 207:
0.3%

Covered Lines:
432

Relevant Lines:
627

💛  - Coveralls

This solves the first point in issue #36

Build time comparison with openui5-sample-app:
master
time ui5 build -all
[...]
ui5 build --all 71.30s user 6.79s system 130% cpu 59.818 total

debug_file_check_existence_before_write
time ui5 build -all
[...]
ui5 build --all 71.02s user 6.80s system 130% cpu 59.563 total

Summary
The extra check of path existence in the workspace doesn't prolong the build time.

Could you squash those commits into one?

Somehow the squash doesn't work well, I am working on it.

I forgot git add -u after a soft reset 😅
Now everything should be OK.


How to debug proxy.dll?

I am trying to debug the code in the Proxy and DebuggerCore project to no avail.
Here's some extra information: I am able to build and run/debug IEDiagnosticsAdpator (I will call it IEDA from here on). However, it appears that it's ieproxy.dll (by inspecting the IEDA process in procexp) that gets loaded as opposed to proxy.dll (or perhaps ieproxy.dll loads proxy.dll in turn?). Anyway, proxy.dll doesn't show up in the list of files/handles opened by IEDA procexp, and the breakpoints I set in Proxy and DebuggerCore are never materialized (they are shown with hollow circles as opposed to solid red dots).
Am I missing something? Any insight would be appreciated.

Proxy.dll get's injected into the tab that you are debugging. If you only have a single tab open and you try to attach to a process in visual studio you should see two instances of iexplore.exe, one with a name and one with no name. The named one is the internet Explorer frame, and the unnamed one is the tab. If you attach your debugger to the tab process and use the adapter to connect the chrome dev tools to that tab, you should be able to debug the JavaScript from Proxy.dll.

Thanks for the tip, alexcope. Two follow-up questions:

I think I can debug the js scripts injected in the browser thread this way. Is there a way to debug the debugger.js that's injected into the debugger thread?
It seems to me that once I hit a breakpoint in the cpp code in Proxy or DebuggerCore, then I can no longer debug js scripts. Is there a way to get around that?
Thanks again for your pointers.

There should be two script engines injected onto the page. One with debugger.js and one with most of the rest of the scripts. You should be able to debug both the same way.

That seems strange, I've never seen that issue. On Monday I'll try to see if I can figure out what is going on with that.

I think Visual Studio can't debug native and script code at the same time, which may be why you are seeing that issue. If it's blocking some work I can look into it more, but otherwise I'm not going to worry about it.


⚠ Bofrost.si has degraded performance

In df02ae1, Bofrost.si (https://www.bofrost.si) experienced degraded performance:

HTTP code: 200
Response time: 1867 ms

Resolved: Bofrost.si performance has improved in ce7def8 after 6 minutes.


Execution environment

Hey there!
I notice you mentioned it executes in a webworker. Is there a mode to support functionality outside of a browser-based worker and execute the algoritm via Node.js for instance? On the server-side, the execution of the process doesn't need to be async (and if it does, we can kick off another process to do this).

Ignore me, I've looked through the implementation and the functional algorith, part is separately defined from the web worker part so nicely abstracted and not tied together. Anyone else reading this, the implementation supports execution outside of a web worker.

FYI @Irrelon (and anyone else reading this):
i just updated the code and it is now possible to pass {useWorker: false} to execute the code directly in the main thread, without using a worker.

Nice one :) 👍🏻


Please Add GCP asia-northeast3 (South Korean) region to register / import GKE Cluster

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Fixed in 2.7.5


Fact Finding - how is the IITB ERP team being funded?

relate to issue #1674
Finding how the ERP system is able to be managed as a product and have a dedicated IITB team as part of it.
Source : IITB Finance and CFOB Finance (?)

They have a dedicated source of funds (from TB funding allocation)


[backport] Replace numpy.ComplexWarning with cupy.exceptions.ComplexWarning

Backport of #8676 by @asi1024

/test mini


First draft of releasing doc;

This is the first draft of the idea of RELEASING.md referenced in #280.
I think the flow is pretty straightforward except with the case of api token that we use in Rakefile:
req.basic_auth 'krzysztofzablocki', File.read('.apitoken').chomp

I think all collaborators with the rights to release can have .apitoken and .githubuser files locally that Sourcery can use to be able to make requests to GitHub.
As the next step, I would like to think which steps we can easily automate with rake tasks or just shell scripts.

@ilyapuchka @krzysztofzablocki I have a general comment, that with all these steps in docs I wanted to bring our attention to check the flow because so far only @krzysztofzablocki did releases. If we agreed on the flow I will be more than happy to just automate as much as possible. Nobody likes error-prone and boring work 😉

one thing I often do is to nuke the build / .build folders before new release, we should probably add that as first step in the rake release:new sometimes the check fails and it leaves something there so better to start fresh, otherwise LGTM 👍

to nuke the build / .build folders before new release

Good point 👍
@krzysztofzablocki as we agreed I will try to update our Rakefile with some additional automation before merging this PR.

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: Danger

@ilyapuchka @krzysztofzablocki the PR is updated and it brings quite an update in the Rakefile so would be great if you check it carefully.
Regarding the question about apiToken for GitHub to be able to make releases, I've made a decision to try environment variables instead of file to read apiToken. You can find the information in RELEASING.md and Rakefile itself about it.
I think the best way to test that everything works as expected is to try to make a new release 0.6.2 maybe.


[GoogleDataTransport][I-GDT001006]

Xcode version: 10.3
Firebase SDK version: 6.7.0
Firebase Component: Core, Messaging, DynamicLinks
Component version: FirebaseCore = 6.2.1 ; FirebaseAnalytics = 6.1.1 ; FirebaseDynamicLinks 4.0.3 ; FirebaseMessaging = 4.1.3 ; FirebaseAnalytics = 6.1.1

I recently updated my app with the latest firebase version. After launching the app and leaving it in idle for about 20 seconds, the app crashes and this is what I read from the console:
[GoogleDataTansport][I-GDT001006] There was an error reading extension bytes from disk: Error Domain=NSCocoaErrorDomain Code=260 "Impossible open file “event-2009730023690886256” because there is no file of that type"

Please run pod update sure that you have the latest version of GoogleDataTransport - it should be 1.1.3.
If you're still seeing the crash, please provide the backtrace.

I confirm that GoogleDataTransport is 1.1.3.
Full stack trace is:
2019-09-03 08:53:23.927527+0100 Hype[6519:11556217] [GoogleDataTransport][I-GDT001006] There was an error reading extension bytes from disk: Error Domain=NSCocoaErrorDomain Code=260 "Impossibile aprire il file “event-18002084150736288475” perché non c'è un file di quel tipo." UserInfo={NSFilePath=~/Library/Developer/CoreSimulator/Devices/C45ABCC0-0A8D-433D-B598-552D07EEFBD1/data/Containers/Data/Application/A65E0E4B-7392-4D45-9D2C-F6D382F1CEC3/Library/Caches/google-sdks-events/event-18002084150736288475, NSUnderlyingError=0x6000014dc5d0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2019-09-03 08:53:23.928067+0100 Hype[6519:11556217] [GoogleDataTransport][I-GDT001006] There was an error reading extension bytes from disk: Error Domain=NSCocoaErrorDomain Code=260 "Impossibile aprire il file “event-18003376222201252348” perché non c'è un file di quel tipo." UserInfo={NSFilePath=~/Library/Developer/CoreSimulator/Devices/C45ABCC0-0A8D-433D-B598-552D07EEFBD1/data/Containers/Data/Application/A65E0E4B-7392-4D45-9D2C-F6D382F1CEC3/Library/Caches/google-sdks-events/event-18003376222201252348, NSUnderlyingError=0x6000014dc6c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2019-09-03 08:53:23.987849+0100 Hype[6519:11556217] *** Assertion failure in -[GDTStorage removeEvents:],~bitbucket-hype-ios/hypeappios/Pods/GoogleDataTransport/GoogleDataTransport/GDTLibrary/GDTStorage.m:146
2019-09-03 08:53:23.990004+0100 Hype[6519:11556217] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'There was an error removing an event file: Error Domain=NSCocoaErrorDomain Code=4 "Impossibile rimuovere “event-18002084150736288475”." UserInfo={NSFilePath=~/Library/Developer/CoreSimulator/Devices/C45ABCC0-0A8D-433D-B598-552D07EEFBD1/data/Containers/Data/Application/A65E0E4B-7392-4D45-9D2C-F6D382F1CEC3/Library/Caches/google-sdks-events/event-18002084150736288475, NSUserStringVariant=(
Remove
), NSUnderlyingError=0x6000014d2130 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}'
*** First throw call stack:
(
0   CoreFoundation                      0x000000010cf4e8db __exceptionPreprocess + 331
1   libobjc.A.dylib                     0x000000010bb3fac5 objc_exception_throw + 48
2   CoreFoundation                      0x000000010cf4e662 +[NSException raise:format:arguments:] + 98
3   Foundation                          0x000000010625f76b -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
4   Hype                                0x0000000103873ebb __27-[GDTStorage removeEvents:]_block_invoke + 1051
5   libdispatch.dylib                   0x000000010e7d9d7f _dispatch_call_block_and_release + 12
6   libdispatch.dylib                   0x000000010e7dadb5 _dispatch_client_callout + 8
7   libdispatch.dylib                   0x000000010e7e2225 _dispatch_lane_serial_drain + 778
8   libdispatch.dylib                   0x000000010e7e2e9c _dispatch_lane_invoke + 425
9   libdispatch.dylib                   0x000000010e7ecea3 _dispatch_workloop_worker_thread + 733
10  libsystem_pthread.dylib             0x000000010ebc3611 _pthread_wqthread + 421
11  libsystem_pthread.dylib             0x000000010ebc33fd start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

I'll remove these asserts soon, but can you delete this folder and try running again as a workaround?
~/Library/Developer/CoreSimulator/Devices/C45ABCC0-0A8D-433D-B598-552D07EEFBD1/data/Containers/Data/Application/A65E0E4B-7392-4D45-9D2C-F6D382F1CEC3/Library/Caches/google-sdks-events/

GoogleDataTransport v1.2.0 should address this issue, and the pod has been pushed.

Sorry, I updated my Firebase Core/Analytics/Messaging etc. and the app keeps on crashing. The issue has not been solved or the fix is not available yet via CocoaPods

Please open a new issue with the new library versions, more recent stack
traces, and also tell me how much free space your HD has.
On Mon, Sep 16, 2019, 7:59 AM alessio<EMAIL_ADDRESS>wrote:

Sorry, I updated my Firebase Core/Analytics/Messaging etc. and the app
keeps on crashing. The issue has not been solved or the fix is not
available yet via CocoaPods
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/firebase/firebase-ios-sdk/issues/3747?email_source=notifications&email_token=AAIILAQIFWRHUJHHKESO25TQJ6NMTA5CNFSM4IS44GMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZN7AA#issuecomment-531816320,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIILATQV4QQYYAV4JMWEMDQJ6NMTANCNFSM4IS44GMA
.

I made a mistake. It's working properly now.
I am sorry for that


logging?

Not really an issue, just a question - how do you handle logging? I can see ifTrace in there, but it's going to return something in GenHaxl - is it legit to hook that up to unsafeLiftIO and use something like monad-logger?

Logging is a reasonable use of unsafeLiftIO, yes.


bash-bd: init at 1.02

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Tested with nix-shell -p nixpkgs-review --run "nixpkgs-review pr 92325".
Please rename your PR title with: bash-bd: init at 1.02

@adamse could you address the changes suggested by @SuperSandro2000


feat: PAT authentication

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description

Fixes #8
Related Tickets & Documents

#8
Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

We can discuss in out next call what the home page might contain, for now, this should fix #8 and unblock all features that depend on the user being authenticated.

Create issue #28 as a follow up


i18n(zh-cn): Update dev-toolbar-app-reference.mdx

Description (required)
Update dev-toolbar-app-reference.mdx
Related issues & labels (optional)

#8706
Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

zh-cn
reference/dev-toolbar-app-reference.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


fixed problem with parameter substitution

when same named parameter was present in prepared sql statement
fixes for example:
UPDATE mytable SET field = concat(field, :field) WHERE id = :id AND otherfield != :field

reported in: https://github.com/crate/crate/issues/3734

ack


Update versioned links to use /stable/ in CC

When cross-referencing CRDB docs, CockroachCloud docs should use the /stable/ versions of links instead of /vX.X/. This way, links do not have to be manually updated whenever the stable version is updated.
Note: Some time after the v20.2 release, the /stable/ alias seemed to stop working in TeamCity. Existing links using /stable/ still seem to work, but any new links throw an error in the build log.

Moving this to later - will probably need @yingzhuchin's help with this.

Duplicated in Jira by CC-3694

@lnhsingh, @taroface, this syntax using Liquid tags works:
https://github.com/cockroachdb/docs/pull/10313/files (ignore the second change)
Is this an acceptable solution? More info on the relative_url Liquid tag: https://jekyllrb.com/docs/liquid/filters/

Sorry, I had to revert this due to SEO implications I belatedly realized should be discussed and thought through first!


add possibility to create guides by tiling only, or by tiling for intergenic regions (mixed)

currently guides are designed based on annotated features, mostly the CDS of genes
intergenic regions etc are not targeted by default, but could be, using tiling
tiling is littering a genomic regions with guides in regular intervals
even for tiling guides, off and on-target check should be performed and top candidates selected (how many?)

See commit 478c68f87673baeb533fcbd2dfb184267967a492
Can be tested by checking out the dev version of this repo.


Add jolokia port to templates: CLOUD-85

Closing for now while I do more investigation, will reissue later today

Reopened, issue was tracked down to a configuration on the OSE master

Merged


Index of Greek Words: incorrect display of words when  is nested

When an <orig> <reg> pair is nested inside a <choice> with <sic> <corr>, both options (<orig> and <reg>) are indexed and the letter is duplicated. Need to only index and display <orig>
examples can be found in the Index of Greek words
This was fixed for whole words, but not for single letters within words. The <choice> with <sic> <corr> is used by the mini-apparatus

This displays properly now. I had to remove the check for whitespace. If it proves to be a problem, we can replace but in the code that actually adds the Solr field. The fix currently is in epidoc-index-utils.


Kill queries if migrations take too long

This PR will ensure that all migrations happen within a certain timeframe. The default time is specified as 60,000ms (1 minute), but this can be overridden when calling the migrate function by setting the migrationTimeout configuration value.
If the timeout is reached, it will kill the query and throw an error.
Test added to verify it works with a SELECT pg_sleep(1) migration script.

@jspaine do we think this should be a major version upgrade, so move to 3.0.0, or a minor to 2.2.0?

@gilberthl-mh think minor should be fine


Getting (400) Bad Request

Get-GraphOauthAccessToken : The remote server returned an error: (400) Bad Request.
At line:19 char:33
+ ... $AuthCode | Get-GraphOauthAccessToken -Resource 'https://graph.micros ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WebException
    + FullyQualifiedErrorId : System.Net.WebException,Get-GraphOauthAccessToken

Here is my code:
Import-Module -name 'PSMSGraph'
#In the credential prompt, provide your application's Client ID as the username and Client Secret as the password
$ClientCredential = Get-Credential
$GraphAppParams = @{
    Name = 'PowerShell Module'
    ClientCredential = $ClientCredential
    RedirectUri = 'https://localhost/'
    Tenant = 'mytenant.onmicrosoft.com'

}
$GraphApp = New-GraphApplication @GraphAppParams
# This will prompt you to log in with your O365/Azure credentials.
# This is required at least once to authorize the application to act on behalf of your account
# The username and password is not passed back to or stored by PowerShell.
$AuthCode = $GraphApp | Get-GraphOauthAuthorizationCode
Write-Host $AuthCode
# see the following help for what resource to use.
# get-help Get-GraphOauthAccessToken -Parameter Resource
$GraphAccessToken = $AuthCode | Get-GraphOauthAccessToken -Resource 'https://graph.microsoft.com'
$GraphAccessToken | Export-GraphOAuthAccessToken -Path 'c:\Temp\AccessToken.XML'

I've setup my app using the documentation found here:
http://thelazyadministrator.com/2018/03/20/connect-to-the-microsoft-graph-api-with-powershell/
Unsure why it's failing with bad request.

Here is what I see as my $AuthCode
@{AuthCodeCredential=System.Management.Automation.PSCredential; ResultURL=https://localhost/?code=<hugestring>&session_state=<uidvalue>; Application=Guid: <uidvalue> Name: PowerShell Module; AuthCodeBaseURL=https://login.microsoftonline.com/common/
oauth2/authorize; Response=System.Collections.Hashtable; Issued=19/06/2018 11:49:12 AM; Success=System.Management.Automation.PSScriptProperty; Expires=System.Managemen
t.Automation.PSScriptProperty; IsExpired=System.Management.Automation.PSScriptProperty}

I've tried both https://graph.microsoft.com and https://graph.windows.net

Experiencing the same issue.

I'm not able to reproduce. You'll probably need to dig the $error and get more details. Or, you may need to run something like wireshark or fiddler to capture the entire session.
Make sure you have added the https://localhost/ uri to the application. Also make sure the correct permissions have been added in the dev portal.
You may also need to ensure TLS 1.2 is enabled
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor [System.Security.Authentication.SslProtocols]::Tls12

Hi, I stumbeled across this exact same issue, and I think I've found an issue related to DayLightSavingTime. In Sweden we just entered summer time and when I now request an Access Token, the "Access Token" type and the ScriptProperties Expires and isExpired does not seem to take DST into account. The Token is considered expired at the same time as the token was issued. This makes the "Update-GraphOauthAccessToken" cmdlet fail with a 400 Bad request error.
I commented out the line "$AccessToken | Update-GraphOauthAccessToken -ErrorAction Stop" from "Invoke-GraphRequest" with the assumption the first token is still valid and then the graph request completed successfully.
An example of the access token object:
$GraphAccessToken
GUID            : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
RequestedDate   : 2019-04-09 13:13:42
LastRequestDate : 2019-04-09 13:13:42
IsExpired       : True
Expires         : 2019-04-09 13:13:47
NotBefore       : 2019-04-09 12:08:47
Scope           : Reports.Read.All
Resource        : https://graph.microsoft.com
IsRefreshable   : True
Application     : Guid: xxxxxxxxxxxxxxxxxxxxxxxxx Name: xxxxxxxxxxxxxxxxxxxxxxx

Have the same issue. When prompted, I input my client ID and Client secret, but get an error message from the prompt saying that the authentification failed against a Directory ID... which is not at all the one I am trying to authenticate on! Could it be that it defaults to the AAD my computer is connected to, disregarding the one in the $GraphAppParams?

I have released a new version of the module that incorporates the UTC fix that is the cause of most 400 errors that have been reported.
https://www.powershellgallery.com/packages/psmsgraph/<IP_ADDRESS>


The RKE templates are disappeared and can't create new ones.

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
Though It's difficult to reproduce I'll try to describe the steps I did:
After deleting the old cluster templates from the RKE Templates section, the running cluster templates disappeared as well and also can’t create new templates, it shows nothing after saving the new created one. Now I can't edit the cluster as it saved as a template before.
Result:
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Rancher v2.3.5, UI  v2.3.36
Installation option (single install/HA):
HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Custom
Machine type (cloud/VM/metal) and specifications (CPU/memory):
metal
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

 17.03.2-ce

Also, I've shared a video in the slack General channel.


Buttons in the settings section

In a dark design theme, when you hover over the button, the background of the button turns white and the button text is not read.
This can be fixed if in the code block starting at line 1160
.ty-preferences .btn-default:hover {
  border-color: #428bca;
  background: #2e2e2e;
  color: #fff;
}

Change background setting to
  background: #2e2e2e !important;

Ah those pesky preference windows. I work primarily in a MacOS environment, so I occasionally miss these. I'll get this patched up in a bit

Buttons should now have the right colors upon hover in the 2.0 release~


Replaced JAVA_BIN in external/system-test of openjdk-tests repo

replaced JAVA_BIN and added TEST_JDK_HOME
[ci skip]

Signed-off-by: Longyu Zhang<EMAIL_ADDRESS>

reviewers @llxia @soph

I noticed the possible inconsistent SDK in the external system test setup. Please open an issue for it. Thanks.

We noticed the possible inconsistent SDK in the external system test setup. Please open an issue for it. Thanks.

The inconsistent SDK problem has been solved in the new commitment. Thanks.

Thanks @LongyuZhang for simplifying the logic.
In playlist.xml, we need to run groups (i.e., sanity, extended, etc), not specific targets because the specific target names may get changed. For example, MauveMultiThreadLoadTest is renamed to MauveMultiThreadLoadTest_OpenJ9.
https://github.com/AdoptOpenJDK/openjdk-tests/blob/c1b49a0a1f8cc15f6b3d698e8805c230dd56a442/systemtest/mauveLoadTest/playlist.xml#L118


Adding a feature for serde

Hello, I used this hasher in a project and I noticed that 'AHashMap and AHashSet are not implementing serde::Serialize nor serde::Deserialize traits. I copy/paste chunk of codes from serde directly to implement it for a local copy.
Would you be interested in me cleaning that up and adding that as a feature to this crate?

The following example works for me:
#[cfg(test)]
mod tests {
    use ahash::{AHashMap, AHasher, RandomState};
    use std::collections::HashMap;

    #[test]
    fn test_map_serde() {
        let mut map = AHashMap::new();
        map.insert(1, 2);
        let serialized = serde_cbor::to_vec(&*map).expect("serialization failed");
        let deserialized : HashMap<i32, i32, RandomState> = serde_cbor::from_slice(&serialized).expect("Deserialization failed");
        let map_copy: AHashMap<i32, i32> = deserialized.into();
        assert_eq!(map, map_copy);
    }
}

What is the issue you are running into?

Are you dealing with a larger structure which contains a map?

Yes, I have a struct containing two maps and I wasn't able to derive Serialize for this struct.

I guess one solution is to add something like this

Something like that looks reasonable. It would have to go behind a feature flag. (Which is annoying because the number of those is rapidly growing)

I made PR #61.

Merged


AV1 Streams lose Audio Codec ( WebRTC / HLS (AAC) )

Which version are you using?
main
Which operating system are you using?
Linux amd64 standard
Describe how to replicate the issue

Start a Stream with a AV1 Encoder in e.g. RTMP with AAC Audio

Another Codecs are fine like H264/H265 and AV1 with Opus in WHIP the WebRTC based Stream have Audio too but HLS still lose.
Can this issue caused by https://github.com/bluenviron/mediamtx/issues/3902 ?
Previously its seems the Audio was OK in my mind but I'm not sure rightnow.
Server logs
No response
Network dump
Mediamtx Wireshark Dump.zip

There was a compatibility issue that prevented VLC from reading audio tracks with HLS. This is fixed by https://github.com/bluenviron/gohlslib/pull/204

ok strange but I have no sound in HTML5 Player too....

@DoM1niC you mentioned too many use technologies in the same bug report (HLS, WebRTC, Opus, AAC, VLC) without providing server logs or infos about how you are generating the stream.
If you still have problems, open a bug report for each use case and describe explicitly how to replicate the specific bug.
Also remember that reading/publishing AAC with WebRTC is not supported.


Update work-across-projects-faqs.yml

To remediate a clearly established discrepancy according to the cited issue page as well as information on the reference page - ../report/dashboards/dashboards.md#add-a-dashboard.

@brs713 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Defaults are not applied when used after an allOf or anyOf

--click-- for chunk of code illustrating the issue.

import json

import openapi_core as openapi
from openapi_core.testing import MockRequest

spec_dict = {
    "openapi": "3.0.0",
    "info": {
        "version": "0.0.1",
        "title": "bug",
    },
    "paths": {
        "/animals": {
            "post": {
                "summary": "replicate bug",
                "tags": ["tag"],
                "requestBody": {
                    "required": True,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AnyAnimal"
                                # "$ref": "#/components/schemas/Dog"
                            }
                        }
                    },
                },
                "responses": {
                    "200": {
                        "description": "animalresponse",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AnyAnimal"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "AnyAnimal": {
                "anyOf": [
                    {"$ref": "#/components/schemas/Dog"},
                ]
            },
            "BaseAnimal": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "default": "unknown",
                    }
                }
            },
            "Dog": {
                "allOf": [
                    {"$ref": "#/components/schemas/BaseAnimal"},
                    {
                        "type": "object",
                        "properties": {
                            "good_boy": {
                                "type": "boolean",
                                "default": True
                            }
                        }
                    }
                ]
            }
        }
    }
}

spec = openapi.create_spec(spec_dict)
request = MockRequest(
    "https://github.com", 'POST', '/animals',
    data=json.dumps({}),
)
result = openapi.validate_body(spec,  request)
print(result)

Output of the above as is:
{}

Expected output:
{'name': 'unknown', 'good_boy': True}

If you run the above code, the defaults of the schema are not applied.
If you change the AnyAnimal line under the requestBody to Dog specifically, then you can see the name property default working, but good_boy is still nowhere to be seen.
If you then change the order of the allOf under Dog then the default from good_boy works but the default from name is gone. So somehow the order is important there.

I do understand there's some ambiguity involving defaults and anyOf.
Like, if your input matches schema A and schema B. How do you decide which schema to follow the defaults of? openapi can't properly decide that I think.

Hi @Wim-De-Clercq thanks for reporting the issue.
As you noticed there's an ambiguity and tbh I have no idea how it should be implemented. First of all anyof unmarshalling is still not supported. That's why if you change AnyAnimal  to Dog  it works.
Second thing is order of allOf  is import for detection and unmarshalling any type (Dog  in your case). Current mechanism takes first subschema from allOf.
Like I said I don't have better idea how to do this so I'm open for suggestions.


Defined Tag being applied to Tag Namespace

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version and Provider Version
Terraform v1.5.6 on linux_amd64

provider registry.terraform.io/hashicorp/cloudinit v2.3.2
provider registry.terraform.io/hashicorp/helm v2.11.0
provider registry.terraform.io/hashicorp/http v3.4.0
provider registry.terraform.io/hashicorp/local v2.4.0
provider registry.terraform.io/hashicorp/null v3.2.1
provider registry.terraform.io/hashicorp/random v3.5.1
provider registry.terraform.io/hashicorp/template v2.2.0
provider registry.terraform.io/hashicorp/time v0.9.1
provider registry.terraform.io/hashicorp/tls v4.0.4
provider registry.terraform.io/oracle/oci v5.19.0

Affected Resource(s)
module.oke.module.iam.oci_identity_tag_namespace.oke[0]
Terraform Configuration Files
Specific Configuration:
  create_iam_resources     = true
  create_iam_tag_namespace = true
  use_defined_tags         = true

Expected Behavior
Tag Namespace created and defined tag applied to all resources EXCEPT for the tag namespace itself.
Actual Behavior
During the creation of the tag namespace, an attempt to apply defined tags of that namespace to the namespace being created is performed (between ###):
  # module.oke.module.iam.oci_identity_tag_namespace.oke[0] will be created
  + resource "oci_identity_tag_namespace" "oke" {
      + compartment_id = "ocid1.compartment.oc1..aaaaaaaaarzn4nsggcohioyrhyaddxccs5q64w5hzo45hzxreuo7qc6vs3ba"
      ### BEGIN Applying TN to the TN itself
      + defined_tags   = {
          + "oke.role"     = "iam"
          + "oke.state_id" = "wysiwyg"
        }
      ### END
      + description    = "Tag namespace for OKE resources"
      + freeform_tags  = (known after apply)
      + id             = (known after apply)
      + is_retired     = (known after apply)
      + name           = "oke"
      + state          = (known after apply)
      + time_created   = (known after apply)
    }

Error:
│ Error: 400-RelatedResourceNotAuthorizedOrNotFound, The following tag namespaces / keys are not authorized or not found: TagNamespace oke does not exists.

│   with module.oke.module.vcn[0].oci_core_vcn.vcn,
│   on .terraform/modules/oke.vcn/vcn.tf line 4, in resource "oci_core_vcn" "vcn":
│    4: resource "oci_core_vcn" "vcn" {

│   with module.oke.module.iam.oci_identity_tag_namespace.oke[0],
│   on modules/oke/modules/iam/tagging.tf line 60, in resource "oci_identity_tag_namespace" "oke":
│   60: resource "oci_identity_tag_namespace" "oke" {

Steps to Reproduce
Deploy minimum cluster with these options:
  create_iam_resources     = true
  create_iam_tag_namespace = true
  use_defined_tags         = true

It looks like a "chicken-and-egg" problem.
Are you trying to use a defined tag to the namespace definition of the same tag?

@robo-cap that is exactly what is happening; from: modules/oke/modules/iam/tagging.tf:
resource "oci_identity_tag_namespace" "oke" {
...
  name           = var.tag_namespace
  defined_tags   = local.defined_tags
...
}

Where local.defined_tags (same file) includes var.tag_namespace.
While this appears to be an easy fix (remove defined_tags from the oci_identity_tag_namespace resource), there is another issue.  This made me question if I was using the tagging functionality correctly in the first place.
FWIW, the "other issue" (will open another if this one is not a result of me being a muppet):
module.oke.module.vcn[0].oci_core_vcn.vcn: Creating...  <- Starts before the tag creation
module.oke.module.iam.oci_identity_tag_namespace.oke[0]: Creating...
module.oke.module.iam.time_sleep.await_iam_resources[0]: Creating..
module.oke.module.iam.oci_identity_tag_namespace.oke[0]: Creation complete after 2s [id=ocid1.tagnamespace.oc1..aaaaaaaatdgtjgg34g27o5iynrz67wzdspr4o3jae5arhvrawh2fr45abgfa]

When use_defined_tags = true, it will attempt to apply the defined tag of to be created namespace tag to the VCN... but the vcn creation has no dependency on that tag existing.


Asset 35729/livereload.js not found; fallback to index.html (examples/api)

Describe the bug
Trying to run the example in example/api results in the tauri app to show only a grey background, with the console saying:
Asset 35729/livereload.js not found; fallback to index.html
To Reproduce
Clone the latest release and follow the instructions in the README.md inside example/api.
Expected behavior
The app to look the same as the screenshot in example/api.
Screenshots

Platform and Versions (required):
Operating System - Windows, version 10.0.19042 X64
Webview2 - 92.0.902.62

Node.js environment
  Node.js - 14.15.4
  @tauri-apps/cli - 1.0.0-beta.6

Global packages
  npm - 6.14.10
  yarn - 1.22.10

Rust environment
  rustc - 1.52.1
  cargo - 1.52.0

App directory structure
/node_modules
/public
/src
/src-tauri

App
  tauri.rs - path:"../../../core/tauri" [1.0.0-beta.5] (no lockfile)
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: asset: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../public
  devPath - ../public
  framework - Svelte
  bundler - Rollup

Update:
Tried to compile the beta2 instead of beta5, that works fine, so it seem the problem is with the newest release.
Compiling the project again shows a few errors that did not come up during the beta2.
`
$ rimraf ./dist && rollup -c --silent && node ./scripts/after-build.cjs
babelHelpers: 'bundled' option was used by default. It is recommended to configure this option explicitly, read more here: https://github.com/rollup/plugins/tree/master/packages/babel#babelhelpers
(!) Plugin typescript: @rollup/plugin-typescript TS2578: Unused '@ts-expect-error' directive.
src\window.ts: (198:3)
198   // @ts-expect-error
~~~~~~~~~~~~~~~~~~~
src\window.ts: (210:3)
210   // @ts-expect-error
~~~~~~~~~~~~~~~~~~~
(!) Plugin typescript: @rollup/plugin-typescript TS2345: Argument of type '{ skip: boolean; }' is not assignable to parameter of type 'WindowOptions'.
Object literal may only specify known properties, and 'skip' does not exist in type 'WindowOptions'.
src\window.ts: (200:5)
y only specify known properties, and 'skip' does not exist in type 'WindowOptions'.
200     skip: true
~~~~~~~~~~
(!) Plugin typescript: @rollup/plugin-typescript TS2345: Argument of type 'WindowDef' is not assignable to parameter of type 'string'.
src\window.ts: (212:30)
212     (w) => new WebviewWindow(w, { skip: true })
~
[!] Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)
src\fs.ts (38:7)
36: import { invokeTauriCommand } from './helpers/tauri'
37:
38: export enum BaseDirectory {
^
39:   Audio = 1,
40:   Cache,
Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)
at error (C:\Users\Hansen\Desktop\tauri-tauri-v1.0.0-beta.5\tooling\api\node_modules\rollup\dist\shared\rollup.js:151:30)
at Module.error (C:\Users\Hansen\Desktop\tauri-tauri-v1.0.0-beta.5\tooling\api\node_modules\rollup\dist\shared\rollup.js:9995:16)
at Module.tryParse (C:\Users\Hansen\Desktop\tauri-tauri-v1.0.0-beta.5\tooling\api\node_modules\rollup\dist\shared\rollup.js:10398:25)
at Module.setSource (C:\Users\Hansen\Desktop\tauri-tauri-v1.0.0-beta.5\tooling\api\node_modules\rollup\dist\shared\rollup.js:10301:24)
at ModuleLoader.addModuleSource (C:\Users\Hansen\Desktop\tauri-tauri-v1.0.0-beta.5\tooling\api\node_modules\rollup\dist\shared\rollup.js:19662:20)
at ModuleLoader.fetchModule (C:\Users\Hansen\Desktop\tauri-tauri-v1.0.0-beta.5\tooling\api\node_modules\rollup\dist\shared\rollup.js:19718:9)
at async Promise.all (index 1)
error Command failed with exit code 1.
`
This is when running the ./.scripts/setup.ps1 script.

You should always check out the latest commits, a lot of fixes happened.
Follow these steps:

run .scripts/setup.ps1 and say yes to install nodejs cli
cd examples/api
yarn install
yarn tauri dev

You should always check out the latest commits, a lot of fixes happened.
Follow these steps:
1. run `.scripts/setup.ps1` and say yes to install nodejs cli

2. `cd examples/api`

3. `yarn install`

4. `yarn tauri dev`

Cloned the lastest dev, followed your instructions still the same result.

Seems like something goes wrong when it tries to build tooling/api can you run yarn build in that folder and see if error presist

yarn run v1.22.10
warning package.json: No license field
$ rollup -c

src/main.js → public/build/bundle.js...
(!) Unresolved dependencies
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
@tauri-apps/api/tauri (imported by src\App.svelte, src\components\Communication.svelte, src\components\FileSystem.svelte)
@tauri-apps/api/shell (imported by src\App.svelte, src\components\Window.svelte, src\components\Shell.svelte)
@tauri-apps/api/window (imported by src\App.svelte, src\components\Window.svelte)
@tauri-apps/api/app (imported by src\components\Welcome.svelte)
@tauri-apps/api/cli (imported by src\components\Cli.svelte)
@tauri-apps/api/process (imported by src\components\Welcome.svelte, src\components\Updater.svelte)
@tauri-apps/api/event (imported by src\components\Communication.svelte, src\components\Updater.svelte)
@tauri-apps/api/fs (imported by src\components\Dialog.svelte, src\components\FileSystem.svelte)
@tauri-apps/api/dialog (imported by src\components\Dialog.svelte, src\components\Window.svelte)
@tauri-apps/api/globalShortcut (imported by src\components\Shortcuts.svelte)
@tauri-apps/api/updater (imported by src\components\Updater.svelte)
@tauri-apps/api/clipboard (imported by src\components\Clipboard.svelte)
(!) Missing global variable names
Use output.globals to specify browser global variable names corresponding to external modules
@tauri-apps/api/shell (guessing 'shell')
@tauri-apps/api/tauri (guessing 'tauri')
@tauri-apps/api/window (guessing 'window$1')
@tauri-apps/api/app (guessing 'app$1')
@tauri-apps/api/process (guessing 'process')
@tauri-apps/api/cli (guessing 'cli')
@tauri-apps/api/event (guessing 'event')
@tauri-apps/api/dialog (guessing 'dialog')
@tauri-apps/api/fs (guessing 'fs')
@tauri-apps/api/http (guessing 'http')
@tauri-apps/api/globalShortcut (guessing 'globalShortcut')
@tauri-apps/api/updater (guessing 'updater')
@tauri-apps/api/clipboard (guessing 'clipboard')
(!) Plugin svelte: A11y:  element should have an href attribute
src\App.svelte
140:

141:       Tauri Console
142:        {
           ^
143:         responses.update(() => []);
144:         }}>clear
created public/build/bundle.js in 1.4s
Done in 2.00s.

Doesn't look like anything is breaking to me.

Looks like a problem with your setup since it works on my machine and it also works on CI. Please reach out on our Discord and we'll help you.
Also this is a good resource to follow: https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md