Adding a Cesium.GeoJsonDataSource.readFeature method

In some cases I would like to process GeoJSON feature by feature and create Cesium entities from them, similar to how readFeature works in Open Layers.
http://openlayers.org/en/latest/apidoc/ol.format.GeoJSON.html#readFeature
Today this is not possible, what you can do is to load GeoJSON data and receive a promise, but that will be hard to handle when you want to loop through all your features and handle them one by one. (What I want to do is to process each feature to an entity and apply a visualization based on a lot of the feature attirbutes.)
If I read the code it would be possible to do this is parts of the load function in the load method for GeoJsonDataSource was broken out as a pure feature parser and added as a method to GeoJsonDataSource. The readFeature method would return a entity or an array of entities based on what kind of feature that was parsed.
https://github.com/AnalyticalGraphicsInc/cesium/blob/1.31/Source/DataSources/GeoJsonDataSource.js#L857
If this was done I would not have to write my own feature parser for creating entities.

Thanks for the suggestion @spatialillusions!  If you would be interested in implementing this, we would be happy to review a pull request. You can see our Build Guide for instructions on checking out and building the code base, and our Contributing Documentation for instructions on opening an pull request.

Today this is not possible, what you can do is to load GeoJSON data and receive a promise, but that will be hard to handle when you want to loop through all your features and handle them one by one. (What I want to do is to process each feature to an entity and apply a visualization based on a lot of the feature attirbutes.)

I'm not sure why you say this is impossible.  See this Sandcastle example which does exactly what you're describing (the Custom styling option).
What benefit does your request provide over the above approach?

@mramato I might have been a bit unclear in my previous post. I know that it is possible to do it this way, and I have done exactly that previously. The thin is that that reads several features and converts them to entities, and then you loop the entities and apply the style.  Since I'm handling extended GeoJSON I will loose the extra information when they are converted to entities, and this makes it impossible to use this approach this time.
The styling I'm trying to do is quite special since it is military graphics, and I'm making it more complex since I want to be able to support Open Layers and Cesium. (And in some cases both at the same time.)
Because of this I want to be able to process each GeoJSON feature individually, and add the entities one by one, and since you have written good code to process features to entities, I thought it would be nice if that functionality was a public method.
Does this explain a little better why I would like to do this?
You can find the early development code here: https://github.com/spatialillusions/milgraphics/tree/master/src/graphicslayer
(As you can see in the code the ordinary GeoJSON feature is extended with the property symbol and the property graphic, that are objects containing a lot of functionality. Symbol is a milsymbol with a lot of methods for providing military icons.)

I know this ticket is crazy old, but I came across it while looking into a related GeoJSON topic.  @spatialillusions , did you ever get this working the way you wanted? (Also: hi! I know you from milsymbol.)  I don't know what the behavior was 3+ years ago, but the current GeoJsonDataSource is supposed to preserve all GeoJSON feature properties as Entity properties.  Was that not the case for your "extended GeoJSON"?
I've poked around in the existing code a bit and what you described in your original post would not be simple to implement.  The problem is that in Cesium, an Entity has at most one of any graphical primitive, while a lot of other feature-description systems (like GeoJSON) have concepts like a "multi-polygon" or disjoint line strings.  Cesium represents these using entity hierarchies, with one child entity for each piece of the multi-polygon.  In order to implement this, the conversion methods in GeoJsonDataSource pass around the source's underlying EntityCollection and dynamically create new entities as needed, to handle the one-to-many nature of feature-to-Entity conversion.  The existing code could be refactored to pass a collection of one or more Entities up (out of the various process functions) rather than passing the entity collection down (into the functions), but it would be a major effort, and who knows how it would effect performance.


relationship between AllowAdHocSubscriptions and AllowSelfServicePurchase

[Enter feedback here]
It would be helpful if this article indicates whether self service purchase is possible if the allowadhocsubscriptions is set to false.
In other words, if you set AllowAdHocSubscriptions to false, does that make blocking selfservice purchase using the mscommerce cmdlets unnecessary?
Or are these two settings mutually exclusive?
Thanks.

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

ID: c931454d-f706-a12d-5823-54be2594a7a5
Version Independent ID: 2025949d-a8cf-e241-3e4b-db9050fe1d12
Content: Enable or disable self-service sign-up and purchasing - Power BI
Content Source: powerbi-docs/admin/service-admin-disable-self-service.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @mihart
Microsoft Alias: mihart

Hi, @ryeguy637 -- thanks for asking! Assigning to the author to investigate.

Hi @ryeguy637 ,
Thank you for your question. I checked with our M365 guy and he told me that these 2 settings are independent.  Self-service purchase uses the mscommerce module (enable/disable options).  The self-service sign up uses AllowAdHoc.  If you want to block self-service sign up AND self-service purchase, you'd need to disable both.
All the best,
The DOCS team


404 on bingmaps typings install

typings search bingmaps
shows the definitions from dt but fails on  install with a 404
typings install --save --ambient bingmaps
this is the error mesage I get
typings ERR! caused by https://api.typings.org/entries/dt/bingmaps/versions/latest responded with 404, expected it to equal 200
Please I will appreciate it if someone can take a look at this.

$ typings search bingmaps
Viewing 7 of 7

NAME                                     SOURCE HOMEPAGE                                              DESCRIPTION UPDATED                  VERSIONS
bingmaps/microsoft.maps                  dt     http://msdn.microsoft.com/en-us/library/gg427611.aspx             2016-03-17T12:06:54.000Z 8
bingmaps/microsoft.maps.advancedshapes   dt     http://msdn.microsoft.com/en-us/library/hh921952.aspx             2016-03-17T12:06:54.000Z 6
bingmaps/microsoft.maps.directions       dt     http://msdn.microsoft.com/en-us/library/hh312813.aspx             2016-03-17T12:06:54.000Z 6
bingmaps/microsoft.maps.search           dt     http://msdn.microsoft.com/en-us/library/hh868061.aspx             2016-03-17T12:06:54.000Z 6
bingmaps/microsoft.maps.themes.bingtheme dt     http://msdn.microsoft.com/en-us/library/hh868061.aspx             2016-03-17T12:06:54.000Z 5
bingmaps/microsoft.maps.traffic          dt     http://msdn.microsoft.com/en-us/library/hh312840.aspx             2016-03-17T12:06:54.000Z 5
bingmaps/microsoft.maps.venuemaps        dt     http://msdn.microsoft.com/en-us/library/hh312797.aspx             2016-03-17T12:06:54.000Z 7

$ typings install --save --ambient bingmaps/microsoft.maps
bingmaps/microsoft.maps
└── (No dependencies)

Is there no hope?

Closing with @abouthiroppy's suggestion. The type definitions all exist, you just need to install the correct one.

Thanks! It works @abouthiroppy @blakeembrey


Support Fragment#onAttach(Context) and deprecate the old one

Hope I can fix test soon...

It is odd that DialogFragment haven't deprecated Fragment#onAttach(Context).
I need to declare a flag in order to avoid emit FragmentEvent.ATTACH twice if the Fragment's host is an Activity.
And tests Fragment#onAttach(Context) or Fragment#onAttach(Acitivity) or both completely.


How to find passwords for homeassistant or addons users?

Problem/Motivation
https://github.com/home-assistant/addons/blob/master/mosquitto/DOCS.md#home-assistant-user-management
According to the documentation homeassistant and addons users are pre-registered. I'd like to use mqtt-io addon with Mosquitto broker. Since this is an addon, it makes sense to use the existing addons user for it.
How to find passwords for homeassistant or at least addons user?
Maybe there is some predefined user/pass that can be used in mqtt-io config?
/homeassistant/mqtt-io/config.yml
mqtt:
  host: homeassistant.local
  topic_prefix: mqtt_io
  user: homeassistant #OR addons
  password: #?????????????????
  ha_discovery:
    enabled: yes

Expected behavior
It should be possible to find password for addons user to specify it in addon config.
Actual behavior
I couldn't find the password.
Steps to reproduce

Install Mosquitto broker
Install MQTT IO
I'm shocked that the addon can't connect...

https://github.com/home-assistant/addons/issues/3765

Depends on the addon configuration itself, you are linking documentation for the Mosquitto addon which doesn't apply.

I'm working on it to fix this issue https://github.com/flyte/mqtt-io/issues/406


key bindings on OSX

[ ] switch alt and cmd
[ ] fix backspace (behaves like delete currently for both backspace and fn+backspace)
[ ] fix copy and paste (works within the image but not between image and os)

Somebody who knows how to operate SDL? :)

