[GUI] BUG "Content directory not accessible!"

Program version
3.0.1
Service
Both
Command used
[GUI]
Show ID
4036736
Episode
7
Console Output
[INFO] Popup response: 1
C:\Users\W\AppData\Local\Programs\multi-downloader-nx\resources\app.asar\gui\electron\build
Express started
[ERROR] Content directory not accessible!
[INFO] Token not set!

[#4036736] The Genius Prince's Guide to Raising a Nation Out of Debt (2022)
[INFO] Authentication success, your token: ba3571f8********************************

[ERROR] Can't save token file to disk!
[#4036736] The Genius Prince's Guide to Raising a Nation Out of Debt (2022)
[0001] The Genius Prince's Guide to Raising a Nation Out of Debt - #01 The Prince Who Would Sell His Kingdom (00:23:41) [HD1080, Japanese]
[0002] The Genius Prince's Guide to Raising a Nation Out of Debt - #02 Wein Salema Arbalest, Battlefield Tactician (00:23:41) [HD1080, Japanese]
[0003] The Genius Prince's Guide to Raising a Nation Out of Debt - #03 A Proposal as a Pretext (00:23:40) [HD1080, Japanese]
[0004] The Genius Prince's Guide to Raising a Nation Out of Debt - #04 It Takes Two to Tango (00:23:40) [HD1080, Japanese]
[0005] The Genius Prince's Guide to Raising a Nation Out of Debt - #05 A Diabolical Scheme (00:23:40) [HD1080, Japanese]
[0006] The Genius Prince's Guide to Raising a Nation Out of Debt - #06 Holy Intrigue! (00:23:39) [HD1080, Japanese]
[0007] The Genius Prince's Guide to Raising a Nation Out of Debt - #07 Yesterday's Enemy Is Today's... (00:23:40) [HD1080, Japanese] (selected)

[#4036736] The Genius Prince's Guide to Raising a Nation Out of Debt (2022)
[0001] The Genius Prince's Guide to Raising a Nation Out of Debt - #01 The Prince Who Would Sell His Kingdom (00:23:41) [HD1080, Japanese]
[0002] The Genius Prince's Guide to Raising a Nation Out of Debt - #02 Wein Salema Arbalest, Battlefield Tactician (00:23:41) [HD1080, Japanese]
[0003] The Genius Prince's Guide to Raising a Nation Out of Debt - #03 A Proposal as a Pretext (00:23:40) [HD1080, Japanese]
[0004] The Genius Prince's Guide to Raising a Nation Out of Debt - #04 It Takes Two to Tango (00:23:40) [HD1080, Japanese]
[0005] The Genius Prince's Guide to Raising a Nation Out of Debt - #05 A Diabolical Scheme (00:23:40) [HD1080, Japanese]
[0006] The Genius Prince's Guide to Raising a Nation Out of Debt - #06 Holy Intrigue! (00:23:39) [HD1080, Japanese]
[0007] The Genius Prince's Guide to Raising a Nation Out of Debt - #07 Yesterday's Enemy Is Today's... (00:23:40) [HD1080, Japanese] (selected)

[INFO] Servers available:
	vmfst-api.prd.funimationsvc.com
[INFO] Available qualities:
	 1: 416x234 (459KiB/s)
	 2: 640x360 (718KiB/s)
	 3: 768x432 (1129KiB/s)
	 4: 768x432 (1539KiB/s)
	 5: 960x540 (2549KiB/s)
	 6: 1280x720 (3582KiB/s)
	 7: 1280x720 (5166KiB/s)
	 8: 1920x1080 (6840KiB/s)
	 9: 1920x1080 (8787KiB/s)
[INFO] Selected layer: 9 (1920x1080) @ vmfst-api.prd.funimationsvc.com
[INFO] Stream URL: https://vmfst-api.prd.funimationsvc.com/FunimationStoreFront/V2779825/0281b1fe-1819-43f5-8072-bbd825ba0958strnv-hl154_streaming_video_1920_1080_7800000_index.m3u8?t=exp%3D1646086823%7Eacl%3Dhttps%3A%2F%2Fvideo.prd.funimation.com%2FFunimationStoreFront%2FV2779825%2F*%7Ehmac%3D1f0fda6f6488c39125ea5dbaa7abfc4a156f081696f970296ba2dc7de1080c06
[INFO] Output filename: [Funimation] The Genius Prince's Guide to Raising a Nation Out of Debt - S01E07 [1080p].ts
Error occurred in handler for 'downloadItem': Error: ENOTDIR, not a directory
    at createError (node:electron/js2c/asar_bundle:5:1336)
    at Object.e.mkdir (node:electron/js2c/asar_bundle:5:12368)
    at node:internal/util:363:7
    at new Promise (<anonymous>)
    at Object.mkdir (node:internal/util:349:12)
    at C:\Users\W\AppData\Local\Programs\multi-downloader-nx\resources\app.asar\funi.js:874:84
    at step (C:\Users\W\AppData\Local\Programs\multi-downloader-nx\resources\app.asar\funi.js:63:23)
    at Object.next (C:\Users\W\AppData\Local\Programs\multi-downloader-nx\resources\app.asar\funi.js:44:53)
    at step (C:\Users\W\AppData\Local\Programs\multi-downloader-nx\resources\app.asar\funi.js:48:139)
    at Object.next (C:\Users\W\AppData\Local\Programs\multi-downloader-nx\resources\app.asar\funi.js:44:53) {
  code: 'ENOTDIR',
  errno: -20
}

Additional Information
I am using the Windows build, with Windows 10 Enterprise LTSC.
It appears that %LocalAppData%\Programs\multi-downloader-nx\resources\app.asar is being treated as a directory?
Error occurs when downloading, or simply pressing the "Open Output Directory" gives me the following error:
"Windows cannot find 'C:\Users\W\Appdata\Local\Programs\multi-downloader-nx\resources\app.asar\videos'. Make sure you typed the name correctly, and then try again."

Fixed with the newest commit and later in version 3.0.2 when it will release.

The release is now released.


Failed to load projects.cson

Hi,
Kudos on the awesome work you have done! :+1: :smiley:
Today the project manager crashed showing the error from issue 207.
I restarted Atom but then all my projects but one were gone. I opened projects.cson and the projects were there. I pressed cmd+s and got the following error:
Failed to load projects.cson
Maximum call stack size exceeded.

I am using templates in my projects. Below is my projects.cson file.
"proj-template":
  group: "Shore"
merchantsearchwidget:
  title: "Merchant Search Widget"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/merchant-search-widget"
  ]
"shore-core":
  title: "Core (Web)"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/web"
  ]
merchanttablewidget:
  title: "Merchant Table Widget"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/merchant-table-widget"
  ]
team:
  title: "team"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/team"
  ]
merchantappointmentwidget:
  title: "Merchant Appointment Widget"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/merchant-appointment-widget"
  ]
merchanttableadapters:
  title: "Merchant Table Adapters"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/merchant-table-adapters"
  ]
merchantpaymentswidget:
  title: "Merchant Payments Widget"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/merchant-payments-widget"
  ]
tabscomponent:
  title: "Tabs Component"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/tabs-react-component"
  ]
dry:
  title: "DRY"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/dry"
  ]
merchantbookingwidget:
  title: "Merchant Booking Widget"
  template: "proj-template"
  paths: [
    "/Users/Work/Proj/git/merchant-booking-widget"
  ]

Have you tried reloading Atom after the update?

Yes, I restarted Atom several times.

Sorry, just noticed you said you restarted after the first error. Not sure what could cause it. What OS do you have? I know it there have been some error on certain Linux distribution before.

I am running latest OS X El Capitan. Is there a place where I can see Atom/packages error logs?

I had the same problem with OS X 10.11.4, Atom 1.6.0, and project-manager 2.8.0. I uninstalled project-manager, restarted Atom, and reinstalled project-manager. That fixed it for me.

@tfausak ,
Thanks. Unfortunately your suggestion didn't fix it for me.

I also tried @tfausak's fix and it didn't fix it for me either. I do seem to be able to save my changes and restart Atom and it works. Doesn't seem ideal though.

This means I have to go ahead an re-open/re-save all my projects. :/
It seems that the issue only occurs if I try to edit project.cson manually, e.g. paste a project config from my backup or even just open project.cson and hit save.

On Mar 29, 2016, at 18:44, Wes Baker<EMAIL_ADDRESS>wrote:
I also tried @tfausak https://github.com/tfausak's fix and it didn't fix it for me either. I do seem to be able to save my changes and restart Atom and it works. Doesn't seem ideal though.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/danielbrodin/atom-project-manager/issues/209#issuecomment-202967126

Seeing this too...

OS X 10.11.4
Atom 1.60
Project Manager 2.8.0

Tried uninstalling the plugin, restarting atom, then reinstalling - still get the stack trace error when I try to save the projects.cson

I should have said that I also deleted ~/.atom/projects.cson and ~/.atom/.apm/project-manager. I figured that didn't have any effect, but maybe it did.

I found some old code still hanging around that I have removed that could perhaps screw with this, so please try updating, reload atom och see if it's any better

