Bumping up-transport-zenoh-rust version

Since now Zenoh 1.0.0 has been officially released and we are upgrading up-transport-zenoh-rust, it might be a good chance to bump the version.
@sophokles73 We discussed the version policy before, but I forgot the conclusion. Do we need to keep the same minor version across all the projects? For example, up-rust is 0.2.x, and up-transport-xxx-rust will also be fixed at 0.2.y.

No, each component may freely follow its own versioning. However, we must follow semantic versioning. While we are still at major version 0, this doesn't mean much, i.e. you can break the API between minor versions etc.
IIRC up-transport-zenoh uses Zenoh type in its public API for creating a transport instance. If that is true, then IMHO bumping the Zenoh dependency to 1.0.0 should be reflected in a minor version increase of up-transport-zenoh as well. WDYT?

Sounds good to me.


[Bug Report] Could not pass event EntityPickupItemEvent to CrazyCrates v1.10.1-Build#115

Describe the bug
Every time I pick up an item in 1.18 this error appears in console.
Versions (please complete the following information):

Minecraft Server Version: Purpur version git-Purpur-1438 (MC: 1.18.1)
Plugin Version: 1.10.1-Build#115

*Do NOT say Latest use /version crazycrates in the console.
Pastebin any errors in console
Link: https://pastebin.com/h3pFZRQ9

Closed by #383


[IBCDPE-688] Great Expectations Implementation for Metabolomics Data

