NU5133 warning documentation

Fixes: https://github.com/NuGet/docs.microsoft.com-nuget/issues/2670
Description: Add illustrated guide on how to unblock nuget.exe

Docs Build status updates of commit 2f53f38:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU5133.md
:warning:Warning
View
Details

docs/reference/media/NuGetProperties.png
:white_check_mark:Succeeded
View

docs/reference/media/NuGetUnblock.png
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5133.md

Line 26, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../reference/media/NuGetProperties.png'.
Line 30, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../reference/media/NuGetUnblock.png'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit facce63:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU5133.md
:warning:Warning
View
Details

docs/reference/media/NuGetProperties.png
:white_check_mark:Succeeded
View

docs/reference/media/NuGetUnblock.png
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5133.md

Line 26, Column 3: [Warning: file-not-found - See documentation] Invalid file link: '../../media/NuGetProperties.png'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 7f5ff9d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU5133.md
:white_check_mark:Succeeded
View

docs/reference/media/NuGetProperties.png
:white_check_mark:Succeeded
View

docs/reference/media/NuGetUnblock.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e98b656:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

 It might be caused your branch is deleted or force pushed. If it is not this case, please open a ticket on https://aka.ms/SiteHelp

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 875fd2a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU5133.md
:white_check_mark:Succeeded
View

docs/reference/media/NuGetProperties.png
:white_check_mark:Succeeded
View

docs/reference/media/NuGetUnblock.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Expanding Sub-Process should keep parent untouched

Description
Given that I import a diagram with nested, collapsed sub-processes. The moment I expand these sub-processes the size changes, triggering a massive relayouting of the entire diagram.
That relayout cannot easily be reverted (on collapse). That is why expanding + collapsing easily gets frustrating.
Context

You have a nicely formated diagram with a collapsed sub-process

Expanding the diagram will automatically resize the participant, thus breaking the layout:

Desired Behavior

[ ] It is possible to inspect the contents of a sub-process without affecting the layout of the parent element. This way I can inspect it without interfering with the host layout.

Alteratives Considered

