Can't select an venv when mypy is installed inside of it

Hi,
when mypy is installed the plugin only list the venv folder inside the mypy package instead of the containing venv.
Example:
~/project/venv/lib/python3.11/site-packages/mypy/typeshed/stdlib/venv

is available in the list instead of
~/project/venv

which is not available at all.
A workaround is to use a different name for the venv, e.g. .venv and changing your settings accordingly.

I'm working on a new version of the plugin where regular expressions can be used to filter out exactly what you want. The current version of the plugin is a bit buggy since supporting all the different venv managers have required a lot of edge cases.
The new version is all about using fd with regular expressions to filter out what you want. If you want to try it out already, you can grab the regexp branch of the plugin and read the Readme for a quick example how to configure it.
It's still under development and not released yet, but I expect it to be done in a few weeks.

Thank you, @linux-cultist, that sounds very good! I will try it next week!

Currently the regexp branch is not working for me - it throws vim/lazy/venv-selector.nvim/lua/venv-selector/search.lua:81: attempt to concatenate local 'job_name' (a nil value)

Ok, thanks for testing it.
I will add a lot more debug output so I can see whats wrong. Are you on linux/mac? And what does your config look like?

I think this may be fixed now, please try the regexp branch again.

You fixed it,  @linux-cultist! Thank you very much!

Very good :)
Make sure to have a look at the readme in the regexp branch often since things change quite a lot. I added callback functions just now so if you want the telescope results to look different, you can use that... :)


starting does not work

After executing the start_windows.bat, everything looked fine, but theres an error:
Loading Bark models
        - Text Generation:               GPU: Yes, Small Model: Yes
        - Coarse-to-Fine Inference:      GPU: Yes, Small Model: Yes
        - Fine-tuning:                   GPU: Yes, Small Model: No
        - Codec:                         GPU: Yes
Traceback (most recent call last):
  File "D:\**************\tts-generation-webui\tts-generation-webui\server.py", line 132, in <module>
    settings_tab_gradio(save_config_gradio, reload_config_and_restart_ui, gradio_interface_options)
  File "D:\**************\tts-generation-webui\tts-generation-webui\settings_tab_gradio.py", line 34, in settings_tab_gradio
    "inline": gr.Checkbox(label="inline: Display inline in an iframe", value=gradio_interface_options["inline"]),
KeyError: 'inline'

Done!
Drücken Sie eine beliebige Taste . . .

always appears when starting the start_windows.bat now How to solve ?

Might be an issue with config.json upgrade, try renaming config.json (or deleting). Then it would regenerate and should work.

Just tried, didnt solved it

{
  "model": {
    "text_use_gpu": true,
    "text_use_small": true,
    "coarse_use_gpu": true,
    "coarse_use_small": true,
    "fine_use_gpu": true,
    "fine_use_small": false,
    "codec_use_gpu": true,
    "load_models_on_startup": true
  },
  "gradio_interface_options_ui": {
    "inline": false,
    "inbrowser": true,
    "share": false,
    "debug": false,
    "enable_queue": true,
    "max_threads": 40,
    "auth": null,
    "auth_message": null,
    "prevent_thread_lock": false,
    "show_error": false,
    "server_name": "<IP_ADDRESS>",
    "server_port": null,
    "show_tips": false,
    "height": 500,
    "width": "100%",
    "favicon_path": null,
    "ssl_keyfile": null,
    "ssl_certfile": null,
    "ssl_keyfile_password": null,
    "ssl_verify": true,
    "quiet": true,
    "show_api": true,
    "file_directories": null,
    "_frontend": true
  },
  "load_models_on_startup": true
}

Thank you! Yes, that was the issue, pushed a commit to generate config.json with the correct gradio_interface_options.

works! thx for the fast reply. Just testing now with a rtx4090

Sometimes I get this, even the generation seems to be successfull. Got the same error with another bark webui yesterday.

copy thx. By the way the "Generate" Button would be better to move bit more up in the UI, because always need to scroll down when doing changes for speaker, no big deal though - just bit faster to use especially if testing at the beginning, which people for sure do alot :)

If the waveform would be bit smaller for single generation, that would solve the problem I guess

After setting CVVP Amount to 1, error occoured. Now after restarting start_windows.bat:

It seems that the filenames are not what they are expected to be. Is this
the tortoise model?
A quick fix would be to backup and remove the outputs.
I will try to make a proper solution after.
On Thu, May 18, 2023, 5:16 PM Username69992872 @.***>
wrote:

After setting CVVP Amount to 1, error occoured. Now after restarting
start_windows.bat:
[image: cmd_OnvqvPIJST]
https://user-images.githubusercontent.com/96194225/239257631-85436b51-d8c3-4e34-8039-dfd1e48f5d09.png
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/15#issuecomment-1553129619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI4IGPBBGMO2Y4WWXADXGYVNHANCNFSM6AAAAAAYGOHKTQ
.
You are receiving this because you commented.Message ID:
@.***>

jep it happens when generating with tortoise. History tab seems to be broken after that , not loading + console errors.
btw there is no info what CVVP option on tortoise page is doing, google also doesnt say.
Is it normal that on tortoise it takes like 10 seconds after clicking generate, before even seeing any progress in the console?

that one took me 20 seconds to generate, while I only see the progress bar moving on second 15.

is that normal?

It doesn't cache the model, and it reloads it every time. So when using a fast GPU that is the biggest slowdown.
Also here's the tortoise documentation about CVVP:
Controls the influence of the CVVP model in selecting the best output from the autoregressive model.
[0,1]. Values closer to 1 mean the CVVP model is more important, 0 disables the CVVP model.

Looks like the GPU is not used at all or just by low amount. Looks like 10-20%, or sometimes not at all :o
https://github.com/rsxdalv/tts-generation-webui/assets/96194225/9a16d393-5d72-419b-9fb9-dd583bd9d7ea

I see. you can also check the Performance > GPU > Cuda, but there are several factors why it might not be a 100%.

oh you are right. On the Bark Tab Cuda goes up to 40% if there is progress shown in the console. On Tortoise there is no Cuda load at all for the first 15seconds, only the last 5 seconds when there is progres in the console. Wondering if something is stuck or there is cpu stuff going on.

Any generation has the following steps (which might be cached):

Preparing Model (CPU load)
Loading Model in CPU (RAM usage increases)
Loading Model in GPU (VRAM usage increases, CUDA spike)
Prepare Generation (CPU, RAM, VRAM and finally CUDA)

For tortoise the steps 1-3 get repeated. That can be cached.

After setting CVVP Amount to 1, error occoured. Now after restarting start_windows.bat:  edit: had to delete those from output:

Ok, this error has been fixed in https://github.com/rsxdalv/tts-generation-webui/commit/75001da01c083d8fbf506d532da9dfab7a5d4acf

oh you are right. On the Bark Tab Cuda goes up to 40% if there is progress shown in the console. On Tortoise there is no Cuda load at all for the first 15seconds, only the last 5 seconds when there is progres in the console. Wondering if something is stuck or there is cpu stuff going on.

Tortoise speedup will become a part of #18
I will close this issue, if these issues require additional questions, feel free to reopen or create a new issue.


css icon don't work

Hi, first of all thanks for your repo it's exactly what I wanted.
I follow the instruction  as you mention for astro and copy pasted the CSS, but the icons didn't load.
here's my code:
https://github.com/ahbanavi/ahbanavi.github.io/blob/c657b87fc7b85872e4aade9bce75977be130758c/astro.config.ts#L16
and
https://github.com/ahbanavi/ahbanavi.github.io/blob/main/src/styles/_callout.css

Hi @ahbanavi! Thanks for the feedback!
Since _callout.css uses CSS nesting, you'll need to configure Astro's Tailwind integration to enable nested syntax:
import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';

export default defineConfig({
  integrations: [
    tailwind({
      // Example: Allow writing nested CSS declarations
      // alongside Tailwind's syntax
      nesting: true,
    }),
  ],
});

cf. https://docs.astro.build/en/guides/integrations-guide/tailwind/#nesting
I think this should be added to the documentation, so I'll include it later.
If it still doesn’t work after adding this, feel free to reach out.
Thanks for using @r4ai/remark-callout!


Add Library Type issue template

As an attempt to ensure we get as many requirements gathered upfront as possible, and to avoid the situation where I forget to add a library type to the limber pipeline, I thought I'd add specific templates for common tasks.
Taking hints from the confluence document, but otherwise a bit top of my head, so definitely inviting refinement.
https://ssg-confluence.internal.sanger.ac.uk/display/PSDPUB/Set+up+new+library+types
(I'm hoping github adds these on to of the institution level templates, but not 100% sure)

https://docs.github.com/en/enterprise/2.20/user/github/building-a-strong-community/creating-a-default-community-health-file
15:51
If a repository has any files in its own .github/ISSUE_TEMPLATE folder, including issue templates or a config.yml file, none of the contents of the default .github/ISSUE_TEMPLATE folder will be used.


Allow CamelCase Index

Depends on #243

Will merge this when #243 is merged.

@jaapio I rebased, could you merge please?


[GPU] White squares shows on pillars, but not in CPU rendering

Location is the temple where you kill the dog in the Priest in Peril quest.
In that temple every wooden pillar on the wall has a white square on its bottom. Something that is not shown when not using GPU rendering.
Lighting seems to be very different too.
To Reproduce
Steps to reproduce the behavior:

Go to Priest in Peril temple undeground with the dog.
Turn on GPU rendering
See white squares on the wooden pillars on the walls.

Expected behavior
CPU and GPU rendering should be equal.
Environment (please complete the following information):

OS: Windows
RuneLite version: 1.5.1
Launcher version: ??

Fixed in #6634


Just a lil slow

Hai, so I'm a little slow and all with this stuff, but I tried doing everything the instructions told me to do, but I still can't get it to work or I'm just doing it wrong. If it's not a problem can we talk more on Discord? My user is: liaawuvs

Hai, so I'm a little slow and all with this stuff, but I tried doing everything the instructions told me to do, but I still can't get it to work or I'm just doing it wrong. If it's not a problem can we talk more on Discord? My user is: liaawuvs

Can you give me anymore detail? What happens when you try to run the gui.py or gui.pyw file?
You can ask for help in discord here: https://discord.gg/2HDmuqqq9p


Issue debugging a .NET core application

VSCode Version: 1.17
OS Version: Fedora 26

Steps to Reproduce:

Set up dotnet and the C# plugin from OnmiSharp
Set up a debugging session

I then get this error, which is annoying because I downloaded the plugin directly from OmniSharp, which it looks like the extension tab then replaces it with Microsofts proprietary version of it, which is pretty shady...
-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------

This is  caused by the C# extension please file it in this repository https://github.com/OmniSharp/omnisharp-vscode


Also hit other schemas beside public

Modded some go files to be able to also loop through other schemas.

part_pgdiff-master.zip

Thanks camyb81, I will create a 0.9.2 branch tonight and ask you to do the pull request against that.  Sorry for not thinking of that before.  I'm glad for the excuse to get back into this project and clean some things up, so thanks.

happy to be part of this project, looking forward to a new release :)


