Add Destination field to NFTokenCreateOffer if exists

High Level Overview of Change

Context of Change
Its useful to show the Destination on sell offer if it is in raw data

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[x] Tests (You added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation Updates
[ ] Release

TypeScript/Hooks Update

[ ] Updated files to React Hooks
[ ] Updated files to TypeScript

Before / After
Before

After

Test Plan

What about buy offer?

What about buy offer?

This should work on both but worth looking into.

What about buy offer?

Just curious how does it apply to buy offer? I thought it only makes sense for a sell offer where the seller only wants a specific account to buy the nft only

That was previously true, but a robust use of brokered mode requires use of
destination on both buy and sell offers where the destination in both cases
is the broker. Otherwise the seller can select whichever buy offer they
want and stiff the broker out of any fees.
On Fri, Nov 4, 2022 at 11:09 Shawn @.***> wrote:

What about buy offer?
Just curious how does it apply to buy offer? I thought it only makes sense
for a sell offer where the seller only wants a specific account to buy the
nft only
—
Reply to this email directly, view it on GitHub
https://github.com/ripple/explorer/pull/447#issuecomment-1303817005, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXUFDO7RNPTI5KQ7GFDQILWGUYLDANCNFSM6AAAAAARWHA6RI
.
You are receiving this because your review was requested.Message ID:
@.***>


[bug] webview not found: invalid label or it was closed

Describe the bug
in dev mod, after page reload, getAll in main window can't find the children windows created before
Reproduction

create child window
ctrl+r refresh main window
getAll in main window again
int step 3, getAll will not return child window

Expected behavior
No response
Platform and versions
win 11

Stack trace
No response
Additional context
No response

duplicate of #5380


Cleaned up code.

@madskristensen; While creating the update to VSIX Cookbook, I found that, I needed to clean up some code that I had submitted.
Removed some commented out xaml, and updated the markdown to reflect the code language (csharp , xml, or json) so that it displays properly in markdown.

Thank you!!


Wanna get in touch?

Hi! Jonathan from over at https://github.com/sixtyfive/pg_sequencer here! Wondering if you're still actively working on / using this and would be interested in either taking over maintainership of the Gem (as in, on rubygems.org) - or something else, if you have a different idea. I've been in touch with Tony Collen and will send him the link to this Issue in a second, as well...

👋🏻
I'm no longer active in the Ruby OSS community, but I endorse the idea of some sort of collaboration - it look like there is great work in both repos, and it would be cool to see it all combined.
I am still the owner of the pg_sequencer rubygem, and @sixtyfive expressed interest in getting access to it.
Mainly, I'd be willing to make you both co-maintainers of the rubygem if the interest is there - it would be great to see pg_sequencer revived!


benefit/react

This separates Box, ConfigProvider, ConfigConsumer, & jsx into benefit/react, so that all non-React exports are just in benefit.
There's a test failing currently (yarn test) that is confirming the exports for benefit and benefit/react.
It fails, because require('benefit/react') has no way of looking for ./dist/react.js.
This is what caused me to move jest-preset (for require('node-recorder/jest-preset.js')) to the root:

https://github.com/ericclemmons/node-recorder/blob/master/jest-preset.js

I tried https://github.com/zkochan/package-preview, but it didn't help with this.

What I'd like to do is attempt np --content=dist, but that will require testing a published version.

Thanks for this 🙏 @ericclemmons !
I'll pull this down soon and take a look.

Thanks for bringing this example to life @ericclemmons ! Everything here should be solved for as of https://github.com/cdonohue/benefit/releases/tag/v0.2.10

But now I don't have any commits :(
On Tue, May 7, 2019, 6:20 AM Chad Donohue<EMAIL_ADDRESS>wrote:

Closed #5 https://github.com/cdonohue/benefit/pull/5.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cdonohue/benefit/pull/5#event-2324174868, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAADWTT4V4XI7ISSQ2VEMRTPUF63HANCNFSM4HK5BUFQ
.


Can we cache some pre-known prompt word sets K and V for use in the Context phase?

In my application scenario, I hope to know whether the product is related to our search terms; the collection of products is known in advance. How can it be optimized? My idea is to cache the K and V related to the title of the product first, and then concatenate them with the search terms in the Context phase and use them directly. Based on TensorRT-llm, can this goal be achieved?

I very much hope that tensor-llm can open source the implementation of batch manager, because there are many functional implementation details for reference.

@yifeihappy we have an experimental feature to reuse KV cache blocks across requests. You can enable it with https://github.com/NVIDIA/TensorRT-LLM/blob/main/cpp/include/tensorrt_llm/batch_manager/kvCacheConfig.h#L40
With this feature, if the first N tokens of two requests are the same, the KV cache values for those tokens will get computed only once and automatically reused.
There are some limitations like the reuse happens at the KV cache block granularity, and so you need sufficient shared tokens to fill at least one KV cache block to get this optimization. Today that value is 128 tokens.
We are in the process of making this more general (feature on by default and <128 tokens per KV cache block) soon.

@yifeihappy we have an experimental feature to reuse KV cache blocks across requests. You can enable it with https://github.com/NVIDIA/TensorRT-LLM/blob/main/cpp/include/tensorrt_llm/batch_manager/kvCacheConfig.h#L40 With this feature, if the first N tokens of two requests are the same, the KV cache values for those tokens will get computed only once and automatically reused. There are some limitations like the reuse happens at the KV cache block granularity, and so you need sufficient shared tokens to fill at least one KV cache block to get this optimization. Today that value is 128 tokens. We are in the process of making this more general (feature on by default and <128 tokens per KV cache block) soon.

"enableBlockReuse" seems to be used in GptManager. Because this part of the code is closed source and I can't see the usage details inside, I have a few questions about enableBlockReuse:

Do two requests that can share the first N tokens need to be in the same batch?
Is it possible to pre-calculate the K and V of some popular prompts and cache them when the service starts?
Because the video memory size is limited, is there a cache management strategy, such as LRU, to update and eliminate the K and V of pre-calculated prompts?

No. They can arrive at different points of time.
You can do this by sending requests with popular system prompts in a warmup phase for the server. LRU eviction policy will naturally make the system prompt persist in GPU memory for longer as long as requests are using it. If system prompt stops being used, it will eventually be evicted.
Yes, we use an LRU strategy. We slightly modify this to preferentially free the leaf tokens (i.e. last tokens) of different requests that all have the same idle time first. You can think of it as a "breadth-first" LRU

hi do u still have further issue or question now? If not, we'll close it soon.


'angular' is not in the npm registry

while installing through npm install
I got below error

npm http 404 https://registry.npmjs.org/angular/router-deprecated/2.0.0-rc.0
npm ERR! 404 'angular' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it

Please look into it. I'm stuck for getting started.

We just released rc0 so we still need to do some adjustements. Give me a couple of hours until I figure things out.

I got no error for that. Weird.

I have the same issue. Try with an import from 'angular2/core', this will fail.
It was due to npm version issue.


Non-Cors Custom server?

Im trying to connect to a s3 nodechef object server that does not support cors configurations, and does not use regions, just bucket + endpoint + filename and im receiving No 'Access-Control-Allow-Origin' header error. Is there anyway to disable cors requirements of slingshot to get past this?

+1 @consciousweb. Did you ever figure this out?

Nope, this package has been abandoned for 5 years now so with no response I decided it was not worth my time and found other packages to accomplish what i needed

What are the other packages you've found that maintained?
Our production app still uses this package and it works. And we use browser-policy.

@consciousweb +1 what are the other packages that worked for you?

fs, aws-sdk/clients/s3, meteor/ostrio:files
http upload -> temp mongo storage -> s3 upload


Add repository & token field to registration

@MarkNSweep commented on Mon Oct 03 2016
Allow users to add the public source repository for their room.

token field has been in for awhile.


Check that there are no memory overflow attack vectors

I seem to recall that the memory available to the MIPS version of Cannon is limited (2GB? 4GB?). We should check this, and make sure it's not possible to craft a set of blocks such that processing them would cause the memory limit to be exceeded.
We should also make sure memory is never written to the various "magic" memory location (input hash, output hash, preimage oracle input and output).

Important to keep in mind: we explicitly disable garbage collection (because it requires threading), so we need to be mindful of memory consumption. Every heap allocation is forever!
If we're able to stack allocate the per-epoch inputs (transactions and receipts), that would help a lot I think.

The system state is now fully separated from regular program memory address space. And the pre-image oracle is now backed by read/write syscalls. So registers and state etc. are safe from accidental overwrites. There still exists a memory risk where we run out of available address-space, due to the lack of GC. Will update issue title and description to reflect this.


Add String garbage collector

Currently, big strings are stored in a special key-value group to avoid overloading the indexes. However, strings are not removed even if all triples using them are removed. We should remove strings that are not used anymore.

It is now implemented in the v0.3 branch.


quicksort example stack overflows on large input

I was hoping I could be super lazy and copy paste the parallel quicksort, but alas, it seems that for very large inputs this can stack overflow, as it recurses.
On that note are there any plans on introducing an efficient parallel sort into the lib or is that outside the scope of rayon ? (I frequently want this, but I don't have the time to mess around with it and was hoping there was a solution already)

Hey, just wanna say that I would be interested in implementing a fast parallel sort. :)
Since I've recently implemented slice::sort and slice::sort_unstable, perhaps that would be a good follow-up problem to solve?
By the way, C++ has got a bunch of parallel algorithms (click on [Expand]) - are there any important functions besides sorting that Rayon is missing? Can we make a list of them?

In the best case it should only have O(log n) recursion depth, but on an already-sorted array I think it will have linear depth, since the current pivot index is just the last element.  See wikipedia on choice of pivot -- so we could do better there.
I've thought about adding sorting methods to ParallelSliceMut.  I think unstable sort wouldn't be too bad, as you can just partition in-place to split jobs and then choose any sequential algorithm you like.  I'm not sure of a good way to do stable partitioning though.  If you want to tackle this @stjepang, feel free!
The C++ comparison would be an interesting task... maybe we should start a wiki page for that like we did for basic Iterator parity.

Ugh I will be so happy if this exports a nice sorting algo I can just use without any effort. Will <3 you all forever
For reference I was getting stack overflows sorting with example parallel quicksort on 150million element nonsorted vector totallling about 50GB. Profiling shows it takes about 7% of process time so hoping parallel version could trim that down significantly

All right, I've just created this work-in-progress project: https://github.com/stjepang/par-sort
As soon as it gets finished and demonstrates satisfying benchmark numbers I'll submit a PR moving it into Rayon.
It includes two algorithms:

Quicksort (unstable sort): functions  sort_unstable{,_by,_by_key}. Recursive steps are performed in parallel, but partitioning is still sequential.
Mergesort (stable sort): functions sort{,_by,_by_key}. It's still totally sequential so don't bother with it. :)