It is possible to show (and modify?) sub-processes in a separate tab. This is similar to how we handle editing of decisions in DMN.
Migrating to Call activities is not an option: The usage of call activities instead of sub processes is no options, since we have plenty of processes, using plenty of sub processes.
Migrating to un-collapsed sub-processes is not an option: Since these existing processes are fairly big, converting a collapsed sub process in a uncollapsed sub processes is no option, either.
Even though, feature request (https://github.com/camunda/camunda-modeler/issues/1354) would help us a lot for new processes.

Expand the section below for the original issue:

__Describe the Bug__
After navigating into and afterwards out of a collapsed sub process (see attached file), the following components of the main process (the process, that contains the collapsed sub process) are changed:
  * the edge to the sub process is moves upwards
  * the edge from the sub process is moves upwards
  * the lane is enlarged in all 4 directions (even in negative horizontal direction)
according to the lane of the sub process.
Steps to Reproduce

rename the attached diagram
MainProzess.txt into MainProcess.bpmn
open the diagram with camunda modeler
navigate into the collapsed sub process "sub"
navigate out of the sub process "sub"

After doing so, the diagram, containing the main process is in disorder.
Expected Behavior
The main process should not be modified, when navigating into a collapsed sub process.
Why and in which context is this behavior crucial?
If you think of a main process, containing a hierarchy of collapsed sub processes (a collapsed sub process in a collapsed sub process in a collapsed sub process...).
If you navigate to the innermost collapsed sub process, change something in this sub process and navigate back to the main process, you have to cleanup all subprocesses, you pass by, in order to conserve the original state.
This is not easily possible and annoying.
Furthermore, of you do roundtrip with signavio, since the root coordinates of the (main) process(es) are changed by navigating into collapsed sub processes, only parts of each process can be shown in signavio after re-importing the process into signavio.
Environment

OS: ubuntu 18.4
Camunda Modeler Version: 3.0.1

Related to SUPPORT-5355
Related to CAM-10417

Thanks for filing this feature request.
Let me try to summarize what I understood:

You have a nicely formated diagram with a collapsed sub-process

Expanding the diagram will automatically resize the participant, thus breaking the layout:

Your feature request is to not expand the parent when temporarily drilling down into the sub-process. Is that correct?

Hi Nico,
yes, temporarily and permanently.
Meaning:
When drilling down into the sub process, the main process should be unchanged, when I come back to the main process by collapsing the sub process.
In both cases:

when the sub process is beeing changed

when the sub process stays unchanged.

Furthermore, this should also apply to a hierarchy of sub processes.
Imagine a main process, that contains a collapsed sub process, that contains a collapsed subprocess.
If I drill down into the last sub process, change something in this sub process and finally all sub processes are getting collapsed. Then the main process and the intermediate sub process should stay unchanged.
By the way:
Inhttps://user-images.githubusercontent.com/58601/56649689-e29af380-6685-11e9-8e55-02fb4aff8f49.png you can see the end event of the main process. This is sometimes confusing.
Thanks a lot,
Georg

Von: Nico Rehwaldt<EMAIL_ADDRESS>Gesendet: Mittwoch, 24. April 2019 11:42
An: camunda/camunda-modeler
Cc: Georg Röver; Author
Betreff: Re: [camunda/camunda-modeler] camunda modeler: diagram disorder after subprocess navigation (#1343)
Thanks for filing this feature request.
Let me try to summarize what I understood:

You have a nicely formated diagram with a collapsed sub-process

[MainProzess]https://user-images.githubusercontent.com/58601/56649618-c1d29e00-6685-11e9-93a3-72a4c8e1331e.png

Expanding the diagram will automatically resize the participant, thus breaking the layout:

[MainProzess]https://user-images.githubusercontent.com/58601/56649689-e29af380-6685-11e9-8e55-02fb4aff8f49.png
Your feature request is to not expand the parent when temporarily drilling down into the sub-process. Is that correct?

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/camunda/camunda-modeler/issues/1343#issuecomment-486148260, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALZZ56NO7AOBOT6SNHMITVTPSATRFANCNFSM4HFFYTWQ.

Thanks for your clarification.
In the world of automation you'd generally want to avoid collapsed sub-processes and extract these into their own process models, calling them via a call activity. This is another area where we could improve (cf. https://github.com/camunda/camunda-modeler/issues/1354).
Depending on where you come from (Signavio in your case) tools have different approaches baked in.
I turned your issue into a feature request and rewrote it accordingly. Could you double check if it represents your intend?

I talked to Georg today:
The main intention is to view or edit the contents of the sub-process independent of the parent process. The goal is not to permanently change the collapsed sub-process into an expanded sub-process inside the parent process.
So let us not talk about expanding and collapsing. The focus should rather be on some kind of additional view for working with the hidden contents of a collapsed sub-process. One solution could be an additional model tab similar to how decision tables of a DMN DRD are represented. SUPPORT-5355 goes in that direction, too. This could also be related to working with multiple BPMN diagrams in a single file (see: #524).

@geroe1 even if we find a solution in the modeler, this modeling style might cause issues in other tools that visualize the models, e.g. Cockpit and Optimize. It is unclear if similar solutions can be found there and even if so, you might end up with models that are generally uncomfortable to work with and that produce a poor user experience.

As a BPM analyst and developer, I like using subprocesses as a visual way of organizing a large diagram, limiting the number of artifacts in each level/diagram. Coming from IBM BPM, I have also generally used subprocesses rather than linked processes, for execution and variable scope reasons. The last year I have started to use Camunda Modeler for modelling and I have repeatedly been frustrated by the collapse-expand behaviour.  A tab like in DMN DRD would work.

Today I skimmed "Real-Life BPM" 3rd edition by Jakob Freund and Bernd Rücker. In section 2.8 "Subprocesses", hyperlinked navigation is recommended over in-line expansion. Have they changed their minds?
Do you regard call activity as a workaround or an appropriate modelling pattern (meaning true subprocesses are not needed)?

hyperlinked navigation is recommended over in-line expansion.

This is the recommended way to divide and conquer in executable processes.
The reason is two-fold:

Collapsing and expanding sub-processes is a huge issue when it comes to diagram layout (this is what this issue is about).
Collapsed sub-processes hide details that are important during process execution and working around that fact is cumbersome. As an example for this you see very limited support for collapsed sub-processes in our runtime and analytics tooling

Do you regard call activity as a workaround or an appropriate modelling pattern (meaning true subprocesses are not needed)?

Yes.

Hi @falko ,
thank you for your feedback!
It would help us a lot, if collapsed subprocesses could be edited in a seperate tab of the modeler.
Probably a similar functionality would be as helpfull for call activities.
Those two new features would make the camunda modeler much better then signavio, from a developers perspective.
Yes, we considered using call activities instead of collapsed subprocesses, but they have the drawback, that you can not drill into the call activities model.
Furthermore, call activities are, from my point of view no 1:1 match to collapsed subprocesses, since they have their own process context, which makes handling of large process variables possibly uncomfortable.
In future, we want to use call activities, whenever possible e.g. for new processes, but we have plenty of existing processes, using collapsed subprocesses in many levels of hierarchy (subprocess in a subprocess in a subprocess...). For those existing processes, it is currently not possible, to use camunda modeler, unfortunately.
We would be very happy, if the future development of camunda modeler would consider these points.
Thanks a lot,
Georg

Thanks again for the detailed feedback. It helps us a lot understanding your case and we will take it into consideration when developing the tool further.

Hi,
I am relatively new to Camunda and the BPM world, and I am aware that you are already working on the issue, yet you might find my two-cents useful (if not, sorry for wasting 5 minutes of your time).
While on the surface any sub-process can be replaced with a call activity, both you guys at Camunda, as well as other BPMN involved firms, warn about the differences. In particular in your Symbols reference the following is stated about call activities:

The loose connection also affects data transfer between the parent and the subprocess. BPMN assumes that embedded subprocesses can read all the data of the parent process directly, but an explicit assignment is required for global subprocesses to be able to read it. That may seem like merely a technical aspect at first, one that modelers and the consumers of their models care to know about but won’t wish to bother with. After some consideration, however, you may see the impact this difference makes on the organization.

Because of the above I tend to see Sub-processes as a way to "clean-up" the organization of a complex process without the need to explicitly reference an entirely new one. This is also very reasonable since there is often the need to "create alternative visualizations of the same process for different communication purposes and stakeholders".
Being unable to expand or collapse sub-processes, means that every time I want to clean-up a diagram I have to choose one of the following:

Create two separate diagrams, one collapsed and one expanded, and remember to update both when something changes (which violates the DRY principle and will almost always lead to issues)
Use a call activity instead of a sub-process, which may seem reasonable, but has deeper implications than just the technical side.

Clearly both of the above are far from ideal (although arguably creating a call activity is the least of two evils), so IMHO collapsible sub-processes are not really optional!  :-)

Thanks for sharing your feedback. As an update, expanding sub-processes is on our mid-term roadmap.

Collapsed sub-processes is available in Camunda Modeler v5.0.0-alpha.0. Officially to be shipped with v5.0.0.
Closed via https://github.com/camunda/camunda-modeler/commit/d867b45ba1cd9c7c24efc6c2cfe607df7be0c3d1.


Issue #512 send_command("monitoring") is doomed to fail

I tried to work out how to add a test case for this condition but it was challenging since the current
tests don't really deal with disconnects/reconnects/etc.  I have run some of my own tests with
this change in place and it seems to work but additional validation would be welcomed.

Since we have updated the testing suite would you mind adding tests for this now? Then we can get this merged.

I'll try to find some time to work on it soon.

I added a test case, and confirmed that, without the fix in place, the bug is triggered by the test case.  With the fix in place, the test is passing.

Thanks for adding tests. @bcoe @erinspice care to take a quick look?

@danielbprice awesome contribution thank you!

Great! Thanks, @danielbprice!


Standardize sctools version

Purpose
Please explain the purpose of this PR and include links to any GitHub issues that it fixes:

No issue is linked to this PR.

Changes
Please list out what major changes were made in this PR to address the issue:

No changes.

Review Instructions
Please provide instructions about how should a reviewer test/verify the changes in this PR:

No instructions.

PR Checklist
Please ensure the following when opening a PR:

[ ] This PR added or updated tests.
[ ] This PR updated docstrings or documentation.
[ ] Let Jodi (jodihir) know when there is user-facing documentation updates needed!
[ ] This PR applied the Mint style guide for WDL.
[ ] This PR has no WDL linting errors reported by miniwdl
[ ] This PR considered generalizability beyond our own use case.

Follow-up Discussions
Please append follow-up discussions and issues during the review process below:

No follow-up discussions.

retest this please

retest this please

retest this please


binding make reference to 'this' non consistent with typescript

I'm submitting a bug report

Library Version:
aurelia 1.0.0 using aurelia-skeleton-typescript-webpack 1.0.0

Please tell us about your environment:

Operating System:
Linux Debian
Windows 10

Node Version:
node v6.3.1
npm 3.10.3

JSPM OR Webpack AND Version
webpack 2.1.0-beta.20

Browser:
Iceweasel 38.8.0 | Chrome 52.0

Language:
TypeScript 2.0.0 (also tested with 1.8.10)

Current behavior:
I am trying to bind a function (a callback) to a component.
The binding at first seems to work perfectly it the method is simple or not in an object.
The issue raised if the function bound is part of a typescript instance and it is calling some other method of that instance. The 'this' that is referering normally to the instance of the class is still refering to the instance of the 'controller'.
this ends with a "TypeError: this.internalMethodXXX() is not a function"
reproduce the bug
I attached a archive containing some little adaptation from the aurelia-skeleton-typescript-webpack that show the issue.
src.zip
Basically :

I create a 'UsersContainer' class that load the users and bind them to the users component. it also contains a method showUser that is called by the 'Users' class when a user is selected.

the class Users is now just binding users and the callback.

What is the expected behavior?
I was expecting to be able to bind function of typescript class that are allowed to use their internal methods.

regards,

i think you need to use an arrow function for bound functions. like showUser = () => { .. }

Hello,
And thanks for the reply.
Following your comment, I am not sure what I have to modify, so I tried following syntax :

show-user.bind="(user) => { showUser(user) }" ==> Error: Parser Error: Unexpected token > at column 9 in [(user) => { showUser(user) }]
show-user="(user) => { showUser(user) }" ==> TypeError: this.showUser is not a function
show-user="showUser" ==> failure this.showUser is not a function

Or perhaps you mean that aurelia binding does not allow binding a function of a class, even the controller class but only "standalone one". In this case, I think this should be explain in the documentation as I does not see how to use it.
regards,
regards,

the second (in you class) without the quotation marks

use the .call binding command to bind references to functions.
http://aurelia.io/hub.html#/doc/article/aurelia/binding/latest/binding-basics/4

Sorry,
Still doesn't work because using call is not exactly what I need.

show-user.call="showUser(user)"
I try this one first 'but in this case the 'user' object is lost during the call. the user is correct in the userSelected function but when calling the binding function it is set to undefined. So user call syntax is not working either this way (And I would say it is normal as the user is not set at this level).

show-user.call="showUser"
the function is not mapped at all. no call to showUser method is done.

As I understood the documentation, call is used in case we want to pass object that are part of the template/controller. this is not what I am trying to do.
I am trying to give a component a callback method that will be use in several places in the component itself (in a loop and a detailed subview).
what I understand is that binding a function without knowing the parameters of it is not possible currently. Am I right ?
regards,


✏ Fix typo on docstring in datastructures file

:sweat_smile:

Ha! Good catch, thanks! :mag: :sweat_smile:


Add ipfs-deploy

https://github.com/agentofuser/ipfs-deploy

@koalalorenzo Is this good to merge?

@autonome I think so, what do you think? :)

@koalalorenzo The ccontent looks good to me, but this is my first run through the format and structure of this site, so I'll leave that to your expertise :D


Moving a window to a different workspace that hasn't been initalized doesn't follow config file

Lets say in my config file I have workspace 2 assigned to be on my secondary monitor and I have a window that exists in workspace 1 on my primary monitor. This bug happens when I try MoveToWorkspace on a workspace that I haven't visited yet/activated.
If I execute my MoveToWorkspace on that window to move it from workspace 1 to workspace 2 it works, but Nog creates workspace 2 on my primary monitor rather than following my config file in which I have workspace 2 assigned to my secondary monitor. If I visit workspace 2 with my ChangeWorkspace keybind first before running MoveToWorkspace the workspace is created on the current monitor assigned in my config file.
Not sure if my description is a bit confusing, if it is let me know and I can try to record a video of the bug and upload that.

I can't reproduce this.
I have workspace 2 set to my secondary monitor.
Steps

Go into work mode
Open notepad in workspace 1
Use MoveToWorkspace to move the window to workspace 2

This results in workspace 2 being opened in my secondary monitor.

Seems to be fixed in the latest version.


🦆 Console links support lists 🦆

support section lists for helper chart

LGTM, thank you Mike 👍

LGTM, thank you Mike 👍


combustion auxiliary-heater

auxiliary-heater for combustion cars is using different request format so it needs to be handled separately

decided to have a look into decompiled MySkoda.apk and I think we need to rewrite it a little more
following parameters are allowed for start-auxiliary-heating request
      name = "spin"
      name = "durationInSeconds"
      name = "startMode"
      name = "targetTemperature"

SPIN is mandatory, rest of the parameters are optional (or at least on my car, auxiliary heater will start with only SPIN request)
durationInSeconds is probably available when AUXILIARY_HEATING_TIMERS are present
startMode (probably HEATING or VENTILATION). Seems like HEATING is default and VENTILATION maybe if ACTIVE_VENTILATION is present ?
targetTempereature is probably available when AUXILIARY_HEATING_TEMPERATURE_SETTING is present

Thanks @prvakt for putting your time into this!
Looking at the complexity of your last remark, it may be a good idea to use some models to work this out further, combined with

A generic method in myskoda to handle the uniform call to the library which then
Splits up into multiple myskoda.rest_api calls for addressing the specific API calls down the line

Also: If you have any defaults, such as the 600 seconds for the default heater duration, please add them to const.py and import them, avoid using those directly in code.

Thanks @prvakt for putting your time into this!
Looking at the complexity of your last remark, it may be a good idea to use some models to work this out further, combined with

A generic method in myskoda to handle the uniform call to the library which then
Splits up into multiple myskoda.rest_api calls for addressing the specific API calls down the line

Also: If you have any defaults, such as the 600 seconds for the default heater duration, please add them to const.py and import them, avoid using those directly in code.

But there is always only single API call to myskoda just with different parameters ...
I don't know if I believe myself in such intervention in the code with my python knowledge especially If I don't have vehicle where I can test it before publishing to the world 🙈

tested everything & works as expected

seems like I can't overwrite to_json or to_dict but additional processing was needed so I have created get_config where this is done
when trying to serialize the data back to json or dictionary, it will return the field_name and seems like there is no easy way how to  use alias instead to build up needed request - I found a way but not sure if that's the proper way - if not please feel free to make changes by yourself because I have already lost half of my hair arguing with Chat GPT lol .
Also target temp needs to be rounded so that's additional processing which is also done in get_config

just to summarize my findings. There are 2 endpoints for retrieving air-conditioning related data
/v2/air-conditioning/{vin}
/v2/air-conditioning/{vin}/auxiliary-heating

PHEV vehicles (or at least my Superb iV) can retrieve AuxiliaryHeater status only from the first method
ICE vehicles (based on the discussion and trace from discord) are using second endpoint to retrieve this data

PHEV vehicles can start auxiliary heating using both POST methods
/v2/air-conditioning/{vin}/start
/v2/air-conditioning/{vin}/auxiliary-heating/start

if I put SPIN to first method and set heaterSource: AUTOMATIC car will start AUXILIARY heater (just don't know what will happen in summer when outside temperature will be bigger than  targetTemperature - I guess maybe the car will start cooling)

for second method there is no need to set heaterSource, seems like its chosen automatically

For both methods I can also choose targetTemperature

ICE vehicles can start auxiliary heater using only second POST method
/v2/air-conditioning/{vin}/auxiliary-heating/start

additionally there are follwing options depending on the car

durationInSeconds
targetTemperature
startMode (VENTILATION or HEATING)

I have implemented auxiliary-heater using the /v2/air-conditioning/{vin}/auxiliary-heating endpoint and with the possibility of pass all allowed parameters (source, duration, targetTemp and startMode). Only those which are not None will be serialized and sent inside the request
Retrieval of heating related data can be handled in HA by choosing get_air_conditioning() or get_auxiliary_heating() based on the car type / capability.

once I have whole air-conditioning (AC, Auxiliary Heater, Ventilation, Seats & Windows heating) fully implemented & working I will create a markdown document with all my findings and knowledge ;)

This gave a small incompatibility in a climate entity in the homeassistant-myskoda component, which was fixed by commit https://github.com/skodaconnect/homeassistant-myskoda/pull/349/commits/0df7796eea82c3a8c697735ae0c9700a5200e028
Note to all involved and self:
Next time, please make a clear mark in the PR when you alter method invocation. I must admit I missed this as well while reviewing.


Improve the experience when developing a theme

I have a couple issues with the current methods of theme development.  You gave a suggestion in another thread of a workaround you developed, but I have some concerns.  Because we're adding stuff to a .gitignore, that theme-ing process isn't super reproducible for contributors.  Several markdown content files also need to be reproduced.  I eventually gave up on this method, as I often work on new/different computers with different setups, and it got bothersome.
Currently, I'm recursively cloning my main site vaporsoft and editing the theme git submodule, and restarting the server every time I make a change to the theme.  That's admittedly kind of a dumb method, but it was easier for my workflow.
I think this is important as - out of all the sites listed so far with custom styles - only mine actually uses themes instead of just hardcoding templates (which are difficult for others to extract and use).  I think the community behind this project can thrive more if greater attention is paid towards theme development.
I don't have specific answers that are right or wrong, but I have a couple of ideas to consider:

It would be nice if there was a subcommand for creating a theme framework.  I understand it's just as simple as renaming and deleting a few files from gutenberg new, but that first barrier of effort might deter a lot of potential theme developers.   Maybe just gutenberg new --theme mytheme could work.

It would be nice if after creating a theme, the user can just navigate to the root directory and run gutenberg serve, without need for any extra files.  In place of page.content and other similar variables,
placeholder content with all markdown elements could exist.  Perhaps these variables could be overridden too?

These ideas might be totally against what you're trying to achieve here, but I thought I might as well share my two cents!

A bit improved in the current site but I welcome any improvements.


i18n(it): Update guides/backend/google-firebase.mdx

Description (required)
Updated guides/backend/google-firebase.mdx

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

it
guides/backend/google-firebase.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Improve elemental-operator call

This commit makes a better use of systemd-cat and it also
makes elemental-operator to be executed on network.after stage.
There is a race condition while calling elemental install in
network stage. This is an attempt to avoid it.
Signed-off-by: David Cassany<EMAIL_ADDRESS>

With this I rarely get rancher/elemental-operator#50 issue, but I still do time to time 😞 in any case I believe this is a little improvement.

With this journalctl -f -t elemental shows elemental-cli logs on real time, I am not sure was working in real time with the pipeline approach.

It was, I tried locally and could see stuff happening in real time!


thrio/navigator/PageRoutes.kt: (225, 34): Unresolved reference: removeLast

Describe the bug
在 vs code 上面新建 flutter 项目之后，添加 thrio 2.0.11 依赖，然后在 荣耀v10 上面运行报错。
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
在手机上正常运行 flutter 项目
Flutter Doctor
[✓] Flutter (Channel stable, 2.2.1, on Mac OS X 10.15.7 19H15 darwin-x64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.56.2)

OS & Device

Device: 荣耀v10
OS: android 10
Version EMUI 10.0.0

Error logs
Launching lib/main.dart on BKL AL20 in debug mode...
lib/main.dart:1
e: /Users/xxx/Documents/xxx/flutter/.pub-cache/hosted/pub.flutter-io.cn/thrio-
2.0.11/android/src/main/kotlin/com/hellobike/flutter/thrio/navigator/PageRoutes.kt: (225, 34):
Unresolved reference: removeLast

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':thrio:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

还没试过这么新的版本，不过你先把这个点掉吧
✗ Android license status unknown.
  Run `flutter doctor --android-licenses` to accept the SDK licenses.

OK，你的意思是说 flutter 的版本太新了？
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.1, on Mac OS X 10.15.7 19H15 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.56.2)
[✓] Connected device (2 available)