[Feature]: in bundless, if cannot resolve, error message should be emitted

          By the way, in bundless mode, if cannot resolve, error message should be emitted

Originally posted by @SoonIter in https://github.com/web-infra-dev/rslib/issues/250#issuecomment-2382455625

if cannot resolve, error message should be emitted

In this case, it's because the resolved module is externalized, Rspack won't check if it's available anymore.
Yes, we need to ensure that the emitted files could be resolved. In this case, we overlooked the index mainFields, which makes this a fixable bug for us. Let's see if there are any paths that Rslib could not detect in the future. If so, we can add a post-check.

getResolve in externals function related.
We can resolve every module when externalized and print a warning if cannot be resolved, but we should benchmark the performance of this.

https://github.com/web-infra-dev/rslib/blob/8a9f9e336a84a0c7359d5e7d5ad06e8699ea33e2/packages/core/src/config.ts#L1016-L1023
@SoonIter should we throw error/warning here if we cannot resolve in bundleless mode?

https://github.com/web-infra-dev/rslib/blob/8a9f9e336a84a0c7359d5e7d5ad06e8699ea33e2/packages/core/src/config.ts#L1016-L1023
@SoonIter should we throw error/warning here if we cannot resolve in bundleless mode?

let the bullet in the sky, users would feedback


Tries to run multiline code in request

Recently quite often I get this issue where ChatGPT tries to send a query with code spanning multiple lines.

That's weird because not long time ago it used to work flawlessly.  Even if the code was first displayed with formatting it was passed to API in the correct format.

Not shure it it can be addressed with prompt or perhaps we could make the API resilient to that?

How frequently is this happening?
I've had this issue before early on in development. I think this can be addressed a few ways:

ensuring there is a correct example for that endpoint in the OpenAPI spec
updating the error handling such that the response is more informative for the model (it will usually self-correct and retry the request)
explicitly describing the format in the manifest description_for_model

I'll look into each of these, though I think #2 is addressed in an upcoming update.

1. ensuring there is a correct example for that endpoint in the OpenAPI spec

Pretty much every time. I think it started after https://github.com/iamgreggarcia/codesherpa/pull/19 but I might be wrong.

2. updating the error handling such that the response is more informative for the model (it will usually self-correct and retry the request)

The worst part is that it does exactly the same like many times until it finally says that there was a technical error and it cannot continue. It looks like:

Each of those requests end with:
ApiSyntaxError: Could not parse API call kwargs as JSON: exception=Invalid control character at: line 3 column 10 (char 33) url=http://localhost:3333/repl

I think the error message is not informative enough for the model to figure out what he (or it... I'm still confused by that ;) is doing wrong so he just tries again (pure madness).

I'll look into each of these, though I think #2 is addressed in an upcoming update.

Thank you.
What do you mean by  "upcoming update"? Is it somewhere in GitHub? Could I give it a try? I'm pretty comfortable with git.

What do you mean by "upcoming update"? Is it somewhere in GitHub? Could I give it a try? I'm pretty comfortable with git.

Of course! You can pull the test version of the docker image here: ghcr.io/iamgreggarcia/codesherpa:test, which corresponds to the test branch you can find here: codesherpa/tree/test
I tested it out and it's working well again. In short, I added some response models to API endpoints that are now automatically incorporated into the OpenAPI spec. The API spec is looking much better.
Let me know if you run into any issues or the same issue is persisting.

The worst part is that it does exactly the same like many times until it finally says that there was a technical error and it cannot continue. It looks like:

I've encountered this in the past. The model should dynamically back off  when it gets 429s/500s in a short period of time. Adding rate-limiting to our end could also help.

Let's try again. I've added even more explicit instructions for the model and have been able to get it to create and embed visualizations. The problem in your latest screenshot is the model did not save the visualization, but rather caled the .show() method. To see images with the plugin, however, the model must embed an image file in it's response markdown. The updated description_for_model should fix this.
Download the latest image (sha256:24b314274a3e4e66175afff8d71782ea82936cd0397a0f67679dcbb93c0ba346) with the test tag here: ghcr.io/iamgreggarcia/codesherpa:test.
When running the API, you can see the updated description_for_model in the swagger UI at localhost:3333/docs.
Here's an example of a visualization embedded in the response (from a little bit ago):

Note the last bit of code:
# Save the plot
generated_plot_path = 'static/images/correlation_heatmap.png'
plt.savefig(generated_plot_path)

The .savefig is what we want 😃
Hope that helps!

Thank you for your effort! Now it worked off the bat! GPT even figured it needs to use /command to install missing package.
Oddly enough it still insisted on plt.show() though  but that's hardly an issue :)
# Save the plot
plt.savefig('static/images/venn_diagram.png')

# Display the plot
plt.show()

Awesome! Glad it seems to be working again. I've merged the changes into main. The latest tagged image now has the changes.


Why no dump for engine2.dll?

There are Schema definitions in engine2.dll, but they are assigned to the !GlobalTypes type scope I believe. engine2.dll doesn't have its own CSchemaSystemTypeScope assigned to it.
Any Schema definitions you find in there are actually dumped into !GlobalTypes_classes.hpp, among with many other DLLs. Just ctrl+f engine2.dll in that file and find out.


Add Single Member Construction Functions

This isn't totally finished, wanted to get your opinion of the API change before I went and wrote more docs and tests.
The main change is that I switched the alignment operations from after the write to before the write. This is not an observable change with existing apis, but makes this API possible.

I didn't add them to regular buffers are regular buffers don't have an offset to bump. If we were to add one, I feel like it would be very confusing that calling write twice (or write + per-member) would overwrite each other instead of following this offset.

I very much need uniform buffers (shipping on WebGL) so I'll have to figure that one out.

I didn't add them to regular buffers are regular buffers don't have an offset to bump. If we were to add one, I feel like it would be very confusing that calling write twice (or write + per-member) would overwrite each other instead of following this offset.

Hmm, right. Maybe we can change the API on the non dynamic buffers to move self instead?
And/or depending on how much extra data we need to uphold the same invariants for these new operations, we could add new wrapper structs instead of adding new methods onto the existing ones.

I'll give it a shot with it in the dynamic buffer one, and then see if we need to split it out.


Show status of the matched name (accepted name or synonym)

As a user I want to see status of a matched name and, if it is a synonym, what is the currently accepted name is


Instructions incorrect for "Connect with the Microsoft Azure Active Directory Module for Windows PowerShell"

The instructions for  "Connect with the Microsoft Azure Active Directory Module for Windows PowerShell" are confusing/incorrect. Once the MSOnline Module is installed and you get to Step 2 the commands have to be run sequentially -- run the first command under Line 2:
$UserCredential = Get-Credential
Input your Office 365 credentials in the dialog box and click OK, then run the next command shown in Line 2:
Connect-MsolService -Credential $UserCredential
But this is covered in the next line, Line 3??
It would be much clearer to arrange as follows: install the module, then run $UserCredential = Get-Credential and input your Office 365 credentials and submit, then run the command  Connect-MsolService -Credential $UserCredential, then test using a simple command like Get-MsolUser

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

ID: dbb1fe83-c1b3-3176-4d61-fe4f3ce1d598
Version Independent ID: c89f295b-4f00-c2c0-c75f-75fa50ecda65
Content: Connect to Office 365 PowerShell
Content Source: Enterprise/powershell/connect-to-office-365-powershell.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

@AMSDatabase You run the two commands together.  A third step and extra copy-past operation is not needed. Hope this helps.

Nope -- didn't work that way for me. Returned an error.
On Wed, Jul 11, 2018, 12:11 PM Joe Davies<EMAIL_ADDRESS>wrote:

@AMSDatabase https://github.com/AMSDatabase You run the two commands
together.  A third step and extra copy-past operation is not
needed. Hope this helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/OfficeDocs-Enterprise/issues/96#issuecomment-404226245,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlCv5Q_4b4SQPT3PN6KSmFvWk0-pZkEkks5uFiObgaJpZM4VJ5mA
.

@amsdatabase I just tried this and it worked. You have to press Enter for the second command when copying from the code box. What error are you getting?

@AMSDatabase  The instructions have been rewritten to use only the Connect-MsolService command for both user name/PW and MFA sign-ins.


'linked from null'

Describe the bug
The parenthesized text should be omitted if parent is null: https://github.com/sveltejs/kit/blob/53521dbb7fa43789cb8c86ca5c4cd220d2d349ed/packages/kit/src/core/adapt/prerender.js#L75-L81
To Reproduce
Throw an error in / (in load), and prerender.
Expected behavior

500 /

rather than

500 / (linked from null)

Severity
low

If you'll allow me, I'd like to contribute to the issue.
I'm considering a ternary operator for the message as well. Something similar to the following.
log.error(`${status} ${path}${parent ? ` (${verb} from ${parent})` : ''}`);
throw new Error(`${status} ${path}${parent ? ` (${verb} from ${parent})` : ''}`)

Hopefully it's not too cumbersome.

yep, that would be perfect! thank you

oops, closed with a fat finger


Make share links bellow the article

What do you think about adding some share links/icons bellow the article? I think it will be wonderful and more easy to share on various social networks.

It's possible to share using Twitter, but I understand that could be great have more socials linked.
The problem are:

How to integrate more social buttons following minimal UI.
Don't load external scripts to be possible do it.

Maybe share.js could be interesting. PR for this are welcome :-)

