Bump versions of local deps.

There have only been very minor changes since the last version.

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 06bffb59a7aa3bd0b073869a71fa113de637436b has been approved by alexcrichton

:hourglass: Testing commit 06bffb59a7aa3bd0b073869a71fa113de637436b with merge 599961b320bd2cf49e8a4937bab34daa00af454e...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 599961b320bd2cf49e8a4937bab34daa00af454e to master...


Create SECURITY.md

Why:

Closes [issue link]
What's being changed:

Check off the following:

[ ] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

Hey there @lesliebranson! Thanks for opening this PR.
Could you please fill out the Why and What's bring changed sections in your original comment to explain why this PR is necessary?
Thanks!


Fixed broken Android example.

The '-' in 'com/react-native-modal-example' caused compilation failure.

Thank you @jkomyno ! Merged :)

@jkomyno did you forget to include change in build.gradle
applicationId "com.react-native-modal-example" to applicationId "com.example"?

@JuniusAng thanks for the feedback, I'm on vacation now. Maybe you could send a mini-PR for with this fix if @jkomyno won't answer?
Thanks!
I'll merge and check all the remaining issues when I'll be back :)

Sorry guys, I just noticed. I'll send this PR, np. Thanks @JuniusAng for noticing!


Expose server metrics to prometheus and external monitoring infra

Provide PHP layer function to expose server metrics to external monitoring system

What are the current exposed metrics OpenSwoole provides?

@pachico You can get the server metrics with Swoole\Server->stats(), check more at https://www.swoole.co.uk/docs/modules/swoole-server-stats

In that case, a simple formatter should be enough.
I can volunteer to write it.

@pachico you are welcome to involve the development by submitting PR. I can send you more details about this, please find me at the Slack channel. Thanks.

Cool @doubaokun , thanks.
However, I was actually thinking about a PHP library that reads from Swoole\Server->stats() and exposes metrics in Prometheus format, not something that makes parts of Swoole itself.

It is fine to create your own package to do the task, although there will be a built-in feature to expose these metrics.

Release note: https://www.swoole.co.uk/article/openswoole-4.9.0-released


What is semi-empirical approximation mentioned in section iv in the paper?

it is a method combines elements of both empirical and theoretical approaches


Use networking api for ingress

How to categorize this PR?

/area monitoring
/kind regression
What this PR does / why we need it:
In PR #5754, we wrongly used extensions/v1beta1 apiVersion for Ingress in the deletion step of the shoot. Because of this shoot is getting stuck in the deletion phase with the following error:
"Failed to delete Shoot cluster \"aws-i545932\": flow \"Shoot cluster deletion\" encountered task errors: [task \"Deleting Grafana in Seed\" failed: retry failed with context deadline exceeded, last error: no matches for kind \"Ingress\" in version \"extensions/v1beta1\"]"

This PR fixes the issue by using correct apiVersion networking/v1 for shoot ingress deletion.
Release note:

NONE

/test pull-gardener-e2e-kind

/cc @rfranzke can we merge this

/lgtm
/approve

/retest

/retest


Filter out beans from CDI from build time discovery

If i.e. a component is defined using CDI, like:
@Singleton
public class CamelComponents {
    @Singleton
    @Named("direct")
    @Produces
    DirectComponent directComponent() {
        DirectComponent component = new DirectComponent();
        component.setTimeout(1234);

        return component;
    }
}

we should exclude it from build time auto discovery

we should exclude it from build time auto discovery

Why?

because the auto discovered one has lower priority than the the runtime one so there's no point to have an unused instance of a component/language/data-format in the registry


Jquery version

My website cannot display normally at IE browser while can display well at firefox/chrome.
After checking, I find it should caused by jquery issue.
So I change the version from 2.1.4 to 1.11.3, then it can work well at both IE/Firefox/Chrome.
Can Yii2 use jquery1.11.3 to allow better compatibility?
Or, provide choice when install yii2?
Or , at least add this advice/quidance into yii2 document in case some people need consider more compatibility?
Please refer to forum link

You can always customize built-in assets to fit your needs. And it's already mentioned in official docs here.

Thanks for point out this.
Can we default use 1.11.3 since it compatible more browser?? thanks.

I think no, because IE8 is considered deprecated now.

No.


TCLink may not work with CPqD ofsoftswitch13 switch (and nox13)

This needs to be tested/verified/analyzed/fixed if necessary.
Note: It's a pain to test, because you need to do install.sh -3f -3x to install ofsoftswitch13 and nox13oflib.
This seems to work fine:
mn --custom mytopo.py --topo mytopo --link tc --test iperf

However, even if I wait for NOX to connect, the following doesn't seem to work:
export NOX_CORE_DIR=~/nox13oflib/build/src/
mn --custom mytopo.py --topo mytopo --link tc --controller nox,switch --switch user
...
mininet> iperf