是的，我目前还是 2.0.6

我切换到 2.0.4 之后还是报这个错误。
能否帮忙看一下，这是 demo  https://github.com/hw20101101/flutter_thrio_2
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.4, on Mac OS X 10.15.7 19H15 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.56.2)
[✓] Connected device (2 available)

那就升级你的 kotlin 版本吧

我知道了，新建 flutter 项目之后，应该把你的 thrio demo 中的 example 目录下的 android和 ios 目录拷贝到新建的  flutter 项目中。
现在在安卓机运行成功，有些提示：

W/FlutterEngineCxnRegstry(24894): Attempted to register plugin (com.hellobike.flutter.thrio.ThrioPlugin@bbe1457) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@c6b5b44).
I/flutter (24894): [V] main
E/        (24894): APS:IFLoad:importExternalFunctions, search function createNewHwApsUtils failed, dlsym err:undefined symbol: createNewHwApsUtils
D/        (24894): APS:importExternalFunctions OK
I/HwViewRootImpl(24894): removeInvalidNode jank list is null

你这。。。去好好看看官方文档


custom price points per end point

The proxy should eventually grow its config to allow backend's to configure the precise value of the LSAT token for a particular endpoint. This value may even be dynamic, allowing an admin to increase/decrease the price via a programmatic interface. An example is the initial account creation for CLM.

Fixed by #36.


Add dask repartition operation to pluggable drivers.

The pr mainly do the following things:

Add dask repartition operation logic.
Add End-to-End repartition demo based on dask.
Update webhook NamespaceSelector from assembly-injection to operation-injection.

OK

Done.


Using ChanServ HELP doesn't send the messages to the ChanServ room/tab

When trying to use the ChanServ HELP on irc.libera.chat, the messages appear unhandled and are instead sent to the Server tab. Likely just needs the message id type added to the message handler.

#107


fix: portis wallet not showing BTC balance

This PR contains a breaking change!

[MAJOR] fix: replace references to "scriptType" with "accountType"
feat: add "convertXpubVersion" function to convert any public key to an x-, y-, or z-pub

Description
The purpose of this change is that scriptType can be assumed based on the accountType, but not the other way around. We should be passing around the accountType and then deriving the scriptType to use from that.
This fixes portis BTC balances not working because

Portis always returns its public key in "xpub" format, even for Segwit public keys.
Blockbook generates addresses from a public key by INFERRING the account type from the public key prefix of "xpub" | "ypub" | "zpub".
We now convert every public key we get into an "xpub" | "ypub" | "zpub" based on the accountType that's provided

The build has an error on a line that doesn't even exist in the repo:
src/bitcoin/BitcoinChainAdapter.ts:395:56 - error TS2304: Cannot find name 'scriptType'.

395     const id = `${toRootDerivationPath(bip32Params)}/${scriptType}`
                                                           ~~~~~~~~~~

I grepped the entire repo for "const id =" and there's only 2 in market-service that aren't anything like this.


Move magic numbers for country name max length into constants

Let's create a constant for maximum county name length. Magic numbers are anti-pattern, it'll be hard to maintain in future.
https://github.com/FireAndBlood12/euro-diffusion/blob/db00827e2387681fc7588e22c017049a2ee49581/src/entities/country.ts#L20-L22
Originally posted by @akrava in https://github.com/FireAndBlood12/euro-diffusion/pull/1#discussion_r888293782

Thanks, fixed!