we can make a simple div or something bellow the article with various
social icons and links to various social networks for sharing. in this
mode you don't need to import nothing. the result is the same as twitter
share
Il 16/02/2016 10:02, Kiko Beats ha scritto:

It's possible to share using Twitter, but I understand that could be
great have more socials linked.
The problem are:

How to integrate more social buttons following minimal UI.
Don't load external scripts to be possible do it.

Maybe share.js https://ellisonleao.github.io/sharer.js/ could be
interesting. PR for this are welcome :-)
—
Reply to this email directly or view it on GitHub
https://github.com/Kikobeats/uno-zen/issues/180#issuecomment-184585617.

I undestand your intention, but words are easy 😄.
Where do you put the div? up, down, left?
What social networks do you consider important yo put inside?
How we can do div configurable to be adaptable for each user?
Then resolve this questions (and maybe something else) and convert them into a PR.

the div container personally i will put it on bottom between the article
and footer.
for the links, you have only generate a link such as
https://www.facebook.com/sharer/sharer.php?u=
personally i prefer g+, facebook and twitter
Il 16/02/2016 10:08, Kiko Beats ha scritto:

I undestand your intention, but words are easy 😄.
Where do you put the div? up, down, left?
What social networks do you consider important yo put inside?
How we can do div configurable to be adaptable for each user?
Then resolve this questions (and maybe something else) and convert
them into a PR.
—
Reply to this email directly or view it on GitHub
https://github.com/Kikobeats/uno-zen/issues/180#issuecomment-184587479.

This site(addthis.com) would be suggestion to include share button in every post

is not required importing some external links but is necessary only a link maker such as in my previous post


Create an async QPS client hierarchy

Keep code that is common to unary and streaming in the new AsyncClient parent class.
Keep code that is specific to one or the other (very little actual code) in the appropriate subclass.
This dramatically reduces replication and eases maintenance.

LGTM.
Minor nits inline.

PTAL. Thanks!

LGTM. I'll merge as soon as Travis goes green.

Green!


deps: Fix (renamed) ipp-crypto repo hash

Should we also update the project urls to point to https://github.com/intel/cryptography-primitives?

Should we also update the project urls to point to https://github.com/intel/cryptography-primitives?

probably makes sense - it works for now by following the redirect - but may stop in a distant future


Suport for child context creation during AOT processing

Based on https://github.com/spring-cloud/spring-cloud-commons/pull/1135...

@OlgaMaciaszek this enhancement should by moved to 4.0.0-RC1? Asking because 4.0.0-M55 was already closed but this issue still open

Yes, I've moved it.

Hello @OlgaMaciaszek, this improvement ended up being left out of RC-1, it would be great to have this point implemented together with the first release of cloud 2022, is this the planning or is the idea that this support will come in future versions?

@lgklein I am working on it now. The plan is to have it done before our GA release.

is it means we can use this feature by the end of this year? @OlgaMaciaszek

@HakChealKim  The plan is for it to be ready with the 2022.x Spring Cloud release train, which is scheduled for mid-December. We're currently working on it.


[Feature] Make closeable

Desc
In some cases, it may be necessary to dynamically enable and disable network debugging in a production environment, but there is currently no way to disable it. Will keeping it enabled continuously affect performance or memory consumption? Can a method to disable this feature be added?
To Resolve?
A reasonable cost for implementation makes adding a shutdown feature worthwhile in my opinion.
Resolutions(Optional)
...

Hello 👋 May I ask what scenarios require dynamic activation and deactivation of network debugging in the production environment? I strongly do not recommend using node-network-devtools in production environments. Before issue #8  is resolved,node-network-devtools will store network debugging data based on memory, which can indeed affect performance or cause an increase in memory.
Meanwhile, if you expect dynamic activation, I would recommend using the following code to ensure that it only takes effect in the development environment.
import { register } from 'node-network-devtools'

process.env.NODE_ENV === 'development' && register()

I agree with your point that node-network-devtools should not be used in a production environment.
However, emmm... sometimes reality doesn't match expectations. We are developing a Node.js client-side software (not server-side), and when troubleshooting issues on-site, we hope to observe network requests in a more intuitive way instead of through logs :)
I've made some simple modifications to the code, and it now achieves something similar to an 'unregister' function. From a broad perspective, this might not necessarily be a common requirement, but for a tool, if it can be opened, shouldn't it also be possible to close it?
Because turning it on will cause performance loss, it can be turned off when not needed (although I can also choose to restart our node program...)
Here are some code snippets.

If you think this idea is feasible, I can submit a merge request (MR).

I think this is great! Allow us to proactively eliminate side effects~

I've committed the MR, and you can review it. Since I'm not very familiar with it, there might be some missed resource releases or rollbacks.

Right!

I will confirm and publish after I come back from exercise in the evening


Possible to use indexeddb?

Hello is it possible to perhaps use indexeddb using localForage instead of localstorage? I have a large set of data that im mutating. Are there any plans to provide this option?
Thank you
Kind regards

I was wondering about this too. @SoroTrestal did you make any progress?

Sadly no, as a workaround i have implemented a global event bus on my window/opener object, i'm using golden layout where you can pop out any container into new window. The global event bus implementation works for now.

I believe it's bad idea. You can use SharedWorker if you need something global.

@xanf Ok, thanks for the info, but alltough you have closed the issue, do you have plans for implementing indexeddb using localForage instead of localstorage?
Thanks

@SoroTrestal unfortunately IndexedDB observers are available only in Chrome:
https://www.chromestatus.com/feature/5669292892749824


Add i18n support and stabilize Cypress tests

Feature: Add i18n support and stabilize Cypress tests

Description
Key Features

Internationalization (i18n) Support:

Added support for English, Portuguese, and Spanish.
Implemented a language selector in the user profile menu (visible only to logged-in users).

Cypress Test Stabilization

Improved checkElementVisibility and navigateAndVerify utilities for consistency across tests.
Adjusted failing tests to prevent flakiness:

Fixed issues with element overlap during sidebar navigation.
Corrected assertions in Profile Page E2E for profile updates.

Verified stability of all tests locally using:npx cypress run --headless --config baseUrl=https://personal-task-tracker-nine.vercel.app

What was done

Fixed the failing "unauthorized access" test on the profile page.
Stabilized the intercept handling for /api/auth/check endpoint in E2E tests.
Enhanced cy.logout() to ensure the token is removed from localStorage.
Verified proper redirection for unauthorized access in the pipeline.

Why it was needed

The test was failing due to discrepancies between the local environment and the pipeline server.
Ensured consistent behavior across both environments.

Additional Notes

All tests were validated locally using npx cypress run --headless --config baseUrl=<server-url>.
The branch was successfully tested in the pipeline as well.


Add add-inputs example and infrastructure

Add JS infrastructure, browserify and babelify for building, and port add-inputs example from most rep

:+1:


[docs-infra] Use edge function for card generation

Closes https://github.com/mui/material-ui/issues/32036
The /edge-functions/og-image? 3 search params:

product: The text displayed next to the MUI logo
title, which can contain * to delimit the highlighted text sections
description a paragraph added under the main title
authors the GitHub username of the authors, divided by a coma.

Result of adding caching
Generating the card without caching (when you pass search params for the first time) take around 2s
Rendering card from the cache (when you pass search params already seen) take around 100ms
Note
The branding pages (for exemple mui.com) don't get a custom card. For those, I would be in favor of creating hand made ones, because they might be the most shared
Test on linkedin
https://deploy-preview-41188--material-ui.netlify.app/joy-ui/getting-started/

https://deploy-preview-41188--material-ui.netlify.app/joy-ui/main-features/dark-mode-optimization/

https://deploy-preview-41188--material-ui.netlify.app/joy-ui/integrations/material-ui/

https://deploy-preview-41188--material-ui.netlify.app/experiments/blog/blog-custom-card/

I've updated the description to match the current

Last idea from me — how about we render the <p class="description" of the docs on the image, too? I saw this in the Stripe docs OG image and felt like it is such a nice detail to quickly give more context to visitors.

I'm not fully convinced by the description. They have not been written with this usecase in mind, and it's clearly visible. Description are long sentence

https://deploy-preview-41188--material-ui-apps.netlify.app/edge-functions/og-image?product=Material UI&title=Overview&description=Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
https://deploy-preview-41188--material-ui-apps.netlify.app/edge-functions/og-image?product=Material UI&title=Frequently Asked Questions&description=Stuck on a particular problem? Check some of these common gotchas first in the FAQ.
https://deploy-preview-41188--material-ui-apps.netlify.app/edge-functions/og-image?product=Material UI&title=React Autocomplete component&description=The autocomplete is a normal text input enhanced by a panel of suggested options.

They have not been written with this usecase in mind, and it's clearly visible. Description are long sentence.

They definitely haven't 😃 But it does seem to add value as a quick way to instruct readers what the page is about just from the OG image (particularly when tossed around Twitter). I think it's okay if we need to fine-tune some pages' descriptions given this newer "constraint".
But looking at the screenshot above, though, the whole thing seems to be using IBM Plex Sans now (the titles should still use General Sans). Also, I'd ask just to change the font-size/line-height a bit to 28px and 46px respectively; they ended up being too big, I think.

the whole thing seems to be using IBM Plex Sans now