This PR is a WIP
I started off by looking through the data validation spreadsheet and the example metabolomics.json data from Synapse and applying the expectations that I felt made sense for each column. I have also set up our great_expectations environment in this repo and created the custom expectation expect_column_values_to_have_list_length to evaluate the length of lists in columns containing `list' objects.
I have created an example script,gx_metabolomics.py, which includes all of the expectations I have tested against the dataset and the example data itself so that others can run the script to test the expectations.
The final version of this work will look very different. Expectations running will be implemented seamlessly with the data processing. The example dataset will not be present, with the output of data processing being run through the Great Expectations tests immediately following processing.
With all that being said, I would appreciate feedback on the following:

Are the expectations I have selected for each column appropriate?
Are there any expectations missing?

I am particularly interested in potential multi-column expectations as I was not sure about this in
particular. For example, are there any sets of two columns whose values should be unique from
other rows when taken in pairs?

In the meantime, I will continue to work on the overall implementation.
Note: If you want to run the example script yourself, you will need to checkout this branch of the repository, run pipenv install to get great_expecations installed, and then run python gx_metabolomics.py.

Your expectations line up really well with what I came up with. The additional regexes are a nice bonus too!
Here's a useful multifield unique for metabolomics:
# multifield uniques
  is_unique(associated_gene_name, metabolite_id),

General thoughts/feedback (can be addressed later, as appropriate):

It would be nice to have an example implementation for validating list items in list columns.

A somewhat artificial check could be to validate that each value in boxplot_group_names[] is one of the two valid values: "CN", "AD".

Another option would be to make a more useful check against the genes_biodomains file, but this gets a little complicated:  genes_biodomains.gene_biodomains is a nested object that contains the biodomain[] list field. The string values in biodomains[] should always match one of the values in biodomain_info.name, which is a cross-file check.

We are going to need the same set of 5 ensembl_gene_id rules for every dataset. Is there a better way to handle that than copy/pasting them all over?

@JessterB Thanks for the feedback! I will add that multicolumn unique expectation.
As part of this work, I can add an expectation that checks the values within the lists. I can also add an expectation that checks for a particular data type to exist within the lists (for metabolomics this would probably be string, int, or list as the case may be). For nested fields and cross-file validation, I think those should be separate tasks to be tackled later because of their potential complexity.
For the ensembl_gene_id rules which will be reused, I can see what this can look like in the final implementation, but it is also possible that the better option is to be verbose and readable so that it is crystal clear what is being checked in each dataset. I will probably have more thoughts on this after the initial implementation is done.

This looks amazing! To echo Jess, adding the regexes is a great idea.
I compared Jess's validation script to this one, and the only real difference I see is that Jess's also checks for is_unique(associated_gene_name).
However I see your note above that the check for unique(associated_gene_name, metabolite_id) fails, which means that there must be duplicate associated_gene_name values... @JessterB, has the metabolomics.json file we use for Agora been passing this validation rule with your code? I'm confused.
I agree that being able to check if values inside lists are numeric, strings, etc as expected would be really useful.


Create Conversation Chat_Service_SID Specific

how to create a conversation to a specific chat service id using client SDK ?
This one is API BASED
client.conversations.v1.services('ISXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
.conversations('CHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
.messages
.create()
.then(message => console.log(message.sid));
I want to do this in the client SDK itself . Is it possible or do I have to do that using API?

In Client SDK Service SID is not mentioned while creating a conversation
 const conversation = await client.createConversation({
        friendlyName: name
      });

There is createConversation method. It creates Conversation in a specific Chat Service (the one you specified in your token when connecting).

OK i got It
const chatToken = (identity,config) => {
let chatGrant;
chatGrant = new ChatGrant({
serviceSid: config.chatServiceSid,
});
const token = generateChatToken(identity,config)
token.addGrant(chatGrant);
return token;
};

How i can retrieve the service sid using client SDK?

You can't. SDK always works as a user, inside a single chat service SID. It does not need to know anything about it.

Again, this is not a support forum, please file your request somewhere on the StackOverflow or ask Twilio Support directly by raising a support request.


Operation Timeout error when using Unirest::timeout(5)

My app on heroku uses unirest library(v 1.2.1) for http requests. When I make a HTTP POST request to a remote script I set  Unirest::timeout(5) (because I don't care about data returning from request).
But if it fails to get the data from the request, it complains about: Operation timed out after 5000 milliseconds with 0 bytes received and some times it doesn't even process the remote script.
How do I get rid of that error message? Or is there a better way to achieve this?
Thanks.

safest way is to put it behind try {} catch() {} block, Unirest-php uses the native PHP cURL extension so what you're seeing is an exception thrown on the cURL php extension level.


subcription may not be working for intraledger tx

to reproduce:

open https://api.staging.galoy.io/graphql
get a JWT by login in, add it to the headers
use the following subscription:

subscription myUpdates {
    myUpdates {
      errors {
        message
      }
      me {
        id
        defaultAccount {
          id
          wallets {
            id
            walletCurrency
            balance
          }
        }
      }
      update {
        type: __typename
        ... on LnUpdate {
          paymentHash
          status
        }
        ... on OnChainUpdate {
          txNotificationType
          txHash
          amount
          usdPerSat
        }
        ... on IntraLedgerUpdate {
          txNotificationType
          amount
          usdPerSat
        }
      }
    }
  }

from the mobile app, do some quizzes. there is no updates being sent by the subscription
note:

it could be that this is only for quizzes question because it using internally another path than the one that originate from a "pay to username" AFAIR
I have tried invoice and this is working.
I have not tested the onchain tx.

I also found that it's not working for the sender which it should. I'll get it fixed.

has this been fixed @samerbuna ?


[BugFix] Fix segment size in metadata cache

When loading a segment, only the footer and column meta are loaded,
and indexes are loaded lazily when they are used.
So segment memory usage is inaccurate when the segment is loading
and inserted into the metadata cache.
Therefore, the segment memory usage needs to be updated when
the indexes are loading.
Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 31 / 36 (86.11%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/rowset/column_reader.h
0
1
00.00%
[158]

:large_blue_circle:
src/storage/rowset/zone_map_index.h
0
1
00.00%
[101]

:large_blue_circle:
src/storage/rowset/segment.cpp
3
4
75.00%
[179]

:large_blue_circle:
src/storage/lake/tablet_manager.cpp
13
15
86.67%
[278, 279]

:large_blue_circle:
src/storage/rowset/ordinal_page_index.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/zone_map_index.cpp
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/bloom_filter_index_reader.h
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/column_reader.cpp
3
3
100.00%
[]

:large_blue_circle:
src/storage/rowset/segment.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/ordinal_page_index.h
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/bitmap_index_reader.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bitmap_index_reader.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bloom_filter_index_reader.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/lake/tablet.cpp
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 30 / 37 (81.08%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/rowset/column_reader.h
0
1
00.00%
[158]

:large_blue_circle:
src/storage/rowset/zone_map_index.h
0
1
00.00%
[101]

:large_blue_circle:
src/storage/lake/tablet_manager.cpp
12
17
70.59%
[278, 279, 539, 678, 965]

:large_blue_circle:
src/storage/rowset/ordinal_page_index.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/segment.cpp
3
3
100.00%
[]

:large_blue_circle:
src/storage/rowset/zone_map_index.cpp
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/bloom_filter_index_reader.h
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/column_reader.cpp
3
3
100.00%
[]

:large_blue_circle:
src/storage/rowset/segment.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/ordinal_page_index.h
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/bitmap_index_reader.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bitmap_index_reader.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bloom_filter_index_reader.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/lake/tablet.cpp
1
1
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 63 / 67 (94.03%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/rowset/column_reader.cpp
17
21
80.95%
[392, 406, 575, 576]

:large_blue_circle:
src/storage/rowset/ordinal_page_index.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/tablet_schema.h
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/segment.cpp
15
15
100.00%
[]

:large_blue_circle:
src/storage/rowset/zone_map_index.cpp
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/bloom_filter_index_reader.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/lake/tablet_manager.cpp
17
17
100.00%
[]

:large_blue_circle:
src/storage/rowset/segment.h
4
4
100.00%
[]

:large_blue_circle:
src/storage/rowset/ordinal_page_index.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bitmap_index_reader.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bitmap_index_reader.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bloom_filter_index_reader.cpp
1
1
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 63 / 67 (94.03%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/storage/rowset/column_reader.cpp
17
21
80.95%
[392, 406, 575, 576]

:large_blue_circle:
src/storage/rowset/ordinal_page_index.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/tablet_schema.h
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/segment.cpp
15
15
100.00%
[]

:large_blue_circle:
src/storage/rowset/zone_map_index.cpp
2
2
100.00%
[]

:large_blue_circle:
src/storage/rowset/bloom_filter_index_reader.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/lake/tablet_manager.cpp
17
17
100.00%
[]

:large_blue_circle:
src/storage/rowset/segment.h
4
4
100.00%
[]

:large_blue_circle:
src/storage/rowset/ordinal_page_index.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bitmap_index_reader.h
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bitmap_index_reader.cpp
1
1
100.00%
[]

:large_blue_circle:
src/storage/rowset/bloom_filter_index_reader.cpp
1
1
100.00%
[]

@Mergifyio backport branch-3.2


Fix Gradle build with latest build tools

Fixes a lot of issues with Gradle.
Closes #138

It still doesn't build because some tests fail. Some fail because they create more than 4GB of temporary files, filling up /tmp on my machine, one fails because the file you provide in the Dropbox JSON now returns HTTP 403. Could you please check that?

Which file exactly?

http://trailers.divx.com/divx_prod/profiles/WiegelesHeliSki_DivXPlus_19Mbps.mkv

Access denied

I know. That file is being accessed by the tests in the library. Because the URL is not available, tests are failing.


UAC would break the contection of MWB

Microsoft PowerToys version
0.76.2
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Mouse Without Borders
Steps to reproduce
machineA has been contected with B by "Mouse without borders".
when I use the mouse of A to click a admin exe of B, the UAC pop up and then the contection is lost.
and I have checked the "use service"
✔ Expected Behavior
keep contecting so that I can click the UAC on B with the mouse of A.
❌ Actual Behavior
cannot control B
Other Software
Windows 10 home

@132conan
Is MWB running as service on machine B? This might help to get the required permission to accept UAC window.

Yes, It is.
I have set the service autostart, and I  can see the service is running though run taskmgr


Spaces in filters cause items not to be picked up

If you set you project filter to be "testing, testing 2" the space cloner will not find "testing 2" even if it exists.  Humans are used to adding spaces after commas.  The space cloner should account for that.

Fixed in 3.2.3


redundant parameter declaration in DeploymentManager RP

This part should not be there. It causes duplicate parameters in method.
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2019-11-01-preview/deploymentmanager.json#L1236-L1246
Only those parameter under "get" method would be enough.

@deveshguha Please take a look if there will be any SDK released for this PR. Close it if no SDK is required.


Support for Python 3.8

@reliefs Could you please sign cla ? Thank you.

@reliefs  Gentle ping to sign CLA. Thanks!

In any case, just adding that line won't bring support for python 3.8. Hence, closing PR.

yes that was a mistake a truely a lack of understanding from my part.. Still using tensorflow i love it..
I now just never use it for other people to install :P


Rename Queryable::execute()

It sounds like... :boom: :gun:
Queryable::query() is already taken for opening a new query builder. That's also how query() methods are used everywhere else in the API, so for consistency I don't feel like changing that.
Alternatives:

->fetch()
->send()
->run()
->get()

Decided to go with run() because it's quite semantic:
$storage->run($query);

Also renamed Query\Builder::execute(). Splendid.


CI: samples/userspace/hello_world_user/sample.helloworld fails on qemu_xtensa_mmu

Describe the bug
The sample samples/userspace/hello_world_user/sample.helloworld fails in CI on qemu_xtensa_mmu. Git bisect points towards commit a36e39c2a65f3705832875053f8a4e13320dcd4c, which is quite old - but does fit the error.
To Reproduce
Steps to reproduce the behavior:

west twister -p qemu_xtensa_mmu -s samples/userspace/hello_world_user/sample.helloworld
See error

Expected behavior
CI passes.
Impact
CI broken on main.
Logs and console output
*** Booting Zephyr OS build zephyr-v3.5.0-2432-g8f9fd239eb26 ***

Backtrace:0x00101d08:0x0014def0 0x00101cfa:0x0014df60 0x001005ce:0x0014dfb0 0x00100789:0x0014dfd0 0x4010172d:0x0014dff0  |<-CORRUPTED

Environment (please complete the following information):

Commit SHA: 08e42b147edb4d1f52d297b02df8497b0b962c9d

Sneak myself in as an assignee to get visibility.
Weird that it's SDK-specific.  Paging behavior isn't generally related to code generation; it's just about semantic behavior: you hit the same pages in the same order either way, though maybe it's purely an issue of code size or something, like one version is a page bigger or smaller and hits an off-by-one somewhere?

Looks like QEMU is returning incorrect physical address when accessing a variable in the libc partition:
get_pte: autorefill(00109020): PTE va = 20000424, pa = 0010c424
get_physical_addr_mmu: autorefill(00109020): 00109000 -> 00109006
xtensa_cpu_tlb_fill(00109020, 1, 0) -> 00109020, ret = 0
xtensa_cpu_tlb_fill(00109028, 1, 0) -> 00109028, ret = 0
xtensa_cpu_tlb_fill(00109014, 0, 2) -> 00103050, ret = 26

Note that 0x109014 somehow mapped to 0x103050 which is incorrect as we always identity map memory pages.

You think it's a qemu bug?  Does it pass in xt-sim?  I guess my gut looking at that would say it was an uninitialized or garbage page in the table?  Can you dump the relevant pages ahead of time to verify qemu is loading different bytes than memory sees?
(For clarity: xtensa_cpu_tlb_fill() is reporting that a request for that address produced the word after the arrow?  What are the two other arguments, maybe ring and instruction/data or something?)

OK, found it: https://github.com/qemu/qemu/blob/master/target/xtensa/helper.c#L262
This is even more confusing, I think?  The "ret = 26" implies that the underlying fetch failed for some reason, and as I read it it will then set up a exception trap.  So that third line is actually fine, and I'm betting the 0x103050 value is just junk on the stack, it's not valid because the function failed.
So the question is why the load from 0x109014 failed.   Which is especially weird because the previous line shows a load from  0x109028, which is in the same page and should hit the same TLB line?  So why does it work the first time and fail the second?
I think (@jcmvbkbc -- interpretation would be greatly appreciated here) that this has to do with the second argument, mmu_idx.  That's compared against a ring value in the underlying xtensa_get_physical_address() function, so it's probably the ring/access level of the fetch?  So maybe the TLB line is stored at a ring of zero and not 2?  (Or three?  Are we using ring 2 and not 3 for userspace?)
Short version: this is consistent with writing the PTE entry from a ring 0 kernel mode mapping, which will populate the TLB at ring zero, then switching to a userspace context that has the same address mapped at ring 2 without doing a TLB flush.  And indeed doing the flush at swap time would indeed fix that.
Interestingly this is exactly what @ceolin was pointing out was possible.  :)

Actually thinking on that it still doesn't add up.  A TLB auto fill should never be done at anything but ring zero, which still sounds like a qemu bug?  Or something we don't understand anyway.
And needless to say PTE data should never be mapped at anything but ring 0, nor touched from userspace.  So still confusing.

OK, this is looking like a genuine qemu bug.  Indeed that "mmu_idx" value is interpreted as a ring when it gets to the get_physical_addr_mmu() function here:
https://github.com/qemu/qemu/blob/master/target/xtensa/mmu_helper.c#L820
But that's just wrong, because TLB refill fetches never use anything but ring zero.  The value being passed is (I think) the priviledge level of the original fetch.
Are you set up to build qemu?  It might be as simple as this, if we're lucky:
diff --git a/target/xtensa/helper.c b/target/xtensa/helper.c
index dbeb97a953..968c05b32c 100644
--- a/target/xtensa/helper.c
+++ b/target/xtensa/helper.c
@@ -269,7 +269,7 @@ bool xtensa_cpu_tlb_fill(CPUState *cs, vaddr address, int size,
     uint32_t page_size;
     unsigned access;
     int ret = xtensa_get_physical_addr(env, true, address, access_type,
-                                       mmu_idx, &paddr, &page_size, &access);
+                                       0, &paddr, &page_size, &access);

     qemu_log_mask(CPU_LOG_MMU, "%s(%08" VADDR_PRIx
                   ", %d, %d) -> %08x, ret = %d\n",

Again, hoping Max wanders by to take a look.  I should have some time tomorrow to try this I hope.

I did not, I found what looked like a smoking gun, scribbled a patch, tried it and walked away imagining victory.  I absolutely don't expect I understand all of what's going on here. :)  Though that tlb_fill() API (which is a function pointer callback implementing a standard qemu thing, so I don't know what exactly it's supposed to do) doesn't seem to be treating with the instruction pointer at all?   It certainly looks like a trap handler for a missing translation.

Both mem_protect and userspace failed on the patched QEMU but the one in SDK worked. So using mmu_idx seems to be correct on that line.

Thank you for the thorough examination of this issue. Anything we can do to unblock CI on main while the investigation continues? Can we exclude the platform from the test or similar?

My vote would be to exclude the test, yeah.  Though no objections to merging Daniel's flush fix as a workaround, I just want to make sure we don't forget and ship it, it's sort of a performance disaster if it reaches real hardware.

My vote would be to exclude the test, yeah. Though no objections to merging Daniel's flush fix as a workaround, I just want to make sure we don't forget and ship it, it's sort of a performance disaster if it reaches real hardware.

I rather have Daniel's fix for now, but tbh one line fix with a huge TODO to remove that seems better than something that looks like  valid option (Kconfig option)

Either way is fine with me. Just need to pick one.

Please note: Commit 031c842ecb768a2a98c33bd0259387e990cfece1 needs to be reverted once this is properly fixed.

I totally missed this issue, but I've got a notification today and tried to reproduce it. I'd say that I couldn't. That is with the SDK 0.16.4 and zephyr 8f9fd239eb26 twister indeed reports a failure, but if I run the test manually I get the following output from the test:
*** Booting Zephyr OS build zephyr-v3.5.0-2432-g8f9fd239eb26 *** Hello World from UserSpace! (qemu_xtensa_mmu)
which then goes into the idle loop. I don't see any of the mmu-related oddities mentioned in the thread.

I totally missed this issue, but I've got a notification today and tried to reproduce it. I can see a LoadStorePrivilegeCause exception at PC 0x00101d0b when it tries to load a word from address 0x00109014 from ring 2 and this attempt finds a TLB entry for the page 0x00109xxx with ASID 1 which maps to ring 0. This entry was loaded by the TLB autorefill while executing basic block at PC 0x001017db and it corresponds to a variable _stdout_hook.

A virtual address cannot be safely mapped into multiple address spaces which can simultaneously be present in the RASID SR, and since ASID 1 is always there associated with ring 0 it should not be used to access user pages at the same virtual addresses as the userspace.
I'm not exactly sure how zephyr maps kernel and user code and data, but it seems that it tries to share printing code/data between the kernel and userspace at the same virtual address. This is not going to work reliably with kernel in ring 0 unless TLB is flushed on switch to userspace.


Define Alertmanager receivers in a sorted manner

Siren creates alertmanager config and sycns with alertmanger. The alert manager config can change for the same subscriptions if their order changes. We should follow some sorting conventions and stick to those conventions to create an alert manager config.

closing this as this is not relevant anymore


How and why to use backdoor? (or how to debug services)

Hi,
I was trying to debug a running service, obviously failed putting ipdb inside services rpc methods, I ended using logging for debug.
But, I read about backdoor and tried to use.
in shell 1 I started the service
nameko run myservice --broker mybroker --backdoor-port 5050

then in another shell
nameko backdor localhost:5050

I was expecting to connect to the running service to be able to inspect (just like an ipdb session?)
but got.
rochacbruno@CATHO:~$  nameko backdoor localhost:5050
/bin/netcat
Traceback (most recent call last):
  File "/usr/local/bin/nameko", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/nameko/cli/main.py", line 26, in main
    args.main(args)
  File "/usr/local/lib/python2.7/dist-packages/nameko/cli/backdoor.py", line 39, in main
    if call(cmd) != 0:
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Maybe it is my misunderstanding about backdoors or on how to use it.

What is a backdoor and what is it for?
How is the way to debug running services? (there is an eager mode? verbose mode? redir stdout?)

Thanks so much

Hi,
There are a few options for debugging. (i)pdb is one of them, and pdb.set_trace() inside a service method should work just like any other python process. What didn't work as expected here?
The backdoor is a way to get a shell inside the process of a running service, possibly one that's been running for a while, and could even be enabled in production. It looks like you have encountered a bug (it shouldn't crash when not finding netcat, but instead try other alternatives. Maybe you could raise a separate issue about the crash, and post some more info (os, python version) to help us debug that.
When the backdoor works, you get a python shell prompt, from where you can interact with the objects inside the service process, e.g. the container, running workers, dependencies and other objects.
I think the mailing list https://groups.google.com/forum/#!forum/nameko-dev is a better place for the general debugging discussion. Perhaps you could post a simplified example of what you are trying with pdb and how it's not behaving as expected?
Obviously you could also separately add logging statements (or even print) for debugging, but we should be able to do better. If by "eager mode" you mean turning rpc calls into function calls that you can step through, that's something I've thought about but not really spent any time one.
Hope this helps,
David

Closing this issue to encourage discussion to move to the mailing list.
@rochacbruno if you have more questions please ask them there, and if you're able please report the backdoor bug (here, as an issue). Thanks


Horizontal scroll not working in macOS

i don't know why, but when i try to scroll the table horizontally on macOS i'm getting this error:
════════ Exception caught by gesture ═══════════════════════════════════════════
ScrollController not attached to any scroll views.
'package:flutter/src/widgets/scroll_controller.dart':
scroll_controller.dart:1
Failed assertion: line 155 pos 12: '_positions.isNotEmpty'

Please provide minimal reproduction example


TRY002: fixup docs

I realised almost as soon as I merged #12620 that the docs should also have been updated (cc. @epenet)

(Adding the internal label as there's no need for this to show up in our changelog as well as #12620.)


[REQUEST] New config option to strip certain characters from email:pass

Is your feature request related to a problem? Please describe.
Feel free to decline as this is a weird one, but depending on application I am testing the password requirements vary...
e.g. 1 site we have hosted behind CF doesnt allow < > /  etc, and will net a < error from CF without passing to site, but is acceptable on another site that has less strict password requirements.
Describe the solution you'd like
A special option in the script to parse & remove selected characters from the input.USER/PASS vars.  I tried doing it myself  but it would fail replacing back to input.PASS
I know I can do it manually but was thinking if it wasnt too much trouble to add it as a feature so I can use the same lists for my sites
Describe alternatives you've considered
Alt, I can manually replace and set to a new var and pass the new var instead of input.USER/PASS
Additional context
Just a weird request, feel free to decline if you think its a poor idea or waste of time.

Sorry I think this is not something that will be a useful improvement for many people, it's better to do it manually with a block.

not an issue, figured this would be the most likely outcome.
Thanks for reviewing


Using IP of chromecast as alternative to device name

Hi,
In some case, it's easier to use IP than device name. Seeing the code a simple alternative in the controllers must make this possible.
Do you think it could be added ?

Hmm, yeah, I guess it would be simple to add. Maybe we could make --device check whether the passed value is an IP address?

What do you think, @theychx?

I just try the branch device-ip, it works :)


error with additional request

Sorry my bad english.
I need to transfer to the grid not all orders, but with a specific selection, for example:
 ->create(['query' => Orders::query()->whereNotNull('processed_at'), 'request' => $request])
If i do search, i have bug:
select * from orders where (processed_atis not null orphonelike %111111111% oremaillike %111111111%) andorders.deleted_atis null order byid1 desc limit 15
my request hits to search request with or: processed_at is not null or `phone