@m4b Unstable sorting should already be pretty performant. If you want, you can give it a shot and let me know how it works out. :)
On my dual-core machine (2 physical, 4 logical cores) the simple example (sorting 100 million u64s) takes:

8.6 sec using v.sort()
4.8 sec using v.sort_unstable()
2.8 sec using v.par_sort_unstable()

@cuviper I have a question regarding the API we'd like to expose in Rayon. In order to parallelize partitioning in quicksort, we must share the pivot among multiple threads. This requires a new type bound T: Sync. Is this additional type bound too restrictive - what do you think?
With the help of specialization we could use parallel partitioning when T: Sync and sequential partitioning otherwise. But specialization is available on nightly Rust only.
The current API I've sketched out can be found here.

In order to parallelize partitioning in quicksort, we must share the pivot among multiple threads. This requires a new type bound T: Sync. Is this additional type bound too restrictive - what do you think?

It would be nicer not to require that, but maybe you can convince me with some performance numbers.  You're already doing pretty good for dual-core results, as hyperthreading often seems not to add much in Rayon benchmarks.
I wasn't even aware that parallel partitioning is possible -- can you sketch out how that would work?
A minor note on implementation - I do expect this to go directly on ParallelSliceMut when you merge into rayon, unless you have some reason why it should be a new trait.  The style there is to use as_parallel_slice_mut() so methods can be directly implemented by default, instead of in a separate impl block.
I also kind of expected these to just use the standard library's sort() once you get down to sequential work -- at least in the stable case for now, and eventually for sort_unstable() too when we bump our rust requirement.  Any reason you're not doing that?
(I only briefly skimmed the implementation, so sorry if I missed that explanation already.)

It would be nicer not to require that, but maybe you can convince me with some performance numbers.

I don't have conclusive numbers yet, but my guess (based on some tweaking and benchmarking) is that parallel partitioning would improve the running time by 10-15%.
Can we add nightly feature to Rayon? Crossbeam has it defined here and uses unstable language features when it's enabled. I like that. :)

I wasn't even aware that parallel partitioning is possible -- can you sketch out how that would work?

An explanation can be found here.
The short story is: Suppose you have chosen a pivot and have N threads. Split the array into blocks of equal size. Now each thread performs the following algorithm:
First it atomically takes one block from the left end and one block from the right end. Then it partitions the elements within these blocks until one of those is filled up. If the left block gets filled first, it atomically takes another block from the left end, and viceversa if the right block gets filled first. Then it continues partitioning and repeats this procedure until no more blocks are left.
At the end at most N blocks will be unfinished (because we have N threads). Now you just have to partition the elements among these remaining blocks - this part can be done sequentially or in parallel (but it may not be worth the implementation effort).

I do expect this to go directly on ParallelSliceMut when you merge into rayon, unless you have some reason why it should be a new trait.

You're right , there is no reason for a new trait - it'll go into ParallelSliceMut.

I also kind of expected these to just use the standard library's sort() once you get down to sequential work -- at least in the stable case for now, and eventually for sort_unstable() too when we bump our rust requirement. Any reason you're not doing that?

Regarding stable sort, soon I'm going to push major changes to the way the work is initially split among threads. This will improve performance on random slices as well as on slices containing long ascending/descending runs.
Regarding unstable sort, it's best to parallelize recursive quicksort calls and that means changing the implementation of quicksort. A few other tweaks are necessary like limiting slice length for partial insertion sort etc.
Unfortunately, we have to change the guts of these algorithms in order to get all the performance we can. Drawing a line between slice division and sequential work in the form of v.sort() or v.sort_unstable() would incur significant performance penalties.
Anyways, finishing the implementation and thoroughly testing it will take at least several weeks.
Btw, some good news: with the new changes par_sort is faster than __gnu_parallel::sort and tbb::parallel_sort in C++, at least with random arrays of integers and on my dual-core machine.

parallel partitioning would improve the running time by 10-15%.

Hmm, definitely beneficial -- thanks for the reference and TL;DR summary. :)  IMO it's better saved for specialization though.  By keeping the interface more general and only requiring T: Send up front, we can still support parallel sorting on stuff like Cell contents that can't be Sync.
Anyway, note that it's only the initial partition that's fully sequential.  Further partitioning the subslices will start working in parallel to each other.
I remain skeptical about the need to avoid slice::sort(), but I'll wait and see when you're finished.

Tried out the git par_sort repo. Unstable reduces a 22second sort to about a second for my usecase :heart_eyes:

@m4b Wow, that's a huge speedup! :)
May I just ask how many cores does your machine have?
Also, what was the original sort that took 22 seconds - is it the standard slice::sort or the quicksort from Rayon's examples?

Apologies, it was actually approximately 200seconds to 5-6 seconds ! That number seemed ludicrous but I just double checked :) really incredible work @stjepang!
P.S. I'm not validating the results, so I assume it's actually sorting 😅 Also unstable is ok for my usecase because there aren't duplicate entries

30-40x faster -- gee, is that all? 😜


Token constructor method should not throw if token has expired

So I'm struggling a bit with the general workflow.
I'm trying to recreate the AccessToken from my PHP Session, but when the token is expired, the constructor throws a JWT\ExpiredException
which means I don't have access to the the hasExpired() method, and therefore also not to the refresh token.
I can get it from the raw data, but if the implementation of the structure changes my code will break.
IMHO the constructor should not throw when the token is expired.

I agree that this is definitely incorrect behavior and quite unfortunate. This change would require quite a complex change in the token validation scenario when you receive the token as a result of authorization flow. I will try to look into the ways to improve this.


Search doesn't display results

I just changed the design and reverted back to default bootstrap. I haven't changed anything else other than the views. It looks like everything is working, from comments, blog posts, approving comments... except the search.
 If I search for jdfghgh I get the same thing.

"Post 1" is not in content. Did you try some word like "tempus" ?

Oooohhh, it indexes the content only.
Yes, it's working now. How do I add the title to be also searchable?

The query is in BlogRepository :
/**
 * Get search collection.
 *
 * @param  int  $n
 * @param  string  $search
 * @return Illuminate\Support\Collection
 */
public function search($n, $search)
{
	$query = $this->queryActiveWithUserOrderByDate();

	return $query->where(function($q) use ($search) {
		$q->where('summary', 'like', "%$search%")
			->orWhere('content', 'like', "%$search%");
	})->paginate($n);
}

You can add title there.


if local hostname not in /etc/hosts, daemon doesn't start

repro
change your hostname
sudo hostnamectl set-hostname mynewhostname
start daemon
just stalls.
fix/hack:
add host name to /etc/hosts

@jkrauska did we figure this out the other day?

We hit this on macOS on @wu-s-john's and @bkase's machine. Resolving gethostname sometimes fails.

We keep hitting this. not sure any testnet participants have reported it though.

Closing this issue as it is stale for a long time.


Epic 1969 - Full text search

