ios: App lifecycle & network condition handling

Envoy Mobile will need to be aware of certain application lifecycle events (such as backgrounding/foregrounding, termination, etc.) in order to appropriately shut down connections, restart, or tell the OS that the app has requests in flight while it’s backgrounded.
These should be handled entirely by the native Envoy Mobile layers, and will likely perform the following tasks:
Upon instantiation/startup, begin observing application-level lifecycle events
React to changes by restarting Envoy core - shutting down connections, etc. as necessary
Ensure that the Envoy core is able to make requests when the app is backgrounded

Google doc reference here.
Android issue: https://github.com/lyft/envoy-mobile/issues/129

Posting the findings from the analysis I did locally.
Environment
iPhone X, iOS 12.3.1, Verizon / Google Fi
Experiment
Created a modified version of the Lyft passenger app which included the Envoy.framework artifact.
On app launch, started up Envoy with a configuration which re-routed all traffic from api.lyft.com through Envoy using http://localhost:9001.
Under the hood, the Lyft networking stack called into a single URLSession instance for this traffic, which was then sent through Envoy.
Findings
Initially, I started the app and allowed network traffic to flow for a while, observing successes coming back in HTTP responses as expected.
Next, I started toggling the phone from wifi to cellular. This resulted in nearly no change in responses coming back from the server, seemingly having no effect on Envoy Mobile. Doing this numerous times yielded the same result:
 1. **HTTP		[OK] #130 IngestLocationsResponseDTO
 2. **HTTP		[OK] #129 ReadDropoffTimesResponseDTO
 3. **HTTP		[OK] #131 PingResponseDTO
 4. **Network	changed wifiToCellular
 5. **HTTP		[OK] #135 PingResponseDTO
 6. **HTTP		[OK] #136 OffersDTO
 7. **HTTP		[OK] #138 IngestLocationsResponseDTO
 8. **HTTP		[OK] #137 ReadDropoffTimesResponseDTO
 9. **HTTP		[OK] #139 PingResponseDTO
10. **HTTP		[OK] #140 OffersDTO
11. **HTTP		[OK] #141 ReadDropoffTimesResponseDTO
12. **Network	changed cellularToWifi
13. **HTTP		[OK] #142 IngestLocationsResponseDTO
14. **HTTP		[OK] #143 PingResponseDTO
15. **HTTP		[OK] #134 IngestLocationsResponseDTO
16. **HTTP		[OK] #144 PingResponseDTO
17. **Network	changed wifiToCellular
18. **HTTP		[OK] #147 IngestLocationsResponseDTO
19. **HTTP		[OK] #146 ReadDropoffTimesResponseDTO
20. **HTTP		[OK] #148 PingResponseDTO
21. **HTTP		[OK] #149 OffersDTO
22. **HTTP		[OK] #150 ReadTripsResponseDTO
23. **HTTP		[OK] #152 IngestLocationsResponseDTO
24. **HTTP		[OK] #153 PingResponseDTO
25. **HTTP		[OK] #154 OffersDTO
26. **HTTP		[OK] #155 ReadDropoffTimesResponseDTO

This seemed a little bit strange to me since we've observed issues with the cellular radio in gRPC which resulted in network requests hanging in the past when the phone switched between wifi/cellular due to the fact that the gRPC core library uses BSD sockets to communicate over the internet (rather than the native iOS networking stack).
We currently work around this socket issue within the Lyft app and upstream in gRPC by starting a new gRPC channel when we observe changes to the network such as toggling between wifi/cellular or 3G/LTE. My theory is that we don't see this issue with Envoy Mobile because it's listening to traffic that's sent through URLSession, rather than replacing URLSession entirely.
To test this theory, I ran requests through both URLSession/Envoy and gRPC, and disabled the gRPC channel restarts to better understand how calling BSD sockets directly (without URLSession) affects the traffic. The results I saw indicate that my theory appears to be correct:

gRPC requests hang (no responses are received after switching from wifi to cellular), while requests made through URLSession/Envoy continue to succeed normally
Below, you can see responses received normally from both sources until line 26 when the phone is toggled to cellular
At this point, responses to pings over gRPC stall
HTTP responses continue coming back in the correct order they were sent (as indicated by the # values)
When cellular is switched back off on line 40, the pings from gRPC come back over the wire, and HTTP traffic remains uninterrupted

 1. **GRPC		pinging upstream (expecting .noop back)
 2. **GRPC		received control: noop
 3. **GRPC		pinging upstream (expecting .noop back)
 4. **GRPC		received control: noop
 5. **HTTP		[OK] #136 OffersDTO
 6. **HTTP		[OK] #137 IngestLocationsResponseDTO
 7. **HTTP		[OK] #139 PingResponseDTO
 8. **GRPC		pinging upstream (expecting .noop back)
 9. **GRPC		received control: noop
10. **HTTP		[OK] #138 ReadDropoffTimesResponseDTO
11. **GRPC		pinging upstream (expecting .noop back)
12. **GRPC		received control: noop
13. **GRPC		pinging upstream (expecting .noop back)
14. **GRPC		received control: noop
15. **GRPC		pinging upstream (expecting .noop back)
16. **GRPC		received control: noop
17. **GRPC		pinging upstream (expecting .noop back)
18. **HTTP		[OK] #140 OffersDTO
19. **GRPC		received control: noop
20. **HTTP		[OK] #141 IngestLocationsResponseDTO
21. **HTTP		[OK] #143 PingResponseDTO
22. **GRPC		pinging upstream (expecting .noop back)
23. **GRPC		received control: noop
24. **HTTP		[OK] #142 ReadDropoffTimesResponseDTO
25. **GRPC		pinging upstream (expecting .noop back)
26. **Network	changed wifiToCellular
27. **GRPC		pinging upstream (expecting .noop back)
28. **GRPC		pinging upstream (expecting .noop back)
29. **GRPC		pinging upstream (expecting .noop back)
30. **GRPC		pinging upstream (expecting .noop back)
31. **GRPC		pinging upstream (expecting .noop back)
32. **HTTP		[OK] #147 ReadDropoffTimesResponseDTO
33. **GRPC		pinging upstream (expecting .noop back)
34. **GRPC		pinging upstream (expecting .noop back)
35. **GRPC		pinging upstream (expecting .noop back)
36. **HTTP		[OK] #148 OffersDTO
37. **HTTP		[OK] #149 PingResponseDTO
38. **HTTP		[OK] #150 IngestLocationsResponseDTO
39. **HTTP		[OK] #146 IngestLocationsResponseDTO
40. **Network	changed cellularToWifi
41. **GRPC		pinging upstream (expecting .noop back)
42. **GRPC		received control: noop
43. **GRPC		received control: noop
44. **GRPC		received control: noop
45. **GRPC		received control: noop
46. **GRPC		received control: noop
47. **GRPC		received control: noop
48. **GRPC		received control: noop
49. **GRPC		received control: noop
50. **GRPC		received control: noop
51. **GRPC		received control: noop
52. **HTTP		[OK] #145 PingResponseDTO
53. **HTTP		[OK] #151 ReadDropoffTimesResponseDTO
54. **GRPC		pinging upstream (expecting .noop back)
55. **GRPC		received control: noop
56. **HTTP		[OK] #152 PingResponseDTO
57. **GRPC		pinging upstream (expecting .noop back)
58. **GRPC		received control: noop
59. **GRPC		pinging upstream (expecting .noop back)
60. **GRPC		received control: noop
61. **GRPC		pinging upstream (expecting .noop back)
62. **HTTP		[OK] #153 OffersDTO
63. **GRPC		received control: noop
64. **HTTP		[OK] #154 ReadTripsResponseDTO
65. **HTTP		[OK] #155 IngestLocationsResponseDTO
66. **GRPC		pinging upstream (expecting .noop back)
67. **GRPC		received control: noop
68. **GRPC		pinging upstream (expecting .noop back)
69. **GRPC		received control: noop
70. **HTTP		[OK] #156 ReadDropoffTimesResponseDTO
71. **GRPC		pinging upstream (expecting .noop back)
72. **HTTP		[OK] #157 PingResponseDTO
73. **GRPC		received control: noop
74. **GRPC		pinging upstream (expecting .noop back)
75. **GRPC		received control: noop
76. **GRPC		pinging upstream (expecting .noop back)
77. **GRPC		received control: noop
78. **HTTP		[OK] #158 OffersDTO
79. **HTTP		[OK] #160 IngestLocationsResponseDTO
80. **GRPC		pinging upstream (expecting .noop back)
81. **GRPC		received control: noop
82. **HTTP		[OK] #159 ReadDropoffTimesResponseDTO
83. **GRPC		pinging upstream (expecting .noop back)
84. **GRPC		received control: noop

Additionally, backgrounding/foregrounding the app seemed to have no effect on requests/responses sent through Envoy Mobile via URLSession.
Conclusions

With the current configuration of sending traffic over URLSession and having Envoy proxy it through seems to yield no issues on iOS when switching between wifi/cellular or background/foreground
This is likely because URLSession is doing something smart under the hood to handle these changes
I would recommend re-running these tests when we switch to calling Envoy Mobile directly as a library (rather than running on top of calls to URLSession)
Depending on the outcome of https://github.com/lyft/envoy-mobile/issues/13, we probably won't have issues as long as we use Apple-approved network solutions for the transport on iOS (such as CFNetwork/Network.framework/etc.)

Another theory that was discussed offline is that Envoy's 5 second DNS refresh was "fixing" the issues gRPC has using BSD sockets.
To see if this was the case, I just applied the the config/yaml set from https://github.com/lyft/envoy-mobile/pull/218 to my local build (essentially slowing down DNS refreshes to 60s), and was able to see requests going through the same way as before. Thus, it still looks like URLSession is responsible for this.

Docs: https://github.com/lyft/envoy-mobile/pull/224

@mattklein123 @junr03 following up on the Slack discussion here:
I ran Envoy Mobile again alongside gRPC Swift - this time with the log level set to trace. The output is available in this gist. The hope was to identify if Envoy is doing something that would cause it to work properly when switching between WiFi/cellular even though gRPC (which uses BSD sockets) breaks.
Let me know what you think of those logs. Key things to look for:

**NETWORK is logged when the device switches between WiFi/cellular
**STREAM is a gRPC stream that is maintained throughout the lifetime of the app (never manually restarted)
**UNARY is a gRPC unary request sent over the same channel as the streaming requests
**HTTP are HTTP unary requests sent over URLSession/Envoy

I did notice quite a few logs that look potentially interesting that happen after the switch from WiFi:

socket event: 1
read error: Resource temporarily unavailable
new stream

I haven't looked through the logs yet, but my suspicion is the difference here is that the gRPC client is using blocking IO with BSD sockets whereas Envoy is using non-blocking IO and kqueue. My guess is that the async nature of the IO is causing the kernel to handle it differently. If it's true that the gRPC client is using blocking IO, this is probably what I would discuss w/ the Apple folks.

From looking at the docs, initial impressions:

I did notice quite a few logs that look potentially interesting that happen after the switch from WiFi

I think this might be a red herring. Every time Envoy reads from the raw buffer it reports a successful read followed by resource temporarily unavailable. I have not read the codepath closely yet. But my main point is that that is not happening only when the network transition happens.
It seems that there were no envoy requests in flight when the network transition happened. However it looks, via connection ID (C) that connections do get recycled across network transitions.
I also looked for socket close events and the three events that I saw happened after both network transitions had already occurred.
So that leaves me with no good clues about how Envoy is handling the network transition events smoothly. Especially since it seems to be using the same connections across the transition.

@Reflejo and I paired and dug into this a bit more, and we believe we have a good understanding of what's going on now.
Experiment
Built the Envoy Mobile library using the following flags to allow us to build to a device with debugging symbols:
--ios_multi_cpus=arm64 --copt=-ggdb3

Ran an example app on an iPhone X that:

Made single requests to a simple Python server from which we could see when the client connected, disconnected, and made requests
Routed these requests through Envoy using the socket implementation of Envoy Mobile via URLSession (not calling directly into the Envoy Mobile library)

In the active scheme of the app's Environment Variables, set CFNETWORK_DIAGNOSTICS=3 to enable more verbose CFNetwork logs. Additionally, set Envoy's logs to trace.
We then slowly made network requests, one at a time, through the app.
Findings
Whenever we switched from WiFi to cellular (or vice versa), the next 1 request would consistently fail with code -1001 kCFURLErrorTimedOut. At the same time, we'd see the connection terminate on the server, and we'd see logs from both Envoy and CFNetwork indicating that a new connection was established.
When we executed the next request, it would complete successfully.
If we did this more quickly and sent several requests in rapid succession, the first would still fail and the subsequent requests would complete normally.
Setting the URLSessionConfiguration's httpMaximumConnectionsPerHost to 1 (preventing concurrent connections) and sending several requests in rapid succession resulted in all of them failing after the timeoutIntervalForRequest specified on the URLSessionConfiguration. This is the same behavior seen with libraries like gRPC which use BSD sockets.
Analysis
The current setup looks like this:
[URLSession] --> [Socket] --> [Envoy Mobile] --> [Socket] --> [Internet]

The experiment above indicates that when the working connection changes to inactive (i.e., disabling WiFi and forcing the phone to switch to cellular), the sockets aren't notified of the change. This is a commonly understood issue with BSD sockets on iOS, and is why Apple strongly advises against using them.
Executing another network request over URLSession results in the following, which is why URLSession previously appeared to "fix" the issue:

iOS realizes that the connection is dead and terminates its socket connection with Envoy, then re-establishes it
When the connection with Envoy is terminated, Envoy in turn terminates its socket connection with the outside Internet
When iOS reconnects to Envoy, Envoy also reconnects and selects the first available connection (cellular in this case)
Future requests succeed because they're sent over the new/valid connection

Essentially, URLSession is forcing Envoy to reconnect/switch to a valid connection when a request fails due to the fact that it's disconnecting from Envoy and reconnecting to it. This means:

When we switch to calling Envoy as a library (instead of over a socket), this will break completely as we originally expected it to because nothing will be forcing Envoy to reconnect to a valid connection
Restricting concurrent connections makes this problem immediately apparent even in today's setup because the only existing connection becomes invalid

Additionally, putting the phone in airplane mode results in all requests failing immediately (instead of waiting for the specified timeout) because iOS is aware that it has no connectivity.
Next steps
It's very clear that Envoy will need to have good support for these kinds of network transitions before it goes to production. I propose the following next steps as a way to proceed:

(Optional) For internal/alpha testing, add a stop-gap by observing network changes and forcing Envoy to reconnect. This is what's done in SwiftGRPC, gRPC Core, and is essentially what's happening today under the hood via URLSession. If we take this approach, we may want to consider building in functionality for listening in on SCNetworkReachabilityCreateWithAddressPair
Proceed with implementing a socket abstraction for iOS (https://github.com/lyft/envoy-mobile/issues/13) which uses CFNetwork under the hood (potentially using something like CFSocketGetNative). This will allow us to support older (pre-iOS 12) devices and unblock production
As an immediate next step, implement the same socket abstraction using Network.framework so that we can be future-facing since this is the newly accepted best practice for this kind of networking on iOS

Thoughts @mattklein123 @junr03 @goaway?

Thanks for doing this investigation @rebello95 and @Reflejo!
I think observing network changes is necessary no matter what (1.), since the CF interfaces (2.) will get us a socket on the current "right" or preferred interface, but won't automatically signal the switch (IIRC). Network.framework (3.) let's us specify interfaces explicitly which is nice because we don't have to infer them, but I don't know if there's any additional baked in reachability signaling.
Ultimately, internally what I think we'll do is classify and maintain connections (while viable) on both interfaces and have strategies (e.g. reachability signals or observed health) for favoring them. (This is already similar to Envoy's connection pool model and I think we can likely adapt it to support this.)

Awesome work @Reflejo @rebello95! This all makes sense to me now.
Can we put together a short design doc on iOS transport socket options? Agreed we can look at stopgap hacks for alpha, including possibly even just tearing down and recreating Envoy on interface changes. I would also recommend looking at what cronet does as a data point. Whatever we do we will need to figure out the right way to bridge the iOS platform APIs with Envoy's kqueue based event loop.

I actually think we should prioritize this conversation ASAP. I don't see any easy way to support high level APIs on iOS with envoy, so I agree we should put a design doc on the options.
I think the short term solution is to observe reachability and close the socket; and test throughly libevent is propagated, without changing any envoy syscalls. As mike mentioned, neither CFSocket nor BSD sockets support scoped routing on iOS and so the hand-off won't happen. It's worth noting that cellular radio is also not turned on but neither of them and VPNs won't work. This is probably ok for the short term. Another option here is to investigate CFStream.
The longer term is what we should think about and something I'm a bit concerned. Ideally we should use Network.framework, which is what apple is investing in (reachability signaling is baked into it AFAIK) but this is going to be very challenging since we can't just pass a fd and observe on it.
Since they are moving to user-space, the abstractions we have on envoy right now don't map very well to it. We need to think through it.

Those are great callouts, and I definitely think this is something that we need to (and are) prioritizing. @goaway and @junr03 will be heading up the work to implement the socket layer on iOS, which will be tracked in https://github.com/lyft/envoy-mobile/issues/13. After discussing in planning today, we're going to have a doc with basic proposed options by EOW, and will start implementation in early August when @junr03 gets back from OOO.

@rebello95 going to close this in favor of keeping #13 open.


Tool recommended for SD card formatting is a dead link

I was looking for a good tool to format a 128 GB SD card, and eventually found a software download site for the tool you recommended in the guide.  It works, just minor issue with the link being dead.

https://goo.gl/ScGYyp there is a copy of it uploaded to my Google drive. It can be added to the guide if you want

Fixed


Founded Bugs

Please report here

Translate.php
Fix:
    // $this->adapter->offsetGet() was thrown error with Phalcon 2.0 (??)
    $reflection = new \ReflectionClass($this->adapter);
    $property = $reflection->getProperty('_translate');
    $property->setAccessible(true);
    //$this->signature = $this->adapter->offsetGet($signature);

    // setup signature
    $this->signature = $property->getValue($this->adapter)[$signature];

Hi, I like your module but there is a major bug.
I am assigning at ControllerBase a translation for controller.
Ex. $this->view->setVar('tProducts', $this->translate->assign('products'));
$this->view->setVar('t', $this->translate);
So when I am trying to get a translation for the header (using this inside the view: {% set tHeader = t.assign('header') %}) it assigns at $products the header's translation variables so I have to reassign it inside the view.
It would be more flexible to keep all the variables that have been assigned. For example you can set a "tLang" for all translations. tLang can be an array or an object so in view you would do this:
{{ tLang.products.translate('Products') }}
or in header
{{ tLang.header.translate('Menu') }}


Add iterator

iterate through all objects using for obj in collection
Not sure if we can support typed returns 🤔

Codecov Report
Patch coverage: 86.73% and project coverage change: -0.10% :warning:

Comparison is base (f190911) 92.95% compared to head (b601bb6) 92.85%.
Report is 39 commits behind head on pydantic_experiment.

Additional details and impacted files
@@                   Coverage Diff                   @@
##           pydantic_experiment     #532      +/-   ##
=======================================================
- Coverage                92.95%   92.85%   -0.10%
=======================================================
  Files                      100      102       +2
  Lines                    12005    12350     +345
=======================================================
+ Hits                     11159    11468     +309
- Misses                     846      882      +36

Files Changed
Coverage Δ

weaviate/embedded.py
92.05% <ø> (ø)

integration/test_collection_openai.py
38.83% <23.80%> (-7.84%)
:arrow_down:

weaviate/collection/classes/config_methods.py
76.92% <75.00%> (+5.49%)
:arrow_up:

weaviate/collection/grpc.py
86.15% <77.77%> (-0.94%)
:arrow_down:

weaviate/collection/collection_base.py
75.40% <78.57%> (+10.10%)
:arrow_up:

weaviate/collection/rest_batch.py
79.31% <79.31%> (ø)

weaviate/collection/config.py
82.95% <81.81%> (-0.80%)
:arrow_down:

weaviate/collection/collection.py
95.77% <94.73%> (-1.67%)
:arrow_down:

weaviate/collection/extract_filters.py
96.96% <95.45%> (-1.25%)
:arrow_down:

weaviate/collection/classes/filters.py
98.95% <98.07%> (-1.05%)
:arrow_down:

... and 10 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


How create own preset(plugin) with own code style with new version

I am very confusing, my last config https://github.com/itgalaxy/remark-preset-lint-itgalaxy now not work

Correct, sorry about that. It sucks, but it was required, as the previous “presets” did not work on the API, and that was a big design mistake.
There’s two changes:

plugins should be required in presets
remark-lint changed too, every rule is a plugin, so instead of setting blockquote-indentation to 2, you should now use something like [require('remark-lint-blockquote-indentation'), 2] instead.

I think my personal preset will provide a good starting point.
Do let me know if you have any further questions, either below, or on Gitter!


Acyclic motions conditioning

Hello,
In the article corresponding to this repository, in section 7.4 Acyclic Motions, is is mentioned an idea about additionally conditioning the VAE model. It is said that it can generate the next frame considering a one-hot encoding of an acyclic action like kick or header.
I have gone through the repository code, but I might have missed this part. As far as I have seen, at least for the default model (Mixture VAE), the encoder only conditions on the given number of previous frames (https://github.com/electronicarts/character-motion-vaes/blob/main/vae_motion/models.py#L87). Did I miss this additional conditioning part or it was not included in current state of the repository?
Thank you!

Sorry for the late response.
You’re right — you haven’t missed it, it’s not in the current state of the repository.  The acyclic motion experiments were late additions to the paper (suggested by reviewers), and so didn’t make it to the code release.
We chose the easiest implementation that we could come up.  In L87 of the encoder, the frame_size would be larger, as it would contain the one-hot vector as well as the pose.  By treating the one-hot vector as part of the condition, we can implement it with minimal code changes.  The decoder can be similarly modified.  When training RL controller or at test time, we would force the condition vector to be a certain action by blending the one-hot vector with the desired action.

Could give a brief example about one-hot vector?


window height and window width

Thanks for this — sorry it's taken so long to get back to you!
I'm in two minds, but I don't think I'll merge this. The simpl.info demos are not intended for every JavaScript feature, just ones that (IMHO) are less well understood.
I hope you don't mind — and thanks again for your PR.


Update contributing.md to clarify installation of Nx and not Turborepo

Description
The description says install turbo globally and the command installs nx globally. Since the setup uses nx, I have clarified the Contributing.md to install nx globally
Motivation and Context
For clarity
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Enhancement (changes that improvement of current feature or performance)
[ ] Refactoring (changes that neither fixes a bug nor adds a feature)
[ ] Test Case (changes that add missing tests or correct existing tests)
[ ] Code style optimization (changes that do not affect the meaning of the code)
[ ] Docs (changes that only update documentation)
[x] Chore (changes that don't modify src or test files)

Self Check before Merge

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

not-stale


Node example missing sidebar

https://rethinkdb.com/docs/examples/node-todo-promises/

This is not in the example projects page anymore, and as far as I remember the examples directory is actually deprecated. I suspect the issue here isn't that this example is missing the sidebar as much as that this example shouldn't still be linked anywhere.

Closing in favor of #1050


Footer should be fixed at bottom

The dark footer with About and FAQ links should be fixed at the bottom, there shouldn't be any white part under the footer. Instead this is what happens when the page content is little:

I really like the theme, but this is quite a buzzkill. is anybody making progress on this front?


Issues with yarn start

Initially, I ran yarn install followed by yarn start, which lead to the following exception:
➜  Arkitektonika git:(master) yarn start
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /Users/alex/github/Arkitektonika/app/launch.ts
    at new NodeError (node:internal/errors:372:5)
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:76:11)
    at defaultGetFormat (node:internal/modules/esm/get_format:118:38)
    at defaultLoad (node:internal/modules/esm/load:21:20)
    at ESMLoader.load (node:internal/modules/esm/loader:407:26)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:326:22)
    at new ModuleJob (node:internal/modules/esm/module_job:66:26)
    at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:345:17)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:304:34)
    at async Promise.all (index 0) {
  code: 'ERR_UNKNOWN_FILE_EXTENSION'
}

