Flow analysis needs to understand that assertion conditions don't necessarily execute.

Consider the following code:
void test(Object x) {
  assert((x is int ? x + 1 : throw 'foo') == 0); // (1)
  print(x + 1);                                  // (2)
}

The use of x in x +  at (1) is valid, because x is promoted to int here.  But the use at (2) should be invalid, because if assertions are disabled, no promotion happens.
Once https://dart-review.googlesource.com/c/sdk/+/120503 lands, there will be a similar issue for assertions in constructor initializers, e.g.:
class C {
  C(Object x)
      : assert((x is int ? x + 1 : throw 'foo') == 0) { // ok
    print(x + 1);                                       // bad
  }
}

I think assert(test, message) can always be treated like if (assertionsEnabled && !test) throw AssertionError(message); where assertionsEnabled is a magic value which cannot be known at compile/analyze-time


Visual Studio Tools for Service Fabric Mesh - Support for Linux

Is there a timeframe for support for Linux services with the Visual Studio Tools for Service Fabric Mesh?

@raunakpandya, @dbreshears and @MikkelHegn

The only thing you cannot do today is debug the services in a Service Fabric cluster. You can debug the service outside a container, by changing the startup projects and launch profile. To publish, you only have to change the os type in the yaml files.
The missing pieces her is how to run SF on Linux on Windows, or how to have SF on Windows run Linux containers. We are still assessing the best path for that scenario.


Add focal_point patch

Added patch for focal_point

@temlife I bet we need to backport it to 1.x and prepare to #46

Pushed as 9cb0147ab0d3b71d1dd8bf05ec28afde661f2c58


NSFS | NC | Use --from-file Option without creation_date

Explain the changes

In case the user uses an account add with --from-file option:

without creation_date - we will add the current date.
with creation_date - we will ignore this value (print a warning in the logs) and set the current date.

Issues: Fixed BZ 2260325

Currently when creating an account using the flag --from-file and in the JSON there is no creation_date property we do not allow the account creation (it fails on the schema validation).

Testing Instructions:

Create an account: sudo node src/cmd/manage_nsfs account add --from_file account_config.json in the config file do not add the creation_date property.

[ ] Doc added/updated
[ ] Tests added

Manual Testing Instructions:

First, create the FS_ROOT : mkdir -p /tmp/new_buckets_path and give permissions chmod 777 /tmp/new_buckets_path.
Create a JSON config file (without creation_date property), for example:

account_config.json (change the access_key and secret_key)
{
    “name”: “some_account_name”,
    “email”<EMAIL_ADDRESS>    “allow_bucket_creation”: true,
    “access_keys”: [
        {
            “access_key”: “ffbffbaa9b7166ac1f6c22cc09eec55e068edbf3",
            “secret_key”: “034d6cf9ad653c31ef4dc2efadd63c56ad6a16c3"
        }
    ],
    “nsfs_account_config”: {
        “uid”: 1001,
        “gid”: 1001,
        “new_buckets_path”: “/tmp/new_buckets_path”,
        “fs_backend”: “GPFS”
    }
}

Create an account using the --from-file option: sudo node src/cmd/manage_nsfs account add --from_file account_config.json (you should see that the account was created with the current date).
Edit the JSON config file above change the details and add the creation_date property, for example: “creation_date”: “2024-01-24T13:42:52.435Z” and rerun the account add command: sudo node src/cmd/manage_nsfs account add --from_file account_config2.json

account_config2.json (change the access_key and secret_key)
{
    “name”: “some_account_name2”,
    “email”<EMAIL_ADDRESS>    “allow_bucket_creation”: true,
    “access_keys”: [
        {
            “access_key”: “<access-key-1>"
            “secret_key”: “<secret-key-1>”
        }
    ],
    “nsfs_account_config”: {
        “uid”: 1002,
        “gid”: 1002,
        “new_buckets_path”: “/tmp/new_buckets_path”,
        “fs_backend”: “GPFS”
    }
}


Newbie question on adding extra content to footer

Hi, I'd like to add extra content to the footer of my website but don't quite know  how to do it. I know there is the extrafooter block in footer.html (discussed here) but how can I add stuff to that from conf.py?
I would just love to add couple of Licence logos (CC 4.0 BY-SA and GPLv3) to the footer and have been searching for a solution to achieve that. Thanks, in advance!

This page in the Sphinx docs explains how to add stuff to an existing block.
For the extrafooter block, you need to put a new HTML file into your templates_path (usually /_templates), with the following content:
{% extends "!footer.html" %}
{% block extrafooter %}

new example link

    {{ super() }}
{% endblock %}

Here's an example from a project of mine.

Please close this @ericholscher


[FEATURE] Autocomplete: Load all items on open

This is a:

[x] feature-discussion (RFC)

Hello nolimits4web,
can you please add a parameter to autocomplete popup to load all items on open?
Would be very helpful.
Thank you for your amazing project!!!

http://framework7.io/docs/autocomplete.html See 'Dropdown With All Values'

@ZanderBrown
Yeah I saw it but I don't need it as drop down.
I need it as a popup.
Is this possible with the current version?

@nolimits4web
Thank you soooo much!!!!


Improve handling of Typography spacing

Hi! I was upgrading to 3.x.x and noticed that Typography now has paragraph prop and thought I'd share why it might not satisfy the most common scenarios fully.
Based on use-cases in our projects so far, we've created a thin wrapper around Typography which allows us to apply custom bottom margins. We accept 3 values for the bottom margin (we override gutterBottom for this purpose) - small, medium and large equal to one, two and three spacing units.
The large bottom margins gets applied to headings in various scenarios where we want to create more spacing between heading text and content of a page section. Some examples: page header, or a custom modal.
The medium one provides spacing equal to the one provided by paragraph prop and is used for the same purpose, with minor distinction - we also apply it to small headings to create spacing between the heading and paragraph text, in which case it would be wrong to add a paragraph prop to a heading because that's not what it is.
Lastly, the small bottom margin is useful for where gutterBottom would be used.
I was wondering whether you'd be open to discussing how to address the use-cases. We try to minimize the number of places where styles need to be custom and injected to a component, and so being able to build simple layouts of heading + text without writing a line of styles has rather great value to us.

Forgive me for not fully understanding, but what feature are you proposing?

Apologies for not being clearer.
What I'm saying is that since we provide gutterBottom and paragraph to provide certain marginBottom, perhaps it would be worth looking into what the most common uses cases are. Our teams use MUI heavily, and providing these 3 types of bottom spacing was very useful in minimizing custom styling work needed for simple layouts involving Typography.
I'm asking whether you think providing something like gutterBottom with small, medium, large would work for general userbase of this MUI.

I would wait for user upvotes. If we hear about this more often or see a common pattern evolve we can introduce it but right now I don't see the need if this can be easily achieved in userland. Unless you are saying that this is currently not possible or requires complex wrapper components.

I'm not sure what would be the best API, but I arrived here looking for what is the "right way" of configuring margins for non-interface text, such as content in articles/blog posts as I expected this would be quite common. The normal html style is fine out of the box but with Typography I have to reconfigure it (the paragraph space not always sufficing).

@joshwooding typography.js has some interesting bias. I think that it's interesting to consider them in the v4 typography effort. For instance, they have a line-height that is rem based when Bootstrap on is em based, like us.
@n-batalha Our theme.spacing() method tries to achieve the same goal: rhythm in the layout.
@maciej-gurban One possible resolution to this problem is to make our core components use the @material-ui/system package. You would then have access to a mb={x} property. Useful when the default margin button isn't enough.

