AddAutoFallbackTransition?

I attempted to implement your AddAutoFallbackTransition feature, based on the Walk-Run-Jump example you provided but discovered that I couldn't compile your example because none of the four overloaded AddAutoFallbackTransition methods had argument types that matched those in your example.
Do I not have the latest code?  Or did I jump the gun trying out a feature that's still under construction?
Thanks,
Paul

yes, that was a preview, but I'm actually working on those changes right now. :-)
Hope to have the automatic transitions, new configuration/transition events, and possibly parameterized entry/exit/re-entry actions completed, tested, and released this weekend. I probably won't get the docs updated for these features until next weekend though.

I've posted the latest code that includes this example. Just let me know if you find any issues.

Thanks Scott for the quick turnaround!  I'll give these a try.
I have a couple of questions about the AddAutoForwardTransition feature:

If the state containing the AddAutoForwardTransition clause includes one or more AddTransition clauses with the same trigger as the AddAutoForwardTransition clause, will the AddAutoForwardTransition clause be checked first? (I assume it would.)

If the condition function specified in the AddAutoForwardTransition clause returns false, will the state machine remain in the state containing the AddAutoForwardTransition clause?  (I assume so.)  As such, the state machine will be 'stuck' in that state unless that state includes at least one AddTransition clause to transition to another state.  In your AddAutoForwardTransition example, the boolean function always returns true, but if it were to return false, the state machine would be stuck in the Jumping state.

The same situation exists for the AddAutoFallbackTransition clause, but is not likely a problem; the designer knows that the auto-fallback trigger will ultimately return to same state, so they would already include at least one AddTransition clause in the state's configuration.
Paul

Thanks Scott,
Your explanation helped me better understand how the auto-forward feature works and how it might be used.
I had misunderstood, expecting that the AddAutoForwardTransition clause’s condition method would only be called once, at the time the state was initially entered.  Your example helped me realize that I can fire the AddAutoForwardTransition clause’s trigger at any time to have its condition checked again and the transition taken if the condition is true.  That prevents getting ‘stuck’ in a state.  Makes perfect sense now.
Re the auto-fallback feature, I think it would be a problem to land in the temporary state without auto-transitioning back.  Either the condition included in the AddAutoFallbackTransition clause blocks the initial transition to the temporary state, or it doesn’t, in which case the auto-transition back to the initial state should be guaranteed.  I’d recommend not calling the initial condition’s method for the auto-transition back to the initial state, to prevent the scenario where the condition returns true while in the initial state but returns false while in the temporary state.
Paul
From: scottctr<EMAIL_ADDRESS>Sent: Monday, April 23, 2018 7:20 AM
To: scottctr/NStateManager<EMAIL_ADDRESS>Cc: prlaba<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [scottctr/NStateManager] AddAutoFallbackTransition? (#18)
If the state containing the AddAutoForwardTransition clause includes one or more AddTransition clauses with the same trigger as the AddAutoForwardTransition clause, will the AddAutoForwardTransition clause be checked first? (I assume it would.)
Actually, no. The non-auto transitions are evaluated right after any trigger actions. The auto transitions are evaluated after any entry or reentry actions have executed. They are kept in 2 different collections since they aren't evaluated at the same time. Until I update some docs, you can look for Transitions and AutoTransitions are used in StateConfiguration.cs and StateConfigurationBase.cs.
If the condition function specified in the AddAutoForwardTransition clause returns false, will the state machine remain in the state containing the AddAutoForwardTransition clause? (I assume so.) As such, the state machine will be 'stuck' in that state unless that state includes at least one AddTransition clause to transition to another state. In your AddAutoForwardTransition example, the boolean function always returns true, but if it were to return false, the state machine would be stuck in the Jumping state.
This is true. A typical scenario I envision for auto forward transitions is an auto approval functionality. A request comes in and goes to a NeedsApproval status. If that request meets certain criteria (i.e. conditions), it can be automatically forwarded to the Approved status. This being the case, you would want to get stuck in the NeedsApproved if the conditions weren't met.
The same situation exists for the AddAutoFallbackTransition clause, but is not likely a problem; the designer knows that the auto-fallback trigger will ultimately return to same state, so they would already include at least one AddTransition clause in the state's configuration.
AddAutoFallbackTransition is particularly tricky since it actually creates 2 different transitions. The first is a non-auto transitions to the "temp" state. The second transition is an auto transition to get back to the original state from the temp state.
Since the auto fallback transition is defined with only a single condition, the question is which transition does it apply to? For now, we'll have to apply the same condition to both transitions (possibly based on the current state if there really are different conditions for getting to and from the temp state). I think most people will want a guarantee that if they get to the temp state, they always get back to the original state, but I'd like more input on this one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/scottctr/NStateManager/issues/18#issuecomment-383541130 , or mute the thread https://github.com/notifications/unsubscribe-auth/Akn5TRSV9meMlYnuPCt9xGOkgpqtD98Xks5trbjrgaJpZM4TeH3b .  https://github.com/notifications/beacon/Akn5TXfHkHj7QudOJmbga9En_Ly8yHJzks5trbjrgaJpZM4TeH3b.gif

I had misunderstood, expecting that the AddAutoForwardTransition clause’s condition method would only be called once, at the time the state was initially entered.  Your example helped me realize that I can fire the AddAutoForwardTransition clause’s trigger at any time to have its condition checked again and the transition taken if the condition is true.  That prevents getting ‘stuck’ in a state.  Makes perfect sense now.

I fear I've confused you about how auto forwarding works because it is actually only evaluated once. Going back to the example of auto forwarding, let's break it down:

Trigger occurs that put's context in NeedsApproval state.
The auto forward trigger is evaluated.
2a. If the auto forward trigger's condition met, the context will move to Approved and all is well.
2b. If the auto forward trigger's condition is not met, the context will stay in NeedsApproval. At this point, this context will require a non-auto trigger on the NeedsApproval state to transition out of the NeedsApproval state...otherwise, it will stay in the NeedsApproval state.

Play around with it a bit and just let me know if you find a scenario this doesn't cover.
We're on the same page with the autoFallback condition, but want to put a bit more thought into it before completely removing the condition from the temp state back to the original state. I just hate to remove functionality for a scenario I can't foresee at this time. :-)
Thanks agian for all your feedback!

The AddAutoForwardTransition configuration method only requires the trigger and toState args (the condition, name and priority args are optional).  But if don’t specify a condition arg, the state machine throws a TypeInitializationException exception (inner exception is ArgumentNullException) at the time its trigger is fired.  Shouldn’t the default for the optional condition arg be _ => true Instead of null?

Definitely a bug, but the bug is that AddAutoForwardTransition should require the condition parameter. Without a condition, it should be configured as a normal transition that goes directly to the forwarded state.

Ok, now that I've put on a few miles playing around with the auto forward feature, let me try to offer my own example that better explains my initial comments.
Consider this simple 3-state state machine for an application-processing workflow:
WaitingToProcess => WaitingForApproval => Approved
The state machine defines a single event: Process.
Here's the state machine's configuration:
var machine = new StateMachine( ... );

machine.ConfigureState(State.WaitingToProcess)
     .AddTransition(trigger: Events.Process, toState: States.WaitingForApproval);

machine.ConfigureState(State.WaitingForApproval)
     .AddAutoForwardTransition(trigger: Events.Process,  toState: States.Approved,
                               condition: CheckApproval)
     .AddTransition(trigger: Events.Process,  toState: States.Approved, condition: CheckApproval);

This worked exactly as I had expected/hoped.  Starting in the WaitingToProcess state, I fired the Process event, which triggered a transition to the WaitingForApproval state,  Upon entry to that state, its auto-forward's CheckApproval method was immediately called, which returned false initially, so no transition to the Approved state was taken (the state remained WaitingForApproval).  I then fired the Process event again, which matched the state's AddTransition clause's event, so the CheckApproval method was called again, this time returning true, so the transition to the Approved state was taken.
My point earlier was that, without the AddTransition clause in the WaitForApproval state's configuration, there would be no way to transition out of that state if the auto-forward transition's condition wasn't met.  (It's not a problem if an auto-forward transition's condition is always met.)
Paul

This makes perfect sense. Thanks for the update!

