Broken Link

" Azure resiliency technical guidance"

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

ID: 09a788e4-0130-73f2-d985-6fc3aec77974
Version Independent ID: a9f4ec3f-f0a3-b050-020b-f487c74c5179
Content: Business continuity & disaster recovery - Azure Paired Regions
Content Source: articles/best-practices-availability-paired-regions.md
Service: multiple
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@ruthbacci
Thanks for your feedback! We will investigate and update as appropriate.

Thanks. I made a pull request to amend this. https://github.com/MicrosoftDocs/azure-docs-pr/pull/94570


.ocamlformat: 0.21 -> 0.24.1

This bumps the version in .ocamlformat from 0.21 to 0.23. All the other diffs are a result of changes to how ocamlformat works.
Update: bumped it to the latest version, 0.24.1. This was the source of some of the CI failures.

Whoops, looks like this failed CI. I think you may need to edit the workflows.
Separately, after this is merged, could you please send in a follow-up PR adding the resulting commit hash to .git-blame-ignore-revs? (ref)

Separately, after this is merged, could you please send in a follow-up PR adding the resulting commit hash to .git-blame-ignore-revs?

absolutely!

@Xyene another workflow approval, please!

@Xyene one more workflow approval, please (sorry, forgot to sign commits)

@Xyene ready to merge, when you get the chance!

LGTM, thanks!


[WIP] Attempt testing service

Currently not passing (or running, for that matter). Please check comments, and see if there is something to be fixed immediately.
Would most likely be easier to work with once we have some more logic to work with. Main problem now is mocking the execution of a query.
The query class is initalized, and setup with mocking data, however, I find it hard to mock the execution of the actual query, before comparing the output.
Closes #16

Based on this
https://www.youtube.com/watch?v=DwbYxP-etMY&


export as svg bug report

hi @dash14
when export graph that has image as node background, the image will not be appeared in the result
for example:

thank you

Hi @drAliRahnema,
Thank you for reporting issue!
The export feature was getting the SVG as is, and also the  tag was not changed. If the image was specified as a relative URL, it would be invalid after download.
As a new feature in v0.7.0, I have added the feature to convert image URLs to data-uri(base64) and retrieve them.
Also I created an example, so please try it out.

you are amazing man, thank you a lot


Spaces is path causes error