Just some thoughts below, in that this for me falls under a more general need.
There is a need (for me) to write long text content (articles, blog posts).
In this content there are more sizes required of padding/margins as per good typography conventions (see Matej's book), that would be a multiple of line height for vertical rhythm. There are more such conventions, such as not providing a margin/padding between paragraphs but instead indent the second paragraph (like books):
p + p {
  text-indent: 1em;
}

One can do custom components and use theming like @oliviertassinari mentions, but I guess my open question is if this isn't a common enough need that the support for long text content would warrant a shared solution here. Gutenberg (which btw seems unmaintained, not recommending) tries to do this but it provides a global style. Same as Typography.JS. Kyle explains the advantage of this out-of-the box set of configs based on a simple API, not requiring the user to configure so much himself.
For such long content, normally available/written with Markdown, in the material-ui case and when not keen on using such global styles, one can use things like mdjx or remark-react where one provides a mapping of html tags to be replaced by the respective React components, based on original Markdown tags (e.g. ## --> <h3> --> <Typography variant='h3'>). What's missing for me is the coding of the "good typography practices" into reusable React components (using the theme config). Whatever this is, it then at least needs to match muiTypography (*) font scale, line heights etc, muiTypography doesn't seem made for this use case out of the box. Given how Typography.JS, and Remark/MDX seem popular in the Gatsby community, perhaps it's worth it. I'd love to implement if I have time, and if no one can tell me why this is a bad idea (already exists?). Maybe even not tied to material-ui.
(*) muiTypography = Material UI Typography

To start, could we expose gutterBottom in the global theme object? I see right now it's fixed by em which requires the wrapper if you want to change the margin for every Typography component.
gutterBottom: {
    marginBottom: '0.35em',
  },

There's a question on it on stackoverflow looking at the same feature.
https://stackoverflow.com/questions/56371614/material-ui-typeography-gutterbottom-increase-margin

@KyruCabading It's already exposed. It doesn't require a wrapper, you can target the CSS class name or use theme.overrides.MuiTypography.gutterBottom.


Table "Select all" gets confused when tables are inside a list

Environment
NUXTUI, NUXT3
Reproduction
I have a list of tables defined as such:
`

 {{ r.name }}

        <template #actions-data="{ row }">
          <UDropdown :items="items(row)">
            <UButton color="gray" variant="ghost" icon="i-heroicons-ellipsis-horizontal-20-solid" />
          </UDropdown>
        </template>

      </UTable>
    </li>`

This renders correctly and works wonderfully. The only issue is when I use the "select" feature, the two tables sometimes interact where they shouldn't.
I see this happen when table 1 (that has 5 elements) when I select 2 elements from it, table 2 thinks all elements in table 2 have been selected. This probably has to do with a check to see if the number of selected elements match the number of elements in the table (to see if all elements are selected and change the select icon accordingly). However, when there are two separate tables, they should act independently.
Picture for reference:

Describe the bug
Tables that are inside a list and are expected to behave independently are interacting with one another through the SELECT feature.
Additional context
No response
Logs
No response

The code I posted doesn't seem to render correctly on Github so I am attaching a picture as well:


Tests

Codecov Report
Base: 16.00% // Head: 100.00% // Increases project coverage by +84.00% :tada:

Coverage data is based on head (a92a0fa) compared to base (34e5c01).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff              @@
##           master       #11       +/-   ##
============================================
+ Coverage   16.00%   100.00%   +84.00%
============================================
  Files           4         4
  Lines         150       149        -1
============================================
+ Hits           24       149      +125
+ Misses        126         0      -126

Impacted Files
Coverage Δ

lamp_shop_app_ui/lib/pages/details_page.dart
100.00% <100.00%> (+98.31%)
:arrow_up:

...amp_shop_app_ui/lib/config/app_box_decoration.dart
100.00% <0.00%> (+33.33%)
:arrow_up:

lamp_shop_app_ui/lib/config/app_dimensions.dart
100.00% <0.00%> (+41.17%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Extension makes VsCode very slow

When I have the extension enabled vscode is very slow, the autocomplete features are very slow to complete and all is drastically very slow, even saving a file (Ctrl + S) takes some seconds, disabling the extension makes everything work as expected, tested on multiple computers.

I presume this is because it's parsing the code in the extension host instead of a language service. If i can figure out how to run it in a language service quickly, i'll submit a PR.

Started initial work on using a language service plugin here https://github.com/forivall/vscode.override-mark/commit/bec1e610dd99f5f01ac3c1dfe5e8b5c0adb68ee9 -- i'm looking at angular's lsp and figuring out how to call that custom lsp command that the wip plugin provides.

@forivall , big thanks, I will be grateful for that

My plan is to use techniques from https://github.com/hediet/hediet-ts-refactoring-lsp (except i'll handshake using configurePlugin see instead of executeCompletionProviders)  -- or see if i can return custom highlight types (for override and implement) from executeDocumentSymbolProvider

@forivall it will be wonderful.
What you think about the minimal VSCode requirement? Shoud us increase that?

I'll see when i actually work on the implementation -- i just wanted to dump my research / open tabs from the weekend, so i can resume work on this later. For now, it's on pause as i work on day job work 😄


Refine the written python code into PEP 8 style (only the functions in the end)

Is this issue still open? I would like to work on it.

Agh it was earlier, but then later i planned to reformat it with the help of the black linter... I will close this for now but i have got some better issues here, i will add them here in next 5 days. Would be great if you can help me with it.


Visualizations: offer detailed constraints on if a variable is allowed to be multi valued

We may need to be able to constrain on multi valued vars, needs some thought. At a min we should pass whether a var is multivalued as part of the var metadata map.

i think we do already send isMultiValued as a property in the meta data

Related to https://github.com/VEuPathDB/plot.data/issues/64


how to get list of all records from table.

Hello,
Upon adding data, I want to get a list of all records from the localdatasource. using the getAll(), it is returning an empty array. Below is the code. I am sure im doing something wrong. Thanks.

 add($event) {
    $event.confirm.resolve($event.newData);
    this.source.getAll().then((data) => console.log(data));
  }

Thanks for some help.

let data = [];
this.source.getAll().then(value => {
    value.forEach(element => {
        data.push(element);
    });;
});

Hi @ashley-s I know that this is an old post, but.. that you are doing it's perfectly fine, should work.


GameState-sensitive services

The current Service API and implementation assume that service providers may be accessed at any time. However, as this issue shows, this doesn't always work out. Particule service providers may require the server to be running, and will not work properly otherwise.
I've outlined some possible solutions below. Each one has some drawbacks, and I'n not really sure what the best one would be.

Require services to check the current game state before performing operatings
This would require UserStorage to only use the server between SERVER_STARTED and SERVER_STOPPED. While the service itself would always be available, certain methods might fail or throw an exception, depending in which game state they were used
Advantages:

The existing service API remains unchanged
Plugins are free to store a reference to a service provider, and need only update it on a ChangeServiceProviderEvent
Services can still provide limited functionality to plugins, even if using their full capabilities are not available.

Disadvantages:

Not all service providers can meaningfully exist at all times. For example, a service dealing only with worlds could not function at all if the server is not running.

Services have no guarantee about the game state they are running in, and must attempt to fail gracefully if a particular method cannot work in the current environment.

Allow services providers to be removed after one is provided
At the moment, plugin can safely call ServiceManager#provideUnchecked any time after a provider is first registered for a given service. With this solution, a service could be "un-provided" at some point after a provider is registered, causing the ServiceManager to act as though no provider has ever been registered.
Advantages:

Plugins providing a service can choose to make it unavailable, depending on the current game state and environment. The previously mentioned world-related service could only be made available while the server is running.
The client environment is properly handled, since a provider can be "un-provided" each time a particular change in the environment occurs.

Disadvantages:

Plugins can never store a reference to a service provider. Since the entire point of this solution is that a provider may become unavailable, any stored reference to a service provider will become invalid if the provider is removed. This would require plugins to attempt to retrieve a service from the ServiceManager each time they wished to use it.

The ServiceManager and ChangeServiceProviderEvent must be changed to accommodate the fact that a provider can be replaced by no provider.

The unavailability of a provider for a given service conveys no additional information about the reason why it is not available.

Pinging @SpongePowered/developers for feedback,

I like option 2 better: Allow services providers to be removed after one is provided.
I don't think we should be supporting the storage of references to services as is. This poses problems not only for provided services being removed, but for service providers being changed, as the referred service, might not actually be the currently provided service. Thus, the developer must listen for any changes to the service provider, and we've created a new area for human error.

Yeah, I like option 2 as well. There isn't a huge amount of additional handling required now that we already support replaceable service handlers (though it might make sense to specify whether or not a certain service type is nullable).

We could avoid most issues with outdated references if we don't expose the actual service impl but use a proxy impl. Of course they will still throw exceptions if no service is registered at invocation time. And this will avoid the work to update service references for services that must be present (PermissionService). Maybe we could even add a new interface to allow such isdirty /isregistered checks for services.

If you are worried about people storing references, Can't we give people a Supplier instead?
IMO services that have been registered shouldn't be unavailable. If they get de-registered a new service should be ready to take it's place immediately, It makes it far easier to program to if you can assume that once a service is available either it, or another is going to remain available.
(It would be even better if there was an event or something that means plugins need to re-initialize the service when replacements happened. That way I can be sure my PermissionDescriptions have been registered even if the Permissions service swaps out)

@ryantheleach: There's ChangeServiceProviderEvent, which does what you described. However, as you pointed out, there's still the problem of needing to disable some of your plugin's functionality each time the provider is removed.

@ryantheleach
I disagree on IMO services that have been registered shouldn't be unavailable.. If, for some reason, an Econ plugins removes its registered service then there is no fallback and therefore Sponge should report that there is no service should a plugin query for the EconService.
There really is a simple fix here; plugins should simply query for that service when they are accessing it lol.

I think we need to bring this back to why and in which circumstances a service will/could/should be removed without a replacement.
The only one I can think of is universe changing on the client. But even then restarting the game is usually required for significant changes of what mods are enabled.

IMO, there needs to be a way to either get the pluginId of the plugin providing the service, or a way to get the PluginInstance itself.


[docs][Typography] Update variantMapping default value formatting in JSDoc

Error occurred in scoping due to line 77  @default '{'

[ ] I have followed (at least) the PR section of the contributing guide.

Closing this PR due to no response. Feel free to reopen it if you'd like to reply.


Question about 13th band

Hi there,
I've noticed that there is in the code of transforms.py in the get_pretrained_s2_train_transform function there is an imput of 0s-filled B10 band:
B10 = np.zeros((1, *image.shape[1:]), dtype=image.dtype)
image = np.concatenate([image[:10], B10, image[10:]], axis=0)

I'm just curious - why do you do this?
Kind regards,
Elena

The SSL4EO vision encoders we use are pretrained on 13 channels (https://torchgeo.readthedocs.io/en/stable/api/models.html#sentinel-2), but our S2-100K inputs are just 12 channels so we zero-pad one channel.

Aha, got it, thank you for the explanation!


Doesn't work with ember 2.10.0 and ember-cli-postcss 3.1.0

This addon doesn't work anymore with my setup..
Steps to reproduce:

npm install -g<EMAIL_ADDRESS>ember new component-css-test
cd component-css-test
ember install ember-cli-postcss
ember install ember-component-css
npm install --save-dev postcss-import

// ember-cli-build.js

var app = new EmberApp(defaults, {
    postcssOptions: {
      compile: {
        enabled: true,
        plugins: [
          { module: require('postcss-import') }
        ]
      }
    }
})

/* app/styles/app.css */

@import 'pod-styles.css';

Then when I try to start it, I get a message:
$ ember serve
Livereload server on http://localhost:49152
Serving on http://localhost:4200/

ember-component-css: You have not yet created a component style file.

Build successful - 11498ms.

Slowest Nodes (totalTime => 5% )              | Total (avg)
----------------------------------------------+---------------------
Babel (16)                                    | 10599ms (662 ms)

I'd be very happy if you looked into it!

@anehx did you look at some of the solutions described in #178? I think the same thing is going on in that one.

Which solutions exactly are you talking about? Most of the "solutions" in #178 are for addons if I understood correctly..

I just tried it with ember-cli-sass and it didn't work either. So it's not specific to the precompiler..

@anehx ya. The plain css useage is less then ideal.. :/ until the cause of the bug is found, you need to add in the dummy css extension. you can do that using the addon in this comment. https://github.com/ebryn/ember-component-css/issues/178#issuecomment-258850469
I updated the readme last night and added this as a note at the bottom of the plain css section. Sorry we don't have a proper fix for this yet.. :/

@anehx this should be fixed by #208
If it isn't, please feel free to reopen. Sorry for the inconvenience.

@anehx 0.2.10 has been released. Feel free to give it a try.


no visuals on cygwin until press any key

after building mg on cygwin and typing:
mg
nothing seemingly happens. But if I then press any key, the normal emacs screen appears.

I just realised this only happens in Windows terminal, not in the old style basic cygwin terminal. Probably not mg's fault, but might be a good place here for someone to tell us the solution.

Interesting! I've only ever run cygwin in its own terminal, how would one go about reproducing this, i.e., how do I use Windows terminal with cygwin? (Don't even know where to download that...)

OK, I've now managed to reproduce this.  Like you say, works in the default Cygwin terminal, but not in Windows Terminal.
This happens because of the limited support in the fallback src/ansi.c, which is used if a proper termcap/ncurses library is not found when running ./configure.
To fix, install ncurses-devel in Cygwin setup.exe, re-run the configure script and rebuild.

Hi, sorry for the late response, and thankyou for figuring this out!
I don't know what the "fallback" is or where it came from, but give that the top platform is windows and the official terminal is now Windows terminal, it might be nice if the "fallback" supported that. Just a thought.

Windows is hardly the top platform for Mg.  Windows is supported by installing the standard ncurses library, if that is missing a crude built-in fallback is used that works on standards compliant VT100/VT220 terminals.
Sure, both the documentation and the fallback can be improved.  The fallback made to work around bugs in Windows terminal, but that is not really my priority since I don't use Windows at all.  If someone finds this a worthy enough exercise I'm sure they'll send a pull request to address the issue.


Make CI pipelines the same across projects

Not sure if this repo is the right place for this issue, but I noticed that Open Zaak has an image_scan job in the CI pipeline: https://github.com/open-zaak/open-zaak/blob/main/.github/workflows/ci.yml#L268. Is this something we want in the other projects as well?
In general, I think it is a good idea to check if the pipelines are the same (or at least as close as possible) and up to date when it comes to versions for actions

[ ] Add the best things to the default project - api folder.
[ ] Make sure all the API projects have similar CI pipelines

Maybe we could make use of https://github.com/maykinmedia/setup-django-backend/tree/v1.3

A first effort to make the CI pipelines more consistent was made through open-zaak/#1730. The code quality workflow was used for this and now reuses the code quality workflow from the open-api-workflows repository.

Moving the workflow files to the root repository does not seem possible (screenshot taken from an open-zaak run):

[ ] Open-zaak

https://github.com/open-zaak/open-zaak/pull/1730

[ ] Open-Klant
[ ] Referentielijsten
[ ] Objects-API
[ ] Objecttypes-API
[ ] Open-Notificaties


gstreamer stalling (part 2)

Hello, I am facing a similar issue to gstreamer stalling?. I am trying to stream 120 fps videos from 2 CSI cameras on the jetson nano using the C++ API. The Capture() call times out continuously for one of the cameras/streams after a while of streaming (~5 mins) and then when I do a SAFE_DELETE() of that input stream, it hangs after [gstreamer] gstCamera -- stopping pipeline, transitioning to GST_STATE_NULL at which point I have to force kill the program. I'm not sure if the problem arises from the same place, i.e. at gst_element_set_state(mPipeline, GST_STATE_NULL);. I tried to use the suggestion posted on the previous issue by commenting out Close() in gstDecoder.cpp, but it didn't resolve the problem.

I am also experiencing this issue, did you manage to solve it?


deno_registry2 must reject broken module

I think deno registry must check  the module befor add them to deno.land/x store, if the code is invalid (like deno deploy check)  or have'nt description inform the contributor. this will be help develop to get "save" code from deno.land/x, this may need some convention about enty/entries poins for modules or manifest.

We already have process that goes through every file to deno cache them to analyze the dependencies (which is then reflected on the build status returned by the webhook) -- is that what you had in mind?

We already have process that goes through every file to deno cache them to analyze the dependencies (which is then reflected on the build status returned by the webhook) -- is that what you had in mind?

I deploy test_manager, I clean (not intended) one file content commit this brok my code, then I publish can't be used by any body because is invalid I'd like  deno registry to reject invalid code and notify dev deploying this.
if my not clear a nought I will rewite it.

Yeah I'm sorry, I'm not 100% clear on what you're asking here? "Broken code" could mean a couple of different things, it could mean that imports and broken, it could mean that there's syntax errors and it doesn't parse in v8, or it could mean a variety of other things. What's the flow you're looking for? What kind of errors do you want the registry to catch and how?

Yeah I'm sorry, I'm not 100% clear on what you're asking here? "Broken code" could mean a couple of different things, it could mean that imports and broken, it could mean that there's syntax errors and it doesn't parse in v8, or it could mean a variety of other things. What's the flow you're looking for? What kind of errors do you want the registry to catch and how?

I think he means that you should check the work of the third party units before publishing them on the Deno registry
I think the piece of code below explains what he means 😄
if(checkIsValidThirParty(incomingThirdPartyModule)){
     publishToDenoRegistry(incomingThirdPartyModule)
}else{
     makeReportToModuleOwner(incomingThirdPartyModule)
}

Yeah I'm sorry, I'm not 100% clear on what you're asking here? "Broken code" could mean a couple of different things, it could mean that imports and broken, it could mean that there's syntax errors and it doesn't parse in v8, or it could mean a variety of other things. What's the flow you're looking for? What kind of errors do you want the registry to catch and how?

I would assume that broken code means that it is code that won't run.
like
functi on ree() {
  return "ree";
}

And if things like this happen then the registry should reject the code.


Windows troubles with default program to open .py files

On my Windows 10 virtual machine, I set Atom as the default program to open .py files.  This was a big mistake, and now when I try to run PmagPy programs, Atom is opened.  I tried resetting it using "choose default apps" for .py files, but there is no appropriate python option available that way.  I suspect I would have to go into the registry and select python.exe, or something like that.
This stack overflow question gets at the same thing: https://stackoverflow.com/questions/15121714/how-do-i-get-a-python-program-to-run-instead-of-opening-in-notepad
This seems like a problem a user easily might encounter, too.  I can just spin up a new virtual machine, but I am stumped on how to simply fix this, which we would want a user to be able to do.
Anyone with more Windows savvy have thoughts on this?  @Caoimhinmg, @rminnett?

I had a similar problem with the .py extension being attached to the wrong
program and never did find a solution. Now on windows 10, so left the
problem behind on my window 7 install.
On Sat, Sep 23, 2017 at 2:54 PM, Lori J<EMAIL_ADDRESS>wrote:

On my Windows 10 virtual machine, I set Atom as the default program to
open .py files. This was a big mistake, and now when I try to run PmagPy
programs, Atom is opened. I tried resetting it using "choose default apps"
for .py files, but there is no appropriate python option available that
way. I suspect I would have to go into the registry and select python.exe,
or something like that.
This stack overflow question gets at the same thing:
https://stackoverflow.com/questions/15121714/how-do-i-
get-a-python-program-to-run-instead-of-opening-in-notepad
This seems like a problem a user easily might encounter, too. I can just
spin up a new virtual machine, but I am stumped on how to simply fix this,
which we would want a user to be able to do.
Anyone with more Windows savvy have thoughts on this? @Caoimhinmg
https://github.com/caoimhinmg, @rminnett https://github.com/rminnett?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PmagPy/PmagPy/issues/243, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABODRSJNFmc65BrNtREVvg68FLfa99m9ks5slX4XgaJpZM4Phsk6
.

No, this is one of the dumb problems Windows has with interpretive languages like python. The thing is .py is encoded as a text file not an executable so Windows will by default always try to open a word processor or text editor. Which means to run the .py files you have to run through a shell or compile the text file to an executable there is no option to treat it like an executable by default and pass it through the interpreter unless you manually find python and set it by hand. There might be a way to do this last bit with a batch script but I'm not Windows savvy enough to know how. As I see it though most users on windows will just use the executables anyway, if not they're going to be using the scripts in a shell so in general it shouldn't be much of an issue.

Yes, I agree, we could possibly include a jscript to set the extension to run the Python interpreter, but that's not really how those scripts are intended to be used. The .py files are meant to be used on the command line with arguments, not executed by clicking on the file. If this is what users are doing, the effort is better spent on adding instructions to the cookbook or directing people to the cookbook than on getting .py files to run the interpreter.

This problem occurs not only when clicking on a file, but also when trying to run the executable on the command line.  So I think this is a significant concern for anyone doing development on Windows -- if you choose, say, Atom as your .py default, you will no longer be able to run .py files as executables from the command line.

Oh, I see, well if they're just trying to run a single Python script then adding "python " in front of the script's name on the command line should work if Python is installed.
Otherwise, at least for Windows 10, to reassociate the .py files with the python interpreter they have installed:

in a command line type "where python" and make a note of the location of their preferred python interpreter or (if it's not in their environment variables, find the python.exe file they want to use)
right click on any .py file in File Explorer
click "Change" next to "Opens with:"
click "More Apps" at the bottom
click "Look for another app on this PC" at the bottom
browse to the location of and select the python.exe file from the first step above

Thanks Rupert!  I was able to follow those steps successfully.  Unfortunately, that resulted (I think) in python no longer working on the command line.
'python' is not recognized as an internal or external command, operable program or batch file

Anaconda Python is still in my path, though (which is looking a bit weird because of running dev_setup.py...):

Perhaps I just need to create a new Windows VM and discard this one, because things have gotten so mucked up.  But I am concerned about the user experience of Windows.  Thoughts?

As you might have heard, Microsoft recently added the ability to run various linux environment in windows. I'm wondering if this might be a better path to take. I have not installed any of these myself and this might just be another rabbit hole to go down, but it could be much better to set windows people up in the linux environment, if they want to run on the command line. PmagPy was built on a unix type system and works with a lot less problems there. We could promote the stand-alone for people on windows who just want to run the GUIs and a windows linux environment for people who want the command line or the development branch from git.
Do you know much about this new possibility @Caoimhinmg ?
Here is a starting blurb from this Microsoft webpage: https://msdn.microsoft.com/en-us/commandline/wsl/about
The Windows Subsystem for Linux lets developers run Linux environments -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a virtual machine.

Hmmm, that PATH environment variable looks suspiciously messy (Windows is supposed to ignore extra backslashes, but you also have duplicate entries and appear to include Anaconda, which should give you at least one python.exe) . Before giving up on that VM, you could:

right click on the Windows icon on the left of the taskbar
select "System"
click on "Advanced system settings"
click on "Environment Variables"
select "Path" in the bottom "System variables" and click "Edit..."
click "Edit Text" and copy the "Variable Value" to a text editor
remove of extra backslashes
remove all duplicate entries (and the last entry of "C:\Windows\s" looks incomplete)
copy and paste the cleaned text back into the "Variable Value" and click "OK" on the three windows

If that doesn't let you execute "python" on the command line, it might be time for clean VM.
The Windows Subsystem for Linux option might be a cleaner solution for Windows users, but it requires Windows 10 Anniversary Update (August 2016) or newer on 64-bit and requires the user to install additional software other than just a python distribution and PmagPy. I don't know if that's too restrictive for some older lab computers?

Ultimately, I removed all PmagPy/Python stuff from my PATH manually as @rminnett explained above, then reinstalled.  I don't think there's a really clean solution to the Windows madness.  Hopefully if anyone gets into this same situation, they will find this issue as a reference.

you can also right click on the file you want to open (a .py file) and then select "open with" and then "choose another app" and then "more apps" and then scroll down until you see "Look for another app on this pc" and then find your python27 or python37 folder and then right click on the "python" file and then select "troubleshoot compatability" and then "try recommended settings." And then "test the program" it should pop up a command window with python in it. Click next, and then "save these settings for this program" and then close the troubleshooter.
I was trying to figure out how to just click on a python file and have it run (including args that I needed to input) because running python programs in an IDE or interpreter just slows them down.
If they can run in a command window that speeds them up a bit plus if you've put in "print" commands here and there you can see the progress -- most IDEs just stall out leaving you clueless.
Anyways, hope this is helpful for Windows 10 python users.

Right-click on a file > Open With > Choose default Program > Click on Browse > Select python.exe
I found python.exe in the C:\Users\Kondal\AppData\Local\Programs\Python\Python37

Here is screenshot of this error:


Improve cairo documentation

This is a project to add documentation to all of cairo's public types. I'm pulling most of the documentation from the C reference, and adding examples where needed.
Closes #1187.

That looks like a good start! thanks a lot

Any chance for pushing this forward? :)

Yes! I put this aside a long time ago and forgot to come back. I'm happy to keep working on this!


fix(history): add space between icon and message

Really tiny fix.
I found notify._print_history() function removes space between icon and message if the notification doesn't have a title.
Remove useless conditional statement #notif.title[1] > 0

Thanks for the PR!


bump specified version to 1.2.3 to reflect change in GitHub actions checkout version

bump specified version to 1.2.3 to reflect change in GitHub actions checkout version

Closing this and bumping version in PR#21.
Thanks @bloohacked for pointing this out!


RNG timers for IEDs + small tweaks

About the PR

IEDs now have a random explosion time, from 0 to 60 seconds.
Additionally, they now tick instead of hiss and have a primed sprite.
Why / Balance

IEDs are too powerful. This is just an alternative to #22082 so that we don't restrict interesting items from common roles for crafting.
Media

https://github.com/space-wizards/space-station-14/assets/98561806/78662d80-8383-4135-8e30-94cef23158c1

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Improvised explosive devices now have unreliable timers that can take anywhere from 0 to 60 seconds to explode.

60 seconds seems too long, what about 20 seconds?

also, the primed sprite and ticking sound doesn't show in the video

Yeah im aware of the sprite i had to fix it after i recorded and i got lazy.
I think 60 seconds is fine just because they're not hard to make and people have really been abusing them. For as easily obtainable as they are, they should be equally as shitty.


Create 'About' page in web-shell to echo current config (e.g. storageKeys)

Note that most of the relevant config info can be found using the Xen Explorer tool to inspect web-config::state::config.


Add Gradle wrapper in the repository

Is your feature request related to a problem? Please describe.
It's not obvious which version of Gradle the project should be using as well as makes all development configuration more complicated.
Describe the solution you'd like
The Gradle wrapper should be added to the repository. For security concern, always verify the checksum of the wrapper when accepting PR that includes one.
Describe alternatives you've considered
The alternative, which is not providing a wrapper. Adds maintenance burden on the users and possibly on the team when answering questions regarding Gradle version to use. It's also the most idiomatic way of using Gradle.
Additional context
Feel free to raise any concern about using the Wrapper. The Gradle team is happy to address them.

See PR: https://github.com/NationalSecurityAgency/ghidra/pull/456

Closing for now.  See comment in pull-request for more info.


docs: fix sern init defaultPrefix on the example

Adding `` to a a string in a configuration file is redundant. It is also more concise to do it the previous way due to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer

it didn’t seem to work on my end for some reason
On Sun, 11 Sep 2022 at 11:03 PM, Jacob Nguyen @.***>
wrote:

Closed #135 https://github.com/sern-handler/handler/pull/135.
—
Reply to this email directly, view it on GitHub
https://github.com/sern-handler/handler/pull/135#event-7362942142, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AP646ASI3VOAWX5CXH7W7VDV5ZCKRANCNFSM6AAAAAAQJ5IF2U
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Desarrollador Fullstack y freelancer.
Correos: @.*** y @.***


Provide benchmarks tests

Would be nice to profile/monitor this in a standardised way, so that we can see whether there are improvements upon each PR. The benchmarks should be similar in structure, probably making use of some shared façade functions.
What we probably want as input:

Initial + final state
Allowed intermediate states (the fewer, the faster)
Formalism type (helicity/canonical)
Number of:

phase space events
intensity-based events ('data')

Stage to perform (e.g. only up to data generation)

The recipe file is generated with the expertsystem based on this input. All the rest (e.g. which amplitude generator to use), should be deduced from the recipe.
Some potential tools:

pytest-benchmark (nicely integrated with pytest, though seems to be more for micro-benchmarks)
pycallgraph (seems rather outdated)
Write own timer with timeit

Update: the HSF Data Analysis WG considers defining benchmark PWA analyses for comparing different PWA fitter frameworks. Once those benchmarks are defined, they can be addressed in this issue.

Also worth considering: host these benchmark test under a separate repository, otherwise it slows down CI of TensorWaves and could clutter the repo with a lot of additional testing code. Alternatively, the tests are run only upon merging into the stable branch.

@Leongrim this may be a nice way to record performance over time
https://github.com/benchmark-action/github-action-benchmark
It also supports pytest-benchmark


Fix usb enumeration stage error for some device (IDFGH-9778)

Fix enumeration process crashed with stall status when enumerating devices which return bConfigurationValue with non standard value in the configuration description.
I encounter the bug when I try to connect a serial device from Netchip Technology. The device responses the request for first configuration with bConfigurationValue = 2. But in current code, the config_num is hardcoded to be ENUM_CONFIG_INDEX + 1 which is 1.
❯ lsusb -vd 0525:a4a7

Bus 001 Device 050: ID 0525:a4a7 Netchip Technology, Inc. Linux-USB Serial Gadget (CDC ACM mode)
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0525 Netchip Technology, Inc.
  idProduct          0xa4a7 Linux-USB Serial Gadget (CDC ACM mode)
  bcdDevice           24.18
  iManufacturer           1 Linux 2.6.39 with atmel_usba_udc
  iProduct                2 Gadget Serial v2.4
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x004b
    bNumInterfaces          2
    bConfigurationValue     2
    iConfiguration          3
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass          2 Communications
      bFunctionSubClass       2 Abstract (modem)
      bFunctionProtocol       1 AT-commands (v.25ter)
      iFunction               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              4
      CDC Header:
        bcdCDC               1.10
      CDC Call Management:
        bmCapabilities       0x00
        bDataInterface          1
      CDC ACM:
        bmCapabilities       0x02
          line coding and serial state
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 bytes
        bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              5
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Here is the pcapng when I connect the device into PC.
usbmon.zip

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your contribution.

Hi @20051231,
Thanks for the PR.
There is another ticket here which is also related to the configuration value.
For fully support the variety of configurations there should be a way to choose preferable one to work with and this option should also depend on bNumConfigurations value from device descriptor.

sha=9d1c8f4f1815ce1d4bcea32ab7ef2cb830e90a08


[Cluster] scanning nodes stops if ClusterConnectionManager#addMasterEntry fails

Expected behavior
Periodic scan of cluster nodes runs forever (every scanInterval milliseconds)
Actual behavior
Periodic scan of cluster nodes stops when a single master is added to the cluster and Redisson cannot perform CLUSTER INFO
Steps to reproduce or test case
Failure to perform CLUSTER INFO is probably a side effect from another problem but I expect that Redisson can recover.
I'm using a 6 nodes cluster in a VM (libvirt) environment on 3 virtual machines. Each VM hosts one master and one slave in way that master and slave happens to be on different VMs (master1 is on VM1, but slave1 is on VM2; master2 is on VM2, while slave2 is on VM3 and master3 is on VM3 while slave3 is on VM1). Hard stop VM2 which effectively disconnects master2 and slave1. Then I bring back VM2. Former master2 is no longer master so I promote it to be master again by executing CLUSTER FAILOVER on it. After I do so, Redisson attempts to reconnect to master2 but for unknown reason fails with:
201471 [redisson-timer-4-1] ERROR o.r.c.ClusterConnectionManager - Can't execute CLUSTER_INFO for /<IP_ADDRESS>:6379
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (CLUSTER INFO), params: [], Redis client: [addr=redis://<IP_ADDRESS>:6379]
	at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:207)
	at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672)
	at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747)
	at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:834)