Voice recognition (fixes #58)

Implements #58. An attempt to recognize to which person a voice belongs in a given window of a sound file. Uses RNN.
The tests to run are cabal test extremelyLongTest --enable-optimization -f test_seq --test-options='-p "Speech RNN"''. Example data files not yet included.

I'm afraid, it's very outdated and the new tools it should use instead of the old ones are not ready.

Which tools? Is there a PR/issue for those?

To be frank, it's not yet clear what those tools should be. Benchmarks are going to show if more work is needed, but benchmarks first need to be ported from the old API and also new ones created. The new API is not finished yet, though. Once it's finished in its current form, ideally we'd add a shaped, not only ranked version, but this may be too hard to do, at least initially. Once we decide and implement that, benchmarking is the next step.


[helm] sync STRUCT_LOG_TCP_ADDR and azure config for backup

Sync recent changes from partners chart:

https://github.com/diem/partners/pull/784
https://github.com/diem/partners/pull/811

/land


generateAdventure(), type error

This is returning a type error.
https://github.com/laudanum123/fantasy_fabricator/blob/903975b7b856540234877b5317dc55db4cb4c724/frontend/src/components/adventure_builder.vue#L158
To return the title, hook,plot, etc.. cards, code modified to:
this.adventure = response.data.message

What would be the outcome if that LOC was not present

should be fixed with latest merge


failed to process direct spam report

When we reply to a message with spam  we get the following message in the admin channel

However the post is not removed and get the following errors in the console.
tg-spam  | 2024/03/29 19:53:35.575 [WARN]  can't write to log, can't make directories for new logfile: mkdir /srv/logs: permission denied
tg-spam  | 2024/03/29 19:53:35.582 [INFO]  detected spam entry added for user_id:6609487300, name:KamaraShell
tg-spam  | 2024/03/29 19:53:35.928 [INFO]  {6609487300 KamaraShell Shelby Kamara} banned by bot for 9600h0m0s
tg-spam  | 2024/03/29 20:31:31.396 [INFO]  user Сергей Гуськов detected as spammer: {name: stopword, spam: false, details: not found}, {name: emoji, spam: false, details: 0/2}, {name: similarity, spam: false, details: 0.14/0.50}, {name: classifier, spam: true, details: probability of spam: 99.42%}, {name: cas, spam: false, details: record not found}, {name: openai, spam: true, details: Promotion of a get-rich-quick scheme, confidence: 95%}, "A dream come true is when you double your savings in just 1 night, @WhalesofRocketmoonsignal is the only way to make it happen"
tg-spam  | 2024/03/29 20:31:31.396 [WARN]  can't write to log, can't make directories for new logfile: mkdir /srv/logs: permission denied
tg-spam  | 2024/03/29 20:31:31.404 [INFO]  detected spam entry added for user_id:7088948055, name:Thomas0Wright7
tg-spam  | 2024/03/29 20:31:31.732 [INFO]  {7088948055 Thomas0Wright7 Сергей Гуськов} banned by bot for 9600h0m0s
tg-spam  | 2024/03/30 00:04:44.719 [INFO]  user "1752434186" added to approved users
tg-spam  | 2024/03/30 00:07:17.847 [INFO]  user "1752434186" added to approved users
tg-spam  | 2024/03/30 02:52:33.163 [INFO]  user "edgepillar"<PHONE_NUMBER>) added to approved users
tg-spam  | 2024/03/30 03:31:20.490 [INFO]  user "Yourself_ZNN"<PHONE_NUMBER>) added to approved users
tg-spam  | 2024/03/30 06:07:12.981 [INFO]  user "triplea_z" (482795147) added to approved users
tg-spam  | 2024/03/30 07:08:32.013 [INFO]  remove aproved user:<PHONE_NUMBER>
tg-spam  | 2024/03/30 07:08:32.233 [WARN]  failed to process direct spam report: failed to update spam for "": can't update spam samples: can't update spam samples: failed to open /srv/data/spam-dynamic.txt: open /srv/data/spam-dynamic.txt: no such file or directory
tg-spam  | 2024/03/30 07:22:10.251 [INFO]  remove aproved user:<PHONE_NUMBER>
tg-spam  | 2024/03/30 07:22:10.460 [WARN]  failed to process direct spam report: failed to update spam for "": can't update spam samples: can't update spam samples: failed to open /srv/data/spam-dynamic.txt: open /srv/data/spam-dynamic.txt: no such file or directory
tg-spam  | 2024/03/30 07:22:44.962 [INFO]  remove aproved user:<PHONE_NUMBER>
tg-spam  | 2024/03/30 07:22:45.178 [WARN]  failed to process direct spam report: failed to update spam for "": can't update spam samples: can't update spam samples: failed to open /srv/data/spam-dynamic.txt: open /srv/data/spam-dynamic.txt: no such file or directory

Here is the docker-compose.yml file.  We are also getting a can't write to log, can't make directories for new logfile: mkdir /srv/logs: permission denied error.  I see in other discussion this folder needs to be created, which it is.  We have a logs folder in the same folder where docker-compose.yml exists.
services:
  tg-spam:
    image: umputun/tg-spam:latest
    hostname: tg-spam
    restart: always
    container_name: tg-spam
    user: "1000:1000" # set uid:gid to host user to avoid permission issues with mounted volumes
    logging: &default_logging
      driver: json-file
      options:
        max-size: "10m"
        max-file: "5"
    environment:
      - TZ=America/Chicago
      - TELEGRAM_TOKEN=6901977077:AAEcZdP4i9nFu4yak2uUNzq9S0VZJB7QYRE
      - TELEGRAM_GROUP=zenonnetwork
      - ADMIN_GROUP=-1001991632774 # admin group id
      - LOGGER_ENABLED=true     # enable logging
      - LOGGER_FILE=/srv/logs/tg-spam.log
      - LOGGER_MAX_SIZE=5M      # max log file size in megabytes before rotation
      - NO_SPAM_REPLY=true      # do not reply to spam messages in the public group
      - SERVER_ENABLED=false    # enable server, default port is 8080
      - OPENAI_TOKEN=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
    volumes:
      - ./logs:/srv/log
      - data:/srv/data
    command: --openai.veto

volumes:
  data:

see the answer in https://github.com/umputun/tg-spam/discussions/68

Yes thank you.  I did review that.  Looks like my logger issue was a typo.  I think the user in this discussion had the same typo.
- LOGGER_FILE=/srv/logs/tg-spam.log
...
    volumes:
      - ./logs:/srv/log

I changed to
    volumes:
      - ./logs:/srv/log2

this error tg-spam  | 2024/03/30 07:08:32.233 [WARN]  failed to process direct spam report: failed to update spam for "": can't update spam samples: can't update spam samples: failed to open /srv/data/spam-dynamic.txt: open /srv/data/spam-dynamic.txt: no such file or directory continues to haunt me unfortunately.

Can be related to https://github.com/umputun/tg-spam/issues/32.
I'll take a look as I have some time, but you can check it out in the meantime. Maybe it will help.


Converting assests

Hello , can you give me advice how to adjust  those parametars .. to make them look like
'text1.2': 'Svolge azione caustica',
'color1.2': '000000',
{ "name": text1.2,  "src": http://localhost:${port}/assets/text1.2.txt },
or
{ "name": text1.2,  "src": Svolge azione caustica },
?

which parameters ?
are you talking about parametrizing a composition elements ?
in that case please refer https://github.com/inlife/nexrender-boilerplate for the examples

I have different input types... I am working on some project and we need to switch from old rendering mechanisam to this... now i am trying to convert old templates parametars to new one...
Our templates have dinamic text, colors, and etc... thing what i need is how to inject color and other parametars to your  project.assets[]

{
"uid" : "pls_work",
"template": "11.aepx",
"composition": "main",
"type": "default",
"settings": {
// dont forget to setup the right output module; info:
// The default outputModule for Windows users is "Lossless"h264 & the default outputExt is "avi"
// You can create custom modules from Edit -> Templates -> Output Modules but the name and outputExt have to be in sync
// Go to Composition -> Add Output Module to create customModule names
// https://helpx.adobe.com/after-effects/using/basics-rendering-exporting.html#output_modules_and_output_module_settings
"outputModule": "Lossless",
"startFrame": 0,
"endFrame": duration,
"outputExt": "avi"
},
"assets": [
{ "type": "project", "name": "11.aepx",    "src": http://localhost:${port}/assets/11.aepx},
{"name":'bg_image1.1', "src" : 'http://localhost:${port}/mats/bg_image1.1.mp4'},
{"name":'duration1.1', "src": 'http://localhost:${port}/mats/duration1.1.mp4'},
{"name":'text1.2', "src": 'http://localhost:${port}/mats/text.1.2.txt'},
{"name":'color1.2', "src": 'http://localhost:${port}/mats/color1.2.txt'},
{"name":'text1.3', "src": 'http://localhost:${port}/mats/text1.3.txt'},
{"name":'color1.3', "src": 'http://localhost:${port}/mats/color1.3.txt'},
{"name":'text1.1', "src": 'http://localhost:${port}/mats/text1.1.txt'},
{"name":'color1.1', "src": 'http://localhost:${port}/mats/color1.1.txt'},
{"name":'background_color1.1', "src": 'http://localhost:${port}/mats/background_color1.1.txt'}
]
}
i make Project to look like this, and error what i am getting is
Error message: connect ECONNREFUSED <IP_ADDRESS>:80
{ RequestError: connect ECONNREFUSED <IP_ADDRESS>:80
at ClientRequest.req.once.err (C:\Users\Abu\Desktop\for_zip\node_modules\got\index.js:73:21)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at Socket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:64:8)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
code: 'ECONNREFUSED',
message: 'connect ECONNREFUSED <IP_ADDRESS>:80',
host: 'localhost',
hostname: 'localhost',
method: 'GET',
path: '/:$%7Bport%7D/mats/text1.1.txt',
bufferedData:  }

I test it on boiler plate already ...  issue i faceing with is how to import  text color and other things... i know how to work with other models...
Can you write me part of code that i need .. this is a 3 lines of code .. because its obvious we dont understend eachother ... or i am getting it wrong...

yes, sure, its already there, in boilerplate project

also there is an issue with same stuff
https://github.com/inlife/nexrender/issues/7#issue-167478273

Yes, thats exactly what you need to do, this is how dynamic data works in nexrender. I assumed you knew it, considering the fact it was mentioned multiple times in the documentation.

Now i will spent some time to learn how to fatch compositions .. how to set value of determined composition, layer ... and etc
Am i going in right direction ?
if you wish .. it will help me alot.. to upload you template .. to help me a bit ?

you can download an example template provided in nexrender boilerplate 😉
the rest is up to you, you need to look for help on adobe AE scripting forums

Inlife XD Can nexrender render template if tempalte have  compostion who is compiled from sub-compositions? .. because template is organised that way?
And can you explain me how your JS code know how to target artist layer?


Feature request - Hide fan light icon

Hi,
I'm using a Sonoff iFan04 to connect my Fan to homekit via the homebridge-ewelink plugin
https://www.amazon.com/dp/B09C21LX9R
Would it be possible to have a boolean in the config.json that will enable/disable interaction with the fan light? I've got hue bulbs in my ceiling fan so the fan light has to be on at all times to transmit power to the hue bulbs. However, it's confusing/redundant to have two light icons in the Home app: one for the hue bulbs and one for the ceiling fan light. I think Apple should give us the ability to show/hide icons in the Home app, but they don't. So I think a fix within the plugin is the only solution.
It also makes the Home app show "Bedroom light on."

Please explain your feature request in a one or two sentences.
Remove iFan's light icon from HomeKit. Light should always be set to ON so that the Hue bulbs always maintain power.

Is your feature request related to a problem? Please describe.
I've got hue bulbs in my ceiling fan so the fan light has to be on at all times to transmit power to the hue bulbs. However, it's confusing/redundant to have two light icons in the Home app: one for the hue bulbs and one for the ceiling fan light. I think Apple should give us the ability to show/hide icons in the Home app, but they don't. So I think a fix within the plugin is the only solution.

Any particular eWeLink devices that this relates to?
Sonoff iFan04
https://www.amazon.com/dp/B09C21LX9R

Anything else?

Hi @viictor924
This option already exists :)