Fixed in commit https://github.com/mui/material-ui/pull/41188/commits/b20e681b3ee32d17e0f1c299913e5216d0ddd2a2 I forgot to put the correct name for this font 🙈 fixed now

I added

a docs pages: https://deploy-preview-41188--material-ui.netlify.app/experiments/docs/og-card/
option to have custom description: cardDescription


Make SubscriptionIdcompatible with client proc macro for EthFilter

Describe the feature
https://github.com/paradigmxyz/reth/pull/1320 modified the eth_filter trait and added the jsonrpsee::SubscriptionId type as argument. however the client derive macro does not like the <'_> lifetime and the server derive macro does not like the 'static lifetime...
TODO
make both macros compile by either:

figure out how to compile both
replace SubscriptionId with a new type FilterId that can be converted to SubscriptionId (we need SubscriptionId because this used used by the idProvider)

Additional context
No response

I would like to take this on


Enhancement Request

Hi,
I think it would cool to have a header and footer setup when scanning a Barcode, maybe we could set HTML or Javascript in the header and footer.
Something like the attachment :)

It would be even nicer if we could specify where in the app the camera viewport should appear.

I consider this to be a duplicate of #11 and #35


src should be published to npm

Description

Code sample

Hey @garth you can see more info about this request here (#79). For now I will close this.
Thanks for the PR.


Further automation

There is some obvious automation which could simplify the users' Spine configuration process:

[x] apply the default repositories;
[x] configure generated resources to be the part of source sets;
[x] add shortcuts for client- and server- testing libraries;
[ ] allow to enable pre-configured PMD and/or Error-Prone checks (see the config in server-quickstart);
[x] explude Protobuf Lite artifacts from runtimeClasspath and testRuntimeClasspath:

configurations {
    // Avoid collisions of Java classes defined both in `protobuf-lite` and `protobuf-java`
    runtime.exclude group: "com.google.protobuf", module: "protobuf-lite"
    testRuntime.exclude group: "com.google.protobuf", module: "protobuf-lite"
}

[ ] configure IDEA directory structure for the user:

idea {
    module {
        generatedSourceDirs += file(generatedJavaDir)
        // ...
        testSourceDirs += file(generatedTestJavaDir)
        // ...
    }
}

[ ] enable Google Cloud integration with a single config (add dependencies, apply the Gradle plugin, etc.);
[x] add test dependencies when configuring Java projects.

add shortcuts for client- and server- testing libraries;

Why cannot we just add required testImplementation dependencies if the user enables corresponding production part?
People who are smart enough to understand the framework would test their code anyway.
Can they test it somehow else but using our testing libraries? I doubt.
@dmdashenkov @armiol what's your take on this?

I do have a only one dependency in the Hello World example:
dependencies {
    testImplementation "io.spine:spine-testutil-server:${spine.version()}"
}

It feels awkward explaining why we add this dependency, once we added spine.enableJava().server() to the Gradle project.

@alexander-yevsyukov, I think, we've already done this item. I'll check and tick it if it's addressed.

Good to know. I tried removed the explicitly defined dependency, and it worked.

@alexander-yevsyukov, exactly as by your comment, we add testutil libraries when the main-scope library is added. For example, if the user enables server(), we add a dependency on spine-server (via implementation) and spine-testutil-server (via testImplementation).

After giving it a thought, we probably shouldn't configure the Google Cloud plugin for the user as it seems a bit excessive. We might want to allow them adding our gcloud libraries to their dependencies.

Discussed the PMD/Checkstyle item with @dmdashenkov and agreed to postpone it until we have more feedback if this is really needed.


Provide a .min.js file

When using bower a .min.js file should be shipped next to the normal js.

I have added a .min.js version to git repo in the lib directory.

If you don't release a new vesion bower users will not get this file.

Also you should add a license header to the minified version.


Allow specifying a GH repository for Homebrew Tap

I haven't given this a try yet but it seems to be quite good already and just like what I need as all that build  / packaging stuff just gives me a headache 😄
For the Homebrew option I'd prefer to have a single Tap Repository (like homebrew-myusername) that will contain the different Formulaes for the different tools I maintain instead of a new Tap for each Formulae.
Does it make sense to you if dotnet-releaser supported this possibility? If you think that it overcomplicates things too much, I don't think it should be added. I would be able to live without it 😃
I'm not sure what the best way to configure it would be. My first thought was that you can add a GitHub repository link and if it is set it will use that for the Formulae creation/update. Otherwise it will use the default path for it.

Tried to prototype it in commit 21c3ed7. You should be able to specify your own homebrew repository in the config file:
[brew]
home = "homebrew-all-my-apps"

Does it cover your case? The GitHub user would be the same than the one configured from the [github] section. Not sure it is relevant to have a different user for the published homebrew.

Thanks! :sparkles: Yes, that would fully cover my case.
I agree that it makes sense that the Tap and App are published under the same user. So no need to change anything about that.


Add a label with the server alias information for all Sentinel generated metrics

/kind feature
/priority important-longterm
/assign
Relates to https://github.com/3scale/platform/issues/1302

/lgtm

/approve


Inconsistent OBJECT: Subcommands are not executing as expected

Steps to reproduce

SETa key with a value
Execute a GET command on the key
Run all of the OBJECT commands with their respective sub-commands ( ENCODING, REFCOUNT, FREQ, IDLETIME )

Expected output
The expected output when the above set of commands (maybe when run on Redis)

OBJECT ENCODING <key>

Returns the internal encoding for the  object stored at <key> : eg - raw, embstr, etc.

OBJECT FREQ <key>

If LRU policy exists , redis returns the access frequency of a key, if the LFU (Least Frequently Used) eviction policy is enabled.
If LRU policy does not exist , redis returns the following message:

(error) ERR An LFU maxmemory policy is not selected, access frequency not tracked. Please note that when switching between policies at runtime LRU and LFU data will take some time to adjust.

OBJECT REFCOUNT <key>

Returns the number of references of the value associated with the specified key.

Observed output
The observed output when the above set of commands when run on DiceDB

OBJECT ENCODING <key>

<IP_ADDRESS>:7379> OBJECT ENCODING mykey
(error) ERROR syntax error

OBJECT FREQ <key>

<IP_ADDRESS>:7379> OBJECT FREQ mykey
(error) ERROR syntax error

OBJECT REFCOUNT <key>

<IP_ADDRESS>:7379> OBJECT REFCOUNT mykey
(error) ERROR syntax error

Expectations for resolution
This issue will be considered resolved when the following things are done

changes in the dice code to meet the expected behavior
addition of relevant test case to ensure we catch the regression

You can find the tests under the integration_tests directory of the dice repository and the steps to run are in the README file. Refer to the following links to set up DiceDB and Redis 7.2.5 locally

setup DiceDB locally
setup Redis 7.2.5 locally
setup DiceDB CLI

Can I take this ? @sashpawar11

Hi @lucifercr07 @apoorvyadav1111 - Please review, and assign to me if the errors are legit.
Encountered while auditing the doc on #834

Root cause identified :
We currently only support evalObjectIdleTime as a case in evalOBJECT.
Will add support for the other subcomands under this issue.

Hi @lucifercr07 @apoorvyadav1111 - per redis docs and codebase, the following encoding types are defined and their logic built:
#define OBJ_ENCODING_RAW 0     /* Raw representation */
#define OBJ_ENCODING_INT 1     /* Encoded as integer */
#define OBJ_ENCODING_HT 2      /* Encoded as hash table */
#define OBJ_ENCODING_ZIPMAP 3  /* No longer used: old hash encoding. */
#define OBJ_ENCODING_LINKEDLIST 4 /* No longer used: old list encoding. */
#define OBJ_ENCODING_ZIPLIST 5 /* No longer used: old list/hash/zset encoding. */
#define OBJ_ENCODING_INTSET 6  /* Encoded as intset */
#define OBJ_ENCODING_SKIPLIST 7  /* Encoded as skiplist */
#define OBJ_ENCODING_EMBSTR 8  /* Embedded sds string encoding */
#define OBJ_ENCODING_QUICKLIST 9 /* Encoded as linked list of listpacks */
#define OBJ_ENCODING_STREAM 10 /* Encoded as a radix tree of listpacks */
#define OBJ_ENCODING_LISTPACK 11 /* Encoded as a listpack */
#define OBJ_ENCODING_LISTPACK_EX 12 /* Encoded as listpack, extended with metadata */

We are missing many of these in our codebase and their related logic > object.go, and also have some additional encoding types in their place.
Please advise if I should implement the command with whatever dice supports currently, ensuring that the OBJECT ENCODING  command will return currently supported encoding types from dice?

Got clarification on the above on today's community call -> we will return what is supported in dice.

This issue can be closed when all the below features have been completed:
#964
#965
#966
@apoorvyadav1111  and me will be completing the above mentioned features.
cc @lucifercr07 @JyotinderSingh

Hello @sashpawar11,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25935

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

TagBot fix

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/33226

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38271

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/41949

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/45954

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/47851


Fix inplace success message

It's a little unfortunate the branch messages are in runner.py and the inplace ones are here.  Long term we should unify that.

Weird. It is passing locally. I'll see what is different in GH actions.


Is there any way limit token response?

Hi, I am wondering if there's a way to get response in a limited token like 200?
Thank you.

Just set the max_tokens parameter to 200, this tells the api to output less than 200 tokens. e.g.:
chat_completion = client.chat.completions.create(
model="deepseek-chat",
messages=[{ "role": "user", "content": f"hi"}],
max_tokens=200
)


Handle the error if response is not 200 while file downloading

Since some time the phet site can respond 403 error code when the scrapper retrieves of HTML page. It is unexpected behavior so script is stopping without zim file as result.
This PR removes simulation from the local catalog if HTML or image can't be retrieved from phet. So users can see loaded simulations without those ones which can't be loaded.
fixes: #194

If the script can't download the file because of the 403 error then skip it and continue to the next one.
Stop the script If got other error codes.
If the scrapper can't download more than 10 simulations because of a 403 error then print to log and stop the script


add placeholder text to some forms fields; minor tweaks to language

Tiny bit of text bikeshedding for clarity/readability. Screenshot of the results:

This needs to also say it's okay to list your Title/Profession as your 'title/role' if you're not employed or don't want to list your specific employer. but I know that's a mouthful.

ah, great point. updated.

I will push this tomorrow morning - 11pm is never a great time to push changes to a prod system.

Indeed :-) Entirely at your convenience, and thanks!


