separate out "cached file/map" generation from staleness checks

Would be cool if the logic/code for creating the compiled JS+map was in a seperate method, as opposed to the single method cacheFile now which both checks the staleness of the cached files and then optionally recompiles them.
I'll try and do a PR for this, but just wanted to check it's not a daft idea. My use case is "force" updating the cache for a single files without resorting to removing the entire cache dir.

Yeah, I think it's a great idea. I started on a 2.x branch that does more breaking apart like you want, but I also haven't pushed to it in a bit. I would certainly accept a pull request off master for what you're trying to do.

Ok, will see what I can for the current 1.x branch.
On a tangent (and probably the wrong place for it), I noticed you've introduced peerDeps on 2.x, are you aware of the current desire to deprecate that feature -> https://github.com/npm/npm/issues/5080#issuecomment-40545599
(yeah it's a long thread but I think I've linked to a good point in it)

I did not know about that, and I'll probably remove it. Thanks for the link!

+1


Base64 image encoder

Current coverage is 89.01% (diff: 100%)

Merging #12 into master will not change coverage

@@             master        #12   diff @@
==========================================
  Files            23         23
  Lines           182        182
  Methods          65         65
  Messages          0          0
  Branches          8          8
==========================================
  Hits            162        162
  Misses           20         20
  Partials          0          0

Powered by Codecov. Last update 20dfd0a...53b5ba8


Is this compatible with existing download directories?

I already have a ton of content that I downloaded with the original scraper. If I set this fork to download to the same directory, is that...safe? It's not going to overwrite or delete anything, is it?

delete no
Overwrite yes
The database needs to be filled, and their is no auto migration for the original script. We do offer migration from dc's script.
But we have safety check to make sure downloads are complete before overwriting or writing to disk.

Okay, thanks for clarifying. But on second thought, I think I'll just use a fresh directory just to be safe.
One more thing...does your script have that weird quirk where it tries to download from every model you're subscribed to (or receiving messages from) even when you pick one specific account to download from? DC's script doesn't work at all for me because of this and keeps hanging.

No it will only scrape what you select
There  is a lot of control over this


Require safe transmutability traits for buffers

I added two new traits inspired by this Pre-RFC: ToBytes and FromAnyBytes. ToBytes can be safely applied to any type with deterministic layout that has no internal padding (and therefore has no information disclosure potential). FromAnyBytes can be safely applied to any type where all potential bit patterns of its components are valid instances of the type.
This change makes the default Buffer implementation require ToBytes, and the BufferMut implementation require FromAnyBytes. This fixes issues related to receiving invalid values into bool.
This fixes #54.

Related: https://internals.rust-lang.org/t/pre-rfc-v2-safe-transmute/11431

I hadn't considered the issue of sending structs with padding - may have to switch to require something equivalent to ToBytes for send buffers.

I'm looking to see if we can get a full "0.11" release for safe_transmute. https://github.com/nabijaczleweli/safe-transmute-rs/issues/62

I removed the public safe-transmute dependency (though still use it in an example) and added the desired traits myself. I updated the MR text to reflect this.

I removed the public safe-transmute dependency (though still use it in an example) and added the desired traits myself. I updated the MR text to reflect this.

That release seems to have happened in the mean time. I think the public dependency would actually be a better choice as interoperability w.r.t. these key traits could be automatic, e.g. other crates could implement this for their data types and we would automatically benefit. Ecosystem service effects and all that...

I see two concerns here:

I would like to see MaybeUninit<M> included in the fold so that I can still receive arbitrary data types which are not safe to transmute even though I will have to make the assertion of correct communication by calling the unsafe assume_init in my code.

I really not sure how this would interaction with e.g. using UserData::structured: Having such an implementing for example based on #[derive(Equivalence)] should be fully sufficient to send structures over the wire even if they are not safely transmutable as the MPI implementation will only access valid data at specific offsets with correct type information. FromAnyBytes seems to be necessary only if one using an equivalence like

fn equivalent_datatype() -> Self::Out {
  UserDatatype::contiguous(mem::size_of::<Self>(), &u8::equivalent_datatype());
}

(which I personally use ATM for transmitting complex structs). My first current understanding would be that FromAnyBytes would not be an additional trait bound (in addition to Equivalence) but could rather provide a blanket impl of Equivalence like
unsafe impl<T> Equivalence for T where T: FromAnyBytes + ToBytes {
  type Out = UserDatatype;

  fn equivalent_datatype() -> Self::Out {
    UserDatatype::contiguous(mem::size_of::<Self>(), &u8::equivalent_datatype());
  }
}

But we would probably want people to opt in explicitly here, e.g. via a wrapper like EquivalentToBytes(&mut T)?

That release seems to have happened in the mean time. I think the public dependency would actually be a better choice as interoperability w.r.t. these key traits could be automatic, e.g. other crates could implement this for their data types and we would automatically benefit. Ecosystem service effects and all that...

On further thought/discussion, it wasn't obvious, actually, that those traits are the best match. Essentially, we want a trait that only requires that the fields mapped by Equivalence can receive any bytes. Deriving Equivalence already requires the mapped fields to be valid objects in Rust.

I would like to see MaybeUninit included in the fold so that I can still receive arbitrary data types which are not safe to transmute

Good idea - done.

I am really not sure how this would interact with e.g. using UserData::structured: Having such an implemention for example based on #[derive(Equivalence)] should be fully sufficient to send structures over the wire even if they are not safely transmutable

Yeah, you're absolutely right. I changed the name of the trait to EquivalenceFromAnyBytes to indicate that only those fields mapped by Equivalence require this attribute.

To address the issue with bool, I added a new type mpi::Bool that can receive any valid bit pattern, but has methods for unwrapping the value and checking validity. So you can still send bool, but only receive mpi::Bool. mpi::Bool is mapped as MPI_C_BOOL, just like bool, so it's valid as far as MPI is concerned to do this mapping.

@AndrewGaspar One thing I am wondering about here is usability. More specifically whether it is truly worth it to split the write and read sides of the equivalence traits. Is it really sufficiently common to have different sources for the sender and receiver processes as to significantly ease development of the write side of communication relation?
Personally, I think just folding the EquivalenceFromAnyBytes into the Equivalence trait would be simpler to understand and to explain without really making it more difficult to adhere to these requirements. Especially since the blanket implementation for MaybeUninit provides a generic escape hatch.

I 100% get your concern and I'd like to eliminate it altogether. Here's where I'm stuck.

Equivalence designates an MPI_Datatype that safely maps the type. If MPI required type-checking, we'd be done here.
EquivalenceFromAnyBytes says: No matter what message you throw at me, my Equivalence implementation can safely (in Rust terms) map it into my representation
However, if you can't do that, that's OK: you can still wrap your type in MaybeUninit. As long as it implements Equivalence, it's still safe to receive into.

Here's the problem: if we roll  EquivalenceFromAnyBytes up into Equivalence, then we can't require MaybeUninit<T> in the cases where it's not safe to write arbitrary bytes into T.
Maybe if I'm understanding you correctly, the proposed alternative is to implement Equivalence on e.g. MaybeUninit<bool> instead? Though if that's the case, maybe we just only implement it on mpi::Bool.

Here's the problem: if we roll EquivalenceFromAnyBytes up into Equivalence, then we can't require MaybeUninit in the cases where it's not safe to write arbitrary bytes into T.

I see.

Maybe if I'm understanding you correctly, the proposed alternative is to implement Equivalence on e.g. MaybeUninit instead? Though if that's the case, maybe we just only implement it on mpi::Bool.

I think I would rather look at this from the other end: If T: Equivalence, the write API consumes &T whereas all read API produce MaybeUninit<T>. For types that are trivially transmutable, going from MaybeUninit<T> to T would be safe.
Of course, this would be a highly intrusive change to the API. There could also be a lot of friction if my model code contains e.g. a Vec<T> from which I send and into which I also want to receive, making it necessary to transmute &mut Vec<T> to &mut Vec<MaybeUninit<T>> even though that is always safe. (I am also not sure if safe-transmute does have the necessary functions to go from T to MaybeUninit<T> and back in safe way.)
But in the end, this would probably penalise users with types that would derive both Equivalence and EquivalenceFromAnyBytes now. So while I don't really feel comfortable about it, I agree that the currently proposal looks like the one with the lowest friction for the most common use case.
One last question on my mind is whether there is a trait in safe-transmute that we could use instead of EquivalenceFromAnyBytes? It does feel a bit like reinventing TriviallyTransmutable?

One last question on my mind is whether there is a trait in safe-transmute that we could use instead of EquivalenceFromAnyBytes? It does feel a bit like reinventing TriviallyTransmutable?

Ah, sorry, this is non-sense, as EquivalenceFromAnyBytes has a less strict contract, it means only what is touch by my Equivalence impl is FromAnyBytes, not the whole type. Sorry for the confusion!

Ah, sorry, this is non-sense, as EquivalenceFromAnyBytes has a less strict contract, it means only what is touch by my Equivalence impl is FromAnyBytes, not the whole type. Sorry for the confusion!

Was just about to say this - exactly. That's why I opted not to use it.

Take one last look?

Take one last look?

One more idea I had concerning usability: Maybe we should make EquivalenceFromAnyBytes a sub trait of Equivalence as it really only makes sense for a type that actually implements Equivalence in the first place?
This would also suggest to make the derive macro for EquivalenceFromAnyBytes derive both impls so that I can just write
#[derive(EquivalenceFromAnyBytes)]

instead of
#[derive(Equivalence, EquivalenceFromAnyBytes)]

One downside I see would be being unable to manually implement Equivalence but derive EquivalenceFromAnyBytes, but then again manually implementing EquivalenceFromAnyBytes on top of manually implementing Equivalence might be the better trade-off if the common case is simplified?

Take one last look?

One more idea I had concerning usability: Maybe we should make EquivalenceFromAnyBytes a sub trait of Equivalence as it really only makes sense for a type that actually implements Equivalence in the first place?
This would also suggest to make the derive macro for EquivalenceFromAnyBytes derive both impls so that I can just write
#[derive(EquivalenceFromAnyBytes)]

