OpenCL fixes

There was a bit of code missing around batch resizing and safety messages weren't really explaining anything useful and for Sync I think they are even wrong, so I took it out.

Hmm, I think it is Sync though, as I just don't see where we use interior mutability. Anyway, we always take &mut self, so it shouldn't be a problem, that we actually need it to be Sync:
https://github.com/subspace/subspace/pull/568/files#diff-94a6cd73f351bbfdda2a1cf9b6dc16c5a9817a188324f3b19fbe7c114435a345R214
https://docs.rs/rayon/latest/rayon/iter/trait.ParallelIterator.html#method.try_for_each
All the fields in the encoder are primitive as I can see, apart from buffers. As for it, ocl library also implements Send and Sync for it.

EncodeOpenCLInstances is a heap-allocated object that holds references to different GPU-related things, I wouldn't just slap Sync onto such data structure for no reason.


termui version

Hi binstreamio,
I tried to compile your lsa and found out that there is an issue with termui. Since it is upgraded to v3 ui.go is no longer compatible.
Line 7 of ui.go should be changed to
ui "gopkg.in/gizak/termui.v2"
Cheers
Jens

fixed, thanks


i18n(pt-BR): Translate upgrade-to/v3 and update smaller 3.0 changes

What kind of changes does this PR include?

Translated content

Description
Translation for upgrade-to/v3 and some smaller v3.0 updates. This branch's updates will be continued in another PR to avoid too many big changes in just one PR 😅

Thanks for the review @Alynva, really appreciate it! 💜


ExecutionQueue not public

Hi,
Little question / suggestion concerning the ExecutionQueue in the npc_engine_utils.
Even though it is stated in the comments, that one could use the ExecutionQueue for custom executors, the struct is not accessible outside the crate, i.e. not public. I guess, this is an oversight, yes?
Further, for my project, I could use a getter for the task_queue field of the ExecutorQueue.
I would create a pull request on my own, I do not have any rights, though.
Best regards,
Lucas

What would you wish to use the task_queue directly for? There is no getter at the moment because ExecutionQueue is fully encapsulating its task_queue (it is essentially a new type).

Ultimately, I'd like to test, whether a certain task has been planned for.
However, I realise I should be able to use the hooks of the ExecutorState.

I created a pull request, #2

Closed by #2.


Login with cookie data

Hello,
As others mentioned, most of the time the login flow detects automated logins and blocks twscrape. I tried various workarounds and the only way to manage logging in it other libraries is by using the ct0 and auth_token cookies.
I tried adding a dict in tha accounts.db but still fails (403 Forbidden).
Is there any official way to use these cookies in twscrape?
for example:
await pool.add_account(cookies={"ct0" : "...". "auth_token" : "..."})
Any help is well apreciated, thanks!

hey @codilau, just wanted to say thanks for sharing about the existence of twscrape. It seems it will work for my small use case.  Odd that it was marked as off-topic on the original post on snscrape... go figure...

@pleblira were you able to login to your account with twscrape? im getting an error when i try to login with the error message below
login_step=LoginAcid err=Email login error

@pleblira were you able to login to your account with twscrape? im getting an error when i try to login with the error message below
login_step=LoginAcid err=Email login error