You'd need to use the start:prod subcommand as of now. There were a few issues with nodemon etc, which I'll have to look into

The same applies to start:nodemon, because it invokes ts-node ./app/launch.ts throwing the same error.


Feat: Added the mentorship  section as decided  issue#210

Finally done with the mentorship section
created separate file which can be accessed by here

created separate html and css for mentor section.
this is how it looks

@Rizwan102003 @pulkitpathak99 @SaurabhS55 @arushi2610  have a look and merge this plz as fast as you can .
And label it under the tags gsoc ext,hacktober open,level 2-3

@SaurabhS55 @pulkitpathak99 please put the labels here before I merge

@Rizwan102003 bro labels aap he daaldo plz before merging ya PR aab count nhi hoga bina label KE?


Wrapper needs to get CSV files for modules

Wrapper needs to solicit CSV files for each of the selected hypothesis tests
Hypothesis functions would test the csv for ".csv", # of columns, datatypes in columns, nulls, etc.

Addressed in class


Fix for cape jitter

Resolves #1

Thanks for your contribution!
Although I must ask, have you checked if it doesn't break? I've tried as-is and fixing bugs, but it somehow breaks the other injects.

I haven't experienced any breaking myself I don't think, I've been using the mod with the patch along with some other mods like sodium and everything seemed to work.

Sadly, I'll have to reject this PR mostly because I can't run it :(
It's entirely on my end and I managed to get it to work exactly once, but that's about it. I have no idea what's going wrong. However... I'll add it myself in due time.


Backwoods Forest -> Hold for reinforcement: Only one wave of enemies has run.

Steps to reproduce:

Log in.
Go to Backwoods Forest location.
Start the 'Hold for Reinforcements' mission.
Choose the hero
Run the default (original) code.

Expected result: Several waves of enemies should run, through all three passages.
Actual result: Only one wave of enemies has run, through the left passage.
Additional info:
JS, Chrome 43, Win7.
No errors in js console.

Fixed. Thanks for letting us know.


Add TRAVIS_REPO_SLUG to all repos

Refs https://github.com/caskroom/homebrew-cask/pull/22847.
Too sleepy to do it now, so making the issue to not forget, or if someone wants to do it in the meantime.

Done in https://github.com/caskroom/homebrew-versions/compare/702a70afe35e1f9572c15507531a7eb306ed7983...7653abfea44db83d829f57ba8e88dc343ed1545a and https://github.com/caskroom/homebrew-fonts/compare/defbc87ecfbd86cb4cbd3da2d29f71934ebfe029...5428f9ddeabcfc7372d8abb92a835cbcd63baf02


Implemented formatters for several Reflection API classes

@see https://www.php.net/manual/en/book.reflection.php
Also added some convenience methods to the Caster class, utilizing said Reflection API formatters. These methods do NOT exist in CasterInterface, as this would have been a breaking change.
Additionally, a bit of phpcs and phpstan cleanup was performed.

Approved


Cannot find config

It seems to look for a config and fails into oblivion.
The exact error is:
Failed opening config!
Wayland: Registering monitor DP-2 at ID 0
Wayland: Registering monitor DP-3 at ID 1
NVML not found, disabling Nvidia GPU
AMD GPU not found, disabling AMD GPU
PulseAudio: Context is ready!
PulseAudio: Update info
Cannot open network device! Disabling Network widget.
Info: No CSS found in /home/user/.config
Info: No CSS found in /home/user/.local/share
CSS found and loaded successfully!
Cannot find plugin library!
[Exiting due to assert failed]
apologies if  I'm dumb but I can't seem to find the solution.
I really like this bar its by far one of the better wayland bars out there.

Failed to opening config is not the critical error here. gBar fails, because you specified an invalid widget to open. gBar bar 0 should typically work (Commands for the other builtin widgets can be found under Running gBar).
If you want to configure gBar, you can follow the steps in Configuration for your System for config and FAQ/I want to customize the colors for changing the css used.


Typo in multicluster.sigs.k8s.io/#project-charter

Describe the issue
There seems to be a typo in https://github.com/kubernetes-sigs/sig-multicluster-site/blob/main/site-src/index.md?plain=1#L40

Where it says rool, I believe it should say room

/sig multicluster
/kind documentation


Debug non root

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

git push --set-upstream origin debug-non-root

/test pull-kubevirt-e2e-k8s-1.19-sig-compute-nonroot

/close

/open


compatibility with other mods nether mobs

Nether mobs from Natura, Ad Inferos, Quark and PrimalCore don't spawn in the Nether when NetherEx is present.

It would be nice you solve this issue and the problem of compatibilities with BOP biomes, because they are really annoying issues.

As far as I know, the mobs not spawning are not my problem. The mod authors have to adjust their mob spawns to include all Nether biomes opposed the default Vanilla one.  I am currently working on an update that includes BOP compatibility.

The problems comes from you since everything works fine without NetherEx.

Natura and Primal core mobs should be spawning in the Nether. The issue with Ad Inferos was fixed here: https://github.com/superdextor/Ad-Inferos-Mod/issues/7. I submitted an issue for the Quark Wraiths not spawning here: https://github.com/Vazkii/Quark/issues/628.

Thanks for the answer, there are too the LightningCraft golems which seem to not spawn.

i have started to look into compatibility between NetherEX and PrimalCore, i have several nether mobs and a range of worldgen so it will be interesting to see how this goes.

Any progress with this issue ?

This has been fixed in the latest version.


SPARKC-233 use executeAsync when joining with C* table

This is a backport of #969

Build against Scala 2.11 finished with failure

Build against Scala 2.10 finished with failure

retest this please

Build against Scala 2.10 finished with failure

Build against Scala 2.11 finished with success


Add Optimizer Class & separate math functions

Add Optimizer Class and remove duplicated codes.
. Hyperparameters related with Optimizer class placed Optimizer
Class.
. OptParam, WeightDecayParam, OptType, WeightDecayType

Seperate math functions in util_func.h/cpp

Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #32. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/nntrainer/ci/repo-workers/pr-checker/32-202004081653280.7895290851593-a56cd9bd2a79207d9ec51de6da463fa4dc5fa996/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/nntrainer/ci/repo-workers/pr-checker/32-202004090743410.24864101409912-9c449ab8b61193648feaae5f3495a84f00afe3e1/.


Feature/3392 central protobuf files

Description
This updates our project to run with the new central managed protobuf files.
Link to Jira
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-3392

(Blocking because of the pipefail.)
So, no Swift-Packages then?

This PR is just to get us aligned with the central protobuf files and make it easer for upcoming changes. We can still create a Swift-Package for this.


Init node Adam/iter/Assign doesn't exist in graph

model = keras.Sequential([
    layers.Flatten(input_shape=(image_h, image_h, 1)),
])

model.compile(optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
model.save("model_right_error.h5")

converter = tf.lite.TFLiteConverter.from_keras_model_file("model_right_error.h5")
tflite_model = converter.convert()
open("model2.tflite", "wb").write(tflite_model)
tensorflow/core/grappler/grappler_item_builder.cc:637] Init node Adam/iter/Assign doesn't exist in graph
how to fix?

android
does not encode a valid TensorFlowLite model: The model is not a valid Flatbuffer file

@dizhanbin ,
Hello, can you please refer this similar Stackoverflow issue and let us know if it helped.Thanks!

fixed it ,removed anaconda and installed package by pycharm.


Input doesn't work

Hello,
Some devices INPUT doesn't work, Input simply doesn't responds.

Sony Xperia SP (Android) - version  Kit Kat
Samsung Grand - version Jelly Bean

Do we have some minimum SDK for android?

Any live example, screenshot, video?

Do we have some minimum SDK for android?
Better support in Android 4.4+

https://www.youtube.com/watch?v=8DasqHipjdw&feature=youtu.be

https://mmf.cdn.whatsapp.net/d/npn08-FXqc1SFjUOPeuHblYFejw/Apq_AzUb94c1qEMf72LgG8OjCgkbKU0IGqPZKSLIPYHl.mp4?x=2

Have you tried it on other devices? Could be device-specific issue

Issue was from custom css that doesnt react for particular android versions.. anyways thanks alot for your support.
Tested for v4.1-5.0 - working well.


RNA-Seq pipleline fails at kraken

I'm trying to add kraken to my analysis pipelines and am getting a the following issue in my output:
[2018-08-02T21:34Z] System YAML configuration: /usr/local/share/bcbio/galaxy/bcbio_system.yaml
[2018-08-02T21:34Z] Resource requests: picard; memory: 3.00; cores: 16
[2018-08-02T21:34Z] Configuring 18 jobs to run, using 1 cores each with 3.00g of memory reserved for each job
[2018-08-02T21:34Z] Timing: organize samples
[2018-08-02T21:34Z] multiprocessing: organize_samples
[2018-08-02T21:34Z] multiprocessing: prepare_sample
[2018-08-02T21:34Z] Resource requests: hisat2, picard, samtools; memory: 3.00, 3.00, 3.00; cores: 16, 16, 16
[2018-08-02T21:34Z] Configuring 1 jobs to run, using 16 cores each with 48.1g of memory reserved for each job
[2018-08-02T21:34Z] Timing: alignment
[2018-08-02T21:34Z] multiprocessing: disambiguate_split
[2018-08-02T21:34Z] multiprocessing: process_alignment
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_C1_CTL_iPSC_meta31 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_C1_CTL_Neuron_meta32 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_C2_CTL_iPSC_meta33 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_C2_CTL_Neuron_meta34 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_C3_CTL_iPSC_meta35 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_C3_CTL_Neuron_meta36 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_NR1_MDD_iPSC_meta154 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_NR1_MDD_Neuron_meta155 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_NR2_MDD_iPSC_meta156 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_NR2_MDD_Neuron_meta157 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_NR3_MDD_iPSC_meta158 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_NR3_MDD_Neuron_meta159 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_R1_MDD_iPSC_meta160 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_R1_MDD_Neuron_meta161 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_R2_MDD_iPSC_meta162 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_R2_MDD_Neuron_meta163 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_iPS_R3_MDD_iPSC_meta164 with hisat2 aligner
[2018-08-02T21:34Z] Aligning lane MDD_mayo_Neuron_R3_MDD_Neuron_meta165 with hisat2 aligner
[2018-08-02T21:34Z] Resource requests: cufflinks, samtools; memory: 3.00, 3.00; cores: 16, 16
[2018-08-02T21:34Z] Configuring 1 jobs to run, using 16 cores each with 48.1g of memory reserved for each job
[2018-08-02T21:34Z] Timing: disambiguation
[2018-08-02T21:34Z] Timing: transcript assembly
[2018-08-02T21:34Z] Timing: estimate expression (threaded)
[2018-08-02T21:34Z] multiprocessing: generate_transcript_counts
[2018-08-02T21:34Z] multiprocessing: run_salmon_index
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] Transcriptome index for /home/ubuntu/efs/metapsych/metapsych-krishna-mdd/work/inputs/transcriptome/hg38.fa detected, skipping building.
[2018-08-02T21:34Z] multiprocessing: run_salmon_reads
[2018-08-02T21:34Z] multiprocessing: detect_fusions
[2018-08-02T21:34Z] Resource requests: dexseq, express; memory: 10.00, 8.00; cores: 1, 1
[2018-08-02T21:34Z] Configuring 6 jobs to run, using 1 cores each with 10.00g of memory reserved for each job
[2018-08-02T21:34Z] Timing: estimate expression (single threaded)
[2018-08-02T21:38Z] Resource requests: gatk, vardict; memory: 3.50, 3.00; cores: 1, 16
[2018-08-02T21:38Z] Configuring 1 jobs to run, using 16 cores each with 56.1g of memory reserved for each job
[2018-08-02T21:38Z] Timing: RNA-seq variant calling
[2018-08-02T21:38Z] multiprocessing: run_rnaseq_variant_calling
[2018-08-02T21:38Z] Resource requests: fastqc, gatk, kraken, preseq, qualimap, samtools; memory: 3.00, 3.50, 3.00, 3.00, 4.00, 3.00; cores: 16, 1, 16, 16, 1, 16
[2018-08-02T21:38Z] Configuring 1 jobs to run, using 16 cores each with 64.1g of memory reserved for each job
[2018-08-02T21:38Z] Timing: quality control
[2018-08-02T21:38Z] multiprocessing: pipeline_summary
[2018-08-02T21:38Z] QC: MDD_mayo_iPS_C1_CTL_iPSC_meta31 kraken
[2018-08-02T21:38Z] Running kraken to determine contaminant: MDD_mayo_iPS_C1_CTL_iPSC_meta31
Traceback (most recent call last):
File "/usr/local/bin/bcbio_nextgen.py", line 242, in
main(**kwargs)
File "/usr/local/bin/bcbio_nextgen.py", line 47, in main
run_main(**kwargs)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 45, in run_main
fc_dir, run_info_yaml)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 89, in _run_toplevel
for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/main.py", line 272, in rnaseqpipeline
samples = qcsummary.generate_parallel(samples, run_parallel)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 39, in generate_parallel
qced = run_parallel("pipeline_summary", to_analyze)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel
return run_multicore(fn, items, config, parallel=parallel)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
for data in joblib.Parallel(parallel["num_jobs"], batch_size=1)(joblib.delayed(fn)(x) for x in items):
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 949, in call
if self.dispatch_one_batch(iterator):
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 791, in dispatch_one_batch
self._dispatch(tasks)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 748, in _dispatch
job = self._backend.apply_async(batch, callback=cb)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/_parallel_backends.py", line 183, in apply_async
result = ImmediateResult(func)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/_parallel_backends.py", line 543, in init
self.results = batch()
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/joblib/parallel.py", line 224, in call
for func, args, kwargs in self.items]
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/utils.py", line 52, in wrapper
return apply(f, *args, **kwargs)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/distributed/multitasks.py", line 208, in pipeline_summary
return qcsummary.pipeline_summary(*args)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 70, in pipeline_summary
data["summary"] = _run_qc_tools(work_bam, work_data)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/pipeline/qcsummary.py", line 161, in _run_qc_tools
out = qc_fn(bam_file, data, cur_qc_dir)
File "/usr/local/share/bcbio/anaconda/lib/python2.7/site-packages/bcbio/qc/kraken.py", line 29, in run
if not os.path.exists(db):
File "/usr/local/share/bcbio/anaconda/lib/python2.7/genericpath.py", line 26, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, list found
everything works great until it hits kraken, my yaml template is:
Template for human RNA-seq using Illumina prepared samples

details:

analysis: RNA-seq
metadata:
batch:
phenotype:
genome_build: hg38
algorithm:
aligner: hisat2
adapters: [truseq, polya]
expression_caller: [salmon]
tools_on: [qualimap]
kraken: [minikraken]
upload:
dir: ../final

Any help with this would be awesome!

Patrick;
Thanks much for the detailed report and apologies about the issue. The problem is that kraken expects a single value and the configuration provides it as a list. If you change:
kraken: [minikraken]

to
kraken: minikraken

It should fix the issue. I also pushed a fix to handle this to the latest development version, so updating to that is another option to avoid the error. Hope this helps get your analysis finished.

Thanks @chapmanb, I missed this one.

easy fix, thank you!!


Move java-symbol-solver under the JavaParser umbrella

This issue is intended to discuss how to move the project under JavaParser

[x] Change license #95
[x] Change packages (from me.tomassetti to com.github.javaparser) #97
[x] Update the Readme to reflect the change #100
[x] Transfer the project under the JavaParser organization
[x] Do a release with the new coordinates #108
[ ] Uniform the build system to JavaParser #101
[x] Adopt the JavaParser code style #103
[x] Rename the project #99

Anything else?
In this issue we could discuss the list and then open single issues for each task.

As far as I'm concerned this is all optional :)

Maybe it would make sense to create a copy of the project under the JavaParser organization and do there the changes, leaving this project here for "historical reasons". What do you think?

What I think happened with JavaParser was that we used a github feature that moves a repository somewhere else (and after that I made my own fork again.)
Here, this is what you want: https://help.github.com/articles/about-repository-transfers/

Yes, I am aware of transfers but I thought we could make a copy instead so that we could keep the old version here. However thinking again about it it probably does not make much sense. Let's just transfer it then!

Maybe we can remove changing the build system for now (it is so boring and frustrating) and focus on doing soon a new release with the new coordinates

Done. We should just change the build system in the future


formatter: add two tests NaN and Infinity

https://github.com/envoyproxy/envoy/pull/26464 removed JsonOrDie function but added ENVOY_BUG in the format call path.
The pre-release version of Protobuf includes this change:
Expect fail when serialize inf and nan for Value.number_value in json format. fixes #11259
https://github.com/protocolbuffers/protobuf/commit/ca1cb1ba80ef18f5dccfb5b6ee7fa623ba6caab5
If we bump the Protobuf version, there will be an exception & crash using NaN/inf/-inf in protobuf.struct number_value when performing the serialization, while there is no check for this behavior right now.
Added 2 tests to catch this behavior change in the future.
Commit Message:
Additional Description:
Risk Level: Low
Testing: unit
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @alyssawilk


installing dependencies on CI is slow