Redis version
Redis 6.0.4
Redisson version
3.13.0
Redisson configuration
All defaults, except useClusterServer and one node address.
Notes
I traced back the issue to org.redisson.cluster.ClusterConnectionManager#checkMasterNodesChange:
for (ClusterPartition newPart : addedPartitions.values()) {
    RFuture<Collection<RFuture<Void>>> future = addMasterEntry(newPart, cfg);
    future.onComplete((res, e) -> {
        if (e == null) {
            futures.addAll(res);
        }

        if (masters.decrementAndGet() == 0) {
            AtomicInteger nodes = new AtomicInteger(futures.size());
            for (RFuture<Void> nodeFuture : futures) {
                nodeFuture.onComplete((r, ex) -> {
                    if (nodes.decrementAndGet() == 0) {
                        result.trySuccess(null);
                    }
                });
            }
        }
    });
}

addMasterEntry returns failed future (e is not null) and  futures.addAll(res); is never executed. As a result result future is never resolved and the next round of scanning is not performed

Thanks for report! Can you suggest a fix?

Could you try attached version?
redisson-3.13.1-SNAPSHOT.jar.zip

Thank you for the quick turnaround, trying it now....

The provided version fixes the issue! Thank you!
I no longer get Can't execute CLUSTER_INFO - looking at the code you provided - it looks like that command is no longer necessary in version 3.13.1. You also took care of resolving the result promise futures.size() == 0.
Thank you again!