wasm-bpf.md has broken image links

The wasm-bpf.md file contains several broken image links, making the article less useful that it otherwise could be.

Hey! It’s fixed. Please merge.  :-)

Thanks!


ISPN-15394 SIFS does not remove data properly with DIST_SYNC

https://issues.redhat.com/browse/ISPN-15394
Need to do the following still, which isn't required in this PR but should be added soon after.

[x] Add documentation to very explicitly state that if you restart a clustered node that it has to have purgeOnStartup
[x] Add tests to ensure free size in compactor is updated when receiving index requests for segments we no longer own

To be integrated after https://github.com/infinispan/infinispan/pull/11579

Rebased and fixed the test hanging as a file descriptor was not being closed properly.

Updated with more documentation and added some tests for free size upon removing segments.

CI run 7 was a bit weird. I just replayed it. When it finishes, we're good to merge.

Looks like a flaky test failure.. investigating.

Flaky test failures seem unrelated and the graalvm doesn't even use a store, so that seems unrelated as well.

Thanks, @wburns!

Does this need #11579 or was it just to land after?

Hey @FireBurn , is the reason you need this in 13.0.x because you use embedded with Java 8 ?

No it's because I'm seeing ever growing infinispan caches in Wildfly 26.1.3 which eventually just uses 100% CPU
I've helped back port some patches previously but they didn't fix the issue

Does this need #11579 or was it just to land after?

@FireBurn correct, this PR relies upon #11579. The other PR reduced the complexity of this one since we only want to drop entries in a given segment.

No it's because I'm seeing ever growing infinispan caches in Wildfly 26.1.3 which eventually just uses 100% CPU

I've helped back port some patches previously but they didn't fix the issue

Do you have more details? Thread dumps during CPU usage should hopefully show a trend.

I had all those things a while back, unfortunately when 13.0.22 was cut I thought everything was fixed so it's all gone
I've now got two parallel environments one with Wildfly 25.0.1 and another with Wildfly 26.1.3 both with undertow updated, 25 with vfs updated and 26 with infinispan updated
When I reproduce the issue I'll take some dumps and tar up the infinispan directories - it does take a while to show up

Here are the threaddumps for an environment exhibiting issues, I can send you the infinispan direcotries (or anything else you'd like) if you let me know where to send to
threaddumps.tar.gz

Here are the threaddumps for an environment exhibiting issues, I can send you the infinispan direcotries (or anything else you'd like) if you let me know where to send to
threaddumps.tar.gz
The infinispan data directory is 542MB and the infinispan tmp directory is 748MB

Looking at the thread dumps it appears that metrics are being called over and over non stop and accurate size is enabled as well causing it do a full iteration of the cache and store contents on all nodes. I would recommend to not enable accurate size if you want to invoke metrics this often (default is disabled btw) https://infinispan.org/docs/stable/titles/upgrading/upgrading.html#accurate_size_metrics

I'm not seeing that set in any of our wildfly configs, we have telegraf taking metric readings from /metrics (prometheus formatted)

I'm not seeing that set in any of our wildfly configs, we have telegraf taking metric readings from /metrics (prometheus formatted)

Odd, cause the default has been disabled since 13.0.0. Are you able to paste the configs to verify? Unless wildfly is enabling it maybe that I am not aware of.

standalone-full.tar.gz
It's based on the the standalone-full.xml
It's only ever been the "business-central" instances that have exhibited, not the "controller" or "kie-server" ones, which are more or less identical

Any ideas?

@wburns sorry is there a way to override this setting in wildfly?

Good catch. Yeah, it appears wildfly is always forcing to be true at https://github.com/wildfly/wildfly/pull/14817/files#diff-6d89fd202df43a88a586c8bde8540db2e28be7f6a6aa587f98cb047e183cdd5bR161. But I would confirm with them, as we don't recommend that normally.
Sorry about delay in responses I was on extended leave last month.

No worries I've created https://github.com/wildfly/wildfly/pull/18190 to get the ball moving


cephfs: handle cephfs clone limit error

This is to pre-emptively add check for EAGAIN error returned from ceph as part of https://github.com/ceph/ceph/pull/52670 if all the clone threads are busy and return csi compatible error.
Fixes: #3996

@Rakshith-R @yati1998 @nixpanic PTAL.

Can we add e2e for this?

Can we add e2e test for this?

The ceph PR is still not merged under main or any release branch. I don't think we can test it with an e2e at the moment.

@mergifyio rebase

@mergifyio queue

@Mergifyio rebase

@Mergifyio queue


Animation player incorrectly resets control's in a background scene

Godot version
v4.0.rc.custom_build [e0de3573f]
System information
Windows 11, Vulkan
Issue description
Control nodes get scaled up after another scene is played.
Steps to reproduce

Minimal reproduction project
test.zip

I can confirm that this happens upon opening the project, but it also fixes itself after some time. But it then breaks again if you reload the project.
I suspect that the culprit, or a part of the problem at least, is the animation player that tries to reset the scene on save. When you run the other scene, everything gets saved, and so the animation player seems to try to reset stuff as it is instructed to reset on save. Since the scene is in the background (i.e. it is not in the scene tree of the editor, it's detached and orphan), this doesn't work correctly.
Disabling the "Reset of save" flag seems to fix the issue for me, confirming this theory.

I've noticed that focusing the AnimationPlayer (and possibly having to switch between animations as well) fixes the problem, and allows you to run the game with everything fixed. I think in certain situations it's caused by reopening the editor.

Same thing here. I found this situation would happen when these 3 condition are met

A scene with AnimationPlayerNode and its ResetOnSave porperty is on
The scene is opeing and not the scene you are editing
Run scene in editor
I've also found that after this happens, the editor crashes if I try to change the root node type of the scene related to the scene where the control size was accidentally changed


How to know when the translation bundles are loaded

I'm submitting a ...  (check one with "x")
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[x] support request => check the FAQ and search github for a similar issue before submitting
[ ] feature request

Current behavior
I have the necessity to know then the translation bundle is loaded and only then do some extra work.
In my case I need to load other modules translations (not lazy-loaded) and I noticed that when a bundle is loaded it completely overrides existing translations instead of merging like setTranslation does with shouldMerge. (Probably related to this line of code, I'll make a PR if necessary.)
Therefore I need a way to know when the AppModule bundle is loaded with the specified loader. For the time being I resolved subscribing translate.use() and setting a custom AsyncSubject, but I'm not sure it's the correct Observable to subscribe to.
Another way would be maybe creating a custom loader with an AsyncSubject, but wouldn't be very different from the former solution I suppose.

ngx-translate version: 6.0.0

Angular version: 2.4.x

I agree with @jiayihu, determining if the translations are loaded or not could be very useful.
In my case, I'm developing a TranslateLoader for an utility, getting translations using ngx-translate. If there was an injection token (such as TRANSLATIONS_LOADED), I could rather leverate the use of it rather than subscribing to translate.use().

no updates on this yet? prettty sad!

I think this is a must fix to use ngx-translate. Client code need to know if things are loaded or not.

I check it this way.
  ngOnInit() {
    if (this.translateService.store.translations[this.translateService.currentLang]) {
      this.inicializar();
    } else {
      this.suscripcionLangChange = this.translateService.onLangChange.subscribe(() => {
        this.inicializar();
      });
    }
  }

Just use one of the following observables:

onDefaultLangChange
onLangChange
onTranslationChange

You would probably want to pipe it with a take(1) operator to avoid triggering your code multiple times (and also release memory by having the observable complete after one emission):
import { take } from 'rxjs/operators';
import { TranslateService } from '@ngx-translate/core';

export class SomeComponentOrService
{
    constructor(private translate: TranslateService)
    {
        this.translate.onDefaultLangChange.pipe(take(1)).subscribe(_ => doWhatYouWant());
    }
}

I am having trouble detecting when my translations have been loaded.
I am using the instant function but I have to check when the loader is finished.
Subscribing to onLangChange only works once when the page is first loaded, but if I am in another page that languageChange will not emit any more value so that doesnt work either.
I noticed that
 console.log('-->',JSON.stringify(translate.store.translations[translate.currentLang]));
 console.log(this.translate.instant('ORGANISATION.TABLE'));

Seems like you're translation I'd is reversed. It should match your data hierarchy.
Try ‘this.translate.instant('TABLE.ORGANISATION')’.

 I did use the correct hierarchy in the actual code.
I am just creating a wrapper service that will check if the store exists, if not it will return an observable based on language changed. If the store does exist it will also return an Observable.
So then I can just subscribe to this combined Observable to execute the instant function.
Shame there is no generic translationsLoaded observable you can subscribe to.

So I did this:
import { Injectable, OnDestroy } from '@angular/core';
import { Observable, of } from 'rxjs';
import { TranslateService } from '@ngx-translate/core';
import { map } from 'rxjs/operators';

@Injectable({
  providedIn: 'root'
})
export class I18NService  {

  constructor(
    private translate: TranslateService
  ) {}

  translationsLoaded(): Observable<boolean> {

    if (this.translate.store.translations[this.translate.currentLang]) {
      return of(true);
    } else {
      return this.translate.onLangChange
        .pipe(
          map(res => !!res)
        );
    }
  }
}

and then in my controller I can do
    this.i18NService.translationsLoaded().subscribe(res => {
      this.columns.map(col => {
        if (col.label) {
          col.label = this.translate.instant(col.label);
        }
        return col;
      })
    });

A simple solution would be to expose a promise in your service and extract its resolve() function:
class YourLangService
{
    public isReady: Promise<string>;

    private resolveIsReady: (locale: string) => void;

    constructor(...)
    {
        this.isReady = new Promise<string>(resolve => this.resolveIsReady = resolve);
    }
}

Then subscribe to onLangChange() or find any other convenient place to resolve the promise.
Now you could simply inject your service and query the promise:
class SomeComponent
{
    constructor(private lang: YourLangService)
    {
        this.lang.isReady.then(...);
    }
}

You could replace the promise with a BehaviorSubject, but find the promise to be easier to work with than an observable in this case.


Analize if we can remove async-sema dependency

It's only used in two places, and at a simple glance, seems not to be very useful.

It's currently only used in OpenSea.ts for rate-limiting.

Currently we are not using OpenSea to fetch collectibles any more. We rely completely in the client-gateway

Closing in favor of #2331


408 Request has timed

O que isso
"408 Request has timed out. Your file may have been too large or the server may be too busy. Try again in a few seconds**"**

Vdd, eu acho /sticker
Tamanho figurinhas eu teste /s


Add YubiKey PIV Manager.app to v1.0.2

Thank you for such a well put PR. Really makes my work easier.


parse /proc/sys/kernel/random

Signed-off-by: binjip978<EMAIL_ADDRESS>

For "Expose entropy poolsize" https://github.com/prometheus/node_exporter/issues/1715
not sure about making all fields optional, but at least read_wakeup_threshold is missing on my fedora 5.6.14-300.fc32.x86_64


updated fw ports for uperf

Description
Uperf port allocation logic has been updated recently to be dynamic based on the number of pairs here, so opening the ports wider to support that in AWS security groups and GCP FW rules
Good catch @vishnuchalla
Fixes

Codecov Report

Merging #215 (b01ad3a) into master (1b34f37) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #215   +/-   ##
=======================================
  Coverage   93.32%   93.32%
=======================================
  Files          24       24
  Lines        1003     1003
=======================================
  Hits          936      936
  Misses         67       67

Flag
Coverage Δ

gha
93.32% <ø> (ø)

python-3.9
93.32% <ø> (ø)

unit
93.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 1b34f37...b01ad3a. Read the comment docs.


Permission Denied

I am trying spark with hbase-rdd for bulk-loading runs on Yarn cluster, I can't get ride of this permission denied issue, is there some setting I need to put on? I probably don't have permission to modify the hdfs-site.xml, and the setting there is:
<property>
    <name>dfs.permissions.enabled</name>
    <value>true</value>
  </property>

  <property>
    <name>dfs.permissions.superusergroup</name>
    <value>hdfs</value>
  </property>

  <property>
    <name>fs.permissions.umask-mode</name>
    <value>022</value>
  </property>

tony@research1-box:~$ hadoop fs -ls -d /user/yarn
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
drwxr-xr-x   - yarn hdfs          0 2015-12-15 01:38 /user/yarn
User class threw exception: org.apache.hadoop.security.AccessControlException: Permission denied: user=tony, access=WRITE, inode="/user/yarn/hbase-staging/partitions_93adef32-3f25-49a0-a32c-c000f6bef025":yarn:hdfs:drwxr-xr-x
at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:319)
at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:292)
at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:213)
at org.apache.ranger.authorization.hadoop.RangerHdfsAuthorizer$RangerAccessControlEnforcer.checkPermission(RangerHdfsAuthorizer.java:300)
at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:190)
at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkPermission(FSDirectory.java:1771)
at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkPermission(FSDirectory.java:1755)
at org.apache.hadoop.hdfs.server.namenode.FSDirectory.checkAncestorAccess(FSDirectory.java:1738)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:2509)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInt(FSNamesystem.java:2444)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:2328)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:624)
at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:397)
at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2137)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2133)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2131)