Ah, I had checked the settings but there wasn't anything for "hide light" because I hadn't manually added the fan. The fan got added to HomeKit automatically when I installed the plug-in so I didn't know I had to add it manually in settings.

Anyway, I've added and enabled the hide light setting and now it's working like a charm! Thanks a bunch!
Easiest feature request resolution!


Start a podcast schedule

Starting to enumerate guests we want

https://docs.google.com/spreadsheets/d/15STI8ZbOHz2P4aVAZpPIZ_KkKHXXALrZe0yfd_MS-ew/edit?usp=sharing

Let's close this out when we confirm guests for the first 4 episodes to be scheduled.


Add generic error message for send operation

Proposed changes
This PR replaces detailed error messages with generic ones to hide potential sensitive information and make it more user friendly.

Created an issue for "too generic error msgs for input validation/secret key validation in restore secret key form". Can be addressed later.

ajinkyaraj-23 merged commit b3ef307 into main Dec 6, 2024

fixed here


Permit tags on manifest files for "tsrc init"?

The tsrc init command line current supports a --branch option.
Has there been any discussion of supporting a --tag command-line option when initializing, permitting one to pull a tagged version of the manifest file?
This question is semi-related to the topic in #48 (since a snapshot could be stored as a tagged manifest file).

Has there been any discussion of supporting a --tag command-line option when initializing, permitting one to pull a tagged version of the manifest file?

I don't think so. Do you want to start working on a PR?
We already have some code to reset repos in the workspace to a given tag (in tsrc/workspace/cloner.py and tsrc/workspace/syncer.py) so it should be possible to implement the same thing for the local manifest (in tsrc/workspace/local_manifest).

This project has moved. See https://gitlab.com/tsrc2/tsrc/-/issues/260

This project has moved. See https://gitlab.com/tsrc2/tsrc/-/issues/260


feat: add workflow to ghcr

@rbren @xingyaoww once again 🤪,history message is here #121 #171

LGTM and merged! Thank you for your contribution!

@iFurySt looks like this action is failing

oh wait - can you check the log? https://github.com/OpenDevin/OpenDevin/actions/runs/8454098805/job/23158343441

let me look at this


Executing a custom cloud-init script

Is this a request for help?:
YES

Is this an ISSUE or FEATURE REQUEST? (choose one):
FEATURE REQUEST

What version of acs-engine?:
0.16.2+

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes
What happened:
I am not able to configure a custom script to be run on every new node in the cluster.
What you expected to happen:
I was expecting to have something like kops "additional user-data for cloud-init" where you can declare additional scripts to be executed at boot time to initialize or setup the nodes.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:

Hi @palmerabollo. acs-engine doesn't have a super clean interface to do this, but we do have, shall I say, a functional one. See this example for an "extension" that installs prometheus and grafana.
That example demonstrates running the extension against an agent pool; you can specify in your api model that you want to attach to your master nodes as well (masterProfile accepts an extensions child property)

Thanks @jackfrancis, could you please add the link to the example?

whoops!
https://github.com/Azure/acs-engine/tree/master/extensions/prometheus-grafana-k8s


feat: Adding vale linter

Description
This PR adds the code for the Vale linter GitHub Action to the compliance.yml file. This addition will ease the process of maintaining docs in regards to checking for Markdown errors.

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[x] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Closes #178

Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[X] 🙋 no, because I need help

Update 10/24/22
Per @nickytonline's suggestion, I'm testing the Vale Linter GitHub action in this test repo.   So far, I used this method to place the action's suggested code into the compliance.yml file.
name: "Compliance"

on:
  pull_request_target:
    types:
      - opened
      - edited
      - synchronize

permissions:
  pull-requests: write

jobs:
  compliance:
    uses: open-sauced/hot/.github/workflows/compliance.yml@main
    name: reviewdog
    on: [pull_request]
    workflow_dispatch:

  vale:
    name: runner / vale
    runs-on: ubuntu-latest
    steps:
      - name: checkout
        uses: actions/checkout@v3
      - name: linting
        uses: errata-ai/vale-action@reviewdog
        files: "* .md"

What's weird is that I got this result when I copied the code in a YML validator

But got these results in my terminal

Hopefully, things will be better tomorrow
Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
Once the PR is merged, make sure to click on Read and write permissions in action settings.
[optional] What gif best describes this PR or how it makes you feel?

What's weird is that I got this result when I copied the code in a YML validator

But got these results in my terminal

Hopefully, things will be better tomorrow
It's valid YAML, but it doesn't seem to be correct for what a GitHub action expects. I'd double check the Vale linter docs and also compare it to some existing actions in the app repo in terms of GitHub action syntax.

@CBID2 how's this going?

@CBID2 when you get a chance, share what you've tried and where you've looked in their docs and maybe we can point you in the right direction. Also, let us know how you're testing it.

Hey @CBID2 are you still working on this issue?

Hey @CBID2 are you still working on this issue?

Yeah I am @BekahHW. I just learned about this in Vale's documentation: https://vale.sh/generator/
Which one do you think would be best suited for this repo?

Hey @CBID2 are you still working on this issue?

Yeah I am @BekahHW. I just learned about this in Vale's documentation: vale.sh/generator Which one do you think would be best suited for this repo?

Can you explain what that is and why we need it? I need some more context before I look at it.

Hey @CBID2 are you still working on this issue?

Yeah I am @BekahHW. I just learned about this in Vale's documentation: vale.sh/generator Which one do you think would be best suited for this repo?

Can you explain what that is and why we need it? I need some more context before I look at it.

It's a generator that creates config files based on the style guides people choose (e.g., Google and Microsoft) and the static generators that is used (e.g., Hugo). Does that make more sense now @BekahHW?

I'm going to go ahead and close this as it's been open since Oct 2023. Feel free to reopen if you plan to continue working on this.

I'm going to go ahead and close this as it's been open since Oct 2023. Feel free to reopen if you plan to continue working on this.

Hey @nickytonline. I think I found a possible solution.  Can you make a PR on my test repo again: https://github.com/CBID2/github-actions-test-for-vale

Hey @CBID2, If you can't get this resolved in the next week, let's let someone else try taking on the issue, since you've had it since October.

Hey @CBID2, If you can't get this resolved in the next week, let's let someone else try taking on the issue, since you've had it since October.

Hi @BekahHW. I made some new updates to my test repo, and was hoping that Nick would do another PR to it but I never got a response. Can you try it?

I saw that Ryan submitted a PR that failed. That's why I didn't.

I saw that Ryan submitted a PR that failed. That's why I didn't.

Thanks for pointing it out @BekahHW. Just checked it out

Hey @BekahHW. To update you, I worked on my test branch with someone at Virtual Coffee and here's a solution we came up with: https://github.com/CBID2/github-actions-test-for-vale/pull/10/checks
As you can see, the action does point out the file's errors, but the checkmark in the runner/vale test remains green. Do you recommend that I put this approach in this PR and then create an issue for someone to help the action show red for the vale test?

There's no point in adding it if it's only partially working.
I don't see where it's reporting the file errors in what you linked. I see changes to the GitHub action file in that PR, but that's it.
It should look like this like they have in their docs.

Do you have a test PR in your repo showing where it displays lint errors in some text?

There's no point in adding it if it's only partially working.
I don't see where it's reporting the file errors in what you linked. I see changes to the GitHub action file in that PR, but that's it.
It should look like this like they have in their docs.

Do you have a test PR in your repo showing where it displays lint errors in some text?

Here's what I am referring to @nickytonline

To answer your question, no

Hi @nickytonline! :) I have good news! :) I managed to get Vale to work via this PR: https://github.com/CBID2/github-actions-test-for-vale/pull/13#issuecomment-1973649001
What I have to do now is make it show up in the text as shown in the picture you posted.

Hey @nickytonline. Somehow in my test repo, the errors have appeared in the log but the annotations have appeared on the present file and not the one I’m pushing. I raised an issue about this to Vale’s repo, so hopefully, I'll get a response


docs(directives): Fix unescaped HTML formatting

This PR attempts to fix a rendering issue with the docs for uiSrefActive. Due to TypeDoc not automatically escaping HTML tags, the unescaped <div> and <a> HTML tags in the docstring break the rendering. I've attempted to fix this by surrounding them with backquotes, which will hopefully render them as code per Markdown standards.
Note that I don't have any way to preview this change so I'm just hoping it works. Maybe someone familiar with TypeDoc can verify.
I am not sure if there are any other instances of this issue in the docs, this is just the one I noticed.

thanks!


Revert #2 and add simple test

pysigma-backend-insightidr in version 0.2.2 is still breaking the dependencies:

version 0.2.1 is working fine tho
if you change that we are good to go I think 😃

pysigma-backend-insightidr in version 0.2.2 is still breaking the dependencies:

version 0.2.1 is working fine tho
if you change that we are good to go I think 😃

Was just testing it lol


Allow arbitrary orientation of slice visualizer

Currently the slice renderer must be axis-aligned. Arbitrary orientations should be permitted
Suggested by @leighorf

Added in 3.6


@export should support non-global properties

@export should be allowed on a property at any scope depth.
See http://stackoverflow.com/q/29736165/1211524

+1 for this enhancement.
The --export_local_property_definitions CLI option looked like it might already do this:

Generates export code for local properties marked with @export

However, the message of the commit which created that option (659c548) says:

only properties that would not otherwise have been legal to export are exportable using this new approach

This will be handled by #930, but it will be a while before that lands.

This is still a problem.


Create u.txt

https://zs1.stargard.pl/en/strona-glowna-english/

@Patryk360 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Design temporal subset simulation UI

This task is to design a first cut of temporal subset simulation.

Simulation panel date range form (implementation ticket)
Simulation panel create simulation preset (template) (implementation ticket)
How do we show a temporal subset sim in the simulation timeline?

Lo fi mockups based on initial conversation:

https://www.figma.com/file/63Sb1Sw4P1dHdDukfp2dim/AERIE-Simulation-tab%2C-temporal-subsets?node-id=0%3A1&t=VugbCVYtZaD7T8AL-1

Open question for the simulation dataset property, do we have any additional data we could display here to give more context? Could we add this in the future? I think it would be helpful context for a user browsing subsets to know:

