Overall System Prompt

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have checked #657 to validate if my issue is covered by community support

Describe the issue
Where can I edit the overall system prompt. I want to customize GraphRAG's final output. Example I want the final output to be only in Burmese language.
Steps to reproduce
No response
GraphRAG Config Used
# Paste your config here

Logs and screenshots
No response
Additional Information

GraphRAG Version:
Operating System:
Python Version:
Related Issues:

Please Note I have tried the auto tuning using two followings but it didn't work.
python -m graphrag.prompt_tune --root /path/to/project --domain "Microbiology" --method random --limit 10 --language Myanmar --max-tokens 2048 --chunk-size 256 --no-entity-types --output /path/to/output

python -m graphrag.prompt_tune --root /path/to/project --domain "Microbiology" --method random --limit 10 --language Burmese --max-tokens 2048 --chunk-size 256 --no-entity-types --output /path/to/output

It looks like --language field doesn't work, try without it instead.

Hi @John-Nuos
What version were you using?
We just released 0.2.0, which includes the --language parameter. If it was on 0.1.1 that would've failed

thanks for your reply. I will check tomorrow if I am using latest version.
I just pip install to my virtual environment.
On Thu, Jul 25, 2024 at 11:56 PM Alonso Guevara @.***>
wrote:

Hi @John-Nuos https://github.com/John-Nuos
What version were you using?
We just released 0.2.0, which includes the --language parameter. If it was
on 0.1.1 that would've failed
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/graphrag/issues/706#issuecomment-2250980257,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIC5KKZTHUGC2K472MD3WMLZOEU5BAVCNFSM6AAAAABLN2RG3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJQHE4DAMRVG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey, you can add the system prompt to your Local Search function,
e.g:
search_engine = LocalSearch(
llm=llm,
context_builder=context_builder,
system_prompt = LOCAL_SEARCH_SYSTEM_PROMPT,
token_encoder=token_encoder,
llm_params=llm_params,
context_builder_params=local_context_params,
response_type="multiple paragraphs",
)
The default prompt looks like this, but you can simply alter it to produce answers in your preferred language:
`"""Local search system prompts."""
LOCAL_SEARCH_SYSTEM_PROMPT = """
---Role---
You are a helpful assistant responding to questions about data in the tables provided.
---Goal---
Generate a response of the target length and format that responds to the user's question, summarizing all information in the input data tables appropriate for the response length and format, and incorporating any relevant general knowledge.
If you don't know the answer, just say so. Do not make anything up.
Points supported by data should list their data references as follows:
"This is an example sentence supported by multiple data references [Data:  (record ids);  (record ids)]."
Do not list more than 5 record ids in a single reference. Instead, list the top 5 most relevant record ids and add "+more" to indicate that there are more.
For example:
"Person X is the owner of Company Y and subject to many allegations of wrongdoing [Data: Sources (15, 16), Reports (1), Entities (5, 7); Relationships (23); Claims (2, 7, 34, 46, 64, +more)]."
where 15, 16, 1, 5, 7, 23, 2, 7, 34, 46, and 64 represent the id (not the index) of the relevant data record.
Do not include information where the supporting evidence for it is not provided.
---Target response length and format---
{response_type}
---Data tables---
{context_data}
---Goal---
Generate a response of the target length and format that responds to the user's question, summarizing all information in the input data tables appropriate for the response length and format, and incorporating any relevant general knowledge.
If you don't know the answer, just say so. Do not make anything up.
Points supported by data should list their data references as follows:
"This is an example sentence supported by multiple data references [Data:  (record ids);  (record ids)]."
Do not list more than 5 record ids in a single reference. Instead, list the top 5 most relevant record ids and add "+more" to indicate that there are more.
For example:
"Person X is the owner of Company Y and subject to many allegations of wrongdoing [Data: Sources (15, 16), Reports (1), Entities (5, 7); Relationships (23); Claims (2, 7, 34, 46, 64, +more)]."
where 15, 16, 1, 5, 7, 23, 2, 7, 34, 46, and 64 represent the id (not the index) of the relevant data record.
Do not include information where the supporting evidence for it is not provided.
---Target response length and format---
{response_type}
Add sections and commentary to the response as appropriate for the length and format. Style the response in markdown.
"""`
https://github.com/microsoft/graphrag/blob/main//graphrag/query/structured_search/local_search/system_prompt.py

Hey, you can add the system prompt to your Local Search function,
e.g:
search_engine = LocalSearch(
llm=llm,
context_builder=context_builder,
system_prompt = LOCAL_SEARCH_SYSTEM_PROMPT,
token_encoder=token_encoder,
llm_params=llm_params,
context_builder_params=local_context_params,
response_type="multiple paragraphs",
)
The default prompt looks like this, but you can simply alter it to produce answers in your preferred language:
`"""Local search system prompts."""
LOCAL_SEARCH_SYSTEM_PROMPT = """
---Role---
You are a helpful assistant responding to questions about data in the tables provided.
---Goal---
Generate a response of the target length and format that responds to the user's question, summarizing all information in the input data tables appropriate for the response length and format, and incorporating any relevant general knowledge.
If you don't know the answer, just say so. Do not make anything up.
Points supported by data should list their data references as follows:
"This is an example sentence supported by multiple data references [Data:  (record ids);  (record ids)]."
Do not list more than 5 record ids in a single reference. Instead, list the top 5 most relevant record ids and add "+more" to indicate that there are more.
For example:
"Person X is the owner of Company Y and subject to many allegations of wrongdoing [Data: Sources (15, 16), Reports (1), Entities (5, 7); Relationships (23); Claims (2, 7, 34, 46, 64, +more)]."
where 15, 16, 1, 5, 7, 23, 2, 7, 34, 46, and 64 represent the id (not the index) of the relevant data record.
Do not include information where the supporting evidence for it is not provided.
---Target response length and format---
{response_type}
---Data tables---
{context_data}
---Goal---
Generate a response of the target length and format that responds to the user's question, summarizing all information in the input data tables appropriate for the response length and format, and incorporating any relevant general knowledge.
If you don't know the answer, just say so. Do not make anything up.
Points supported by data should list their data references as follows:
"This is an example sentence supported by multiple data references [Data:  (record ids);  (record ids)]."
Do not list more than 5 record ids in a single reference. Instead, list the top 5 most relevant record ids and add "+more" to indicate that there are more.
For example:
"Person X is the owner of Company Y and subject to many allegations of wrongdoing [Data: Sources (15, 16), Reports (1), Entities (5, 7); Relationships (23); Claims (2, 7, 34, 46, 64, +more)]."
where 15, 16, 1, 5, 7, 23, 2, 7, 34, 46, and 64 represent the id (not the index) of the relevant data record.
Do not include information where the supporting evidence for it is not provided.
---Target response length and format---
{response_type}
Add sections and commentary to the response as appropriate for the length and format. Style the response in markdown.
"""`
https://github.com/microsoft/graphrag/blob/main//graphrag/query/structured_search/local_search/system_prompt.py

Does Graphrag support adding a system prompt during the  graphrag.index  process? When I import documents from different companies, their information gets mixed up. For example, when querying employees or related information of Company A, it returns information about Company B. So I am thinking if it's possible to add some metadata through a system prompt.

Does Graphrag support adding a system prompt during the  graphrag.index  process? When I import documents from different companies, their information gets mixed up. For example, when querying employees or related information of Company A, it returns information about Company B. So I am thinking if it's possible to add some metadata through a system prompt.

There are many different LLM calls in the indexing process so it would take quite a bit of work to make an injectable system prompt for each.

I have the same request.
It would be nice to be able to modify LOCAL_SEARCH_SYSTEM_PROMPT, MAP_SYSTEM_PROMPT and REDUCE_SYSTEM_PROMPT the same way I can modify the prompts in the prompts folder that appears after the --init command. This is necessary because my main prompts are not in English, and since the system prompts I described above are in English, LLM sometimes responds in English, which I don't need.


Information out of date

in ~/neovim/runtime/doc/insert.txt line 47,
http://georgevreilly.com/vim/ctags.html
This page is not exist(404 not found).

next time please mention the vim runtime :)
anyway, as I said on the neovim tracker, I posted a patch here:
https://groups.google.com/d/msg/vim_dev/1a74UP8j1y4/oKuFaL5fAgAJ
(I'll keep this open and let Bram close it once he has merged the runtime file update).

Included Christian's patch


xml2kvp: ignore elements by name

similar to skipping attributes, would be handy to ignore elements as well

Done.


Add an option to use a NDC range between 0..1 instead of -1..1

WebGPU is using a NDC range of 0..1.
This PR adds a property to the engine that allows WebGPU to use the native range and get rid of some conversions.
It also allows to use the reverse depth buffer option to fix some precision problems when geometries are too close. See https://playground.babylonjs.com/#67JFXI#5 => in WebGPU, the two planes won't flicker.
[EDIT] Also synced with WebGPU spec.

The WebGL1 validation test error is probably a transient error, it is a 3mn timeout on the "DDS" test.

Also I am wondering why some of the render changed as well as the PGs ?

The two PGs that are changed are because the camera.minZ was very low (0.01), and when enabling the reverse depth buffer mode there were some differences because of that. I set minZ to 0.1 and the same picture works both for the normal/reverse depth buffer modes.

I ll merge after my npm release :-)


Settings role stoped working, 1.0.0 version error