instead of
#[derive(Equivalence, EquivalenceFromAnyBytes)]

One downside I see would be being unable to manually implement Equivalence but derive EquivalenceFromAnyBytes, but then again manually implementing EquivalenceFromAnyBytes on top of manually implementing Equivalence might be the better trade-off if the common case is simplified?

Yeah, I had considered doing exactly what you're describing, but decided not to for the exact downsides you described. I also wasn't sure if automatically implementing multiple traits for a single derive was considered good practice.
I don't know, I think I'm still leaning towards keeping them as separate derives because I think that's the maximally flexible option.

I don't know, I think I'm still leaning towards keeping them as separate derives because I think that's the maximally flexible option.

Alright. I'd say we keep it as-is then and collect some experience actually using it. We are at 0.6 instead of 1.6 after all.

@adamreichold Sorry I haven't checked in on this in awhile - I've been going through a long interview process with a few different companies, and haven't had much free time. Thankfully, I'm finally done with all that, and I may even get to write Rust full time in my new job! 🤞 I'm going to try getting this done when I leave my current job next week - I have four weeks off before I start my next job.


Investigate IndexedDB as replacement for LocalStorage

https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
Investigate using IndexedDB as a replacement for LocalStorage for storing user preferences and saved synthesis settings.

If I'm going to use an alternative storage mechanism, it will most likely be something like localForage as in issue #48.


Unable to start server

Hi!
I'm new to aprsd and just started setting it up. I pip installed, made a config, and I can't get the server started:
  File "/usr/local/bin/aprsd", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/aprsd/aprsd.py", line 73, in main
    cli()
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/aprsd/cli_helper.py", line 65, in new_func
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/aprsd/cmds/server.py", line 70, in server
    if not client.factory.is_client_enabled():
  File "/usr/local/lib/python3.9/dist-packages/aprsd/client.py", line 196, in is_client_enabled
    enabled |= self._builders[key].is_enabled(self.config)
TypeError: unsupported operand type(s) for |=: 'bool' and 'NoneType'

Full output: https://gist.github.com/jschollenberger/ac8c680353f7209b91956bfec06810aa
My config is pretty vanilla. I just entered my call, aprs password, and a few other values: https://gist.github.com/jschollenberger/e850ed1be3e5b31d158a5f0c7b66db94
Thanks for any hints in the right direction.
73
Jason

Hi Jason,
I tested your config with the latest aprsd and I was able to reproduce the issue.   I have a fix for it here:
https://github.com/craigerl/aprsd/pull/79
If you don't want to use  aprsd from git, then you can apply a simple workaround.
Just remove the entire kiss: block from your config for the time being and it will work.
I will release a new version of aprsd that will include the fix soon.

Hi Walter,
Thanks for the quick reply! Removing the kiss block got it going. I didn't plan on using a modem at all, just APRS-IS. Is RF a requirement?
I am currently troubleshooting why I can send messages manually, but when I receive a ping message it doesn't increment the aprsd.plugins.ping.PingPlugin processed/sent packets and the reply just spins in the "send messages" tab.

[12/11/2021] [01:26:22 PM] [WEB_SEND_MSG-(mycall] [ERROR] XXXXXX Haven't completed everything in 60 seconds.  BAIL! - [/usr/local/lib/python3.9/dist-packages/aprsd/flask.py:256]

Jason

Hi Jason, that typically happens when the web send message never gets an ack back from the recipient.   Do you have all the logs around your send message attempt?

Fix is in 2.5.7 for this issue.


fix :Podcast episode preview content is same for all episodes #1175 fixed

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

I fixed podcast episode preview content is same for all episodes

#1175

Could you restrict the episode preview to a max of 3 lines?


Clean-StaleResources.ps1 does not cleanup Storage Account diag settings

The Clean-StaleResources.ps1 (here) script does, in its current form using az monitor diagnostic-settings, not cleanup Storage Account diagnostic settings.
Remove-DiagnosticSettings -resourcePrefix afe2efad5
Using Azure Account:
{
  "environmentName": "AzureCloud",
  "homeTenantId": "****",
  "id": "****",
  "isDefault": true,
  "managedByTenants": [],
  "name": "CAE AlwaysOnApp AIRS",
  "state": "Enabled",
  "tenantId": "****",
  "user": {
    "cloudShellID": true,
    "name": "****",
    "type": "user"
  }
}
*** Looking for diagnostic settings in resource afe2efad5-northeuro-log
*** Looking for diagnostic settings in resource afe2efad5-global-log
*** Looking for diagnostic settings in resource afe2efad5-slo-func-asp
*** Looking for diagnostic settings in resource afe2efad5globalfdfp
ERROR: (ResourceTypeNotSupported) The resource type 'microsoft.network/frontdoorwebapplicationfirewallpolicies' does not support diagnostic settings.
Code: ResourceTypeNotSupported
Message: The resource type 'microsoft.network/frontdoorwebapplicationfirewallpolicies' does not support diagnostic settings.
*** Looking for diagnostic settings in resource afe2efad5globalst
*** Looking for diagnostic settings in resource afe2efad5slofuncstg
*** Looking for diagnostic settings in resource afe2efad5-slo-function-identity
ERROR: (ResourceTypeNotSupported) The resource type 'microsoft.managedidentity/userassignedidentities' does not support diagnostic settings.
Code: ResourceTypeNotSupported
Message: The resource type 'microsoft.managedidentity/userassignedidentities' does not support diagnostic settings.
*** Looking for diagnostic settings in resource afe2efad5-global-cosmos
*** Looking for diagnostic settings in resource afe2efad5globalcr
*** Looking for diagnostic settings in resource afe2efad5-northeuro-appi
*** Looking for diagnostic settings in resource afe2efad5-global-appi
*** Looking for diagnostic settings in resource afe2efad5globalcr/northeurope
ERROR: (ResourceTypeNotSupported) The resource type 'microsoft.containerregistry/registries/replications' does not support diagnostic settings.
Code: ResourceTypeNotSupported
Message: The resource type 'microsoft.containerregistry/registries/replications' does not support diagnostic settings.
*** Looking for diagnostic settings in resource afe2efad5-global-fd
*** Looking for diagnostic settings in resource afe2efad5-slo-func
*** Looking for diagnostic settings in resource afe2efad5-northeuro-evhns
Deleting diagnostic setting: eventhubladiagnostics
*** Looking for diagnostic settings in resource afe2efad5-northeuro-vnet
Deleting diagnostic setting: vnetladiagnostics
*** Looking for diagnostic settings in resource afe2efad5-northeuro-kv
Deleting diagnostic setting: kvladiagnostics
*** Looking for diagnostic settings in resource afe2efad5northeuropubst
Deleting diagnostic setting: storageladiagnostics
*** Looking for diagnostic settings in resource afe2efad5northeuroprist
Deleting diagnostic setting: storageladiagnostics
*** Looking for diagnostic settings in resource afe2efad5-northeuro-nsg
*** Looking for diagnostic settings in resource privatelink.documents.azure.com
*** Looking for diagnostic settings in resource privatelink.table.core.windows.net
*** Looking for diagnostic settings in resource privatelink.blob.core.windows.net
*** Looking for diagnostic settings in resource privatelink.servicebus.windows.net
*** Looking for diagnostic settings in resource privatelink.vaultcore.azure.net
*** Looking for diagnostic settings in resource privatelink.azurecr.io
*** Looking for diagnostic settings in resource afe2efad5-northeuro-ingress-pip
*** Looking for diagnostic settings in resource afe2efad5-northeuro-aks
Deleting diagnostic setting: aksladiagnostics
*** Looking for diagnostic settings in resource afe2efad5-northeuro-cosmosdb-pe
*** Looking for diagnostic settings in resource afe2efad5-northeuro-acr-pe
*** Looking for diagnostic settings in resource afe2efad5-northeuro-storage-table-pe
*** Looking for diagnostic settings in resource afe2efad5-northeuro-storage-blob-pe
*** Looking for diagnostic settings in resource afe2efad5-northeuro-acr-pe.nic.c2014f2e-fb80-4144-b7b9-8250dac6359b
*** Looking for diagnostic settings in resource afe2efad5-northeuro-cosmosdb-pe.nic.36f8f581-d556-4bdc-88aa-23d6f47faa3f
*** Looking for diagnostic settings in resource afe2efad5-northeuro-storage-table-pe.nic.4aea1e04-573d-4dc7-8703-94d050702181
*** Looking for diagnostic settings in resource afe2efad5-northeuro-storage-blob-pe.nic.2d5c133d-10f9-4b66-8bd0-fa0fb5445eec
*** Looking for diagnostic settings in resource 5db30068-4c49-490e-aaae-6802631e9b0d
*** Looking for diagnostic settings in resource kubernetes
*** Looking for diagnostic settings in resource afe2efad5-northeuro-evhns-pe
*** Looking for diagnostic settings in resource afe2efad5-northeuro-evhns-pe.nic.7a957cad-3cc4-4738-a562-4044890b618f
*** Looking for diagnostic settings in resource afe2efad5-northeuro-keyvault-pe
*** Looking for diagnostic settings in resource aks-agentpool-29545095-nsg
*** Looking for diagnostic settings in resource aks-defaultpool-33040744-vmss
*** Looking for diagnostic settings in resource afe2efad5-northeuro-keyvault-pe.nic.54ff39a8-6e77-4f19-b1f2-412594808f24

Would it be possible to create a pipeline to terraform import individual diagnostic settings into the state file?
It could have a parameter where you just paste the full resource ID of the diagnostic setting that failed.
Alternatively some manual steps we could follow to do the import

Would it be possible to create a pipeline to terraform import individual diagnostic settings into the state file? It could have a parameter where you just paste the full resource ID of the diagnostic setting that failed. Alternatively some manual steps we could follow to do the import

I think in theory yes. It would basically be an alternative solution to this delete-all-diag-settings and then re-run the pipeline to recreate them.
However, since your pipeline will be in a failed state anyway and you need to re-run the stage, it does not make a big difference whether you delete them or import them into the state I would say.


Update README

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.04%) to 84.137%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
1029