Still having the same issue :(

Atom 1.6.1
Project Manager 2.9.0

I updated, restarted Atom and imported my projects. Upon saving I got that dreaded message again.

If you open the developer tools (View > Developer > Toggle Developer Tools), do you get any message there that seems like it could have anything todo with Project manager?

No. The console is clean.

Sorry, but I have still not been able to reproduce the error which makes it hard to fix it.

If you empty the projects.cson and use Project Manager: Save Project for just one project, does it work then?

Using Project Manager: Save Project works fine until I try to save more than 2 projects.
The third Project Manager: Save Project save attempt brings the issue back.
Maybe it will be helpful to mention that I have several projects opened in separate editor windows.

Ohhh, I might have just found the problem. A line of code had for some reason moved up a line so it did a save for each saved project. Please update and try again.

Still getting the same error when there are multiple editor windows opened.
Interesting thing I've noticed is that the each window gets the error reported as many times as there are windows open - 1. That is if there are three open editor windows and in the third one I hit Project Manager: Save Project the error pops up twice in the first window, once in the second one and it doesn't pop up in the third one.

Did you reload each window after updating?

This is what I did:

update Project Manager
quit Atom (no windows)
open Atom
save project using Project Manager: Save Project
open another window and load another folder
save project using Project Manager: Save Project (this caused an error in the first window but not in the second one)
open a third window and load another folder
save project using Project Manager: Save Project (this caused another error in the first window, new error in the second window, no error in the third window)

All projects were saved and are showing up in the list but the error is still there.

Also Having this problem:

Ubuntu 14.04
Atom 1.6.1
Project Manager 2.9.3

Attaching the console log, just in case you are still not able to reproduce:
https://gist.github.com/itamargiv/de4a568250439d9a88eda872a39e9112
The stack is very long, tl;dr:
    at Object.plus.mapObject (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:287:17)
    at Object.plus.deepClone (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:130:21)
    at /opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:132:31
    at Object.plus.mapObject (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:287:17)
    at Object.plus.deepClone (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:130:21)
    at Object.plus.deepExtend (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:152:25)
    at Object.plus.deepExtend (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:149:32)
    at Project.updateProps (/home/itamar/.atom/packages/project-manager/lib/project.js:59:20)
    at /home/itamar/.atom/packages/project-manager/lib/project.js:151:18

Seems like a loop is starting here until memory runs out

Nice work. How did you get the stack trace? My console is clean
Sent from my iPhone

On Apr 2, 2016, at 13:47, Itamar Givon<EMAIL_ADDRESS>wrote:
Attaching the console log, just in case you are still not able to reproduce:
https://gist.github.com/itamargiv/de4a568250439d9a88eda872a39e9112
The stack is very long, tl;dr:
at Object.plus.mapObject (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:287:17)
at Object.plus.deepClone (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:130:21)
at /opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:132:31
at Object.plus.mapObject (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:287:17)
at Object.plus.deepClone (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:130:21)
at Object.plus.deepExtend (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:152:25)
at Object.plus.deepExtend (/opt/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:149:32)
at Project.updateProps (/home/itamar/.atom/packages/project-manager/lib/project.js:59:20)
at /home/itamar/.atom/packages/project-manager/lib/project.js:151:18

Seems like a loop is starting here until memory runs out
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

I just reproduced the steps with the open console. However, quirky enough, now I can't reproduce the issue...
:confused: I didn't restart Atom nor Ununtu ever since yesterday.

Same error as @pehota for me too

Same here. I noticed that it only happens for a few paths. If I clean my projects.cson completely it works at first. But as soon as I add certain project paths I get the error (with the same stack trace @ itamargiv  posted above). I have not yet figured out what it is that makes those paths special :(

Ok, please try the latest patch. Should hopefully fix the issue :)

It's still erroring for me unfortunately

deleting the line referencing the config file
Which line would this be?

From what I can tell with the latest version things got worse. When starting project manager still does not load all projects. When editing projects.cson it doesn't throw an error anymore but hangs infinitely instead :(

Correction: It does not hang infinitely, it just takes longer as before, than fails with this error:
Uncaught RangeError: Maximum call stack size exceeded
/usr/share/atom/resources/app.asar/node_modules/underscore-plus/lib/underscore-plus.js:126

Obviously a infinite recursion happening. The stack trace is too long to post here, I have pasted it here:
https://gist.github.com/phw/e158fe316855bcac68f86dfd6fbcf671

I upgraded PM to the latest version and restarted Atom. Imported my old project.cson and Atom hung taking up more than 100% CPU. I killed it and restarted it, and then PM started working fine. I will post more updates if anything comes up but ... So far, so good.

Ok, this time I actually think I have fixed it. An update have been pushed so please let me know if you find any problems.

Works perfectly for me :+1:
Thanks @danielbrodin :)

Seems to have fixed it for me too! :smile:

Thank you, great fix.
OSX 10.11.4
Atom 1.6.2
apm 1.6.0
This issue should be closed.

Great :) Thanks all for helping me track down the issue :)


Use true-email-validator for email type

Work for this issue will begin begin on branch work-liquid-labs/string-input/7.


[Enhancement] Add paths-ignore rule to adapt skywalking-eye's update

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request

Skywalking-eye has merged a commit to remove the default ignore rule of ".txt" file which makes our Licenses Check CI pipeline fail since we have lots of ".txt"  Licenses files.
We should add the paths-ignore rule to fix that.
Describe the solution you'd like
add ignore rule.
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

nice job!


Search SPFx WP updates to support RC0

Q
A

Bug fix?
no

New feature?
yes

New sample?
no

What's in this Pull Request?
This PR contains all the updates necessary for the Search Rect SPFx WP to support RC0.

thx Elio. I'll also update the version details on this as a separate PR, but otherwise all good.


Introduce optional memory ballast

This change add an optional memory ballast to help with ease GC pressure
in high thoughput scenarios

Added new CLI flag called --mem-ballast-size-mib which represents
the size of memory ballast to use in MiB. Omitting the value or setting
it to zero does not set the ballast.

Updated process telemetry code to account for the ballast and report
memory usage statistics after subtracting the ballast size. I'm not sure
if this makes sense in every scenario. If not, we can add another flag
to disable the behaviour. Another option is to add one more metric that
just exports the memory ballast size as a static number and then let
metric consumers to adjust the numbers.

https://blog.twitch.tv/go-memory-ballast-how-i-learnt-to-stop-worrying-and-love-the-heap-26c2462549a2
https://github.com/golang/go/issues/23044
Effects
We've seen 30-50% increase in throughput and were able to considerably reduce the size of our collector cluster at Omnition.

@owais FYI, build failure is a known bug: https://github.com/open-telemetry/opentelemetry-service/issues/43
I submitted a patch to Jaeger, waiting for them to accept it. For now you can re-run the build when you see this particular issue.
If they don't accept the patch quickly we will have to introduce workarounds into our code.


Fixing Resource Leaks identified by Coverity Scan

These Resource Leaks were identified at https://scan.coverity.com/projects/libgdiplus

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

This might just be what it found, but there could be more, the latest release is causing massive memory leaks for various mono apps in some cases a couple GB per hour not cleared. Solution? Revert back to distro version which in some cases is 2 versions behind current. This hopefully fixes some of the leaks, it should really be merged asap!

@Tampa do you have some sample code/project which reproduces the leaks you're seing?

I cherry-picked this commit to master as well.

OpenSimulator with mono 6.4 and libgdiplus 6.0.4 was 4gb average usage, now within a day 34gb. You can find me on their freenode irc #opensim-dev, setup of that project is a bit difficult would spam this comment box to next week.

Hm that sounds like a quite complicated setup to reproduce the issue, do you think you could create some smaller sample? I don't have a lot of time right now unfortunately.

I could try to build master and see if I can replace the installed version with that and do testing, if there was a repo I could just add to apt that would make it easier though(not to keen to building on cloud machines). If you need any debug or reports let me know how to generate them, I have a fairly singular testing method to reproduce the leak now.


Minor: remove useless log messages from connector configs validation

Connector validation API is useful in validating connector configs before starting connector. And our application counts on it to generate friendly feedback to users. However, Connector validation API always log all configs when handling validation request since it creates AbstractConfig to check the overridable configs (introduced by #6624) and AbstractConfig, by default, logs all configs. In our case, the worker logs are filled with the following messages when there are a log of validation requests.
INFO AbstractConfig values:
xxx
xxx
xxx

It seems to me the response of Connector validation API is good enough.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/5097/testReport/

the flaky "KafkaBasedLogTest.testSendAndReadToEnd" is already fixed by #8255

@mageshn Could you take a look? thanks!

the related code were introduced by #6624. @ijuma Could you take a look?

@kkonstantine thanks for suggestion!

If by Connect validation API you are referring to the /config/validate endpoint of the Connect REST API, I'd argue that just a response from this endpoint, as a way to list the connector configs, is hardly sufficient.
To the contrary, Worker logs that contain a connector's configuration among other valuable information are the single most important source of information when troubleshooting connectors.

I totally agree that the connector's configuration are the useful information when troubleshooting connectors. However, the "configuration" I mentioned is not used by any connectors. Instead, it is just a temporary result. For example, users may use /config/validate multi-times before sending creation request and worker log are full of INFO AbstractConfig values.
At any rate, could we change the log level from INFO to DEBUG at least for this case?

I totally agree that the connector's configuration are the useful information when troubleshooting connectors. However, the "configuration" I mentioned is not used by any connectors. Instead, it is just a temporary result. For example, users may use /config/validate multi-times before sending creation request and worker log are full of INFO AbstractConfig values.
At any rate, could we change the log level from INFO to DEBUG at least for this case?

Unfortunately AbstractHerder#validateConnectorConfig is not only used when you hit the endpoint {connector}/config/validate. It's also used by other endpoints when you create or reconfigure a connector.
Maybe you want to describe more your use case, but taking a step back, by default Connect now has the option to export the logs in files and rotate those files - a setting that can be configured even further to accommodate situations where the log becomes more verbose.
I'm not sure that by silencing this log we are gaining a lot.

Unfortunately AbstractHerder#validateConnectorConfig is not only used when you hit the endpoint {connector}/config/validate. It's also used by other endpoints when you create or reconfigure a connector.

My idea is to add an new construct to AbstractConfig for this case so log level is "able" to be DEBUG. for example, new AbstractConfig (xxx, xxx, debugLevel = true)

Maybe you want to describe more your use case

In short, our UI offers the visual "feedback" of configs validation. Users can get the validation response immediately after entering any config change (for example, users see the suggestion "this field must be a number" immediately after they enter a string). In order to address the function, we send a bunch of validation request to worker.. The worst case - a lot of users are configuring their connectors - there is a log file contains only INFO AbstractConfig values...

I'm not sure that by silencing this log we are gaining a lot.

I'm going to close this PR as a result of objection.

but taking a step back, by default Connect now has the option to export the logs in files and rotate those files - a setting that can be configured even further to accommodate situations where the log becomes more verbose.

@kkonstantine thanks for suggestions !

I actually agree with @chia7712 that it's pretty surprising to see these.logs when calling a validate endpoint.

Thanks for the follow up @ijuma.
Indeed, maybe I wasn't clear in the beginning, but I was referring to the proposed implementation in its current form, that would silence these logs under all circumstances (roughly calls to validate, create, and configure a connector).
As we were discussing the issue with @chia7712, I also didn't like the fact that validating a connector could generate this type of noise. In my last comment I highlighted the need to decouple the calls to Herder#validateConnectorConfig depending on whether this call happens from the {connector}/config/validate endpoint, or while creating or reconfiguring a connector.
Such decoupling would probably involve adding a method
ConfigInfos validateConnectorConfig(Map<String, String> connectorConfig, boolean doLog);
next to the existing one, to the Herder interface or the AbstractHerder class only.
What do you all think?

Sounds good to me.

@chia7712 I'm reopening this PR. Feel free to amend the commit to follow the more detailed approach described above.

I'm reopening this PR. Feel free to amend the commit to follow the more detailed approach described above.

@kkonstantine Got it. the commit is updated!

flaky StandbyTaskEOSIntegrationTest is traced by #8330

retest this please

retest this please


I need to share multiple GPUs on a server with my colleagues, so how do I specify which GPUs to use for training when I am using them?

insert
os.environ["CUDA_VISIBLE_DEVICES"] = "0,1,2,3,4,5,6,7"
in your main


Update scalacheck to 1.16.0

Updates org.scalacheck:scalacheck from 1.15.4 to 1.16.0.
GitHub Release Notes
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

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

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Codecov Report

Merging #1940 (5947ed3) into main (a015255) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1940      +/-   ##
==========================================
+ Coverage   86.13%   86.21%   +0.07%
==========================================
  Files          73       69       -4
  Lines        2532     2503      -29
  Branches      129      132       +3
==========================================
- Hits         2181     2158      -23
+ Misses        351      345       -6

Flag
Coverage Δ

2.12.15
?

2.13.8
86.21% <ø> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...re/shared/src/main/scala/io/circe/KeyDecoder.scala
97.50% <0.00%> (-2.50%)
:arrow_down:

...es/core/shared/src/main/scala/io/circe/Error.scala
61.76% <0.00%> (-1.40%)
:arrow_down:

...core/shared/src/main/scala/io/circe/CursorOp.scala
54.16% <0.00%> (-1.39%)
:arrow_down:

...nter/src/main/scala/io/circe/pointer/Pointer.scala
89.34% <0.00%> (-0.13%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
83.63% <0.00%> (-0.05%)
:arrow_down:

.../src/main/scala-2/io/circe/EnumerationCodecs.scala
100.00% <0.00%> (ø)

...rc/main/scala-2/io/circe/EnumerationDecoders.scala
100.00% <0.00%> (ø)

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
88.30% <0.00%> (ø)

...rc/main/scala-2.12/io/circe/FactoryInstances.scala

...in/scala/io/circe/pointer/PointerSyntaxError.scala

... and 2 more

Continue to review full report at Codecov.

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

Updated in #2017.


Add CI status badges

Using this commit to trigger the newly set up CI on this repo.

The Windows failures are because we need the current master version of HTTP, which is not yet in a tag. (More specifically, we need HTTP.URIs.normpath, which when not defined is Base.normpath, which on Unix works almost exactly the same as URI path normalization, but on Windows turns / into \.)


Integrate with detekt-hint

The previous PR got messy, so i created a new one only containing the new implementation.
I have now changed the implementation so that PRs from forks should work. Now, the only required files are the config file and the new github action that will run detekt-hint.

I have addressed your comments @BraisGabin, please let me know if there is anything else 👍

Unfortunately, a limitation related to permissions for the GITHUB_TOKEN has appeared. The integration will not work across forks.
In desperate need of feedback on this tool; Can i create comments on pull-requests as if the integration was working? Manually posting comments with another user, just as if the tool were integrated and working automatically. This way i can see if the tool will provide any real value, and i can continue working on a solution to the above limitation.

The limitation that you point out can be fixed if you use a github app. But you will need a backend to handle all of that. And an easy way for the people to install your app in its repo. I have a prove of concept for a similar backend: https://github.com/BraisGabin/seshat
About approving/merging this PR I really don't understand the point of it so I'm waiting for the other maintainers to comment here. That wrote in the previous pr so I suppose that they will can take a better decission.

The limitation that you point out can be fixed if you use a github app. But you will need a backend to handle all of that. And an easy way for the people to install your app in its repo. I have a prove of concept for a similar backend: https://github.com/BraisGabin/seshat

Ah nice, maybe i need to have a go at doing that. Do you know how it will work for forks? When forking a repository using a certain github app, will one get a "copy" of the app with the same permissions that were requested during installation in the main repository?

The fork will not have that permissions. You will need to install the app in your repo too. Similar as how travis work. BUT if you open a PR to the upstream repo it will work.

The fork will not have that permissions. You will need to install the app in your repo too. Similar as how travis work. BUT if you open a PR to the upstream repo it will work.

Nice, that would be a good solution!

@Mkohm sorry for the late response.
What exactly means "it does not work on forks"? If I or any collaborator opens a PR, does it count as a fork? Can I create a PR with these commits included and detekt-hint will post comments on the PR ?
If this will work for collaborators, I am okay to merge and test this integration ^^

@arturbosch, no worries!
It means that detekt-hint will not be able to post comments on pull requests if the source-repository is a fork.
You, with direct access to the repository is able to create pull requests to detekt with the same source and destination repository, and will be able to get comments from detekt-hint.
So in short, it will not work for collaborators, only people with direct access to the repository. It's unfortunate, but i am okay with closing this issue.

@Mkohm as the integration is now only two files without modifying our build setup, I will merge this and give it a go.


Docker monitor

Codecov Report

Merging #225 into master will decrease coverage by 2.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #225      +/-   ##
==========================================
- Coverage   51.16%   49.07%   -2.09%
==========================================
  Files          33       33
  Lines        3915     4322     +407
==========================================
+ Hits         2003     2121     +118
- Misses       1715     2003     +288
- Partials      197      198       +1

Impacted Files
Coverage Δ

cache/cache.go
68.29% <0%> (-14.07%)
:arrow_down:

trireme.go
49.61% <0%> (-6.64%)
:arrow_down:

processmon/processmon.go
66.66% <0%> (-6.33%)
:arrow_down:

enforcer/utils/tokens/pkisecrets.go
43.85% <0%> (-6.15%)
:arrow_down:

supervisor/ipsetctrl/ipsetctrl.go
63.77% <0%> (-6.05%)
:arrow_down:

monitor/linuxmonitor/processor.go
60.86% <0%> (-5.48%)
:arrow_down:

monitor/contextstore/contextstore.go
67.34% <0%> (-4.4%)
:arrow_down:

monitor/rpcmonitor/rpc.go
72.72% <0%> (-3.66%)
:arrow_down:

enforcer/utils/tokens/jwt.go
85.71% <0%> (-3%)
:arrow_down:

enforcer/datapath.go
36.92% <0%> (-2.95%)
:arrow_down:

... and 11 more

Continue to review full report at Codecov.

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


AttributeError: module 'mxnet' has no attribute 'symbol'

Environment info
Operating System: Ubuntu 16.04LTS
Compiler: g++
MXNet version: 0.93
Using quick installation for python.
Python version and distribution: Python 3.6 in anaconda.
Error Message:
Just a simple input:
import mxnet as mx
a = mx.symbol.Variable('a')
Then I got the message:
AttributeError: module 'mxnet' has no attribute 'symbol'
And I find that all the attributes in my mxnet module are only __doc__, __loader__, __name__, __path__, __spec__ and __package__.
I have tried to reinstall mxnet but still receive this message.

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!

https://github.com/szha Hi，when  I run  example/image-classificati/train_mnist.py --network lenet --gpus 0, I meet this issue now,can you tell me how to slove it?

@TangDL would you mind creating a new issue for the problem? We will need some additional information from you to best help. You will be able to provide the information by filling out the issue template.


support remove_input_padding for BertForSequenceClassification models

Related issue: https://github.com/NVIDIA/TensorRT-LLM/issues/1755
Content:

Support remove_input_padding for BertForSequenceClassification models (implementation details given in code comment)
Refinement of the build.py script, e.g., the original script doen't have a input model dir parameter, and will init the model with random weights, which is not intuitive.
Since the model input is changed from 3 to 5, i.e. input_ids, input_lengths, token_type_ids, position_ids, max_input_length, I add a standalone run_remove_input_padding.py demo script, and show how to build them with only input_ids and token_type_ids.

I only implemented and tested this for BertForSequenceClassification but not other BERT models yet, please feel free to do further work on this :)

For our data, there's about 35% latency and 28% throughput enhancement when batch_size is 16, and the diff of output logits between the pytorch model and trt with remove_input_padding is below 0.01

Thanks @Altair-Alpha, we'll merge your changes and upstream to github next week.

hi @Altair-Alpha , we've merged your PR into our internal  code base with several minimal changes for internal ci.
This MR will be avaiable on next Tensor Tuesday.


Enhanced Data Retrieval: Implement Join Conditions

Description:
This PR introduces join filters for dataui-nestjs-crud, empowering you with greater control over related data queries. Users can now specify WHERE conditions within the ON clause of joins, enabling the creation of more intricate and specific queries.
Key Improvements:

Increased Flexibility: Craft complex queries by filtering related entities based on custom conditions.
Enhanced Data Retrieval: Retrieve specific subsets of related data, improving efficiency and focus.

Implementation Details:

Introduces a new 'ON' property to the QueryJoin interface within @dataui/crud-request.
Leverages this property to specify 'ON' conditions for joins.
Implements comprehensive unit and integration tests for guaranteed functionality.

Benefits:

Simplifies querying related data with precise control.
Enables more efficient and targeted data retrieval.
This PR elevates dataui-nestjs-crud's capabilities by empowering you with flexible join filtering.

#38

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

33 of 34 (97.06%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 98.589%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/crud-request/src/request-query.validator.ts
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
1270

Relevant Lines:
1278

💛  - Coveralls

@ZaidMaslouhi  Thank you for the good work.
I hope you are willing to add at least one example in the documenation here : https://github.com/gid-oss/dataui-nestjs-crud/blob/master/docs/requests.md#join !
Apart from that it's good to merge and release and I will do so soon after I hear from you on the docs.

While at it guys, I really think that relations need to have ability to be paginated/sorted as well.
Example, getting an User entity, and jointing Comment entity. But get last 10 comments only.
Oh, Hi @zaro !  We were colleagues at Concurrent ages ago :)

Hi @zaro!
Absolutely, I'd be happy to add an example for the join condition on the docs.

@Dragomir-Ivanov Hey :) Indeed , quite some time ago.
Regarding your suggestion, this is not the place to discuss it. If you want maybe open a new issue where this can be discussed properly. Because if I understand you correctly, this is actually quite complicated feature and most certainly not possible with a single SQL query. So maybe also provide a simple example in plain SQL how it is supposed to work.
Keep in mind that this CRUD library is just a think layer over TypeORM and TypeORM itself doesn't have support for what you are requesting.
Happy to hear more for you .