Following #194 adding galsim as a dependency slowed down the CI dependency installation quite a bit (from 2m to 7m). It might be related to #207 and we can probably also improve by caching pip? Although not sure how that works with poetry.

Continuous integration over at galsim takes 18 minutes:
https://travis-ci.org/github/GalSim-developers/GalSim/jobs/743005753/config
There might not be a way to speed this up

Hmm I was looking at the CI run here. It seems like installing their dependencies only takes like (<1 min). So I'm hoping we can still speed-up somehow, in any case this is not too urgent so we can come back to this later. But here is a github action that seems to be able to cache poetry: https://github.com/marketplace/actions/setup-poetry

Good pont, I guess it's possible


Fred sees a tool tip for function of buttons on hover

https://www.pivotaltracker.com/story/show/132043337

Closing since this is simply a link to the tracker and that exists in the Contributing readme.  We should correctly migrate off tracker if we want to and not have issues that are simply links.


Custom CSS to remove animations has stopped working.  Help please?

Can anybody here fix my CSS for me, please?  I don't speak CSS myself.  I'd ask in the Discord server, but the link to that is currently broken.
As discussed in  #228 , I have a sensory disorder. The animations that are part of Discord's interface are very uncomfortable and distracting. Two users on here were kind enough to fix up a piece of custom CSS to use with BetterDiscord to remove them.  Without that, Discord really isn't usable for me.  Here it is as I've been using it:
    -moz-animation: none !important;
    animation: none !important;
    transition: none !important;
}

/*reactions*/
#app-mount .reaction-1ELvT8.reactionMe-23mbRf /*reacting to stuff*/{
    transform: none !important;
    opacity: 1 !important;
}
.reaction-1ELvT8.reactionMe-23mbRf .reactionCount-2ddRoS div[style*="position: absolute;"], .reactionCount-2ddRoS div[style*="position: absolute;"] {
    transform: none !important; /*reaction number - will look wonky for a split second*/
}
/*those dot things*/
#app-mount .dots-3Bkt3k circle[fill="white"] {
    opacity: 1 !important;
    r: 2;
}
/*popouts and the backdrop*/
#app-mount .inner-1ilYF7, .modal-3c3bKg /*popouts*/{
    transform: none !important;
    opacity: 1 !important;
}
#app-mount .backdrop-1wrmKB, .backdropWithLayer-3_uhz4 /*backdrop (background)*/ {
    transform: none !important;
    opacity: 0.8 !important;
}```
As mentioned in #283 , the prancing "is typing" dots reappeared last year.  I asked a few friends, and they concluded that the dots were no longer using CSS at all and therefore couldn't be banished by CSS.  It's very stressful and uncomfortable - I'm frequently in trouble with moderators these days, because the least thing makes me lose my temper because I'm always close to breaking point already just because of the pain from the animations.  But I continued to use Discord, at least somewhat.  It's the only way I can communicate with a lot of my friends.

Now the fruit machine-like animation when somebody puts a "reaction" on a post, or at least when more than one person does in quick succession, has reappeared.  I'm guessing that Discord must have changed what the name of this is in the CSS, or something, so that the old code no longer identifies it.

I do use the new "Reduced Motion" setting in Discord, and it's good, but it doesn't catch either of those ones.  Apparently they underestimated just how bad their interface was for someone with a condition like this.  I think I might contact them and point those ones out.

At the moment I've made it usable by just putting "transform: none !important;" into the "*" section at the top, so that it applies to _everything_.  But, as you'll see if you try it, this is not a good solution!  No fruit-machine animations, but stray boxes, tooltips, "New Unread" messages, etc. permanently scattered all over the window, whether it means them or not.

Please can anyone banish this fruit-machine animation for me?  And if you could get rid of the prancing dots, that would be marvellous, but I don't hold out much hope!

This CSS should help a bit used with Reduce Motion.
*[class*="dots"] {
    display: none !important;
}
* {
    transition: none !important;
}
*[class*="reaction"], *[class*="reaction"] * {
    transform: scale(1) !important;
    opacity: 1 !important;
}

I managed to completely remove the typing dots (now it only shows text "(Someone) is typing...").
Also, from your description it seems like you used transform instead of transition, which made the scattering throughout the whole window thing. When using the correct name it doesn't seem to do it.
I also did something about the reactions.
Hope it works well enough.

Perfect!  Thank you very much.  Yes, I'd actually set "transform: none" for all elements on purpose, because it was the only way to stop the "reactions" as I didn't know their name.  Now I can turn it off and have Discord without all the mess again.  And it's such a relief to have those dots gone as well, I really wasn't expecting that!  Discord's "Reduced Motion" mode really doesn't go quite far enough.


[Feature Request] Expose _webui_find_best_browser

I feel as though there may be some conditional logic developers may want to do based on the browser to use, BEFORE the window is shown. An example of this would be conditionally loading a Firefox XPI or Chromium extension, depending on which browser will be used (assuming #307 implements the feature for both platforms).
I imagine it would look something like this:
Window myWindow = new_window();

if (webui_find_best_browser() == Firefox) {
  // Set XPI file in extensions to load
} else if (webui_find_best_browser() == ChromiumBased) {
  // Set ZIP or whatever Chromium uses I can't remember
} else {
  // Do nothing? Attempt to load both and see which works? Idk, up to the developer
}

// Since `show()` internally also calls `webui_find_best_browser()`, this should match what was determined earlier UNLESS there is already a `current_browser` set internally (see: https://github.com/webui-dev/webui/blob/2a5f0c98fbb267a5aed921a8678f3f108bb12a6e/src/webui.c#L5272)
myWindow.show("<html>Hello World!</html>")

Perhaps the function should also be renamed to something like webui_determine_browser or something, just to make it more clear.

Now, there is a api for choosing browser webui_show_browser:
https://github.com/webui-dev/webui/blob/2a5f0c98fbb267a5aed921a8678f3f108bb12a6e/include/webui.h#L221
It will return whether the setting is successful, which can indeed achieve the effect you mentioned.
But I think your proposal is better, it should provide an API to detect whether the browser is available


[iOS][RichTextBlock] Rich text Block does not work on 1.2

Platform
What platform is your issue or question related to? (Delete other platforms).

iOS

Author or host
Host
If you're an author, who are you sending cards to?
1.2
What version are you using? Ex: NuGet 1.0.2, or latest master, etc...
None
Explain your issue. Rich text Block rendering does not work on iOS
Attached JSON
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.2",
"body": [
{
"type": "RichTextBlock",
"inlines": [
{
"type": "TextRun",
"text": "This is the first inline. "
},
{
"type": "TextRun",
"text": "We support colors, ",
"color": "Good"
},
{
"type": "TextRun",
"text": "both regular and subtle. ",
"isSubtle": true
},
{
"type": "TextRun",
"text": "Text ",
"size": "Small"
},
{
"type": "TextRun",
"text": "of ",
"size": "Medium"
},
{
"type": "TextRun",
"text": "all ",
"size": "Large"
},
{
"type": "TextRun",
"text": "sizes! ",
"size": "ExtraLarge"
},
{
"type": "TextRun",
"text": "Light weight text. ",
"weight": "Lighter"
},
{
"type": "TextRun",
"text": "Bold weight text. ",
"weight": "Bolder"
},
{
"type": "TextRun",
"text": "Highlights. ",
"highlight": true
},
{
"type": "TextRun",
"text": "Italics. ",
"italic": true
},
{
"type": "TextRun",
"text": "Strikethrough. ",
"strikethrough": true
},
{
"type": "TextRun",
"text": "Monospace too!",
"fontType": "Monospace"
}
]
},
{
"type": "RichTextBlock",
"inlines": [
{
"type": "TextRun",
"text": "Date-Time parsing: {{DATE(2017-02-14T06:08:39Z,LONG)}} {{TIME(2017-02-14T06:08:39Z)}}"
}
]
},
{
"type": "RichTextBlock",
"horizontalAlignment": "Center",
"inlines": [
{
"type": "TextRun",
"text": "Rich text blocks also support center alignment. Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor "
}
]
},
{
"type": "RichTextBlock",
"horizontalAlignment": "Right",
"inlines": [
{
"type": "TextRun",
"text": "Rich text blocks also support right alignment. Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor Lorem ipsum dolor "
}
]
},
{
"type": "RichTextBlock",
"inlines": []
}
]
}

this works for sample app.

Is it possible that rich text block renderer does not exist, or it's not registered with the registration?
please see our default implementation of ACRRichTextBlockRenderer.mm

This bug need #MsftTeams-Integration label @shalinijoshi19

@nesalang , @Aditya0603  / @VikrantSingh01 was the reason for closing this bug understood?


Update Rules of the project system

Moved "Rules of the Project System" with other repo docs
Added paragraph about "Designer" targets.

tag @dotnet/roslyn-analysis

👍

:+1:


Property '$options' does not exist on type 'VueConstructor'.

Version
2.6.10
Reproduction link
https://jsfiddle.net/jafbudpk/3/#&togetherjs=HlrrSLGnsb
Steps to reproduce
import Vue, { PluginFunction } from 'vue';
interface PluginOptions {}

export const Plugin: PluginFunction<PluginOptions> = function Plugin(Vue, PluginOptions): void {
  Vue.mixin({
    created() {
      this.$options.socket = 1;
    }
  });
};

What is expected?
The $option should be already type right.
What is actually happening?
Property '$options' does not exist on type 'VueConstructor'.ts(2339)

Is there a reason that some public members of the Vue class are not included in the type definition? This is getting really messy for me as I'm having to create a vue-shim.d.ts that augments the VueConstructor type as a work around for this issue.

Umbrella ticket: https://github.com/vuejs/vue/issues/8721

The umbrella issue doesn't appear to be covering the same issue here.


Release updates to Chrome Web Store

The Chrome Web Store has a really old version of the app, any plans to release an update soon?
Last update was in 2014

Published current master branch


fix: image preview not working on Zellij

Zellij only supports sixel, and can detect zellij env with ZELLIJ_SESSION_NAME.
Also I ran cargo fmt

Thank you!

Is this available in 0.1.4 please? I still have issues with images inside Zellij if so.

No, it’s not included in 0.1.4

This is a new feature that will be shipped with Yazi v0.1.5. You can try it out by building Yazi from Git in advance.
BTW, during the last test, there are some issues with the graphics support for Zellij. It occasionally glitches, and likely an issue with Zellij itself, since tmux works fine with the same protocol. See https://github.com/zellij-org/zellij/issues/2576


New rule: no-mutating-assign

Description:
Warns when Object.assign is used with the first parameter anything else than object initialisation.
Will warn:
const foo = {};

Object.assign(foo, {bar: 'BAR'});

Will not warn:
const foo = {};

Object.assign({}, foo, {bar: 'BAR'});

I initially thought this was a good idea too. But maybe a better idea is to implement #4 and then all uses of Object.assign() would be banned (as it does not return a value). Instead we could use spread syntax (as suggested in the readme).
const foo = {foo: 'FOO'}
const bar = {...foo, {bar: 'BAR' }

Object.assign does return a value - the first argument. In addition, spread syntax is not yet standard - it's only stage 1.
I would love this rule, as we use Object.assign({}, …) all the time, but never want the first argument to be anything but a new empty object.

@ljharb: Actually I think object spread operator is at stage 2.

Seeing as there is no maintenance of the plugin, I've written my own that has this rule.

@jfmengels Would you say your plugin prevents every form of mutation?

@robinchew No, far from it.
I don't think there is any way to do that using ESLint as you simply often don't have enough information to tell whether a function or method is mutating the object or its parameters. I think you'd get a lot more useful information with TypeScript or Flow and information about external libraries.
For instance, no way to know that array.remove() is mutating while R.remove() from Ramda or Lodash/FP doesn't if you don't have more context on what the value of array is. You could either forbid the use of remove methods and have lots of false positives, or only do it when you're sure you're handling an array, but then you'd have lots of missing cases.
That said, my plugin adds a few rules that lessen the number of possible mutations, some of which have been proposed here. But as no PRs has been merged and no release have been made since v1, I decided to "fork" this with improved quality (tests), and some additional rules for writing FP programs that I wanted to write anyway.
Hope this helps :)


Ability to hide Previous button

Hello,
Thanks for this bundle, it's very practical and clean.
I would like to have the ability to hide previous button.
It's possible with the reset button with option : craue_formflow_button_render_reset
So, it would juste be an option to add, like : craue_formflow_button_render_back

Hi, you can just override the files @CraueFormFlow/FormFlow/buttons.html.twig with your own rules

Feel free to create a PR, @alacroixAskin. 😏


Fix CI

failed job: https://github.com/kkebo/swift-format/actions/runs/11205941734/job/31146038635

$ swift test
Fetching https://github.com/kkebo/swift-markdown.git
[1/1058] Fetching swift-markdown
Fetched https://github.com/kkebo/swift-markdown.git (0.62s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/65590] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (4.15s)
Fetching https://github.com/kkebo/swift-cmark.git
[1/13872] Fetching swift-cmark
Fetched https://github.com/kkebo/swift-cmark.git (1.03s)
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.H47yyn/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.3.0", "/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.wWVrYt/swift-cmark-manifest"])
/Package.swift:15:14: error: type 'Platform' has no member 'visionOS'
            .visionOS,
            ~^~~~~~~~ in https://github.com/kkebo/swift-cmark.git

Let's see the differences between swift-cmark used by swiftlang/swift-format and one used by kkebo/swift-format.

It seems that the root cause is this commit.
https://github.com/kkebo/swift-cmark/commit/be945f9f0144f07b61783117a59e2ceead30b05f


E2E testing

In process:
Setup nightwatch + webdriver + chrome driver
Add properties reading
Build Page Object hierarchy
Add Reporting
User login (Patient banner)
User Profile drop-down
Patient Information page
Patient Information (part of Accordion)
Patient Summary
Breadcrumbs
Patient Summary -> Redirection
Patient Summary -> Sidebar menu
Patient Headings > Problems/Diagnosis
Patient Headings > Medications
Patient Headings > Allergy
Patient Headings > Contacts
Patient Headings > Personal Notes
Patient Headings > Vaccinations
Update the instructions

The Block 1 had the following headings:
Core application
Week 1: Graphs page (index) / Patient list page;
Week 2: Patient list extended functionality - counts, displayable columns switcher / User's profile page;
Week 3: Search functionality / Advanced search functionality / Application Preferences;
Week 4: Patient homepage (summary) / Sidebar Menu / Allergies heading;
P.S. (There wasn't included  Search functionality / Advanced search functionality, Graphs  page, Patient list page to End2End tests).
Block2 had the following headings:
Block 2: Headings
Week 5: Clinical notes heading / Contacts heading / Problems-Diagnosis heading;
Week 6: MDT heading / Medications heading / Orders heading;
Week 7: Personal Notes heading / Procedures heading / Referrals heading;
Week 8: Test results heading / Transfer of Care heading;
P.S. Clinical Notes, MDT heading,  Orders heading, Procedures heading, Referrals heading, Test results heading, Transfer of Care heading weren't included to End2End tests.

Julia has access to the e2e server , IP ending x.x.x.243
confirmed access ok

need to clear space ; issue #154

@tony-shannon
Tony, I'm working on updating E2E testing for checking Showcase-, Dev_ang-, Rev_react- and Helm- versions. What have been done:

provided possibility to login with Auth0 or like at dev.ripple.foundation:8000, depends on version;
added settings which gives possibility to use different test data in different versions (for example user name and password etc.)

In all test-versions the following tests work correctly:

allergiesTest;
breadcrumbsTest;
contactsTest;
loginTest;
medicationsTest;
patientAccordionTest;
patientInformationTest;
sideBarMenuTest;
vaccinationTest

These tests updates in process:

patientSummaryRedirectionsTest;
patientSummaryTest;
problemsTest;
profileTest;
personalNotesTest.

I have some questions about these tests:
ProfileTest

Is it necessary to check version displaying (like "About Showcase Stack; PulseTile version 1.0.0/QEWD_Ripple version 15.6.2")? This data will be changed after each updating and our tests
will be failed.

User's email is absent in the Helm-version. Is it necessary to add email in Helm or don't check it in tests?

Helm:

All others:

patientSummaryRedirectionsTest and patientSummaryTest
Some plugins have different names (like "Problems / Diagnosis" in Dev_react- and Dev_ang- and "Diagnosis" in Helm-). Should we rename it in repo or provide checking with different names?

thanks @BogdanScherban
Sorry for delay
In reply; wrt Helm End2End tests

can you check for any version number, not a particular defined number, if the number comes through ,thats a pass
lets leave email in the profile test for now
suggest repos should be renamed , and aligned between dev React & Helm at least
top 3 things needs to be added to the test

thanks, @tony-shannon
It will be done

@tony-shannon
As all new changes were implemented, could we consider this issue Done?

Closing, #194 remaining open in place


Neofetch reports incorrect information on Windows 11 WSL2

Description
Neofetch reports incorrect information on Windows 11 WSL2 Ubuntu

OS: wrong windows version
Terminal: reports device rather than friendly name: Windows Terminal
GPU: reports microsoft device rather than actual name: (Iris Xe Graphics)

[x] Does this issue still occur in the master branch? (Required if issue)

Neofetch version
7.0.0-1
Screenshot

Config file
default
Verbose log
here

Duplicate of #1848

Duplicate of #1848

also contains other information such as terminal and gpu

also contains other information such as terminal and gpu

Hi,I also got the same problem with you on win10 22H2:

and here is the output of necfetch -v:

so have you solved it now and could you please give me some advice?


capifony-2.7.0 conflicts

cap aborted!
Gem::ConflictError: Unable to activate capifony-2.7.0, because capistrano-3.2.1 conflicts with capistrano (<= 2.16.0, >= 2.13.5)
/Users/user/project/Capfile:3:in <top (required)>' /Library/Ruby/Gems/2.0.0/gems/capistrano-3.2.1/lib/capistrano/application.rb:15:in run'
/Library/Ruby/Gems/2.0.0/gems/capistrano-3.2.1/bin/cap:3:in <top (required)>' /usr/bin/cap:23:in load'
/usr/bin/cap:23:in `'
(See full trace by running task with --trace)

Great Answer gido. Thanx.


Requirements not complete

I tried setting up inside a venv.
I had to install gradio, omegaconf and torch so far...
I stopped at diffusers.
(venv) S:\Ai\Repos\CharacterGen>python webui.py
Traceback (most recent call last):
  File "S:\Ai\Repos\CharacterGen\webui.py", line 18, in <module>
    from diffusers import AutoencoderKL, DDIMScheduler
ModuleNotFoundError: No module named 'diffusers'

Follow the README. Use pip install -r requirements.txt

I did that is the point. Several times just to be sure.

I tried setting up inside a venv.
I had to install gradio, omegaconf and torch so far...
I stopped at diffusers.
(venv) S:\Ai\Repos\CharacterGen>python webui.py
Traceback (most recent call last):
  File "S:\Ai\Repos\CharacterGen\webui.py", line 18, in <module>
    from diffusers import AutoencoderKL, DDIMScheduler
ModuleNotFoundError: No module named 'diffusers'

Same thing happening to me

I tried setting up inside a venv.
I had to install gradio, omegaconf and torch so far...
I stopped at diffusers.
(venv) S:\Ai\Repos\CharacterGen>python webui.py
Traceback (most recent call last):
  File "S:\Ai\Repos\CharacterGen\webui.py", line 18, in <module>
    from diffusers import AutoencoderKL, DDIMScheduler
ModuleNotFoundError: No module named 'diffusers'

Same thing happening to me

diffusers==0.24.0 is shown in requirements.txt, just use pip to install the requirements.
Notice all requirements should be installed successfully.


Is there any implementation of tensorflow 1.x version?

Thank you for your share!
Is there any implementation of tensorflow 1.x version?

Actually, there are.
I only recently moved everything to TF 2.0.
If you revert back to the last commit before this year, you should get the previous version.
But be careful, because the code was still very raw and baddly structured. Also, I never properly finished it to the point of running the full training and evaluation as was in the paper.
I started it last year and never had time to finish. Then TF 2.0 came up and I abandoned it, until now.

Okay. Thanks for the answer!


how does it work with Angular+TS

can this component work with Angular + TS? and what's the steps?

No, I'm sorry, vanilla JavaScript only


I wish /docs/hellonode/ also documented how to setup a kubernetes cluster on my local box so I did not have to rely on Google engine.

I wish /docs/hellonode/ also documented how to setup a kubernetes cluster on my local box so I did not have to rely on Google engine.  Even if it couldn't support running all the processes at scale it would at least would have been less confusing.  This document appears to be more of a sales pitch to using Google Cloud Platform.

Yep.  Minikube fixes this issue: http://kubernetes.io/docs/getting-started-guides/minikube/


