Support onResolve pipe

Clear and concise description of the problem
When I used esbuild-vue + unplugin-auto-import to build the project, the build didn't work.
Because onResolve is used in esbuild-vue, it won't work properly when placed in the transform plugin.
Suggested solution
Add onResolve support in esbuild-plugin-transform
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Please provide a minimal reproduction. Thanks.
https://antfu.me/posts/why-reproductions-are-required

I found the problem.
Because I am using a multi-entry build, the transformed files are not differentiated by entry.
What causes Vue to receive is not the SFC, but the processed source file.
So the later entry builds are all exceptions.
My entryPoint configuration is as follows:
[
  './src/routes.ts',
  './src/views/Home.vue',
]

I tried to build the dynamically imported home.vue in the router separately.
Because I need to reuse this component (in the form of a module federation) .

I found the problem. Because I used multi-entry + dynamic import.
Dynamic import is treated as an entry.
This entry is duplicated with multiple entries configured separately, so that a file is processed multiple times.
My scenario uses module federation, which is configured as follows:
Since Home needs to be imported dynamically in routes and exposed as a separate component, it also needs to be configured as entryPoint.
At this point, esbuild builds Home twice, and the output from both builds is cached by transform, causing the plug-in to duplicate the file.
So the source file esbuild-vue receives the second time is the processed JS code, not the SFC.
As a result, the resulting Home is an empty file.

I modify the code locally.
I use the pluginName and entryPoints as the unique ids.
When the ID exists, the plugin's onLoad method is not added.
It will solve the problem.

The reason for the problem is this line.
Because onLoads is not cleared, the plugin onLoad is registered repeatedly on multiple calls to setup (multiple entries) .
Just move this line of code into setup to resolve it.

Thanks for your feedback. Fixed and release in<EMAIL_ADDRESS>


Fix Anyscale API token URL in Purple_Llama_Anyscale.ipynb

This PR fixes a typo in the docs.
The previous URL linked for Anyscale was mistakenly pointing to a Together API keys URL.

Thanks for the PR @dramdass


US data missing prior to 2020-05-24

Noted by @rtwfroody in https://github.com/covidatlas/li/issues/284, many US states are missing data in the generated reports.  e.g., from Li-reports-analysis (at https://docs.google.com/spreadsheets/d/1Xeq7nJdEbXtYpDR9LlXva2pZJfjNJtonDn7vSKuTFX0/edit#gid=1895621508):

Need to check that cache is present for the given sources contributing to each location, and ensure that it's actually scraped and put into the database.

Some production timeseries sources have never been called.  Below is "invokes" table for prod:

Adding some test cases and coverage for that.  I think the regeneration query is missing some cases.  In addition, we should perhaps regen some other sources as well, not just timeseries ... will consider.

The "regenerate" code isn't getting called correctly for timeseries sources.  Merged PR #306 to staging, will monitor.
Currently staging invokes table looks like this:
"type (S)","key (S)","lastInvoke (S)"
"regenerate","au-nsw","2020-07-10T08:41:07.898Z"
"regenerate","au-wa","2020-07-10T04:41:07.937Z"
"regenerate","be","2020-07-10T06:41:07.826Z"
"regenerate","ca","2020-07-10T10:41:07.829Z"
"regenerate","ca-ns","2020-07-10T12:41:07.924Z"
"regenerate","ch","2020-07-10T14:41:07.676Z"
"regenerate","cn","2020-07-10T02:41:07.576Z"
"regenerate","cy",
"regenerate","cz",
"regenerate","de",
"regenerate","ee",
"regenerate","es",
"regenerate","fr",
"regenerate","hk",
"regenerate","ie",
"regenerate","it",
"regenerate","jhu",
"regenerate","jhu-usa",
"regenerate","jp",
"regenerate","nl",
"regenerate","nyt",
"regenerate","sa",
"regenerate","se",
"regenerate","si",
"regenerate","ua",
"regenerate","us-az",
"regenerate","us-ca-mercury-news",
"regenerate","us-ca-sonoma-county",
"regenerate","us-nv-washoe-county",
"regenerate","us-ny",
"regenerate","us-va",
"regenerate","vn",
"regenerate","za",

I've bumped up the regen frequency, we should start to see some of the other countries getting filled in.  If it works, I'll tag and promote to production.

Nice, things starting to fill in on staging:
"type (S)","key (S)","lastInvoke (S)"
"regenerate","au-nsw","2020-07-10T08:41:07.898Z"
"regenerate","au-wa","2020-07-10T04:41:07.937Z"
"regenerate","be","2020-07-10T06:41:07.826Z"
"regenerate","ca","2020-07-10T10:41:07.829Z"
"regenerate","ca-ns","2020-07-10T12:41:07.924Z"
"regenerate","ch","2020-07-10T14:41:07.676Z"
"regenerate","cn","2020-07-10T02:41:07.576Z"

"regenerate","cy","2020-07-10T17:24:47.046Z"
"regenerate","cz","2020-07-10T17:39:46.984Z"
"regenerate","de","2020-07-10T17:54:47.057Z"
"regenerate","ee","2020-07-10T18:09:47.079Z"
"regenerate","es","2020-07-10T18:24:46.999Z"
"regenerate","fr","2020-07-10T18:39:46.988Z"
"regenerate","hk","2020-07-10T18:54:47.080Z"
"regenerate","ie","2020-07-10T19:09:48.086Z"
"regenerate","it","2020-07-10T19:24:47.047Z"
"regenerate","jhu","2020-07-10T19:39:47.096Z"
"regenerate","jhu-usa","2020-07-10T19:54:46.894Z"
"regenerate","jp","2020-07-10T20:09:47.056Z"
"regenerate","nl","2020-07-10T20:24:46.789Z"
"regenerate","nyt","2020-07-10T20:39:47.049Z"
"regenerate","sa","2020-07-10T20:54:47.200Z"
"regenerate","se","2020-07-10T21:09:46.908Z"
"regenerate","si","2020-07-10T21:24:46.811Z"
"regenerate","ua","2020-07-10T21:39:46.938Z"
"regenerate","us-az",
"regenerate","us-ca-mercury-news",
"regenerate","us-ca-sonoma-county",
"regenerate","us-nv-washoe-county",
"regenerate","us-ny",
"regenerate","us-va",
"regenerate","vn",
"regenerate","za",

Staging is now completely regenerated.  Production is in process (currently running jhu).  Will re-analyze reports when all timeseries are refreshed.

Prod invokes fully done, data filled in until mid-March which is great.

The jhu-usa data goes all the way back to 2020-01-22, so I've moved that start date back to that date, and launched to prod.  That should fill in still more data, though it's of lower priority than other state sources if such exist.  Closing this.


Invoking agent executor with Google GenerativeAI: AttributeError: module 'google.generativeai' has no attribute 'generate_content'

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
from langchain.agents import AgentExecutor
from langchain.agents.format_scratchpad import format_log_to_str
from langchain.agents.output_parsers import ReActSingleInputOutputParser
from langchain_core.language_models import BaseLanguageModel
from langchain_core.prompts import PromptTemplate

from langchain_google_genai import GoogleGenerativeAI

def build_executor(llm: BaseLanguageModel, prompt: PromptTemplate):
    llm_with_stop = llm.bind(stop=["\nObservation"])
    agent = (
        {
            "input": lambda x: x["input"],
            "agent_scratchpad": lambda x: format_log_to_str(x["intermediate_steps"]),
        }
        | prompt
        | llm_with_stop
        | ReActSingleInputOutputParser()
    )

    return AgentExecutor(agent=agent, tools=[])

llm = GoogleGenerativeAI(model='models/text-bison-001')
input_variables = ["input", "agent_scratchpad"]
prompt = PromptTemplate.from_file(
            "path/to/agent_template.txt", input_variables=input_variables
        )
prompt_template = prompt.partial(custom_prompt="")
executor = build_executor(llm, prompt_template)
print(executor.invoke(input={"input": "What are some of the pros and cons of Python as a programming language?"}))

This the prompt template I used -
you are an AI assistant, helping a Human with a task. The Human has asked you a question.
When you have a response to say to the Human, you MUST use the format:

Thought: Do I need to use a tool? No
Final Answer: [your response here]

Begin!

Previous conversation history:

New input: {input}
{agent_scratchpad}