Yes, I was able to log in and didn't run into the issue you described. The instructions on the repo page seem to have worked.
# line_format should have "username", "password", "email", "email_password" tokens
# tokens delimeter should be same as an file
twscrape add_accounts accounts.txt username:password:email:email_password```

for password and email_password, I used the same password, my Twitter account password.

@pleblira thanks for the reply mate. Were you using a Twitter Blue Checked(Verified) account while doing this?

No, logging into a good old Twitter non-blue check twitter account that was never blue checked at any point.

Hi @pleblira
When trying to log in for user twitter_user with email<EMAIL_ADDRESS>I get the following output from the debugging system:
2023-07-04 19:37:49.915 | INFO     | twscrape.accounts_pool:login_all:117 - [1/1] Logging in twitter_user -<EMAIL_ADDRESS>2023-07-04 19:37:50.793 | ERROR    | twscrape.login:next_login_task:180 - Error in LoginSuccessSubtask: Client error '403 Forbidden' for url 'https://api.twitter.com/1.1/onboarding/task.json'
For more information check: https://httpstatuses.com/403
2023-07-04 19:37:50.793 | ERROR    | twscrape.login:login:206 - 403 error twitter_user -<EMAIL_ADDRESS>2023-07-04 19:37:50.794 | INFO     | twscrape.accounts_pool:login:103 - Logged in to twitter_user successfully

I do get an email at<EMAIL_ADDRESS>that my account is logged in. However, twscrape doesn't save it.
When running twscrape accounts, I see:
───────────────────────────────────────────────────────────────────────────────────────────────────────────
 ──────────────────────────────────────────────────────────────────────────────────────────────────────────
 ──────────────────────
username        logged_in  active  last_used  total_req  error_msg
───────────────────────────────────────────────────────────────────────────────────────────────────────────
 ──────────────────────────────────────────────────────────────────────────────────────────────────────────
 ──────────────────────
twitter_user  0          0       None       0          login_step=LoginSuccessSubtask err=Client error '403 Forbidden' for url 'https://api.twitter.com/1.1/onboarding/task.json'
For more information check: https://httpstatuses.com/403

Any idea what could be wrong?

Hello, As others mentioned, most of the time the login flow detects automated logins and blocks twscrape. I tried various workarounds and the only way to manage logging in it other libraries is by using the ct0 and auth_token cookies. I tried adding a dict in tha accounts.db but still fails (403 Forbidden). Is there any official way to use these cookies in twscrape?
for example: await pool.add_account(cookies={"ct0" : "...". "auth_token" : "..."})
Any help is well apreciated, thanks!

@codilau What is the solution you used to add the ct0 and auth_token cookies to get around the 403? Can you give me an example? Thanks!

@vladkens @variousred could be better people to tag

@hockeybro12
I couldn't log in with only ct0 and auth_token inside the cookies field. After a successfull login, the .db gets populated with the headers {} too. My guess is, without populating that manually, "resuming" the session fails.
@vladkens could shed some light as I, too hope

Hi @pleblira
When trying to log in for user twitter_user with email<EMAIL_ADDRESS>I get the following output from the debugging system:
2023-07-04 19:37:49.915 | INFO     | twscrape.accounts_pool:login_all:117 - [1/1] Logging in twitter_user -<EMAIL_ADDRESS>2023-07-04 19:37:50.793 | ERROR    | twscrape.login:next_login_task:180 - Error in LoginSuccessSubtask: Client error '403 Forbidden' for url 'https://api.twitter.com/1.1/onboarding/task.json'
For more information check: https://httpstatuses.com/403
2023-07-04 19:37:50.793 | ERROR    | twscrape.login:login:206 - 403 error twitter_user -<EMAIL_ADDRESS>2023-07-04 19:37:50.794 | INFO     | twscrape.accounts_pool:login:103 - Logged in to twitter_user successfully

I do get an email at<EMAIL_ADDRESS>that my account is logged in. However, twscrape doesn't save it.
When running twscrape accounts, I see:
───────────────────────────────────────────────────────────────────────────────────────────────────────────
 ──────────────────────────────────────────────────────────────────────────────────────────────────────────
 ──────────────────────
username        logged_in  active  last_used  total_req  error_msg
───────────────────────────────────────────────────────────────────────────────────────────────────────────
 ──────────────────────────────────────────────────────────────────────────────────────────────────────────
 ──────────────────────
twitter_user  0          0       None       0          login_step=LoginSuccessSubtask err=Client error '403 Forbidden' for url 'https://api.twitter.com/1.1/onboarding/task.json'
For more information check: https://httpstatuses.com/403

Any idea what could be wrong?

hey @hockeybro12, that's odd. I just tried again in a new venv, with a fresh new twitter account, and logging in works fine.
2023-07-05 08:13:16.228 | INFO     | twscrape.accounts_pool:login_all:117 - [1/1] Logging in <my_twitter_handle> -<EMAIL_ADDRESS>2023-07-05 08:13:17.383 | INFO     | twscrape.accounts_pool:login:103 - Logged in to <my_twitter_handle> successfully

I'm setting up the accounts.txt file in the same folder with the : separator, username:password:email:password, and the commands below are working fine.
twscrape add_accounts accounts.txt username:password:email:email_password
twscrape login_accounts

Did you try with a new twitter account? Maybe yours is flagged somehow?

@pleblira  I just tried again with a new account, and yeah still have the same issue. Can you show me what your SQLITE database looks like? In the terminal just type sqlite3 accounts.db and then run SELECT * FROM accounts; and paste the output (you can anonymize it)? I can then just update my table to match that, then it may work.
@codilau How exactly did you change the DB? I tried messing with it but still can't get it to work to the point where I can run the search / tweet ID look up commands.

@hockeybro12 I edited the .db file with a sqlite3 editor. But, I couldn't get that to work neither, I just got lucky with the login working once and filling the table.

@codilau How does your DB look now?

@pleblira I just tried again with a new account, and yeah still have the same issue. Can you show me what your SQLITE database looks like? In the terminal just type sqlite3 accounts.db and then run SELECT * FROM accounts; and paste the output (you can anonymize it)? I can then just update my table to match that, then it may work.
@codilau How exactly did you change the DB? I tried messing with it but still can't get it to work to the point where I can run the search / tweet ID look up commands.

Sure, here's the info!
<EMAIL_ADDRESS>(Macintosh; U; PPC Mac OS X; da-dk) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3|1|{}|{"accept": "*/*", "accept-encoding": "gzip, deflate", "connection": "keep-alive", "user-agent": "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; da-dk) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3", "content-type": "application/json", "authorization": "Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA", "x-twitter-active-user": "yes", "x-twitter-client-language": "en", "x-guest-token": "1676567011395084288", "x-csrf-token": "c8cc0a4e520e263fedce030ff68b1e5d5cde9fac02c4efa24ecc3e16d1c6eaa1f7d18ff3a53be37f1d9d990e482aa82b1a9bd17f84e3d907977ba0d2435ee6ad92b55611a80b9e1e79d18bccacd8c7c7", "x-twitter-auth-type": "OAuth2Session"}|{"guest_id_marketing": "v1%3A168855969927537209", "guest_id_ads": "v1%3A168855969927537209", "personalization_id": "\"v1_qEGVqUiu1T3GJzsA2ZDkDg==\"", "guest_id": "v1%3A168855969927537209", "kdt": "EvVg4WRphIgAz7TlkwVC53UlsMi7Z81SYhLESCqV", "twid": "\"u=1676566132503789568\"", "ct0": "c8cc0a4e520e263fedce030ff68b1e5d5cde9fac02c4efa24ecc3e16d1c6eaa1f7d18ff3a53be37f1d9d990e482aa82b1a9bd17f84e3d907977ba0d2435ee6ad92b55611a80b9e1e79d18bccacd8c7c7", "auth_token": "05a36f95881896492d97ef3e15610691da954233", "att": "1-q78Suryc2zeJK5hwxal4GkgazrNJZdsdGowVkBer"}|||{}||

It's a burner Tw account so I'm not worried about missing redacting any personal info, but I'd appreciate it if you told me if I let something important through, just for learning.

@pleblira Thanks, it works! I just used your headers and cookies and filled in my Twitter account details and now I can access the API. Thanks so much!
I don't think there's any personal info in there (just normal cookies and headers), but I'm not 100% sure about it either.

@pleblira I just tried again with a new account, and yeah still have the same issue. Can you show me what your SQLITE database looks like? In the terminal just type sqlite3 accounts.db and then run SELECT * FROM accounts; and paste the output (you can anonymize it)? I can then just update my table to match that, then it may work.
@codilau How exactly did you change the DB? I tried messing with it but still can't get it to work to the point where I can run the search / tweet ID look up commands.

Sure, here's the info!
<EMAIL_ADDRESS>(Macintosh; U; PPC Mac OS X; da-dk) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3|1|{}|{"accept": "*/*", "accept-encoding": "gzip, deflate", "connection": "keep-alive", "user-agent": "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; da-dk) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3", "content-type": "application/json", "authorization": "Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA", "x-twitter-active-user": "yes", "x-twitter-client-language": "en", "x-guest-token": "1676567011395084288", "x-csrf-token": "c8cc0a4e520e263fedce030ff68b1e5d5cde9fac02c4efa24ecc3e16d1c6eaa1f7d18ff3a53be37f1d9d990e482aa82b1a9bd17f84e3d907977ba0d2435ee6ad92b55611a80b9e1e79d18bccacd8c7c7", "x-twitter-auth-type": "OAuth2Session"}|{"guest_id_marketing": "v1%3A168855969927537209", "guest_id_ads": "v1%3A168855969927537209", "personalization_id": "\"v1_qEGVqUiu1T3GJzsA2ZDkDg==\"", "guest_id": "v1%3A168855969927537209", "kdt": "EvVg4WRphIgAz7TlkwVC53UlsMi7Z81SYhLESCqV", "twid": "\"u=1676566132503789568\"", "ct0": "c8cc0a4e520e263fedce030ff68b1e5d5cde9fac02c4efa24ecc3e16d1c6eaa1f7d18ff3a53be37f1d9d990e482aa82b1a9bd17f84e3d907977ba0d2435ee6ad92b55611a80b9e1e79d18bccacd8c7c7", "auth_token": "05a36f95881896492d97ef3e15610691da954233", "att": "1-q78Suryc2zeJK5hwxal4GkgazrNJZdsdGowVkBer"}|||{}||

It's a burner Tw account so I'm not worried about missing redacting any personal info, but I'd appreciate it if you told me if I let something important through, just for learning.

probably just your Bearer token and auth_token

probably just your Bearer token and auth_token

Thanks @variousred. My mistake... something I should be worried about? Is there a way to expire those if needed?

Not totally sure, you can change your password and see if those values have changed

@pleblira you can go to Security and account access -> apps and sessions and log-off that particular session to invalidate the cookies.
I would still keep to the subject of generally using cookie data programatically to login as stated in the first post.
for example:
await pool.add_account(cookies={"ct0" : "...". "auth_token" : "..."})
@vladkens i think it's not a bad ideea since Tw might play around with maybe mandatory 2FA ot other stuff to impede programatic access.

Hi, @codilau and all who in thread. This issue relevant. I liked solution from first message, but this not enough to transfer account.
I need play a bit with api, to understand which other fields need to be populated (guest_token, something more?)
Probably it should be different method of adding account, because we need somehow to check that account working after token is transferred. Current flow with add account / login account may not work in this case.

Adede in v0.6.0. Use pip install --upgrade twscrape to update.
See usage section: https://github.com/vladkens/twscrape#usage


empty line has different height in FF, causing jump

FF 54, win 10. Cannot repro on codemirror.net FSR. Can repro here: http://jsfiddle.net/yvt20wvq/2/
Causes lines after the active line to jump due to height of active line collapsing by ~1px..

Doesn't seem to happen on FF 56 Linux. Could you try to figure out why it doesn't occur in the demos but does in some other situations? One possibility would be that it's related to the font.

Seems it comes down to line-height of pre elements... It's set to inherit by default but if the document doesn't set it anywhere, FF sets it (in this case) to some value which I have no idea where it got from (there's no line-height set anywhere in the ancestry tree AFAIK).
In the demos, line-height is inherited from body defined in docs.css.
Setting it solves the issue.


[Bug]: a11y: side panel buttons still reachable with a screenreader when sidebar is collapsed

What happened?
I'm blind and use a screenreader. Since the last update, the button to expand and collapse the side panel is well-labeled and as the correct attributes that inform the screenreader about the current state. When it is expanded, all controls are labelled as well. However, when it's collapsed, the corresponding buttons are still present on the interface, but not with their labels. but e.g. com_sidepanel_conversation_tags. I'd expect the bar to be closed, so the buttons shouldn't stay in the interface.
Steps to Reproduce

Open Librechat
Collapse the side bar
Use the tab key which still focuses the buttons
If you need, turn on a screenreader to confirm that they're read out

What browsers are you seeing the problem on?
Firefox, Chrome
Relevant log output
No response
Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for your feedback and glad you can use LibreChat. When the side panel is collapsed, the buttons should still be present with their collapsed versions.
There are 3 states for the side panel:

Expanded, controls have full view
Collapsed, control buttons are still present and when pressed, switches the panel to expanded state to bring selected control to full view
Hidden, side panel is completely hidden, this is triggered by selecting "Hide Panel" button within the side panel.

Using NVDA, I see they are not properly labeled in their collapsed versions as you said, so I will close this issue when that is resolved.

Thank you for clarifying this, I didn't know about those three states. I can definitely use LibreChat with NVDA and am now a happy user for almost a year. Thank you for all your work in this, and I'm glad to see you already addressed those accessibility issues, it's very cool you're so much into that.


Image disappears inside Victory Scatter graph

I have a VictoryScatter graph, as you can see below, I created a dataComponent to render circle points, now I need to be able to render the profile pic of the individual when there is one, so i'm trying to render an image with the help of this library react-native-svg-image, it works fine outside the graph, but inside the ScatterGraph it disappears, as you can see on the second image.

this is the code for it.
return (
      <G x={x} y={y} onPress={() => (toProfile ? toProfile(user) : null)}>
        {profileImage
          ?
          <Svg>
            <SVGImage
              style={{ width: 50, height: 50 }}
              source={{uri:'https://img-dev.feedback.house/gaby6AqjmBZEu3ss6yZUg83NV8k=/300x300/smart/https://s3.amazonaws.com/feedbackhouse-media-development/company/598d90a753d818036a2294f4/5995bde2886949103790c6cc'}}
            />
          </Svg>
          : <Circle cx={10} cy="10" r="20" fill="purple" />}
        <Text stroke="black" fill="black">{this.getInitials(name)}</Text>
        {showLabel &&
          <G x={-20}>
            <Text y={30} fontSize="9">{name}</Text>
            <Text y={40} fontSize={7} fill="#717171">Nº de Feedbacks: {feedbacks}</Text>
            <Text y={46} fontSize={7} fill="#717171">Nota NFS: {nfs}</Text>
          </G>}
      </G>
    );

Any idea with what is happening with this image ?

+1
Same here


Doesn't seems to work on Safari

I tried the demo on Safari (and iOS 10) but the component doesn't seems to work. I simply can't write anything on the textfield.
It is working on Google Chrome though.

I will check on Safari late. Thanks for reporting this.

Landed in https://github.com/vue-bulma/vue-admin/commit/466a212a1908ca4d8a8c901089997bbbd6f8d607.


Switch to fluent assertion

Currently Assert() in Microsoft.VisualStudio.QualityTools.UnitTestFramework are used in samples and unit tests code. FluentAssertions (or N-Fluent) offers a fluent style assertion, helps pinpoint the cause of assertion much more efficient. See original comment by @jthelin suggested in #68. Create this issue as suggestions to adopt fluent assertion as we write/update assertion in samples and unit test code.

@rapoth and I are looking into SparkCLR compatibility in Linux (#105).
We find that the xbuild tool on Mono cannot build SparkCLR due to failure to restore MSTest. I have experimented with changing SparkCLR unit tests to use the NUnit test framework, where xbuild is able to restore and build the project smoothly.
So I suggest we consider switching to NUnit for unit test, as NUnit:

is available on NuGet
is comparable to MSTest in functionality
has visual studio plugins,
works with FluentAssertions

Any thoughts on this? If we are fine with this, I can go ahead and push a PR.

Sounds reasonable to me. Per this article - http://www.florian-rappl.de/News/Page/275/convert-mstest-to-nunit, it seems the cost is manageable – it mentioned http://www.monodevelop.com/, we may want to check out.
Thx
Daniel
From: Kai Zeng<EMAIL_ADDRESS>Sent: Tuesday, December 1, 2015 10:30 PM
To: Microsoft/SparkCLR<EMAIL_ADDRESS>Cc: Daniel Li (BING<EMAIL_ADDRESS>Subject: Re: [SparkCLR] Switch to fluent assertion (#75)
@rapothhttps://github.com/rapoth and I are looking into SparkCLR compatibility in Linux (#105https://github.com/Microsoft/SparkCLR/issues/105).
We find that the xbuild tool on Mono cannot build SparkCLR due to failure to restore MSTest. I have experimented with changing SparkCLR unit tests to use the NUnit test framework, where xbuild is able to restore and build the project smoothly.
So I suggest we consider switching to NUnit for unit test, as NUnit:

is available on NuGet
is comparable to MSTest in functionality
has visual studio plugins,
works with FluentAssertions

Any thoughts on this? If we are fine with this, I can go ahead and push a PR.
—
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/SparkCLR/issues/75#issuecomment-161193940.

Switching to NUnit sounds good to me. Please send PR.

All, I would like to close this issue, because @kai-zeng already checked in the NUnit and used NUnit.Assert in our tests.
Here are the comparison of exception output for NFluent, FluentAssertions, and NUnit.Assert. NUnit.Assert is enough in our test. I will close the issue by tomorrow afternoon, please let me know if you have any concerns or suggestions before tomorrow afternoon.
NFluent.FluentCheckException:
The checked value is different from the expected one.
The checked value:
[20]
The expected value:
[700]
at NFluent.Helpers.EqualityHelper.IsEqualTo(Object instance, Object expected)
at NFluent.ObjectCheckExtensions.<>c__DisplayClass11.<IsEqualTo>b__0()    at NFluent.Extensibility.Checker2.ExecuteCheck(Action action, String negatedExceptionMessage)
at NFluent.ObjectCheckExtensions.IsEqualTo[T](ICheck1 check, Object expected)    at NFluent.ObjectCheckExtensions.IsEqualTo[T](ICheck1 check, T expected)
at ConsoleApplication2.Program.Main(String[] args) in D:\MyWorks\ConsoleApplication2\ConsoleApplication2\Program.cs:line 19
NUnit.Framework.AssertionException:   Expected: 700
But was:  20
at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args)
at NUnit.Framework.Assert.AreEqual(Object expected, Object actual)
at ConsoleApplication2.Program.Main(String[] args) in D:\MyWorks\ConsoleApplication2\ConsoleApplication2\Program.cs:line 29
FluentAssert.Exceptions.ShouldBeEqualAssertionException:   Expected: 700
But was:  20
at FluentAssert.AssertExtensions.ShouldBeEqualTo[T](T item, T expected, Func`1 getErrorMessage) in c:\projects\FluentAssert\src\FluentAssert\AssertExtensions.cs:line 116
at FluentAssert.AssertExtensions.ShouldBeEqualTo[T](T item, T expected) in c:\projects\FluentAssert\src\FluentAssert\AssertExtensions.cs:line 60
at ConsoleApplication2.Program.Main(String[] args) in D:\MyWorks\ConsoleApplication2\ConsoleApplication2\Program.cs:line 39