During my experimental with Spark + hbase-rdd, I want to write 1 billion rows with 6 columns, what the performance expectation would be if there is any existing benchmark testing, I know it highly depends on hbase itself as well as data, just want to get some idea that how fast it would be?
Thanks in advance.

we've seen this after recent CDH upgrade (new HBase).
upgrading HBase dependency version might be the most right way to go (but for some, this might be pain in the ass with jar hell. screw you jvm :) ! )
there is a simpler temporary work-around, though - simply change your code to use this:
-  private implicit val hbaseConf: HBaseConfig = HBaseConfig()
+  private implicit val hbaseConf: HBaseConfig = HBaseConfig(
+    "hbase.fs.tmp.dir" -> "/user/YOUR-USER-YOU-RUN-SPARK-JOBS-WITH/hbase-staging"
+  )

why it works?
new HBase 1.2.0 constructs staging path somehow differently, based on user.name sys prop that is some magic  user the YARN job is run with (apparently yarn).
// HConstants.java
/** Config key for hbase temporary directory in hdfs */
  public static final String TEMPORARY_FS_DIRECTORY_KEY = "hbase.fs.tmp.dir";
  public static final String DEFAULT_TEMPORARY_HDFS_DIRECTORY = "/user/"
      + System.getProperty("user.name") + "/hbase-staging";

// HFileOutputFormat2.java
String hbaseTmpFsDir = HConstants.TEMPORARY_FS_DIRECTORY_KEY or DEFAULT

Thanks @vidma. The work-around plays the trick! 👍
I am using hbase-rdd by adding it as maven dependency, then construct the rdd like:
val bulk_load = urla_walk.map { x =>
        var sp = x.getAs[String]("name")
        val content = Map(
            cf -> Map("school" -> x.getAs[String]("school"),
                        "address" -> x.getAs[String]("address"),
                        "count" -> x.getAs[Long]("count")
                        ))
           (sp -> content)
          }

and when I try to invoke bulk_load.toHBaseBulk(table, numFilesPerRegionPerFamily=32), there is an error:

value toHBaseBulk is not a member of org.apache.spark.rdd.RDD[(String, scala.collection.immutable.Map[String,scala.collection.immutable.Map[String,Any]])]

So right now I convert the count to String and it works, from the wiki that I thought any type of the value would work : val rdd: RDD[(String, Map[String, A])], maybe I am still missing using it? would you please comment on it? :)
The only toHBaseBulk method that bulk_load can invoke is toHBaseBulk(table, numFilesPerRegionPerFamily=32), the same method with different parameter are not accessible like toHBaseBulk(tableNameStr: String, family: String, numFilesPerRegionPerFamily: Int = 1), I am guessing this is also because i miss-used this project in some way?
I am testing it by write 1 billion rows into HBase, probably not a good idea to store data in such a way :)
                <dependency>
			<groupId>eu.unicredit</groupId>
			<artifactId>hbase-rdd_2.10</artifactId>
			<version>0.7.1</version>
		</dependency>

Thanks @vidma  for sharing this workaround. I'm still on hbase 1.0.0 and haven't tested 1.2.0 yet.
@xiaolezhu when you have different types in your map's values (String and Long in your case), you get a Map[String, Any]. For this to work you must provide an instance of Writes[Any], See #22 for a discussion on this.
Your solution to convert everything to String is correct, but maybe it is not what you want. An alternative is to explicitly convert everything to Array[Byte] (which would happen anyway before writing), and you can do this by calling the writers already defined as implicit for basic types (see DefaultWrites.scala). But again implementing a Writes[Any] that does this for you would probably be a better approach.
As for the methods you can invoke for bulk load (as well for writing), they are 3:

when you work with a single column family, and a fixed set of columns, you can use the following code, so that you move less data around spark tasks

 val rdd: RDD[(String, Seq[A])] = ...
 rdd.toHBaseBulk(table, cf, headers)

when you work with a single column family, but with a variable map of column/values (I mean records can have different sets of columns) you can use

val rdd: RDD[(String, Map[String, A])] = ...
rdd.toHBaseBulk(table, cf)

finally, in the most generic case (many column families) you use (but this should be the last option)

val rdd: RDD[(String, Map[String, Map[String, A]])] = ...
rdd.toHBaseBulk(table)

In your case (1 column family and 6 columns) the first option would probably be the most efficient.

Thanks @fralken for such detailed explanations! :)
I had tried to use Bytes.toBytes() to write the value into hbase and will try implementing a Writes[Any].


Complete checkOpenCL()

in the switch statement for the operating system, only windwos is covered till now.
Implement the switch cases fpr other os's too.
(Not much to do)

done


When using the curlylint linter in Django templates it generates a false positive parse error

Describe the bug
When using the following template code in Django templates:
templates/test.html
<input type="{{ field.field.widget.input_type }}" {% for key, value in field.field.widget.attrs.items %}{{ key }}="{{ value }}" {% endfor %}>

or
<input type="{{ field.field.widget.input_type }}" {% for key, value in field.field.widget.attrs.items %} {{ key }}="{{ value }}" {% endfor %}>

It gives a parse error:
❯ curlylint ~/templates/test.html
~/templates/test.html
0:114   Parse error: expected one of '/', '>', 'attribute', 'space(s) between attributes', '{#', '{%', '{{' at 0:114    parse_error

Oh no! 💥 💔 💥
1 error reported

Which terms did you search for in the documentation and issue tracker?
I searched for in the issue tracker for:
Django error
Django parse_error

But i couldn't find the same kind of issue.
Environment
Version
❯ curlylint --version
curlylint, version 0.13.0

OS
Windows 10

And also:
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal

Steps to reproduce
(Write your steps here:)

Create a test.html file with the following contents:

<input type="{{ field.field.widget.input_type }}" {% for key, value in field.field.widget.attrs.items %} {{ key }}="{{ value }}" {% endfor %}>

Then run curlylint

curlylint test.html

Expected behavior
It shouldn't complain about a parse_error because this is regular Django template language.
Actual behavior
It gives a parse_error:
❯ curlylint test.html
test.html
0:114   Parse error: expected one of '/', '>', 'attribute', 'space(s) between attributes', '{#', '{%', '{{' at 0:114    parse_error

