AJ-1726 Add measurement to processStatusUpdate

For AJ-1726:  Add measurement to processStatusUpdate.
Commits have been intentionally broken apart for easier review if needed.
Introduces two new measures:

wds.job.update is the time it takes to update a job in the database
wds.job.elapsed is the time elapsed since the job was created

Also changes the jobType label values of the existing wds.job.execute measurement to use the value from JobKey so that all the wds.job metrics are keyed the same way.

I think JobDao would be a preferable place for these metrics than JobService.processStatusUpdate. The issue with JobService.processStatusUpdate is that it only handles status updates sent from Rawls via PubSub. So it only applies to a subset of status updates on the control plane.

Can you say more?  Are there other mechanisms where we update status in control plane?  I do ideally want to catch them all, but I also think pushing this down a layer into JobDao may bring with it some tradeoffs I'd want to think about more.

The status updates from Rawls would only be transitions from Running to either Succeeded or Errored. There are several other states.
https://github.com/DataBiosphere/terra-workspace-data-service/blob/98e2b157631ade98ae40805b4cf4ad59525e171e/service/src/main/java/org/databiosphere/workspacedataservice/generated/GenericJobServerModel.java#L76-L88
But more than that, what about the data plane?

Consider for instance an import job with some invalid input, which fails early. That job will move to failed state via getJobDao().fail(), here:
https://github.com/DataBiosphere/terra-workspace-data-service/blob/98e2b157631ade98ae40805b4cf4ad59525e171e/service/src/main/java/org/databiosphere/workspacedataservice/jobexec/QuartzJob.java#L87

Switching this back to draft while I move the observation logic down to the Dao.  I might end up with another PR to replace this one instead.

Replaced with https://github.com/DataBiosphere/terra-workspace-data-service/pull/699


Allow callTimeLimit of zero

Pull Request Test Coverage Report for Build 7811

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 7802:
0.0%

Covered Lines:
1355

Relevant Lines:
1355

💛  - Coveralls


Authentication Failed: Received states null was not equal to original state null

Hello!
I have issue using your library.
Authentication Failed: Received states null was not equal to original state null This is the exception I got after using your classes. I checked xml and everything looks good. This is my xml:
`

<beans:bean id="oAuth2EntryPoint" class="oauth.OAuth2AuthenticationEntryPoint">
    <beans:property name="oAuth2ServiceProperties" ref="oauth2ServiceProperties"/>
</beans:bean>

<beans:bean id="oauth2AuthFilter" class="oauth.OAuth2AuthenticationFilter">
    <beans:constructor-arg name="defaultFilterProcessesUrl" value="/internal"/>
    <beans:property name="authenticationManager" ref="authenticationManagerClient"/>
    <beans:property name="oAuth2ServiceProperties" ref="oauth2ServiceProperties"/>
</beans:bean>

<beans:bean id="oauth2AuthenticationProvider" class="oauth.OAuth2AuthenticationProvider">
    <beans:property name="authenticatedUserDetailsService" ref="oAuth2UserDetailsService"/>
    <beans:property name="oAuth2ServiceProperties" ref="oauth2ServiceProperties"/>
</beans:bean>

<authentication-manager alias="authenticationManagerClient">
    <authentication-provider ref="oauth2AuthenticationProvider">
    </authentication-provider>
</authentication-manager>

<beans:bean id="oauth2ServiceProperties" class="oauth.OAuth2ServiceProperties">
    <beans:property name="accessTokenUri" value="http://localhost:9999auth/oauth/token"/>
    <beans:property name="userAuthorisationUri" value="http://localhost:9999/auth/oauth/authorize"/>
    <beans:property name="additionalAuthParams">
        <beans:map>
            <beans:entry key="scope" value="openid"/>
        </beans:map>
    </beans:property>
    <beans:property name="redirectUri" value="http://localhost:9000/"/>
    <beans:property name="clientId" value="acme"/>
    <beans:property name="clientSecret" value="acmesecret"/>
    <beans:property name="userInfoUri" value="http://localhost:9999/auth/user"/>
</beans:bean>

<beans:bean id="oAuth2UserDetailsService" class="oauth.OAuth2UserDetailsService">
    <beans:property name="oAuth2UserDetailsLoader" ref="userFacade"/>
    <beans:property name="oAuth2ServiceProperties" ref="oauth2ServiceProperties"/>
</beans:bean>

<beans:bean id="userFacade" class="oauth.UserFacade"/>`

And when I try to open/internal link in my app, this exception appears. What I'm doing wrong?

Hi, thanks for using the library. So that's pretty strange actually. What OAuth provider are you using?
For the OAuth state parameter, the library generates a random alphanumeric string and stores it in the session. See OAuth2AuthenticationEntryPoint.
The OAuth provider should echo this value back as a parameter in the redirect. This must match the original value. See github's docs as an example explanation - https://developer.github.com/v3/oauth/
What's weird is that both the original value in the session is being reported as null, as well as the value sent by the OAuth provider.
Is the session definitely the same when processing the callback?
Can you confirm that the redirect to the OAuth provider contains state as a parameter? You could also put a breakpoint in OAuth2AuthenticationEntryPoint.commence().
Can you confirm whether the callback from the OAuth provider contains state as a parameter?
Are you trying to open /internal link directly in your web browser? That won't work, it is only designed to be called back to from the OAuth provider. If that's what you're doing, then the library is working as designed.
Thanks

Hi,I am new to oauth and open id authentication. Now I need to implement in my application.I want to use your library can you give me complete example how to use your library .
I tried using it .. but what are the things i need to code in  in user facade .Please help


urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='storage.googleapis.com', port=443)

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='storage.googleapis.com', port=443): Max retries exceeded with url: /alphafold/alphafold_params_colab_2022-03-02.tar (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2ea819bf10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
How to set the host-url?

The error tells you that your calculation node (or machine) couldn't download alphafold_params_colab_2022-03-02.tar for the first run. Make sure your machine and network have access to the Internet. It has nothing to do with --host-url.


Research styleguide and structure

This task will include research of  :

Routing and State Structure
Directory Structure
Component Styleguide

https://docs.google.com/document/d/1nCHaUaee4Ud2YunLwvqUCUPfr0jAbVX8PxOg7ElSLio/edit#

Recommended:

src for source
src/mixins for vue mixins
src/utility for unitlity functions consumed by mixins and others
src/api for external communication
src/store for store broken into modules
src/router for store broken into modules
src/pages for vue component pages
src/components for vue components
src/layout for vue component template pages
src/main.js entrypoint for apps
src/index.js entrypoint for libs

Even though it's not our practice to put various static and config files inside the src folder, should we consider placing those inside the src folder or define exact structure where those files should be kept in our projects?

@aldinezi I think config should be outside src folder.
@MVucina Abstraction seems a good candidate for utility?

Utility should be fine, services is more angular style

@manico & @MVucina I did not suggest placing config inside our source folder, but to consider if this issue related to folder structure should also cover the placement of such folders.

This issue is more related to src/ folder structure,  issue related to configuration stuff will cover placement of such folders

I will just mention static folder which should be defined outside of src.

Folder structure:
src/
api/ - abstraction for  external communication
assets/ - module assets (processed by module bundler)
components/ - all components that are not main view in flat structure
directives/ - all directives in flat structure
filters/ - all filters in flat structure
mixins/ - all mixins in flat structure
plugins/ - for plugins inclusion
utility/ - helper functions in flat structure
pages/ - component pages
layouts/ - component template pages
store/ - store stuff
router/ -  routing stuff
main.js -  app entry file
App.vue -  main app component
Router structure:
index.js - app routes
{pageRouter}.js - nested routes can be defined in separated file with appropriate name
navigatonGuards.js- definition of global guards
Store structure:
state.js - state tree
getters.js - all getters
mutations.js- all mutations
actions.js- all actions
plugins/- plugins in flat structure
modules/- keep modules with appropriate named folders with same structure of files
index.js- where we assemble modules and export the store
Note: static/ is outside of src/ folder, keep static assets that are directly copied there
Component styleguide: Follow vue official styleguide

Add mutationTypes.js for mutation enumeration in store.

What about name-spacing modules?

Change static to public.


consider geopandas support?

Hi, just dropping by to say this is a fantastic project. Thanks for putting it together!
One thing i'm curious about is whether you'd consider extending support for geopandas plots. I've been toying around and for the most part, proplot works great, though it has some difficulties with legends because of the way geopandas returns fig, ax or soemething (i haven't looked in detail, tbh).
Code sample, a copy-pastable example if possible
A "Minimal, Complete and Verifiable Example" will make it much easier for maintainers to help you.
# convenience to get data
from geosnap import Community
dc = Community.from_census(msa_fips='47900')

#plot it
f, axs = plot.subplots(ncols=2)

a = dc.gdf[dc.gdf.year==1990].plot(column='median_household_income', ax=axs[0], scheme='quantiles', k=8, legend=True)
dc.gdf[dc.gdf.year==2000].plot(column='median_household_income', ax=axs[1], scheme='quantiles')

axs.format(suptitle='Geopandas Test')

axs[0].format(title='1990')
axs[1].format(title='2000')

axs.legend(a, loc='r', ncols=1, frame=False)

Actual result vs. expected result
/Users/knaaptime/anaconda3/envs/geosnap/lib/python3.7/site-packages/proplot/wrappers.py:2116: UserWarning: Legend does not support <matplotlib.axes._subplots.CartesianAxesSubplot object at 0x13288e390> instances.
A proxy artist may be used instead.
See: http://matplotlib.org/users/legend_guide.html#creating-artists-specifically-for-adding-to-the-legend-aka-proxy-artists
        leg = mlegend.Legend(self, *zip(*pairs), ncol=ncol, loc=loc, **kwargs)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-33-7897da7bfa49> in <module>
      9 axs[1].format(title='2000')
     10
---> 11 axs.legend(a, loc='r', ncols=1, frame=False)
     12