I had been using a acsys script to make settings with the role "testing" successfully for the last few days. Today when I try the same code I get a [17 -17] console class error when running dpm.enable_settings(role="testing"). I tried upgrading acsys from 0.11.4 to 1.0.0. Now I get the following stacktrace trying to connect to ACNET:
Traceback (most recent call last):
  File "loss_generator.py", line 225, in <module>
    LossGenerator(args.config_file_path,
  File "loss_generator.py", line 74, in __init__
    devices_detuner.detune_devices(enable_settings)
  File "loss_generator.py", line 194, in detune_devices
    acsys.run_client(run)
  File "/Users/kjh/.local/lib/python3.8/site-packages/acsys/__init__.py", line 818, in run_client
    loop.run_until_complete(client_fut)
  File "/Users/kjh/opt/anaconda3/lib/python3.8/site-packages/nest_asyncio.py", line 96, in run_until_complete
    return f.result()
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/futures.py", line 178, in result
    raise self._exception
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/tasks.py", line 280, in __step
    result = coro.send(None)
  File "/Users/kjh/.local/lib/python3.8/site-packages/acsys/__init__.py", line 795, in __client_main
    await main(con, **kwargs)
  File "loss_generator.py", line 110, in run
    async with acsys.dpm.DPMContext(connection) as dpm:
  File "/Users/kjh/.local/lib/python3.8/site-packages/acsys/dpm/__init__.py", line 783, in __aenter__
    await self.dpm.connect()
  File "/Users/kjh/.local/lib/python3.8/site-packages/acsys/dpm/__init__.py", line 377, in connect
    await asyncio.wait_for(con_fut, 2000)
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/tasks.py", line 483, in wait_for
    return fut.result()
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/futures.py", line 178, in result
    raise self._exception
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/tasks.py", line 282, in __step
    result = coro.throw(exc)
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/base_events.py", line 986, in create_connection
    infos = await self._ensure_resolved(
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/base_events.py", line 1365, in _ensure_resolved
    return await loop.getaddrinfo(host, port, family=family, type=type,
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/base_events.py", line 825, in getaddrinfo
    return await self.run_in_executor(
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/futures.py", line 260, in __await__
    yield self  # This tells Task to wait for completion.
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/tasks.py", line 349, in __wakeup
    future.result()
  File "/Users/kjh/opt/anaconda3/lib/python3.8/asyncio/futures.py", line 178, in result
    raise self._exception
  File "/Users/kjh/opt/anaconda3/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/kjh/opt/anaconda3/lib/python3.8/socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
OSError: Int or String expected

I've downgraded to 0.11.4 but the [17 -17] persists.

For v1.0.0, don't pass the ACNET connection to DPMContext. It now takes an optional port value.

Is there any chance you have the logger on and know what DPM you connected to? We are investigating now.

@beauremus
2021-06-21 10:22:07 INFO: connected to ACSys with handle %43712
2021-06-21 10:22:07 INFO: using DPM task: DPMD@DPM07
2021-06-21 10:22:07 INFO: DPM returned list id 61771

This turned out to be a bug in how the username is resolved to a console_user_id in the control system database. A user who was in the settings database was removed from the Fermilab system recently, and when I resynced the settings database with the DPMs, it caused an issue with resolving the console_user_id from a user name.
Removing the user from the settings database is the quick fix. The long-term fix is to handle the exception of not finding the given user.


discovery_cache module not packaged during installation.

I've installed google-api-python-client from source, but when at some point my application was failing with this message:
  ...
  ...
  File "build/bdist.linux-x86_64/egg/oauth2client/util.py", line 142, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "build/bdist.linux-x86_64/egg/googleapiclient/discovery.py", line 193, in build
    content = _retrieve_discovery_doc(requested_url, http, cache_discovery, cache)
  File "build/bdist.linux-x86_64/egg/googleapiclient/discovery.py", line 215, in _retrieve_discovery_doc
    from . import discovery_cache
ImportError: cannot import name discovery_cache

I've checked if discovery_cache module was actually part of the egg, and unfortunately it was not:
[root@e42fb97ce657 unit]# python
Python 2.7.5 (default, Jun 24 2015, 00:41:19)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import googleapiclient.discovery_cache
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named discovery_cache
>>>

Here are all the files in egg
[root@e42fb97ce657 ~]# unzip -l /usr/lib/python2.7/site-packages/google_api_python_client-1.4.1-py2.7.egg
Archive:  /usr/lib/python2.7/site-packages/google_api_python_client-1.4.1-py2.7.egg
  Length      Date    Time    Name
---------  ---------- -----   ----
     1169  09-03-2015 16:09   apiclient/__init__.py
     1301  09-03-2015 16:09   apiclient/__init__.pyc
        1  09-03-2015 16:09   EGG-INFO/dependency_links.txt
       62  09-03-2015 16:09   EGG-INFO/requires.txt
       26  09-03-2015 16:09   EGG-INFO/top_level.txt
      969  09-03-2015 16:09   EGG-INFO/PKG-INFO
        1  09-03-2015 16:09   EGG-INFO/zip-safe
      545  09-03-2015 16:09   EGG-INFO/SOURCES.txt
    53575  09-03-2015 16:09   googleapiclient/http.py
     9910  09-03-2015 16:09   googleapiclient/channel.py
    40890  09-03-2015 16:09   googleapiclient/discovery.py
     9907  09-03-2015 16:09   googleapiclient/schema.pyc
      620  09-03-2015 16:09   googleapiclient/__init__.py
     9317  09-03-2015 16:09   googleapiclient/schema.py
    11830  09-03-2015 16:09   googleapiclient/model.py
     4047  09-03-2015 16:09   googleapiclient/sample_tools.py
     6552  09-03-2015 16:09   googleapiclient/mimeparse.py
    53976  09-03-2015 16:09   googleapiclient/http.pyc
     7043  09-03-2015 16:09   googleapiclient/mimeparse.pyc
     6333  09-03-2015 16:09   googleapiclient/errors.pyc
     3131  09-03-2015 16:09   googleapiclient/sample_tools.pyc
     3622  09-03-2015 16:09   googleapiclient/errors.py
    35534  09-03-2015 16:09   googleapiclient/discovery.pyc
    14028  09-03-2015 16:09   googleapiclient/model.pyc
      175  09-03-2015 16:09   googleapiclient/__init__.pyc
    10690  09-03-2015 16:09   googleapiclient/channel.pyc
---------                     -------
   285254                     26 files
[root@e42fb97ce657 ~]#

As a workaround I had to add googleapiclient/discovery_cache to the packages in setup.py so it looked like that:
[root@e42fb97ce657 google-api-python-client]# more setup.py | grep packages -A 4 -m1
packages = [
    'apiclient',
    'googleapiclient',
    'googleapiclient/discovery_cache'
]

Then installed and everything magically started working.
[root@e42fb97ce657 google-api-python-client]# python
Python 2.7.5 (default, Jun 24 2015, 00:41:19)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import googleapiclient.discovery_cache
>>>

Here is a quick sample that looks similar to my environment using Docker:
FROM centos:centos7

RUN yum install -y git python-devel python-setuptools unzip
RUN easy_install pip
RUN cd /tmp ;\
    git clone https://github.com/google/google-api-python-client && \
    cd google-api-python-client && \
    python setup.py install

I've also tried to follow preferred suggestion from the README.md and install it from pip but it ended up in the same situation.
Please advice on how to proceed without making "manual" modifications to the official package?

@tmatsuo, what do you make of this report?

Let's add the sub package   googleapiclient/discovery_cache to setup.py. I will create a PR shortly.

@sergey-ob Thanks for the detailed report BTW!

@tmatsuo  @nathanielmanistaatgoogle Thank you guys for so quick response. Appreciate that.


Xlsx Support

Hi,
Thanks for creating this npm module, is there a way can we export the material table to Xlsx.

Hi, do you just mean the file ending or the content? Since CSV can be imported in to Excel.

Hi @Domino987 looking to have multiple worksheets in xlsx, currently it's not possible with csv.

I think this is outside the scope of this module. For this, an Excel parser and complex sheet manipulation would be needed to be implemented with everybody wanting something different. So I think providing this out of the box is difficult. But you can simply fork this and try to incorporate it into it. If it is straight forward, er might add it, once you can provide a PR

ok thanks for the info, will check it :).


Set Fetch\Prefetch not working with Execute

Hi I noticed that when I do this:
  Statement st(cn);
  st.SetFetchSize(2);
  st.SetPrefetchSize(5);
  st.Execute("SELECT * from mytable");

getters returns values I set, however rows fetched using default values(20, 20) I used wireshark to confirm that.
But when I do this:
  Statement st(cn);
  st.Prepare("SELECT * from mytable");
  st.SetFetchSize(2);
  st.SetPrefetchSize(5);
  st.ExecutePrepared();

it fetch rows as expected. It think this should be fixed, or at least doc for setters should notice they should be called after prepare and getters should return actual values used.

Hi,
You are correct.
Values were discarded with Oracle client > 9.2 as the statement handle are allocated in the prepare call instead at Statement object allocation time. The commit fixes the issue.
Regards,
Vincent


Do we need the RC release?

Our current release schedule is as follows:

Every night, publish a nightly from the dev branch
Publish a "feature-complete" beta from the dev branch roughly halfway through each milestone
Publish a "presumed-ready" RC (release candidate) two weeks before the final release. At this point, main becomes the new dev branch, and the release branch becomes terminal and new features can ship in the nightly
Publish a "ready" final release. Critical bug fixes from now on are merged into both main and release-X.Y branches
Publish as many patches as needed to fix critical issues found in the final release

A recent discussion made us question whether the RC release provides sufficient value to justify its place in the release cadence.
Arguments in favor of removing the RC:

Anecdotally, we don't get a spike in bug reports during the RC period, but do during final releases, bad nightlies, and betas. This would indicate that not many people are really kicking the tires on the RC
The RC period creates an awkward timeframe wherein bug fixes need to be merged into multiple branches
Anyone who wants a pre-release version can just as easily pick up a nightly, including a nightly build corresponding to two weeks prior to the release, and people do so
Effectively no one must upgrade their TypeScript version immediately; so anyone who wants a more-stable release can equally wait for two weeks (or more!) after any given release to wait for any last bugs to get ironed out

Arguments in favor of keeping the RC:

This creates a clear "you can't say you couldn't have tried it" window for people who want to stably upgrade ASAP
Ceteris paribus, the RC lets us ship new features in nightly two weeks earlier
If even a small number of people try it, this does reduce the number and size of patch releases

Are we missing anything? Is the RC critical to your workflow in ways we're unaware of?

The RC period creates an awkward timeframe wherein bug fixes need to be merged into multiple branches

Can you explain how removing the RC release itself alleviates this? Are you saying that if we removed the RC, bug fixes would just continue until the stable release date?

Up for discussion, but I'd sort of presume a small "no risky fixes please" window prior to the final release, the same way we have that policy loosely enforced for risky fixes prior to the RC branch cut.

I think there's a tension for the core team to think about between

the RC lets us ship new features in nightly two weeks earlier

and

The RC period creates an awkward timeframe wherein bug fixes need to be merged into multiple branches

If you want to get rid of the second one, you sacrifice the benefits of the first.
But I'm more curious to hear about external usage of the RC and if anyone plans around it.

I am just mentioning this because it is not explicitly mentioned in the original post
Have your team considered a longer RC period? It could be that the 2 week timeframe is too short for developers to notice and try out the new features.

With current stability & toolchain compatibility level (it's not an evaluation, just an observation) RC is useless for me & my team. Why? Because any feature can be changed in any way before release. So there is no reason to prefer RC over nightly.

It was my understanding that policy is for no breaking changes to be made after beta, barring extenuating circumstances (e.g. reverting changes that already broke code in the wild).

We (@denoland) tend to do an integration PR for the RC and the beta. Mostly it stops at the point of just looking for any changes or regressions. It usually isn't until the point of upgrading to the release that we really focus on any new features (or even after the release).
I can't think of a time in the past few years though where we have identified an issue that then was an TypeScript change or bug fix, just usually a few minor updates to some of our built-in types or other minor tweaks.

To that point, the RC gets published via GitHub, and I know that's usually how you try it out. Is that a hard requirement?

We stopped doing that in our workflow, as we felt bad about bagging to get the git tag pushed. We now just install it locally via the npm tags.
If you are bored and want a dry read, here are the full details: https://github.com/denoland/deno/blob/main/tools/update_typescript.md

If you are bored and want a dry read, here are the full details:

Thanks for linking this! Unrelated to this thread, but in #51026 I (re-)discovered those "dead" files your instructions mention; we've totally been shipping now-deleted lib.d.ts files and not realizing it.

Thanks for opening up the question.  I enjoyed learning that "Ceteris paribus" means "All else being equal".
TypeScript Users' Perspective
Our current in-house practice is to perform thorough testing of Beta releases, followed by a period of intense testing of nightlies until the RC occurs.  Once the RC happens, proactive fixes are applied to the entire codebase to ensure it is compliant with the existing and next version of TypeScript.  Once Final Release happens, we'll usually wait about a week before integrating it into our toolchain just in case any urgent patch releases occur.  Lastly, that toolchain containing the new TypeScript release is made available to all internal developers.
The main reason for beginning testing at the point of the Beta release is in order to feedback information (via issues on this repo) that might lead to a reduction of breaking changes in the Final release.
The reason for using the nightlies between Beta and RC is because we historically found breaking changes were both removed and (crucially) introduced between the Beta and RC, whereas post-RC there is a much higher degree of stability.  So from this user-perceived point of view, the RC is valuable as a point at which we can reduce daily monitoring effort and make a concrete plan (with a mostly understood time estimate) for the work needed to upgrade the codebase to comply with the set of compatibility breaks that will be delivered in the Final release.  In some cases, this "RC release" signal gives sufficient notice period to ensure that the codebase is already compliant on the day of the Final release.
Therefore, even if the RC was retired, from a heavy user's point of view, it would still be useful to have a defined point/signal after the Beta but before the Final release at which there is a widely-understood declaration of stability, i.e. essential bug fixes only.  In the absence of an explicit signal, the Final release would become that signal by default, and the consequence would be a ~2 week delay in our adoption of Final releases.
TypeScript Implementer's Perspective
I think the question of "Do we need an RC?" stems from the more foundational classic question of what to do when you approach a release date and need stability:  feature-freeze or branch?

Freeze:  For a given time frame (e.g. two weeks) impose a stricter policy on the type of PR that can be merged to main, e.g.  essential fixes only.
Branch:  Create a release branch that accepts essential fixes only, so that regular development can continue on main

The OP already lists the trade-offs.  Personally I would prefer branching because the stability intent is reflected concretely as a structure in Git.  It makes the policy more "real" and visible to all.

Everyone is welcome for the impromptu Latin lesson
We've heard some offline feedback quite similar to @robpalme's, so it seems like enough people are getting use out of the RC that we can keep it.


Signals-aware HTML template tag

Closing this. I think a better approach to this kind of thing could be to bring in lit-html as a dep and decorate it (or leverage upcoming signals support in the lib).


IDIOTS complete guide for blondes-and persons with no code know - how--- HELP!

IS there?
My goal is to output to html 5  from after effects i have extension installed ,animation completed . select - windows--extension--Bodymovin-- and ..errmmmm   ..hmmm i fiddle around  select render and it renders out ....and.. eermm nothing.. do I need to do  something else ? add something.. I HAVE looked at the 'how to manual.. hhmmm ..I'm not a web /coding person.. i just make small fun animations..a nd i this case want it to be able to  put out as a html 5  thingy-wots it      LOL HA HA  i really am out of my depth, maybe a bullet point help... or a how me video on you ube ?

Maybe this can be helpful?
https://www.youtube.com/watch?v=FYOOucjdnkY


How to download users/groups programatically

[Enter feedback here]
Hello,
It looks like to me that I should be able to download users/groups programatically, not only from UI.
If so, could you please let me know the exact syntax? Is is REST? If so, what should be the header or query params, if any.
We are evaluating if AzureAD/SAML integration works for our customers.
So waiting for your reply.
Thanks in advance.
Momena

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

ID: 7800fcb4-d251-f271-bc12-9377cd0407fa
Version Independent ID: 319b62fc-cea7-1add-559b-bb2a35b3a0ad
Content: Download a list of users in the Azure Active Directory portal
Content Source: articles/active-directory/enterprise-users/users-bulk-download.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @curtand
Microsoft Alias: curtand

@momena
Thanks for your feedback! We will investigate and update as appropriate.

You can do this using either Powershell or the Microsoft Graph API:
Powershell:
Get-ADUser -Filter * -Properties DisplayName, Department, departmentNumber, Title | Select DisplayName, Department, departmentNumber, Title | Export-Csv c:\path\your.csv
Graph API:
GET https://graph.microsoft.com/v1.0/users
There is also an example in this recent article showing how to use Graph API with the Yammer Data Export API: https://techcommunity.microsoft.com/t5/yammer-blog/azure-active-directory-ids-now-in-yammer-data-export-api/ba-p/2112199
Hope this helps!


compile_templates has non-determinisity around filters

Following code generates non-deterministic compiled output.
from jinja2 import loaders
from jinja2.environment import Environment

env = Environment(loader=loaders.DictLoader({"foo": """
{{ 1|filter1 }}
{{ 2|filter2 }}
"""}))

env.filters["filter1"]=lambda value: value
env.filters["filter2"]=lambda value: value

env.compile_templates('archive', zip=None, ignore_errors=False)

 from __future__ import generator_stop
 from jinja2.runtime import LoopContext, Macro, Markup, Namespace, TemplateNotFound, TemplateReference, TemplateRuntimeError, Undefined, concat, escape, identity, internalcode, markup_join, missing, str_join
 name = 'foo'

 def root(context, missing=missing):
     resolve = context.resolve_or_missing
     undefined = environment.undefined
     cond_expr_undefined = Undefined
     if 0: yield None
     try:
-        t_1 = environment.filters['filter1']
+        t_1 = environment.filters['filter2']
     except KeyError:
         @internalcode
         def t_1(*unused):
-            raise TemplateRuntimeError("No filter named 'filter1' found.")
+            raise TemplateRuntimeError("No filter named 'filter2' found.")
     try:
-        t_2 = environment.filters['filter2']
+        t_2 = environment.filters['filter1']
     except KeyError:
         @internalcode
         def t_2(*unused):
-            raise TemplateRuntimeError("No filter named 'filter2' found.")
+            raise TemplateRuntimeError("No filter named 'filter1' found.")
     pass
     yield '\n1\n2'

 blocks = {}
 debug_info = ''

Chromium uses jinja2 for code generator during build, and this breaks Reproducible builds when we are switching to python3.
Some more context is in https://crbug.com/1194274
Environment:

Python version: Python 3.9.2
Jinja version: 3.0.1

I'll send a PR to fix this.


need a way to exclude built-in junit 4.8.2

a project I work on uses junit 4.10, which comes with grails 2.2.4.  There are tests use some functionality in there, specifically the TemporaryFolder APIs:
Possible solutions: use([Ljava.lang.Object;), run(org.junit.runner.notification.RunNotifier), run(org.junit.runner.notification.RunNotifier), dump(), grep(), use(java.lang.Class, groovy.lang.Closure)

junit 4.8.2  appears to be included by this plugin.
I tried excluding it, like I had to do for the codenarc plugin, but no luck:
compile(":karma-test-runner:0.2.2") { excludes("junit") }

Hi - you were right - the junit plugin is included in the uberjar - the defaults of the mvn shade plugin include just everythig :/
I created a new SNAPSHOT version of the plugin which works for me - can you test it and tell me please whether it works for you? If it works I will release a new version:
repositories {
...
// please add temporary the snapshot repo:
mavenRepo "https://oss.sonatype.org/content/repositories/snapshots"
}
plugins {
// here is the new SNAPSHOT version
compile(":karma-test-runner:0.2.4-SNAPSHOT")
}

I tried it, but it fails to resolve:
	==== https://oss.sonatype.org/content/repositories/snapshots: tried
	  https://oss.sonatype.org/content/repositories/snapshots/org/grails/plugins/karma-test-runner/0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.pom
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  https://oss.sonatype.org/content/repositories/snapshots/org/grails/plugins/karma-test-runner/0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.zip
		::::::::::::::::::::::::::::::::::::::::::::::
		::          UNRESOLVED DEPENDENCIES         ::
		::::::::::::::::::::::::::::::::::::::::::::::
		:: org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT: not found
		::::::::::::::::::::::::::::::::::::::::::::::

| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:karma-test-runner:0.2.4-SNAPSHOT

Hmm - this is strange because it seems not to find the grails plugin snapshot version itself which is not located on oss.sonatype.org but on grailsPlugins() or grailsHome() or grailsCentral() - have you included these repositories in your config? So you're config part looks something like:
repositories {
inherits true // Whether to inherit repository definitions from plugins
grailsPlugins()
grailsHome()
mavenLocal()
grailsCentral()
mavenCentral()
mavenRepo "https://oss.sonatype.org/content/repositories/snapshots"
}
Btw: The repository oss.sonatype.org is needed because the snapshot version of the grails plugin refers to a maven artifact (the junit-runner stuff) which is a snapshot version too and available from oss.sonatype.org...
Does that solve your dependency issue?

I copied that repositories section into my BuildConfig and it still won't run:
:: problems summary ::
:::: WARNINGS
		module not found: org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT
	==== grailsPlugins: tried
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  /Users/jayprall/Code/affdex-portal/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/aws-<IP_ADDRESS>/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/build-test-data-2.0.5/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/cache-headers-1.0.4/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/cached-resources-1.1/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/codenarc-0.20/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/database-migration-1.3.6/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/export-1.5/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/font-awesome-resources-<IP_ADDRESS>/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/hibernate-2.2.4/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/jquery-1.7.1/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/mail-1.0/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/quartz-1.0.1/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/quartz-monitor-1.0/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/remote-pagination-0.3/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/resources-1.1.6/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/rest-0.7/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/shiro-1.1.4/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /Users/jayprall/.grails/2.2.4/projects/portal/plugins/tomcat-2.2.4/lib/karma-test-runner-0.2.4-SNAPSHOT.zip
	==== grailsHome: tried
	  /usr/local/Cellar/grails/2.2.4/libexec/lib/org.grails.plugins/karma-test-runner/ivy-0.2.4-SNAPSHOT.xml
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  /usr/local/Cellar/grails/2.2.4/libexec/lib/org.grails.plugins/karma-test-runner/jars/karma-test-runner-0.2.4-SNAPSHOT.zip
	  /usr/local/Cellar/grails/2.2.4/libexec/lib/org.grails.plugins/karma-test-runner/bundles/karma-test-runner-0.2.4-SNAPSHOT.zip
	==== grailsHome: tried
	  /usr/local/Cellar/grails/2.2.4/libexec/src/libs/karma-test-runner-0.2.4-SNAPSHOT.xml
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  /usr/local/Cellar/grails/2.2.4/libexec/src/libs/karma-test-runner-0.2.4-SNAPSHOT.zip
	==== grailsHome: tried
	  /usr/local/Cellar/grails/2.2.4/libexec/dist/karma-test-runner-0.2.4-SNAPSHOT.xml
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  /usr/local/Cellar/grails/2.2.4/libexec/dist/karma-test-runner-0.2.4-SNAPSHOT.zip
	==== grailsHome: tried
	  /Users/jayprall/.grails/2.2.4/cached-installed-plugins/karma-test-runner-0.2.4-SNAPSHOT.xml
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  /Users/jayprall/.grails/2.2.4/cached-installed-plugins/karma-test-runner-0.2.4-SNAPSHOT.zip
	==== grailsHome: tried
	  /usr/local/Cellar/grails/2.2.4/libexec/plugins/karma-test-runner-0.2.4-SNAPSHOT.pom
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  /usr/local/Cellar/grails/2.2.4/libexec/plugins/karma-test-runner-0.2.4-SNAPSHOT.zip
	==== localMavenResolver: tried
	  /Users/jayprall/.m2/repository/org/grails/plugins/karma-test-runner/0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.pom
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  /Users/jayprall/.m2/repository/org/grails/plugins/karma-test-runner/0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.zip
	==== grailsCentral: tried
	  http://grails.org/plugins/grails-karma-test-runner/tags/RELEASE_0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.pom
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  http://grails.org/plugins/grails-karma-test-runner/tags/RELEASE_0.2.4-SNAPSHOT/grails-karma-test-runner-0.2.4-SNAPSHOT.zip
	==== mavenCentral: tried
	  http://repo1.maven.org/maven2/org/grails/plugins/karma-test-runner/0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.pom
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  http://repo1.maven.org/maven2/org/grails/plugins/karma-test-runner/0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.zip
	==== https://oss.sonatype.org/content/repositories/snapshots: tried
	  https://oss.sonatype.org/content/repositories/snapshots/org/grails/plugins/karma-test-runner/0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.pom
	  -- artifact org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT!karma-test-runner.zip:
	  https://oss.sonatype.org/content/repositories/snapshots/org/grails/plugins/karma-test-runner/0.2.4-SNAPSHOT/karma-test-runner-0.2.4-SNAPSHOT.zip
		::::::::::::::::::::::::::::::::::::::::::::::
		::          UNRESOLVED DEPENDENCIES         ::
		::::::::::::::::::::::::::::::::::::::::::::::
		:: org.grails.plugins#karma-test-runner;0.2.4-SNAPSHOT: not found
		::::::::::::::::::::::::::::::::::::::::::::::

| Error Failed to resolve dependencies (Set log level to 'warn' in BuildConfig.groovy for more information):

- org.grails.plugins:karma-test-runner:0.2.4-SNAPSHOT

Hmm - that is weird - can you give me simple test case so I can verify that my changes gonna work?
thx

Maybe a test like this would work to verify that junit 4.8.2 isn't being used?
import junit.runner.Version
class SomeTestFile {

    @Test
    void junitVersion() {
        // Junit 4.8.2 should not be included
        assertEquals("4.10", Version.id());
    }
}

So I released a new version karma-test-runner:0.2.4 which uses junit-karma-testrunner 1.7 which excludes JUnit from shading into the jar... Please try and give me feedback :)

Hi,
did the new version fixed your issue so I can close it?
with kind regards

Yes.  I have confirmed that version 0.2.4 allows me to use a newer version of junit.  Thanks!

Great :)


Introduce a method accepting a lambda on Property/Providers if the corresponding value is present

Expected Behavior
As titled, I'd like something like this
            fun <T> Provider<T>.ifPresent(block: (T) -> Unit) {
                if (isPresent)
                    block(get())
            }

or on Property
Context
I'm querying tons of Propertys right now and implemented this function manually, but I guess having this on stdlib could be useful for other people as well

Thank you for your interest in Gradle!
This issue will be closed as a duplicate of

#13401

Please add your use case and 👍 to that issue.


More Information on Cloud Service Operations

There's a more detailed white paper on Dynamics 365 Finance and Operations Cloud Service Operations at the following: https://aka.ms/D365-Cloud-Service-Operations. A number of topics are addressed in this document, including the Operating Model, System Configuration, Service Operations, and SLA.
Suggest that a link to this white paper be included in this particular Docs article.

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

ID: 230ae369-93c3-90a0-cf0a-078afb39e621
Version Independent ID: 22f367a5-3954-11c8-2e72-94a9990d89f3
Content: Cloud deployment option - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/dev-itpro/deployment/cloud-deployment-overview.md
Service: dynamics-ax-platform
GitHub Login: @kfend
Microsoft Alias: kfend

Thanks for the suggestion! We really appreciate feedback that helps us to improve our documentation. I will add a link to the white paper.


Added Gradle binding for Newman insecure flag

Hey @michaelruocco, the config bindings are missing the setting to disable ssl cert checks, which I found useful in dealing with some test environments. This pull req is to help others with similar issues.
Cheers,
David

Hi @lukacsd thanks for contributing this, it has highlighted an issue with my travis ci build script, which meant that it has tried to automatically release your pull request and failed. I believe I have addressed this now though.
I am also going to look up tidying up the tests I added, to make it easier to add a new test for this functionality. I will look at cleaning up the existing test and then adding a new test for this in the next week or so and then look to get this change merged.
Thanks again.


[BugFix] Report correct errors when there is no alive workers

Why I'm doing:
Report correct errors when there is no alive workers.
[sr@iZ8vbbr5n5arc0z8b22vabZ be]$ ./bin/stop_be.sh

mysql> create table t3(a int);
ERROR 1064 (HY000): Unexpected exception: Failed to get primary backend. shard id: 10117

mysql> select * from t12;
ERROR 1064 (HY000): Backend node not found. Check if any backend node is down.backend: [<IP_ADDRESS> alive: false inBlacklist: false]

mysql> create table t9(a int);
ERROR 1064 (HY000): Unexpected exception: Failed to create shards. error: INVALID_ARGUMENT:shard info can not be empty.

When a warehouse has no alive workers, SR will report errors, but not quit correct.
What I'm doing:
In the logic of "create table" and "DefaultSharedDataWorkerProvider," check for the existence of an "alive worker."
Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

DO remember to change the warehouse error message in separate patch.


boohu: init at 0.10.0

Motivation for this change
A new roguelike is here!
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@grahamcofborg build boohu

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: boohu
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: boohu
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/9bmc8h9a7k6h3i910l4qv1rm45ghkmag-boohu-0.10.0-bin
shrinking /nix/store/9bmc8h9a7k6h3i910l4qv1rm45ghkmag-boohu-0.10.0-bin/bin/boohu
cannot find section .dynamic
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9bmc8h9a7k6h3i910l4qv1rm45ghkmag-boohu-0.10.0-bin/bin
patching script interpreter paths in /nix/store/9bmc8h9a7k6h3i910l4qv1rm45ghkmag-boohu-0.10.0-bin
checking for references to /build in /nix/store/9bmc8h9a7k6h3i910l4qv1rm45ghkmag-boohu-0.10.0-bin...
cannot find section .dynamic
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/9bmc8h9a7k6h3i910l4qv1rm45ghkmag-boohu-0.10.0-bin

Success on x86_64-linux (full log)
Attempted: boohu
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/l5n635sbmvj0gmhfidpwci6x3qc6jpkl-boohu-0.10.0-bin
shrinking /nix/store/l5n635sbmvj0gmhfidpwci6x3qc6jpkl-boohu-0.10.0-bin/bin/boohu
cannot find section .dynamic
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/l5n635sbmvj0gmhfidpwci6x3qc6jpkl-boohu-0.10.0-bin/bin
patching script interpreter paths in /nix/store/l5n635sbmvj0gmhfidpwci6x3qc6jpkl-boohu-0.10.0-bin
checking for references to /build in /nix/store/l5n635sbmvj0gmhfidpwci6x3qc6jpkl-boohu-0.10.0-bin...
cannot find section .dynamic
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/l5n635sbmvj0gmhfidpwci6x3qc6jpkl-boohu-0.10.0-bin

@matthewbauer Is my pull request okay? :smiling_imp:

@GrahamcOfBorg build  boohu boohu-ansi

Success on x86_64-linux (full log)
Attempted: boohu, boohu-ansi
Partial log (click to expand)
shrinking /nix/store/3a5rf09x3qjkn4qmjhc7c3wjd44wsnix-boohu-ansi-0.10.0-bin/bin/boohu-ansi
cannot find section .dynamic
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/3a5rf09x3qjkn4qmjhc7c3wjd44wsnix-boohu-ansi-0.10.0-bin/bin
patching script interpreter paths in /nix/store/3a5rf09x3qjkn4qmjhc7c3wjd44wsnix-boohu-ansi-0.10.0-bin
checking for references to /build in /nix/store/3a5rf09x3qjkn4qmjhc7c3wjd44wsnix-boohu-ansi-0.10.0-bin...
cannot find section .dynamic
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
/nix/store/3h184ffmf4h11zyx5ya223xgm72dhnh7-boohu-0.10.0-bin
/nix/store/3a5rf09x3qjkn4qmjhc7c3wjd44wsnix-boohu-ansi-0.10.0-bin

Success on aarch64-linux (full log)
Attempted: boohu, boohu-ansi
Partial log (click to expand)
shrinking /nix/store/sy3f00h68xmikappr9sbnxkz5348b8la-boohu-0.10.0-bin/bin/boohu
cannot find section .dynamic
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/sy3f00h68xmikappr9sbnxkz5348b8la-boohu-0.10.0-bin/bin
patching script interpreter paths in /nix/store/sy3f00h68xmikappr9sbnxkz5348b8la-boohu-0.10.0-bin
checking for references to /build in /nix/store/sy3f00h68xmikappr9sbnxkz5348b8la-boohu-0.10.0-bin...
cannot find section .dynamic
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
/nix/store/sy3f00h68xmikappr9sbnxkz5348b8la-boohu-0.10.0-bin
/nix/store/h15xf3k8y8jsi8b5xjvkl66igp5w9v06-boohu-ansi-0.10.0-bin

Success on x86_64-darwin (full log)
Attempted: boohu, boohu-ansi
Partial log (click to expand)
find: '/nix/store/kd2m67by9vwzs680p2vn0sx9l594rb77-boohu-ansi-0.10.0': No such file or directory
find: '/nix/store/bdxf9fja44hkmpzhaxajs6h0rrqipz3a-boohu-0.10.0': No such file or directory
find: '/nix/store/bdxf9fja44hkmpzhaxajs6h0rrqipz3a-boohu-0.10.0': No such file or directory
find: '/nix/store/bdxf9fja44hkmpzhaxajs6h0rrqipz3a-boohu-0.10.0': No such file or directory
find: '/nix/store/bdxf9fja44hkmpzhaxajs6h0rrqipz3a-boohu-0.10.0': No such file or directory
find: '/nix/store/bdxf9fja44hkmpzhaxajs6h0rrqipz3a-boohu-0.10.0': No such file or directory
find: '/nix/store/bdxf9fja44hkmpzhaxajs6h0rrqipz3a-boohu-0.10.0': No such file or directory
find: '/nix/store/bdxf9fja44hkmpzhaxajs6h0rrqipz3a-boohu-0.10.0': No such file or directory
/nix/store/70pzms3gzlssfvrxl4lr4asblmlx94nv-boohu-0.10.0-bin
/nix/store/wpyb39bh7zyadawmspj56k27v81a6m6x-boohu-ansi-0.10.0-bin

Everything okay now?  :sunglasses:

Everything okay now? :alien: @matthewbauer @Mic92

@matthewbauer Thanks! :alien:


cog example (fixed)

Summary

Checklist

[ ] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.

[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).

I suppose.

Can we close this issue and start a new.... unfucked one I suppose.


Maturity level two issues

This addresses issues

101

100

95

94

90

and also the other smaller remarks (see previous merge) by @fgheysels for which there are no seperate issues.
Note: The commits below also includes commits that were already in the previous merge request. I should have kept the commit tree cleaner.

I haven't checked yet, but I 'd prefer to have multiple but smaller PR's (for instance one per issue)

Agreed. I will do this from now, but there were no issues created at the time and many modifications are very small like removing whitespace etc :)

I'd suggest to first merge this one, before merging any others smaller merge requests that I add in the future.

We already have a first global PR, now I want small PRs with clear title, clear description and link to issue.

@MassimoC Could we still merge this one as a whole? It addresses a lot of smaller remarks by @fgheysels for which there is no issue. Splitting it up now would make it very messy.

I referenced the related issues.

@MassimoC Could we still merge this one as a whole? It addresses a lot of smaller remarks by @fgheysels for which there is no issue. Splitting it up now would make it very messy.

we won't split up :) We will merge as soon reviewed


Have tinkerbell follow the regular helm pattern

/hold
It looks like this helm chart is pulling from quay. Do we change all the image locations when running this?

It looks like this helm chart is pulling from quay. Do we change all the image locations when running this?
The quay endpoints don't ever get used. We override all the images from the CLI when installing this chart.
I will replace the quay endpoints with the public.ecr.aws ones in a future PR to avoid any confusion

/unhold

/approve
/lgtm


Updated README - formatting, links, headers

Combined the first two paragraphs into one and added the description of your library.
Modified the Install instructions to make them clearer for beginner developers.
Added some headers that the users of your product might find helpful.

Thanks for the edits!


[Sprint: 41] XD-2606: Fix Track History with Redis/Kafka

Add xdHistory to the standard list of headers passed by the bus,
Fix EmbeddedHeaderMessageConverter to handle non-string headers and
increase the size of the header value to Integer.MAX_VALUE (from 255).
Store the header values as JSON; eliminates the need to interpret
specific headers, allows transport of the xdHistory collection.
The converter will continue to decode "old" messages that might still
be in the bus before upgrading.

squashed, rebased, merged as b4b654c723d6d360254e665fa507a4216818159f

Pushed polish - running a build now.

Squashed, merged, closed. https://github.com/spring-projects/spring-xd/commit/6ce483ad87420995c44c6a3bb630a8b6dcb01cff


Error - bash: line 10

Fresh install before and after latest updates I get:
`# wget -qO - https://raw.githubusercontent.com/kosmonavtika/pve-patch/master/patch.sh | bash

patch pve-manager/6.0-4/2a719255 (running kernel: 5.0.15-1-pve)...
download and copy files...
cp: cannot stat '/usr/share/pve-patch/scripts/90pvepatch': No such file or directory
bash: line 10: /usr/share/pve-patch/scripts/apply.sh: No such file or directory
done!
`

Fixed with commit 218d776603a537ce4e1124cfdb1aa84870318a37.


Pull #385 broke sdl gfx

https://github.com/veandco/go-sdl2/blame/master/gfx/sdl_gfx.go#L620 Line 620 has a (copy-paste?) mistake and is missing the underscore in len causing the compilation to fail. Faulty commit is 042cf8322c847379ced77b4d7d1832b6b560ddd6

Hi @depili, so sorry about that! It should be fixed now in master branch. Please try!

Yes, 902a8518c8fcea0ff782bb346a8767d5e1bf89f8 does indeed fix this issue and rerunning the previously failed build job succeeds now: https://gitlab.com/Depili/clock-8001/-/jobs/164517043


SAK-39962 Add jquery tablesorter webjar

I set WIP until maven central contains the version 2.27.7

http://central.maven.org/maven2/org/webjars/tablesorter/2.30.3/

Did you test the tools that used the 2.0.3 table sorter to make sure they still worked without client side error? (Looks like polls and msgcntr)

Yeah when I remove the WIP I will have tested this in all the locations that loaded the JS

@ern Okay, add me back as a reviewer if you need after you remove the label. I probably won't notice otherwise.

refactored all the locations in sakai to use the same version of the plugin.
BasicLTI tool had the most issues, Dr Chuck please review if i removed to much!
Removed js in tools using these libs
Removed the static files from library
Updated headscript includeWebJarLibrary to handle css

<script type="text/javascript">includeWebjarLibrary('jquery.tablesorter');</script>

Make sure to keep the scrolling working - some schools have tons of LTI links.


conda forge recipe / sdist issues

Hey there,
I just created a conda forge recipe, to get an official conda package for meshio (there are already several, but best way should be one from conda-forge):
https://github.com/conda-forge/staged-recipes/pull/10194
@nschloe : If you agree with my proposal, you have to drop a comment in the linked PR to confirm you are willing to be listed as a maintainer there (maintaining should be rather simple).
Cheers,
Sebastian

Aaaaand something is missing in meshio. The LICENSE.txt is not distributed with the source-files.
You would need a MANIFEST.in file in the root directory with one line:
include LICENSE.txt

Cheers

And another one: The tests included in the source distribution are not not complete.
The whole meshes folder and everything not starting with test* is missing.
Therefore another line in the MANIFEST.in is needed:
recursive-include test *

Then, running the tests within the conda recipe would work.
At the moment I have to exclude testing, since the mentioned files are missing.
Cheers

All fixed in 3.2.14.

I will update the recipe accordingly, after it is converted into a feedstock on conda-forge.

There it is:
https://anaconda.org/conda-forge/meshio
https://github.com/conda-forge/meshio-feedstock


Ant Task Feature

This patch add a custom Ant Task to compile CoffeeScript during Ant process.

Looks useful :)


BUG: Fix multiclass onehot inverse

Resolves #188
One-hot encoded targets were not being processed correctly. The tests were checking for shapes and dtypes (which were correct), but the values were not.
This implements 2 things:

2 line fix for the bug in transformers.py
Extensive test refactoring to test for estimator scores (to prevent this bug in the future).

Codecov Report

Merging #189 (3e9933e) into master (56399a9) will decrease coverage by 0.31%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #189      +/-   ##
==========================================
- Coverage   99.55%   99.23%   -0.32%
==========================================
  Files           6        5       -1
  Lines         671      657      -14
==========================================
- Hits          668      652      -16
- Misses          3        5       +2

Impacted Files
Coverage Δ

scikeras/utils/transformers.py
100.00% <100.00%> (+0.93%)
:arrow_up:

scikeras/wrappers.py
99.43% <100.00%> (ø)

scikeras/_saving_utils.py
96.20% <0.00%> (-3.80%)
:arrow_down:

scikeras/__init__.py

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 56399a9...3e9933e. Read the comment docs.

https://github.com/adriangb/scikeras/issues/188#issuecomment-779496955 confirms this fixes the original bug report. Will move forward with merge.


Support only highlight over GE and HA value

Remove the custom 4 thresholds for highlighting as it would not be
possible to create good enough interface for both GE and HA value for
each color
Add option to highlight item over GE value using the highlight color
Add option to highlight item over HA value using the highlight color

Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

As requested on Discord, having highlighting over HA value is pretty important for ironmen. The reason why I removed the 4 custom thresholds for highlighting is that to add support also for highlighting over HA value, it would just create too much interface clutter, that even when improved with custom interface supporting something like list of thresholds with option for HA and GE value would still be way too complex for convenient usage, and 90% of people do not need multiple thresholds for highlighting, only one.

Why not have the plug-in be in HA or GE mode. It would switch all comparisons to compare against either HA or GE, all depending on a single setting.
I am a big fan of the highlight thresholds, it allows me to quickly pick the most valuable items out of a pile.

Having 2 modes highly reduces functionality as you would have option to choose only from one. Some item's don't have GE value but you would still want to highlight them with HA value.

Then your solution would be pretty non-intuitive. Also, would not solve anything, because then you would use same threshold for both GE and HA value in GE/HA mode. With my solution, it covers the most common use cases for highlighting and hiding items.
There is just small benefit in having multiple colours and thresholds, and that is mostly just cosmetical, because due to changes in OSRS most valuable items in pile are already properly sorted to top of the tile.

After checking both OSB and Konduit, they don't have multiple color thresholds for highlighting items, or at least I didn't saw it in the configuration. So I guess that is another reason why the thresholds serve no purpose other than being cosmetical addition.

I do not like the removal of the low/med/high/insane thresholds in this. I think this is a common feature that we would be expected to have.

Is it common? Because i was not able to find it in any other client

Updated the PR to mark item as highlighted based on price too, same with marking item as hidden. This makes the functionality really straightforward and should work in all cases (e.g adds also support for showing highlighted only items when they are highlighted with > GE or > HA price).

Updated PR, the multiple color thresholds are kept, but now they are based on the item being highlighted and use highlight > GE or highlight > HA value as base, so it is simple to change all 4 colors at once based on 1 property.

Hmm? I did not removed anything.


Implicit conversion from int to float tampers with values when int is not representable as float

ds = xr.Dataset()
val =<PHONE_NUMBER>4193144
ds['var1'] = xr.DataArray(val)
ds_1 = ds.where(ds.var1==val)

print(ds_1.var1.dtype)
dtype('float64')
print(int(ds_1.var1))
95042027804193152

Problem description
As described in #2183, int values are converted to float in where(), also when there are no NaNs in the data. This is a serious issue for the case when the int64 number is not representable as float64, as is the case in the example above. The resulting numbers are then actually different from the original numbers, without any warning.
Expected Output
I guess this is hard to fix. At a minimum, where() should probably not cast to float when there are no NaNs (which would already fix our use case). I would also rather expect an error instead of silently changing the values of a variable.

Unfortunately I don't see any good way to fix this short of NumPy support for an integer dtype with missing values. If we disabled automatic casting from integer to float values when NaNs could be introduced, then lots of operations would just fail instead.


Block domain overledger.tech

Domain: overledger.tech
Requested by @kvbedan

I’ve been trading this asset month ago. Had some profit. But after my last purchase of it, when I’ve tried to sell it there was an error with text “the source account is not authorised to sell this asset”.
Eminent: GAUIE3VBC5UGG6OIJX2TMLSGLWZQPXL6QFHA2ISRISZVGDI7LLFJMOVR

The serial minter of these tokens has been flagged already. You might have been blocked by them.


In subset_gridpoint, if year start is after end of dataset, to_netcdf() fails without an informative message

Maybe this should be taken to xarray directly.

This should be a pretty simple check to add on our end. We can throw an error if there is no temporal overlap.    I would think that the same issue occurs for subset_bbox as well

if da.time.sel(time=start_date).min() > da.time.sel(time=end_date).max():

fails if end_date is not in selection.

Looking into this as well. I think it's worse than we think:
In [1]: import xarray as xr

In [2]: from xclim import subset

In [3]: a = "sftlf_fx_MRI-CGCM3_rcp85_r0i0p0.nc"

In [4]: ds = xr.open_dataset(a)

In [5]: f = subset.subset_gridpoint(ds, lon=-75., lat=45.)

In [6]: f
Out[6]:
<xarray.Dataset>
Dimensions:   (bnds: 2)
Coordinates:
    lat       float64 45.42
    lon       float64 0.0
Dimensions without coordinates: bnds
Data variables:
    lat_bnds  (bnds) float64 ...
    lon_bnds  (bnds) float64 ...
    sftlf     float32 ...

For the two test files, the longitudes are in 0-360 degrees so conversion is necessary. The algorithm in xclim master should be able to handle this. but as you can see, the longitude in the subset gridpoint is 0.0. Not only is there no error message, but the subset object is otherwise perfectly fine. I'll see what happens when run with the xclim currently on finch (v0.8-beta).

We have to update finch anyway, so let's just fix xclim and update finch.

Just tried the same approach with xclim @ v0.8-beta: Exact same results and no error raised. Does this merit a new issue?

If I am following correcttly we need to address two issues?
One regarding the temporal subsetting end-date and start date having to be within the dataset bounds?
Second with respect to the adjustment of positive longitude values?

That's my understanding.
If the date is outside of bounds, should we raise an error, or think of it as a slice, so return data up until the end?

I would try to make it work as a slice i.e up until the max time in the ds
We should be able to check to see the end_date is beyond ds.time.max(). If yes raise a warning and assign end_date as max time...

Looking into this as well. I think it's worse than we think:
In [1]: import xarray as xr

In [2]: from xclim import subset

In [3]: a = "sftlf_fx_MRI-CGCM3_rcp85_r0i0p0.nc"

In [4]: ds = xr.open_dataset(a)

In [5]: f = subset.subset_gridpoint(ds, lon=-75., lat=45.)

In [6]: f
Out[6]:
<xarray.Dataset>
Dimensions:   (bnds: 2)
Coordinates:
    lat       float64 45.42
    lon       float64 0.0
Dimensions without coordinates: bnds
Data variables:
    lat_bnds  (bnds) float64 ...
    lon_bnds  (bnds) float64 ...
    sftlf     float32 ...

For the two test files, the longitudes are in 0-360 degrees so conversion is necessary. The algorithm in xclim master should be able to handle this. but as you can see, the longitude in the subset gridpoint is 0.0. Not only is there no error message, but the subset object is otherwise perfectly fine. I'll see what happens when run with the xclim currently on finch (v0.8-beta).

I think I have found the issue in _check_lons()  for the positive lons not working
We currently checks for np.all(args[0].lon > 0) # line 66 subset.py
or
np.all(args[0].lon < 0)  # line 71
However your test dataset has lon values of exactly 0
I think a simple fix to <=0 and >=0 will fix the issue

closed via #271


umbra-js: Ensure getAddress() is always used to ensure we always use valid checksum addresses

Closed by https://github.com/ScopeLift/umbra-protocol/pull/168


Create util-linux-libs RPM package with libraries

Change systemd.spec to depend on util-linux-libs
Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
This change segregates the libraries from util-linux-devel into util-linux-libs.
It also introduces a dependency for util-linux-devel and util-linux on util-linux-libs

Planning to submit this pull request from the create-util-linux-libs-package branch.


Fix AWS credential expiration

Use the AWS cached credential provider to automatically handle credentials. The CredentialsCache will automatically handle refreshing expired credentials and keeping them cached as long as necessary.
Replaces #634 as this offloads more of the work to the AWS SDK
Signed-off-by: Joe Adams<EMAIL_ADDRESS>

@hellopatrick Can you test out these changes? I don't have an opensearch cluster to test with.


Unlearn replying to thread_broadcast messages with its own broadcast

The Go Slack client is missing the field on the MessageEvent that would allow us
to identify who the sender of the message was. Specifically, the root key as
shown here: https://api.slack.com/events/message/thread_broadcast
Until that can be done, this disables the bot's ability to reply to broadcasted
messages with a broadcast.

https://github.com/slack-go/slack/pull/793


Navigate Application and its Windows with Keyboard.

Alt+Tab is very limiting. You have to find the window then navigate to it by pressing tabs many times. So how about a keyboard based application/window switcher where you can type name of app, abbreviation, app's window name to bring it to front?
Look at launchbar for inspiration.

Interesting idea combining alt+tab and a text search driven launcher.  Why not search for running apps as well as apps you can launch.

@indierawk2k2 if you can come up with a good enough UX which allows for both that would be nice. But seeing the current state of the search functionality on win implementing this separately would be much quicker.

Win + TAB and then use the keyboard to search, I think it's a good way.

a native functionality like http://www.switcheroo.io/ would be great. I don't use alt+tab anymore

Recommendation from @manogna4 about switcheroo is good. I want to suggest one more great little utility called https://www.launchy.net/. It is a small search bar, which goes through user defined catalog and can run app. I use it for accessing most used files and for running all applications.
So if functions from both apps would be united under the new powerToy AltTab, that would be nice.

Feel like window walker inside PT Run does this.
With 0.25, just do <tea and any process that referenced TEA would come up such as Microsoft Teams

Feel like this is already done so going to close this out.  please challenge me if you PT Run's implementation is not enough

Not really part of that. But Microsoft loves Ignoring and “cleaning up” old issues. So guess just another day at the office. 🖨


LLM survey accepted to TMLR 24

#251
Manually ask for review @mosharaf

Create a separate pull to fix fedtrans. This cannot be processed until you have the journal volume/number/url have been assigned.
Also, the arxiv entry should stay regardless of follow-up publications.


Alert when clicking the dynamic popover link

In this code:
$$(document).on('click', '.data-dispensacao', function(){
    var clickedLink = this;

var popoverHTML = '
'+
                      '
'+
                          '
Próxima dispensação:
'+
                          '
'+novadata_final+'
'+
                            '
'+
                                '
'+
                                    '
Atualizar
'+
                                '
'+
                            '
'+
                        '
'+
                    '
';
    myApp.popover(popoverHTML, clickedLink);

    $$(document).on('click', '#atualizar_data', function(){
        myApp.alert("Data atualizada com sucesso!", "Aviso");
    })
})

Working, but Popover is on the screen, it looks like it "glues" in the body:
When clicked on the link, inside popover:
http://i.imgur.com/34IPC9Q.jpg
When clicked OK:
http://i.imgur.com/6u9iSms.jpg
How to resolve?

Issue is closed because of outdated/irrelevant/not actual
If this issue is still actual and reproducible for latest version of Framework7, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


Child process exitted with error code: 1

Etcher version: v1.0.0-beta.13
Operating system: Windows 10 Professional 64 bit

It shows the error message as below when I burn the resinOS to SD card. So I can't burn the image to the SD card. Does anyone know how to solve ? Thanks!

DevTools printed the following:

tracker.js:10
Error: Child process exitted with error code: 1
    at ChildProcess.child.on (C:\Program Files (x86)\Etcher\resources\app.asar\lib\src\child-writer\index.js:115:38)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:850:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)a.(anonymous function) @ tracker.js:10