@ZaidMaslouhi FYI: I think this is related to the docs you wrote?
https://github.com/gid-oss/dataui-nestjs-crud/issues/53
Maybe you can do the change if this is what happening?
Thanks.


Clicking a child element cannot trigger parent element's event in IE

Version
2.6.10
Reproduction link
https://github.com/jrb1995/ie-issue
Steps to reproduce

Run my repository code (https://github.com/jrb1995/ie-issue)
Open IE

What is expected?
Clicking on the child element triggers the parent element's event
What is actually happening?
cannot trigger parent element's event

It works.

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂


Make Colab notebook show you can parse cBioPortal and Pathway Commons data

Datasets to Use

Pathway Commons: https://www.pathwaycommons.org/archives/PC2/v12/PathwayCommons12.reactome.hgnc.sif.gz
cBioPortal (ACC, data_clinical_patient.txt and data_mrna_seq_v2_rsem.txt): https://github.com/cBioPortal/datahub/tree/master/public/acc_tcga_pan_can_atlas_2018

Hi @cannin
Is there a way of viewing the pathway commons data like how we could do for cBio's own in order to know what to expect while parsing it?
I already tried parsing the data. I used VsCode to view the data using gzip decompressor, but I want to be sure of what I'm seeing.

@Favourj-bit Is this what you want?
https://github.com/fujiisoup/sif_reader

Hi @inoue0426, not really. I have checked it out. It will help me too, thank you.

@Favourj-bit You should just uncompress it and read it as a table with Pandas; no need for extra libraries.

oh, great. Thank you @cannin
Yes, i will do that for the data from cBio portal

@Favourj-bit you can do like this.

@inoue0426 , i already did that in my notebook. I'm however getting some issues while trying to do that for the data from cBio portal. I came across a notebook on cBio github page to help with it sha

@cannin
I came across this: https://github.com/cBioPortal/codebook/blob/main/python/intro/intro.ipynb
could I use the steps here too?

@Favourj-bit it is better if you download the data so the code is not dependent on an internet service, but if the code helps you plot figures then yes.

Okay, noted

@cannin I wanted to ask if i should try parsing other pathway commons and cBio datasets


Unresolved reference: FlutterActivity

getting Unresolved reference: FlutterActivity  inside MainActivity.kt file
Please help me to resolved this.

Hi @mehtahardikr
please refer this https://flutter.dev/docs/development/platform-integration/platform-channels
Thanks

@Abhishek01039 : so , you mean to say that it will work when i open android module as stand alone project in android studio ?
as per error , its not able to find embedding class inside io.flutter package

Hi @mehtahardikr
From what I can see, the issue is related to Flutter itself. When working in the Android module it is recommended to open it as a stand alone project using an IDE with Android plugin installed (Android Studio/IntelliJ IDEA) so that the IDE can find the reference of the classes in your Android module. The same happens with iOS projects you may want to open it using Xcode to get code completion and other features.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you

hello @pedromassangocode  :
Here is the content  of file  pubspec.yaml
name: flutter_app
description: A new Flutter application.
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^0.1.3

dev_dependencies:
  flutter_test:
    sdk: flutter
flutter:

  uses-material-design: true

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.2, on Mac OS X 10.13.6 17G65, locale en-IN)
    • Flutter version 1.20.2 at /Users/VishakhaP/flutter
    • Framework revision bbfbf1770c (5 days ago), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/VishakhaP/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ! CocoaPods 1.6.1 out of date (1.8.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade:
        sudo gem install cocoapods

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • SM G615FU (mobile) • 42007d3b9a168429 • android-arm • Android 8.1.0 (API 27)

! Doctor found issues in 1 category.

flutter run -v
[ +422 ms] executing: [/Users/user1/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +219 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] bbfbf1770cca2da7c82e887e4e4af910034800b6
[        ] executing: [/Users/user1/flutter/] git tag --contains HEAD
[+1293 ms] Exit code 0 from: git tag --contains HEAD
[        ] 1.20.2
[  +25 ms] executing: [/Users/user1/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [/Users/user1/flutter/] git ls-remote --get-url origin
[  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +139 ms] executing: [/Users/user1/flutter/] git rev-parse --abbrev-ref HEAD
[  +19 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +3 ms] stable
[  +45 ms] executing: sw_vers -productName
[ +146 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +12 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.13.6
[        ] executing: sw_vers -buildVersion
[  +16 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 17G65
[ +135 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +11 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +92 ms] executing: /Users/user1/Library/Android/sdk/platform-tools/adb devices -l
[   +8 ms] executing: /usr/bin/xcode-select --print-path
[  +27 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Library/Developer/CommandLineTools
[   +1 ms] executing: /usr/bin/xcodebuild -version
[   +5 ms] Exit code 1 from: /usr/bin/xcodebuild -version
[        ] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
[        ] Xcode not found. Run 'flutter doctor' for more information.
[   +2 ms] executing: /usr/bin/xcodebuild -version
[   +5 ms] Exit code 1 from: /usr/bin/xcodebuild -version
[        ] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
[  +52 ms] List of devices attached
           42007d3b9a168429       device usb:342884352X product:j7maxltedd model:SM_G615FU device:j7maxlte transport_id:5
[  +11 ms] /Users/user1/Library/Android/sdk/platform-tools/adb -s 42007d3b9a168429 shell getprop
[ +107 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +10 ms] executing: /usr/bin/xcodebuild -version
[   +5 ms] Exit code 1 from: /usr/bin/xcodebuild -version
[        ] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
[ +275 ms] Found plugin path_provider_linux at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[  +55 ms] Found plugin shared_preferences at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.8/
[  +13 ms] Found plugin shared_preferences_linux at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-0.0.2+1/
[   +2 ms] Found plugin shared_preferences_macos at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-0.0.1+10/
[  +19 ms] Found plugin shared_preferences_web at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-0.1.2+7/
[ +196 ms] Found plugin path_provider_linux at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +8 ms] Found plugin shared_preferences at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.8/
[   +2 ms] Found plugin shared_preferences_linux at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-0.0.2+1/
[   +1 ms] Found plugin shared_preferences_macos at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-0.0.1+10/
[   +3 ms] Found plugin shared_preferences_web at /Users/user1/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-0.1.2+7/
[ +131 ms] Generating /Users/user1/StudioProjects/flutterprojects/flutter_app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +37 ms] executing: /usr/bin/xcodebuild -version
[   +9 ms] Exit code 1 from: /usr/bin/xcodebuild -version
[   +1 ms] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
[  +12 ms] ro.hardware = mt6757
[        ] ro.build.characteristics = default
[ +127 ms] Starting incremental build...
[  +17 ms] Initializing file store
[  +12 ms] Skipping target: gen_localizations
[   +8 ms] complete
[   +7 ms] Launching lib/main.dart on SM G615FU in debug mode...

Hi @mehtahardikr as I mentioned before if you believe this is a Flutter issue you need to provide a minimal reproducible code sample that does not use 3rd party plugins too.
Thank you

@pedromassangocode : there is no 3rd party plugins as you see pubspec.yaml file.

Hi @mehtahardikr
I need you to provide a code that reproduces the issue you're facing so that I can verify the issue on my side.
Thank you

Hi @pedromassangocode : i have just created new kotlin application through android studio ide and selected kotlin codebase for android platform and the flutter sdk is latest one that is flutter_macos_1.20.2-stable and nothing was added to code as i have created new project.

Hi @mehtahardikr
As I said I recommend you to open the Android module with Android Studio and the error may disappear. This clearly does not seems to be a Flutter issue.
Thank you

hi @pedromassangocode  : yup its works fine when open android module with Android studio
Thanks for your help.

Hola! Tengo el mismo problema pero para Visual Code... Cree un proyecto kotlin desde el terminal (en flutter obvio), la carpeta esta alojada en el mismo directorio que los otros proyectos, abrí el proyecto desde la carpeta Android..  Reservados todos los derechos.
PS C:\MyappProyecto\battery\android> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.4, on Microsoft Windows [VersiÃ³n 6.1.7601], locale es-AR)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[!] Android Studio (version 4.1.0)
X Unable to determine bundled Java version.
[√] VS Code (version 1.55.2)
[√] Connected device (1 available)
PS C:\MyappProyecto\battery\android> flutter doctor --android-licenses
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 more
PS C:\MyappProyecto\battery\android>


Add patient details screen

Accessed from the main screen when a patient card is tapped on the chevron icon.

Done.


ValueError: No JSON object could be decoded

~$ curl -H "X-org-id: XXX" "http://localhost:8888/render?format=json&from=1456392925&targ
et=litmus.google_com.%2A.https.error_state&until=1456392955"
Traceback (most recent call last):
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_req
uest
    rv = self.handle_user_exception(e)
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_excep
tion
    reraise(exc_type, exc_value, tb)
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_req
uest
    rv = self.dispatch_request()
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/graphite_api/app.py", line 384, in render
    data_store = fetchData(context, paths)
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/graphite_api/render/datalib.py", line 160, in
fetchData
    time_info, series = finder.fetch_multi(nodes, startTime, endTime)
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/graphite_raintank.py", line 186, in fetch_mult
i
    data = self.fetch_from_tank(nodes, start_time, end_time)
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/graphite_raintank.py", line 220, in fetch_from
_tank
    for result in resp.json():
  File "/usr/share/python/graphite/local/lib/python2.7/site-packages/requests/models.py", line 800, in json
    self.content.decode(encoding), **kwargs
  File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

The response from MT looks a ok, except for the Interval being set to 0
GET /get?to=1456394565&from=1456394535&target=1065.b48b11d376b6b378eb9ca0d2cc743fce&target=1065.d40d0902ba8d8ec0e1e
327a436036d07 HTTP/1.1.
Host: <IP_ADDRESS>:18763.
Connection: keep-alive.
Accept-Encoding: gzip, deflate.
Accept: */*.
User-Agent: graphite_raintank.
.
####
T <IP_ADDRESS>:18763 -> <IP_ADDRESS>:47022 [AP]
HTTP/1.1 200 OK.
Content-Type: application/json.
Date: Thu, 25 Feb 2016 10:03:15 GMT.
Content-Length: 213.
.
[{"Target":"1065.b48b11d376b6b378eb9ca0d2cc743fce","Datapoints":],"Interval":0},{"Target":"1065.d40d0902ba8d8ec0e1e
327a436036d07","Datapoints":[[null,1456394540],[null,1456394550],[null,1456394560]],"Interval":0}]

notice the ,"Datapoints":] in MT's json output, that's invalid json and explains the No JSON object could be decoded error. i've fixed this in metric tank now.
the interval being 0 seems like an unrelated (but valid) issue in metric tank


2 times slower builds with HotModuleReplacementPlugin and code splitting, coz of entry bundles invalidation

Do you want to request a feature or report a bug?
bug

What is the current behavior?

I'm get 2 times slower builds with HotModuleReplacementPlugin and code splitting, coz of entry bundles invalidation.
The only changes in entry point - its hotCurrentHash.

If the current behavior is a bug, please provide the steps to reproduce.
https://gist.github.com/lpk3nny/73a539ccdc3fc5246c4bf930519b491d

What is the expected behavior?
HotModuleReplacementPlugin invalidates only modified chunks

https://webpack.js.org/guides/build-performance/#minimal-entry-chunk


Play sound when Friend or Guildie Post Group

Sound should only fire when a group posted by friends matches your interests.
Sound should only fire when you aren't already in a group, battleground, or arena.
We'll also need an option to turn that sound off, under Character Options.
https://www.wowhead.com/wotlk/sound=17318/lfg-dungeonready
/script PlaySound(17318)

Groupie Sounds
[X] Play a Sound When Friends or Guildies Post Their Groups
(On by default)

Moving this to Auto response, as they will have the same prerequisite features


[Docs] Replace name of obsolete repository with new one

[ ] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[ ] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

The isomorphic-material-relay-starter-kit is no longer supported and is superseded by the universal relay boilerplate, which is pretty much the same but modified to also support react native. As before, the web version is entirely based on Material-UI.

That's looks good to me.

Please let me know what naming is best, or feel free to rename in whatever name is best. I see you renamed it to [Docs] which makes perfect sense, I just did not see [Docs] as an option in the existing PRs.

@oliviertassinari You don't need to ask me to ask, just ask. :)
@thelordoftheboards What's currently in the PR title is perfect for the commit title.

And while we are at it, great job on the redesign! MUI 0.15 will be awesome!

@thelordoftheboards - thanks we all appreciate that - everyone has worked really hard on this release, and while it's taken us a bit longer than anticipated, and there's still a ton more to do after this release is out, I think we're heading in the right direction.

@thelordoftheboards - just waiting for you to update the commit title on this. 👍

@mbrookes I thought the change of the PR title was all that had to be done, sorry for the misunderstanding. I have changed the commit name to be the same. I hope this is OK now.


AAAA

site now runs slowly because it's still debugging like half of the inner workings of the display commands

fixed


How to debug jython script in my PC?

I used python in my work.
I don't know how to debug jython script in my pc offline.
I'll upload to svn when the script can run without errors.
eg：
from net.grinder.script.Grinder import grinder
from net.grinder.script import Test
from net.grinder.plugin.http import HTTPRequest
from net.grinder.plugin.http import HTTPPluginControl
from HTTPClient import NVPair
control = HTTPPluginControl.getConnectionDefaults()
control.timeout = 6000
test1 = Test(1, "<IP_ADDRESS>")
request1 = HTTPRequest()
test1.record(request1)
class TestRunner:
def __init__(self):
	grinder.statistics.delayReports=True
	pass

def __call__(self):
	result = request1.GET("http://<IP_ADDRESS>:8009/static/cdtest/sc02.html")

	if result.getStatusCode() == 200 :
		grinder.statistics.forLastTest.success = 1
	elif result.getStatusCode() in (301, 302) :
		grinder.logger.warn("Warning. The response may not be correct. The response code was %d." %  result.getStatusCode())
		grinder.statistics.forLastTest.success = 1
	else :
		grinder.statistics.forLastTest.success = 0

This is the test script of nGrinder,I can not run it in my local PC.Can you Help me?

For jython, we don't support debugging feature, It's almost impossible due to lack of tool support.


Training app issues

Customer has implemented the Training app and running into 3 issues:
We have 3 issues with this app currently:

User completion report pop up screen comes up white. Customer is unable to see the completion report of the users and therefore it is an urgent problem.
Some users who complete training doesn’t show up as completed on the report when custome was able to see the report last week.
Some user answers on quiz part of the traing correctly yet when the quiz is completed it show the answer as wrong. It doesnt happen for all users but some.

As discussed earlier, we have fixed the issue and merged in git hub repo.


OpenCL symmetric eigensolver 1/3: Tridiagonalization

Summary
Implements OpenCL tridiagonalization using block Householder algorithm. (A = Q*T*transpose(Q), where T is symmetric tridiagonal and Q is orthogonal). This consists of two functions: the first one takes A and constructs packed form - a matrix that contains diagonal and subdiagonal of T and all the data that is needed to construct Q. The second one takes this packed form and a matrix B and calculates Q * B.
Also fixes a bug that made OpenCL identity_matrix unusable.
Tests
Added tests for properties of tridiagonalization: A = Q*T*transpose(Q), Q*transpose(Q) = I and for correct multiplication with Q.
Side Effects
None.
Release notes
OpenCL: Fixed a bug that made OpenCL identity_matrix unusable.
Checklist

[ ] Math issue #2498

[ ] Copyright holder: Tadej Ciglarič
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[ ] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[ ] the code is written in idiomatic C++ and changes are documented in the doxygen

[ ] the new changes are tested

The CI issue will be cleared up ASAP: https://github.com/stan-dev/math/issues/2501


Where filter not working with JSON.not with another condition

Bug description
Please see this repository for reproduction: https://github.com/AnandChowdhary/prisma-6755-reproduction
If you have a findMany with a JSON filter (using not) and another condition, the second condition is entirely ignored:
console.log(
  await prisma.user.findMany({ where: { AND: [{ data: { not: "example-string" } }, { id: 2 }] } })
);

In the above, I would expect that Prisma returns all users that don't have this JSON value in data and their ID is 2. Instead, Prisma just returns all users without this JSON value, completely ignoring the second condition.
Schema and code
datasource mysql {
  provider = "mysql"
  url      = env("DATABASE_URL")
}

generator client {
  provider = "prisma-client-js"
}

model User {
  id    Int     @id @default(autoincrement())
  email String  @unique
  name  String?
  data  Json?
}

// Create a user without JSON
await prisma.user.create({
  data: { id: 1, email<EMAIL_ADDRESS>name: "First" },
});
// Create a user with JSON data
await prisma.user.create({
  data: {
    id: 2,
    email<EMAIL_ADDRESS>    name: "Second",
    data: { hello: "second" },
  },
});
// Create another user with JSON data
await prisma.user.create({
  data: {
    id: 3,
    email<EMAIL_ADDRESS>    name: "Third",
    data: { hello: "third" },
  },
});

console.log(
  "All users with JSON data and their ID is 2",
  await prisma.user.findMany({ where: { data: { not: "example-string" }, id: 2 } })
);
// SHOULD DO THIS: Logs an array of a single user with ID 2
// ACTUALLY DOES THIS: Logs an array of both users with ID 2 and 3

Environment & setup

OS: macOS
Database: MySQL
Node.js version: v14.16.0
Prisma version: 2.21.2

prisma               : 2.21.2
@prisma/client       : 2.21.2
Current platform     : darwin
Query Engine         : query-engine e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine     : migration-engine-cli e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary        : prisma-fmt e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : e421996c87d5f3c8f7eeadd502d4ad402c89464d
Studio               : 0.371.0

I can reproduce this. Thanks for detailed reproduction repository.

Hey @AnandChowdhary and @pantharshit00, I cannot reproduce this issue anymore on 2.22.1.
I'm closing now, please let me know if I missed something.


windows installation and tiny cuda-nn guide worked for me !

conda create -n wonder3d python=3.8.10
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit
pip install fire diffusers==0.19.3 transformers bitsandbytes accelerate gradio rembg segment_anything
pip install einops omegaconf pytorch-lightning==1.9.5 torch_efficient_distloss nerfacc==0.3.3 PyMCubes trimesh
pip install https://download.pytorch.org/whl/cu118/xformers-0.0.22.post4%2Bcu118-cp38-cp38-win_amd64.whl
pip install -U tensorboardX
pip install -U tensorboard
here is tiny cudann installation for windows
activate the conda environment for us it will be
conda activate wonder3d
then write these commands and make sure you change the microsoft visual studio version with the one you have ,you can search for the vcvars32.bat and change the directory i provided to the matching one and add  x64 in the end like this
"\Program Files\Microsoft Visual Studio\2022\community\vc\Auxiliary\Build\vcvars32.bat" x64
after that write this command
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
now everything should work correctly
to use the gradio you will face an issue sam_vit_h_4b8939.pth is missing thats because the code cant create a folder and download the model to it to fix it you can do these steps
open the wonder3d folder that you cloned and create a file with name of
sam_pt
then download this model and add it there
https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth
you will get the link for the local running ,and you will get another error for gradio but its related with the repo and the dev is working on it

I got tinycudann to build with Visual Studio 2019 and CUDA 11.8 otherwise following your guide to a T.
Also some additional requirements that I don't think were mentioned here:

streamlit

I also had to change the gradio.app to remove tool from a few arguements as done in the pull request here https://github.com/xxlong0/Wonder3D/pull/34 .
Thank you all for all the hard work on this! Looking forward to trying it out!

Hello, I'm using 3060 , but it reports error: CUDA error: out of memory, did you change any parameter? And how long does it take you to generate a 3D model with a 3060ti?
Thank you all for all the hard work on this~


a question on FALCON_unzip primary and haplotigs explaination

Hi @pb-jchin :+1:
Thanks for this nice assembler. I have a question on output primary contig and haplotigs. My fungus is highly heterogyzous, ~10 SNPs/kb. Here is some general summary of my assembly, 156 primary contigs (83Mb), and 475 haplotigs (73Mb).
From my results I see each primary contig has several haplotigs, with some primary contig regions do not have any associated haplotigs. From my reading my understanding is, the associated haplotigs are phased regions of primary contig, right?

The primary contig regions without any associated haplotigs are highly homozygous regions, and only heterozygous regions are present in the haplotigs , right?

If I map Illumina reads of same sample to primary contigs, I wonder could I tell a region is phased or unphased in primary contig through mapping coverage? My thinking is not, because the mapping coverage for phased region and unphased region should be same, right?

Thanks so much in advance.
Best,
Chongjing

@wsuplantpathology the degree of heterozygosity can be quite different form region to region in a genome.
"The primary contig regions without any associated haplotigs": such primary config can be from (1) highly homozygous regions. The assembler was not able to find two distinct haplotypes so both haplotypes are represented by one primary config. Or, from (2), highly heterozygous region, the two haplotypes are very distinct and the assembler similar process them separately.
If you have a right mapping process (from PBI reads to the contigs or Illumina reads to the contigs.), you might be able to make conclusion which about scenario  happens.  There are a couple other simple techniques with whole genome alignments.  Please ping PacBio's experts on this more.

Apologies for chipping in and slight cross posting.
@wsuplantpathology we looked at this point a bit more in detail in our rust fungus and have some pretty simple approaches using mapping coverage described in our github repo and our preprint. get in touch if you want some more background on it.
Overall, we follow @cschin advice looking at coverage and whole genome alignments to figure unphased regions of the genome.

@BenjaminSchwessinger 👍

Thanks so much for your comments @cschin, and your @BenjaminSchwessinger excellent work on stripe rust fungus. I'll get in touch with you since we are also working on Puccinia striiformis genomes and got some interesting findings.
Best,
Chongjing Xia


Warnings correction

PR to solve and reduce the warnings
Checklist

[ ] My code follows the style guideline
To check :
black --check examples rlberry *py
flake8 --select F401,F405,D410,D411,D412 --exclude=rlberry/check_packages.py --per-file-ignores="init.py:F401",
[ ] I have commented my code, particularly in hard-to-understand areas,
[ ] I have made corresponding changes to the documentation,
[ ] I have added tests that prove my fix is effective or that my feature works,
[ ] New and existing unit tests pass locally with my changes,
[ ] If updated the changelog if necessary,
[ ] I have set the label "ready for review" and the checks are all green.

From 599 to 26 warnings ! Good job.


Create Mock Data section

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[ ] Your submissions are formatted according to the guidelines in the contributing guide.
[ ] Your changes are made in the README file, not the auto-generated JSON.
[ ] Your additions are ordered alphabetically.
[ ] Your submission has a useful description.
[ ] Each table column should be padded with one space on either side.
[ ] You have searched the repository for any relevant issues or PRs.
[x] Any category you are creating has the minimum requirement of 3 items.

Created Mock Data section to start pruning out our bloated Development section. Happy to hear other's thoughts, otherwise will merge.

Oh no! I have moved Stack Exchange back to its real home 🏠

"Mock Data" doesn't seem right. Dummy Data? Test Data?
And it's a fine line between an API and a placeholder image service? Are we including them? In which case I will add my very own: https://morganfillman.space/ 😉

I suggested "Testing" in the issue. Test Data is probably better.

@jbrooksuk sorry I see my reply never posted - I wasn't keen on Testing because these types of things don't really provide any testing logic...I'm good with Test Data though 😄

LGTM!

🎉


Update php.yml

Questions
Answers

Description?
Please be specific when describing the PR. Every detail helps: What are you changing? Why?

Type?
bug fix / improvement / new feature / refacto / critical

BC breaks?
yes / no

Deprecations?
yes / no

Fixed ticket?
Fixes {paste the issue here}.

How to test?
Please indicate how to best verify that this PR is correct.

Possible impacts?
Please indicate what parts of the software we need to check to make sure everything is alright.

Hello @ZuBi182 what is the purpose of this PR?

@ZuBi182 same comment than https://github.com/PrestaShop/autoupgrade/pull/537 ;-)


broken link

Link in page goes to Create early bound table classes with the Code Generation tool
Returns 404
It should go to https://docs.microsoft.com/powerapps/developer/data-platform/org-service/generate-early-bound-classes

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

ID: c9796507-4a36-b838-c53f-da2619952495
Version Independent ID: aac9f312-1b41-a2c1-5258-03f6e4137f36
Content: Developer tools and resources (Microsoft Dataverse) - Power Apps
Content Source: powerapps-docs/developer/data-platform/developer-tools.md
Service: powerapps
GitHub Login: @shmcarth
Microsoft Alias: jdaly

@JimDaly  Fixed broken link. Will be re-published later today.


Fix bug in custom constraint parser, minor improvements

coreInMorningTime: Unbundled.
electiveInNonMorningTime: Unbundled.
Variables in custom parser can have < and >.
Fix a bug in the unbundled custom constraint.
CSV Input: Parse Y as Yes and N, `` as No.
Display the course name of the failed custom constraint.
Build: Do not build tests/tools/contrib in yaml-cpp.
Snap: Fix issue when accessing files.
minorInMinorTime: Unbundled.
programAtMostOneOfCoreOrElective: Unbundled.
exactlyOneFieldValuePerCourse: Unbundled.

@GoodDeeds It had to done in constraint_expr. I have done it.

@prateekkumarweb Unbundling will require a few other changes as well. I will do it.


Filter out duplicated webhook deliveris from Github

We have seen the same webhook being sent from Github under different delivery IDs

still an issue?

Haven't noticed duplicate webhooks in the past anymore, so closing for now


not supported 10.019041.3155

i need help can someone send me the file

Duplicate of https://github.com/stascorp/rdpwrap/issues/2257


[HWKINVENT-122] Test for bulk insert of resources

wow

/home/travis/.casher/bin/casher:166:in `write': No space left on device - /home/travis/.casher/tar.err.log

it looks like the src-dep plugin is too verbose


analyzer does not accept function type in is-expression in const expression

The CFE and VM have no problem with this code:
void foo() {}

typedef Fn = void Function(int);

const c = foo is void Function(int);
const c2 = foo is Fn;
const c3 = foo is int;

void main() {
  var d = foo is void Function(int);
  var d2 = foo is Fn;
  var d3 = foo is int;
}

But analyzer reports an issue:

error • Const variables must be initialized with a constant value. • a.dart:5:18 • const_initialized_with_non_constant_value

I need to fix this before instantiated function tearoffs or instantiated constructor tearoffs can be checked in this way, with an is check.


WMS

Improve TileLayer (XYZ/TMS) and WMS layer creation.

Add preview map for imagery layers.

WMS

Pull WMS capabilities document, users can now select available layers.
Allow only 3857 WMS layers.

Pull Request Test Coverage Report for Build 764

249 of 317 (78.55%)  changed or added relevant lines in 13 files are covered.
7 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 54.246%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

routes/index.js
5
8
62.5%

express.js
6
11
54.55%

routes/layers.js
4
9
44.44%

routes/teams.js
10
17
58.82%

api/form.js
5
13
38.46%

routes/observations.js
84
93
90.32%

routes/users.js
82
91
90.11%

routes/events.js
39
61
63.93%

Files with Coverage Reduction
New Missed Lines
%

routes/teams.js
2
75.27%

routes/events.js
5
42.9%

Totals

Change from base Build 700:
-0.1%

Covered Lines:
2816

Relevant Lines:
4859

💛  - Coveralls


description for class String contains details hidden when parsed as Commonmark

At https://atomicdata.dev/datatypes/string it says

Allows newlines with .

Source reveals that it is talking about a newline surrounded by backticks.
Seems the description field should escape those backticks to avoid them being parsed as a Commonmark code block.
Alternatively, perhaps this is a bug in the Atomic Data Browser that it parses plaintext description as Commonmark?

Nice find, thanks!


Replace kinvolk with habitat

For the code, replace with "habitat-sh"
For Docker images, with "habitat"

I'll reopen against the fork.


[SPARK-49656][SS] Add support for state variables with value state collection types and read change feed options

What changes were proposed in this pull request?
Add support for state variables with value state collection types and read change feed options
Why are the changes needed?
Without this, we cannot support reading per key changes for state variables used with stateful processors.
Does this PR introduce any user-facing change?
Yes
Users can now query value state variables with the following query:
        val changeFeedDf = spark.read
            .format("statestore")
            .option(StateSourceOptions.PATH, <checkpoint_loc>)
            .option(StateSourceOptions.STATE_VAR_NAME, <state_var_name>)
            .option(StateSourceOptions.READ_CHANGE_FEED, true)
            .option(StateSourceOptions.CHANGE_START_BATCH_ID, 0)
            .load()

How was this patch tested?
Added unit tests
[info] Run completed in 17 seconds, 318 milliseconds.
[info] Total number of tests run: 2
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 2, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.

Was this patch authored or co-authored using generative AI tooling?
No

cc - @jingz-db @HeartSaVioR - PTAL, thx !

Thanks! Merging to master.


Ember server hangs on HTTP/2 request with body

This is a regression between v0.23.19-RC3 and v0.23.19 that I bisected to https://github.com/http4s/http4s/pull/7096.
https://gist.github.com/Baccata/f29f5154b2628b047dd4d41b5c7725bc

//> using lib "org.http4s::http4s-ember-server:0.23.19"
//> using lib "org.http4s::http4s-dsl:0.23.19"

package foo

import cats.effect._
import cats.syntax.all._
import org.http4s.implicits._
import org.http4s.ember.server._
import org.http4s._
import org.http4s.dsl.io._
import org.http4s.dsl.request

object Main extends IOApp.Simple {

  // this works (http2 request w/o body):
  //    curl --http2 localhost:8080/hello
  // this works (http1 request w/ body):
  //    curl -X POST -d foo localhost:8080/text
  // this doesn't (http2 request w/ body, server hangs)
  //    curl --http2 -X POST -d foo localhost:8080/text
  //
  // Additionally, impossible to exit the application with a ctrl-c as soon
  // as ANY request has been sent to the server (whether we hit the first path or not)
  val app = HttpApp[IO] {
    case GET -> Root / "hello"           => Ok("hello")
    case request @ POST -> Root / "text" => request.as[String].flatMap(Ok(_))
    case request                         => NotFound()
  }

  def run: IO[Unit] = EmberServerBuilder
    .default[IO]
    .withHttp2
    .withHttpApp(app)
    .build
    .useForever
    .void

}

I was also able to reproduce with the --http2-prior-knowledge flag.

Hey @armanbilge - just gave it a spin this morning on my repro repo.
0.23.19-RC3 passes as seen here
0.23.20 still fails as seen here

Hmm, thanks for trying that. We must have another bug 😕

Thank you, your reproducer was very helpful to explore this issue. I think I finally fixed it in https://github.com/http4s/http4s/pull/7156.

Thank you, your reproducer was very helpful to explore this issue. I think I finally fixed it in https://github.com/http4s/http4s/pull/7156.

No worries at all - thank you for the fix! 🙏🙏🙏🙏


Disable config tab in inventory when there are no options (#2983)

Pull request opened by the merge tool on behalf of #2983

Merged in 040f12211ac9feecbf9b9c920c8d3b1990c569eb


Add a management command for enabling permissions

When enabling permissions in an existing project that had them turned off there are no users (page) and no user groups (page).
It would be nice to have a management command that creates all the necessary PageUser and PageUserGroup models.

Closing as a won't fix.
The 3.4 release will allow admins to create page users from an existing auth.User, making this a command would introduce several issues because if a project has over 100k users and enables permissions, then this would convert all 100k users to page users which is not ideal.


Strip lambdas archive content...

We are close to the limitation of 20Mo...
It's mainly botocore...
$ du -hs * | sort -rh
89M	total
47M	botocore
14M	lxml
8,7M	cryptography
3,8M	docutils
2,2M	unidecode
1,5M	boto3
1,1M	amo2kinto
1016K	pycparser
940K	jinja2

I think we could strip some of the folders in the botocore/data package
 du -hs botocore/data/* | sort -rh
45M	total
7,0M	botocore/data/ec2
3,5M	botocore/data/cloudfront
1,2M	botocore/data/rds
708K	botocore/data/sagemaker
672K	botocore/data/elasticache
660K	botocore/data/pinpoint

Now that we don't have the block pages generator, we don't bundle botocore anymore


chore: split Topology.Connected.Basic

This splits Topology.Connected.Basic approximately in half, into Basic and Clopen. This removes the Mathlib.Topology.Clopen import from Basic, and allows for one more file import from #14927 in the Clopen file.
As far as declaration order goes, only the first 5 results in Clopen were moved "down" into the Clopen file, and only the last 4 results in Basic were moved "up" into the Basic file. Otherwise no changes except for new module documentation were made.

As requested by @semorrison in #14927

bors merge


Include string.h in optparse.h

On my system, strchr() is not declared if string.h is not included.
$ lsb_release -r
Description:	Ubuntu 10.04.3 LTS
$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
[...]

LGTM, but before I merge it... does it work just as well for you if you #include  ?  That's just a tad more stylistically modern.

Sure, here you go.

Merged.  Thanks for the fix.


SW-4412 Mark planting seasons as active/inactive

Add a scheduled job that transitions planting seasons into and out of active state
as their start and end times arrive. Each transition generates an application
event which will be used to trigger notifications.

Current dependencies on/for this PR:

main

PR #1516

PR #1517   👈

PR #1518

This stack of pull requests is managed by Graphite.


support vls for lampo

Alternative for https://github.com/vincenzopalazzo/lampo.rs/pull/284

CI is failing regarding configuration
error: failed to run custom build command for `lightning-storage-server v0.3.1 (https://gitlab.com/lightning-signer/validating-lightning-signer?branch=main#4e2fda4a)`
Error: failed to run custom build command for `lightning-storage-server v0.3.1 (https://gitlab.com/lightning-signer/validating-lightning-signer?branch=main#4e2fda4a)`
Caused by:
  process didn't exit successfully: `/home/runner/work/lampo.rs/lampo.rs/target/debug/build/lightning-storage-server-d1d8778d1cd2b725/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=proto/lss.proto
  cargo:rerun-if-changed=proto

  --- stderr
  thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prost-build-0.11.9/src/lib.rs:1457:10:
  Could not find `protoc` installation and this build crate cannot proceed without
      this knowledge. If `protoc` is installed and this crate had trouble finding
      it, you can set the `PROTOC` environment variable with the specific path to your
      installed `protoc` binary.If you're on debian, try `apt-get install protobuf-compiler` or download it from https://github.com/protocolbuffers/protobuf/releases


Export DF can only export 1 db at a time

If you have multiple databases that you want to dump the schema of, you need to perform the same action over and over. Handy would be to select all dbs you want to export and then export them.

Fixed in DD24


Formatting mode that only displays defined inputs

The whole Klingon date replace chrome extension leads me to an interesting issue.
I have a regex looking for dates that will match a whole bunch of formats:
Mar 1 2016
Mar 2016
1 Mar 2016
1 Mar
Mar 1
March 1 2016
March 2016
1 March 2016
1 March
March 1
By using the heck out of multiple-format parsing, I can mostly get these to parse.
I end up with an issue when I want to format them back out though. I don't have a good way of knowing which date parts were actually matched by the parser.
I can of course access internal variables like _f or _pf to get some of this info, but that's wrong to do and I won't do it :-).
It would be super convenient to be able to do something like .format('LL', true), with the bool being an indicator to purposely drop out unmatched date parts.
The result would be something like:
moment('Mar 7 2012', 'MMMMDDY').format('MMMM DD YYYY', true)
"March 07 2012"

moment('Mar 7', 'MMMMDDY').format('MMMM DD YYYY', true)
"March 07"
//currently this would result in "March 07 2016"

I feel like there are actually a lot of reasonable use cases for this.
I'd be happy to play with making this work, but I'm looking for comments on whether people like the idea before I do it.

Follow up on this - I believe the same internal code required to make this work would enable us to easily address #2986 and #2987

FWIW, _pf is publicly exposed via parsingFlags(), though it doesn't quite have what you want. think it's
On your proposal, I think it's too a rare use case to warrant that. I'd rather enhance parsingFlags to expose the right things, so you can do something like
var m = moment('Mar 7', ['MMMMDDY', ...]);
m.format(m.parsingFlags().formatUsed);

or similar.

I should get better at reading the docs.
Anyways, I'll agree that it's a fairly obscure use case. I actually have at least one situation where I could use it at work, but maybe we do strange things, I don't know.
To me, what is of importance here is what date parts were parsed - not necessarily the format used or the specific tokens used. We could simply save the version of _a that exists before we fill out missing parts with the current date. That could be saved on _pf and would generally solve my issue as I could write some simple ternaries to construct the format. It could also be used to mark dates invalid that have no useful parts parsed (#2986).
Maybe I'll go down that road.

Yeah, I definitely think that pf should be responsible for providing you any details of the mechanics of the parse, like which parts were defaulted, what format was used, and pretty much anything else you could need. So I'm +1 on adding features to it.

Any strong feelings on changing isValid to be false if there's nothing in this array, but there is a string value for _i? IMO - a date where we didn't parse anything but meridiem is totally invalid. It is a sort of breaking change though.

I'm fine with @icambron's suggestion of exposing via paring flags, but not on changing the behavior of format.  I'm not really sure I understand the question about changing isValid.

Yeah, forget the behavior of format - the cool thing about bad ideas is that you don't have to implement them :-)
As far as the validity issue, it's just a mental step I'm taking based on this issue:
moment('asdfgh', 'hh:mm a').isValid()
true

If I preserve the list of date parts that are actually defined by the parse, then this situation becomes solvable. Suppose I name that array _parsedParts (for the sake of argument). Remember that the internal value for the original input is _i.
Add a condition to isValid:
!(_i && isNan(_i) && _parsedParts.length === 0)

Basically, the date is valid if the original input is defined, is a string, and we didn't parse any date parts.
This is imperfect code because JavaScript's understanding of types is weird, you can parse an X token with trailing letters after it, etc, but it feels like if I played with it enough, it would be solvable (perhaps famous last words there).
Maybe at this point the right thing to do is to just work on it instead of trying to explain it and see if it even can be done.

Actually, I'm making this way to hard with the input string. There is already an existing value for _meridiem that could be added to the parsing flags.
then in isValid:
(!flags._meridiem || (flags._meridiem && flags.parsedParts.length>0))

The date is valid if the meridiem was not parsed, or if the meridiem was parsed and some other date part was parsed as well.
That solves the problem in a fairly simple manner. Only issue would be if someone used the format 'x a' or something - but we can't fix everything.

PR #3045


Update Readme with more details on building, testing, etc

At the moment it's a bit hard for people who aren't used to hunting through the repo for build docs and contribution docs to know where everything is. The easier it make it for people to understand where things are and how this repo works (master should not be considered 100% stable for example), the better imo.
I think what Bitcoin has in their readme would be a good starting point for us to begin from: https://github.com/bitcoin/bitcoin/blob/master/README.md

I just checked the README.md and it has links to building the depends and some other material in ./docs as well. I think we can close this.


[Doc Improvement][Typo error fixed][3386432]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/toolkit-v4/create-new-project-vs.md
96
8
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Reading request data

As readme says to read request data we can use DataRead.read(input) { data in ... } in request handler. This does not work for me as reading block is called asynchronously after request handler returns, so I can not use it to build data to send back. If I try to wait for this block without exiting handler connections is getting stuck.
What I want to accomplish is to redirect all requests that are not stubbed to real server (because it's just insane to stub every request in the flow when you need to test one particular case on the screen that is deep inside navigation and app needs to make dozen of requests before reaching it).  Here is my code:
struct RedirectResponse: WebApp {

    // where to redirect
    let host: String
    let scheme: String

    func urlRequest(_ environ: [String: Any]) -> URLRequest {
        //reading environment variables and transforming header keys to their initial values....
        return request
    }

    public func app(_ environ: [String : Any], startResponse: @escaping ((String, [(String, String)]) -> Swift.Void), sendBody: @escaping ((Data) -> Swift.Void)) {
        var request = urlRequest(environ)
        let input = environ["swsgi.input"] as! SWSGIInput
        DataReader.read(input) { data in
       // this block is called only after method returns, which is too late as request was already fired.
       // Waiting for this block to be called before firing request keeps connection stuck and block is never called
            request.httpBody = data
        }
        // makes request and wait for response in synchronous manner, using `group.wait()`
        let (data, statusCode, contentType, headers) = URLSession.shared.data(with: request)
        //send data from real server back
        DataResponse(statusCode: statusCode, statusMessage: "", contentType: contentType, headers: headers, handler: { (_, sendData) in
            sendData(data)
        }).app(environ, startResponse: startResponse, sendBody: sendBody)
    }

}

Then I set this response as notFoundResponse for the router.
With that I receive such logs:
2017-02-03 13:03:58 +0000 [info] - DefaultHTTPServer: New connection 87A6CC41-5E67-4585-944D-C409FDC9D16A from [::1]:58322
2017-02-03 13:03:58 +0000 [info] - HTTPConnection: [87A6CC41-5E67-4585-944D-C409FDC9D16A] Header parsed, method=Optional("POST"), path="/auth/oauth2/client/access_token", version="HTTP/1.1", headers=[("Host", "localhost:8080"), ("Accept-Encoding", "gzip;q=1.0, compress;q=0.5"), ("mobile-app", "IOS-838"), ("Accept-Language", "en-US;q=1.0, en;q=0.9"), ("Content-Length", "177"), ("Content-Type", "application/json"), ("Accept", "*/*"), ("Connection", "keep-alive"), ("User-Agent", "Alamofire/4.2.0")]
2017-02-03 13:03:58 +0000 [info] - HTTPConnection: [87A6CC41-5E67-4585-944D-C409FDC9D16A] Resume reading
2017-02-03 13:03:58 +0000 [info] - HTTPConnection: [87A6CC41-5E67-4585-944D-C409FDC9D16A] Finish response
2017-02-03 13:03:58 +0000 [info] - HTTPConnection: [87A6CC41-5E67-4585-944D-C409FDC9D16A] Connection closed, reason=byLocal

Request fails as it does not contain required body data.
When trying to wait for read data block:
2017-02-03 13:01:35 +0000 [info] - DefaultHTTPServer: New connection 6DB9C3DF-02E3-49F5-8801-22EB0CE58AF5 from [::1]:58286
2017-02-03 13:01:35 +0000 [info] - HTTPConnection: [6DB9C3DF-02E3-49F5-8801-22EB0CE58AF5] Header parsed, method=Optional("POST"), path="/auth/oauth2/client/access_token", version="HTTP/1.1", headers=[("Host", "localhost:8080"), ("Accept-Encoding", "gzip;q=1.0, compress;q=0.5"), ("mobile-app", "IOS-838"), ("Accept-Language", "en-US;q=1.0, en;q=0.9"), ("Content-Length", "177"), ("Content-Type", "application/json"), ("Accept", "*/*"), ("Connection", "keep-alive"), ("User-Agent", "Alamofire/4.2.0")]
2017-02-03 13:01:35 +0000 [info] - HTTPConnection: [6DB9C3DF-02E3-49F5-8801-22EB0CE58AF5] Resume reading

and then request fails with timeout.
Here is the request that app makes:
curl -i \
	-X POST \
	-H "mobile-app: IOS-838" \
	-H "Content-Type: application/json" \
	-H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \
	-H "Accept-Language: en-US;q=1.0, en;q=0.9" \
	-H "User-Agent: Alamofire/4.2.0" \
	-d "{\"country\":\"us\",\"locale\":\"en-US\",\"grant_type\":\"client_credentials\",\"client_id\":\"...\",\"client_secret\":\"...\",\"scope\":\"public\"}" \
	"http://localhost:8080/auth/oauth2/client/access_token"

all operations with Embassy needs to be done in async, you cannot call blocking thing in side the loop, will block it.
struct RedirectResponse: WebApp {

    func urlRequest(_ environ: [String: Any]) -> URLRequest {
        //reading environment variables and transforming header keys to their initial values....
        var request = URLRequest(url: URL(string: "http://httpbin.org/post")!)
        request.httpMethod = "POST"
        return request
    }

    public func app(_ environ: [String : Any], startResponse: @escaping ((String, [(String, String)]) -> Swift.Void), sendBody: @escaping ((Data) -> Swift.Void)) {
        let input = environ["swsgi.input"] as! SWSGIInput
        DataReader.read(input) { incomingData in
            var request = self.urlRequest(environ)
            request.httpBody = incomingData
            let task = URLSession.shared.dataTask(with: request) { (data, resp, error) in
                startResponse("200 OK", [])
                if let data = data {
                    sendBody(data)
                }
                sendBody(Data())
            }
            task.resume()
        }
    }
}

Here's simple example I did for trying to get what you want. and the outcome
$ curl -i -X POST -H "mobile-app: IOS-838" -H "Content-Type: application/json" -H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" -H "Accept-Language: en-US;q=1.0, en;q=0.9" -H "User-Agent: Alamofire/4.2.0" -d "{\"country\":\"us\",\"locale\":\"en-US\",\"grant_type\":\"client_credentials\",\"client_id\":\"...\",\"client_secret\":\"...\",\"scope\":\"public\"}" "http://localhost:8080/auth/oauth2/client/access_token"
HTTP/1.1 200 OK
Connection: close
Server: Embassy

{
  "args": {},
  "data": "",
  "files": {},
  "form": {
    "{\"country\":\"us\",\"locale\":\"en-US\",\"grant_type\":\"client_credentials\",\"client_id\":\"...\",\"client_secret\":\"...\",\"scope\":\"public\"}": ""
  },
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, deflate",
    "Accept-Language": "en-us",
    "Content-Length": "124",
    "Content-Type": "application/x-www-form-urlencoded",
    "Host": "httpbin.org",
    "User-Agent": "xctest (unknown version) CFNetwork/807.2.14 Darwin/16.4.0 (x86_64)"
  },
  "json": null,
  "origin": "xxxxx",
  "url": "http://httpbin.org/post"
}

@victorlin thanks for the answer, that's exactly what I did in the beginning, but requests were never finishing. Now I see that I was missing calling sendBody with empty data (I put it in else branch).
But with that I have random crashes on SelectorEventLoop.swift:209 (EXC_BAD_INSTRUCTION) after request returns. Sometimes in happens in other places. Also trying to serialise response I got error "Garbage at end." from time to time.
Here is my code: https://gist.github.com/ilyapuchka/c9c3efb405e30207e6dd3003df3ec4c9

So I came back to using Ambassador on a new project and seems like those crashes were related to using stop instead of stopAndWait and probably not synchronising current thread with url session task.