~/anaconda3/envs/geosnap/lib/python3.7/site-packages/proplot/subplots.py in _iterator(*args, **kwargs)
    276                 ret = []
    277                 for func in objs:
--> 278                     ret.append(func(*args, **kwargs))
    279                 ret = (*ret,)
    280                 if len(self) == 1:

~/anaconda3/envs/geosnap/lib/python3.7/site-packages/proplot/axes.py in legend(self, loc, width, space, *args, **kwargs)
   1153         if loc in ('left','right','top','bottom'):
   1154             ax = self.panel_axes(loc, width=width, space=space, filled=True)
-> 1155             return ax.legend(*args, loc='_fill', **kwargs)
   1156
   1157         # Fill

~/anaconda3/envs/geosnap/lib/python3.7/site-packages/proplot/axes.py in legend(self, loc, width, space, *args, **kwargs)
   1183
   1184         # Draw legend
-> 1185         return legend_wrapper(self, *args, loc=loc, **kwargs)
   1186
   1187     def draw(self, renderer=None, *args, **kwargs):

~/anaconda3/envs/geosnap/lib/python3.7/site-packages/proplot/wrappers.py in legend_wrapper(self, handles, labels, ncol, ncols, center, order, loc, label, title, fontsize, fontweight, fontcolor, color, marker, lw, linewidth, dashes, linestyle, markersize, frameon, frame, **kwargs)
   2199         leg.legendPatch.update(outline) # or get_frame()
   2200         for obj in leg.legendHandles:
-> 2201             obj.update(kw_handle)
   2202         for obj in leg.get_texts():
   2203             obj.update(kw_text)

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

maybe just a syntax error on my part, but I think this is because of what geopandas is returning...
anyway, thanks again. Looking forward to seeing this package released officially :)

Thanks for trying out proplot! Evidently matplotlib.legend.Legend handles are allowed to be None, never came across this before.
This patch (c64eae35) should fix this.

As for geopandas support, proplot should already support most matplotlib wrappers since it is supposed to be a strict superset of matplotlib's functionality. Any errors you get are in fact bugs and should be reported.


TypeError: generate() missing 1 required positional argument: 'input'

funasr == 1.0.10
modelscope == 1.12.0

Traceback (most recent call last):
File "/data/zssy-digital-human/projects/funasrapp/ClipVideo/clipvideo/videoclipper.py", line 330, in
main()
File "/data/zssy-digital-human/projects/funasrapp/ClipVideo/clipvideo/videoclipper.py", line 326, in main
runner(**kwargs)
File "/data/zssy-digital-human/projects/funasrapp/ClipVideo/clipvideo/videoclipper.py", line 276, in runner
res_text, res_srt, state = audio_clipper.recog((sr, wav), sd_switch)
File "/data/zssy-digital-human/projects/funasrapp/ClipVideo/clipvideo/videoclipper.py", line 35, in recog
rec_result = self.asr_pipeline(audio_in=data)
File "/data/home/yaokj5/anaconda3/envs/geneface/lib/python3.9/site-packages/modelscope/pipelines/audio/funasr_pipeline.py", line 73, in call
output = self.model(*args, **kwargs)
File "/data/home/yaokj5/anaconda3/envs/geneface/lib/python3.9/site-packages/modelscope/models/base/base_model.py", line 35, in call
return self.postprocess(self.forward(*args, **kwargs))
File "/data/home/yaokj5/anaconda3/envs/geneface/lib/python3.9/site-packages/modelscope/models/audio/funasr/model.py", line 61, in forward
output = self.model.generate(*args, **kwargs)
TypeError: generate() missing 1 required positional argument: 'input'

i found that it is the version of funasr and modelscope make it error,  funasr==0.8.8 and modelscope==1.10.0 can solve this problem.

i found that it is the version of funasr and modelscope make it error, funasr==0.8.8 and modelscope==1.10.0 can solve this problem.

你好，你现在运行成功了吗？我这边不报这个错误了，但是有出现了这样的问题
Traceback (most recent call last):
File "clipvideo/videoclipper.py", line 329, in
main()
File "clipvideo/videoclipper.py", line 325, in main
runner(**kwargs)
File "clipvideo/videoclipper.py", line 278, in runner
res_text, res_srt, state = audio_clipper.video_recog(file, sd_switch)
File "clipvideo/videoclipper.py", line 109, in video_recog
return self.recog((16000, wav), sd_switch, state)
File "clipvideo/videoclipper.py", line 43, in recog
res_srt = generate_srt(rec_result['sentences'])
KeyError: 'sentences'


All instances of MultiMeshInstance2D are culled if the origin goes off screen

Tested versions
Reproducible in: 4.3.dev [9283d0d65c42663326f3f6f3d621207b550225ae]
Not reproducible in: 4.3.dev [99fd6ca98c3441b891d4d15b33e52eb3cfd86d7d]
System information
Godot v4.3.dev.mono (9283d0d65) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; <IP_ADDRESS>01) - AMD Ryzen 9 3900X 12-Core Processor (24 Threads)
Issue description
When the origin of a MultiMeshInstance2D goes off screen, all instances are culled.
According to clayjohn it may be the result of this PR: #79833
Before:
https://github.com/godotengine/godot/assets/21325943/9eb26b76-6b99-4d2c-8506-77e32d861f1c
After:
https://github.com/godotengine/godot/assets/21325943/e9807f4a-8203-4964-8938-d0900f99788d
Steps to reproduce
Run the MRP and move the camera off screen.
Minimal reproduction project (MRP)
MeshTest.zip

Found the problem area:

I think the odd part is that it only calls _multimesh_re_create_aabb() if multimesh->custom_aabb != AABB(), but the first thing in that method is:

So it should only call it if the condition is met, but also immediately return?
@puchik I'm not as familiar with this logic, so maybe you can weigh in?

In MeshStorage::_update_dirty_multimeshes (first screenshot) the condition to re-create the AABB should be when there is no custom AABB, that is multimesh->custom_aabb == AABB() (i.e. the opposite of the current condition).

@rburing is correct. This check was added immediately before pushing and was reversed by accident. I've made a PR that fixes this. Thanks for catching that!


New Golden metrics added

After designing the new dashboard we changed the golden metrics to have a more cohesive experience
Relevant information
Describe what you have done and any details that you think are relevant or that you might want to discuss with us.
Checklist

[ ] I've read the guidelines and understand the acceptance criteria.
[ ] The value of the attribute marked as identifier will be unique and valid.
[ ] I've confirmed that my entity type wasn't already defined. If it is I'm providing an
explanation above.

 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.

hi @mangulonr we need you to sign the CLA before merging.
Also I'm a bit confused since you talk about golden metrics but the pr is changing the summary metrics (the ones displayed in the explorer)
Last point is: be aware that changing the golden metrics will change the signals produced from it (select newrelic.goldenmentric.$domain.$type.$name from Metric) and alerts or dashboards from users using them will stop working

ping @mangulonr

Closing as it's been opened for a long time.


Thanks, but this script is not usable

This script would consider 76 as a package name, in the output result install 76 packages in ./opam install --dry-run.

Change awk '/install/ { print $3 }' to /- install/ can fix this.

Thanks a lot!


Support Image Decodes

Resolves: #399
Previously only 1 bit per component image decode maps worked.  This adds support for all the other BPC images.  When possible it avoids doing any decoding.
I expect it to fail on pdkids page 9, which should now be rendered correctly!

@pdfjsbot test

Neat, the diffs look good. I like it that the decode map is now part of the image object rather than being an additional argument to fillRgbaBuffer.


adding the merge labels function and pytesting

Hey!
Here is my first proposal for the merge labels function!
Perhaps a bit complicated but it achieves optimal work in both situations :

moving to a higher sampling rate
downsampling in the case the downsampling ratio is an integer