Thanks for feedback! Fixed


Add Algolia DocSearch input

Search box should be more centered as the results are truncated on the right if the box is too much on the right side of the page

IMO it's the Algolia popup that should be more centered, I'm going to try to do it with Algolia CSS classes...

Corrected in commit 48b0414039d6bbff6dd719744ba53c144c2589f1


Update docs/lake/README.md

The Zed Lake README has not been updated incrementally as the Zed Lake concepts have evolved, so it's become quite out of date. Meanwhile, the Zed Lake Design doc has been kept current. As long as we intend to maintain both docs, we should bring the README current.
Related: #2429 has also been open for some time to track the need to use some kind of automation to protect its content from falling out of sync again, as it's been notorious for doing this in the past. However, I imagine we should worry about getting the correct content first, then worry about automation.

I'll take a shot at updating this after the branches PR merges.

@mccanne took the first step on this via #3034.

This was completed as part of the big docs project.
There is more work to do here but we'll open a new issue down the road.


Add searchsploit to Kali Image

🚀 Feature Proposal
Add the searchsploit package to the base Kali image
Motivation
This allows assessment teams to query a local version of exploitdb which will be useful as assessments go on site and have restricted access to the Internet.

@justinforbes, I don't see a searchsploit package:
$ apt-get update
Get:1 http://kali.download/kali kali-rolling InRelease [30.5 kB]
Get:2 http://kali.download/kali kali-rolling/contrib amd64 Packages [101 kB]
Get:3 http://kali.download/kali kali-rolling/non-free amd64 Packages [198 kB]
Get:4 http://kali.download/kali kali-rolling/main amd64 Packages [16.9 MB]
Fetched 17.3 MB in 2s (8126 kB/s)
Reading package lists... Done
$ apt-get install searchsploit
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package searchsploit
$ apt-cache search searchsploit
<returns nothing>