Allow multiple listeners (e.g. for IPv4 & IPv6)

As of currently (bc3bb04), shaman doesn't allow listening on multiple addresses. This is especially bad if I want it to run over both IPv4 and IPv6 on the same host. Now I'd have to keep separate configurations and API endpoints for separate instances of shaman.
Not sure there is a simple solution using the existing github.com/miekg/dns listener, but if you spawn multiple of these in goroutines and read their return values from a channel asynchronously, that would probably be a 5 LOC solution on that part. Ofc it still needs to be integrated in the configuration and CLI flags.

None of the Nanobox stack, Nanopack included, actually supports IPv6 properly. There's little indication it ever will, now that App Sail is out and using DO's internal infrastructure instead of something provider agnostic like shaman.

Just saying, Shaman works for me over IPv6 and I could run it listening on an IPv6 address, just not in parallel to listening on an IPv4 address inside the same instance.


[main] Upgrade to latest dependencies

Rerunning after fixing git errors that blocked the last 8 runs (6 days) -evankanderson
/cc we don't use Prow
/assign $we don't use Prow
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/eventing c2d6649...768b7d1:
  > 768b7d1 ApiServerSource smoke tests (# 5346)
  > 7ae9d3e Increase defaulting test coverage for apis/config and apis/messaging/config (# 5344)
  > 8a094e6 Check SCALE_CHAOSDUCK_TO_ZERO after the chaosduck is deployed (# 5330)
  > e7237ee Trigger defaulting webhook tests (# 5339)
  > 88fc2e2 More containersource e2es (# 5338)
  > 3888d16 [v1] Test to make sure webhook validates ApiServerSource (# 5329)
  > a5db0e1 Add containersource smoke test (# 5331)
  > 0278f6e Format markdown (# 5326)
  > 462f1f3 Pointing to the proper v1 api, as the copy (# 5328)
  > 8db3bcf upgrade to latest dependencies (# 5320)
  > 6363a8f Add PingSource v1 API (# 5324)
  > 0bfa8de remove sources v1beta1 APIs (# 5319)

Codecov Report

Merging #243 (76b2092) into main (f4c6a07) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #243   +/-   ##
=======================================
  Coverage   80.05%   80.05%
=======================================
  Files          20       20
  Lines         747      747
=======================================
  Hits          598      598
  Misses        135      135
  Partials       14       14

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 f4c6a07...76b2092. Read the comment docs.


Docs and Demo | Change GitHack to RawGIt

since all are HTMl it can be served from rawGit itself.
Docs | https://rawgit.com/MrRio/jsPDF/master/docs/index.html
Demo | https://rawgit.com/MrRio/jsPDF/master/index.html

better to use gitHub Pages


Corporate CLA (membership check) functionality

Coverage remained the same at 97.059% when pulling 0bbc7364213494a37158283480c0b8f052de2218 on Corporate-CLA into dfe898589d803922ec447e8d6ff2f5e9540a234e on master.

Just a guess, but maybe this caused #464?

@andschwa Yes you are right, I have introduced a new feature today Doing a membership test  If the PR is coming from external org (fork),  the feature which you wanted to implement in CLA Assistant 😊 https://github.com/cla-assistant/cla-assistant/issues/414#issuecomment-481775920.

@ibakshay ah haha, well thank you! I appreciate your work!


GitHub Actions for Container AppService and AKS

CI/CD workflow for containerized Azure App Service.

Workflow for deploying in a containerized AppService
Workflow for deploying in AKS
Workflow for make a build to be used as a check in Pull Requests against master branch
Fix a bug in client app


chore: make projectLocation const instead of let

Since the variable is not mutated, it should be a constant.

Good catch, thanks!


Firewall NAT rule expecting string errors

What happened?
Version currently using: 5.48.1
Version upgraded from: 5.19.0
NAT rules started failing to deploy as destinationPorts has changed from string[] to string
["443"] has been changed to "443". However after making this change I get the following error instead:
azure:network/firewallPolicyRuleCollectionGroup:FirewallPolicyRuleCollectionGroup::DNATPolicyRuleCollectionGroup's instance state: could not read field nat_rule_collection: '' expected type 'string', got unconvertible type '[]interface {}', value: '[443]'
export const CreateDNATRules = (firewallpolicy: string, firewallpublicip: string, privateip: string) => {
    const GlobalFirewallPolicyRuleCollectionGroup = new
        azure.network.FirewallPolicyRuleCollectionGroup("DNATPolicyRuleCollectionGroup", {
            name: "DevDNATRules",
            firewallPolicyId: firewallpolicy,
            priority: 200,
            natRuleCollections: [{
                name: "nat_rule_collection",
                priority: 100,
                action: "Dnat",
                rules: [{
                    name: "nat_rule_collection",
                    protocols: [
                        "TCP",
                        "UDP",
                    ],
                    sourceAddresses: [
                        "*"
                    ],
                    destinationAddress: firewallpublicip,
                    destinationPorts: "443",
                    translatedAddress: privateip,
                    translatedPort: 443,
            }],
        }]
    })
};

Expected Behavior
NAT rule would be succesfully created as im passing in a string value
Steps to reproduce
Try to create a NAT rule specifying a port number for azure firewall
Output of pulumi about
CLI
Version      3.76.0
Go Version   go1.20.6
Go Compiler  gc
Plugins
NAME        VERSION
azure       5.48.1
azure       5.44.1
azuread     5.38.0
kubernetes  3.30.1
nodejs      unknown
random      4.13.2
Host
OS       Microsoft Windows 11 Pro
Version  10.0.22621 Build 22621
Arch     x86_64
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hello @scottmack11,
I apologize for the inconvenience you're experiencing. I understand that you're encountering an error, but I'm unable to replicate it on my end. To assist you more effectively, here are the steps I've taken to try reproducing the error:

I created a new FirewallPolicyRuleCollectionGroup using pulumi-azure version 5.19.0 with destinationPorts: ["443"].
I upgraded to pulumi-azure version 5.48.1.
I performed a simple pulumi up and encountered the expected typescript compilation type error where []string should now be just string.
I updated destinationPorts: "443" to correct the type.
I ran pulumi up, and it worked as expected, with no changes required
I added another FirewallPolicyRuleCollectionGroup and re-ran pulumi up and still did not encounter any issues

Considering these steps, I suggest trying the following to see if it helps resolve your situation:

Run pulumi refresh before attempting an update.
Provide additional details about the steps you've taken and any specific configurations you're using. This information might help us better understand the root cause of the error.

Hi @rquitales
Just tested again on my side after refreshing and trying again - still getting the same error. However I did notice I can only replicate it when I use the exported constant to reference in code for creating multiple NAT rules (Doesnt need to create multiple rules to recreate this, just needs to be exported) this is when the error is thrown. If its not exported and I reference azure.network.FirewallPolicyRuleCollectionGroup  directly it will work fine?


Typo

please fix this also in next version (./docs/docs), this change would be forgotten when next version will be released


Added minified output & source map

This PR creates 3 Logdown versions (all with banner on top) to the following locations:

dist/logdown.js
dist/logdown.min.js (resolves https://github.com/caiogondim/logdown.js/issues/79)
example/lib/logdown.js

There will be also a source map for the minified code in:

dist/logdown.min.js.map (resolves https://github.com/caiogondim/logdown.js/issues/73)

Merged. Should I make a patch release?

Do it! 🎉


[BEAM-10345] Add an import guard to support recent google-cloud-spanner versions.

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run PythonDocs PreCommit


The reproduction result is too small

Thank you very much for your work. I intended to reproduce the algorithm, but there was a serious deviation.
After cloning the code, I ran a file called evaluate_semantic_metrics.py. I only changed the dataset path (variable DATASET-ROOT in the script). I have obtained the following results. There is a significant gap compared to the data in the paper.
The values in brackets are from the paper, Table I.
The small differences can be explained by the random sampling, due to different random seeds.
The paper has metrics which are obtained through training the model multiple times with random seeds and reporting the mean.
Graphene
AP50_1-Layer: 48.62 (48.5)
AP50_2-Layer: 55.42 (55.0)
AP50_3-Layer: 59.21 (58.1)
AP50_4-Layer: 58.6 (58.0)

AR50_1-Layer: 89.13 (89.2)
AR50_2-Layer: 80.53 (80.3)
AR50_3-Layer: 84.15 (84.6)
AR50_4-Layer: 88.66 (88.4)

WSe2
AP50_1-Layer: 60.09 (62.1)
AP50_2-Layer: 53.45 (57.1)
AP50_3-Layer: 53.99 (52.8)

AR50_1-Layer: 67.86 (70.5)
AR50_2-Layer: 64.39 (66.9)
AR50_3-Layer: 80.7 (80.7)

I am currently rerunning the semantic evaluation and will get back to you.

I found the Bug
evaluate_instance_metrics.py
...
  # Read the contrast parameters
  with open(contrast_path) as f:
      contrast_dict = json.load(f)

  # This is the error, the default size threshold is set to 1000, so it will ignore smaller flakes
  # Setting this to the same as in evaluate_instance_metrics.py yields the same results as the paper
  # myDetector = MaterialDetector(contrast_dict=contrast_dict)
  myDetector = MaterialDetector(
      contrast_dict=contrast_dict,
      standard_deviation_threshold=5,
      size_threshold=200,
      used_channels="BGR",
  )
  # set up the confusion matrices
  confusion_matrices = {
      fp: ConfusionMatrix(
          num_classes=NUM_CLASSES[material] + 1,
          ignore_label=NUM_CLASSES[material] + 2,
      )
      for fp in FP_RANGE
  }
...

I will update the code to reproduce the results better.
Thanks for the headsup chenller!

I ran the new code, and now the new results are similar to those in the paper.
I have an additional question, although the current research has achieved good results, there is still a lot of room for improvement. Will the author continue to improve and optimize the code to achieve better results?

We are currently developing an improved version which builds on the current model, I sadly can not tell you more, but be on the lookout for a new paper from us

Looking forward to your new achievements. Thank you for your contribution.


Support for PDF417 barcode reader

This library is very well documented and very useful for real time bar-code reader.
In feature you have any plans to include pdf417 bar code reader. Is it possible to write  a pure
java script solution  for PDF417 barcode reader. what is your opinion on this. i am expecting a suggestion from you.
Thanks.

Hi, I am also very interested in this feature. If you point me to the lines in code, that I'd need to touch, I'd be verry happy to help!

I guess it could be possible, but since PDF417 is a 2D Barcode, it's substantially different to the other types of barcode already implemented. The current code simply passes single scanlines to the decoding engine, which is not suitable for 2D blocks. I haven't done much research on PDF417 yet, but it states that it can be scanned with 1D scanners since it's just a stack of small 1D barcodes. I suppose alignment is one of the biggest issues to solve for this type of barcode.
Any suggestions where to start? In the meantime, I'll head over to zxing and take a look at their implementation (see here).

There is a JavaScript port for zxing specifically for pdf417. This might be good place to look into. Here is the link. I am currently using this library to decode the barcode from image, but I am very much interested in locating the pattern before decoding it.

@SivaRamRIT thanks for the good find. Maybe there is a way to make js-zxing-pdf417 work together with quagga. The easiest way would be to for the repository and bend it to fit into the current scheme. But having some kind of plugin-system would also be nice. I hope I find some time to play around with it in the next few days.

I would be interested in this as well. any luck with the pattern locator for the pdf417? I'm scanning code128 and pdf417 barcodes on wristbands from a javascript app (using cordova-plugins at the moment, but I'm interested in a HTML5-based solution) so I can help debug it...; Many Thanks for this work.

Any update on this?  I would also be interested in this code.

Unfortunately, I haven't had the time to implement this code yet. Anyone up for the task? The issue is, that this is a 2D barcode which does not quite fit into Quagga's current architecture. I'll let you know whenever I start working on it (maybe in March).

This would be great.  We have a pretty cool use case too, in California our driver's license has a pdf417 barcode on the back.  It would be awesome to be able to read the license and fill in a form for a user with their name, address, and drivers license number (we're renting a scooter to them).

@serratus I'd be up for working on PDF417 support in Quagga if you could guide me on the changes that need to be made to handle 2D barcodes. Reading through the code it isn't exactly clear to me the best way to do that. Once the 2D support is there it looks like adding a PDF417 reader wouldn't be very difficult.

Almost 2 years after the last comment... this would be great. In the country where I live the official IDs of the state have a pdf417 barcode.
Is there any progression with this enhancement?

This library is no longer maintained by the original author @serratus, it's now maintained by @ericblade and me. Neither of us are barcode scanning experts, it's currently out of my reach to be able to introduce a scanner for a new type of barcode and I think the same is true of Eric?
We do rely on community contributions for new scanners at this moment as we've been promoted to maintainership from the status of users interested in preserving the project and merging new community PRs.
For that reason, I don't see this new scanner being on the roadmap anytime soon, but this got me thinking we could put up a call for participation to the README, what do you think, @ericblade? Also @jesusrodriguezm if you would be willing to sponsor PDF417 scanner development through a bounty, that'd be helpful in attracting potential implementors.
I'm going to keep this issue open, however the official status is that we don't plan on contributing support ourselves anytime soon.

It's outside of either my current area of knowledge or my needed use cases.  Link to https://github.com/PeculiarVentures/js-zxing-pdf417 is useful, and we probably could go about figuring out a way to add an ability to plugin external decoders like that, however I must admit that the total lack of documentation on that repo doesn't make it obviously easy.

I have been successful in using a mixture of QuaggaJS and pdf417 but it's only a hack at this point.  I have need to scan code 39 and code 128 but have also added the "upc_reader" decoder because I noticed that sometimes QuaggaJS incorrectly identifies a PDF417 as a upc and, in that instance, I pass the image/context on to the pdf417 processor and it works fine. IF there were a plugin method for telling QuaggaJS how to correctly identify a given barcode based upon the symbology, it wouldn't have to actually do the decoding but just pass on to the plugin code...in this case not a "plugin" per se but separate js-zxing-pdf417 library.

@stephanieshusband Excellent - is your code available per chance?

@StephaniesHusband Excellent - is your code available per chance?

I think I have a jsfiddle of it but jsfiddle is hosed right now for me for some reason. i'll try and follow-up.

@jtlz2 OK I found my old code and the gist of it is handling Quagga.onProcessed(this.__onProcessed) then in that handler...
__onProcessed: function(result) {
   //...

   if (result.box) {
      ctx = Quagga.canvas.ctx.overlay;
      canvas = Quagga.canvas.dom.overlay;
      cw = parseInt(canvas.getAttribute("width"));
      ch = parseInt(canvas.getAttribute("height"));

      if (result.codeResult.format === "upc_a") {
         imageData = ctx.getImageData(0, 0, cw, ch);

         source = new ZXing.BitmapLuminanceSource(imageData);
         binarizer = new ZXing.Common.HybridBinarizer(source);
         bitmap = new ZXing.BinaryBitmap(binarizer);

         pdf417 = ZXing.PDF417.PDF417Reader.decode(bitmap, null, false);

         // parse the read pdf417 string if need be and set the value on the result

         result.codeResult.code = pdf417; // or some portion therein
      }
   }

   //...
}

NOTE: This only "works" if you know you are NOT going to validly be scanning UPC_A barcodes.  It may have just been a coincidence with my phone/webcam that they even were mistaken for UPC_A.  You might experiment with some other barcode symbology.
REMEMBER to include upc_a in the decoder.readers array or you'll never get a hit that "matches"...
//...
decoder : {
   readers : ["upc_a"]
}

what version of quagga are you using?
Cause currently I'm not able to decode an image having a pdf417 symbol successfully.
it just keeps returning an empty array.

@StephaniesHusband
what version of quagga are you using? THE LATEST

Quagga will NOT be doing the PDF417 decoding. The above solution is a complete "hack" to trick Quagga into giving us what it THINKS is a upc_a barcode (but which you & I know is really a PDF417) and then feeding that image into the ZXing.PDF417.PDF417Reader.


Make View Code Feature For Demo App

I don't understand how can I use this special controls on my project so I need help. Can you update demo application like Material Design Demo please. I want to see XAML codes for every controls in mahapps demo.

What your looking at there is a WPF component called ShowMeTheXAML  that MaterialDesignXAML uses to display their demo XAML and has nothing to do with MahApps specificly (not do we have a controller for it).
That being said, with #3818 and #3825 this might change, altho i don't think anyone can promise anything as of yet.
If you really want to apply XAML code showcase in your app the WPF component mentiont above is the way to do it (for now).


Remove version: Kaedei.Dandanplay version 15.3.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://dandan.sakurateam.top/dandanplay-x64_15.3.0.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 911)


Pluto Support and Integration

Is your feature request related to a problem? Please explain.
Currently, Javis does not work within a Pluto environment. One cannot use Javis to view frames of an animation easily like they could using the built-in Javis image viewer. Furthermore, on some platforms, the Javis image viewer is not performant due to it being built using Gtk.jl.
We could perhaps get around this performance issue as well by providing browser-based support built around using Pluto as a platform.
Describe the solution you'd like
I would love to build functionality into Javis Pluto notebook support by creating something like this:

Source: https://blog.dominodatalab.com/interactive-dashboards-in-jupyter/

But using Pluto instead. I think this functionality could be achieved by using PlutoUi.jl. Furthermore, this might be better suited to go into its own repository. So, initial development may take place on the main branch but later move to its own dedicated location.
Describe alternatives you've considered
The best alternative would be the Javis image viewer but since not all platforms best support GTK based GUIs, this would provide greater applicability of Javis. I am not certain how Pluto will take to what I am imagining being an image viewer; I imagine Jupyter may be more performant but I am not sure at this point. Only experimentation will tell!

Any update on this?

Any update on this?

Hey @clad26 - thanks for the ping!
Currently, @Sov-trotter has attempted to look into this. However, it seems like the problem, based on the discussions here are more on Pluto side. We unfortunately do not have any control over this matter from our side.
Pinging @sov-trotter if he has anymore updates he could add.

Hey @clad26 - thanks for the ping!
Currently, @Sov-trotter has attempted to look into this. However, it seems like the problem, based on the discussions here are more on Pluto side. We unfortunately do not have any control over this matter from our side.
Pinging @sov-trotter if he has anymore updates he could add.

https://user-images.githubusercontent.com/43717431/112513984-ddd3a280-8dba-11eb-9288-74969ab9fb61.mp4
Not a pure integration, but something that we can add in the docs

That's fantastic @Sov-trotter ! Super curious on how you got this working - how did you hook into PlutoUI?

There are two methods to work this out:

Rather than using the render function we can simply pass video and video.objects to the get_javis_frame method along with the slider iterator(using PlutoUI inside the Pluto notebook).
To not use the internal get_javis_frame method, we can create a _pluto_viewer method which basically stores all the frames as:

Array of the image matrix(in-memeory) and then do something like

  a = render(video, liveview = true)
   a[x] #x is the slider value

- As frames in a temporary folder in the `pluto_notebooks` directory and the simply call those based on `x`

So in anyway, the user will have to declare the Slider method via  PlutoUI

https://user-images.githubusercontent.com/43717431/112682054-93732400-8e95-11eb-9a7b-70928153457f.mp4
When liveviewer=false

WOW!!! @Sov-trotter - I could work with you on a PR to document how to use Pluto with Javis. I could go ahead and open one and ping you if you have time.

Would love that Thanks! I was able to solve the above issue with in-memory interactive viewer. Will push the changes in a while

Looks lovely! Thanks @Sov-trotter
Will have a look at the PRs on Sunday. Will probably merge the Jupyter one if @TheCedarPrince is okay with that.

I'll comment about Jupyter on that issue/PR - will jump over there @Wikunia


feat: Allow cloning an EszipV2

This patch adds a Clone implementation for EszipV2. Since this struct can transitively contain Wakers, which are not clonable, this implementation will panic if some source slot is still pending parsing.
One issue is that the modules map of EszipV2 is behind an Arc<Mutex>, and therefore directly cloning it (with #[derive(Clone)], for example) would leave the clone "connected" to the original, and able to change through EszipV2::add_import_map. Therefore, it instead uses a custom Clone implementation that copies the contents of the module map to prevent this.

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


[http] Parse error messages

Parse the error messages that Discord provides into error structs. An example of an error struct is this one, sent when a message embed's field name's length is 0:
{
    "code": 50035,
    "errors": {
        "embed": {
            "fields": {
                "0": {
                    "name": {
                        "_errors": [
                            {
                                "code": "BASE_TYPE_REQUIRED",
                                "message": "This field is required"
                            }
                        ]
                    }
                }
            }
        }
    },
    "message": "Invalid Form Body"
}

I am probably going to work on this soon