Oh no! 💥 💔 💥
1 error reported

Hi @brammittendorff, thank you for taking the time to report this with so many details! I believe this is the same issue as #23, so I’ll close in favour of that older entry.


About the Chart editor for select stuff

What is your question?
This new update is amazing and very well optimized for mobile version, but unfortunately the chart editor bug are still there.
When you try to scroll to select different options like events/characters/notes skins or any other thing, the Touchscreen of the mobile can't "scroll" these options correctly and the box options selector just disappear.
Why don't you guys make the chart editor like the same way the "options" are, i don't know if this takes a really long time, but just to make the chart editor more easy to edit for mobile users :).
THANSK FOR THE PORT!!!

fixed


cleaned up examples; added automagic open on startup

This PR removes all usage of R.element and replaces it with the corresponding JSX. Along with this, I'm trying to improve the developer experience while working on Formatic.
Opening this as someone new to the project can be a bit intimidating with all of the code jammed into the examples file. This takes the examples out of the examples/index.js and moves them into individual files.
As well, it adds a super simple debugger for understanding what the form state looks like:

 JSX-ify Formatic

@neilff Guessing this is a work in progress, but I tried to run this on my machine, and I get:
➜  formatic git:(improve-dx) npm start

><EMAIL_ADDRESS>start /Users/justin/git/formatic
> node server.js

[ 'webpack-dev-server/client?http://localhost:3001',
  'webpack/hot/only-dev-server',
  './demo/index.js' ]
module.js:442
    throw err;
    ^

Error: Cannot find module 'node-libs-browser'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/justin/git/formatic/node_modules/webpack/lib/node/NodeSourcePlugin.js:7:23)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)

npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/justin/.nvm/versions/node/v6.2.2/bin/node" "/Users/justin/.nvm/versions/node/v6.2.2/bin/npm" "start"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the formatic package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs formatic
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls formatic
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/justin/git/formatic/npm-debug.log

@jdeal that issue should now be resolved, I also updated the eslint to match zapier-core and fixed the issues that came up as a result of doing that

Ohh, I didn't even realize those were aliases 🙃 , that makes a lot more sense now.
At a certain point I just put my head down and built out those example files without really thinking too much about them. I think your ideas there make the most sense: have the canonical name as the original / listing on the example page, and then mention the available aliases under each example.

@jdeal I've moved aliases to be under their base entry, I added notes where applicable. Also dropped that read-only on the JSON entry

@neilff Sorry to nitpick since this such an improvement, but any reason not to just have an aliases array instead of using notes? Seems like you could easily change the rendering of those aliases that way. With notes, it's not very DRY.

@jdeal added the changes for aliases, please take a 👀  when you have a sec!

@neilff Looks better to me. I went ahead and added a couple more tweaks though. The aliases list made it seemed like the main type was missing, so I added that:

^ Also, I added that "Example JSON" field which if you expand it, you can see and edit the JSON for the example field/fields:

@jdeal cool, those changes make sense to me 👍


fix(handler) increased plugin priority to run before all the auth