It looks like the package you are asking for is exploitdb.  Do you also want any of these other packages related to exploitdb?
$ apt-cache search exploitdb
exploitdb - Searchable Exploit Database archive
exploitdb-bin-sploits - The Exploit Database's archive of binary exploits
exploitdb-papers - The Exploit Database's archive of papers & ezines
go-exploitdb - builds a local copy of the Exploit-DB (OffensiveSecurity)
golang-github-mozqnet-go-exploitdb-dev - builds a local copy of the Exploit-DB (OffensiveSecurity) (source)
python3-pyexploitdb - library to fetch the most recent exploit-database (Python 3)

Yes searchsploit is part of the exploitdb package, thanks.  Just the default exploitdb package should be good.


win,fs: make rename retries opt-in

Fixes: https://github.com/libuv/libuv/issues/2098

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/1119/

I think it's practically a given that either:

No one will use the flag, or
People will request that we make the number of retries and the back-off period configurable.

If (1), it's dead code. If (2), it'd be hard to retrofit without breaking API/ABI.
FWIW, I agree with the sentiment from #2098 that retry behavior doesn't really have a place in libuv. I move for reverting it.

I agree with the sentiment from #2098 that retry behavior doesn't really have a place in libuv.

I'm ambivalent as well...
 Also why just "rename", if we're venturing into this, for completeness I'd expect it implemented in open & copy as well...
On the other hand, the Windows built-in anti-virus and indexer are everywhere and on-by-default. They are so bothersome that almost every decent software product asks it's users to disables those as the first step of troubleshooting.
tl;dr This PR was made mainly to solicit feedback.

If we hide this behind a flag Node will probably end up using that flag, so I guess it won't end up as dead code.
IMHO this should be made opt-out. Libuv should help with all those little platform differences. This "failing rename" is one of those things (and the "rename overwriting existing empty directory" is another). For most users, this makes libuv more reliable. For all others using new UV_FS_RAW_RENAME flag should work just fine.
As for jitter, incremental back off and not blocking a thread - all those can be implementend by extending current implementation.

Retrying was reverted by https://github.com/libuv/libuv/pull/2122, closing this.


Change Deposit Block Hash

Since we are no longer creating deposit blocks on sidechain, there is no need to create an empty merkle tree with our deposit and store the hash. Instead we can just store the hash of the transaction itself as the "block hash". This makes it easier to validate on the sidechain.

Can i just include this in my branch of buffering deposits until submitBlock

Sure, you'll have to change startExit though


Add idk by idk

Song Name
idk
Artist Name
idk
Source
Youtube
Youtube Link
QmX9VbdnXxw
Direct File Link
No response
Song ID
770520
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 73667628

reject
artist and song name must be descriptive


Notification threshold setting in portuguese is written in polish

Bug Report
Important
Please follow this template strictly when reporting bugs.
Reports that do not adhere to this template will not be addressed and will be closed.
App Version: 2.0.11
Platform: Linux
Installation Method: Snap
Expected Behavior:
When opening the settings modal I expected to see all the settings in portuguese
Actual Behavior:
The notification threshold setting is in polish
Steps to Reproduce:

Open the app.
Click on the settings button
Set the language to potuguese
The setting says "Prog powiadomień" instead of "Limiar de notificação"

Screenshots:
If applicable, include screenshots that demonstrate the bug.

@sebastiaoLa this should be fixed in the latest pre-release and will finally be released in 2.0.12.


[11.0.x] ISPN-15239 HotRod client repeatedly retries iteration operation against failed server after removal from topology

Issue: https://issues.redhat.com/browse/ISPN-15239
This is a backport of : https://github.com/infinispan/infinispan/pull/11422 to 11.0.x branch for EAP 7.4.z

this is a backport to 11.0.x branch, @pferraro @jabolina may I ask any of you to review ?

Thanks for opening it. It seems the new test is failing. I'll check if it needs something more.

Added a new commit with the fixes. There are just some changes on the test side.