Splash Screen

as a user I wish there was a splash screen at the beginning of the application

lol @sbruchmann

@JeffreyArt1 can you elaborate on what exactly you mean/would want from a splash screen?

Chiming in here. Splash screens are good if they output loading progress/information. Since brackets loads fast it doesn't really warrant the need for a splash image. Otherwise it's just aesthetics.

I was about to tag this as an extension idea, but then i remembered brackets itself would not have been loaded at the time.
@JeffreyArt1 How long does it take for brackets to load in your system? Do you suggest a splash screen because brackets loads slow on your machine or is it just for the :cool: :sunglasses: factor?

@abose it takes about 5 secs to load, but for example in my friend's laptop it takes about 30-35 secs.
I suggest for slow pc's and for "good appearance".

@JeffreyArt1 What is your system configuration/OS.
Does brackets load faster on subsequent launches after the first launch?

@abose intel core i5 4200U / 8GB RAM
first launch 5-8 secs
after first launch: 1-3 secs
They could put a splash on at least four seconds at start of a program?

which OS are you on? and the correct version number of the OS. How many extensions are installed by default?

@abose i'm on Windows 8.1 Pro, and I have installed 7 extensions (w3c validator, extract, some themes etc.)

thanks @JeffreyArt1 . The setup should have launched brackets within 2 secs on subsequent launches. We do not want to delay the load times for showing the splash screens. Usually brackets loads within 1-2 secs the second time onwards. We will be logging the startup time from this release onwards, If we are seeing concerns in startup performance across the board, we will target improving startup performance in the subsequent releases.


Event not displayed properly when resizing it in the week view with calendarConfig.showTimesOnWeekView = true

Hello, thank you for this great api
I have a problem with displaying the event after resizing it in the week view.
Week View
mwl-resizable="tue"
 resize-edges="{top: true, bottom: true}"
on-resize-end="resizeWeekView(eventRow.event, edge, y / 30, vm.dayViewSplit)"
Angular controller
$scope.resizeWeekView = function(event, edge, weekMinuteDiff, dayViewSplit) {
      var start = moment(event.startsAt);
      var end = moment(event.endsAt);
      var absWeekMinuteDiff = Math.abs(weekMinuteDiff) * dayViewSplit;
      if (edge === 'start') {
        if(weekMinuteDiff < 0){
          start.subtract(absWeekMinuteDiff, 'minutes');
        }else if(weekMinuteDiff > 0){
          start.add(absWeekMinuteDiff, 'minutes');
        }
      } else {
        if(weekMinuteDiff > 0){
          end.add(absWeekMinuteDiff, 'minutes');
        }else if(weekMinuteDiff < 0){
          end.subtract(absWeekMinuteDiff, 'minutes');
        }
      }
      event.startsAt = start.toDate();
      event.endsAt = end.toDate();
      //minuteDuration.get is to get the duration between startsAt and endsAt of the event
      event.duration = minuteDuration.get(event.startsAt, event.endsAt );
     //The new event is in the event variable
     //call the  vm.eventTimesChanged
    };

If i call the vm.eventTimesChanged function, the event will be updated. The problem is the new value of that event is not appearing in the week view directly. But if i change the view to Day, the changes appear perfectly even if i return in the week view the new event appear us i want.
Any help? Thank you.
Versions
Angular: 1.6.1
Calendar library: 0.28.1
Browser name and version: google chrome 56

The week view DEOS ignore endtimes, so it won't show the correct size of an event. I'm working on a fix here.

i have the same problem.. did anyone got a solution for it? @burtek ?

PR #569 is in progress, but it's not mine and I'm unable to tell whether or not it's gonna be resolved and accepted.

Ok, thanks... it's strange that on the demo everything is working but some users have this problem that only the resizing of an event on the week page is doing problems.

As I said - until PR #569 is accepted, the week view will ignore event endTimes, so the function won't work properly.


compiler-sfc not compatible with prettier v3

Version
2.7.14
Reproduction link
I think it's not necessary as it's obvious in source code
Steps to reproduce
Install prettier v3  in a project depending on vue/compiler-sfc v2
What is expected?
No error
What is actually happening?
Fail in compiling template.
I found compiler-sfc tried to format code with API of prettier but format of Prettier becomes async in v3 and it returns a Promise instead of string.
https://github.com/vuejs/vue/blob/49b6bd4264c25ea41408f066a1835f38bf6fe9f1/packages/compiler-sfc/src/compileTemplate.ts#L179

Added a workaround in vue-loader v15.10.2. https://github.com/vuejs/vue-loader/releases/tag/v15.10.2
But let's keep this issue open so that we can fix it properly in vue core later.

But let's keep this issue open so that we can fix it properly in vue core later.

Hi @sodatea!
The problem is caused by not specifying the required prettier version in the compiler/sfc package.
While Prettier 3 is not supported, a simple solution could be to specify the Prettier version in optional dependencies. It would keep prettifying working even if Prettier 3 is installed.
There is a PR that does this: https://github.com/vuejs/vue/pull/13053
The same solution was applied by you before, but it was lost during migration to Vue 2.7: https://github.com/vuejs/component-compiler-utils/commit/aea1b79765f0f6d688e64b7698d5ff62862002d1

I faced this issue via vue-jest.
It throws errors like this.
 FAIL  components/atoms/MButton/index.spec.ts
  ● Test suite failed to run

    TypeError: Expected a SourceNode, string, or an array of SourceNodes and strings. Got [object Promise]

      2 | import type { Wrapper } from '@vue/test-utils'
      3 | import { RouterLinkStub, mount } from '@vue/test-utils'
    > 4 | import MButton from '~/components/atoms/MButton/index.vue'
        | ^
      5 |
      6 | const factory = (
      7 |   propsData?: object,

      at SourceNode_add [as add] (../../node_modules/@vue/vue2-jest/node_modules/source-map/lib/source-node.js:178:11)
      at addToSourceMap (../../node_modules/@vue/vue2-jest/lib/generate-code.js:14:12)
      at generateCode (../../node_modules/@vue/vue2-jest/lib/generate-code.js:49:5)
      at Object.module.exports [as process] (../../node_modules/@vue/vue2-jest/lib/process.js:169:18)
      at Object.<anonymous> (components/atoms/MButton/index.spec.ts:4:1)

Current workaround is to set the prettify option to false via jest.config.ts
module.exports = {
  globals: {
    'vue-jest': {
      templateCompiler: {
        prettify: false,
      },
    },
  },
  // ...
}

I faced this issue via vue-jest.
It throws errors like this.
 FAIL  components/atoms/MButton/index.spec.ts
  ● Test suite failed to run

    TypeError: Expected a SourceNode, string, or an array of SourceNodes and strings. Got [object Promise]

      2 | import type { Wrapper } from '@vue/test-utils'
      3 | import { RouterLinkStub, mount } from '@vue/test-utils'
    > 4 | import MButton from '~/components/atoms/MButton/index.vue'
        | ^
      5 |
      6 | const factory = (
      7 |   propsData?: object,

      at SourceNode_add [as add] (../../node_modules/@vue/vue2-jest/node_modules/source-map/lib/source-node.js:178:11)
      at addToSourceMap (../../node_modules/@vue/vue2-jest/lib/generate-code.js:14:12)
      at generateCode (../../node_modules/@vue/vue2-jest/lib/generate-code.js:49:5)
      at Object.module.exports [as process] (../../node_modules/@vue/vue2-jest/lib/process.js:169:18)
      at Object.<anonymous> (components/atoms/MButton/index.spec.ts:4:1)

Current workaround is to set the prettify option to false via jest.config.ts
module.exports = {
  globals: {
    'vue-jest': {
      templateCompiler: {
        prettify: false,
      },
    },
  },
  // ...
}

Tysm for this fix @yshrsmz


Error Message and Logs
I had a project, created around 2 months ago, the ERR_SSL_UNRECOGNIZED_NAME_ALERT was happening for the projects I had, even for the Coolify UI, I could only access directly through the IP address. So I reset everything, installed the Coolify and etc, but the same problem persists...
Steps to Reproduce
Create a normal project following this tutorial video:
https://www.youtube.com/watch?v=ZZ1lnw8D3Qo&ab_channel=developedbyed
Example Repository URL
No response
Coolify Version
v4.0.0-beta.341
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04.1 LTS
Additional Information
No response

Could you please provide me with the proxy logs so I can better debug this issue?


Return progress indication from core.turn

Fairly simple change. I have a use-case where the event loop is being driven externally, across FFI (think libcurl multi interface style) and it would be really nice to be able to crank the event loop through multiple task dispatches that aren't waiting on I/O.
Of course it's possible I'm horribly abusing the library or that there are other mechanisms for observing event progress, so I'd appreciate any advice on that front.

While subtle, I'm pretty sure this is actually a breaking change. The next breaking release will be the result of the Tokio reform RFC. I would suggest you check if the proposed changes satisfy your needs.
Specifically, this PR addresses the return value of turn: https://github.com/tokio-rs/tokio/pull/60

Yep that Turn type is exactly what I'm looking for, once it does get populated with information about that iteration of the loop of course. Definitely better future-proofing than a raw bool type!
Closing for now, looking forward to that reform in the future.


Legend

Is there a way to add a legend for the color scale of the heatmap?  Im using leaf.heat which is based on this.

You set the gradient with an object of the form {<stop>: <color>} where stop ranges from 0 to 1. You can use the same object to generate a legend manually.
// set gradient colors as {<stop>: '<color>'}, e.g. {0.4: 'blue', 0.65: 'lime', 1: 'red'}
heat.gradient(grad);


Can not connect

Hello. I create the config file and added it to the other matchmaker files. I still can not connect, whats wrong?
fredfishgames matchmaking server for unity
Licenced under the MIT licence
Make sure the configuration file has been set up before starting
Starting Overpowered matchmaking server on port 24713
Player connected from <IP_ADDRESS>
Recieved request b'POST '
Invalid command.
Sent response
Closing thread

Hi,
Have you customized the code in any way, and if so, can you make sure that the data sent follows this
The config file is embedded in server.py, as the multiline string.
Please note that this is not secure, fully featured in any way, and not designed to be used in a commercial release. I also do not work on the project anymore, and I will likely not update it in the future. If you would like a fully-featured server, I would recommend turning to a game backend service like PlayFab or Gamesparks, or the built in unity matchmaker. Or you can modify and build upon my code.
If you send me any of your files that work with the matchmaker, I will do my best to resolve any other problems you have.


Certificate issue probably from Proxy

Hi Team and sorry for a really dumb question,
I'm sure this is My problem, not a script problem but I thought I would ask non the less.
a Linux machine
We have a proxy in place that performs ssl inspection with its own certificate/root I have installed the certificates in the Linux machine.
I can browse the web normally and use curl -l -v google.com and do not get certificate issue.
I get an error when I try to run the downloader.
HttpRequestException: The SSL connection could not be established, see inner exception.
 AuthenticationException: The remote certificate is invalid because of errors in the certificate

 chain: UntrustedRoot

I assume that I need to install the certificate somewhere for dotnet I just do not know where.

There is absolutely nothing wrong the Pwned Passwords certificate, this is an issue on your end.


When will the full code be released?

Great work, but when will the full code be released? Thanks

Thanks! The full codes including downstream finetuning and visualization are expected to be released by next week.

Great work-- very exciting paper; thanks for posting the pretraining code. I'm looking forward to the fine-tuning and viz code

@keyu-tian Hi, could you please release the visualization code?

@songkq @annawoodard @zhangzjn sorry kept you waiting so long, now our fine-tuning code & viz demo (Colab) is ready! We're also working on:

upload the vis demo to huggingface
upload pretrained weights into huggingface and timm

Once they finish we would comment here again and paste some notes, thanks!


add toggle to print to stdout portions of logging

as discussed here I have a weird obsession with seeing commands on the console. currently we don't have an unopinionated way to do this, that doesn't force dealing with my preferences on everyone else.  I think your recent refactor of logging allows us to set up different handlers as we pelase.


Upgrade version.mockito 3.5.0 -> 3.5.2

This PR contains the following updates:

Package
Update
Change

org.mockito:mockito-inline
patch
3.5.0 -> 3.5.2

org.mockito:mockito-core
patch
3.5.0 -> 3.5.2

Release Notes

mockito/mockito
v3.5.2
Compare Source
Release notes were automatically generated by Shipkit
3.5.2

2020-08-18 - 1 commit by Tim van der Lippe - published to
No pull requests referenced in commit messages.

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade mockito-core 3.5.0 -> 3.5.2

See:
- https://github.com/mockito/mockito/releases/tag/v3.5.1
- https://github.com/mockito/mockito/releases/tag/v3.5.2
- https://github.com/mockito/mockito/compare/v3.5.0...v3.5.2

@hisener the "internal" PR generated a better message, even though the diff is the same :thinking:. Suggested commit message:
Upgrade Mockito 3.5.0 -> 3.5.2 (#56)

See:
- https://github.com/mockito/mockito/blob/release/3.x/doc/release-notes/official.md
- https://github.com/mockito/mockito/releases/tag/v3.5.1
- https://github.com/mockito/mockito/releases/tag/v3.5.2
- https://github.com/mockito/mockito/compare/v3.5.0...v3.5.2

I think I know, it's because here Renovate couldn't see org.mockito:mockito-inline upgrade. See PR body. Will try one thing, please do not merge.

Suggested commit message:
Upgrade Mockito 3.5.0 -> 3.5.2

See:
- https://github.com/mockito/mockito/blob/release/3.x/doc/release-notes/official.md
- https://github.com/mockito/mockito/releases/tag/v3.5.1
- https://github.com/mockito/mockito/releases/tag/v3.5.2
- https://github.com/mockito/mockito/compare/v3.5.0...v3.5.2

G2G!


background DDL test in madsim should consider whether the statement is skipped.

Describe the bug
Seems like it was intended for this test to be skipped in madsim, but it's not.
Should it be skipped 🤔
Error message/log
2022-10-11T07:23:29.430473Z DEBUG risingwave_simulation::slt: Record Statement { loc: Location { file: "e2e_test/streaming/bug_fixes/stack_overflow_17342.slt", line: 10, upper: None }, conditions: [SkipIf { label: "madsim" }], connection: Default, sql: "CREATE MATERIALIZED VIEW mv AS\nSELECT\n    count(*)\nFROM\n    t\nFULL OUTER JOIN t t1 USING (v)\nFULL OUTER JOIN t t2 USING (v)\nFULL OUTER JOIN t t3 USING (v)\nFULL OUTER JOIN t t4 USING (v)\nFULL OUTER JOIN t t5 USING (v)\nFULL OUTER JOIN t t6 USING (v)\nFULL OUTER JOIN t t7 USING (v)\nFULL OUTER JOIN t t8 USING (v)\nFULL OUTER JOIN t t9 USING (v)\nFULL OUTER JOIN t t10 USING (v)\nFULL OUTER JOIN t t11 USING (v)\nFULL OUTER JOIN t t12 USING (v)\nFULL OUTER JOIN t t13 USING (v)\nFULL OUTER JOIN t t14 USING (v)\nFULL OUTER JOIN t t15 USING (v)\nFULL OUTER JOIN t t16 USING (v)\nFULL OUTER JOIN t t17 USING (v)\nFULL OUTER JOIN t t18 USING (v)\nFULL OUTER JOIN t t19 USING (v)\nFULL OUTER JOIN t t20 USING (v)\nFULL OUTER JOIN t t21 USING (v)\nFULL OUTER JOIN t t22 USING (v)\nFULL OUTER JOIN t t23 USING (v)\nFULL OUTER JOIN t t24 USING (v)\nFULL OUTER JOIN t t25 USING (v)\nFULL OUTER JOIN t t26 USING (v)\nFULL OUTER JOIN t t27 USING (v)\nFULL OUTER JOIN t t28 USING (v)\nFULL OUTER JOIN t t29 USING (v)\nFULL OUTER JOIN t t30 USING (v)\nFULL OUTER JOIN t t31 USING (v)\nFULL OUTER JOIN t t32 USING (v)\nFULL OUTER JOIN t t33 USING (v)\nFULL OUTER JOIN t t34 USING (v)\nFULL OUTER JOIN t t35 USING (v)\nFULL OUTER JOIN t t36 USING (v)\nFULL OUTER JOIN t t37 USING (v)\nFULL OUTER JOIN t t38 USING (v)\nFULL OUTER JOIN t t39 USING (v)\nFULL OUTER JOIN t t40 USING (v)\nFULL OUTER JOIN t t41 USING (v)\nFULL OUTER JOIN t t42 USING (v)\nFULL OUTER JOIN t t43 USING (v)\nFULL OUTER JOIN t t44 USING (v)\nFULL OUTER JOIN t t45 USING (v)\nFULL OUTER JOIN t t46 USING (v)\nFULL OUTER JOIN t t47 USING (v)\nFULL OUTER JOIN t t48 USING (v)\nFULL OUTER JOIN t t49 USING (v)\nFULL OUTER JOIN t t50 USING (v)\nFULL OUTER JOIN t t51 USING (v)\nFULL OUTER JOIN t t52 USING (v)\nFULL OUTER JOIN t t53 USING (v)\nFULL OUTER JOIN t t54 USING (v)\nFULL OUTER JOIN t t55 USING (v)\nFULL OUTER JOIN t t56 USING (v)\nFULL OUTER JOIN t t57 USING (v)\nFULL OUTER JOIN t t58 USING (v)\nFULL OUTER JOIN t t59 USING (v)\nFULL OUTER JOIN t t60 USING (v)\nFULL OUTER JOIN t t61 USING (v)\nFULL OUTER JOIN t t62 USING (v)\nFULL OUTER JOIN t t63 USING (v)\nFULL OUTER JOIN t t64 USING (v)\nFULL OUTER JOIN t t65 USING (v)\nFULL OUTER JOIN t t66 USING (v)\nFULL OUTER JOIN t t67 USING (v)\nFULL OUTER JOIN t t68 USING (v)\nFULL OUTER JOIN t t69 USING (v)\nFULL OUTER JOIN t t70 USING (v)\nFULL OUTER JOIN t t71 USING (v)\nFULL OUTER JOIN t t72 USING (v)\nFULL OUTER JOIN t t73 USING (v)\nFULL OUTER JOIN t t74 USING (v)\nFULL OUTER JOIN t t75 USING (v)\nFULL OUTER JOIN t t76 USING (v)\nFULL OUTER JOIN t t77 USING (v)\nFULL OUTER JOIN t t78 USING (v)\nFULL OUTER JOIN t t79 USING (v)\nFULL OUTER JOIN t t80 USING (v)\nFULL OUTER JOIN t t81 USING (v)\nFULL OUTER JOIN t t82 USING (v)\nFULL OUTER JOIN t t83 USING (v)\nFULL OUTER JOIN t t84 USING (v)\nFULL OUTER JOIN t t85 USING (v)\nFULL OUTER JOIN t t86 USING (v)\nFULL OUTER JOIN t t87 USING (v)\nFULL OUTER JOIN t t88 USING (v)\nFULL OUTER JOIN t t89 USING (v)\nFULL OUTER JOIN t t90 USING (v)\nFULL OUTER JOIN t t91 USING (v)\nFULL OUTER JOIN t t92 USING (v)\nFULL OUTER JOIN t t93 USING (v)\nFULL OUTER JOIN t t94 USING (v)\nFULL OUTER JOIN t t95 USING (v)\nFULL OUTER JOIN t t96 USING (v)\nFULL OUTER JOIN t t97 USING (v)\nFULL OUTER JOIN t t98 USING (v)\n;", expected: Ok } finished in 0ns
2022-10-11T07:23:29.430473Z DEBUG risingwave_simulation::slt: Retry for background ddl iteration=2
2022-10-11T07:23:29.507369Z ERROR risingwave_simulation::slt: failed to wait for background mv to finish creating iteration=2 err=expected 1 row in pg_matviews, got Ok(
    0,
) instead for mv

To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

It did get skipped, but we were not aware of that and still tried to wait for the MV to be created.
https://github.com/risingwavelabs/risingwave/blob/209fd3216df10a4d6a55c018ab2a870ca9b3508b/src/tests/simulation/src/slt.rs#L340-L386
https://github.com/risinglightdb/sqllogictest-rs/pull/219 could help to retrieve such information.

Workarounded in https://github.com/risingwavelabs/risingwave/pull/17440


Move the pixel dependency out of application class

Task/Issue URL: https://app.asana.com/0/414730916066338/1201464810536290/f
Description

The current app onCreate path takes longer than it should
One of the main contributors is the pixel dependency in the app class
The pixel dependency is used to:

send the mf pixel onCreate
send the ml pixel onStart

the ml pixel doesn't affect the onCreate path
the mf pixel doesn't need to be sent at onCreate, and can be scheduled to be sent later

This PR removes the pixel dependency from the app class by:

creating a LifecycleEventObserver that will:

send the ml pixel onStart--except when the app is launched as a result of a fire button press
schedules the sending of the mf pixel

Steps to test this PR
test the ml pixel

install from this branch
launch the app
verify the ml pixel is sent
press the fire button
verify the ml pixel is NOT sent upon app launch

test the mf pixel

in EnqueuedPixelWorker change KEEP for REPLACE in line 110
build and install from this branch
launch the app
verify the mf pixel is NOT sent
press the fire button
verify the mf pixel is sent once

Current dependencies on/for this PR:

develop

PR #1616

PR #1617  (this PR)

This comment was auto-generated by Graphite and will continue to be automatically updated while this PR remains open.

FYI In addition, when taking a startup trace, the app onCreate path should not contain the pixel dependency anymore. I can still see the pixel dependency during onCreate. I've attached a trace in the Asana task.


Debugger for C# doesn't work

Type: Either Bug or Misconfiguration
The debugging doesn't work at all. When running 'dotnet run' from an external terminal, the app runs with no problems(builds and runs properly). But when going to the "Run" tab in the "Activity Bar" and launching the ".NET Core Launch (console)" option, nothing happens. It doesn't run the program at all. It is like it hangs in a infinite loop. No breakpoints hit, not even the Main method is executed(tested with my application and with a "Hello World" example). I tried changing the "console" in launch.json to "integratedTerminal", "externalTerminal" and "internalConsole". None work. "ExternalTerminal" goes further then the others, but still nothing show. No print statements show, no cursor movement, no action. Just hangs and nothing. With this option, when i stop the debugger from the vscode itself, it does print "Click any key to continue...". In the end i tried with the ".NET Core Attach", but no success there too. I need to debug my application, because it's essential for my work. Please, I can use some assistance. Haven't had this problem before.
Note: I haven't tested with other languages
Note: Creating a new project and debugging it doesn't fix the issue. It still persists with default debug settings and default launch.json file.
Note: When using "console": "externalTerminal" in launch.json, the settings option "Terminal › External: Linux Exec" is set to "konsole". Tried with "gnome-terminal", but no success.
Screenshots:

launch.json

Debugging in action

VSCode Version: 1.47.3
OS Version: Arch Linux (fully updated; date: 12 AUG 2020)
DE: KDE V.5.73.0
Terminal: Konsole

Steps to Reproduce:

Open VSCode(either from "Application" or with "code ." in terminal)
Promts you for assets for debugging and such, to which you answer "Yes"
Go to "Run" section to debug
Debug using ".NET Core Launch (console)"

Does this issue occur when all extensions are disabled?: Yes

/extC#


data_download.py consistent with process_data.py for transformers

The file pattern in the train_input_fn and eval_input_fn under translation/tensorflow/transformer/utils/dataset.py requires the word encoded be present in the file names. When the files were downloaded using the data_download.py provided with transformer, the files do not have encoded as part of their string. Fixing the data_download.py  to match process_data.py similar to #173 ,  so one can run the transformer code without running into this issue

Based on issue #229. cc @xyhuang


Error loading discovery document: Error connecting to ...

This is with UWP connecting locally to localhost with self-signed certificate from dotnet … command (It also happens with IIS Express with VS.net installed self-signed certificate.)
At the root of the inner errors is the following message:  The certificate authority is invalid or incorrect
There doesn't appear to be any way to override this for debug or assign the HttpClient that is being used. It would be really helpful if there was an override for the client that allowed us to pass our own httpClient so that we can work around this stuff, inject handlers etc.

Nevermind.


Update plugin

Wow ahem, too much changes here.
Could at least describe what did you update and why?


optimizer.step and lr_scheduler.step order

Hi. I get this warning:
/home/cristian/miniconda3/envs/salsanext/lib/python3.8/site-packages/torch/optim/lr_scheduler.py:131: UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`. In PyTorch 1.1.0 and later, you should call them in the opposite order: `optimizer.step()` before `lr_scheduler.step()`.  Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate
  warnings.warn("Detected call of `lr_scheduler.step()` before `optimizer.step()`. "

@Moldoteck, are you still seeing this warning? Can you share repro steps?

@Moldoteck, are you still seeing this warning? Can you share repro steps?

Yes I'll share them tomorrow


FOR REVIEW: Overview updates, new terms for some pages, fixing links

Staging links:
https://makerdao-1.gitbook.io/endgame-docs-staging/endgame/overview
Summary.md page also changed

@LongForWisdom comments addressed, let me know if it's good to merge!


Display Scrollable Grid view in RkTabView component

Please find the source code in snack.expo.io
https://snack.expo.io/@przbadu/navigationtest
Expected:
RkTabView

and ScrollView with flex grid

should work. Please let me know what I am missing here.

I have also added some description in: https://stackoverflow.com/questions/47825742/make-scrollview-work-with-rktabview

Hi, @userrails,
Indeed, there is a problem in our framework v2.0.1
The content of RkTabView is wrapped into <View> and it doesn't contain any styles. And you got the following structure:
<View>
  <ScrollView>
    ...your content
  </ScrollView>
</View>

The problem is ScrollView required bounded height. But it doesn't have. This was already fixed in dev branch and we are going to make a release soon. There this internal View will have flex:1 by default and will be available for styling through contentContainer component.
Unfortunately, right now there are no easy ways to resolve this issue. You can wrap your ScrollView into other View with fixed height. Or you can fix that problem View in sources of RkTabView:
337: <View style={{flex:1}}>
338:   {tabs[this.state.index]}
339: </View>

But of course, I don't know how you use the framework and which option will be acceptable for you.
Sorry for the inconvenience!


Catch error 502

When ftrack is overloaded, it returns a status code 502 with HTML content.
The client throws this as a json decode issue.
Would be nice if it threw a specific error, so it would be easier to implement retry behavior.
Another thing I've been wondering is if the event hub will also reconnect if ftrack got overloaded and it disconnected?

I'll forward this to the platform team, there's ongoing work for more consistent and useful error codes and messages. An upcoming feature is also a global event queue that can tell a subscribed client if there are events that the client hasn't received that will be helpful for these scenarios.
The event hub will try to reconnect after any kind of disconnection unless it's an explicit call from the client to disconnect. The latest release also attempts to reconnect on every emit if the WebSocket client is not connected. If you find any case where that doesn't work, please report it and we'll investigate.

Thank you! Sounds great!


Delete Compat.php

What are you trying to do?
On Fri, Nov 29, 2019, 12:16 PM yamioz<EMAIL_ADDRESS>wrote:

Closed #110 https://github.com/paragonie/sodium_compat/pull/110.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/paragonie/sodium_compat/pull/110?email_source=notifications&email_token=ACYN6XRSVDJDPLZN3LXTYE3QWF2DVA5CNFSM4JTDC4J2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVFUGFVY#event-2842190551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYN6XUUNYWDDWYPBSJCC3LQWF2DVANCNFSM4JTDC4JQ
.


Request ->validated() call returns arrays in different order to the payload

Laravel Version: 9.36
PHP Version: 8.0.24
Database Driver & Version: -

Description:
Since the release of #37943 using the ->validated() method has resulted in arrays having different sort order
'services'            => 'required|array|min:1',
'services.*.service'  => 'sometimes|required_without:services.*.content',
'services.*.content'  => 'sometimes|required_without:services.*.service',

So the ->validated() call will return an array and it will preference the array values that match the first few rules. So any that match services.*.content will be last no matter what order they appeared in the payload.
Is this expected that the sort order of arrays in the payload can be different? Does this need to be added to the docs? I've had to call $request->get() instead of using the validated data array which i prefer to use
Steps To Reproduce:
If you were to post
$data = [
'services' => [
    '0' => ['custom' => 'This is custom text and should be at the top'],
    '1' => ['service' => 'This uses a service'],
]];

request->validated() will be [1] =>, then [0] =>

Yeah I don't think we ever intended that sort order matters here.


clarify orphan mitigation situations when provisioning asynchronously

Explicitly mention in both the polling and orphan mitigation sections what situations in which the platform should initiate orphan mitigation during an asynchronous provisioning operation.
Closes: #360

LGTM !

Seems Travis was complaining because it didn't understand "should" meaning "if" vs "should" meaning "SHOULD". :stuck_out_tongue: Fixed.
However, while re-reading this I noticed some inconsistencies with how we're using MUST vs SHOULD, so I'm not 100% about which should be used in this circumstance. I opened issue #370 to discuss this.

FYI I kept the needs work tag until we clarify the issue.


Bump dep packages version and fix lint issues

Bump dependencies

Update most dependencies to the latest version
Remove dataclasses dep because it's built-in in Python 3.7+
Somehow, marko==1.2.2 is not backward compatible so I didn't update it

Fix the lint issues found by the newer linter

E741 ambiguous variable name 'l' in bit_reversal_permutation:

I renamed l to sequence. /cc @asn-d6

F541 f-string is missing placeholders:

I cleaned up the strings

from_bytes has incompatible type "str"; expected "Literal['little', 'big']":

This is annoying. The solution is adding Final type hint. I made some changes in setup.py

I renamed l to sequence. /cc @asn-d6 change LGTM! (Haven't looked at the non-4844 changes though)

Gracias por la información y todo es por el apoyo que me brindan aquí ! Saludos y en lo que pueda colaborar con gusto


nfs: delete the CephFS volume when the export is already removed

In case the NFS-export has already been removed from the NFS-server, but
the CSI Controller was restarted, a retry to remove the NFS-volume will
fail with an error like:

GRPC error: ....: response status not empty: "Export does not exist"

When this error is reported, assume the NFS-export was already removed
from the NFS-server configuration, and continue with deleting the
backend volume.

Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:

/retest ci/centos/<job-name>: retest the <job-name> after unrelated
failure (please report the failure too!)
/retest all: run this in case the CentOS CI failed to start/report any test
progress or results

Deploying Rook failed, #3069 should get merged first, this can be rebased afterwards.

added DNM to get https://github.com/ceph/ceph-csi/pull/3069 merged


[Enhancement] MessageDecoder.string2messageProperties(requestHeader.getProperties()) just invoke once.

FEATURE REQUEST

Please describe the feature you are requesting.
I notice that MessageDecoder.string2messageProperties(requestHeader.getProperties()) will invoke twice in org.apache.rocketmq.broker.processor.SendMessageProcessor#asyncSendMessage and org.apache.rocketmq.broker.processor.SendMessageProcessor#sendMessage.

In fact, it just need invoke once, and reuse the properties.

@RongtongJin Hi, I notice tht code:

the propertiesString set twice, the second is to solve some problem?

@RongtongJin Hi, I notice tht code:

the propertiesString set twice, the second is to solve some problem?


Feature request: BITMEX support

Note: for support questions, please join our Discord server

I'm submitting a ...
[ ] bug report
[X] feature request
[ ] question about the decisions made in the repository

Action taken (what you did)
Please implement  BitMex, as it does all we need for successfull trades: Short, long, Laverage, and it is deam fast. I sew this is already on the roadmap, however just wanted to request for more priority as Kraken i.e is just not usable anymore -- they have far to much lags and random errors.

I implemented BitMex partly. Only for strategy testing though, so not ready for live trading yet.

The biggest hurdle with Bitmex is that it all trading is margin trading. The exchange integration is not that hard, but in order to properly calculate profit Gekko needs to understand that a SHORT on bitmex is not the same as a SELL on another exchange:
If you are trading on Bitstamp and you sell your BTC for USD, you are out of the market and NOT exposed at all anymore. So your strategy can signal "LONG" in which case Gekko will buy (and calculate statistics accordingly). However on Bitmex you can actually short the market meaning that you are still exposed to the price. But you can also close all your positions which is the same as "selling your BTC" on bitstamp (with the exception that you are always holding bitcoin on bitmex).

Thanks for clarifying that. I will try to find a solution and am always open to suggestions...

A good way to handle that is to keep track of your actual exposure in Bitcoin terms; shorting the swap or futures at 1:1 puts you flat. For example:

User has $1000 (flat Bitcoin exposure)
User converts that $1000 to Bitcoin (long Bitcoin exposure)
User sells 1000 contracts of XBTUSD or XBTZ17 (flat Bitcoin exposure)

This is exposed via the API as markValue. This is the value of the position in Bitcoin terms at the current price; note it is negative on a long XBT position because they are inverse contracts (that is, long Bitcoin is actually short USD).
It's not a simple task but the same calculations could be reused for margin trading to a certain degree.

Mike, since BitMEX also has a Testnet (http://testnet.bitmex.com), I assume I have to make everything twice (exchange file, importer file) since they both have their own respective API keys and there is no option in the Gekko UI to add multiple keypairs per exchange?

@Johannnnes I'm looking to start working on this -- do you have any code you can share to potentially jumpstart the process?

@timchepeleff I have send you a pm on Facebook.
Will put what I have on my Github this weekend.

any news on this?

++1

No news ? :(

@Johannnnes I'm trying to integrate bitmex into gekko too, do you still have the code for what you did? I can't find it on your profile. Thanks!


Graph generation dependencies for campaigns

When directly executing the generate_graph function on a campaign(not a suite), the necessary dependencies: pandas matplotlib seaborn are not automatically added.
Error occured on: campaign.generate_graph(         plot_name="scatterplot",         x="nb_threads",         y="counter",         #hue="clarity",     )
Stacktrace:
  File "/home/pi/Documents/benchkit/benchkit/lwchart.py", line 158, in generate_chart_from_single_csv
    df = _read_csv(csv_pathname=csv_pathname)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pi/Documents/benchkit/benchkit/lwchart.py", line 105, in _read_csv
    return pd.read_csv(
           ^^
NameError: name 'pd' is not defined. Did you mean: 'id'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/Documents/benchkit/examples/counter/bench.py", line 252, in <module>
    campaign.generate_graph(
  File "/home/pi/Documents/benchkit/benchkit/campaign.py", line 242, in generate_graph
    generate_chart_from_single_csv(
  File "/home/pi/Documents/benchkit/benchkit/lwchart.py", line 159, in generate_chart_from_single_csv
    except pd.errors.EmptyDataError:
           ^^
NameError: name 'pd' is not defined. Did you mean: 'id'?```

Normally, when the dependencies are not there, lwchart should skip the graph generation. You hit a bug. I'm going to investigate.


Add postcss as a dependency

What:

Why:

How:

Checklist:

[ ] Documentation
[ ] Tests
[ ] Code complete

Codecov Report

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

@@           Coverage Diff           @@
##           master     #233   +/-   ##
=======================================
  Coverage   90.31%   90.31%
=======================================
  Files          20       20
  Lines         971      971
  Branches      263      263
=======================================
  Hits          877      877
  Misses         76       76
  Partials       18       18

Continue to review full report at Codecov.

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


Fax issue in 0.1.21: System.ArgumentException: boundary

Version 0.1.21 is currently returning the following error when GetHttpContent() is called in the Request object.
Please also add mock & real tests for sending faxes in the test suite.
var request = new Request ("/restapi/v1.0/account/~/extension/~/fax", json, attachments);
var body = request.GetHttpContent ()

Exception:
Unhandled Exception:
System.ArgumentException: boundary
  at System.Net.Http.MultipartContent..ctor (System.String subtype, System.String boundary) <0x4561278 + 0x00257> in <filename unknown>:0
  at System.Net.Http.MultipartFormDataContent..ctor (System.String boundary) <0x4561248 + 0x0001f> in <filename unknown>:0
  at RingCentral.SDK.Http.Request.GetHttpContent () <0x7a7a88 + 0x00187> in <filename unknown>:0
  at faxCustomCoverPage.MainClass.SendFax (RingCentral.SDK.SDK sdk) <0x4560788 + 0x00153> in <filename unknown>:0
  at faxCustomCoverPage.MainClass.Main (System.String[] args) <0x559ec8 + 0x00013> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: boundary
  at System.Net.Http.MultipartContent..ctor (System.String subtype, System.String boundary) <0x4561278 + 0x00257> in <filename unknown>:0
  at System.Net.Http.MultipartFormDataContent..ctor (System.String boundary) <0x4561248 + 0x0001f> in <filename unknown>:0
  at RingCentral.SDK.Http.Request.GetHttpContent () <0x7a7a88 + 0x00187> in <filename unknown>:0
  at faxCustomCoverPage.MainClass.SendFax (RingCentral.SDK.SDK sdk) <0x4560788 + 0x00153> in <filename unknown>:0
  at faxCustomCoverPage.MainClass.Main (System.String[] args) <0x559ec8 + 0x00013> in <filename unknown>:0

Here are my files for reference:

Test code
Test repo

The following works for me with 1.0.0 branch:
[Test]
public void Fax()
{
    var requestBody = JsonConvert.SerializeObject(new
    {
        faxResolution = "High",
        coverIndex = 0,
        to = new object[] { new { phoneNumber = Config.Instance.Receiver } }
    });

    var attachments = new List<Attachment>();
    var textBytes = System.Text.Encoding.UTF8.GetBytes("hello fax");
    var attachment = new<EMAIL_ADDRESS>"application/octet-stream", textBytes);
    attachments.Add(attachment);
    var request = new Request("/restapi/v1.0/account/~/extension/~/fax", requestBody, attachments);
    var body = request.HttpContent;
    Assert.NotNull(body);
    var response = sdk.Platform.Post(request);
    Assert.AreEqual(true, response.OK);
}

The csharp demo runs pretty well on Windows. But an exception was thrown when running on Mac:
System.ArgumentException: boundary.

Inspired by this Stackoverflow thread. I finally figured out the root cause and fixed it:  https://github.com/ringcentral/ringcentral-csharp/commit/3cceffcaa4929fd8f3976b3ec0115edd96189514
The root cause is Mono on Mac doesn't like the hard-coded boundary string: Boundary_1_14413901_1361871080888 . It thinks that this boundary string is invalid so it throws System.ArgumentException.  I fixed it by removing the hard-coded boundary string. Let it generate a dynamic boundary string is way better.
Let's release C# SDK 1.0.0-alpha2 as soon as possible. Currently I host it locally.

By the way, I don't think the hard-coded boundary string Boundary_1_14413901_1361871080888  is invalid. And that's why the app runs without problem on Windows.
But the Mono implementation of the MultipartFormDataContent class doesn't like it for some reason.

Closing due ot verified fix in 1.0.0-alpha2.


Legend takes up too much space on mobile

Thanks @tunglinn! Feel free to push to prod - please load the map on your phone before to double check things look how you expected


Routing based on content type

I'd love to have content-type integrated into routing, allowing something like this:
app.at("/xyz")
    .content_type("application/x-xyz-request")
    .get(...)

This would check that the route matches the specified MIME type, and if not, return a 415 Unsupported Media Type.
This integration should likely support serving multiple content types for a route, as well.

that seems like it could be accomplished with a middleware, like
app.at("/xyz")
    .with(ContentTypeFilteringMiddleware::only("application/x-xyz-request"))
    .get(...)

@jbr True, and that would be a substantial improvement. Might also make a good sample middleware.

I've just made a crate for this, I'm not sure if it's all correct and working in the real world yet but at least mocking it in the tests works.

@Bauke it could be nice if the filter had full support for Accept-like filters so that patterns can be provided into the filter such as text/*. http_types::Accept::negotiate implements an algorithm for this. Perhaps it could be reused for this purpose too?

I tried out using Accept but don't think it could work for filtering, since when the wildcard directive is set it will always return a mime type (so I can't distinguish whether it's allowed or not). I do like the idea of wildcards though so I added that with a simple check if the subtype is a * and then only checking for the basetype.


Fix form submissions listing - header & page layout

Resolves #3759  - form submissions listing looks ugly on screens with >=1280px.
Overview

Moved the 'delete' button to the header, this is what was causing the extra blank space between the top of the table and the header.
The delete button appearing in the header is what the snippets listing does so I followed that layout as a guide.
Uses the existing class names and row/col structure to get a much simpler layout/wrapping scenario.
This is not perfect, when the delete/download button stack at some breakpoints there is no margin above them (but this is the same as snippets currently), plus the to/from date fields now fill up the available space (which again happens in snippets for the sometimes enabled search field).
Overall, I feel this is much better without adding more complex styles or use of flexbox (which I know is on the roadmap in other style clean up tickets).

Checklist

Do the tests still pass? 👍
Does the code comply with the style guide? 👍
For Python changes: Have you added tests to cover the new/fixed behaviour? (N/A - just a small refactor of existing html structure in templates)
For front-end changes: Did you test on all of Wagtail’s supported browsers?

Chrome 77 MacOS
Firefox 69 MacOS

For new features: Has the documentation been updated accordingly? (N/A)

Images

I am getting some odd test failures locally TypeError: int() argument must be a string, a bytes-like object or a number, not 'Tag' and also a bunch of tests related to adding/managing images failing.
I do not see how my changes would have affected these but will see what the CI run looks like.

@m1kola  - would love it if you could take a look when you get some time :)

@lb- I think TypeError: int() argument must be a string, a bytes-like object or a number, not 'Tag' is related to django-taggit / django-modelcluster being version-bumped in preparation for Django 3.0 - updating your copies of Wagtail's dependencies by running pip install -e '.[testing,docs]' -U from the wagtail root should hopefully fix it.

I will rebase this shortly.

Updated with the new dropdown style export button taken into consideration.

Closing this for now, code and elements have changed a fair bit.


[Task]: Add consolidation activity

Task description
We need to decipher if a consolidation transaction has occured i.e. all funds have stayed on the address but we have combined multiple outputs into one.
Requirements

Refactor activity generation to decipher consolidation transactions.

Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

We can not do this at the moment because we are not getting the inputs for a transaction from wallet.rs


Unable to resolve module ./create-icon-source-cache

Does someone has the same problem ?
I have this problem with my project when I build on XCode
Unable to resolve module "./create-icon-source-cache" from "/Users/eonixpro/Git/Bonobo/Safetify/SafetifyMobileWeb/node_modules/react-native-vector-icons/lib/create-icon-set.js" : The module "./create-icon-source-cache" could not be found from "/Users/eonixpro/Git/Bonobo/Safetify/SafetifyMobileWeb/node_modules/react-native-vector-icons/lib/create-icon-set.js".
I'm using react-native : 0.60.6 & react-native-vector-icons: 6.6.0

@AlessioCamm I am also facing same issue but on Android Platform. I didn't try iOS.
react-native: 0.61.0
react-native-vector-icons: 6.6.0

Previously I was getting some issue related to toolbar-android.
I fixed that by removing "^" from react-native-vector-icons: ^6.6.0.

Still not solved yet

any update on this issue?

Experiencing same issue on 6.6.0, having previously been fighting with missing toolbar-android issues.

me too, How to solve this problem

I removed ^ from react-native-vector-icons: ^6.6.0
then npm start --reset-cache
It worked for me

I am facing this issue. Anyone with solution please reply...
error: Error: Unable to resolve module ./create-icon-source-cachefromnode_modules\react-native-vector-icons\lib\create-icon-set.js`:
None of these files exist:

node_modules\react-native-vector-icons\lib\create-icon-source-cache(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)
node_modules\react-native-vector-icons\lib\create-icon-source-cache\index(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)`

I removed ^ from react-native-vector-icons: ^6.6.0
Then deleted pakage-lock and node modules and did npm i again.
It worked for me 😄

Nothing worked for me but removing the package from package.json and doing a fresh install with npm i --save react-native-vector-icons for getting the latest version (7.1.0)

I wiped the node_modules and re-did the install (yarn install for me). That did the job.

changing the node version to 14.16.0 resolved the issue for me.


Add special variable table for NDFD Elements

See https://github.com/NOAA-EMC/NCEPLIBS-wgrib2/blob/develop/wgrib2/NDFD_gribtab.dat which describes special NDFD elements product definitions.

I have implemented supplemental NDFD parameter category, number, and variable information.  See commits referenced above.


Error in the regex capturing groups example.

Chapter Identifying field values to mask by value contains invalid example for the capturing regex groups case.
In the example you use "\1" as the group reference but it does not work. We should use a dollar sign as a reference. Please look at java.util.regex.Matcher documentation.
I've spent some time wondering why "\1" does not work for me.

Fixed.  Thanks for the report!


Support for skip_while

Please add support for the skip_while operator (this one).

This should be pretty easy to add since it will be similar to the existing take_while()
This would be a great place to start for someone wishing to contribute to rxcpp!

closed - thanks to @nitrram !

@nitrram Thanks!


Get Error: Using Barcode Reader

When I upgrade the library with the latest release then I am getting following error: CallbackOnCollectedDelegate was detected
Message: A callback was made on a garbage collected delegate of type 'Gma.System.MouseKeyHook!Gma.System.MouseKeyHook.WinApi.HookProcedure::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will never be called.
Please anyone help me to resolve the above issue.

Problem was inside calling application not inside globalmousekeyhook.

me too.


detect beginning of new row. if last row is incomplete, add empty cells.

I found that some tables in MS-Word created documents have inconsistend grid_span attributes in a row (not matching the tblGrid's gridCol element count).
When accessing the ._cells property of such a table, it will not consider the row/column definition of the xml but just count the cells and assume that the cell count per row and all grid_span attributes are consistent with the tblGrid specification.
In my case there were 7 columns in the table but one row contained only grid_span attribues of 1 + 1 + 2 + 2 = 6. The next row and all succeeding rows would get partly wrapped around and were broken.
This merge request fixes the issue by detecting a row's start (see #232) and then filling any incomplete row with empty cells if necessary. Unit test is included.

Can you say how the documents were created and how one with this characteristic can be reproduced?

Hi Scanny, thats a good question. I currently only have a document that has been generated in MS Word by our customer. There are multiple people involved in the creation of this document, so it's not so easy to find out how exactly they produced this document - but I will give it a try. I have modified the original document to obtain a minimal version demonstrating the problem. The table has a gridCol definition of 7 columns. In this table the first line consists of cells that sum up to 7 columns, the second and third line each sum up to only 6 columns.
84_minimal_demo.docx

I talked once again to the customer. They're copy-pasting lot of cells and rows from tables in other documents. But we are still not able to reproduce such a document from scratch.
Do you think it makes sense to integrate this new-row-detection? In my opinion, even though the document is kind of corrupted, the behaviour of not-seeing the new row (which is defined in the xml) is not what we would expect from the library.

This is happening to me after converting doc to docx using Microsoft Office Migration Planning Manager. Resulting docx looks the same as the source doc visually, but internally it exhibits this issue.

Ah, that's a great datapoint @blackdaemon, it makes sense that the document was operated on by something other than Word itself. Thanks for mentioning that :)

@scanny Is this going to get merged in and be released?  I have come across this same issue with a bunch of files and my only solution at the moment would be to delete the extraneous column manually.  Getting this merged would be a huge help!

I wonder if this issue is related to the gridAfter and gridBefore properties. I have noticed in the table I'm working with that a fewer number of tcPr elements happens when trPr also has a gridAfter element defined for the row as non-zero. If either gridAfter or gridBefore are unspecified, zero is the default..
It seems to be the case that the the table's number of columns equals, for each row:
gridAfter (row property, zero if unspecified), plus
gridBefore (row property, zero if unspecified), plus
each cell's gridSpan property (one in each cell where it is unspecified).
For more details, see https://github.com/python-openxml/python-docx/issues/881

It's actually really easy to produce a table with a mismatch column count on Word.
On any table you can right click a cell and (I don't have Word in English so I'm guessing the names) insert -> insert cells... -> shift cells to the right. It will insert a single cell and shift the remaining cells of the row to the right. Or you can do the exact opposite and deleting a single cell with right click -> delete cells... -> shift cells to the left.
Both will produce a table with an inconsistent number of columns and accessing the table via row and column indexes will be unreliable.
The patch from 0-173 fix this issue.
By the way the issue #861 is probably the same.

Try https://github.com/python-openxml/python-docx/issues/881#issuecomment-1437979336


"too much recursion" when objects recursively reference each other

Version
3.2.29
Reproduction link
sfc.vuejs.org/
Steps to reproduce
When launching the repro in the SFC Playground, you will immediately notice the error "too much recursion". There are no additional steps required.
What is expected?
I expected to see no errors.
What is actually happening?
In the SFC Playground, you will notice the error "too much recursion". When running it locally, you might see something like this:
Uncaught (in promise) RangeError: Maximum call stack size exceeded
    at Function.[Symbol.hasInstance] (<anonymous>)
    at isDate (shared.esm-bundler.js?99c4:485:1)
    at looseEqual (shared.esm-bundler.js?99c4:386:1)
    at looseEqual (shared.esm-bundler.js?99c4:413:1)
    at looseEqual (shared.esm-bundler.js?99c4:413:1)
    at looseEqual (shared.esm-bundler.js?99c4:413:1)
    at looseEqual (shared.esm-bundler.js?99c4:413:1)
    at looseEqual (shared.esm-bundler.js?99c4:413:1)
    at looseEqual (shared.esm-bundler.js?99c4:413:1)
    at looseEqual (shared.esm-bundler.js?99c4:413:1)

To me, it looks like Vue is trying to deep-compare these objects and does not track already visited ones.

This is a data structure you might see e.g. when dealing with tree-like structures that are aware of their parents. One solution would be to filter out the "parent" information. But that could be non-trivial when using more complex data structures e.g. generated by a library.

Avoid the recursivity by marking the object as raw:

const parent = markRaw({
  children: [a, b]
})

If the data structure is something I can control, then this certainly works. But if the data structure is generated by some kind of (external) library, then you have to make the entire data structure non-reactive. Which of course does not really work if you are using this data structure in other parts of your application where you depend on reactivity.
I must say that I was a bit surprised in general that no simply identity check (===) is performed here. If you look at my example: If a and b have the same shape, then it is not possible to pre-select b. This probably happens because Vue does not perform identity checks, but rather compares object shapes. Is it possible to change this behavior?

Hello, any news on this please? Any schedule fix or work on it?
I'm experiencing the issue with an ORM like library where instances reference each other.

Hello, I have basically the same problem as @paul-thebaud, I've been trying several workarounds by now but haven't gotten a real solution yet.
Does any of you have at least a suggestion?
My particular problem is that I'm referencing back the "parent" entity I'm dealing with in order to compute things based on its state changes.
I actually make it work in basic cases, but when the parent-child relation goes beyond 3 steps deep, a "too much recursion" error appears and blocks everything.
Example:
Lead -> Deal -> SaleOrder -> Item

parent -> child
       -> parent -> child
                 -> parent -> child

The first 2 recursive links work well, but the third one breaks everything.
During my experiments, I've noticed a few things.
if I inject the parent like this
Object.defineProperty(child, path, { value: parent })

It actually does not break since it's not enumerable, but now the child doesn't notice the parent changes so nothing is recomputed. I'm looking for a simple way to maybe inject only a property that triggers this re-render process when the parent changes.
Any ideas here?
Maybe inject a forceUpdate (render) function in child obj to be triggered from parent?

If it helps for anyone out there, I figure a solution out of this using the following approach.

Stop using watchers. This makes me manually ensure the propagation of the changes, to do so I centralized the values mutation in the root, and all the required changes were pushed back to its parent using a {path: string, value: any} strategy to finally update back the root object in a single place and notify all children back with the regular Vue Observable proxy.
I ensured deleting the parent from the children's properties and injected it back using a none enumerable getter:

assignParent (child, path, parent) {
  if (!path || !child || child.constructor.name === 'Object') return

  if (!(path in child) || !child[path]) {
    delete child[path]
    Object.defineProperty(child, path, { get () { return parent }, enumerable: false })
  }
}

In my case, all the data structures are instances of an entity Class so I double-check this to mitigate other problems.

Once the new value is applied in the corresponding path, I notify the children's tree of it to "forceUpdate" only if required..

Does any of you have at least a suggestion?

instead of Object.defineProperty, I solved this problem with markRaw as hinted above - not sure why it doesn't work for you. In my case, I changed my pinia getter from
{
  ...,
  children: [...],
  parent: parent
}

to
{
  ...,
  static: markRaw({
    children: [...],
  },
  parent: parent
}

and then access children as x.static.children whenever necessary. It's not reactive anymore then, true, but that's probably not a dealbreaker?

the overall point is: this only happens when these two conditions are met:

a raw object is being compared to its reactive counterpart with the internal looseEqual() helper.
the object contains circular references, i.e. a self-reference

Thus, as a workaround, you can either make all your data raw or reactive.
playground (note lines 4+5)
As to why this hasn't been solved yet: it's a bit tricky. The most straightforward solution would to make looseEqual also check the raw values if any of the comparators are reactive proxies. But since we use the looseEqual()function in quite a few places, we have to verify that "rawObj === itsReactiveProxy // => true`" is not creating a problem in those other places.
And we simply haven't gotten around to do that, since this is also kind of an edge case and can be worked around as shown above


Uncaught Error: Cannot read property 'object' of undefinedTypeError: Cannot read property 'objec...

[Enter steps to reproduce:]

...
...

Atom: 1.17.0 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
at ObjectsRegistry.get (/Applications/Atom.app/Contents/Resources/electron.asar/browser/objects-registry.js:41:28)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:306:31)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:222:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
At /Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:217

Error: Cannot read property 'object' of undefined
TypeError: Cannot read property 'object' of undefined
    at ObjectsRegistry.get (/Applications/Atom.app/Contents/Resources/electron.asar/browser/objects-registry.js:41:28)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:306:31)
    at emitMany (events.js:127:13)
    at EventEmitter.emit (events.js:201:7)
    at WebContents.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:222:13)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:217:13)
    at undefined.remoteMemberFunction (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:113:18)
    at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:663:1)
    at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:697:1)
    at WindowEventHandler.module.exports.WindowEventHandler.handleWindowBlur (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:184:1)
    at /Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:3:1

Commands
 10x -5:06.2.0 core:move-down (input.hidden-input)
     -5:04.5.0 core:move-right (input.hidden-input)
     -5:04.0 core:move-left (input.hidden-input)
     -5:03.7.0 core:move-right (input.hidden-input)
     -5:03.3.0 core:save (input.hidden-input)
  4x -5:02.9.0 core:move-down (input.hidden-input)
  4x -5:02.1.0 core:move-up (input.hidden-input)
     -5:01.2.0 core:save (input.hidden-input)
  2x -0:35.4.0 pane:show-item-1 (input.hidden-input)
  2x -0:31.6.0 core:move-up (input.hidden-input)
  5x -0:30.8.0 core:move-right (input.hidden-input)
     -0:29.4.0 core:save (input.hidden-input)
 24x -0:29.1.0 core:move-right (input.hidden-input)
  2x -0:26.2.0 core:backspace (input.hidden-input)
     -0:25.8.0 core:move-right (input.hidden-input)
     -0:24.6.0 core:save (input.hidden-input)

Non-Core Packages
atom-cscope 1.0.0
minimap 4.28.2

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #11692. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


You cannot specify "tags" in your file uploads that aren't whitelisted in the API key's settings (see "tag permissions" configured for this API key).

You cannot specify "tags" in your file uploads that aren't whitelisted in the API key's settings (see "tag permissions" configured for this API key).

Add * to allow all tags in api settings.


Set secondary/tertiary job priority - 1.0.5 version

Sets a secondary and tertiary job priority to help finishing work up when there are several workflows/jobs with the same jobprio. 1.0.5 version of #5749, you can also find more info there.

@amaltaro, Alan, can I merge this?

Yes, Brian helped me to test this one. I'll also push to production tomorrow.


Syft looks for the config file in $PWD, not in the target directory. Intentional?

What happened:
When a processing a directory, e.g. syft ~/repos/syft, Syft does not read the .syft.yaml config file in the target directory. It reads the one in the current directory instead.
What you expected to happen:
Expected Syft to read <target directory>/.syft.yaml rather than $PWD/.syft.yaml
Steps to reproduce the issue:
In the root of this repository:
cat << EOF > .syft.yaml
exclude:
- "**/test-fixtures"
- "./.github"
EOF

function count_packages_by_purl_type() {
  local dir=$1
  syft "$dir" -o cyclonedx-json |
    jq '.components[].purl | try match("pkg:[^/]*").string catch "<no purl>"' |
    sort | uniq -c | sort -h
}

count_packages_by_purl_type . 2>/dev/null
#   1675 "pkg:golang"

cd ..

count_packages_by_purl_type ./syft 2>/dev/null
#      1 "pkg:rpm"
#      2 "pkg:ebuild"
#      2 "pkg:nix"
#      4 "pkg:composer"
#     10 "pkg:swift"
#     13 "pkg:cargo"
#     13 "pkg:pub"
#     18 "pkg:apk"
#     18 "pkg:conan"
#     28 "pkg:nuget"
#     30 "<no purl>"
#     39 "pkg:github"
#     39 "pkg:pypi"
#     44 "pkg:hex"
#     46 "pkg:cocoapods"
#     47 "pkg:generic"
#     55 "pkg:hackage"
#     57 "pkg:npm"
#     59 "pkg:maven"
#    109 "pkg:gem"
#   1690 "pkg:golang"

Environment:

Output of syft version:

Application: syft
Version:    0.99.0-SNAPSHOT-0e5fb8e0
BuildDate:  2024-01-03T13:16:47Z
GitCommit:  0e5fb8e01fd0b4f48b69b5cedefd876e756f6d61
GitDescription: v0.99.0-8-g0e5fb8e0
Platform:   linux/amd64
GoVersion:  go1.21.5
Compiler:   gc

(built with make build from 0e5fb8e01fd0b4f48b69b5cedefd876e756f6d61)

OS (e.g: cat /etc/os-release or similar): Fedora Linux 39 (Workstation Edition)

Hi @chmeliik, thanks for the report. I think our intention here is indeed to find the syft configuration file in the current working directory, and not in the target directory. However, if you'd like to include a config file in the directory to be scanned, you can specify a particular config file using --config or -c on the syft command line. Would that suit your needs? I can definitely understand the need for custom configurations per directory being scanned.

Given that some of the configuration options feel like they're scoped to the thing I'm scanning (e.g. exclude), it seemed strange that Syft should read the configuration in the current directory rather than the one it is scanning.
But if that's intended that's OK, using --config or making sure I'm in the right directory will work for me :+1:

Sure, I understand your reasoning here, but I think we will preserve existing behavior. Glad the --config method will work for you. I'll close this issue out but please let us know if you need anything else. For reference, here's the section of the README docs describing the config parsing: https://github.com/anchore/syft#configuration


chore: include all commits in the changelog

release-please creates a release PR after it notices the default branch contains "releasable units" since the last release. By default, releasable units are commits tagged as feat, fix, or deps (we're not using this one). So, currently, we can release a new version only if there is at least one feat or fix commit since the last version.
Sometimes, we'd like to release a new version even if there are no feat or fix commits. In particular, in some cases when there are commits tagged with:

perf - the new version will have better performance
chore - we use chore for dependency upgrades too
docs - to update README on npm

Also, only releasable units appear in changelogs, while we used to list all commits.
In the last TSC meeting, we decided to configure release-please so that all commits will trigger the creation of a release PR.
Since we control if and when the PR will be merged, there is no harm in that.
Per https://github.com/googleapis/release-please/issues/1312, anything that is visible in the changelog is considered releasable, so configuring release-please to include all of our commit tags in changelogs should do the work.
I configured the changelog-types  option to include all 9 tags we're using. Section names are the same as in eslint-release. I tested this in a repo and all seems to be working fine, except that I didn't figure out how to reorder the sections to match eslint-release's order, which is: Features - Bug Fixes - Documentation - Build Related - Chores. Features and Bug Fixes are always first, but after that, it seems that release-please orders the remaining sections alphabetically, so we'll have: Features - Bug Fixes - Build Related - Chores - Documentation.

Any reason to not just dump Build Related under Chores as well?


Docs about various entities that affect graph execution

As introduced by the new ecto::BREAK discussed in #279.
Also removed the redundancies in the install docs (2x install instructions and 2x dependencies)
and cleaned the place up a bit.

leaving this typo aside, +1 to merge this.
side remark:

Otherwise, ecto is still easy to build from source:

Imo the described build process is horrible and not easy at all :D

I agree somewhat about the source install instructions...the described build process is awkward and was definitely confusing to my team mates since nowhere else in ros do they describe installing sources like this.
I get the sentiment though. He (whoever wrote the initial docs?) is describing a very minimal install process for catkin. There doesn't need to be a For ROS Users section since ecto can often be used without any ROS at all.  We use catkin for all our development, but use ROS for only about 30% of it.
Changes I would like to make:

Brief explanation about catkin and links to docs at the start of the install from source page.
Don't mix instruction styles - i.e. try to stick to instructions on ubuntu w/ catkin
No pip instructions in the install step (for reference, just pure ubuntu instructions)
Pip install for breathe in the doc part (no apt-get package for that).
Use catkin_make instead of pure cmake instructions (it's not a tutorial about how catkin is a wrapper around cmake).

Questions

Outline the download process using wstool instead of linking CMakeLists.txt and git cloning?

Brief explanation about catkin and links to docs at the start of the install from source page.
If this explains that catkin can but does not have to be used with ROS, this would make a For ROS Users section unnecessary.

Use catkin_make
At least, this would streamline the build instructions with the standard ROS catkin build process, so technically +1.

Outline the download process using wstool instead of linking CMakeLists.txt and git cloning?
+1 to wstool (this would require wstool in the dependencies though)
The CMakeLists.txt is not installed by wstool, but by catkin_init_workspace.

Ach, sorry lads. Accidentally commited from the wrong branch and closed this. @v4hn I did follow up on your comments in 9ebdd37c.
I have a preview copy of the docs as they stand now at http://files.yujinrobot.com/tmp/ecto/index.html.

Looks good to me,
this leaves #282 before a new ecto release should be pushed.

doc got updated and build got triggered, we're good to go.


Possible missing packageInfo property in JavaSurfaceTransformer

This issue was discovered with a static analysis tool we are developing.  We are not fully confident it is a real bug, but it was suspicious enough that we thought it was worth reporting.
In PackageInfoView, the output path is a required property (no @Nullable annotation):
https://github.com/googleapis/gapic-generator/blob/768b9f60d7b02479b1bef35ba4bac8af5a1723c4/src/main/java/com/google/api/codegen/viewmodel/PackageInfoView.java#L29-L30
But in JavaSurfaceTransformer this property seems to only be set if some conditions are met:
https://github.com/googleapis/gapic-generator/blob/768b9f60d7b02479b1bef35ba4bac8af5a1723c4/src/main/java/com/google/api/codegen/transformer/java/JavaSurfaceTransformer.java#L746-L753
If the findFirst() call returns an empty Optional, then outputPath() never gets called on the builder, and the subsequent call to packageInfo.build() will cause a crash.  It is possible that findFirst() will never return an empty Optional in which case the crash will never occur; we are not sure.
We hope this report was helpful!

@hzyi-google when you get a chance, would you mind investigating this issue and reporting back on if it is possible/is it a concern? Thank you!

Hi @msridhar, thank you so much for letting us know this issue, and your static analysis tool sounds truly amazing!
Yes your analysis is totally correct. This is indeed a code path that is not explicitly handled. In real world, however, this would (almost) never happen because the pipeline would have failed earlier. But I agree there are still potential risks of crashing without helpful debugging information.
I am working on a PR to have the stream throw an IllegalStateException when the Optional is empty.

Thanks for the feedback @hzyi-google!  We are very happy to know that this report was useful.  We are working on making our tool more robust so it is usable by other developers; we will publicize the tool more once we hit that milestone.  Thanks again!

@noahdietz @hzyi-google quick question.  Would it be of interest for us to put up a pull request adding our checker to the CI builds for gapic-generator, once it is more mature and ready?

@msridhar Thanks for offer. We will discuss it and get back to you in a few days.

Hi @msridhar so this sounds interesting. Why don't you come back in a few months when it is fully ready and we can discuss the possibility of integrating it. Thanks!

Sounds good @noahdietz! I’ll open a proposal issue before creating a full PR so I can give more details and we can have a discussion.


Question: Unlimited GPhotos Storage Bans

Hey, just a quick question; have there been any reports of people getting their Google accounts banned due to use of the Unlimited Photos Storage feature?

Haven't heard of any, but I've uploaded maybe 400gb at once without any issues (I backed up all my photos using takeout, deleted them and reuploaded them to save on storage)

Haven't heard of any, but I've uploaded maybe 400gb at once without any issues (I backed up all my photos using takeout, deleted them and reuploaded them to save on storage)

Amazing, how long has it been since you did that?

Don't really remember? A year or two ?

Here to ask if there's been any reports for account bans using this module lately?


Element types

Hi there,
I recognized that in the following code the key and value type of x is not available as well as the element type of y.
x = {}
x[1] = 2 # or
#x.update({1: 2})

y = []
y.append(1)

Imho this should be resolvable.

Those need special treatments. For now I added support for
x = {}
x[1] = 2