Relevant Lines:
1223

💛  - Coveralls


Feature/tri 428 int test case execution

Some built failures due to other merged feature branches.

There are a lot of changes in this branch which have nothing to do with the task. Can you please merge main into this and remove all unnecessary stuff? (e.g. all the helm charts).
Regarding the test:
You don't want to run a Spring Boot test for this integration test. You don't want to start your own application here, but instead just perform REST calls against an already running API (on DEV or INT or even locally) and check the responses for the correct results. Basically, all you need is JUnit, RestAssured and AssertJ.


add Turkish to project

thank you for the translations @umutc. I've added the relevant sass files derived from the translation you posted last year and am going to merge this in.


exclude vue from bundle

Describe the bug
How can I exclude vue and vue-router from compiled JS in vite.config.js (same behaviour of webpack externals)?
thanks in advance

See https://github.com/vitejs/vite/issues/846


embed language-make can't work for fenced code block

@burodepeper
Using language-markdown:

Using language-gfm-enhanced:

Could you enable it?
Thanks a lot.

Sure, shouldn't be a big issue. You can expect it in the next update.
Note for self: https://github.com/shd101wyy/language-gfm-enhanced/blob/master/grammars/gfm.cson#L764-L780

I've published v0.23 and language-make should now be supported. Let me know if you run into any issues with this.


Subplots utilities

Backport SimpleMatrixPlotter and MontagePager from aws-samples/smallmatter-package.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Related issue: MontagePager: get_geometry() was deprecated in Matplotlib 3.4 and will be removed two minor releases later.

@josiahdavis : this needs validation, but the sample usage in its docstring runs 2x-4x slower than the smallmatter (i.e., exactly the same implementation. Might be caused by plit's high-quality setting for matplotlib (i.e., dpi=300).

Hi, can you share your matplotlib version?
Or if possible, the list of packages (+version) in your virtual environment?

@verdimrc
matplotlib == 3.4.3

Fixed. Please try the examples again, and let me know.

Just realized the fix had nothing to do with the failed example. It's because your last line is in the for loop, but it should've been outside. Once you corrected it, I hope it should work.
Explanation: by design, savefig() will destroy its underlying figure and axes objects. This API is intended to be used in a headless script that save many plots to disk. Saved plots are no longer needed and matplotlib must be told explicitly to free those objects. Otherwise, with many many subplots, saved matplotlib objects linger around, causing memory consumption to balloon.
In your example, the first iteration calls savefig() which causes the underlying fig and ax object to dissappear. When the second iteration tries to get an ax (which by now is no longer there), a crash will happen.
HTH.


jsonrpc: support multiple parameters

I put this client to use, but I found that it didn't seem to support passing multiple parameters to an RPC method, so I changed it to support that.
I realize that this is breaking a public interface, but I wanted to put up the PR as a discussion starter if nothing else.

jsonrpc now it deprecated and we moved to rpcclient package as the main one


ERROR: Invalid configuration, please set up your environment

Error: Cloudinary Configuration Issue
I am using the latest version "cloudinary-labs/cloudinary-laravel": "^2.0",
I've set up Cloudinary in my project, and it's working perfectly on localhost. However, upon uploading it to the server, I'm encountering the following error:
Error: Cloudinary\Exception\ConfigurationException: Invalid configuration, please set up your environment in file /var/www/api.eko.com/vendor/cloudinary/cloudinary_php/src/Configuration/Configuration.php on line 293
Here are some key points to consider:
Double-Checked Credentials:
I've verified that my CLOUDINARY_URL credentials are correctly configured in the .env file.
After uploading to the server, I executed the following commands:
php artisan optimize
php artisan optimize:clear
php artisan config:clear
PHP Version Consistency:
I'm using the same PHP version (8.1) on both my local development environment and the server.
Functional .env Loading:
The .env file is correctly configured and loading, as evidenced by my successful database connection.

@gabo8191 @hashpilot It was answered in this issue here https://github.com/cloudinary-community/cloudinary-laravel/issues/1


Yearn LP market data is off

Overview
Currently in develop/prod, Yearn LP tokens market data is off as a result of wrong Coingecko market-data for it:

See Coingecko vs. Portals/Jumper for the same asset:

https://www.coingecko.com/en/coins/lp-yearn-crv-vault
https://app.portals.fi/?inputToken=ethereum%3A0x0000000000000000000000000000000000000000&outputToken=ethereum%3A0xc97232527b62efb0d8ed38cf3ea103a6cca4037e
https://jumper.exchange/?fromAmount=1&fromChain=1&fromToken=0xc97232527B62eFb0D8ed38CF3EA103A6CcA4037e&toChain=1&toToken=0x0000000000000000000000000000000000000000
References and additional details
https://discord.com/channels/554694662431178782/1267867466042970204/1267945859941924936
Acceptance Criteria

Portals provider is used with priority over Coingecko when dealing with yearn assets

Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

Indirectly related to Portals - not introduced by the Portals feature, but will now become an issue


Uncaught TypeError: Cannot read property 'toString' of null               (HelloWorld.js:106)

Example : https://paste.apache.org/yizbj
Select Date and click save button then validateFormOnServer function will be called.In that function we are doing
var date1:String = cc_AthrzDate.value.toString();
var date2:String = cc_CanclDate.value.toString();

cc_AthrzDate is mx:DateField.
cc_AthrzDate.value.toString(); is throwing exception because cc_AthrzDate.value is null
Please check this example

Is the value property implemented on DateField?

mx:DateField is extends ComboBase which has a property value
public function get value():Object
{
     return null;
}

it is returning null value

Try implementing the value property in DateField.  You can check the Flex code to see what it returns.  It probably returns selectedDate.

In Flex comboBase is implementing get value like :
public function get value():Object
    {
        if (_editable)
            return text;

        var item:Object = selectedItem;

        if (item == null || typeof(item) != "object")
            return item;

        // Note: the explicit comparison with null is important, because otherwise when
        // the data is zero, the label will be returned.  See bug 183294 for an example.
        return item.data != null ? item.data : item.label;
    }

_editable is used in get value but get and set editable is not implemented in Royale,Here's the code for get and set editable in Flex
private var _editable:Boolean = false;

    /**
     *  @private
     */
    mx_internal var editableChanged:Boolean = true;

    [Bindable("editableChanged")]
    [Inspectable(category="General", defaultValue="false")]
public function get editable():Boolean
    {
        return _editable;
    }

    /**
     *  @private
     */
    public function set editable(value:Boolean):void
    {
        _editable = value;
        editableChanged = true;

        invalidateProperties();

        dispatchEvent(new Event("editableChanged"));
    }

This is using invalidateProperties() which is UIComponent property and not implemented in UIComponent

I would not worry about ComboBase/ComboBox.  I would see what DateField does or should do.  If it does nothing, then is DateField's selectedItem going to return selectedDate?  It might be simpler to just override the value getter in DateField and have it return selectedDate.  The main goal of emulation is to return the right value and less to try to get all of old Flex SDK code to run.

I override value getter and return selectedDate,now value is not null but value is now undefined for
var date1:String = cc_AthrzDate.value.toString();
var date2:String = cc_CanclDate.value.toString();
Please check this setup
Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
Go to sales from Select in Menu
Go to Carriage/Freight -> Contractor from Setups in Menu
File : com/dbz/modules/INV/dbzCarriageContractorSetup.mxml
Click on New button by default there is some date selected for cc_AthrzDate and cc_CanclDate,these both are MaskedDateField
when i type code and name which is compulsory to enter and i click save button the exception thrown :

when i re-select the date and click save button then this exception go away
when i re-selectiing date and click save button,i setted breakpoint to check the value

So why the value for date is undefined for the first time although it is already selected by default.

That's your custom code so you will have to debug it and determine the problem.

This problem is also occurred with simple mx:Datefield,can u please tell
me,which property is used for selecting Date by default in mx:DateField
because in simple test case when i click save button this exception thrown
that value is undefined for mx:Datefield
but in that case there is no date selected by default but in my application
date is already selected by default and i have to reselect it
which property should i use for mx:Datefield to select any date by default
so i can check this issue on mx:Datefield
On Thu, Jul 2, 2020 at 11:18 PM aharui<EMAIL_ADDRESS>wrote:

That's your custom code so you will have to debug it and determine the
problem.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/royale-asjs/issues/871#issuecomment-653154595,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKB67E3D7CSYCFIYAEMG5F3RZTFQ7ANCNFSM4OEM2D2Q
.

What does the simple test case look like?  Maybe the value is getting read before the selectedDate is set.  Or maybe your code is just setting the text property at startup and not the selectedDate property.  The current mx:DateField emulation does not currently parse the text property.
Debug into the DateField and see what the various properties are.


Update apache-client, kinesis, sqs to 2.25.56

About this PR
📦 Updates

software.amazon.awssdk:apache-client
software.amazon.awssdk:kinesis
software.amazon.awssdk:sqs

from 2.25.32 to 2.25.56
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #880.


fix option --test help message (#112)_50

Motivation
fix option --test help message
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
CI/CD tests are covered.

/canary

:sunny: Canary successful

/land


Proposed 2.0.0

This is the proposed version 2.0.0 of rippled, the reference server implementation of the XRP Ledger protocol. This release adds new features and bug fixes, and introduces these amendments:

DID
XChainBridge
fixDisallowIncomingV1
fixFillOrKill

Sign Up for Future Release Announcements

Updated Credits and Action Required.

Rippled + xahaud = 🌍


Error when loading workflow from docs: "module 'workflows' not found"

Hi everyone,
maybe this I have overlooked something obvious but I am stuck here: I want to write a workflow and to test whether workflows get executed at all I just put the example workflow from here: https://porla.org/plugins/workflows into the workflows dir.
Then when I start porla the logs say:
[error]   Failed to load workflow "/var/lib/porla/workflows/test.lua": lua: error: /var/lib/porla/workflows/test.lua:1: module 'workflows' not found:
What am I getting wrong? Grateful for any pointers.

Hello!
Which version are you running? The docs follow the latest beta version (anything that is merged into main). If you're running the latest released version (0.35) I'd recomment updating, a bunch of stuff has been added and improved

Yes, running just latest. I'll update and report back.

Great! The Docker images are tagged beta-latest and the stand-alone binaries can be found under the Actions tab, for any build targeting the main branch.

Changed the tag and it works. Thanks a lot for the quick help.


Nested UI on 0.13.3

This is my router:
<Route handler={App}>
  <Route name="org" handler={Org} path="org">
    <Route name="org.terminal" handler={Terminal} path="terminal" />
  </Route>
</Route>

When I go to the path /org/terminal, only the Org component seems to be rendered. The render function of the Terminal component doesn't even get called.
It's clear to me that I must be missing something, but it's less clear to me what it is.
Thanks!

Do you have RouteHandler in Org component where Terminal will be rendered?

No; I thought the <RouteHandler /> exists in the top level component, so App here.
And I just tried adding it to Org, and no, it doesn't help.

App needs to render a RouteHandler and Org does too.

If that's the case, this is at least a documentation bug, as nothing in the documentation suggests that.
I just tried it again, and my apologies; that does work; I'd mistested the behaviour last night. Thanks for the help!


add version

Signed-off-by: Xianglin Gao<EMAIL_ADDRESS>

This change is

@feiskyer updated.

@feiskyer updated

@feiskyer updated

LGTM. Thanks.


showInlineBreakpointCandidates doesn't work

Steps to Reproduce:

set  "debug.showInlineBreakpointCandidates": false
create a test.js file
declare an object
add a breakpoint
run debug (F5)

Tested on a new installation, no special configs or extensions. Also tested on 1.42 on Linux.
Version: 1.43.0-insider
Commit: 4c9161a3f125f5a788aafa73a4ecfcb27dcfc319
Date: 2020-02-14T05:34:36.456Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18362

This is expected behabior. breakpointCandidates are "gray breakpoint locations". Turning the setting off disables those.
What you want to disable are column breakpoints which we do not support disabling.
It is up to the debug extension to move a breakpoint wherever it wants and in this case it moves it inside the line. Thus closing as designed.


Cherry-pick switch/case indentation PR

Cherry-picks and squashes #204 into the Swift 5.2 branch so it can be used against projects running the production Swift version.
Feel free to close if this you want to do this differently, just thought I'd save you some trouble from having to do it manually.

This apparently slipped under my radar. My apologies!
While not the original request, this change did go into the 5.3-compatible release.


Skip instrumentation of module with embedded ppbd without local sources

closes https://github.com/tonerdo/coverlet/issues/476
cc: @tonerdo

@ViktorHofer does it work with corelib?

/azp run

Will this also skip a module with an external PDB that doesn't have local source? That's another possible scenario that should probably be handled the same way.

Will this also skip a module with an external PDB that doesn't have local source? That's another possible scenario that should probably be handled the same way.

No this PR handle only embedded PDB...do you've some case with that issue?

If a nuget package includes the pdb's in it, default behavior will put them in the output directory, which would lead to the same issue.

If a nuget package includes the pdb's in it, default behavior will put them in the output directory, which would lead to the same issue.

Can you point me to a package that behave like that, so I can write a test.

I'd have to make one as I don't know one off the top of my head.

@ViktorHofer does it work with corelib?

I didn't test this but it should work fine as only changes to the ModuleTrackerTemplate are dangerous for CoreLib coverage.

@tonerdo can you take a look?
With this update I think that we could also remove fixed xunit filters...maybe in future.

@MarcoRossignoli we can go ahead an remove xunit filters before I make another release this Friday

@MarcoRossignoli we can go ahead an remove xunit filters before I make another release this Friday

@tonerdo I though about a bit more...I don't know if could lead to same problem in future, I mean what if for some reason xunit will remove embedded pdb?
Maybe we could keep filter as fallback. What do you think?


Disover card number validates as Maestro

Hi,
I'm trying out some of the credit card test numbers but there is an issue with Discover and Maestro numbers:
In the new version (with added meastro validation), and Discover number<PHONE_NUMBER>111117 for example) shows up as the wrong card. In the demo version at http://embed.plnkr.co/uE47aZ/preview, it does show up correctly as a Discover card.
I've tried numbers from these sites:
http://www.getcreditcardnumbers.com/ https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm
Is this a known issue?

Credit cards are weird ;)
Did some research on this a while back and found credible source indicating that the number you have above (common test Discover number) is not actually in the valid Discover range.
https://www.barclaycard.co.uk/business/files/Ranges-and-Rules-February-2016.pdf
I chose to validate correct with more complex regexes vs maintaining compatibility with processor-listed test numbers which inherently don't hit the payment network and therefore don't actually have to be in the real-world range.