Gives still a solution in the case of none integer downsampling, but perhaps not totally optimized... (in fact, it's hard to say what is best in such situation. We can "choose" to be very strict if we want, currently we try to be "fair")

closes #65


Add table azure_security_center_setting. Closes #114

Integration test logs

Logs
SETUP: tests/azure_security_center_setting []

PRETEST: tests/azure_security_center_setting

TEST: tests/azure_security_center_setting
Running terraform
azurerm_security_center_setting.named_test_resource: Creating...
azurerm_security_center_setting.named_test_resource: Creation complete after 4s [id=/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/MCAS]

Warning: Deprecated Resource

The null_data_source was historically used to construct intermediate values to
re-use elsewhere in configuration, the same can now be achieved using locals

Warning: Version constraints inside provider configuration blocks are deprecated

  on variables.tf line 22, in provider "azurerm":
  22:   version = "=2.43.0"

Terraform 0.13 and earlier allowed provider version constraints inside the
provider configuration block, but that is now deprecated and will be removed
in a future version of Terraform. To silence this warning, move the provider
version constraint into the required_providers block.

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

resource_aka = "azure:///subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/MCAS"
resource_aka_lower = "azure:///subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/microsoft.security/settings/mcas"
resource_id = "/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/MCAS"
resource_name = "MCAS"
subscription_id = "d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8"

Running SQL query: test-get-query.sql
[
  {
    "id": "/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/MCAS",
    "name": "MCAS",
    "type": "Microsoft.Security/settings"
  }
]
✔ PASSED

Running SQL query: test-list-query.sql
[
  {
    "id": "/subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/MCAS",
    "name": "MCAS"
  }
]
✔ PASSED

Running SQL query: test-not-found-query.sql
null
✔ PASSED

Running SQL query: test-turbot-query.sql
[
  {
    "akas": [
      "azure:///subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/MCAS",
      "azure:///subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/microsoft.security/settings/mcas"
    ],
    "name": "MCAS",
    "title": "MCAS"
  }
]
✔ PASSED

POSTTEST: tests/azure_security_center_setting

TEARDOWN: tests/azure_security_center_setting

SUMMARY:

1/1 passed.

Example query results

Results
> select id,name,type,kind from azure_security_center_setting
+-------------------------------------------------------------------------------------------------+-------+-----------------------------+--------------------+
| id                                                                                | name  | type                        | kind               |
+-------------------------------------------------------------------------------------------------+-------+-----------------------------+--------------------+
| /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/WDATP | WDATP | Microsoft.Security/settings | DataExportSettings |
| /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/MCAS  | MCAS  | Microsoft.Security/settings | DataExportSettings |
+-------------------------------------------------------------------------------------------------+-------+-----------------------------+--------------------+
> select id,name,type,kind from azure_security_center_setting where name = 'MCAS'
+------------------------------------------------------------------------------------------------+------+-----------------------------+--------------------+
| id                                                                                | name | type                        | kind               |
+------------------------------------------------------------------------------------------------+------+-----------------------------+--------------------+
| /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/MCAS | MCAS | Microsoft.Security/settings | DataExportSettings |
+------------------------------------------------------------------------------------------------+------+-----------------------------+--------------------+
> select id,name,type,kind from azure_security_center_setting where name = 'WDATP'
+-------------------------------------------------------------------------------------------------+-------+-----------------------------+--------------------+
| id                                                                                | name  | type                        | kind               |
+-------------------------------------------------------------------------------------------------+-------+-----------------------------+--------------------+
| /subscriptions/d7245080-b4ae-4fe5-b6fa-2e71b3dae6c8/providers/Microsoft.Security/settings/WDATP | WDATP | Microsoft.Security/settings | DataExportSettings |
+-------------------------------------------------------------------------------------------------+-------+-----------------------------+--------------------+

as discussed, closing the PR as api does not provide the properties or status field


Update production.md

While following this guide I'm receiving warnings that the production mode is not set. I found it odd that the mode was removed in sections following the Setup section. Is this intended?

Thanks!

Thank you @montogeek ! Should I add myself as a contributor?

@zomars yes

Should I make a new PR for that? Excuse my ignorance

@zomars Yes please


#7 Feature: Crud operation for routes

What does this PR do?
Create, read, update and delete routes
Description of Task to be completed?
As an operator, I want to create routes so that buses can travel in pre-defined routes.

The operator should be able to create, delete, and update a route.
The operator should be able to view a paginated list of routes in the system.
Appropriate error messages are displayed on unsuccessful attempts
The users should be able to view a route's details.

How should this be manually tested?
Clone the repo
checkout to branch ft-crud-operation-routes-7
pull the changes by git pull
install all packages by running npm install
start app by running npm run start:dev
In your API testing tool (postman is recommended for that) call API

Method: GET http://localhost:5000/api/v1/route/ to view/read all registered routes.
Method: GET http://localhost:5000/api/v1/route/{id} to view/read one specific registered route
Method: POST http://localhost:5000/api/v1/route/ to create/register new route
Method: PUT http://localhost:5000/api/v1/route/{id} to update one specific  route
Method: DELETE http://localhost:5000/api/v1/route/{id} to delete one specific route

Any background context you want to provide?
Note that you should send the request with origin and destination  for creating new route or updating it in the
request body

Format :
 {  "origin":"Mulindi",  "destination":"Kimironko", "description":"hello there amakuru yawe" }

What are the relevant pivotal tracker stories?
Trello Board
Screenshots (if appropriate)
N/A
Questions:
N/A

Conflict resolved successfully

LGTM though you have to first remove the conflicts.

Resolved successfully

You need to resolve the conflicts and please add translations

Yes, I am going to resolve the conflict,
but about translation I am missing the way to do it since I am interacting with database and I have no way to insert those data in the json files of translation

You need to resolve the conflicts and please add translations

Translation done successfully, thank you


[Bug Report] Youtube links doesn't work at all

Describe the bug
When trying to play songs from youtube, it fails and gives an error message.
Soundcloud links works fine.
To Reproduce
Use the play command followed by a link to a youtube video.
Debug Info
[14:05:39] [ERROR] [LocalAudioTrackExecutor]: Error in playback of j0h2u87JwyA
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something broke when playing the track.
at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:43)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:103)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Received non-success response code 404
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.validateResponseCode(YoutubeSignatureCipherManager.java:158)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.getCipherKeyFromScript(YoutubeSignatureCipherManager.java:143)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeSignatureCipherManager.resolveFormatUrl(YoutubeSignatureCipherManager.java:103)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:87)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:91)
... 4 common frames omitted

Duplicate of #370

Keep in mind that this started happening today. Worked perfectly previously.

Yes it is the same issue, YouTube has been changing things frequently recently, this exact issue popped up a bit ago and then YouTube reverted the change and the bot worked again.

I see. Nice to know you are aware of it!


Error: spawn python ENOENT

Hi, I'm currently having this error even though I provide the python path by myself and restart Atom.

I'm on CentOS, and no other Python-related package is installed.

I'm also having this issue on Kubuntu 21.04


[Spec test perf] Make spec test generation per-handler

After #333 is finished and the test generation is per-handler, the next step is to have it generated per-handler. This would mean that instead of building a single for-loop for all cases in a test and then dynamically dispatching to different handler functions, we should make the a macro to generate all tests for a single handler. The goal of this is that if a developer is working on a handler, then that handler should be the single point of recompilation and not the whole runner module.
This is part of #288

Closing these as not important after discussing with @Arkenan


Segmentation violation at parse.go:22 on some specific system configurations

It almost seems like a resurrection of this Go issue from 2017, but I have a problem where parse.go:22 panics with unexpected fault address 0x... - fatal error: fault - [signal SIGSEGV: segmentation violation ...]. But, I could only reproduce this on an embedded ARM device running a custom Yocto Project linux distribution. Running the program multiple times leads to multiple different error messages (one time it even worked flawlessly ¯\_(ツ)_/¯).
For debugging purposes, I added fmt.Printf("RegExp: %+v\n", pathrx) just above that line, yielding in most cases the weird message RegExp: %!v(PANIC=String method: runtime error: growslice: cap out of range), and in other cases just RegExp: :

The bad news: I have no idea how to even start with debugging something like this, or even how to test with different Go versions in Yocto without breaking stuff. So, this could very well already be fixed upstream, but still is a huge problem in my case.
The good news: there seems to be a simple workaround for which I'll be opening a PR if you don't mind - just shifting the initialization of the regular expression inside the function is enough to stop this bug from happening.

Just saw #50, I'll be trying if it fixes this issue.

@moqmar thanks. if you could fix it at gobuffalo/here, that would be great. I need to get back to making #50 pass the tests. thanks for the reminder.


Program specified by service does not contain one of the requested architectures: XPC_FLAG

After deploying to the App Store and being accepted, some users started to report the app is not working on some 9.3 devices.
It seems that the app is installed correctly but when opening the app crashes. On iOS 11 is working fine, but not in 9.3. Also happens not only for released apps but also to emulators and in debug mode.
And reports the following error
Jun 21 00:22:42 Eleanor com.apple.CoreSimulator.SimDevice.8A059639-9DE4-4667-8FAE-BF514DE1C789[21434] (UIKitApplication:ly.eval.reportingtool[0x6108][29172]): Program specified by service does not contain one of the requested architectures: XPC_FLAGS=0x0
Exit code 1 from: /usr/bin/xcrun simctl launch 8A059639-9DE4-4667-8FAE-BF514DE1C789 ly.eval.reportingtool --enable-dart-profiling --enable-checked-mode --observatory-port=8118:
ly.eval.reportingtool: -1

An error was encountered processing the command (domain=FBSOpenApplicationErrorDomain, code=1):
The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
Error launching application on iPad 2.

Steps to Reproduce

Create a 9.3 iPad emulator
Run against that emulator
The app do not start and crashes