Hi Scott,
At first glance it doesn’t make much sense to define an unconditional auto forwarding transition for a state such that entering the state always results in an immediate exit out of that state.  But …
Consider a state machine with the states Off, On and End; and the events TurnOff, TurnOn and TurnOnAF (AF=AutoForward).
The Off state configuration has two AddTransition clauses, one with event TurnOn and toState On, the other with event TurnOnAF and toState On.  In other words, there are two distinct transitions from state Off to state On, one via the TurnOn event, the other via the TurnOnAF event.
The On state configuration has one AddTransition clause with event TurnOff and toState Off.  It also has an AddAutoForwardTransition clause with event TurnOnAF and toState End.
Starting in state Off, if I fire the TurnOn event, the state On is entered, but no auto-forwarding (to state End) occurs, since the transition’s event (TurnOn) doesn’t match the auto-forward’s event (TurnOnAF).  The state remains On until the TurnOff event is fired, causing a transition back to the Off state.
Starting again in the state Off, if I instead fire the TurnOnAF event, the On state is entered but then immediately transitions to the End state, since its auto-forward transition’s event (TurnOnAF) matches the Off-to-On transition’s event (TurnOnAF).
What does this have to do with making the AddAutoForwardTransition clause’s condition arg optional?  Simply that there may be legitimate reasons for defining a state with an unconditional AddAutoForwardTransition clause, since that state may have other entry transitions that don’t cause the state’s auto-forwarding transition to occur.  The two events that trigger a transition into the On state are effectively the ‘conditions’ that determine if the On state’s auto-forward transition to state End occurs.
Even in cases where a state has only a single, unconditional AddAutoForwardTransition clause defined, and all transitions into the state causes the auto-forward transition to occur, a designer may create such a state as a ‘pass-through’ state, using its entry and exit methods to perform actions as a transition passes through the state to the auto-forward state.
Given these scenarios, it seems best to me to make the AddAutoForwardTransition clause’s condition argument optional, defaulting to _ => true.
Paul
From: scottctr<EMAIL_ADDRESS>Sent: Monday, April 23, 2018 7:50 PM
To: scottctr/NStateManager<EMAIL_ADDRESS>Cc: prlaba<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [scottctr/NStateManager] AddAutoFallbackTransition? (#18)
The AddAutoForwardTransition configuration method only requires the trigger and toState args (the condition, name and priority args are optional). But if don’t specify a condition arg, the state machine throws a TypeInitializationException exception (inner exception is ArgumentNullException) at the time its trigger is fired. Shouldn’t the default for the optional condition arg be _ => true Instead of null?
Definitely a bug, but the bug is that AddAutoForwardTransition should require the condition parameter. Without a condition, it should be configured as a normal transition that goes directly to the forwarded state.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/scottctr/NStateManager/issues/18#issuecomment-383758015 , or mute the thread https://github.com/notifications/unsubscribe-auth/Akn5TQvSj1kheQ9ATLCth2eZbvEQxCuXks5trmiMgaJpZM4TeH3b .  https://github.com/notifications/beacon/Akn5TTPby7RsmnymjK0IXkW1F0M0Q2oiks5trmiMgaJpZM4TeH3b.gif

Have you created code for your on/off/end scenario that I could take a look at?

Understood, thanks.


cmd/doc: print example code and output

go doc currently doesn't include example code and output included in a package (see https://go.dev/blog/examples and https://pkg.go.dev/testing#hdr-Examples for what I'm talking about). These are often very useful for understanding how code should be used, and it's a pain to have to check on the pkgsite to see if there are examples.
This could be gated behind a flag (maybe -e or -ex) to keep the current behavior as default. Personally I'd favor always printing example code & output if a specific symbol is requested (go doc sort Strings), but (other than package level examples) not print them when documenting the whole package (go doc sort).
Current state of affairs:

$ go doc sort Strings
package sort // import "sort"

func Strings(x []string)
    Strings sorts a slice of strings in increasing order.

Proposed output:

$ go doc sort Strings
package sort // import "sort"

func Strings(x []string)
    Strings sorts a slice of strings in increasing order.

    Example:
      s := []string{"Go", "Bravo", "Gopher", "Alpha", "Grin", "Delta"}
      sort.Strings(s)
      fmt.Println(s)
      // Output: [Alpha Bravo Delta Go Gopher Grin]

This shouldn't require a big change, as the go/doc Package that's used by cmd/doc already includes an Examples []*Example field. I'd like to have a go at implementing this, if nobody objects to the idea.
[edited to switch from pkgsite's approach of adding necessary imports etc for a self-contained program to just include the code in the Example*() function code]

Duplicate of #26715


[feat] add caching for CLI file transform

What changed / motivation ?
This PR introduces a caching mechanism to the CLI file transform for performance.

Input and Output File Caching

Caches the input file hash, output file hash, and compiled CSS for each file
Ensures files are only recompiled if:

The input file content has changed
The output file content does not match the expected hash

Cache Storage

Stores cache data defaulting to node_modules/.stylex-cache,
Will add fast follow for configurable directory (cachePath)
Each file's cache data includes:

inputHash: Hash of the input file content
outputHash: Hash of the compiled output file content
collectedCSS: The compiled CSS

Cache Integration

Before recompiling, the CLI checks the cache:

If hashes match, the cached CSS is reused
If not, the file is recompiled, and the cache is updated

Testing
Added tests to ensure:

Files are skipped when cache is valid
Files are recompiled when inputs or outputs change
Cache is correctly written and read from the specified path

Pre-flight checklist

[x] I have read the contributing guidelines
Contribution Guidelines
[x] Performed a self-review of my code

Addressed nits and async caching logic
To address in a follow up PR:

Specifying a custom cachePath
Testing on murmurHash vs crypto
Make file path relative to project root


[ESP32] bitarray is required for generate_esp32_chip_factory_bin.py script

bitarray is required for generate_esp32_chip_factory_bin.py script.
Fixes #32454

@shubhamdp Please review

Can you skip the fail 'Darwin Tests' test which a nothing to do with ESP32?

All CICD tests are OK now.


eliminate tsconfig package

use a top-level workspace tsconfig.json and then extend that, instead of using turborepo's encouraged practice of maintaining a private tsconfig package

completed by https://github.com/penumbra-zone/web/pull/1460


unbound 1.13.1 segfault

unbound[5458]: segfault at 0  ip 000055cb735853b1 sp 00007ffd037fe6c8 error 4 in unbound[55cb73533000+14f000]
Sorry, no more info yet. Unfortunately crashed on a system where it can't be debugged deeper.

Installed debug pkg ..
[root@badnews]# addr2line -e /sbin/unbound -fCi 0x523B1
view_cmp
/usr/src/debug/unbound-1.13.1/unbound-1.13.1/util/alloc.c:333
--8<--
struct regional*
alloc_reg_obtain(struct alloc_cache* alloc)
{
if(alloc->num_reg_blocks > 0) {
struct regional* r = alloc->reg_list;
alloc->reg_list = (struct regional*)r->next;
r->next = NULL;
alloc->num_reg_blocks--;
return r;
}
return regional_create_custom(ALLOC_REG_SIZE);
}
--8<--
Line 333 from the above is
alloc->reg_list = (struct regional*)r->next;

Thanks for the info. This is a peculiar place for a segfault. Can you reliably reproduce it?
Could you also share how you configured/compiled unbound and the configuration file in use?

I sent you configs. This has happened only once so we don't have reproducer.

Still looking into that. Do you happen to have any log output from that time?

Only one logline before crash and that is some time before.
Feb 14 03:05:12 hostname unbound: [5458:0] error: arpa.: failed lookup, cannot probe to master iad.xfr.dns.icann.org.
Feb 14 03:32:52 hostname kernel: unbound[5458]: segfault at 0 ip 000055cb735853b1 sp 00007ffd037fe6c8 error 4 in unbound[55cb73533000+14f000]
Feb 14 03:32:52 hostname systemd: unbound.service: main process exited, code=killed, status=11/SEGV

This doesn't happen with newer versions, looks like being fixed.


Error 404

I have deployed this app both locally and in bluemix in both cases I get:
{"code":404,"error":"Not Found"}
Any Idea how I can fix this?

At what step do you get this?

Right after deploying. Deploying fails actually. Even if I try via Deploy to Bluemix button.

@stevenpkg ^^

Can you provide commands you are using and any errors given

@prateekroopra that's is normal. it could be related to you loading a URL that doesn't exist

Dear German Attanasio, I raised this issue back in April! After that the
issue has been solved and I've completed the work I was hoping to since May.
Regards
Prateek
On Jun 18, 2017 5:46 PM, "German Attanasio"<EMAIL_ADDRESS>wrote:
@prateekroopra https://github.com/prateekroopra that's is normal. it
could be related to you loading a URL that doesn't exist
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/watson-developer-cloud/car-dashboard/issues/63#issuecomment-309274167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH5jh75swr7d7hYI6tzhpq0zO2LgSnyEks5sFRUCgaJpZM4M-xNG
.


Add aliases to the annotations.

The Facade and TxService annotations could use the AliasFor annotation.
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/annotation/AliasFor.html

Requires Spring 4.2


Fastlane on Xcode Server for CI

Hello,
I have to say congrats for fastlane, is really an awesome project, but I have some problems integrating it on Xcode Server
I built a perfect Fastfile on my machine, but when I run the fastlane command on CI I have multiple errors starting from fastlane command not found (solved using /usr/local/bin/fastlane ...)
Then I found an error on
carthage(
    platform: "iOS"
)

as carthage command not found, so I replaced that code with
# Carthage for Xcode Server using /usr/local/bin
sh "cd .. && /usr/local/bin/carthage bootstrap --platform iOS && cd fastlane"

Passed also this error, now I have another one on gym command, related to xcpretty command not found
[11:07:31]: ▸ sh: xcpretty: command not found
[11:07:57]: ▸ ** ARCHIVE FAILED **
[11:07:57]: ▸ The following build commands failed:
[11:07:57]: ▸ Check dependencies
[11:07:57]: ▸ (1 failure)
sh: xcpretty: command not found
** ARCHIVE FAILED **

The following build commands failed:
Check dependencies
(1 failure)
[11:07:57]: Exit status: 127

I tried also doing
sh "export PATH=$PATH:\"usr/local/bin\""

into before_all block, but nothing is changing.
Can you please explain me what is wrong? Because I don't think that the best solution is to solve each problem as it occurs. Thank you

Firstly which CI are you using ?

@jcampbell05  It's in the title, Xcode Server

It seems that the export during the script doesn't works (I tried to do it and then print the $PATH and it is still the same).
I tried logging in as _xcsbuildd and then modifying the .bash_profile. It doesn't work anyway, but then I added the source ~/.bash_profile into fastlane script and it's working as well.
I think that was the problem

@dalu93  Ah sorry, my bad.
Yeah I think I've had issue like that, I think certain CIs don't run under users so certain scripts need to be manually loaded.

Yeah, the problem was related to $PATH variable and the missing usr/local/bin value into it


Error while dialing dial tcp <IP_ADDRESS>:2379: connect: connection refused

Command: go run check.go -f etc/check.yaml
Output:
Starting rpc server at <IP_ADDRESS>:8080...
{"level":"warn","ts":"2022-12-27T19:20:55.154-0800","logger":"etcd-client","caller":"v3@v3.5.5/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0x14000290380/<IP_ADDRESS>:2379","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:2379: connect: connection refused""}
{"@timestamp":"2022-12-27T19:20:55.155-08:00","caller":"zrpc/server.go:91","content":"context deadline exceeded","level":"error"}
panic: context deadline exceeded
goroutine 1 [running]:
github.com/zeromicro/go-zero/zrpc.(*RpcServer).Start(0x1027e6bc0?)
{HOME}go/pkg/mod/github.com/zeromicro/go-zero@v1.4.3/zrpc/server.go:92 +0x80
main.main()
{HOME}/Desktop/myapp/bookstore/rpc/check/check.go:38 +0x228
exit status 2

I have the same problem.


Stacked bars

Please add a way to draw multiple colored bars along the arc, which would allow for situations where multiple values sum to 100%.

I was considering this functionality and decided that it's too complex to be in the "core". But there is a snippet in #56 that might help you.

I love the way the stack bars work in the snippet #56!
This is maybe off topic, but I was always wondering if a "circular" gradient can be implemented. Like the following picture: click here
At the moment, the gradient is a linear gradient masked out by the circle. It's not exactly what I'm looking for, as I would like the gradient to start at transparent and finish at blue over circle line itself.
Maybe with your stacked bars it can be done if the sectors support gradients (sorry I did not try it), or can this be implemented in the "core"?

Yes, I'd like to provide conical gradient fill but it's not supported by <canvas> AFAIK. See my comment in #73 (and also a snippet).

Thank you for the link to the snippet.  I do suppose that I was asking for a circle graph, not a true circle progress bar, so it would be outside of core functionality. It turned out that I had even more custom features to implement, so I ended up writing my own canvas code.

Oh, I see. Well, good luck! ;) Then I'm closing this ticket.


Allow .fst to implement .fsti with include

We would like to make the following work:
A.fsti
module A
val i: int

B.fst
module B
let i = 18

A.fst
module A
include B

This will allow one implementation (here B) to implement several interfaces at the same time.

There is a conceptual leap forward here: so far, include has been thought as a namespace rewriting scheme rather than textual inclusion. Thus, consider the following case:

B.fst: module B  let x = 18
A1.fst: module A1  include B
A2.fst: module A2  include B
C.fst: module C  let y = A1.x
Then, wherever A1.x and A2.x are requested in client code (e.g. C), they will actually be replaced with B.x. Then, if we add the following interfaces:
A1.fsti: module A1  val x: int {x > 10}
A2.fsti: module A2  val x: int {x > 5}
Then, it is not clear whether we should still perform the replacement before type-checking the client code, i.e. whether A1.x in C should be replaced with B.x or not. (Replacement should have been performed before extraction, of course, but how early is not clear.)

FWIW: currently, adding the interfaces fail because interleaving is performed even before name resolution; include declarations are not recognized as declarations of terms that should be interleaved with their type declarations in the interface.
Similarly, it is not clear how to treat include in interface files, but this is another story.

This feature request is a significant redesign. Marking it wontfix


Rename and restructure how wallet keys are organized in wallet output

To clearly communicate what the values of these actually are, I propose we rename and restructure this group of subwallet data.
Current:
keys: {
   public: '...',
   private: '...',
   chain: '...'
}

new:
private: {
   key: '...' // same as 'private'
   chainCode: '...' // same as 'chain'
}
public {
   address: '...' //an ethereum address
   key: '...' // same as 'public'
}

public.key is very similar to public address, but I hesitate to suggest removing it before we're certain it can and should be removed.

up to you

I actually feel sort of strongly about displaying the Ethereum addresses? They're more directly useful than the raw public keys.

The other thing to consider is that we will be using keygen-js in contexts where it would be nice to not have to do downstream work to do the conversion across an entire wallet object, like generating planet wallets to give away at Escape or otherwise.

I'd suggest something like this – only the public and private key are "keys" per se:
"owner": {
    "keys": {
      "public": "",
      "private": ""
    },
    "chain_code": "",
    "address": "",
    "seed": ""
  },

Not that it matters all that much for the hoon code, but for now I'm going to assume @msutherl's suggestion is what we're going with here. (Though it seems a bit pedantic about the meaning of "keys".)
For completeness, you get the Ethereum address by keccak-256 hashing the public key and taking the last 20 bytes. Not sure if any of our dependencies already provide keccak-256 (sometimes incorrectly named sha3 by Ethereum code), or if we need to pull in something new.

I'll consider this to be closed by #34 -- the output doesn't exactly match what was suggested here, but it does include additional information, etc.


Scheduler does not save changes to time interval on new or existing triggers.

Bug Report
System Information

Operating System: Ubuntu 18.04 LTS
AMP version: <IP_ADDRESS>
Which AMP release stream you're using (Mainline, Nightly or FastTrack): As far as I know, mainline.

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.
[x] that my checkboxes above look like the one on the left (remove this line when done)

Symptoms

Enter Symptoms on this line: I'm not sure how else to describe this. The scheduler literally won't save changes to time interval. A cube coders staff member requested that I make this ticket after asking about it in discord.
Reproduction

Enter reproductions steps here: Just make a new trigger under scheduler and set it to advanced time interval. Try to change it from the default interval and save your changes. Edit it again and notice no changes were saved.

Verified that this is behaving correctly on latest nightly.


How do I get only the CoT related data?

In the FLAN papers, it was mentioned that using CoT data during instruction tuning improves the model performance on unseen tasks (more performant).
I am planning to curate some self-instruct dataset together with some CoT data. How can I specify in the repo to get only the CoT data? Can you also refer me to the CoT based datasets used that helped you get that extra improvement in performance that was mention in the FLAN papers?
I am also thinking of using self-instruct to generate some CoT data, seems like that is something that is missing from the FLAN methods. Any ideas or plans in this direction?
I was playing around with run_example.py. These are the kinds of input and output data I am looking for.  I like that you do not need to have a base prompt template using FLAN style of instruction tuning compared to needing a rigid base prompt such as in .
Example 1:
input
Antonio is preparing a meal of spaghetti and meatballs for his family. His recipe for meatballs calls for 1/8 of a pound of hamburger per

meatball. Antonio has 8 family members, including himself. If he uses 4 pounds of hamburger to make meatballs, and each member of

the family eats an equal number of meatballs, how many meatballs will Antonio eat? Let's be accurate as possible.

output
If one meatball is made from 1 / 8 pound of hamburger meat, then 4 pounds of hamburger meat will make 4 / (1 / 8) = 4 * 8 = 32

meatballs. 32 meatballs divided amongst 8 family members is 32 / 8 = 4 meatballs per family member.

The answer: 4.

Example 2:
input
Given the sentence "A man playing the guitar on an elevated stage in front an audience." is it true that "A man is about to play the final

song in his set."? A step-by-step solution is:

Just because he is playing guitar doesn't mean he is playing the final song in his set.

The final answer: it is not possible to tell.

Example 3:
input
 Given the sentence "A toddler is riding a plastic scooter." is it true that "A toddler is taking a bath."? Step by step answer:

output
A toddler cannot be taking a bath and riding a scooter at the same time. Therefore, the final answer is no.

Lastly, do you think that the improvement in performance by CoT data is that it provides the model with extra reasoning capabilities that can be generalized to tasks that requires a few steps of reasoning.

@timothylimyl Thank you for your interest.

The cot_submix in run_example.py is what you're looking for (or cot_zsopt if you just want the zero shot examples).
We don't currently have plans to use self-instruct for CoT data
Training with CoT data had greater effects on the explanation generation of larger models (Flan-PaLM) -- it's sort of an "emergent ability". I believe most of these CoT datasets have 1-2 steps of reasoning. So generalizing to more steps might require data with more steps, otherwise the model might simplify the reasoning steps into 1-2, as it has seen.

Best of luck!


system tests failing on head

@DominicKramer any thoughts? seems to have started cropping up on a nightly, I haven't taken much time to dig in yet.

I'm not sure what the error could be caused by.  I've never seen the test that is failing fail before.

Fixed in PR #400.


Added missing awaits to 'retryFinished' and 'handleError' functions

@u-hubar Should this PR target v6/develop instead of devnet prerelease


Polish task snippets

Related to #3159 #3413
As discussed in triage, I reverted commits 8004d27, b7e9c82 and a7a0f82 which introduced snippet support for tasks.json. The reverts are: 9d64fe7, 9c5cefb and 856fb0b.
The experience needs to be improved, the user needs more guidance towards creating a final, working tasks.json file.

Joao Moreno [15:08]:
hi Erich?
Erich Gamma [15:08]:
hi
Joao Moreno [15:08]:
sorry to bug you
Erich Gamma [15:08]:
no prob
i'm working anyways
Joao Moreno [15:09]:
i have a feeling Dirk left his task stuff halfway done: https://github.com/Microsoft/vscode/issues/3159
it's very hard now to generate a tasks file. I even went through our documentation and couldn't figure it out
meaning: I tried setting up a build task with the ts compiler, and still didn't make it. maybe this needs more thought?
Erich Gamma [15:11]:
This definitely came in hot. I have never used it end to end and only looked at the point feature, which made sense.
Joao Moreno [15:11]:
got it
Erich Gamma [15:11]:
Let me give it a try as well
Joao Moreno [15:12]:
please do. if you feel the same, I propose to undo it and polish it when dirk is back
Erich Gamma [15:12]:
agreed, I'll get back to you
Joao Moreno [15:12]:
thanks!
Erich Gamma [15:31]:
Tried and I got it to work, but there are issues and I suggest to rollback and revisit the experience.
I'll file an issue
unless there already is one
Joao Moreno [15:34]:
there isn't one for rolling back, no
just small ones for the isolated hickups in the experience
Erich Gamma [15:36]:
ok, then this is good enough and I suggest that you discuss this in the triage and suggest to roll back the change, since Dirk cannot address the hickups and you have my support for this.
Joao Moreno [15:36]:
thanks!

Discussed with Joao the concerns he raised and demoed him and Erich the new implementation.

Marking as verified since the story got obsolete.


Instance for NonEmptyArray?

We have an instances of EncodeJson and DecodeJson for NonEmpty Array but not for NonEmptyArray. Is there a reason for that?
If not, I'd be happy to take a shot at implementing, with two minor points:

The logical names for those instances (encodeJsonNonEmptyArray and decodeJsonNonEmptyArray) are already in use. I propose renaming the existing ones to encodeJsonNonEmpty_Array and decodeJsonNonEmpty_Array. Would that break anything?
There was some discussion in #25 about implementing encodeJsonNonEmptyFoldable and decodeJsonNonEmptyFoldable. That doesn't seem to have happened. Was there a reason it was avoided or did it just fall off the radar?

@JamieBallingall Those instances would be welcome!
I'm not sure what to name them, but as far as I'm aware changing the instance names should not break anything (there would have to be something relying on the names in the generated code, which is highly unlikely). Perhaps @garyb has input on using _ in the new names.
I think #25 simply fell off the radar. It's worth being careful about ensuring that various Foldable structures all turn into reasonable JSON, so if / when a PR is opened I'd like to test a few common structures, but it ought to be doable!

I wouldn't really have a problem changing the instance names as suggested. If you're being super picky it's a breaking change, in case someone is using them from JS, but aside from that not being a recommended practice anyway I think it's very unlikely.


[FEATURE] preprocessing functions for models

Is your feature request related to a problem? Please describe.
I tried beit_large_patch16_384 model and it gave me worst results than tf_efficientnet_l2_ns_475 with a big margin. i think the problem is with preprocessing.
Describe the solution you'd like
A preprocessing function that goes with each model, takes image or image_path as an input and returns the image preprocessed and ready for the model.
Describe alternatives you've considered
My own preprocessing and it wasn't the best

@MohamedAliRashad every model has metadata to describe the pre-processing and it's used in the validation script for generating the result csv files, I'd look at the code...


Makes zipkin-cassandra work with normal Java

This should avoid problems with Arm64, but needs to be tested post
merge. This does the following:

significantly trim the image size by downloading from maven
use less JVM-specific flags
reduce memory usage for reasons including shutting off JMX
dodge conflict during install by using a different port per arch

REPOSITORY                                      TAG                 IMAGE ID            CREATED             SIZE
openzipkin/zipkin-cassandra                     test                7b591f5d12cc        13 minutes ago      138MB
ghcr.io/openzipkin/zipkin-cassandra             2.22.2              ab5d087d0800        43 hours ago        262MB

Note: I'm leaving JRE 1.8 as since after cassandra 3.11.3, you can't run it anymore due to use of sun.misc

ran this with the docker-compose example to show that it is creating a working schema (ENSURE_SCHEMA is false there)

@openzipkin/core Travis is cut off due to a migration problem. I missed the fine print when migrated from travis-ci.org -> .com trying to get graviton up for @odidev... we have to explicitly apply to be OSS (similar to the application I filed the other day for Docker Hub). What happened was, I used up my personal credits which might replenish tomorrow I guess... I emailed their support to give us a big budget and sorry about the problem.
The build here was ironically only red on GH actions, which is now green, so I'll merge, though it won't cut an image because Travis is supposed to do that. I'll ping back here when travis gets back to me about the OSS credit thing.


Image incomplete

Insert two images in the directory public/assets/img named 'logo-small.png' and 'photogrid.jpg'

@bhoomi97 check this..?


Need more explanation about get contents from a shareingurl for onedrive for business

I have one annoymous sharing url from onedrive personal and one from onedrive for business.
When I use the api GET /shares/u!xxxxxx/ with a work account oauth, I get “400 The site in the encoded share URI is invalid” but I can get the SharedDriveItem resource for the shareing url from
onedrive personal with a personal account oauth.
Is there any more rules about this?

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

ID: 292c23a1-9aab-8349-11b2-dc6f28d54e6e
Version Independent ID: 083a591a-6425-3408-aa2f-ace9db3c43c8
Content: Access shared items - OneDrive API - OneDrive dev center
Content Source: docs/rest-api/api/shares_get.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

Thanks for your feedback.  For this case

When I use the api GET /shares/u!xxxxxx/ with a work account oauth
could you please clarify whether the sharing URL was a OneDrive personal sharing URL, or a OneDrive or Business sharing URL?

Also could you please provide a request-id and date/time for the request that failed?  I'll tag so our helpful bot will provide more information about getting request ID's.

personal account  CALL personal sharing url: work
Date: Fri, 17 Apr 2020 17:26:53 GMT
request-id: 36d9658b-e215-4129-9c78-4b0dfedd6023
personal account CALL business sharing url: 400 Invalid shares key
Date: Fri, 17 Apr 2020 17:28:32 GMT
request-id: cbc2e6e3-b0e4-4f82-b368-8f78bc6d1b8c
business account CALL business sharing url: 400 The site in the encoded share URI is invalid.
Date: Fri, 17 Apr 2020 17:30:00 GMT
request-id: 0e854311-30bf-423e-8cd5-8c8007ad230d
business account CALL personal sharing url: 400 The site in the encoded share URI is invalid
Date: Fri, 17 Apr 2020 17:32:28 GMT
request-id: 34f1b5e9-ed90-41c3-b1fa-54c0632078b0
no SPRequestGuid found in all tests.

Thanks for your feedback.
All three failures are expected.
For business accounts, a sharing URL must belong to the same organization (tenant) as the user belongs to.  Likewise, a business account cannot use a personal sharing URL.
In addition, a personal account cannot use a business sharing URL.

Thanks for your feedback.
All three failures are expected.
For business accounts, a sharing URL must belong to the same organization (tenant) as the user belongs to. Likewise, a business account cannot use a personal sharing URL.
In addition, a personal account cannot use a business sharing URL.

That means, there is a situation that I can visit a sharing URL in browser but cannot visit it through Microsoft Graph?


[Map] DM-Jip

Hash: d9b70ec0724d3b4c6ca2094bebecd484940ee0a7
Current name: DM-Jip
According to the readme, the author is  Yury Jip

Updated and also added some aliases


Calendar dates summary doesn't reflect fields available to edit

Currently calendar dates show like a normal gig if it is only one date. Calendar dates shouldn't have times, just dates, associated with them. They also don't need to show contacts or financial information.

Possibly fixed this, but maybe needs a quick poke through the database to see

Possibly fixed this, but maybe needs a quick poke through the database to see


How to get .2fa_info files.

I need to get the identity secret to auto accept trades which is apparently located in the [username].2fa_info file. For some reason I don't have this file. I have already enabled 2fa, and have written working code for auto accepting trade offers. At the moment only sentry and log files are created not the .2fa_info files which I need in order to find the identity secret.
This is the code of my index file where I create the childbot: https://gist.github.com/CodeLuca/44de80dfc35619357b26
I am using the mobile authenticator on iOS if that helps.
This issue is an extension of #15
If @andrewda, @dragonbanshee or @infam0us could you try help me out? Thanks so much for the help already :)
Thanks,
Luca

@dragonbanshee

@andrewda, @dragonbanshee or @infam0us Emergency help needed!

You need to have enabled 2FA on parentbot, which means it can't be enabled anywhere else. If it is, disable it. Then when you run parentbot after, it will walk you through the process to enable 2FA on the bot. Once it's enabled, the file will be automatically generated and you will have the information.

@dragonbanshee where else could it be enabled. And by somewhere else, do you mean elsewhere in the code or in other programs / processes?


Added Introduction to Measurement

What are the prerequisites to understand the topic of Measurement
What is the concept of Measurement
How a qubit can be measured ?

Hi @RankJay,
Thank you for your work!
I think it would be nice if we could work towards some more depth on the subject.
Some subjects I think we should add next:

How does a measurement effect different single qubit states. For example what would happen if you would perform a measurement on a Qubit if this Qubit is in a super position.
What are the different axis that can be used to perform a measurement X,Y,Z.
It would be good to show the mathematics for each subject.

Also we should add some Q# code to show the learner how this new measurement knowledge could be used in Q# programs. For example: create a simple random generator to show that a specific measurement not always returns the same result.
Would this be something you could add?
Lastly, the ppt was still in the PR, could you remove this like discussed in the previous PR?
Again thank you for your help!

Hi @vivanwin
I am really sorry for the PPT, i just forgot to remove it from the PR. Thank you for your guidance and appreciation. Also, I had a query that now that I have removed the PPT from this  PR, will you be merging this PR into master branch and the further contributions you guided me to build through would be pushed from a new PR or is it until the entire tutorial is completed you will not be merging this PR into master branch ?

Hi,
Thank you for your work.
The tutorial does not need to be complete, looking at the complete list that @tcNickolas Provided. However, we need to add more technical dept then what is present now. So the learner has material that can be used for learning.
Would you be ok, with creating the content that I have pointed out in the last comment?

Hi @vivanwin
Sure, I got that. I will update you with the latest technical depth as you mentioned in the previous comment, is required for this tutorial, as you and @tcNickolas have guided me.
Thanks again.

Hi @vivanwin,
I have added introduction to Pauli's measurement and a basic exercise to measure the value of the next qubit. Can you guide me as to whether it is good to create such an exercise before actually moving to measure a Single Qubit system / Multi Qubit system in a superposition state.
Also, @tcNickolas , if you can add any comments on this, it would be really helpful.
Thanks again.

Hi @RankJay
Thank you for this work, I like that you are adding code and some more technical depth to the Tutorial.
What I think would be good: show a learner what a super position is for example α|0⟩+ β|1⟩, and show the effect if you would measure this state, what would be the probability to measure One or Zero.
As for the exercise: the katas have a great utility: Microsoft.Quantum.Katas, this can be used to create exercises, with tests. Take a look at for example the Single Qubit tutorial, you can see that there is a Q# visual studio project in there which allows you to create unit tests, these test can be executed via your Jupyter notebook. This way the learner will have the same experience in the whole Katas.
For the math you are adding to your text, try to use LaTeX, inside your text. For example your X⊗Z⊗Y could be written as "$X \otimes Z \otimes Y$", this will give a more constant look across the whole katas.
I really appreciate your help, so I hope this is not discouraging you!
Vincent

Hi @vivanwin,
To be honest, it just keeps me pumped for striving more & more hard for this project.
I totally got your point here and will add Microsoft.Quantum.katas in this exercise, and will update you after adding superposition concept as well. Thanks for your guidance, I really appreciate it.

Hi @vivanwin,
for the past week, I was focusing on adding a Q# project that best describes how superposition works, but I am having a little difficulty here running the code, I am unable to find the error in the project, can you please help me out.

Hi @RankJay,
Thank you again for your effort!
I can run your Q# program without any issues so I presume you are referring to the error in the Jupyter Notebook?
In a Notebook cell you do not have to declare the namespace so if you want to add the two operations BuildBellPair and PutInGHZState, you can create them without a namespace declaration in a single cell or multiple cells.
For the errors in the functions: the body statement is deprecated, which throws a warning on my side.
Lastly there is an issue with assigning the measurement results to the result array. To fix this you need to make the array mutable and assigning new values to an array is done like this: set arr w/= idx <- expr;.
For you code that would look like this:
......
mutable result = new Result[numberOfQubits];
......
set result w/= i <- M (qs[i]);

I hope this helps with the errors.
A note from my side on the structure of Q# program:
It would be good if we try to keep the same structure for all the Kata's and Tutorials. Take a look at for example at the MultiQubitGates and the project structure, that is beging used. This would make it easy for learners to go from one subject to the other.
Again thank you for all the work you are doing!

Hi @vivanwin,
Yes, Thank you for helping me out, I actually solved most of my errors with your preferred guidance.
Just one thing that you mentioned about the Q# project structure, so were you referring to create a Tests.qs, Tasks.qs, and other relatable files for this tutorial project similar to one in MultiQubitGates or were you referring to creating a similar version of workbook_MultiQubitGates or any other file structuring errors from my side.
Thanks again, for helping me out.

Hi @RankJay,
I was referring to the folder structure.
So the main TestSuiteRunner.cs which will run all the test.
Then Tasks.qs with the tasks to be completed by the learner, this is used when the learner does not use the Jupyter notebook interface.
Tests.qs here are all the tests, which will be kicked off by the TestSuiteRunner.cs and the Jupyter notebook cells.
The MultiQubit tutorial uses the same structure, you can reuse that.
Does that help?

Hi @vivanwin,
Got you. Thanks for clearing this up, will immediately start working for creating a similar tutorial demonstration for this tutorial.
Thanks again for my immense help, provided already.

Hi @RankJay,
I see you have updated the PR, would you like me to have a look, or are you still working on it?

Hi @vivanwin,
Sure, you can have a look now. Sorry I didn't ping you earlier because I wasn't sure if the structure I made was correct as per your suggestions and so I thought to have a look upon other tutorials for the same, as of now, I just finished cross-checking with other tutorials. So yeah, you can have a look.
Sorry again getting it delayed by 2 days, I was a little busy with my semester exams.
Awaiting for your next suggestions/guidance.
Thanks for your help so far.

Hi @RankJay,
I am not sure if you where planning more changes or not, but I had a look at the work so far. Now that you have removed the project, the focus can be on the two points mentioned by @tcNickolas.
The next step should be to change the notebook to reflect the two points. Keep in min that this is a tutorial, so the learner has no experience yet with measurements so the basics should be covered.
Again thank you very much for all your effort!

Hi @RankJay
I was wondering if you are still able to continue this PR?

Hi @vivanwin,
sorry for this miscommunication, but I was, this past month, a little busy with my end semester exams, hopefully, by this Sunday I resume my work to this PR. I hope that's okay.

Hi @RankJay
No problem, there is no hurry.
Good luck on your exams.

Hi @vivanwin,
Finally finished with my exams, I am really sorry for this huge delay, I'll be resuming my contribution from today. Again, sorry for the trouble.

Hi @RankJay,
No problem! Looking forward to your work.

Hi @vivanwin ,
I am extremely sorry for this disruption in my contribution but I believe I am not able to cop up with my studies and to continue to this QuantumKata anymore, I am really sorry for this but I cannot anymore do it as there is lods of academic pressure due to pandemic. I can't guarantee but I can definitely look back to completing it on coming Nov-Dec, if still no one picks it up.
Would love to hear any words from you, if I cannot back out once I start, if that is the case.

Hi @RankJay,
Of course you can back out of it! One of the main principles of open source is that the contributions are done voluntarily, and not being able to finish a contribution does not cause any hard feelings. You absolutely should prioritize your studies and taking care of yourself - these are trying times for everybody!
I will close this PR for now, since it's too raw to be merged in. I'll write out the tutorial structure we planned in this comment as a separate issue up for grabs, and you can return to it later if you have time and nobody picks it up first.
Please do stay in touch! The next event we're planning is Hacktoberfest, so we'll open a bunch of small and easy to do issues, maybe you'll have a couple hours in October to do one of them. (Again, no pressure if you don't!)

Will definately try to manage my time and be there for sure. Thanks for understanding and supporting.


Update sts to 2.10.85

Updates software.amazon.awssdk:sts from 2.10.83 to 2.10.85.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk", artifactId = "sts" } ]

labels: library-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master     #221   +/-   ##
=======================================
  Coverage   47.68%   47.68%
=======================================
  Files          24       24
  Lines         281      281
  Branches        1        1
=======================================
  Hits          134      134
  Misses        147      147

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 bcd911a...64d51a8. Read the comment docs.


Fixes / improvements

Hello Ievgen Polyvanyi,
searching a simple signal library I found lsignal and it looks promising. Here are some fixes / improvements for it (see commit message).
Addinional notes:

When I try to compile tests.cpp (with g++ 4.9 or clang++ 3.5) I get a compile error:
tests.cpp: In static member function ‘static void AssertHelper::VerifyValue(int, int, const char*)’:
tests.cpp:52:118: error: no matching function for call to ‘std::exception::exception(const char*)’
throw std::exception(MakeString("\n\n  %s\n\n    Excepted: %d\n    Actual: %d", message, expected, actual).c_str());

In QT the slot is the function, that is connected to the signal, so the signal calls the slot. In your library I understand that a slot is something like an automatic disconnector. I suggest to change the name of the class slot to something like shared_connection.

Greetings
Diether Knof

Hello Diether Knof,
Thanks for your improvements and fixes!

As for a compile error related to ‘static void AssertHelper::VerifyValue(int, int, const char*)’, unfortunately, the added tests haven't been checked with gcc/clang yet, haven't noticed that 'std::exception(const char*)' isn't standard mvcc-specific constructor.
Yes, 'slot' is a little wrong name from Qt' point of view, your understanding is correct.

I'll try to take a look at this, when will have a free time.
Kind regards,
Ievgen Polyvanyi


Fix need for meta-python and BSP recipe upgrades

@pbrkr Thumbs up?

@agherzan Thumbs up from me. I'm currently testing a few changes which I've based on top of this branch.

Thanks, guys. Merged.


Pixeloid font family does not change colors on iOS using ttf

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

download https://www.fontspace.com/pixeloid-font-f69232
use pixeloid mono or sans etc. for your text widgets
use ios simulator.
Try changing text color for text widget.
???

it works for other font families, but on pixeloid mono it does not work on iOS. It works on android tho...
Expected results
Font color changes
Actual results
Font color stays white
Code sample
I don't see the point int uploading main from flutter bug edited because all you need to do is use font family pixeloid mono and try changing text colors with it. I instead add my proxy text widget but the bug does not come from me forgeting to add style or smth like that...
import 'package:flutter/cupertino.dart';
import 'package:kebab_guru_mobile/constants/proxy.dart';
import 'package:kebab_guru_mobile/theme/theme_colors.dart';
class ProxyTextWidget extends StatelessWidget {
final String text;
final Color? color;
final int? maxLines;
final bool isOverflow;
final bool isUnderline;
final bool isUppercase;
final bool isLineThrough;
final TextAlign textAlign;
final FontStyle fontStyle;
final ProxyFontSize fontSize;
final ProxyFontWeight fontWeight;
final ProxyFontFamily fontFamily;
final double height;
const ProxyTextWidget({
Key? key,
required this.text,
this.color,
this.maxLines,
this.isOverflow = false,
this.isUnderline = false,
this.isUppercase = false,
this.isLineThrough = false,
this.fontStyle = FontStyle.normal,
this.textAlign = TextAlign.left,
this.fontSize = ProxyFontSize.medium,
this.fontWeight = ProxyFontWeight.regular,
this.fontFamily = ProxyFontFamily.body,
this.height = 1.3,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Text(
isUppercase ? text.toUpperCase() : text,
maxLines: maxLines,
textAlign: textAlign,
overflow: isOverflow ? TextOverflow.ellipsis : TextOverflow.visible,
style: TextStyle(
height: height,
color: color ?? ThemeColors.white87,
fontSize: ProxyConstants.getFontSize(fontSize),
fontWeight: ProxyConstants.getFontWeight(fontWeight),
fontStyle: fontStyle,
decoration: isLineThrough
? TextDecoration.lineThrough
: isUnderline
? TextDecoration.underline
: null,
fontFamily: ProxyConstants.getFontFamily(fontFamily),
),
);
}
}
static Map<ProxyFontFamily, String> fontFamilyVariants = {
ProxyFontFamily.header: StylesConstants.fontFamilyHeader,
ProxyFontFamily.body: StylesConstants.fontFamilyBody,
ProxyFontFamily.game: StylesConstants.fontFamilyGame,
};
static String getFontFamily(ProxyFontFamily value) => fontFamilyVariants[value]!;
static const String fontFamilyGame = 'Pixel';

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.5, on macOS 13.2 22D49 darwin-arm64, locale
    en-LT)
    • Flutter version 3.13.5 on channel stable at
      /Users/tomasbutkevicius-adapt/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12fccda598 (7 days ago), 2023-09-19 13:56:11 -0700
    • Engine revision bd986c5ed2
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/tomasbutkevicius-adapt/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 19.0.2+7-44)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (3 available)
    • iPhone 14 (mobile) • 769EF085-3A40-4B29-877A-21EE16E1F8C3 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64
      • macOS 13.2 22D49 darwin-arm64
    • Chrome (web)       • chrome                               • web-javascript
      • Google Chrome 117.0.5938.92

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Hi @tomasButkeviciusAdapt. Thanks for filing this. I can reproduce this on the latest master and stable channels.

Android
iOS

Code Sample Used

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(
          child: Text(
        "Hello",
        style: TextStyle(fontFamily: "PixeloidMono", color: Colors.green),
      )),
    );
  }
}

stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.13.5, on macOS 13.0 22A380 darwin-arm64, locale
    en-NG)
    • Flutter version 3.13.5 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12fccda598 (6 days ago), 2023-09-19 13:56:11 -0700
    • Engine revision bd986c5ed2
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile)     • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • iPhone 14 Pro Max (mobile)      • BB55E997-7F31-462D-B3B1-6B177D9B40C7 •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • iPad (10th generation) (mobile) • 5B1DA2B3-69EC-435B-95F8-550B7F3A9FBB •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                 • macos                                •
      darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                    • chrome                               •
      web-javascript • Google Chrome 116.0.5845.187

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[✓] Flutter (Channel master, 3.15.0-9.0.pre.4, on macOS 13.0 22A380 darwin-arm64, locale en-NG)
    • Flutter version 3.15.0-9.0.pre.4 on channel master at /Users/damilolaalimi/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f6f18d0688 (5 hours ago), 2023-09-25 23:09:32 -0400
    • Engine revision 75950dc280
    • Dart version 3.2.0 (build 3.2.0-198.0.dev)
    • DevTools version 2.28.0-dev.12

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile)     • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • iPhone 14 Pro Max (mobile)      • BB55E997-7F31-462D-B3B1-6B177D9B40C7 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • iPad (10th generation) (mobile) • 5B1DA2B3-69EC-435B-95F8-550B7F3A9FBB • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 116.0.5845.187

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@jason-simmons Could this be related to https://github.com/flutter/flutter/issues/126546?

This is similar to https://github.com/flutter/flutter/issues/126546.
CoreType marks this as a color bitmap font because the font contains an SVG table.
You can work around this by using a tool like ttx to remove the SVG table from the font files.


Cannot create more than 10 alternatives

Showing more than 10 alternatives does not work:
#slide(title: "Test")[
    #alternatives[1][2][3][4][5][6][7][8][9][10][11]
]

will only generate slides from 1 up to 10.
Setting max-repetitions does not make the 11 appear:
#slide(title: "Test")[
     #polylux-slide(max-repetitions: 15)[
        #alternatives[1][2][3][4][5][6][7][8][9][10][11]
     ]
]

This should be fixed on the main branch. Reminding me of how long there hasn't been a release 🫣

I trigger this regularly, could we perhaps get a release so I don't have to depend on a git version?


feature request: Emoji custom button

Hi @stevermeister, thank you for writing this awesome library in angular.
Do you have any idea to add in a emoji function? (maybe a emoji button... or)
One possible repo is ngx-quill and it is using quill emoji

@DanielChuDC do you mean how one should implement such a functionality in the library?

Yup! I am not sure how to add emoji function...
My ultimate goal is to able to post message to telegram with emoji 👍

Check out this guide on how to add your custom button.

Thank you @bampakoa. I read that guide but I am not sure how to implement that function.

not adding button. Is how to include emoji at the button.

Found a emoji github: https://github.com/TypeCtrl/ngx-emoji-mart/ , which compatible with angular 9. Hope it helps someone's life


[oidc] [implicit] redirect_uri is required

https://openid.net/specs/openid-connect-core-1_0.html#ImplicitAuthRequest

Also available for authorization code flow

redirect_uri must be required if the query param has not been set and the client has no or more than one registered redirect_uri.


Can't build with libxml 2.10.4 on Intel Mac

Hello,
I've been having issues with libxml-ruby 4.0.0 and libxml 2.10.4 installed from homebrew when compiling ruby_xml_encoding.c
TIA for any pointers you can give me.
$ gem install libxml-ruby -- --with-xml2-dir=/usr/local/opt/libxml2/bin/xml2-config
Building native extensions with: '--with-xml2-dir=/usr/local/opt/libxml2/bin/xml2-config'
This could take a while...
ERROR:  Error installing libxml-ruby:
        ERROR: Failed to build gem native extension.

    current directory: /Users/user1/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/libxml-ruby-4.0.0/ext/libxml
/Users/user1/.asdf/installs/ruby/3.0.2/bin/ruby -I /Users/user1/.asdf/installs/ruby/3.0.2/lib/ruby/3.0.0 -r ./siteconf20230425-54279-mints9.rb extconf.rb --with-xml2-dir\=/usr/local/opt/libxml2/bin/xml2-config
/Users/user1/.asdf/installs/ruby/3.0.2/bin/ruby: warning: shebang line ending with \r may cause problems
checking for libxml/xmlversion.h in /opt/include/libxml2,/opt/local/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2,/usr/local/include... yes
checking for xmlParseDoc() in -lxml2... yes
creating extconf.h
creating Makefile

current directory: /Users/user1/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/libxml-ruby-4.0.0/ext/libxml
make DESTDIR\= clean

current directory: /Users/user1/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/libxml-ruby-4.0.0/ext/libxml
make DESTDIR\=
compiling libxml.c
compiling ruby_xml.c
compiling ruby_xml_attr.c
compiling ruby_xml_attr_decl.c
compiling ruby_xml_attributes.c
compiling ruby_xml_cbg.c
compiling ruby_xml_document.c
compiling ruby_xml_dtd.c
compiling ruby_xml_encoding.c
ruby_xml_encoding.c:200:3: error: incompatible function pointer types passing 'VALUE (VALUE, VALUE)' (aka 'unsigned long (unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long, unsigned long)') [-Wincompatible-function-pointer-types]
  rb_define_module_function(mXMLEncoding, "to_rb_encoding", rxml_encoding_to_rb_encoding, 2);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/user1/.asdf/installs/ruby/3.0.2/include/ruby-3.0.0/ruby/internal/anyargs.h:337:142: note: expanded from macro 'rb_define_module_function'
#define rb_define_module_function(mod, mid, func, arity)    RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity))
                                                                                ^~~~~~
/Users/user1/.asdf/installs/ruby/3.0.2/include/ruby-3.0.0/ruby/internal/anyargs.h:273:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *)
^
/Users/user1/.asdf/installs/ruby/3.0.2/include/ruby-3.0.0/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL'
RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \
                                                                       ^
1 error generated.
make: *** [ruby_xml_encoding.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/user1/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/gems/libxml-ruby-4.0.0 for inspection.
Results logged to /Users/user1/.asdf/installs/ruby/3.0.2/lib/ruby/gems/3.0.0/extensions/x86_64-darwin-22/3.0.0/libxml-ruby-4.0.0/gem_make.out

Thanks for the report!


Rework the LOGIC architecture model

This pull request introduces new modes for the LOGIC cell so it can be used as a whole.
The model of C_FRAG has been adjusted so it has two modes: SINGLE that can host a C_FRAG as a whole and SPLIT when top and bottom parts of the C_FRAG are independent and can host the same cells.
The whole LOGIC cell has a new mode MACRO that allows to fit in in the logic_cell_macro directly. The other mode FRAG contains separate C_FRAG, Q_FRAG and F_FRAG.
Techmaps were adjusted too so for example mux8x0 is now mapped to a whole C_FRAG.

Maciej,  LUT4 should go on C frag as well.

@tpagarani You are right, I'll fix that in a next pull request.


Basic support for register arrays

Not really sure about the design here, probably it would be better to have a distinct RegisterArray type
or something so that the users (e.g. svd2rust) can decide how to handle those themselves. But this
is a starting point at least.
Another thing to discuss/improve here is the representation of register arrays. Currently it's all exploded, which is not nice. If we're going to create proper arrays on the Rust side, we need to see what to do
with non-integer indices (i.e. the dimIndex case).

Not really sure about the design here, probably it would be better to have a distinct RegisterArray type
or something so that the users (e.g. svd2rust) can decide how to handle those themselves.

I'd prefer the latter. Basically turn the current Register into an enum:
enum Register {
    Single { .. }
    Array { .. }
    // ..
}

and leave downstream users handle that as they see fit.
@istankovic, could you link me  to a SVD file that uses this "register array" feature?

Yeah, the enum approach is nice and is one of the ideas I had in mind.
I'm going to rework the current implementation.
For an example of an SVD file you can look at
https://github.com/posborne/cmsis-svd/blob/master/data/Atmel/ATSAMD21E17A.svd.

Closing in favor of #16


Create openbitlabs.toml

Description
Links to previous PRs
(Insert here)
Rules
All previous genesis validators should name their PRs "Update {validator_alias}.toml" and provide links to previous PRs merged.
All new validators should name their PRs "Create {validator_alias}.toml" and provide links to their previously closed PRs, if any.
Checklist before merging

[x] Only one toml is added in this PR
[x] The file being added has no special characters in its name (no '.' or ' ')
[x] The file being added is indeed a .toml file
[x] The toml being added is to the correct folder, and only to the correct folder
[x] The eth_hot_key and eth_cold_key are present
[x] The email is present

Previous PR (unmerged): https://github.com/anoma/namada-testnets/pull/3119


Can't uninstall finch via brew

Describe the bug
I can't uninstall or upgrade from 0.1.0 to 0.1.1 because uninstall is failed
Steps to reproduce
$ brew uninstall --force --cask finch
==> Uninstalling Cask finch
==> Uninstalling packages; your password may be necessary:
org.Finch.v0.1.0
find: -delete: forbidden when the current directory cannot be opened
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/xargs -0 -- /opt/homebrew/Library/Homebrew/cask/utils/rmdir.sh` exited with 1. Here's the output:
find: -delete: forbidden when the current directory cannot be opened

Expected behavior
finch uninstalls successfully
Additional context
% brew --version
Homebrew 3.6.14

Mac M1 v12.6.1

Hi @doochik, thank you for reaching out. Could you share the more information about the questions below for debugging?

Could you share the output of finch version and paste the finch.rb file here by running the commandvi $(brew --repo homebrew/cask)/Casks/finch.rb?
Did you run the uninstall command from an existing directory? If no, could you retry running brew uninstall --force --cask finch in the home directory?

Sorry, my fault. Seems to be, I've tried uninstall from non existing directory =)
$ cd /tmp
$ pwd
/tmp
$ brew uninstall --force --cask finch
==> Uninstalling Cask finch
==> Uninstalling packages; your password may be necessary:
org.Finch.v0.1.0
Password:
==> Removing files:
/opt/finch/
/private/var/run/finch-lima
/private/etc/sudoers.d/finch-lima
==> Purging files for version 0.1.0 of Cask finch

$ brew install finch
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).

==> Downloading https://github.com/runfinch/finch/releases/download/v0.1.1/Finch-v0.1.1-aarch64.pkg
Already downloaded: /Users/aandrosov/Library/Caches/Homebrew/downloads/6f2393727ae2b20ea705c5da86eb05c136769a7c60b9e03d78751ec5efeabab6--Finch-v0.1.1-aarch64.pkg
==> Installing Cask finch
==> Running installer for finch; your password may be necessary.
Package installers may write to any location; options such as `--appdir` are ignored.
installer: Warning - A previous installation of Finch exists at /Applications/Finch/. This installer will remove the previous installation prior to installing. Please back up any data and remove existing virtual machine before proceeding.
installer: Package name is Finch
installer: Installing at base path /
installer: The install was successful.
🍺  finch was successfully installed!

All works fine!


Change the algorithm to print time and memory

I have this output:
hash({}) 34,813 op/s (28,725 ns) ±1% x2,500 | 11,728 kB ±0.04% x25
fasterObjectHash({}) 80,103 op/s (12,484 ns) ±1% x2,500 | 7,984 kB ±0.06% x25
hash(singleObject) 18,910 op/s (52,881 ns) ±1% x2,500 | 18,088 kB ±0.03% x25
fasterObjectHash(singleObject) 60,713 op/s (16,471 ns) ±1% x2,500 | 15,040 kB ±0.03% x25
hash(tinyArray) 2,567 op/s (389,591 ns) ±1% x2,500 | 98,696 kB ±0.005% x25
fasterObjectHash(tinyArray) 9,900 op/s (101,012 ns) ±1% x2,500 | 99,952 kB ±0.005% x25
hash(mediumArray) 260 op/s (3.85e+3 ms) ±1% x2,500 | 907,408 kB ±0.0006% x25
fasterObjectHash(mediumArray) 1,050 op/s (952,360 ns) ±1% x2,500 | 939,296 kB ±0.0005% x25
hash(largeArray) 24 op/s (4.22e+4 ms) ±1% x2,500 | 4,287,489,176 kB ±1% x25
fasterObjectHash(largeArray) 78 op/s (1.29e+4 ms) ±1% x2,500 | 4,286,629,832 kB ±0.00001% x25

I think instead of 1.29e+4 ms, would be better to show 128,20 ms, and instead of 4,286,629,832 kb show GB or MB (this number is very weird by the way).
If you have no problem in introducing two new deps, I found two libs that fit the requirements:

pretty-time to help on time prettify.
pretty-size to help on memory prettify

I had this feature on my TODO list so thanks for raising the question. I don't like deps so I'm gonna implement it myself. It's a very simple logic.
Regarding the absurdly big number of bytes. Can you create a reproduction for that? I wanna see what's going on there.

I put the reproduction in the other PR: https://github.com/yamiteru/isitfast/issues/35#issue-1670033734


update contributing document

I got stuck on checking go version after installing gotip, it didn't show 1.18. After googling, I figured out that gotip version is the command that I need to run.

If you're building go from source it'll still be 'go version' , if you're using gotip I believe you'll need to replace any go command with gotip - might be worth making that clear.
I couldn't even get gotip to download so I had to build from source 😂

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


Cosmos DB not working with ToListAsync()

I'm very new to Cosmos DB, actually started some hours ago. I'm working with the following package Microsoft.EntityFrameworkCore.Cosmos (3.0.0-preview6.19304.10)
I was able to create the database and add items on it, but when I try to query the database I'm getting NotImplementedException's
I'm executing the following
IQueryable<T> query = _dbContext.Set<T>();
var items = await query.ToListAsync(cancellationToken);

System.NotImplementedException: 'The method or operation is not implemented.'

How should I query the database? Will this be implemented soon?
Regards,
Alvaro.

First, many thanks for trying preview 6. We really appreciate people trying the previews and filing issues on what they find.
If you haven't seen it already, there is some good information in the preview announcement post about the changes that are happening to LINQ queries for EF Core 3.0. Preview 6 is the first release containing these changes, which means we are both expecting things to be broken, but at the same time very grateful for everyone who tries the release and generated feedback.
For this specific case, the query should work in the nightly builds and in preview 7 when it releases.

Thanks for pointing that out. I'll look forward to the preview 7.


Fix issues

This task fixes some issues with validations and how they are treated.
Disconnection type gives 500 internal server error instead of validation error
Powerlimit is set as optional but must be mandatory
And ContractedConnectionCapacity or ratedCurrent results in 400 bad request.
See issues linked in dependency for descriptions.

Removed #431 Sending in anything but an int for contractedConnectionCapacity or ratedCurrent results in a 400 bad request since it will be resolved with the implementation of schema validation


Vulnerabilities on: x-data-spreadsheet

Hi, I've noticed that your project it's using "x-data-spreadsheet": "^1.1.9", which is vulnerable because it relies on node-fetch  <2.6.7.
Do you have in plan some updates or maybe a change of library?

I will look into this in the coming days.

Fixed in 2.5 hotfix


Adding Clues, Input and background music

Background music works only using Firefox or Microsoft Edge.
For Microsoft edge the user needs to enable Media Autoplay by following the steps:
1 - Settings
2 - Cookies and Permissions
3- Media Auto Play
4 - Control if audio and video play automatically on sites should be  "Allow"
Doing that the music background will play.


CR-15777

Signed-off-by: kim-codefresh<EMAIL_ADDRESS>

Codecov Report

Merging #409 (c990267) into main (bbc5094) will decrease coverage by 0.30%.
The diff coverage is 32.43%.

@@            Coverage Diff             @@
##             main     #409      +/-   ##
==========================================
- Coverage   61.60%   61.29%   -0.31%
==========================================
  Files          19       19
  Lines        3487     3524      +37
==========================================
+ Hits         2148     2160      +12
- Misses       1234     1257      +23
- Partials      105      107       +2

Impacted Files
Coverage Δ

pkg/git/repository.go
74.08% <32.43%> (-3.19%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support running all available patch checks

The BaseErrorProneJavaCompiler supports running all patch checks; it just requires that one doesn't provide any explicitly named checkers.
In practice this doesn't work, however, because:

PatchingOptions requires a named checker or a custom refactorer.
Specifying -XepPatchChecks: without any explicit check will cause the empty string to be stored as a named checker.

This PR proposes to resolve the above issues by:

Requiring -XepPatchLocation when -XepPatchChecks is specified, but not vice versa.
Omitting empty strings from -XepPatchChecks:.

Rebased the branch; would still be interested in seeing this feature included upstream.

Rebased the branch; would still be interested in seeing this feature included upstream.

(@Stephan202 thanks for the PR, and for reminding me about this one in #4028)


responsive for sprite images | springroll

How to make responsive of sprite images when we use it in tween?

Display objects that are made responsive with the ScaleManager should not be moved or scaled in the code, as the ScaleManager will interfere with your movement or scaling. Instead, place the items inside a container, and have the container made responsive with the ScaleManager.


CVE-2022-42889 library upgrade

This pull request upgrades commons-text to handle CVE-2022-42889.
Your pull request should…

[x] have a concise title
[x] ~close an accompanying issue if one exists~
[x] be against the correct branch
[x] ~include migration scripts and documentation, if appropriate~
[x] pass automated tests
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits

Does that problem affect/endanger Opencast? IF so, we probably need to write a security advisory. Or is this not really affecting Opencast and it's more about getting rid of the warnings?

Something brought up in the meeting today: Is Karaf itself affected by this, and which version(s) have they patched?  I'll track this.

In animate, we only use StringEscapeUtils.escapeXml11 to escape strings we then put into XML. That shouldn't be affected. Hence, I don't think Opencast is affected, and we don't need a security advisory. That is, if Karaf isn't affected.


[CT-446] Docs generations doesn't work with multiple schemas

Describe the bug
We have a lot of schemas in our dbt project.
And when I try to generate doc, I get error about:
Expected only one database in get_catalog, found [<InformationSchema INFORMATION_SCHEMA>, <InformationSchema INFORMATION_SCHEMA>]
Steps To Reproduce
Has more than one schema in project.
dbt docs generate
It generates error and falls down.
Expected behavior
Docs with multiple schemas.
Screenshots and log output

System information
The output of dbt --version:
installed version: 1.0.0
   latest version: 1.0.0

Up to date!

Plugins:
  - spark: 1.0.0

The operating system you're using:
Debian 11
The output of python --version:
Python 3.8.13
Additional context
Add any other context about the problem here.

Thanks @barloc! This sounds like the same issue as https://github.com/databricks/dbt-databricks/issues/52. Ended up being an issue with quoting.
There are two proposed resolution in that issue, specifically https://github.com/databricks/dbt-databricks/issues/52#issuecomment-1050130785:

Fix the logic within SchemaSearchMap (called by _get_catalog_schemas), which currently views a quoted "None" database and an unquoted None database as distinct entries in the set of databases. This makes sense in the general case—they have different quote_policy—but it doesn't make sense when the value is None.
Defining this config doesn't (shouldn't) have any actual effect. Given that we don't allow database to be defined elsewhere in dbt-spark (+ dbt-databricks, at least until https://github.com/dbt-labs/dbt-spark/issues/281), it really feels like our answer here should be to raise an explicit error any time the quoting config is defined at the database level. That could look like adding a __post_init__ hook to the SparkQuotePolicy:

   def __post_init__(self):
       if self.database:
           raise RuntimeException('Cannot set database-level quoting!')

Leaving this issue open in this repo, since we should aim to pursue one of them.

Hi, @jtcohen6
I check code and found check in function get_catalog, whick generates this error:
            dbt.exceptions.raise_compiler_error(
                f'Expected only one database in get_catalog, found '
                f'{list(schema_map)}'
            )```
I dont't understand why we check len of schema_map if we handle dict with some keys later:
```        with executor(self.config) as tpe:
            futures: List[Future[agate.Table]] = []
            for info, schemas in schema_map.items():
                for schema in schemas:
                    futures.append(tpe.submit_connected(
                        self, schema,
                        self._get_one_catalog, info, [schema], manifest
                    ))
            catalogs, exceptions = catch_as_completed(futures)```

So after deleting this check all works fine.


icedid

IcedID New Detections

rundll32_create_remote_thread_to_a_process.yml
rundll32_createremotethread_in_browser.yml
suspicious_icedid_regsvr32_cmdline.yml
suspicious_icedid_rundll32_cmdline.yml
suspicious_rundll32_plugininit.yml
office_application_spawn_regsvr32_process.yml
rundll32_dnsquery.yml
rundll32_process_creating_exe_dll_files.yml
chcp_command_execution.yml
create_remote_thread_in_shell_application.yml
drop_icedid_license_dat.yml
icedid_exfiltrated_archived_file_creation.yml
sqlite_module_in_temp_folder.yml

IceID stories
stories/Icedid.yml
Modified detection yml file to support IcedID TTP's

recon_avproduct_through_pwh_or_wmi.yml

add icedId stories to existing detections

previously_seen_command_line_arguments.yml
eventvwr_uac_bypass.yml
fodhelper_uac_bypass.yml
mshta_spawning_rundll32_or_regsvr32_process.yml
office_application_spawn_rundll32_process.yml
office_document_executing_macro_code.yml
office_product_spawning_mshta.yml
registry_keys_used_for_persistence.yml
schedule_task_with_rundll32_command_trigger.yml
suspicious_regsvr32_register_suspicious_path.yml
account_discovery_with_net_app.yml
nltest_domain_trust_discovery.yml
winevent_scheduled_task_created_within_public_path.yml

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Rundll32 Create Remote Thread To A Process :white_check_mark:

diskUsage: 172032
runDuration: 1.837s
scanCount: 32

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Rundll32 CreateRemoteThread In Browser :white_check_mark:

diskUsage: 172032
runDuration: 1.141s
scanCount: 32

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Rundll32 DNSQuery :white_check_mark:

diskUsage: 331776
runDuration: 2.82s
scanCount: 3156

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Rundll32 Process Creating Exe Dll Files :white_check_mark:

diskUsage: 335872
runDuration: 9.601s
scanCount: 17049

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Suspicious IcedID Rundll32 Cmdline :white_check_mark:

diskUsage: 577536
runDuration: 1.988s
scanCount: 39

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Suspicious Rundll32 PluginInit :white_check_mark:

diskUsage: 483328
runDuration: 49.532000000000004s
scanCount: 97809

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Create Remote Thread In Shell Application :white_check_mark:

diskUsage: 172032
runDuration: 1.105s
scanCount: 66

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Office Application Spawn Regsvr32 process :white_check_mark:

diskUsage: 507904
runDuration: 27.825s
scanCount: 50887

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
CHCP Command Execution :white_check_mark:

diskUsage: 585728
runDuration: 21.181s
scanCount: 37796

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
IcedID Exfiltrated Archived File Creation :white_check_mark:

diskUsage: 172032
runDuration: 1.111s
scanCount: 10

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Drop IcedID License dat :white_check_mark:

diskUsage: 176128
runDuration: 1.28s
scanCount: 5

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Sqlite Module In Temp Folder :x:

diskUsage: 135168
runDuration: 0.004s
scanCount: 0

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Suspicious IcedID Regsvr32 Cmdline :white_check_mark:

diskUsage: 589824
runDuration: 50.538000000000004s
scanCount: 98124

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Sqlite Module In Temp Folder :x:

diskUsage: 135168
runDuration: 0.003s
scanCount: 0

This PR was created by Automated Detection Testing Service :robot:
Tested detections:
Sqlite Module In Temp Folder :white_check_mark:

diskUsage: 176128
runDuration: 1.069s
scanCount: 171


Fix small errors in the README

Noticed these small errors while reading through the README. I didn't see any guidelines on contributing, so let me know if this isn't the best way to suggest changes. Thanks! 👍

Thanks!


go.mod and repo name discrepancy

The go.mod file specifies cortextool as the name, while the repo is actually named cortex-tools.
While this is not a big problem, it is confusing when naively trying to import code from this repo:
go: github.com/sh0rez/gctl/pkg/spec imports
	github.com/grafana/cortex-tools/pkg/client<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/grafana/cortextool
	        but was required as: github.com/grafana/cortex-tools

To not actually break go imports, the "clean" solution would probably be to rename this repo to grafana/cortextool

@sh0rez instead of reverting the name to cortextool I think it would make more sense to update all of the paths in the repo. I am not aware of anyone vendoring this code and it would be relatively trivial to update the path at this point.

That's fine as well. Just starting off with a project that vendors this one, so not a problem changing it there


lefe menu color not change

DrawableCompat.setTint(mIconBackArrow.mutate(), color);
DrawableCompat.setTint(mIconSearch.mutate(), color);
fix this work

Can you explain? I is difficult to see what your problem is. Don't you think?

@arimorty  sorry i not speak english very well T.T
my explain
i use galaxys3 device left menu color white use -> but left arrow not white
so find source.... tint method drawable change drawable.mutate() so fixed....

Issue is resolved in latest release.


Don't work with react native debugger

When app is in debug mode, and "Enable network inspect" is turned on in react native debugger, there isn't possibility to receive cookie from url.
Anyone know why it happens and if there is a workaround for that?

I am experiencing exactly the same problem, but there is no information related to this..
Have you learned anything since then?

Nothing new

sad


Drag-and-drop and paste attachment into compose box

Is your feature request related to a problem?
I often attach images to the posts I compose, for example because I'd like to share a screenshot I've just taken on my PC, or a song that I have playing in my music player.
Currently, Phanpy is the only Fediverse frontend I'm aware of that doesn't allow using drag-and-drop or pasting in the compose box to attach a file to the post being drafted, which is a bit of shame, given its completeness in all other aspects...!
Describe the solution you'd like
Let's say I press Print Screen and take a screenshot, which is then copied to my clipboard.
Then, if I open the Compose Post modal, and press Ctrl+V, I'd expect the screenshot I've taken to be attached to the post, like it happens with the default Mastodon frontend, or the default Akkoma frontend. Instead, nothing happens.
In the same way, if I drag-and-drop a file onto the Compose Post field, I'd expect it to be attached to the post, especially since the cursor changes to indicate that a file can be dropped there, but again, nothing happens once the file is dropped.
Describe alternatives you've considered
Clicking the attach file button and navigating to the file works, but it's slow and annoying compared to the other two methods.
Additional context

@Steffo99 what's the OS/browser + versions that you're using?

If this is a bug, I haven't noticed anything unusual in the console logs... :thinking:

Definitely a bug. The feature to paste images from the clipboard exists, and as an additional data point, is working fine for me on Firefox 129.0.2 on Ubuntu Linux - just tested using a screenshot.

Just tested with Vivaldi; it doesn't do anything there either. Huh...?
Vivaldi	6.8.3381.55 (Stable channel) stable (64-bit)
Revision	bab02758ef95883226579569370a212f609f7100
OS	Linux
JavaScript	V8 <IP_ADDRESS>
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Command Line	/usr/bin/vivaldi-stable --flag-switches-begin --flag-switches-end --disable-smooth-scrolling --save-page-as-mhtml
Executable Path	/opt/vivaldi/vivaldi
Profile Path	/home/steffo/.config/vivaldi/Default
Variations Seed Type	Null

Seems like the reason why attachments aren't working is that the mediaAttachments configuration key is undefined on my instance. Maybe it's just an https://github.com/cheeaun/phanpy/labels/akkoma thing?

I guess no mime types are provided because Akkoma accepts anything as post attachment?

Oh, it's documented behaviour!
https://akkoma.dev/AkkomaGang/akkoma/src/commit/3bb31117e65079d710e5129eb70c946d4ffe99ff/docs/docs/development/API/differences_in_mastoapi_responses.md#media-attachments

Now working on adding an error message if an attachment is rejected because of its mime type...