plugins
This ensures the ACME validation endpoints
/.well-known/acme-challenge/* doesn't get blocked by auth plugins,
causing validation failures.
fixes #38

Thanks, this looks great.
Any idea when it'll show up on Kong Hub and get included in the standard Docker images?  I ask because this PR increments LetsencryptHandler.VERSION to 0.2.9 but the latest version showing on Kong Hub is still 0.2.7.

@alexmbird This change is in Kong starting 2.1.2 and the upcoming 2.2.0, we will need to update the doc in Kong Hub.


Add modal with links to stat vars for chart tiles

Adds a link to show metadata to each stat var tile, opening a modal with links for each to the stat var explorer.
Fetches the names of the stat var when the modal opens, using the stat var dcid as a fallback before the name is returned.
Fetches stat var names:

Updates with per capita:

Narrow screen, long string:

Scrolls:

looks like the modal isn't showing up right for the web components - i don't have a great system for testing this, so i resort to opening a local HTML file or jsfiddle like: https://jsfiddle.net/4xt5yp7u/
i think the fix is to set the Modals container "container" prop to the web component's root element like https://github.com/datacommonsorg/website/blob/ee1dae1b7cb3652c31294edd262cb770161a4338/static/js/place/chart_embed.tsx#L409

last thing-i found myself trying to close the modal by clicking outside the modal area (rather than the close button)- can you add a close hook for clicking outside the modal?

last thing-i found myself trying to close the modal by clicking outside the modal area (rather than the close button)- can you add a close hook for clicking outside the modal?

fixed! needed to pass along a toggle function

looks like the modal isn't showing up right for the web components - i don't have a great system for testing this, so i resort to opening a local HTML file or jsfiddle like: https://jsfiddle.net/4xt5yp7u/
i think the fix is to set the Modals "container" prop to the web component's root element like
https://github.com/datacommonsorg/website/blob/ee1dae1b7cb3652c31294edd262cb770161a4338/static/js/place/chart_embed.tsx#L409

thanks for the pointer -- that did the trick!

thanks for the reviews!


Opening gradient editor crashes the software

Description
Trying to edit a gradient crashes the software.
To reproduce
Upon opening PixComp and creating a gradient node in an empty project, click on the "gradient" button.
 (this one)
Expected
The gradient editing UI to open,
Result
An error popup shows up, forcing the user to close the software entirely. ("Restart application" does nothing.)

PixComp Version
v<IP_ADDRESS> Steam
Crash Log
-------------------------- OH NO --------------------------

ERROR in
action number 1
of  Step Event1
for object o_main:

I32 argument is undefined
gml_Script_resizable@Panel_panel_data
-------------------------- STACK TRACE --------------------------

gml_Script_resizable@Panel_panel_data (line 131)
gml_Script_stepBegin@Panel_panel_data (line 317)
gml_Script_stepBegin@Panel_panel_data (line 390)
gml_Script_stepBegin@Panel_panel_data (line 390)
gml_Script_stepBegin@Panel_panel_data (line 390)
gml_Object_o_main_Step_1 (line 42)

---------------------------- :( ----------------------------

I'm closing this because it turns out this wasn't the main problem, but a symptom of the problem. I'll make a separate issue for it tomorrow.


Replace NewScanner to NewReader to fix bug #8986

Replace NewScanner to NewReader to fix bug #8986

[] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated
[x] Sign CLA (if not already signed)

I'm working on the proposed changes. Thank you for the feedback.

I can confirm @lets00 has signed the CLA.

I saw a infinite loop scenario when i.batchAccumulator() run after end of file. This not happen before(witch NewScanner), because the "for" statement not execute it. For fix this, I put, io.EOF verification before i.batchAccumulator(). I will open a new pull request to fix this. Sorry about that.

@lets00 no need for a new pull request, just push a commit up to this one 😄

@e-dard I fix the problem putting if io.EOF... statement below the if err != nil ... statement in both the processDDL and processDML methods. I test in my environment, importing a monasca.dmp database and this solution works for me.


ipconfig returns error code 1 if interface not configured

Summary:
I have only seen this happen in one of our Mac mini (M1). The interface en0 is not configured, and en1 is. When the script tries to find the IP address of the metro server, it cycles through interfaces 0 to 8. But, ipconfig on en0 returns with exit code 1 which causes the script to exit.
Changelog:
[INTERNAL] [CHANGED] - Do not exit the script when extracting IP address of metro server.
Test Plan:
ipconfig successfully cycles through the list of interfaces when the first interfaces are not configured.

Just realized this is same as #41838

@broncha this PR https://github.com/facebook/react-native/pull/41839 was supposed to fix this issue, and it has been merged. Can you confirm that the issue still persists, and your PR fixes it.

@dmytrorykun I guess its the same result different approach. I dont have the machine in which this was failing right now. But it looks like the fix should work. I can close this PR, if you want, or keep it open until I verify the other fix tomorrow

@dmytrorykun I can confirm now that the other fix works as expected. Closing this now


App should targeted API level 30 as per google policies by November 2021.

As per google policies by November 2021, all the app updated must target Android 11(API level 30) but "DotLocalFinder" targeted SDK to 29.Please look into it and provide possible solution so that we will able to find Dot Local IP even after targeting to 30(if possible 31).

the MulticastLock in SDK30/31 is dead. Everyone is downgrading to 29. There's no other way to fix the SDK.
https://github.com/Catfriend1/syncthing-android/issues/735
https://github.com/golang/go/issues/40569
Did you send an issue to the Android SDK? Or did you send a pull request?
https://github.com/AndroidSDKSources/android-sdk-sources-for-api-level-31


Docker DNS overrides WeaveDNS and fails to correctly reverse resolve container's IP address

Using Docker 1.10.3 :
Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:54:52 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 15:54:52 2016
 OS/Arch:      linux/amd64

and the latest version of weave :
        Version: 1.4.6

        Service: router
       Protocol: weave 1..2
           Name: 3e:57:c8:85:32:58(e6430)
     Encryption: disabled
  PeerDiscovery: enabled
        Targets: 0
    Connections: 0
          Peers: 1
 TrustedSubnets: none

        Service: ipam
         Status: ready
          Range: <IP_ADDRESS>-<IP_ADDRESS>
  DefaultSubnet: <IP_ADDRESS>/24

        Service: dns
         Domain: weave.local.

;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Wed Apr 13 07:22:56 UTC 2016
;; MSG SIZE  rcvd: 100

I'm getting back the container's name mongodb_1.weave. instead of mongodb.weave.local
This issue breaks Kerberos which relies on reverse DNS resolution.
Also :
09:19 $ weave status dns
host         <IP_ADDRESS>      weave:expose 3e:57:c8:85:32:58
mongodb      <IP_ADDRESS>        3c5ba2b92166 3e:57:c8:85:32:58
scope        <IP_ADDRESS>      1f64e423084b 3e:57:c8:85:32:58
scope        <IP_ADDRESS>    1f64e423084b 3e:57:c8:85:32:58
scope        <IP_ADDRESS>     1f64e423084b 3e:57:c8:85:32:58

The answer is coming from Docker's DNS, not weaveDNS.
Docker's DNS cannot be disabled, ....unless you run without Docker networking. See https://github.com/weaveworks/guides/issues/178 for how to do that, e.g. your compose file would end up looking something like...
version: '2'

services:
  mongodb:
    entrypoint: /nonsecure-entrypoint.sh
    container_name: mongodb
    image: enterprisemongo:3.03
    network_mode: bridge

I suspect you can work around this by naming the Docker network "weave.local" and naming your containers.
@amarouni could you try
docker network create --driver=weavemesh --ipam-driver=weavemesh weave.local

then in the compose file change the network to weave.local and add lines like:
container_name: mongodb

This way, Docker's DNS should hold names that match the names you want.

@rade Can we still use the weavemesh network ? You can specify either network_mode or network.
What's weird is that we're specifying dns: <IP_ADDRESS> so that containers use the weaveDNS instead of the DockerDNS but we keep getting the following in resolv.conf :
root@mongodb:/# cat /etc/resolv.conf
search weave.local.
nameserver <IP_ADDRESS>
options ndots:0

any idea ??

The <IP_ADDRESS> address is Docker interposing its DNS server in front of the one you asked for (i.e. ours).  Some discussion at https://github.com/docker/docker/issues/19474.

What's weird is that we're specifying dns: <IP_ADDRESS> so that containers use the weaveDNS instead of the DockerDNS but we keep getting the following in resolv.conf

yes, that is just how docker dns works. you cannot replace it. It always inserts itself first in the chain. So in this case it will in turn to talk to weaveDNS if it cannot resolve something, but since it can resolve the IP that won't happen.

On the other point, I believe @rade is suggesting to use the Weave proxy instead of the plugin.
This is what happens when you run the eval $(weave env) part before calling docker-compose.  Then you get the same network as you would with weavemesh, but without Docker being involved in setting it up, interposing a DNS listener, etc.

We've switched to the compose v2 syntax in weaveworks/guides#178, and are going to make further improvements in weaveworks/guides#187. I don't think there is anything further to do here.

The Docker DNS overriding behaviour is said to be fixed in Docker 1.13.
Via https://github.com/docker/docker/pull/29891

Nice ! looking forward to it.

I' m using weave with nginx/openresty/lua. In order to make lua code connect to the database from another container, I've added this line to nginx.conf file:
resolver <IP_ADDRESS>;

then I can specify database in Lua code like this:
host = "db.weave.local"

the question is is it safe to use the <IP_ADDRESS> for resolver? is this IP stable, or I should obtain it with some command and inject to my nginx config?

@olegabr please open a new issue; your question has nothing to do with this one.
Basically, Docker picks that address; it should be fairly stable but we cannot govern what they do.
See also #1770


Steps To Reproduce
Config file:
---
autoclip: true
autoimport: true
cliptimeout: 45
exportkeys: true
mime: true
nocolor: false
nopager: false
notifications: true
path: /Users/[my_user_name]/.password-store
safecontent: true
mounts: {}

export PATH=/unusual/path/to/gnupg/bin
gopass  my-password  # this works
mv /unusual/path/to/gnupg/bin /unusual/path2/to/gnupg/bin
export PATH=/unusual/path2/to/gnupg/bin
gopass  my-password  # breaks with 'Decryption failed: fork/exec /unusual/path/to/gnupg/bin/gpg'
rm ~/.cache/gopass/gpg-binary.loc
gopass  my-password  # this works again

Expected behavior
Any UNIX program should always respect the contents of $PATH
Environment

OS: Mac OS X Catalina
OS version: Darwin computer.home 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6<IP_ADDRESS>~1/RELEASE_X86_64 x86_64 i386 MacBookPro16,1 Darwin
gopass Version: gopass 1.10.1+af9c95d20b722dee331adcc3cc1ab1ce0108dc2b (af9c95d20b722dee331adcc3cc1ab1ce0108dc2b) go1.15.6 darwin amd64
Installation method: Nix, building the latest build from source

This file is used as an optimization for the awkwardly slow gpg operations we had before.
I guess a proper implementation wouldn't suffer from the limitations and wouldn't need this workaround, but we carry some cruft there. So for the time being this is a wont-fix, but ultimately you are right of course: we must respect $PATH.

I understand the problem, and I see it's a difficult engineering tradeoff to make.
Unfortunately, Nix is very broken by this failure to respect $PATH, so I am forced to work around it by calling rm -f "${XDG_CONFIG_HOME:-~/.config}/gopass/gpg-binary.loc" before every invocation of gopass.
May I make a couple suggestions?
The Ideal Case
Ideally, there is a solution which can be found which will respect $PATH.
This is also a possible security issue because if a serious vulnerability is patched in gpg in the future and the patched gpg is installed in a different location, this program would continue using the old gpg until it was removed (which may never happen on a production system).
It is worth mentioning that even when I am deleting the cache file before each time gopass is run, I am still seeing fast response times:
$ time rm -f "${XDG_CONFIG_HOME:-~/.config}/gopass/gpg-binary.loc" && gopass show -C my_password
Entry 'my_password' not found. Starting search...
Found exact match in 'my_folder/my_password'
✔ Copied my_folder/my_password to clipboard. Will clear in 45 seconds.
login: user_name
password: ********

real	0m0.377s
user	0m0.169s
sys	0m0.263s

By not maintaining the cache file in the first place, this would actually be (slightly) faster.
Perhaps there is a clever solution which leverages the parallelism of Go to search all components of $PATH for the gpg binary at the same time?
The Patch Case
If, after evaluating the above, the decision is still wont-fix, would you at least consider a fall-back path in the code, where:

the cached binary is no longer found (error)
fall back to searching $PATH and, if finding a gpg binary, update the cache

This is not ideal because it still breaks a basic invariant on how programs should behave with $PATH (it took me a while to find this bug - I really was not expecting for $PATH to be ignored!), but at least it stops gopass from failing because of a "missing" gpg when there is a valid gpg in $PATH.

@siriobalmelli Thank you for detailing your reasoning. Please have a look at #1684 and let me know what you think.

@siriobalmelli Thank you for detailing your reasoning. Please have a look at #1684 and let me know what you think.

This seems like the right way to go, I appreciate your work on this :)

This seems like the right way to go, I appreciate your work on this :)

Looking good, thank you again @dominikschulz for your assistance getting this sorted.

Looking good, thank you again @dominikschulz for your assistance getting this sorted.


Shall WFI resume because of NMI?

It is clearly stated in the Privileged Specification that a WFI is "required to resume execution for locally enabled interrupts pending at any privilege level, regardless of the global interrupt enable at each privilege level".
How about NMIs, are they required to, or allowed to, cause a resume of execution? I would assume that they are at least allowed to cause a resume, but it is not clear to me whether they are required to cause a resume.

My reading of the spec is that, definitionally, NMIs are always locally enabled, because there are no mechanisms to locally disable an NMI.  (There's only a global NMI enable.)  So, the sentence you quoted requires that execution resume when an NMI becomes pending.

Okay, thank you


ble service: Battery Service

Main characteristics for the Battery Service

See: https://github.com/apache/mynewt-nimble/pull/13


CoreNetworkArn missing from Route validation code

CoreNetworkArn is missing from the validate_route function for Class Route in validators/ec2.py.  As a consequence, attempts to create a route with a Core Network endpoint as a target fail validation with a value error:
ValueError: Route: one of the following must be specified: CarrierGatewayId, EgressOnlyInternetGatewayId, GatewayId, InstanceId, LocalGatewayId, NatGatewayId, NetworkInterfaceId, TransitGatewayId, VpcEndpointId, VpcPeeringConnectionId

Thanks. Fixed via 459609a

Speedy.  Thanks!


Use ListResource.id property to identify resource in rules map

This will allow for specifying multiple resources of same type as the resources used in list widget. The config is available but it is not used.

@ellykits Kindly add more description to this


ESLint or something similar when building email templates with MJML

Is your feature request related to a problem? Please describe.
It would be good to have an ESLint or equivalent when building email templates with MJML. Sometimes I have a styles or classes that's not being used in the code, if there is then I get rid of them in the code. Also if there's a violation where I accidentally use an mjml component inside another component where not allowed, then we can throw an error in the build script or as a part of a PR check.
Describe the solution you'd like
It there's an ESLint or equivalent, then we should get some inline errors if there's unused style or class within the code. Or it will throw an error on the mjml build node script.

We already have a linter that check few things but we can't go as far as dead css code. Most code editor extension will output those errors.

Dead css aside, can we the mjml node script throw an error if say we use mjml-button inside the mjml-text or other similar violation?

it works for few tags, but not for ending tags (ex: mj-text) as the parser let you put anything you want in ending tags. You have a validationLevel option you can set to strict to throw error.

@iRyusa I tried that but that doesn't seem to throw an error:
    "start": "mjml --watch \"src/index.mjml\" --output \"src/index.html\" --validationLevel=strict"

No error on the terminal.

I think it's config.validationLevel instead to pass down  config into mjml2html function from the cli


[CONFIGURATION-715/716]: Updated the User's guide to include JupIOFac…

…tory. Finished up Javadoc of JupIOFactory.

The PR was auto-closed because trunk was deleted; please re-open against master if it still applies


Missing deb file for raspberrypi (arm64)

I was searching for a deb file to install on my raspberrypi but I didn't find it. So I compiled it myself. I will share the compiled file here, maybe someone could find it useful.
jarkanoid_17.0.11-1_arm64.deb
The file that I found in the releases gives this error: Error occurred during initialization of boot layer java.lang.module.FindException: Module eu.hansolo.fx.jarkanoid.Launcher not found
The same error can be reproduced by running ./gradlew run

Hmm…interesting…installed the one from the releases on my Pi4 and it just works…