It doesn't matter whether you escape the spaces or put the path in quotes, but having spaces in the path cause the script to fail. For example this path ~/some/path/my folderName/ causes the following errors:
/usr/local/bin/create-dmg: line 102: cd: Users/user/some/path/my: No such file or directory
/usr/local/bin/create-dmg: line 115: [: /Users/user/some/path/my: binary operator expected
Creating disk image...
du: /Users/user/some/path/my: No such file or directory
du: folderName: No such file or directory

To fix the errors, make the following changes to these line numbers:
102 DMG_DIR="$(cd "$DMG_DIRNAME" > /dev/null; pwd)"

115 if [ -f "$SRC_FOLDER"/.DS_Store ]; then

123 ACTUAL_SIZE=`du -sm "$SRC_FOLDER" | sed -e 's/	.*//g'`

In addition, line 117 can be changed:
117 rm "$SRC_FOLDER"/.DS_Store

This is mostly fixed already; https://github.com/create-dmg/create-dmg/pull/94 should clean up the last of it.


Strain rate partitioning

Hi everyone,
compute_τij looks very useful. Is it possible to also make it return the strain rate of the individual rheological components? This would be important for shear heating and/or grain size reduction. Alternatively, returning effective viscosities of the individual components would also work. I had a look but at this point, I cannot follow the source code anymore.

Rather than modifying compute_τij, once you know the stress tensor/invariant after running compute_τij, you could add a function similar to compute_εII but using ntuple instead of nreduce, that should give you a tuple with the strain rate componentes of your composite:
compute_elements_εII(v::CompositeRheology{T,N}, τII, args) where {T, N} = ntuple(i -> first(compute_εII( v.elements[i], τII, args)), Val(N))

Thank you for the quick response! I will try this out

can this be closed?

Yeah, the function was included around the last hackathon


Formatter is slow

Formatting a package body with 3045 lines takes more than a minute to format.
The formatter result has 5078 lines. Interesting are the following sections of the log (steps using more than a second):
2021-09-02 12:23:11.061 FINE com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle: keepSignificantWhitespaceBeforeLeafNodes: remove all whitespace at 0.
...
2021-09-02 12:23:25.868 FINER com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle: r2_decrement_left_margin: set margin to 3 spaces at 27862.
2021-09-02 12:23:27.156 FINER com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle: r2_decrement_left_margin_for_function_name: set margin to 9 spaces at 335.
2021-09-02 12:23:27.157 FINER com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle: r2_decrement_left_margin_for_function_name: set margin to 9 spaces at 347.
...
2021-09-02 12:23:27.248 FINER com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle: r2_decrement_left_margin_for_function_name: set margin to 9 spaces at 27166.
2021-09-02 12:24:11.350 FINER com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle: r2_increment_left_margin_by_keyword_outside_node: set margin to 16 spaces at 60.
2021-09-02 12:24:11.351 FINER com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle: r2_increment_left_margin_by_keyword_outside_node: set margin to 16 spaces at 64.
...
2021-09-02 12:24:16.379 INFO com.oracle.truffle.host.HostMethodDesc$SingleMethod$MHBase invokeHandle: d2_log_time: formatted 131582 chars and 27894 nodes in 65.89 seconds.

Section
Start
End
Elapsed Time in seconds

r2_decrement_left_margin_for_function_name
12:23:25.868
12:23:27.156
1.288

r2_increment_left_margin_by_keyword_outside_node
12:23:27.248
12:24:11.350
44.102

So 68.9% of the time is spent in these two calls.
It's important to note that the subsequent log entry in both cases is just a millisecond later. The first assumption is that the Arbori query must be responsible for that.
And in fact this Arbori query takes a bit more than a second when executed in SQLDev (for 850 result tuples):
r2_decrement_left_margin_for_function_name:
        ([node^) function | [node^) function_expression | [node^) count | [node^) over_clause)
      & [lparen) '('
      & [lparen = node)
;

And this Arbori query takes about 45 seconds when executed in SQLDev (for 82 result tuples):
r2_increment_left_margin_by_keyword_outside_node:
    -- select statement
      [node) select_list & [keyword) 'SELECT' & (keyword = node-1 | keyword = node-2)
    | [node) condition & [keyword) 'CONNECT' & [keyword+1) 'BY' & keyword = node-2
    | [node) condition & [keyword) 'START' & [keyword+1) 'WITH' & keyword = node-2
    -- update statement
    | [node) aliased_dml_table_expression_clause & keyword = node^
    -- delete statement
    | [node) 'FROM' & [keyword) 'DELETE' & [node^) delete & keyword+1 = node
    -- merge statement
    | [node) merge_update_clause[36,56) & [keyword) 'SET' & [node^) merge_update_clause & keyword^ = node^
;

Interesting is that the Arbori queries are fast when reduced to the scope of a single statement (select, update, delete, merge). In fact just splitting the query into two (select and the rest) makes the queries fast.
Hence splitting the second Arbori query should the performance significantly.

I do not see how to optimize the query r2_decrement_left_margin_for_function_name at the moment. I think the problem is that [node) is not defined. However, that's wanted, because we look for an arbitrary number of node types. It's not an option to list them all.


Just want to improve favicon is only added to index.html and i just want to add favicon to all the html pages

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

I want to help implement this feature. Assign it to me.

b


How to change the startup status

我想让开关每次通电都自动打开，应该怎么修改源码？
How to change the startup status？
I want to turn on the switch every time automatically open, how to modify the source code?

Careless mistakes have been destroyed by a ESP8266

  lastRelayState = EEPROM.read(0);   if (rememberRelayState && lastRelayState == 1) {     digitalWrite(LED, LOW);     digitalWrite(RELAY, HIGH);   }
to
//lastRelayState = EEPROM.read(0);   lastRelayState = 1   if (rememberRelayState && lastRelayState == 1) {     digitalWrite(LED, LOW);     digitalWrite(RELAY, HIGH);     mqttClient.publish(MQTT::Publish(MQTT_TOPIC"/stat", "on").set_retain().set_qos(1));   }
Right？

@KmanOz help......................55555555555555555555555

Not the last state，Initial state。


Add ExaSPIM subject procedure tracking sheet endpoint

Procedure metadata for ExaSPIM brains is being tracked in an Excel workbook and will be for the foreseeable future.  Let's add a mapping service endpoint to extract out viral injections / other procedures.
Subject procedure tracking sheet:
https://alleninstitute.sharepoint.com/:x:/s/NeuralDynamics/EeZRHQRyy9xIjXyRfIZHyjcBkInCouRWPK1ZP8XmvLJA1w?e=nOgGFi
Acceptance Criteria:

[ ] Meet with Daphne and David/Saskia to get an overview of the sheet.
[ ] Add an endpoint to the metadata service that can extract subject procedures from this sheet.
[ ] When a /procedures call comes in, check this sheet (in addition to the two Sharepoint databases).
[ ] Output conforms to the latest Procedures schema.

Blocked. Service account needs read-only permissions to access this file.

Putting this back on the backlog until we find out whether or not this information can be retrieved from a different database. The current progress is tracked on the branch: https://github.com/AllenNeuralDynamics/aind-metadata-service/tree/feat-90-extra-exaspim/src/aind_metadata_service

Blocked again. Exploring LAS to see if this info is in there.

Not gonna do it


Cache build dependencies installed build time on Circle

Tested with this branch:
No cache: https://circleci.com/gh/banzaicloud/pipeline/3879
Loading dependencies from cache: https://circleci.com/gh/banzaicloud/pipeline/3880


UI - screen clears briefly when saving model

when saving a model, the screen will completely clear, causing a bad user experience
see https://github.com/harymitchell/mscs-ml/blob/master/src/app/models/models.component.ts#L537

Added a loading icon to indicate to the user that the system is busy.
https://github.com/harymitchell/mscs-ml/commit/13012f4b8b294d130a00aca4c2844a04de08fda4


Web search Agent triggering

I've been playing a bit with the web search functionality. The basic one (Include Web Search option) works pretty well with Mistral-7B-Instruct-v0.2 already.
Although the Agent seems even more interesting!
But I encounter an issue, sometimes the search is just not triggered, it looks like the model is actually hallucinating the answer.
Better than explaining, here is an example:

What is Mixtral 8x7B ?

What are Mixtral 8x7B recent news?

As you can see this time it did trigger the web search (this specific one fails after with a "Could not parse LLM output" error though, but that's another issue)

Is it because of the model I'm using? Any way to fine tune that or the 7B models are still just not powerful enough?
EDIT. Got one fully working, just to show this model is pretty capable :

The agent stuff in langchain, e.g. search, is pretty fragile.  It's a standard problem for agents.

Sorry I've totally forgot I opened this issue, for reference an easy fix is to add "Observation:" to the model's stop word.
Search then work very well, even for small models!

@bonswouar can you say what your changes are?
For all models I checked, I see ['\nObservation:', '\n\tObservation:'] is present.  But I think you   may be saying that Observation was missing a new line when went bad?
I didn't see that particular problem.  Seems to work fine.
I don't see a missing \n before Observation: in your example, but I can see it is all green.
So maybe you can explain which model type failed for you (HF transformers, GGUF, etc.).

Also, the biggest problem I've seen with search is that  most models even 70B llama-2 don't know when to stop.  I've not had the issue of missing stop word so could to know what your start command so I can reproduce, and if you can share your changes that's good too.

So maybe you can explain which model type failed for you (HF transformers, GGUF, etc.). Maybe there is a specific code path that is not doing the right thing.

I've been testing with TheBloke/Mistral-7B-Instruct-v0.2-GGUF

For all models I checked, I see ['\nObservation:', '\n\tObservation:'] is present. But I think you may be saying that Observation was missing a new line when went bad?

Do you mean  ['\nObservation:', '\n\tObservation:'] is already set as stop sequences?
I actually "fixed" in a small local project only, when playing with basic langchain Agents (as I was often having the same issue), uding ollama. Not in h2ogpt directly.
Not sure how it works exactly with llamacpp, but with ollama you can add any STOP parameters and it will reliably stop the generation.
I did a quick search, apparently that's called reverse-prompt with llamacpp, but not sure if it works exactly the same way. I don't find any reference in h2ogpt, do you actually use it? Maybe I'm totally on the wrong track though :)

Ya langchain already adds those stop words.

Are you sure about that? I didn't dig much into langchain's mechanisms but I feel like it adds those as instructions (or system prompt?), but it doesn't utilise the proper reverse_prompt feature in this case.
Or maybe reverse_prompt implementation is somewhat unreliable with llama-cpp-python?
For example if you look at crewAI, it also uses langchain, with ollama, and recommends adding the custom stop word
And I confirm it does make it much more reliable (it never continues after "Observation:" after adding it to the Modelfile)

Yes, langchain adds them as I can see when debugging and seeing how things work, and h2oGPT never adds them.  Each agent type adds specific stop words.
The issue is that depending upon the model type, langchain has some bugs, so that the stop words don't get passed along properly. I think this is still true.  So I had to add a bit of code just so that the stop words are passed along for some LLM types.  I'll check llama.cpp again for h2oGPT, thanks.

Thanks,  it was just my mistake of not allowing the stop words to pass through, I pushed a fix.

python generate.py --base_model=TheBloke/Mistral-7B-Instruct-v0.2-GGUF --score_model=None

Awesome, thanks @pseudotensor
(and great question to ask the llm btw)
I can confirm it now works with the original example:

Can't wait to see even more capable small models :)


Assign extra topics during rebalance

Hey!
Thanks for the really nice library.
I'm in the process of trying to migrate some code from confluent_kafka_go (librdkafka) over to use franz-go, but I've run into a problem with altering topic assignments during rebalance.
It's a little unorthodox, but this consumer subscribes to a regex, and adds extra topics to the assignment based on those that it gets assigned.
So for example, it might subscribe to ^.+\.foo$, get assigned topicA.foo, and then during the rebalance, it adds and assignment for topicA.bar alongside topicA.foo.
In rdkafka this works fine, but it seems franz-go is too smart and skips these topics:
2022-10-11T19:13:42Z ERR BUG! consumer was assigned topic that we did not ask for in ConsumeTopics nor ConsumePartitions, skipping!

https://github.com/twmb/franz-go/blob/3191842a81033342e8d37a529bd0a1b3d190fd9f/pkg/kgo/consumer.go#L924
Basically, I want to be able to subscribe to one set of topics, and ensure that for each assigned topic, the same instance consumes from another related topic.
The only idea I have to doing this in franz-go is to run a second Client that I use for "ad-hoc" subscriptions and then whenever a topic gets assigned in the regex client, I use AddConsumeTopics to add a subscription for the companion topics in the second Client.
It'll require a bunch more coordination logic, but I think it's doable and shouldn't add too much overhead to the kafka cluster (I hope).
Any ideas?

Did you implement a custom balancer?
I'm not sure how this would work in the context of incremental rebalancing (KIP-429). I was staring a bit at the code yesterday and I think wiring this in would be a bit complicated to support doing this in one client alone. I'm guessing, but does each topic have a single partition as well?
Having a second client seems like a decent solution. In client 1 (regex consumer), you can use OnPartitionsAdded to call AddConsumeTopics in client 2, and you can use OnPartitionsRevoked to call PurgeTopicsFromClient in client 2. I think this should work...
I'm not sure how much sense to support this within one client, and it'd be a bit awkward for cooperative consuming. I'm not sure how librdkafka supports this in addition to cooperative consuming. This is easier to support for eager consuming: all clients just give up all partitions and then rejoin. For cooperative, clients tell the leader which partitions they are currently consuming ... and I'm not sure how to handle the extra side topics, both for the join request and for when to revoke these extra partitions within the client.

An alternative would be to implement a custom balancer and consume from all possible topics: ^.+\.(?:foo|bar)$. In the leader, balance only the foo topics, and then have a second pass that gives all bar topics to the member that is assigned the corresponding foo topic.
 It's a bit tricky due to trying to keep the API generic true to the underlying protocol, but then also provide helpers for the common ("consumer") protocols.

Thanks for the quick reply.
Yeah, each topic does have a single partition. I probably should have been more clear about that -- I guess more accurately when a consumer instance gets assigned topicA.foo-0, it also wants topicA.bar-0.
I don't use a custom balancer, so I'm not sure how it works under the hood. To be fair, I am using the round-robin balancer (switching to cooperative-sticky is actually one of the reasons I'm porting this code over to franz due to a bug in the Go bindings for rdkfaka: https://github.com/confluentinc/confluent-kafka-go/issues/649), so I'm not 100% sure that my approach would work with a sticky balancer in rdkafka.
A custom balancer sounds like a pretty good idea, but I think it'd mean a bit more refactoring that I care for in the short term. I might give a second client a try and see how that goes.
Thanks for the help.

Ah, just ran into the first couple road blocks with the dual client approach.
One is that I can't create an empty client: https://github.com/twmb/franz-go/blob/ac130a166ab5d4751af60902b9a84fc5f5cbaf0f/pkg/kgo/config.go#L347-L350
I hacked around this for now by subscribing to a non-existent topic, which logs a bunch of errors (that I can't quite tell if they're causing problems or just noise):
INF metadata update triggered why="re-updating due to inner errors: UNKNOWN_TOPIC_OR_PARTITION{nonexistent-topic}

This causes other problems because not all of the "bar" topics exist. With rdkafka I got the warning in-band and was able to log it once and then swallow any further messages.
I guess I'll give the custom balancer approach a try.

A couple things:
How were you doing this with librdkafka without a custom balancer? I'm not sure how / where you added the extra topics. Also, how did you remove the extra topics from being consumed once a rebalance happened? What balancer were you using with librdkafka?
If an API existed to allow adding extra topics after group assignment has happened, what do you think about an extra requirement that you must also say which extra topics are revoked once a revoke happens?
// AdjustGroupBalancePlan allows adjusting a group balance plan after the
// leader has assigned partitions but before consuming of those partitions
// happens. The leader's plan is passed to onAssign; any extra topic partitions
// returned will have their offsets fetched.
//
// If using a cooperative balancer, any extra partitions you add are not
// revoked on rebalance. onRevoked is given partitions that are being revoked,
// you must return any extra partitions that should be revoked. onRevoke is not
// used for eager rebalancers; eager rebalancers always revoke everything.
func AdjustGroupBalancePlan(onAssign, onRevoke func(map[string][]int32) map[string][]int32) GroupOpt

I don't know how feasible this option is, but I think that'd solve your problem.
re: can't create an empty client, I could remove this restriction. The restriction made sense before I added AddConsumeTopics. However, I'm still not sure it's worth removing this restriction because I'm not sure it's useful to allow joining a group with no topics. I didn't realize that the bar topics you mention are also in the same group, and also have commits. That makes it a bit challenging as well.
Custom balancer is also an option -- overall, you're already somewhat doing custom balancing, but you're piggybacking on existing balancers and then modifying the end results. I'm not sure how technically sound that is -- you'll have problems if you switch to another client that doesn't support the behavior your need -- but I guess if all group members consistently follow the same behavior, it may be fine.

I just passed a rebalance callback to Consumer.Subscribe,
and then in the rebalance callback I added the extra TopicPartitions that I wanted, and called Consumer.Assign with the full set of partitions this consumer instance wanted to handle ¯_(ツ)_/¯
I was using the round-robin balancer, so it's possible that this is why everything Just Worked -- on rebalance all the partitions were revoked?
That AdjustGroupBalancePlan API seems like it would work.
I managed to get a custom balancer working today, and I think this is basically what I'm doing. I created a balancer that is a wrapper around another balancer, strips out the "sibling" topics, lets the child balancer balance the primary topics, and then goes through the plan and adds sibling topics to the members that have the primary topics (basically what you suggested originally). I've only done lightweight smoke testing so far, but from what I can tell, it seems to work!
At the moment I'm still wrapping the round-robin balancer, but once I confirm this works I'll try switching to cooperative-sticky.

Maybe off topic @twmb but I have an incremental rebalancer implementation in kgo as part of https://github.com/aws/go-kafka-event-source/tree/main/streams
Built on jog, don’t know if satisfies the KIP or not.  I doubt it

@alistairking since you're able to make this work, I think I'm going to leave the AdjustGroupBalancePlan option as a feature request for now (good first issue, help wanted). It's a pretty niche request that I'm not the most keen to wire in right now. I'll happily review a pull request if you have one :sweat_smile: otherwise I'll leave it on the back burner similar to my own requested feature #214.
@ssorren that's quite an impressive usage of the library and building your own balancer. It almost certainly doesn't satisfy a KIP because, well, every KIP defined balancer is already in the library :D. I'm curious to see where you're taking it.

@ssorren that's quite an impressive usage of the library and building your own balancer. It almost certainly doesn't satisfy a KIP because, well, every KIP defined balancer is already in the library :D. I'm curious to see where you're taking it.

Well, the library I built provides for StateStores and the idea is to ensure that a state store is fully consumed/initialized on the consumer that will be receiving the partition before assigning it. Next step will be to have consumers assigned "stand by" partitions, so that we can recover form failures quickly.

I spent a solid chunk of time working on this to see how feasible AdjustAddLossFn would be to add. In short, it's a bit impractical to add to the client itself. Adding new topics is fine, but once a topic is added to the client, the client deems the topic interesting and will continue expressing interest in the topic once a rebalance happens. So, if the client is assigned "foo" and adds "bar", then both "foo" and "bar" will be topics to consume on the next rebalance. The client would have to purge "bar" once a rebalance happens.
This is all a bit risky because there's a separate flow where you could manually add and remove those topics, and there would have to be a fair chunk of instrumentation to add just to determine "does this topic exist because we were explicitly assigned the topic, or does the topic exist because it is a sibling topic?".
I think, since a manual balancer approach works somewhat, I'm going to close this request for now. It's more challenging than I expected with some ambiguous edge conditions. Perhaps, if a similar request comes up down the line, I'll revisit.

I really appreciate the time you spent looking at this and all the advice!
Feel free to close the issue, I'm pretty happy with the custom balancer approach.


Add support of telegram bot api 2.1

Added more tools for group administrator bots. Your bot can now get a list of administrators and members count in a group, check a user's current status (administrator, creator, left the group, kicked from the group), and leave a group.
Added new methods: getChat, leaveChat, getChatAdministrators, getChatMember, getChatMembersCount.
Added support for edited messages and new mentions from Telegram v.3.9. New fields: edited_message in Update, edit_date in Message, user in MessageEntity. New value text_mention for the type field in MessageEntity.

Resolved in #51


[RFC] Engine API: is payload statuses worth reworking?

Currently, Engine API has the following payload statuses:

VALID - payload is valid, requires full validation
INVALID - payload is invalid, doesn't require full validation (block header values might be invalid)
INVALID_BLOCK_HASH - recently became equal to INVALID, see https://github.com/ethereum/execution-apis/issues/270
ACCEPTED - a side chain payload hasn't been validated, but ancestors of this payload are locally available
SYNCING - parent block of a payload is unknown; or equals to ACCEPTED if EL doesn't support ACCEPTED

The problem of utilizing ACCEPTED is that it does not preclude EL from pulling pieces of state from the network in order to obtain a parent state of a payload in question.
Apart from EL's implementation complexity, I am curious if we had a clear status meaning "I can compute parent state locally" would CL make use of it? If a state can be locally computed it should take less time and preclude the possibility of DA issues.
If yes then we could have the following statuses (names are picked for clarity not for brevity, so we can leave the same names):

VALID
INVALID
MISSING_DATA - parent block is unknown or parent state can't be locally computed, reorg to this block implies SYNCING
HAS_REQUIRED_DATA (ACCEPTED) - parent state is unknown but is locally computable
VALIDATING (SYNCING) - EL is either computing a parent state or pulling data from the network and will validate a payload once parent state is obtained

ELs are free to choose to not HAS_REQUIRED_DATA  and always response MISSING_DATA instead. But if EL do support the former, CL may optimise for such a support.
This proposal changes a set of statuses for Engine API methods in the following way:

newPayload: VALID | INVALID | MISSING_DATA | HAS_REQUIRED_DATA
forkchoiceUpdated: VALID | INVALID | VALIDATING

Optimistic sync has proven to be one of the trickiest paths in our code. Only a few within the team know how the pieces patch together and the full myriad of subtle edge cases that can appear. While I appreciate that the API could be improved, I would be very much opposed to any change on these paths before the merge unless it's strictly necessary.

Well, partly because of this trickiness, but also in general because it's probably not ideal for it to be an effective requirement for reliable syncing without specifying ELs be in full-sync modes, creating the potential for non-optimistic sync to function would be useful. This change would facilitate that by clarifying for a CL that it should relatively bounded in time for an EL to return either VALID or INVALID.
One (not the only, but one) reason it's not that feasible to do anything beyond optimistic sync currently in a broadly compatible way is exactly that it depends on understanding the EL state in a way the engine API doesn't allow and the rest of the JSON-RPC eth namespace doesn't specify with sufficiently precise detail.
This would begin doing that.


Upgrade pkg/helm

This PR is stacked on top of others!
Please consider reviewing those PRs first. This message will be removed once prerequisite PRs are merged and this one is rebased.

f126545423ce018f4821d3b7570d3f34f5a524a9 is from #1054
8798ce0f5cd72ee07b70f28ebe574207c2ae0a15 is from #1055

63533ad5a94a070c019c65efb425a44969cbdae8 Upgrade pkg/helm
This commit upgrades to use a more standardized way of converting
structs into CLI flags ala ToFlags. It also implements a few more helm
function.

TFTR!


[OkCoin] Margin api support

Just add support margin api to raw service. Didn't modify exist code.

Not ready, detect problems after testing.


[DIP] replace C-style variadic function with std::vector

The checkDIPCommonTypes function uses C-style variadic arguments only for passing variadic numbers of the same type arguments, which should be avoided in C++. It is recommended to replace this usage with std::initializer_list or std::vector.
This PR also fixes the compilation failure in clang++, which will give a warning (as an error) for non-POD type Value in va_arg.

Can you please specify the clang version which leads to the mentioned failure

I was able to reproduce the error.
(Ref : https://github.com/meshtag/buddy-mlir/actions/runs/3439561667/jobs/5737001087#step:6:4405 )

Can you please specify the clang version which leads to the mentioned failure

Sorry for the late reply, I use clang 14 on my machine. Here is the output of clang -v:
clang version 14.0.5 (Fedora 14.0.5-1.fc36)
Target: x86_64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/12
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/12
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64

These modifications seem to work on macos-latest configuration.
(Ref : https://github.com/meshtag/buddy-mlir/actions/runs/3442213404/jobs/5742558798 )


routing exercise question

Hello,
Why is for example koa-router not used for this exercise.
It makes much more sense then working with path and a lot of if 's
Roelof

add some route middlewares in problem.md,  keep this exercise simple and let people know how to implement a router in koa.


AttributeError: 'NoneType' object has no attribute 'action_space'

Traceback (most recent call last):
File "train_il.py", line 269, in
train()
File "train_il.py", line 109, in train
trainer = eval(config.TASK_CONFIG.IL_TRAINER)(config, policy)
File "/data/polaris/TopologicalSemanticGraphMemory-master/trainer/il/il_trainer.py", line 15, in init
self.env_wrapper = eval(cfg.IL.WRAPPER)(None)
File "/data/polaris/TopologicalSemanticGraphMemory-master/trainer/il/il_wrapper.py", line 11, in init
super().init(env)
File "/data/Tool/anaconda3/envs/tsgm/lib/python3.7/site-packages/gym/core.py", line 227, in init
self.action_space = self.env.action_space
AttributeError: 'NoneType' object has no attribute 'action_space'
I meet this problem. Can you help me?

exactly same problem here! Have you managed to solve it?

Hello, Thanks for your interest in our work :).
I think gym version is mismatched. please downgrade the gym version.
Thanks


Document and generalize script to reproduce IGC problems

@whitneywhtsang  Please share other than matmul and dot do we have any other IGC regressions.

@whitneywhtsang Please share other than matmul and dot do we have any other IGC regressions.

We also had regressions with test_convert2d before. We would like to have generalize script to create reproducer for IGC.

@kballeda what is the current ticket status, ETA to complete it?

@vlad-penkin Early next week, Thanks

@etiotto  Implemented a version which I need to get it reviewed from you. I have setup a meeting on the same. In my implementation generic template C++/L0/SYCL launcher program created  this is common for all the use cases. The only input that you need to provide is an input file consisting of information about kernel arguments, types and input data.
If you want to create a matmul based reproducer you just need to provide the input file with following information.
Tokens - Array, Var, SM, GID has special meaning similarly data type, input data file and input/output types of arguments representing 0/1. I will share this more in the meeting.
Array, half, ./data/a.bin, 0 Array, half, ./data/b.bin, 0 Array, float, ./data/th.bin, 1 Var, int, 128, 0 Var, int, 256, 0 Var, int, 32, 0 Var, int, 32, 0 Var, int, 256, 0 Var, int, 256, 0 SM, int, 32768, 0 GDIM, 1, 1, 1, 8, 32

@ienkovich and @alexbaden can you look at the implementation too?

@kballeda we need the code to create the reproducer you showed us in a call. Do you have it somewhere ?

Closing in favor of #1471 and #1472


[DOCFIX][branch-1.6] Fix OSS doc

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16730/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16731/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16732/
Test PASSed.


Migrate mysql Checks to newer Checkmk Plugin API

Based on infos from https://docs.checkmk.com/2.2.0/de/devel_check_plugins.html

@moschlar
Thank you very much for that changes.
But that is not the new API, that is just the one from 2.2. We have some Checks here, which already use the new, v2 API. But this new API did not make it to the Checkmk docs yet.
But anyway, this should at least be enough to make it work on 2.3. Just for 2.4 we need to build it new then.
Could you just also update the info file, to give the new paths and a new version number so that I can build the mkp out of it? ./mkpacker is the command, but the param is pack_legacy because pack is using the real new api :)

:tada:


Added an 'index.html' file to represent the index of all CLI artifacts.

This PR adds files to the scripts folder for publishing a list of all CLI artifacts to S3. The artifacts themselves are scraped from downloads.dcos.io/cli/releases and published as an artifacts.json file that is then read and rendered by a small html/css/javascript app.
A live version of the index can be seen here:
https://downloads.dcos.io/cli/index.html
Two different script are used to publish the necessary artifacts for this index.
The first is publish_index.py which publishes all of the necessary files required to render the index. This script should not need to be ran very often, and is only necessary if changes are made to any of the files used to implement the rendering of the index.
The second is publish_artifacts.py which publishes a JSON file listing all of the artifacts that should be displayed in the index. This script should be ran every time we publish a new artifact to S3 which we want to publish as a new release. This applies to both CLI releases themselves, as well as plugins.
In a subsequent commit we should add the calling of publish_artifacts.py to our CI as a step in publishing any of our release artifacts.

@bamarni do you think this script belongs in this repo or elsewhere? It needs to be run anytime there is a new artifact published for binaries and plugins (including the EE CLI).

I'd rather see it in dcos/dcos-cli as it's a more generic cli repo.


LwM2M interoperability tests [0 - 399]

I have implemented LwM2M interoperability tests from the test specification:
OMA Enabler Test Specification (Interoperability) for Lightweight M2M
This PR contains test specified in following areas:

Bootstrap Interface: [0-99]
Registration Interface [100-199]
Device management & Service Enablement Interface [200-299]
Information Reporting Interface [300-399]

Tests and environment are documented in tests/net/lib/lwm2m/interop/README.md
Current status

Test case
Status
Notes

LightweightM2M-1.1-int-0 - Client Initiated Bootstrap
:white_check_mark:

LightweightM2M-1.1-int-1 - Client Initiated Bootstrap Full (PSK)
:white_check_mark:

LightweightM2M-1.1-int-101 - Initial Registration
:white_check_mark:

LightweightM2M-1.1-int-102 - Registration Update
:white_check_mark:

LightweightM2M-1.1-int-103 - Deregistration
:large_orange_diamond:
We don't have "disabled" functionality in server object

LightweightM2M-1.1-int-104 - Registration Update Trigge
:white_check_mark:

LightweightM2M-1.1-int-105 - Discarded Register Update
:white_check_mark:

LightweightM2M-1.1-int-107 - Extending the lifetime of a registration
:white_check_mark:

LightweightM2M-1.1-int-108 - Turn on Queue Mode
:white_check_mark:

LightweightM2M-1.1-int-109 - Behavior in Queue Mode
:white_check_mark:

LightweightM2M-1.1-int-201 - Querying basic information in Plain Text
:white_check_mark:

LightweightM2M-1.1-int-203 - Querying basic information in TLV format
:white_check_mark:

LightweightM2M-1.1-int-204 - Querying basic information in JSON format
:white_check_mark:

LightweightM2M-1.1-int-205 - Setting basic information in Plain Text
:white_check_mark:

LightweightM2M-1.1-int-211 - Querying basic information in CBOR format
:white_check_mark:

LightweightM2M-1.1-int-212 - Setting basic information in CBOR format
:white_check_mark:

LightweightM2M-1.1-int-215 - Setting basic information in TLV format
:white_check_mark:

LightweightM2M-1.1-int-220 - Setting basic information in JSON format
:white_check_mark:

LightweightM2M-1.1-int-221 - Attempt to perform operations on Security
:white_check_mark:

LightweightM2M-1.1-int-222 - Read on Object
:white_check_mark:

LightweightM2M-1.1-int-223 - Read on Object Instance
:white_check_mark:

LightweightM2M-1.1-int-224 - Read on Resource
:white_check_mark:

LightweightM2M-1.1-int-225 - Read on Resource Instance
:white_check_mark:

LightweightM2M-1.1-int-226 - Write (Partial Update) on Object Instance
:white_check_mark:

LightweightM2M-1.1-int-222 - Read on Object
:white_check_mark:

LightweightM2M-1.1-int-223 - Read on Object Instance
:white_check_mark:

LightweightM2M-1.1-int-224 - Read on Resource
:white_check_mark:

LightweightM2M-1.1-int-225 - Read on Resource Instance
:white_check_mark:

LightweightM2M-1.1-int-226 - Write (Partial Update) on Object Instance
:white_check_mark:

LightweightM2M-1.1-int-227 - Write (replace) on Resource
:white_check_mark:

LightweightM2M-1.1-int-228 - Write on Resource Instance
:white_check_mark:
#64011

LightweightM2M-1.1-int-229 - Read-Composite Operation
:white_check_mark:
#64012 #64189

LightweightM2M-1.1-int-230 - Write-Composite Operation
:white_check_mark:

LightweightM2M-1.1-int-231 - Querying basic information in SenML JSON format
:white_check_mark:

LightweightM2M-1.1-int-232 - Querying basic information in SenML CBOR format
:white_check_mark:

LightweightM2M-1.1-int-233 - Setting basic information in SenML CBOR format
:white_check_mark:

LightweightM2M-1.1-int-234 - Setting basic information in SenML JSON format
:white_check_mark:

LightweightM2M-1.1-int-235 - Read-Composite Operation on root path
:large_orange_diamond:
Root Path is not yet supported by Leshan.

LightweightM2M-1.1-int-236 - Read-Composite - Partial Presence
:white_check_mark:

LightweightM2M-1.1-int-237 - Read on Object without specifying Content-Type
:white_check_mark:

LightweightM2M-1.1-int-241 - Executable Resource: Rebooting the device
:white_check_mark:

LightweightM2M-1.1-int-256 - Write Operation Failure
:white_check_mark:

LightweightM2M-1.1-int-257 - Write-Composite Operation
:white_check_mark:

LightweightM2M-1.1-int-260 - Discover Command
:white_check_mark:

LightweightM2M-1.1-int-261 - Write-Attribute Operation on a multiple resource
:large_orange_diamond:
Leshan don't allow writing attributes to resource instance

LightweightM2M-1.1-int-280 - Successful Read-Composite Operation
:white_check_mark:

LightweightM2M-1.1-int-281 - Partially Successful Read-Composite Operation
:white_check_mark:

LightweightM2M-1.1-int-301 - Observation and Notification of parameter values
:white_check_mark:

LightweightM2M-1.1-int-302 - Cancel Observations using Reset Operation
:white_check_mark:

LightweightM2M-1.1-int-303 - Cancel observations using Observe with Cancel parameter
:large_orange_diamond:
Leshan only supports passive cancelling

LightweightM2M-1.1-int-304 - Observe-Composite Operation
:white_check_mark:

LightweightM2M-1.1-int-305 - Cancel Observation-Composite Operation
:large_orange_diamond:
Leshan only supports passive cancelling

LightweightM2M-1.1-int-306 – Send Operation
:white_check_mark:
#64290

LightweightM2M-1.1-int-307 – Muting Send
:white_check_mark:

LightweightM2M-1.1-int-308 - Observe-Composite and Creating Object Instance
:white_check_mark:
#64634

LightweightM2M-1.1-int-309 - Observe-Composite and Deleting Object Instance
:white_check_mark:
#64634

LightweightM2M-1.1-int-310 - Observe-Composite and modification of parameter values
:white_check_mark:

LightweightM2M-1.1-int-311 - Send command
:white_check_mark:

LightweightM2M-1.1-int-401 - UDP Channel Security - PSK Mode
:white_check_mark:

:white_check_mark: Working OK.
:large_orange_diamond: Feature or operation not implemented.
:red_circle: Broken

Bugfixes
As I'm writing tests, I'll try to write bugfixes as well. Those mentioned bugs are fixed in this branch, I'll submit a fix to main separately.

https://github.com/zephyrproject-rtos/zephyr/pull/64016
https://github.com/zephyrproject-rtos/zephyr/pull/64015
https://github.com/zephyrproject-rtos/zephyr/pull/64636

This PR is now ready to be reviewed & merged. Tests are passing and I have implemented testcases 0 - 399 from the spec, if those can be implemented. Found issues have been fixed, and fixes have been merged.
Work can continue to implement the remaining ones in a separate follow up PR.

Be careful with Leshan demo HTTP API; it's not stable and tightly coupled with the demo UI

Hi, I'm Leshan project lead.
Glad to see most of the test are ✅.
Regarding the comment concerning Leshan :

🔶 Root Path is not yet supported by Leshan.

We are working on it. I hope this will be available soon.

🔶 Leshan don't allow writing attributes to resource instance

I will try to take time next week to verify that but it should work... :thinking:

🔶  Leshan only supports passive cancelling

This is supported by the library but not server-demo.
I plan to add it because it's the only way to cancel observation with coap+tcp
About using leshan-server-demo and leshan-bsserver-demo :
Even if I understand why people reuse it, our demos are not really intended to be reused. Especially in production.
For tests, this is maybe less a problem but you should keep in mind that API could be break at any moment.
See : https://github.com/eclipse-leshan/leshan/wiki/F.A.Q.#could-i-reuse-leshan--demo-
But once we say that a question remains :  "what should be the good way to do that ?" :thinking:
If you want to discuss about that : https://github.com/eclipse/wakaama/issues/617#issuecomment-1792693524

@sbernard31

Hi, I'm Leshan project lead.
Glad to see most of the test are ✅.
Nice to meet you, and thank you for taking interest on this PR.

Myself, I'm not a maintainer here, but I have been accepted as a "collaborator" in Zephyr's LwM2M stack. It means that I'm a contributor whose review also counts as approval.  Past two years me and my team have been quite actively developing this stack forward.

Even if I understand why people reuse it, our demos are not really intended to be reused. Especially in production. For tests, this is maybe less a problem but you should keep in mind that API could be break at any moment.

I am aware of this guidance. However, the REST API on it, makes if by far the most easiest interface to attach into when we run tests using Pytest.
Since the code we develop is C and interactive tests are written in Python using this new integration of our test framework and Pytest, I don't want to introduce yet another layer there, for example by introducing another language.
Having no promises on API stability is a fact that we can live with. When tests break, we can roll back to some known version tag and continue using that until we update the tests.
I'll go through the discussion chain that you pointed out. I might leave some comments as well, if there is anything I think is worth mentioning.


Compatibility problem with opencv-python ?

Hi ! I work on Windows 10, using python 3, and I ensured my version of opencv-python is up to date. I'm trying the minimal example given in VimbaX documentation to get a simple picture :
from vmbpy import *
import cv2
with VmbSystem.get_instance () as vmb:
    cams = vmb.get_all_cameras ()
    with cams [0] as cam:
        frame = cam.get_frame ()
        frame.convert_pixel_format(PixelFormat.Rgb8)
        print(frame)
        cv2.imwrite('frame.jpg', frame.as_opencv_image ())

However, all I get is the print :
Frame(id=0, status=FrameStatus.Complete, buffer=0x2a7b34cd040),
then an error :
ValueError      Traceback (most recent call last)
Cell In[15], line 8
      6 frame.convert_pixel_format(PixelFormat.Rgb8)
      7 print(frame)
----> 8 cv2.imwrite('frame.jpg', frame.as_opencv_image ())

File ~\AppData\Local\anaconda3\lib\site-packages\vmbpy\frame.py:614, in Frame.as_opencv_image(self)
    611 fmt = self._frame.pixelFormat
    613 if fmt not in OPENCV_PIXEL_FORMATS:
--> 614     raise ValueError('Current Format \'{}\' is not in OPENCV_PIXEL_FORMATS'.format(
    615                      str(PixelFormat(self._frame.pixelFormat))))
    617 return self.as_numpy_ndarray()

ValueError: Current Format 'Rgb8' is not in OPENCV_PIXEL_FORMATS

I tried using version 1.0.2 of vmbpy, but when importing the package I got another error, saying the version did not match the expected 1.0.0.
Using PixelFormat.Bgr8 in frame.convert_pixel didn't change anything to the situation, and I run out of options. Is there a way to fix this ?

Hi,
the convert_pixel_format() function returns a new frame object. The original frame object remains unchanged, so it still has the same pixel format that the camera is set to.
Change the code like this and it should work:
from vmbpy import *
import cv2
with VmbSystem.get_instance () as vmb:
    cams = vmb.get_all_cameras ()
    with cams [0] as cam:
        frame = cam.get_frame ()
        new_frame = frame.convert_pixel_format(PixelFormat.Bgr8)

        print(frame)
        cv2.imwrite('frame.jpg', new_frame.as_opencv_image ())

The available Opencv Pixelformats are the following (from the source code):
OPENCV_PIXEL_FORMATS = (
    PixelFormat.Mono8,
    PixelFormat.Bgr8,
    PixelFormat.Bgra8,
    PixelFormat.Mono16,
    PixelFormat.Bgr16,
    PixelFormat.Bgra16
)

Thank you very much, it worked well !


Removed protobuf dependency

Removed protobuf dependency

@pankajkoti @Lee-W This PR was raised for debugging. We don't need this. Closing it.


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/docs-archive-test

Docs Build status updates of commit 08c4a59:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

archvieTargetFolder/content/someContent.md
:bulb:Suggestion

Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archvieTargetFolder/TOC.yml
:white_check_mark:Succeeded

archvieTargetFolder/content/sql-database-engine.png
:white_check_mark:Succeeded

archvieTargetFolder/docfx.json
:white_check_mark:Succeeded

archvieTargetFolder/content/someContent.md

[Suggestion] Missing attribute: author. Add the current author's GitHub ID. NOTE: This Suggestion will be elevated to a Warning on 9/1/2019.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


fix multiple function invocation

The language model can call multiple functions before returning a user facing response. This makes it so that this is handled correctly.

Would need a test for this

Ok, I added a test. It seems important to fix this, because I would consider the current behavior a bug.


Transport Service CC incorrectly nested in S2

18:57:42.759 DRIVER » [Node 002] [REQ] [SendDataBridge]
                      │ source node id:   1
                      │ transmit options: 0x25
                      │ callback id:      4
                      └─[Security2CCMessageEncapsulation]
                        │ sequence number: 47
                        │ ... snip ...
                        └─[TransportServiceCCSegmentWait]
                            pending segments: 0

fixed by #5731


#{male_last_name}

Something strange. Faker not work nor console nor seeds. And I have no idea what it is.
$ rails console
Running via Spring preloader in process 16715
Loading development environment (Rails 5.2.0.rc1)
[1] pry(main)> Faker::Name.last_name
=> "\#{male_last_name}"
[2] pry(main)> I18n.locale
=> :ru

$ grep fak Gemfile.lock
    faker (1.8.7)

[2] pry(main)> I18n.locale
=> :ru
[3] pry(main)> Faker::Name.last_name
=> "\#{female_last_name}"
[4] pry(main)> Faker::Name.name
=> "Марков Олег Леонидович"
[5] pry(main)> Faker::Name.name
=> "Михеев Игорь"
[6] pry(main)> Faker::Name.last_name
=> "\#{male_last_name}"
[7] pry(main)> Faker::Name.male_last_name
=> "Филатов"
[8] pry(main)> Faker::Name.last_name
=> "\#{female_last_name}"
[9] pry(main)> Faker::Name.female_last_name
=> "Брагина"
[10] pry(main)> I18n.locale = :en
=> :en
[11] pry(main)> Faker::Name.last_name
=> "Beahan"

@nleo I think I found the solution. I already created a PR and added a test for that 👍 Thanks for reporting.

This issue is related to this PR. Merged successfully 👍


Options to improve ingest performance

[x] Add duckdb-vip driver that doesn't enforce any limits
[x] Increase reconcile timeout to 59 minutes (not 60, to avoid force termination at ingress)
[x] Increase concurrent file downloads to 32 (from 8)
[ ] Consider: Configure insert batches by GBs downloaded instead of number of files downloaded

@begelundmuller Just realised we need to update this config as well :
		Connectors: []*runtimev1.Connector{
			{
				Name:   "olap",
				Type:   olapDriver,
				Config: map[string]string{"dsn": olapDSN},
			},
			{
				Name:   "repo",
				Type:   repoDriver,
				Config: map[string]string{"dsn": repoDSN},
			},
		},


Rework PYDANTIC_ERRORS_OMIT_URL to PYDANTIC_ERRORS_INCLUDE_URL

Change Summary
As discussed in https://github.com/pydantic/pydantic-core/pull/1118#issuecomment-1854040572, this turns the previously undocumented PYDANTIC_ERRORS_OMIT_URL envvar into PYDANTIC_ERRORS_INCLUDE_URL and adds documentation for it in pydantic_core.ValidationError.__repr__. A more user-surfaced bit of documentation for this would probably be good too.
Related issue number

see https://github.com/pydantic/pydantic-core/pull/1118#issuecomment-1854040572
closes https://github.com/pydantic/pydantic-core/pull/1118 (supersedes it)

Checklist

[x] Unit tests for the changes exist
[x] Documentation reflects the changes where applicable
[ ] Pydantic tests pass with this pydantic-core (except for expected changes)
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Please review (cc @davidhewitt).
I'm not quite sure why the pydantic integration test fails, unless there's something super simple I'm missing here...

@davidhewitt Happy new year! Small review request ping :)


Unwanted and Unticipated Mutes from all Sites when "mute blocked sites" feature is on

I troubleshooted it on my own and found out that even paid blocked websites goes muted by themselves. After a while.
Another thing is that even non-blocked websites mutes themselves when a "blocked website" tab has been paid and opened.
I think the reason is from the code of the mute feature. One of the best feature but not polished and ready for use just yet.
TLDR; websites gets muted as if someone is muting them after leaving the tab for 5 secs. regardless if its not in the block list

@Kaizen543 Should be fixed now :) let me know how it works for you.

It works perfectly. If no update after 4 days of use consider it fixed. 🥇


LWM2M in homie-esp8266

I love MQTT so Home has about everything I need. Be that as it may, I recently learned of a CoAP-based standard called LWM2M (overview slides).
This screenshot shows Leshaan in operation:

Do you think this would be a good fit for Homie-esp8266 in addition to MQTT? Using, say, Leshaan to control, and Wakaama as the client code, Homie-ESP8266-controlled devices could be managed with the OMA standard.

I am not sure it would be a good fit for Homie for ESP8266 in its current form, as it targets exclusively MQTT. Handling both MQTT and LWM2M would be too heavy. But this could be a good case for a fork.

I guess, after the stability issues we've seen with TLS, that we can agree it would be too heavy for our beloved ESP8266 chips. May I close this? :)


Question: RAM usage

I've notice when running bare bones colab consist of cloning the webui and downloading model, the ram usage is very high probably because the model is loaded in the ram and can cause colab to crash when the ram is filled.
Compared to yours which ram usage only about ~3gb and stays there, which part of the code do you use to improve the ram usage?

i believe it's this one
!wget http://launchpadlibrarian.net/367274644/libgoogle-perftools-dev_2.5-2.2ubuntu3_amd64.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/google-perftools_2.5-2.2ubuntu3_all.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libtcmalloc-minimal4_2.5-2.2ubuntu3_amd64.deb
!wget https://launchpad.net/ubuntu/+source/google-perftools/2.5-2.2ubuntu3/+build/14795286/+files/libgoogle-perftools4_2.5-2.2ubuntu3_amd64.deb
!apt install -qq libunwind8-dev
!dpkg -i *.deb
%env LD_PRELOAD=libtcmalloc.so
!rm *.deb

and this one
!sed -i -e '''/    prepare_environment()/a\    os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py

oh thank you, i guess i should look up what those google performance tools do.


minor text adjustments

Codecov Report

Merging #131 into dev will increase coverage by 5.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev     #131      +/-   ##
============================================
+ Coverage     55.81%   60.83%   +5.01%
+ Complexity     2673     2496     -177
============================================
  Files           319      312       -7
  Lines          6747     6191     -556
============================================
  Hits           3766     3766
+ Misses         2981     2425     -556

Impacted Files
Coverage Δ
Complexity Δ

src/Helper/ImageHelper.php
78.26% <0%> (ø)
15% <0%> (ø)
:arrow_down:

src/Service/ReportService.php
0% <0%> (ø)
87% <0%> (+8%)
:arrow_up:

src/Controller/Api/External/ReadController.php
98.54% <0%> (ø)
18% <0%> (ø)
:arrow_down:

src/Service/Report/Legacy/PdfDefinition.php

src/Service/Report/Legacy/PdfDesign.php

src/Service/Report/Legacy/Pdf.php

src/Service/Report/Legacy/PdfSizes.php

src/Service/Report/Legacy/Report.php

...rc/Service/Report/IssueReport/NewReportService.php

src/Service/Report/Legacy/ReportElements.php

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2198741...0c7ced4. Read the comment docs.


Retrieve categories in heirarchy

It would be great to be able to get a Categories collection with children categories already in the parent objects.
Right now, you can filter the Category array by .parent === 0 to get the "parent" categories, but there's no easy way to match up all the children categories to their parents.
On wordpress sites, there's a pretty standard category widget that you can drop in with a "Show hierarchy" option. I can imagine this is something that a lot of people will want to do with the api, and thus with this library.

@markgoho That's true, you should get all categories and then create a JSON tree corresponding to the parent field, I add this function in the next version.
another way is to extend the response from WordPress (by writing a plugin)

Yeah, it's like I know what should be done, but don't have the chops to
actually code it out. I'm glad this functionality will be in the next
release! Thank you!
On Wed, Feb 8, 2017 at 6:53 AM Murhaf Sousli<EMAIL_ADDRESS>wrote:

@markgoho https://github.com/markgoho That's true, you should get all
categories and then create a JSON tree corresponding to the parent field,
I add this function in the next version.
another way is to extend the response from WordPress (by writing a plugin)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MurhafSousli/ng2-wp-api/issues/13#issuecomment-278307872,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJTs0vIdPQ0pcCV1fv7cxvfmb4uFEwI7ks5raazCgaJpZM4L41EK
.

@markgoho  Can you contribute on this, find a js function that has an input for category json data, and return a new tree where child categories are included under parent categories (recursively if possible), it isn't complicated but I can't find the time to work on this. and I will integrate it in our module

I can certainly try! I was actually about to sit and work on this this week
(assuming I didn't see something from you).
On Wed, Mar 1, 2017 at 6:31 PM Murhaf Sousli<EMAIL_ADDRESS>wrote:

@markgoho https://github.com/markgoho Can you contribute on this, find
a js function that has an input for category json data, and return a new
tree where child categories are included under parent categories
(recursively if possible), it isn't complicated but I can't find the time
to work on this. and I will integrate it in our module
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MurhafSousli/ng2-wp-api/issues/13#issuecomment-283506456,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJTs0k9baeBoPs1-3dChmi2--J28x8A_ks5rhf_dgaJpZM4L41EK
.

@markgoho I didn't forget, but I'm overloaded with couple of modules, I'm focusing on the features I need  at work

Absolutely! This would be nice to have, but definitely not a core feature.
I'm on it :)
On Wed, Mar 1, 2017 at 6:39 PM Murhaf Sousli<EMAIL_ADDRESS>wrote:

@markgoho https://github.com/markgoho I didn't forget, but I'm
overloaded with couple of modules, I'm focusing on the features I need at
work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MurhafSousli/ng2-wp-api/issues/13#issuecomment-283508037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJTs0nZlIeLpf9ruNTp6apAnSCOfgU9Tks5rhgGogaJpZM4L41EK
.


Soc, chapter 2, Sunday Roll Call

Leave a comment with these two things:

A summary of your last chapter using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

😃

😊

😁😵💫🤓🙈

😊


Robot is overpowered

Robot should require batteries.

Uses RE Battery.  Place in Robot storage.  One battery Lasts about 33 minutes.


First answer sometimes must be preceded by ENTER

Unfortunately I have an issue on a Windows machine using node v5.10.1.
When asking the user the first question, the answer will sometimes only be accepted after pressing ⏎ once, then answering and (if required) pressing ⏎ again.
Taken from the examples:
'use strict';
const readlineSync = require('readline-sync');
var userName = readlineSync.question('May I have your name? :');
console.log('Hi ' + userName + '!');

With limited input possibilities I can often times write anything I want when prompted for the first time, then I press ⏎ and only then my input is filtered regarding the possible options.
'use strict';
for (let i = 1; i <= 3; i++) {
  if (readlineSync.keyInYNStrict('What about ' + i + '?')) {
    console.log('yep');
  } else {
    console.log('nope');
  }
}

Any further answers are accepted correctly.
Without further investigation I assume this is related to the Windows terminal but unfortunately I am limited to this requirement.
Can anyone else confirm this issue, provide a simple workaround or fix the cause?

Hi @der-david, thank you for the report.
This issue is the same as issue-18.
This is a bug of Node.js (https://github.com/nodejs/node/issues/2504), and the bug was already fixed in v4.2.4 (LTS) and v5.1.0.
But, the bug seems to have been come again in v5.7.0, and then, it was already fixed again in v6.2.0.
An easy way to check whether a version of Node.js has this bug:

Start REPL (node command).
Input 1 and press Enter key.
Incorrect result:

> 1
1
1
>

Correct result:
> 1
1
>

Using current version or LTS of Node.js is recommended.
And I will add the versions of Node.js that have the bug to a list in readlineSync to avoid using a stream of Node.js.

Thanks for the quick reply!
I must have missed the issue due to the unspecific title.
Since upgrading shouldn't be a problem for me, I am fine with this solution :+1:

The versions of Node.js that have the bug were added to a list in readlineSync to avoid using a stream of Node.js.


project doesn't support columns with dot in the name

I'm not sure when this was ever a problem, but currently .project(col['foo.bar'], col.baz) works fine, so closing this.
BTW, so not confuse this with .project(col.foo.bar, col.baz) which treats the column "foo" as a dynamic bag and extracts the value of the key "bar" from it to a new column.


Python Eventhubs preview4 small changes

small update son HISTORY
Disable some unit test on Pypy
Change checkpoint store version to 1.0.0b4
Change uamqp dependency to <2.0,>=1.2.3
Change checkpoint store example code to be compatible with azure storage 12.0.0b4 (also compatible with b3)

Can one of the admins verify this patch?

/azp run python - eventhubs - tests


python3Packages.beancount_docverif: add build dependency

Missing build dep broke Linux build
Signed-off-by: Sirio Balmelli<EMAIL_ADDRESS>

@ofborg eval

@ofborg eval


Problem about class DynamicallyConstistentEndEffectorTrajectory report "the minimization problem hhas no solution!"

Hello
I am reading the source code of reactive_planners and trying to modify some parameters of demo_reactive_planners_bolt_step_adjustment.py for test.
It seems both stance leg and swing leg use QP to find the force  as feedforward term.
According to my test:

the QP problem for stance leg always have solution
the QP problem for swing leg may have no solution from time to time.

Here is what i want to ask bout:

Is it ok if QP problem for swing leg have no solution?It seems if no solution,it will use the previous force
Why does QP problem for swing leg need to find so many sample point from current time to end time of one step?This may need so much time to find the solution especially at the beginning of one step.Does it possible to just only optimize for one sample point of currrent time?If so,it will save lots of time.

It depends on the trajectory generation algorithm that you are using. If you use a polynomial trajectory, you may need help finding a solution for the problem. If you use our method, it should find the solution but may be too far from the desired landing position. We are aware that the policy doesn't find the solution in some corner cases, but theoretically, it should find the solution, and we are working to find the issue.
That's also a choice. We control our robot in 1Khz. That's why we want to solve the solution for every 1ms timestep. Remember that to solve the problem with our approach, we need to find the whole trajectory, so optimizing it for only one sample doesn't give you an optimal solution!
I am going to close it. Feel free to open it if some part of my answer is unclear.


[Feature Request] 测试打包后可执行文件的功能

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
考虑读取MANIFEST.MF的方式变更
Additional context
No response

考虑读取MANIFEST.MF的方式变更
不再从getModule()获取

无功能问题


[WFLY-17638][WFLY-17664] RESTEasy Upgrades

This PR contains upgrades for RESTEasy and RESTEasy MicroProfile. It also removes unneeded legacy org.jboss.resteasy:resteasy-client dependency. There is one extra commit, that can be removed, to remove the legacy-ejb-client module from the build as it no longer exists.

RESTEasy 6.2.3.Final Upgrade
Tag: https://github.com/resteasy/resteasy/releases/tag/6.2.3.Final
Diff: https://github.com/resteasy/resteasy/compare/6.2.2.Final...6.2.3.Final
https://issues.redhat.com/browse/WFLY-17638

RESTEasy MicroProfile 2.1.0.Final Upgrade
Tag: https://github.com/resteasy/resteasy-microprofile/releases/tag/2.1.0.Final
Diff: https://github.com/resteasy/resteasy-microprofile/compare/2.0.0.Final...2.1.0.Final
https://issues.redhat.com/browse/WFLY-17664

This passed for me locally, seems to be doing better on CI.

Thanks @jamezp


Proxy Support

Is there support for using Proxys?

Seems to support proxies fine, just used in an environment that requires it and it picked up the default proxy settings. I expect under the hood that it uses std .Net methods that support them.


Question about NSControl initWithFrame

I was wondering why is the NSControl method initWithFrame: binded as InitWithFrame__asNSControl()? I think it would be easier on users if it was called InitWithFrame().

I updated to MacDriver 0.4.0 and now this method is gone.

Found it as InitWithFrame_AsNSControl.

I am not a fan of all these InitWithFrame_As methods. I would prefer a simple following the standard InitWithFrame() method.
I implemented my own InitWithFrame() method right under the InitWithFrame_AsNSControl() method and it worked 😃.
func (x gen_NSControl) InitWithFrame_AsNSControl(
	frameRect core.NSRect,
) NSControl {
	ret := C.NSControl_inst_InitWithFrame(
		unsafe.Pointer(x.Pointer()),
		*(*C.NSRect)(unsafe.Pointer(&frameRect)),
	)

	return NSControl_FromPointer(ret)
}

func (x gen_NSControl) InitWithFrame(frameRect core.NSRect) NSControl {
	return x.InitWithFrame_AsNSControl(frameRect)
}

This is my test program:
package main

import "github.com/progrium/macdriver/cocoa"
import "github.com/progrium/macdriver/objc"
import "github.com/progrium/macdriver/core"

func main() {

	app := cocoa.NSApp_WithDidLaunch(func(n objc.Object) {
		win := cocoa.NSWindow_New()
		win.SetTitle("NSSlider")

		/* NSSlider code */
		rect := core.NSMakeRect(10, 50, 70, 20)
		slider := cocoa.NSSlider_Alloc()
		slider.InitWithFrame(rect) // Way better looking
		win.ContentView().AddSubview(slider)

		win.MakeKeyAndOrderFront(nil)
	})

	app.SetActivationPolicy(cocoa.NSApplicationActivationPolicyRegular)
	app.ActivateIgnoringOtherApps(true)
	app.Run()
}

So can we have an InitWithFrame() method?

I agree but it's not super straightforward: the objc.Object interface expects Init() to return objc.Object which meants we'd need to treat Init() differently. That may be fine to do, I haven't thought it through, just highlighting a little nuance. Note that there's the semi-related - (instancetype)init NS_UNAVAILABLE; case we need to handle as well.

I am having difficulty trying to follow. I am pretty sure NSControl's InitWithFrame() probably calls NSObject's Init() method eventually, but how is this a problem? My code shows having a NSControl InitWithFrame() function can work. I admit I haven't tested every situation that might be encountered yet. I haven't tried adding the NSSlider instance to a collection object like NSDictionary or NSArray. But I am still confident that having a NSControl InitWithFrame() method would be a great idea.


Formula code from html

Is it possible to extract the formula from a rendered MathJax html code? The html code is stored in a file not in a dom.

That depends on what you've stored. The output is followed by a script tag that includes the original source. If that's not stored then you probably cannot.
See also https://github.com/mathjax/MathJax/issues/1699

Actually the exact problem is that I want to be able to edit the MathJax output in tinymce. It'll make the edited formula look ugly because things don't expand as you enter new text (for example if I add some text under the root sign, the root sign doesn't expand.) But if every span in the output had a data attribute that indicates its place in the main latex or mathml code, then it'd be possible to reconstruct the latex/mathml code based on the edited MathJax output and re-render the output.

Sounds like https://github.com/mathjax/MathJax/issues/1108.

But if every span in the output had a data attribute that indicates its place in the main latex or mathml code, then it'd be possible to reconstruct the latex/mathml code based on the edited MathJax output and re-render the output.

In generality, that's not possible for TeX input due to macros getting in the way. In addition, MathJax does not have a connection between TeX input and its output.
In modern text editors, the current model seems to be to separate the internal model of the editor from the rendering completely. That's probably a good approach for math editing as well.
Since we've seen many attempts disappear again, it might be a good idea to seek out similar projects and join forces. For example, a very recent one on my radar has been https://github.com/ianlucas/mathjax-editor.

Thanks, https://github.com/ianlucas/mathjax-editor seems to be working smoothly.


WIP Remove integration test artifacts

I rule and have completed some work on Case Manager that's ready for review!
Removes poltergeist and other stuff we don't need anymore.
TK sharing helpers between integrationtest and systemtest, reracking knapsack
This pull request makes the following changes:

Ditches poltergeist and associated junk
Cleans up messes along the way
Reracks knapsack

No view changes
It relates to the following issue #s:

Fixes #1318

Codecov Report

Merging #1333 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1333   +/-   ##
=======================================
  Coverage   88.42%   88.42%
=======================================
  Files          61       61
  Lines        1356     1356
=======================================
  Hits         1199     1199
  Misses        157      157

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 622a145...0581a12. Read the comment docs.

Lotta improvements:

5m builds
reracked knapsack
linting
deduped code
no more poltergeist!
no more all sorts of junk we don't need!

We'll have an issue sorta where people won't be able to run systemtests from docker, but the philosophy is increasingly that those should get run only in CI anyway. (Credit where credit is due, this is something that @DarthHater was ahead of the curve on -- congrats, dude, you beat rails by a year and change!)
None of the code touches prod code, so merging and enjoying.


Sidebar width

Can we change default sidebar width?

Do you mean as a setting? Sure, it’d be possible. I’ll do new release this weekend.

Yes. Because every time we must to change the width manually.
And thanks for package. It's very comfortable.

The width is being set as percent, currently it is 0.3, i.e. 30% of window width.
To make it clear, do you mean width setting in percent or pixels? because if percent, then it’s very simple, if pixels it’s not so simple, but still possible.
More over, we could even support both, i.e. treat float (e.g. 0.2) as percent and treat int (e.g. 100) as pixels. What you think?

I thik it would be great if you could even support both. But if pixels it’s not so simple, maybe it makes no sense to spend time on it, if pixels is not needed for the majority of users.

I meant that pixels need calculation, while float could be set directly; all in all both things pretty simple.

Please test, let me know any problem https://github.com/aziz/SublimeFileBrowser/tree/x-perfomance-matter
Release this weekend.

I tested. All is well. Thanks.

Unless I'm missing something, could you please add this to the documentation? I only found this feature existed through going to lodge an issue for it and finding this post, and I could then only find the variable dired_width by reading the source code directly. Thanks!

It is documented in default settings file.

Ah, I see, thanks ...soo perhaps you could mention in the documentation that there are also other undocumented settings, which can be reviewed in the default settings file? ;)
Seriously, the only one mentioned is VCS integration and if looking for a feature I would first search the documentation. Maybe I've just been lucky with not so far needing to review any default settings files for packages  "just to check if such a feature in my head exists" but I think having to do that and mentally mapping a potential key to a desired feature carries a higher overhead then just being present in the front page feature list - just seems more hidden than everything else in this package. I only mean this constructively and thank you for a great product!


Bug: Root resource │ was present, but now absent

This is happening durring tf apply from time to time and the 'fix' I use is to make at least one more time tf apply

Hey @stoyanzhekov, Can you confirm which Terraform version you use?

We are seeing this issue with tf v1.3.6 and rollbar provider 1.12.0.  Applying multiple times does not fix the issue for us.

We were able to work around this by importing the token from rollbar.  The resource created the token, but it seems it doesn't like the response it's getting from the rollbar API.

Hey @stoyanzhekov, I'm glad that the workaround solves your issue. Are you sure you're using 1.2.2? We didn't release that version. We released 1.2.0 on 2021-09-10 and 1.3.0 on 2021-09-14. We double-checked if we have a retry logic for all read operations, but everything looks good. Can you collect debug logs if this issue comes up again? This article will tell you how to collect debug logs: https://developer.hashicorp.com/terraform/internals/debugging

This issue continues to be a problem for us.  We are about to upgrade terraform from v1.3.6 to a later version and will report back.  We are using rollbar provider v1.12.0.  The only workaround we've found is to import the rollbar token that gets created into state.

Hey @bwmetcalf, Thanks for sharing more details about this case. Configuring the project access token doesn't work, but if you import, it works just fine. Do I understand your workaround correctly?

We found the reason behind this issue. We plan to release a fix soon.

We released an API fix a few weeks ago that resolves this issue. Feel free to reopen it in case you still bump into it.

Hey @rollbar-bborsits we ran into the issue again with the rollbar_project_access_token resource.
Here the terraform plan with the detailed logs:
`[DEBUG] provider.terraform-provider-rollbar_v1.13.0: {"level":"debug","args":{"name":"stage_post_server_item","scopes":["post_server_item"],"status":"enabled","rate_limit_window_size":60,"rate_limit_window_count":150},"token":{"Name":"stage_post_server_item","project_id":,"access_token":"","Scopes":["post_server_item"],"Status":"enabled","rate_limit_window_size":60,"rate_limit_window_count":150,"date_created":1695910994,"date_modified":1695910994,"cur_rate_limit_window_count":0,"cur_rate_limit_window_start":1695910994},"time":"2023-09-28T16:23:14+02:00","message":"Successfully created new project access token"}
[DEBUG] provider.terraform-provider-rollbar_v1.13.0: {"level":"debug","accessToken":"***","time":"2023-09-28T16:23:14+02:00","message":"Reading resource project access token"}
[DEBUG] provider.terraform-provider-rollbar_v1.13.0: {"level":"debug","projectID":636775,"token":"***","time":"2023-09-28T16:23:14+02:00","message":"Reading project access token"}
[DEBUG] provider.terraform-provider-rollbar_v1.13.0: {"level":"debug","projectID":636775,"time":"2023-09-28T16:23:14+02:00","message":"Listing project access tokens"}
[DEBUG] provider.terraform-provider-rollbar_v1.13.0: {"level":"warn","projectID":636775,"token":"***","time":"2023-09-28T16:23:14+02:00","message":"Could not find matching project access token"}
[DEBUG] provider.terraform-provider-rollbar_v1.13.0: {"level":"debug","accessToken":"***","time":"2023-09-28T16:23:14+02:00","message":"Token not found on Rollbar - removed from state"}
[DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
[ERROR] vertex "rollbar_project_access_token.rollbarProjectToken" error: Provider produced inconsistent result after apply
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to rollbar_project_access_token.rollbarProjectToken, provider "provider["registry.terraform.io/rollbar/rollbar"]" produced an unexpected
│ new value: Root resource was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵`
The token is correctly created but as you can see in the logs but seems is not recognized during the terraform state update. This is impacting us because for every new microservice we create, we also create a corresponding rollbar integration/token and have to manually fix our CI pipelines to complete the terraform apply jobs.

Hey, We expected this error to disappear after the API bug fix in August. I’ll talk to the Terraform maintainer about what we can do with this. I’ll keep you updated. I appreciate your debug logs. It will help a lot in finding out what causes the issue.

@stefanoaurilio @Giaco9 @Omicron7 I concluded some internal discussions very recently. We completed some database maintenance during the last few weeks that caused a slight replication lag in our databases, which resulted in inconsistent API responses. As Terraform works fast, it's essential to serve the used endpoints accurately. We made some of our endpoints replication lag safe, but some are still affected. I filed a bug ticket to make all endpoints used by Terraform replication lag-safe. I'll make sure to update you when it's out. We plan to make a general fix to this issue in the future, but that requires a more considerable architectural change.

We completed the reinforcement of several endpoints, so this issue shouldn't not come up again.


Multiple user models

From the documentation it seems as if flask-user only works with a single User model (only one declared when initializing SQLAlchemyAdapter.) That works fine for a single standard type of user but my current schema requires multiple user models each with very different columns; 'users' is just a basic user model while 'clients' require very different data.
Is there a possible workaround for this problem? The only one I can think of is to combine the two models but that would be incredibly disorganized and just a mess.
Does flask-user allow initializing with multiple user models or some solution to this problem?

I am running into the same issue right now. I have two types of users that are very different. One user class is already implemented with flask-user and uses the features heavily. The second user class only needs user authentication and remember_token (essentially just the functionality of flask-login). However, since flask-user is build on top of flask-login the user_manager 'hogs' the login_manager and prevents me from creating a new one to handle the second user class.
It's also worth mentioning that the first user class is already in use so making changes to this model and the associated db table would be kind of a pain. Though if I don't find any alternatives this might be what I'm stuck with.
Does anyone have any suggestions on how I can rectify this situation?

I'm running into the same issue. Did you guys find a workaround for this?

I could not find a work around for this problem. I ended up having to implement my own session management system for one of the types of users (the type that did not have to be quite as secure).

I don't see an easy way for Flask-User to support this use-case. If you think of an elegant solution, send me a pseudo code example, and I will re-consider.

Could anyone find a solution for this?


[Wait for #1197] [Test/Model] Prepare addition model

[Test/Model] Prepare addition model

This patch add addition model test

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1198. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1198-202105201334520.48700404167175-67f4d682bbe9cfc060d666f354138be312ff5e7f/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1198-202105241729250.19070100784302-30f8d10becbe4de0d808eae67b5a04374150cfee/.

:octocat: cibot: @zhoonit, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1198-202105241913240.83819007873535-dd893d6bd4533bb6a81efa0b5038acc242315757/.


[Bug] Vision backbone is not freezed correctly?

Checklist

[ ] 1. I have searched related issues but cannot get the expected help.
[ ] 2. The bug has not been fixed in the latest version.
[ ] 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

Describe the bug
https://github.com/OpenGVLab/InternVL/blob/c62fa4f7c850165d7386bdc48ac6bc5a6fab0864/internvl_chat/internvl/train/internvl_chat_finetune.py#L776
InternViT use droppath, but the freeze didn't call the eval to disable droppath?
Reproduction
None
Environment
None

Error traceback
No response

Thank you for your observation. This behavior is intentional and can be considered a form of data augmentation to enhance the model's robustness.


Add image picker

Allow users to attach image in chat.
Create util function and applicable UI(Check the screenshot) that allow user to pick an image and return base64
Asset attached.
Util reference: https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL

Asset:

I'd like to attempt working on this, if that is ok?

@aUsefulMethod Sure!

@aUsefulMethod  are you still working on it?  otherwise, I'm also happy to do it!

Sure, go ahead :)


How to train the model?

Dear author,
Thanks for your great work, is it possible to share the scripts for model training and inference?

Hello authors, I also have the same question. Any updates would be greatly appreciated.


New package: SuperSubScripts v0.1.0

Registering package: SuperSubScripts
Repository: https://github.com/sonosole/SuperSubScripts.jl
Created by: @sonosole
Version: v0.1.0
Commit: 553e550f12462ba4f140c230252e557bc23ab239
Git reference: master
Description: convert real numbers or strings to superscripts and subscripts
Release notes:

convert real numbers or strings to superscripts and subscripts

Any difference from UnicodeFun.jl's functions? Would be nice to have a comparison or at least a mention in the README :)

I didn't know this pkg before you mentioned it.  UnicodeFun is a nice pkg providing latex to string convertion👍.  And SuperSubScripts aims only at converting things to sub/superscript. This is useful when generating internal functions or define  show function for a specific struct.

UnicodeFun provides subscript/superscript conversion:
julia> using UnicodeFun

julia> to_subscript("ax123")
"ₐₓ₁₂₃"

That's why I wonder what the differences are...

yeah it supports subscript, but i found that it doesn't support base kwarg and floating data types.


tweak peerDependencies for webpack 2

Tweaks the semver constraints to allow the latest versions of webpack 2.

Current coverage is 82.16% (diff: 100%)

Merging #85 into master will not change coverage

@@             master        #85   diff @@
==========================================
  Files            16         16
  Lines           398        398
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            327        327
  Misses           71         71
  Partials          0          0

Powered by Codecov. Last update e57ab14...4257600

@zinserjan do you think it would be possible to release a 0.7.1 version with this change?

@TimPetricola
I would like to avoid that :grin:
Most of the programming tasks for a pre-release for 1.0.0 are done so I would like to spend my time on this instead.

@zinserjan I totally understand :)

@TimPetricola
Just published the first beta for 1.0.0. You can install it via npm install mocha-webpack@next.

@zinserjan Thanks for letting me know, I'll give it a try :)


use nrepl, not eval

As the subject suggests, this is a major change. Writing a reliable REPL, which is where this code seemed to be heading, is a lot of work. tools.nrepl is a REPL solution made just for this sort of problem, and it is tested (used by emacs/cider etc.) and solid. See the section why nREPL? at tools.nrepl github.
I have not experienced any problems changing packages in this fork. I implemented stacktraces using code from cider-nrepl.

I apparently still don't quite understand how squashing commits works. Thus the 3 commits...Sorry.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thank you so so so so so so so much, Peter. This is incredible. I am so happy, it would have taken me forever to figure that out. I gave you push access to the repository, as far as I am concerned you should own it.

Well thanks for all the work on Zero MQ and the interface with the the
notebook! That would have taken me ages to figure out, and I probably
wouldn't have taken on the work had I not seen something "close enough"
to usable in clojupyter.
On 2016-02-18 9:58 PM, Rory Kirchner wrote:

Thank you so so so so so so so much, Peter. This is incredible. I am
so happy, it would have taken me forever to figure that out. I gave
you push access to the repository, as far as I am concerned you should
own it.
—
Reply to this email directly or view it on GitHub
https://github.com/roryk/clojupyter/pull/14#issuecomment-186024128.

Sweet, I have been walking around happy today. These bugs were weighing on me and I didn't realize it. Thanks so much!

@pdenno , it seems this PR actually broke something basic: you can no longer print to stdout. I.e. something like (prn "HI") doesn't show any output other than the nil result.
I think the reason is that stdout used to be captured by the (binding [*out* s#] ...) currently at core.clj:282, back when this kernel worked using eval.
In the world of nrepl-eval, I'm not sure how stdout capturing should work. Any chance you know how to add it back? :)


Uorb fixes

Some uorb cleanups, extend documentation & a fix for a subtle bug (see commit messages)
@tumbili

It looks like you deleted all of the functional descriptions of methods, not just redundant stuff.

what do you mean exactly? For the C-style functions I removed the ones from the source file, in the header I refer to the class members in uORBManager.hpp which have exactly the same interface. The description of these is still there.

Sorry, I failed to notice the @see lines. Looks good to me now.

@bkueng @LorenzMeier Merging this after checks have passed.
Tested on posix and NuttX!


[lf-field-container] template name does not appear when collapsed

Reproduction Steps:

Use lf-field-container in the documentation or site-office-apps
Set collapsible to true
Select a template from the drop down and collapse the drop down

Expected Behavior:
You can see the name of the template next to the 'Template' header
Actual Behavior:
You cannot see the name of the template next to the 'Template' header

Internal work Item: https://tfs.laserfiche.com/workitems?id=386735


Add documentation for new Strict Mode

In 10.12, we will introduce a new Strict Mode. This PR adds the documentation for it.

The introduction of this feature has been postponed to 10.11

I believe we should mention the improvement made to the save action button rather than just showing the restriction of placing a save button on layouts. Additionally, we have to mention an alternative solution of placing a save button on the layouts like using a snippet.

Hi, letting you know that this feature is delayed and will be released in 10.12 instead of 10.11

Hi @brambrink, thanks for the PR! Can we add information on where and how to enable and set up the strict mode? I think we need some guidance on where to find it.

Thanks Connor and Maria! I've added instructions how to enable strict mode to the docs


⚠ Bofrost.de has degraded performance

In 079cfa8, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1427 ms

Resolved: Bofrost.de performance has improved in 59528cc.


[Bug]: Sveltekit (mainly vite) does not work with require() in node_modules/svelte-reveal/dist/index.js

Describe the bug
4:10:08 PM [vite] Error when evaluating SSR module /src/routes/index.svelte:
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/neurobro/dev/sveltekit-skeleton/node_modules/svelte-reveal/dist/index.js from /home/neurobro/dev/sveltekit-skeleton/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js not supported.
Instead change the require of index.js in /home/neurobro/dev/sveltekit-skeleton/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js to a dynamic import() which is available in all CommonJS modules.
at nodeRequire (/home/neurobro/dev/sveltekit-skeleton/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js:66559:17)
at ssrImport (/home/neurobro/dev/sveltekit-skeleton/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js:66501:20)
at eval (/src/routes/index.svelte:31:38)
at async instantiateModule (/home/neurobro/dev/sveltekit-skeleton/node_modules/vite/dist/node/chunks/dep-e0fe87f8.js:66544:9)
Reproduction
[Bug]: Sveltekit (mainly vite) does not work with require() in node_modules/svelte-reveal/dist/index.js
It needs to be converted to import(), I think
package.json using
{
"type": "module"
}
System Info
Windows 10, Firefox

Severity
Blocking
Additional Information
p.s. your repo has some of the tidiest code I have seen. Excellent work :)

In case you need this...
{
"name": "sveltekit-reveal",
"version": "0.0.1",
"scripts": {
"dev": "svelte-kit dev -p 4201 -o",
"build": "svelte-kit build",
"preview": "svelte-kit preview -p 4201",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
"lint:css": "stylelint "src/**/*.{css,svelte}"",
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. .",
"svelte:check": "svelte-check --fail-on-warnings"
},
"devDependencies": {
"@poppanator/sveltekit-svg": "^0.1.7",
"@sveltejs/kit": "next",
"@tailwindcss/aspect-ratio": "^0.3.0",
"@tailwindcss/forms": "^0.3.4",
"@tailwindcss/line-clamp": "^0.2.2",
"@tailwindcss/typography": "^0.4.1",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"autoprefixer": "^10.3.7",
"cssnano": "^5.0.8",
"cssnano-preset-advanced": "^5.1.4",
"daisyui": "^1.14.5",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-svelte3": "^3.2.1",
"postcss": "^8.3.9",
"postcss-import": "^14.0.2",
"postcss-load-config": "^3.1.0",
"postcss-nested": "^5.0.6",
"prettier": "^2.4.1",
"prettier-plugin-svelte": "^2.4.0",
"reading-time": "^1.5.0",
"svelte": "^3.42.6",
"svelte-check": "^2.2.10",
"svelte-hero-icons": "^3.0.0",
"svelte-preprocess": "^4.9.4",
"svelte-reveal": "^0.3.2",
"tailwindcss": "^2.2.17",
"tslib": "^2.3.1",
"typescript": "^4.4.3",
"vanilla-lazyload": "^17.5.0",
"vite-imagetools": "^3.8.0"
},
"type": "module"
}

Hi, thanks for reaching out. I had already noticed this issue last week. What's weird is that when I first published this library it used to work without any problem with SvelteKit and I haven't done anything particularly different since then. By doing some research online, I found out that apparently it's a really common issue with Vite and there doesn't seem a single working solution for everybody.
For now, the only fix I've found and that (temporarily) works is by disabling SSR for svelte-reveal:
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	// Consult https://github.com/sveltejs/svelte-preprocess
	// for more information about preprocessors
	preprocess: preprocess(),

	kit: {
		adapter: adapter(),
		// hydrate the <div id="svelte"> element in src/app.html
		target: '#svelte',
		vite: {
			ssr: {
				noExternal: ['svelte-reveal']
			}
		}
	}
};

export default config;

Sorry for the issue and I hope to find a more elegant solution as soon as possible!

I pinned this issue so that other people can see it more easily.

Thanks :) I got round the issue by just taking out your src content and putting it in $lib/actions for my own project. I did notice though that I couldn't update the global config (possibly related issue or a rush my end). I got round that by just updating the local version of it to meet my needs. Going back to the original issue, I also read online that it might be an issue with node but haven't had time to look into it.

Ok, good to hear! If you are facing issue updating the global config, try to update to version 0.3.3. I released it yesterday and it fixes the setDefaultOptions  API function (there was a bug).

That error is now gone thanks to a new Vite release that went public this morning 🙌🏻  See here.
However, I'm now facing some issues seeing the effect in action on page reload. @neuro-bro Could you check too?


fixed documentation issue

@cvallance kindly have a look at this PR. thank you

@cvallance kindly have a look at this PR.

@cvallance kindly review this PR.

@cvallance kindly have a look at it, if fine close it otherwise close it.


Correction for raw affiliation Ivey Business School, Western University

Correction needed for raw affiliation Ivey Business School, Western University
raw_affiliation_name: Ivey Business School, Western University
new_rors: 02grkyz14
previous_rors: 02agqkc58
works_examples: W4385500373;W4319780198;W4380238241;W4382997894;W4388446871;W4385901157;W4322581703;W4387788543;W4319658696;W4386994206;W4319988037
contact:<PHONE_NUMBER>843cf5070433c2372c75dc:f40491da3f5aafe6 @ uwo.ca

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Fix dispatchEvent on undefined and missing icon alerts

null is not an object (evaluating 'document.querySelector("recycling-locator").dispatchEvent')

Handled via optional coalescing
Guess is that it could be null in some environments where document isn't defined yet

Unknown variable dynamic import: ./svg/undefined.svg

Handled by returning null before the catch block if the icon is undefined
I've run through the codebase and can't find any instances where the icon could be undefined
Guess is that this is some kind of Safari browser web component loading quirk as I never see icons that don't load

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: