[docs] Add warning that sccache isn't caching any commands since version 0.13.4

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Issue when having two rgb mousemats connected at the same time.

So, in the new version of Aurora the MM800 got added, and works perfectly fine, however the razer firefly ceases  to work when they both are connected now, is it a limitation in Aurora that does this or could it be made to use both at the same time?
Edit: it does not do anything to the Firefly at all in the new version of aurora, If I rollback to the previous version it works fine hmm....

I do not have a Razer Firefly, nor do I have access to any Razer product to debug/test with. It's part of the code, it should function. But the device integrations do not hinder one another, they are independent. Aurora basically sends to each device integration a list of colors for each key. What they do with that information does not rely on any other device.
The reason why I was able to get MM800 to work, was because it's emulated in CUE 2 as a demo.

ah, well the firefly do not work even on it's own now, is there anything I can do to help you figure it out?

Issue is solved, apparently windows loads Synapse after Aurora, I manually changed the load order on windows stat up and now Both mouse mats are confirmed to work!

Alternatively, you can press "retry for connected devices" in Aurora settings, and it will retry to load all SDKs.
 :)


Fix os.IsExist() condition in filelist.Contains()

It is a little tricky that !os.IsNotExist(e) is not equal to os.IsExist(e) while the program is running on Windows.
https://golang.org/src/os/error_windows.go
The default excluded filelist is "*_test.go" and the path name is invalid when call os.Stat() on Windows.
Take the following code for example:
package main

import (
    "log"
    "os"
)

func main() {
    st, e := os.Stat("*_test.go")
    if e != nil {
        log.Println(e)
    }
    log.Println( "!os.IsNotExist:", !os.IsNotExist(e) )
    log.Println( "os.IsExist:", os.IsExist(e) )
    log.Println( "Status:", st )
}

The result on Linux:
2016/07/29 22:52:55 stat *_test.go: no such file or directory
2016/07/29 22:52:55 !os.IsNotExist: false
2016/07/29 22:52:55 os.IsExist: false
2016/07/29 22:52:55 Status: <nil>

The result on Windows:
2016/07/29 22:53:10 GetFileAttributesEx *_test.go: The filename, directory name, or volume label syntax is incorrect.
2016/07/29 22:53:10 !os.IsNotExist: true
2016/07/29 22:53:10 os.IsExist: false
2016/07/29 22:53:10 Status: <nil>

Line 62 in filelist.go would cause program panic when the program is running on Windows because  !os.IsNotExist(e) is true and st is nil.

Interesting! Thanks 👍


Issue319 recognizer unit tests

Issue319 recognizer unit tests
Adrresses #319 by adding unit tests
Changes
Added unit tests for boobook owl, aust bittern, and prototpying Koala V3.
Issues
N/A
Visual Changes
N/A
Final Checklist

[x] Assign reviewers if you have permission
[x] Assign labels if you have permission
[x] Link issues related to PR
[x] Link any PRs or issues blocking this PR from being merged
[ ] Remove/Reduce warnings from edited files
[x] Unit tests have been added for changes
[ ] Ensure CI build is passing

Issue #319 branch is ready for review

I believe I have made all the requested changes.


Adding hover on Contributors

At present, In contributor section, contributors are not clickable and there is no hover functionality.
I would like to add hover functionality to contributors.
Could you please assign me this under SSOC'23.

please assign it to me.

Can you assign it to me?


Internet speed meter in taskbar

Description of the new feature / enhancement
To show the internet speed of various adapters connected to the computer
Scenario when this would be used?
very useful when using internet
Supporting information
https://github.com/zhongyang219/TrafficMonitor/releases
https://winbuzzer.com/2020/03/13/windows-10-network-meter-for-your-taskbar-how-to-use-netspeedmonitor-xcxwbt/

You stole my idea. 😂😂

/dup https://github.com/microsoft/PowerToys/issues/828

/dup #828

the command didn't work

/dup #828
let’s try this again :)

Wait, it's Chinese, guys is it safe?


StringExpression.containsIgnoreCase utf-8 char problem

Hi i have this issue and can't find solution on the web.
when i send turkish char 'İ' as a param to containsIgnoreCase function doesn't find 'i' in database. when i look at logs i see that it lowers query parameter as  'i ̇ '

And problem is not just 'İ', 'I' in lower case 'ı' in Turkish, so it won't be work right too.


README.md: F-Droid is link is wrong

Should be
https://f-droid.org/packages/org.xbmc.kore/

Thanks!


Waze errors

What to do?
Alert > Waze Connection Error, Region-US > No data returned. The route distance will be calculated, Travel Time is not available.

There is nothing you can do. Waze must be down or the internet has an issue.  Wait until Waze comes back online

Okay thanks


Add custom URL schema support to Code Actions

Purpose
Add custom URL schema support to Code Actions.
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Here is the master branch PR @malinthar


[crash] Something went wrong

Describe the bug
I opened Monokle for the first time, clicked to add a cluster, and then while I was looking up my cluster information in another window, this error popped up.
Steps to reproduce
I'm using k3d locally, and only get the error if I don't have a cluster created before starting Monokle.
Stacktrace
Cannot set properties of undefined (setting 'cluster')
The error may be correlated with this previous error:
TypeError: Cannot set properties of undefined (setting 'cluster')
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:331671:21
   at Array.forEach (<anonymous>)
   at Function.unflatten (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:331640:23)
   at mergeConfigs (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:59051:237)
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:58666:4928
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644675:25
   at memoized (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644583:20)
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644689:40
   at Object.memoized [as current] (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644583:20)
   at Object.checkForUpdates [as onStateChange] (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:634742:48)

TypeError: Cannot set properties of undefined (setting 'cluster')
The error may be correlated with this previous error:
TypeError: Cannot set properties of undefined (setting 'cluster')
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:331671:21
   at Array.forEach (<anonymous>)
   at Function.unflatten (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:331640:23)
   at mergeConfigs (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:59051:237)
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:58666:4928
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644675:25
   at memoized (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644583:20)
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644689:40
   at Object.memoized [as current] (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644583:20)
   at Object.checkForUpdates [as onStateChange] (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:634742:48)

   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:331671:21
   at Array.forEach (<anonymous>)
   at Function.unflatten (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:331640:23)
   at mergeConfigs (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:59051:237)
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:58666:4928
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644675:25
   at memoized (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644583:20)
   at file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644689:40
   at memoized (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:644583:20)
   at useSelectorWithStoreAndSubscription (file:///opt/Monokle/resources/app.asar/build/bundle.main.js:634709:30)

Hi @wilj , thank you for reporting this!
We are aware of the issue and we're trying to come up with a fix as soon as possible.

Hi @wilj , we released the 1.7.5 version of Monokle which includes a fix for this error.
You can download it here: https://github.com/kubeshop/monokle/releases/tag/v1.7.5
I'm closing this issue but please let us know if the problem persists after 1.7.5.
Thank you!


sample_type and mt_type in config and model do not match

in the code
sample_type check is for cosine and linear
elif self.sample_type == 'cosine':
but in configs
it is mentioned as
sample_type: 'linear' # options {"linear", "sin"}
may be you are refering cosine as sin as both are just phase differ
but you calculate torch.cos values
options {"linear", "sin"} should it be cosine / cos?

one more
i'm not sure i did not run the code
you have not tested the code with my_type or sample_type with cosine. if so steps will be a float value and so is t and n_t
t = torch.full((x_t.shape[0],), self.steps[i], device=x_t.device, dtype=torch.long)
then the line
m_t = extract(self.m_t, t, x_t.shape) would result in an error
RuntimeError: gather(): Expected dtype int64 for index
if


No indication of which method is used when two libraries have the same method in a re-opened class.

Let's say I have a program that depends on two Shards, Shard1 and Shard2.  In Shard1, the String class is reopened and a new method called some_method is added.  Shard2 has the same thing, a re-opened String class with a method called some_method.  The order that I require the shards seems to dictate which version of some_method is used.
I didn't find anything about this in the docs, or a previously opened issue, but my searching skillz may be a bit lacking :sweat_smile:

What aspect of the language would you like to see improved?
A warning/note message stating that one library overrode the method introduced in another library would be helpful, or explicit documentation about this.  Or both.

What are the reasons?
If I wasn't aware that this depended on the order of requires, in a complex program, this could be quite confusing without indication of which method the compiler is choosing.

Include practical examples to illustrate your points.
There's a very small project to illustrate this here: https://gitlab.com/RemiliaScarlet/reopened-class-example

Hi!
Redefining a method with another one is the language's nature. It works like that in Ruby too. And, like in Ruby, you get no indication about when that happens.
I'm... not sure there's anything actionable here.

Of course a solution to this is to just not randomly monkey patch common types like that. Maybe there would be room for introducing the final keyword in Crystal that would allow a shard developer to mark a type such that it can't be reopened, thus preventing this issue in the first place. While powerful, monkey patching can be dangerous and should be used responsibly imo.
Definitely not saying we should make common types like String final however.

I came to think of a practical enhancement that would make it easier to deal with such issues.
The main problem associated with this is that you call a method (such as String#someMethod in the example) with a signature that you expect to match a specific def. But when the code executes, you don't see the effect of that def.
I've found myself in this situtation and I assume @MistressRemilia might have had a similar experience. It can be very confusing.
Note that this is not just about different shards implementing a method with the same name, but also overloads of a method in the same library with different signatures etc. When it's a complete shadowing like in the example case, the actual target def can be determined statically. When there are multiple matching defs which are dispatched at runtime, it gets even more complicated.
You might be looking for bugs in other parts of the implementation before you realize that perhaps the call goes to some other def. And even when you've realized that, it can be tricky to figure out which def actually gets called.
The crystal tool implementations can be useful for that. It prints the target defs of a call. Using it on the example repo, shows the actuall target def:
$ crystal tool implementations src/main.cr -c src/main.cr:4:7
1 implementation found
/home/johannes/src/crystal-lang/crystal/reopened-class-example/lib/shard1/src/shard1.cr:2:3

For cases such as this example, it can be a big help. I can easily see which def gets called and can jump to the location.
But this tool is far from easy to use.
It would be really nice if we could have a macro for this, which would make it super easy to use when you just put it in the code at the call you want to inspect:
tell_me_where_this_ends_up "".someMethod # => /home/johannes/src/crystal-lang/crystal/reopened-class-example/lib/shard1/src/shard1.cr:2:3

This should be easy to do, the code already exists and should be possible to hook into the macro language. Inspecting implementations at compile time would be super nice.
Now with dynamic dispatch, it is much more complicated to figure out the actual target def. We'd need some enhanced run time reflection for that.
It could be relatively simple to implement in the interpreter. Maybe we can try that?
For native code, I'm not sure if we could achieve anything with reasonable effort. A solution that might be relatively easy to do would be injecting some instrumentation into the target defs which only becomes active after.
module Crystal::Reflection
  class_property bleep = false

  def self.bleep(deff, location)
    if bleep
      puts "#{deff} #{location}"
    end
    bleep = false
  end
end

macro tell_me_where_this_ends_up(call)
  Crystal::Reflection.bleep = true
  {{ call }}
end

def foo(x : Int32)
  Crystal::Reflection.bleep("foo(x : Int32)", "#{__FILE__}:#{__LINE__ - 1}") # injected by compiler
end

def foo(x : String)
  Crystal::Reflection.bleep("foo(x : String)", "#{__FILE__}:#{__LINE__ - 1}") # injected by compiler
end

tell_me_where_this_ends_up foo(1 || "") # foo(x : Int32) /home/johannes/src/crystal-lang/crystal/.test/tell_me_where_this_ends_up.cr:34

Well my main concern was just that it could, potentially, be quite confusing on things that aren't trivial.  I am definitely not a Ruby programmer, and only started tinkering with that language after discovering Crystal, so this behavior is honestly new to me ^_^  As Straight-Shoota said:

The main problem associated with this is that you call a method (such as String#someMethod in the example) with a signature that you expect to match a specific def. But when the code executes, you don't see the effect of that def.

Although my example used the String class in the stdlib, I wasn't intending it to be strictly interpreted as that case.  A different example might be if I have my own class and a method on it updates an instance variable, but some other library overrides that method (and does not update the instance variable).
To use a more concrete example, I was considering extending the IO class in my own personal standard lib with some convenience methods.  That's when I thought, "What if some other shard I use does the same thing?"  And that's what got me thinking about this.
I'm used to seeing a simple style warning in other languages when a method/function is re-defined in a separate file.  But, I honestly think even just a mention in the language docs that the order of require statements matter would help.  Or documentation regarding the tool Straight-Shoota mentioned.

A different example might be if I have my own class and a method on it updates an instance variable, but some other library overrides that method (and does not update the instance variable).

This is partially why you should namespace your library's types. E.g. MyApp::SomeClass, then the chances of someone else's code conflicting with yours is much much less likely.

Somewhat related discussion #8422


Is there an example of CPR

Is there an example of CPR?tks

I'm not sure I follow. Do you have an example of the example? Do you mean MPR?

I think @wmxj wants a curved reconstruction.  I'm sure you could do this with vtkjs, but I don't know that anyone has yet.
https://discourse.slicer.org/t/how-to-implement-cpr-curved-plannar-reconstruction-from-centerline/9456

like this:http://blog.sina.com.cn/s/blog_8a35e5970102xurd.html


Add mechanism for dynamically changing implementations of handlers

The side effects in pyro.poutine are broken up into interfaces in poutine.handlers and their implementations as Messengers, so that it's easy to change the source code of the implementation of any particular Pyro component without affecting downstream code.
However, there are cases where we'd like to modify the implementation of a handler on the fly.  For example, #1159 introduced alternate behavior for handling duplicate names in TraceMessenger, but we can't easily toggle that behavior in existing ELBO implementations.  This issue proposes adding a mechanism, perhaps exposed as poutine.<some_handler>.register(<implementation>).

Closing this as outdated


Test Issue created at Fri, 21 May 2021 12:57:44 GMT

Test issue body  Fri, 21 May 2021 12:57:44 GMT

Comment on issue at Fri, 21 May 2021 12:57:46 GMT


README is blank and contains no content

This README was the default README and was generated by Github. I would like to add a few pieces of information to keep a focus on the projects.

A description of the goals of the project as far the what I hope to gain from it.
The main features I hope to have for a MVP.

Filled out some basic information in the readme. This gives fairly superficial information but does scaffold out a structure for more useful documentation as I build out the app prototype


Lower target JDK for 242

We had set 21 as that was the JDK that the IJP 242 runs on, but that was causing issues in some other places. Since the target JDK is a minimum level, code targeting 17 also works fine in 21. Because of this, we have no reason not to lower it back to 17.

Smoke tested locally, shipping without review (yolo) as I need this urgently, and it's a small change.


Dev

Added new instructions and more informations with troubleshooting

There should be a link to the instructions in the main readme.


Full support for describe statement

In addition to row description, a parameter description message is also returned when describing a statement.
Request:
Frame 26: 129 bytes on wire (1032 bits), 129 bytes captured (1032 bits) on interface lo, id 0
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: <IP_ADDRESS>, Dst: <IP_ADDRESS>
Transmission Control Protocol, Src Port: 50390, Dst Port: 5432, Seq: 62, Ack: 391, Len: 63
    Source Port: 50390
    Destination Port: 5432
    [Stream index: 5]
    [Conversation completeness: Complete, WITH_DATA (31)]
    [TCP Segment Len: 63]
    Sequence Number: 62    (relative sequence number)
    Sequence Number (raw):<PHONE_NUMBER>
    [Next Sequence Number: 125    (relative sequence number)]
    Acknowledgment Number: 391    (relative ack number)
    Acknowledgment number (raw):<PHONE_NUMBER>
    1000 .... = Header Length: 32 bytes (8)
    Flags: 0x018 (PSH, ACK)
    Window: 512
    [Calculated window size: 65536]
    [Window size scaling factor: 128]
    Checksum: 0xfe67 [unverified]
    [Checksum Status: Unverified]
    Urgent Pointer: 0
    Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
    [Timestamps]
    [SEQ/ACK analysis]
    TCP payload (63 bytes)
    [PDU Size: 49]
    [PDU Size: 9]
    [PDU Size: 5]
PostgreSQL
    Type: Parse
    Length: 48
    Statement: s0
    Query: SELECT * FROM mytest WHERE id = $1
    Parameters: 1
        Type OID: 23
PostgreSQL
    Type: Describe
    Length: 8
    Statement: s0
PostgreSQL
    Type: Sync
    Length: 4

Response:
Frame 27: 160 bytes on wire (1280 bits), 160 bytes captured (1280 bits) on interface lo, id 0
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 (00:00:00:00:00:00)
Internet Protocol Version 4, Src: <IP_ADDRESS>, Dst: <IP_ADDRESS>
Transmission Control Protocol, Src Port: 5432, Dst Port: 50390, Seq: 391, Ack: 125, Len: 94
    Source Port: 5432
    Destination Port: 50390
    [Stream index: 5]
    [Conversation completeness: Complete, WITH_DATA (31)]
    [TCP Segment Len: 94]
    Sequence Number: 391    (relative sequence number)
    Sequence Number (raw):<PHONE_NUMBER>
    [Next Sequence Number: 485    (relative sequence number)]
    Acknowledgment Number: 125    (relative ack number)
    Acknowledgment number (raw):<PHONE_NUMBER>
    1000 .... = Header Length: 32 bytes (8)
    Flags: 0x018 (PSH, ACK)
    Window: 512
    [Calculated window size: 65536]
    [Window size scaling factor: 128]
    Checksum: 0xfe86 [unverified]
    [Checksum Status: Unverified]
    Urgent Pointer: 0
    Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
    [Timestamps]
    [SEQ/ACK analysis]
    TCP payload (94 bytes)
    [PDU Size: 5]
    [PDU Size: 11]
    [PDU Size: 72]
    [PDU Size: 6]
PostgreSQL
    Type: Parse completion
    Length: 4
PostgreSQL
    Type: Parameter description
    Length: 10
    Parameters: 1
        Type OID: 23
PostgreSQL
    Type: Row description
    Length: 71
    Field count: 3
        Column name: id
            Table OID: 16389
            Column index: 1
            Type OID: 23
            Column length: 4
            Type modifier: -1
            Format: Text (0)
        Column name: name
            Table OID: 16389
            Column index: 2
            Type OID: 1043
            Column length: -1
            Type modifier: -1
            Format: Text (0)
        Column name: ts
            Table OID: 16389
            Column index: 3
            Type OID: 1114
            Column length: 8
            Type modifier: -1
            Format: Text (0)
PostgreSQL
    Type: Ready for query
    Length: 5
    Status: Idle (73)

implemented in #48


Parser error with generics

Dart SDK Version (dart --version)
Dart VM version: 2.1.2-dev.0.0.flutter-0a7dcf17eb (Tue Feb 12 01:59:15 2019 +0000) on "windows_x64"

The dart parser appears to incorrectly parse parameterized generic types when not instantiated, and considers < to be the less than operator.
The following shows the problem
class Test<N>{}

Type GetTypeOfGeneric<T>()
{
  return T;
}

void main() {
	Type t = Test;
  print(t.toString());

  //Type t1 = Test<int>; doesn't work
  Type t2 = Test<int>().runtimeType;
  print(t2.toString());

  Type t3 = GetTypeOfGeneric<Test<int>>();
  print(t3.toString());
}

https://dartpad.dartlang.org/df278a7dad7e5beea1f9f3c76f511275

There is no support for using a parameterized type (like Test<int>) as an expression, it's simply a syntax error. There has been some discussion about adding this kind of expression (it would be used for evaluating a parameterized type as an expression, and for explicit generic function instantiation), but the syntactic details have not yet been worked out, and it's not a given that it will be accepted into the language. The standard solution is a function like the one that you mention (GetTypeOfGeneric).

@eernstg - thanks. I was specifically wanting this to be able to pass as a parameter type to an annotation constructor, something like @Annotation(type=SomeType).
The workaround is to pass an instance, which then is required to have const constructor on that passed type, or the function method above. Its a bit of a shame this isn't supported.

It's quite likely that we will get syntactic support for parameterized types as expressions. One way to do that is to simply make Test<int> an expression, but another one which is just about to happen is support for typedef MyType = Test<int>;, which allows you to write @Annotation(type=MyType). You might also simply be able to redefine Annotation such that the type is a type argument rather than a constructor argument. For that you'd need another workaround const annotation = Annotation<SomeType<int>>(); and then @annotation.


No Sent label present error

Are there any related issues?

While there's several issues about the change from Nylas can't propagate to the mail server, there seem to be nothing mentioning the exact same error message.
What operating system are you using?
Archlinux (kernel 4.10.9) with latest update
What version of Nylas Mail are you using?
2.0.10
--
Bug?
Do you have any third-party plugins installed? If so, which ones?
No third-party plugins
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
Only tried Gmail
Is the issue reproducible with a particular attachment, message, signature, etc?

Whenever I tried to archive a message or apply some label to it, I got the following error
We were unable to apply the changes to your thread, please try again!
If the error persists, contact<EMAIL_ADDRESS>with the error message.

Error message: No Sent label present

and the message is not changed. The message is indeed marked as read in other mail clients and on the web interface.
One thing to note is that this all happens while Nylas is syncing, which has been doing this for a whole day, and still not finished yet. But it can correctly receive new messages.

I'm also receiving this error. I have two email accounts (one Gmail and one G Suite), and I'm only receiving this error on the G Suite account. The Gmail account is currently syncing, but the G Suite one is not.


Fix build under Swift 5/Xcode 10.2: UIViewNoIntrinsicMetric

Seems like this project was updated to Swift 5, but I wasn't able to build without this additional change.

Xcode 10.2 and Swift 5 changes are mutually exclusive. UIView.noIntrinsicMetric was changed as part of Swift 5. You are likely using Xcode 10.2 but not Swift 5, use an earlier version of SwipeCellKit as indicated in the README.


add weights conversion script for MiT

TODO:

[ ] add weights conversion script here - https://github.com/keras-team/keras-hub/tree/master/tools/checkpoint_conversion
[ ] Verify output with real inputs
[ ] provide a working colab demo

Example PR - https://github.com/keras-team/keras-hub/pull/1855.

Closed with #1893


Link to presentation is missing

Thank you for your presentation  during Odoo Experience 2019, which was very useful and easy to follow. I am not able to find a link to your presentation. You said you would like to share it with us.

https://github.com/tivisse/odoodays-2019/blob/1cdc27dd1fbed0f1e2f623ef01b62942b6633b78/plant_nursery/static/pdf/Mixins 2019 - WIP.pdf

Are you sure this is the link to the presentation?

Hi @lubusax
Thanks for the feedback.
The slides have been added at : https://github.com/tivisse/odooplants/blob/13.0/plant_nursery/static/pdf/OXP 2019 - Develop an App with the Odoo Framework.pdf
Have a nice day,
Yannick.


Crawlsite.js Error: TypeError: Converting circular structure to JSON

When  I try to crawl with a DEPTH  bigger than 2 I get this error:
Error: TypeError: Converting circular structure to JSON
line: 	await util.promisify(fs.writeFile)(./${OUT_DIR}/crawl.json, JSON.stringify((root), null, ' '));
if i use util.inspect, error is gone but seems like the output is invalid json.

I could eliminate THAT problem bei using an alternative to JSON.stringify, as described here: https://makandracards.com/makandra/28847-dealing-with-typeerror-converting-circular-structure-to-json-on-javascript
Now I "only" have the problem, that node seems not to like the code in general, as it throws a promise-error:

(node:13544) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().

But that's another story...


Plotly plots of Riemann sheets are not showing on ComPWA webpage

The 3D interactive plots of the Riemann sheets made using plotly are not being displayed on RTD, even though they are shown in Jupyter Lab.

Thank you dear Remco!


Make cosmetic changes to swagger

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.
You can find it at CHANGELOG.md.

  Generated by :no_entry_sign: Danger


Consistent failures on Android

file.spec.147 - consistently fails on Android
cordova-plugin-file-transfer-tests.tests - multiple failures, consistently on Android
cordova-plugin-media-tests - multiple failures, consistently on my Samsung Galaxy S6 device (seemed to work in the past)

cordova-mobile-spec only builds an app that can run these tests, the actual tests are part of the plugins. Please report these failures in individual issues there (and compare with CI of those repositories to check if this also affects the CI builds). Thanks.


Not a issue anymore, but this worked for me

The guide says:
ux0:/data/forcelang/[title ID].txt
but it really works on ur0:data/forcelang/xxxxxxxx.txt
I hope this helps others?

I did't found any ux0:/data/forcelang/[title ID].txt or ur0:data/forcelang/[title ID].txt
Is the folder generated by the plug-in or needs to be added manually?


Fitting error for large FOV

When fitting a large portion of the cube (about 8x8 arcmin when I tried), there seems to be a fitting error for the right side of the image.

The command was:
vel_map, broad_map, flux_map, chi2_fits = cube.fit_cube(["NII6583", "Halpha"], 'sinc', x_min = 290, x_max = 1775, y_min = 330, y_max = 1815, vel_rel = [1,1], sigma_rel = [1,1], binning =1)
The resulting image looks like this:

There appears to be an issue with the way LUCI is handling these larger regions. You can see some structure from the interferogram steps...


Encryption Class - Decrypting: authentication failed

I have used the Encryption class to encrypt some data, setting the key in the config file, but when I try to decrypt i receive an error message:
CodeIgniter\Encryption\Exceptions\EncryptionException
Decrypting: authentication failed.
SYSTEMPATH\Encryption\Exceptions\EncryptionException.php at line 34
I believe to be following the documentation provided correctly:
https://codeigniter.com/user_guide/libraries/encryption.html#configuration
Here is my code to encrypt:
$encrypter = \Config\Services::encrypter();
$userAccount["Email"] = $encrypter->encrypt($accountData["email"]);

Here is my code to decrypt:
$encrypter = \Config\Services::encrypter();
$result->Email = $encrypter->decrypt($result->Email);

The same error has been asked here on StackOverflow
https://stackoverflow.com/questions/62781769/decrypt-showing-error-authentication-failed
Thanks

Just a thought: are you properly handling text encoding of the encrypted string? Encrypt generates binary data and using bin2hex() and hex2bin() may be recommended.

I have changed the current code to store the data in hexadecimal, using the bin2hex function. And then when trying to decrypt the message I still receive the same issue. I convert the hexadecimal to binary using the function and then try to decrypt the message.
New code to encrypt:
$encrypter = \Config\Services::encrypter();
$userAccount["Email"] = bin2hex($encrypter->encrypt($accountData["email"]));

New code to decrypt:
$encrypter = \Config\Services::encrypter();
echo $encrypter->decrypt(hex2bin($result->Email));

If I have misunderstood something, please let me know, thanks.

Have you tried a simple example just to see that all is well in your installation?
I tried this in 4.0.3 and all is well. Running macOS 10.15.5 with PHP 7.3.19:
$encrypter = \Config\Services::encrypter();
$data =<EMAIL_ADDRESS>$enc = $encrypter->encrypt($data);

$encrypter = \Config\Services::encrypter();
$result = $encrypter->decrypt($enc);

if ($result === $data) {
	echo "OK\n";
}
else {
	echo "NOT OK!\n";
}

Thank you for getting back to me, I tested what you suggested and it worked.
I realised after this, the place where I am storing the data is too small to store all the bits. The error message threw me off.
Thanks again.


[Typed throws] Implement conformance checking for typed throws

Implement conformance checking for typed throws, including associated type inference, so one can capture the type that is thrown from a witness in a concrete type in an associated type, including any Error (for untyped throws) and Never (for non-throwing functions). For example:
protocol FailureAssociatedType {
  associatedtype Failure: Error

  func f() throws(Failure)
}

struct S1: FailureAssociatedType {
  func f() throws(MyError) { } // infers Failure == MyError
}

struct S2: FailureAssociatedType {
  func f() throws { } // infers Failure == any Error
}

struct S3: FailureAssociatedType {
  func f() { } // infers Failure == Never
}

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please test Windows

@swift-ci please test Windows


Backport HPAParser from ensembl-xref

Description
Port changes made to HPAParser in ensembl-xref, including unit tests, back to ensembl:feature/xref_sprint. Originally worked on by Mark McDowall.
Use case
See ENSCORESW-3213.
Benefits
Salvage more work from the 2018 xref sprint.
Possible Drawbacks
Increased test-suite run time (note: Travis does not automatically execute tests from misc-scripts/xref_mapping yet).
Testing
Have you added/modified unit tests to test the changes?
Yes.
If so, do the tests pass/fail?
They pass.
Have you run the entire test suite and no regression was detected?
Yes (including tests from misc-scripts/xref_mapping), no regression detected.

Output comparison with release/98 - all accounted for:

the old version sets xref.description to translation_direct_xref.linkage_xref empty strings, the new one leaves them at NULL

Coverage remained the same at 81.543% when pulling 1c2984a96763da899f26760bb362d87048dfed8a on backport/ENSCORESW-3213 into 948a067eca04c297603c2f3694dfe88e874317dc on feature/xref_sprint.


Write down install&deploy HOWTO

Once this is sufficiently stable, let's write down the steps to install&deploy the testing version of fractal-web.
Most likely it will look like

Make sure you have the required environment (this should be described in detail)
git clone this repository
npm install
Set the server's address environment variable
npm run command
(optional) encapsulate the run command in a daemon service

I cleaned up the README a bit with PR #19.
@rkpasia feel free to improve it if needed, otherwise we can close this issue for the moment.

I've updated the README. Now it should include everything to run the client starting from the source code.


no JS9 toolbar

See screenshot

Yikes where has the menu gone ("File" is there, oddly enough).
@ericmandel, are there any recent changes that could have caused this?

There shouldn't be any breaking changes like that!

What does the Javascript Console say? Are there errors?

Nothing criminal on the console, no errors. And I tried rolling back to JS9 2.5, same lack of menu. So there's something I must have broken on this end to make it display like that... but what would do it?

OK, this is interesting -- it's only in Chrome that we have the problem. Displays fine in Firefox for me.

That sounds like a caching problem

Cleared cache, reloaded, same problem...

There is a JS9.globalOpts.menubar property that is an array of the menus that should be displayed in the menubar:
    menuBar: ["file", "edit", "view", "zoom", "scale", "color", "region", "wcs", "analysis", "help"],

What's its current value, and what happens if you put "edit" first, for example? Does it now only show the Edit menu?

If you go into the debugger, and click Elements, you should be able to find the container for the menubar, which should look something like this:

All present and accounted for. Just shy about showing themselves. :):

Ah but wait, if I drag the cursor over the elements, the debugger shows me their location. Look at this, the menu's gone vertical (and mostly obscured by the main display):

width="0" on JS9MenubarContainer looks suspicious, no?

Yup, that doesn't sound good. You should be able to disable or change that value  ... in the right hand side ...

User the styles editor:

btw, you should always be clearing the cache fully when you make a new test .... Chrome is maddening about caching and 1/2 hour later you find you've been using a cached file.
So this still still could be a CSS contention that I did and you picked up and never unloaded ...

And on the off-chance you don't know this ... when the Chrome debugger is loaded, press and hold the reload button to see this beautiful menu ... you want the empty cache and hard reload  ...

I did not know this, thanks! Very useful -- doesn't solve the problem alas.
Can't find width under the Styles editor. I can edit it directly in the Elements display, but it doesn't do anything.

It looks to me like you are setting the width of the menubar using a calculation "known only to yourself":

Can you check what calc is doing? This would be in the menubar's data-width property right in the div element ...

Ah, well spotted. That was part of my auto-calculating layout code I laboriously developed a while back... That calc is returning -200px so I guess it's entitled to stick to 0. Sorry, my bad!
Can't understand why or how this worked before (or works in Firefox...)

Can't understand why or how this worked before (or works in Firefox...

Because CSS remains, at its core, total freaking black magic, with concrete results at the whim of browser makers.
Are we fixed then?

P.S. What is calc anyway? Is that a standard CSS construct or something you developed, perhaps using 3rd party sw? It looks pretty useful ...

OK I found it!
And yes, calc is standard CSS these days. It is very useful. It lets me put stuff like this at the top:
    --total-height: 95vh;
    --total-width: 98vw;
    --statusbar-height: 18px;
    --colorbar-height:  40px;
    --menubar-height:   36px;
    --statusbar-rebin-height: 18px;
    --tools-padding:    5px;
    --horizontal-padding: 5px;
    --zoom-vertical-padding: calc(var(--statusbar-height) + var(--colorbar-height) + var(--menubar-height));
    --rebin-vertical-padding: calc(2*var(--tools-padding) + var(--statusbar-rebin-height));

    --js9-rebin-size: calc((var(--total-height) - var(--rebin-vertical-padding))/3);
    --js9-zoom-width: calc(var(--total-width) - var(--horizontal-padding) - var(--js9-rebin-size));
    --js9-zoom-height: calc(var(--total-height) - var(--zoom-vertical-padding));
    --plugin-size: var(--js9-rebin-size);
    --colorbar-width: calc(var(--js9-zoom-width) - 64px);

...and then use these computed dimensions in the DIV styles to achieve a JS9 layout that fits the browser window perfectly.
When it works, it's great.
So the problem here was: turns out the calc syntax requires whitespace around + or - operators, but not around * and /. Why? Well just because! And you can see I missed a space above.
Sorry for the bother, this was entirely my problem. Wouldn't have found it without you though!

Great, I'll store this one in the bank for when I screw up and inadvertently nail your project to the wall!
Thanks for calc, our own developing voyager app (meant to be a beautiful ds9 replacement, built on top of js9, available before Lynx launch ... I hope) will need that sort of capability.


replace which with command -v

which may cause problem.

Can you elaborate?

http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script

It's not causing us problems.


pool-create and update with SOURCE_IP LB method assigns wrong algorithm in BIG-IP

OpenStack Release
Mitaka
Description
Hi
The following pool
root@node-1:~# neutron lbaas-pool-create --lb-algorithm SOURCE_IP --listener ha-3 --protocol HTTP --name ha-3
Created a new pool:
+---------------------+------------------------------------------------+
| Field               | Value                                          |
+---------------------+------------------------------------------------+
| admin_state_up      | True                                           |
| description         |                                                |
| healthmonitor_id    |                                                |
| id                  | d17da29b-ae23-416e-afbd-4c9e9021e369           |
| lb_algorithm        | SOURCE_IP                                      |
| listeners           | {"id": "dbf356ab-adf9-40b4-84db-98812660dab8"} |
| loadbalancers       | {"id": "bd15ab75-d201-4e8d-8ecc-c0dd5ea18817"} |
| members             |                                                |
| name                | ha-3                                           |
| protocol            | HTTP                                           |
| session_persistence |                                                |
| tenant_id           | 1bcf7ba13bcb496196d72f481bfebb5c               |
+---------------------+------------------------------------------------+

Assigns the the least-connections-node LB method in the BIG-IP
root@(bigip1)(cfg-sync Changes Pending)(Standby)(/Project_1bcf7ba13bcb496196d72f481bfebb5c)(tmos)# list ltm pool ha-3
ltm pool ha-3 {
    load-balancing-mode least-connections-node
    partition Project_1bcf7ba13bcb496196d72f481bfebb5c
}

without specifying a source based persistence method. This is not the expected behavior.
I find that the F5 way of achieving the expected LBaaSv2 spec would be by using source persistence using CARP. This would achieve the functionality in a stateless fashion
Many thanks
Ulises

Agent Version
9.0.2
Operating System
Mirantis 9.0

Please list the virtual service and confirm you see:
persist {
        source_addr {
            default yes
        }
    }

If you do, please close the item.
This will enable persistence affinity based on the client source IP address. Traditionally at f5 this was called simple persistence.
For an explanation of simple persistence please reference:
https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-profiles-reference-12-1-0/4.html#conceptid
Just a note:  As for statefulness, the src_addr persistence profile has a default timeout of 180 seconds. For any connections from the same source IP address for that period, the load balancing decision will be overridden by the stateful persistence entry established when a client source IP address first created a connection with the virtual server. As you mention, the BIG-IP hash persistence profile using the IP Source as the hash key can provide persistence without a stateful timeout. Please let us know if you have a firm requirement for IP source persistence to a pool member which goes beyond 180 seconds. If you do we can consider changing the persistence method used. We'll label the issue an enhancement request.

Hi
Source persistence is not being applied:
root@(bigip1)(cfg-sync Not All Devices Synced)(Standby)(/Project_1bcf7ba13bcb496196d72f481bfebb5c)(tmos)# list ltm virtual ha-3
ltm virtual ha-3 {
    destination <IP_ADDRESS>:http
    ip-protocol tcp
    mask <IP_ADDRESS>
    partition Project_1bcf7ba13bcb496196d72f481bfebb5c
    pool ha-5
    profiles {
        /Common/tcp { }
    }
    source <IP_ADDRESS>/0
    source-address-translation {
        type automap
    }
    translate-address enabled
    translate-port enabled
    vs-index 11
}

I have checked this also happens in version 9.0.3
In the other hand, I find that by a implementing a stateful / timer is not what I would expect from a load balancing algorithm that it is expected to be based on IP address.
I have checked that haproxy/the reference implementation uses stateless/hashing algorithm too. Here you have a couple of references: http://www.diogogmt.com/load-balancers and https://answers.launchpad.net/neutron/+question/271975
Moreover if a timer approach is desired then LBaaS SOURCE_IP session persistence is already in place
I find that if we are not stateless we will be eventually generating issues to the customers. My feeling is that they will not expect this behavior either.

The F5 agent fails to add source_addr persistence to the virtual server associated with the pool. This is a bug and will be fixed.
As a work around, users can include SOURCE_IP session persistence when creating their pool. For example:
neutron lbaas-pool-create --name pool1 --listener vip1 --lb-algorithm SOURCE_IP --protocol HTTP --session-persistence type=SOURCE_IP
When session-persistence is included in the pool create command, the F5 agent will add the a source_addr persistence profile to the virtual server associated with the pool. As noted in the discussion above, the profile /Common/source_addr has a timeout of 180 seconds by default, which may not be ideal.


Error when installing Subkey

Hey,
I am new to substrate and programming and I am constantly running into the same error when trying installing subkey to generate some keys for a node. I have tried to install subkey following the step in the Substrate Developer Hub but I am not being able to complete the installation. The error is the following:
error[E0034]: multiple applicable items in scope
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/mem.rs:51:25
|
51 | const MASK: u8 = Self::BITS - 1;
| ^^^^ multiple BITS found
|
note: candidate #1 is defined in the trait BitMemory
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/mem.rs:44:2
|
44 | const BITS: u8 = mem::size_of::() as u8 * 8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait IsNumber
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
|
144 | const BITS: u32;
| ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
|
51 | const MASK: u8 = BitMemory::BITS - 1;
| ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
|
51 | const MASK: u8 = IsNumber::BITS - 1;
| ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/order.rs:291:15
|
291 | if ct == R::BITS {
| ^^^^ multiple BITS found
|
note: candidate #1 is defined in the trait BitMemory
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/mem.rs:44:2
|
44 | const BITS: u8 = mem::size_of::() as u8 * 8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait IsNumber
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
|
144 | const BITS: u32;
| ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
|
291 | if ct == BitMemory::BITS {
| ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
|
291 | if ct == IsNumber::BITS {
| ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/order.rs:339:15
|
339 | if ct == R::BITS {
| ^^^^ multiple BITS found
|
note: candidate #1 is defined in the trait BitMemory
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/mem.rs:44:2
|
44 | const BITS: u8 = mem::size_of::() as u8 * 8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait IsNumber
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
|
144 | const BITS: u32;
| ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
|
339 | if ct == BitMemory::BITS {
| ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
|
339 | if ct == IsNumber::BITS {
| ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/order.rs:450:19
|
450 | for n in 0 .. R::BITS {
| ^^^^ multiple BITS found
|
note: candidate #1 is defined in the trait BitMemory
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/mem.rs:44:2
|
44 | const BITS: u8 = mem::size_of::() as u8 * 8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait IsNumber
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
|
144 | const BITS: u32;
| ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
|
450 | for n in 0 .. BitMemory::BITS {
| ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
|
450 | for n in 0 .. IsNumber::BITS {
| ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/order.rs:469:21
|
469 | pos.value() < R::BITS,
| ^^^^ multiple BITS found
|
note: candidate #1 is defined in the trait BitMemory
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/mem.rs:44:2
|
44 | const BITS: u8 = mem::size_of::() as u8 * 8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait IsNumber
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
|
144 | const BITS: u32;
| ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
|
469 | pos.value() < BitMemory::BITS,
| ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
|
469 | pos.value() < IsNumber::BITS,
| ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/order.rs:476:7
|
476 | R::BITS,
| ^^^^ multiple BITS found
|
note: candidate #1 is defined in the trait BitMemory
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/mem.rs:44:2
|
44 | const BITS: u8 = mem::size_of::() as u8 * 8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait IsNumber
--> /home/centifuge/.cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
|
144 | const BITS: u32;
| ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
|
476 | BitMemory::BITS,
| ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
|
476 | IsNumber::BITS,
| ^^^^^^^^^^^^^^

error: aborting due to 60 previous errors

Some errors have detailed explanations: E0034, E0308.
For more information about an error, try rustc --explain E0034.
error: failed to compile subkey v2.0.0 (https://github.com/paritytech/substrate#e03ca38d), intermediate artifacts can be found at /tmp/cargo-installkvO14R

Caused by:
could not compile bitvec

Thank you for the help :).

This is due to some dependency problem with bitvec. See https://github.com/bitvecto-rs/bitvec/issues/105#issuecomment-778570981
Solution in case you're building from source: cargo update -p funty --precise 1.1.0

Please use:
cargo install --force subkey --git https://github.com/paritytech/substrate --version 2.0.0 --locked

You are the god of programming @bkchr. Thank tou for your help

Output of cargo install --force subkey --git https://github.com/paritytech/substrate --version 2.0.0 --locked:
    Updating git repository `https://github.com/paritytech/substrate`
error: could not find `subkey` in https://github.com/paritytech/substrate with version `=2.0.0`

@pepa65 use
cargo install --force subkey --git https://github.com/paritytech/substrate --tag=v3.0.0 --locked

Thanks, that totally worked! It might be good to put this somewhere in the readme..!

@NukeManDan @jimmychu0807  ^^

So I guess the tag flag looks for the overall tags of substrate.
Sibley is version 2.0.1
https://github.com/paritytech/substrate/blob/master/bin/utils/subkey/Cargo.toml#L3
This is what the docs instruct to use actually already. I think that is better practice than a tag?
Happy to go with either.

I also tried installing subkey this morning using the instructions from our docs.
cargo install --force subkey --git https://github.com/paritytech/substrate --version 2.0.1 --locked

This works fine for me.

I tried that again, cargo install --force subkey --git https://github.com/paritytech/substrate --version 2.0.1 --locked and now got:
    Updating git repository `https://github.com/paritytech/substrate`
error: failed to parse manifest at `/home/pp/.cargo/git/checkouts/substrate-7e08433d4c370a21/fc49802/Cargo.toml`

Caused by:
  feature `resolver` is required

  consider adding `cargo-features = ["resolver"]` to the manifest

I think you have a too old version of rust toolchain. I believe no less than 1.51 is needed. Best to use rustup update to latest stable and nightly.
If this still gives issues, you may need to clear the installation Dir of build artifacts for thus and try again with the docs v2.0.1 version

My toolchain is probably not up to date, but @bkchr's command worked flawlessly.


update xrootd install doc for OSG 3.6 (SOFTWARE-5125)

@brianhlin looks like link checks are failing for other pages (links to htcondor manual from our site index)

External link https://htcondor.readthedocs.io/en/latest/version-history/development-release-series-89.html#version-8-9-2 failed: 404 No error

./site/release/3.5/release-3-5-27/index.html
htmlproofer 3.16.0 | Error:  HTML-Proofer found 3 failures!

External link https://htcondor.readthedocs.io/en/latest/version-history/development-release-series-89.html#version-8-9-9 failed: 404 No error

./site/release/osg-36/index.html

External link https://htcondor.readthedocs.io/en/latest/version-history/development-release-series-89.html#version-8-9-11 failed: 404 No error

Ignoring CI as they're unrelated. @timtheisen is going to be fixing said errors in a separate PR


fix: monaco polish

Closes #17820
Closes #17821
there was some weird code in there about "only show the loading icon if it was clicked by a person", and i threw that out. also added some verbage around "use ctrl OR cmd" to capture the different environments. This turns off ctrl on macs in favor of cmd. @russorat weigh in if we still want to force the ctrl key on macs in addition to cmd.

weigh in if we still want to force the ctrl key on macs in addition to cmd.
i'm ok with just having cmd on macs.

Is it possible to update the text in the ? dialog to match the OSS/Browser behavior but if that's a lot of work, i think this is good.

the or bugs me too. I can't find a way to surface how monaco determines which one to use, and hesitate to use anything but their internal definition as it'll just cause perpetual drift between those two components.


[Lab] Save sessions

Similar to other such web resources, I'm not sure would it be possible to save sessions. That would be awesome, and a great way to sort of pencil up a grammar, get some things verified and such, across peers, other channels, and without necessarily needing to adopt the package reference and so on.

I actually started working on a way to do that or you could even share with others but I just don't have time to work on this anymore.


MSFT_AdcsCertificationAuthority: Simple fix for two tier PKI deployment fails on initial deployment

Pull Request (PR) description
Added logic to not treat the following as an error:
The Active Directory Certificate Services installation is incomplete. To complete the installation, use the request file "c:\windows\system32\certsrv\certenroll<CAname>.req" to obtain a certificate from the parent CA. Then, use the Certification Authority snap-in to install the certificate. To complete this procedure, right-click the node with the name of the CA, and then click Install CA Certificate.
This Pull Request (PR) fixes the following issues
-Fixes #57
Task list

[X] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md in the resource folder.
[ ] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[X] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #65 into dev will decrease coverage by <1%.
The diff coverage is 33%.

@@        Coverage Diff        @@
##           dev   #65   +/-   ##
=================================
- Coverage   92%   92%   -1%
=================================
  Files        5     5
  Lines      373   376    +3
=================================
+ Hits       346   347    +1
- Misses      27    29    +2

a discussion (no related file):
I'm a bit unsure how to write a unit test for this scenario. My Pester knowledge is a bit limited. Though I have been trying to find examples online that match what I am doing. Though, seem there are many concepts I need to digest first.

The last commit is a better solution to handle the error, though this creates more extensive changes to the code and potential to existing tests. I lack enough Pester knowledge to see the whole picture of impact.
Though from what I can see there is only one test targeting this specific error-handling.
I'm trying to figure out what needs to change in the test for it to work with the code changes.

I took a shot at creating 2 tests, one for ErrorString and one for ErrorID.
Please take a look and see if it meets quality standards

Are there anything else that needs a change?


Sidebar links do not work properly in Safari

Not sure what is happening exactly, but on the SvelteKit docs site, the only time clicking on a sidebar link goes to that section is the first time. Once there is a hash in the url, clicking on a link will not go to that section. Tested in both Safari 15.1 and 14.1. This is not an issue on the Svelte docs page.

Don't know what fixed it, but I'm not seeing this issue anymore.


Organization Joining Request

Hello @aryashah2k !
Name - BOBBY KUMAR
GitHub User Name - Kashyap1905
GitHub Email -<EMAIL_ADDRESS>In the initial days of my learning, It was very difficult for me to find codes for some pattern questions. Therefore, I want to contribute to this organization so that others will not face the problems faced by me.
Also, solving pattern questions are quite interesting and it also enhances problem-solving skill.
So these are the reasons I wanted to join this organization.

Invite sent, you can join the org and make your membership public


NullPointerException in setBackground()

Whenever I use android:background attr, I get expection in the view's method. Tried only with CardView/LinearLayout.
App theme is carbon_Theme.AppCompat.Light
        <carbon.widget.CardView
        android:layout_height="wrap_content"
        android:layout_width="match_parent"
        android:layout_margin="8dp"
        android:clickable="true"
        android:descendantFocusability="blocksDescendants"
        app:carbon_rippleColor="#42ff0000"
        app:carbon_elevation="2dp"
        app:carbon_rippleStyle="over"
        app:carbon_touchMargin="6dp"
        android:background="@drawable/pink_rect">

StackTrace:
        Caused by: java.lang.NullPointerException
        at carbon.widget.CardView.setBackground(CardView.java:98)
        at android.view.View.<init>(View.java:4025)
        at android.view.ViewGroup.<init>(ViewGroup.java:480)
        at android.widget.LinearLayout.<init>(LinearLayout.java:176)
        at android.widget.LinearLayout.<init>(LinearLayout.java:172)
        at carbon.widget.CardView.<init>(CardView.java:24)
        at java.lang.reflect.Constructor.constructNative(Native Method)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at android.view.LayoutInflater.createView(LayoutInflater.java:600)

An exception is thrown either a drawable shape or just a color is set in XML

The reason is that CardView tries to set a background to a container which is not ready yet. If you wish to set a background for a card, you should place a view with a background inside of the card. You can also replace CardView with a layout.
I'm marking this as a bug. Cards are in phase of experiments for now. In the end I think that the CardView class will be a FrameLayout with a custom style. CardView is that simple.

no answer for 7 days - I'm closing the issue

CardView should be much better now.


Fixed include directories on Windows

The colon after the drive letters on Windows doesn't really work well with CMake's generator-expressions.
Before Changes:

After Changes:

I'm using CMake from Visual Studio, the version that's shipped with VS is CMake 3.25.1-msvc1.
Maybe this issue is fixed on newer versions.

I must also specify that this error is generated when running VS and WSL to build for Linux. I should also change paths to be relative to the project's root.

I tried building for both Linux through WSL, and Windows and all issues I had are gone.

Using CMAKE_BUILD_TYPE breaks multi configuration generator (as Visual Studio) :-/
So generator-expression must be used :-/
master/trunk version has been changed to better handling generator expression.
Maybe that fix your issue.
I don't have WSL project to test it (if you have one for CI, I might add it in my UTs)


RD Gateway

Where do you enter RD Gateway settings

Where do you enter RD Gateway settings

Does not currently support at the moment.


Add jitter before sending Discovery Response.

Test case 5.8.4 is not robust. This PR should help.

Codecov Report

Merging #1279 into master will increase coverage by 0.68%.

@@            Coverage Diff             @@
##           master    #1279      +/-   ##
==========================================
+ Coverage   68.88%   69.57%   +0.68%
==========================================
  Files         169      170       +1
  Lines       26691    26163     -528
  Branches     3346     3259      -87
==========================================
- Hits        18387    18203     -184
+ Misses       6893     6573     -320
+ Partials     1411     1387      -24

Impacted Files
Coverage Δ

src/core/thread/mle_router_ftd.hpp
93.75% <ø> (ø)
:white_check_mark:

src/core/thread/mle_router.cpp
79.82% <100%> (+0.17%)
:white_check_mark:

src/ncp/ncp_base.cpp
24.44% <ø> (-13.23%)
:x:

src/core/thread/lowpan.hpp
86.84% <ø> (-13.16%)
:x:

third_party/mbedtls/repo/library/ecp_curves.c
90.16% <ø> (-3.06%)
:x:

src/core/net/udp6.cpp
82% <ø> (-2%)
:x:

src/core/thread/lowpan.cpp
92.29% <ø> (-1.44%)
:x:

third_party/mbedtls/repo/library/ctr_drbg.c
72.05% <ø> (-0.74%)
:x:

...d_party/mbedtls/repo/library/memory_buffer_alloc.c
60.25% <ø> (-0.39%)
:x:

src/core/thread/mle.cpp
79.88% <ø> (-0.23%)
:x:

... and 16 more

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 437d21b...1524811. Read the comment docs.


Investigate ways to simplify making async API calls

The current implementation requires consumers to write an amount of boiler-plate code to make async API calls.  For common cases we can have the generator spit out such code, while leaving the lower-level APIs in-place allowing for more customization as required.

This has been implemented in the generator in https://github.com/Azure/autorest/pull/2201.  For LROs the operations are executed inside a go routine and the results communicated via channels.


Talk Away dApp

Project Abstract
Talkaway is a social impact language learning startup that offers a unique and immersive learning experience. Our innovative approach involves learning languages through walking and exploring the city, making language learning both fun and practical. As a teaching platform on the web3, we are building a dapp and a metaverse prototype to further expand access to language learning. Our mission is to provide a differentiated teaching approach to promote language knowledge for people with limited financial resources and migratory vulnerability. We also aim to connect people from all over the world, fostering greater awareness of global cultural diversity.
Why a dapp? With smart contract technology, we will automate the student's journey, building a record of walks/classes and an automated evaluation system with certification in Soulbound Tokens (SBTs).
Create a decentralized business plan, where a portion of the profit automatically goes to social projects that will be voted on by the community, not curated by the Talk Away founders.
At the moment we have a Proof of Concept done on web2 and we have already done more than 100 classes/walks around the city of Rio de Janeiro.
Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[ x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x ] I have read the application guidelines.
[ ] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[ ] The software delivered for this grant will be released under an open-source license specified in the application.
[ ] The initial PR contains only one commit (squash and force-push if needed).
[x ] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)
deckTalk Away.pdf](https://github.com/w3f/Grants-Program/files/10911178/deckTalk.Away.pdf

 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.

Hello, Thank You for the reply.
I have just applied over form and here we have our project in the Polkadot Structure:
https://github.com/TalkAway/Talk-Away-dApp-Project/blob/main/README.md

Hello, Thank You for the reply.
I have just applied over form and here we have our project in the Polkadot Structure:
https://github.com/TalkAway/Talk-Away-dApp-Project/blob/main/README.md
I don't know how this amount of files was updated... and I can't take it...
I hope with this link you can view the project.

Hi @TalkAway. I see your form submission. As that is a private application, I will contact you via email.


FieldRefs boolean attributes should not be defaulted to false

Hello,
In the schema file, the FieldRefAttributesGroup defines both Required and Hidden yo have false as default value:
<xsd:attribute name="Required" type="xsd:boolean" use="optional" default="false">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      The Required flag for the field to bind, optional attribute.
    </xsd:documentation>
  </xsd:annotation>
</xsd:attribute>

<xsd:attribute name="Hidden" type="xsd:boolean" use="optional" default="false">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      The Hidden flag for the field to bind, optional attribute.
    </xsd:documentation>
  </xsd:annotation>
</xsd:attribute>

I think this is wrong. Default value should be null. In fact, hen dealing with field references in a list instance, no defining the attributes means inherits the site content type field ref behavior.
With the current schema, not defining the attribute will default the value to False. It leads to weird issues when provisioning, because the pnp engine try to unhide hidden field. Not because Hidden is set to false, but because Hidden is not set.
A minimal template that can reproduce the issue is:
<?xml version="1.0"?>
<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2017/05/ProvisioningSchema">
  <pnp:Preferences Generator="OfficeDevPnP.Core, Version=2.18.1709.0, Culture=neutral, PublicKeyToken=null" />
  <pnp:Templates ID="CONTAINER-TEMPLATE-FE486A81DEFD4DEEB7023AE52E252CF4">
    <pnp:ProvisioningTemplate ID="TEMPLATE-FE486A81DEFD4DEEB7023AE52E252CF4" Version="1" >
      <pnp:SiteFields>
        <Field Type="Text" DisplayName="Field to be hidden" Description="" Required="FALSE" MaxLength="255" Name="FieldToBeHidden"  ID="{613c717b-23c2-407a-bcd3-49c5d0a4783d}"  />
      </pnp:SiteFields>
      <pnp:ContentTypes>

        <pnp:ContentType ID="0x010060F7FC5C967C3745968A58BC8F609D78" Name="My content type" Description="" NewFormUrl="" EditFormUrl="" DisplayFormUrl="">
          <pnp:FieldRefs>
            <pnp:FieldRef ID="613c717b-23c2-407a-bcd3-49c5d0a4783d" Name="FieldToBeHidden" Hidden="true" />
            <pnp:FieldRef ID="c042a256-787d-4a6f-8a8a-cf6ab767f12d" Name="ContentType" />
          </pnp:FieldRefs>
        </pnp:ContentType>

      </pnp:ContentTypes>
      <pnp:Lists>
        <pnp:ListInstance Title="Test List" Description="" DocumentTemplate="" TemplateType="100" Url="Lists/OneList" MinorVersionLimit="0" MaxVersionLimit="0" DraftVersionVisibility="0" ContentTypesEnabled="true" EnableFolderCreation="false" RemoveExistingContentTypes="true">
          <pnp:ContentTypeBindings>
            <pnp:ContentTypeBinding ContentTypeID="0x010060F7FC5C967C3745968A58BC8F609D78" Default="true" />
          </pnp:ContentTypeBindings>
          <pnp:FieldRefs>
            <pnp:FieldRef ID="613c717b-23c2-407a-bcd3-49c5d0a4783d" Name="FieldToBeHidden" />
          </pnp:FieldRefs>
          <pnp:Views>
            <View Name="{CDC38FC3-E655-41BC-9852-CD2EF08AE130}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/15/images/generic.png?rev=23">
              <Query><OrderBy><FieldRef Name="ID" /></OrderBy>
              </Query>
              <ViewFields>
                <FieldRef Name="LinkTitle" />
                <FieldRef Name="FieldToBeHidden" />
              </ViewFields>
              <RowLimit Paged="TRUE">30</RowLimit>
              <JSLink>clienttemplates.js</JSLink>
            </View>
          </pnp:Views>
        </pnp:ListInstance>

      </pnp:Lists>

    </pnp:ProvisioningTemplate>
  </pnp:Templates>
</pnp:Provisioning>

As a workaround, Hidden and Required attributes within lists should be explicitly set to True when the list also include the field

After a few prototypes, I realized that the Hidden property is simply readonly on FieldRefs applied to a list.
So I'd suggest removing the attribute from the list fieldref attributes.

https://blogs.msdn.microsoft.com/spblog/2013/04/27/sps2010-field-cannot-be-made-again-visible-if-defined-to-be-hidden-using-visual-studio-2010/

We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”


Support for interacting with QObjects from .NET

Refer to this for generic signal handlers: https://stackoverflow.com/questions/10805174/qobject-generic-signal-handler


dotnet-sdk-sts: Add version 7.0.100

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

[x] ✨ Add Manifest
[ ] ♻ Refactor
[ ] 🐛 Bug Fix
[x] 👷 Optimization
[ ] 🚩 Other

Description
dotnet-sdk-sts is for the "Standard Term Support" version of the dotnet SDK. It is installed side-by-side and "override" the DOTNET_ROOT variable to be able to use it directly. We can always switch easily between the dotnet-sdk (LTS) and this one by using the scoop reset dotnet-sdk or scoop reset dotnet-sdk-sts.
The use of dotnet --version can also be helpful to know which one is actually active
Related Tickets & Documents
None
[optional] What gif/emoji best describes this PR or how it makes you feel?
:tada: :dancers: :sparkles: :zap:
Did you verify the followings
Add/Modify a description in the manifest?

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

Check URLs?

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

Update to the latest version?

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

Update Hashes?

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

Format the json manifest?

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

Did you identify extra steps
Notes in the manifest?

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

Application Dependencies?

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

Application Suggestions?

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

Pre-installation steps to perform?

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

Post-installation steps to perform?

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

File persistence to perform?

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

Other ?

[x] :rotating_light: Change the Environment variable required (this will impact the dotnet-sdk version soon)
[x] Added the arm64
[x] Changes the regex (from the lts version) to obtain the version so it wil remove risks of getting any "sts" version (aka "eol", "maintenance", etc.)

All changes look good.
Wait for review from human collaborators.
dotnet-sdk-sts

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction


Tech Onboarding for Nurses team to AWS SEA Prod

Describe the issue
Search the CRM app for "Nurses" for detailed info
Additional context

Use Pam S's Health billing account
No technical onboarding needed; it's Will

Definition of done

use the PO's email from the CRM as the billing contact for Wednesday billing notifications if possible, otherwise, ok to use Pam's
Typical project-set and onboarding session
Pull in Carles so he rides along

Blocked as the automation is having issues right now.


Question about why Twyg initializes with whitespace

Hello. I noticed that Twyg will insert a LF and 8 TABs that I can fetch with .html(). Once a user types the LF and TABs are removed. I am merely curious as to the reason for doing this and where in the source I could find that code.

Can you give me a sample code which does that?


Feature: Improve Box Shadow Function + Improve Button Animation Rendering Performance

Jira
http://vjira2:8080/browse/BDS-1663
Summary
Updates the bolt-shadow function to allow other components to use the raised shadow styles (without forcing any extra styles to also get included). This update is then applied to the Button component to improve the rendering performance of the Button's hover / active animations.
Details

Adds a new optional param to the bolt-shadow function to allow the base set of shadow values to be changed to use the raised set of styles. Workaround till this entire function / mixin gets refactored.
Cleans up the Button component's animation to use this updated function + revert back to using the similar performant animation technique I implemented in the original Button (https://tobiasahlin.com/blog/how-to-animate-box-shadow/)

How to test

[ ] Review code changes
[ ] Test to make sure these animation-related CSS updates don't have any unforeseen side effects with the other button variations or have any cross browser issues when interacting with the button.

I would like to fix the button without introducing new features to the bolt-shadow mixin and function, because they are not easy to use and the two are very inconsistent. They should both do the same thing but that's not the case right now.
So my preference is:

Quick fix to button
Refactor the shadow function and mixin later.

@sghoweri @danielamorse

I would like to fix the button without introducing new features to the bolt-shadow mixin and function, because they are not easy to use and the two are very inconsistent. They should both do the same thing but that's not the case right now.
So my preference is:

Quick fix to button
Refactor the shadow function and mixin later.

@sghoweri @danielamorse

+1 I'm good with this. Addresses the button updates we need for now without making more of a mess with the shadow function (easier to refactor laterr)

Replaced by https://github.com/boltdesignsystem/bolt/pull/1900


Type check error with $

The expression putStrLn $ "Hallo" ++ " Kai" does not type check. In contrast, putStrLn ("Hallo" ++ " Kai") does. So, presumably this issue is related to #4 as it is again the $ operator that causes the problem here.

($) was missing a fixity declaration.
Thus, your example parsed as (putStrLn $ "Hallo") ++ " Kai" which is obviously not type correct.

($) was missing a fixity declaration.
Thus, your example parsed as (putStrLn $ "Hallo") ++ " Kai" which is obviously not type correct.

Fixed now

Fixed now


feature: readme improvements

Let's update install instructions to something like this:
Install
npm install fogbender-element

Or if you are using other package managers like yarn, pnpm or bun:
npm i -g @antfu/ni && ni fogbender-element


Use follow key for auth, allow follower w/o read key

Closes #69
Depends on: https://github.com/textileio/go-textile-core/pull/27.
I wasn't able to keep the "cheap" change to thread keys and make this work. So, this includes a bit more explicit work around the key change, namely, the thread info object now has the keys and not the log info object.

Oop, I created a tangle for myself by continuing work (and fixing stuff) here last night: https://github.com/textileio/go-textile-threads/tree/sander/ws-rpc
I'm just gonna push that work here, which should fix these tests, and then continue that elsewhere.


[Airflow-409] Polite Logging Configuration

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-409

This PR avoids the pattern of:
logging.getLogger().handlers = []  # Blow away existing root handlers.
logging.basicConfig(...)  # Install a simple stream handler to standard error/out.

And instead calls addHandler as appropriate.  This also avoids changing the root logger's log level and only modifies handler log levels.
Testing Done:

Added unit tests.
Tested out CLI commands to verify logging still functioned.

All tests are failing with:
ERROR: Failure: ImportError (/home/travis/build/apache/incubator-airflow/.tox/py34-cdh-airflow_backend_mysql/lib/python3.4/site-packages/lxml/etree.cpython-34m.so: undefined symbol: clock_gettime)
Is this a Travis CI glitch?

Current coverage is 64.94% (diff: 80.00%)

Merging #1745 into master will increase coverage by 0.10%

@@             master      #1745   diff @@
==========================================
  Files           128        128
  Lines          9605       9616    +11
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6228       6245    +17
+ Misses         3377       3371     -6
  Partials          0          0

Powered by Codecov. Last update 6d42d0c...f80bcfe

This looks good -- however I am no expert in logging so I'm not the best person to weigh in. @criccomini do you remember a really weird issue we had with remote logging and having to manually deal with handlers (to be honest I don't really remember what it was)? Does this impact that?

Thank you @jlowin.  @criccomini, anything I need to change?

LGTM, but I'm also no expert on Python logging. Perhaps @bolkedebruin @mistercrunch @aoen should have a look

I made a note to check in on this,  @bolkedebruin @mistercrunch @aoen, anything I need to do to get this PR accepted?

This is a clear improvement in library logging etiquette.
For a useful primer, see this blog post.
See also the Python docs.

This would definitely allow people some more flexibility for people looking to integrate Airflow with their own logging systems.


Movie ticket grid with popup under modal

Description
image assets:

https://i.ibb.co/ThPNnzM/blade-runner.jpg
https://i.ibb.co/Zd51z5c/justice-league.jpg

Screenshots
https://user-images.githubusercontent.com/64855541/147125213-e51e404b-7a17-430f-ad94-1047ea20fc45.mp4

Additional information
No response

I WANT TO TAKE THIS ONE


T3

Unverified Commit Signature #FAQ

Please check again. I forgot to upload public key.

confirmed:T3
address:31Ma4kLCzd4xR7WDYTYLYcSVWyfczso7sFN7GfVawhVLgcUHJX

confirmed:T3
address:31Ma4kLCzd4xR7WDYTYLYcSVWyfczso7sFN7GfVawhVLgcUHJX


Go module not included for well known type: googleapis/type/date

When a proto uses a googleapis/type/date type, the proto is already bundled in the docker image but not the go module, so when trying to start the server, you get this error:
2024-12-04T07:38:07Z INF Starting GripMock release=v2.7.0
2024-12-04T07:38:07Z INF stub-manager started addr=<IP_ADDRESS>:4771
2024-12-04T07:38:07Z INF gRPC-service started pid=47
protogen/proto/example.pb.go:11:2: no required module provides package google.golang.org/genproto/googleapis/type/date; to add it:
        go get google.golang.org/genproto/googleapis/type/date
2024/12/04 07:38:08 exit status 1

I am currently building a mock image bundled with stubs for reuse, so to fix this, I added a RUN go get google.golang.org/genproto/googleapis/type/date step to Dockerfile to get the dependency in the container and everything just worked. I feel since the well known type protos are already bundled then the modules to make them work should be too.
Thank for this fork, it's brilliant and solves some real headaches!

@Tom-Hudson Hello. Thank you. Tag v2.7.1.
The build has been launched. It will be ready in 15-20 minutes.
Please write here when you check it.

Added to version 3.x as well.

@rez1dent3 I just tried the latest version and it has indeed fixed the issue! Thanks for the super fast response to this 🚀


The Folder/File icons under New are not the same as other similar icons

Description
When I click the New dropdown, I noticed that the Folder icon doesn't have the same icon used for other folders such as My Documents:

The File icon under new  is also just an outline but I feel like it too should should be different.
Steps To Reproduce

Open Files
Click on the New dropdown
Examine the Folder and File icons

Requirements
The Folder icon doesn't have the same icon used for other folders such as My Documents
Files Version
3.0
Windows Version
22H2 Build 22621.2506
Log File
debug.log

Thanks for the feedback, this is by design. The sidebar items are displaying the folder thumbnail whereas the new item menu shows a generic folder icon.


feat(dataPlane): register a different resolve strategy when working with embedded data-plane

What this PR changes/adds
Registers a different DataPlane proxy when working with embedded data-plane which points
to the data plane /public api of the same runtime .
Why it does that
simplify test environments and samples
Linked Issue(s)
Closes #2226
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and Etiquette for pull requests for details)

Codecov Report
Base: 64.16% // Head: 64.20% // Increases project coverage by +0.03% :tada:

Coverage data is based on head (0d182b9) compared to base (d70336d).
Patch coverage: 64.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2267      +/-   ##
==========================================
+ Coverage   64.16%   64.20%   +0.03%
==========================================
  Files         823      824       +1
  Lines       17326    17334       +8
  Branches     1082     1084       +2
==========================================
+ Hits        11117    11129      +12
+ Misses       5766     5762       -4
  Partials      443      443

Impacted Files
Coverage Δ

.../transfer/sync/DataPlaneTransferSyncExtension.java
0.00% <0.00%> (ø)

...connector/dataplane/api/DataPlaneApiExtension.java
91.66% <85.71%> (-8.34%)
:arrow_down:

...c/proxy/EmbeddedDataPlaneTransferProxyResolve.java
100.00% <100.00%> (ø)

.../transferprocess/InMemoryTransferProcessStore.java
83.33% <0.00%> (-1.67%)
:arrow_down:

...transferprocess/store/SqlTransferProcessStore.java
0.00% <0.00%> (ø)

...os/transferprocess/CosmosTransferProcessStore.java
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


fix(wizard): made active step bold, fixed in-page workspace example

fixes https://github.com/patternfly/patternfly-next/issues/2804
don't merge yet, waiting to see what our strategy is for releasing master

Preview: https://patternfly-next-pr-2805.surge.sh


tab behavior on restore page

Expected behavior is to move to the right to the next nubmer. Instead, it moves down to the next row.

This looks to be due to the gioui update.. it seems to come with OOB tab control.


Updated gemspec to use depenency range

rake build was reporting dependencies were pessimistic and/or open-ended.
License use http://spdx.org/licenses/

Thanks!


Incorrect recovery

Perhaps this is already known, or else is a problem in the database this tool consults, but I figured I would record some testcases here for use in bugfixing (if the problem is on this end.)
This:
[19] R. L. Graham, D. E. Knuth and T. S. Motzin, Complements and transitive
closures, Discrete Math., 21 (1972), 17–29.
[20] P. R. Halmos, Lectures on Boolean Algebras, Van Nostrand, Princeton, 1963.
[21] P. C. Hammer, Kuratowski’s Closure theorem, Nieuw Arch. Wisk., 8 (1960),
74–80.
Generated this bibtex:
@article{Wallace_1964,
doi = {10.1126/science.144.3618.531-b},
url = {http://dx.doi.org/10.1126/science.144.3618.531-b},
year = 1964,
month = {may},
publisher = {American Association for the Advancement of Science ({AAAS})},
volume = {144},
number = {3618},
pages = {531--532},
author = {A. D. Wallace},
title = {Lectures on Boolean Algebras. Paul R. Halmos. Van Nostrand, Princeton, N.J., 1963. vi $\mathplus$ 147 pp. Illus. Paper, {\textdollar}2.95},
journal = {Science}
}
(Wallace appears nowhere in the pdf I'm extracting.) Similarly this:
[23] E. Hewitt, A problem in set-theoretic topology, Duke Math. J., 10 (1943),
309–333.
[24] G. E. Hughes and M. J. Cresswell, A New Introduction to Modal Logic, Routledge,
London 1996.
[25] M. Jackson, Closure semilattices, Algebra Universalis, 52 (2004), 1–37.
lead to this:
@article{Zakharyaschev_1997,
doi = {10.2307/2275655},
url = {http://dx.doi.org/10.2307/2275655},
year = 1997,
month = {dec},
publisher = {Cambridge University Press ({CUP})},
volume = {62},
number = {04},
pages = {1483--1484},
author = {Michael Zakharyaschev},
title = {Hughes G. E. and Cresswell M. J.. A new introduction to modal logic. Routledge, London and New York 1996, x $\mathplus$ 421 pp.},
journal = {The Journal of Symbolic Logic}
}
and this
[26] M. Jackson and T. Stokes, Semilattice pseudocomplemented semigroups,
Comm. Algebra, 32 (2004), 2895–2918.
[27] J. L. Kelley, General Topology, Van Nostrand Reinhold Co. Inc. Princeton, NJ,
1955.
[28] W. Koenen, The Kuratowski closure problem in the topology of convexity,
Amer. Math. Monthly, 73 (1966), 704–708.
lead to this
@article{Larkin_1962,
doi = {10.2307/2964144},
url = {http://dx.doi.org/10.2307/2964144},
year = 1962,
month = {jun},
publisher = {Cambridge University Press ({CUP})},
volume = {27},
number = {02},
pages = {235},
author = {Francis P. Larkin},
title = {Kelley John L.. General topology. D. van Nostrand Company, Inc., New York, Toronto, and London, 1955, xiv $\mathplus$ 298 pp.},
journal = {The Journal of Symbolic Logic}
}
and this
[31] N. Levine, On the commutativity of the closure and interior operators in topological
spaces, Amer. Math. Monthly, 68 (1961), 474–477.
[32] J. C. C. McKinsey and A. Tarski, The algebra of topology, Ann. Math., 45
(1944), 141–191.
[33] L. E. Moser, Closure, interior and union in finite topological spaces, Colloq.
Math., 38 (1977), 41–51.
lead to this:
@article{Vaughan_1944,
doi = {10.2307/2267577},
url = {http://dx.doi.org/10.2307/2267577},
year = 1944,
month = {dec},
publisher = {Cambridge University Press ({CUP})},
volume = {9},
number = {04},
pages = {96--97},
author = {H. E. Vaughan},
title = {{McKinsey} J. C. C. and Tarski Alfred. The algebra of topology. Annals of mathematics, ser. 2 vol. 45 (1944), pp. 141{\textendash}191.},
journal = {The Journal of Symbolic Logic}
}

Ah heck: after clicking through to the doi's, I think I figured out what the problem is. In the last three cases, the citations returned are correct citations for reviews of the material in question. The title of the actual work is actually a substring of the title of the review's title. I can't get around the paywall in the first example, but I guess it is the same issue.
It would be nice if this problem could be fixed, but I'm not holding my breath.


[Type Checker] Check subpattern storage instead of whole pattern.

What's in this pull request?
Fixes SR-1050, where @NSManaged subpatterns were not yet visited, and
thus still were deemed 'stored', by the time getStorage() was called
on the whole pattern. Change this to check the subpattern storage as
we go. Test case added.

Resolved bug number: (SR-1050)

Before merging this pull request to apple/swift repository:

[x] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

Fixes SR-1050, where @NSManaged subpatterns were not yet visited, and
thus still were deemed 'stored', by the time getStorage() was called
on the whole pattern. Change this to check the subpattern storage as
we go. Test case added.

@swift-ci please test

Err, timeout on Linux. Trying one more time.
@swift-ci please test

Failure seem un-related
@swift-ci please test


works with options now

Works with plugin's options now, including passed actions for native events like onKeyDown, onBeforeMask, etc. Working usage example:
{{input-mask value=maskedValue mask="9{1,5}[.9{1,2}]" showMaskOnFocus=false showMaskOnHover=false placeholder=' ' onKeyDown='kd' }}

👍 Thanks!


wttr.in site in imperial units?

I've checked the docs and tried a few things but still get Celcius temperatures. Is there a flag to pass in the URL to switch to Fahrenheit?

+1

I am also interested in this.

I'll fix it in the next time. It's the most wanted fix at the moment. And it will be easy to fix because the backend supports is already.

It was fixed but not commit here on github?

hey, anybody? :)

Any news on this issue?

I have found this on help:

Passing parameter ?u on the end of URL will change for metric units.
And it works. Issue can be closed.

?u works for me too!

Can this issue be closed?

Yes it can


WRONG LOGIC FOR BALANCED PARANTHESIS

File Name is ironical
Logic  is wrong as it should display whether the expression is balanced or not but its not doing so....
File name should be using of stack in case of balanced paranthesis.
Use of stdio.h and malloc.h using in the cpp code
There should be no empty file for evaluation of expressions

True, thank you for the insight but the code is not complete yet.

You should put the full code as Half code is useless.

BUG FIXED...

Enter a pull request so that we can merge it. Thank you for your contributions


updated gitignore and ports

GITIGNORE AND FILE STRUCTURE:
updated the .gitignore file to include:

.DS_Store: a mac os file that occurs pretty regularly after visiting a folder in Finder
frontend/exampleusageplz/out/: the directory that holds what's transpiled from the original ts files in src/
frontend/exampleusageplz/package-lock.json: you don't include a package-lock, it's generated from running "npm install" and should not be included in a repo

Additionally, I removed the "frontend/exampleusageplz/out/" directory from the repo, the transpiled directory coming from src/, and shouldn't be included in the repo.
CHANGED PORT:
mac doesn't take kindly to using port 5000, changed it an arbitrary port of 12000.

Also @kylegendy , before I merge this, could you sign and return a CLA? I'll send it to<EMAIL_ADDRESS>(listed on your GH)


Chained url fix

I think I refactored correctly the code in url_to_fs and get_fs_token_paths, and added a 'complex' chain test case (different ordering, 3 file systems involved)
I still think url_to_fs and get_fs_token_paths could be merged somehow. Probably url_to_fs is a simpler use of get_fs_token_paths and could be calling the other one. In any case, I leave that refactoring for another pull request.

Ok, I have no idea why it fails. In my pc it is working, so what's the difference? :(

Something went wrong here, core.py and test_core.py seem to have been completely rewritten.
Are you coding on windows, by any chance? It might be a difference of line-ending and that would maybe also explain a different behaviour in FTP. The failing test is at a call to self.ftp.mlsd, where I would have thought EOF is the same as an empty listing (but not sure).

Thanks for the hint about the EOL!
After some tries, it seems the ftp archive does NOT like to be wrapped with a simple cache in the test environment. I don't know how to debug this efficiently so I am changing the test to use a zip wrapper instead (the purpose of the test is the way to handle kwargs in open/open_files/etc.

Aside from the souble-simplecache issue, which is not a consequence of this PR, there is not anything needs doing here, right? So I can merge?


Update README.md

It's not true that virtual.port can be only 80, 443 or 2015. Why is that? It can be any port number, it just should be exposed.

Yeap, thanks!


state#update interferes with with page fill

Description
When updating some state using .update() subsequent page(fill: …) are ignored.
Reproduce

Simple example:#let some_state = state("some_state")
#let some_theme(body) = {
    some_state.update(true)
    body
}

#show: some_theme.with()
#set page(fill: blue)
#pagebreak()
#set page(fill: white)

I would expect the first page to be blue and the second to be white.
Instead, both pages are white ⇒ output.pdf
Setting page fill before state#update:#let some_state = state("some_state")
#let some_theme(body) = {
    set page(fill: blue)
    some_state.update(true)
    body
}

#show: some_theme.with()
#set page(fill: white)
#pagebreak()
#set page(fill: blue)

I would expect the first page to be white and the second to be blue.
Instead, both pages are blue ⇒ output.pdf

Context
I encountered this issue when creating a theme for Polylux. I want to use states to store user preferences but would like to still be able to set individual slides' background colours, for example for title slides:
#import "@preview/polylux:0.3.1": logic

#let accent-colour = state("accent-colour")

#let some-theme(colour: none, body) = {
    accent-colour.update(colour)
    body
}
#let title-slide(body) = {
    context {
        set page(fill: accent-colour.get())
    }
    logic.polylux-slide(body)
}
#let slide(body) = {
    set page(fill: white)
    logic.polylux-slide(body)
}

#show: some-theme.with(colour: blue)
#title-slide[Lorem]
#slide[Ipsum]

typst -V: typst 0.11.0 (2bf9f95d)
Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

Unless the page is empty, the set page will only apply from the next page. The first page isn't empty, because of the content returned by the state update.
Since there is another set page right after the pagebreak, the one right before it will never be applied to any page.


[Feature Request] On month change selected Date should be passed to next month

On Month change current selected should be selected on next month..
currently select 1st day of month selected on month changed.

Hello, I'd appreciate to not be selected first day while scrolling, but even better would be to unset selection and add method to select day manually. Anyway, thank you for great customizable lib!

@novalu please see #90. There is some discussion going on there if you would like to see.