Ah, thanks for the quick and great answer!


Apply FontCheck to FontOption

This will mean that if the font presented in FontOption is not detected, then there will not be a valid font presented to click on.

See v0.1.15


{App Service} Clean error messages relating to ASP creation

Related command

az appservice plan create

Description

Cleans outdated error messages related to App Service Plan creation. We no longer append "Plan with Linux worker can only be created in a group which has never contained a Windows worker, and vise versa." because this is no longer true (and has not been true for 2+ years).
We also make a Linux-specific error more generic in _client_factory.py, as nothing guarantees that this is only hit while creating a Linux App Service Plan.
Testing Guide

I was able to reproduce the original error message with the following commands:
az group create -n testgroup2 -l westus3
az appservice plan create --name windowstestplan --sku p1v3 -g testgroup2 --zone-redundant --number-of-workers 10
az appservice plan create --name hypervtestplan --sku p1v3 -g testgroup2 --zone-redundant --hyper-v --number-of-workers 20

Re-running the same commands with the changes from this PR, we instead see the following output:

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

App Service


First class web components support

What problem does this feature solve?
In Vue, we can bind any property with complex data type with v-bind directive:
<vue-component :prop-with-object="{ some: 'object' }" />

But for web components, we have to use .prop otherwise it's converted to string (=it's bound as attribute which supports only string)
<web-component :prop-with-object.prop="{ some: 'object' }" />

It would be nice if there is no difference between web components and vue components.
What does the proposed API look like?
<web-component :prop-with-object="{ some: 'object' }" />

should set web component propWithObject property by default (no need for .prop)

We can check if an element is a custom element but we cannot know which properties are props or which bound values are meant to be bound as attributes or props. It will mean we will have to keep a list of attributes and keep it updated which is error prone, even more considering cross browser support.
Are you using https://github.com/vuejs/vue-web-component-wrapper?
I think this kind of behavior should be in a plugin
Regarding the props being set to string. Best Practices for web components says to use primitive values for attributes and rich data for properties: https://developers.google.com/web/fundamentals/web-components/best-practices (search for primitive or rich data, I couldn't find an anchor)


PiT 24.5: project UI tests are broken since c4b25322

In commit c4b25322 test where broken since, greet service response is wrote in a <p> instead of in a <vaadin-notification>, thus MainViewIT needs to be updated

@mstahv can you take a look?

Fixed with https://github.com/vaadin/skeleton-starter-kotlin-spring/commit/56f995e8e7eeaa00ed6ab10e88a64bc67adeb7f8


Update index.html

You have to add stat sections after testimonials

Not appproved

I'll change the file again.

Pls change it


Error when opening application from email (as Program Admin)

Describe the bug
As a Program Admin, I receive an email every time there is a completed application. The email contains a link to the application. When I click the link, I get a 403 error message. If I go to civiform.seattle.gov and click "admin", I am able to successfully login. Is it possible to access applications directly from the email without going to civiform and clicking admin first?
To Reproduce
Steps to reproduce the behavior:

See an email for a completed application
Click on the link within the email to the completed application
See the 403 error

Expected behavior
Able to go from the email link directly into the CiviForm Program Admin role to view the completed application

I'm pretty sure some work Tom did earlier this week will resolve this. I just updated the Test server. Can you check?

@elisekalstad Test it out!

Appears to be working now.  Marking closed.


[Automated workflow] upgrade-unity from 2022.2.0f1 to 2022.2.2f1 - URP: false

Automated changes by create-pull-request GitHub action

Wrong naming!


Edge - Typing always creates new line

Before report an issue, be sure to put these informations. Thanks :)
Informations
Browser + version:
Edge : 20.102240.16384.0
OS:
Windows 10 Pro
Resolution:
1920x1080
How to reproduce the bug?
Just start typing on your homepage

See #502


Support ?-based jsonb operators in Postgres

We already support most postgres jsonb operators, but were missing the ?-based ones. This commit adds support for them in both the tokenizer and the AST enums.  This is simplified in the tokenizer with a dialect-specific carve-out, since Postgres thankfully does not also use ? for anonymous prepared statement parameters.
This resolves https://github.com/sqlparser-rs/sqlparser-rs/issues/1236

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

78 of 89 (87.64%)  changed or added relevant lines in 5 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.004%) to 89.21%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/parser/mod.rs
15
16
93.75%

src/tokenizer.rs
6
9
66.67%

tests/sqlparser_postgres.rs
27
30
90.0%

src/ast/mod.rs
10
14
71.43%

Files with Coverage Reduction
New Missed Lines
%

src/tokenizer.rs
1
90.18%

tests/sqlparser_common.rs
2
89.59%

Totals

Change from base Build<PHONE_NUMBER>:
-0.004%

Covered Lines:
23672

Relevant Lines:
26535

💛  - Coveralls


Fixes encoding for Sarif as well

Previous fix ended up only applying to JSON

Elevating this from previous PR discussion to this relevant PR. @gfs let me know, once ready to test, happy to verify when live.
Previous Converstion
^