The UnifiedXmlFileParsingTest test failures may have something to do with https://github.com/infinispan/infinispan/pull/11325, which specified a fixed thread group name instead of using the threadGroupName argument.

Thanks, @gaol! Integrated into 11.0.x.

@jabolina Impeccable timing ! Thanks :smile:


Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

interesting, when I've set port forwarding: <IP_ADDRESS>:443 -> <IP_ADDRESS>:5000
I've got push working without any problems...
root@590e448faddf:~/.docker# docker push docker-registry.smctr.net/busybox
The push refers to a repository [docker-registry.smctr.net/busybox] (len: 1)
8c2e06607696: Image already exists
6ce2e90b0bc7: Image successfully pushed
6ce2e90b0bc7: Buffering to Disk
Digest: sha256:cd8f82e67eed3529eb65d72fe2ea073f64205910c2878074f7217962a9b14789

cc @docker/distribution-maintainers

@onorua It looks like nginx is running on port 443, but you've tagged the images as docker-registry.smctr.net:5000/busybox:latest. Just tag the image as docker-registry.smctr.net/busybox:latest and it should work.

@stevvooe why would I use port 5000 if I have nginx on 433 directly available? :)
The network flow is following:
Jenkins docker builder -> {internet} -> {port 5000 on ASA firewall} -> 443 port on registry -> prod clients

@onorua I'm a little bit confused: what port is the registry accessible on externally? Is it now working with the proper port forwarding or are there still problems?
My guess is that the port forwarding is causing the registry to issue incorrect redirects. For example, based on the proxy, it thinks its running as docker-registry.smctr.net, so it will issue redirects to that. If the actual port is 5000, you'd have to configure the proxy to tell the registry that the port is 5000, so it can issue the proper redirect.

Sorry for the late reply, was on vacation.
Do you mean that registry for some reason doesn't go with relative path as stated in [RFC7231] (https://tools.ietf.org/html/rfc7231#section-7.1.2) but use full URI with port? Why would you do it that way?

@onorua The issue is that you are exposing a registry on your firewall as docker-registry.smctr.net:5000 but the registry sees docker-registry.smctr.net due to the way the proxy is configured. To fix this, either hard code X-Forwarded-Host to docker-registry.smctr.net:5000 or expose the registry as port 443 on the firewall, such that docker-registry.smctr.net is valid.
It is not required to issue a relative URI in the Location header in RFC7231. If you dig into the grammar, you'll see URI-reference is either a URI or relative-ref. We issue a full URI so that clients don't need to calculate the correct location and avoid bugs in http libraries that may resolve references differently. This requires a little more configuration up front on the registry side but avoids bad redirects for 99.9% of configurations.

@onorua could you try with the suggestions @stevvooe gave? If this resolves your problem, please close the issue, thanks!


Tx's keep failing

Every and any transaction I try to do in Nami results in a failed tx. I tried making a new account inside the wallet and it's all the same. I have the same wallet imported in Eternl and it works just fine there... I would really appreciate a solution on this issue, I really prefer Nami over Eternl

@Strmi1 Talk to Cardano Support on the Live support page so that your issue can be looked into.


Atom Run Error From Ubuntu Terminal

Atom doesn't launch as expected from terminal on ubuntu
Reproduction Steps:

go to a directory from terminal
launch with atom .  or sudo atom .

Expected behavior:
atom should open said directory
Observed behavior:
when using just atom . it says "permission denied", but when run like this sudo atom . the images below is seen:

Screenshots and GIFs
see above images
Atom version: 1.3.2
OS and version: Ubuntu LTS 14.04
Installed packages:
script
emmet
atom-typescript
language-smarty-php
linter
linter-tslint
Additional information:

Problem can be reproduced in safe mode: [Yes]
Problem started happening recently, didn't happen in an older version of Atom: [Yes]
Problem can be reliably reproduced, doesn't happen randomly: [Yes]
Problem happens with all files and projects, not only some files or projects: [Yes]

@simurai, hi would be nice if you could help me here. Thanks

Hi Udoyen,did you build the application without any errors???

Hi @varshit97 I installed it using the "deb" from atom site, didn't actually build it myself. Perhaps there is a better way to install it. A pointer would be nice. Love atom and would want it as my main editor.

@udoyen try changing the permissions on the ~/.atom folder (recursively) so that your user has rwx permissions.

Hey Udoyen even I got the same error while testing on ubuntu 15.04 after installing it with the deb file.
As you like Atom Editor so much :p you can use the built version as it isn't posing any errors.So try doing that.
If you run into any problems while building I am ready to help.