tracker.js:10
Error: EPERM: operation not permitted, write
    at ChildProcess.child.on (C:\Program Files (x86)\Etcher\resources\app.asar\lib\src\child-writer\index.js:94:23)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at handleMessage (internal/child_process.js:718:10)
    at Pipe.channel.onread (internal/child_process.js:444:11)

Hi @toyota790 ,
Thanks a lot for reporting. These issues are really hard to debug since Windows seems to like to throw EPERM without any explanation on all sort of situations. That being said:

Can you actively reproduce the issue? Does it go away if you keep retrying?
Can you test this custom build: https://www.dropbox.com/s/pva5qpo2sg0g0zo/Etcher-win32-x64-Aug-23-2016.exe?dl=0 and report back how it goes? This version contains some fixes to other related Windows issues, so it may work for you.
Can you try completely erasing your drive and try again? Windows physical drive access policies say that EPERM might be thrown if the drive has a file-system. We should be taking care of this automatically, but lets test anyway. You can do this by running cmd.exe, typing diskpart, checking your available disks with list disk, select disk N (where N is the corresponding number from the previous command), clean, rescan.

Hi @jviotti ,
Thanks for your quick reply.

Yes, I tried many times, and it still showed the same error message. However, I restarted the application and burned the image again, it showed up another error message (As below).