In fact, the iperf seems to hang. ;-(
here's the sample topology:
from mininet.topo import Topo

class MyTopo( Topo ):
    "Simple topology example."

    def __init__( self ):
        "Create custom topo."

        # Initialize topology
        Topo.__init__( self )

        # Add hosts and switches
        leftHost = self.addHost( 'h1' )
        rightHost = self.addHost( 'h2' )
        leftSwitch = self.addSwitch( 's3' )
        rightSwitch = self.addSwitch( 's4' )

        # Add links
        self.addLink( leftHost, leftSwitch, bw=10 )
        self.addLink( leftSwitch, rightSwitch, bw=1 )
        self.addLink( rightSwitch, rightHost, bw=10 )

topos = { 'mytopo': ( lambda: MyTopo() ) }

If this is a problem, the issue may be with ofsoftswitch13, because --switch user works fine with the Stanford reference implementation.

As of Aug 7 2015 this is still a problem. I can confirm that TCLink breaks routing with CPqD ofsoftswitch13. Running iperfs is a sure way to elicit this broken behavior, but I've also found that hosts are occasionally unreachable right after startup.
I didn't start seeing this behavior until I began disabling GRO, GSO and TSO to fix another problem I was having with TCP flows being throttled down to nothing, with or without TCLink. Even when routing appeared to work correctly, I was consistently seeing intermittent iperf throughputs in excess of the line rates I'd set with TCLink in a single run (i.e., using iperf's -i option).
It didn't become immediately apparent that something was amiss until I started experimenting with queues, though that probably had more to do with the fact that I was running multiple iperfs simultaneously. To make matters worse, the behavior isn't consistent; sometimes a simple pingall will show broken routing, other times it won't appear to break until the second or third iperf. Multiple simultaneous iperfs will always hamstring ofsoftswitch though.
I'm not sure what the solution is here, because as it stands ofsoftswitch13 looks less and less suitable for our experiments, but at the same time it's the only show in town if you need meters.

I'm not sure if this is the same problem I originally reported.
Perhaps you can examine what the root issue is. There are a number of issues which might be at play here including:

the Stanford reference switch (and descendants) don't work with MAC address 00:00:00:00:00:01
if you use TCLink you should not mess with queues using tc

I apologize for the extreme tardiness of my reply, we've been in crunch time and this completely fell off my radar. You're right, it isn't quite the same problem though it has similar features.
As it turned out, the problem was purely the combination of CPqD softswitch queues and tc links. It was just a little deceptive; simply overriding Mininet's default --no-slicing option is enough to create the problems I was seeing whether or not queues are configured on any switch instances.

Has this problem been resolved? I'm currently using ofsoftswitch13 with --no-slicing set and tclink,bw=5 but when I ran iperf the detected bandwidth was just 179kbps. The exact command I'm running are:
Linux Terminal: sudo mn --controller remote --switch user --link tc,bw=5
Mininet c0: ryu-manager ryu.app.rest_qos ryu.app.qos_simple_switch_13
Mininet h1: iperf -s
Mininet h2: iperf -c <IP_ADDRESS>


Errors caused by link to topic with xref in shortdesc

Expected Behavior
When I have the following condition:

Topic contains <xref> to another topic xref-in-shortdesc.dita
The referenced topic has a short description, and that short description also contains an <xref> to finaltarget.dita
The xref inside that short description is missing link text or <desc>

The topicpull step ends up grabbing the short description from the middle file xref-in-shortdesc.dita, putting that in a variable, and then processing the variable. The result is that the <xref> to finaltarget.dita is processed again but in the context of that variable, which causes the processor to look for it in our XSLT directory, and ends with errors. Happens with both preprocess and preprocess2, here is the error log from preprocess:
C:\DCS\test\apiref>\dita-ot\dita-ot-3.1.2\bin\dita -i in.ditamap -f html5
[topicpull] I/O error reported by XML parser processing file:/C:/DITA-OT/dita-ot-3.1.2/xsl/preprocess/finaltarget.dita: C:\DITA-OT\dita-ot-3.1.2\xsl\preprocess\finaltarget.dita (The system cannot find the file specified.)
[topicpull] file:/C:/DCS/test/apiref/xref-in-shortdesc.dita:5:68: [DOTX031E][ERROR]: The file finaltarget.dita is not available to resolve link information.

This worked at some point in the past (at least, the xref inside shortdesc was processed to get text) but could have been broken as far back as 1.8 -- the text was pulled and no errors were thrown.
Actual Behavior
Errors appear as shown above. preprocess2 has the same issue:
C:\DCS\test\apiref>\dita-ot\dita-ot-3.1.2\bin\dita -i in.ditamap -f pdf
[topicpull] I/O error reported by XML parser processing file:/C:/DITA-OT/dita-ot-3.1.2/xsl/preprocess/dd3f451dd1448c00ddc872728d9573466227ad65.dita: C:\DITA-OT\dita-ot-3.1.2\xsl\preprocess\dd3f451dd1448c00ddc872728d9573466227ad65.dita (Thesystem cannot find the file specified.)
[topicpull] file:/C:/DCS/test/apiref/xref-in-shortdesc.dita:5:68: [DOTX031E][ERROR]: The file dd3f451dd1448c00ddc872728d9573466227ad65.dita is not available toresolve link information.

Possible Solution
Once everything is in the variable context, I'm not sure how easy it is to get away from this. Most likely, the only way around it is to update the copy-shortdesc mode so that when it finds an xref, it actually goes to process the file, but I'm not sure yet.
Steps to Reproduce
Samples attached:
xrefshortdesc.zip
Copy of the error message, log file or stack trace
Shown above
Environment

DITA-OT version: 3.1.2
Operating system and version: Windows
How did you run DITA-OT? dita command
Transformation type: html5 and pdf

This is probably also related to DITA-OT 2.5.x and to other linking elements like <term> and so on. I remember I went crazy because the error message is absolutely useless for authors.
To other crazy people: If you like to avoid problems related to this bug, you may want to use a Schematron rule to prohibit links completely in <shortdesc>.
<sch:pattern id="no-linking-in-shortdesc" see="https://github.com/dita-ot/dita-ot/issues/3078">
    <sch:rule context="*[contains(@class, ' topic/shortdesc ')]">
        <sch:report test="*[@keyref] or *[contains(@href, '.dita')]">
            Do not link to other topics in <shortdesc>. This does not work.
        </sch:report>
    </sch:rule>
</sch:pattern>

👍 One more report:
https://www.oxygenxml.com/forum/viewtopic.php?p=53982#p53982
again a short description contains an xref, and at some point in the [topicpull] stage we get this error in the console view (using DITA OT 3.3.1):
         DITA-OT3.x\plugins\org.dita.base\xsl\preprocess\process_edit.dita (The system cannot find the file specified)

so the "process_edit.dita" is searched for in the wrong folder.

@raducoravu do you still have the code set up that used $baseContextElement to fix this? I tried to do something like that just now and it didn't seem to work, so I think I missed something. If you could make a pull request with the code change, and allow maintainer edits, I could verify it and then add a test case to the same pull request?

I will do this on Monday

@robander added my changes as a possible pull request, they don't need to be integrated as they are if you have a better solution, it's just for you to know what I did on my side.
As I said before there are two aspects for the problem and the XSLT changes fix only the first aspect.

👍 We had another end user asking for a fix for this on DITA OT 2.5.4.

Attaching the end user's samples for which html5 publishing still reports errors like "The file topic_a.dita is not available to resolve link information." even with my fix applied.
sample_xref_in_shortdesc.zip
In those samples there are three DITA topics, the short description for each topic has an xref to the title of the next topic in a circular fashion with the shortdesc of the last topic having an xref to the title of the first topic.
The reported errors seem benign as the tooltips properly resolve on each link in the shortdesc of each topic.
Why are the errors still reported?
So for expanding the reference from topic A's shortdesc to topic B the topicpull XSLT code finds the xref to topic B and loads topic B in a document. Then it applies the template which resolve topic B's title but the XSLT processing also tries to resolve topic B's shortdesc. Because it tries to resolve topic B's shortdesc, it goes into that shortdesc, finds a reference to topic C, tries to expand that and so on.
As in the end topic B's title will appear as a tooltip when hovering over the xref to it, resolving its shortdesc is not quite necessary but the information does appear in the processed topic so possibly it might be used by some customizers.
I give up :(

Probably one more problem. Again, topic is searched for in the wrong folder:
https://www.oxygenxml.com/forum/post56095.html#p56082

Hi, is still an issue in the latest version of the DITA-OT?
We're using 3.7.2 and are encountering this issue in several of our publications and would like to avoid refactoring our short descriptions if possible.
Thanks!


Core: Confine URL parameter interactions to browser-specific code

Fixes gh-955

Any thoughts around how to test this?

I really like what this PR does, and I'm afraid this might require defining several extra html files to observe the results of using urlParams.

I'm afraid this might require defining several extra html files to observe the results of using urlParams.

I don't think so... the new file really doesn't have that many responsibilities, and I'm pretty sure they can be tested together:

parsing of a query string into a QUnit.urlParams object
setting a few predefined properties on QUnit.config
setting user-defined QUnit.urlConfig properties on QUnit.config

Makes sense.
We already have tests for config when it's set, we only need to check if urlParams affect the config, right?

where config my be QUnit.config, urlConfig, etc

Overall, huge :+1: on this. As for the tests, what @gibson042 lists makes sense to me, so long as "setting a few predefined properties on QUnit.config" means "setting a few predefined properties on QUnit.config via urlParams".
Looking forward to the tests.

Tests added! :tada:

Tests look good to me. After a rebase I think this will be ready to go.


[event-hubs] Final cleanup for preview

Adding missing documentation
Moved the batch tests for sending over to use EventHubProducerClient
Removed the "multiple partition" overload for subscribe in favor of just allowing a single partition for consistency with other languages.

I originally had the "increase the batch size to 10" but that would mean we'd also want to possibly ratchet down the batch timeout as well, otherwise (in low volume, which would be common for...tests, for instance) you'll end up waiting a full minute to get values.
We can add this in tomorrow if we want, but I just want to talk about what (if anything) those values should be.

build is failing due to a stray EventHubProducer reference in sender.spec.ts file

we'd also want to possibly ratchet down the batch timeout as well, otherwise (in low volume, which would be common for...tests, for instance) you'll end up waiting a full minute to get values.

Yes, we have done that in the past. 10 or 20 sec should be good enough

we'd also want to possibly ratchet down the batch timeout as well, otherwise (in low volume, which would be common for...tests, for instance) you'll end up waiting a full minute to get values.

Yes, we have done that in the past. 10 or 20 sec should be good enough.
Or for the sake of tests, you can change the batch size to 1

The more I thought about it the more it bothered me how deep in the code these defaults were set.
I made the timeout and batch size options required for all the lower level classes - the defaults are now set up higher in EventHubConsumerClient. So from the user's perspective nothing changes but now I don't have to worry about some default sneaking up on me from the bowels of the internals.


[CpuBufferPool Documentation] Chunk vs Subbuffer

It is unclear from the provided documentation what the difference is between a chunk and a subbuffer.  Without examples it can be very difficult to identify when using one instead of the other may be necessary.  We spent multiple days tracking down why an attempt to pass a subbuffer of vertices to a call to draw() was failing to compile.  The error message was extremely verbose, but ultimately seemed to be saying that the for some reason the requirements for implementing the VertexSource trait were not being met.
  The problem immediately fixed itself.
Even by looking at the source code in cpu_pool.rs it isn't obvious why there are two types.  One seems to act like a mere wrapper over the other one but both implement all the same traits.  The initial impression was that the difference was just whether the memory would be initialized with a chunk of data directly, or if it would be initialized by traversing an iterator.
I did some digging after the fact to try to understand why one data structure worked and the other did not.  My hypothesis is that the meaningful difference is whether TypedBufferAccess exposes the type Content as a slice or a single element.
I'm hoping that either the documentation can be clarified to indicate when one or the other is appropriate to use, or that example code can be provided to demonstrate the difference between the two options.

CpuBufferPool no longer exists, so this issue is moot.


Creation of a logo

We need to create a logo or at least collect ideas for a logo.
That should be used for all places where chloroExtractor is used to provide a "corporate identity".

Done by @nterhoeven in https://github.com/chloroExtractorTeam/chloroExtractorLogo


Add artifact type policy override from template

Currently, changes to the artifactTypePolicies field for the config-based policy provider must be made in the configmap
Add support for defining the policies in the values.yaml file and reference template in configmap
Will allow users to update the policies from helm install command

I don't think this is relevant assuming we move towards CRDs... @susanshi


include 设置了不起作用所有的都进行了转换

exclude

I encounter the same problem,then solved it by below steps:

npm install @our-patches/postcss-px-to-viewport --save-dev (Because of the package which author published in npm is not freshly)
Use /components\\home\\mobile/  if your operating system is windows.

There are my options settings,it works fine.

ahooo！it works justfor vue2+webpack but not vue3+vite2.x？ have any idea?

have solved!   incorrect reg!!


Unintuitive font config behavior

Describe the issue
font =  behaves differently from ; font =
Expected behavior:
In both cases I'd expect it to get the font given by fc-match
Actual behavior:
; font = defaults to a "fixed" bitmap font.

Why is this the expected behavior?
Polybar uses fixed as the fallback font when you don't specify any fonts.
If you set
font-0 =

you are explicitly setting the font pattern to the empty string which is then passed to fc-match.
However with
; font-0 =

the line is a comment and polybar will not even read what's on it, thus you didn't actually specify any fonts in your config and polybar will use the fallback fixed and pass that to fc-match.
You should always specify a font, the fallback font is only here in order for your bar to still at least show up, even if you forgot to add fonts to your config.

polybar will use the fallback fixed
That is what is unintuitive. The fallback should be whatever is returned by fc-match with an empty string. I don't kow if fc-match fixed always works, but fc-match should do so.

I still don't see a reason to change this behavior. Polybar will warn you if you didn't specify any fonts. What you are proposing of course also works but for me neither of them is more intuitive than the other.

I don't kow if fc-match fixed always works

fc-match always returns a value, even if the font doesn't exist. What I have noticed is that it always returns whatever fc-match "" returns, if the font is not found.

Assuming you mean bitmap fonts with fc-match fixed, the user might have disabled bitmap fonts.

fc-match will not give you a bitmap font if they are disabled

neither of them is more intuitive than the other.

Fair enough. The reason it's unintuitive to me is that I don't see a reason for font-0 =. Its semantic meaning is (for me at least), exactly the same as if font-0 was never defined in the first place. As a matter of fact, font-0 = should be a syntactic error in my eyes. As it stands, even with the new parser (https://github.com/jaagr/polybar/pull/1237) there's too many different ways of specifying the absence of a value:

Not defining the configuration attribute
attr =
attr = ""

Ideally, there should only be one way of conveying the intention of the absence of a value (which is different from the presence of a value but empty). E.g. foo = None != foo = ""

I see your larger point about absence of values. In the current implementation key =  is the only way to specify that a value is supposed to be the empty string, key = "" unfortunately is interpreted as the literal string "" (which I consider a bug and is fixed in #1377).
Not defining foo is already different than foo = "". For example setting format-disconnected = in the network module will make the module produce no output if the network is disconnected. Not defining the key at all will make polybar produce an error that you didn't define the key.
Currently the semantics are as follows:

The only way to signal the absence of a value is to not define its key.
Setting attr to the empty string can be done with either attr = and attr ="" (once #1377 is merged).

Unfortunately there is no way to explicitly signal that a value should not be defined. We can't use foo = for this because this would break a lot of things since it's currently the only working way of using the empty string. We also can't really use some kind of keyword like None, because what if someone wants to intentionally set it to that value. This is kind of unfortunate but I don't see a good way to do this.

Its semantic meaning is (for me at least), exactly the same as if font-0 was never defined in the first place

The intuition here was that foo = abc and foo = "abc" are equivalent, so foo = and foo = "" should be equivalent too. This also makes things simpler in the code because we don't have to care what's inside the quotes and can just copy it (even if it's the empty string)

All valid points. It's indeed unfortunate it evolved like that. Thanks for the detailed response.
The  domain space of config file formats is unfortunate IMO. I've only found https://github.com/dhall-lang/dhall-haskell to be simple, consistent, with well-defined semantics, and expressive enough without being a Turing-complete language. Anything else (yaml, xml, ini, toml, etc...) seems like an ad-hoc format to me. Unfortunately, there's too much of a barrier to entry for dhall. Oh well :(

dhall looks far from simple, but definitely very expressive. My goal is to create a proper spec for the config file format as part of the man pages so that it's at least well defined.
I don't think we're going to change our config format anytime soon since it would require all users to switch to the new format.


Fix sort countries

Fix for https://github.com/mukeshsolanki/country-picker-android/issues/60

not needed as we have reworked the country picker and have fixed this


Set up themes token in code

Need a way to do themes so the same set of tokens can take on different values for different themes.
Here's the lastest tokens by theme: https://github.com/IBM/carbon-elements/issues/53#issuecomment-451190539

@joshblack if it wasn't obvious we had to add a few additional tokens to met the needs of the themes. They are as follows:

$interactive-03
$ui-background
$text-04
$hover-tertiary
$active-tertiary
removed $overlay-02


Render line on top of area so it isn't partially hidden

The Area component currently renders the stroke element below the area. This causes weird effects like this:

Don't see here? Here, let me bump up the stroke width:

The issue is that half of the bar is hidden underneath the area. Even without this visual glitch, if you give it a strokeWidth of 10 it's only going to show 5 pixels because the area is hiding half of it.
Here's how it looks with my fix:

I can't see why this was intentional, so hopefully this is an easy merge. Let me know if there's anything else I can do!

Any chance this could get looked at?

@jlongster sorry about that. You caught me on vacation! This looks great. I'll get it released for Monday


Run core-contracts unit tests on CI

This was already fixed here: https://github.com/Synthetixio/synthetix-v3/pull/204/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88L14


feat: default to en locale

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 62.557%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1240

Relevant Lines:
1724

💛  - Coveralls

How do i do translation 😸

Oh gosh, does this mean that proper i18n is on the horizon for us?

I just need the html element to have a lang attribute at this point lol


Add support for WithTagKey()

Add support for WithTagKey()
Fixes https://github.com/m-mizutani/masq/issues/18
type myRecord struct {
    ID    string
    EMail string `piifield:"secret"`
}
record := myRecord{
    ID:    "m-mizutani",
    EMail<EMAIL_ADDRESS>}

logger := slog.New(
    slog.NewJSONHandler(
        os.Stdout,
        &slog.HandlerOptions{
            ReplaceAttr: masq.New(
                masq.WithTag("secret"),
                masq.WithTagKey("piifielld"),
            ),
        },
    ),
)

logger.With("record", record).Info("Got record")
out.Flush()
// Output:
// {"level":"INFO","msg":"Got record","record":{"EMail":"[FILTERED]","ID":"m-mizutani"},"time":"2022-12-25T09:00:00.123456789"}

Closed in favour of #19


Fix final avg for nulls on top of a row_constructor projection

This PR is trying to fix the invalid access to null values when final avg is on top of a row_constructor projection.
Fixes https://github.com/facebookincubator/velox/issues/2385.

cc @FelixYBW

Closing per discussion in #2385


mac_regex error

Hi,
I think there is a mistake in mac_regex.
The first block is [0-9A-F-af] and should be [0-9A-Fa-f]
https://github.com/HariSekhon/lib/blob/3000c47f649677d4975bfb0cc03d82cfe6a9d6b4/HariSekhonUtils.pm#L700
Thank you

Thanks very much for the spot! Yes minor typo, fixed.


[ISSUE #73 #74] session window and count(distinct) implementation

#73 #74

add implementation of session window and it's test
add implementation of count(distinct) by using hyper-log-log algorithm and rocksDB, add test case in WindowTest
fix some bug such substring function,  hop window message etc

#70 #71 and this are the same
here I just have a try why i can't use travis-ci build 😅


Adds github actions checking format/lint/build

This change adds github actions to make sure that tests pass on deploy.
These are only basic checks, but will prevent broken builds being merged into main and will help ensure consistency throughout the project
I've used my preferred config for lint/format but feel free to change this if you'd like.

This runs on my local version of the build but it seems to not be triggering the actions on the fork (maybe because it's a fork?). Actions might need to be manually enabled to get CI/CD running @FrancescoXX

Hi @danspratling , this still has conflicts, maybe its due to the merge of your previous PR. Thank You


Scrollbar when there are too many tabs

When there are too many tabs then it gets ellipsed. It would be great if we display a scrollbar instead

I will look if ink API can help with this kind of things.

I think that it is more an ink issue, now that ink handle nearly all "flexbox" properties, it might handle the flex-wrap functionnality.


react like context

react context is powerful and time saving. is there any possibility of having it here?

sorry posted in wrong place


setup

On 10/11/21 10:47 AM, Bryan Hilbert wrote:
@bhilbert4 approved this pull request.
Looks good. A couple observations:
When using the proposal ID to create a subdirectory for the output data, I think it would be helpful to force the number to have 5 digits (e.g. rather than the '743' subdirectory, it is '00743'.
Will do, good idea!
I tried calling jwst_query myself with the config file, but not specifying any proposal ID. I set the lookback time to 100 days, but all I got back was a time out error. I'm not sure what was going on there.
I think this is a DB issue, not a script issue. It finds 2337 observations, and for each observation, there might be 10s of products. So I think that the query is asking for too much data...
(conda_photpipe) arminmac3:jwst_mast_query arest$ jwst_download.py  -v   -c jwst_query.cfg --lookback 100
Loading config file jwst_query.cfg
INSTRUMENT: nircam
INFO: MAST API token accepted, welcome Armin Rest [astroquery.mast.auth]
Outdir: /Users/arest/nircam/MASTdownload/testdir
MJD range: 59398.62298540339 59498.72298540775
Querying Obstable....
Obstable obtained: length: 2337
Querying ProductTable....
It might be helpful (in the future), to switch from levels of verboseness to a proper logger that saves a log file and uses more descriptive levels. e.g. 'dev', 'info', 'warning', 'error'. I think this is especially true if this tool will eventually be public.
sounds good!
-A

In setup.pyhttps://urldefense.com/v3/__https://github.com/spacetelescope/jwst_mast_query/pull/1*discussion_r726159097__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh4G4WfVow$:

   'Intended Audience :: Science/Research',

   'License :: OSI Approved :: BSD License',

   'Operating System :: OS Independent',

   'Programming Language :: Python',

   'Topic :: Scientific/Engineering :: Astronomy',

   'Topic :: Software Development :: Libraries :: Python Modules',

],
packages = find_packages(),
package_data={},
use_scm_version=True,
setup_requires=['setuptools_scm'],
install_requires=[

   'astroquery>=0.4.2',

   'astropy',

   'numpy',

   'pandas',

Need to add pyyaml and scipy here.

In jwst_mast_query/jwst_query.cfghttps://urldefense.com/v3/__https://github.com/spacetelescope/jwst_mast_query/pull/1*discussion_r726159839__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh4koZXqKQ$:

+skip_propID2outsubdir: False
+skip_check_if_outfile_exists: False

+# specify the list of filetypes to select in the product table,
+# e.g., _uncal.fits or _uncal.jpg.  If only letters, then _ and .fits are added,
+# for example uncal gets expanded to _uncal.fits. Typical image filetypes are uncal, rate, rateints, cal
+# Note: with -vv, a list of all filetypes of the observations is shown on screen after the ProductTable
+# is queried for the first time. Example:
+# List of all filetypes of obtained products: ['_segm.fits', '_asn.json', '_pool.csv', '_i2d.jpg', '_thumb.jpg', '_cat.ecsv', '_i2d.fits', '_stream.fits', '_uncal.fits', '_uncal.jpg', '_cal.fits', '_trapsfilled.fits', '_cal.jpg', '_rate.jpg', '_rateints.jpg', '_trapsfilled.jpg', '_rate.fits', '_rateints.fits']
+filetypes: ['uncal']
+
+# if guidestars is set to True, guidestar products are also included
+guidestars: False
+
+# lookback time in days
+# Note that all other time parameters (mjdmin,mjdmax,mjd_limits,lre?) override the lookback time.
Would be good to explain here what the lookback time is (i.e. that it is the number of days prior to today that are searched).

In jwst_mast_query/jwst_query.cfghttps://urldefense.com/v3/__https://github.com/spacetelescope/jwst_mast_query/pull/1*discussion_r726160472__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh7B8ylxDQ$:

@@ -0,0 +1,78 @@
+# specify the instrument. The default set in the code is nircam
+instrument: nircam

+# define the output filename
+outrootdir: $JWSTDOWNLOAD_OUTDIR
+outsubdir:
Is this just a subdirectory to tag onto the end of outrootdir? Might be worth documenting that.

In jwst_mast_query/jwst_query.cfghttps://urldefense.com/v3/__https://github.com/spacetelescope/jwst_mast_query/pull/1*discussion_r726160616__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh5wUsv00g$:

@@ -0,0 +1,78 @@
+# specify the instrument. The default set in the code is nircam
+instrument: nircam

+# define the output filename
+outrootdir: $JWSTDOWNLOAD_OUTDIR
+outsubdir:
+skip_propID2outsubdir: False
What does this do?

In jwst_mast_query/jwst_query.cfghttps://urldefense.com/v3/__https://github.com/spacetelescope/jwst_mast_query/pull/1*discussion_r726161587__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh5N0iVMFA$:

@@ -0,0 +1,78 @@
+# specify the instrument. The default set in the code is nircam
+instrument: nircam

+# define the output filename
+outrootdir: $JWSTDOWNLOAD_OUTDIR
+outsubdir:
+skip_propID2outsubdir: False
+skip_check_if_outfile_exists: False
Documentation might help here too. Or somewhere, talking about how the check works. Does it check for all files from a given query? Or just a single example file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/spacetelescope/jwst_mast_query/pull/1*pullrequestreview-776290717__;Iw!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh71vEaaBg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AFTXPU4DEGMKMLHFVOE6SIDUGL2H3ANCNFSM5CVABHPQ__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh4r0KYoSg$.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.com/v3/__https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh5tPdpknQ$ or Androidhttps://urldefense.com/v3/__https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!CrWY41Z8OgsX0i-WU-0LuAcUu2o!lbzoBUDPjm8M4wUVhkadej2zROtD2-8pMaXTTSmcuYqO8kFQsKWfjh7R7zQqTA$.


Help browser "Forum" link broken

Describe the bug
The Forum button in the Help button is broken:

To Reproduce

Click Help or press F1 key.
Click Forum at top of Help window.

Expected behavior
Forum page should display in Help browser.
Buttons in Help window duplicate functionality of menus in new Help format, so better solution is to remove buttons from Help window. Also, Linux displays Help in default browser, so those buttons are only available in Windows and Mac versions.

Operating System and Version

Windows 10
SAM 2023.12.1 rc

Additional context
Add any other context about the problem here.

This needs to be fixed in SAM-private -- SAM is ok.


Makes the Python 3 tests mandatory for travis_CI

With the py2 to py3 PR the python 3 tests should always be run. This should be merged after the Py2 to Py3 PR.

Change has already been applied.


No Intellisense with typescript

It went smoothly at the start. Everything stopped working after a certain point (I use default settings, so nothing about settings.json). No autocomplete or type hinting anymore, it's just like a regular text editor to me right now. But it has hints when i was editingsettings.json though.

@joesonw Can you please help us with more steps to reproduce the problem. Does the problem persist for you if you restart VSCode? Does the problem occur only on a certain file/folder?

@alexandrudima  I even tried to reinstall it. I also tried delete everything under ${HOME}/Library/Application Support/Code, problems still persist.  I can't really tell how did I got into this. I suspect it might be structure of project files? or package.json?

CCing @dbaeumer who might help you pinpoint the failure better

@joesonw would you be able to share your project with me.

I had same experience when completionItemProvider reject the promise.
It might be related to #693 .

@dbaeumer I'm working on completion on #633 try that with this code
interface IDosomething{
	getInfo(callback:(another:()=>void)=>void)
}
var x:IDosomething;
x.getI

then try to complete x.getI with tab. you will get flowing error and suggestion, completion and quick-info won't work any more.
Here's what I get when something going wrong in process of suggestion. after this
[4363:1130/154007:INFO:CONSOLE(47)] "WARNING: Promise with no error callback:undefined", source: file:////home/user/vscode/out/vs/base/common/winjs.base.js (47)
[4363:1130/154007:INFO:CONSOLE(48)] "Error: Promise did not implement oncancel", source: file:////home/user/vscode/out/vs/base/common/winjs.base.js (48)

@ucnc testing with with a 'plain' VSCode doesn't show any wired behavior nor output written to the log.

Have you added a tsconfig.json file to the root of the project?

I have issues with intellisense, too. I created isolated project with issue https://github.com/RANUX/vscode-ts-project-tests When i use "exclude" directive in tsconfig.ts, everything works fine, but when i try use "files" directive intellisense doesn't work :(
VSCode Version is 0.10.10 on OS X Yousemite.
PS in js files intellisense works fine

@RANUX the problem with your setup is that as soon as you start using a files section only the files listed there are parts of the project. So in your case the project only consists of  "typings/meteor/meteor.d.ts" and no other files. Hence you don't get intellisense in any of the others. Either remove the files sections or list all files you want to have part of the project.

@dbaeumer thanks for reply! But intellisense doesn't work for listed files in "files" section, that's my problem :(

@RANUX but in our example you only list typings/meteor/meteor.d.ts in the file section. So if you add another file the meteor typings will not be available in that files and therefore you will not get intellisense in that file for meteor typings.


ZoneAwareError on with angular and iOS simulator

I am using the plugin in a location.provider.ts whose saveUserLocation method (see code below) is called from my "home" page. Everything works find on Android and a real iOS device, however on the iOS simulator it most of the times gives me this error below and sometimes it just gives me the expected result (the location object).
{"line":994,"column":38,"sourceURL":"file:///app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js","originalStack":"ZoneAwareError@file:///app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:994:38\nfile:///app/tns_modules/nativescript-geolocation/geolocation.js:160:41\ninvoke@file:///app/tns_modules/tns-core-modules/timer/timer.js:54:53\nonInvoke@file:///app/tns_modules/@angular/core/bundles/core.umd.js:4787:39\nrunGuarded@file:///app/tns_modules/nativescript-angular/zone-js/dist/zone-nativescript.js:138:53\ntick@file:///app/tns_modules/tns-core-modules/timer/timer.js:19:26\nUIApplicationMain@[native code]\nstart@file:///app/tns_modules/tns-core-modules/application/application.js:258:26\nbootstrapApp@file:///app/tns_modules/nativescript-angular/platform-common.js:86:28\nbootstrapModule@file:///app/tns_modules/nativescript-angular/platform-common.js:72:26\nanonymous@file:///app/main.j

Any idea as to what may cause this? I don't care too much if this happens only on the simulator, I am a little worried it might also happen on a real device even though I have not seen it yet.
Thanks!
Which platform(s) does your issue occur on?

iOS simulator v10

Please, provide the following version numbers that your issue occurs with:
$ tns info
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 4.1.0 and the latest available version is 4.1.1.
⚠ Update available for component tns-core-modules. Your current version is 3.4.1 and the latest available version is 4.1.0.
⚠ Update available for component tns-android. Your current version is 3.4.2 and the latest available version is 4.1.3.
⚠ Update available for component tns-ios. Your current version is 3.4.1 and the latest available version is 4.1.1.

{
  "description": "MyApp",
  "license": "SEE LICENSE IN <your-license-filename>",
  "readme": "NativeScript Application",
  "repository": "<fill-your-repository-here>",
  "nativescript": {
    "id": "com.abhayastudios.testapp",
    "tns-ios": {
      "version": "3.4.1"
    },
    "tns-android": {
      "version": "3.4.2"
    }
  },
  "dependencies": {
    "@angular/animations": "~5.2.0",
    "@angular/common": "~5.2.0",
    "@angular/compiler": "~5.2.0",
    "@angular/core": "~5.2.0",
    "@angular/forms": "~5.2.0",
    "@angular/http": "~5.2.0",
    "@angular/platform-browser": "~5.2.0",
    "@angular/platform-browser-dynamic": "~5.2.0",
    "@angular/router": "~5.2.0",
    "@teammaestro/nativescript-svg": "^1.0.1",
    "moment": "^2.18.1",
    "nativescript-angular": "~5.2.0",
    "nativescript-bitmap-factory": "^1.7.1",
    "nativescript-feedback": "^1.1.2",
    "nativescript-geolocation": "^4.2.6",
    "nativescript-gradient": "^2.0.1",
    "nativescript-image-swipe": "^2.1.0",
    "nativescript-imagepicker": "^5.0.0",
    "nativescript-iqkeyboardmanager": "^1.2.0",
    "nativescript-ngx-slides": "^1.0.0",
    "nativescript-platform-css": "^1.6.5",
    "nativescript-plugin-firebase": "^5.3.1",
    "nativescript-social-share": "^1.5.0",
    "nativescript-theme-core": "~1.0.4",
    "nativescript-ui-listview": "^3.5.0",
    "nativescript-webview-interface": "^1.4.1",
    "reflect-metadata": "~0.1.8",
    "rxjs": "~5.5.2",
    "tns-core-modules": "~3.4.1",
    "zone.js": "^0.8.16"
  },
  "devDependencies": {
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "lazy": "1.0.11",
    "nativescript-dev-typescript": "~0.6.0",
    "typescript": "~2.6.2"
  }

Is there any code involved?
This the relevant part of my location.provider.ts:
/*
     First obtain permissions to use location services if needed, then try to obtain user's location
  */
  public saveUserLocation() {
    return new Promise((resolve, reject) => {

      geolocation.isEnabled().then((isEnabled:boolean) => {

        /* already have location permissions */

        if (isEnabled) {
          this.getCurrentLocation().then((location) => {
            resolve(location);
          }, (error) => {
            reject(error);
          });

        } else {

          /* first request location permissions */

          geolocation.enableLocationRequest().then(() => {

            /* granted location permissions, now get location */

            this.getCurrentLocation().then((location) => {
              resolve(location);
            }, (error) => {
              reject(error);
            });
          }, (error) => {
            console.error(`Failed to obtain location permissions: ${JSON.stringify(error)}`);
            reject(error);
          });
        }
      })
    });
  }

  /*
    Try to obtain user's location, assumes permissions are handled and save to user session if successful

    Returns promise containing location
  */
  private getCurrentLocation() {
    return new Promise((resolve, reject) => {
      geolocation.getCurrentLocation({
        desiredAccuracy: Accuracy.any,
        iosAllowsBackgroundLocationUpdates: false,
        maximumAge: 5000, // in milliseconds
        timeout: 5000, // in milliseconds
      })
      .then((location) => {
        resolve(location);
      }, (error) => {
        console.error(`Failed to obtain user location: ${JSON.stringify(error)}`);
        reject(error);
      });
    });
  }

I think the error means a timeout was exceeded while searching for a location (i.e. no GPS lock was obtained on the device). In your case the simulator did not return a location. You should be able to handle this in your code by increasing the timeout or prompting the user to retry when a GPS lock is available. You can also play with the iOS simulator settings and enable location from the Debug menu.

@lini thanks for your reply. I have one of the Apple locations set in the simulator (which every now and then is obtained properly). Even increasing the timeout to 30k ms still results in the error above sometimes.

I tried using the demo app from this repository and the debug location feature of the simulator. I clicked Enable Location then Start Monitoring and the updates on screen were consistent with the selected debug location:

Can you try the demo app and see if there is a problem there for you?

@lini I have same problem. I changed locations like you, but still not working.

@lini
Using the demo app I get the error below on the iOS simulator (with location set) when tapping once the Get Current Location button triggering the getCurrentLocation method. Yet at the same time the Start Monitoring button which triggers the watchLocation method displays locations just fine!
app/main-page.js:57:20: Error: Timeout while searching for location!

After changing the promise reject callback to log (error.message || error) instead of the entire object, indeed I get the same timeout message as with the demo app.
Still, somehow there seems to be an issue with the getCurrentLocation on the iOS simulator. I will try to upgrade to the latest Xcode and see it the issue is solved.

Still happening after upgrading to latest Xcode (now 9.4.1). Anyway, as long as this happens only on the simulator, it is not that important to me.

This is still an issue, did you guys figure it out yet?


Add thumbnails for each volume

Document the process even if temporary instructions so we can add more volumes quickly.

Will deal with this here https://github.com/LibCrowds/vue-pybossa-frontend/issues/295


Load Custom Font Error

Hi Everyone!
When i try to load custom font (font.fnt), it gives me an error like "no such file or directory, ... font.png". Even if it is not a .png file, error says it is an .png file.
Could anyone help me to overcome this problem please?
CODE
Jimp.loadFont('font.fnt').then(function (font) {
    baseImage.print(font, 10, 10, "Hello World!");
    baseImage.write("output.png");
});

ERROR
(node:6476) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open 'C:\Users\USERNAME\Desktop\jimp-ex\font.png'
(node:6476) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

+1, I have the exact same problem

Documenting this in the hope of helping someone in the future.
If you're using BMFont generator from angelcode, go into the 'Export options' menu via Options -> Export Options or by pretting T.
Then:

Set the font description to XML
Set the textures to PNG

And all should be good!

Future Jimp users .
Don't use BMFont generator cuz that i converted my ttf and otf fonts with it and result was not good . Font converted but with black background frame .
İnstead of BMFont generator use Hiero converter  it is much better .

U can change color of font
U can change size of font
and etc. what i haven't used yet

Future Jimp users . Don't use BMFont generator cuz that i converted my ttf and otf fonts with it and result was not good . Font converted but with black background frame .
İnstead of BMFont generator use Hiero converter  it is much better .

U can change color of font
U can change size of font
and etc. what i haven't used yet

The new working link to Hiero converter
https://github.com/libgdx/libgdx/wiki/Hiero


Compilation errors in STLocationRequestController

Hi,
First let me say that your library looks awesome!
I'm trying to use it in my project but I'm having some problems.
I modified my Podfile to include STLocationRequest:
platform :ios, '8.0'
use_frameworks!

target 'Squirlo' do
pod 'Google/SignIn'
pod 'GoogleMaps'
pod 'STLocationRequest'
end

target 'SquirloTests' do
end

target 'SquirloUITests' do
end

This is the output I'm getting when I'm running pod install:
Updating local specs repositories

CocoaPods 1.0.0 is available.
To update use: `gem install cocoapods`
Until we reach version 1.0 the features of CocoaPods can and will change.
We strongly recommend that you use the latest version at all times.

For more information see http://blog.cocoapods.org
and the CHANGELOG for this version http://git.io/BaH8pQ.

Analyzing dependencies
Downloading dependencies
Installing Font-Awesome-Swift (1.4.7)
Using Google (2.0.4)
Using GoogleAppUtilities (1.1.0)
Using GoogleAuthUtilities (2.0.0)
Using GoogleInterchangeUtilities (1.2.0)
Using GoogleMaps (1.13.0)
Using GoogleNetworkingUtilities (1.2.0)
Using GoogleSignIn (3.0.0)
Using GoogleSymbolUtilities (1.1.0)
Using GoogleUtilities (1.3.0)
Installing STLocationRequest (0.2.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 11 total pods installed.

The problem is that when I go back to Xcode, I'm getting compilation errors coming from STLocationRequestController. In particular the compilation error I'm getting is for the following line:
self.timer = NSTimer.scheduledTimerWithTimeInterval(15, target: self, selector: #selector(STLocationRequestController.changeRandomFlyOverCity), userInfo: nil, repeats: true)

I can fix that by manually changing the above line to the following:
self.timer = NSTimer.scheduledTimerWithTimeInterval(15, target: self, selector: "changeRandomFlyOverCity", userInfo: nil, repeats: true)

After fixing the above error, I'm trying to use the library but when I'm trying to import STLocationRequest I'm getting an error saying No such module 'STLocationRequest'
What am I doing wrong?
Many thanks,
Alex

Hey Alex,
thank you for using STLocationRequest in your iOS Project 👍
It seems like that your Xcode Version and your Swift Version is not up to date.
STLocationRequest is written in Swift 2.2 and so a string literal selector (selector: "changeRandomFlyOverCity") is deprecated.
For more information check out this link:
http://stackoverflow.com/a/24007718
So to fix this issue just update your Xcode Version by going to the Mac App Store.
If Xcode says No such module... just build your project by hitting cmd+b Xcode will reindex the pods and the error should be gone.


Fix Batch operator async for Amazon provider release 8.0.0

The overrides param has been removed and should instead container_overrides parameter be used with the release of provider version 8.0.0. The commit adds this fix ensuring backward compatibility for older versions of the provider to continue using the overrrides param.
related to: #977

Successful DAG runs for older versions of the providers

Successful DAG runs for RC versions of the providers


Unsubscribe from Github thread

Dear all,
I receive the following email when trying to unsubscribe from a Github issue thread.
Does someone have the same problem?
Thankfully,
-Robert

Weird, I just tried unsubscribing from this thread and it worked. Can you look
through your sent messages with this query: @reply.githuband let me know
what the sent from address on the latest one is?
The only thing I can think of is that you might the unsubscribe request was
sent from a different email address than registered on Github. Has
unsubscribing from Github worked before?
If that is the issue that should be an easy fix and similar to another thing I
want to implement anyway. Let me know!
On Sep 5 2016, at 7:03 am, Robert Orzanna<EMAIL_ADDRESS>wrote:

Dear all,

I receive the following email when trying to unsubscribe from a Github issue
thread.

Does someone have the same problem?

Thankfully,

-Robert

![image](https://cloud.githubusercontent.com/assets/170947/18246040/21628f3c
-7369-11e6-93fa-d455e86dd077.png)

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [view it on GitHub](https://github.com/colinking
/n1-unsubscribe/issues/56&r=cmVwbHkrMDAzOWJlOTNlNjJiZGIzNTA3ZDgzYjQ3NTc1NmNlMD
VjM2Y2ZGI4MjY0MTFkNzVhOTJjZjAwMDAwMDAxMTNlNTEzMDc5MmExNjljZTBhNmYwNWYwQHJlcGx5
LmdpdGh1Yi5jb20=), or [mute the thread](https://github.com/notifications
/unsubscribe-auth/ADm-k4pge9VLYNuIfPeP5qZEgdKS0DlXks5qm_cHgaJpZM4J0-BO&r=cmVwb
HkrMDAzOWJlOTNlNjJiZGIzNTA3ZDgzYjQ3NTc1NmNlMDVjM2Y2ZGI4MjY0MTFkNzVhOTJjZjAwMDA
wMDAxMTNlNTEzMDc5MmExNjljZTBhNmYwNWYwQHJlcGx5LmdpdGh1Yi5jb20=).![](https://git
hub.com/notifications/beacon/ADm-
k62hne56LLJyzSl9D4yaLCzEotR5ks5qm_cHgaJpZM4J0-BO.gif)

It should have been sent from the correct email address:

Unsubscribe
print.png
sending-spinner.gif
September 5, 2016, 13:01
ic-dropdown-reply.pngicon-thread-disclosure.png
message-actions-ellipsis.png
Robert<EMAIL_ADDRESS>To:
<EMAIL_ADDRESS>

Yeah everything looks right. If you try to unsubscribe from other Github threads, do you get the same error?

Just unsubscribed from this thread and it worked.
Apologies. Maybe it was just a one-time error.
Let's close this.
If it happens again with Github, then I will report it again!
-Robert

No worries, thanks for reporting! Let me know if it re-appears


Topic/watcher init

Each watcher that is registered with the scope will invoke the listener
asynchronously to initialize the watcher. This means that the listener
may initially be called even through the value being watch has not
changed.
As a result, the render function may be called multiple times
unnecessarily. This change checks the case when the listener is invoked
during watcher initialization and prevents render from being called.
See PR davidchang/ngReact#56 for a discussion on this change.

Looks great - thanks for the effort.

Thanks!


feat: Add check to notification creation

This PR adds a check to finalise submission. It will only create a notification if the assessment requires manual grading. This would mean that the staff has a TODO and thus a notification should be created.
In the context of CS1101S: Paths are autograded and require no manual grading. Without this check, staff will receive a notification under the grading tab but there is no action required. There is also no way to resolve the notification easily as the submission is autograded and autopublished.
Closes: https://github.com/source-academy/backend/issues/1166

I am willing to discuss alternative solutions if this does not seem like the correct approach to the issue.

coverage: 94.372% (+0.004%) from 94.368%
when pulling d46fc8b3fb4a0fc99f6eb4742ff8ee3548556135 on GabrielCWT:fix/notification-creation
into e84c9413437b7331cdee0b873dfa39d6be54cb1b on source-academy:master.


Add regex support for version-file

Hello,
It could be nice to have the same support than tfenv for regex in .terraform-version and even .opentofu-version.
So we can choose specific version, beta or not beta...
$ cat .opentofu-version
latest

$ cat .terraform-version
latest:^1\.[0-9].[0-9]$

$ tfenv install
Terraform v1.8.1 is already installed

$ tenv tf install
Resolved version from .terraform-version : latest:^1\.[0-9].[0-9]$
Error: Malformed constraint: latest:^1\.[0-9].[0-9]$

Thanks,
Regards,
Florian

Hi,
tenv use go-version, allowing use of version constraint like ">= 1.0, < 1.4"
Have you a specific requirement that could not be done with version constraint ?

Hello,
I didn't understand this by reading the README, thanks!
Then it could be nice because you support tfenv file but not synthax, that's a bit weird :) and make it easier for massive migrations from terraform/tfenv to opentofu/tenv.

I added regexp support for compatibility with tfenv, however there is a message displayed upon their use (I think they are more complex than version constraint, so less readable, without different use cases).


party: toggleable party stats overlay

The party plugin provides features that extend beyond the stats overlay, but does not provide the option to turn off the stats overlay. In large groups (depending on UI scaling), the stats overlay can take up an unnecessarily large portion of the screen.
Adds the ability to disable the stats overlay while keeping the other party features (tile marking, non-party plugin features like raid layout sharing, world map, etc.)

PartyStatsOverlay was removed, and the new overlay supersedes it. Closing because stale + no longer applicable


Compatibility with GripMovePlugin

Edit: Fixed links
Sorry about that, meant to respond a lot sooner but got really busy recently. I took screenshots of most of the immediately visible issues, got the debug log, and also copied over my assets in case that helps: https://mega.nz/#!bZ0BzSgD!XS3s0FBbalAEWYyX6VoieF0DwN5B9NLrK0tqv7c4dlA
I'm using the default .bat file (CM3D2x64_VR.bat) included in CM3D2 to run VR.
Other Info:
YAT version I tested with: <IP_ADDRESS>
CM3D2 Version: 1.53 x64
VR Headset: Oculus Rift CV1 firmware 708/34a904e8da
OS: Windows 10 Home x64
Sybaris build: 160930
debug for <IP_ADDRESS>.log
debug for 1.4.log

Thank you for the extensive information! I'll test the assets as soon as I can.
That said, could you repost the log with verbosity enabled? That is, set Verbosity to Assets|Textures and go to the Load Game UI (or any UI that looks broken).

debug.log
I've updated to YAT 1.4 now but aside from that everything else in the scenario was the same. I went to all the same parts of the game as I did for the other two debug logs.
I did use NTLEA back when I first started using CM3D2 but that was with ReiPatcher. When I switched to Sybaris I did a clean install and just set my system locale to Japanese now. (via the control panel)

Your AtlasCommon asset is outdated, which causes the issue. You do have two updated versions named as 1367BD762E26A742 and 4209AC888C3D23D8, so renaming either one to AtlasCommon should work.
That said, there is an issue with loading of translated textures. Going to make a separate issue for that.

I'm not so sure about AtlasCommon being outdated. YAT dumps it when dumping assets, and I double checked by scribbling it with red lines to see if anything messed up in-game and I could only find its effects in the Gallery Night Service section.
But to be thorough I double-checked with every possible scenario:
Deleting AtlasCommon  only
Deleting AtlasCommon and replacing it with the renamed 1367BD762E26A742
Deleting AtlasCommon and replacing it with the renamed 4209AC888C3D23D8
Renaming AtlasCommon into 10C5BF1DD3744404@14
Deleting AtlasCommon didn't change anything, assets were still broken in vr. Trying to replace it with a renamed 1367BD762E26A742 fixed most of the asset issues but broke the background of the Gallery Night Service. Renaming 4209AC888C3D23D8 also broke the Gallery Night Service but it also mislabeled certain buttons (like changing Edit Player into Night Service)
Renaming the original AtlasCommon I have into 10C5BF1DD3744404@14 completely fixed the issue. I tested it in VR and regularly, with and without GripMovePlugin and the assets load fine now. (though, when i'm in the Gallery Night Service this one error comes up now but doesn't affect the game in any noticeable way: NullReferenceException: Object reference not set to an instance of an object)
I logged every change and went straight into the gallery night service only, in order to confirm this.
debug for 1367BD762E26A742.log
debug for 4209AC888C3D23D8.log
debug for 10C5BF1DD3744404@14 (Regular).log
debug for 10C5BF1DD3744404@14 (VR).log
No GMP debug for 10C5BF1DD3744404@14 (Regular).log
No GMP debug for 10C5BF1DD3744404@14 (VR).log
And I also took screenshots here and there in case they might be useful: https://mega.nz/#!idlSVBZA!WYk6DDWX6TPRBeTV8ZBZRVOt21aO_L5B7Y1elzQUwvc
I'm not quite sure why this happens. But that's everything I could find when running YAT with GMP in Oculus VR. Sorry if it's a lot of excessive info, figured it'd be better to be overprepared than not.

Ah, I see now! The AtlasCommon is different from scene to scene.
That said, the one you had before is still outdated.
You should create two copies of 1367BD762E26A742 and rename them to 32CDB08E1B9E7490 and 4209AC888C3D23D8. In addition, remove 10C5BF1DD3744404@14, since it's a texture for a font, not an atlas. It should fix the issue.
Moreover, I suggest getting assets from a pre-made translation pack. For instance the AIOUE should contain a working Assets folder. You can just replace the one you had.
If I recall correctly, you will also need the new [AtlasCommon2.png](http://www.hongfire.com/forum/forum/hentai-lair/hf-modding-translation/custom-maid-3d-2-mods/414082-custom-maid-3d-2-english-ui-release-4-2?p=5825775#post5825775) if you get the assets from AIOUE.

Yup, just confirmed making a copy of 1367BD762E26A742 and renaming it 32CDB08E1B9E7490@8 completely fixes all asset issues in Rift VR with GripMovePlugin installed.
I deleted AtlasCommon and 10C5BF1DD3744404@14 then downloaded the AIOUE pack to compare with my assets to make sure everything was proper.
Two things I wanna mention tho: AIOUE now has the updated AtlasCommon2.png, no worries there, and copying 1367BD762E26A742 and renaming it 4209AC888C3D23D8 would probably be ill-advised as even the AIOUE version of 4209AC888C3D23D8 has buttons in different places from 1367BD762E26A742 and making them duplicates would result in mismatched buttons in-game.
But yo, thanks a million for this, mate. I'm still not quite sure why UTP & Translation+ didn't act up from a missing 32CDB08E1B9E7490@8 and outdated AtlasCommon. But hey, this is definitely fixed now so i'm not complaining.

 As I mentioned, the core problem is a bug in YAT's asset translation; this is now reported as #9 . It will be fixed soon, but until that you will have to make do with this weird renaming. Sorry about that.


feat(Templates): Display errors in panels and disable creates

Please check if the PR fulfills these requirements

[X] The commit message follows our guidelines

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Adds error handling for tabs; removed disabling proceeding to next steps on validation errors

Keeps workflow name and kinds validation errors in state to handle styling in header & content and blocking create on errors existence
Kinds error follows the error box in portal

Please Include Screenshots or Videos of the intended change:

https://github.com/Azure/LogicAppsUX/assets/144840522/e9abb33c-7172-4dba-a458-887ce3fdb20a

Can you also call the validateConnections function in helper, for validating the connections tab? I am assuming the validation runs from a common place.


Can I filter and pivot data without render?

Hi,
I would like to use a direct public api for data transformation, like pandas.
Example:
var mydata = [...];
var params = {
// group by
// filter
// sort (not supported yet, I know)
};
var groupedData = pivottable.transform(mydata, params);

This library is not really a Javascript replacement for Pandas... It does not return any values, it writes them to the DOM.

Ok


client_test could be more generic

I'm building pond without the GUI (-tags nogui) but then client_test fails to build with undefined: FileOpen. It seems very specific to the GUI, maybe some parts could be applied to the CLI too?

A partial fix was merged here : https://github.com/agl/pond/pull/165

Ah, I just need to set nogtk instead of nogui, looks like it works. But then the built client thinks that haveGUI = true; I'll send in a patch.

Any client actually built for usage only from the command command line should still use nogui.   The abstract GUI built by nogtk is needed for testing, but not for CLI operation.

But it's quite annoying to have to build it twice, once for running and once for tests. That's not a normal workflow for doing builds.


simplify func

[ ] Do only one thing
[ ] Non breaking API changes
[ ] Tested

What did this pull request do?

User Case Description

Closing this PR due to lots of failed tests, feel free to reopen it when its ready


Manifest V3 Migration

Chrome is going to stop supporting Manifest V2 extensions in January 2023. Creating this issue for placeholder work needed for migration. May need scoping.

@joshmadewell  Are there any ongoing efforts happening toward the V3 migration that you know of?

I haven't put any time into it but will likely get to this this weekend

No worries. Just wanted to make sure it was on the roadmap somewhere.


FFXML format with SMIRFF

There are variety of lines in the SMIRNOFF FFXML files that have the word SMIRFF, such as the following:
<SMIRFF version="0.1" aromaticity_model="OEAroModel_MDL">

These should presumably changed to SMIRNOFF, but I didn't want to make changes that might break the forcefield code. Also the version isn't really for SMIRNOFF, it should be for SMIRNOFF99Frosst, I think.

I think the intent is that these tags be tied to a SMIRNOFF version spec, specifying which version of the SMIRNOFF format is used, is that right, @jchodera ?
How, ultimately, will we achieve this, @jchodera ? Does it mean that future code changes to ForceField need to maintain backwards compatibility somehow?

I think I got the names changed to SMIRNOFF from SMIRFF. However, still need input from @jchodera on how we're handling versioning of the spec.


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

Description of the problem
when running this examle code i can't login and get errors.
Code to reproduce
# Example code
from fbchat import Client
from fbchat.models import *
import logging
logging.basicConfig(level=logging.DEBUG)
client = Client('<mail>', '<pwd>')
print(client.uid)
client.logout()

Traceback
Logging in<EMAIL_ADDRESS>INFO:client:Logging in<EMAIL_ADDRESS>
Yes i have done a research but the errors seems to be old.
i am using IDLE btw.

Can confirm, same issue here with 1.9.6.

Same here, tried versions 1.9.{5,6,7}.

I have the same issue recently. In my case the issue only appear when using different user_agent
Working code
from fbchat import Client

client = Client("email", "pswd")

Error code
from fbchat import Client

USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"

client = Client("email", "pswd", user_agent=USER_AGENT)

Traceback
Logging in username...
Please enter your 2FA code --> xxxxxx
Submitting 2FA code.
Saving browser.
Starting Facebook checkup flow.
Verifying login attempt.
Saving device again.
Attempt #1 failed, retrying
Traceback (most recent call last):
  File "/Users/trangcongloc/Desktop/Dev/py-Ins/venv/lib/python3.7/site-packages/fbchat/_client.py", line 209, in login
    user_agent=user_agent,
  File "/Users/trangcongloc/Desktop/Dev/py-Ins/venv/lib/python3.7/site-packages/fbchat/_state.py", line 151, in login
    return cls.from_session(session=session)
  File "/Users/trangcongloc/Desktop/Dev/py-Ins/venv/lib/python3.7/site-packages/fbchat/_state.py", line 188, in from_session
    fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

python       3.7.7
fbchat       1.9.7
requests     2.24.0
urllib3      1.25.9

you must delete client.logout(), it work for me

I am facing the same error while trying to log-in to fbchat.Client. This is obviously despite me entering absolutely correct ID & P/W. It could be because of any latest update in the package, or a user_agent / session (cookies) issue too.
Prima-facie, if you think a few adjustments need to be made in the client or state file/s, please let me know, else I shall share the complete code link for your perusal.
Below's the error message. I will be highly grateful, if I can get an idea of where am I going wrong?
Logging in xxxxxx.x.xxxxxx...
Attempt #1 failed, retrying
Traceback (most recent call last):
File "C:\Users\my\Anaconda3\lib\site-packages\fbchat_client.py", line 209, in login
user_agent=user_agent,
File "C:\Users\my\Anaconda3\lib\site-packages\fbchat_state.py", line 149, in login
return cls.from_session(session=session)
File "C:\Users\my\Anaconda3\lib\site-packages\fbchat_state.py", line 186, in from_session
fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

The same here.
Started a couple of days ago and no changes in code was done.
It "just happened".
Someone please help as I'm lost here...
Logging in<EMAIL_ADDRESS>Attempt #1 failed, retrying
Traceback (most recent call last):
File "C:\Users\user\Anaconda3\lib\site-packages\fbchat_client.py", line 209, in login
user_agent=user_agent,
File "C:\Users\user\Anaconda3\lib\site-packages\fbchat_state.py", line 149, in login
return cls.from_session(session=session)
File "C:\Users\user\Anaconda3\lib\site-packages\fbchat_state.py", line 186, in from_session
fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "myFBCHATscript.py", line 272, in
client = EchoBot(email=FBemail, password=FBpassword, max_tries=2, session_cookies=cookies, user_agent=USRagento)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_client.py", line 103, in init
self.login(email, password, max_tries, user_agent=user_agent)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_client.py", line 209, in login
user_agent=user_agent,
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_state.py", line 149, in login
return cls.from_session(session=session)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_state.py", line 186, in from_session
fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

The same here. Started a couple of days ago and no changes in code was done. It "just happened".
Someone please help as I'm lost here.
A few 302 and
The same stuff happens with my "real" code:
Example code debug log:
Logging in<EMAIL_ADDRESS>INFO:client:Logging in<EMAIL_ADDRESS>DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): m.facebook.com:443 DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "GET / HTTP/1.1" 200 None DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "POST /login.php?login_attempt=1 HTTP/1.1" 302 0 DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "GET /home.php?refsrc=https%3A%2F%2Fwww.facebook.com%2F&_rdr HTTP/1.1" 200 None DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.facebook.com:443 DEBUG:urllib3.connectionpool:https://www.facebook.com:443 "GET / HTTP/1.1" 200 0
Traceback:
Traceback (most recent call last):   File "simple.py", line 7, in <module>     client =<EMAIL_ADDRESS>'FBchatpasswd', max_tries=1)   File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat\_client.py", line 103, in __init__     self.login(email, password, max_tries, user_agent=user_agent)   File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat\_client.py", line 209, in login     user_agent=user_agent,   File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat\_state.py", line 149, in login     return cls.from_session(session=session)   File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat\_state.py", line 186, in from_session     fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1) AttributeError: 'NoneType' object has no attribute 'group'

The same here. Started a couple of days ago and no changes in code was done. It "just happened".
Someone please help as I'm lost here.
A few 302 and
The same stuff happens with my "real" code:
Example code debug log:
Logging in<EMAIL_ADDRESS>INFO:client:Logging in<EMAIL_ADDRESS>DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): m.facebook.com:443
DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "GET / HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "POST /login.php?login_attempt=1 HTTP/1.1" 302 0
DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "GET /home.php?refsrc=https%3A%2F%2Fwww.facebook.com%2F&_rdr HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.facebook.com:443
DEBUG:urllib3.connectionpool:https://www.facebook.com:443 "GET / HTTP/1.1" 200 0
Traceback (most recent call last):
File "simple.py", line 7, in
client =<EMAIL_ADDRESS>'FBpwd', max_tries=1)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_client.py", line 103, in init
self.login(email, password, max_tries, user_agent=user_agent)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_client.py", line 209, in login
user_agent=user_agent,
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_state.py", line 149, in login
return cls.from_session(session=session)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_state.py", line 186, in from_session
fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

The same here. Started a couple of days ago and no changes in code was done. It "just happened".
Someone please help as I'm lost here.
The same stuff happens with my "real" code:
Example code debug log:
Logging in<EMAIL_ADDRESS>INFO:client:Logging in<EMAIL_ADDRESS>DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): m.facebook.com:443
DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "GET / HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "POST /login.php?login_attempt=1 HTTP/1.1" 302 0
DEBUG:urllib3.connectionpool:https://m.facebook.com:443 "GET /home.php?refsrc=https%3A%2F%2Fwww.facebook.com%2F&_rdr HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.facebook.com:443
DEBUG:urllib3.connectionpool:https://www.facebook.com:443 "GET / HTTP/1.1" 200 0
Traceback (most recent call last):
File "simple.py", line 7, in
client =<EMAIL_ADDRESS>'FBpwd', max_tries=1)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_client.py", line 103, in init
self.login(email, password, max_tries, user_agent=user_agent)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_client.py", line 209, in login
user_agent=user_agent,
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_state.py", line 149, in login
return cls.from_session(session=session)
File "C:\Users\HP\Anaconda3\lib\site-packages\fbchat_state.py", line 186, in from_session
fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

I experience this problem too. It started at yesterday evening and my account blocked, Facebook asks my phone number and a picture from me.

I don't know about you guys, but switching back to "old" facebook fixed it for me.

I don't know about you guys, but switching back to "old" facebook fixed it for me.

How do you do that?

Can confirm it works with the old facebook... Hope an update soon to support the new one.
You can do that by passing an OLD user agent :
client = Client(login, password, user_agent="Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko")

Can confirm it works with the old facebook... Hope an update soon to support the new one.
You can do that by passing an OLD user agent :
client = Client(login, password, user_agent="Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko")

It's not working for me...
File "/home/pi/PythonProgramming/ArtemisCore/MessengerListenerAgent.py", line 210, in
client =<EMAIL_ADDRESS>"xxxx__", user_agent="Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko")
File "/usr/local/lib/python3.7/dist-packages/fbchat/_client.py", line 103, in init
self.login(email, password, max_tries, user_agent=user_agent)
File "/usr/local/lib/python3.7/dist-packages/fbchat/_client.py", line 209, in login
user_agent=user_agent,
File "/usr/local/lib/python3.7/dist-packages/fbchat/_state.py", line 149, in login
return cls.from_session(session=session)
File "/usr/local/lib/python3.7/dist-packages/fbchat/_state.py", line 186, in from_session
fb_dtsg = FB_DTSG_REGEX.search(r.text).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

The same problem is happening for me. I think the html was changed and the regex is not working now. Any updates coming soon? I'm still unable to log in, since facebook made the new mode permanent. If there is anything I could help with I would be glad to.


Make mapview-send work with SSL

Need secure websockets for viewing mapview-psc over https. Firefox won't connect to the websocket server otherwise.

This is something for mapview-websocket now.


Use fetch instead of axios as HTTP client

Is it possible to use the fetch API as the HTTP client instead of axios? In places where the fetch API is available (e.g., browser), I'd like to use it instead of including another HTTP client library.
Using cross-fetch allows us to use the same fetch API across all platforms (e.g., browser, node.js and React Native).
Thanks!

Hi @jgornick while I love the idea, that'd be a different library. This lib specifically relies on axios features; hence the name. :)

Hi @jgornick, this PR #126 might actually now allow this !


grid-template-areas css property expects a string

This may be intended behaviour.
The grid-template-areas property expects a String (or non-string; none, initial, etc.) MDN.
The following snippet adds an invalid css value
<Box gridTemplateAreas="a b" />

and would need to be wrapped in single quotes to be valid
<Box gridTemplateAreas="'a b'" />

The docs suggest no wrapping is required with:
// gridTemplateAreas
<Box gridTemplateAreas='a b' />

Should the gridTemplateAreas function return a pre-wrapped string if the value is not; none, inherit, etc?
Or this could just be an update to the docs.
Cheers,
Will

I haven't looked into how styled-components et al. handle this, but might be helpful to have a codesandbox for comparison, but my guess is that an update to the docs might be in order

Closing this for now. Feel free to open a PR with a docs update if you have any suggestions for making them better


Feature request: add image with nginx version 1.21

Hi,
First of all, thanks for sharing your docker images. This is really helpful!
I was wondering if you could create a new image with Nginx version 1.21.0?
There was an important security fix within nginx version 1.21.0:
Security: 1-byte memory overwrite might occur during DNS server
response processing if the "resolver" directive was used, allowing an
attacker who is able to forge UDP packets from the DNS server to
cause worker process crash or, potentially, arbitrary code execution
(CVE-2021-23017).
I would like to have the following alpine image:
8.0.8-fpm-1.21.1-nginx-alpine3.13
Thanks in advance.

Thank you for the feedback and heads-up :)
I would love to add nginx version 1.21.0 in the following days.

Hi @FrederickCoene ,
I did some automation works on this project so that I can easier adding future Nginx version changes, but therefore I changed the docker image tag naming rule.
The nginx 1.21.1 docker image is based on alpine3.14, so the new tag which is close to your need is named 8.0.8-fpm-alpine3.14-nginx-1.21.1 now. Please kindly give it a try.
I am working on pushing all the modified Dockerfiles into project repo, but it may spend couple days to clean up :p Just in case you want to double check the Dockerfile source code.

Just finished all the testings across all the Dockerfiles with modified image tag naming rule, and pushed into git repo. I will close this issue for now :)


Devil May Cry Special Edition DirectX10 error

Software information
Devil May Cry Special Edition DX10 app
System information

GPU: AMD RX 480
Driver: Mesa 18.1.5
Wine version: 3.14
DXVK version: 0.70

Log files
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
[0818/181517.859:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: browser
[0818/181517.961:ERROR:network_change_notifier_win.cc(157)] WSALookupServiceBegin failed with: 8
[0818/181518.347:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: gpu-process
[0818/181522.694:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer
[0818/181523.695:ERROR:gpu_process_transport_factory.cc(1029)] Lost UI shared context.
[0818/181524.062:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer
[0818/181524.485:ERROR:command_buffer_proxy_impl.cc(133)] ContextResult::kTransientFailure: Failed to send GpuChannelMsg_CreateCommandBuffer.
[0818/181525.458:WARNING:cert_verify_proc_win.cc(101)] Unknown error -2146762482 mapped to net::ERR_FAILED
info:  Game: DevilMayCry4SpecialEdition.exe
info:  DXVK: v0.70
warn:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_physical_device_properties2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  AMD RADV POLARIS10 (LLVM 6.0.1):
info:    Driver: 18.1.5
info:    Vulkan: 1.1.70
info:    Memory Heap[0]:
info:      Size: 7936 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:    Memory Heap[1]:
info:      Size: 256 MiB
info:      Flags: 0x1
info:      Memory Type[2]: Property Flags = 0x7
info:    Memory Heap[2]:
info:      Size: 8192 MiB
info:      Flags: 0x0
info:      Memory Type[1]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
warn:  DXGI: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_10_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_10_0
info:  Enabled device extensions:
info:    VK_EXT_shader_viewport_index_layer
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_dedicated_allocation
info:    VK_KHR_descriptor_update_template
info:    VK_KHR_get_memory_requirements2
info:    VK_KHR_image_format_list
info:    VK_KHR_maintenance1
info:    VK_KHR_maintenance2
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_shader_draw_parameters
info:    VK_KHR_swapchain
warn:  DxgiSwapChain::QueryInterface: Unknown interface query
warn:  94d99bdb-f1f8-4ab0-b236-7da0170edab1
warn:  DXGI: MakeWindowAssociation: Ignoring flags
info:  DxgiVkPresenter: Recreating swap chain:
  Format:       VK_FORMAT_B8G8R8A8_UNORM
  Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
  Buffer size:  1280x720
err:   D3D11: Cannot create texture:
  Format:  VK_FORMAT_UNDEFINED
  Extent:  262144x1x1
  Samples: 1
  Layers:  1
  Levels:  2
  Usage:   3
[0818/181530.279:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer
AL lib: (EE) ReleaseThreadCtx: Context 0xf6e28630 current for thread being destroyed, possible leak!
Setting breakpad minidump AppID = 329050

Please upload an apitrace, I can't do anything without being able to reproduce it.

Is there an easy way to make an apitrace for DX10? https://github.com/doitsujin/dxvk/wiki/Common-issues#apitrace Isn't working for me.

I did it but it crashes now:
[0820/191013.906:ERROR:network_change_notifier_win.cc(157)] WSALookupServiceBegin failed with: 8
[0820/191014.293:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: gpu-process
[0820/191019.165:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer
[0820/191020.399:ERROR:gpu_process_transport_factory.cc(1029)] Lost UI shared context.
[0820/191020.736:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer
apitrace: loaded into F:\ryan.local\share\lutris\runners\winesteam\prefix\drive_c\Program Files\Steam\steamapps\common\Special Edition\DevilMayCry4SpecialEdition.exe
[0820/191022.444:WARNING:cert_verify_proc_win.cc(101)] Unknown error -2146762482 mapped to net::ERR_FAILED
apitrace: tracing to F:\ryan.local\share\lutris\runners\winesteam\prefix\drive_c\Program Files\Steam\steamapps\common\Special Edition\DevilMayCry4SpecialEdition.2.trace
apitrace: warning: caught exception 0xc0000005
apitrace: flushing trace
wine: Unhandled page fault on read access to 0xd690e030 at address 0x17a45f0 (thread 00d4), starting debugger...

Try with Lutris master. I haven't tested as I don't have any DX10 games but Lutris doesn't currently work with DXVK's DX10.
I found this to work well with game launchers. I've done it lots of times with Lutris:
Download: https://people.freedesktop.org/~jrfonseca/apitrace/apitrace-msvc-latest.7z

Copy the apitrace lib folder to the game exe's parent folder
Copy all the files/folders from the apitrace bin folder and place them in the folder containing the game exe
Rename apitrace.exe to game.exe and game.exe to game_o.exe
Add trace -a dxgi game_o.exe to steam launch options

I tried, same issue. Haven't tried lutris master, I will wait for an update.

Hello,
I have the same issue, but I managed to get an apitrace.
DevilMayCry4_DX10.zip

That trace is 3kb which means something went wrong while recording it.

Hmm I am no expert on apitrace, but the crash is almost immediate, so I don't know if it is much surprising that the trace be so small. After that, I did try all method I could find, and the one from  AccountOneOff is the one which gave me the trace.
But I do get a crash with trace as follows (now that I see it, I do have a doubt on whether dxvk is in use for proton dx10? Maybe I should post on proton issue...):
Unhandled exception: unimplemented function d3d11.dll.D3D11CoreCreateDevice called in 32-bit code (0x7bc541f1).
 Will report to proton/wine instead.

Did you run winetricks d3dx10_43 -- first?

Please apply the following patch to DXVK, re-run the game and post the resulting log files. It won't solve any problems, but rather add a more useful error message. It appears that it uses an image format that DXVK currently doesn't support.
dxvk-texture-log.patch.txt

Here goes the log, with your patch.
But with every new prefix I create, I can no longer obtain that same error... Only on a steam prefix I reused and with Steam Play/proton...
Instead there I get a good old page fault... (I joined the terminal log too). I also no longer can get an apitrace, I suppose the pf kills apitrace before the dump...
Guess I will try to make a dump with reinstalling patched dxvk on my other prefix tomorrow morning too.
dxvk-log.zip

Here is the log I get, with patched dxvk and the right error. I don't see any sign of your new exception, but now the wine debugger fail and I can 't get a full backtrace.
DXVK log:
1 info:  Game: DevilMayCry4_DX10.exe
2 info:  DXVK: v0.70-8-g73cbf5b
3 warn:  OpenVR: Failed to locate module
4 info:  Enabled instance extensions:
5 info:    VK_KHR_get_physical_device_properties2
6 info:    VK_KHR_surface
7 info:    VK_KHR_win32_surface
8 info:  GeForce GTX 1070:
9 info:    Driver: 396.51.0
10 info:    Vulkan: 1.1.70
11 info:    Memory Heap[0]:
12 info:      Size: 8192 MiB
13 info:      Flags: 0x1
14 info:      Memory Type[7]: Property Flags = 0x1
15 info:      Memory Type[8]: Property Flags = 0x1
16 info:    Memory Heap[1]:
17 info:      Size: 12016 MiB
18 info:      Flags: 0x0
19 info:      Memory Type[0]: Property Flags = 0x0
20 info:      Memory Type[1]: Property Flags = 0x0
21 info:      Memory Type[2]: Property Flags = 0x0
22 info:      Memory Type[3]: Property Flags = 0x0
23 info:      Memory Type[4]: Property Flags = 0x0
24 info:      Memory Type[5]: Property Flags = 0x0
25 info:      Memory Type[6]: Property Flags = 0x0
26 info:      Memory Type[9]: Property Flags = 0x6
27 info:      Memory Type[10]: Property Flags = 0xe
28 info:  GeForce GTX 1070:
29 info:    Driver: 396.51.0
30 info:    Vulkan: 1.1.70
31 info:    Memory Heap[0]:
32 info:      Size: 8192 MiB
33 info:      Flags: 0x1
34 info:      Memory Type[7]: Property Flags = 0x1
35 info:      Memory Type[8]: Property Flags = 0x1
36 info:    Memory Heap[1]:
37 info:      Size: 12016 MiB
38 info:      Flags: 0x0
39 info:      Memory Type[0]: Property Flags = 0x0
40 info:      Memory Type[1]: Property Flags = 0x0
41 info:      Memory Type[2]: Property Flags = 0x0
42 info:      Memory Type[3]: Property Flags = 0x0
43 info:      Memory Type[4]: Property Flags = 0x0
44 info:      Memory Type[5]: Property Flags = 0x0
45 info:      Memory Type[6]: Property Flags = 0x0
46 info:      Memory Type[9]: Property Flags = 0x6
47 info:      Memory Type[10]: Property Flags = 0xe
48 warn:  DxgiFactory::QueryInterface: Unknown interface query
49 warn:  7632e1f5-ee65-4dca-87fd-84cd75f8838d
50 warn:  DxgiFactory::QueryInterface: Unknown interface query
51 warn:  1bc6ea02-ef36-464f-bf0c-21ca39e5168a
52 warn:  DxgiFactory::QueryInterface: Unknown interface query
53 warn:  25483823-cd46-4c7d-86ca-47aa95b837bd
54 warn:  DxgiAdapter::QueryInterface: Unknown interface query
55 warn:  645967a4-1392-4310-a798-8053ce3e93fd
Relevant wine log:
wine: Call from 0x7bc79441 to unimplemented function D3D11.DLL.D3D11CoreCreateDevice@24, aborting
apitrace: warning: caught exception 0x80000100
apitrace: flushing trace
wine: Unimplemented function D3D11.DLL.D3D11CoreCreateDevice@24 called at address 0x7bc79441 (thread 0086), starting debugger...
If i remove the apitrace.exe trick from AccountOneOff, I get a page fault. With apitrace.exe I get this. On pure wine with clean prefix everything works in any case (apitrace, no apitrace). With dxvk prefix but with "WINEDLLOVERRIDES="d3d11,dxgi=b" wine game.exe" the game still fails in the same way.
And in proton it fails in the same way, but I get the full backtrace.

Any update?

Is dxvk-texture-log.patch.txt in the latest dxvk (0.80)? I am waiting on a fix for lutris if so I may send a log.

It stars now (latest dxvk 0.80) under Proton but crashes when I try to run the frame rate test:
steam-329050.log

@romulasry
AFAIK Proton currently not using d3d10 libs from DXVK.

@romulasry
AFAIK Proton currently not using d3d10 libs from DXVK.

Darn... :(

Here is a log from the 0.81:
dxvk.log

With the latest master, I have been playing with memory sizes, the best I got is setting this. It runs just past the Capcom logo then dies.
dxgi.maxDeviceMemory = 2048
dxgi.maxSharedMemory = 2048
Anyone tried it in a 32bit prefix?, Wine's WOW64 could be the problem or it's just a 32bit app been flaky.
I tried to get an api trace but it was pain to set up and it failed.
Could we get an api dump within DXVK as a build option, to make make it easier to debug?

+1

OS: Windows 7, Windows 8.1
Processor: Intel(R) Core(TM) 2 Duo 2.4GHz, AMD Athlon(TM) X2 2.8 GHz
Memory: 2 GB RAM
Graphics: NVIDIA(R) GeForce(R) 8800 GTS, AMD Radeon(TM) HD 3850 with 512MB RAM or better
DirectX: Version 10
Storage: 27 GB available space
Sound Card: DirectSound Support (DirectX® 9.0c)
Additional Notes: Some high end integrated graphics and modern gaming laptops with a discrete GPU may work but have not been tested, nor are they officially supported by Capcom.

But its trying to run DX11
before the DXVK dx10 release it tries to boot with the 11

the stupid game starts with DX11 and then goes to DX10
well done capcom smh cant even get it working on Windows DXVK just errors when trying to swap over to dx10


Remove the concept of heading in favour of a break

There is no need of having the entire concept of heading.
setHeading(heading, [...])
setHeadingAlign(direction)
setHeadingAlignLeft()
setHeadingAlignCenter()

CLI is non-interactive, therefore differentiating between a header and regular does not have value, i.e. user can set headings using a regular row at the beginning of the table.
Instead, I propose that a new method addBreak is added, that would generate that line that separates the main content from the header.

@gajus Agreed, I like this idea quite a bit.

The break method will be added, but the concept of a heading will remain. There are other users of this library that are in favor of the automatic column-spanning of a table heading.
This may be abstracted in the future to something more generic, but until then the heading remains.
Those methods listed will eventually be removed, in favor of a single configuration method.


emitter.AssignPathContext not thread-safe

More specifically context.WithValue does not return a new context but rather "returns a copy of parent" which means that it's possible for the path (associated with a context) will get changed before the filehandle associated with it has been processed.


support tcp check on consul

support tcp check on consul

I'm sorry, this change will not be accepted. It adds consul specific options. Go-micro is a pluggable abstraction. Implementation specific details are not added in this way. Please see the Config option here https://github.com/micro/go-micro/blob/master/registry/consul/options.go which demonstrates how a consul specific change may be added.


The latency time will not work well during concurrent requests

I am trying to use moco for performance testing and find an issue. Let's take a look at a simple example. If I use JMeter to send a simple request to moco server ,the response message is received after the specified latency time (1 second) correctly. If I set the cocurrent thread to 10 for JMeter , it will take about 1 to 2 seconds to get the response message. If the count of cocurrent thread is larger , the actual latency will be larger. Does anyone has any idea?

@dreamhead

It seems that the number of thread of mock server is about 10.
So some thread response in time. The others response in 2 or 3 seconds

Yes, indeed. This is an issue for testing latency performance, since the latency in Moco just  is Thread.Sleep(). Can @dreamhead to improve this to use some high performance latency implementation (ie. TimerWheel)?

This issue is similar to #230
A simple solution is to add netty property
java -jar -Dio.netty.eventLoopThreads=200 ...

I don't think sleep() is a good way. Try to use async way to run the latency task is better.


Keepalive thread continues running after main thread has stopped

UAMQP Package Version: 1.2.12
Operating System: Ubuntu 20.04
Python Version: 3.8.5

Describe the bug
If the ServiceBusSender is not closed before the main thread exits, the program will hang as the keepalive thread continues to run. Whilst closing resources does solve this, marking the keepalive thread as a daemon thread allows programs to exit regardless of cleanup
To Reproduce
Steps to reproduce the behavior:
from azure.servicebus import ServiceBusClient, ServiceBusMessage

c: ServiceBusClient = ServiceBusClient.from_connection_string('Endpoint=...')
pub = c.get_queue_sender('celery')
msg = ServiceBusMessage("test1234")
pub.send_messages(msg)
print('Sent messages, should exit here')
# instead it hangs

Expected behavior
Program to exit
Additional context
I know if you add self._keep_alive_thread.daemon = True before https://github.com/Azure/azure-uamqp-python/blob/master/uamqp/client.py#L262 the thread start, this problem is solved, but I'm not sure what side effects this could have.
If this is an acceptable solution then I'm happy to make a PR for this.

hey @terrycain , thanks for the findings.
I'll look into this and see if daemon = True could help resolve the issue without side effects

hey @terrycain , thanks for the findings.
I'll look into this and see if daemon = True could help resolve the issue without side effects

@yunhaoling any progress with this?

hey @terrycain, I confirmed that setting self._keep_alive_thread to be a daemon thread would prevent the program from hanging if the service bus sender or client is not closed properly.
According to the description in python doc:

Note Daemon threads are abruptly stopped at shutdown. Their resources (such as open files, database transactions, etc.) may not be released properly. If you want your threads to stop gracefully, make them non-daemonic and use a suitable signalling mechanism such as an Event.

I believe here as part of the amqp protocol implementation, the network connection should be gracefully shutdown -- the underlying library uamqp depends on is C based, if resources are not deallocated properly, it might trigger segmentation fault.
The approach  of using context manager or manually calling close method are the best practices.
@annatisch, do you have any thoughts on whether or not to set the keep_alive_thread to be a daemon thread?

Hi, any status on this @yunhaoling ?
In general, containers should be allowed to crash and be restarted by k8s, but with this hanging a container will never crash and not restart properly, which is very unfortunate.
At the moment the workaround is to monitor processes with health checks, but if there is a better way to do this please let me know. (A few suggestions on SO here)

hey @JonasKs , I have a PR out for the update, I'm going to test it and if everything works fine it will be shipped in our next release.

Hi @yunhaoling , we patched our containers to use azure-servicebus==7.4.0, which again forces version 1.5.0 of this package.
We experienced an exception tonight, and our container finally properly crashed and restarted as expected. It was no longer in a zombie state.
I believe this ticket can be closed. Thank you!

closing the issue as it has already been fixed