Logs
Install Successful; Staging: 0.25s; Waiting: 0.00s; Preflight/Patch: 0.02s, Verifying: 0.01s; Overall: 0.34s
[  +37 ms] [DEVICE LOG] Jun 21 00:12:09 Eleanor SpringBoard[21449]: Installed apps did change.
[        ] [DEVICE LOG]         Added: {(
[        ] [DEVICE LOG]             "ly.eval.reportingtool"
[        ] [DEVICE LOG]         )}
[        ] [DEVICE LOG]         Removed: {(
[        ] [DEVICE LOG]         )}
[        ] [DEVICE LOG]         Modified: {(
[        ] [DEVICE LOG]         )}
[        ]      Added: {(
[        ]          "ly.eval.reportingtool"
[        ]      )}
[        ]      Removed: {(
[        ]      )}
[        ]      Modified: {(
[        ]      )}
[ +981 ms] [DEVICE LOG] Jun 21 00:12:10 Eleanor containermanagerd[21468]: 0xb09de000 systemGroupContainerPath: com.apple.containermanagerd.internal is not entitled for system group identifier: systemgroup.com.apple.lsd
[   +1 ms] [DEVICE LOG] Jun 21 00:12:10 Eleanor containermanagerd[21468]: 0xb0858000 systemGroupContainerPath: com.apple.containermanagerd.internal is not entitled for system group identifier: systemgroup.com.apple.lsd
[+1506 ms] [DEVICE LOG] Jun 21 00:12:11 Eleanor CoreSimulatorBridge[21456]: Registered for possible future reinstall: (ly.eval.reportingtool, file:///Users/miguelcatalan/Projects/Evally/evally_mobile_flutter/build/ios/iphonesimulator/Runner.app/, {
[        ] [DEVICE LOG]             CFBundleIdentifier = "ly.eval.reportingtool";
[        ] [DEVICE LOG]             PackageType = Developer;
[        ] [DEVICE LOG]             SimulatorRootPath = "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot";
[        ] [DEVICE LOG]             SimulatorUserPath = "/Users/miguelcatalan/Library/Developer/CoreSimulator/Devices/8A059639-9DE4-4667-8FAE-BF514DE1C789/data";
[        ] [DEVICE LOG]         })
[        ]          CFBundleIdentifier = "ly.eval.reportingtool";
[        ]          PackageType = Developer;
[        ]          SimulatorRootPath = "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot";
[        ]          SimulatorUserPath = "/Users/miguelcatalan/Library/Developer/CoreSimulator/Devices/8A059639-9DE4-4667-8FAE-BF514DE1C789/data";
[        ]      })
[  +14 ms] /usr/bin/xcrun simctl launch 8A059639-9DE4-4667-8FAE-BF514DE1C789 ly.eval.reportingtool --enable-dart-profiling --enable-checked-mode --observatory-port=8118
[ +169 ms] [DEVICE LOG] Jun 21 00:12:11 Eleanor CoreSimulatorBridge[21456]: Pasteboard change listener callback port <NSMachPort: 0x78607800> registered
[  +16 ms] [DEVICE LOG] Jun 21 00:12:11 Eleanor CoreSimulatorBridge[21456]: Requesting launch of ly.eval.reportingtool with options: {
[        ] [DEVICE LOG]             arguments =     (
[        ] [DEVICE LOG]                 "--enable-dart-profiling",
[        ] [DEVICE LOG]                 "--enable-checked-mode",
[        ] [DEVICE LOG]                 "--observatory-port=8118"
[        ] [DEVICE LOG]             );
[        ] [DEVICE LOG]             environment =     {
[        ] [DEVICE LOG]             };
[        ] [DEVICE LOG]         }
[        ]          arguments =     (
[        ]              "--enable-dart-profiling",
[        ]              "--enable-checked-mode",
[        ]              "--observatory-port=8118"
[        ]          );
[        ]          environment =     {
[        ]          };
[        ]      }
[        ] [DEVICE LOG] Jun 21 00:12:11 Eleanor CoreSimulatorBridge[21456]: Beginning launch sequence for bundle 'ly.eval.reportingtool'
[        ] [DEVICE LOG]                 retryTimeout: 120.000000 (default write com.apple.CoreSimulatorBridge LaunchRetryTimeout <value>)
[        ] [DEVICE LOG]                 bootTimeout: 300.000000 (default write com.apple.CoreSimulatorBridge BootRetryTimeout <value>)
[  +13 ms] [DEVICE LOG]                 bootLeeway: 120.000000 (default write com.apple.CoreSimulatorBridge BootLeeway <value>)
[        ] [DEVICE LOG]                 Note: Use 'xcrun simctl spawn booted defaults write <domain> <key> <value>' to modify defaults in the booted Simulator device.
[        ] [DEVICE LOG]         Simulator booted at: 2018-06-20 21:35:23 +0000
[        ] [DEVICE LOG]         Current time: 2018-06-20 22:12:11 +0000
[        ] [DEVICE LOG]         Within boot leeway: NO
[        ] [DEVICE LOG] Jun 21 00:12:11 Eleanor CoreSimulatorBridge[21456]: Launch attempt #0 for bundle 'ly.eval.reportingtool', have been trying to launch for 0 seconds. Modern launch services = NO
[        ] [DEVICE LOG] Jun 21 00:12:11 Eleanor CoreSimulatorBridge[21456]: Got LSBundleProxy for 'ly.eval.reportingtool', sequenceNumber 64, cacheGUID <__NSConcreteUUID 0x78608000> 94A55391-D440-46FC-8582-02102330F945
[        ]              retryTimeout: 120.000000 (default write com.apple.CoreSimulatorBridge LaunchRetryTimeout <value>)
[        ]              bootTimeout: 300.000000 (default write com.apple.CoreSimulatorBridge BootRetryTimeout <value>)
[        ]              bootLeeway: 120.000000 (default write com.apple.CoreSimulatorBridge BootLeeway <value>)
[        ]              Note: Use 'xcrun simctl spawn booted defaults write <domain> <key> <value>' to modify defaults in the booted Simulator device.
[        ]      Simulator booted at: 2018-06-20 21:35:23 +0000
[        ]      Current time: 2018-06-20 22:12:11 +0000
[        ]      Within boot leeway: NO
[  +77 ms] [DEVICE LOG] Jun 21 00:12:12 Eleanor com.apple.CoreSimulator.SimDevice.8A059639-9DE4-4667-8FAE-BF514DE1C789[21434] (UIKitApplication:ly.eval.reportingtool[0x1060][27711]): Program specified by service does not contain one of the requested architectures: XPC_FLAGS=0x0
[        ] Jun 21 00:12:12 Eleanor com.apple.CoreSimulator.SimDevice.8A059639-9DE4-4667-8FAE-BF514DE1C789[21434] (UIKitApplication:ly.eval.reportingtool[0x1060][27711]): Program specified by service does not contain one of the requested architectures: XPC_FLAGS=0x0
[        ] [DEVICE LOG] Jun 21 00:12:12 Eleanor SpringBoard[21449]: Unable to get pid for 'UIKitApplication:ly.eval.reportingtool[0x1060]': No such process (err 3)
[        ] [DEVICE LOG] Jun 21 00:12:12 Eleanor SpringBoard[21449]: Bootstrapping failed for <FBApplicationProcess: 0x7ee4ad80; ly.eval.reportingtool; pid: -1>
[        ] [DEVICE LOG] Jun 21 00:12:12 Eleanor SpringBoard[21449]: [FBSystemService] Error launching ly.eval.reportingtool: Unspecified (1)
[        ] [DEVICE LOG] Jun 21 00:12:12 --- last message repeated 1 time ---
[        ] [DEVICE LOG] Jun 21 00:12:12 Eleanor CoreSimulatorBridge[21456]: Error Launching: Error Domain=FBSOpenApplicationErrorDomain Code=1 "(null)"
[        ] [DEVICE LOG] Jun 21 00:12:12 Eleanor CoreSimulatorBridge[21456]: Unrecoverable error launching 'ly.eval.reportingtool', will NOT retry. Error was: Error Domain=FBSOpenApplicationErrorDomain Code=1 "(null)"
[        ] [DEVICE LOG] Jun 21 00:12:12 Eleanor SpringBoard[21449]: Application 'UIKitApplication:ly.eval.reportingtool[0x1060]' exited voluntarily.
[   +3 ms] [DEVICE LOG] Jun 21 00:12:12 Eleanor CoreSimulatorBridge[21456]: Pasteboard change listener callback port <NSMachPort: 0x78c0d0c0> registered
[   +2 ms] ly.eval.reportingtool: -1

           An error was encountered processing the command (domain=FBSOpenApplicationErrorDomain, code=1):
           The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
[   +1 ms] Exit code 1 from: /usr/bin/xcrun simctl launch 8A059639-9DE4-4667-8FAE-BF514DE1C789 ly.eval.reportingtool --enable-dart-profiling --enable-checked-mode --observatory-port=8118:
           ly.eval.reportingtool: -1

           An error was encountered processing the command (domain=FBSOpenApplicationErrorDomain, code=1):
           The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
[   +2 ms] Error launching application on iPad 2.
[  +14 ms] "flutter run" took 43,384ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:401)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:279)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1126)
#6      _CustomZone.run (dart:async/zone.dart:1023)
#7      _runZoned (dart:async/zone.dart:1518)
#8      runZoned (dart:async/zone.dart:1465)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#11     CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:322)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1126)
#15     _CustomZone.run (dart:async/zone.dart:1023)
#16     _runZoned (dart:async/zone.dart:1518)
#17     runZoned (dart:async/zone.dart:1465)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:278)
<asynchronous suspension>
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#21     new Future.sync (dart:async/future.dart:222)
#22     CommandRunner.run (package:args/command_runner.dart:109)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:187)
#24     run.<anonymous closure> (package:flutter_tools/runner.dart:59)
<asynchronous suspension>
#25     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#26     _rootRun (dart:async/zone.dart:1126)
#27     _CustomZone.run (dart:async/zone.dart:1023)
#28     _runZoned (dart:async/zone.dart:1518)
#29     runZoned (dart:async/zone.dart:1465)
#30     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#31     runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#32     run (package:flutter_tools/runner.dart:50)
#33     main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#34     main (file:///Users/miguelcatalan/Projects/Flutter/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#35     _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#36     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

No related errors running flutter analyze
Analyzing evally_mobile_flutter...

   info • Unused import: 'package:evally_mobile_flutter/domain/instructor/Instructor.dart' • lib/data/instructor/InstructorTokenApiModelMapper.dart:4:8
   info • The value of the local variable 'imageUrl' isn't used • lib/data/student/StudentsApiModelMapper.dart:22:9
   info • Unused import: 'package:evally_mobile_flutter/domain/instructor/Instructor.dart' • lib/domain/instructor/IsTheInstructorLoggedInUseCase.dart:3:8
   info • Unused import: 'package:evally_mobile_flutter/domain/lesson/Fault.dart' • lib/domain/lesson/GetLessonUseCase.dart:3:8
   info • Don't import implementation files from another package • lib/injector/AppInjector.dart:18:8
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/Router.dart:16:16
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/Router.dart:17:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/Router.dart:18:17
   info • Don't explicitly initialize variables to null • lib/presentation/login/LoginPage.dart:32:10
   info • Don't explicitly initialize variables to null • lib/presentation/login/LoginPage.dart:33:10
   info • 'child' is deprecated and shouldn't be used • lib/presentation/login/LoginPage.dart:147:34
   info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/presentation/map/EvallyMap.dart:13:7
   info • The getter '_provideIsAStudentSelectedUseCase' isn't used • lib/presentation/reporting/ReportingInjector.dart:35:33