This version does not work for me, and it showed up the "Child process exitted with error code: 1" error message again.

I can't erase my SD card by DiskPart. When I typed the "clean" command in DiskPart, then it printed out the "DiskPart has encountered an error encountered: Access is denied.". But I can erase the SD card with my Macbook. So I am sure that the SD card works normally.

I can't erase my SD card by DiskPart. When I typed the "clean"
command in DiskPart, then it printed out the "DiskPart has encountered
an error encountered: Access is denied.". But I can erase the SD card
with my Macbook. So I am sure that the SD card works normally.

The fact that diskpart complained with an access denied error means
that there is something else preventing your SDCard from being written
to in Windows, and therefore the Etcher error you see makes sense.
The tricky part is discovering what is causing your "Access is denied"
error in DiskPart. Do you have any anti-virus or other software that
might be trying to constantly read removable drives in your computer? If
so, can you try disabling them and trying again, and see if that makes
any difference?
The fact that you can erase it just fine with your MacBook means that
there's definitely something in your Windows installation conflicting
with this.
Can you check if something of interest comes up in the System Event Log
right after you get such DiskPart error? See
https://technet.microsoft.com/en-us/library/aa996634(v=exchg.65).aspx
On Wed, Aug 24, 2016 at 09:40:35AM -0700, William Luo wrote:

Hi @jviotti ,
Thanks for your quick reply.

Yes, I tried many times, and it still showed the same error message. However, I restarted the application and burned the image again, it showed up another error message (As below).

This version does not work for me, and it showed up the "Child process exitted with error code: 1" error message again.

I can't erase my SD card by DiskPart. When I typed the "clean" command in DiskPart, then it printed out the "DiskPart has encountered an error encountered: Access is denied.". But I can erase the SD card with my Macbook. So I am sure that the SD card works normally.

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/resin-io/etcher/issues/656#issuecomment-242130722

--
Juan Cruz Viotti
Software Engineer

I just realised this is a duplicate of https://github.com/resin-io/etcher/issues/627. Please let me know how it goes in that other thread!


When draggable is enabled and text select at the edge of the sentence  , it lose selection.

Describe the bug
When draggable is enabled on non-inline items , and  text is selected , the selection is lost - randomly .
To Reproduce
Please include a CodeSandbox demo of the problem if possible. (You can fork this CodeSandbox.)
Steps to reproduce the behavior:

Enable draggble
Try to select Text , starting at the right most position.
Text selection will be resetted.

Expected behavior
Text selectable
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):

mui-tiptap version: [e.g. 1.7.3]
tiptap version: [e.g. 2.0.1]
Browser: [e.g. Chrome - latest]
Node version: [e.g 16.4.2]
OS: [e.g. Ubuntu 22.04, macOS 11.4]

