Feature: A command to load shape files from a given directory

Description
This command loads shape files that match a glob pattern into the database using the loadshp command internally. It takes a list of arguments that provide possible sources for key variables for the loadshp command like the level and field_map.
Why?
This command simplifies the processes of loading multiple shape files into the backend rather than calling the loadshp command for each file individiually.
Related Issue
#7
How to test it locally
Have a directory of shape files ready to load and specify them in the command with appropriate keys for possible fields in the shape files to find specific information. e.g:
python manage.py loadshpfiles ./datasets/shapefiles/country-regions/\*/output/\*.shp code Name,NAME parent_cod,ptr_cd area ENGTYPE_1,Region,REGION Africa Climate
The command above provides the following arguments:

pattern matching shapefiles to load.
possible fields to obtain the code from.
possible fields to obtain the name from.
possible fields to obtain the parent_code from.
possible fields to obtain the area from.
possible fields to obtain the level from.
The hierarchy the files are part of.
The geography version.

These are all arguments the loadshp command needs to load a shape file.
Checklist

[x]  🚀 is the code ready to be merged and go live?
[x]  🛠 does it work (build) locally

Pull Request

[x]  📰 good title
[x]  📝good description
[x]  🔖 issue linked
[ ]  📖 changelog filled out

Commits

[x]  commits are clean
[x]  commit messages are clean

Code Quality

[x]  🚧 no commented out code
[x]  🖨 no unnecessary logging
[x]  🎱 no magic numbers
[ ]  black was run locally (as part of the pre-commit hook)

Testing

[ ]  ✅ added (appropriate) unit tests
[ ]  💢 edge cases in tests were considered
[ ]  ✅ ran tests locally & are passing

@DavidTheProgrammer, is this any different from something along the lines: find . -name '*.sph' -exec ./manage.py loadshp {} <other args>\; i.e. for each file matching glob/pattern, call loadshp with the filename + other args?

@DavidTheProgrammer, is this any different from something along the lines: find . -name '*.sph' -exec ./manage.py loadshp {} <other args>\; i.e. for each file matching glob/pattern, call loadshp with the filename + other args?

Hi @kilemensi, yes, It's different. Each shape file has different fields to find the necessary values to use, so this command uses the provided list to find the first matching field in each shapefile and use that as an argument. If we used the find command, some files wouldn't load because the provided fields would not be found.


Add Test for config.show_options()

Codecov Report

Merging #976 into master will decrease coverage by 2.29%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #976     +/-   ##
=========================================
- Coverage   94.57%   92.27%   -2.3%
=========================================
  Files          34       34
  Lines        6487     6487
=========================================
- Hits         6135     5986    -149
- Misses        352      501    +149

Impacted Files
Coverage Δ