warning • Element 'Image' from SDK library 'ui.dart' is implicitly hidden by 'image.dart' • lib/presentation/reporting/ReportingPage.dart:168:22
   info • Unused import: 'package:evally_mobile_flutter/domain/lesson/DeviceLocation.dart' • lib/presentation/reporting/ReportingView.dart:1:8
   info • This class inherits from a class marked as @immutable, and therefore should be immutable (all instance fields must be final) • lib/presentation/reporting/TimerText.dart:7:7
   info • 'child' is deprecated and shouldn't be used • lib/presentation/reporting/students/AddStudentDialog.dart:22:9
   info • 'child' is deprecated and shouldn't be used • lib/presentation/reporting/students/SelectStudentDialog.dart:18:9
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:5:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:11:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:17:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:23:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:29:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:35:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:41:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:48:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:54:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:60:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:66:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:72:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:78:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:84:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:90:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:96:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:102:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:108:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:114:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:120:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:126:20
   info • Name non-constant identifiers using lowerCamelCase • lib/presentation/resources/BrandTypography.dart:132:20
   info • 'child' is deprecated and shouldn't be used • lib/presentation/review/comment/AddCommentDialog.dart:22:9
warning • Element 'Image' from SDK library 'ui.dart' is implicitly hidden by 'image.dart' • lib/presentation/review/faults/FaultsListView.dart:85:20

42 issues found. (ran in 25.5s)

Runnig flutter doctor -v

[✓] Flutter (Channel dev, v0.5.5, on Mac OS X 10.13.5 17F77, locale en-ES)
    • Flutter version 0.5.5 at /Users/miguelcatalan/Projects/Flutter/flutter
    • Framework revision 020e0ef55c (6 days ago), 2018-06-14 13:17:08 -0700
    • Engine revision c3976b3c71
    • Dart version 2.0.0-dev.61.0.flutter-c95617b19c

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/miguelcatalan/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4, Build version 9F1027a
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.2

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 22.2.2
    • Dart plugin version 173.4548.30

[✓] Connected devices (1 available)
    • iPad 2 • 8A059639-9DE4-4667-8FAE-BF514DE1C789 • ios • iOS 9.3 (simulator)

• No issues found!

@cbracken

@MiguelCatalan Thanks for reporting!
It sounds like there are two things going on here:

You've hit a 32-bit iOS specific bug that was fixed in the latest beta-channel release (released a couple days ago).
There might be something mis-configured with the ARCHS setting for your Xcode project.

To fix the first problem, run flutter upgrade to update to the latest version of Flutter.
For the seconds problem, would you mind pasting the output of the following command, run from your app's directory?
grep -r XPC_FLAG ios/
Failure to launch on the simulator looks suspiciously like it might be related to the build architecture settings. Under the build settings for your project, can you verify the Architectures setting says $(ARCHS_STANDARD) as described in this wiki page?

Any tips about how to approach this? @cbracken

Two questions:

What shell are you using?
Can you try flutter clean followed by flutter -v run with the simulator up and dump the full logs here? Specifically the bit where Xcode dumps the environment would be useful (it'll include vars like ARCHS and others).

It looks like somehow Xcode has picked up a separate environment variable and its value (XPC_FLAGS=0x0) as the current arch instead of x86_64, which is what we'd expect for a simulator run.

Sorry for answering so late.

The output of the echo $SHELL instruction outputs: /bin/bash
Afte running flutter clean, the flutter -v run instruction outputs: (was so large that cant be printed in a github comment, here it is a link to a gist: https://gist.github.com/MiguelCatalan/8e2f7084032cd18072f4b5bf73635090)

Any news on this? @cbracken

@cbracken?

After creating a new project (this time with swift) seems to work


CEA 608 "FULL BLOCK" mapping missing?

Is the mapping to "FULL BLOCK" character missing from the SCC reader?

https://github.com/sandflow/ttconv/blob/master/src/main/python/ttconv/scc/codes/special_characters.py

Indeed, it seems we've missed it because it is considered as a Standard Character in CTA-608:


Specify how references are used in conjunction with the uiSchema

jsonschema defines $defs as a place to store reusable definitions, it's not clear how the uiSchema for a possibly recursive structure should be specified when each property for an object is specified in the $defs section.
Would it be better to use an extension field instead of a seperate object for the uiSchema?

Hi,
https://github.com/json-schema-form-element/jsfe?tab=readme-ov-file#acknowledgements
There is a lot of API types with this kind of form generator. It's a pandora box to support every UI stuff via schema I think.
JSFE is inspired by the RJSFE (react) API, but it's a much older and experienced lib. Reading their source code, you'll see they do  some quite heavy work at runtime and typings-wise. Sadly I don't have time, or support for this project for more exhaustive UI schemas stuff.
I think the most flexible is to use custom widgets, and maybe inject Lit Contexts, leveraging data attributes, CSS wizardry…
Feel free to make API design propositions :)
bye


Feature request: Add global option to set podAntiAffinity on all MysqlClusters

This is a feature request to add a global configuration option to MySQL operator to set a podAntiAffinity on all MysqlCluster Pods by default.
Motivation
This feature would remove the boilerplate which we have due to our workaround (see below). It would also remove the redundancy of having to mention the MysqlCluster's name twice (see below, example appears twice).
Workaround
Our current workaround is to add the following spec manually to every MysqlCluster:
apiVersion: mysql.presslabs.org/v1alpha1
kind: MysqlCluster
metadata:
  name: example
spec:
  podSpec:
    affinity:
      podAntiAffinity:
        requiredDuringSchedulingIgnoredDuringExecution:
          - topologyKey: kubernetes.io/hostname
            labelSelector:
              matchLabels:
                mysql.presslabs.org/cluster: example

Potential problems

Problem: What if you configure a default podAntiAffinity in the operator and you want to have a single MysqlCluster (or a few of them) where you don't want the podAntiAffinity to be set?
Solution: Maybe don't use the default podAntiAffinity if MysqlCluster.spec.podSpec.affinity is non-empty.

Hi @haslersn, we would gladly accept PRs for a ConfigMap or a dedicated CRD for holding default mysql-operator configs, eg. mysql.presslabs.org/MySQLOperatorConfig. If you want to take a shot I'd happily discuss and review it.


[Bug]: RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)

Describe the bug
python tools/train.py --model patchcore
2022-12-05 20:33:20,501 - anomalib.data - INFO - Loading the datamodule
2022-12-05 20:33:20,502 - anomalib.pre_processing.pre_process - WARNING - Transform configs has not been provided. Images will be normalized using ImageNet statistics.
2022-12-05 20:33:20,502 - anomalib.pre_processing.pre_process - WARNING - Transform configs has not been provided. Images will be normalized using ImageNet statistics.
2022-12-05 20:33:20,502 - anomalib.models - INFO - Loading the model.
2022-12-05 20:33:20,507 - torch.distributed.nn.jit.instantiator - INFO - Created a temporary directory at /tmp/tmp5ojcalbj
2022-12-05 20:33:20,507 - torch.distributed.nn.jit.instantiator - INFO - Writing /tmp/tmp5ojcalbj/_remote_module_non_scriptable.py
2022-12-05 20:33:20,514 - anomalib.models.components.base.anomaly_module - INFO - Initializing PatchcoreLightning model.
/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/torchmetrics/utilities/prints.py:36: UserWarning: Metric `PrecisionRecallCurve` will save all targets and predictions in buffer. For large datasets this may lead to large memory footprint.
  warnings.warn(*args, **kwargs)
2022-12-05 20:33:21,594 - timm.models.helpers - INFO - Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/wide_resnet50_racm-8234f177.pth)
2022-12-05 20:33:24,078 - anomalib.utils.loggers - INFO - Loading the experiment logger(s)
2022-12-05 20:33:24,078 - anomalib.utils.callbacks - INFO - Loading the callbacks
/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/anomalib/utils/callbacks/__init__.py:143: UserWarning: Export option: None not found. Defaulting to no model export
  warnings.warn(f"Export option: {config.optimization.export_mode} not found. Defaulting to no model export")
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - GPU available: True, used: True
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - TPU available: False, using: 0 TPU cores
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - IPU available: False, using: 0 IPUs
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - HPU available: False, using: 0 HPUs
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - `Trainer(limit_train_batches=1.0)` was configured so 100% of the batches per epoch will be used..
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - `Trainer(limit_val_batches=1.0)` was configured so 100% of the batches will be used..
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - `Trainer(limit_test_batches=1.0)` was configured so 100% of the batches will be used..
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - `Trainer(limit_predict_batches=1.0)` was configured so 100% of the batches will be used..
2022-12-05 20:33:24,082 - pytorch_lightning.utilities.rank_zero - INFO - `Trainer(val_check_interval=1.0)` was configured so validation will run at the end of the training epoch..
2022-12-05 20:33:24,082 - anomalib - INFO - Training the model.
2022-12-05 20:33:24,086 - anomalib.data.mvtec - INFO - Found the dataset.
2022-12-05 20:33:24,087 - anomalib.data.mvtec - INFO - Setting up train, validation, test and prediction datasets.
/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/torchmetrics/utilities/prints.py:36: UserWarning: Metric `ROC` will save all targets and predictions in buffer. For large datasets this may lead to large memory footprint.
  warnings.warn(*args, **kwargs)
2022-12-05 20:33:24,661 - pytorch_lightning.accelerators.gpu - INFO - LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/core/optimizer.py:184: UserWarning: `LightningModule.configure_optimizers` returned `None`, this fit will run with no optimizer
  "`LightningModule.configure_optimizers` returned `None`, this fit will run with no optimizer",
2022-12-05 20:33:24,665 - pytorch_lightning.callbacks.model_summary - INFO -
  | Name                  | Type                     | Params
-------------------------------------------------------------------
0 | image_threshold       | AnomalyScoreThreshold    | 0
1 | pixel_threshold       | AnomalyScoreThreshold    | 0
2 | model                 | PatchcoreModel           | 24.9 M
3 | image_metrics         | AnomalibMetricCollection | 0
4 | pixel_metrics         | AnomalibMetricCollection | 0
5 | normalization_metrics | MinMax                   | 0
-------------------------------------------------------------------
24.9 M    Trainable params
0         Non-trainable params
24.9 M    Total params
99.450    Total estimated model params size (MB)
Epoch 0:   0%|                                                                                | 0/10 [00:00<?, ?it/s]/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/optimization/optimizer_loop.py:137: UserWarning: `training_step` returned `None`. If this was on purpose, ignore this warning...
  self.warning_cache.warn("`training_step` returned `None`. If this was on purpose, ignore this warning...")