[ ] Configure full text search filter for html content (was #1650)
The fts search returns many false positives as it matches the html tags of rich text fields. Enable filters for such content
https://docs.microsoft.com/en-us/sql/relational-databases/search/configure-and-manage-filters-for-search?view=sql-server-2017

[ ] Review behavior of search text indexing and ordering (was #1497)

H - high weight
L - low weight
Search/indexing behavior by type:
exact

match only if there is an exact match. Could be fts but it doesn't have to be
not sure how to deal with exact matched for terms containing a space, possibly to require quoted search expression...

startWith

match also partial cases, i.e. if first 4 characters or more are an exact match. Could be fts but it doesn't have to be

fts name

full text search
full word matches (no partial matches by default)
accent and capitalization insensitive
fuzzy search for misspelling and/or phonetic similarity (but possibly with a lower rank if fuzzy match)
insensitive to - and to ' - van-iordanov, van'iordanov,  vaniordanov or van iordanov should all be able to match van-iordanov, van'iordanov,  vaniordanov or van iordanov.
nice to have:

multiple language support for english and arabic
partial match support with wildcard */? syntax

fts text

full text search
full word matches (no partial matches by default)
stemming
accent and capitalization insensitive
fuzzy search for misspelling (but possibly with a lower rank if fuzzy match)
nice to have:

multiple language support for english and arabic
partial match support with wildcard */? syntax

ranking:

results matching a high ranking field are on top.
results matching a high ranking field with a fuzzy match are lower.
results matching a low ranking field are last

Search expressions with more than one term:

searches for several words act as and
ranking is the product of the rankings of all terms (highest if all terms rank high)
nice to have:

searches for n words feature results that match all n words but also feature results that match a subset of (n-1) words at a lower rank
some kind of optional syntax such as google's to support OR as well as excluding a term

Report
- UUID H startWith
- summary H fts text
- nextSteps H fts text
- keyOutcomes H fts text
- reportText L fts text
- notes L fts text
- ~attendees names L fts name~ (use the advanced search filter for that)
- ~task L fts text~ (use the advanced search filter for that)
Person
- UUID H startWith
- name H fts name
- position name H fts text
- position post number H exact
- position's organization identificationCode H exact
- position's organization short name H exact
- domainUsername H exact
- email H exact
- phone H exact
- biography L fts text
- notes * L fts text
Position
- UUID H startWith
- name H fts text
- post number H exact
- person's name H fts name
- ~names of previous people in that positions L fts name~ (is this really needed?)
- position's organization identificationCode H exact
- position's organization short name H exact
- notes L fts text
Task
- UUID H startWith
- short name H exact
- long name H fts text
- notes L fts text
Location
- UUID H startWith
- name H fts name
- notes L fts text
Tag
- UUID H startWith
- name H fts text
- description L fts text
- ~notes L fts text~ (tags don't have notes)
Organizations
- UUID H startWith
- identificationCode H exact
- short name H exact
- long name H fts text
- notes L fts text
Authorization Groups
- UUID H startWith
- name H fts text
- description L fts text
- notes L fts text

[ ] When searching by principal position code, entering the UIC, should only return principal positions with that UIC.
Entering a hyphen and then a paragraph number should only return principal positions with the UIC and paragraph number.

[ ] Advanced search does not find principal's first name  (was #1053 )
A user couldn't find a principal's record searching by first name. I was able to replicate the bug.
Test 1
I used Advanced search (with the "People" parameter) and entered the last name. The search results returned the principal's record.
Test 2
I used Advanced search (with the "People" parameter) and entered the first name. The search results did not return the principal's record. In fact, none of the 24 returned results contain the principal's name. There are 74 principal records which have the first name as part of a principal's name. The first name can also be used as a last name.
Test 3
I used the first name in a general search without any parameters and the same 24 principal records were returned at Test 2 (along with 3,929 engagement reports).
Test 4
I used Advanced search (with the "People" parameter and a "Role" = principal) and entered the first name. The search results did not return the principal's record. In fact, none of the 24 returned results contain the principal's name. The same search results as Test 2.
I have sent the principal's full name to @VassilIordanov on the high side.

[ ]  Make autosuggest for position be also searchable by the currently (or last) occupying person's name (was #544)

Can you give some real-world examples of expectations (like https://github.com/NCI-Agency/anet/issues/1053 ) that would make at least for some reasonable test material?
So examples of what should and shouldn't match, to be able to test whether the current set-up is OK (which has a trigram index for UUID prefix matches and a full-text index for the given relevant columns/aggregations for each object; see below for details on the current implementation).
Also possibly some scenarios that people currently use to work around issues of not being able to find stuff.
UUID matching: what should happen in a case such as the following: search for the text "cafe babe" abba -deaf OR added face -"dead beef"?
Currently, the the PostgreSQL PoC would add a clause uuid ILIKE '"cafe babe" abba -deaf OR added face -"dead beef"%' but that is probably not the most useful thing to do.
The current implementation on MS SQL has an e2e test searching locations for general hospita and expects it to match General Hospital (not true for the PostgreSQL PoC).
The server-side (Java) tests also have some expectations, e.g. that searching organizations for EF 1 will also match EF 1.1 (not true for the PostgreSQL PoC).
Should these still match or not?
This issue specifies that people search should also search through positions, and positions search should also search through people. Currently, there are search query properties like PersonSearchQuery::matchPositionName and PositionSearchQuery::matchPersonName that are not user-selectable (they are set for the advanced select, and not set for the general search). The PostgreSQL PoC no longer use these props (basically it is always done), so should we drop these props?
Current implementation in the PostgreSQL PoC:
Notes
• generated column full_text: text 'B'
Authorization Groups
• generated column full_text: name 'A', description 'B'
• prefix match: uuid
• full-text match: MV on full_text, aggregated notes.full_text
Locations
• generated column full_text: name 'A'
• prefix match: uuid
• full-text match: MV on full_text, aggregated notes.full_text
Organizations
• generated column full_text: identificationCode 'A', shortName 'A', longName 'B'
• prefix match: uuid
• full-text match: MV on full_text, aggregated notes.full_text
People
• generated column full_text: name 'A', domainUsername 'A', emailAddress 'A', phoneNumber 'A', biography 'B'
• prefix match: uuid
• full-text match: MV on full_text, aggregated current positions.full_text, aggregated current position's organizations.full_text, aggregated notes.full_text
Positions
• generated column full_text: code 'A', name 'A'
• prefix match: uuid
• full-text match: MV on full_text, aggregated current people.full_text, aggregated organizations.full_text, aggregated notes.full_text
Reports
• generated column full_text: intent 'A', keyOutcomes 'A', nextSteps 'A', text 'B'
• prefix match: uuid
• full-text match: MV on full_text, aggregated notes.full_text
Tags
• generated column full_text: name 'A', description 'B'
• prefix match: uuid
• full-text match: MV on full_text
Tasks
• generated column full_text: shortName 'A', longName 'B'
• prefix match: uuid
• full-text match: MV on full_text, aggregated notes.full_text
Delay between materialized view refreshes in the PostgreSQL PoC is now 60s.
Should we use more weight classes besides 'A' and 'B'?

In order of importance:
essential

if a person "Smith, John" exists and I search for "John" or "Smith" or "John Smith" or "Smith John" I would expect a match
if I have a person "John Smith" I expect that person to be a match for starting substrings "Joh" or "Sm", so I also expect general hospita or hospita to be a match for general hospital (
given uuid 60f9be6f-59b8-44e0-927e-1bb56dbf3f42 the search should return when searched for exact value
given uuid 60f9be6f-59b8-44e0-927e-1bb56dbf3f42 any substring should be a match for the autosuggest such as 60f9be6f or bb56dbf3f4

would be great to have but can live without it until we decide what to do

if I have a person "John Smith" I expect that person to be a match for starting substrings "Joh" or "Sm", so I also expect general hospita or hospita to be a match for general hospital
if I have a person "John Smith" I expect that person to be a match for similar strings such as "Jon"

nice to have

Usage of ", -, OR etc is not a requirement. It won't hurt to have it, especially wildcards, but not required

There seems to be duplication in:

essential

if I have a person "John Smith" I expect that person to be a match for starting substrings "Joh" or "Sm", so I also expect general hospita or hospita to be a match for general hospital (

and:

would be great to have but can live without it until we decide what to do

if I have a person "John Smith" I expect that person to be a match for starting substrings "Joh" or "Sm", so I also expect general hospita or hospita to be a match for general hospital

Please describe which fields per object type you wish to include in substring matches (prefix, infix, suffix).
Please describe how you want to deal with searches like Joh Smi hospital where part of the search text matches some field of an object and another part of the search text matches some other fields of that object.


Some StreamFields are broken with js initializer errors, but not because of using FieldPanel.

Issue Summary
When the Settings form on my site is set up to use a StreamField, they appear fine when first rendered, but clicking any of the Block buttons in their UI causes a javascript error. This is the exact same symptoms as #3444 and #1207, but we are using StreamFieldPanel, so the cause is not due to using FieldPanel. This did not happen when I first developed the feature that uses this streamfield.
Here's the full error:
Uncaught TypeError: Cannot read property 'initializer' of undefined
    at Object.onInitializeMember (stream.js:87)
    at postInsertMember (sequence.js:102)
    at Object.self.insertMemberAtStart (sequence.js:203)
    at Object.onChooseBlock (stream.js:140)
    at HTMLButtonElement.<anonymous> (stream.js:60)
    at HTMLButtonElement.dispatch (jquery-3.2.1.min.js:3)
    at HTMLButtonElement.q.handle (jquery-3.2.1.min.js:3)

Steps to Reproduce
Here's the offending code:
@register_setting(order=1000)
class Settings(BaseSetting, ClusterableModel):
    # We define the Utility Menu as a StreamField because we can't define it like the old header menu, due to Wagtail's
    # lack of support for nested InlinePanels. A StreamField with a Block that contains a Listblock (for the child menu
    # items) is the best way this can be done.
    utility_menu = StreamField(
        [get_block_tuple(UtilityMenuItemBlock(required=False, label='Utility Menu Item'))],
        blank=True
    )

    ...

    ####### FORM CODE #######
    setup_panels = [
        ...
    ]
    analytics_panels = [
        ...
    ]
    theme_and_menu_panels = [
        StreamFieldPanel(
            'utility_menu',
            help_text='You can optionally add a Utiluty Menu to your site, which will appear above the Main Menu in '
                      'the header. The items in this menu can optionally have children.',
        ),
       ...
    ]
    social_media_panels = [
        ...
    ]

    edit_handler = TabbedInterface(
        [
            ObjectList(setup_panels, heading='Setup', classname='set-up'),
            ObjectList(theme_and_menu_panels, heading='Theme and Menus', classname='theme-and-menus'),
            ObjectList(analytics_panels, heading='Analytics', classname='analytics'),
            ObjectList(social_media_panels, heading='Social Media', classname='social-media'),
        ],
    )

    class Meta:
        verbose_name = 'Site Preferences'

When I attempt to add a UtilityMenuItemBlock to the utility_menu field of the Site Preferences form, it triggers that JS error and the entire UI for the streamfield vanishes permanently, until I reload the page. Except for the "+" button, which triggers the error again each time it gets pressed.
Did something subtle change in StreamField in the last few versions of Wagtail? Perhaps it now only works on Page forms? I ask because StreamFields that are defined on our Page models all work fine. It's JUST the one in our Settings model that's busted. Back when I developed the UtilityMenu feature a few months ago, this worked just fine, so I'm quite baffled.
Technical details

Python version: 3.6
Django version: 2.0.5
Wagtail version: 2.3
Browser version: Chrome 72

Hi @coredumperror - thanks for the report. I can confirm that this can be reproduced on a fresh project with a trivial StreamField in a settings object...
@register_setting
class SocialMediaSettings(BaseSetting):
    stuff = StreamField([
        ('text', blocks.CharBlock()),
    ])

Oops, looks like I made the same mistake as everyone else and forgot to use StreamFieldPanel :-) Adding this now works as expected:
@register_setting
class SocialMediaSettings(BaseSetting):
    stuff = StreamField([
        ('text', blocks.CharBlock()),
    ])

    panels = [
        StreamFieldPanel('stuff'),
    ]

Unfortunately that does mean there's not enough info here to reproduce the issue independently - if you're able to reproduce this on a fresh Wagtail instance, please provide further details and we'll be happy to reopen and investigate further.


Scrolling of long lists seem to be affected by swipe-in menu

Scrolling seems to be stuttering a bit...

Done


⚠ Samsung has degraded performance

In 12a7c8a, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3170 ms

Resolved: Samsung performance has improved in 4c19072.


Picker not working when referenced

Hello! first of all I love this plugin great work.
I'm having an issue when I reference my file. The buttons that select all controls or multiple at once stop working and give me an error saying "Some nodes exist more than once:"
Is there a way around this besides deleting the buttons that select multiple controls?
They all work as they should in the rig file it's just when I reference.

Uy

Hi, sorry for the delay :)
This means that multiple nodes have the same name in your scene unfortunately. The picker does not support name clash :/


Invalid content /en/virtual-machines/kevm/getting-started/mallet-end-to-end/

Where does the issue occur?
Expected:

Actual:

Describe the issue
Getting started does not work

Correct python and node version

Docker installed and running
Contract compiled successfully

608060405234801561001057600080fd5b50610139806100206000396000f3fe60806040526004361061003b576000357c010000000000000000000000000000000000000000000000000000000090048063c605f76c14610040575b600080fd5b34801561004c57600080fd5b506100556100d0565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561009557808201518184015260208101905061007a565b50505050905090810190601f1680156100c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b60606040805190810160405280600d81526020017f48656c6c6f2c20576f726c64210000000000000000000000000000000000000081525090509056fea165627a7a72305820acfffe6f542426974ff20d01d059db6fbbb31ccc222a11835d16bc517b6b01570029

Test account with funds

Expected changes
Should return Hello World, but returns empty string
web3.toAscii(web3.eth.call({to: myContractAddress, data: '0xc605f76c'}))

same here

Same thing over here.

Hello @cleisthenes-alpha!
Thanks for taking your time on this.
I followed your advice. Updated the contract, compiled it again

Then deployed it again, and called it.

The same issue again

I'm noticing your call to set myContract is missing the "0x" prefix in this newest iteration. I don't know what the consequences of that are; can you double-check that?

tx: https://explorer-kevm.portal.dev.cardano.org/transaction/0xa8b9f74cab2557cd3e538d6d4d6c508f44da28c3bc3f63e6897b3d113f7df698
contract: https://explorer-kevm.portal.dev.cardano.org/account/0x1ADEC841580bCAbcD21307964462c9F05b75206a

I'm mostly out of ideas at this point, as I'm not perfectly replicating your setup (again, playing with Solidity proper in Remix). My last idea: the documentation on this page for mallet is almost beat-for-beat what is posted in the KEVM docs, but with the last call different:
sendTransaction({to: myContractAddress,gas:10000,arguments: []})
rather than
web3.toAscii(web3.eth.call({to: myContractAddress, data: '0xc605f76c'}))
This is the last idea I've got, so if that doesn't work, I'm sorry I can't be more helpful. Frustrating that something relatively simple in a starter tutorial like this isn't working for many.

Thanks a lot for your input cleisthenes-alpha. We still could not make it work.
Maybe the kevm can only interpret some very specific solidity binary.
I've also run out of ideas.
Hopefully someone can go through the starter tutorial and make it work, and fix it so everyone can start testing this.

Alright, I took some time to really dig into this. I've recreated the setup in the tutorial and have run into the exact same problem as you all. I have attempted the following:

Using 'public' instead of 'external' in the contract function
Using Solidity 0.8.0 in both the contract and in the compile step to match the video demonstration here
Attempting to provide a Function: 'helloWorld()' or func: 'helloWorld()' to sendTransaction, web3.eth.call, iele.callContract, AND iele.constantCall in every permutation I can think of, per Mallet documentation
Attempting to manually extract returnData from getRequest()

No progress whatsoever. I've also noticed about four separate sets of conflicting documentation for simple interaction with the KEVM/IELE devnet, all of which feels very roughshod in compilation.
Would love someone else to take a look at this, I've genuinely given it everything I can possibly think of

Here is the commit where the KEVM docs were updated. https://github.com/cardano-foundation/testnets-cardano-org/pull/379/commits/613988f2598789d0a588b7c8f77f44fe2b75a77a
git blame shows https://github.com/fsancheziohk
Maybe we can reach out to him?

The PR was merged by https://github.com/jonnysmillie
https://www.jonnysmillie.co.uk/
<EMAIL_ADDRESS>Maybe he has any context whatsoever?

@gmanroney @elviejo79 Do either of you guys know who is responsible for the kevm testnet? Any chance the community could get some assistance please?

Guys, i asked them to make a video demostrating this hello world example and he said there are problems with rpc calls at the moment. They are looking into it.
(I didnt really want a video about this hello world example but wanted it to be fixed)

Yes, it appears they're recognizing there's a problem and working to solve it. See this commit comment; they're going to remove the Hello World tutorial for now until it's fixed.
https://github.com/cardano-foundation/testnets-cardano-org/commit/ad762daafecf50ac9534c6fb2dee24f711cd46e9#diff-73fc8ad49869b0b7235fc30466f275d0b6428a4850a6ad6f1de348ea265eec6c

Hi guys, I was helping Facu troubleshoot this last night but I was able to run the "Hello world" without issues.
I used Chrome's web cache to pull up the old version of the website, these are my steps and environment.
Ubuntu 18
topo-test:~/src/mallet$ nvm --version
0.37.2
topo-test:~/src/mallet$ npm --version
6.9.0
topo-test:~/src/mallet$ node --version
v10.16.3
python -V
Python 2.7.18
Contract address:  0xc00db93ebf8d41b1b6245bc9163315d4703d251b
Account address: 0x08007446d66f54ed8e76cc6e9a9ce7168b4ce94e
I installed everything according to the steps here:
https://developers.cardano.org/en/virtual-machines/kevm/getting-started/mallet-end-to-end/
And then used these steps for the SC in "Create A HelloWorld Smart Contract".
https://webcache.googleusercontent.com/search?q=cache:YMGZ9pP2mIgJ:https://developers.cardano.org/en/virtual-machines/evm/getting-started/mallet-end-to-end/+&cd=18&hl=es-419&ct=clnk&gl=ar
myAccount = newAccount()
selectAccount(myAccount)
requestFunds()
getBalance()
fs = require("fs");
myContract = "0x" + fs.readFileSync('HelloWorld.bin', 'utf8');
tx = { gas: 470000, data: myContract}
deploymentHash = sendTransaction(tx)
getReceipt(deploymentHash)
myContractAddress = getReceipt(deploymentHash).contractAddress
web3.toAscii(web3.eth.call({to: myContractAddress, data: '0xc605f76c'}))

When querying Facu's contract however I also got ' ' as response. If he queries mine he also receives ' ';
Thank you all and have a good one!

@avilsmeier gave me a huge hand debugging it from his end.
I tried a different approach and called the RPC directly from Python
https://colab.research.google.com/drive/11fA1WE_GPlVh4_TlAON8Dj9qqjYEHju7#scrollTo=2FdfNYXQBOqt
And the result is working fine

One thing to mention, is that it only works on the EVM network, not the KEVM.

Where it says
./mallet kevm -d ./data

It should say
./mallet evm -d ./data

EVM works as expected

That's it! I'm moving to Algorand


Cannot inject grammar into already embedded languages

Originally opened this issue here, but did not get a response so opening in VSCode itself.
I'm writing a language grammar for Razor and throughout Razor there are several locations  where we call through to C#'s grammar to run their rules. However, after having attempted to write an injection grammar to handle cases when Razor weaves HTML into specific C# constructs aka:

It doesn't seem like injecting code into the source.cs grammar is sufficient. For my injection grammar I've written:
name: ASP.NET Razor C# Injection
scopeName: 'text.aspnetcorerazor.injection'
injectionSelector: 'L:source.cs'
patterns:
  - include: '#razor-template'

repository:
  razor-template:
    name: 'meta.structure.template.razor'
    begin: '(@)(?=\<)'
    beginCaptures:
      1: { patterns: [ include: 'text.aspnetcorerazor#transition' ] }
    patterns:
      - include: 'text.aspnetcorerazor#wellformed-html'
    end: '(?<=\>)'

Along side:

Which works fine in .cs files (haven't restricted where it can run yet):

However, when trying to make use of the injection in a Razor file in the embedded C#, it doesn't seem to apply:

Ping, any update here?


indeterministic behaviour building nodejs projects

Hello, we are experiencing flapping builds when using the setup-node action where occasionally builds fail with "unexpected token" errors. At first the Github Support advised to upgrade from v1 to v2. At first it appeared to have solved the problem, though now we see the same indeterministic behaviour again which is also not reproducible locally. I tried to use different NodeJS versions and enabled the workflow debug logging via the ACTIONS_STEP_DEBUG=true secret in our repository, but all with no avail. The Github Support suggested to reach out here and try to gather more information about how to debug this situation further. Example builds are shown below. You see that two builds execute npm run build of which one succeeds and one fails, even though both build the same project.

https://github.com/venturemark/webclient/pull/92/checks?check_run_id=1606578858
https://github.com/venturemark/webclient/pull/92/checks?check_run_id=1606578880

/cc @aminya @joshmgross

That is a problem with your build tools. Nodejs has set up the version you requested as expected:
https://github.com/venturemark/webclient/pull/92/checks?check_run_id=1606578880#step:3:19
https://github.com/venturemark/webclient/pull/92/checks?check_run_id=1606578858#step:3:19

Thank you for getting back to me. Do you have a suggestions on how to further debug this particular issue? I am not proficient in the Javascript ecosystem, which is why I am here asking stupid questions. 😬

👋  Hey @xh3b4sd,
Based on the error:
SyntaxError<EMAIL_ADDRESS>Unexpected token (17:11)

The error is coming from your @venturemark/numnum package (https://github.com/venturemark/numnum), so I'd recommend checking that or verifying that the minified package is correct.

👋  Hey @xh3b4sd,
Based on the error:
SyntaxError<EMAIL_ADDRESS>Unexpected token (17:11)

The error is coming from your @venturemark/numnum package (https://github.com/venturemark/numnum), so I'd recommend checking that or verifying that the minified package is correct.

I solved it myself though I cannot really explain why it was broken. What I did was I removed rollup in the build process of numnum and only used tsc instead to build it. This solved the problem. Though I also do not understand why this happened in the build container when running Github actions and why it was not reproducible for anyone on their local machine.

I solved it myself though I cannot really explain why it was broken. What I did was I removed rollup in the build process of numnum and only used tsc instead to build it. This solved the problem. Though I also do not understand why this happened in the build container when running Github actions and why it was not reproducible for anyone on their local machine.


Whois command

teaching assistant command to get a student's real name from the database

This looks like useful command to have. @oskargjolga Any reason it is still in draft mode?

I think my plan was to rewrite this to take a plain-text discord username as the argument instead of a mention. And be able to run the command in a direct message to the bot (avoid spam on the open channels).

Right, good point. Is this something you want to do now, or is there much to such a change? I didn't check, but it doesn't sound like it would be too difficult to change it to not use @mentions.


Loop customization [WIP]

What does this PR do?
WIP Holds initial commits for discussion.
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Hello @awaelchli! Thanks for opening this PR.

In the file pytorch_lightning/loops/epoch/training_epoch_loop.py:

Line 83:37: E261 at least two spaces before inline comment
Line 83:37: E262 inline comment should start with '# '
Line 84:33: E261 at least two spaces before inline comment
Line 84:34: E262 inline comment should start with '# '

Do see the Hitchhiker's guide to code style

@tchaton @carmocca updated this PR based on the discussions and #8362


UDP support for teltonika devices

Hi Anton,
Is there currently any support for teltonika devices over UDP, if not are there any plans to add it?

Yes, UDP option is supported for Teltonika.


:bug:  remove @graphql-tools/graphql-file-loader as default loader

Description
Breaking change is required to fix the issue linked to @graphql-tools/graphql-file-loader.
The package is no more provided as a dependency, but must be installed separately.
Checklist

[x] My changes follow the contributing guidelines of this project.
[x] I have performed a self-review of my code.
[x] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my changes work.
[x] New and existing unit tests pass locally with my changes.

Coverage increased (+0.8%) to 91.636% when pulling 2e62296f8105b9a08350316506cb73c2b0dd9471 on fix/remove-graphql-file-loader into e271eda0e7b28e054a677b4ee282e48ea7ea052c on main.


Missing module

Traceback (most recent call last):
File "C:\Users\Lenovo\Desktop\telegramscraper-main\telegramscraper-main\manager.py", line 1, in
import requests
ModuleNotFoundError: No module named 'requests'

Issue for python scraper.py
Traceback (most recent call last):
File "C:\Users\Lenovo\Desktop\telegramscraper-main\telegramscraper-main\scraper.py", line 50, in
f = open('vars.txt', 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'vars.txt'

Issue for  python tsadder.py
Traceback (most recent call last):
File "C:\Users\Lenovo\Desktop\telegramscraper-main\telegramscraper-main\tsadder.py", line 73, in
f = open('vars.txt', 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'vars.txt'

I had to pip install requests


Added ChatMessage class to generalize chat interface

Description
This PR is the first prototype based on discussion #629.
The purpose is to make it possible to use ChatMessage instead of raw Hash for chat messages, and to generalize it so that it can be used regardless of LLM.
First of all, this PR will aim to handle the basic roles such as system, user, and assistant.

Meanwhile, also Gemini supports user-provided JSON schema in return:

https://ai.google.dev/gemini-api/docs/json-mode

Sorry, I'd like to close this Draft as I haven't had time to work on it and the need for it in my project has diminished.
Considering that the tools interface varies considerably from LLM to LLM and individual features such as responseSchema, it may be difficult to standardize the chat interface.


Add Config to systeminfo or bug reports.

Description
I've ran into a bunch of bug reports recently that would have been a lot easier to repro if their config was in the bug report. I'm fine to add a config dump at the top of systeminfo so that its included when people include hyprctl systeminfo in their report. Another option is just adding a field for config in bug reports.
I feel like people don't really include personal info in configs but we can definitely warn people to take their social security number out of their config before submitting lol.
Thoughts on adding this? Is there a reason it hasn't been added?

Or maybe an independent sub command like configdump, and require it on bug report

fair enough

Is there a reason it hasn't been added?

yes, never thought of this and was bothered enough

Or maybe an independent sub command like configdump, and require it on bug report

I kind of just want it to be as simple as possible for the reporter to get this in one command, I'm kind of thinking either a debuginfo hyprctl command that contains everything we might need or just add a --config, --logs, and --all flag to systeminfo. Pretty sure there is a hyprctl command already to log config. I'll make a quick PR and you guys can give me your thoughts.

flags make sure

Addressed here: https://github.com/hyprwm/Hyprland/pull/6160
I updated the bug template and added a -c/--config flag.


Retire a Term

Could you please explain how to retire a Term.
So far in the Test Branch I have retired code 3 of RADICAL PROSTATECTOMY MARGIN STATUS

I have checked the Orchestrator and nothing different is showing to before:

Retired items should display, for example as in: https://www.datadictionary.nhs.uk/data_elements/planned_cancer_treatment_type.html

The retired text in bracket is added by us. Where do we add it in Mauro?
Do we just ignore web presentation for this?

For items that have no web presentation as in the example above
For items that have web presentation, see below:

I have noticed that the item below has the text in the Definition field.

Is it the Definition field that we use for this?

Peter thinks that if we add a date in the profile, that should display on the Orchestrator.
He will look into this.

This issue has been fixed and deployed to TEST, TRAINING and LIVE. Please move this to the "Ready for NHS E Testing" state.

The fix was that marking a Term as retired now automatically adds text to the end of the name in the Orchestrator preview to say it is retired, and when. We have ingested a number of branches which have already saved this text to name of the Term, so if a Term already has a "(Retired dd MMM yyyy)" suffix, it will not be duplicated - you must remove it from the name before testing the "Is retired" checkbox.

@pjmonks - the retired text is displaying but the date isn't present. I have added a retired date to both terms but it does not display on the preview.
How do we ensure the retired date is included as in the example I supplied above, i.e.  https://www.datadictionary.nhs.uk/data_elements/planned_cancer_treatment_type.html which has the retied dates.

It is because the date you've entered is not in a format it was expecting, but the format it is expecting would be too confusing to use. I'll fix it:

MauroDataMapper-NHSD/mdm-plugin-nhs-data-dictionary#127

Ticket moved as Peter needs to fix this.

I have deployed a fix to TEST to correctly display the retired terms on the preview/DITA pages.
To retire a term in an Attribute Terminology:

Select the term to edit.
Select the "NHS Data Dictionary - Term" profile

Click on "Edit", then tick "Is retired" and enter a date in the "Retired date" field e.g. "1 September 2024"

The text you enter for the retired date will appear exactly as you've written it, because it the field is not set to a date type.
Also note that a lot of terms have been ingested already and look like this:

If you are making a new term or changing term to now be retired, please follow my first set of instructions. However, because a lot of these ingested terms already exist, the "Retired" text for a term does not duplicate information - in these cases, the text on the item label takes precedence. If you want to change this:

Change the "Retired date" field to a different text value that you want to display e.g. "1 April 2024"
Remove the "Retired" text from the label.
Now the preview/DITA for the term will match what I originally described.

The description issue appears to be #381

@AngelaFaulding Can we discuss what a retired term is supposed to look like in the new DD? In the Orch it correctly shows the retired date:

Is that all we expect now? I know in the old DD the text was greyed out.
Looking for an example I came across a bit of a mix https://www.datadictionary.nhs.uk/attributes/area_of_work_name.html

@jamesrwelch - please see https://www.datadictionary.nhs.uk/attributes/cancer_treatment_intent.html.
Is the DITA set up so all retired National Codes are shown in a grey row?

This may not be good for accessibility. James will investigate.


Null check for info.errorNumber

Small change to fix a possible null reference error as captured in https://github.com/microsoft/azuredatastudio/issues/7440#issuecomment-1378237248

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 42.042%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
80.65%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
28597

Relevant Lines:
63172

💛  - Coveralls


Lock option

Add an option to lock the app by pin, password or fingerprint. As it is a personal app, it requires a lock.

Hey Hk-178, thank you for your suggestion. I've seen packages, that implement local authentication. So it should be possible.
I will add it to the roadmap.
Regards, Michael


In Create/Edit Agent there are still issues with the validator

I was not able to create a new agent

This defect was fixed and validated

This defect was fixed and validated


[Bug Report] el-input: unable to use append and suffix slots together

Element UI version
2.4.0
OS/Browsers version
win7/chrome67
Vue version
2.5.17-beta.0
Reproduction Link
jsfiddle.net
Steps to reproduce
check "useSuffix" checkbox then
check "useAppend" checkbox
What is Expected?
suffix and append slots are visible together
What is actually happening?
suffix slot is hidden by append slot

For the record, this may require some changes in DOM structure, which is a breaking change. So we'll come back in the next major version.


origins_patterns not applied for unattended_upgrades

Cookbook version
6.1.4
Chef-client version
13
Platform Details
debian stretch
Scenario:
configure unattended upgrades
Steps to Reproduce:
use this attributes
default['apt']['unattended_upgrades']['origins_patterns'] = [
    'o=Debian,a=stable',
    'o=Debian,a=stable-updates',
    'origin=Debian,codename=${distro_codename},label=Debian-Security',
]
default['apt']['unattended_upgrades']['allowed_origins'] =  []
default['apt']['unattended_upgrades']['auto_fix_interrupted_dpkg'] = true

Expected Result:
/etc/apt/apt.conf.d/50unattended-upgrades includes origins_patterns
Actual Result:
cat /etc/apt/apt.conf.d/50unattended-upgrades | grep Origins-Pattern

that one seems ok
https://github.com/chef-cookbooks/apt/blob/master/templates/50unattended-upgrades.erb#L10
just checked my node attributes and that also looks like expected ( chef-zero )

related commit https://github.com/chef-cookbooks/apt/pull/197

i have a kontextwork-base cookbook where i pre-configure this for all servers which always include the base - they usually include a different specific host cookbook like docker-host. Those attributes are never overriden, i verified that, still, if a host does get applied kontextwork-base as a base, the attributes are somehow not properly applied for unnattended upgrades
if i apply kontextwork-base only, which i did with kitchen tests, the result is like expected.
Does this make any sense?

I know also added a kitchen test for the *-host variant, where base is a subcookbook. And in that scenario its working just fine.
So its either something special with knife-zero / chef zero or something with convergence

To ensure, it is not chef-client related, i upgraded to the same version kitchen converge does install
chef-client --version
Chef: 13.8.5

Giving it a longer fight, i even tried

node.override['apt']['unattended_upgrades']['origins_patterns'] = [
    'o=Debian,a=stable',
    'o=Debian,a=stable-updates',
    'origin=Debian,codename=${distro_codename},label=Debian-Security'
]

in the main -host cookbook - still no changes.
Interestingly though the attribtue
default['apt']['unattended_upgrades']['allowed_origins'] =  []

does get propagates from the base, since its empty in the configuration
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
}

but origins_patterns seems to never get applied.

It seems like in the end it was simpler then i though . the reason it did not work with knife-zero is
those 2 did not work or do no longer work as intended
chef exec berks install
chef exec berks vendor cookbooks

it did not properly update my local cookbooks, so an older version of base has been used all the time. I used those commands for a long time now and they always worked, so there seem to be a change in chefdk causing this.
Nevertheless this issue is closed


WidgetsPool

Hello and thanks for your effort for creating this repo
For a pretty long time I try to troubleshoot why the WidgetsPool does not work. One thing I can see is this:
future: <Task finished name='Task-2' coro=<WidgetsPool.worker() done, defined at /aioTrends/Trends.py:245> exception=KeyError('keywords')>
Traceback (most recent call last):
  File "/Users/almeco/Downloads/projects/g_trends/aioTrends/Trends.py", line 251, in worker
    await self.widgetInterestOverTime(i, tid, cookies, proxy, userAgent)
  File "/Users/almeco/Downloads/projects/g_trends/aioTrends/Trends.py", line 208, in widgetInterestOverTime
    logger.info(f"DEBUGGING self.qrys[tid]['keywords']: {self.qrys[tid]['keywords']}")
KeyError: 'keywords'

Could you check at your side if everything is running smoothly?
Cookies generating works fine.
edit:
After running cookies generation part my qrys.pkl file after reading it look like this:
from pandas import Timestamp

qrys = {1: {'tickers': ['FTEV'], 'periods': [Timestamp('2021-04-22 00:00:00'), Timestamp('2021-12-21 00:00:00')]},
        2: {'tickers': ['FLM'], 'periods': [Timestamp('2007-01-02 00:00:00'), Timestamp('2007-09-01 00:00:00')]}}
payload = {
    'hl': "en-US",
    'tz': 360,
    'req': {
        'comparisonItem': [
            {'keyword': kw, 'time': qrys[1]['periods'], 'geo': 'US'} for kw in
            qrys[1]['keywords']
        ],
        'category': 0,
        'property': ""
    }
}
print(payload)

and this gave me Keyerror here

oh, thanks for your reply. Don't worry. I spend almost an entire day to came with a solution. The problem was that I didn't know what should be put inside qrys.pkl file and how it corresponds with queries.pkl file
And now Im still getting some errors e.g. I had to put full paths to files but stil when e.g. generating widgets I'm getting:
2023-07-24 16:05:31,824Error in filterQrys unpkl pathWgtEptyRes: FileNotFoundError(2, 'No such file or directory')
Traceback (most recent call last):
  File "/Users/almeco/Downloads/projects/g_trends/aioTrends/Trends.py", line 575, in filterQrys
    dkeys = await unpkl(self.pathWgtEptyRes, self.lock)
  File "/Users/almeco/Downloads/projects/g_trends/aioTrends/Trends.py", line 149, in unpkl
    async with aiofiles.open(path, 'rb') as f:
  File "/Users/almeco/Downloads/projects/g_trends/venv/lib/python3.10/site-packages/aiofiles/base.py", line 98, in __aenter__
    self._obj = await self._coro
  File "/Users/almeco/Downloads/projects/g_trends/venv/lib/python3.10/site-packages/aiofiles/threadpool/__init__.py", line 97, in _open
    f = yield from loop.run_in_executor(executor, cb)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/.../Downloads/projects/g_trends/aioTrends/data/widgetReceiveEmptyReponse.pkl'

This file is not created. When I try to create it manually (which is not a good idea I believe) it return ran out of input
Like you said it would be a good idea to add some content to Readme if you don't mind.
Also in example.py file an examples regarding actually putting trends to files would be helpful like
at.Aio(1).getMonthlyData(['tickers', 'PHEV'], start='2021-04-22', end='2021-12-21')
Overall its a great piece of code. I finally got it running (but struggle with final setup quite a bit now)
PS. why pkl data format? they are hard to read outside of a python script. Why e.g. not simple json?

I updated the project, could you please have a test on your end?

got some bugs when using the Aio class, will fix that when I am free

yes, me too. I will post some of them later or tomorrow. Thanks for your efforts. One thing which I noticed that adding proxies should be more flexible e.g. I use proxies without login and password - <IP_ADDRESS>:8800 (authenticated by IP) and I had to change the reading proxy format in code. Quick fix but perhaps it will be wise to specify which proxy format someone use so that there will be no need to modify the script

also more examples of actually fetching the data using different methods when using the script will be welcomed mate;) Great work overall

thanks mate : ) for all your time and suggestions. I will look at it when I am free. I created this repo months ago for my research project, and I barely have time to maintain it. I am wondering if you are available to be the contributor to this repo. I massively appreciate all your help.


Specific case: Export "custom" columns related to prices

Hi folks,
I'd like to ask you for support in realization of a specific requirement related to product's export.
I need to have three additional, task-specific columns in exported csv:
price,sale_price,sale_price_effective_date
Prices in the project look like this:
{
  "value": {
    "currencyCode": "EUR",
    "centAmount": 121
  },
  "id": "90b5b088-8bc8-4ae4-9129-8ade1888a004",
  "country": "AT",
  "customerGroup": {
    "typeId": "customer-group",
    "id": "71b02365-6963-477e-aff8-5a5d3ee6d0bf"
  },
  "validFrom": "2016-09-04T00:00:00.000Z",
  "validUntil": "2016-09-04T23:59:59.000Z",
  "custom": {
    "type": {
      "typeId": "type",
      "id": "1e38cc28-9ecc-47ca-bfb1-643b09a64263"
    },
    "fields": {
      "discountedBasicPrice": "500 ml 1.35",
      "discountedPrice": {
        "currencyCode": "EUR",
        "centAmount": 89
      },
      "isDiscounted": true,
      "discounts": [
        "{\"condition\":\"Ab 6 Stück\",\"text\":\"NIMM MEHR\",\"image\":\"aktion_nm.png\"}"
      ],
      "basicPrice": "500 ml 1.35"
    }
  }
}

A product can have multiple such prices for different days.
First of all I need to find a price for today.
Output for such a price should be:
price,sale_price,sale_price_effective_date
1.21 EUR,0.89 EUR,2016-09-04T00:00:00.000Z/2016-09-04T23:59:59.000Z
Not going into details this requires:

filtering prices and finding the one for today based on validFrom, validUntil dates
concatenating fields to create a price string: "/100 "
checking custom.fields.isDiscounted if is true.
if it is true there should be sale_price and sale_price_effective_date also created in similar fashion

I know this can be achieved by modifying src/coffee/exportmapping.coffee and providing implementation of custom prices mapping and exporting new columns.
Is this the way to approach this issue?
How do you realize such custom, specific exports which can't be done with csv-sync functionality provided out-of-the-box?
Is there some other way to achieve this?
Thanks

@emmenko @PhilippSpo do you have any ideas how @piobra could solve this? We need it urgently for Merkur as it is in our current sprint.

Hi @piobra ,
Out of the box, there is no solution for such custom logic, sadly.
I think the quickest way is (like you said) to for the repo and adapt the export mapping to your needs.


Typo "Github"→"GitHub"

https://docs.microsoft.com/en-us/cli/azure/aks/draft?view=azure-cli-latest

#PingMSFTDocs

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

ID: 6296c2a4-b045-52bf-8be5-61a300c2ddce
Version Independent ID: 1fb88b9f-ea0a-ba42-200d-c56935235a52
Content: az aks draft
Content Source: latest/docs-ref-autogen/aks/draft.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

route to CXP team

@hyoshioka0128 will fix it with a PR.


[6.x] Fix the Filesystem manager's exception on unsupported driver

This will fix the exception message on unsupported driver.
For example Storage::disk('unsupported-disk');
Before
Driver [] is not supported.
After
Driver [unsupported-disk] is not supported.

Neat 👍

@driesvints Done :+1:

Note: Failed test not related
Hi @driesvints, i was wondering how to mock the config repository so i check the other tests.
I found that the $this->assert***() (PHPUnit asserts) are not called as a static method :eyes:

@arcanedev-maroc think the tests are definitely related and that the problem is just that you need to rewrite this line:
$app['config'] = ['filesystems.disks.unsupported-disk' => null];

to this?
$app['config'] = ['filesystems.disks' => null];

@driesvints How about this change ?

Interesting, something changed in arrays for PHP 7.4 :thinking:

Related RFC

Is this ready to merge? I don't know if the previous comments are saying there is a problem or what?

@taylorotwell I just checked and I think this merge should be reverted, this changes the driver resolution.
When a disk named local have no driver it thrown an exception in the previous version (through multiple levels of non-existing array keys. With this merge it will resolve to local driver.
I think the correct solution would be to check against the existence of the driver field and throw an exception with Disk [name] has no configured driver instead of resolving by its name.


Sprite Editor - draw circle

Painted circle has problem with size. Is not painted in radius which is defined by mouse pointer. Max circle size is 6x6/7x7.

Ned to clean up the logic for drawing the eclipse. Right now it's only calculating on odd pixels.

vs


model time dependent roles of series contributors

With events it is rather straight forward that we can assume a contributor to have a role for the timespan in which the event is being planned and realized. But for series the e.g. creator is not fixed. An organization could be the agent setting up the series and be responsible for it for five years before another organization or a specific person takes over the responsibility of hosting (managing) the series. We need to define if such a switch of organizers must be described in AEON. Also we should think harder about how we define the organizer of a series in real life. Sometimes it is hard to get this info.

The creator of a series in the DataCite Schema is probably what Aliaksandr would call "maintainer": "Just an explanation re „maintainer” – we introduced this term in the Crossref/DataCite Conference PID group to show that this entity/person is responsible for running the conference series and maintaining its metadata. Conference organizer can be a company or local chair who does it once and never involved in the conf again. The maintainer would be the steering committee or the general chair, i.e. this evolves over time." - Email by Aliaksandr 23.07.2021

We need to define another organizer class in AEON that represents the "Maintainer" of an event series, who is defined as having a maintainer role that is defined by the duty to make sure the series will either have an other event or that it will be ended. So unlike is the case in the realization of roles associated with an event it is not the process itself (the event series) in which the maintainer role gets realized. It must be another kind of process, one which can either span the whole existence of a series, or, more likely will be a period spanning a couple of events a series.
@mconlon17 tackled this problem with the following pattern in the WIP ORG Ontology (see Membership):
There is a bfo:occurent class representing the 'relationship' which realizes the maintainer role. (Already reported error in this pattern is the superclass of bfo:process. It must be bfo:process to be within the range/domain of bfo:realized in & bfo:realizes)
For the case where there is only one individual person being the maintainer of an event series (so not an organisation), we need to reuse this pattern in AEON (something like 'single maintainership period') . For the case where there are more people involved in a maintanance period of a series, we could ask Mike for a subclass of 'person membership' (something like 'person series maintainer membership').


Fix #5184 - Make SqlLoggerData Serializable to identify underlying test errors

Marked the SqlLoggerData with the SerializableAttribute but I have not seen the CI failures reproduce locally.
@natemcmaster

:shipit:


Enable gelocation via HTML5 for customer location

Update the search box at the top of the LocalList to:

Add customer location alongside the restaurant search to remove confusion.
Allow the customer to use HTML5 geolocation to find their own location.
Pull a saved customer location if they are logged in and it exists.
Default to IP based geolocation if all else fails.

Significantly improves the effectiveness of listing by distance.
NOTE: This has not been tested against latest beta as I don't have an environment for it. Will require someone to test to ensure that it works as expected against the main fork.

Another great PR and feature to have in v3+

Added to v4


feat: avm/ptn/ai-platform/baseline Add AI project

Description

Following an internal fix with the Machine Learning Workspace provider, it is now possible to create AI projects with Bicep, therefore adding it to the module.
The managed identity permissions are the same as if using a system managed identity.
Pipeline Reference

Pipeline

Type of Change

[ ] Update to CI Environment or utilities (Non-module affecting changes)
[x] Azure Verified Module updates:

[ ] Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[] Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[x] Breaking changes and I have bumped the MAJOR version in version.json.
[ ] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] I have run Set-AVMModule locally to generate the supporting module files.
[ ] My corresponding pipelines / checks run clean and green without any errors or warnings

In draft until https://github.com/Azure/bicep-registry-modules/pull/3045 is merged


Regenerate with dropped sealed auto traits

You'll want to do the same for the manual extension traits

The CI will continue to fail until we update gir-files, so merging this already


Unify crate-level preludes

Objective

Crate-level prelude modules, such as bevy_ecs::prelude, are plagued with inconsistency! Let's fix it!

Solution
Format all preludes based on the following rules:

All preludes should have brief documentation in the format of:

The name prelude.
This includes the most common types in this crate, re-exported for your convenience.

All documentation should be outer, not inner. (/// instead of //!.)
No prelude modules should be annotated with #[doc(hidden)]. (Items within them may, though I'm not sure why this was done.)

There's was one module within bevy_picking that I skipped because it wasn't the root prelude. Should I still update it?
Testing

I manually searched for the term mod prelude and updated all occurrences by hand. 🫠

One question: should we also include a mention of how to use the prelude? Like how it's meant to be glob-imported (e.g. bevy_foo::prelude::*/bevy::foo::prelude::*).

The main bevy::prelude documents glob imports, so I don't think it's necessary to repeat that information. (Not to mention the term "prelude" is used all over the Rust ecosystem.)


[cloudflare pages部署] 部署失败，看起来是sitemap的部分报的错

描述遇到的问题
按照教程，copy了大佬的deploy/cloudflare-support分支，然后什么都没有改动，去cloudflare部署，我的配置如下：

但是部署不成功，报错。
相应配置
构建命令： npm run export
构建输出目录： /out
NEXT_PUBLIC_THEME | medium
NODE_VERSION | 16
NOTION_PAGE_ID | 26e18c8ce56b4adb832a2146d5ab5afe
VERCEL_ENV | production
截图

报错日志：

15:02:17.865
[API耗时] 75ms

15:02:17.870
[请求API] from:rss-content id:1cfe4246-9478-4bb3-b24d-fa04acccb89c

15:02:17.923
/opt/buildhome/repo/.next/server/pages/index.js:241

15:02:17.924
async function generateSitemapXml({ allPages }) {

15:02:17.924
^

15:02:17.924

15:02:17.924
TypeError: Cannot destructure property 'allPages' of 'undefined' as it is undefined.

15:02:17.924
at generateSitemapXml (/opt/buildhome/repo/.next/server/pages/index.js:241:37)

15:02:17.925
at getStaticProps (/opt/buildhome/repo/.next/server/pages/index.js:372:82)

15:02:17.925
at processTicksAndRejections (node:internal/process/task_queues:96:5)

15:02:18.009
[响应成功]: from:slug

15:02:18.009
[API耗时] 104ms

15:02:18.012
[请求API] from:slug-props-example-8 id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:18.032
[响应成功]: from:slug

15:02:18.033
[API耗时] 167ms

15:02:18.060
[请求API] from:slug-props-example-9 id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:18.272
[响应成功]: from:slug-props-example-8

15:02:18.272
[API耗时] 259ms

15:02:18.293
[请求API] from:data-notice id:b1da18c8-3b99-497e-b179-d59927527bcd

15:02:18.327
[响应成功]: from:slug-props-example-9

15:02:18.328
[API耗时] 268ms

15:02:18.341
[请求API] from:data-notice id:b1da18c8-3b99-497e-b179-d59927527bcd

15:02:18.368
[响应成功]: from:data-notice

15:02:18.369
[API耗时] 75ms

15:02:18.372
[请求API] from:slug id:c1e9d153-cdd8-4ae0-badd-b392d1074f1f

15:02:18.421
[响应成功]: from:data-notice

15:02:18.422
[API耗时] 80ms

15:02:18.424
[请求API] from:slug id:59acc450-0742-42cb-ac96-5f4f674b0ef6

15:02:18.471
[响应成功]: from:slug

15:02:18.472
[API耗时] 101ms

15:02:18.507
[请求API] from:slug-props-example-10 id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:18.557
[响应成功]: from:slug

15:02:18.558
[API耗时] 133ms

15:02:18.597
[请求API] from:slug-props-5dddcd4a-536c-43ee-a214-d62fc9af0aba id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:18.767
[响应成功]: from:slug-props-example-10

15:02:18.768
[API耗时] 262ms

15:02:18.780
[请求API] from:data-notice id:b1da18c8-3b99-497e-b179-d59927527bcd

15:02:18.854
[响应成功]: from:data-notice

15:02:18.854
[API耗时] 73ms

15:02:18.858
[请求API] from:slug id:c630ea59-6694-48fa-97d4-9c3bde0e8add

15:02:18.883
[响应成功]: from:slug-props-5dddcd4a-536c-43ee-a214-d62fc9af0aba

15:02:18.884
[API耗时] 288ms

15:02:18.897
[请求API] from:data-notice id:b1da18c8-3b99-497e-b179-d59927527bcd

15:02:18.971
[响应成功]: from:slug

15:02:18.971
[API耗时] 111ms

15:02:18.995
[响应成功]: from:data-notice

15:02:18.996
[API耗时] 99ms

15:02:19.000
[请求API] from:slug-props-invisible id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:19.000
[请求API] from:slug id:5dddcd4a-536c-43ee-a214-d62fc9af0aba

15:02:19.039
[请求API] from:index id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:19.142
[响应成功]: from:slug

15:02:19.142
[API耗时] 142ms

15:02:19.169
[请求API] from:slug-props-message id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:19.267
[响应成功]: from:slug-props-invisible

15:02:19.267
[API耗时] 270ms

15:02:19.281
[请求API] from:data-notice id:b1da18c8-3b99-497e-b179-d59927527bcd

15:02:19.353
[响应成功]: from:data-notice

15:02:19.353
[API耗时] 71ms

15:02:19.355
[请求API] from:slug id:4dc79344-4324-4cec-a982-720288bf7181

15:02:19.389
[响应成功]: from:index

15:02:19.389
[API耗时] 351ms

15:02:19.422
[请求API] from:data-notice id:b1da18c8-3b99-497e-b179-d59927527bcd

15:02:19.444
[响应成功]: from:slug

15:02:19.445
[API耗时] 89ms

15:02:19.471
[响应成功]: from:slug-props-message

15:02:19.472
[API耗时] 302ms

15:02:19.475
[请求API] from:slug-props-links id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:19.492
[请求API] from:data-notice id:b1da18c8-3b99-497e-b179-d59927527bcd

15:02:19.497
[响应成功]: from:data-notice

15:02:19.497
[API耗时] 75ms

15:02:19.502
[请求API] from:rss-content id:1cfe4246-9478-4bb3-b24d-fa04acccb89c

15:02:19.554
/opt/buildhome/repo/.next/server/pages/index.js:241

15:02:19.555
async function generateSitemapXml({ allPages }) {

15:02:19.555
^

15:02:19.555

15:02:19.555
TypeError: Cannot destructure property 'allPages' of 'undefined' as it is undefined.

15:02:19.555
at generateSitemapXml (/opt/buildhome/repo/.next/server/pages/index.js:241:37)

15:02:19.556
at getStaticProps (/opt/buildhome/repo/.next/server/pages/index.js:372:82)

15:02:19.556
at processTicksAndRejections (node:internal/process/task_queues:96:5)

15:02:19.626

15:02:19.626
> Build error occurred

15:02:19.629
Error: Call retries were exceeded

15:02:19.630
at ChildProcessWorker.initialize (/opt/buildhome/repo/node_modules/next/dist/compiled/jest-worker/index.js:1:11661)

15:02:19.630
at ChildProcessWorker._onExit (/opt/buildhome/repo/node_modules/next/dist/compiled/jest-worker/index.js:1:12599)

15:02:19.630
at ChildProcess.emit (node:events:513:28)

15:02:19.630
at ChildProcess.emit (node:domain:489:12)

15:02:19.630
at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) {

15:02:19.631
type: 'WorkerError'

15:02:19.631
}

15:02:19.736
Failed: Error while executing user command. Exited with error code: 1

15:02:19.750
Failed: build command exited with code: 1

15:02:20.908
Failed: error occurred while running build command

重新贴一下报错日志：
`

15:02:19.475
[请求API] from:slug-props-links id:26e18c8ce56b4adb832a2146d5ab5afe

15:02:19.492
[请求API] from:data-notice id:b1da18c8-3b99-497e-b179-d59927527bcd

15:02:19.497
[响应成功]: from:data-notice

15:02:19.497
[API耗时] 75ms

15:02:19.502
[请求API] from:rss-content id:1cfe4246-9478-4bb3-b24d-fa04acccb89c

15:02:19.554
/opt/buildhome/repo/.next/server/pages/index.js:241

15:02:19.555
async function generateSitemapXml({ allPages }) {

15:02:19.555
^

15:02:19.555

15:02:19.555
TypeError: Cannot destructure property 'allPages' of 'undefined' as it is undefined.

15:02:19.555
at generateSitemapXml (/opt/buildhome/repo/.next/server/pages/index.js:241:37)

15:02:19.556
at getStaticProps (/opt/buildhome/repo/.next/server/pages/index.js:372:82)

15:02:19.556
at processTicksAndRejections (node:internal/process/task_queues:96:5)

15:02:19.626

15:02:19.626
> Build error occurred

15:02:19.629
Error: Call retries were exceeded

15:02:19.630
at ChildProcessWorker.initialize (/opt/buildhome/repo/node_modules/next/dist/compiled/jest-worker/index.js:1:11661)

15:02:19.630
at ChildProcessWorker._onExit (/opt/buildhome/repo/node_modules/next/dist/compiled/jest-worker/index.js:1:12599)

15:02:19.630
at ChildProcess.emit (node:events:513:28)

15:02:19.630
at ChildProcess.emit (node:domain:489:12)

15:02:19.630
at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) {

15:02:19.631
type: 'WorkerError'

15:02:19.631
}

15:02:19.736
Failed: Error while executing user command. Exited with error code: 1

15:02:19.750
Failed: build command exited with code: 1

15:02:20.908
Failed: error occurred while running build command

`

使用main分支部署没问题了


"Failed to execute script tool_01DIY85" - windows 10

Hi, I have a fresh installation of Windows 10. I have tried all the methods suggested in this thread without success. This includes trying the run the python scripts directly, however this fails due to inconsistent spacing / tabs in the codebase and certain packages failing to install. When attempting to run the executable I get the following error "Failed to execute script tool_01DIY85". Are you able to look into this as I would like to use the DIY Mode as this was the reason for purchasing the Sonoff Mini's in the first place.

Same here

installed this, fixed my issue: https://www.qt.io/download  (the open source version)
I also installed python, but not 100% if it's needed

installed this, fixed my issue: https://www.qt.io/download (the open source version)
I also installed python, but not 100% if it's needed

This solution worked for me, without installing python. Thank you!

Hi, which part of open source??..if its full install, its about 311 gb

installed this, fixed my issue: https://www.qt.io/download (the open source version)
I also installed python, but not 100% if it's needed

This solution worked for me, without installing python. Thank you!

Hi, which part (or module) of qt open source??..if its full install, it's about 311 gb...thanks!

installed this, fixed my issue: https://www.qt.io/download (the open source version)
I also installed python, but not 100% if it's needed

This solution worked for me, without installing python. Thank you!

Hi, which part (or module) of qt open source??..if its full install, it's about 311 gb...thanks!

C:\Sonoff\tool>"tool_01DIY85_v330(log).exe"
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_qt5plugins.py", line 47, in
ModuleNotFoundError: No module named 'PyQt5'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_qt5plugins.py", line 49, in
File "D:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\PySide2_init_.py", line 49, in
File "site-packages\PySide2_init_.py", line 21, in setupQtDirectories
File "D:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\shiboken2_init.py", line 4, in
ImportError: DLL load failed: The specified module
So I don't have a D drive

C:\Sonoff\tool>"tool_01DIY85_v330(log).exe"
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_qt5plugins.py", line 47, in
ModuleNotFoundError: No module named 'PyQt5'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_qt5plugins.py", line 49, in
File "D:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module
File "site-packages\PySide2__init__.py", line 49, in
File "site-packages\PySide2__init__.py", line 21, in setupQtDirectories File "D:\Python37\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "site-packages\shiboken2__init_.py", line 4, in
ImportError: DLL load failed: The specified module
So I don't have a D drive

Hi, try with DHCP, not fixed IP (for qt dll, i don't know about D drive).

installed this, fixed my issue: qt.io/download (the open source version)
I also installed python, but not 100% if it's needed

@GoBooth What download is needed? I can only find downloads that require registration.

I had to register and installing the default selected options with the web installer worked for me.

Same error after Qt install.. :-(

Hi, I had the same problem, I was installing Python, QT and other C + and every time I had this problem - suddenly it dawned on me to change the connection properties on my laptop's WiFi adapter to DHCP :) and everything started working fine!
WIFI -DHCP !!!!!!


[TASK] Updating chain ID in protocol-substrate

Overview
We need to add logic for updating the chain ID to the new chain ID type into this repo.

[ ] Add the chain ID type update to linkable-tree
[ ] Update the zkp verify functions that utilise the chain ID

https://github.com/webb-tools/protocol-substrate/pull/118


Revert "XFAIL Plank and R"

Reverts apple/swift-source-compat-suite#106
The swiftpm patch that caused the issue was reverted here: https://github.com/apple/swift-package-manager/pull/1402

@swift-ci Please test


komodo afertma

/home/dimi/z-nomp/node_modules/stratum-pool/lib/pool.js:576
result.response.miner = subsidy.miner;
^
TypeError: Cannot read property 'miner' of undefined
at /home/dimi/z-nomp/node_modules/stratum-pool/lib/pool.js:576:56
at itemFinished (/home/dimi/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /home/dimi/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
at parseJson (/home/dimi/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17)
at IncomingMessage. (/home/dimi/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:186:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

Fixed by KomodoTeam in last git update on their repo

still got this error:
/root/pool/node_modules/typeforce/index.js:154
throw tfSubError(e, i)
^
Error: Expected property "1" of type Satoshi, got Number NaN

is Komodo what your trying to run? please check getblock temp about not to pay in rpc to founders ;)

also check your past the 245k+ blocks

is Komodo what your trying to run? please check getblock temp about not to pay in rpc to founders ;)
Show me your template then please..

what do you mean with the blocks??

komodo-cli getinfo  (check ## of blocks) should past ov 245k+ blocks, you need to sync to run without probs the pool  the issue is explained several times

any pub server I can check?

"blocks" : 247149,
its not a pub server :-(

so, let's see, your komodo ports are diff than other coins? meaning RpcPorts-MiningPorts... if so, then, try to resync with everything inside the config folder deleted excluding the .cfg one file, if you have coins dump priv keys, and import em when the sync is almost/finished... also check blocktemplate the line 26 """     var blockReward = (this.rpcData.miner) * 100000000; """ as it is You Can Not run Zec on same stratum as Komodo because of the limitations, hope that help

Ports are diff then other coins, have allready zcash ,zclassic and zdash running.
Itried resyncing allready..
but i dont hav  founders in my conf, cant find the adresses..
Also need to check blocktemplate

as I said, you can NOT run Zec with Komodo at the same time because blocktemplate at line 26  as it's commented in #93   ;)

check alvblock.com

oh so that is the problem :-)

yeye should find a fix soon

avlblock.com is yours??

yup alvblock, thank to z-nomp guys

good luck mate!

thx thx same to ya.... hve u tried mpos with z-nomp?

no, plan was to stick to plain z-nomp

GOOD GOOD that's GOOD

@hellcatz how did you successfully run kmd while zec on same stratum?

With a little magic and lots of practice ;)
All "improvements" require changes to both node-stratum-pool and z-nomp projects to support all 3 coins at same time. Once I feel my mods are complete and have free time....I'll update my forks and do another pull request...it may be a few weeks.

https://github.com/z-classic/node-stratum-pool/commit/6f709b5c5a6cf9c981609bf64ba018b98cfd7e18

Could anyone help me, what am i doing wrong?
Or do i need to fix something to be able to start komodo pool?
dumpprivkey gives me the key and daemon is running.
2018-05-03 16:06:29 [POSIX]	[Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
2018-05-03 16:06:29 [Master]	[CLI] CLI listening on port 17117
2018-05-03 16:06:29 [PPLNT]	[komodo] TimeShare processing setup with redis (<IP_ADDRESS>:6379)
2018-05-03 16:06:29 [Payments]	[komodo]  minimum paymentInterval of 120 seconds recommended.
2018-05-03 16:06:29 [Payments]	[komodo] komodo requireShielding: false
2018-05-03 16:06:29 [Payments]	[komodo] komodo minConf: 10
2018-05-03 16:06:29 [Payments]	[komodo] komodo payments txfee reserve: 0.0004
2018-05-03 16:06:29 [Payments]	[komodo] komodo maxBlocksPerPayment: 3
2018-05-03 16:06:29 [Payments]	[komodo] komodo PPLNT: false, time period: 0.51
2018-05-03 16:06:29 [Payments]	[komodo] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false}
2018-05-03 16:06:29 [Payments]	[komodo] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false}
2018-05-03 16:06:29 [Website]	[Server] Website started on <IP_ADDRESS>:8080
2018-05-03 16:06:29 [Website]	[komodo] Could not dumpprivkey for komodo {"code":-5,"message":"Invalid Komodo address"}
2018-05-03 16:06:29 [Switching]	[Setup] (Thread 1) Loading last proxy state from redis
2018-05-03 16:06:29 [Pool]	[komodo] (Thread 1) Share processing setup with redis (<IP_ADDRESS>:6379)
2018-05-03 16:06:29 [Pool]	[komodo] (Thread 1) Could not start pool, error with init batch RPC call: {"type":"request error","message":"read ECONNRESET"}
2018-05-03 16:06:30 [Switching]	[Setup] (Thread 2) Loading last proxy state from redis
2018-05-03 16:06:30 [Pool]	[komodo] (Thread 2) Share processing setup with redis (<IP_ADDRESS>:6379)
2018-05-03 16:06:30 [Pool]	[komodo] (Thread 2) Could not start pool, error with init batch RPC call: {"type":"request error","message":"read ECONNRESET"}
2018-05-03 16:06:30 [Master]	[PoolSpawner] Spawned 1 pool(s) on 4 thread(s)
2018-05-03 16:06:30 [Switching]	[Setup] (Thread 3) Loading last proxy state from redis
2018-05-03 16:06:30 [Pool]	[komodo] (Thread 3) Share processing setup with redis (<IP_ADDRESS>:6379)
2018-05-03 16:06:30 [Pool]	[komodo] (Thread 3) Could not start pool, error with init batch RPC call: {"type":"request error","message":"read ECONNRESET"}
2018-05-03 16:06:30 [Switching]	[Setup] (Thread 4) Loading last proxy state from redis
2018-05-03 16:06:30 [Pool]	[komodo] (Thread 4) Share processing setup with redis (<IP_ADDRESS>:6379)
2018-05-03 16:06:30 [Pool]	[komodo] (Thread 4) Could not start pool, error with init batch RPC call: {"type":"request error","message":"read ECONNRESET"}

yep, same server and interestingly zen pool is just runs without any problems

several days i was editing comments in komodo.json :) well, thanks for the attention & time anyways :)


feat(pruner/light): add light pruning for shwap

Blocked by other pruning PRs

Codecov Report
Attention: Patch coverage is 66.66667% with 42 lines in your changes missing coverage. Please review.

Project coverage is 45.07%. Comparing base (2469e7a) to head (0a4388d).
Report is 364 commits behind head on main.

Files with missing lines
Patch %
Lines

share/availability/light/availability.go
71.62%
16 Missing and 5 partials :warning:

pruner/light/pruner.go
41.66%
9 Missing and 5 partials :warning:

share/availability/light/sample.go
75.00%
5 Missing and 2 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3896      +/-   ##
==========================================
+ Coverage   44.83%   45.07%   +0.24%
==========================================
  Files         265      309      +44
  Lines       14620    21883    +7263
==========================================
+ Hits         6555     9864    +3309
- Misses       7313    10943    +3630
- Partials      752     1076     +324

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


create device-service-snmp developer docker-compose entry

With the addition of the new device service snmp included in the edgexfoundry repository a commented out section in the docker-compose needs to be included.  This will enable users of the device-service-snmp to uncomment out the docker-compose section and execute the edgex stack with the device-service-snmp.

added to the device section of the Edinburgh release compose files


Remove output behavior from input/output mappings

Related to: zeebe-io/zeebe#1878
@menski to provide more detail if necessary

In the Input/Output tab the Output Behavior dropdown has to be deleted

Closed via https://github.com/zeebe-io/zeebe-modeler/pull/62.


unable to see any error message

Hi, I'm trying to use httpure to write a simple backend. It's a bit strange when an error is thrown, there is no way to see it. I have a reproducible example: https://github.com/rnons/play-with-httpure/blob/error/src/Main.purs#L13
curl http://<IP_ADDRESS>:8080 get
< HTTP/1.1 500 Internal Server Error
< Content-Length: 0
< Date: Sat, 27 Oct 2018 01:56:31 GMT
< Connection: keep-alive
<
* Connection #0 to host <IP_ADDRESS> left intact

Open http://<IP_ADDRESS>:8080 in browser get
This page isn’t working
localhost is currently unable to handle this request.
HTTP ERROR 500

In the terminal where I run node server.js, there is nothing. There is no error message anywhere, which makes debugging a bit difficult.

Yeah, I'm tracking this with https://github.com/cprussin/purescript-httpure/issues/109, we currently don't have any handling for errors at all.  I've wanted to give the API more thought than just log the errors to the console--ideally I'd like to make the API catch errors and force consumers to write an error handler, possibly defaulting to returning a 500.  Any ideas here would be much appreciated as I haven't had the time to give this any love yet.
I'm going to close this ticket as it's a duplicate of #109 ; please continue the discussion there.

By the way, I'd be happy to accept a PR to just log the error out for now if you want to submit one, with the understanding that eventually we'll do something better about it.

As described here, throwing JavaScript exceptions isn't a good way to implement control flow with ’Aff’: https://github.com/slamdata/purescript-aff/issues/136#issuecomment-356814485
If you want to implement a control flow with errors, the best way currently is ExceptT.

@akheron fwiw I think the example there was just to illustrate httpure's lack of exception handling; not an example of what should be done with Aff


Update the Index Chinese translation for the next-nightly

@nodejs/iojs-cn

+1

If we can get 1 more +1 we can merge this.

+1