The same Thing with me, it is not working I think I have to use another plugin for the grid, anyone can give solution on it

@alexeydg found any solution ?

no


fix(minLength): fix minLength cannot set to 0

Enable minLength = 0, as it is a different user scenario from showOnFocus.
But there might be a bug in current version, which is fetch cannot be triggered without editing (type or delete) the input, no matter what's the value exists before focus the input cell. Which is why for the cypress test added has to type in something then delete it to empty to show the list.
I'm not sure if this is desired performance or not since it's not declared in README. Could you either fix it or make it more clear in README?

Hello, has there been an opportunity to review this pull request?


Cache eslint

Turns on caching when running eslint to make it faster. Makes linting ~50% faster on my machine

Nah this has no affect on performance of the CI (since the cache isn't carried across runs)
It's more for local since it can be slow at times (and I have it has a pre-commit hook so always nice when it runs fast)


{inherit, initial, unset} missing from Rules & TypedAliases

eg: padding(12 px, inherit) should work.


[SPARK-39927][BUILD] Upgrade to Avro 1.11.1

What changes were proposed in this pull request? Update the Avro version to 1.11.1
Why are the changes needed?
To stay up to date with upstream
Does this PR introduce any user-facing change? No
How was this patch tested?
Unit tests
Closes #37352 from iemejia/SPARK-39927-avro-1.11.1.
Authored-by: Ismaël Mejía<EMAIL_ADDRESS>Signed-off-by: Dongjoon Hyun<EMAIL_ADDRESS>Conflicts:
dev/deps/spark-deps-hadoop-2.7-hive-2.3
dev/deps/spark-deps-hadoop-3-hive-2.3
docs/sql-data-sources-avro.md
external/avro/src/main/scala/org/apache/spark/sql/avro/AvroOptions.scala #	external/avro/src/test/scala/org/apache/spark/sql/avro/AvroSuite.scala #	pom.xml
project/SparkBuild.scala
sql/hive/src/test/scala/org/apache/spark/sql/hive/client/HiveClientSuite.scala

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

ut 已过


Fix setting systemd config file for system v239

From systemd v239, the support for option UserTasksMax= in /etc/systemd/logind.conf has been removed.
In systemd v239 and later, The user default is set via TasksMax= in /usr/lib/systemd/system/user-.slice.d/10-defaults.conf.

I will recreate a PR.


OpenTSDB 2.3 Support

Any plans to support OpenTSDB 2.3 format with filters? Master branch doesn't support filters:
{"error": "com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "filters" (class com.turn.splicer.tsdbutils.TSSubQuery), not marked as ignorable (7 known properties: "metric", "rate", "tsuids", "aggregator", "tags", "downsample", "rateOptions"])
 at [Source: {"start":1534861416171,"queries":[{"metric":"lostperc.hourly.cnt.fine.ex.dead.l3","aggregator":"sum","downsample":"1h-avg-zero","filters":[{"filter":"2","groupBy":false,"tagk":"bratio","type":"literal_or"},{"filter":"0","groupBy":true,"tagk":"qci","type":"literal_or"},{"filter":"0.01","groupBy":false,"tagk":"threshold","type":"literal_or"},{"filter":"b2a|o2|w0506|o3eb; line: 1, column: 151] (through reference chain: com.turn.splicer.tsdbutils.TsQuery["queries"]->java.util.ArrayList[0]->com.turn.splicer.tsdbutils.TSSubQuery["filters"]), stacktrace=com.turn.splicer.tsdbutils.JSON.parseToObject(JSON.java:51), com.turn.splicer.tsdbutils.TsQuerySerializer.deserializeFromJson(TsQuerySerializer.java:28)"}

7 known properties: "metric", "rate", "tsuids", "aggregator", "tags", "downsample", "rateOptions"]

There are no current plans, part of the problem is that the folks that built this aren't at the main company using it anymore.
I'll see if I can get this taken care of for you though!

@johann8384 thanks mate
The project is good and giving a nice kick to OpenTSDB

are there any news? i came accross this project, and it would very well fit my companies needs.

Looks like we need to wait 3.0 release

Distributed Queries - Based on the great work of Turn on Splicer we have a distributed query layer to split queries amongst multiple TSDs for greater throughput.
http://opentsdb.net/docs/build/html/new.html#x-planned


Static unique domains

The current implementation of the unique_domain macro makes it impossible to assign such a domain to a static variable.
Ideally, I'd like to be able to write something like this:
static GLOBAL_DOMAIN: Domain<_> = unique_domain!();

However, Rust doesn't support wildcards in const/static types, and for I can't name the family type.
One simple solution would be to provide a similar macro for declaring static domains, which would look like this:
unique_domain!(static GLOBAL_DOMAIN);

Since the macro can name the family type, this doesn't pose any issues. I'd be happy to submit a PR if this is a desired feature.

That sounds like a great idea! I think there are some details to be worked out, but probably easiest to do so via a PR so we can talk about the actual code. We'll probably want to have two different macros, one for producing a value and one for producing a type, but that we can also take in the PR!


Use semantic-ui table with Jqgrid would be awesome

I think to have a the best table is to use Jqgrid with perform Semantic-ui template
What do you think ?

DataTables is also very powerful.

This is not a PR


Failed assertion: line 126 pos 15: 'value >= min && I/flutter (25268): value <= max': is not true.

I received the following error but cannot determine why the 'value is failing this assertion.
'package:flutter/src/material/slider.dart': Failed assertion: line 126 pos 15: 'value >= min &&
I/flutter (25268): value <= max': is not true.`
              new Slider(
                min: 0.0,
                value: position?.inMilliseconds?.toDouble() ?? 0.0,
                max: 30000.0, // tracks are 30 seconds
                onChanged: (double value) =>
                    audioPlayer.seek((value).roundToDouble()),
               // divisions: duration == null ? 100.0 : duration.inSeconds,
              ),

position?.inMilliseconds?.toDouble() could return a negative value or a value > 30000.0
You could set a breakpoint at the line that throws the Exception. In IntelliJ/AS you could make it conditional to only halt when the assertion is violated and then check the actual value.
You could also just add a print('=== Slider value: ${position?.inMilliseconds?.toDouble() ?? 0.0} ==='); at the beginning of the build() method and check the values it prints.

I have solved it by the following methods
double progress() => max() > position?.inMilliseconds?.toDouble()
? position?.inMilliseconds?.toDouble()
: 0.0;
double max() => (duration.inMilliseconds ?? 0.0).toDouble();


Build failed due to 'Keyboard' package

macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
Attempting to build the Cookbook throws back 'The package product 'Keyboard' requires minimum platform versions 16.0 for the iOS platform, but this target supports 15.0' despite target's being 17.2.
Crash Logs, Screenshots or Other Attachments (if applicable)

Yeah, I'm seeing those too. I'll update the Tags to use the previous version.

The Cookbook was bringing in the latest versions of Controls and Keyboard which were just updated. Now those packages are set to exact Tags. You might have to File > Packages > Clear Package Caches.

 Will get it resolved shortly so we can get back on latest versions.

You guys are the best. Your hard work is an incredible contribution to the world - thank you so much! Just over a week ago I had no programming experience at all, and this project is helping me understand things that are way beyond me.

From: Aurelius Prochazka @.>
Sent: 30 January 2024 6:07 PM
To: AudioKit/Cookbook @.>
Cc: Daniel Ferguson @.>; Author @.>
Subject: Re: [AudioKit/Cookbook] Build failed due to 'Keyboard' package (Issue #150)
Closed #150https://github.com/AudioKit/Cookbook/issues/150 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/AudioKit/Cookbook/issues/150#event-11645635708, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFRVFWJ3YK5UXYO3ONR62LLYREZHNAVCNFSM6AAAAABCRP2POWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGY2DKNRTGU3TAOA.
You are receiving this because you authored the thread.Message ID: @.***>


As a SoC student with many online classes, I can add modules into the program

so that I can easily keep track of my timetable and classes.

Achieved


Error while using doom/{increase-decrease}-font-size

The commands doom/{increase-decrease}-font-size itself works fine, however I got the following error while running them:
run-hooks: Symbol’s function definition is void: +modeline|resize-for-font

As of 3399580 this should be resolved. Thanks for bringing it to my attention!


improve JP translation

Changed some Japanese translation. But it's not perfect

Thank you very much 😊


FIX Client#list_series: return empty array if no series

fixes #194

Thanks! I will issue a release later in the evening.

Version 0.3.15 is now available.

Great, thanks!


Trouble using the outputs obtained from the GEARS model

Hi!
First of all, thanks for producing reproducible code that allows researchers to use your method. However, with such a high-class publication I would have expected some more verbose documentation. I am trying to simulate perturbations of individual genes and am stuck at the last step, evaluating the outputs. So far I couldn't find any mention of it in the tutorials.
After training and loading the model, typing
gears_model.predict([["PARK7"]])

gives me the following output:
{'PARK7': array([9.3185983e-04, 1.2710856e-02, 4.3317977e-02, ..., 3.7023327e+00,
       4.8783151e-03, 2.0390714e-06], dtype=float32)}

Which is of shape (5045,). I understand that this vector should contain the expression changes of 5045 genes. How can I get the info which value corresponds to which gene? This information would be very helpful.
Secondly, if I try to plot the perturbations wit the following line:
gears_model.plot_perturbation("PARK7", "PARK7.png")

I get the following error:
Traceback (most recent call last):
  File "/home/ubuntu/gears/testrun.py", line 34, in <module>
    gears_model.plot_perturbation("PARK7", "PARK7.png")
  File "/mnt/storage/anaconda3/envs/gears/lib/python3.10/site-packages/gears/gears.py", line 441, in plot_perturbation
    adata.uns['top_non_dropout_de_20'][cond2name[query]]]
KeyError: 'PARK7'

PARK7 must be in the gene set, otherwise the previous prediction wouldn't have worked. I also tried PARK7+ctrl and ctrl+PARK7 but got the same error. Any help on how I could get this running?

I have now found the answer to the first part of my question, the gene names are accessible under pert_data.gene_names, but only after calling pert_data.get_dataloader(...). The possible query genes can be found in gears_model.pert_list.
However, now I have found another question regarding the output of gears_model.GI_predict(). It can look like the output below:

{'ts': TheilSenRegressor(fit_intercept=False, max_iter=1000,
                   max_subpopulation=100000.0, random_state=1000),
 'c1': 0.31509945367144776,
 'c2': 1.5384396236436881,
 'mag': 1.5703770697832344,
 'dcor': 0.903160207477114,
 'dcor_singles': 0.8644400546004193,
 'dcor_first': 0.8598795792766578,
 'dcor_second': 0.8826629962759972,
 'corr_fit': 0.8837036648607223,
 'dominance': 0.6886328067658705,
 'eq_contr': 0.9741878643429441}

I was expecting values for the individual GI classes shown in Figure 5 in the paper. How does this array tell me if the genetic interaction is a suppression, synergy, epistatis etc? Thank you for clarifying.

I'm sure the authors can clarify, but table 1 and supplementary notes 15+16 explain this.

Thanks @pckinnunen , this actually answers my question. It would however been great for the adoption of this method if the documentation would contain a hint to the table and the supplementary notes.

Hi!
First of all, thanks for producing reproducible code that allows researchers to use your method. However, with such a high-class publication I would have expected some more verbose documentation. I am trying to simulate perturbations of individual genes and am stuck at the last step, evaluating the outputs. So far I couldn't find any mention of it in the tutorials.
After training and loading the model, typing
gears_model.predict([["PARK7"]])

gives me the following output:
{'PARK7': array([9.3185983e-04, 1.2710856e-02, 4.3317977e-02, ..., 3.7023327e+00,
       4.8783151e-03, 2.0390714e-06], dtype=float32)}

Which is of shape (5045,). I understand that this vector should contain the expression changes of 5045 genes. How can I get the info which value corresponds to which gene? This information would be very helpful.
Secondly, if I try to plot the perturbations wit the following line:
gears_model.plot_perturbation("PARK7", "PARK7.png")

I get the following error:
Traceback (most recent call last):
  File "/home/ubuntu/gears/testrun.py", line 34, in <module>
    gears_model.plot_perturbation("PARK7", "PARK7.png")
  File "/mnt/storage/anaconda3/envs/gears/lib/python3.10/site-packages/gears/gears.py", line 441, in plot_perturbation
    adata.uns['top_non_dropout_de_20'][cond2name[query]]]
KeyError: 'PARK7'

PARK7 must be in the gene set, otherwise the previous prediction wouldn't have worked. I also tried PARK7+ctrl and ctrl+PARK7 but got the same error. Any help on how I could get this running?

Very glad to see your comments! May I inquire if you have managed to resolve the second issue here? I have the same confusion. Thank you very much ！

Thanks @pckinnunen , this actually answers my question. It would however been great for the adoption of this method if the documentation would contain a hint to the table and the supplementary notes.

Hi! I've also wanted to give GEARS a shot and the code was useful and reproducible, but I agree with you that the documentation is not really clear regarding results' interpretation.
And even though in the Supp. material you can find the metrics and the thresholds used by the authors to classify a given interaction to one of the five subtypes (Table 2. in Supp. Note 16, shown below), I still haven't seen what's recommended to do when an interaction falls under two or more possible subtypes which has happened to me...

Has anyone defined a criteria that might be worthy? Thanks in advance


bug(AUTOCOMPLETE): Autocomplete options are flowing above the page header

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When we open the autocomplete options and scroll the page, the popup flows above the page header.
https://github.com/angular/components/assets/114717711/a18a40f2-8ca5-4cb9-9611-3175ce084b14
Reproduction
StackBlitz link:
Steps to reproduce:

Go to: https://material.angular.io/components/autocomplete/overview
Go to example: Display value autocomplete
Open the options
Scroll the page down so that the popup overlaps the page header.

Expected Behavior
The popup should flow below the page header.
Actual Behavior
The popup is flowing above the page header.
Environment

Angular: 17.3.0
CDK/Material: 17.3.1
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

This is working as expected. Overlays are set up to be on top of everything on the page.


Mass deletion question.

guys, what is the correct way of doing mass deletion?
i have a Post object that I want to delete, that has:
PostComments
PostMentions
PostLikes
PostReply
PostReplyMention
PostReplyLike
assuming each of these records can reach more or less a thousand records,  should i manually iterate over them?
as I have noticed PostLikes::where("liker_id", Auth::id())->delete(); does not seem to work.

Hi.
One strategy could be to soft delete, and when a user clicks on a notification for a Post that has been deleted: just show users a page that says: no post found. From a UX point of view this could be perfectly fine. Any link to the post will be broken anyway.
Another strategy is to delete activities in Stream in a background job, but (as you said: thousands of records) it's not an easy thing to do at scale. We don't have a way to batch delete activities in one API call, at the moment. So: rate limits are to be respected. Rate limits go up if you upgrade to a higher plan.
By the way: if you wish, you can also send questions like these to stackoverflow in the future using the getstream-io tag. Other Stream users can share you their experience too.
Cheers

guys,

What if... I was a  👩 replying to you? 😃  I wouldn't feel very addressed.


fix: Upgrade dependencies

Description

This does a few things:

BREAKING CHANGE: requires node >= 20
upgrades rollup to new package schema
removes uglifyjs as it's rollup plugin is no longer supported
Upgrades packages with known security vulnerabilities
Migrates to .mjs as required in newer node versions

Checklist

[x] Read the contributing guidelines.
[x] Each commit follows the Conventional Commit spec format.
[x] Update the readme (if applicable).
[x] Update or add any necessary API documentation (if applicable)
[x] All existing unit tests are still passing (if applicable).

[x] Add some steps so we can test your bug fix or feature (if applicable).
[x] Add new passing unit tests to cover the code introduced by your PR (if applicable).
[x] Any breaking changes are specified on the commit on which they are introduced with BREAKING CHANGE in the body of the commit.
[x] If this is a big feature with breaking changes, consider opening an issue to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.

@icco thank you so much for contributing! Since this PR is tackling several things we want to make sure we fix your issue without impacting other environments that are using the library.
Could you please provide more insight into what the issue(s) you are running into is/are?
e.g. why do you require dependency updates, need a specific node version, need the files to be imported as .mjs, etc
Also, could you please rewrite your commits to make sure we don't check in the distribution files in the PR.


remove assert which blocks runs

This is for https://github.com/mlperf/inference/issues/468
@rachithayp

Usually, when compiling a release build, asserts are no-ops. (Unless you are intentionally defining NDEBUG in a release.)
You may want to double check you are not submitting with a debug build. Not sure how much of a perf impact a debug build would have though. It may not matter much.

@briandersn how to I check if it is a debug build or a release build. Where is the instructions to build which I can check these flags?

I guess it depends on the build infra used.
NDEBUG is automatically defined by bazel and gn for opt/release builds.
Looks like CMAKE does too: https://stackoverflow.com/questions/34302265/does-cmake-build-type-release-imply-dndebug

Are you building with CMake or setup.py?
https://github.com/mlperf/inference/blob/413dbabcb30dc2ee1fe42e7b8090b37e8144617d/loadgen/CMakeLists.txt#L12
Looks like the reference CMake file set release manually (-O2), without also defining NDEBUG.
Note: -O3 may be better than -O2
The build instructions for the python module do something similar: (https://github.com/mlperf/inference/blob/3fdb13a3397c6cdc1f0700f8762e69ddf7f567d0/loadgen/README_BUILD.md#L14) also manually sets -O3 without setting NDEBUG.
So it's very possible optimizations are enabled but NDEBUG isn't defined.

cmake ..
make VERBOSE=1

will show the compiler command lines.


Run migrations early in the supervision tree

Also add a migration version, improve docs,
and document code that actually cannot be
removed.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Authenticated users need to be added to global users list.

Rancher versions:
Master 6/18/19
Steps to Reproduce:
Enable azure AD authentication
Select users
Results:
Authenticated AD user should be listed under users as admin.

The users tab shows local users only so when a new user logs in via a provider a local user is created and mapped to the external provider in order to get their Token. The first user to turn on an auth provider is mapped to the Default Admin. This mapping can be seen by viewing the users through the API under principalIds. If 100 users are added under the auth screen they will not show up under Users until that user logs in for the first time thus creating the token.
This is currently working as expected.

@dramich Since we have multiple "principalIds"associated with the "Default Admin" user now, UI should be able to show all the users associated with this account ?

I spoke with @adingilloRancher about this. This is as designed and confusing for most users. We've tried to update the docs with clearer information about how it works:
https://rancher.com/docs/rancher/v2.x/en/concepts/global-configuration/authentication/


feat: add bitgetWallet, upgraded bitKeepWallet

Hi, Team Solana-Labs,
This PR adds bitget wallet to the list of supported wallets and upgrades bitkeep wallet to the bitget wallet to make it easier for our users to connect to wallet-adapter dapps.
Please let me know if anything needs to be added or changed to satisfy your requirements.
Cheers,
Bitget Wallet team

Hey there, as mentioned in the wallets docs we're not accepting new adapters for wallets that are injected into the window. These wallets should be implemented using Wallet Standard, so that they are available to all apps without any need to import their adapters. You can of course publish the adapter yourself and ask apps to include it, but I'd definitely encourage you to take advantage of Wallet Standard so your users can access your wallet in all apps they use.
If you could open a PR that just modifies your existing BitKeep adapter I'm happy to review that for you.


Season folder are not created

Season folders for a serie are not created when using "add_serie"

Feature added in 1.0.8

This feature I tested in Python and works perfectly now!
from pycliarr.api import (
    SonarrCli
)

sonarr = SonarrCli('http://<IP_ADDRESS>:8989',
                   '2c9e7044203a44bd99e20e45fc7411a3')

# sonarr.delete_serie(serie_id=198)

res = sonarr.add_serie(tvdb_id=281618, quality=1, season_folder=True)

print(res)

As for your command example, it is just not finding anything. If you refer to the documentation:
 pyvenv/bin/pycliarr -t "http://<IP_ADDRESS>:8989" -k "2ac2d0f667524da3ba1849e81dba5a84" -d sonarr add -h
PyCliarr version 1.0.8
usage: pycliarr sonarr add [-h] (--tvdb TVDB | --terms TERMS) [--quality QUALITY] [--seasons SEASONS] [--season-folders]

optional arguments:
  -h, --help            show this help message and exit
  --tvdb TVDB           TheVideoDatabase ID of the serie to add
  --terms TERMS, -t TERMS
                        Keyword to search for the serie to add
  --quality QUALITY, -q QUALITY
                        Quality profile to use
  --seasons SEASONS, -s SEASONS
                        Comma separated list of seasons nums
  --season-folders, -f  Whether to create season folders, default is false

"-t" is to specify keywords, and you specify "266189'" as a keyword. you may want to use --tvdb if you specify the item. However specifying a tvdb id as term is working, and  pointed another issue when only one result is returned. I will send a new version shortly.


Make max. syncs per user configurable

We limit the number of syncs from a single user that can be queued simultaneously. The limit is fixed here to 3.
We should make it configurable.
There's a similar limit for the number of concurrent imports that can be configured in central. We could either reuse that parameter and apply it to both imports or syncs or define a new parameter.

Moving to other repo


Agent docker image

From what I can see in the docs at https://docs.microsoft.com/de-de/azure/devops/pipelines/agents/docker?view=azure-devops#linux you have to create the docker images yourself.
There is also https://hub.docker.com/_/microsoft-azure-pipelines-vsts-agent which seems to be deprecated and https://hub.docker.com/r/consultent/azure-pipelines-vsts-agent which looks as if someone tried to provide an up to date docker image.
Why is there no official up to date docker image?

For information, we update Dockerfile in documentation to get an argument AGENT_VERSION.
I also created a fork which build any new version of the agent:
https://github.com/guilhem/azure-pipelines-agent/commit/14204c4e1f1cd63977223bb961b342308028c8d1
docker registry:
https://github.com/users/guilhem/packages/container/package/azure-pipelines-agent

From what I can see in the docs at https://docs.microsoft.com/de-de/azure/devops/pipelines/agents/docker?view=azure-devops#linux you have to create the docker images yourself. There is also https://hub.docker.com/_/microsoft-azure-pipelines-vsts-agent which seems to be deprecated and https://hub.docker.com/r/consultent/azure-pipelines-vsts-agent which looks as if someone tried to provide an up to date docker image.
Why is there no official up to date docker image?

The company I'm with provides the 2nd link you posted.  It doesn't look like Microsoft is ever going to make it easy for us again with those agents.  I hope the images we offer are a help, we currently use them in production for our clients, and they work better than the original Microsoft provided containers, especially the cleanup code we added, where sometimes old agents would remain registered, and wouldn't be able to re-register because Azure still thinks they're registered.

Up

Up

bump

@wertzui We are considering various future options to support container images for Pipeline agents. However, we are unlikely to provide a generic image that covers all scenario's with a single image.

Simplest image to ship just the source can be like this.
FROM ubuntu:22.04

RUN useradd -m azure
WORKDIR /home/azure
COPY vsts-agent*.tar.gz .
RUN tar -xf vsts-agent*.tar.gz && rm vsts-agent*.tar.gz
RUN ./bin/installdependencies.sh
RUN chown -R azure:azure .
USER azure

Users can then build their variations, for e.g., as.
FROM azp
RUN DEBIAN_FRONTEND="noninteractive" apt install -yq  git iputils-ping unzip zip
COPY start.sh .
ENTRYPOINT ./start.sh


torch_cluster fails in DynamicEdgeConv when parallelising over multiple GPUs

🐛 Bug

torch_cluster fails in DynamicEdgeConv when parallelising over multiple GPUs.
Training script with network architecture:
https://github.com/lgray/deepjet-geometric/blob/master/examples/puma_v1_train.py
Error:

500 / 39000
550 / 39000
600 / 39000
Traceback (most recent call last):
File "puma_v1_train.py", line 134, in
loss = train()
File "puma_v1_train.py", line 123, in train
data.x_glob_batch)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 726, in _call_impl
result = self.forward(*input, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 161, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 171, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File "/opt/conda/lib/python3.6/site-packages/torch/nn/parallel/parallel_apply.py", line 85, in parallel_apply
output.reraise()
File "/opt/conda/lib/python3.6/site-packages/torch/_utils.py", line 420, in reraise
raise self.exc_type(msg)
RuntimeError: Caught RuntimeError in replica 1 on device 1.
Original Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/torch/nn/parallel/parallel_apply.py", line 60, in _worker
output = module(*input, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 726, in _call_impl
result = self.forward(*input, **kwargs)
File "puma_v1_train.py", line 81, in forward
feats1 = self.conv(x=(x_clus_enc, x_pfc_enc), batch=(batch_clus, batch_pfc))
File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 726, in _call_impl
result = self.forward(*input, **kwargs)
File "/workspace/pytorch_geometric/torch_geometric/nn/conv/edge_conv.py", line 113, in forward
num_workers=self.num_workers)
RuntimeError: The following operation failed in the TorchScript interpreter.
Traceback of TorchScript (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/torch_cluster/knn.py", line 75, in knn
torch.cumsum(deg, 0, out=ptr_y[1:])
return torch.ops.torch_cluster.knn(x, y, ptr_x, ptr_y, k, cosine,
~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
num_workers)
RuntimeError: ptr_x.value().numel() == ptr_y.value().numel() INTERNAL ASSERT FAILED at "/tmp/pip-req-build-g4jm3lqe/csrc/cuda/knn_cuda.cu":106, please report a bug to PyTorch. Input mismatch
HDF5: infinite loop closing library
L,T_top,P,P,Z,FD,E,SL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL,FL

To Reproduce
Steps to reproduce the behavior:

Download data file http://t3serv001.mit.edu/~bmaier/torchbug/TTBar_736.h5
Use the docker image (CUDA 11.0) docker://benediktmaier/torch-geometric:20.09-py3
Use this training script: https://github.com/lgray/deepjet-geometric/blob/master/examples/puma_v1_train.py
Add parallelisation after line 98:

if torch.cuda.device_count() > 1:
puma = nn.DataParallel(puma)
Expected behavior
Should work. But doesn't :) It does work on only one GPU.

I don't think that has anything to do with multi GPU support for torch_cluster.knn. For example, the following code runs without issues for me:
import torch
from torch_geometric.datasets import MNISTSuperpixels
from torch_geometric.data import DataListLoader
from torch_geometric.nn import DataParallel
from torch_geometric.nn import knn_graph

dataset = MNISTSuperpixels('../data/MNIST')[:64]
loader = DataListLoader(dataset, batch_size=32, shuffle=True)

class Net(torch.nn.Module):
    def __init__(self):
        super(Net, self).__init__()

    def forward(self, data):
        _ = knn_graph(data.x, 6, data.batch)
        return torch.tensor([1], device=data.x.device)

model = Net()
print('Let\'s use', torch.cuda.device_count(), 'GPUs!')
model = DataParallel(model)
device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
model = model.to(device)

for data_list in loader:
    output = model(data_list)

This has more to do with that the indices in batch_x and batch_y do not match, e.g., batch_x.max() != batch_y.max(), which is not allowed.

Why would it work without the parallelization then? If I only run on one GPU, it runs over the entire dataset without any problems.

Seems to be related to data shuffling. You might wanna make sure that each example consists of at least one node before calling knn.


Test errors are emitted outside the Flow in MapTestNetworkTransport

Version
3.7.3
Summary
In case you registerTestNetworkError() with MapTestNetworkTransport it throws exception eagerly outside of flow {}.
I've checked commit history and you already fixed the same bug in QueueTestNetworkTransport, but for some reason MapTestNetworkTransport wasn't patched:

#4224

I know that there's an ongoing refactoring of error handling for 4.x (in #4711), but until it's out It would be great to fix this bug in 3.x
Steps to reproduce the behavior
val apolloClient = ApolloClient.Builder()
    .networkTransport(MapTestNetworkTransport())
    .build()

apolloClient.registerTestNetworkError(DummyQuery())

apolloClient.query(DummyQuery())
    .toFlow() // this line will throw the `ApolloNetworkException` hence
    .retry(1) // nothing will be retried
    .catch { /* nothing will be caught here */ }

Logs
java.util.concurrent.CompletionException: com.apollographql.apollo3.exception.ApolloNetworkException: Network error queued in QueueTestNetworkTransport
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:332)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:347)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:636)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162)
	at kotlinx.coroutines.future.CompletableFutureCoroutine.onCancelled(Future.kt:66)
	at kotlinx.coroutines.AbstractCoroutine.onCompletionInternal(AbstractCoroutine.kt:91)
	at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:236)
	at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:909)
	at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:866)
	at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:831)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Caused by: com.apollographql.apollo3.exception.ApolloNetworkException: Network error queued in QueueTestNetworkTransport
	at com.apollographql.apollo3.testing.MapTestNetworkTransport.execute(TestNetworkTransport.kt:67)
	at com.apollographql.apollo3.interceptor.NetworkInterceptor.intercept(NetworkInterceptor.kt:22)
	at com.apollographql.apollo3.interceptor.DefaultInterceptorChain.proceed(ApolloInterceptor.kt:23)
	at com.apollographql.apollo3.ApolloClient.executeAsFlow(ApolloClient.kt:178)
	at com.apollographql.apollo3.ApolloCall.toFlow(ApolloCall.kt:97)