Epoch 0:  70%|████████████████2022-12-05 20:33:27,516 - anomalib.models.patchcore.lightning_model - INFO - Aggregating the embedding extracted from the training set..46it/s, loss=nan]
2022-12-05 20:33:27,523 - anomalib.models.patchcore.lightning_model - INFO - Applying core-set subsampling to get the embedding.
Traceback (most recent call last):
  File "tools/train.py", line 76, in <module>
    train()
  File "tools/train.py", line 65, in train
    trainer.fit(model=model, datamodule=datamodule)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 771, in fit
    self._fit_impl, model, train_dataloaders, val_dataloaders, datamodule, ckpt_path
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 723, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 811, in _fit_impl
    results = self._run(model, ckpt_path=self.ckpt_path)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1236, in _run
    results = self._run_stage()
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1323, in _run_stage
    return self._run_train()
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1353, in _run_train
    self.fit_loop.run()
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/base.py", line 204, in run
    self.advance(*args, **kwargs)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/fit_loop.py", line 266, in advance
    self._outputs = self.epoch_loop.run(self._data_fetcher)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/base.py", line 205, in run
    self.on_advance_end()
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 255, in on_advance_end
    self._run_validation()
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 311, in _run_validation
    self.val_loop.run()
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/base.py", line 199, in run
    self.on_run_start(*args, **kwargs)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 136, in on_run_start
    self._on_evaluation_start()
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 253, in _on_evaluation_start
    self.trainer._call_lightning_module_hook("on_validation_start", *args, **kwargs)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1595, in _call_lightning_module_hook
    output = fn(*args, **kwargs)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/anomalib/models/patchcore/lightning_model.py", line 94, in on_validation_start
    self.model.subsample_embedding(embeddings, self.coreset_sampling_ratio)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/anomalib/models/patchcore/torch_model.py", line 142, in subsample_embedding
    coreset = sampler.sample_coreset()
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/anomalib/models/components/sampling/k_center_greedy.py", line 131, in sample_coreset
    idxs = self.select_coreset_idxs(selected_idxs)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/anomalib/models/components/sampling/k_center_greedy.py", line 95, in select_coreset_idxs
    self.features = self.model.transform(self.embedding)
  File "/home/ai/anaconda3/envs/PFM/lib/python3.7/site-packages/anomalib/models/components/dimensionality_reduction/random_projection.py", line 132, in transform
    projected_embedding = embedding @ self.sparse_random_matrix.T.float()
RuntimeError: CUDA error: CUBLAS_STATUS_INVALID_VALUE when calling `cublasSgemm( handle, opa, opb, m, n, k, &alpha, a, lda, b, ldb, &beta, c, ldc)`
Epoch 0:  70%|███████   | 7/10 [00:03<00:01,  2.17it/s, loss=nan]

Dataset
MVTec
Model
PatchCore
Steps to reproduce the behavior
python tools/train.py --model patchcore
OS information
OS information:

OS: [e.g. Ubuntu 20.04]
Python version: [e.g. 3.7]
Anomalib version: [e.g. 0.3.7]
PyTorch version: [e.g. 1.120]
CUDA/cuDNN version: [e.g. 11.6]  cudnn 8.4.0
GPU models and configuration: [e.g. 2x GeForce RTX 3060]
Any other relevant information: [e.g. mvtec dataset]

Expected behavior
...
Screenshots
No response
Pip/GitHub
pip
What version/branch did you use?
No response
Configuration YAML
...

Logs
...

Code of Conduct

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

@monkeycc, I cannot reproduce this error. Can you confirm whether you still experience this issue? Thanks!


Output multiple validation problems at once

Detailed description
At the moment when there are multiple problems in an OpenAPI document, Speccy will only output the first problem. For instance when a component that is being referred to using $ref is missing, it'll only output the first instance where that $ref is used.
Context
When fixing these problems requires a build step in another system it is very inconvenient to solve one of these at a time. It would be very nice if speccy would output multiple (or all!) of these problems at once.
In addition when Speccy will be used as a linter inside editors it makes sense to show all problems and not just showing the next one once the first one is fixed.
Possible implementation
Currently should is used to return validation errors. It uses exceptions, which aren't easily composable. It probably requires a lot of work, but all functions should return an array of problems. An alternative is to catch each error and compose a new one when multiple validations are being done in a single function.

It’s pretty common for validation errors to be shown one at a time, as the validation can effect the rest of the file. Linting results are wrapped as we can tell you about multiple of those easily enough and a missing description won’t effect the validity of the rest of the document.
I don’t want to send folks multiple validation errors, which cause them to make multiple edits, only for them to find out one or more of those edits were actually incorrect and are no longer relevant now a previous error has been fixed.
—
Phil Sturgeon

On Apr 15, 2018, at 06:20, Bob van der Linden<EMAIL_ADDRESS>wrote:
Detailed description
At the moment when there are multiple problems in a OpenAPI document, Speccy will only output the first problem. For instance when a component that is being referred to using $ref is missing, it'll only output the first instance where that $ref is used.
Context
When fixing these problems requires a build step in another system it is very inconvenient to solve one of these at a time. It would be very nice if speccy would output multiple (or all!) of these problems at once.
In addition when Speccy will be used as a linter inside editors it makes sense to show all problems and not just showing the next one once the first one is fixed.
Possible implementation
Currently should is used to return validation errors. It uses exceptions, which aren't easily composable. It probably requires a lot of work, but all functions should return an array of problems. An alternative is to catch each error and compose a new one when multiple validations are being done in a single function.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes, I totally agree it isn't always possible. For instance when JSON is not valid, then it will be hard to validate everything inside JSON. However, many times it is possible. When the title of the document is missing it should still be possible to validate individual endpoints. When one endpoint fails to validate it should still be able to validate others.
Is this something that is a desired feature of the library or are you opposed to the entire idea of returning multiple validation errors?

To get back to this, yes it would be lovely if possible, but that work would need to be done on oas-validator instead of here. https://github.com/Mermade/oas-kit/
If that were to support it, then speccy would be tweaked to surface those multiple errors.


Pl add custom approvals topic doc 2594

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[* ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s) https://harness.atlassian.net/browse/DOC-2594

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ * ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-675

Preview environment: https://ci.pr.harness.io/pr-675


Updated slash-commands.rst

Made the same changes to the slash commands table as in my previous PR.

Thanks! I forgot to mention that this will need to be for the 4.1-documentation branch. My mistake.
No need to re-submit, we can just merge it next week on the 15th.


Does CI run in my fork?

Before submitting a pull request, make sure you satisfy all of the following points:

[ ] Give as much detail as possible on what is included within the pull request
[ ] Make sure that new additions are not already present in the project
[ ] If it contains source code, comply with the coding guidelines
[ ] Add new tests for new features
[ ] Run and pass the tests using GitHub's workflows

Nope! It doesn't.


Add quick search

Add flags management
Allow fast search with something like fu -f <query> (to retrieve the 1st result immediately instead of showing search results)

Added in 0.1.0


fix: stripe webhook validation

The SubtleCryptoProvider cannot be used in a synchronous context. This is a problem for non-node environments where the Stripe client falls back to SubtleCryptoProvider.
Running the trigger.dev Stripe integration on Cloudflare Pages results in the following error:
{
  "error": {
    "name": "Error",
    "message": "SubtleCryptoProvider cannot be used in a synchronous context.\\nUse `await constructEventAsync(...)` instead of `constructEvent(...)`"
  },
  "timestamp": "2024-01-11T19:44:47.237Z",
  "name": "trigger.dev",
  "message"<EMAIL_ADDRESS>Error while validating webhook signature",
  "level": "error"
}

Even worse, without verbose logging enabled, this is just silently ignored and no event or job-run is triggered from trigger.dev
✅ Checklist

[x] I have followed every step in the contributing guide
[x] The PR title follows the convention.
[x] I ran and tested the code works

Changelog
Fix Stripe integration webhook validation.
💯

Has this been tested to still work on Node.js?

Yes, tested and still works fine on Node.js.


Smart Irrigation not showing up in the side tab

What happened?
I am not sure whether I am not understanding something or whether something is wrong with my setup.
I had Smart Irrigation running on my old HA which died, I've set a brand new one and want to get Smart Irrigation back.
Installed Smart Irrigation in HACS but it doesn't show up on the side panel and I don't know what is meant by " add the integration by searcing 'Smart Irrigation' in your configuration."
What should be done exaactly to get it working?
How to reproduce
It simply doesn't show up after installing and via HACS & rebooting
Relevant log output
No response
Which version are you running?
2024.7.8
Diagnostics file

[X] I have attached a diagnostics file

Additional information
No response

It somehow did resolve by itself...

Browser cache issues.


looks weird when just input nvim and enter on shell

arrow-fade

arrow

curve

slant

slant-fade

slant-cons

Is the display result correct?
terminal emulator: xfce4-terminal
neovim version: v0.5.0-dev
min vimrc:
 set termguicolors
 set runtimepath+=~/.cache/nvim/dein/repos/github.com/arcticicestudio/nord-vim
 set runtimepath+=~/.cache/nvim/dein/repos/github.com/kyazdani42/nvim-web-devicons
 set runtimepath+=~/.cache/nvim/dein/repos/github.com/glepnir/spaceline.vim
 colorscheme nord
 let g:spaceline_seperate_style = "arrow-fade"
 let g:spaceline_colorscheme = "nord"

thx for the very quickly fix
but does spaceline support nord colorscheme?
it work well on 'one'

however

thx for the very quickly fix
but does spaceline support nord colorscheme?
it work well on 'one'

however

hmm I am not spaceline nord colorscheme author and I most suggest that used galaxyline.
you can use set statusline? to check which separetor group color is wrong and fixed it in spaceline/nord.vim .then send PR