Hi @50Wliu even setting 777(permissions) did not work.Tried it :(

Oops, misread the error.  How about setting the permissions so that the root user can also access them?

@varshit97 things just getting stranger. I did a complete removal of atom and had to install twice (as the first install didn't show the necessary files and folders) with a reboot using deb package and the editor shows no error any more. It now works smoothly, but I am re-installing my earlier installed third party packages and watching to see if that was the original cause.

@udoyen Its nice to hear its working and let me know if you figure out what caused that problem :p.

Hey guys @udoyen @varshit97, I getting the same thing on Ubuntu 15.10.  Same observed behavior as in the screenshots above.  I have done the following:
 $ sudo add-apt-repository ppa:webupd8team/atom
 $ sudo apt-get update
 $ sudo apt-get install atom

Also, I have tried the *.deb from the website.  Both multiple times, and both resulting in the same behavior.  Suggestions?

Also, @50Wliu I have checked the permissions on ~/.atom, and get the same behavior even with 777.


Issues on slow connections with some cameras

I have set up RTSPtoWeb to be accessible through Nginx from remote.
Some of my cameras don't work too well (cheap one from aliexpress) - they sometimes freeze and don't recover automatically. With reducing their framerates etc. I managed to make them work most of the time when on local LAN.
However when using the remote connection two of my cameras won't connect (interestingly a 3rd one of the same brand does).
I also notices that the one camera that is just connected by WLAN works much worse (even on LAN).
Just to clarify, the connection is Camera ->(LAN/WLAN)->RTSPtoWeb->(LAN)->nginx->(LAN)->router->(DSL)->remote browser
Any hints how to improve using cameras that are on slow connections?

sorry, unrealted but i am struggling to get RTSPtoWeb accesible through Nginx.
Could you share your nginx config ?
Best

Just copying it would not help - and is not specific to RTSPtoWeb. I just forward to the URL with the proxy_pass directive.
However the tricky part ist that you might need a certificate (e.g. let's encrpty), set .htpasswd etc - there are tutorials about how to enable external access via nginx around the net. If you managed that, adding RTSPtoWeb is not issue at all.
However, I found the better solution to use WireGuard VPN now, as my router does now support this. Need to do more testing, but access via WireGuard seems to have less overhead and working better than going thru nginx.


CA errors in OBR-25

Message from Ellaison:
'We had a few NAK’d results missing OBR-25 which is the order status field (typically F for final).  Are you guys receiving those with the REST connection?  If so, are you monitoring and resolving the errors?  An example from Aug 22 was accession # 6e6ba575-5211-46f5-b9fa-9ae98fd55c49 '.

slack thread with SR "Hey there SR. Per Ellaison's email from earlier, I've tracked down the issue with the OBR-25 not being populated and it looks like we are receiving a value "entered-in-error" for diagnosticReport.status (which is a valid value in FHIR). The problem is that that FHIR -> HL7 mapping maps "entered-in-error" to HL7 value "W" from table HL70085 (https://hl7-definition.caristix.com/v2/HL7v2.5.1/Tables/0085). Table HL70085 is only used for OBX-11 result status not OBR-25 in HL7 v2.  OBR-25 uses table HL70123 (https://hl7-definition.caristix.com/v2/HL7v2.5.1/Tables/0123) which does not have "W" available as an option. My question is what is actually occurring when we receive the value "entered-in-error". Are users indicating a previous result was incorrect?"

response from SR "I’ll need to dig into the mapping to verify but my initial thought is that this is likely the correction flow.
edit: to clarify this is in response to James’ original question. (edited) "

PR for fix added #15726


Replace aggregation types with functions

Fixes: #399

discussed with @rakyll yesterday and she preferred to have all of them be functions for consistency.

Thank you both for the discussion and for the discourse. I see my idea is ugly for consistency as well as for the godoc itself. See

verified that this does not break cloud.google.com/go


Running into TypeError: source.on is not a function when using Sveltekit

Describe the bug
👋🏽 I'm running into a reproducible issue. Hopefully this is just me missing something simple.

I'm seeing an exception TypeError: source.on is not a function when trying to save an image in a Sveltekit project. Full trace:
TypeError: source.on is not a function
    at DelayedStream.create (...\node_modules\delayed-stream\lib\delayed_stream.js:33:10)
    at CombinedStream.append (...\node_modules\combined-stream\lib\combined_stream.js:45:37)
    at FormData.append (...\node_modules\form-data\lib\form_data.js:75:3)
    at buildFormData (.../node_modules/@uploadcare/upload-client/dist/esm/index.node.mjs:383:18)
    at retryIfFailed.retryNetworkErrorMaxTimes.retryNetworkErrorMaxTimes (.../node_modules/@uploadcare/upload-client/dist/esm/index.node.mjs:520:15)
    at .../node_modules/@uploadcare/upload-client/dist/esm/index.node.mjs:464:44
    at runAttempt (.../@uploadcare/upload-client/dist/esm/index.node.mjs:91:16)
    at retrier (.../node_modules/@uploadcare/upload-client/dist/esm/index.node.mjs:96:12)
    at retryIfFailed (.../node_modules/@uploadcare/upload-client/dist/esm/index.node.mjs:464:12)
    at base (.../node_modules/@uploadcare/upload-client/dist/esm/index.node.mjs:512:12)

Initialize a Sveltekit project as described: https://kit.svelte.dev/docs/creating-a-project
Create a simple +page.svelte file:

<form method="POST" enctype="multipart/form-data">
    <input type="file" name="file" />
    <button type="submit">Submit</button>
</form>

Wire up a +page.server.js file:

import { uploadFile } from '@uploadcare/upload-client';
import { UPLOADCARE_API_KEY } from '$env/static/private';

export const actions = {
    default: async({request}) => {
        let formData = await request.formData();
        let file = formData.get('file');
        await uploadFile(file, {
			publicKey: UPLOADCARE_API_KEY,
		});
    }
}

Expected behavior
A successful file upload.
Code / screenshots

I don't have a small, self-contained example, but I do have a repo that recreates the issue: https://github.com/plattegruber/uploadcare-sveltekit-recreation
You can clone and open in a codespace, and run npm run dev -- --open.

Environment

Library version: 6.14.1
Language/framework version:
OS version:

Hey @plattegruber, thanks for the feedback.
Currently, upload-client doesn't support native Node's FormData and File instances as an input source. You need to convert them to the Buffer before:
    let file = formData.get("file");
    let arrayBuffer = await file.arrayBuffer();
    let buffer = Buffer.from(arrayBuffer);

Thanks @nd0ut! That makes sense, I appreciate the help.


Does not work with Share Extension

This library does not work with rn-extensions-share
Got this flood of error messages when I try to use share extension in other app.
2021-06-21 15:20:04.167408+0800 ReactNativeApp[12144:4416066] [ProcessSuspension] 0x281dde5a0 - WKProcessAssertionBackgroundTaskManager: Ignored request to start a new background task because RunningBoard has already started the expiration timer
2021-06-21 15:20:04.168537+0800 ReactNativeApp[12144:4416689] BackgroundSession <9117EC81-549A-49EE-AED2-FF28F498A842> connection to background transfer daemon interrupted
2021-06-21 15:20:04.168820+0800 ReactNativeApp[12144:4416689] BackgroundSession <9117EC81-549A-49EE-AED2-FF28F498A842> connection to background transfer daemon invalidated

Solution: use @react-native-firebase/admob instead.

im having the same problem as well


OG Pyrite theme

Does anyone have a file link for the OG version of pyrite theme i honestly liked that way better and want to use it but I can't find it anywhere

It still exists. Click "Raw" then press CTRL+S (or CMD+S if you're using a Mac) and save it in the themes folder.


WiFi prov suitable for WiFiMulti (IDFGH-8687)

Is your feature request related to a problem?
The configuration of the wifi network needs to be stored:out for WiFiMulti to connect to the best AP based on a given list and can only be done by IDF for security reasons.
Describe the solution you'd like.
Now the restore wifi, restores the first connected wifi network configuration. That is not a problem an can been overseen by setting evrything before or after esp_wifi_start(). Note: that this takes a week to configure. The problem is that the ssid and password are not been saved with the same encryption as the the first stored configuration and can be hacked out of the memory if it is not stored properly by default and if you save an other netwoork you need to save all other settings too. My proposal is to check the mac adress and save all other settings if it has been saved. And I think this is allready done. Now I don't see the option to save all networks in to memory. I am thinking of to make esp_wifi_prov() suitable to MultiWiFi.
Describe alternatives you've considered.
The documentation describes the ssid and password are encrypted, but doesn't tell how they are encrypted. It is also a long comment to do, so I suggest it has to be done by the api.
Additional context.
All the saved preferences of the wifi network found in the documentation.
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv417esp_wifi_get_modeP11wifi_mode_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv416esp_wifi_restorev
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv419esp_wifi_scan_startPK18wifi_scan_config_tb
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv424esp_wifi_scan_get_ap_numP8uint16_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv428esp_wifi_scan_get_ap_recordsP8uint16_tP16wifi_ap_record_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv415esp_wifi_get_psP14wifi_ps_type_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv421esp_wifi_get_protocol16wifi_interface_tP7uint8_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv422esp_wifi_get_bandwidth16wifi_interface_tP16wifi_bandwidth_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv420esp_wifi_get_channelP7uint8_tP18wifi_second_chan_t
flash	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv420esp_wifi_set_countryPK14wifi_country_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv416esp_wifi_get_mac16wifi_interface_tAL6E_7uint8_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv424esp_wifi_get_promiscuousPb
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv431esp_wifi_get_promiscuous_filterP25wifi_promiscuous_filter_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv436esp_wifi_get_promiscuous_ctrl_filterP25wifi_promiscuous_filter_t
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv423esp_wifi_ap_get_sta_aidAL6E_K7uint8_tP8uint16_t
flash	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv425esp_wifi_set_country_codePKcb
out	https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/network/esp_wifi.html#_CPPv420esp_wifi_get_countryP14wifi_country_t

I even don't know if it is erase it from the memory, if the connection has been established. :-)

hi @podaen, thanks for your report, I think your need is restore a list of SSID&PASSWORD, and try to connect one of them. Maybe you can build a structure including the SSID, password and write a function, which can try and connect the APs one by one.
If you have more needs, please let me know

Yeah, but it doesn't look pretty. You will need to declare multiple objects (to many than needed) of structure with a fix size and it still will be not encrypted.

If I want to use an structure, I just can use the Arduino.
I read the nvs out for the ssid I alwase get "-"
wifi_config_t wifi_config_stored;
static uint8_t wifi_flag = 0;
static EventGroupHandle_t wifi_event_group = NULL;

static void read_wifi_config(void)
{
    nvs_handle handle;
    esp_err_t err;
    static const char* NVS_NAME = "nvs.net80211";
    static const char* KEY = "sta.ssid";
    memset(&wifi_config_stored, 0x0, sizeof(wifi_config_stored));
    uint32_t len = sizeof(wifi_config_stored);
    err = nvs_open(NVS_NAME, NVS_READWRITE, &handle);
    if (err != 0) {
        ESP_LOGV("TAG", "nvs_get_blob('%s') failed: %s", NVS_NAME, esp_err_to_name(err));
        return;
    }
    err = nvs_get_blob(handle, KEY, &wifi_config_stored.sta.ssid, &len);
    if (err == ESP_ERR_NVS_NOT_FOUND)
    {
        ESP_LOGV("TAG", "nvs_get_blob('%s'): %s - check key", KEY, esp_err_to_name(err));
        wifi_flag = 0;
    }
    else if (err == ESP_OK)
    {
        ESP_LOGV("TAG", "nvs_get_blob ok");
        wifi_flag = 1;
        nvs_close(handle);
        printf("ssid:%s\n", wifi_config_stored.sta.ssid);
    }
}

Why is that?

If I use the esp_wifi_get_config(), I need to initialize the wifi first. That's about 800 lines of code I did to day only to get my ssid and password. There must be a shorter way like this to get that.
    const char* partitionname = "nvs";
    const char* name = "nvs.net80211";
    const char* key = "sta.ssid";
    const char* key1 = "sta";
    esp_err_t ret;
    nvs_entry_info_t nvs_info;
    nvs_iterator_t nvs_it;
    nvs_handle_t nvs_handle;
    uint8_t ssid[36];

    //ini wifi doesn't help

    nvs_flash_init();

    ret = nvs_open(name, NVS_READWRITE, &nvs_handle);
    //ret = nvs_open_from_partition(partitionname, name, NVS_READONLY, &nvs_handle);
     if (ret != ESP_OK) {
         ESP_LOGV("TAG", "Failed to open NVS('%s'), check key: %s", key, esp_err_to_name(ret));
         return;
     }
    size_t actual_len;
    ret = nvs_get_blob(nvs_handle, key, nullptr, &actual_len);
    if (ret != 0) {
        ESP_LOGV("TAG", "nvs_get_blob('%s'), check key: %s", key, esp_err_to_name(ret));
        return;
    }
    size_t len = sizeof(ssid);
    ret = nvs_get_blob(nvs_handle, key, ssid, &len);
    if (ret != 0) {
        ESP_LOGV("TAG", "nvs_get_blob('%s'), failed: %s", key, esp_err_to_name(ret));
        return;
    }
    ESP_LOGV("TAG", "result('%s')", ssid);

Output: -

hi, @podaen, so you don't just want to store the ssid and password simply, but want to restore the whole information in the NVS? my initial plan is when you try to connect to an AP, you need to send the SSID and PASSWORD to the wifi configure and such information you can input and need not be encryped.

I was looking if I could get the ssid and pass. Now I know how the wifi works. Then I tried to get the credentials before initializing the wifi, what I know out of the documentation that it was not possible!
What I want is that the api can stores multi encrypted wifi configurations in the nvs partition that get its key in the encrypted partition. To get the last used config  esp_err_t esp_wifi_get_config(wifi_interface_t interface, wifi_config_t *conf); is still valid and to get the config on from a mac would be esp_err_t esp_wifi_get_config(const char* mac, wifi_interface_t interface, wifi_config_t *conf); after initializing the wifi. Every AP has an unique mac address and can be scanned for before initializing the wifi. I don't know what happens within the api, but I think this is very possible to do. It can always limit the amount of configurations that can be stored within the api. I hope this helps!

hi @podaen,  sorry for late reply, I would like to confirm that you wants API to be able to safely hand over encrypted credentials, and could you tell me about your specific application scenario ? I will discuss with others then give you a reply

@podaen Thanks for reporting, would you please help share if any updates? Thanks.

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates, thanks.


Set the colour of each vertex in the generated graphs correspond to the ph level they represent

Or horizontal lines for each level to see how far we are between the next lower/higher level. :)


Support other projections

It would be nice to be able to pass in projection/EPSG code instead of assuming 4326. I can make a PR to add but the question would be on what pattern would you want to follow
bbox2extent(bbox, projCode, callback)

or
bbox2extent(bbox, options, callback)

The 2nd would support potential future optional values

3rd option:
bbox2extent(bbox || options, callback)

First param could be bbox array or options object w/ bbox key/value inside.
...but yeah that's just down to how we would want to implement it. I agree it would be nice to support more projections.

http://proj4js.org/ would probably do the trick

yes proj4 would be the thing for sure to use for sure. At the very least we could add the ability to simply specify an srid code {srid: 102100} to use. This would assume the data being passed in

@chelm do you know much about the difference between specifying CRS and SRID? I don't fully understand the differences and implications.


rae_improv

Some improvements for running on RAE:
-fixed missing TF
-configure new params for camera and IMU
-TF broadcast at half of frequency
-planar mode (need more attention from SAI team)

@AnielAlexa I've incorporated most of these changes to #13


⚠ Bofrost.lu has degraded performance

In 4412639, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2339 ms

Resolved: Bofrost.lu performance has improved in 627b89c after 6 minutes.


BluetoothAdvertisement - unable to get advertised value/message

Which sample are you reporting a bug in?
BluetoothAdvertisement
Describe the bug
I'm advertising a message(string) using an ESP32, but I'm unable to read the characteristic value using eventArgs.Advertisement.DataSections and eventArgs.Advertisement.ManufacturerData. My message seems to never be received.
To Reproduce
Steps to reproduce the behavior:

Advertise a characteristic using any example of ESP 32 BLE Arduino
Try to get the data (value) of the characteristic using BluetoothAdvertisement
Check that the message or value isn't present in BluetoothLEAdvertisementReceivedEventArgs

Expected behavior
The message or value being present in BluetoothLEAdvertisementReceivedEventArgs, so it can be retrieved by the application and used in the C# program
Configuration

Language/architecture/flavor: (example: C#/Windows10 x64 Debug)

Visual Studio version: 19

This appears to be a question about the feature itself, not a question about the sample. You can follow the instructions on Windows developer support for support options. (Click "Forums and community".)


2160p to 1080p

What options do I need to edit/add to convert 2160p videos to 1080p?

video-max-width = 1920 should do the trick


[BUG] Problems with searching

Some games are very difficult to find in the launcher. For example, I want to download the RAGE game, which is not in the list because I can not turn the page.

OS: [Windows 11]
Hydra Version: 1.1.0

Please, see releases page and download new update. Search has been improved


doc: Add section about creating new docker network

Flannel doesn't need to replace deamon0 network in Docker and does work even if the you create new docker network that uses flannel.
Description

Flannel when using with docker doesn't need to replace the default docker0 network, instead, it can be attached to a new docker network. I have added documentation for this type of workflow.
Todos

[x] Tests
[x] Documentation
[x] Release note

Release Note

None required

lgtm


PerfEventArray only supports 32 bit datatypes

Hallo,
I tried to adapt the example for tc-egress to work also with IPv6. Thus, I adapted the PackageLog structure to be the following:
pub struct PacketLog {
    pub ipv6_address: u128,
    pub action: i32,
}

However, when running the program, I get a similar error to the following that happens when loading the eBPF program:
Error: the BPF_PROG_LOAD syscall failed. Verifier output: func#0 @0
0: R1=ctx(off=0,imm=0) R10=fp0
0: (bf) r6 = r1                       ; R1=ctx(off=0,imm=0) R6_w=ctx(off=0,imm=0)
1: (bf) r3 = r10                      ; R3_w=fp0 R10=fp0
2: (07) r3 += -16                     ; R3_w=fp-16
3: (b7) r2 = 12                       ; R2_w=12
4: (b7) r4 = 2                        ; R4_w=2
5: (85) call bpf_skb_load_bytes#26
last_idx 5 first_idx 0
regs=10 stack=0 before 4: (b7) r4 = 2
6: R0_w=scalar() fp-16=??????mm
6: (15) if r0 == 0x0 goto pc+3        ; R0_w=scalar()
7: (b7) r7 = 2                        ; R7_w=2
8: (bf) r0 = r7                       ; R0_w=2 R7_w=2
9: (95) exit

from 6 to 10: R0_w=0 R6_w=ctx(off=0,imm=0) R10=fp0 fp-16=??????mm
10: (b7) r7 = 3                       ; R7_w=3
11: (69) r1 = *(u16 *)(r10 -16)       ; R1_w=scalar(umax=65535,var_off=(0x0; 0xffff)) R10=fp0
12: (55) if r1 != 0x8 goto pc-5       ; R1_w=8
13: (bf) r3 = r10                     ; R3_w=fp0 R10=fp0
14: (07) r3 += -16                    ; R3_w=fp-16
15: (bf) r1 = r6                      ; R1_w=ctx(off=0,imm=0) R6_w=ctx(off=0,imm=0)
16: (b7) r2 = 30                      ; R2_w=30
17: (b7) r4 = 4                       ; R4_w=4
18: (85) call bpf_skb_load_bytes#26
last_idx 18 first_idx 0
regs=10 stack=0 before 17: (b7) r4 = 4
19: R0=scalar() fp-16=????mmmm
19: (55) if r0 != 0x0 goto pc-13      ; R0=0
20: (61) r9 = *(u32 *)(r10 -16)       ; R9_w=scalar(umax=4294967295,var_off=(0x0; 0xffffffff)) R10=fp0
21: (bf) r1 = r6                      ; R1_w=ctx(off=0,imm=0) R6=ctx(off=0,imm=0)
22: (85) call bpf_get_socket_uid#47   ; R0_w=scalar()
23: (bf) r8 = r0                      ; R0_w=scalar(id=2) R8_w=scalar(id=2)
24: (dc) r9 = be32 r9                 ; R9_w=scalar()
25: (63) *(u32 *)(r10 -16) = r9       ; R9_w=scalar() R10=fp0 fp-16=????mmmm
26: (bf) r2 = r10                     ; R2_w=fp0 R10=fp0
27: (07) r2 += -16                    ; R2_w=fp-16
28: (18) r1 = 0xffff91ee7a810400      ; R1_w=map_ptr(off=0,ks=4,vs=4,imm=0)
30: (85) call bpf_map_lookup_elem#1   ; R0=map_value_or_null(id=3,off=0,ks=4,vs=4,imm=0)
31: (b7) r7 = 3                       ; R7_w=3
32: (15) if r0 == 0x0 goto pc+1       ; R0=map_value(off=0,ks=4,vs=4,imm=0)
33: (b7) r7 = 2                       ; R7_w=2
34: (b7) r1 = 0                       ; R1_w=0
35: (6b) *(u16 *)(r10 -4) = r1
last_idx 35 first_idx 31
regs=2 stack=0 before 34: (b7) r1 = 0
36: R1_w=P0 R10=fp0 fp-8=??00????
36: (63) *(u32 *)(r10 -8) = r8        ; R8=scalar(id=2) R10=fp0 fp-8=??00mmmm
37: (63) *(u32 *)(r10 -16) = r9       ; R9=scalar() R10=fp0 fp-16=????mmmm
38: (63) *(u32 *)(r10 -12) = r7       ; R7_w=2 R10=fp0 fp-16=mmmmmmmm
39: (bf) r4 = r10                     ; R4_w=fp0 R10=fp0
40: (07) r4 += -16                    ; R4_w=fp-16
41: (bf) r1 = r6                      ; R1_w=ctx(off=0,imm=0) R6=ctx(off=0,imm=0)
42: (18) r2 = 0xffff91ed5ad70000      ; R2_w=map_ptr(off=0,ks=4,vs=4,imm=0)
44: (18) r3 = 0xffffffff              ; R3_w=4294967295
46: (b7) r5 = 16                      ; R5_w=16
47: (85) call bpf_perf_event_output#25
invalid indirect read from stack R4 off -16+14 size 16
verification time 128 usec
stack depth 16
processed 45 insns (limit 1000000) max_states_per_insn 0 total_states 3 peak_states 3 mark_read 2

Caused by:
    Permission denied (os error 13)

I can though do to the following and it runs:
pub struct PacketLog {
    pub ipv6_address: [u32;4],
    pub action: i32,
}

It is just a minor thing (for me) as I have a workaround, but I wonder if it is intended to work only with u32/i32 for PerfEventArray, if this  is a missing feature or some limitation in the Linux Kernel itself?
Thanks a lot!

It is just a minor thing (for me) as I have a workaround, but I wonder if it is intended to work only with u32/i32 for PerfEventArray, if this is a missing feature or some limitation in the Linux Kernel itself?

The eBPF VM doesn't support 128-bit values - u128 - which is likely the issue that you're seeing.
u64 or i64 will work just fine in a PerfEventArray.
In the case of IPv6 though you'll be better served with [u16;8] or [u8;16] though since these can easily be converted to an [std::net::Ipv6Addr](https://doc.rust-lang.org/stable/std/net/struct.Ipv6Addr.html).