Thanks for jumping on this! I ran the action and got further, but it produced a malformed devskim-results.sarif (perhaps empty), so the codeql-action/upload-sarif step failed.
https://github.com/ben-manes/caffeine/actions/runs/3279520184/jobs/5408265072

Here's screenshot for more context on the error that this PR will fix.

The CI usually takes 15-30 minute before the new version is available on nuget. I'll let you know when I see it show up.

It appears to be working now with the v1 tag. If you're still having issues be sure to let me know.
https://github.com/microsoft/DevSkim/actions/runs/3283755416/jobs/5412504221

lgtm, thanks!

Works for me now, thanks so much for the fix!


[WIP] Comparison between Quill and other alternatives for CQL

Address #162.
This adds a draft of the comparison Quill and other alternatives for CQL. So far I have only found another one, Phantom. I was going to include Astyanax, but given this announcement it really doesn't makes sense.
Should I include the Datastax Java driver in the comparison?

I spent sometime making sure that both examples I provide compile.

Current coverage is 97.38%

Merging #164 into master will not affect coverage as of 073ef7b

Powered by Codecov. Updated on successful CI builds.

@lvicentesanchez are Phantom's queries composable as well?

Should I include the Datastax Java driver in the comparison?

Yeah, it'd be nice. I think many people consider the java driver the best available alternative.

What do you mean by composable? Like in a for comprehension? Not that I'm aware... I mean, once you run them you get Futures so you can compose those futures, but nothing more than that. Are quill-cassandra queries composable? I wasn't aware of that.

Btw... I have just tried operators like union and unionAll on quill-cassandra query like this:
  val getByName = quote {
    (n1: String, n2: String) =>
      query[Person].filter(_.name == n1).union(query[Person].filter(_.name == n2))
  }

And I got an error, as I expected:
[error] /Users/lvicentesanchez/development/repositories/github/lvicentesanchez/quill-test/src/main/scala/io/github/lvicentesanchez/quill.scala:37: exception during macro expansion:
[error] java.lang.IllegalStateException: Invalid cql query: query[Person].filter(x1 => x1.name == ?).union(query[Person].filter(x2 => x2.name == ?))
[error] 	at io.getquill.util.Messages$.fail(Messages.scala:8)
[error] 	at io.getquill.sources.cassandra.CqlQuery$.apply(CqlQuery.scala:59)

What do you mean by composable? Like in a for comprehension? Not that I'm aware... I mean, once you run them you get Futures so you can compose those Futures, but nothing more than that. Are quill-cassandra queries composable? I wasn't aware of that.

Although it isn't too useful given the simplistic CQL grammar, it's possible to compose parts of the query. For instance:
val person = quote {
  (id: Int) =>
    query[Person].filter(_.id == id)
}
val age = quote {
  (id: Int) =>
    person(id).map(_.age)
}

Also, does Phantom have mechanisms like infix and custom encoding?

Should those operations be available for CqlQuerys? I don't think so. If you agree I will create an issue to address this before #161.

These operations aren't supported by Cassandra, correct? I'm not sure I understand, would you like to have a better error message?