Thanks for reporting this! Would you be interested in opening a PR with the fix? If not no worries, I can do it!

Fix is available in 3.8.2


Cloud Run triggers are outdated

"Cloud Run can only receive HTTP requests or Pub/Sub push events."
This is not true anymore. Cloud Run can now accept events via WebSockets, Eventarc (which let's Cloud Run react to something akin to CloudEvents, but more specifically events from over 90 GCP services - making the distinction between Cloud Functions and Cloud Run less obvious), as well as invocations by gRPC.
https://cloud.google.com/run/docs/triggering/grpc
https://cloud.google.com/eventarc/docs/overview

WebSockets or gRPC are still HTTP requests.
Similarly, Eventarc also delivers over HTTP (in cloudevents format).
So I think the only revision needed is to add Eventarc next to Pub/Sub.

That was not really the point. And if you want to be specific about it: Only the initial opening of the websocket connection is http, everything after is not. And just because it can receive those things over HTTP doesn't mean it supports any protocol over HTTP. Cloud Functions also use HTTP, but they don't support gRPC or websocket.
The point is that the section in question is about the differences between Cloud Run and Cloud Functions. So perhaps a better way of phrasing this and include the different trigger types is more appropriate.


Update pandas to latest stable version

Closed by https://github.com/dsgelab/risteys/commit/b1c63c9756b087f7615ecfdfae14f61b6010c66f and subsequently by  https://github.com/dsgelab/risteys/commit/9891997b52d0742e014f5da6d8366448022aa219


Fixes Issue 1614

This is a replacement for #1626.

@greglandrum Starting to look at it now...

Finally wrapped my head around this.

Do you want to change the \param I mentioned?  It’s not important overall but I find the current doc  a bit confusing.

Yep, sorry, forgot to do that. Done now.

@coleb @bp-kelley : I'm going to merge this tomorrow (Monday) morning unless you have objections.

Looks good to me

In general, everything looks good to me. My comments are fairly minor. I originally ran into this bug while trying to extend EnumerateStereoisomers for pseudo-stereo centers. It would be great if pseudo-stereo double bonds were handled as indicated in the test comment for completeness, but pseudo-stereo atom centers I believe are more common in practice, and those do seem to be handled properly. I'll continue that work based on this branch to see if I spot any other problems.


Work with cargo workspace

My contracts are developed within a cargo workspace, under contracts/. When compiling with devphase, I got this:
root@bca196224001:~/project# yarn devphase compile sample_oracle
[Compile] Contracts compilation
[MultiContractExecutor] Criteria: sample_oracle
[MultiContractExecutor] Matched contracts: [ 'sample_oracle' ]
[Compiler] Building: sample_oracle
# ....

Your contract artifacts are ready. You can find them in:
/root/project/target/ink/sample_oracle

  - sample_oracle.contract (code + metadata)
  - sample_oracle.wasm (the contract's code)
  - metadata.json (the contract's metadata)
[Compiler] File /root/project/contracts/sample_oracle/target/ink/sample_oracle.contract not generated
/root/project/node_modules/devphase/dist/cli/index.js:238
            throw new Exception(`Unable to execute action for ${contract} contract`,<PHONE_NUMBER>192);
                  ^
Throwable: Unable to execute action for sample_oracle contract
    at MultiContractExecutor.exec (/root/project/node_modules/devphase/dist/cli/index.js:238:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code:<PHONE_NUMBER>192
}
error Command failed with exit code 1.

cargo outputs the target in different places if it's in a workspace or not:

Non-workspace: $PROJECT/contracts/$CONTRACT/target/ink
Workspace: $PROJECT/target/ink/$CONTRACT

Currently devphase only recognize the first case. We should support the workspace as well.

Now I'm using a soft symlink to point target/ink to the space output dir. I suggest to detect if the cargo.toml file has the workspace enabled in the project root.

On the other hand it is also possible to specify different target directory.
For now I will detect output directory and copy artifacts to separate directory (which may be also useful).

I confirm it works now


Remove generated files from git (vendor/assets)

@viddo (as you've worked on grunt stuff) can you please review, or point someone?
I don't know if those files should be there as kind of a "build cache" for some reason. Otherwise I'd remove them for the same reasons as in https://github.com/CartoDB/cartodb.js/pull/330

I would take care with this, not sure we can remove those files


ReplicaSet, and Files issue

Hello,
First of all I really appreciate the effort you have spent working on this elegant ORM solution for MongoDB. also still wondering the intuition you reflect on the concepts you use.
It will be a pleasure of you could complete your library to support ReplicaSet because it is not working, I verified your source code so I find it is commented and not implemented nor tested yet.
also if you could help us dealing with persisting files easily that will really boost popularity of your library further.

Best Regards;

Hi, I came across and found your issue here. I just started to work with this library yesterday so correct me if I am wrong.
Based on the PHP driver document (http://php.net/manual/en/mongo.connecting.rs.php). The replicaSet option is passed as option when establishing the MongoClient connection.
// Sample code from php.net
$m = new MongoClient("mongodb://rs1.example.com:27017", array("replicaSet" => "myReplSetName"));
// Sample code from php.net END

Which is already done in this library Jenssegers\Mongodb\Connection@createConnection:133
I tried to dump the options and the replicaSet option is correctly set.
Here is my database configuration:
'mongodb' => array(
    'driver'   => 'mongodb',
    'host'     => array('localhost'),
    'username' => 'username',
    'password' => 'password',
    'database' => 'mongo-database',
    'options'  => array(
        'replicaSet' => 'replset-name',
        'readPreference' => MongoClient::RP_SECONDARY_PREFERRED
    )
),


Feature/105 106 encoding exceptions

Added basic type-checking and improved reported errors when encoding. Most errors raise TypeError or ValueError where appropriate.

Codecov Report

Merging #118 (a3a2261) into development (36fbabd) will decrease coverage by 0.23%.
The diff coverage is 82.97%.

@@               Coverage Diff               @@
##           development     #118      +/-   ##
===============================================
- Coverage        79.75%   79.51%   -0.24%
===============================================
  Files                7        7
  Lines             1373     1396      +23
===============================================
+ Hits              1095     1110      +15
- Misses             278      286       +8

Impacted Files
Coverage Δ

ebmlite/encoding.py
90.00% <82.97%> (-4.88%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Macos m1 chip build issue

Hi. Thanks for sharing your great project.
While testing your code, I found that I can debug it on macos with m1 chip but have issues with build.
Command:
flutter build macos -v
Here is an excerpt from the error log
[  +14 ms] ProcessInfoPlistFile /Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/build/macos/Build/Products/Release/Pods_Runner.framework/Versions/A/Resources/Info.plist
/Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/macos/Pods/Target\ Support\ Files/Pods-Runner/Pods-Runner-Info.plist (in target 'Pods-Runner' from project 'Pods')
[        ]     cd /Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/macos/Pods
[        ]     builtin-infoPlistUtility /Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/macos/Pods/Target\ Support\ Files/Pods-Runner/Pods-Runner-Info.plist -producttype
com.apple.product-type.framework -expandbuildsettings -platform macosx -o
/Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/build/macos/Build/Products/Release/Pods_Runner.framework/Versions/A/Resources/Info.plist
[        ] note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner'
from project 'Runner')
[   +1 ms] warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the
script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
[        ] ** BUILD FAILED **
[        ] The following build commands failed:
[        ]      RuleScriptExecution
/Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/build/macos/Build/Intermediates.noindex/rs_whisper_gpt.build/Release/rs_whisper_gpt-cdylib.build/Objects/x86_64-rs_whisper_gpt.dyli
b
/Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/build/macos/Build/Intermediates.noindex/rs_whisper_gpt.build/Release/rs_whisper_gpt-cdylib.build/DerivedSources/x86_64-rs_whisper_g
pt.dylib.d /Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/rs_whisper_gpt/Cargo.toml normal x86_64 (in target 'rs_whisper_gpt-cdylib' from project 'rs_whisper_gpt')
[        ]      RuleScriptExecution
/Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/build/macos/Build/Intermediates.noindex/rs_whisper_gpt.build/Release/rs_whisper_gpt-cdylib.build/Objects/aarch64-rs_whisper_gpt.dyl
ib
/Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/build/macos/Build/Intermediates.noindex/rs_whisper_gpt.build/Release/rs_whisper_gpt-cdylib.build/DerivedSources/aarch64-rs_whisper_
gpt.dylib.d /Users/yunjeongsu/Documents/sampleProject/flutter_whisper.cpp/rs_whisper_gpt/Cargo.toml normal arm64 (in target 'rs_whisper_gpt-cdylib' from project 'rs_whisper_gpt')
[        ] (2 failures)
[  +10 ms] Building macOS application... (completed in 2,357ms)
[        ] "flutter macos" took 3,643ms.
[   +2 ms] Build process failed
[        ]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      buildMacOS (package:flutter_tools/src/macos/build_macos.dart:141:5)
           <asynchronous suspension>
           #2      BuildMacosCommand.runCommand (package:flutter_tools/src/commands/build_macos.dart:62:5)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1323:27)
           <asynchronous suspension>
           #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #6      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:348:9)
           <asynchronous suspension>
           #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #8      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:294:5)
           <asynchronous suspension>
           #9      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:113:9)
           <asynchronous suspension>
           #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #11     main (package:flutter_tools/executable.dart:90:3)
           <asynchronous suspension>

[  +73 ms] ensureAnalyticsSent: 71ms
[        ] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

If you know of a workaround, could you please share it? 🥺😭

Thanks for the feedback - glad you are finding it useful! 🙇♂
I had a quick check and realised I never ran it in release mode, so works fine for me in debug but throws the same error you have when in release. When I get some time I'll try to take a deeper dive into this to figure out what i've missed.

Thank you for your reply. I'm still trying to troubleshoot the issue, but it's not working, so I'll keep checking. 🚀


std::vectorsoci::row::resize()  The specified type does not meet the requirements of Cpp17MoveInsertable

      using namespace soci;
      constexpr int BATCH_SIZE = 30;
      std::vector<row> rows(BATCH_SIZE);
      statement st = (sql.prepare << "select * from table", into(rows));
      st.execute();
      while (st.fetch()) {
         std::vector<int>::iterator pos;
         for (pos = valsOut.begin(); pos != valsOut.end(); ++pos) {
            cout << *pos << '\n';
         }
         rows.resize(BATCH_SIZE); //ERROR
      }

In template: static_assert failed due to requirement '__is_cpp17_move_insertable<std::allocator<soci::row>, false>::value' "The specified type does not meet the requirements of Cpp17MoveInsertable"

This is clearly related to your Peer class which must not be default constructible or something like this. When reporting a bug, please provide a simple self-contained example reproducing the problem, not just some snippet of code.

Could you reread the error message once more?
In template: static_assert failed due to requirement '__is_cpp17_move_insertable<std::allocator<soci::row>, false>::value' "The specified type does not meet the requirements of Cpp17MoveInsertable"
It tells nothing related to my code. The problem is with soci::row!

And as you could also see my class Peer existed only in a function parameters, (now removed) and does not participate.

Sorry, I didn't notice/realize you used vector of rows. We need to make row movable to fix this.

Yes. Thanks a lot for understanding and attention.

Sorry, I didn't notice/realize you used vector of rows. We need to make row movable to fix this.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/SOCI/soci/issues/900#issuecomment-887597886 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ALJH3F3SLLZV4663ETRH4ODTZ3EKTANCNFSM5A63UCQA .


Fails to build under newest derive

[50 of 62] Compiling Data.Comp.Derive ( src/Data/Comp/Derive.hs, dist/build/Data/Comp/Derive.o )
src/Data/Comp/Derive.hs:73:24: Not in scope: ‘A.makeFunctor’

This wouldn't be such a large problem, except that I failed to install an old derive, because it requires an old mtl

Which version of GHC are you using?

Oh, makeFunctor has disappeared - it's no longer supported in the latest Derive. Just using deriving Functor from GHC.

Oh, whoops, I opened this issue on the wrong project. :blush:


Code release timeline?

Is there an estimate for when the code will be released?

Thanks for your interest in our work! We will release the inference code and pre-trained weights for the standard models in the paper this week.  We then will update the timeline for releasing more models,  and customize training code on unlabeled images from any domain, etc.