When the simulation was run
What the subset was
Who ran it
Whether it succeeded or failed

Iterations:

https://www.figma.com/file/63Sb1Sw4P1dHdDukfp2dim/AERIE-Simulation-tab%2C-temporal-subsets?node-id=28-21323&t=I7895OjyhSpOjO6C-4

Initial direction:

Notes on interaction:

Simulation history section should allow users to select up to 2 simulations
Newest simulation shows the top color in the activity layer, older simulation uses the same color but with lower opacity and a hash to differentiate
Update guides to show temporal subset
Use existing layers functionality to stack two simulations on top of each other
When a single temporal subset is selected, add an overlay to the timeline to indicate what is out of bounds

https://www.figma.com/file/eiZbYVDB6KucrOhBbah05V/AERIE-Temporal-Subset-Design?node-id=0%3A1&t=FboBcww39wRLBYiP-1


Exception: Node LogicalMinus not supported yet

When I do
select * from my_table_1
except
select * from my_table_2;
I get
Exception: Node LogicalMinus not supported yet

Hi @YarShev ,
The exception message is correct. We are planning to support UNION ALL and UNION first. Then we will look at the rest of the logical table operators. I'll let you know when we have a better ETA.

Hi @alexbaden,
Ok, thanks. How soon are you going to support UNION and UNION ALL?


Send email with sandbox: true require api_key

Hello,
In my point of view when the mode is in "sandbox", this shouldn't require the "api_key" config.
This error occurs when I send an email with sandbox: true option and without api_key(dev or test mode):
     ** (RuntimeError) No API key is configured for SendGrid. Update your config before making an API call.

         config :sendgrid,
           api_key: "sengrid_api_key"

Sandbox isn't defined by me, it's defined by the SendGrid API. It still requires a valid API key to work.
https://sendgrid.com/docs/API_Reference/api_v3.html
This is directly from their docs about enabling the sandbox:

This allows you to send a test email to ensure that your request body is valid and formatted correctly.

Any working around or plans to implement a logic avoid the required api_key for :dev or :test when it need to send an email ?
Or the objective of this API is only to follow sendgrid docs?


can you provide docker image?

can you provide docker image?

Hi @wn0x00 , docker image is provided here with instruction : https://github.com/jean-humann/docs-to-pdf/pkgs/container/docs-to-pdf
I will update the README.md this week to make it clearer


Which solver should be the fastest among open source ones for binary constraint programming?

Hi everybody,
I am implementing an optimization algorithm which should solve a constraint programming in the field of multi view tracking. Specifically, this is the paper I am studying.
In this setup we have a graph similar to a min-cost flow graph. However, the problem is formulated as a binary constraint linear programming, in the sense that all the arcs/paths are the variables, which can be taken or not taken (hence a binary problem). We have a set of constraints (e.g. incoming flow must match outgoing one, incoming arcs must be no more than one per node, and so on...).

[Hofmann et al. 2013]
I am doing this in Python using a pywraplp.Solver.CBC_MIXED_INTEGER_PROGRAMMING solver. Then each variable is created as a BoolVar(). By doing the system works fine, I can get the solution I want and I am happy.
However, since in future we could have much bigger graphs I am wonder if I am using the right solver for the problem I am facing. In particular, I want to ask you if in your opinion:

should GLPK be better/faster than CBC? Is there any other open source solver?
is MIXED_INTEGER_PROGRAMMING the right solver? Since I only have boolean variables, there may be more reasonable solvers.

Thank you

I would use the CP-SAT solver, with scaling of the double coefficients to
integer (* 1000 for instance).
You can have a look at
https://github.com/google/or-tools/blob/stable/examples/python/bus_driver_scheduling_sat.py
which
gives some modeling tricks.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mar. 27 août 2019 à 13:53, elmuz<EMAIL_ADDRESS>a écrit :

Hi everybody,
I am implementing an optimization algorithm which should solve a
constraint programming in the field of multi view tracking. Specifically,
this
http://openaccess.thecvf.com/content_cvpr_2013/papers/Hofmann_Hypergraphs_for_Joint_2013_CVPR_paper.pdf
is the paper I am studying.
In this setup we have a graph similar to a min-cost flow graph. However,
the problem is formulated as a binary constraint linear programming, in the
sense that all the arcs/paths are the variables, which can be taken or not
taken (hence a binary problem). We have a set of constraints (e.g. incoming
flow must match outgoing one, incoming arcs must be no more than one per
node, and so on...).
I am doing this in Python using a
pywraplp.Solver.CBC_MIXED_INTEGER_PROGRAMMING solver. Then each variable
is created as a BoolVar(). By doing the system works fine, I can get the
solution I want and I am happy.
However, since in future we could have much bigger graphs I am wonder if I
am using the right solver for the problem I am facing. In particular, I
want to ask you if in your opinion:

should GLPK be better/faster than CBC? Is there any other open
source solver?
is MIXED_INTEGER_PROGRAMMING the right solver? Since I only have
boolean variables, there may be more reasonable solvers.

Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1522?email_source=notifications&email_token=ACUPL3J5FXYCFSEYVT4RTF3QGUIUVA5CNFSM4IQDRPS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHUFE5Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3JL5ZXD6A3SW4NL5B3QGUIUVANCNFSM4IQDRPSQ
.

And GLPK is much work in terms of speed than CBC. But CBC sometimes is wrong.
Please switch to CP-SAT, especially with 8 threads.

Ok, thank you Laurent. I will try to switch to CP-SAT by following the example you linked.

I would use the CP-SAT solver, with scaling of the double coefficients to integer (* 1000 for instance).
I didn't get the need of the scaling... can you clarify a bit please?

Change 0.33 x + 0.5 y >= z into 33 x + 50 y >= 100z.
Le mar. 27 août 2019 à 18:04, elmuz<EMAIL_ADDRESS>a écrit :

I would use the CP-SAT solver, with scaling of the double coefficients to
integer (* 1000 for instance).
I didn't get the need of the scaling... can you clarify a bit please?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1522?email_source=notifications&email_token=ACUPL3O3X5OHBEFMWVD52LDQGVF67A5CNFSM4IQDRPS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IIELA#issuecomment-525369900,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3LUVGU3KBQRM7RH7Q3QGVF67ANCNFSM4IQDRPSQ
.

Change 0.33 x + 0.5 y >= z into 33 x + 50 y >= 100z.

Ah ok. Actually I already do not have any fractional constraint... so I am fine.

Hi @lperron,
in the end I profiled CBC, CLP, GLPK and CP-SAT in order to find which could be better in our scenario. If you are interested in this I can give you more details on the problem formulation. However, I give you here some excerpts of what I found. The test was to solve a graph of the kind of the paper above given the same input scene and same parameters set.
While CLP, GLPK and CBC are drop-in replaceable one of the other, CP-SAT has quite different APIs, therefore the syntax among the two tests unavoidable changed a bit.
These are the general steps:

Create variables
Create constraints
Solve the graph

1) VARIABLES CREATION
In CBC/CLP/GLPK approach I did something like:
...
var = self.solver.BoolVar(name=name)
self._or_variables['reconstruction_cost'][reco_id] = var
self._objective.SetCoefficient(var, coeff)
...

CP-SAT counterpart is a little bit different (note the integer rounding)
...
var = self.model.NewBoolVar(name=name)
self._or_variables['reconstruction_cost'][reco_id] = var
self._objective_vars.append(var)
self._objective_coeff.append(int(coeff * 1e4))
self.model.Minimize(cp_model.LinearExpr.ScalProd(self._objective_vars, self._objective_coeff))
...

Profiling this function brings the following results

CBC/CLP/GLPK: 73568    0.018    0.000    0.191    0.000 pywraplp.py:173(BoolVar)
CBC/CLP/GLPK: 73568    0.020    0.000    0.059    0.000 pywraplp.py:362(SetCoefficient)
CP-SAT: 73568    0.140    0.000    2.549    0.000 cp_model.py:729(NewBoolVar)
CP-SAT: 1    0.001    0.001    0.950    0.950 cp_model.py:1466(Minimize)

2) CONSTRAINTS CREATION
In CBC/CLP/GLPK I created them more or less like:
...
constraint_out = self.solver.Constraint(0, 0)
for many times:
    var = get_variable(...)
    constraint_out.SetCoefficient(var, 1)
...

while in CP-SAT is something like:
...
self.model.Add(R_node - exit_edge - sum(out_link_edges) == 0)
... # or sometimes
self.model.AddLinearConstraint(sum(related_nodes), 0, 1)
...

Profiling these functions I get the following results:

CBC/CLP/GLPK: 1931    0.001    0.000    0.008    0.000 pywraplp.py:185(Constraint)
CBC/CLP/GLPK: 147854    0.033    0.000    0.089    0.000 pywraplp.py:486(SetCoefficient)
CP-SAT: 1810    0.006    0.000    2.593    0.001 cp_model.py:769(Add)
CP-SAT: 121    0.000    0.000    0.051    0.000 cp_model.py:739(AddLinearConstraint)

3) GRAPH SOLUTION
Here is quite similar. In CBC/CLP/GLPK:
self.solver.Solve()

while in CP-SAT:
self.solver.parameters.num_search_workers = 8
status = self.solver.Solve(self.model)

And also here performances respect the same trend:

CLP: 1    0.000    0.000    0.720    0.720 pywraplp.py:197(Solve)
CBC: 1    0.000    0.000    2.739    2.739 graph.py:660(solve)
GLPK: 1    0.000    0.000    6.697    6.697 pywraplp.py:197(Solve)
CP-SAT: 1    0.000    0.000    9.958    9.958 cp_model.py:1575(Solve)
I am pretty sure that results are the same, regardless the solver I used. In fact I checked the objective value, which is -502.118878 for CLP, GLPK and CBC, while -5021190 for CP-SAT (there is a subtle difference due to the 1e4 scaling and rounding).

Do you think that these results make sense? Do you feel I can add some parameters to CP-SAT to make it more performant the way you suggested? Do you think I built it from sources in a bad way?
Thank you