databricks/koalas/usage_logging/__init__.py
24.54% <0%> (-72.73%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
78.04% <0%> (-7.32%)
:arrow_down:

databricks/conftest.py
91.48% <0%> (-6.39%)
:arrow_down:

databricks/koalas/frame.py
93.61% <0%> (-2.41%)
:arrow_down:

databricks/koalas/groupby.py
89.34% <0%> (-2.05%)
:arrow_down:

databricks/koalas/namespace.py
85.71% <0%> (-1.56%)
:arrow_down:

databricks/koalas/plot.py
93.33% <0%> (-0.96%)
:arrow_down:

databricks/koalas/utils.py
97.36% <0%> (-0.66%)
:arrow_down:

databricks/koalas/testing/utils.py
77.5% <0%> (-0.63%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be9890d...fbcded6. Read the comment docs.


Make use of targetWorkspace where applicable

Fixes #2625
Change-Id: I24592add7f7416befc3ecc4a37b860c985f818e9

@BeksOmega The underlying issue I saw was that mainWorkspace was becoming the fly out, which I believe is fixed by my monkey patch to markFocused. We should probably move to using options.parentWorkspace from targetWorkspace in the future. I may clean this up a bit further because I do think somewhere we have a getTopWorkspace method that always returns the real workspace.


feat: Add RunEndEncodedArray

Which issue does this PR close?
Part of #3520.
Included changes from unmerged PR #3534
Rationale for this change
See issue description.
What changes are included in this PR?

Added new array RunEndEncodedArray.
Add validations for the array
Added builders for GenericByte and ArrowPrimitiveType

Are there any user-facing changes?
Users will get brand new encoder in Arrow format!
No breaking changes.

I intend to review this tomorrow

To me that makes me think it contains just run ends and not values 😅
Perhaps wait for some others to weigh in before changing anything, thoughts @viirya @alamb ?

I have no strong option on the naming. To me I think RunArray(or RunsArray?) sounds good to me. Although as a type name RunEndEncoded, to name it as RunEndEncodedArray also reasonable, but it is a bit verbose actually.

In the interests of unblocking follow on work I'm going to merge this, if there is further feedback it can be handled in follow up PRs.
Thank you @askoa for all your work on this :muscle:


Review ariaLabel getter/setter in new A11y API

@jessegreenberg, I think it would be best to review individual pieces of the a11y api change. Just to be sure we don't miss anything. Please review all the commits above https://github.com/phetsims/scenery/issues/748#issuecomment-376320003 regarding the ariaLabel attribute change from boolean to string.

Changes look good @zepumph. Thanks for adding tests. Reviewing changes only verified that this was the right decision. Closing.


Methylation: use bigwig instead of bedgraph for the multiple-analysis plots

This will speed up computation, as Galaxy will convert all files to bigwig internally.

Would any of the maintainers in @galaxyproject/training-epigenetics  have time or interest for this?


[Normalization] Use PubTator API to normalize species, infectiousAgent, healthCondition

Using the PubTator API:

Standardize existing species and infectiousAgents to NCBI Taxonomy
Extract species and infectiousAgents using concept=species
Standardize existing healthCondition to MeSH identifiers using concept=disease
Extract healthCondition using concept=disease.

Notes:

for species, we'll want to store name, alternateName (synonyms from NCBI Taxonomy), url (link to ontology),identifier (numeric code).

We also might want to create another property for something like the common name (e.g. the one main name we want to store).  For example, if we had a dataset about Neanderthal, I could see us wanting to save:

name: Homo sapiens neanderthalensis,
commonName: Neanderthal,     // displayName? label? or maybe just pull `alternateName[0]`, though that's less explicit
alternateName: [Neandertal man, Neanderthal, Neanderthal man],
identifier: 63221,
url: http://purl.obolibrary.org/obo/NCBITaxon_63221

looks like the commonName (or whatever we decide to call it) is at least partially covered by has_broad_synonym: https://ontobee.org/ontology/NCBITaxon?iri=http://purl.obolibrary.org/obo/NCBITaxon_2697049
has_exact_synonym can then map to alternateName, split on ;

Using Pubtator to normalize species and infectiousAgent appears to be working well. Out of 50 mappings for species, Pubtator was unable to find mappings for 2 entries (which makes sense as the entries were for specific haplotypes of a strain of a species, rather than the strain itself--so more of an issue with the original data). It mapped 2 entries to more specific records than was warranted.
For healthCondition, out of 51 mappings investigated, 7 had better entries in MeSH than what was actually mapped by PubTator. 5 were matches that weren't great due to the use of MeSH has a disease ontology (it's really not suitable for this, but everyone does it). These 5 matches are the best PubTator can do and is an issue with MeSH rather than PubTator.
That said, the number of values available for healthCondition was quite limited as the original sources likely did not provide metadata for this field. One potential way to bypass this limitation is to harvest the MeSH terms from PMID records that cite the dataset. Medline/PubMed records include MeSH terms (curated by NLM biocurators), though additional checks would be needed for filtering the terms for species, infectiousAgent, and healthCondition.

Per discussions during the week of 2023.10.16, Pubator annotations are being stored in a SQLite database as a table that links raw text to the corresponding ontology value. While manually overriding a 'dictionary entry' is possible, the ability to override, remove, or alter annotations at the record label will be valuable, especially for machine-generated annotations.
Additionally, Pubtator can annotate raw text, so we can gradually annotate and store the content of records with no citation.pmid. Being able to store, maintain, and edit annotations at the record level will be useful in this circumstance. Especially since users may report an incorrect annotation.

The ask: The normalized species, healthCondition, and infectiousAgent values are now on staging. Can we move them to production?

Thank you for the presentation on this issue from Scripps on 7 January 2024. The outcome from this appraoch sound promising. OK to move to production.
Please note: this issue seems to have substantial overalp with #110 , if these are separate issues please provide information clarifying how these issues are distinct

Thanks @hartwickma. To clarify, this issue covered the standardization of species, infectiousAgent, and healthCondition text values ingested from the original data source. The overlap is because this standardization process is then used when we Augment (issue #110 ) records that have citations but do not have values for these fields.
@DylanWelzel will move the standardized and pubtator-augmented data to Production.

This has been moved to Production on 2024.01.29. The status of the issue has been changed to pending close out and will close after 1 week, if there are no further concerns about this issue.


Edit Button Minor Bug Fix Request

Uncaught Bug in Pull Request #51
Problem
CoffeeCard thumbnails don't update the color level
       else if (isEditing) {
            // update the card in the array
            console.log(coffeeCardObject);
            coffeeCards[current_edit_id] = coffeeCardObject;
            console.log("form is editing card at index: " + current_edit_id);
            // save to storage and update the page
            saveCoffeeCardsToStorage(coffeeCards);
            /*
            let all_coffee_cards = document.querySelectorAll('coffee-card');
            let card_to_edit = all_coffee_cards[current_edit_id];
            card_to_edit.innerHTML =
            `

<slot name="date" />${coffeeCardObject["str_drink_name"]}

${coffeeCardObject["time_purchase_date"].toUpperCase()}

<slot name="location" />Location: ${coffeeCardObject["str_purchase_location"]}

<slot name="brew_style" />Brew Method: ${coffeeCardObject["str_brew_style"]}

<slot name="drink_type">Serving Type: ${coffeeCardObject["str_drink_type"]}

<slot name="color">Color Level: ${coffeeCardObject["int_dropdown_color"]}

             <button class = "toggle_edit" >Edit</button>
             `;
             */
        }

        //reset the coffee card's image to the default one, at index 0
        reset_image_id();
        isEditing = false;
        closeForm();
        addCoffeeCardsToDocument(coffeeCards);

So i tested this out and something I caught was that you were hard coding the card-to-edit's innerHTML whenever the user saved their changes after editing a card. For some reason, the color level would never change as it would always display "Light" even though in local Storage it did change.  It should update the page automatically as well rather than having to manually refresh the page by yourself.
Also one more thing. Can you explain why you reset the image id when editing?
Originally posted by @will-loves-coding82 in https://github.com/cse110-fa22-group14/cse110-fa22-group14/pull/51#pullrequestreview-1184949011

This issue should have been fixed in the new commit.


Allow width and height change for USB input

Feature request

What problem does this feature solve?
In the original hyperion we had the option to change the width and height of the V4L2 input. Now HyperionNG just uses the maximum resolution.
Unfortunately the maximum resolution is often very slow. I would like to divide that in half, or even quarters. Adding the sizeDecimation only slightly reduces the lag, but changing the resolution of the capture device significantly reduces the lag.
What does the proposed API look like?
I believe an advanced option should be added to the webserver under USB Capture for width and height. These values would then be the width and height that the VL42 USB Capture device is initialized at.
How should this be implemented in your opinion?
The UI elements can be added through most of the json files. Say an option called 'customWidth' and an option called 'customHeight'.
        // set the settings
        if (_customWidth != 0 || _customHeight != 0)
        {
                fmt.fmt.pix.width = _customWidth;
                fmt.fmt.pix.height = _customHeight;
        }
        else if (max_width != 0 || max_height != 0)
        {
                fmt.fmt.pix.width = max_width;
                fmt.fmt.pix.height = max_height;
        }
        else
        {
                fmt.fmt.pix.width = _width;
                fmt.fmt.pix.height = _height;
        }

Most changes would take place in hyperion/libsrc/grabber/v4l2/V4L2Grabber.cpp and associated .h files. Some changes would need to take place in JSON files to support the new UI.
Are you willing to work on this yourself?
Possibly, With some guidance, I already took a stab at it, and ran into an issue so I stopped. I don't think it should take a developer very long, but it would take me much longer to get familiar with the code.

Would this solution reduce 100% CPU usage on my Rpi0?

No, the divides taking place for the sizeDecimator would take up almost 0 resources.
However, cumulatively, if you reduced the resolution directly from source, it could have an impact.
Mine runs at 720x480, which is equal to 345600 pixels. Tons of operations on those pixels are then run to figure out what to put on the  LEDs. If you reduce the resolution to say 72x48, then you're decreasing all the time of those operations by a factor of 100. It just depends how prominent these functions are. But your 100% CPU usage is probably coming from elsewhere.

I have EasyCap grabber (534d:0021) with the macrosilicon chip. My rpi0 is constantly 100% cpu. Hyperiond is peaking for sure. When I disable the grabber in the WebUI the cpu drops to 3-4%

If your comfortable compiling from source just change lines 619 to 629:
	// set the settings
	if (max_width != 0 || max_height != 0)
	{
		fmt.fmt.pix.width = max_width;
		fmt.fmt.pix.height = max_height;
	}
	else
	{
		fmt.fmt.pix.width = _width;
		fmt.fmt.pix.height = _height;
	}

to the following:
	// set the settings
	fmt.fmt.pix.width = 160;
	fmt.fmt.pix.height = 120;

This quick test will show if the change works for you.

should be fixed with #766


Merge pull request #1 from apache/master

update
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

update


def load_vocab(): Is the vocab variable set properly?

@Kyubyong
According to the comments, there should be a capital 'S' on the vocab variable, however, there is no 'S' but we have a " ' " (apostrophe).

def load_vocab():
vocab = "E abcdefghijklmnopqrstuvwxyz'" # E: Empty, S: end of Sentence
char2idx = {char:idx for idx, char in enumerate(vocab)}
idx2char = {idx:char for idx, char in enumerate(vocab)}
return char2idx, idx2char

If this is an error, does it affect the performance?
If it is not an error, can you clarify it?
Thank you

Sorry about the confusion. I didn't insert  unlike a typical  text training because we want to reconstruct silence. For example, if we want to synthesize a sentence "I love you", which takes 2 seconds, and the maximum duration is set to 10 seconds, then the last 8 seconds of the wav file should be silence.

@Kyubyong Thank you for your answer.
Then, the letter 'S' is not used on the progrma. If that's so, I can closed this "issue".
Please, let me know if my understanding is correct.


fix(lint): add nolint for deprecated func in migration

#368 fail with this //nolint staticcheck and when merging it, this is fail without, I didn't understand why but this PR re-introduce it and linter is now happy.

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix: serve and preview with base

Description

close #8770
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

This won't really work with SvelteKit. We have a trailingSlash option which indicates whether we expect URLs to have a trailing slash or not. This PR is currently assuming that there will always be a trailing slash, but for users who have chosen not to have one (which is the default in SvelteKit) it's not really correct.
Perhaps Vite should accept base with or without a trailing slash so that the user can decide which they would prefer or add a new trailingSlash option similar to SvelteKit's

@benmccann It didn’t work at all previously so would it break SvelteKit?
Of course I agree we should support base without slash.

SvelteKit historically hasn't used the publicDir and base options, but does its own static asset serving. I put together a branch to use Vite's implementation. I came across this PR while looking at what Vite's implementation does and wanted to make sure to mention it so that we don't bake in too many assumptions.

@sapphi-red Any progress on this?

No, I've put this in the team board but not discussed yet.


Cannot exclude requests from being traced

I have instrumented an angular app which uses google oauth  client (openid-connect).
I am getting the error
Access to XMLHttpRequest at 'https://accounts.google.com/.well-known/openid-configuration' from origin 'https://staging-console.mykaarma.dev' has been blocked by CORS policy: Request header field x-b3-traceid is not allowed by Access-Control-Allow-Headers in preflight response.

tracing includes some extra headers in my request which is not recognised by the library and it gives a CORS error.
I can see in opentelemtry js ,  opentelemetry-instrumentation-http package there are options ignoreOutgoingRequestHook and ignoreIncomingRequestHook. Is there any way to use it with this library as well?

Hi @hriddhighosh4,
Do you use instrumentation or interceptor?
If it's interceptor, in configuration you can use ignoreUrls in configuration => https://github.com/jufab/opentelemetry-angular-interceptor/blob/93980606482a28a3e7fc7a3099170213ebc5fc78/projects/opentelemetry-interceptor/src/lib/configuration/opentelemetry-config.ts#L127
I see I haven't documented this part... I will use this issue to fix it
If it's instrumentation, it depends on plugin you use. if it's @opentelemetry/instrumentation-xml-http-request you can add propagateTraceHeaderCorsUrls configuration => https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-xml-http-request


Computational time for Brownian Interval

I observed something strange about computation time for brownain interval
sde.cnt = 0
%timeit -n 2 -r 7 torchsde.sdeint(sde, y0, th.tensor([0.0, 1.0]), dt=0.01, method="euler")
print(sde.cnt)
# 1.87 s ± 60.6 ms per loop (mean ± std. dev. of 7 runs, 2 loops each)
# 1428

sde.cnt = 0
%timeit -n 2 -r 7 torchsde.sdeint(sde, y0, th.tensor([0.0, 5.0]), dt=0.05, method="euler")
print(sde.cnt)
# 57.3 ms ± 1.12 ms per loop (mean ± std. dev. of 7 runs, 2 loops each)
# 1414

sde.cnt = 0
%timeit -n 2 -r 7 torchsde.sdeint(sde, y0, th.tensor([0.0, 10.0]), dt=0.1, method="euler")
print(sde.cnt)
# 57.2 ms ± 1.05 ms per loop (mean ± std. dev. of 7 runs, 2 loops each)
# 1414

where the sde is very similar to the one defined in the Quick example in README.  In the above three examples, I change the different ts and dt. I think they should have roughly the same computation time. But it turns out the time used by the line are very different. According to the paper, the worse case should roughly be O(log T/dt) if I understand correctly. Why the first case is so slow?

So this is a bit weird! In particular because one tends to imagine a BrownianInterval being scale-invariant. I've been able to figure out why this happens, but I don't have a fix in mind yet. (Suggestions welcome.)
The reason has to do with the binary tree heuristic built in to the BrownianInterval. Once >100 queries have been made, the BrownianInterval averages the step sizes it has observed over those queries, and uses those as an estimate of the average step size for the rest of the SDE solve. This is used to build up a binary tree, as per Section E.2, "Backward pass" of the paper. (Which I refer to as it sounds like you've read it.)
The dt=0.01 case makes 101 steps, which triggers the calculation of this heuristic. Evaluating that heuristic (building up the binary tree) is what takes up so much time. The other cases make only 100 steps, and the solve actually completes before the heuristic even triggers.
Why different number of steps between these apparently-scale-invariant cases? Floating point inaccuracies:
>>> import torch
>>> x = torch.tensor(0.01)
>>> sum = 0
>>> for _ in range(100):
...     sum = sum + x
...
>>> sum
tensor(1.0000)
>>> sum < 1
tensor(True)

The real bug here is simply that the heuristic takes so much time to compute. I'll need to have a deeper look, later, to figure out what might be done to resolve this.


optdo not check invisible column stats

Proposed changes

forbid_unknown_col_stats check ignore invisible columns
a better error message when meet unknown col stats

Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


no message when removing a non-existent package

cblrepo rm hkjhkhk should display that the package isn't there

Won't fix.


Avro consumer SerializationException: Unknown magic byte!

I am able to produce and consume avro messages in python using pykafka and avro.schema
I can also produce and consume avro messages using kafka-avro-console-producer/consumer
But when I try to consume avro messages from the topic I made with pykafka in the command line using kafka-avro-console-consumer I get:
ERROR Unknown error when running consumer:  (kafka.tools.ConsoleConsumer$:105)
org.apache.kafka.common.errors.SerializationException: Error deserializing Avro message for id -1
Caused by: org.apache.kafka.common.errors.SerializationException: Unknown magic byte!

Any thoughts? Thank you.

Thanks @erincat. Can you share the code you're using to build and produce these messages? Also, what version of pykafka are you testing against?

Here's the code @emmett9001
from pykafka import KafkaClient
import avro.schema
import io, random
from avro.io import DatumWriter
schema_path="user.avsc"
schema = avro.schema.parse(open(schema_path).read())
client = KafkaClient(hosts="localhost:9092")
topic = client.topics['avro-python']
with topic.get_sync_producer() as producer:
writer = avro.io.DatumWriter(schema)
bytes_writer = io.BytesIO()
encoder = avro.io.BinaryEncoder(bytes_writer)
writer.write({"id":14,"username":"Princess Sophia"}, encoder)
raw_bytes = bytes_writer.getvalue()
producer.produce(raw_bytes)`
I read that I'm getting the error because the data is not written using the schema-registry. I'm currently looking into this.

@erincat Looks like this is not an issue with pykafka, but rather your use of the avro library. The crash you're hitting appears to be this one, which has something to do with how you're building raw_bytes.

Using  https://github.com/verisign/python-confluent-schemaregistry in producing avro messages with pykafka worked. This uses the schema-registry in writing avro unlike the code that I had before.


Updated details in table of contents etc.

Added the new steps to the table of content.

Har gjort det


[VH] Rule filtering for region considers rules of all regions of a country if no region is provided

Describe the bug
The following code block tries to filter all general acceptance rules for the country and - if a region is set - continues to filter them for the provided region:
https://github.com/eu-digital-green-certificates/dgc-certlogic-ios/blob/14bcdce4ed19e151a9a3df1ea253db9a6238eeb7/Sources/CertLogic/CertLogic.swift#L114-L121
However, there's a flaw in this logic:
If no region is provided, the first sequence will contain rules of all the regions of the country.
Expected behaviour
If no region is provided, only rules without an empty/nulled region should be filtered for. Otherwise, there can easily be contradicting rules from different regions.
Steps to reproduce the issue
see code
Technical details
n/a
Possible Fix
adjust filtering by region
Additional context

same applies to the other rule filtering logic pieces for invalidation rules and certificate type-specific rules

Looks like this might be covered by #20

@mlenkeit Yes, it's fixed. please confirm and close issue.

LGTM, thanks for the fix 👍


Hebrew language support - universal-sentence-encoder

Hello, are you going to provide universal-sentence-encoder with Hebrew language support? Thanks

We will keep this as a new module request @yonatanbitton. Thanks!


Double vinculum

This PR introduces double vinculums, which allows to translate numbers up to a billion (previously: a million) into vinculum representations.

Thank youuuu @aszlig (:


Fix scanning identical column names occurring >2 times

Make sure these boxes checked before submitting your pull request.

[x] Do only one thing
[x] No API-breaking changes
[x] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
Fix a bug in Scope.scan where fields with repeated names are not incorrectly skipped. Specifically, values in selectedColumns must be indexed relative to fields, not selectFields.
Add a test demonstrating how a SELECT query with three ID fields from a joined table can be used to populate a single struct with the correct values. (The test fails without this fix.)

thank you for your PR.


Transforming backgroundImage

The goal
In trying to implement panning/zooming functionality for the program, I wanted to have all layers in the program share one camera. This is trivial for the data layers, who already effectively shared one camera (the createNormalisedCamera() return object).
The plan
In order to allow the backgroundImage layer to also share this camera, I set out to apply two transformations to the image:

move the image such that the center is at 0,0
Transform the image such that its extent is in the range [-1,1]

The problem
Moving the image was easy enough, but Im running into some trouble normalizing its' coordinates; i'm convinced this must be possible (without resizing the image to be 2 pixels across ofc), but im really not sure how.
The pursuits (meaning things i've tried so far (had to stick to the article noun combo there))

using a VtkTransformFilter; outputs a vtkPointCloud, not an image.
using a VtkImageShiftScale; couldn't get it to work, also from reading documentation implies it resizes the image - not what im trying to do
reading way too many forum threads; did not help

Alternate solutions (sorry i had nothing for a noun here i'm kinda tired)
If it's possible to map the coordinates in the different layers to the size of the background image instead, this might be a solution. Right now the actual functionality of moving/zooming the camera is implemented, It's just that the image is zoomed way in (see images: top is starting screen, bottom after zooming out a bunch (note that the arrows/glyphs still exist but theyre too small to see).

did not realize my screenshot function took a print of the whole screen - i'll have to edit that to only windows. my b.

ah, seems i wasn't entirely clear: the images abovev are with one shared camera across all layers. But as you can see the backgroundimage is zoomed in way too far. I'm trying to solve this by transforming the image to exist in the range [-11] (like the glyph layers do), but I can't figure out the right transformation to do so.
I can have the backgroundimage displayed in the window correctly by having it use a private camera (see below), but then moving/zooming would entail applying the operation to multiple cameras (not ideal).


MaterialCheckbox text get truncated from the tail.

MaterialCheckbox text get truncated from the tail when text description is large. It will wrap the text so all text will display. See below image for reference

Hi, for now I can't change the layouting behavior of MaterialCheckbox. TheBaseSelectionControl view, which all selection control derives from, has a fixed height of 48 units. Both icon and text are vertically aligned Center, changing them to Start will cause a misalignment among them.
For now I recommend you use a MaterialCheckbox without Text property. Then use a Label for the text. Place both in a layout, either in a Grid or StackLayout. Here is an example:
<StackLayout Orientation="Horizontal">
     <material:MaterialCheckbox IsSelected="{Binding AcceptedTerms}" />
     <Label Margin="0,12,0,0" Text="By accepting our license terms, you allow Lorem Ipsum Company to
     collect anonymous data and send them to our servers." />
</StackLayout>

You can adjust the Margin of the Label to align it with the MaterialCheckbox.

thanks.. this will solve my problem...


Add extra checks to CustomDataset

I didn't research in too much detail if this is definitely the right fix, but it worked for me (but feel free to abandon this branch if it isn't)
Without these checks in place I get a couple errors if I specify truth boxes but no ignore boxes, and results['gt_bboxes_ignore'] gets set to None causing a couple issues in these loops, e.g.:
what():  TypeError: Caught TypeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/run/media/matt/Storage/Dev/viame/build/install/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/run/media/matt/Storage/Dev/viame/build/install/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/run/media/matt/Storage/Dev/viame/build/install/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/run/media/matt/Storage/Dev/viame/build/install/lib/python3.6/site-packages/mmdet/datasets/custom.py", line 128, in getitem
data = self.prepare_train_img(idx)
File "/run/media/matt/Storage/Dev/viame/build/install/lib/python3.6/site-packages/mmdet/datasets/custom.py", line 141, in prepare_train_img
return self.pipeline(results)
File "/run/media/matt/Storage/Dev/viame/build/install/lib/python3.6/site-packages/mmdet/datasets/pipelines/compose.py", line 24, in call
data = t(data)
File "/run/media/matt/Storage/Dev/viame/build/install/lib/python3.6/site-packages/mmdet/datasets/pipelines/transforms.py", line 159, in call
self._resize_bboxes(results)
File "/run/media/matt/Storage/Dev/viame/build/install/lib/python3.6/site-packages/mmdet/datasets/pipelines/transforms.py", line 132, in _resize_bboxes
bboxes = results[key] * results['scale_factor']
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'

It may be better to check if gt_bbox_ignore exists, and exclude it in bbox_fields in LoadAnnotations.

yapf was updated to 0.29.0 just now and the CI is broken, I will merge this PR first and the code formatting will be done in a new PR.


[GHSA-9436-3gmp-4f53] grav Server-side Template Injection (SSTI) mitigation bypass

Updates

Affected products

Comments
it'a PHP repository, not Go

Hi there @s4ex and @rhukster! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


step2.py

Fixed issue.  parsed genesis_file_path to a string since json.dumps() doesn't expect to get a PosixPath because it's not JSON serializable.

@dorry: Thanks for this contribution. It's great, and we want to merge it. However, we need you to comply with Hyperledger's DCO policy by signing your commit. This tells the world that you agree to contribute under the terms of the Apache license. If you have deep git kung-fu, you can do that with git rebase -i, altering the commit message to add the appropriate Signed-off-by: <you> statement, and force-pushing the update. If that sounds ugly, just close this PR and start a new one  based on a commit that has the identical content, but that is created with git commit -s so it's signed.

Thank you for your help!


[Button] success color

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

I have added "success" for prop "color".
I want to add more colors like "error", "info", "warning".
Should I add them to this PR or may be another PR ?

This effort makes me think of #20001, #17475, and #19164.
Is #21648 meant to solve this problem? We have started to chat about it with @mnajdova in https://github.com/oliviertassinari/material-ui/pull/9. Probably not, the color prop has a structural difference with the variant prop: the desired outcome, from a developer perspective, is much more predictable than with a variant. We can jump ahead, and provide CSS that binds the design token and the prop directly, bypassing the intermediary step of writing new CSS. It's why we have kept a different issue open, so far: #13875, it seems to be even more popular (but less generic) than the variant one: #15573.

So we add yet another API to do the same thing? Wrapper component, theme.variants and then another one?

It's possible to add new colors with the variants API, but after some digging into it, we decided with @oliviertassinari that we probably want to offer better support for this by allowing dynamic styles based on prop, for example based on the color prop, provide different key from the theme's palette. Then if users add new colors in the palette we could automatically support those colors.
Something like:
// styles applied when variant="contained"
contained: {
  background: theme.palette[props.color].main,
  color: theme.palette[props.color].contrastText,
}

This should not add new API, it should be available as an option directly in the styles of the component.

Closing for #13875, as we will push in the direction highlighted by @mnajdova in https://github.com/mui-org/material-ui/pull/21958#issuecomment-664633398.


Enable ImplictUsings and use file-scoped namespaces

This PR is up for feedback on whether we should enable file-scoped namespaces on some of all of the markdig projects.
Pulling the indentation in 4 lines on the tests is a fairly nice improvement for readability -- particularly on a 15" laptop.

@MihaZupan @xoofx Let me know what you think. If we do make this change on the main library -- it would make the change history harder to follow -- but improve the experience working with those files moving forward.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2231 of 2430 (91.81%)  changed or added relevant lines in 53 files are covered.
20 unchanged lines in 8 files lost coverage.
Overall coverage remained the same at 93.292%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Markdig.Tests/Program.cs
0
1
0.0%

src/Markdig.Tests/TestMediaLinks.cs
40
41
97.56%

src/Markdig.Tests/TestYamlFrontMatterExtension.cs
37
38
97.37%

src/Markdig.Tests/MiscTests.cs
124
128
96.88%

src/Markdig.Tests/TestNormalize.cs
225
230
97.83%

src/Markdig.Tests/TestSourcePosition.cs
246
254
96.85%

src/Markdig.Tests/TestParser.cs
67
111
60.36%

src/Markdig.Tests/TextAssert.cs
8
56
14.29%

src/Markdig.Tests/TestDescendantsOrder.cs
0
87
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/Markdig.Tests/MiscTests.cs
2
93.4%

src/Markdig.Tests/Program.cs
2
0%

src/Markdig.Tests/TestNormalize.cs
2
95.73%

src/Markdig.Tests/TestSourcePosition.cs
2
98.03%

src/Markdig.Tests/TestYamlFrontMatterExtension.cs
2
93.18%

src/Markdig.Tests/TextAssert.cs
2
9.49%

src/Markdig.Tests/TestDescendantsOrder.cs
4
0%

src/Markdig.Tests/TestParser.cs
4
63.24%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
25916

Relevant Lines:
27171

💛  - Coveralls

@MihaZupan @xoofx Let me know what you think. If we do make this change on the main library -- it would make the change history harder to follow -- but improve the experience working with those files moving forward.

Yeah, please go ahead in applying this to the rest of the library, it should be ok. Thanks!

I like the feature, thanks!
My only concern is the quality of the automatic refactoring - when we did this in YARP it messed up indentation in random places. We should just double-check that doesn't happen before merging.

@MihaZupan Agreed on the caution -- I used the refactoring tools to do this file by file, checking them as I went along to make sure everything was indented correctly. We should be OK!

@xoofx @MihaZupan Ready for review. I also fixed a couple spelling errors in the comments while I was double checking the indentation levels.

Here's a direct link to review ignoring whitespace changes: https://github.com/xoofx/markdig/pull/693/files?diff=unified&w=1

Thanks a lot!


InputDecorationTheme and IconTheme isn't fully inherited

Steps to Reproduce

create new flutter app
use this code (minimum reproduce-able)

void main()
{
  WidgetsFlutterBinding.ensureInitialized();
  runApp(test());
}
dynamic test()
{
  return MaterialApp(
        title: 'test',
        theme: AppThemeTest.theme,
        debugShowCheckedModeBanner: false,
        home: Scaffold(
          body: Column(
            mainAxisAlignment:MainAxisAlignment.center,
            children:[
            ///doesn't inherit iconTheme or floatingBehaviour from InputDecorationTheme
             TextFormField(decoration: InputDecoration(labelText: "password",prefixIcon: Icon(Icons.ac_unit)),),

            SizedBox(height: 15,),
            ///how the field should look like if InputDecorationTheme is inherited correctly
            TextFormField(
            decoration: InputDecoration(
                labelText: "Mobile number",
                floatingLabelBehavior: FloatingLabelBehavior.never,
                prefixIcon: Icon(
                  Icons.smartphone,
                  color: AppTheme.accentColor,
                ),
                focusedBorder: OutlineInputBorder(
                    borderSide: BorderSide(
                  color: AppTheme.accentColor,
                )),
                enabledBorder: OutlineInputBorder(
                    borderSide: BorderSide(
                  color: Color(0xffD4D4D4),
                )),
                filled: true,
                fillColor: Color(0xffF8F9FF),
                focusColor: AppTheme.accentColor,
                hoverColor: AppTheme.accentColor)),

          ],),)
        );
}

class AppThemeTest
{
  static final Color primaryColor = Color(0xff3C55F2);
  static final Color accentColor = Color(0xff3C55F2);
  static final Color disabledColor = Color(0xffC2C3C8);
  static final Color inputFieldFillColor = Color(0xffF8F9FF);
  static final double appBarHeight = Get.height*.15;
  static final ThemeData theme = ThemeData(
    primaryColor: primaryColor,
    scaffoldBackgroundColor: Colors.white,
    accentColor: Colors.white,
    disabledColor: disabledColor,
    canvasColor: Colors.white,

    inputDecorationTheme: InputDecorationTheme(
      floatingLabelBehavior: FloatingLabelBehavior.never,
      focusedBorder: OutlineInputBorder(borderSide: BorderSide(color: accentColor,)),
      enabledBorder: OutlineInputBorder(borderSide: BorderSide(color: Color(0xffD4D4D4),)),
      filled: true,
      fillColor: inputFieldFillColor,
      focusColor: accentColor,
      hoverColor: accentColor
    ),
    iconTheme: IconThemeData(color: accentColor),
    primaryIconTheme: IconThemeData(color: accentColor),
    textTheme: TextTheme(bodyText2: TextStyle(color: Colors.black),bodyText1: TextStyle(color: Colors.black))
  );
}

Expected results:
password TextFormField to look like the mobile TextFormField
Actual results:
they don't behave or look like each other because -i think- they didn't inherit InputDecorationTheme and iconTheme

Logs

[√] Flutter (Channel dev, 1.25.0-4.0.pre, on Microsoft Windows [Version 10.0.18363.1198], locale en-US)
    • Flutter version 1.25.0-4.0.pre at C:\flutter
    • Framework revision a7f5fd5360 (6 days ago), 2020-11-30 13:14:13 +0100
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at C:\Users\eyad\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.51.1)
    • VS Code at C:\Users\eyad\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.17.0

[√] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 9 (API 28) (emulator)
    • Web Server (web)                   • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 86.0.4240.198
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 86.0.622.58

• No issues found!

Reproducible on dev channel. I noticed some different behavior while running the same code on master channel.

Master channel
Dev channel

flutter doctor -v
[✓] Flutter (Channel master, 1.25.0-5.0.pre.91, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.25.0-5.0.pre.91 at /Users/pedromassango/dev/SDKs/flutter_master
    • Framework revision 7dade22f25 (16 hours ago), 2020-12-06 21:34:04 +0530
    • Engine revision 6491c7518f
    • Dart version 2.12.0 (build 2.12.0-120.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.0.4
    • Dart plugin version 202.8070

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • macOS (desktop)             • macos         • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 86.0.4240.198

• No issues found!
Process finished with exit code 0

@pedromassangocode This actually looks like an issue I created recently,  #70625  which was closed by #70683 which was merged in master. I figure that is the reason why its not on dev yet. Could you check that out please?

@pedromassangocode This actually looks like an issue I created recently, #70625 which was closed by #70683 which was merged in master. I figure that is the reason why its not on dev yet. Could you check that out please?

Yea, it's the same in regard to floatingLabelBehaviour but it doesn't mention the iconTheme issue.

@xEyad Could you be a little more specific? Which properties are you trying inherit, that you feel aren't working as you expected? I tried to play around but I couldn't find a lot.

@emem365
inputDecorationTheme.floatingLabelBehavior
And
IconThemeData.Color

@xEyad Could you please try to use the floatingLabelBehaviour off of the latest master? I believe that is fixed.
And the color for the icon, I believe is being inherited from ThemeData.primaryColor for default and ThemeData.accentColor for dark mode.

@pedromassango , the docs for InputDecoration.icon clearly state that the color is being inherited from IconThemeData instead of ThemeData

The size and color of the icon is configured automatically using an IconTheme and therefore does not need to be explicitly given in the icon widget.

and therefore the confusion.
I could drop in a PR  either fixing the doc or try and inherit from IconThemeData instead of ThemeData. Could this be a breaking change though?

Also, just looking at the code, I don't think iconSize is being inherited as well:

[flutter/material/input_decorator.dart]

    final Color activeColor = _getActiveColor(themeData);
    final bool decorationIsDense = decoration!.isDense == true; // isDense == null, same as false
    final double iconSize = decorationIsDense ? 18.0 : 24.0;
    final Color iconColor = isFocused ? activeColor : _getDefaultIconColor(themeData);

    final Widget? icon = decoration!.icon == null ? null :
      Padding(
        padding: const EdgeInsetsDirectional.only(end: 16.0),
        child: IconTheme.merge(
          data: IconThemeData(
            color: iconColor,
            size: iconSize,
          ),
          child: decoration!.icon!,
        ),
      );

[flutter/material/input_decorator.dart] -> _getActiveColor

Color _getActiveColor(ThemeData themeData) {
    if (isFocused) {
      switch (themeData.brightness) {
        case Brightness.dark:
          return themeData.accentColor;
        case Brightness.light:
          return themeData.primaryColor;
      }
    }
    return themeData.hintColor;
  }

Is their any chance that this issue will be fixed within a month for example?

You can try and use themeData.primaryColor to control the icons color I suppose. Or maybe something like Theme.of(context).iconThemeData.iconColor for now I suppose.
I'll start working on it as soon as I get a green flag from @pedromassango

The issue is still reproducible on the latest stable and master channel.

code sample
import 'package:flutter/material.dart';

void main(){
  WidgetsFlutterBinding.ensureInitialized();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
 return MaterialApp(
        title: 'test',
        theme: AppThemeTest.theme,
        debugShowCheckedModeBanner: false,
        home: Scaffold(
          body: Column(
            mainAxisAlignment:MainAxisAlignment.center,
            children:[
            ///doesn't inherit iconTheme or floatingBehaviour from InputDecorationTheme
             TextFormField(decoration: const InputDecoration(labelText: "password",prefixIcon: Icon(Icons.ac_unit)),),

            const SizedBox(height: 15,),
            ///how the field should look like if InputDecorationTheme is inherited correctly
            TextFormField(
            decoration: InputDecoration(
                labelText: "Mobile number",
                floatingLabelBehavior: FloatingLabelBehavior.never,
                prefixIcon: Icon(
                  Icons.smartphone,
                  color: AppThemeTest.accentColor,
                ),
                focusedBorder: OutlineInputBorder(
                    borderSide: BorderSide(
                  color: AppThemeTest.accentColor,
                )),
                enabledBorder: const OutlineInputBorder(
                    borderSide: BorderSide(
                  color: Color(0xffD4D4D4),
                )),
                filled: true,
                fillColor: Color(0xffF8F9FF),
                focusColor: AppThemeTest.accentColor,
                hoverColor: AppThemeTest.accentColor)),

          ],),)
        );
  }
}
class AppThemeTest
{
  static final Color primaryColor = Color(0xff3C55F2);
  static final Color accentColor = Color(0xff3C55F2);
  static final Color disabledColor = Color(0xffC2C3C8);
  static final Color inputFieldFillColor = Color(0xffF8F9FF);
  static final ThemeData theme = ThemeData(
    primaryColor: primaryColor,
    scaffoldBackgroundColor: Colors.white,
    disabledColor: disabledColor,
    canvasColor: Colors.white,
    inputDecorationTheme: InputDecorationTheme(
      iconColor: accentColor ,
      floatingLabelBehavior: FloatingLabelBehavior.never,
      focusedBorder: OutlineInputBorder(borderSide: BorderSide(color: accentColor,)),
      enabledBorder: const OutlineInputBorder(borderSide: BorderSide(color: Color(0xffD4D4D4),)),
      filled: true,
      fillColor: inputFieldFillColor,
      focusColor: accentColor,
      hoverColor: accentColor
    ),
    iconTheme: IconThemeData(color: accentColor),
    primaryIconTheme: IconThemeData(color: accentColor),
    textTheme: const TextTheme(bodyMedium: TextStyle(color: Colors.black),bodyLarge: TextStyle(color: Colors.black)), colorScheme: ColorScheme.fromSwatch().copyWith(secondary: Colors.white)
  );
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.6.0-6.0.pre.33, on macOS 12.6 21G115 darwin-arm64,
    locale en-IN)
    • Flutter version 3.6.0-6.0.pre.33 on channel master at
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a9858ec524 (72 minutes ago), 2022-11-21 10:58:11 -0500
    • Engine revision 46a6b54295
    • Dart version 2.19.0 (build 2.19.0-406.0.dev)
    • DevTools version 2.19.0
    • If those were intentional, you can disregard the above warnings; however it is
      recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64
      • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript
      • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


Incorrect inferred type for s in s = sum(i for i in [0,1])

Steps:

try this code:

s = sum(i for i in [0,1])

hover over s

Expected: s: int
Actual: s: generator[int]
Curious thing is that the type of sum(i for i in [0,1]) does not seem to be inferred at all on its own.

https://github.com/Microsoft/python-language-server/issues/8

@MikhailArkhipov , the new repo seems to be private.


Trying to establish database connection to input new subscribers in MongoDB but I get error Call to a member function prepare() on null

Trying to establish database connection to input new subscribers but I get error "Call to a member function prepare() on null". Users are successfully registering and log in in with MongoDB database but when I try to add them as a subscriber the error comes in.
The file that the error is pointing to is: …/vendor/laravel/framework/src/Illuminate/Database/Connection.php457
public function statement($query, $bindings = [])
    {
        return $this->run($query, $bindings, function ($query, $bindings) {
            if ($this->pretending()) {
                return true;
            }

            $statement = $this->getPdo()->prepare($query);

            $this->bindValues($statement, $this->prepareBindings($bindings));

            $this->recordsHaveBeenModified();

            return $statement->execute();
        });
    }

Considering everything else works, is this a bug?

Please describe full problem
It seems like error in configuration

There is no way that I could reproduce and no reply for 5 months.
Closing.


Typescript Map creation on 4.0 rc9

I've read the Typescript definitions are much better on 4.0 than 3.8, and I'm starting a new project so I wanted to get rolling with 4.0, but keep running into various typing issues that didn't appear before. Are these bugs or does the documentation need updated?

What happened
Type errors when attempting to create a map from an object or array of data.

How to reproduce
Attempt to create an immutable Map from an array of arrays on 4.0.0-rc.9 w/ Typescript 2.7.2.
For Example:
import { Map } from 'immutable';

type SimpleObject = { id: string; name: string };

const arrayData = [
  ['ghi789', { id: 'ghi789', name: 'ghi789' }],
  ['def456', { id: 'def456', name: 'def456' }],
  ['abc123', { id: 'abc123', name: 'abc123' }]
];

const mapOne = Map<string, SimpleObject>(arrayData);

Will throw a this type error:
src/immutable.ts(11,42): error TS2345: Argument of type '(string | { id: string; name: string; })[][]' is not assignable to parameter of type 'Iterable<[string, SimpleObject]>'.
  Types of property '[Symbol.iterator]' are incompatible.
    Type '() => IterableIterator<(string | { id: string; name: string; })[]>' is not assignable to type '() => Iterator<[string, SimpleObject]>'.
      Type 'IterableIterator<(string | { id: string; name: string; })[]>' is not assignable to type 'Iterator<[string, SimpleObject]>'.
        Types of property 'next' are incompatible.
          Type '(value?: any) => IteratorResult<(string | { id: string; name: string; })[]>' is not assignable to type '(value?: any) => IteratorResult<[string, SimpleObject]>'.
            Type 'IteratorResult<(string | { id: string; name: string; })[]>' is not assignable to type 'IteratorResult<[string, SimpleObject]>'.
              Type '(string | { id: string; name: string; })[]' is not assignable to type '[string, SimpleObject]'.
                Property '0' is missing in type '(string | { id: string; name: string; })[]'.

Repo: https://github.com/kevinsperrine/immutable-test

You need to explicitly type your arrayData as [string, { id: string; name: string; }][]. The error message makes it obvious typescript didn't infer the correct type, which is almost always the case with tuples.

Thanks, @TheophileSketo.

For anyone else running into this issue, adding "downlevelIteration": true, to your tsconfig.json compilerOptions also fixes this issue without having to do messy type assertion.


nvim rendering issue on save sometimes

We SOMETIMES see an odd rendering issue when writing files in Conjure's repo. The screen sort of jumps up by one line and it's hard to get nvim to redraw it, <c-l> doesn't seem to help. Maybe redraw! would? I think that does more.
@russtoku has also seen this, so it's not just me although I think I've only ever seen it on my laptop. I have not seen it (as far as I can remember) on my much more powerful and bigger screened desktop. Both of them run the same dotfiles, nvim config and Linux distro.
I wonder if it's potentially a race condition since I only see it on my slower laptop CPU? I have tried raising the font size, shrinking the window and using lots of splits on my desktop but it never does it. I think I saw it mostly with splits open on my laptop.
If anyone can reliably reproduce this or has similar weirdness around "fast machine good, slow machine bad", please let me know!

I'm using an 13" Early 2015 Macbook Air with a 1.6 Ghz Dual-core Intel Core-i5 laptop.
This is a screenshot of the effect:

Here, I just did :w to write/save the file. The message is:
"fnl/conjure/client/clojure/nrepl/action.fnl" 736L, 22932B written

and is viewable using g< or :mess (mess being short for message :-).
:redraw and :redraw! don't fix the mangled screen but moving to another portion of the file that puts the previous bottom beyond the top of the window works before returning to the previous position. Like paging down and back up seems to return things back to expected.
:mode does repaint the entire window and restores things to what you expect.
The text in the window is further messed up when you go to the top of the window and cursor down. The old text shows through if the new text line is shorter. Here's a screenshot:

See lines 13 - 15.

If I set the cmdheight option is set to 3 the window isn't messed up.

But the command window is messed up (not refreshed) if I start another command on the command line such as :he.

This would suggest that it's a Neovim issue.

Cool, that makes sense. I suspected as much because it kinda looks like a
multi line message being printed and cleared instantly. This can also
happen if the line is too long when it's printed...
Maybe it's a case of using a long file path and a small terminal? Then the
echoed text is split onto two lines + some weird race condition that clears
it quickly but leaves us in a weird state.
I think if this instant clear + render bug doesn't happen then we'd see one
of those "press enter to continue" text lines.
I don't think nfnl echos anything though, it uses vim.notify which WILL use
echo if you don't have a plugin installed to display pretty notify windows.
That also only notifies if:

you have an error
you don't have an error but you have verbose mode enabled in your
.nfnl.fnl file

On Tue, 3 Sept 2024, 23:34 Russ Tokuyama, @.***> wrote:

If I set the cmdheight option is set to 3 the window isn't messed up.
conjure-not-messed-1.png (view on web)
https://github.com/user-attachments/assets/8cd1ff38-f376-4b77-90cf-9e11f7c2b4c5
But the command window is messed up (not refreshed) if I start another
command on the command line such as :he.
conjure-not-messed-2.png (view on web)
https://github.com/user-attachments/assets/d293ce8e-7300-4e91-b18b-4bb9f32707fd
This would suggest that it's a Neovim issue.
—
Reply to this email directly, view it on GitHub
https://github.com/Olical/nfnl/issues/44#issuecomment-2327556587, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACM6XIDIVLB6GR3FOOOVDDZUY2ORAVCNFSM6AAAAABNSUX6NCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRXGU2TMNJYG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Another way I just reproduced it easily: Run :NfnlCompileAllFiles in the Conjure repo. That creates a LOT of rendering issues.

Spotted these errors when writing a macro file in the Conjure project.

So it looks to be caused by some warnings being printed by the Fennel compiler! I wonder how I can capture those so I can send them through vim.notify. For now, I'll fix the warnings in Conjure, but I'll then repro it in this repo and try to fix it.

This is the most minimal repro I can find, you just need a function with something non-whitespace before a string.
(fn x [y]
  y"")

I'll see if I can capture that as a warning and put it through the notify system.

Ah hah! This is the same bug! https://todo.sr.ht/~technomancy/fennel/239

I think the right thing to do right now is to wait and see how easily this can be addressed in the compiler. Or if it's even a valid bug, maybe they'll have a good reason for it. At that point I'll add a workaround to nfnl but at least we know what causes it now and can keep an eye out for it.

We're just waiting on the next Fennel release I think, the fix is here! :D https://github.com/bakpakin/Fennel/commit/cf75dcaa4fdfe48356632541912f624b36f7539b
We could maybe update to the tip of the main branch but I'm happy to wait.


Fix infavorable numpy version in build env

Force updating the cached pip dep environment in travis seems to fix the py3.6 build.
The former cached numpy version was too old (1.13.3) compared to other envs in the build matrix (1.15.0)
We can add more version pinning if needed, like the pin for pandas.

Great, thanks! I was having a similar problem with lifelines and I think this work there, too

Generally, I need to update/check the deps on this library, too

Indeed, updating the minimum version requirement of dependencies can avoid some build / user install issues. It could shrink the supported numpy / pandas version range though.


What is the default value for MaxAutoRenewDuration?

What is the default value MaxAutoRenewDuration?
This information should be included in the documentation.

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

ID: cde8a2d5-889d-9746-cdae-49e8036ac504
Version Independent ID: f4b244d8-2d2a-c276-76b7-0b2bd7179a2e
Content: MessageHandlerOptions.MaxAutoRenewDuration Property (Microsoft.Azure.ServiceBus)
Content Source: xml/Microsoft.Azure.ServiceBus/MessageHandlerOptions.xml
Service: service-bus
GitHub Login: @erickson-doug
Microsoft Alias: douge

Migrating to the Azure SDK repository.  Tagging and routing to the team best able to assist.

Still open since 2018 🤔

@JoshLove-msft
The default values are already documented at the docs for the MessageHandlerOptions class
Any idea why everything in the docs are blank?
cc @danieljurek

#11798 might be related

Since the default values are already documented in the source code and we have #11798 to track the larger problem of the documentation not appearing in docs.microsoft.com for the Microsoft.Azure.ServiceBus package, we will close this issue and use #11798 to track the larger problem
Thanks for reporting!


Hosting parseproject_deploy.jar as part of a release

Some projects are depending on https://github.com/vmax/bazel-deps-deploy, which is the uber/deploy jar of parseproject. Is it possible to build the deploy jar and host it directly on this repo's releases?

Yeah, I am willing to do that. The trouble is when should we publish it. Maybe a timed release?
What do you think?

I think a simple monthly release is good enough for now.

vmax/bazel-deps-deploy has been moved to oferb/startupos_binaries

I think adding a release binary would help adoption of this tool. Bazel by itself has a somewhat steep learning curve. It is not obvious for the newcomers they don't need to make bazel-deps part of their own bazel project. All they need is a .jar file which could be host here.

@johnynek I'll be happy to setup a CircleCI pipeline which will deploy whatever is merged to master to Github Releases page. Are you interested?

I’m very interested. This would be highly appreciated.

Hi @johnynek , have you got a chance to review PR #247 from @vmax? It should resolve this issue, which would be really nice. :)
Thanks!

I let it slip then saw a red PR and overlooked his point about that being expected.
Sorry for the delay.

Thanks, @johnynek ! We look forward to seeing the auto-release working! :)

@johnynek friendly ping to remind about my PR 🙂


Add ability to debug schedules from local dashboard

Add a new feature that allows the user view all schedules and trigger them individually via the dashboard.

Part of #464


DateRangePicker days change automatically when updating year in Thai Calendar

When using the DateRangePicker component with the Thai calendar (th-u-ca-buddhist locale), the days change automatically when updating the year. This behavior is unexpected and leads to incorrect date selections.
🤔 Expected Behavior?
The selected days should remain consistent when updating the year.
😯 Current Behavior
The selected days change automatically when the year is updated.
💁 Possible Solution
🔦 Context
This issue is reproducible only when the Provider has the th-u-ca-buddhist locale set:
<Provider
  locale={"th-u-ca-buddhist"}
  colorScheme="light"
  theme={defaultTheme}
>
  <DateRangePicker />
</Provider>

🖥 Steps to Reproduce
Steps to Reproduce:

Set the locale to th-u-ca-buddhist in the Provider.
Open the DateRangePicker component.
Select a date range.
Update the year in the calendar.

https://github.com/adobe/react-spectrum/assets/8845603/ec587f02-6e7b-40a4-9d3b-c896cefecd9e
Version
3.34.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Perhaps in a similar vein to https://github.com/adobe/react-spectrum/issues/3757, will need to double check https://github.com/unicode-org/icu/blob/main/icu4j/main/core/src/main/java/com/ibm/icu/util/BuddhistCalendar.java


Use https when the server supports it

I noticed that a lot of bangs were using http, which is undesirable.
however, blindly running sed -i 's/http:/https:/g' bangs.json would probably end up breaking at least one bang because the site is old and never upgraded (or, its SSL config is bad)
to make this, I ran every url that was still using http non-s through this script, which gave me a list of sites that in some way failed to answer a basic https request. note that there is a very high false-negative rate because the testing is automated and bot protections kick us in the teeth, but since i'm not checking all 1180 invalid servers by hand in a browser, this will have to do, and some bangs will continue using http until they can be checked by someone with more time.
the original output (which contains error info) was cleaned up to create a filter, then i wrote a simple script to change only http non-s urls that did not appear in the filter.
TLDR: i spent too much time automating a "do we know that for sure, this server supports https?" check.

some thoughts, findings and oddballs that are a bit less relevant but it's somewhat useful knowledge:

4chan et al. detect the automation and respond with 403 (i think this is the cloudflare anti-ddos screen thingy?).
onedrive, adobe.com and some other high-profile sites detect the automation and slow-loris you to death.
a lot of sites on the list have invalid SSL configs, but if you investigate further it turns out the site is likely dead. some spring cleaning would be in order, but that's for another day. low hanging fruit would be to simply try to resolve the hostname and remove the bang if it fails.
ebay sites have invalid SSL certificates, for some reason
at least one site got angry at me and threw me a 521, for having the audacity to make 3 requests in less than a second.
turns out the list is so large, there is a bang for every video game popular enough to have a wiki in there, including defunct ones.

test was done from a ec2.micro in eu-west-3 with default amazon linux certificate store.

Thank you for doing this! I was thinking about doing something similar (a health check to make sure websites are still up). Ideally we'd want the health script to be part of the repository as well.
A few comments:

It looks like this script mangled the query parameters (removing all of them)
The JSON serialization seems to have encoded utf chars via \uXXXX instead of the chars themselves, which should be fine, but I'd prefer the latter
Some of the URLs are site: queries without a specific host, these should be skipped

ah, i see.

it seems the query parameters got treated as python format strings and since they were left empty, they just disappeared. i was very tired and wrote modified_url = f"https://{parsed_url.netloc}{parsed_url.path}" when i could just have done url.replace('http:', 'https:')
this is apparently vanilla python3.11 behavior. i'll see what i can do about that
side effect of me missing a check to only rewrite the url if it is http. see above comment about tired levels. will fix.

should be about good :D

Thank you!


cpp codes added

Have added some basic c++ codes -
addition of 2 arrays
difference of 2 arrays
insertion sort
selection sort
merge 2 sorted arrays
pair sum
move zeroes
unique element

Please read the README.md and provide information about your pull request.

Please recheck it and if you find any issue do acknowlegde me


Update Go linter install link

Go updated the path for the linter, broke the old path for linter. This issue confirms the change.

https://secure.phabricator.com/book/phabcontrib/article/contributing_code/#no-pull-requests


Feature: Account api

Current coverage is 66.09%

Merging #839 into master will increase coverage by +0.24% as of 8e348ef

@@            master    #839   diff @@
======================================
  Files          116     116
  Stmts         5684    5760    +76
  Branches         0       0
  Methods
======================================
+ Hit           3743    3807    +64
  Partial          0       0
- Missed        1941    1953    +12

Review entire Coverage Diff as of 8e348ef

Uncovered Suggestions

+0.43% via ...oa/lib/ldap_utils.py#65...89
+0.42% via ...ailbox_operations.py#65...88
+0.35% via ...boa/lib/imap_utf7.py#175...194
See 7 more...

Powered by Codecov. Updated on successful CI builds.


enable api

Hi,
I was using the old notehub to store diff data from open street map (5-20kb every hour), but no longer works.
Can you enable API for posting notes?
Thanks.

Sorry, but you understand that NoteHub is not a storage for your data?

@chmllr ok, but still, no api in roadmap?
at least I can use your project in another host

NoteHub had an API already, is was discontinued https://github.com/chmllr/notehub/issues/25


Adds command aad user recyclebinitem restore

Closes #4500

Nice! We'll have a look at it ASAP!

Hi @plamber
Thanks for the review. I've changed / answered on them. I also resolved some merge conflicts 😄

Thank you. Will look into this as soon as possible


Change "MyAnimeListValues.DateStart/DateFinish" types from DateTime to a nullable DateTime

When MyAnimeListValues get serialized to an XML string, if DateStart/DateFinish values are not set, they are set as "01010001" instead of an empty string.
<date_start>01010001</date_start>   <date_finish>01010001</date_finish>
should be
<date_start></date_start>   <date_finish></date_finish>

Fixed in this version
https://github.com/dance2die/Project.MyAnimeList/commit/4645bfd227e6859450aaadf2832ae868483db268


Check if storage is full

Is there a way to check if the storage is full with this plugin? I haven't seen anything in the docs.

Any solution for this? Is this lib still maintained?


interp: added sliceExpr and starExpr

This (seems to) fix the errror with: &(*tree)[node:][0], but needs a good review as i don't really know too much of what i am doing here.
tree, _ := huffmanTreePool.Get().(*[]huffmanTree)
...

initHuffmanTree(&(*tree)[node:][0], histogram[l], -1, int16(l))

see https://github.com/andybalholm/brotli/blob/c3da72aa01ed78f164593b9624fd91d25082d2d2/brotli_bit_stream.go#L469

As a starting point, you first need to have a reproducible case, as simple as possible, which exposes the issue without the fix, and then demonstrates that the fix works. Simple scripts like the following are then added to the existing ones, for non regression testing (checking that your fix doesn't break something else).
So I suggest that you first open an issue, using the template, and provide a test case like this one, which corresponds to the issue:
package main

import "fmt"

type T struct {
    A int
    B int
}

func main() {
    a := &[]T{
        {1, 2},
        {3, 4},
    }
    fmt.Println("a:", a)
    x := &(*a)[1:][0]
    fmt.Println("x:", x)
}
// Output:
// a: &[{1 2} {3 4}]
// x: &{3 4}

Then when you submit your PR, you can refer to the related issue with a line like Fixes #xxx in the description.
When testing with yaegi directly, to speed up the non regression tests, do go test -short ./interp rather than go test ./... or make tests, you will win time.
At this moment, the fix you propose is not sufficient, more investigation is required. I do not have the answer yet myself.

yeah expected that, just wanted this to be visible for discussion - i will open an issue


Add endpoints to Qualys dedupe settings

issues spanning  multiple endpoints were being swallowed by reimport

@Maffooch Why do you added  the endpoints hashcode default config? We have a separate logic for endpoint deduplication: DEDUPE_ALGO_ENDPOINT_FIELDS. We may need to fix the bug here and not falling back to the "old" logic and adding the endpoint to the hashcode calculation.

@alles-klar I do not see how to enable the matching of the endpoints using DEDUPE_ALGO_ENDPOINT_FIELDS . Is it enabled by default?

Yes, but default takes only host and path for duplication.

@Maffooch do you mind working on another PR that move forward this path?


physical server discovery and migration

HI Team,
Could you please confirm if we deploy the appliance for physical servers discovery , can we use the same appliance for physical server migration or we need to deploy the separate appliance for physical server migration.

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

ID: 104caea8-472d-2fc6-e50f-343d00fddeee
Version Independent ID: bd4ae232-e684-f687-e8a8-3ed7d4d87a10
Content: Support for physical discovery and assessment in Azure Migrate - Azure Migrate
Content Source: articles/migrate/migrate-support-matrix-physical.md
Service: azure-migrate
GitHub Login: @Vikram1988
Microsoft Alias: vibansa

@Gouravkala - You only need replication appliance. Doc reference link - https://learn.microsoft.com/en-us/azure/migrate/migrate-services-overview#migration-and-modernization-tool

Hope this clarifies!

Hi @SadiqhAhmed-MSFT Thank you for the confirmation. So, we don't need separate appliance for physical server migration if we have already deployed the discovery appliance for physical server discovery.

@Gouravkala Yes, as per the official doc - https://learn.microsoft.com/en-us/azure/migrate/migrate-services-overview#migration-and-modernization-tool

Hi @SadiqhAhmed-MSFT could you please update on this

@Gouravkala - Sorry for the confusion. Since its Physical server migration, you need to have separate appliance. Please see if the following docs help:
•	Migrate machines as physical server to Azure with Azure Migrate. - Azure Migrate | Microsoft Learn
•	Support for physical server migration in Azure Migrate - Azure Migrate | Microsoft Learn
We will also add this as an explicit question in our common questions for migration.

@Gouravkala - We will now close this issue. Please tag me in your reply if you have any questions.

@v-ksreedevan FYI


5% fees for selling monyx???

Team
Just now found out that there is 5% fees for selling and only 0.5% fees for buying in the trading exchange. Why there is a insane fees for selling ?? By trading people will loose lot of money here. Please fix it asap and credit back the high fees for my trading

@manojaum the decision was made by the team, not me. If I understood correctly, it was done to prevent too active selling of tokens (and building the huge sell wall) for some time.
Anyway the fee is reflected in the form, so people are free to hold their tokens (especially considering the price).


Geo location from message

Is your feature request related to a problem? Please describe.
I have the geo coordinates in two fields in my message (lat and lon) and would like to use these instead of the configurable ones.
Describe the solution you'd like
Use the configured coordinates only if certain fields in the message are not filled.
Describe alternatives you've considered
Currently none possible.

I'll have a look at this. Should not be too complicated to implement.

Implemented in 1.1.0. Furthermore this version has improved error messages for invalid geo locations.


DEV-19046: Fixed iOS 18 issue for double notifications for consent form and others

This fixes the issue where with iOS18, the same notification is being presented twice. This issue is an open issue under discussion on Apple developer forum[https://forums.developer.apple.com/forums/thread/761597].
As per the suggestion to fix this for our app until apple fixes it, for a notification received, we are using UNNotificationRequest.identifier to try to recognise the two back to back callbacks may have been for the one single notification.

We are pointing to 03 patch branch directly instead of merging this MR as per discussion.


Refactor playground

Description

To prepare for language refactoring.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] Code quality improvements

How to test

Checklist

[ ] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 61 (19.67%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 34.671%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/commons/sideContent/SideContentTypes.ts
1
2
50.0%

src/pages/playground/PlaygroundTabs.tsx
8
16
50.0%

src/pages/playground/Playground.tsx
0
40
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
4892

Relevant Lines:
13160

💛  - Coveralls


Allow For Invite-Only Survey Instances

Background
Currently there is a single type of open survey type, where anyone can create a response, or view the survey results.  In many cases you may want to limit who can participate in a survey.  This will also allow tracking whether a user has responded or not.
Technical Details
Add a invite_list attribute to the Survey Instance definition, which will have two properties: name and email.  When this attribute is specified, the survey instance will be a Invite-Only Survey, meaning only those specified on the list can respond or view the results.
When the server starts up, a unique token will be generated for each entry in the email list and persisted to the database.  The person will then be emailed a url to the survey instance with their unique token as a query parameter (note: this is a security risk if not using https).  Any route will do a poor man's authentication of the user by checking the query param.

Implemented in https://github.com/jonmbake/express-survey/commit/e7acc2eae53f861da5e9ea327bfc24a4dc870709 and https://github.com/jonmbake/express-survey/commit/e65cfa61350ac6abe25bfa65c8759e1da0bdcae8


[WIP] DCOS-11363: Bring ACL menu filter back

⚠  merge the plugins first https://github.com/mesosphere/dcos-ui-plugins-private/pull/451

This PR re-enables Sidebar ACL filtering as it went missing in this commit https://github.com/dcos/dcos-ui/commit/b559575a39caf39407bca39984bd3045ddd14a82

Good work! ✨  💯

@mlunoe please review 🙇  Hold merge because we should merge plugins first and this one right after.

Sorry, I didn't look at this because it still had the [WIP] in the title


Add info about which signing keys will be used for published artifacts

Add info about which signing keys will be used for published artifacts.
For security purposes, it would be great if you were able to publish details (in the project docs) about gpg public keys that are "valid" for use when verifying signing artifacts uploaded to maven central.
This allows for "out of band" verification of the expected signing key.
Some examples of other libs publishing their signing keys:
https://square.github.io/okhttp/security/security/#verifying-artifacts
https://github.com/eclipse/jetty.project/blob/jetty-10.0.x/KEYS.txt
https://downloads.apache.org/commons/KEYS
https://downloads.apache.org/logging/KEYS

Up to @xerial since his key is being used in CI.

I think this key (fingerprint) has been used for releasing sqlite-jdbc:
Taro L. Saito (For GitHub Actions<EMAIL_ADDRESS>05A7 776A A9B3 00D8 F5A0  966F 8857 595B 73BF D468

@yogurtearl did you test the manual verification with the above key ?

yep, that is the key that is being used to sign the latest binaries, would be helpful to put it in the docs, on the website or in the README.

we would accept a PR in the readme, as we don't have a website.

I ran into the same problem and just added https://github.com/xerial/sqlite-jdbc/pull/1076 with an update for the key.


Update IR ModelRework

Magic Smoke Industries Infernal Robotics - Model Rework - Working with KSP 1.2.2
Closes #5077

It's been a long time that I made a netkan file

Between 1.0 and 1.2.2 there is no release for TweakableEverything

#rebuild

#rebuild


Make ConstraintSynthesizer::generate_constraints not consume self by value

@weikengchen Now that cloning ConstraintSystemRef is cheap, is this still an issue?


There is no documentation for batch started or batch completed groups

Was this an oversight?  There appears to be no documentation on what is captured.

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

ID: e423dd72-6012-f9f0-9bd1-6ab946399770
Version Independent ID: f55d3328-111e-13d2-d8c2-78ba2b644b91
Content: SQL Server Audit Action Groups and Actions - SQL Server
Content Source: docs/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions.md
Product: sql
Technology: security
GitHub Login: @sravanisaluru
Microsoft Alias: srsaluru

could you please elaborate more , audit action groups for server and database does cover these action groups

BATCH_COMPLETED_GROUP
This event is raised whenever any batch text, stored procedure, or transaction management operation completes executing. It is raised after the batch completes and will audit the entire batch or stored procedure text, as sent from the client, including the result. Added in SQL Server 2019.

BATCH_STARTED_GROUP
This event is raised whenever any batch text, stored procedure, or transaction management operation starts to execute. It is raised before execution and will audit the entire batch or stored procedure text, as sent from the client. Added in SQL Server 2019.

To elaborate, other classes have more in-depth documentation linked - for example the backup restore group has a link with more in-depth information on the class and the columns returned in the audit message:

BACKUP_RESTORE_GROUP
This event is raised whenever a backup or restore command is issued. Equivalent to the Audit Backup and Restore Event Class.

BACKUP_RESTORE_GROUP	This event is raised whenever a backup or restore command is issued. Equivalent to the [Audit Backup and Restore Event Class](https://docs.microsoft.com/en-us/sql/relational-databases/event-classes/audit-backup-and-restore-event-class?view=sql-server-ver15).

Thank you for the clarification. I have updated the documentation with the required links
https://learn.microsoft.com/en-us/sql/relational-databases/event-classes/sql-batchcompleted-event-class?view=sql-server-ver15
https://learn.microsoft.com/en-us/sql/relational-databases/event-classes/sql-batchstarting-event-class?view=sql-server-ver15
https://github.com/MicrosoftDocs/sql-docs-pr/pull/27530
pull request for reference.

#close

#please-close


Xcode 11: Crash when ObjectiveC-Class inherits from Swift-Class

Goals
Have an Objective-C-class B, that inherits from an RLMObject-subclass created in Swift A. The class A should have a String-property identifier as the primaryKey
Expected Results
+[RLMObjectSchema schemaForObjectClass:] returns a correct Schema
Actual Results
Exception gets thrown

'RLMException', reason: 'Primary key property 'identifier' does not exist on object 'A'

Steps to Reproduce

Create a subclass of RLMObject in Swift where the primaryKey is a String
Create a subclass of the previous class in Objective-C

Code Sample
https://github.com/uwemeier-sclable/RealmCrashExample
Additional Info

This behavior occurs, because in +[RLMObjectSchema schemaForObjectClass:] only the original objectClass is checked, whether it is a class created in Swift, but not its possible superClasses which leads to +[RLMObjectSchema propertiesForClass:isSwift:] executing the wrong code.
This issue is somewhat related to #6250 but can not be fixed by the solutions proposed there.

Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G103
/Applications/Xcode.app/Contents/Developer
Xcode 11.0
Build version 11A420a
/usr/local/bin/pod
1.8.3
Realm (3.19.0)
Realm (~> 3.19)
/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
(not in use here)
/usr/bin/git
git version 2.21.0 (Apple Git-122)

What is the reasoning for doing this? Can you send us your data models?

Closing due to inactivity. If you have any other questions please open a new issue. Thanks.


Make StreamCopyOperation public and update it to same as StaticFiles

Part 1 of https://github.com/aspnet/HttpAbstractions/issues/528
@Tratcher @davidfowl

:shipit:

/cc @stephentoub


[AuthZ] Operation support

OperationRequirement : string operation
base class for OperationHandler

Tracking with https://github.com/aspnet/Security/issues/132