@v3ss0n I don't follow the repro steps. For which extensions are you enabling draggable: true``? ResizableImageis for instance a non-inline item which hasdraggable: true`, and text selection works fine for me, as in the default CodeSandbox. Would you be able to provide a CodeSandbox by forking the one linked above? Could you also provide your mui-tiptap version, tiptap version, etc as requested in the issue template? My guess is that what you're trying to accomplish may actually be an issue in Tiptap itself, not related to mui-tiptap, so I would suggest filing there if so.

We are now able to solve thitby adding a wrapper block component for dragging. Thanks alot.

Okay, glad you found a way to make it work!


PowerShell Terminal Error

Issue Type: Bug
I downloaded the PowerShell .vsix file from GitHub (PowerShell-1.11.0.vsix) and installed it in Azure Data Studio.  I opened up a PowerShell script that works perfectly in the ISE or VSCode, but I'm getting an error message when I try to run the script in ADS.
Steps to repro:
Import-Module SqlServer;
Get-SqlInstance -ServerInstance localhost\SQL2017;
Error:
2/6/2019 2:21:34 PM [NORMAL] - Visual Studio Code v1.3.9 64-bit
2/6/2019 2:21:34 PM [NORMAL] - PowerShell Extension v1.11.0
2/6/2019 2:21:34 PM [NORMAL] - Operating System: Windows 64-bit
2/6/2019 3:52:33 PM [ERROR] - : Unable to instantiate; language client undefined.
2/6/2019 3:52:47 PM [ERROR] - : Unable to instantiate; language client undefined.
2/6/2019 4:35:04 PM [ERROR] - : Unable to instantiate; language client undefined.
2/6/2019 4:38:45 PM [ERROR] - : Unable to instantiate; language client undefined.
2/6/2019 4:39:04 PM [ERROR] - : Unable to instantiate; language client undefined.
2/6/2019 4:39:11 PM [ERROR] - : Unable to instantiate; language client undefined.
Am I running into a common mistake?
Azure Data Studio version: azuredatastudio 1.3.9 (cacf0777c747046af6839de3688d709b10ef9fca, 2019-01-14T23:30:09.442Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.93GB (2.35GB free)

Process Argv
C:\Program Files\Azure Data Studio\azuredatastudio.exe

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

PowerShell
ms-
1.11.0

@kburtram, I got an error on activating the extension due to API registerDebugConfigurationProvider being missing. I think this is a case where we need to try and no-op instead of remove the debug APIs, or else extensions like this will have to explicitly opt into supporting azure data studio by null-checking the .debug APIs in vscode namespace.

@kevcunnane ah, that sounds like a good idea to me.  Most extension authors probably haven't even heard of azure data studio yet.

We don't currently support loading arbitrary VS Code extensions into ADS.  Since we share a common platform a lot of extensions happen to work, though as @kevcunnane mentioned we disable the debugging interfaces which breaks most Language Service extensions.
There are a few extensions such as PowerShell, Docker, etc. that align well with our feature set, so we should look into at least making sure those popular extensions work (or degrade gracefully).

Hi there 👋
I work on the PowerShell extension for VSCode. I'd love to get the extension working in Azure Data Studio!
The reason this isn't working today is because of the following error:
The language client requires VS Code version ^1.29 but received version 1.3.9
We set that version in the package.json because vscode tells us to set this and they check it in the vscode-languageclient.
It seems that in Data Studio needs to honor this.

Powershell should be working with current builds.  Please let me know if issues persist.


Failed to Run Demo Setup

🐛 Bug
Failed to Run Demo Setup
Steps to Reproduce

clone home-robot and update all submodules

xt@ubt:/mnt/xt/8T/CODES/EmbodiedAI/home-robot$ git submodule
 9ad25fbd86a3fd352c7a0fc1f99132fbb5802378 data/datasets/ovmm (heads/main)
 4e0292b16b32c92267be1ac8a94628deccd2ef09 data/hssd-hab (v0.2.3-8-g4e0292b16)
 3893a735352b92d46505f35d759553f5fc82a39b data/objects (heads/main)
 ddcf11f42e7e0732a0c4607648f9448ea8d73590 src/home_robot/home_robot/agent/imagenav_agent/SuperGluePretrainedNetwork (heads/master)
 46f8317a0688b4b94e85816b5839a1dbca26d1e0 src/home_robot/home_robot/perception/detection/detic/Detic (46f8317)
 6bb6a22068c79bb36a733d25414c21bd8b650416 src/home_robot/home_robot/perception/detection/grounded_sam/Grounded-Segment-Anything (6bb6a22)
 f26b8e7196c22a8c12fc0d99b1876a274a345f91 src/third_party/contact_graspnet (remotes/origin/cpaxton/home-robot)
 38af375052d3ae7331141bc1a22cfa2713b02987 src/third_party/detectron2 (v0.6-152-g38af375)
 9ccca099742df667c4e4fc43e204abd8c60e6028 src/third_party/habitat-lab (v0.1.4-449-g9ccca099)
xt@ubt:/mnt/xt/8T/CODES/EmbodiedAI/home-robot$ git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	bin/
	run.md

nothing added to commit but untracked files present (use "git add" to track)
xt@ubt:/mnt/xt/8T/CODES/EmbodiedAI/home-robot$

run a container using  fairembodied/habitat-challenge:homerobot-ovmm-challenge-2023, with home-robot mapped into the container
setup in container, without a real robot

install mamba
create env, and activate

mamba env create -n home-robot -f src/home_robot/environment.yml
mamba activate home-robot

install home-robot and third-party

# Install the core home_robot package
python -m pip install -e src/home_robot

# install detectron2
python -m pip install -e src/third_party/detectron2

# Install Detic
cd $HOME_ROBOT_ROOT/src/home_robot/home_robot/perception/detection/detic/Detic/
mkdir models
wget https://dl.fbaipublicfiles.com/detic/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth -O models/Detic_LCOCOI21k_CLIP_SwinB_896b32_4x_ft4x_max-size.pth --no-check-certificate
cd -

# Download the Robot Model
mkdir -p data/robots/hab_stretch
cd data/robots/hab_stretch

wget http://dl.fbaipublicfiles.com/habitat/robots/hab_stretch_v1.0.zip
unzip hab_stretch_v1.0.zip
cd -

# Download pretrained skills
mkdir -p data/checkpoints
cd data/checkpoints
wget https://dl.fbaipublicfiles.com/habitat/data/baselines/v1/ovmm_baseline_home_robot_challenge_2023_v0.2.zip
unzip ovmm_baseline_home_robot_challenge_2023_v0.2.zip -d ovmm_baseline_home_robot_challenge_2023_v0.2
cd ../../

Run Demo Setup, and it failed(home-robot) root@e0b90c917e7b:/mnt/xt/8T/CODES/EmbodiedAI/home-robot# python projects/habitat_ovmm/eval_baselines_agent.py --env_config projects/habitat_ovmm/configs/env/hssd_demo.yaml
+ python projects/habitat_ovmm/eval_baselines_agent.py --env_config projects/habitat_ovmm/configs/env/hssd_demo.yaml
pybullet build time: May 20 2022 19:45:31
Neither `ifconfig` (`ifconfig -a`) nor `ip` (`ip address show`) commands are available, listing network interfaces is likely to fail
An exception occurred in telemetry logging.Disabling telemetry to prevent further exceptions.
Traceback (most recent call last):
  File "/root/micromamba/envs/home-robot/lib/python3.9/site-packages/iopath/common/file_io.py", line 946, in __log_tmetry_keys
    handler.log_event()
  File "/root/micromamba/envs/home-robot/lib/python3.9/site-packages/iopath/common/event_logger.py", line 97, in log_event
    del self._evt
AttributeError: _evt
Loading pretrained CLIP
/root/micromamba/envs/home-robot/lib/python3.9/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /home/conda/feedstock_root/build_artifacts/pytorch-recipe_1694449361437/work/aten/src/ATen/native/TensorShape.cpp:3483.)
  return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