UPDATE: it turned out that moving away from constraint programming solvers in favor of linear programming solvers improved a lot my results in terms of speed.
Even inside the same family GLPK_MIXED_INTEGERS  is slower than GLPK_LINEAR (same story for CBC vs CLP)
So I can say that finally GLOP is the fastest for my scenario, which takes only 0.456 seconds for the same graph solution.

But GLPK linear, CLP and  GLOP are not solving the same problem as CBC/GLPK
MIP, or CP-SAT.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 2 sept. 2019 à 15:42, elmuz<EMAIL_ADDRESS>a écrit :

UPDATE: it turned out that moving away from constraint programming solvers
in favor of linear programming solvers improved a lot my results in terms
of speed.
Even inside the same family GLPK_MIXED_INTEGERS is slower than GLPK_LINEAR
(same story for CBC vs CLP)
So I can say that finally GLOP is the fastest for my scenario, which takes
only 0.456 seconds for the same graph solution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1522?email_source=notifications&email_token=ACUPL3LNWNWD2VCUST5FFF3QHUJ2ZA5CNFSM4IQDRPS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5V3LYY#issuecomment-527152611,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3MXOQNIQRONCQ4BH7TQHUJ2ZANCNFSM4IQDRPSQ
.

But GLPK linear, CLP and  GLOP are not solving the same problem as CBC/GLPK
MIP, or CP-SAT.

Sure, but I think that maybe I don't need CP family and linear is fine since according to the doc I satisfy the three requirements:

A linear objective function. In fact the objective here is a sum over i of cost_i * var_i, where variables are binary (take or not take the path).
Linear constraints that can be equalities or inequalities. And in fact they are... constraints like incoming flow must match outgoing flow is in the form of sum(in_vars) == sum(out_vars).
Bounds on variables that can be positive, negative, finite or infinite. Specifically, they are all binary.

For what I understood the other solvers can solve a broader family of problems (so they produce same optimal results also here) but they are slower. Right?

But with glop, and other linear solvers, the binary will take any value
between 0 and 1, not just 0 or 1.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 2 sept. 2019 à 16:49, elmuz<EMAIL_ADDRESS>a écrit :

But GLPK linear, CLP and GLOP are not solving the same problem as CBC/GLPK
MIP, or CP-SAT.
Sure, but I think that maybe I don't need CP family and linear is fine
since according to the doc
https://developers.google.com/optimization/reference/linear_solver/linear_solver/
I satisfy the three requirements:

A linear objective function. In fact the objective here is a sum
over i of cost_i * var_i, where variables are binary (take or
not take the path).
Linear constraints that can be equalities or inequalities. And in
fact they are... constraints like incoming flow must match outgoing flow is
in the form of sum(in_vars) == sum(out_vars).
Bounds on variables that can be positive, negative, finite or
infinite. Specifically, they are all binary.

For what I understood the other solvers can solve a broader family of
problems (so they produce same optimal results also here) but they are
slower. Right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1522?email_source=notifications&email_token=ACUPL3JF3EG7PVTLW6V2CFLQHURWDA5CNFSM4IQDRPS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WAQUQ#issuecomment-527173714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3PGWBR3AHSOOEQWHODQHURWDANCNFSM4IQDRPSQ
.

But with glop, and other linear solvers, the binary will take any value
between 0 and 1, not just 0 or 1.

...so you are saying they do not take into account that I specify their boolean nature with var = self.model.NewBoolVar(name=name)?

yes, they are linear programming solvers, not mixed integer programming
solvers.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 2 sept. 2019 à 18:02, elmuz<EMAIL_ADDRESS>a écrit :

But with glop, and other linear solvers, the binary will take any value
between 0 and 1, not just 0 or 1.
...so you are saying they do not take into account that I specify their
boolean nature with var = self.model.NewBoolVar(name=name)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1522?email_source=notifications&email_token=ACUPL3K67L4G6LU73VAGXQ3QHU2HTA5CNFSM4IQDRPS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WFNUQ#issuecomment-527193810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3IODXAMJ5D5CWIEAATQHU2HTANCNFSM4IQDRPSQ
.

Ok, got it. Now I know that I have to stick on CBC, GLPK (MIP) or CP-SAT. Among the 3 solvers, CBC is the one which performs better.
Last question (I promise). Do you have some idea on why CP-SAT is so slower than CBC in variables creation, constraint creation and graph resolution? We're talking about 5 times slower than CBC. Do you think there some tweaks I can apply? Do you have some guidelines to follow (even when compiling maybe)?
Thank you

Modeling is indeed slower for the CP-SAT, especially since the modeling
part is pure python, instead of a quick SWIG interface on top of C++.
But it is rarely a problem in my opinion.
To improve solving speed, you can add a new parameter:
num_search_workers:8, usually it helps a lot.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mar. 3 sept. 2019 à 15:34, elmuz<EMAIL_ADDRESS>a écrit :

Ok, got it. Now I know that I have to stick on CBC, GLPK (MIP) or CP-SAT.
Among the 3 solvers, CBC is the one which performs better.
Last question (I promise). Do you have some idea on why CP-SAT is so
slower than CBC in variables creation, constraint creation and graph
resolution? We're talking about 5 times slower than CBC. Do you think there
some tweaks I can apply? Do you have some guidelines to follow (even when
compiling maybe)?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1522?email_source=notifications&email_token=ACUPL3KS2GFKPAWFZ46BC6LQHZRWXA5CNFSM4IQDRPS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5YGS5I#issuecomment-527460725,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3KLONV2SU2ORTULFEDQHZRWXANCNFSM4IQDRPSQ
.

@elmuz I know this 2 years old. But anyway. Sounds like your problem has Total Unimodularity (TUM) (typically network flow problems are TUM), which means that the LP solution of your problem has naturally integer solutions. In this case, solving using an LP solver is faster, since LPs can be solved efficiently (in P, ie, can be solved in polynomial time), while IP is in NP-hard.
We cannot expect a MIP solver to detect this Total Unimodularity for us. Once we tell a solver that the problem is an IP (even though it maybe just an LP), the solver does a lot of extra things (like adding cutting planes to the root problem) before solving the LP. Because of these extra stuff happening in a MIP solver, it takes longer time to solve the same problem, compared to an LP solver.


remove timeouts for faster editing

This hack monkey patches around the setTimeout() that mainline OSM needs because of write throttling, but we don't need anything of the sort. This should speed up editing.

what a hack! but what else can we do with iD?


Added Sentinel relevant hints

Describe what this PR does / why we need it
Added Sentinel relevant hints
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

LGTM


allPlatforms system test for Xcode and Android Studio

Xcode 'allPlatforms' build:

TODO: needs setup from run-test.sh
TODO: get watchOS build working
iOS and OS X builds from shared project
App and unit tests for iOS and OS X
All generated from project defaults with minimal additional setup
Notable configuration:

iOS 7.0 (required for Swift)
OS X 10.4 (minimum supported by Xcode 7)
watchOS 2.0 (minimum for native watch apps)
Bitcode disabled until plugin handle bitcode build

Android 'allPlatforms' build:

'shared' project + unit test
Application depends on shared project

Other Changes:

.gitignore for Xcode and Android Studio files

Fixes #521
TESTED=Manually

iOS 8.1 simulator
iOS 8.1 simulator unit tests
iOS 9.0 iPhone 6 Plus physical device
OS X 10.11 Mac App
OS X 10.11 Mac App unit tests
Android app simulator
Android app Nexus 6 physical device

@advayDev1 - ignore this for now as it's missing most of the crucial files

@advayDev1 - PTAL, it's now updated with the correct files. Also, no mention of 'brunobowden' anywhere in the files. No automatic setup yet but manually it works.

not much for me to comment on here as it seems 90% auto-generated.  i'd recommend waiting for and merging to #518, as your build will push Travis over the timelimit.

Right now it's not building anything. So it won't impact the CI at all. Getting that work will obviously depend on #518.

Sorry - that was my misunderstanding from the modification to simple1/build.gradle - LGTM then


Helm is converting my git tag to exponential form

I use a git short commit hash as my docker tag. I pass it to helm install as a --set parameter.
$ git describe --always = 58467965
helm install ./polykube --set image.registry="colemickpoly58467965-microsoft.azurecr.io",image.tag="58467965",nameOverride="polykube",image.username="xyz",image.password="abc"
Unfortunately, it's rendered out in exponential form:
failed to "StartContainer" for "aspnet-nginx" with ErrImagePull: "couldn't parse image reference \"colemickpoly58467965-microsoft.azurecr.io/polykube-aspnet-api-nginx:5.8467965e+07\": invalid reference format"
Image:              colemickpoly58467965-microsoft.azurecr.io/polykube-aspnet-api-nginx:5.8467965e+07
Suspected as related: https://github.com/kubernetes/helm/pull/1451 (cc: @michelleN)

It seems to happen even when the git commit short hash has the alpha hex characters in it. I suspect this was only working for me for a while since I was actually using git describe --always --dirty and my workspace was in progress and thus the git commit hash was actually c573904-dirty  and didn't get parsed as an int.

I think this is the same as https://github.com/kubernetes/helm/issues/1558.
This should have been fixed with: https://github.com/kubernetes/helm/pull/1576 which is in 2.0.1.
What version of helm are you running?

I was on 2.0.0. I'll try with 2.0.1 this evening.

Haven't repro'd it yet on 2.0.1 or 2.0.2. Closing this.

We're seeing this in Helm 2.5.0, for example, $ helm upgrade --set image.tag="9275389" produces image tag 9.275389e+06.