hmm I am not spaceline nord colorscheme author and I most suggest that used galaxyline.
you can use set statusline? to check which separetor group color is wrong and fixed it in spaceline/nord.vim .then send PR

Hi I was the one making the Nord theme for spaceline.
That last character is emptySeperate1, so revert the fix above will make it look normal when you are opening a file.
Other themes have the 1st problem too, so I suggest we just revert the fix (no one probably sees a blank nvim most of the time anyway).
The better way might be setting that character to a color depending on the block on its left, but that seems complicating for what it's worth.

Hi I was the one making the Nord theme for spaceline.
That last character is emptySeperate1, so revert the fix above will make it look normal when you are opening a file.
Other themes have the 1st problem too, so I suggest we just revert the fix (no one probably sees a blank nvim most of the time anyway).
The better way might be setting that character to a color depending on the block on its left, but that seems complicating for what it's worth.


chore(ONYX-13, ONYX-12): remove old saves implementation

This PR resolves ONYX-13 ONYX-12
Description

Remove old saves implementation
PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

remove old saves implementation -daria

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (remove old saves implementation -daria)

  Generated by :no_entry_sign: dangerJS against 0f8060448698826a5b235301811f084dac70e929

Right, @anandaroop, sorry, missed this. Cleaned up now


Cannot build due to error in lookuptable.lua

Yonaba,
First off you have been awesome. I have been using this pathfinder for a small game I am making for personal use (mostly to prove I can do it).
I am trying to build my .apk and it is giving me an error in the lookuptable.lua file, saying I need a ')' before the ','
http://screencast.com/t/mY9EN6yXIF
I can build the file if I comment out the whole file, since I am currently not actually using any part of the Jumper package. I plan to implement it soon. Do you have any suggestions?
Brian H.

Hi Brian,
Well, I see the problem. You are working with a wrong version of Jumper,
that is the cutting-edge development version.
The file lookuptable.lua was added after the latest stable release, and it
contains experimental code for features which are yet to come.
Use instead the latest stable version, which is 1.8.1 (see here
http://github.com/Yonaba/Jumper/releases/tag/jumper-1.8.1-1). Take a look
at the Readme, there some few syntax changes. I do hope it won't break your
code. Happy debugging!
Thanks using Jumper. I'd love to hear about your game when it gets released.
Regards,
Roland Y.
Le 18 févr. 2015 20:49, "bsherb53"<EMAIL_ADDRESS>a écrit :

Yonaba,
First off you have been awesome. I have been using this pathfinder for a
small game I am making for personal use (mostly to prove I can do it).
I am trying to build my .apk and it is giving me an error in the
lookuptable.lua file, saying I need a ')' before the ','
http://screencast.com/t/mY9EN6yXIF
I can build the file if I comment out the whole file, since I am currently
not actually using any part of the Jumper package. I plan to implement it
soon. Do you have any suggestions?
Brian H.
--
Reply to this email directly or view it on GitHub
https://github.com/Yonaba/Jumper/issues/37.

Yonaba,
I just swapped out all those directories, and upon the first launch of my
newly used Jumper class, I saw what I dreaded most. I saw a list of about
70 different errors and my app would not compile!! I started reading them
frantically, then I realized something... I had put them into a
subdirectory. I then added the new directory location in my main.lua (where
I am currently requiring jumper.grid and jumper.pathfinder) and guess what?
It compiled into the simulator perfectly. I went to build it for my test
device, and it magically worked as well!!!
Thank you for helping me out in a blonde moment like that. I am actually
changing the way I am using the pathfinding, and as of now, I have not seen
any examples myself where people do this with Jumper. Instead of moving the
image/sprite around the screen with the path that is created, I am actually
reverse engineering the given path, and using that to move the background
image, keeping the main character always in the center of the screen.
I will definitely share when I get closer to being done with my app. I just
started on it 3 days ago and have all the touch capabilities done. I hope I
can have the whole thing done by the end of this summer.
Thanks again for your help, when I launch, your name will be in my credits
:)
Brian H
On Wed Feb 18 2015 at 2:18:22 PM Roland<EMAIL_ADDRESS>wrote:

Hi Brian,
Well, I see the problem. You are working with a wrong version of Jumper,
that is the cutting-edge development version.
The file lookuptable.lua was added after the latest stable release, and it
contains experimental code for features which are yet to come.
Use instead the latest stable version, which is 1.8.1 (see here
http://github.com/Yonaba/Jumper/releases/tag/jumper-1.8.1-1). Take a look
at the Readme, there some few syntax changes. I do hope it won't break your
code. Happy debugging!
Thanks using Jumper. I'd love to hear about your game when it gets
released.
Regards,
Roland Y.
Le 18 févr. 2015 20:49, "bsherb53"<EMAIL_ADDRESS>a écrit :

Yonaba,
First off you have been awesome. I have been using this pathfinder for a
small game I am making for personal use (mostly to prove I can do it).
I am trying to build my .apk and it is giving me an error in the
lookuptable.lua file, saying I need a ')' before the ','
http://screencast.com/t/mY9EN6yXIF
I can build the file if I comment out the whole file, since I am
currently
not actually using any part of the Jumper package. I plan to implement it
soon. Do you have any suggestions?
Brian H.
--
Reply to this email directly or view it on GitHub
https://github.com/Yonaba/Jumper/issues/37.

—
Reply to this email directly or view it on GitHub
https://github.com/Yonaba/Jumper/issues/37#issuecomment-74949857.

No problem!


Giroux5

@dagiro : Thanks for your contribution! The author, @MikeRys, has been notified to review your proposed change.


Upgrade dependencies 190929

Codecov Report

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

@@          Coverage Diff          @@
##           master    #21   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          10     10
  Branches        2      3    +1
=====================================
  Hits           10     10

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 c75f3e8...4532096. Read the comment docs.


fix the optimized invertible conv when have multi input

for multi input when inference, we should use self.W_inverse but not W_inverse

Nice catch! Thank you.


Migrate to Jetpack Compose

I would like to work on it. I wanted to know how exactly you prefer to do it.
Maybe migrating parts of the app to compose gradually (eg. screen by screen)?
But then I can see a keypasscompose module, was wondering what your plan was with that?

Yeah, so actual plan is to keep app in both frameworks

ok I see
with a shared common module
what would you suggest todo first?

Shared common module contains all the logic, except for the UI, that can be used with both XML and compose.

What is the name of the stable branch for compose?

composeUpdate branch

Do you have any plans for the migration?

@5AbhishekSaxena no there is no plan as such, we can go screen by screen, first homepage, then add account page.

@yogeshpaliyal cool, let's create the issues and start working.

Why do you have a separate module for Compose?

Because I don't want to break the App while we migrate to XML and also we can keep XML module so others can go through code of XML and Compose both.

You can have compose code in xml and vice versa and it won't break anything as it is built that way.
You can refer to the official documentation for more information. Link: https://developer.android.com/jetpack/compose/interop/migration-strategy
I have also written an article on the migration that you can refer to as well. Link: https://proandroiddev.com/migration-to-jetpack-compose-for-a-legacy-application-3bf256df2ebe

Yes I am aware of that but I want to keep both the apps, we can do one thing in compose we can copy xml code and then migrate this to compose.

Okay. It would be great if you could do the basic setup to begin the migration.

Sure I will do the basic setup

basic setup done for compose module


Add conversion from Weierstrass to Tate model

Conversion from Weierstrass to Tate form is not, in general, possible globally, and depends on the singularity type at each singular locus, and so we have decided not to include this functionality at this time


[Interpreter] If, While, and the relationship between step and clock ticks.

Making this to supersede #883.
The high level question here is "What do we want the relationship between an interpreter step and the clock-tick of a hypothetical design to be" which I'm going to poke at via discussing If and While.
The way I see it there are two ways the interpreter can treat conditions for if/while statements which I am going to call:

eager
lazy

This has to do with whether we evaluate the conditional the moment we reach an if/while (on sub-interpreter creation) or if we wait until the interpreter is explicitly advanced to evaluate the condition.
Currently the interpreter operates eagerly for if/while statements without a comb group. The moment we reach one of these statements it evaluates the conditional meaning that the execution path has already been determined before the first step call to this sub-interpreter.
For if/while statements with a comb group, the condition is evaluated lazily. The condition is not touched until after the first call to step (it actually takes multiple calls to step to fully branch based on the condition hence #883).
The reason for this set up is because it was previously possible for the group attached to if/while statements to be non-combinational so the interpreter would not make any assumptions about the timing behavior of the group. However as this is no longer the case we now need to consider what the "correct" behavior should be which is really a matter of what we expect the relationship between step and the clock to be.

I think a state outline will help elucidate the differences.

interpreter exists but has done nothing so far.
evaluate the condition
evaluate the appropriate body
done.

Eager evaluation means that before calling step the interpreter will have already moved from stage 0 to stage 1 to stage 2 (or 3 if a while group with false) and the step invocation will advance the interpretation of the body (if applicable).
Lazy evaluation means that before calling step the interpreter is in stage 0 and will be moved into stage 1 (currently requiring further invocations to move to stage 2).

I believe there is a potential bug/semantic grey area with respect to eager evaluation and conditionals which directly depend on some input to the component. So supposing a component executing an if statement whose conditional depends on the input (other than go) we can potentially get into a strange situation if the input of interest varies exactly at this transition (or if the component is paused and resumed with different input) as an eager evaluation would effectively miss an external computational update for conditions w/o a with clause. (apologies if this doesn't make sense, I am having trouble finding the right words).
There is also a philosophical question as to how many steps should be required to evaluate the condition.
let (=>) represent a single invocation of step and let (->) represent intra-step state transitions. Here are the potential options for thinking about how this should work.
A.
0 => 1 => ... => 2 => ... => 3 (Lazy, stepped cond eval)

B.
(0 -> 1 -> 2) => 2 => ... => 3 (Eager eval, instant cond eval)

C.
0 => 1 -> 2 => ... => 3 (lazy, instant cond eval)

D (weird hypothetical)
(0 -> 1) => 1 => ... => 2 => ... => 3 (eager, stepped cond eval)

A is how the interpreter currently behaves for while/if statements with an attached combinational group while B is how it behaves for those without. This might be undesirable as it makes it harder to reason about time passing.
Eager/Lazy
Why might we prefer eager evaluation? Eager evaluation has the benefit of requiring less state information to be stored and is possibly more "honest" with respect to the timing of the accelerator that Calyx generates. Though it does suffer from the potential bug listed above.
Intra-step cond eval vs inter-step cond eval
Instant evaluation of conditionals requires fewer invocations of step to advance the program and is more "honest" for cases without an attached combinational group, though it is potentially less "honest" (timing wise) for groups with an attached combinational group as it will really take a full cycle to ensure that the result of the group is stored so that the condition is stable.
The opposite holds for inter-step conditonal evaluation.

We can also ask a similar question for seq blocks. When we perform the last step for an element of the sequence are we immediately moved to the state where we are executing the next element or is there an interstitial inactive state to be stepped through?
... => 1 => 2  => ...
vs
... => 1 => X => 2 => ...
Anyway apologies for this long mess, hopefully some of the distinctions I am trying to draw here make a bit of sense. Please let me know if you have thoughts or questions.

Currently the interpreter operates eagerly for if/while statements without a comb group.

Just to clarify, when we have a program:
one;
if lt.out {
  two;
}

The interpreter will evaluate lt.out in the environment generated by eval(one) or in reset(eval(one))?

it actually takes multiple calls to step to fully branch based on the condition

I don't follow this. Combinational groups should take only one combinational step before needing to being evaluated right? Is step lower level than my notion of a "combinational step"?

It might be helpful to explain the step examples above using a concrete Calyx program.

To answer your questions:

The interpreter will evaluate lt.out in the environment generated by eval(one) or in reset(eval(one))?

The interpreter will look at lt.out under reset(eval(one)) as it is not doing any sort of scoped reasoning and the language semantics no longer make using lt.out reasonable without a with clause as it's not stable.

I don't follow this. Combinational groups should take only one combinational step before needing to being evaluated right? Is step lower level than my notion of a "combinational step"?

Your intuition is correct, this has to do with the current imp still believing non-combinational groups are possible in a with clause. Regardless of the overall direction we want to take, this piece should still be fixed.


Enums in Postgres generate a request to every use of enum value

Using a remote DB @khorolets and I discovered that our requests are too slow (observed high latencies). Digging into it we learned that doing an insert of N records in a single query produce N pre-flight queries and they are related to the lookup:
https://github.com/adwhit/diesel-derive-enum/blob/731b86fec2afb39a255a59c564abe002c7f22e23/src/lib.rs#L273-L277
Logging out the looked up type we observe:
PgTypeMetadata { oid: 0, array_oid: 0 }

Thus, replacing the lookup call with the const value we avoid all the unrelated requests and our implementation seems to work just fine. It is hard to tell if this is reasonable to use this const instead of a dynamic lookup:
 impl HasSqlType<#diesel_mapping> for Pg {
     fn metadata(lookup: &Self::MetadataLookup) -> Self::TypeMetadata {
         Self::TypeMetadata { oid: 0, array_oid: 0 }
     }
 }

UPD: Our CREATE TYPE SQL migration had mismatching names with the enums in the source code, but even once we fixed the mismatch and started observing proper values (PgTypeMetadata { oid: 21564, array_oid: 21563 }), it did not change anything (still slow if we do this lookup every time). I wonder what is the use of these oid and array_oid values since SELECT (with and without filters), UPDATE, and INSERT operations succeed even if the metadata method always returns Self::TypeMetadata { oid: 0, array_oid: 0 }.

I have no experience with oid and PostgreSQL enums, so I decided to raise an issue on diesel (https://github.com/diesel-rs/diesel/issues/2469) to gather more information about proper HasSqlType implementation.

This seems to be resolved in the master branch of diesel (future 2.0 release, afaik) by an introduction of metadata caching (https://github.com/diesel-rs/diesel/pull/2088).
Useful comment about oid (https://github.com/diesel-rs/diesel/issues/2469#issuecomment-665007091):

The dynamic lookup of the OID is required as OID's of custom types are not stable across different postgres instances. Just using 0 there will cause issues as soon as the exact type is required to be known by postgres. That's the case for example if you try to insert an array of values of your custom type.

Hi, you've already resolved it but thanks for the bug report and I appreciate the investigation. I had no idea this was a problem.

Also, worth mentioning the issue the caching revealed: https://github.com/diesel-rs/diesel/issues/2203
@adwhit Thank you for your work on this project. It helped us a lot to make our code straightforward and idiomatic!


Azure website DNX Request limits

Hi !
I am running with ASP.NET Core 1.0 RC1 in an Azure Website
( 64 bit , 3
We need to support quite large uploads ( api use case ) and locally using Kestrel etc this works just fine.
However in azure website hosting, we run into its request size limits.
I have now tried to reconfigure the generated web.config during dnu publish to increase those request limits:
<configuration>
  <system.webServer>
   <security>
    <requestFiltering>
      <requestLimits  maxAllowedContentLength="300000000"/>
    </requestFiltering>
  </security>
    <handlers>
      <add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
    </handlers>
    <httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="true" stdoutLogFile="..\logs\stdout.log">
    </httpPlatform>
  </system.webServer>
</configuration>

But the request limits are still there...
Any clues on how to achieve this ?

@Tratcher any idea on what limits might be in place on Azure Web Sites?

Its very weird, before i thought that it is the default value of 30 MB, but we're getting from time to time request errors on even 12 MB of data... so it seems ... inconsistent

Not off hand. A quick search turned up
http://stackoverflow.com/questions/26565850/node-js-running-on-azure-website-max-file-upload
which recommends switching to chunked uploads.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Spyder Report bug does not link to github

Spyder Version:  2.3.2
Python Version:  3.4.0
Qt Version    :  4.8.6, PyQt4 (API v2) 4.11.3 on Windows
pyflakes >=0.6.0:  0.8.1 (OK)
pep8 >=0.6      :  1.6.2 (OK)
IPython >=0.13  :  2.4.1 (OK)
zmq >=2.1.11    :  None (NOK)
pygments >=1.6  :  2.0.2 (OK)
pandas >=0.13.1 :  0.15.2 (OK)
sphinx >=0.6.6  :  1.2.3 (OK)
rope >=0.9.2    :  None (NOK)
matplotlib >=1.0:  1.4.2 (OK)
pylint >=0.25   :  1.4.1 (OK)
What steps will reproduce the problem?

Goto Help -> Report Issue..

What is the expected output? What do you see instead?
Expected to get directed to GitHub as this is apparently the system to use.
A browser window with following URL is opened instead: https://code.google.com/p/spyderlib/issues/entry?comment=Spyder .... [truncated]

Hi @phsdv, thanks for reporting this, but it has been fixed already on #2182 and will be updated on the next release of spyder.
If you want to try this for yourself you can download the development version and run it like
$ git clone https://github.com/spyder-ide/spyder.git
$ cd spyder
$ python bootstrap.py

Cheers

Yes, we can change things on past releases :-)


TypeScript definition file and usage examples

This change gives people developing in TypeScript the type definitions for the public API of node-adodb.  This makes intellisense and strong type validation possible with this library.

:+1:

Are you planning to publish updates to NPM sometime soon?


qt_gui_core: 0.3.14-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository qt_gui_core to 0.3.14-1:

upstream repository: https://github.com/ros-visualization/qt_gui_core.git
release repository: https://github.com/ros-gbp/qt_gui_core-release.git
distro file: melodic/distribution.yaml
bloom version: 0.8.0
previous version for package: 0.3.13-2

qt_dotgraph

No changes

qt_gui

No changes

qt_gui_app

No changes

qt_gui_cpp
* fix compile regression on armhf (#187 <https://github.com/ros-visualization/qt_gui_core/issues/187>, regression from 0.3.12)

qt_gui_py_common

No changes

Needs to be done with the magic sauce to not break the conditional dependencies... @nuclearsandwich


HTML/CSS Module -> Navbar

Creating Navbar with bootstrap in HTML/CSS

@winfeigle home section is already assigned and I think the person also worked on the navbar. You can work on other modules or you can work on this section.

Yes. It will make more sense


fix: ingress object meta value

Closes #
📑 Description

A merge request that includes the modifications made in arbreezy merge request available https://github.com/k8sgpt-ai/k8sgpt/pull/143 and adds Ingress to the switch case GetParents.
✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

ℹ Additional Information

@matthisholleville looks good, no worries.
I don't see the output of a missing secret when I analyze the Ingress object while having more errors for the same Ingress object, curious if you can replicate it as well.

Can you run : k8sgpt analyze --namespace test-ci-new-repo -o json | jq . please ?
This is my output :
...
{
  "kind": "Ingress",
  "name": "my-namespace/my-ingress",
  "error": [
    "Ingress uses the service my-namespace/my-ingress which does not exist.",
    "Ingress uses the secret my-namespace/my-missing-secret as a TLS certificate which does not exist."
  ],
  "details": "",
  "parentObject": "xxxxxx"
}

Do you have both errors?

@arbreezy You are right that if you don't use the JSON output format, you only get the first error (regardless of the analyzer). I don't think it's related to ingress exclusively. We should open an issue?

Yes with json output it looks good and code is fine, not sure why plain text isn't showing it.
Is it working for you with both output formats?

I already touched base on slack, going to have a proper look tomorrow as well, thanks for the prompt response @matthisholleville , most likely we need to open a new issue.

@arbreezy Indeed, only the first error from the array is displayed : https://github.com/k8sgpt-ai/k8sgpt/blob/main/cmd/analyze/analyze.go#L144

Please check the bug fix I have proposed for the output and if it fixes your issue we can get this in also

All errors are displaying correctly with your fix. Great job!