2023-10-09 02:48:45,911 Initializing dataset OVMMDataset-v0
2023-10-09 02:48:46,516 initializing sim OVMMSim-v0
[02:48:48:932556]:[Core] ManagedContainerBase.h(329)::checkExistsWithMessage : <Lighting Layout>::getObjectByHandle : Unknown Lighting Layout managed object handle :  . Aborting
2023-10-09 02:48:50,162 Initializing task OVMMNavToObjTask-v0
Traceback (most recent call last):
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/projects/habitat_ovmm/eval_baselines_agent.py", line 99, in <module>
    metrics = evaluator.evaluate(
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/projects/habitat_ovmm/evaluator.py", line 458, in evaluate
    self._env = create_ovmm_env_fn(self.config)
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/projects/habitat_ovmm/utils/env_utils.py", line 34, in create_ovmm_env_fn
    habitat_env = env_class(config=habitat_config, dataset=dataset)
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/core/environments.py", line 117, in __init__
    base_env = RLTaskEnv(config=config, dataset=dataset)
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/core/environments.py", line 43, in __init__
    super().__init__(config, dataset)
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/core/env.py", line 382, in __init__
    self._env = Env(config, dataset)
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/core/env.py", line 118, in __init__
    self._task = make_task(
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/tasks/registration.py", line 23, in make_task
    return _task(**kwargs)
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/tasks/ovmm/sub_tasks/nav_to_obj_task.py", line 21, in __init__
    super().__init__(
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/tasks/rearrange/sub_tasks/nav_to_obj_task.py", line 44, in __init__
    super().__init__(
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/tasks/rearrange/rearrange_task.py", line 67, in __init__
    super().__init__(sim=sim, dataset=dataset, **kwargs)
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/tasks/nav/nav.py", line 1412, in __init__
    super().__init__(config=config, sim=sim, dataset=dataset)
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/core/embodied_task.py", line 249, in __init__
    self._init_entities(
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/core/embodied_task.py", line 274, in _init_entities
    entities[entity_name] = entity_type(
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/habitat-lab/habitat-lab/habitat/tasks/ovmm/ovmm_sensors.py", line 101, in __init__
    self._embeddings = pickle.load(f)
_pickle.UnpicklingError: invalid load key, 'v'.

Expected behavior
Run demo in a container.
Additional context

The first problem is about pillow, and I solved it via pip install pillow==7.1.1

Traceback (most recent call last):
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/projects/habitat_ovmm/eval_baselines_agent.py", line 18, in <module>
    from home_robot.agent.ovmm_agent.ovmm_agent import OpenVocabManipAgent
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/home_robot/home_robot/agent/ovmm_agent/__init__.py", line 7, in <module>
    from .ovmm_agent import OpenVocabManipAgent, Skill, get_skill_as_one_hot_dict
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/home_robot/home_robot/agent/ovmm_agent/ovmm_agent.py", line 15, in <module>
    from home_robot.agent.ovmm_agent.ovmm_perception import (
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/home_robot/home_robot/agent/ovmm_agent/ovmm_perception.py", line 12, in <module>
    from home_robot.perception.detection.detic.detic_perception import DeticPerception
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/home_robot/home_robot/perception/detection/detic/detic_perception.py", line 17, in <module>
    from detectron2.data import MetadataCatalog
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/detectron2/detectron2/data/__init__.py", line 2, in <module>
    from . import transforms  # isort:skip
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/detectron2/detectron2/data/transforms/__init__.py", line 4, in <module>
    from .transform import *
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/detectron2/detectron2/data/transforms/transform.py", line 36, in <module>
    class ExtentTransform(Transform):
  File "/mnt/xt/8T/CODES/EmbodiedAI/home-robot/src/third_party/detectron2/detectron2/data/transforms/transform.py", line 46, in ExtentTransform
    def __init__(self, src_rect, output_size, interp=Image.LINEAR, fill=0):
AttributeError: module 'PIL.Image' has no attribute 'LINEAR'

Hi,

Can you please try:cd data/objects and git lfs pull. It is likely that the data/objects/clip_embeddings.pickle is not downloaded correctly.
If you are wanting to participate in the challenge due in the next two days, please use the tag home-robot-ovmm-challenge-2023-v0.1.2 using:
git clone https://github.com/facebookresearch/home-robot --branch home-robot-ovmm-challenge-2023-v0.1.2 as indicated in the README. From the logs you shared, it seems like you are using the latest main.

thx


Activity bar focus indication is too subtle

I find it very hard to notice when the focus is in the activity bar. We need something stronger there. Maybe try white? Or maybe some other affordance at all, since this is too far away from the user's eye.

Additionally, notice how the opacity of the unselected viewlet icons affects the focus indication. The explorer's focus indication is brighter than the search one. They should be exactly the same.

Related to #2145
ping @bgashler1

Verified that icon turns white and that the blue bar is better visible.


[Bug]: Receiver thread won't stop

Contact Details
No response
What happened?
Receiver thread won't stop after set running to false
Code of Conduct

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

Bug fixed adding audio device drop at receiver thread exit.


MudMenu with Submenus

Feature request type
Enhance component
Component name
MudMenu
Is your feature request related to a problem?
No response
Describe the solution you'd like
In a MudMenu it should be possible to use SubMenus, that expand on Mouseover.
Have you seen this feature anywhere else?
Here is an example from the classical Win10 Rightclick-Menu

Describe alternatives you've considered
The only "good" alternative I found is to have all points in one menu, what makes it very unintuitive to use
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

https://github.com/MudBlazor/MudBlazor/discussions/4793

Thanks again @Yomodo
Maybe it would be a good idea to add something like a "Nested Menus" section to the docs?


Added contentType() to HttpHeaders

When making HttpHeaders for testing it would be more convenient to
have a method for content-type

Thanks, updated!

@jmostella I recently added some RequestConverter implementations such as:

https://github.com/line/armeria/blob/master/core/src/main/java/com/linecorp/armeria/server/annotation/JacksonRequestConverterFunction.java#L66

https://github.com/line/armeria/blob/master/core/src/main/java/com/linecorp/armeria/server/annotation/ByteArrayRequestConverterFunction.java#L43
https://github.com/line/armeria/blob/master/core/src/main/java/com/linecorp/armeria/server/annotation/StringRequestConverterFunction.java#L41

Would you please rebase your code with upstream, and then replace them with your new method? 😃

@hyangtack OK no problem!

@kojilin Any comments?

I also made some new changes to:
THttpService.findSerializationFormat
THttpClientDelegate
GrpcService

Can someone take a second look it?
Also I avoided some of the Grpc test stuff since there weren't any constants defined so I didn't see much value changing, without adding constants for the new media types

Will merge once the build passes.

Thanks, @jmostella !


FULL KING BOBOMB CODE!

Can't believe i did this in a day

Good enough, note to self: dust the code and fix any bugs potentially matrix related


Cannot build for android

Building and installing the app on the device (cd android && ./gradlew installDebug)...
WARNING: Module 'com.facebook.react:react-native:0.44.0' depends on one or more Android Libraries but is a jar

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not find react-native.jar (com.facebook.react:react-native:0.44.0).
  Searched in the following locations:
      file:/Users/Gacnt/Documents/Mobile/PlayersAreKnown/node_modules/react-native/android/com/facebook/react/react-native/0.44.0/react-native-0.44.0.jar

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

BUILD FAILED

Total time: 8.215 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

I'm trying to run react-native run-android but I continuously get this error
I've built for iOS no problem, but can't seem to get the Android version to build.
I have my node_modules installed and I'm not sure what else to try, I've been googling for the last 2 hours and have come up with nothing.
I also ran react-native link

I'm not seeing any indications this is caused by this library. Closing for now, reopen if you have more information why you think it is.