Also seeing this in helm 2.6.1
$ helm version Client: &version.Version{SemVer:"v2.6.1", GitCommit:"bbc1f71dc03afc5f00c6ac84b9308f8ecb4f39ac", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.6.1", GitCommit:"bbc1f71dc03afc5f00c6ac84b9308f8ecb4f39ac", GitTreeState:"clean"}

Can we re-open this issue? It's not fixed.
In my case, seeing this below on --set image.tag=5997578:
$ kubetctl describe po msj-treasure-map-msj-treasure-map-192172122-dnb80
...
Events:
  Type     Reason         Age               From                                    Message
  ----     ------         ----              ----                                    -------
  Normal   Scheduled      1m                default-scheduler                       Successfully assigned msj-treasure-map-msj-treasure-map-192172122-dnb80 to ip-10-253-13-113.ec2.internal
  Warning  InspectFailed  15s (x9 over 1m)  kubelet, ip-10-253-13-113.ec2.internal  Failed to apply default image tag "596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-uwsgi:5.997578e+06": couldn't parse image reference "596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-uwsgi:5.997578e+06": invalid reference format
  Warning  InspectFailed  15s (x9 over 1m)  kubelet, ip-10-253-13-113.ec2.internal  Failed to apply default image tag "596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-nginx:5.997578e+06": couldn't parse image reference "596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-nginx:5.997578e+06": invalid reference format
  Warning  FailedSync     15s (x9 over 1m)  kubelet, ip-10-253-13-113.ec2.internal  Error syncing pod, skipping: [failed to "StartContainer" for "msj-treasure-map-uwsgi" with InvalidImageName: "Failed to apply default image tag \"596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-uwsgi:5.997578e+06\": couldn't parse image reference \"596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-uwsgi:5.997578e+06\": invalid reference format"
, failed to "StartContainer" for "msj-treasure-map-nginx" with InvalidImageName: "Failed to apply default image tag \"596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-nginx:5.997578e+06\": couldn't parse image reference \"596297932419.dkr.ecr.us-east-1.amazonaws.com/msj-trmap-nginx:5.997578e+06\": invalid reference format"

$ helm version
Client: &version.Version{SemVer:"v2.5.1", GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.5.1", GitCommit:"7cf31e8d9a026287041bae077b09165be247ae66", GitTreeState:"clean"}

Hey @holybit! #1707 tracks the issue where --set parses integers as scientific notation. Would you mind tacking on your comment there? Thanks!


error when vim.ui.select message contains newlines

without telescope-ui-select:

with telescope-ui-select:

fixed in dressing here https://github.com/stevearc/dressing.nvim/commit/55fd604006e2859b829ac1e6a537cc3c39db3ff8


handle JSON parsing error for ESLint configuration

Description
fix  JSON parse error

Linked Issues
Additional context

I don't think we should make it fail silently. Wonder why you have incomplete json at the first place?


Explorer - Array of objects doesn't work

Describe the bug
When I want to create a record in a schemaful table with an array of objects properties, the record explorer doesn't create the objects content. I think this should be investigated to see if the problem comes from the array<object> type or if this is deeper.
To Reproduce
Create a table with a field of array<object> type,
Try to create a record with objects in the array
Save the record and witness the absence of content in the objects (see screens after)
Expected behavior
Objects should have their content
Environment:
MacOS Sonoma,
Surrealist 2.1.2

(clicking the version number doesn't work for me 🥲)

Screenshots

Simple schemaful table made for the test

record i'm trying to create

result I get

This is intended behaviour as by default you are expected to define the inner object fields as part of your schema as well. You can however bypass this and allow flexible object contents by marking the field as FLEXIBLE 😃


SM111 Update Inbox View to Show Threads

Story Card:
SM111: INT - View All Inbox Messages
As part of the feature to show message conversations the secure message inbox view needs to get threads not messages. This update changes it to hit the backstage get threads endpoint instead of get messages and updates the view to show the correct fields. Also tries to make the inbox more resilient to malformed data, previously it had issues with the page refusing to load completely if a single message was missing some expected fields. Now it should Always load and display 'Unavailable' in any fields that are missing.

Codecov Report

Merging #86 into master will increase coverage by 0.15%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   97.18%   97.34%   +0.15%
==========================================
  Files          27       27
  Lines         711      753      +42
==========================================
+ Hits          691      733      +42
  Misses         20       20

Impacted Files
Coverage Δ

...e_operations_ui/controllers/message_controllers.py
100% <100%> (ø)
:arrow_up:

response_operations_ui/views/messages.py
100% <100%> (+3.57%)
:arrow_up:

...se_operations_ui/controllers/survey_controllers.py
92.3% <82.35%> (-7.7%)
:arrow_down:

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 739e6ec...ca0dfa1. Read the comment docs.


feat: publish camera info

will do my own calibration and testing tomorrow

Any additional updates on this PR? @tfoldi


Changed word count tooltips for new model

We are releasing a new model for Personality Insights today.
The new model reduces the word count requirement we had.
The demo is changed to reflect these changes.
For other languages, the demo still has the older word count requirements.

Current coverage is 69.68% (diff: 100%)

Merging #102 into master will not change coverage

@@             master       #102   diff @@
==========================================
  Files            20         20
  Lines           188        188
  Methods          46         46
  Messages          0          0
  Branches         28         28
==========================================
  Hits            131        131
  Misses           57         57
  Partials          0          0

Powered by Codecov. Last update 680f949...ee30bde

Kindly merge once I confirm that the service is pushed to PPRD. It should be done in an hour or two.


[Concurrency] Adopt Clang swift_async_name attribute.

The new swift_async_name attribute allows Clang declarations to specify
their Swift names only for async import, which may differ from those used
for importing as a completion handler.
Implements rdar://70111787.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Implement SellCommandTest

close #75

Pull Request Test Coverage Report for Build 254

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 76.157%

Totals

Change from base Build 251:
1.0%

Covered Lines:
1530

Relevant Lines:
2009

💛  - Coveralls


npm  install nodegit seems to be broken

System information

node version: v10.16.0
npm or yarn version:6.9.0
OS/version/architecture: High Sierra 10.16

All packages looks OK, but the lifecycleScripts failed, any idea how to fix this issue?
2002 silly saveTree │   ├──<EMAIL_ADDRESS>2002 silly saveTree │   └──<EMAIL_ADDRESS>2002 silly saveTree └──<EMAIL_ADDRESS>2003 warn<EMAIL_ADDRESS>No repository field.
2004 verbose stack Error<EMAIL_ADDRESS>install: `node lifecycleScripts/preinstall && node lifecycleScripts/install`
2004 verbose stack Exit status 1
2004 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
2004 verbose stack     at EventEmitter.emit (events.js:198:13)
2004 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
2004 verbose stack     at ChildProcess.emit (events.js:198:13)
2004 verbose stack     at maybeClose (internal/child_process.js:982:16)
2004 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
2005 verbose pkgid<EMAIL_ADDRESS>

I also tried to install nodegit from docker image name node: docker pull node
I get the same error.

Step 1: $ npm cache clean --force
Step 2: Delete node_modules by $ rm -rf node_modules folder or delete it manually by going into the directory and right-click > delete. Delete package-lock.json file too.
Step 3: npm install


Seeding error

Hello,
I think I setup my translatable as I should but my seeding throw an error.
Here is my migration file :
<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateQuestionsTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('questions', function(Blueprint $table)
		{
			$table->increments('id');
			$table->string('text');
			$table->boolean('enable')->default(false);
			$table->softDeletes();
			$table->timestamps();
		});

        Schema::create('question_translations', function(Blueprint $table)
        {
            $table->increments('id');
            $table->integer('question_id')->unsigned();
            $table->string('label');
            $table->string('locale')->index();

            $table->unique(['question_id','locale']);
            $table->foreign('question_id')->references('id')->on('questions')->onDelete('cascade');
        });
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::dropIfExists('questions');
		Schema::dropIfExists('question_translations');
	}

}

My Models are the following :
<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use \Dimsav\Translatable\Translatable;

class Question extends Model {

    public $translatedAttributes = ['text', 'label'];
    protected $fillable = ['text', 'label', 'enable'];

}

<?php namespace App;

use Illuminate\Database\Eloquent\Model;

class QuestionTranslation extends Model {

    public $timestamps = false;
    protected $fillable = ['label'];

}

My translatable config file contain the following locales :
...
    'locales' => ['en', 'fr', 'es'],
...

I tried to call a QuestionTableSeeder from my DatabaseSeeder file, which begin with a DB::statement("SET FOREIGN_KEY_CHECKS = 0"); in order to allow the truncate.
Here is the QuestionTableSeeder :
<?php

use App\Question;
use Illuminate\Database\Seeder;

class QuestionTableSeeder extends Seeder {

       /**
        * Run the database seeds.
        *
        * @return void
        */
       public function run()
       {

           DB::table('questions')->truncate();

           Question::create(['text' => "Groovy",
                'en'  => ['label' => "Music"],
                'fr'  => ['label' => "Musique"],
                'es' => ['label' => "Musica"],
            ]);

       }

}

Seeding the database throw this Exception :
  [ErrorException]
  preg_replace(): Parameter mismatch, pattern is a string while replacement is an array

I tried to find a workaround, storing the datas in a variable, exactly as the demo shows, or using the fill method, but it didn't work.:
           $question = new Question;
           $question->fill(['text' => "Groovy",
                'en'  => ['label' => "Music"],
                'fr'  => ['label' => "Musique"],
                'es' => ['label' => "Musica"],
            ]);

I use Laravel 5, translatable ~5.0 with MySQL 5.6.23
Did I miss something or is the seeding process needs a special filler ?

I started from scratch, removing the whole project and setup a new laravel + translatable.
It works.
I don't know what was wrong, but it's not anymore.
Sorry for bothering.

I note it here in order to help anyone having the same issue :
In the model, the trait should be used inside the class itslef, not in the namespace definition.
This model does not work (and throw the preg_replace exception in seeder) :
<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use \Dimsav\Translatable\Translatable;

class Question extends Model {

    public $translatedAttributes = ['text', 'label'];
    protected $fillable = ['text', 'label', 'enable'];

}

But those two works perfectly :
<?php namespace App;

use Illuminate\Database\Eloquent\Model;

class Question extends Model {

    use \Dimsav\Translatable\Translatable;

    public $translatedAttributes = ['text', 'label'];
    protected $fillable = ['text', 'label', 'enable'];

}

<?php namespace App;

use Illuminate\Database\Eloquent\Model;
use \Dimsav\Translatable\Translatable;

class Question extends Model {

    use Translatable;

    public $translatedAttributes = ['text', 'label'];
    protected $fillable = ['text', 'label', 'enable'];

}