Error Message and Stack Trace (if applicable)
Traceback (most recent call last):
  File "/Users/kallie.levy/dev/repos/app-common/app_common/executor/build_executor.py", line 33, in <module>
    print(executor.invoke(input={"input": "What are some of the pros and cons of Python as a programming language?"}))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain/chains/base.py", line 162, in invoke
    raise e
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain/chains/base.py", line 156, in invoke
    self._call(inputs, run_manager=run_manager)
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 1376, in _call
    next_step_output = self._take_next_step(
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 1102, in _take_next_step
    [
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 1102, in <listcomp>
    [
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 1130, in _iter_next_step
    output = self.agent.plan(
             ^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain/agents/agent.py", line 392, in plan
    for chunk in self.runnable.stream(inputs, config={"callbacks": callbacks}):
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 2424, in stream
    yield from self.transform(iter([input]), config, **kwargs)
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 2411, in transform
    yield from self._transform_stream_with_config(
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1497, in _transform_stream_with_config
    chunk: Output = context.run(next, iterator)  # type: ignore
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 2375, in _transform
    for output in final_pipeline:
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1035, in transform
    for chunk in input:
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 4168, in transform
    yield from self.bound.transform(
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/runnables/base.py", line 1045, in transform
    yield from self.stream(final, config, **kwargs)
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/language_models/llms.py", line 414, in stream
    raise e
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_core/language_models/llms.py", line 398, in stream
    for chunk in self._stream(
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_google_genai/llms.py", line 225, in _stream
    for stream_resp in _completion_with_retry(
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_google_genai/llms.py", line 65, in _completion_with_retry
    return _completion_with_retry(
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/tenacity/__init__.py", line 314, in iter
    return fut.result()
           ^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 401, in __get_result
    raise self._exception
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^
  File "/Users/kallie.levy/Library/Caches/pypoetry/virtualenvs/app-common-yf0YqSl9-py3.11/lib/python3.11/site-packages/langchain_google_genai/llms.py", line 60, in _completion_with_retry
    return llm.client.generate_content(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'google.generativeai' has no attribute 'generate_content'. Did you mean: 'generate_text'?

Description
I'm creating an AgentExecutor with Google GenerativeAI llm, but since version 0.1.1 of langchain, I receive this error. If langchain <= 0.1.0, this script works.
System Info
python==3.11.6
langchain==0.1.1
langchain-community==0.0.19
langchain-core==0.1.21
langchain-google-genai==0.0.5
langchain-google-vertexai==0.0.3

Hi @KallieLev ,
I think this is not exactly the issue with Langchain, but rather a wide issue with everyone building on Google APIs. So earlier, for using Google's Palm model the methods used to be different. However with the introduction of Gemini model APIs, Google has updated its method and the way we interact with these LLMs.
Based on what you have mentioned above, I believe these methods are available for Google Gemini models, but not for Palm. In that case either you can try using Gemini models with the above code, or try to update/use the correct LLM wrapper for Palm API's.
In case if the above is the right diagnosis, I can take up and work on this issue further.

I believe this is an issue with Langchain since from a certain Langchain version this functionality doesn't work anymore, while Google's package hasn't changed. This means that the Langchain usage has been broken with Google's package since version 0.1.1.

I can confirm this is still an issue if you want to use a Google PALM model with the latest langchain-google-genai and langchain versions. Perhaps this need to be Transferred to the langchain-google repo?

I got the same error!


Create houtenteo.md for PPP

Codecov Report

Merging #179 (8f1afdc) into master (87066cc) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #179   +/-   ##
=========================================
  Coverage     72.48%   72.48%
  Complexity      767      767
=========================================
  Files           103      103
  Lines          2337     2337
  Branches        264      264
=========================================
  Hits           1694     1694
  Misses          559      559
  Partials         84       84

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 87066cc...8f1afdc. Read the comment docs.


Ability to export to Powerpoint

Is your feature request related to a problem? Please describe.
We use Teams as our meeting platform which has integration with PowerPoint so we can pass control of the slide deck between people.
Describe the solution you'd like
An export to PPTX facility.
Describe alternatives you've considered
There is no alternative that works seamlessly with teams and transfer control aside from full screen control.

Duplicated https://github.com/slidevjs/slidev/issues/213#issuecomment-853528647


Initial login fails if API key file does not exist yet

On first run, the login command fails when ~/.lsw does not exist yet. It does correctly ask for the API key when the empty file exists:
<rvdm@kitsune:~/code/leaseweb-cli> ./leaseweb login
Something went wrong
<rvdm@kitsune:~/code/leaseweb-cli> touch ~/.lsw
<rvdm@kitsune:~/code/leaseweb-cli> ./leaseweb login
Enter api key:
Logged in successfully!
<rvdm@kitsune:~/code/leaseweb-cli>

Hi @rvdm and thanks for reporting the issue! This repo is actively developing, and it'll be fixed in the next update!

Thanks! I'm pretty new to golang, otherwise I'd have given you a PR :) Thanks for making this!


Document Prefetch and multiple DBs

In a multi-database environment, it's unclear how Prefetch will behave. This clarifies that Prefetch works exactly as you'd hope it would.
I tested this by creating two databases and then creating some dummy data in each of them. According to my tests, the using statement on the outer query will be used on the inner query, and if the inner and outer queries have different using parameters, each will be respected.

@felixxm

Yes, it would still be great to get these tweaks committed if somebody with that power wanted to take a look.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.10.21 to before v5.10.89",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=dde807b4a44273fa5f62c0cb308295e6d6642550",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=676c572439e58b7ee6b7ca3f1e5595382921045c"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "dde807b4a44273fa5f62c0cb308295e6d6642550",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "676c572439e58b7ee6b7ca3f1e5595382921045c",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "Input: elantech - fix stack out of bound access in elantech_change_report_id()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.89 by commit 676c572439e58b7ee6b7ca3f1e5595382921045c, it was introduced in version v5.10.21 by commit dde807b4a44273fa5f62c0cb308295e6d6642550. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002807


#3768 improved dashboard list scroll

Description

improved dashboard list scroll
Related Issue : #3768

How Has This Been Tested?

Make sure the dashboard list keeps scrolling when you click on it.
Check if scrolling is maintained when returning to the browsing screen from the edit screen.

Need additional checks?
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 2


Optional query param to flush the cache

I think it would be extremely useful to have a a query param that flush the cache for a specific page (including fragments and layout)

Why not make a param that changes at request time that would just bust the cache by changing the cache key? Allowing compoxure to flush the cache is a bit out of what is intended to do unless we make some kind of cli from it

That will probably be enough and also easier to implement :smile:

We implemented a query parameter (cx-no-cache) that will disable the cache for the request.


Refactor dropdown search bar and fix many issues with it

Closes https://github.com/ppy/osu/issues/25769
Closes https://github.com/ppy/osu/issues/25850
Closes https://github.com/ppy/osu/issues/26079
[ ] Depends on #6095

Using the concept of "multiple focus targets", now Dropdown gains focus when in an open state, and in addition sends focus events to Menu and indirectly to the search bar text box using the chain "DropdownHeader -> DropdownSearchBar -> TextBox".
This eliminates the necessity of an input manager inside DropdownSearchBar, which in turn resolves many issues that arose from it (such as blocking key events from propagating past the search bar text box, or the search bar text box receiving focus despite being blocked by another component in front of it).
A necessary component in this implementation is to stop both Menu and TextBox from managing the focus state completely, using an internal boolean property. I'm not quite fond of the approach, but I did not want to overthink this more than I had done already (one idea I had that I scraped off was defining an IUIControl interface, and let Menu/TextBox avoid handling focus if there's a parent with the IUIControl interface, via DI or parent traversal).
As a side detail in this change, positional input on the search bar is now possible (i.e. you can drag the search bar text box to change selection).

Sorry about that, I've included test coverage for https://github.com/ppy/osu/issues/25769 and  https://github.com/ppy/osu/issues/26079, which are the issues fixed by the "multiple focus target" approach. Should be good enough to explore alternative options with. I've also pushed a separate branch for the tests in case needed: https://github.com/ppy/osu-framework/compare/master...frenzibyte:osu-framework:dropdown-search-bar-issues


https://pkg.go.dev/golang.org/x/net/html Parse functions documented under Node

What is the URL of the page with the issue?
https://pkg.go.dev/golang.org/x/net/html
What is your user agent?
[Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36]
Screenshot

What did you do?
Opened the page and searched for "Parse"
What did you expect to see?
I expected to see the Parse functions documented in the Functions section.
What did you see instead?
The Parse functions are documented under the Node Type.

Duplicate of #39813


Use proper service for delete one agent

Currently same api service is used for delete one agent and for delete multiple agents. Let's use the apropiate service for delete one agent

@YanetABUC @lcc1289 this is the endpoint to delete one agent
DELETE api/agents/{agentName}

Resolved!


Remove https://github.com/microsoft/cpprestsdk

Remove https://github.com/microsoft/cpprestsdk and replace it with the NuGet package.

Moving this to following milestone since we have already enough work items for 0.14.

Nuget for c++ is being replaced in favor of vcpkg. There's no more official cpprestsdk on nuget by from the official casablancacore account. The cpprestsdk docs recommend using vcpkg instead.
Since we're only using json parser from it, we could remove cpprestsdk dependency altogether and use WinRT json parser. Btw, I've already used WinRT xml parser as part of multimonitor ID fix - https://github.com/microsoft/PowerToys/pull/737/files#diff-31c0f476a779345c203ec1bb52006dc4, so it should be similar to that API.


Refactor QC metrics to work with watcher function

Section 1: Design details
Is your feature request related to a problem? Please describe.
The current QC metric notebook/workflow assumes that the user will run it once their run is complete. Moving forward, we want this to be run automatically as part of the watcher script.
Describe the solution you'd like
We should refactor QC metrics to work with a watcher function which operates on a single FOV at a time, saving the output.
Design overview
The QC metric pipeline consists of 3 parts that will need varying degrees of modification:

Download raw images from MIBItracker: this will now be handled by mibi_bin_tools. Users will need to specify a path to their .bin files and this step will be done on a FOV-by-FOV basis.
QC metric extraction: this will also be done on a FOV-by-FOV basis and will append directly to files rather than to in-memory DataFrames. We will also need to store the run order in a separate file.
QC metric visualization: for now, we'll leave this to run after all the FOVs have been downloaded and QC-extracted. In the future, this may transition to a real-time FOV-by-FOV basis.

Design list/flowchart

Required inputs

The path to the bin file folder (contains the MIBI .bin files). Each folder will contain a set of files prefixed with the FOV in question. For example, fov-1-scan-1.
While a bin folder may contain multiple FOVs, only 1 FOV will ever be computed at a time in compute_qc_metrics. The specific FOV that will be computed needs to be passed as an argument to compute_qc_metrics from either the watcher script or example_qc_metrics_comp.ipynb. The name of the FOV is defined by the corresponding JSON file (for example, if fov-1-scan-1.json is in the folder, the name of the FOV needs to be specified as fov-1-scan-1) and not just fov-1.
The path to the panel file. This defines the integration ranges the bin file needs to extract properly.
The path to the QC metric folder (contains the .csv files for each QC metric per FOV, as well as the FOV run order)
The path to the visualization folder (contains the .png files visualizing each QC metric sorted by run order of FOVs)

Output files
The data that gets placed in the QC metric and visualization folders described above.
Section 2: Implementation details
Control flow
For each QC pipeline step outlined in the Design overview portion of Section 1, the corresponding functions will need varying degrees of modification:

compute_qc_metrics will now compute on just a single FOV per iteration. It will take in an argument bin_fie_name which will specify a single FOVs data. Only this FOV will be passed to mibi_bin_tools.extract_bin_files with the user-provided bin file folder as data_dir without specifying an out_dir. The result will be an xarray.DataArray containing the channel images for the FOV.

When calling extract_bin_files, the resulting DataArray will contain a dimension called 'type': for the purposes of this function, this will only contain one coord ('pulse') and is what we'll be subsetting on.

To ensure that the watcher script and example_qc_metrics_comp.ipynb know which FOVs have been run or not, compute_qc_metrics at the end saves a unique file for the FOV passed in with the corresponding QC metric values for each FOV. For non-zero mean intensity, an example file for fov0 might be called fov0_nonzero_mean_stats.csv and look like:

fov
channel
metric_name

'fov0'
chan0
val1

'fov0'
chan1
val2

...
...
...

We save the data in melted format to make aggregation easier and for visualization purposes. This data will be saved in a specific folder; the path will need to be provided to the function as qc_dir.

We add an aggregation function, combine_qc_metrics, which will simply append all the files for each QC metric together and create one dataset. We can return this as a pd.DataFrame or save as a .csv, whichever is easier.

The watcher script and example_qc_metrics_comp.ipynb will worry about which FOVs to pass in. For the latter, the user will need to specify the path to their bin file (called bin_file_path) as well as the qc_dir they wish to write to. A loop inside the notebook will then check each FOV in bin_file_path and see if the corresponding FOV QC metric files exists in qc_dir. If they do not, it will pass in that FOV to compute_qc_metrics which then runs the QC extraction for that FOV and saves it.

visualize_qc_metrics can stay as is: a save_dir can be provided which will store the images created for each metric.

Milestones and timeline

mibi_bin_tools integration: shouldn't take more than 1 day
qc_metric refactoring: 1 day
Testing the updated pipeline: 1-2 days

Couple points:

We won't need to store the run order, the FOVs are always named FOV1, FOV2, FOV3, etc by the commercial instrument.
This refactored version of the notebook won't need to handle the watcher function logic (which FOV is next, etc). Instead, it will be compatible with the watcher function already having been run on the data. It will loop over each FOV, and check to make sure the FOV-level qc metrics file has already been generated by the watcher. If not, it will generate it. Then at the end it will make the summary plots.
Lets discuss at standup the best way to store the computed data.

Per our discussion today, we'll keep the QC metric writing to 3 separate QC metric files in the folder provided.

Updated the design doc.

Looks good. It makes sense to save the plots in a separate qc metrics folder, but I think the individual fov-level csv files can be saved directly in the same directory

Ok, I'll save the fov-level .csv files (and the aggregated versions on combine_qc_metrics call) in bin_file_path.


content-type: application/octet-stream is not supported?

Hi,
I am trying to render doc file with content-type content-type: application/octet-stream but it is giving render error.
<DocViewer             pluginRenderers={DocViewerRenderers}             documents={[{               uri: "https://xyz/e49ac077985846ab9198340b51c18d2c.docx"             }]}           />

image urls (.png, jpg) are working fine.

I was able to solve this only for PDF. for that I need to pass Content-type to s3 while uploading the pdf file.
for doc and docx still not working

is this fixed or any alternate way to preview docx files from s3?


[Android]  crashing the app for Android API 16

Description
Using the button component crashes the app for android api 16.
React Native version:
System:
    OS: macOS 10.15.6
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 1.52 GB / 16.00 GB
    Shell: 5.0.11 - /usr/local/bin/bash
  Binaries:
    Node: 14.7.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.0. - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 26, 27, 28, 29, 30
      Build Tools: 28.0.3, 29.0.2, 30.0.1
      System Images: android-16 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0.1 4.0.1
    Xcode: 11.6/11E708 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_222 - /Users/akgunfu/.jenv/shims/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.2 => 0.63.2
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

Create a test app npx react-native init Test
Modify App.js like following const App: () => React$Node = () => { return <Button title={'test'}/> };

Expected Results
Should render the button.
Snack, code example, screenshot, or link to a repository:

Thanks @akgunfu for the issue. That is unfortunate! Could you provide a repo that I could build?

Hi @safaiyeh, Here is the basic example of the issue.
Here are some things I noticed so far:
On android Button implements TouchableNativeFeedback and there it decides backgroundProp like following in TouchableNativeFeedback.js:339:
const getBackgroundProp =   Platform.OS === 'android'     ? (background, useForeground) =>         useForeground && TouchableNativeFeedback.canUseNativeForeground()           ? {nativeForegroundAndroid: background}           : {nativeBackgroundAndroid: background}     : (background, useForeground) => null;
Simply changing it to
const getBackgroundProp =   Platform.OS === 'android'     ? (background, useForeground) =>         useForeground && TouchableNativeFeedback.canUseNativeForeground()           ? {nativeForegroundAndroid: background}           : Platform.Version >= 21 ? {nativeBackgroundAndroid: background} : null     : (background, useForeground) => null;
prevents crashes for android 4.x.x. But I have not checked for any side effects so I did not follow up

@akgunfu I created related pr about this here. https://github.com/facebook/react-native/pull/29752. I think there is no need to check again for Platform.Version >= 21  because nativeForegroundAndroid can only support Android > M. Hence the existing canUseNativeForeground check should suffice.
https://github.com/facebook/react-native/blob/6d175f2c257fe1acb1c36b15bc97bdb77560885c/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewManager.java#L167

@gedeagas appreciate the PR!

React Native master branch has been updated to only support  API >= 21 closing as this will not be supported anymore


Fundamentals are not clear

Hi, thanks for the note, could you please clarify what exactly is not clear to you?

fundamentals of which program

fundamentals of which program

@Sam-code-stack @aribanigar034
The Fundamentals Block in the introduction is linking to the first roadmap called "Fundamentals" just one image below.

@Sam-code-stack @aribanigar034
The Fundamentals Block in the introduction is linking to the first roadmap called "Fundamentals" just one image below.

Okay, thank you

Okay, thank you


Graph View Code Block Not Sizing Correctly

Describe the bug
I fairly regularly come across code blocks in the graph view that don't properly resize and cut off instructions.  This is occurring when the "operand" field from the "edit code block fields" options is large enough that the entire instruction should be displayed.
Expected behavior
I would expect the code blocks to resize based on the instruction size, up to the maximum size listed in the "edit code block fields" option.
Screenshots
Error screenshot

screenshot showing the operands field should be large enough

Environment (please complete the following information):

OS: windows 10
Java Version: openJDK 12
Ghidra Version: 9.1.2

I believe this is a dup of #1008.  There is a fix for this in the pipeline.


Plugin-based model conventions system

Let's create a plugin-based model convention system where we allow users to not only use general-purpose monitoring conventions defined under /CI/conventions/generic, but also, let them define their own conventions under /CI/conventions/plugins

The file monitor/monitor.test.js runs successfully performing a monitoring job with the new monitor class.
{
  accounts: [
    '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266',
    '0x70997970C51812dc3A010C7d01b50e0d17dc79C8',
    '0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC',
    '0x90F79bf6EB2c4f870365E785982E1f101E93b906',
    '0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65',
    '0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc',
    '0x976EA74026E726554dB657fA54763abd0C3a0aa9',
    '0x14dC79964da2C08b23698B3D3cc7Ca32193d9955',
    '0x23618e81E3f5cdF7f54C3d65f7FBc0aBf5B21E8f',
    '0xa0Ee7A142d267C1f36714E4a8F75612F20a79720'
  ],
  privateKeys: [
    '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80',
    '0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d',
    '0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a',
    '0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6',
    '0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a',
    '0x8b3a350cf5c34c9194ca85829a2df0ec3153be0318b5e2d3348e872092edffba',
    '0x92db14e403b83dfe3df233f83dfa3a0d7096f21ca9b0d6d6b8d88b2b4ec1564e',
    '0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356',
    '0xdbda1821b80551c9d65939329250298aa3472ba22feea921c0cf5d620ea67b97',
    '0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6'
  ],
  rpcAddress: '<IP_ADDRESS>:3050',
  pid: 47020
}
Monitoring the contract: 0x5FbDB2315678afecb367f032d93F642f64180aa3

The retrieved activity using the translator is:  [ { activityId: 'getGreeted', dcrValue: null, dcrType: null } ]
Trying to execute the following DCR activity
requestBody: {}
nextEventAddress: https://repository.dcrgraphs.net/api/graphs/1702173/sims/1946477/events/getGreeted
DCR Activity executed: {
  name: 'getGreeted',
  time: 'Thu, 07 Mar 2024 13:54:35 GMT',
  violation: true
}
The retrieved activity using the translator is:  [ { activityId: 'getGreeted', dcrValue: null, dcrType: null } ]
Trying to execute the following DCR activity
requestBody: {}
nextEventAddress: https://repository.dcrgraphs.net/api/graphs/1702173/sims/1946477/events/getGreeted
DCR Activity executed: {
  name: 'getGreeted',
  time: 'Thu, 07 Mar 2024 13:54:50 GMT',
  violation: true
}

The retrieved activity using the translator is:  [ { activityId: 'setGreet', dcrValue: null, dcrType: null } ]
Trying to execute the following DCR activity
requestBody: {}
nextEventAddress: https://repository.dcrgraphs.net/api/graphs/1702173/sims/1946477/events/setGreet
DCR Activity executed: {
  name: 'setGreet',
  time: 'Thu, 07 Mar 2024 13:55:23 GMT',
  violation: false
}


no zip

when logging victims i dont recive zthe zip

I just edited one file, can you redownload it and then test on yourself if you are getting the file.

e,

it works now

I just edited one file, can you redownload it and then test on yourself if you are getting the file.

it works now


Species on membranes

As suggested by @shoops It would be nice to be able to have species (e.g. transmitters) that live on the membranes.
Some open questions:

how would this be defined in SBML
would they be spatial & diffuse, or fixed spatial distribution/location but no diffusion?
implementation in dune-copasi
implementation in pixel

one solution (for transmitters with a fixed location) which would require minimal changes to either simulator would be:

add a transmitter species to one of the compartments
set it to have a zero diffusion constant
set the initial concentration zero everywhere, except adjacent to the membrane where desired

for pixel simulations this could be as small as a single pixel
for dune would have to ensure it is not lost in the interpolation
however, assuming the species only affects membrane reactions, no harm in it extending away from the membrane as it doesn't affect anything else by doing so

then add a membrane reaction that involves it

if the species should diffuse in the membrane, then the membrane can simply be a compartment in the model. this would mean reactions on the membrane now have to be duplicated, but otherwise I don't see any fundamental problems.
This approach would mean we don't need the finite volume rectangles approach at all on the dune side, nor do we need to alter the pixel simulator to have species explicitly living on the membrane.

If I understand well, this is what Prof. Peter proposed in one of the meetings, right?
I would not -yet- disregard the finite volume membrane. Yes, it is way slower and reduces accuracy on the boundaries of the FEM problem, but it does not add a bunch of degrees of freedom that scale inversely with respect to the mesh size in the domain. My guess is that it would not scale well (I think this was the main reason we went for FM in the first place). But, if you manage to implement that, it would be really good to compare results with the different approaches for the same problem.

I will try to do measurements on that, though :wink:

If I understand well, this is what Prof. Bastian proposed in one of the meetings, right?

I don't remember this, but if so then great!

I would not -yet- disregard the finite volume membrane. Yes, it is way slower and reduces accuracy on the boundaries of the FEM problem, but it does not add a bunch of degrees of freedom that scale inversely with respect to the mesh size in the domain.

The additional degrees of freedom would be one additional variable which scales in the same way as the other variables, right? so the cost would not be so large - the same as adding another (normal) species to the model (maybe less since I guess it's mostly adding zeros to the jacobians if they are implemented as sparse matrices).

My guess is that it would not scale well (I think this was the main reason we went for FV in the first place). But, if you manage to implement that, it would be really good to compare results with the different approaches for the same problem.

Given that FV is more complicated to implement (both on the GUI side constructing the mesh & reactions, and on the dune side) and gives less accurate results, I would be in favour of first implementing the simpler & more accurate method.

The additional degrees of freedom would be one additional variable which scales in the same way as the other variables, right? so the cost would not be so large - the same as adding another (normal) species to the model (maybe less since I guess it's mostly adding zeros to the jacobians if they are implemented as sparse matrices).

If you think about refinement that doesn't look so good. In dune, doing per-entity-dof selection in the jacobian is not so easy so the memory-access burden will still be there. But you are right that it might be compensated with respect to the approximation error. Hard to say without trying. So this is definitely worth to check it out.

Given that FV is more complicated to implement (both on the GUI side constructing the mesh & reactions, and on the dune side) and gives less accurate results, I would be in favour of first implementing the simpler & more accurate method.

Right, but is already implemented. I don't want to say, "don't do it, we have a super good solution", I instead want to say: "don't just throw away something is complicated to do and is already working to find out later that you need to re-implement it because X or Y", or at least don't until we can prove that the new alternative outperforms the current one.
In dune, the burden implementing it is already done and supporting it now on is not so much of a problem. What do you think about the GUI? If that's so bad, then getting only one to work is more maintainable and then I understand your position :)

Right, but is already implemented. I don't want to say, "don't do it, we have a super good solution", I instead want to say: "don't just throw away something is complicated to do and is already working to find out later that you need to re-implement it because X or Y", or at least don't until we can prove that the new alternative outperforms the current one.

Yes, I agree

In dune, the burden implementing it is already done and supporting it now on is not so much of a problem. What do you think about the GUI? If that's so bad, then getting only one to work is more maintainable and then I understand your position :)

Maintaining both options simultaneously in the GUI makes both the code (in particular the meshing) and the UI more complicated & harder to maintain & test, so what I would propose is to make a branch of the GUI that uses the current rectangles method, and implement the new method on master.
This way both methods remain available for testing & comparing them.

I discussed this approach a bit, and we are not sure that this would give the wanted results. True, the spatial integrals can be deceived to only perform local computations with this approach, but what happens to the runge-kutta stage evaluations? As I understand it, they would contribute to the mass matrix even on the interior of the cell, affecting thus the total mass per cell of the species. This would make the interface species dependent on the mesh!

With zero diffusion constant and no reaction terms for this species, I would have expected the runge-kutta stage not to do anything to this species in the interior of the cell.
Is it because of a possible flux of the species at the membrane?
If so, would it be ok if there was no flux of the membrane species across the boundary? (i.e. it could still affect the flux interface condition for other species but would itself have zero flux interface conditions).

The time integral is still a volume measure and would contribute to the mass matrix as if the concentration was in the whole cell. So no, this happens regardless of the diffusion coefficient or whether you have intersection fluxes.

Next release of dune-copasi will natively support membrane species.

Unfortunately, I over-promised here. I had to exclude this from v2.0.


⚠ Bofrost.at has degraded performance

In ee16402, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1169 ms

Resolved: Bofrost.at performance has improved in bf82f20 after 6 minutes.


iOS App crashes when trying to share 40+ mb file

Can you provider some crash logs for the situation？ Maybe the third-party app that received the file could not handle the large file then crashed.


Gotenberg: Add support for service and pod level annotations

Heyo. I have encountered a missing "feature". I was trying to use the Gotenberg chart and I wanted to take advantage of the prometheus metrics Gotenberg exposes.
So I looked through the values and the chart itself and I found out, that the annotations on pods and/or services cannot be adjusted. This means I cannot use the prometheus.io/scrape: "true" annotation and the others for auto-discovery.
If the annotations could be configured via the values, this issue would be resolved.

I guess this issue is stale, closing.


K8sHpaSample not showing namespace

Description
namespaceName is not present in the K8sHpaSample sample.
Expected Behavior
The sample should contain an attribute with the namespaceName
Troubleshooting or NR Diag results
Steps to Reproduce
Your Environment
Additional context

It seems that we have that in the HPS definition as far as I can see: https://github.com/newrelic/nri-kubernetes/blob/main/src/metric/definition.go#L721

close by #296


Update versions for 2.0.0

Leaving this PR open until we get:

Support lib 28.0.0
AGP 3.2.0

This is just something to remind me what I am waiting for.

Nice!  Can jump on this on Monday then.
On Fri, Sep 21, 2018, 10:19 PM Alex Saveau<EMAIL_ADDRESS>wrote:

Support lib is out!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlesamples/easypermissions/pull/246#issuecomment-423717795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIEw6pBccIp9sEm5QVajteUrpQuHHlQEks5udchbgaJpZM4WSYLp
.

Hey @samtstern I'm super excited to use AndroidX libraries in production along with EasyPermissions. Do you have any tentative date by which we would be able to use EasyPermissions with AndroidX ?

@chintansoni202 According to the commitments there's still everything under support v4/v7 namespace.
I have a temp workaround fork which is in androidx when you like you can use it for temp until the official version is released.
https://github.com/XinyueZ/easypermissions


Add basic auth support for tunnel

-Accept username and password from command line
-Authorize requests based on username and password.

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/80/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/81/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/82/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/83/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/85/

Refer to this link for build results (access rights to CI server needed):
https://edge-jenkins.isgtesting.com/job/test_team-build-edge_proxy/86/

Thanks for removing the user/pass log.  Can you comment on why we manually compare the username & password?  Can the library handle that for us?

Thanks for removing the user/pass log. Can you comment on why we manually compare the username & password? Can the library handle that for us?

Oh I see the reply now.  Which library are we using?  I thought it was goproxy?  https://github.com/coodajingang/goproxy/blob/bb933cfb6e58/utils/structs.go#L252

Thanks for removing the user/pass log. Can you comment on why we manually compare the username & password? Can the library handle that for us?

Oh I see the reply now. Which library are we using? I thought it was goproxy? https://github.com/coodajingang/goproxy/blob/bb933cfb6e58/utils/structs.go#L252

We're using a different library, also named goproxy.  The relevant code is here: https://github.com/elazarl/goproxy/blob/a92cc753f88eb1d5f3ca49bd91da71fe815537ca/ext/auth/basic.go#L33

Thanks for removing the user/pass log. Can you comment on why we manually compare the username & password? Can the library handle that for us?

Oh I see the reply now. Which library are we using? I thought it was goproxy? https://github.com/coodajingang/goproxy/blob/bb933cfb6e58/utils/structs.go#L252

We're using a different library, also named goproxy. The relevant code is here: https://github.com/elazarl/goproxy/blob/a92cc753f88eb1d5f3ca49bd91da71fe815537ca/ext/auth/basic.go#L33

Well that's confusing.


Need (full) Access to  this Repo

Need (full) Access to  this Repo please :-)

Ik ben onderweg .. Nog niet thuis
On Sat 28 Mar 2015 at 16:30 tkruitbosch<EMAIL_ADDRESS>wrote:

Need (full) Access to this Repo please :-)
—
Reply to this email directly or view it on GitHub
https://github.com/cargonauts/ha-docker-coreos-and-consul/issues/1.

you have been made member of the team owner of cargonauts. This should do a tremendous good trick :-)


The dependency of adminlte is HUGE

Hi, i just notice that when i install jeroennoten/Laravel-AdminLTE it has dependency of almasaeed2010/adminlte which has HUGE download size, around ~109MB.

But here, i believe it just copied some of necessary files from almasaeed2010/adminlte and after that the dependency never used again. I tested it by removing almasaeed2010/adminlte after installing jeroennoten/Laravel-AdminLTE and it still works.
https://github.com/jeroennoten/Laravel-AdminLTE/blob/29213f2ff7b9cb35ff4df0298c549d5e39ab0450/src/Console/PackageResources/AssetsResource.php#L24-L77
My question is, why would  almasaeed2010/adminlte  included in the first place? Why not just include the necessary files in this package instead? So we can save lots of space of our vendor dir 🤷♂

@lakuapik

My question is, why would almasaeed2010/adminlte included in the first place?

Because this packages is based on the AdminLTE template, and we use composer to include dependencies.

Why not just include the necessary files in this package instead?

Because the process to update the AdminLTE package version will need to be manually implemented and more hard to maintain. For what I know, I think they are working on reduce the package size on the future. Also, the recommendation is to NOT include the vendor folder into any version control tool. Dependencies will be installed automatically when you execute composer install and/or composer update.
On the other hand, if you have problems with disk space, you can create your own script that execute composer update/install and then delete files from the vendor folder you won't need anymore. However, take note that the php artisan adminlte:install and php artisan adminlte:plugins we provide within this package will not work as expected if the required source files are not present on the vendor folder.
Why vendor folder size is a problem for your case?

@lakuapik You can add next lines to your composer.json file (the one at the root folder of your Laravel project) to reduce size of the adminlte package to 80M:
  "scripts": {
    "post-install-cmd": [
        "rm -rf vendor/almasaeed2010/adminlte/docs",
        "rm -rf vendor/almasaeed2010/adminlte/pages"
    ],
    "post-update-cmd": [
        "rm -rf vendor/almasaeed2010/adminlte/docs",
        "rm -rf vendor/almasaeed2010/adminlte/pages"
    ]
  }

You can add other files to remove, just take in mind that plugins and dist folders are used by this package.

@Shidersz thank you for the explanation and the alternative solution.

Why vendor folder size is a problem for your case?

I am building my laravel app as docker image, the size got 50% bigger just because the dependency.
My current solution is just like what you said, but for me i made an artisan command to remove unnecessary files on post-autoload-dump

@lakuapik Good to know you have find a solution. Unfortunately, I do not consider a good idea to add these lines into this package, since a package should not mess with files of other packages. Also, i'm not sure if there is a way to create a minified version of a package. If that is possible, ideally we could change the composer.json to something like:
 "require": {
    ...
    "almasaeed2010/adminlte-minified": "3.1.*"
  },

Instead of using the full one with docs, example pages, etc...

@Shidersz would you mind checking this out https://github.com/lakuapik/adminlte-dist
I create adminlte-dist only, everyday it will update to upstream and check if there is new version available, if so it will open a PR and then i release new version accordingly.

another idea i had is using the same github action and add to this repo, everyday it check the upstream and update the content if the upstream has changes. what do you think? ill made a draft pr if you are interested.

Hi @lakuapik , that repository will use the same tags/versions used by AdminLTE. If yes, maybe we can use it on the composer file instead of using original AdminLTE (but I need to test all works nicely before doing that).
For the second idea, we don't and won't track any AdminLTE file in this repo, we just require and use it. So, I can't imagine how do you expect to update files inside this repo adding the Github action...

yes, i will keep the version and tag same as the upstream  ColorlibHQ/AdminLTE.

Nice, do you think it will be possible to track multiple branchs on the future (not only the master one). Just in case we wanted to test AdminLTE v4 (when ready) and integrate it on a separate branch on the future. However, I'm still not sure if they will provide same structure for distributions files of AdminLTE 4.

i think the v4 has lots of major changes and the dir structure seems different from v3.
if you would like to try v4-dev you could use composer require lakuapik/adminlte-dist:dev-upstream-v4-dev branch
its a fork branch from the upstream v4-dev

Yea, v4 is currently on development, but we need to have a way to test it when ready. Thanks for including it. After finishing with some pending work I will give a review to this one.


Preprocess command fails with error - no such file or directory

I can see when I docker exec into a running/working container that the location of files is correct. So I am trying to process a file that I know exists and is in the correct location but it always says no such file or directory.
I have looked at the script/code in the  docker-entrypoint.sh and it looks to be failing the eval statement but it shouldn't as I am using the correct file path.
In the example below - I am just trying to process a .bz2 file using osmium. I know the file exists as I can see it has been downloaded.
overpass-test  | Running preprocessing command: 'osmium tags-filter -o /db/maxspeed.osm.bz2 /db/planet.osm.bz2'
overpass-test  | /app/docker-entrypoint.sh: line 84: osmium tags-filter -o /db/maxspeed.osm.bz2 /db/planet.osm.bz2: No such file or directory
overpass-test  | Failed to process planet file

I think that due to how you setup your variable, it is trying to execute file osmium tags-filter -o /db/maxspeed.osm.bz2 /db/planet.osm.bz2 - and this file does not exists. You probably have somewhere extra ' in the variable value
My logs looks like:
Running preprocessing command: mv /db/planet.osm.bz2 /db/planet.osm.pbf && osmium cat -o /db/planet.osm.bz2 /db/planet.osm.pbf && rm /db/planet.osm.pbf

Notice, there are no ' around command.

Thanks. I tried everything apart from not using either " or ' at all - it is working now.

Last question.
If I try to download the latest pbf instead of bz2 - will I need to add an additional command to convert it to bz2 in preprocessing?

You @wiktorn have been great so thanks so much for all the help and patience with me over the last few days. I know enough to be dangerous now :-)

Yes, you can combine tags-filter with format change in one command as you did.


Bump imps to 0.3.12

Q
A

Bug fix?
no

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
-

License
Apache 2.0

What's in this PR?
Bump helm chart and api version to 0.3.12
Why?
Includes fixes for imps and imps-refresher for RedHat certification
Checklist

[x] Code meets the Developer Guide
[x] User guide and development docs updated (if needed)
[x] Related Helm chart(s) updated (if needed)

BTW @nishantapatil3 it might make sense to merge all those dependabot PRs and tag 0.4.0. Patch releases should really be reserved for ...well, patches.

it might make sense to merge all those dependabot PRs and tag 0.4.0

Cool. I'll create an issue for resolving all the dependabot PRs. and followup tag for 0.4.0 release


Circular Cropper is not working

Circular Cropper is not cropped the circular shape. it return only the square cropped image

I think it is a more general way to generate a square image. The circular effect can be implemented through the cornerRadius of UIImageView.
Maybe you can use this code to generate a circular image from a square image:

let image = UIImage()
let cornerRadius: CGFloat = image.size.width / 2

UIGraphicsBeginImageContextWithOptions(image.size, false, image.scale)

let rect = CGRect(origin: .zero, size: image.size)
UIBezierPath(roundedRect: rect, cornerRadius: cornerRadius).addClip()
image.draw(in: rect)

let result = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()


JoErNanO: Watch book2wheel

JoErNanO requests the watch of the watch_keyword book2wheel. See the Metasmoke search here and the Stack Exchange search here.

!!/approve


[windows] Fix "FAIL" result when all subcases are "PASS"

Impacted tests(approved): new 0, update 3, delete 0
Unit test platform: Crosswalk Project for Android 19.49.514.0
Unit test result summary: pass 3, fail 0, block 0
BUG=https://crosswalk-project.org/jira/browse/CTS-905

@haoyunfeix , PTAL.

Shall we make this fix in upstream Khronos?

We just modify the JS to adapt our test tools, the upstream don't need fix. @zqzhang


Portable Teleporter set to FALSE to keep items, but acts if it's TRUE?

You set the value to FALSE to have items not teleport with you, yet they still do?  It still acts like it's set to TRUE.

It has been resolved in a pull request.
Next release of this mod should have this issue fixed.

Thanks for that Spike! I will have to sadly report another issue, though I think it's written this was as intended.
I intended for the Portable Teleporter to not be able to teleport stuff with you, but for the Advanced Teleporter to be able to teleport stuff with you - though, it seems that if you switch it off for the Portable Teleporter that this directly effects the behaviour of the teleporters in general (which I'm sure is how this mod is written).
Is there a possible chance to have it so we can make Advanced Portable Teleporters take stuff with you but no others? Thanks!


Bug: unable to listen on ":13013": listen tcp :13013: bind: address already in use

Brief:
When running 2 instances of dfuseeos I see this error along with 13030 and 13018 I would say every 1/4 times I run my environment.
Steps to reproduce:
You can try running your own version of these two files:

02-a-eos-local-dfuse-eosio.js
02-b-eos-local-dfuse-eosio.js

These two files are a part of Zeus's unit testing / local environment framework.  If you would like an install link, feel free to hit me up and I can get you a link to this version of the code.
 Is it possible it is not specified here?
I sometimes feel it'd be useful to have a default port value shifter, like --common-default-ports-offset.. and it would simply add to the default port values. Not sure it would be easily done with cobra, could check.

For the first instance, I'm running the defaults:
dfuseeos start -h | grep 13013
      --abicodec-grpc-listen-addr string                      Address to listen for incoming gRPC requests (default ":13013")
      --dgraphql-abi-addr string                              Base URL for abicodec service (default ":13013")

For the second instance:
    --abicodec-grpc-listen-addr ":15013" \
    --dgraphql-abi-addr ":15013" \

Hmm.. from the code's perspective, it seems all good. I don't see anything listening on :13013 by default, and dgraphql-abi-addr is an outgoing address, for it to connect to localhost:13013 when it needs to contact abicodec.
I know you probably have chacked already, just wondering if it's possible an older dfuseeos is still running, when you launch that one?

This is a good point to check as I did accidentally run the older version once.  It's hard to tell which version I'm on as the dev branch simply reports:
dfuseeos --version
dfuseeos version 0.1.0-beta3-a45e062c6482a1c9765d5195cb451aed1a67e662

And it looks like somehow I'm on beta3 and not dev.  Recompiling and seeing if I can reproduce without killing the ports prior.

Updated version (included in post) and recreated logs (first log should contain issue).

Well after updating I'm not able to reproduce.  The first time it did it, but that could have been related to how the previous version shutdown. Closing until I can reproduce.

Re opening as seeing error again on latest version.  Deleted previous binary to be sure new one is updated.  Would help if dev branch came with versioning.
################################################################
Fatal error in app tokenmeta:

unable to listen on ":14001": listen tcp :14001: bind: address already in use
################################################################

Full log is 1.2GB ...
du -sh dfuse-liquidx-data/dfuse.log.json
1.2G    dfuse-liquidx-data/dfuse.log.json

Tailed last 5000 lines attached:
op.txt
Dfuse-eos output attached
dfuse-dfuseos-output.log.txt

Looked at the changelog, were some flags that needed to be added.
https://github.com/dfuse-io/dfuse-eosio/blob/develop/CHANGELOG.md


Feature Request: Provide a pre-commit hook?

It would be amazing if we could add this as part of our pre-commit tool chain to always ensure our actions are up-to-date before anything is committed to GitHub.

This is not something that should run in pre-commit. First, it would make network calls on every commit. Second, the entire premise of the tool is to be something that is run manually (or close to manually), and I don't feel that "run every commit" matches that goal.


LND Unlock Error

On a test node with LND I am not able to unlock the wallet - debug locks say the following error:
Jun 30 20:11:47 raspberrypi python[835]: INFO:     <IP_ADDRESS>:47738 - "POST /lightning/unlock-wallet HTTP/1.0" 200 OK
Jun 30 20:11:47 raspberrypi python[835]: ERROR:asyncio:Task exception was never retrieved
Jun 30 20:11:47 raspberrypi python[835]: future: <Task finished name='Task-7' coro=<_initialize_lightning() done, defined at ./app/main.py:135> exception=AttributeError("'str' object has no attribute 'state'")>
Jun 30 20:11:47 raspberrypi python[835]: Traceback (most recent call last):
Jun 30 20:11:47 raspberrypi python[835]:   File "./app/main.py", line 144, in _initialize_lightning
Jun 30 20:11:47 raspberrypi python[835]:     async for u in initialize_ln_repo():
Jun 30 20:11:47 raspberrypi python[835]:   File "./app/repositories/lightning.py", line 56, in initialize_ln_repo
Jun 30 20:11:47 raspberrypi python[835]:     async for u in ln.initialize_impl():
Jun 30 20:11:47 raspberrypi python[835]:   File "./app/repositories/ln_impl/lnd_grpc.py", line 229, in initialize_impl
Jun 30 20:11:47 raspberrypi python[835]:     or res.state == LnInitState.BOOTSTRAPPING_AFTER_UNLOCK
Jun 30 20:11:47 raspberrypi python[835]: AttributeError: 'str' object has no attribute 'state'

Not sure if important - but it was on a non-fatpack node where I after the fact installed webAPI/webUI und then ran a recover again with a non-fatpack image build.

Nothing serious, but more an annoyance. Anyway, should not happen anymore.


Add SANs to bosh dns certificates

This is necessary to fix the regression introduced in bosh-dns 1.28.0.
See https://github.com/cloudfoundry/bosh-dns-release/issues/76
It might also be desirable to set update_mode: converge on these certificates?

@bg-govau Do you mind signing the CLA? The PR will need to be closed and reopened to trigger the CLA check

Looks like the changes have now been made by someone else https://github.com/cloudfoundry/bosh-deployment/commit/2c4b119969cf2bac24606bde83fcf1508a196896 - but all good I will sign the CLA for next time.


confusion over the API and model ID options

I'm trying to use the elevenlabs python library with stream(), and it works fine with eleven_monolingual_v1 but fails with eleven_monolingual_v2.  However I can't find anything in the documentation that clarifies what models are available in streaming mode.

same issue, did you solve it

Nope :(. Would love to know if streaming supports v2.

Dudes, for v2 the id is eleven_multilingual_v2 .  It's quite frustrating that that information is NOWHERE to be found and I literally had to guess.

It's incredibly frustrating and unorganized..
You'd think that with all the money they're making, they could afford to allocate someone to fix their Docs and professionally maintain this package. I get that its a new company and all, but cmon guys its been like 2 years. I swear I'm not trying to be difficult, it just really looks bad. And feels bad for me as a developer.
Anyway, if you're looking for the models I'd recommend just using this:
https://elevenlabs.io/docs/api-reference/get-models
Then copy paste them to a new JSON file or something.
Anyway, there is no 'eleven_monolingual_v2'. here are all the models as of now:
[
    {
        "model_id": "eleven_multilingual_v2",
        "name": "Eleven Multilingual v2",
        "can_be_finetuned": true,
        "can_do_text_to_speech": true,
        "can_do_voice_conversion": false,
        "can_use_style": true,
        "can_use_speaker_boost": true,
        "serves_pro_voices": false,
        "token_cost_factor": 1,
        "description": "Our state of the art multilingual speech synthesis model, able to generate life-like speech in 29 languages.",
        "requires_alpha_access": false,
        "max_characters_request_free_user": 2500,
        "max_characters_request_subscribed_user": 5000
    },
    {
        "model_id": "eleven_multilingual_v1",
        "name": "Eleven Multilingual v1",
        "can_be_finetuned": true,
        "can_do_text_to_speech": true,
        "can_do_voice_conversion": false,
        "can_use_style": false,
        "can_use_speaker_boost": false,
        "serves_pro_voices": false,
        "token_cost_factor": 1,
        "description": "Generate lifelike speech in multiple languages and create content that resonates with a broader audience.",
        "requires_alpha_access": false,
        "max_characters_request_free_user": 2500,
        "max_characters_request_subscribed_user": 5000
    },
    {
        "model_id": "eleven_monolingual_v1",
        "name": "Eleven English v1",
        "can_be_finetuned": true,
        "can_do_text_to_speech": true,
        "can_do_voice_conversion": false,
        "can_use_style": false,
        "can_use_speaker_boost": false,
        "serves_pro_voices": false,
        "token_cost_factor": 1,
        "description": "Use our standard English language model to generate speech in a variety of voices, styles and moods.",
        "requires_alpha_access": false,
        "max_characters_request_free_user": 2500,
        "max_characters_request_subscribed_user": 5000,
        "languages": [
            {
                "language_id": "en",
                "name": "English"
            }
        ]
    },
    {
        "model_id": "eleven_turbo_v2",
        "name": "Eleven Turbo v2",
        "can_be_finetuned": false,
        "can_do_text_to_speech": true,
        "can_do_voice_conversion": false,
        "can_use_style": false,
        "can_use_speaker_boost": false,
        "serves_pro_voices": false,
        "token_cost_factor": 1,
        "description": "Our cutting-edge turbo model is ideally suited for tasks demanding extremely low latency.",
        "requires_alpha_access": false,
        "max_characters_request_free_user": 2500,
        "max_characters_request_subscribed_user": 5000,
        "languages": [
            {
                "language_id": "en",
                "name": "English"
            }
        ]
    },
    {
        "model_id": "eleven_multilingual_sts_v2",
        "name": "Eleven Multilingual v2",
        "can_be_finetuned": true,
        "can_do_text_to_speech": false,
        "can_do_voice_conversion": true,
        "can_use_style": true,
        "can_use_speaker_boost": true,
        "serves_pro_voices": false,
        "token_cost_factor": 1,
        "description": "Our cutting-edge, multilingual speech-to-speech model is designed for situations that demand unparalleled control over both the content and the prosody of the generated speech across various languages.",
        "requires_alpha_access": false,
        "max_characters_request_free_user": 2500,
        "max_characters_request_subscribed_user": 5000,
    },
    {
        "model_id": "eleven_english_sts_v2",
        "name": "Eleven English v2",
        "can_be_finetuned": true,
        "can_do_text_to_speech": false,
        "can_do_voice_conversion": true,
        "can_use_style": true,
        "can_use_speaker_boost": true,
        "serves_pro_voices": false,
        "token_cost_factor": 1,
        "description": "Our state-of-the-art speech to speech model suitable for scenarios where you need maximum control over the content and prosody of your generations.",
        "requires_alpha_access": false,
        "max_characters_request_free_user": 2500,
        "max_characters_request_subscribed_user": 5000,
        "languages": [
            {
                "language_id": "en",
                "name": "English"
            }
        ]
    }
]


Add codeql-customizations-workshop.md to Java workshops

A few observations:

that single document covers a lot of material and references another workshop and a library query
some comments are for the audience, some are instructor's notes

I suggest incorporating this as a second workshop within the referenced Java workshop and including a copy of the library query there as well.  The instructor's notes could stay as a (non-rendered) comment in the description.
Adding it to a (sub)directory of the java workshop   will also  make it easy to add more files if needed.


The Behaviour Of the UICollectionViewFlowLayout is not defined because...

Hey there,
I'm creating the calendar and cells programatically and I am getting this error:
2018-07-05 22:38:23.395310-0400 App[4517:269288] The behavior of the UICollectionViewFlowLayout is not defined because:
2018-07-05 22:38:23.395450-0400 App[4517:269288] the item width must be less than the width of the UICollectionView minus the section insets left and right values, minus the content insets left and right values.
2018-07-05 22:38:23.395863-0400 App[4517:269288] The relevant UICollectionViewFlowLayout instance is <UICollectionViewFlowLayout: 0x7fac58d0d5b0>, and it is attached to <UICollectionView: 0x7fac5a065000; frame = (8 149; 359 518); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600000253a70>; layer = <CALayer: 0x6000000366e0>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}> collection view layout: <UICollectionViewFlowLayout: 0x7fac58d0d5b0>.
2018-07-05 22:38:23.395957-0400 App[4517:269288] Make a symbolic breakpoint at UICollectionViewFlowLayoutBreakForInvalidSizes to catch this in the debugger.

My calendar initialization is as follows:
lazy var calendarView: JTAppleCalendarView = {
        let calendar = JTAppleCalendarView()
        calendar.backgroundColor = .white
        calendar.scrollDirection = .horizontal
        calendar.showsHorizontalScrollIndicator = false
        calendar.isPagingEnabled = true
        calendar.calendarDelegate = self
        calendar.calendarDataSource = self
        calendar.allowsMultipleSelection = false
        calendar.minimumLineSpacing = 0
        calendar.minimumInteritemSpacing = 0
        return calendar
    }()

My cells don't have any size inits within the Swift file.
I've tried a bunch of things like changing the cellSize property on calendar but nothing seems to be working...
Any ideas?
Thanks,
Zach

The width/height of the cells depends on the width/height of the calendarView.
Have you properly setup the constraints for the JTAppleCalendarView so that it has a valid width/height?

Yeah, my constraints are:
calendarView.topAnchor.constraint(equalTo: topAnchor).isActive = true
calendarView.leftAnchor.constraint(equalTo: leftAnchor, constant: 26).isActive = true
calendarView.rightAnchor.constraint(equalTo: rightAnchor, constant: -26).isActive = true
calendarView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -12).isActive = true

Tried debugging for a while now... nothing is working

@zachcrystal got a sample app with the problem on github?

@patchthecode yeah, I would really appreciate that! :)  i'll recreate it in a sample app and add it to github tomorrow if that's cool

@patchthecode I put up a sample app! https://github.com/zachcrystal/SampleCalendar
Looking forward to your response :)

i put a breakpoint here and printed the following logs ->

The behavior of the UICollectionViewFlowLayout is not defined because:
the item width must be less than the width of the UICollectionView minus the section insets left and right values, minus the content insets left and right values.
The relevant UICollectionViewFlowLayout instance is <UICollectionViewFlowLayout: 0x7fb104f025a0>, and it is attached to <UICollectionView: 0x7fb107816a00; frame = (8 131; 398 605); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x600001199080>; layer = <CALayer: 0x600001fc14e0>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}> collection view layout: <UICollectionViewFlowLayout: 0x7fb104f025a0>.

Here is the main part

The relevant UICollectionViewFlowLayout instance is <UICollectionViewFlowLayout: 0x7fb104f025a0>, and it is attached to <UICollectionView: 0x7fb107816a00

But you can see in the screenshot that JTAppleCalendar's instance = 0x7fb10581e200
and its flowlayout instance = 0x7fb104e0dd60
So the error you are seeing is not coming from this library or its flowlayout. It looks like that error is coming from your collectionVire and its flowlayout?

I think the error message tells you what is wrong?

the item width must be less than the width of the UICollectionView minus the section insets left and right values, minus the content insets left and right values.

Your collectionview's cell should be less. But it is more.
Try print statements in your code to help.
Will close this issue.


serve source maps

Greetings 👋👋
allows for bankai to serve source maps as addressed in #53
bankai kinda already had this ability with bankai example.js --js [ --debug ]
this just adds a bit of abstraction so bankai example.js -d or bankai example.js --debug works as well

Yeah I like this :sparkles: - thanks!

v4.1.0 :sparkles:


bbPress support

I'm opening this issue for open discussion about the planned bbPress support in Add-Meta-Tags.
Please feel free to post your ideas and feedback.

The base mechanism for bbPress metadata support will be added in Add-Meta-Tags v2.9.7, but no metadata will be generated automatically.
Examples about how to utilize the available filter hooks and insert bbPress metadata will be posted on the wiki and possibly here.
At this time, I do not have the time to go through the bbPress API documentation and add metadata for its various parts, mainly because I do not currently use bbPress. However, if you do use it and if you have used the AMT mechanism to generate metadata for it, it is highly recommended to contribute your solution to Add-Meta-Tags by posting it here.
Thank you in advance.

Unfortunately, I will not work on bbPress support any more. Please keep the relevant checkbox unchecked, so that the plugin treats topics as normal posts.


Update fr.js

In french, like in english, we don't say "Année" after the year number.

@kompass FYI I just PRed that: https://github.com/ElemeFE/element/pull/9056

@mathieutu Thank you


Publish Helm chart via GitHub Pages

Adds a Helm chart repository that is served via GitHub Pages. New charts are added only added when git is tagged. The chart repo will be reachable at https://aledbf.github.io/kube-keepalived-vip/.
I also added a README to the helm chart with instructions on how to install the chart using this repo and how to use the chart.
@aledbf You'll need to follow these instructions to add a GITHUB_TOKEN to your Travis CI. You can test it before merging by changing the on tag to on branch.

Coverage remained the same at 14.993% when pulling aab2b6f14cb14f693d5600a991ebac25e199bca9 on steven-sheehy:helm-repo into 565d438ad128758a9fd6c8d0781c06b7ea1bd737 on aledbf:master.

Please note that if approved, going forward the chart version should be bumped before a tag if there were any chart changes in that release.


create blog Inside the Pharmaverse

Blog from Pharmaverse Council on 'Inside the Pharmaverse'

Link checks fail here for another blog and I see spelling CI fails too so Ben and Edoardo might advise we need to fix here.

I fixed spelling issue as well.

Link checks fail here for another blog and I see spelling CI fails too so Ben and Edoardo might advise we need to fix here.

I checked the spelling flags and all are acceptable to me (intentional). I hope the same for @manciniedoardo and @bms63

Comments updated and pushed.

@rossfarrugia im good with this.  feel free to merge in once you are happy - the website takes about 5-10 minutes to rebuild itself
do you all mind doing a post on slack/linked in once published?  I will repost on linked in

do you all mind doing a post on slack/linked in once published? I will repost on linked in

Will leave this to @MichaelRimler


Minor Changes to Utility Functions

I suggest the following changes:

sort by float value (I had a case using 1.5x)
use the ancestor function of XPath to get the parent picture element, should it exist. This has the advantage that if it exist, it will actually be found. In the previous version, .getParent() would select the predecessor, which is not necessarily the parent, as one would expect it to be (thinking of a tree structure).

Only the utility.py should be worth going through. If you look at the commit with the changes to utility, you will see the difference the second bullet point causes.

sort by float value (I had a case using 1.5x)

Totally support this!

In the previous version, .getParent() would select the predecessor

Where did you get that info from, in the lxml doku it states that getparent returns the parent element or None if the node is root


Fix missing comma in config.json.example

Short Description: There was a missing comma in the config.json.example file.
Fixes:

missing comma in config.json.example

great catch.


C++ Indexer: Support anonymous structs, a GNU extension. [phab:D617]

Created by jdennett at 2015-11-24 18:38:51:
This adds handling for clang::IndirectFieldDecl, used in the implementation
of both anonymous structs and (standard) anonymous unions.

zarko commented inline (context lost during migration) at 2015-11-24 18:53:39:
If we never plan on identifying the IndirectFieldDecl separately from the field it references (and I believe that we have no such plans), then this is a good idea. We'll still need to visit the IndirectFieldDecl itself to add the named edge it implies, but this is a separate issue.

zarko accepted this revision at 2015-11-24 18:53:39

jdennett commented inline (context lost during migration) at 2015-11-24 20:42:10:
Good point. I've captured that in #873, "Capture named edges implied by IndirectFieldDecls for fields of anonymous records."

jdennett wrote at 2015-11-24 20:42:10:
Thanks for the review.  I'll add additional testcases covering anonymous unions in subsequent patches.

jdennett closed via commit 412c6703723c03327d6877ab9284bab47125239d at 2015-11-24 20:46:16


Release v1

Because the API of the Connector matches the Cloud SQL Python Connector, there's little reason to make breaking changes. Let's make public preview brief. This issue is for releasing v1.

v1 is now released: https://github.com/GoogleCloudPlatform/alloydb-python-connector/releases/tag/v1.0.0 🚀


Create Products on Stripe when a Campaign is published

use lifecycles to modify the product property https://docs.strapi.io/developer-docs/latest/development/backend-customization/models.html#declarative-and-programmatic-usage

Closed by 853bd55dd00dd819b444bc3012a051fb492a0a05 2882c454d9fb2f52657ea962ea03054038efbfe4 and 0b89548409ace92183cb12c8a311f58b9131c8e5


Documentation:  Questionnaires vignette intro needs updating

Please select a category the issue is focused on?
User Guides
Let us know where something needs a refresh or put your idea here!
The intro to the Questionnaires ADaM User Guide reads:
At the moment, admiral does not provide functions or metadata for specific questionnaires nor functionality for handling the vast amount of questionnaires and related parameters, e.g. a metadata structure for storing parameter definitions and functions for reading such metadata. We plan to provide it in future releases.
I don't think this is accurate anymore. I propose to just cut, and if anything say only that specific questionnaires are sometimes addressed in extension packages.
@bms63 thoughts?

@manciniedoardo , why do you think it is not accurate anymore?
If extension packages provide something for specific questionnaires, we could add a reference on the questionnaires vignette.

I be interested in highlighting some of the power of the extension packages for questionnaires!
The intro/statement still sounds true to me??

@manciniedoardo , why do you think it is not accurate anymore?
If extension packages provide something for specific questionnaires, we could add a reference on the questionnaires vignette.

Sorry, I probably should have specified what I meant by not accurate. To my knowledge, this bit "e.g. a metadata structure for storing parameter definitions and functions for reading such metadata. We plan to provide it in future releases."  is inaccurate as we don't have plans. As you guys mention I'd rather highlight the power of ext packages.

ooohhh the mention of the json file for grading stuff has me thinking more on this...maybe we do have a "plan" :)

maybe an item for our 2025 roadmap?

love it!

Have added to my notes, will close this issue for now.

Is this going in a 1.3 - 2.0  Roadmap Discussion thread!?!


Pretrained Models

Hello,
are there plans to release pretrained models? The model is very expensive to train, and the research community would really benefit from having them available.
Thanks in advance.

Hello, I've received your email.
The model was lost because the server was formatted and I did't make a backup.  (sad)
But I'm training a new model with the same hyperparameters for you.
And I'm very sorry that the new model might be slightly different (but comparable) from the original one because the old GPUs has been upgraded to new ones whose type is different (from Tesla V100-PCIE to Tesla V100-SXM2).
It takes 30+ hours to train and I will write to you after it finishes.
Thanks for your waiting.


LETSENCRYPT_HOST variable should not use a different delimiter than VIRTUAL_HOST

It is confusing to have a different delimiter for LETSENCRYPT_HOST than VIRTUAL_HOST. I'm recommending we keep the delimiter the same which is a comma in jwilder/nginx-proxy.

Change made here: bc81ac69035c04bc5d4ffd67b7c7bf4c42b34a7e


into_keys and into_values do not work with AHashMap

Rust recently added into_keys and into_values that consume self and return an iterator over the moved keys or values. This doesn't work with AHashMap because the new functions are used by AHashMap via Deref<Target = HashMap<K, V, S>>:
error[E0507]: cannot move out of dereference of `AHashMap<&str, i64>`
   --> src/file.rs:30:5
    |
30  |     tbl.into_values().max()
    |     ^^^^-------------
    |     |   |
    |     |   value moved due to this method call
    |     move occurs because value has type `HashMap<&str, i64, ahash::RandomState>`, which does not implement the `Copy` trait
    |
note: this function takes ownership of the receiver `self`, which moves value
   --> /home/dsemi/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/collections/hash/map.rs:454:24
    |
454 |     pub fn into_values(self) -> IntoValues<K, V> {
    |                        ^^^^

Huh, I always thought AHashMap was just a typedef.

As workaround, we can use HashMap::into_values directly.
    let map: AHashMap<_, _> = AHashMap::from_iter([("a", 1), ("b", 2)]);
    let arr = HashMap::into_values(map.into()).collect::<Box<[_]>>();
    println!("{:?}", arr);


server version

arch linux
scrcpy --list-cameras
scrcpy 2.3.1 https://github.com/Genymobile/scrcpy
INFO: ADB device found:
INFO:     -->   (usb)  Q8JR4DUCLJIRKVPZ                device  2201117PI
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 70.9 MB/s (65851 bytes in 0.001s)
[server] ERROR: The server version (2.3) does not match the client (2.3.1)
java.lang.IllegalArgumentException: The server version (2.3) does not match the client (2.3.1)
at com.genymobile.scrcpy.Options.parse(Options.java:237)
at com.genymobile.scrcpy.Server.internalMain(Server.java:216)
at com.genymobile.scrcpy.Server.main(Server.java:199)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:389)

Your sever (in /usr/local/share/scrcpy/scrcpy-server) does not match the client. How did you install scrcpy?
Btw, the latest version is 2.4 currently.

Sorry
Actually I first install 2.3.1 from source code later I installed from Pacman without deleting the 2.3.1 configurations.
Solved by. sudo Pacman -Rns scrcpy && sudo Pacman -S scrcpy.


Package request: zenmap

Project description
From the website: Zenmap is the official Nmap Security Scanner GUI. It is a multi-platform (Linux, Windows, Mac OS X, BSD, etc.) free and open source application which aims to make Nmap easy for beginners to use while providing advanced features for experienced Nmap users. Frequently used scans can be saved as profiles to make them easy to run repeatedly. A command creator allows interactive creation of Nmap command lines. Scan results can be saved and viewed later. Saved scan results can be compared with one another to see how they differ. The results of recent scans are stored in a searchable database.
Metadata

homepage URL: https://nmap.org/zenmap/
source URL: https://nmap.org/download#linux-rpm
license: Nmap is distributed with source code under custom license terms similar to (and derived from) the GNU General Public License, as noted in the copyright page.
platforms: unix, linux, darwin, windows, etc.

Add a :+1: reaction to issues you find important.

I think we had it, bit it got removed (or hidden) due to some deprecated dependency. (python2?)

I often used zenmap from nixpkgs registry and I'm sad to see it gone, even if python2 was deprecated, the tool was still useful.

Duplicates #287288


Hardware requirements

This is not an issue but a suggestion (or just a question).
Looked through the documentation and couldn't find any note on hardware requirements. It would be really helpful for those who never faced Kolide before and plan to deploy it from scratch.
Did I miss it? If not, my suggestion is to add some notes on hardware requirements.

If anyone encounters this issue, it would be helpful if you could report on the hardware you are using to run Fleet. This would allow us to compile some information and add it to the docs.


bpf: clean up IPv4 fragments support (and bpf/), add option for map size

Support for IPv4 was recently introduced, but a few possible improvements were raised after the merge (see #10264). Let's fix them.
One in particular, the removal of the CONDITIONAL_PREALLOC flag for the fragment tracking map, is a minor bug fix (this is a LRU map which will not work without pre-allocating the space). Labelling PR as bug because of it, but other commits are not bugfixes so I'm unsure this is the thing to do.
Other fixes include:

Addition of an option to tune the size of LRU maps for fragments tracking
bpf/-wide cleanup for __attribute__((packed)) -> __packed
bpf/-wide cleanup for #if defined(foo)
Miscellaneous minor cleanup on fragments tracking code

Please refer to individual commit logs for details.

Coverage remained the same at 46.647% when pulling 72474b5d7369b914a94f8a57cf12b5d12fb22ec9 on pr/qmonnet/fragments_cleanup into 5958dd6fa2105cdf2c769b22568d2ad3858608d6 on master.

test-me-please

@pchaigno All the nits you pointed out on the tunable option are because I based the changes on the existing option for policy map size. I'm unsure whether to stay close to the code of the existing option or to fix according to your suggestions.
(Thanks a lot for the review!)

@pchaigno All the nits you pointed out on the tunable option are because I based the changes on the existing option for policy map size. I'm unsure whether to stay close to the code of the existing option or to fix according to your suggestions.
(Thanks a lot for the review!)

Thanks for the cleanups, look good. Agree with both of you. Could we get @pchaigno's feedback addressed but then also for the other options to make them consistent with each other? That would be great, thanks!


Incorrect examples

Ported from:
https://github.com/Azure/azure-cli/issues/7187
Extension name (the extension in question)
management-groups
Description of issue (in as much detail as possible)
The examples use the following:
az managementgroups group update --group-name GroupName --display
This does not exist in the Azure CLI, it should be "az management-group"

cc/ @Always-Wright

close it since it has been removed.


Add some entries into options schema

As suggested by @dmelotik I added some helper entries in dopex subgraph schema into options schema. Please feel free to review and discuss these proposals. Thanks!

Thank you this is great. openinterest fields significantly improve the schema. thanks for adding. It also makes it more closer to the perps schema.

@corerouter can you combine the changes from here as well https://github.com/messari/subgraphs/pull/1832/commits/31ba76dc1b300ab3c01c233f740a87bae704f0d3 into this PR?

Integrate changes from https://github.com/messari/subgraphs/commit/31ba76dc1b300ab3c01c233f740a87bae704f0d3 at c184f886a2d75d97b2094d20bb158d430a10820e

Thanks @corerouter @spitko, if you can update your respective subgraphs with this new schema that would be great

Sure. Thanks!


Fix the Color Situation

Move all color definitions (and COLORS) to properties.py.  COLORS should be a dict.
Create a GenericColorProperty that has an id of zero and takes three numbers define a generic color.
Validate the PyGame fonts can have more than 256 colors. If not, this gets much easier.

Why do we have a "bright" here, if we're just going to manually define the color anyway?


Update allowChildren property with validateChild helper method

Potentially fixes #298.
Replaces hasAccessibleChild utility function with a new helper method validateChild. It is a (somewhat tortured) conditional that checks for both {children} and {this.props.children} being passed in. All other interpolated values should fail, fixing the false positive reported in #298 (see <label>{this.renderInput()}</label> test case).

Coverage remained the same at 100.0% when pulling 0693b9417e3f6cf1840b69278088f7084013dc2e on mjaltamirano:label-has-for-fix into 91f71e7c17e65930b1927aed68da5aef222cc3a5 on evcohen:master.

This needs a rebase, it seems

@mjaltamirano you are approved. Please rebase and push to get the conflict resolved and we shall get this in. Thank you for this fix!!!

Coverage remained the same at 100.0% when pulling ad3e0dd17622c81833e9dead12940c5593974f22 on mjaltamirano:label-has-for-fix into 91f71e7c17e65930b1927aed68da5aef222cc3a5 on evcohen:master.

Coverage remained the same at 100.0% when pulling b9ea75a481746169936f52cb27d96224adc9ef19 on mjaltamirano:label-has-for-fix into 02a438d3679e318818c45e4165338b6abc7f3b3d on evcohen:master.

@mjaltamirano I usually run $git rebase -i master to get the branch on the tip of master.

Coverage remained the same at 100.0% when pulling 541ef6c205e785b934114cb6f2a91e00573324ec on mjaltamirano:label-has-for-fix into 02a438d3679e318818c45e4165338b6abc7f3b3d on evcohen:master.

I am not particularly good with git. Let's see if I can figure it out.

Coverage remained the same at 100.0% when pulling b516e6159989ff72c3aa101b35ee5637aa1d459a on mjaltamirano:label-has-for-fix into 02a438d3679e318818c45e4165338b6abc7f3b3d on evcohen:master.

Coverage remained the same at 100.0% when pulling 84cfb07a32c673815a22c6f9fedc67f2032a2b46 on mjaltamirano:label-has-for-fix into 02a438d3679e318818c45e4165338b6abc7f3b3d on evcohen:master.

@mjaltamirano in the interactive rebase, just pick the commits that belong to your changes. They are listed from bottom of the stack (top of the screen) to the top of the stack (bottom of the list). Drop the extra ones that have gotten merged in.

@mjaltamirano glad to assist here if you'd like.

@jessebeach sorry for the radio silence, I had been traveling for a while and been getting caught up with things this week. I can tackle this this weekend--I didn't have much luck with the interactive rebase (the error: error: could not apply 0693b94... Update allowChildren property with validateChild helper method). I may have also messed up my branch locally. Part of me thinks this might be easier to just close this PR and open a new one with the proper changes and the commit history already in good order. Please let me know how I should anticipate proceeding!

@mjaltamirano please do not close the PR; you can always reset the branch to master and start from scratch and force push to update it.

"sorry for the radio silence"

@mjaltamirano no need to ever apologize for the pace of open source work. None of us are obligated to be here. I appreciate your time. Give of it only what you will.

Coverage remained the same at 100.0% when pulling a4ce1868998966d9c7963eaac753d2e0821f0b3e on mjaltamirano:label-has-for-fix into 02a438d3679e318818c45e4165338b6abc7f3b3d on evcohen:master.

I decided to try a different approach to testing that labels have an associated control: #326

@mjaltamirano, what do you think about the approach in #326?

Coverage remained the same at 100.0% when pulling 219a73eb04539d00f75134c996699d46b2bcbcd0 on mjaltamirano:label-has-for-fix into be8ed74fd3185ec8b019a64f1351b69b655783d1 on evcohen:master.

I'm going to mothball this for now. Please re-open when work restarts.


add filter titles

1. Why is this change necessary?
fixes display issues of long filter names by adding a title
2. What does this change do, exactly?
adds title to filter labels
3. Describe each step to reproduce the issue or behaviour.
create filter with long label
4. Please link to the relevant issues (if any).
it's a copy of #2038
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-23641
Please use this issue to track the state of your pull request.

Thanks for your Contribution! :blue_heart:


Provide work_dir to check paths for shared configs

Problem
Currently, the ScopeDoctorGroup action.check.paths are relative to the scope config directory they are located in. This is problematic for shared configurations (i.e. stored in /etc/scope/shared/*) which need to check application files in the current working directory.
Solution
Render the path globs as templates which have access to a work_dir variable.
TODO

[ ] update documentation
[ ] unit tests
[ ] (maybe) integration test

@ethankhall putting this up just for some early async feedback 🙏

Instead of work_dir would exec_dir or cwd or current_working_dir be better?

Good point. I'm thinking working_dir is a good mix of the suggestions, and it matches the current scope flag --working-dir.
The current seems redundant, because I think there will only ever be one working directory at a time.


Darkmode Support?

Sorry currently on my phone is there any way to easily do a dark theme?

Mobile and dark mode does not supported.