Yes, a better error message would do the trick (I think that's part of one of the pending tickets for 1.0). Phantom doesn't support composable queries in that way then. I haven't found a simple way to extend the DSL like infix, but I'm going to ask in the mailing list (if there is one). But I think it could be possible to do custom encoding by creating a custom Column definition (like StringColumn in that example).
I'm going to change the document and focus on implementing examples for the java driver, Phantom and quill of the following features:

[ ] Simple query.
[ ] Query composition (if supported)
[ ] Extensibility if supported, e.g. infix
[ ] Custom data types (custom encoding)
[ ] Non-blocking IO

Just remembered another thing. Phantom seems to have a bunch of dependencies, while quill has very few. It might be something worth comparing.

@fwbrasil ah sure, I was going to include that in the next version, e.g. the reactive-streams support adds dependencies on reactive-streams and akka.

This is ready for a review, and I'm sure that I would have to fix/add a few things.

Thank you for putting this together! It's a very good comparison. I've made some suggestions to make the text more neutral, try to avoid "we", "you", etc.


update timer_159B_pretrained test results

Preliminary attempts will be made to submit the results to the leaderboard. If there are any issues or updates with our model in the future, adjustments may be made.

Hi @ZDandsomSP,
Thanks for the contribution! I would like to ask what the model is used to get the results. Any pointers?

Hi @ZDandsomSP,
Thanks for the contribution! I would like to ask what the model is used to get the results. Any pointers?

The specific model is Timer. We used our latest XL version and pre trained it on an internal large-scale pre training dataset of 159 Billion data points, and tested the results under this testing framework. However, we have found that there may be issues with the results of this version, and we will close the PR and conduct new testing

Thanks for the clarification @ZDandsomSP . Look forward to your new PR with the latest results!


Turn off head gaze override by default

Overview
As the platform feature begins roll-out, it'd be best to allow this feature to be opt-in until broad deployment of the feature is achieved.
Request from the platform team.

/azp run


Enable/Disable emails

Currently, each modification results in an email sent.
It would be nice if each user could manage the alerts they wish to receive (on its own modification, on add/modify/remove/column change/comment/...)

That's a useful feature to add in the future.


Clarify acronym

Please define CSPM in the the Secure IaaS services and custom apps section

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

ID: 1b4e4354-bfb5-1b0a-d6d6-734290a15963
Version Independent ID: 62d41ec5-f48d-d7fb-406a-2810a4ff4fbc
Content: Best practices for protecting your organization - Cloud App Security
Content Source: CloudAppSecurityDocs/best-practices.md
Service: cloud-app-security
GitHub Login: @shsagir
Microsoft Alias: shsagir

Thanks for your feedback. CSPM stands for Cloud Security Posture Management and in the context of Microsoft Cloud App Security refers to the security configurations assessments. We've submitted a documentation change based on your suggestion, and the updated article should be live by tomorrow. Please let us know if there's anything more we can do for you. To follow up on this issue, leave us a comment with an @mention.


Add BlueprintMetadata manifests for jupyter and rag modules, update cluster creation logic in infrastructure so it can be used by IM

Add Jupyter and RAG app blueprint files
Restructure code so modules have complete paths
Enable cloud SQL API by default
Fix cluster creation in /infrastructure

Restructure code so modules have complete paths

Your change isn't using complete paths, it's using URLs. This breaks local development, as it's pulling modules from github HEAD.


Break up apps/gkyl_gyrokinetic_priv.h header

This header is >1400 lines long, and it's being used to house the private stuff for multiple objects. I think we should break it up.

I do not think 1400 LOC is a big file. It is okay for files to be big, as long as they are logically arranged. I am not sure we need to bother with this. I will keep the issue open to revisit, if needed, at a later point.

if number of lines is not an issue, then I'd think having a single private header for multiple objects, rather than a private header for each object like we do elsewhere in most of the code, would be. It's better to have separable objects, rather than objects intertwined by a monster file.

App layers is fundamentally different than the code in zero.  GK App is one unified thing. Other individual objects in zero layer are ... well, individual and so should not be mixed. We could split the header up. At present I do not think that is important. We will look at the code more closely soon.


HtmlElement.type(Keyboard) should append the given string, even if the first character is prevented.

Hi,
I have found a regression (edge-case) in HtmlElement.type(Keyboard).
If the first given Character/KeyEvent doesn't satisfy the checks in HtmlElement.type(char, startAtEnd, lastType), then the remaining string will be prepended to the input fieldand NOT appended.
A test (for HtmlElementTest.java) for this edge-case may look like this:
    /**
     * If the first typed character is prevented by preventing it's
     * KeyPress-Event, the remaining string should still be appended and NOT
     * prepended.
     *
     * @throws Exception
     *             if an error occurs
     */
    @Test
    public void typePreventedCharacterFirst() throws Exception {
        final String html = "\n"
            + "\n"
            + "  <input id='myInput' type='text' value='Hello'>\n"
            + "";

        final HtmlPage page = loadPage(html);
        final HtmlTextInput input = page.getHtmlElementById("myInput");
        // type prevented Character first
        input.type("\nWorld");
        assertEquals("'World' should be appended.", "HelloWorld", input
                .getValueAttribute());
    }

My naive fix is to remove the i == 0 expression from  HtmlElement.type(Keyboard) - Line#632.
But as I don't understand the reason for this expression in the first place, I am hesitant to provide a Pull-Request.
Maybe there is something more to the selection configuration in DomText.doType(char, boolean, HtmlElement, boolean)?

The result is the same if i remove the \n from you type call. Does the test really show your problem?

Seems to be a case when using WebDriver sendKeys() right?

Yes, I discovered this behavior with the current HTMLUnit-Webdriver.
I will check the test case regarding your first comment as soon as I am
back in the office tomorrow.
Thank you already for your fast reply.

Thanks again.
Regarding the posted test:
As you noticed I used the wrong  type()-Method. A correct test case has to use the following snippet instead of the type(String) method call:
        // type prevented Character first
        String toAppend ="\nWorld";
        // create Keyboard with these characters and set it, to append them
        Keyboard keyboard = new Keyboard(/*startAtEnd=*/true);
        toAppend.chars().mapToObj(i -> (char)i).forEach(keyboard::type);

        // use the 'keyboard'-type()-Method
        input.type(keyboard);

Made a first try to fix this. Lets see what our build server thinks about this.


Add call section to settings screen

I haven't implemented logic for toggleCallKit  yet. I need your advice in this question.  On each toggling we need to set appropriate value of MXCallManager's callKitAdapter. And i don't know if it's better to create a method in AppDelegate or send a notification and handle it in AppDelegate.
Signed-off-by: Denis Morozov<EMAIL_ADDRESS>

You can use a KVO on MXKAppSettings.enableCallKit like at https://github.com/vector-im/riot-ios/blob/master/Riot/AppDelegate.m#L1542.


How to add a progress bar and button to bottom nav bar?

Hello. I am trying to add a progress bar to the bottom navigation bar using the following code:

        <button class="btn btn-sm" type="button" onclick="halfmoon.toggleDarkMode()">Switch colour</button>

I have tried different combinations, but somehow progress bar is not rendered at all or overlapped with the button. Could you please help me to render progress bar in bottom nav. Thank you in advance.

Answer to myself. If you would read the doc carefully then you would find that the progress bar should be placed inside of the container

Code:

    <button class="btn btn-sm" type="button" onclick="halfmoon.toggleDarkMode()">Switch colour</button>


Jest Snapshot issue

Hey guys,
Just started on a new project and i m having trouble setting snapshot.
When using svg from this librairie i get this type of snapshot diff on each test
<RNSVGClipPath
    -             name="egjvux8-animated-diff"
    +             name="q84fjud-animated-diff"
                >

 <RNSVGRect
    -           clipPath="d2lxy18-animated-diff"
    +           clipPath="7wontju-animated-diff"

It seems to generate unique id every time.
Any idea how to solve this ?
Didn't find any mention of this problem around.

Update:
The unique id came from https://github.com/danilowoz/react-content-loader
So be wary if you are using this lib to set the uniqueKey props to a fixed value.


Installer run while OSX is in dark mode is user un-friendly

System information:

OSX 10.15.2 (Catalina)
6.3.5

Describe the problem you're observing:
I just upgraded via the pkg installer.  It ran and I was able to install, but it was difficult to read the text (see image)
Steps to reproduce, if exist:
I didn't try to reproduce :\
DBeaver's theme is set to Dark[Linux], while the general OS is in dark mode -- not sure which controls the theme of the installer.

thanks for the bug report

Fixed

issue still reproduces

fixed


IoT Edge 1.5

When will EFLOW be updated for IoT Edge 1.5? 1.4 LTS end of life is this November. Would like to start planning the upgrade process.

Any updates on this topic?

@Azure/iotedge-eflow - Can you please answer this question?

Hi @maggiojoe2, we are currently working on the EFLOW release with IoT Edge 1.5. This will be released before the 1.4 EOL date, but we do not have a specific date to share at this time.

@SummerSmith there are now 12 days until IoT Edge 1.4 is end of life. When is the 1.5 release for eflow planned? Do we have any information on how the upgrade will work? This is cutting very close on how long we will have to update our devices.

@maggiojoe2 , @ryanwinter , @nelsonmorais , we released a new EFLOW version with support for IoT Edge 1.5LTS last week. You can find the release notes here


[release-2.7] Remove the build harness

These are cherry picks from the main branch.

/retest

/retest

/retest

/retest

/retest

This requires #564

/retest


HBASE-25276 Need to throw the original exception in HRegion#openHRegion

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.


Make listing and decompiler areas accessible for screen reader users

When trying to use Ghidra with the NVDA screen reader, a lot of the UI is accessible, however, the likely most important areas (the machine code and the decompiler listing displays) are reported only as panel without any way to access their content.
That's somewhat frustrating, because as a visually impaired developer you can not rename variables and do all the useful stuff.
I have no idea how complex the needed changes would be (i've never written such complex Java GUI app), so even i'd much prefer to make this a bug report, i'm reporting this as a feature request instead.

The Listing and the Decompiler (along with some other widgets, like the Byte Viewer and the Function Graph) are custom widgets whose rendering we control directly.   I'm assuming standard Java widgets are known to the screen reader you mentioned.   We will have to see how we can update our custom rendered components in order to provide data to the screen reader.

That's true. A quick Google yielded this document from Oracle for starters: https://docs.oracle.com/javase/tutorial/uiswing/misc/access.html
Maybe it'll be useful that the source code is available, i assume that these widgets will not be as straightforward, but thansk for the response anyway.

I did some brief research on this.   I was hoping for a quick 80% solution, but it appears that it may not be that easy.   Java has a layer of support built-in for accessibility, but it seems as though it was never fully implemented.   Compounding the issue is that each platform's reader tools vary wildly in how well they use Java's API.
In theory, our custom widgets should be able to tap into Java's existing API without too much effort.   We won't know exactly how much work it will actually take until we can get some tools to test with on each of the platforms.   My gut feeling is that we can still provide a reasonable improvement without too much development effort.

I thought this over carefully. In my opinion the AccessibleText interface from javax.accessibility needs to be implemented for the custom-rendered widgets, and probably also the AccessibleSelection interface for the byte viewer and the function graph widgets. These are mature, well-documented interfaces that exist since at least from Java 7 (maybe earlier). Findig their doc is trivial by their names. After reading through the doc for these interfaces, it seems a moderate amount of work to implement these for the given widgets. And then screen readers would get the neccessary info about these custom widgets for their purposes and that alone would make them accessible. That's how this works.
Testing on Windows is best done with the free and open source NVDA screen reader obtainable from www.nvaccess.org orr fromtheir github page. On Linux Orca is the only screen reader that is equipped with Java accessibility support. Best test bed is Ubuntu Mate, just press Alt-Super-s to launch Orca. MacOs has VoiceOver screen reader built in, but I don't know about its Java interaction capabilities, as I have never used a Mac.
I hope this info helps much and puts this important issue back on track toward solution.

One more important thing: in order to implement the accessibility interfaces mentioned in the previous comment for the custom widgets, first the Accessible interface from javax.accessibility needs to be implemented for them, if not implemented already in some way. That interface has one method: getAccessibleContext which should return an AccessibleContext class. That class is the "root hub" for all things connected to accessibility for that widget. That class contains basic info about the widgets for screen readers, like name, description, accessible parent and children etc. That class also has additional methods through which such objects can be returned that implement the mentioned accessibility interfaces. E.g. for the listing and decompiler area widgets, the AccessibleContext class for them should contain the getAccessibleText method that should return such an object that implements the AccessibleText interface and can expose the caret position and text itself in those areas together with its visual representation (text attributes and location on screen) through that interface to the screen reader.

I am willing to work on this very much. I have some very very early evolving prototype code already, which I refine as I explore docking.widgets.fieldpanel internal logic step by step. However I face very tough and nasty crashes of NVDA screen reader on the code browser main ui after certain interactions with it (on original, unmodified Ghidra). These hinder my work very much and if not resolved somehow will make my testing (once I get there) practically impossible.
I reported this crash thing to NVDA devs in detail here:
https://github.com/nvaccess/issues/12045
@tyrylu please read through the linked issue. Have you experienced anything like that? Can you reproduce the crash with the given steps? If yes please report your experiences at the linked issue in comment. That may help NVDA devs much. Thanks.

I correct the issue link I have just posted:
https://github.com/nvaccess/nvda/issues/12045
I typed it by hand and omitted something. Sorry.

I will look into it.

Are there any updates on this issue? The latest Ghidra seems to somewhat work with these screens, except the text fields don't seem to read. They just say blank, or sometimes "Line 1: No function".

Sorry, I should've been clearer. It certainly works better than anything else I've tried, but some stuff doesn't, mainly parts of the decompiler and listing views.
When I say text field, I mean an edit field (something you can typically type in). I'm actually entirely uncertain how this looks visually, but my screen reader, NVDA, sees two multiline text fields in this view, one for the listing and one for the decompiler. Perhaps these have the wrong roles and that's why they don't work? In either case, it's mainly these that I have problems with. The rest of Ghidra can be made to work using a combination of hierarchical navigation keys, or with OCR, but I just can't get either of these areas to display anything useful. I can access all the buttons and everything, I just can't access the info. I'm assuming it's stored in these edit fields.

Do you have a program open? Have you imported a program? Until you do, both the Listing and Decompiler are empty. I ask because before you mentioned the Decompiler was reporting "No Function" which is what it displays when there is no function selected in the listing (or no program is open). Last summer, I tried adding support for screen readers for these Ghidra custom components. I don't know how successful I was, because I have gotten no feedback. I don't think anyone else besides me has even tried it. I used NVDA to do my development, but the support tools and documentation I could find were not very robust and our development environment are severely restricted.  Anyway, at least for me, the screen reader provides info on each field in the listing and decompiler as I move the mouse over them or navigate to them using the cursor or tab. So I guess I expect it to report some info for each field. I thought the biggest issue would be if I was providing too much info or too little.

Also, keep in mind, that neither the listing or decompiler views have any input fields. They are display only, unless you invoke some action using keybindings or popup menu that pops up an input dialog.

If it is the case that you don't even have a program open, perhaps i need to add code to specifically handle that to say something like "No program open" instead of just saying "blank" or nothing if there is no program open.

Are you saying that Ghidra does not run? Or that Ghidra runs, but the screen reader is not working with Ghidra?

No, I have a program open. They're read-only text fields, yeah. But the contents just don't read. Pressing the arrow keys in both of them just says blank, no matter what I do. In addition, I can't tab around at all.

his all seems to be working for me.

Can you post a screenshot of the tool with the UI widget that contains the cursor when you are trying this?

Try this:

Place your cursor in the Listing view on an assembly instruction
Press the arrow key
The cursor should move to the next letter

Regarding the term 'text field', is the screen reader using this term?  Or, are you using this term generically to mean a UI widget that contains text?

I opened an executable in Ghidra, tabbed until I found the code browser button, and hit it. I then was landed on a tree view that only contains the node of "data types". If I expand it I get a few random things, but nothing super important. If I tab I then get a filter text field, and eventually land on the listing view. My screen reader says "Listing  edit  blank". It calls this an edit field, the same way it calls the code browser that, although it says "read-only" as well in that case. This is what I mean when I say text field.
Attempting to navigate around the listing view at all just says "blank", and I'm also unable to tab out of the text field to other controls once I enter it.

I just tried running the screen reader in a different environment (on a mac) and I'm seeing the behavior you are describing. I will investigate.

Ok. So when I run this on the amazon ec2 instance where I did the work, the screen reader seems to work. Every time
I either move the mouse over something, it reads it to me. Or if I tab or arrow around in the listing view it reads to me. For example, if I'm on a field and press "right arrow", it will read just the letter if I'm on the same field. But if that causes it to move to the next field, it reads the entire field text.
My ec2 instance is running a server version of Windows and I am using NVDA 2022.4. But when I run this on my personal Mac system, I get behavior very similar to what you describe.  When I first click on the listing, I get a full reading of whatever field I clicked on, but then moving with the cursor I get nothing at all. Clicking with the mouse, I get something, but it is wrong and says something like "field is blank" and that I'm on a text field, similar to what you reported. But if I give keyboard focus to some other component and then give focus back, it again reads correctly one time and then is broken again as long as I remain in the listing view.
I think my next step is to update the NVDA version and see if it still works for me. I suppose it could also be related to the version of Java I'm using. Anyway, I will continue to investigate this.

I have since tried this on a windows desktop computer running Windows Home and NVDA 2023.3 and it worked as expected. I also asked someone with a windows laptop (also running Windows Home) to test it out. At first, the NVDA was not working at all with Ghidra. But after fiddling with it a bit (and maybe there a reboot in there somewhere, not sure), it suddenly started working after checking some setting that made the caps-lock key be the NVDA key. But a lot of settings were tinkered with, so I don't think it really had anything to do with the NVDA key being caps-lock. Anyway, the bottom line is that it did eventually work.
Reading back through your posts, I really think you don't have a program open in the code browser tool. Having a program open in the tool is not the same as having imported a program in the project window. When you run a tool, you have to explicitly open a program, either by dragging a program onto the tool or using the "open program" menu item. If I run a tool and don't open a program, I get exactly the behavior you describe. The listing window, just keeps repeating "Blank" as you press the arrow keys. There are several other places you can navigate to verify that a program is open. For example ,the "program tree" window will read "no program" if a program is not open or node name will be the name of the program. Also, if a program is open, the data types tree will have three children under the root instead of just two and one of them will be the name of the open program. Also, if a program is open, the File->close program menu will contain the name of the open program and not just say "close program".

It would appear that you're right! I still have a good amount of accessibility feedback for improvements, but this works, and I'll open an issue for those. Thanks so much!

Great! I know there are lots of issues, especially regarding keyboard only navigation. That is an area we hope to address soon.  But any feedback on the screen reader support specifically would be very helpful.


doc: added Java dependency to CONTRIBUTING.md

Local running of PySpark on ONS Windows requires Service Desk request.
The error raised doesn't appear to be breaking, test scripts ran transformations and actions on test data, but there may be challenges for IO issues as it's a hadoop based error.

Change in development direction meaning this may be redundant. Leaving for now


validate dates between fields

I've tried to pass a string on the validation.Date() method and i'm getting this error:

end_at: must be either a string or byte slice; start_at: must be either a string or byte slice.

The struct:
type Price struct {
	StartAt      time.Time `bson:"start_at" json:"start_at"`
	EndAt        time.Time `bson:"end_at" json:"end_at"`
}

The validation:
func (p Price) isValid() error {
	return validation.ValidateStruct(&p,
		validation.Field(&p.StartAt, validation.Required, validation.Date("")),
		validation.Field(&p.EndAt, validation.Required, validation.Date("").Min(p.StartAt)),
	)
}

The payload:
{
    "end_at": "2019-10-01T00:00:00Z",
    "start_at": "2019-11-01T00:00:00Z"
}

the doc says:

An empty value is considered valid. Use the Required rule to make sure a value is not empty.

Can i set a min value using another field?

The Date rule is used to validate a date/time string. You can use Min and Max rules to validate the range of a time.Time value.


serviceWorker.js not created in my react app in visual studio code

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.69.2
OS Version:

Steps to Reproduce:

Open visual studio
create a new react app

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


iavl: make nodedb/tree code more readable

https://github.com/tendermint/merkleeyes/pull/12#discussion_r114123709:
It feels weird to me that the node takes the tree as an arg. I know this is how it was, but I wonder if we can remove that. eg. writePersistBytes takes the tree but doesn't seem to use it.

stale. @cloudhead re-open in /iavl if issue still applies


[AutoPR edgegateway/resource-manager] Update API version, update data contract for Order APIs

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

(message created by the CI based on PR content)

Codecov Report

Merging #4368 into restapi_auto_edgegateway/resource-manager will increase coverage by 0.69%.
The diff coverage is n/a.

@@                              Coverage Diff                              @@
##           restapi_auto_edgegateway/resource-manager    #4368      +/-   ##
=============================================================================
+ Coverage                                       53.4%   54.09%   +0.69%
=============================================================================
  Files                                          10597     9830     -767
  Lines                                         228742   207187   -21555
=============================================================================
- Hits                                          122155   112085   -10070
+ Misses                                        106587    95102   -11485

Impacted Files
Coverage Δ

.../hdinsight/operations/script_actions_operations.py
25.75% <0%> (-71.22%)
:arrow_down:

...re/mgmt/hdinsight/models/application_properties.py
29.41% <0%> (-70.59%)
:arrow_down:

...gmt/hdinsight/models/application_properties_py3.py
29.41% <0%> (-70.59%)
:arrow_down:

.../hdinsight/operations/configurations_operations.py
32.14% <0%> (-64.29%)
:arrow_down:

.../operations/script_execution_history_operations.py
31.91% <0%> (-63.83%)
:arrow_down:

...t/hdinsight/models/runtime_script_action_detail.py
38.46% <0%> (-61.54%)
:arrow_down:

...insight/models/runtime_script_action_detail_py3.py
38.46% <0%> (-61.54%)
:arrow_down:

...hdinsight/models/disk_encryption_properties_py3.py
40% <0%> (-60%)
:arrow_down:

...gmt/hdinsight/models/disk_encryption_properties.py
40% <0%> (-60%)
:arrow_down:

.../mgmt/hdinsight/operations/locations_operations.py
43.33% <0%> (-56.67%)
:arrow_down:

... and 917 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 5cbd0a7...0b7a781. Read the comment docs.

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


Fix native networks to work with generated future equals to horizon

Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[x] Did you write any new necessary tests?
[x] Did you update the CHANGELOG?

Proposed Changes

Pass horizon instead of decoder_length in forecast.
Call make_future with decoder_length in pipeline
Fix tests for native networks.

Closing issues
Closes #925.

Codecov Report

Merging #936 (dc5ab31) into master (9aede87) will decrease coverage by 31.43%.
The diff coverage is 0.00%.

:exclamation: Current head dc5ab31 differs from pull request most recent head c754a50. Consider uploading reports for the commit c754a50 to get more accurate results

@@             Coverage Diff             @@
##           master     #936       +/-   ##
===========================================
- Coverage   84.99%   53.56%   -31.44%
===========================================
  Files         133      133
  Lines        7611     7608        -3
===========================================
- Hits         6469     4075     -2394
- Misses       1142     3533     +2391

Impacted Files
Coverage Δ

etna/models/base.py
80.65% <ø> (-6.94%)
:arrow_down:

etna/pipeline/pipeline.py
83.78% <0.00%> (-13.52%)
:arrow_down:

etna/commands/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/commands/backtest_command.py
0.00% <0.00%> (-97.06%)
:arrow_down:

etna/commands/forecast_command.py
0.00% <0.00%> (-94.88%)
:arrow_down:

etna/commands/__main__.py
0.00% <0.00%> (-87.50%)
:arrow_down:

etna/commands/resolvers.py
0.00% <0.00%> (-80.00%)
:arrow_down:

etna/analysis/outliers/density_outliers.py
22.44% <0.00%> (-75.52%)
:arrow_down:

etna/libs/pmdarima_utils/arima.py
26.00% <0.00%> (-74.00%)
:arrow_down:

etna/transforms/timestamp/time_flags.py
27.02% <0.00%> (-72.98%)
:arrow_down:

... and 82 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Remove previous children when setting element text

Previous children are freed when text is set

:+1: looks good as long as it works for child attributes and namespaces as well.

@rc0x03 Since attributes and namespaces don't descent from XmlElement, this won't affect how they are handled. But as far as I can tell, no special handling is needed. Do you have a case in mind?

Any child attributes, namespaces, text nodes and comment nodes should also cause a segfault when their parent node text is modified and they try to unref their parent. Look at the attribute example in the test code I provided.

Actually, since we're unlinking the child it shouldn't matter because we ref the child before we can ref its attributes or namespaces.


tests(perf): add "bring-your-own" provider

This PR moves the perf test in CI off equinix and to a pre-provisioned provider.

verified in https://github.com/Kong/kong/pull/9682


Parallel mapping fix

CompositeByteBuf::discardReadComponents was called before mapping process in case of delayed mapping.
Now we create new CompositeByteBuf from required parts for every envelope and that allows us to call discardReadComponents safe.
It should fix issues #107, #91 and #86.
#86 was tested with this gist.
#107 was tested with this gist and database from issue
#91 wasn't tested (need some help from someone with kotlin environment), but issue seems to be the same.

@mp911de @nebhale how could we move forward with this bug fix?

Thanks for the ping and sorry for the long radio silence. We want to merge this PR. It would be great to fix the memory issues. As you've spotted these, do you want to submit a PR for these as well? This time, it will not take months to get these merged.

That's merged now.


Fixed order of fields in bgfx_caps_t not matching bgfx::Caps

c4fa560 added two new fields to different positions in the C++ and C99 headers

Ouch! 👍


Update DataFrameVectorizer.py

DeprecationWarning: The module is deprecated in version 0.21 and will be removed in version 0.23. This module was removed in the latest scikit-learn version. please remove this module.

Coverage decreased (-16.1%) to 64.032% when pulling e4833e4c42f846fd1f4ae64b55af3d231481b0f7 on karthikreddykuna:patch-1 into 4b7e0e759023cdbc96b471c64bfd67203e2b5734 on ClimbsRocks:master.


Trained model available?

Hi,
Thank you for this work. I am wondering if you will release the trained GEOM EDM model in the future?

It is located here: https://github.com/ehoogeboom/e3_diffusion_for_molecules/tree/main/outputs/edm_geom_drugs

thank you, would it be possible for you to describe how I can try the GEOM EDM model to generate conformers for a set of molecules of my choice (not in the GEOM or QM9 set)?

Sorry I missed this message, yes it might be possible but you would have to do something as given here (see the discussion https://github.com/ehoogeboom/e3_diffusion_for_molecules/issues/3)
Alternatively, you might be looking for a model just for conformation generation, such as GeoDiff. Those models take in the molecular graph as input, and generate possible conformations for them.


"sdk_depends_ext" fails

Description
SDK generation fails on dunfell

Steps to reproduce the issue:

Generate the SDK bitbake <image_name> -c populate_sdk_ext

Describe the results you received:
The following error occurs:
do_sdk_depends: The file /lib/firmware/brcm/brcmfmac43430-sdio.MUR1DX.txt is installed by both linux-firmware and linux-firmware-rpidistro, aborting

Describe the results you expected:
The SDK gets built as usual
Additional information you deem important (e.g. issue happens only occasionally):
Additional details (revisions used, host distro, etc.):

I think this issue should be closed
I have followed the below steps to reproduce this issue but unable to get the following error :
do_sdk_depends: The file /lib/firmware/brcm/brcmfmac43430-sdio.MUR1DX.txt is installed by both linux-firmware and linux-firmware-rpidistro, aborting
$ git clone -b dunfell git://git.yoctoproject.org/poky.git $ git clone -b dunfell https://github.com/agherzan/meta-raspberrypi.git $ git clone -b dunfell https://git.openembedded.org/meta-openembedded$ git clone -b dunfell git://git.openembedded.org/openembedded-core $ . ./oe-init-build-env
`/poky/build$ cat conf/local.conf
MACHINE ??= "raspberrypi"
IMAGE_FSTYPES += "tar.bz2 wic wic.gz wic.bmap "`
`/poky/build$ cat conf/bblayers.conf
POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= "
/poky/meta
/poky/meta-poky
/poky/meta-yocto-bsp
/poky/meta-raspberrypi
/poky/meta-oe
/poky/meta-openembedded
" bitbake core-image-minimal -c populate_sdk_ext
Loading cache: 100% |#####################################################################################################################| Time: 0:00:02
Loaded 2354 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "raspberrypi"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.18"
TUNE_FEATURES        = "arm armv6 vfp arm1176jzfs callconvention-hard"
TARGET_FPU           = "hard"
meta
meta-poky
meta-yocto-bsp       = "dunfell:d695bd0d3dc66f2111a25c6922f617be2d991071"
meta-raspberrypi     = "dunfell:2081e1bb9a44025db7297bfd5d024977d42191ed"
meta-oe              = "dunfell:d695bd0d3dc66f2111a25c6922f617be2d991071"
meta-openembedded    = "dunfell:52cee67833d1975a5bd52e4556c4cd312425a017"
Initialising tasks: 100% |################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 1 Found 0 Missed 1 Current 1536 (0% match, 99% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 4165 tasks of which 4162 didn't need to be rerun and all succeeded.`

Thanks @anilrath51 for confirming. Closing.


Add support for Network Device Naming in Hyper-V

In Windows 10 and Windows Server 2016, Microsoft have introduced a set of new capabilities around managing virtual network adapters, more info here.
This feature can be leveraged to mitigate the network adapter naming issue which often occurs when working with DSC configurations where network adapter names is hard coded.
For example, in the bootstrap file, it could be added a few lines to check whether the property "Hyper-V Network Adapter Name" has a value, and if so rename the network adapter inside the guest operating system to the same name.
Another possibilty could be creating a separate DSC Resource for this.
I'm open to contribute, but I'd like some views on the best way to do this.
We must also remember to enable Device Naming when creating VM network adapters in the Lability module.

@janegilring Think out loud here. I think we can look at incorporating the Hyper-V Device Naming functionality when we drop support for v4 and target Server 2016/Windows 10.
Realistically though, I think the effort should be put into a DSC resource that would benefit everyone. @PlagueHO is proposing an AdapterName resource and I also think that @TravisEz13 had some prototype code. Somewhere..?

I totally agree on that thought, having a DSC Resource for this independently of Lability would benefit other scenarios. And Lability could still use it without much (or any?) change.


How to add Springfox/Swagger annotations in an existing Java source code.

[ ] SpringFox 2.9.2

What kind of issue is this?

[ ] Question. I have an existing Java source files( without swagger annotations). I would like to add swagger annotations( 'ApiOperation', 'ApiParam' etc. ) in these Java source code files.
Is it possible to read Java docs through reflection/Doclet and update an existing plain Java files with swagger annotations to apply SpringFox library for further process?
Is there any available library or solution to my requirement?

@vaibhavn Springfox is designed to work without any additional annotations. I would recommend trying that first.

I might have not clearly mentioned in my question, my bad !
My Java code is not a spring project code.
How can I generate swagger JSON using Springfox without having spring annotations like '@RestController', I believe system is not going to scan Java source code unless it is annotated with Controller/RestController etc.
Currently I am adding these annotations manually to generate swagger JSONs.

@dilipkrish did you get my concern?
Please let me know if you need more information.

I am planning to use 'JavaParser' ( https://javaparser.org/ )


Fixed copyright line in file headers

This pull request fixes the copyright headers in the project. Basically it restores the original Oracle copyright lines in the code that was transferred back then and it unifies the headers to correctly indicate the copyright for all content added later.
For all modifications after the transfer from Oracle, I added a generic copyright line like this:
Copyright (c) 2016-2018 JSR 371 expert group and contributors

I hope that this is ok for everyone who contributed to the specification. If not, feel free to speak up.

@ivargrimstad Could you have a look at this as well?


docs(ref): Fix open-semver-range issue link

I linked to the wrong issue
I forgot to actually link it

Thanks!
@bors r+

:pushpin: Commit c87ac788bc3d80b08119701f535cdba97a3d1d84 has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit c87ac788bc3d80b08119701f535cdba97a3d1d84 with merge e7364a78dfff82a6c9723c205e2ba533cfb7b5fb...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing e7364a78dfff82a6c9723c205e2ba533cfb7b5fb to master...


Check legitimity of update calls in Next Step server

Especially handle following cases:

operation is DONE, no further update is allowed
operation is FAILED, no further update is allowed
check whether the update is possible given known transitions between different states

Implemented, see #71.


Electron with Angular cannot init

[x] Review the documentation: https://docs.sentry.io/platforms/javascript/electron/
[x] Search for existing issues: https://github.com/getsentry/sentry-electron/issues
[x] Use the latest release: https://github.com/getsentry/sentry-electron/releases
[ ] Provide a link to the affected event from your Sentry account

Versions + Platform

[x] SDK version -<EMAIL_ADDRESS>[x] Electron version -<EMAIL_ADDRESS>[x] Platform - Windows

Description
Using:
"@angular/core": "^14.2.1",
"@sentry/angular": "^7.17.3",
"@sentry/electron": "^4.1.0",

When I import like this:
import { init as sentryAngularInit} from '@sentry/angular';
import { init as sentryInit } from '@sentry/electron/renderer';

sentryInit({ dsn: '...' }, sentryAngularInit);

I get a type error:
Argument of type '(options: import("d:/dev/projects/glint/angular/node_modules/@sentry/browser/types/client").BrowserOptions) => void' is not assignable to parameter of type '(options: import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/browser/types/client").BrowserOptions) => void'.
  Types of parameters 'options' and 'options' are incompatible.
    Type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/browser/types/client").BrowserOptions' is not assignable to type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/browser/types/client").BrowserOptions'.
      Types of property 'defaultIntegrations' are incompatible.
        Type 'false | import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/integration").Integration[] | undefined' is not assignable to type 'false | import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/integration").Integration[] | undefined'.
          Type 'Integration[]' is not assignable to type 'false | Integration[] | undefined'.
            Type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/integration").Integration[]' is not assignable to type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/integration").Integration[]'.
              Type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/integration").Integration' is not assignable to type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/integration").Integration'.
                Types of property 'setupOnce' are incompatible.
                  Type '(addGlobalEventProcessor: (callback: import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/eventprocessor").EventProcessor) => void, getCurrentHub: () => import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/hub").Hub) => v...' is not assignable to type '(addGlobalEventProcessor: (callback: import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/eventprocessor").EventProcessor) => void, getCurrentHub: () => import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/hub").Hub) => void'.
                    Types of parameters 'addGlobalEventProcessor' and 'addGlobalEventProcessor' are incompatible.
                      Types of parameters 'callback' and 'callback' are incompatible.
                        Type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/eventprocessor").EventProcessor' is not assignable to type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/eventprocessor").EventProcessor'.
                          Types of parameters 'hint' and 'hint' are incompatible.
                            Type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/event").EventHint' is not assignable to type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/event").EventHint'.
                              Types of property 'captureContext' are incompatible.
                                Type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/scope").CaptureContext | undefined' is not assignable to type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/scope").CaptureContext | undefined'.
                                  Type 'Scope' is not assignable to type 'CaptureContext | undefined'.
                                    Type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/scope").Scope' is not assignable to type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/scope").Scope'.
                                      Types of property 'update' are incompatible.
                                        Type '(captureContext?: import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/scope").CaptureContext | undefined) => import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/scope").Scope' is not assignable to type '(captureContext?: import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/scope").CaptureContext | undefined) => import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/scope").Scope'.
                                          Types of parameters 'captureContext' and 'captureContext' are incompatible.
                                            Type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/scope").CaptureContext | undefined' is not assignable to type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/scope").CaptureContext | undefined'.
                                              Type 'Scope' is not assignable to type 'CaptureContext | undefined'.
                                                Property 'setSDKProcessingMetadata' is missing in type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/electron/node_modules/@sentry/types/types/scope").Scope' but required in type 'import("d:/dev/projects/glint/angular/node_modules/@sentry/types/types/scope").Scope'.ts(2345)

Workaround is to specify these versions in package.json:
"@sentry/angular": "7.16.0",
"@sentry/electron": "4.1.0",

Yes, you need to use versions that match the ones used by the Electron SDK.
I need to find a way to give a more useful error message in this case 🤔