Clipboard api is in SDL2, might be hassle without :(

@matthias-springer if you look into the backspace issue this might help
http://nendowingsmirai.yuku.com/forum/getrefs/id/13916/type/0

Regarding copy+paste: there are SDL functions SDL_GetClipboardText and SDL_SetClipboardText, but they are not available in SDL 1.2.

I can probably attempt an SDL2 port in some weeks.

Started an RSDL port to SDL2 here: https://bitbucket.org/pypy/rsdl/branch/sdl2
There will have to be changes to RSqueak as well, due to the changed rendering and window APIs.


Synchronize outlookmsgfile fork

I came across an error while processing a msg file that contained non-ascii characters in the recipients' address node (__substg1.0_0E04001E).
  File "/usr/src/app/backend/services/outlookmsgfile.py", line 40, in to_email
    return load_message_stream(doc.root, True, doc)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/app/backend/services/outlookmsgfile.py", line 47, in load_message_stream
    props = parse_properties(entry["__properties_version1.0"], is_top_level, entry, doc)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/app/backend/services/outlookmsgfile.py", line 243, in parse_properties
    value = tag_type.load(value)
            ^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/app/backend/services/outlookmsgfile.py", line 345, in load
    return value.decode("utf8").rstrip("\x00")
           ^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb3 in position 16: invalid start byte

Unfortunately, I'm unable to share the original msg file.
I did some reading of [MS-OXMSG].pdf and come to the conclusion that if the node contents aren't unicode-encoded (non-Unicode encoding) and the specification only mentions ANSI, we cannot really be sure of the original encoding used.

Current version of the forked library takes care of that by using some heuristics and falling back to cp1252: https://github.com/JoshData/convert-outlook-msg-file/blob/primary/outlookmsgfile.py#L391
That seems to make sense so I synchronized portions of the library used to parse the email properties.
It might make more sense to update the whole script to the current version but since it's listed as a "fork" I was not sure if it wouldn't overwrite any changes that you've made.

Lastly, please do pyupgrade --py311-plus **/*.py. Thanks in advance.


Removed bleach.

Yesterday on the telephone we sad, that we will no change the server side because we do not know yet, how we will handle malicious html in reportlab.
We will probably need bleach for that, if we can't get rid of the server side pdf creation.

At the moment Reportlab just strips unknown or malicious html without even using bleach so we actually don't need bleach any more. (I do not find it in Reportlab Docs at the moment.)
Beautifulsoup4 is still required.


Are paths sorting correctly?

I have three paths in my OpenAPI file that all have only a GET method. They all have the same tag. In the source file they are in order
1
2
3
But they appear in the output in order
1
3
2
Alphabetically the paths should be 1, then 2, and then 3. I didn't specify sort-endpoints-by so it should be sorting by path.
I wouldn't be permitted to attach the full OpenAPI file, but here are the three paths in the order that they appear in the OpenAPI file:

GET /discover
GET /discover/edges/profile/{profileId}
GET /discover/subscriber/edges

use this https://mrin9.github.io/RapiDoc/examples/arrange-by-tags.html#get-/common-path-in-first-and-3rd-tag
to recreate your issue and we will take a look

I've attached a zip file that contains my test RapiDoc HTML file and my test YAML file based on the one you pointed me to. When I view the RapiDoc version I see this:

Notice the summaries on the right are in order 1, 3, 2.
When I load the file into Swagger editor, I see this:

And the summaries show the sorting is 1, 2, 3.
issue337.zip

I do not see any issues with the sorting. It is sorting based on paths as expected

you may want to check spellings for the path. it discover is spelled as disover in Path 2

I suspected a misspelling, but I stared and stared at it and could not see that! Thank you.


Error: Unknown plugin "add-module-exports"

I use example in the README, but get a error.
ERROR in ./~/react-dropzone/dist/index.js
Module build failed: ReferenceError: Unknown plugin "add-module-exports" specified in "/Users/admin/Coding_Project/online-presentation/node_modules/react-dropzone/.babelrc" at 0, attempted to resolve relative to "/Users/admin/Coding_Project/online-presentation/node_modules/react-dropzone"
    at /Users/admin/Coding_Project/online-presentation/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
    at Array.map (native)
    at Function.normalisePlugins (/Users/admin/Coding_Project/online-presentation/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
    at OptionManager.mergeOptions (/Users/admin/Coding_Project/online-presentation/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
    at OptionManager.init (/Users/admin/Coding_Project/online-presentation/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/Users/admin/Coding_Project/online-presentation/node_modules/babel-core/lib/transformation/file/index.js:216:65)
    at new File (/Users/admin/Coding_Project/online-presentation/node_modules/babel-core/lib/transformation/file/index.js:139:24)
    at Pipeline.transform (/Users/admin/Coding_Project/online-presentation/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at transpile (/Users/admin/Coding_Project/online-presentation/node_modules/babel-loader/lib/index.js:46:20)
    at Object.module.exports (/Users/admin/Coding_Project/online-presentation/node_modules/babel-loader/lib/index.js:134:16)
 @ ./scripts/reducers/DropzoneDemo.js 12:21-46
 @ ./scripts/index.js

My file is like this:
DropzoneDemo.js
import React from 'react';
import Dropzone from 'react-dropzone';

var DropzoneDemo = React.createClass({
    onDrop: function (files) {
      console.log('Received files: ', files);
    },

    render: function () {
      return (

            <Dropzone onDrop={this.onDrop}>

Try dropping some files here, or click to select files to upload.

            </Dropzone>

      );
    }
});

export default DropzoneDemo;

index.js
import React from 'react';
import ReactDOM from 'react-dom';

import DropzoneDemo from './reducers/DropzoneDemo.js';

ReactDOM.render(
  <DropzoneDemo />,
  document.getElementById('uploadFile')
);

browser:   newest Chrome
Operating System:   macOS Sierra 10.12.3
react-dropzone version:   ^3.12.0

Did you install it via npm? You seem to transpile the source of dropzone with your babel. You should exclude external libraries from your transpilation step.

I'm just found that I'm having this problem as well - only on windows though. I thought babel didn't transpile modules by default?

could you solve this @jasonzhouu ?

@okonet Hi, I'm having the same issue and my babel file is configured to ignore modules
{
  "presets": [
    [
      "es2015",
      {
        "loose": true,
        "modules": false,
        "useBuiltIns": true
      }
    ],
    "stage-2",
    "react"
  ],

  "env": {
    "production": {
      "presets": [
        "react-optimize"
      ]
    },
    "development": {
      "compact": false,
      "plugins": [
        "react-hot-loader/babel",
        "transform-react-jsx-source"
      ]
    }
  }
}

Am I missing something here?
Thanks

@okonet you mention "You should exclude external libraries from your transpilation step" but give no example of how to do this. You mention this in the documentation a well. Could you please add thank you.

The solution as an example:
module: {
        loaders: [
            {
                test: /\.js[x]?$/,
                loader: 'babel-loader',
                **exclude: /node_modules/**
            },
            {
                test: /\.css$/,
                loader: 'css-loader'
            }
        ],
    }

I'm trying to do server side rendering on a component using react-dropzone and I get this same error. I already added exclude: /node_modules/ and still have this issue. Any idea what could I be doing wrong?

I use parcel and had the same issue, to solve it I  added into .babelrc following line
  "ignore": [
    "node_modules"
  ]

and it's solved the problem


[REQUEST] Defeat New Generation of Bot Detectors

Is your feature request related to a problem? Please describe.
I'm always frustrated when there are crazy new bot detections tools that exploit stuff like tls fingerprint and cutting edge http protocols to detect bots. At the moment there aren't libraries to defeat them, and someone should modify openssl to do something about it.
Describe the solution you'd like

[ ] Using an HPACK library to support http2
[ ] Using bouncycastle to manage ssl sockets, a pure C# crypto library that will allow to easily manipulate the client hello
[ ] Implement options to add dummy tls extensions, ciphers, and modify the order of them. (tls fingerprint tecniques not only check the ciphers order, but also the order of the extensions)

Describe alternatives you've considered
At the moment there aren't alternatives.
Additional context
It would be cool also to create a mitm https proxy that support all those stuff, because at the moment there aren't mitm proxies that can't be detected using tls fingerprint.

@openbullet I would like to assign this issue to myself.

I was already planning to add support for HTTP/2 and bouncy castle as TLS provider. Currently I'm working on this
https://discourse.openbullet.dev/t/support-for-legacy-loli-configs-in-ob2/4627
and I was waiting for .NET 6 to release. If you want you can send me an email and I will give you a way to chat with me so we can discuss this more in depth before coding anything, thanks!

I'd like to learn to code an OB config, but don't know where to start from. Any help?


[Revision-Request] Gen2 Chart

Hi Authors,
I hope you're doing well and safe.
Could you please check the chart as below:

There is no info about P4 and P5.
Could you please update these?
Thank you,
Hiroki

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

ID: 18013a6f-b02d-30d4-3b6d-93295624f352
Version Independent ID: e307e1d7-e565-8742-e563-86d596d7d1e1
Content: What is Microsoft Power BI Premium? - Power BI
Content Source: powerbi-docs/admin/service-premium-what-is.md
Service: powerbi
Sub-service: powerbi-premium
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @Hyamyam . This issue has been assigned to the doc author for review.

Hi @Hyamyam,
Are you referring to the table in Capacity nodes? If so, it has been updated and now reflects the P4 and P5 SKUs.
Thanks,
Kesem


Landing pages for assembly related datatypes

I created basic landing pages for the following datatypes:
KBaseAssembly.AssemblyInput
KBaseAssembly.PairedEndLibrary
KBaseAssembly.ReferenceAssembly
KBaseAssembly.SingleEndLibrary
KBaseFile.PairedEndLibrary

Fairly low risk, so we're going to test this out on dev today and if all looks good push it out.


Api to delete resource of a given id and delete all resource older than 2months using cron job

Delete a resource of given id and delete all resources older than 2 months using cron job
Closes: #738
Proposed changes
Brief description of what is fixed or changed

created a route http://localhost:3500/resources/deleteResource to delete a resource corresponding to an id.
created a cronjob to delete all resource older than 2 months

Types of changes
Put an x in the boxes that apply

[ x] Bugfix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x ] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code
[ x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ x] My changes generate no new warnings
[x ] My changes does not break the current system and it passes all the current test cases.

Screenshots

Please attach the screenshots of the changes made in case of change in user interface
Other information
Any other information that is important to this pull request

We need another api which will take the resource_id delete that particular resource under this issue. Please add that as well.

I have already implemented it. Please see my commits

Hey @Aman16-ai Yeah, I can see both the apis. Could you please add the tests for both of them as well. Then I would give the final review after testing it.

Hey @Aman16-ai Yeah, I can see both the apis. Could you please add the tests for both of them as well. Then I would give the final review after testing it.

Ok I'll add the tests.

Added test for delete resources

.


Upgrade docs site to v2 of docusaurus

We're using an old v1 version of docusaurus.
There's a bug where if you have a directory in the docs with only an index.md file in it (or a README.md file), the link in the sidebar doesn't render properly. I.e. the sidebar is there, but it doesn't have a page.
if you add a second page, then the index magically works. I saw another issue reported in the docusaurus project, but that was fixed in v2.

Completed thanks to David!


Skill - Multiscale

Half damage to the skill holder if their HP is full.

This skill should also put in pre-battle. You should not just simply judge battleAttack and battleDefense. Follow the battle-skill note to learn more on battle sys, and then rewrite this skill effect later.


Deselecting all checked element pressing X doesn't trigger any event, just removes the elements from the list

Currently I've tried to catch an event, when the main 'X' button has pressed which can clear all list. I've tried to catch this event with "onDeSelect" and "onDeSelectAll" as well. None of them triggered.
So my question is: Is there any event there I can catch when I press X button? If no, can you add one, please?
By the way I really like it's working, so thank's for this component.

The event which is triggered on 'X' button is clearSelection. I fixed the issue you described in #479
But seems that it needs to be reviewed and then it will be automatically merged. You can speed up this - just make a review. Please have a look at my fix, it's small enough.

Yes it is working now thanks


🎆Updates maintenance/license year to 2024

Proposed change

Happy New Year 🍾
Additional information

This PR fixes or closes issue: fixes #

Checklist

[ ] I have updated the documentation if needed.
[ ] I have updated the tests if needed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cce5687) 100.00% compared to head (6d58313) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #171   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           83        83
  Branches        10        10
=========================================
  Hits            83        83

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add support for robo-directives & robo-script options

Fixes #706
Checklist

[x] Documented
[x] Unit tested
[x] release_notes.md updated

Codecov Report

Merging #709 into master will decrease coverage by 0.49%.
The diff coverage is 67.94%.

@@             Coverage Diff              @@
##             master     #709      +/-   ##
============================================
- Coverage     78.61%   78.11%   -0.50%
- Complexity      661      672      +11
============================================
  Files           113      114       +1
  Lines          2661     2710      +49
  Branches        379      383       +4
============================================
+ Hits           2092     2117      +25
- Misses          321      339      +18
- Partials        248      254       +6

There is a little bit more work to do here. Android instrumentation tests and robo tests are mutually exclusive, they cannot be specified both. It requires additional changes how args are validated and test matrix build.

For new features from gcloud, it's good to test the yaml syntax with gcloud CLI.

gcloud firebase test android run flank.yml:gcloud

I'd test and confirm that robo-directives and robo-script works well both from Flank and gcloud.

For new features from gcloud, it's good to test the yaml syntax with gcloud CLI.
* `gcloud firebase test android run flank.yml:gcloud`

I'd test and confirm that robo-directives and robo-script works well both from Flank and gcloud.

Thanks for advise, that was helpful to keep yml config consistent with gcloud. I tested robo-directives and robo-script with Flank and gcloud firebase test android run flank.yml:gcloud. Both seems to work well.


Hi Guys

Hello World.
Hey guys,
I am looking for a SDK so I can get prices from UPS.
Based in the UK.
All I want is to get a price for delivery from point A to Point B.
Who can I speak to at UPS. - Hello world anyone seen this?

Hi medarke, thank you for reaching out to us. Unfortunately, we do not currently offer any SDK to get prices from UPS. This can be done by navigating to ups.com and then using the Quote tab. Additionally, the [UPS Developer Portal(https://developer.ups.com/) has a catalog of APIs that you might find useful. For example, you could use the Rating API to shop for a shipment.


Async templates require enable_async in jinja2 Environment

When trying to test the render_async() feature I realized that it wasn't working
Jinja2 Environment instance has to be created with enable_async=True
This PR depends on #395, it should be merged after.

Good catch @vbarbaresi :+1:, can you please resolve the conflict ?

Thanks @vbarbaresi !


While using the graphql explorer it looks like there is a infinite loop when you dig into the pricingpolicy

I was trying to familiarize myself with the graphql and explorer interface and while digging in and wanting to find the pricing policy implemented on testnet I got myself into a rabbit hole.

I stopped going in 5+ levels, but it seems that this was an infinite loop.

fixed on devnet and testnet


Added priority queues folder and basic questions

This PR adds a new folder called PriorityQueues to the repository.

@akgmage i just know data structures in C++. So sorry i wont be able to add go, javascript, java and python versions of the same program.

@akgmage i just know data structures in C++. So sorry i wont be able to add go, javascript, java and python versions of the same program.

Thats fine, you could use help from chat gpt though! Thats fine anyways you go ahead and make changes

@akgmage i just know data structures in C++. So sorry i wont be able to add go, javascript, java and python versions of the same program.

Thats fine, you could use help from chat gpt though! Thats fine anyways you go ahead and make changes

I can do java and python part

@akgmage I have code explaination and comment in every code 👍


Add support for new absence operator (#33)

Hi @janosch-x . Thanks for this and sorry about the delayed response.
My initial thinking was this new "operator" is not really a "group" and thus had started investigating an alternative approach. However the fact that the new construct allows for any sub-expression to appear as a exp makes using the group approach easier because it will use the existing scanner recursion. for example in a case like (?~abc|def|[ghi])
So, this is probably the best approach now and it looks good.
Cheers and thanks again!

@janosch-x
On further review I noticed a couple of things:

Need to double check the addition of Absent to Group::All based on where it is used (see ruby 1.8.6 syntax file)
The new type/token (:group/:absent) should be added to the ruby 2.4.1 syntax file with a call to implements.

Hi @ammar,
thanks for the feedback.
I also pondered whether it really is a group, ending up with the same conclusion as you did. To be sure I even asked the author, and he does see it is a group :)

Need to double check the addition of Absent to Group::All based on where it is used (see ruby 1.8.6 syntax file)

This is indeed a mistake. Do you have a preferred solution? I think All should contain Absent, because it doesn't seem right to handle version differences in Token::Group. Maybe we could write Group::All - [Group::Absent] in the 1.8.6 syntax file? Of course that is not very pretty either ...

Or maybe remove Group::All and list all the "classical" group types individually in the 1.8.6 file?

@ammar In accordance with other token files I've removed the new type constant from the All array and called implement on it separately in the 2.4.1 file.
There is also a syntax file test and a parser test for it now.
Lastly, to match the naming in Onigmo, I have changed the name from "absent" to "absence".

@janosch-x Sorry for not responding sooner. I recently had an accident and have an arm and a shoulder in cast. Hope to be able to work again soon

@ammar I'm sorry to hear that. Please don't feel pressurised by my landslide of PRs. There is no urgency there at all, I had just been bored. Wishing you a good recovery!

Hi @janosch-x, thanks for looking into the classification of the operator and the updates. Again, I'm very sorry for the very late response.
I think this looks good and I would like to merge it.
Cheers!

Included in release 0.4.4


Chore/refactaroo for Ops in synapse/workload

Overview
Refactors some bits from workload to not rely on ops - currently the charm passes a container to src/pebble which then passes it to src/synapse/workload and the workload makes a lot of (duplicate) things that are perhaps better handled at one layer and not across.
Note that this is against the irc bridge branch, as the proposal to refactor came in there and if this gets accepted it will land in the PR for the irc bridge.

Rationale
Reduce code and complexity, make dev person happi.

Juju Events Changes
n/a

Module Changes
moved Ops pieces (checks and config manipulation) to pebble, still WIP

Library Changes
n/a

Checklist

[x ] The charm style guide was applied
[x ] The contributing guide was applied
[x ] The changes are compliant with ISD054 - Manging Charm Complexity
[x ] The documentation is generated using src-docs
[x ] The documentation for charmhub is updated.
[x ] The PR is tagged with appropriate label (urgent, trivial, complex)

Nice refactor, thanks!


Please consider replacing the current license with a more permissive one

The current GPL license makes it impossible to use the workloads from this project as test-cases in most open source projects. Please consider changing it with a more permissive license, such as MIT, Apache or BSD. Thank you.

https://github.com/shamsimam/savina/commit/52e546959a57670cdba7a88f0a030b53cfdb16d6
Done :)


Windows: Unable to extract login-form form

I'm trying to download from Udemy as explained in README.md. But when I try to run udemy-dl.py, I put my email and password, then it says that is extracting course information, then trying to login (I already checked that my credentials are ok), after that, it says:
[-] Unable to extract login-form form Traceback (most recent call last):   File ".\udemy-dl.py", line 924, in <module>     main()   File ".\udemy-dl.py", line 713, in main     udemy.ExtractAndDownload()   File ".\udemy-dl.py", line 291, in ExtractAndDownload     self.login()   File ".\udemy-dl.py", line 40, in login     extract_info.login(self.username, self.password)   File "C:\Users\Miguel Bolivar\Downloads\udemy-dl-master\udemy-dl-master\udemy\_extractor.py", line 147, in login     login_form      = self._fill_login_form(login_popup, username, password)   File "C:\Users\Miguel Bolivar\Downloads\udemy-dl-master\udemy-dl-master\udemy\_extractor.py", line 98, in _fill_login_form     login_form = self._form_hidden_inputs('login-form', webpage)   File "C:\Users\Miguel Bolivar\Downloads\udemy-dl-master\udemy-dl-master\udemy\_extractor.py", line 88, in _form_hidden_inputs     return _hidden_inputs(form)   File "C:\Users\Miguel Bolivar\Downloads\udemy-dl-master\udemy-dl-master\udemy\_utils.py", line 80, in _hidden_inputs     html = re.sub(r'<!--(?:(?!<!--).)*-->', '', html)   File "C:\Users\Miguel Bolivar\AppData\Local\Programs\Python\Python36\lib\re.py", line 191, in sub     return _compile(pattern, flags).sub(repl, string, count) TypeError: expected string or bytes-like object
I'm using Windows 10 and Python 3.6.4. I don't know what could be the issue.

@Darking360 you should check #98 and #100 . already discussed there.


added OOP approach for BST

Added object oriented approach for BST. Please review and let me know if any changes are required.

Thank you for your contribution 👍
Please note the following:

Please do not delete the author checks in the description and add appropriate description. It is meant to facilitate contribution by authors to maintain repo standards
please ensure the self-tests pass
please ensure to read the contribution guidelines - code needs to be documented per doxygen standards to ensure that a layman can read and learn from your code
Please ensure to fix the alerts reported by LGTM.

Ok. I will make the changes.

Ok. I will make the changes.

Thank you. Please review code in this file as well for reference.

Please fix clang-tidy warnings.

Please fix clang-tidy warnings.

Please, avoid posting multiple reviews until at least one of them is complete. Multiple reviews confuse the authors and create an unnecessary branching of fixes.

Hi @kvedala @Panquesito7 , I have updated the PR, there are couple of errors and warnings for destructor method and deletion of node. Can you please guide me.

errors:

 /home/runner/work/C-Plus-Plus/C-Plus-Plus/data_structures/binary_search_tree_oop_approach.cpp:25:7: error: class 'BinarySearchTree' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions,-warnings-as-errors]
This error asks to create a copy or assignment operator to the class. You can define one as

class BinarySearchTree {
public:
    BinarySearchTree(BinarySearchTree const&) = delete;
    BinarySearchTree& operator =(BinarySearchTree const&) = delete;
}

as class member functions
2. this can be avoided by the second suggestion made: Use std::shared_ptr or std::unique_ptr functions of smart pointers feature of C++11 that will take care of memory de-allocation and thus make the destructor function useless.
Without the use of smart pointers, the implementation is so rudimentary that it can be implemented almost verbatim as a C program.

The error mentions that either

both copy constructor and the destructor should be defined
or neither should be custom defined

Missing move constructor:

BinarySearchTree(BinarySearchTree const&&) = delete;

Error on line 81: /home/runner/work/C-Plus-Plus/C-Plus-Plus/data_structures/binary_search_tree_oop_approach.cpp:157:41: error: parameter 'n' is passed by value and only copied once; consider moving it to avoid unnecessary copies [performance-unnecessary-value-param,-warnings-as-errors]

@Dharni0607 open the Gitpod link above and open the file you added.
There are some clang-tidy suggestions and quick-fixes there.
If you are still a bit confused, I can make a review fixing various clang-tidy warnings. 🙂

No response from author.
Closing this pull request.
If you are going to re-work on this, please ping me and I'll re-open the PR.


Add deployment target 12.0 for iOS

Summary
Add deployment target 12.0 for iOS to fix build error
Motivation
To fix build error "Specs satisfying the BranchSDK (~> 3.2.0) dependency were found, but they required a higher minimum deployment target."
Type Of Change

[x] Bug fix (non-breaking change which fixes an issue)

Testing Instructions
Install the plugin on iOS and create an app build.

cc @BranchMetrics/saas-sdk-devs for visibility.

This is included in the latest release


CLI tool windows emojis and colors

currently the cli tool doesnt support colors and emojis in windows OS

This issue is also present on MacOS, I wonder if anyone on Linux can confirm this?

Oh btw, std.os.exit got removed in cd62005, so we will need to replace that with std.process.exit.

this issue is referencing the jetzig cli tool, so on windows youll notice this

That looks like an encoding issue. When HTML doesn't have the charset UTF-8 tag, it behaves the same way this Windows terminal does. I don't know anything beyond that, and I don't have a Windows machine to test/reproduce/fix this. Some thoughts I have:

Does cat [file.txt] work as intended if [file.txt] contains emoji?
Are there workarounds other projects use to circumvent this behaviour?


Label causes identifier to be unknown

selection:
var/IP = input(output_target, "Select item to view fingerprints, cancel to close window.", "[src]'s inventory") as null|anything in OL

if (!IP || !output_target || !ismob(output_target))
	return

Triggers unknown identifier error for IP

I wonder if the label is putting the next statement the compiler finds (the IP var decl.) and putting it inside the label scope then immediately exiting said scope. We had a similar issue with for loops in the past.
Maybe BYOND just doesn't make a label scope if the next statement isn't indented?


Fixed Issue #1078 + Some Other Typos

🛠 Fixes Issue
This Issue closes Issue #1078
👨💻 Changes proposed
I have corrected all the typos and some grammatical mistakes that I have found. Screenshot of some of the mistakes are below
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
If possilble please accept this as a Hacktoberfest PR
📷 Screenshots

Before
After

Hey  @SauravMukherjee44  👋 ,
Can you please look into this PR 🙏


[FEATURE REQUEST] Simple ID screen

Feature Request
Is your feature request related to a problem?
Currently a screen is defined by combining the icon (which is composed of name, category and ID) and screen mode, a simple unique ID could be used, which would greatly simplify both deleting and updating screens.
Describe the solution / feature you'd like
When creating screens, they will be assigned an ID, for example, "clock", "date", or "notification1".
If another screen is sent with the same ID, even if it is in a different mode, it will replace the existing one.
When deleting, only the ID must be sent, without needing to know what type of screen it was.
Since the ID is not related to the icon, as many IDs as necessary can be created dynamically, which can be very useful for displaying notifications of any type of event in HA.

https://github.com/lubeda/EspHoMaTriXv2/tree/2024.6.pre?tab=readme-ov-file#screen_id

https://github.com/lubeda/EspHoMaTriXv2/tree/2024.6.pre?tab=readme-ov-file#screen_id

I know it, but it is only valid for reuse icons. If you want change a icon you first remove the old screen (sending the mode too) and send the new.
I propose a "unique id" across modes and icons.

If you want change a icon you first remove the old screen (sending the mode too) and send the new.

As far as I remember, this is not true.
icon_name: "icon1|some_id" -> icon_name: "icon2|some_id" - Change icon1 to icon2 in screen with id = some_id

I propose a "unique id" across modes and icons.

To be able to change the screen type by a given ID?

icon_name: "icon1|some_id" -> icon_name: "icon2|some_id" - Change icon1 to icon2 in screen with id = some_id
Yeah, sorry, I mean different mode.

For example send a simple Only Text (without icon) and I want replace it by a text progress.

For example send a simple Only Text (without icon) and I want replace it by a text progress.

Got it, change the screen type. It's not difficult, but then we need to add screen_id to all screens, and then just delete it if there is one and create a new one.

That's how it is now, but the text doesn't have an icon or identifier.

Yeah, I mean, we could add a ID field, but, if you don't fill the ID field, it automatically set it with icon.

The service calls in esphome are not as flexible as you think. E.G. there are no default values or optional values.
So you have to specify all parameters per service call.

I see no need to implement the "id"-thing, since i use  this tool for two years with the "icon"-way of selecting screen. But feel free to implement this feature.


doc: kconfig: Clarify note describing overriding default n

Previously it was possible to interpret this sentence as if it is
possible to override a default y to a n in a later definition.
That is not possible.
Signed-off-by: Rubin Gerritsen<EMAIL_ADDRESS>

Related discussion on Discord:
https://discord.com/channels/720317445772017664/906521547672522752/1004284613830639636

https://docs.zephyrproject.org/latest/build/kconfig/setting.html#configuring-invisible-kconfig-symbols
Kconfig uses the first default with a satisfied condition, where an empty condition corresponds to if y (is always satisfied).


Low loading speed in Safari (iOS, macOS)

Describe the bug
The problem is that images load 2x in Safari.

Steps to reproduce
The problem only occurs in Safari, in Chrome the loading is fast and the image loads them once.
Screenshots or additional context
No response

The problem only occurs in Safari, in Chrome the loading is fast and the image loads them once.

As you said, I think this may be a problem with Safari. However, if you get any relevant optimization guides, please show them to us.


Change default title to empty string.

Summary
Change default title to empty string when the auto draft post is created in PHP.
Relevant Technical Choices
It made sense to fix this in PHP, as this is a WordPress problem.
I had to tweak dashboard to prefill the title with (No title) to keep inline with how the core list table works. I did not fill the edit mode in dashboard as this didn't make any sense.
Removed workaround in header.
To-do

User-facing changes

Testing Instructions

Fixes #3508

@spacedmonkey Just to clarify, is this how Gutenberg does this? I thought they had a check in JS and not something that filters wp_insert_post_data.
See https://github.com/WordPress/gutenberg/blob/b67cd9a9ebb621b8711053fcc44f7030c7dfaee4/packages/core-data/src/actions.js#L449-L463 for reference

@spacedmonkey Just to clarify, is this how Gutenberg does this? I thought they had a check in JS and not something that filters wp_insert_post_data.

I believe we spoke about this in sprint planning. This is a WordPress only problem, so I thought I would fix in WordPress. I don't see why we should a WordPress fix in js, as this codebase will not always be linked to WP.

Ah you're right.
OK, let me rephrase: does it produce the same result as Gutenberg?

Go to wp-admin/post-new.php?post_type=web-story to create a new story
Publish the story without making any changes
View story on frontend
What's the story title and URL?

What's the story title and URL?

It does what it says in the ticket. Empty title and the id in the url.

This one should be QAed. I will add testing details.

FWIW I basically did QA and it worked just fine 👍

@spacedmonkey FYI, there's a small merge conflict

@spacedmonkey FYI, there's a small merge conflict

Fixed.


New implementation of change_playback_speed

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[X] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
The movie_player element has a method called setPlaybackRate. I think it's better to use that method than  sending '<' and '>' keypresses to change the playback speed.
def change_playback_speed(driver, playback_speed):
    driver.execute_script(
        f"document.getElementById('movie_player').setPlaybackRate('{playback_speed}')")

Hope it helps.
Environment
- OS : All

config.json
Not needed

setPlaybackRate('{playback_speed}') is not needed, you could use only setPlaybackRate(playback_speed)

better to simulate real human interaction to avoid bot detection

better to simulate real human interaction to avoid bot detection
@MShawon

I’ve examined each request youtube does, and it seems like they dont track mouse movements, keyboard inputs, or any other fingerprinting. So this is actually better than manually going to change the playback rate.
I could help you monitor the http requests send by youtube using my nodejs module if you would need any help.


Title POP

Will be defined manually
Should be changeable in merchant center or at least in the Github message files.

Currently the HTML title is using the category name, as well as other titles (teaser, banner).


Mobile Responsiveness for Sign-up Modal Avatar

Current state
The avatar images in the Sign-up Modal on mobile screen size appear in the following way:

Expected state
According to the figma mockup the avatar images are required to appear in the following way:

@GBKS should users be able to scroll horizontally on mobile here? It isn't very clear from the design, so perhaps you wouldn't mind elaborating on the desired behavior?

Yes, there should be horizontal scrolling. We may add more avatars in the future and showing them as a grid would be too big for mobile.

@GBKS Okay, thank you!
To whoever is picking this up, please create a reusable component that:

Allows for horizontal scrolling on mobile.
Displays things in a grid when on desktop.

Then use that component to make a fix for this issue specifically.

Let me give it a try!


Tech writer updates to sdk-examples.md

Update sdk-examples for terms, grammar, and clarity.

/assign

/priority p1

/close


[AutoPR cognitiveservices/data-plane/VisualSearch] [Visual Search] Additional documentation, add discriminator types, up…

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3637

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/3160


Prototype fixing #6381: Order of resource based adapter options may cause Exception

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html

Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7205
User: @marc-mabe
Created On: 2015-02-11T19:43:42Z
Updated At: 2015-02-25T18:26:10Z
Body
This is a prototype!!!!
This would be duplicated in all Options classes requiring some ordering of options.
@Ocramius @weierophinney In my opinion the issue #6381 should be marked as won't fixed as the options will be applied in the order they are defined. This behavior should be documented but not changed into a adapter defined ordering like this prototype. Additionally this prototype shows it's more error prone than the current behavior and would be needed to be document3ed for each adapter what the defined order would resulting in other WTF moments.

Comment
User: @weierophinney
Created On: 2015-02-19T21:16:47Z
Updated At: 2015-02-19T21:16:47Z
Body
My feeling is that this shouldn't be abstracted at all. If options need to be set in a particular order, then each options class should implement this functionality accordingly, instead of relying on the parent. This is particularly salient considering you've re-implemented most of the logic of Zend\Stdlib\AbstractOptions::setFromArray() already; why delegate to the parent at all?
Instead, go through the options in the order in which they should be applied and set them on the instance directly.

This has been fixed already in 2.7.1 by #91


Seekbar not changing

Seekbar only working when dragging it from starting. When i stop it in between and try to move pointer again it doesn't work I have to move pointer from the top again and tapping on wheel is also not changing pointer position.
Using this in xml
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:max="60"
app:pointer_color="#6AFF0D"
app:pointer_halo_color="#336AFF0D"
app:pointer_size="24"
app:text_color="#E8A10C"
app:text_size="65"
app:wheel_size="8"
app:color="#cfcfcf"
app:wheel_active_color="#00BFFF"
app:wheel_unactive_color="#5500BFFF"

@29jitender Hi, I've tried the reproduce the problem you are having but for me that behaviour is working correctly. In this link (https://drive.google.com/open?id=0B3_15qFiB8KVRmYwRXNuTko0NlU) you can check a video in which the app is working fine moving the pointer. Please let me know if I misunderstand something of your description of the problem.

I'm going to close it for now as no new information has been added.


Cannot run conda index in github actions

Checklist

[X] I added a descriptive title
[X] I searched open reports and couldn't find a duplicate

What happened?
I need some guidance to use python -m conda_index in my CICD.
I keep getting module not found
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response

conda install conda-forge::conda-index
In case anyone else runs into this issue.


What's with babel-node in Babel 6?

I'm trying to update to Babel 6 from Babel 5. ES6 seems to not work at all with this newer babel-node.
I'm completely missing the point of it.
https://babeljs.io/docs/usage/cli/

$ babel-node -e "class Test { }"

Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

$ echo "let x = 0" > test.js ; babel-node test.js

Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
What's wrong? I've tried different combinations like babel-node test.js --presets stage-1 without any luck.

This is not the correct place for support queries, please visit the slack channel. https://slack.babeljs.io

This is not the correct place for support queries, please visit the slack channel. https://slack.babeljs.io


The document contents show garbled code for the attached emulator SQL

OS: Win10
Build Version: 20221127.1
Repro Steps:

Create a document in the attached MongoDB Emulator.
Refresh the attached SQL Emulator.
Check whether the document contents show well or not.

Expect:
The document contents show well.
Actual:
The document contents show garbled code.

It seems like only the id property is impacted by this. The id property should be automatically generated so I don't think this will impact users as long as they are still able to open the documents.
Could you see if there are any other instances where the contents are garbled like this?

@nturinski  The documents don't contain the garbled contents after creating documents by right clicking "Documents" node or importing documents.

Create a document in the attached MongoDB Emulator.
Refresh the attached SQL Emulator.
Check whether the document contents show well or not.

Are you creating the document in VS Code using the extension, or are you creating the document via the MongoDB Emulator?

@alexweininger  Create the documents via the MongoDB Emulator.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Fix java bindings.

@asekretenko @greggomann Fixed mesos java bindings for cmake by reversing dependency so libmesos-java depends on libmesos.


Add Payoneer Mobile

The Payoneer Mobile App (for Android soon for iPhone) is fully written with EmberJS (1.13).
I'm the lead developer...

Note: Before merging this in we'll need to copy mobile support from https://github.com/GetBlimp/built-with-react


fix example

Update node dependencies and fix example.

CI is failing because eslint is unhappy about something. Also, I don't think we need package-lock.json to be in the repo, could you please remove it?
Seems good otherwise!

Looks like I forgot to check in the rc file for eslint. It should be there.
I've remove the package lock file. A bit of confusion here, though; isn't it generally considered best practice to include it? Our npm dep tree on these isn't particularly sophisticated, but I would think that it would serve to remove one potential source of (admittedly unlikely) error.

rebased

@hdgarrood Any thoughts on this?

:+1:. I haven't had enough contact with recent versions of npm to have an opinion on whether package-lock.json should be checked in.

I don't think it should personally, since npm dev dependencies are a convenience for building PS projects, not a requirement - also, for the core libraries at least, they're just secondary tools in the build, the compiler isn't even versioned in there (the core libs always fetch the latest release from GH). It's a little different here as I guess the compiler is mentioned specifically, but yeah, I dunno.
I've been adding it to the gitignores lately, as if we neither have it committed nor have it ignored the pursuit auto-publish-on-release will fail.

Oh wait, this one is set up to pull latests GH release too, so it also doesn't have a compiler version in the package.json, so disregard that part.

The example provided by this PR seems good. We would need to fix the merge conflicts, update to Effect and remove some of the other changes made here regarding NPM things.

Superceded by #36


Why confetti?

I'm starting a new project and removing things I don't need from the template. I just encountered the confetti integration with its own dependency. Seemed unnecessary to me, and I guess it will be removed in every project which builds on this stack.
Was there a good reason to add it to the template?

You're right. It violates the guiding principle of "Include Only Most Common Use Cases." We should probably just remove that and move it to an example.
Would you be interested in making a PR to remove it?

Would you be interested in making a PR to remove it?

I will, if I decide to continue with epic stack. Right now, I'm a bit disillusioned by how much time it takes to remove stuff I don't need...

Well, you're either removing stuff you don't need or creating all the stuff you do. I think it takes more work to create the new stuff than remove the stuff you don't need, but everyone's gotta make that evaluation for themselves :) I've pushed a change to remove the confetti though. Cheers :D

You can also leave the stuffs there, maybe not so much for client-side stuffs but server-only things can be 100% left untouched if not needed (or not needed now) and it shouldn't affect.

I think the confetti represents my guiding principle. Its okay to have fun 😄

I agree. But for some applications it's really just in the way. I do think it was a good call to remove this and make it an example instead. Challenging balance to strike here.


Sidebar in discussion changes behaviour if you come from wallet tab

The sidebar in discussion tab in your profile probably shows users with high influence. It shows only people I already follow. This behaviour changes if you go to the wallet tab and back to discussion. After the change I see only people that I do not follow.

Expected behaviour
The behaviour of the sidebar in the discussion tab should not change.
Steps to reproduce

Go to your profile
Click the wallet tab
Click the discussion tab

Open Source Contribution posted via Utopian.io


SSR roughness produces strange horizontal streaks, especially visible when using Normal Maps

Godot version
4.0 beta 2
System information
Windows 10 / Arch Linux; Vulkan, Clustered+, AMD Radeon RX6800XT
Issue description
Screen-Space Reflections respond to roughness by blurring on one axis, which produces strange horizontal streaks, especially when using a normal map. For best case scenario I've set SSR to use highest quality.
Roughness = 0:

Roughness = 0.25:

Roughness = 0 + normal map:

Roughness = 0.25 + normal map:

Roughness = 1.0 + normal map + roughness map:

Let me tweak the floor material to make the reflection more visible:
Roughness = 1 + roughness map:

Roughness = 1 + normal map + roughness map:

These streaks are even more distracting in motion, as they flicker back and forth.
Steps to reproduce

Enable SSR
Make your material reflective but a bit rough
Add a normal map to vary the surface normals
Observe the strange horizonal streaks

Minimal reproduction project
SSR Test.zip

Accidentally I've found a really interesting talk about SSR and I think it could be of use in the effort to improve that feature in Godot:
Presentation:
https://www.youtube.com/watch?v=AzXEao-WKRc
Slides:
https://www.ea.com/frostbite/news/stochastic-screen-space-reflections

I wonder - does it make sense to take some code from O3DE and put them into Godot? The engine code can be used under Apache 2.0 or MIT: https://github.com/o3de/o3de
Maybe some of the rendering code could be taken from there and adapted to Godot, or at least used as a close reference.

This issue is still present in Beta 12:

I can confirm this on 4.0.beta12 (Linux, GeForce RTX 4090 with NVIDIA 525.60.11).
Some observations:

Enabling 16× anisotropic filtering on the texture SSR reflects on doesn't affect streaks.
Streaks are more noticeable with heavy SSR settings (lots of steps, fade in/fade out that makes reflections more visible). At the default settings, they're not that noticeable as reflections are shorter.
Adjusting Max Steps, Fade In, Fade Out, Depth Tolerance has no effect on the streaks.

Still reproducible in 4.0 RC 1.


mdns: Centralize strings for service names.

Problem
We have hardcoded strings for the mdns service names sprinkled through the code.
Change overview
Moves service name strings to a central location.
Testing
Tested advertiser (impl mdns) on M5 - confirmed subtypes using avahi
Tested resolver impl mdns using chip-device-ctrl resolve and discover
Tested resolver platform using chip-device-ctrl compiled with chip_mdns platform

re:sizes - from an nm dump, looks like most of the size increase comes from MakeServiceSubtype - it wasn't previously linked in on the esp32 build because it was only used in the resolver, not the advertiser.


ember-cli-eslint 3.0.0

supersedes the other pending PRs trying to update this addon
Closes #49
Closes #48
Closes #47

Nice!


ERROR: missing input file '@local_jdk//:lib/tools.jar'

When trying to build the project from master, I keep getting failures:
Full Output
intellij (master)$ bazelisk build //ijwb:ijwb_bazel_zip --define=ij_product=intellij-latest
Starting local Bazel server and connecting to it...
WARNING: /Users/steventricanowicz/source/bazelbuild/intellij/java/BUILD:177:1: in java_import rule //java:jdk_tools_jar: target '//java:jdk_tools_jar' depends on deprecated target '@local_jd
k//:langtools': Don't depend on targets in the JDK workspace; use @bazel_tools//tools/jdk:current_java_runtime instead (see https://github.com/bazelbuild/bazel/issues/5594)
INFO: Analyzed target //ijwb:ijwb_bazel_zip (63 packages loaded, 2041 targets configured).
INFO: Found 1 target...
INFO: Deleting stale sandbox base /private/var/tmp/_bazel_steventricanowicz/7392ad3341b277fe1685e36a4d05fafd/sandbox
ERROR: missing input file '@local_jdk//:lib/tools.jar'
ERROR: /Users/steventricanowicz/source/bazelbuild/intellij/build_defs/BUILD:45:1: Creating runfiles tree bazel-out/host/bin/build_defs/zip_plugin_files.runfiles [for host] failed: build-runf
iles failed: error executing command
  (cd /private/var/tmp/_bazel_steventricanowicz/7392ad3341b277fe1685e36a4d05fafd/execroot/intellij_with_bazel && \
  exec env - \
    PATH='/Users/steventricanowicz/go/bin:/usr/local/opt/ruby/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/steventricanowicz/.improbable/imp-tool/subscriptions:/improbable/tools/l
atest/mac:/usr/local/go/bin:/usr/local/MacGPG2/bin:/opt/puppetlabs/bin:/usr/local/share/dotnet:/usr/local/munki:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/
Users/steventricanowicz/go/bin:/usr/local/opt/ruby/bin' \
  /var/tmp/_bazel_steventricanowicz/install/37d3a264d720ec9ae63603a543c8ff7c/_embedded_binaries/build-runfiles bazel-out/host/bin/build_defs/zip_plugin_files.runfiles_manifest bazel-out/host
/bin/build_defs/zip_plugin_files.runfiles): Process terminated by signal 15: Process terminated by signal 15
ERROR: /Users/steventricanowicz/source/bazelbuild/intellij/java/BUILD:177:1: //java:jdk_tools_jar: missing input file '@local_jdk//:lib/tools.jar'
Target //ijwb:ijwb_bazel_zip failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /Users/steventricanowicz/source/bazelbuild/intellij/java/BUILD:177:1 1 input file(s) do not exist
INFO: Elapsed time: 13.674s, Critical Path: 4.57s
INFO: 276 processes: 276 darwin-sandbox.
FAILED: Build did NOT complete successfully

Bazel Info
intellij (master)$ bazelisk version
Starting local Bazel server and connecting to it...
Build label: 0.26.0
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue May 28 08:38:24 2019<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

Java Info
intellij (master)$ javac --version
javac 12
intellij (master)$ java --version
openjdk 12 2019-03-19
OpenJDK Runtime Environment (build 12+33)
OpenJDK 64-Bit Server VM (build 12+33, mixed mode, sharing)
intellij (master)$ $JAVA_HOME
bash: /Library/Java/JavaVirtualMachines/openjdk-12.jdk/Contents/Home: is a directory

I was able to get past this by installing the Java SE JDK 8. So maybe a better title for this issue is "OpenJDK 12 compatibility".

CC @iirina

@strican bazel does not yet support JDK12. We are currently working on this. We aim to support JDK 12 in Bazel 0.28.

I was able to get past this by installing the Java SE JDK 8. So maybe a better title for this issue is "OpenJDK 12 compatibility".

Ran into the same issue with OpenJDK 11. Thanks for the workaround.

This should be fixed by now. The current CI also executes the tests on Java 11 without issues.
If there's another issue with running on Java 12, please open a separate tracking bug.


New version: CyberPowerSystemsInc.PowerPanelPersonal version 2.3.0

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


SCSS Problem

hi,
i just had problem with mixin.
its just when i include the mixin in the scss file, it works in the live preview of brackets but when i try to compile the file and save it , an error message shows up
This is the error message
no mixin named box-shadow	 @include box-shadow(rgba(blue, 0.4) 0 0 25px, rgba(green, 0.2) 0 0 3px 1px inset);
I am attaching a snapshot please check it

Can you please resolve the issue and let me know about it

I have some similar problem. My files are something like this
index.html
scss
   - main.scss
   - lib
      -- _header.scss
      -- _mixins.scss

So if I use the mixin inside _header.scss I get the same error as @layersstudio I don't know if he has some similar folder structure.
Tried a few things:

If mixin is used on main.scss it works as expected
importing mixins to header works without error but live preview doesn't work, it works on save


[nrf noup] matter: Revert nrf-related config files

-Going back to nrf-config.h and nrf-config-user.h instead of the
new system using MBEDTLS_PSA_CRYPTO_CONFIG_FILE and
MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE as these gave regressions for
certain cases where legacy crypto is required when PSA crypto
is enabled for some features...
Note: The methodology of additional PSA-specific config files could be enabled at a later time
Ref: NCSDK-26412
Signed-off-by: Frank Audun Kvamtrø<EMAIL_ADDRESS>

Closing stale PR.


Using repeated flags (-vvv) and [options] leads to extra flag being created

"""Testing a verbosity flag

Usage:
    program [-v | -vv | -vvv]
    program subroutine [-v | -vv | -vvv] [options]

Options:
    -v, -vv, -vvv   Verbosity level. Multiple flags increase verbosity.
    -e, --extra     An extra option, only available to subroutine.
    -b, --bonus     A bonus option, especially for users of subroutine.

"""
from docopt import docopt
arguments = docopt(__doc__, argv='subroutine -vvv')
print arguments

Gives:
{'--bonus': False,
 '--extra': False,
 '-v': 3,
 '-vvv': False,
 'subroutine': True}

There seems to be an extra flag named -vvv.  Removing [options] gets rid of the extra flag, but obviously I don't get the --extra and --bonus options for my subroutine.


Added menu bar buttons for easier navigation

Addressing the menu bar issue, sorry it took so long guys. Also fixed some formatting because it was annoying me that it wasn't in line

Yea looks good and Approved


Feature: Auto format on save option

Type of feature
✨ Feature
Current behavior
Currently there is no option to enable auto format on save
Suggested feature
Add a checkbox in the options panel to enable auto format on save
Additional context
No response
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

Sorry, I just noted the format option has a shortcut which makes this feature obsolete.

Thank you @AhmedAdel991
There is indeed a "Format On-save" option, which you can find in the settings menu. It is disabled by default. But once you enable it, the setting will be remembered across your sessions.
Please note that format will not be triggered automatically if you enable "Auto Save" unless you manually save the project (e.g. from project menu or the shortcut Ctrl + S)

And yes, the keyboard shortcut "Alt + Shift + F" triggers code format :)
Please let me know if you have any other questions or comments.
Thank you.

Thanks DR. @hatemhosny for your great work, no that would be all shall I close the issue?

Thanks DR. @hatemhosny for your great work, no that would be all shall I close the issue?

You are most welcome.
Yes, please, you may close this if you have no further inquiries.


AzureKeyVaultProvider should move to the latest Azure KeyVault Libraries

Describe the bug
AzureKeyVaultProvider should move to the latest Azure KeyVault Libraries.
https://www.nuget.org/packages/Azure.Security.KeyVault.Keys
https://www.nuget.org/packages/Azure.Security.KeyVault.Secrets

@AlexGhiondea

@David-Engel @cheenamalhotra

but for why.. is there actually something which will be fixed, or just for the fun? :)

Azure.Security.KeyVault.* packages will be our focus going forward, including any new features that the Key Vault service provides. It's also built around Azure.Core which has unified tracing, logging, retries, and more built into the pipeline. We also have a cross-language focus to provide consistency across .NET, Python, JavaScript (both Node and in-browser), and Java, with more languages on the horizon so that, if you need to interact with other languages or frameworks, you have a similar developer experience.

The Microsoft.Azure.KeyVault package has been officially deprecated for a number of months now (coming up on a year if it was deprecated when the last build was posted).
Would be nice to have fewer dependencies and everything on current versions. Thanks!

The Microsoft.Azure.KeyVault package has been officially deprecated for a number of months now (coming up on a year if it was deprecated when the last build was posted).
Would be nice to have fewer dependencies and everything on current versions. Thanks!

Azure.Core (the main dependency under the new AKV packages) only supports .NET Framework 4.6.1 and up. Microsoft.Data.SqlClient 2.1 supports .NET Framework 4.6 and up. In order to move to the new libraries, SqlClient has to make a breaking change, dropping support for 4.6.0. So it will only happen on a major version bump.

Azure.Core (the main dependency under the new AKV packages) only supports .NET Framework 4.6.1 and up. Microsoft.Data.SqlClient 2.1 supports .NET Framework 4.6 and up. In order to move to the new libraries, SqlClient has to make a breaking change, dropping support for 4.6.0. So it will only happen on a major version bump.


[FAT-7535] - Increased the readTimeout

Purpose
Describe the purpose of the pull request.
Approach
How does this change fulfill the purpose?
TODOS and Open Questions

[ ] Use GitHub checklists. When solved, check the box and explain the answer.

Learning
Describe the research stage. Add links to blog posts, patterns, libraries or addons used to solve this problem.


UE IP allocation

As per 3GPP TS 29.244 V16.0.0, Table <IP_ADDRESS>-2: PDI IE within PFCP Session Establishment Request
Network Instance | O |
This IE shall be present if the CP function requests the UP function to allocate a UE IP address/prefix and the Traffic Endpoint ID is 				not present.
So does VPP-UPG supports UE IP allocation ?

No, it does not. We have an internal ticket for that, but it has been sitting in backlog for month.
BTW: the Traffic Endpoint feature you mentioned is also not supported.


Cannot find module 'optparse'

Hi, I installed Kaffeine with:
npm install kaffeine

and get this error when i try to execute kaffeine
module.js:337
    throw new Error("Cannot find module '" + request + "'");
          ^
Error: Cannot find module 'optparse'
    at Function._resolveFilename (module.js:337:11)
    at Function._load (module.js:279:25)
    at Module.require (module.js:359:17)
    at require (module.js:375:17)
    at Object.<anonymous> (/Users/Cesar/node_modules/kaffeine/bin/command.js:4:22)
    at Module._compile (module.js:446:26)
    at Object..js (module.js:464:10)
    at Module.load (module.js:353:31)
    at Function._load (module.js:311:12)
    at Module.require (module.js:359:17)

is this the way to install it?
additional info:
node -v
v0.6.19
OSX 10.6.8

You need to do npm install optparse which should add it manually.

However to use Kaffeine you need to clone the current repo as the Kaffeine npm package seems to be dated as it has path.exists problem which can and is fixed in the npm_modules folder by renaming to fs.exists. Either fix that in the node_modules directory or clone the repo and run from within the repo.

After fixing node_modules file:
node_modules/kaffeine/bin/kaffeine -c index.k
Or after cloning run:
bin/kaffeine -c index.k

The optparse issue seems to be because of wildcard issue in package.json as optparse is included in the package.json, https://github.com/npm/npm/issues/13555. I created a pull request to fix that.


Honor PYTHONWARNINGS for SNIMissingWarning

.local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
SNIMissingWarning
.local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
I'm not here to discuss the validity of those warnings, but when I tried to get rid of them with the PYTHONWARNINGS environment variable, it only works for the InsecurePlatformWarning one. The other is always displayed whatever I put in PYTHONWARNINGS.
Please advise what PYTHONWARNINGS value to use to get rid of this one, this is a documented python feature:
https://docs.python.org/2/library/warnings.html
https://docs.python.org/2/using/cmdline.html?highlight=pythonwarnings#envvar-PYTHONWARNINGS
Also seen the same problem here: in https://github.com/shazow/urllib3/issues/497
Thanks

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31947052-honor-pythonwarnings-for-snimissingwarning?utm_campaign=plugin&utm_content=tracker%2F192525&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F192525&utm_medium=issues&utm_source=github).

Arg, yes, good spot. Want to try the patch from #817 to see if that solves your problem?

I've not tried the patch file per se, but redid the same modification in place, and it worked. Thanks.


Make it possible to pause a schedule

[ ] Add an enabled flag to the schedule proto
[ ] Add a pause/disable button to the schedules UI
[ ] Make sure disabled schedules aren't run in the scheduler

@Jagjit-Thind for updates.


Fail to execute tox with this plugin

I tried to test this plugin, and it ends with:
Traceback (most recent call last):
  File "/Users/grzegorzbokota/.pyenv/versions/napari/bin/tox", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/run.py", line 20, in run
    result = main(sys.argv[1:] if args is None else args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/run.py", line 46, in main
    return handler(state)
           ^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/session/cmd/run/sequential.py", line 25, in run_sequential
    return execute(state, max_workers=1, has_spinner=False, live=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/session/cmd/run/common.py", line 237, in execute
    state.envs.ensure_only_run_env_is_active()
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/session/env_select.py", line 416, in ensure_only_run_env_is_active
    envs, active = self._defined_envs, self._env_name_to_active()
                   ^^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/session/env_select.py", line 273, in _defined_envs
    raise failed[next(iter(failed_to_create))]
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/session/env_select.py", line 250, in _defined_envs
    run_env.package_env = self._build_pkg_env(pkg_name_type, name, env_name_to_active)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/session/env_select.py", line 321, in _build_pkg_env
    name_type = next(child_package_envs)
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/tox_env/python/virtual_env/package/pyproject.py", line 173, in register_run_env
    yield from super().register_run_env(run_env)
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/tox_env/python/package.py", line 117, in register_run_env
    pkg_env = run_env.conf["wheel_build_env"]
              ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/config/sets.py", line 118, in __getitem__
    return self.load(item)
           ^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/config/sets.py", line 129, in load
    return config_definition.__call__(self._conf, self.loaders, ConfigLoadArgs(chain, self.name, self.env_name))  # noqa: PLC2801
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/config/of_type.py", line 106, in __call__
    value = self.default(conf, args.env_name) if callable(self.default) else self.default
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/tox_env/python/package.py", line 109, in default_wheel_tag
    return f"{self.conf.name}-{run_py.impl_lower}{run_py.version_no_dot}"
                               ^^^^^^^^^^^^^^^^^
  File "/Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/lib/python3.11/site-packages/tox/tox_env/python/api.py", line 44, in impl_lower
    return self.implementation.lower()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no

tox in version 4.12.1
System macOS
python 3.11.4
version tox-uv 1.0.1

comand: tox run -e py311-macos-pyqt5-no_cov -n
project https://github.com/napari/napari/
but when checking I found that I specified to use wheel build
[testenv]
package = wheel

because of crash of uv with sdist
https://github.com/astral-sh/uv/issues/1484#issuecomment-1948863469
Same crash here
py311-macos-pyqt5-no_cov: install_package> /Users/grzegorzbokota/.pyenv/versions/3.11.4/envs/napari/bin/uv pip install --reinstall --no-deps<EMAIL_ADDRESS>⠹ Resolving dependencies...                                                                              thread 'main' panicked at crates/uv-resolver/src/resolution.rs:120:26:
Every package should have metadata
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

So it looks like package=wheel makes a problem.

So it looks like package=wheel makes a problem.

Not really, this project iself is using wheel https://github.com/tox-dev/tox-uv/blob/main/tox.ini#L17 and it works https://github.com/tox-dev/tox-uv/actions/runs/7933552228/job/21662569284.
sdist not working is likely a bug with uv.

It was part of the justification why changes are required.

@gaborbernat it may be bug in tox. Every package should have metadata
When I pass a path to sdist using --installpkg it works. Could you please point me how to prevent tox form removing sdist?

I don't think we do so should be available in .tox/.pkg/tmp.

It is somehow cleaned. I have checked the path reported in the log (for example /tmp/.tox/.tmp/package/20/) and it is empty.

You would need to put breakpoints in tox then, but did you try pyproject-build generates something that uv accepts?

but did you try pyproject-build generates something that uv accepts

I'm not sure what is pyproject-build but if I pass either sdist or wheel generated using python -m build to tox using --installpkg it works without any problem. This is why I expect that it may be a problem with the way how sdist is build.

looks working.
When I see workflow I see annotation that on Windows is not working. Plugin is not working or only tests?

@Czaki seems the sdist is a tox bug... removing toxworkdir={env:TOX_WORK_DIR:/tmp/.tox} from your config makes it run past it...

When I see workflow I see annotation that on Windows is not working.

Without https://github.com/astral-sh/uv/issues/1521 uv cannot discover Python versions on Github Actions. Upstream limitation for now that I cannot enable Windows in CI. Should work once that's fixed, though.

hm. Maybe I spot a different bug then:
py311-windows-pyqt6-no_cov: install_package> python -I -m uv pip install --force-reinstall --no-deps "napari @ D:\a\napari\napari\dist\napari-0.5.0a2.dev560+g2c217efd-py3-none-any.whl"
error: Unable to extract filename from URL: d:\a\napari\napari\dist\napari-0.5.0a2.dev560+g2c217efd-py3-none-any.whl

Did you meet this earlier or should I investigate it more and maybe report to uv?
(it comes from my approach to do same as here (https://github.com/czaki/tox-uv))

Did you meet this earlier or should I investigate it more and maybe report to uv?

The extra spaces around @ looks suspicious, but the error is coming from uv, so I gather the error is in theri code too.

Extra spaces come from my code. Because I have followed this suggestion https://github.com/astral-sh/uv/issues/1484#issuecomment-1948798461 which contains space. It works on linux and macos

Ah, works without it too for me 😊 see https://github.com/tox-dev/tox-uv/blob/main/src/tox_uv/_installer.py#L80

As I check you use uv from tox env and I have installed it in created env
https://github.com/Czaki/tox-uv/blob/6af0f3bd7bd74094815ae701002b7f9d5ddb552e/src/tox_uv/plugin.py#L128-L137
But also I do not use uv to create venv in such a scenario.
This is why I do not meet problems with the discovery python version. But if the bug with paths will be solved and searching py not then it may be a good solution.


add mean/var to stats

@ShigekiKarita "var" could use an option for calculating the sample variance or population variance.
I had done some work on statistics functions last year. Do you want me to push a branch of mine somewhere so that you can see what I had done for comparison? I had written at least mean, hmean, gmean, var, std, and zscore before I got side-tracked. I took a little different approach as I viewed the axis option as coming through byDim, but mostly similar.

@jmh530 I think that sample or population are equals to delta degree of freedom ddof=0 or ddof=1, respectively. Do you agree with that? I want to confirm that because I wanna follow the numpy way (arguments) basically.
https://docs.scipy.org/doc/numpy/reference/generated/numpy.var.html

Do you want me to push a branch of mine somewhere so that you can see what I had done for comparison?

Yes. I'd like to see and merge your function. PR is always welcome.

@ShigekiKarita Yes, ddof in numpy is for degrees of freedom, which is the point of sample and population. Personally, I have never liked that way of doing things because then you need to assert to validate that the user only actually uses 0 and 1. In addition, for functions like skewness and kurtosis, the formulas don't work that easily so it doesn't generalize. I had used a bool, but a flag would also be reasonable.
I pushed all the stats functions I had written to a branch on my fork. You can view there. I can always re-work to something to something to get added, or you can just feel free to take what you want from it.

Hi @ShigekiKarita and @jmh530. Moments, including var can be calculated during single iteration. For example var: https://wikimedia.org/api/rest_v1/media/math/render/svg/67c38600b240e9bf9479466f5f362792e4fc4fb8

This is how it works in databases. It is preferred because of lazy input.

I’m aware of this formula. It is faster but is numerically unstable and can
give the wrong results sometimes. I have no issue with there being multiple
algorithms as in your sum function.
On Sat, Feb 17, 2018 at 11:57 AM Ilya<EMAIL_ADDRESS>wrote:

This is how it works in databases. It is preferred because of lazy input.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/libmir/numir/pull/22#issuecomment-366454738, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMJWykdOmYZUVM5JsgJmAfKzdfwIPxD0ks5tVwTlgaJpZM4SJM1x
.

maybe blas nrm2 http://www.netlib.org/lapack/explore-html/de/da4/group__double__blas__level1_ga4b25c539b862414e6f91ebb30b391d7c.html#ga4b25c539b862414e6f91ebb30b391d7c

Not sure that resolved the issue or not, but you can see some discussion at
the link below. The example in it is clear what the issues are.
https://en.m.wikipedia.org/wiki/Algorithms_for_calculating_variance
On Sat, Feb 17, 2018 at 12:27 PM Ilya<EMAIL_ADDRESS>wrote:

maybe blas nrm2
http://www.netlib.org/lapack/explore-html/de/da4/group__double__blas__level1_ga4b25c539b862414e6f91ebb30b391d7c.html#ga4b25c539b862414e6f91ebb30b391d7c
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/libmir/numir/pull/22#issuecomment-366456820, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMJWylx8wf9xsvII9N7aH5veBJ8lkYNWks5tVwvkgaJpZM4SJM1x
.

For float:
Summator!(double, Summation.kbn) squares = 0;
Summator!(double, Summation.naive) values = 0;

For double and real:
Summator!(T, Summation.kb2) squares = 0;
Summator!(T, Summation.kbn) values = 0;

And common loop
aSlice.each!((a) { squares += a * a; values += a; });
auto n = aSlice.elementsCount;
return (squares.sum - values.sum / n) / (n - 1);

each will squash inner loops for contiguous slice.

Seems to work for me.
auto twoPassVar(T)(T slice)
{
    import mir.math.sum : sum;
    import mir.ndslice.topology : map;
    import mir.math.common : powi;

    size_t sliceSize = slice.elementsCount;
    auto sliceMean = slice.sum / sliceSize;

    return slice
            .map!(a => a - sliceMean)
            .map!(a => a.powi(2))
            .sum
            / (sliceSize - 1);
}

auto fastVar(T)(T aSlice)
{
    import mir.ndslice.algorithm : each;
    import mir.math.sum;

    Summator!(double, Summation.kbn) squares = 0;
    Summator!(double, Summation.naive) values = 0;

    aSlice.each!((a) { squares += a * a; values += a; });
    sizediff_t n = aSlice.elementsCount;
    squares += -(values.sum ^^ 2 / n);
    return squares.sum / (n - 1);
}

unittest
{
    import mir.ndslice.slice : sliced;
    import mir.ndslice.algorithm : each;

    float adder = 100_000_000_000_000.0f;
    float[] x1_pre = [4.0f, 7.0f, 13.0f, 16.0f];
    auto x2_pre = x1_pre.dup;
    foreach(size_t i, float e; x2_pre)
        e = e + adder;
    auto x1 = x1_pre.sliced;
    auto x2 = x2_pre.sliced;

    assert(twoPassVar(x1) == fastVar(x1));
    assert(twoPassVar(x2) == fastVar(x2));
}


wip: new(ci): make use of automated arm64 nodes for arm64 jobs.

What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area CI
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Moreover, split up drivers_ci from main ci to simplify maintenance.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/cc @LucaGuerra @Andreagit97

We have some required jobs that will need to get updated on test-infra.

/hold for now

I would like to have it in 0.14.0 to have the CI synched with master, IMO we can merge it after https://github.com/falcosecurity/libs/pull/1496

https://github.com/falcosecurity/test-infra/pull/1319 is now merged, and we should be ready to merge this one.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/unhold


Search object by attribute with less or greater than

Is there any way to search for objects by attributes and using <= or >= as search operators?
For example, I want to search for all user accounts that have been created within the last seven days. With a regular LDAP query I can do this:
    start_time = datetime.today()  - timedelta(days = 7)
    result = self.search(
        "(&(objectClass=user)(whenCreated>={}))".format(start_time.strftime("%Y%m%d%H%M%S.0Z")),
        ["cn", "displayName", "mail", "o", "whenCreated"]
    )

With this library I only see the option to search with the = operator. Is there any way to to this with ms_active_directory?

Agreed. It would be nice in general to be able to pass an ldap filter string in a search. I was also looking to filter by the whenCreated attribute in the same way as @schneidr
If this can already be done, it would be nice to see this reflected in the documentation.


Need: Tensorflow for Unity plugin

System information

TensorFlow version (you are using): 2.0.1

Feature requested
-Tensorflow for Unity plugin needed.
For three reasons:
1.Although tensorflow lite can be used to build Android or IOS apps, developer prefer to use cross-platform IDEs so they only need to adapt and develop once.

Native Andoird (Android studio) or IOS (Xcode) are not really designed for 3D apps. For 3D developers, it is hard to create 3D scene and manipulate them in Android studio or Xcode. On the other hand, more and more AI  module in tensorflow can now show us 3d informaitons from 2D image (facemesh, hand pose, etc.), a 3d based IDE + tensorflow would be a better solution to use these 3d information in real productive apps.

There is no official release of Unity Tensorflow plugin, I tried some no-official ones, some of them can not use GPUs, some of them are full of bugs. Developers are strugglling finding a right version. If we have an official version, a large number of user would be increased.

Here's an example TFLite Unity plugin. There are some community examples using this plugin, e.g., https://github.com/asus4/tf-lite-unity-sample. We don't have any plans to release a full TF Unity plugin.


Can not reproduce the result

For dense net.
Could you please give a detailed parameters description which generated the reported result? I used the default parameters except for those specified in your README file.  Also, I changed the number of the epoch of 300. But only got at most 75% train accuracy. I did not change anything else. What is the matter?

When using SGD as the optimizer, the learning rate should be 0.1, while Adam 0.001.


Incompatibility with github.com/miekg/dns package's new updates

the package doesn't compile with the fresh github.com/miekg/dns package's versions since it is incompatible ( usage of dns.ErrTruncated fails)

For now we use:
https://github.com/xenolf/lego/blob/a5f0a3ff8026e05cbdd11c391c0e25122497c736/Gopkg.lock#L306

Is it possible to also add a .mod file?

I have updated the package https://github.com/xenolf/lego/pull/700/commits/2add6910e6f2fbcf8542cb6ebde771f3260424fc
And for the support for Go module see #706

Okay Cool


Crash when trying to release NULL

We've got another crash coming from TrustKit
It looks like it's related to these lines.
https://github.com/datatheorem/TrustKit/blob/master/TrustKit/Pinning/ssl_pin_verifier.m#L66-L68
SecCertificateCopySubjectSummary can return NULL but nothing is checking for it before calling release.
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Crashed Thread: 5

Application Specific Information:
*** CFRelease() called with NULL *** > boolValue > containsObject: > hashSubjectPublicKeyInfoFromCertificate: > objectForKeyedSubscript: > timeIntervalSinceReferenceDate

Thread 5 Crashed:
0   CoreFoundation                  0x315fb022c         CFRelease.cold.1
1   CoreFoundation                  0x315e2c534         CFRelease
2   TrustKit                        0x1045c79e0         verifyPublicKeyPin (ssl_pin_verifier.m:68)
3   TrustKit                        0x1045ced10         -[TSKPinningValidator evaluateTrust:forHostname:] (TSKPinningValidator.m:126)
4   TrustKit                        0x1045cf0e0         -[TSKPinningValidator handleChallenge:completionHandler:] (TSKPinningValidator.m:202)

One interesting thing to note, we've seen this occur for 21 users so far, and all are on iOS >= 14.4. Being as how we didn't start seeing this crash until recently, it appears something has changed with iOS 14.4 to make this crash start happening.


Clean merge version of #26 and #27

as per subject, this PR brings together the new updates of the Ros models to include the address of the Git repository that holds the source code of the package and the definition of Ament packages.
This PR fix the current issues with the extractors, it should be merged asap!

@ipa-hsd tested with the extractors and works for the 3 ROS distros ✅
For example for  the turtlesim node in ROS2 I obtained:
PackageSet {
  AmentPackage turtlesim {
    FromGitRepo "https://github.com/ros/ros_tutorials"
    Artifact turtlesim_node {
      Node { name turtlesim_node
        ServiceServers {
          ServiceServer { name '?' service 'turtlesim.TeleportRelative'},
          ServiceServer { name 'reset' service 'std_srvs.Empty'},
          ServiceServer { name 'kill' service 'turtlesim.Kill'},
          ServiceServer { name '?' service 'turtlesim.TeleportAbsolute'},
          ServiceServer { name 'clear' service 'std_srvs.Empty'},
          ServiceServer { name '?' service 'turtlesim.SetPen'},
          ServiceServer { name 'spawn' service 'turtlesim.Spawn'}}
        Publishers {
          Publisher { name '?' message 'turtlesim.Color'},
          Publisher { name '?' message 'turtlesim.Pose'}}
        Subscribers {
          Subscriber { name '?' message 'geometry_msgs.Twist'},
          Subscriber { name '/parameter_events' message 'rcl_interfaces.ParameterEvent'}}
}}
}}}

The package is identified as a AmentPackage and it adds the GitHub repository address.

@ipa-nhg both versions worked good!

We can add this above example with AmentPackage in the resources folder

@ipa-hsd thanks for your review, I added the turtlesim model to the resources folder!
MERGE 😃


ROS2 Version?

I was hoping if there will be any ROS2 version that we can build... Thanks!

Are there any plans for ROS 2 support?


Import SIKE round 2 code from liboqs

Issue # (if available): https://github.com/awslabs/s2n/projects/7
Description of changes:

Imports the P434 SIKE round 2 code from liboqs.

For now, this only builds/executes the generic code. The optimized assembly is included in the import, but is not integrated yet. (See TODOs in config.h and P434.c.)

Refactors the code as necessary to build using S2N's standard cflags.
Implements the KEM and KAT.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request head (r2sikeimport@f5c43e6). Click here to learn what that means.
The diff coverage is n/a.


Update readme to reflect Firefox 41 indeed fixed bug

I've tested FF 41 w/2.0 and can confirm FF fixed the resize bug.

2.3.1 Test | http://codepen.io/joe-watkins/full/rOyrxr/

+1

Thanks.


How to add stuff

When doing the add crypto for Crypto hack or Add Weight for Fishing frenzy, is there a number i have to put in the code? if so, where/ whenever I put the script into the game nothing happens.

paste the code into console and it will ask you for amount of crypto or weight