Remove Outdated Link from netlify.mdx

Description (required)
The link to the Netlify blog post is now outdated, as the functions and edge-functions libraries no longer exist.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/deploy/netlify.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


proposal for updating and improving the logo for

hello for me it is a pleasure to be here I am a graphic designer and I like to make collaborations in projects like this, if you allow me I can design a new image for the use of this application?

You can do it, but it’s  a free project as you know, so I hava no money pay for you and, thank you anyway.

For me it would be a pleasure to design for you, it would be a pride that my proposal if it meets the expectations can be added to your repository. Do not worry about the payment. My contribution will be free for you. come back so soon to show you the results you think?

This logo was designed by myself, it's maybe uglily in professional designer eyes, but it's looks not bad in a coder eyes 😝.

good only some details when you joined the green apple and fuchsia gradient layers, you should line them up carefully. "Quiet is a good start as designer friend felicidades", taking up the theme and taking into account this main idea, you will see what I will bring for you and I am at this moment working on this.

hello like the pass? For me it is a pleasure to be able to return with good news ... I have already done something for you I hope you like it.
I created a logo using the old logo as a reference, which you mentioned but now I only update it using the initials of JP, which if I'm not mistaken is your name, the base icon is the Play symbol of a player. enjoy it.

I want to know what you think, and what kind of letters you want to use, you have 3 different logo options, and below you put a classification of the logomark in case you want to make some combination with the given colors

Thank you at first.
I think video represent the colorful world and, I present my idea by the three primary colors(red, green, blue). I always hope the logo can take me a colorful feeling.
JP is my first name, but I don't wanna you use it on the play symbol, because it looks not fancy.
I wanna user like the color we used on logo, and they remember it, so we don't need to write a JP on logo, they know it are JPVideoPlayer when see the color.
Sorry I don't like the color you provided, I like the color in my origin logo yet. the black mask make the logo looks dirty, I don't like it 😢.

Many thanks for your comments, I think that if I had this information before it would have been better and it was just an idea, if you want I can make another version. without compromising it only so that it sees.

Thank you for your reply, you can try it if you wanna. I look forward to see the new version.


Possible regression against CPython main (future 3.14)

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Overriding root on RootModel works with python3.13 but fails on CPython ~main.
with CPython main:
>>> import pydantic
... class Fails(pydantic.RootModel):
...     root: list[str] = pydantic.Field(alias='aardvark')
...
Traceback (most recent call last):
  File "<python-input-4>", line 2, in <module>
    class Fails(pydantic.RootModel):
        root: list[str] = pydantic.Field(alias='aardvark')
  File "/home/tcaswell/.virtualenvs/cp314-clang/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py", line 113, in __new__
    private_attributes = inspect_namespace(
        namespace, config_wrapper.ignored_types, class_vars, base_field_names
    )
  File "/home/tcaswell/.virtualenvs/cp314-clang/lib/python3.14/site-packages/pydantic/_internal/_model_construction.py", line 496, in inspect_namespace
    raise PydanticUserError(
    ...<3 lines>...
    )
pydantic.errors.PydanticUserError: Field 'root' defined on a base class was overridden by a non-annotated attribute. All field definitions, including overrides, require a type annotation.

For further information visit https://errors.pydantic.dev/2.10/u/model-field-overridden

however the code works with 3.13.
I have bisected this to https://github.com/python/cpython/pull/119361 / https://github.com/python/cpython/commit/9b8611eeea172cd4aa626ccd1ca333dc4093cd8c .  I am not sure if this is something pydandtic needs to adapt to, something pyO3 needs to adapt to (I use the undocumented $UNSAFE_PYO3_SKIP_VERSION_CHECK = 1 env to get it to build so a bit in 🐉 land), or a regression in CPython that needs to be addressed.   Reporting here first because I suspect that this is something pydantic needs to adapt to and un-lazy the annotations on the sub-classes before validating, but I am at the edges of my understanding.
Example Code
import pydantic
class Fails(pydantic.RootModel):
    root: list[str] = pydantic.Field(alias='aardvark')

Python, Pydantic & OS Version
fails:
pydantic version: 2.10.3
        pydantic-core version: 2.27.1
          pydantic-core build: profile=release pgo=false
                 install path: /home/tcaswell/.virtualenvs/cp314-clang/lib/python3.14/site-packages/pydantic
               python version: 3.14.0a2+ (heads/main:79b7cab50a3, Dec  7 2024, 16:24:57) [Clang 18.1.8 ]
                     platform: Linux-6.12.4-arch1-1-x86_64-with-glibc2.40
             related packages: typing_extensions-4.12.2 mypy-1.13.0 pydantic-settings-2.6.1 fastapi-0.115.6
                       commit: unknown

works:

             pydantic version: 2.10.3
        pydantic-core version: 2.27.1
          pydantic-core build: profile=release pgo=false
                 install path: /home/tcaswell/.virtualenvs/cp313-clang/lib/python3.13/site-packages/pydantic
               python version: 3.13.1+ (heads/3.13:310efdabf55, Dec  9 2024, 20:15:13) [Clang 18.1.8 ]
                     platform: Linux-6.12.4-arch1-1-x86_64-with-glibc2.40
             related packages: typing_extensions-4.12.2 mypy-1.13.0 pydantic-settings-2.6.1 fastapi-0.115.6
                       commit: unknown

@Viicos Is there a specific issue filed to handle and define these 3.14 issue(s)?

I'll wait for PEP 649 to be fully implemented first, and then I'll open an issue after taking a quick look at how things can be implemented on our end.


update README with MapGetAndGetOrElse description

Adding MapGetAndGetOrElse to the list of inspections listed in the README.md.

Great stuff thanks.


v6: Playlists.Get API should allow specifying fields

According to https://developer.spotify.com/console/get-playlist/, you can specify the Fields to retrieve for this API, but the PlaylistGetRequest doesn't allow that (though the PlaylistGetItemsRequest does)

Indeed. Will be added, thanks for the report!
Out of interest, what is your particular usecase for requesting specific fields? Minimizing payload size?

Yep! In my case, I literally only want to get the playlist name, so the response is hundreds of kilobytes instead of the few bytes I need.

Fixed by d73c87440038c463427e173265a36b0a839b769d
I will release beta.7 with the fixes, thank you very much for the reports, appreciate it! :) If there is anything more, feel free to open another issue.

Works like a charm, thanks! Looking at the resulting object though, it also occurs to me that the boolean fields (like Public and Collaborative) should be nullable. When Fields are specified and those aren't included, then they default to false instead of null, which is misleading

Good point, when I built the modules I didn't take fields into account. Right now, every nullable can be null with the default request.
Will be tracked in #470!


Expiry performance

I have a question about the automatic expiry of keys.
More specifically I am interested in knowing what performance impact it has if I have a lot (say for example 5 million) of points that all have an expire time?
Is the implementation based on Redis implementation of Expire? (https://redis.io/commands/expire#how-redis-expires-keys)?
And what if I access a key that is expired but has not yet been removed, are they passively removed like it is the case in Redis?
Are there any gurantees on expiry? Redis claims between 0 and 1 millisecond accuracy (https://redis.io/commands/expire#expire-accuracy)
The documentation is not really clear on this subject, I've tried looking at the code of https://github.com/tidwall/tile38/blob/master/controller/expire.go but that didn't help me that much either. (rule 44 also has a spelling error btw, don't think its necessary to make a PR for that)

@Lars-Meijer you can look upon code: this lines all stuff runs every 200 ms but we don't have any guarantee about release time. I mean it can be us or can be even close to ms.
All code just runs "DEL" command but without overhead based on server-client interaction.

@m1ome Yeah I saw that, but it seems to me like checking 5 (as in the example) million keys 5x a second would be a huge performance hit. But maybe I am misinterpreting the code.
From the sleep 100 milliseconds it also seems to me that this happens 10x every second (dispite what the doc says), but again, I might be mistaken there.

More specifically I am interested in knowing what performance impact it has if I have a lot (say for example 5 million) of points that all have an expire time?

That's a good question. I don't have performance metrics around expirations. Though I would expect  that 5 million points with all having TTLs shouldn't be a problem in most cases.

Is the implementation based on Redis implementation of Expire?

The Tile38 implementation is roughly based on Redis, but it's performance is not as good. This is primarily because Tile38 uses a background routine that cleans up expired keys using a locking strategy that makes use of mutexes (maybe a little too much). Redis is single threaded and doesn't need locks, it has an event based clean up routine which is lightweight.

And what if I access a key that is expired but has not yet been removed, are they passively removed like it is the case in Redis?

No it's not passive. The Tile38 background routine must remove the key before it disappears from read commands like GET and NEARBY.

Are there any gurantees on expiry?

No. We would need to add the passive removal of a key feature in order to have guarantees. This is because we are relying on the performance background cleanup routine, which could take longer depending on the number of items queued for expiration.
The routine usually executes every 100 milliseconds, and in some cases under a millisecond.
Tile38 expiration logic is stable and adequate in most scenarios, but there's a ton that can be improved upon.
Please let me know if you run into any problems, or have any suggestions.

Maybe it is a possibility to make the background scan timeout configurable as a quick "fix" if the background scan every 100ms becomes a problem. I haven't really tested performance of this myself either. For my use case clean-up within 100 ms is more than adequate, I would be fine with cleanup every second or even every few seconds.
I will let you know if I run into any problems.

@Lars-Meijer I agree that there may be slow down with the frequency of expire checks times the number of items.
There's quite a few optimizations that can be done to increase performance.
Such as using an ordered list like a btree for the queue instead of hashmap. This would decrease the performance a little on the SET, but it would help tremendously on the expire routine. We could also have a simple passive check for read commands.
Some minor tradeoffs in many cases, but for datasets like yours it may help a lot.

@Lars-Meijer Sounds good. If you run into performance issues, please let us know right away. I'm sure we could make some tweaks to get it to work for you.

Using some ordered datastructure might be able to speed up the process. SET is now already O(Log n) operation right? An insert into a btree or some other ordered data structure is most likely also O(Log n) and can happen in parallel, so there would not be too much of a performance hit.

There's the collection list which stores all the objects by id. This is a btree and is O(logn).
Then there's the spatial index which is an rtree O(logMn).
So an additional btree would slow it down a little bit on SETs that have TTLs.

Thanks for clarification. We should keep this in mind if I run into trouble.
The list would be ordered by expiry time right?

Correct, ordered by expiry time.

Wouldn't this cause problems when updating a key?
Say you have truck1 with a 60 second TTL, and update it 30 seconds later, again with a TTL of 60 seconds. This would mean that the old value would have to be removed and this would be O(n)?

I don't think it'll be a problem. The expiry list will only contain the key and timestamp pair. The timestamp will be expiration at the time that it was added to the list. Thus we could have multiple pairs with the same key but different timestamps, if additional SETs with the same key were called too soon.
When we arrive at a pair that has an elapsed expiration, we'll delete it from the expiry list. Then check it against the updated expiration belong to the real object. If that too has expired then we can issue a DEL command internally.
This is similar to the double check we do right now.

Ah, that makes sense. that would work then 👍

@Lars-Meijer I just pushed an update to the master branch with an updated expiration logic.
I decided to mimic Redis as closely as possible instead of introducing another btree. I think it works pretty well, and It now has passive removals with sub-millisecond accuracy.
Let me know if you run into any problems. Thanks


Update ECL library

Incorporate ECL EKF library updates that reduce temporary "dizzy" HUD on startup

Thanks! @tumbili Could you sync to Paul to make sure you're aligned well on the EKF work?

Applied!


Fix typo in the task name

Probably a leftover from the previous week.

I can't thank you enough for your help and support. @choroba


[Feature request] Saccade and Fixation option as in "Bionic Reading" extension

Hi,
I would like to request to add similar reading style as in the bionic reading extension https://bionic-reading.com/en/
I know the requested features are totally different than what waspline does, however I do think they would be nice to add and are easy to implement into waspline reader.
I tried the bionic reading plugin, but this one also changes the website into 'reading mode' which breaks all the layout. I just want the original layout but with the effect added to it similar as what waspline reader does to a website.
Would this be something you'd like to pursue?

Thanks for the idea, I've just checked bionic reading and it seems that apart from changing the website view into "reading mode" they also highlight the first letters of every word, are you requesting both of these futures or only the first one?

Hi corollary,
I was referring only to the highlighting of the letters. I've found this to indeed be helpful with reading and think it might be easy to implement.
The "reading mode" that they have implemented in my experience often breaks the layout of the text that I'm reading. For example, sometimes it joins 2 paragraphs into 1 long paragraph, which makes navigating a text difficult. Therefor, I'd rather have the original layout of a text but with the highlighted letters.


Add a reference for EnableAuthenticationTrackingJavaScript when identifying authenticated users in Application Insights in ASP.NET Core web apps

Hi all,
I was reading the documentation to understand how to identify authenticated users in Application Insights (AI) in an ASP.NET web app, and I came across the EnableAuthenticationTrackingJavaScript property in the ApplicationInsightsServiceOptions class in the AI .NET SDK that simplifies the JavaScript configuration needed to inject the username as the Auth Id for each trace sent by the AI SDK in JavaScript. When setting that property to true, the username from the user in ASP.NET Core is printed along with the AI tracking script, so adding appInsights.setAuthenticatedUserContext manually wouldn't be needed anymore, that would be already injected by the AI SDK in .NET Core.
The Auth Id will also be sent to the server where the AI SDK in .NET Core will identify it and use it for any server-side telemetry, according to this documentation.
However, for JavaScript applications that don't work in the same way as ASP.NET Core MVC (such as SPA web apps), they would still need to add appInsights.setAuthenticatedUserContext manually.
Would it be possible to add a reference for ApplicationInsightsServiceOptions.EnableAuthenticationTrackingJavaScript for ASP.NET Core web apps here? That would save a lot of time for newcomers that need that functionality, which is pretty common as far as I can see in Stackoverflow.

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

ID: 401d2997-0fbd-7966-8996-edbaab1819ff
Version Independent ID: c3ee3318-4c69-8ded-a8d5-5059d699351b
Content: Application Insights API for custom events and metrics - Azure Monitor
Content Source: articles/azure-monitor/app/api-custom-events-metrics.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: mbullwin

@jmoralesv Thank you for taking the time to detail this suggestion. This is being reviewed and an appropriate update will be made as appropriate.

Assigning to content author @lgayhardt for review and updating document accordingly.

@jmoralesv Sorry for the delay and thank you for the thoughtful suggestion. I made a PR repurposing your comment as a note to the Authenticated users section, it should go live tomorrow.
Thanks you again =)
#please-close


Weird empty box in settings/options dialog (Wallet Tab)

Weird empty box in settings/options dialog (Wallet Tab)
What is this for?

And can I remove it? :+1:

I'd say the checkboxes should go inside of the box

@aguycalled created a PR for this

Fixed on master


[BUG] Tooltips do not stand out from deactivated input fields

Describe the bug

The background color of tooltips have the same color as disabled input fields. Because of that it is hard to differentiate them.
To Reproduce
Steps to reproduce the behavior:

Go to Images and click Create
Use an ISO of your choice, e.g. https://fastly-cdn.system-rescue.org/releases/11.00/systemrescue-11.00-amd64.iso
Click Create
Open the image with Edit Config
Move the mouse cursor over the info icon of the URL input field.

Expected behavior
The background color of tooltips should not be the same as the color of disabled form fields or the tooltip has to be designed somehow different.
Support bundle
n/a
Environment

Harvester ISO version: 1.2.1 which Dashboard using GitHub master branch
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Vagrant

Additional context
n/a

The problem here is that there is no simple solution that only affects the tooltips. This is because VPopover uses the class tooltip. Therefore all UI elements that use VPopover derive changes from the tooltip class. For example, if you give the tooltips a darker border to make them stand out from the rest of the UI, then the user menu (at the top right) will get the same border.


fix: using findc instead of regex for faster parsing

:tada: This PR is included in version 4.18.17 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Make extensions AMD compaitible as well ?

Either that or always expose store to the global window object?

I don't use AMD, so i'm not sure how to do this or what the current problem is. I won't have spare time to learn how for at least four months. The extensions always extend the store object. As long as you have that and the extensions are loaded into the page, you should get the extensions, right?
If this is something you know how to do, a pull request would be most helpful. :)

I just created a pull request :)

see: https://github.com/nbubna/store/pull/22#issuecomment-100282433


Annoying display of Object <[Object: null prototype] {}>

@erights, @kriskowal:
Is there any particular reason why https://github.com/Agoric/SES-shim/blob/54e0b0c910fd19bec14f9e3ff9e556f17f952fd4/packages/ses/src/whitelist.js#L504 effectively forces Object.prototype.__proto__ = null?
This just makes printing of objects under SES extremely annoying (displays Object <[Object: null prototype] {}> { ... } under Node.js instead of just { ... }).
Shouldn't we instead have?
  '%ObjectPrototype%': {
    // 19.1.3 Properties of the Object Prototype Object
    '[[Proto]]': '%ObjectPrototype%',

The alternative you show is an inheritance cycle, where Object.prototype.__proto__ === Object.prototype. Fortunately, this isn't even possible in JavaScript.
Other than the Object.prototype object itself, what other objects should inherit for Object.prototype that are instead inheriting from null?

Here is the behaviour that annoys me:
import 'ses';
console.log({});
lockdown();
console.log({});

I get the following:
node -r esm foo.js
{}
Object <[Object: null prototype] {}> {}

I agree that is a problem. I've noticed that too. We need to diagnose what's causing it. I think the explanation lies elsewhere, but I do not understand it and have not experimented.

This is waiting for us to find and fix where something in agoric-sdk associated with xsnap is overriding a constructor property by assignment. Only when that's fixed can we stop tuning Object.prototype.constructor into an accessor and fix this bug.


Keyboard not showing on iPhone 6 Simulator

Although it has worked once or twice, about 80% of the time when focusing an input:

Don't have any iPhone 6's to test with, but this concerns me with whether its just the simulator.
Trying to dive in more, will update this issue if I find something.

this was tricky. Thank you for the answer

Helpul. Thanks

if this was a facebook-post, I would upvote this. @chaffeqa . Thx

This is correct solution.

You can now leave this setting checked if you also check "Toggle Software Keyboard" under the same menu, which will allow the device keyboard to pop up and accept input from your hardware keyboard.


ADGroup: Changing group membership management mechanism

Pull Request (PR) description

This Pull Request is intended to change the way that the ADGroup resource manages group membership. The new implementation abandons usage of Add-ADGroupMember and Remove-ADGroupMember due to limitations with Foreign Security Principals. Instead we opt to utilize Set-ADGroup with the Add and Remove parameters, passing a hash object with the member key and a list of formatted SID values (e.g. - "<SID=SID_VALUE>").

Fixes #619

Task list

[x] Added an entry to the change log under the Unreleased section of the
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
[x] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Community Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

There is a lot going on here so please bring on the commentary and suggestions. Also, my unit tests were mostly focused on code coverage so if there are some other tests that should be added please chime in.

@jeremyciak, you have used the master branch in your forked repository again. This makes it more difficult for me to review, because I can't add your fork as another remote in my local Git and switch to this branch, as it conflicts with the standard master branch. Please in future create a branch on your fork with a unique name and use that in your pull request. Thanks.

@X-Guardian, please refer to #621 instead as it is off of a branch from my fork. Sorry!

You have confused Reviewable having the two PR's with the same name, so please stick with one .

@jeremyciak, are you able to make the requested changes to this PR?

Yes, I have been working on these changes lately. Work has picked up significantly for me in the past 2 weeks which has diminished the amount of time I can allocate on this. I have some functional code close to ready but I'm having to get over the hump of some unit test stuff still. Hopefully I can poke at it a bit over the weekend.

@X-Guardian I'm trying to push my changes and the Pipeline does not seem to be getting triggered. Is that because of the CHANGELOG.md conflict that has cropped up now? I'm unable to resolve this conflict. Please let me know what needs to be done. Thanks!

Hi @jeremyciak, you need to resolve the conflicts on CHANGELOG.md through Git. You can do this through the GitHub web interface or through the Git command line. I assume you haven't done this before, so have a read of Addressing merge conflicts. Ask if you have any questions.

I followed these instructions and it looks like it worked. The build appears to be processing now.

@X-Guardian, I just want to double check that this is not waiting on me because last time I assumed it wasn't I was wrong and it just sat for a week until I realized that was the case.

Hi @jeremyciak, yes it is with me. You can see by looking at the reviewable check, and it tells you who the discussions are pending with.

Alright awesome, thanks!

@X-Guardian do you think you will have any bandwidth to circle back on this over the weekend?

tests/Unit/MSFT_ADGroup.Tests.ps1, line 756 at r9 (raw file):

                Assert-MockCalled -CommandName Set-ADCommonGroupMember -ParameterFilter {
                    $Action -eq 'Add'
                } -Scope It -Exactly -Times 1

Can we format the Assert-MockCalled as:
Assert-MockCalled -CommandName Set-ADCommonGroupMember `
    -ParameterFilter { $Action -eq 'Add' } `
    -Scope It -Exactly -Times 1

here and below to keep the indentation correct.

tests/Unit/MSFT_ADGroup.Tests.ps1, line 890 at r9 (raw file):

                Mock -CommandName Set-ADCommonGroupMember -ParameterFilter {
                    $Action -eq 'Add'
                }

Can we format this as:
Mock -CommandName Set-ADCommonGroupMember `
    -ParameterFilter { $Action eq - 'Add' }

here and below to keep the indentation correct.

Can you add an example ADGroup resource file with the qualified SamAccountName name format required for one way external trusts. Something like the following:
<#PSScriptInfo
.VERSION 1.0.0
.GUID f2ecc331-e242-4204-a6b1-54fd68c852b7
.AUTHOR DSC Community
.COMPANYNAME DSC Community
.COPYRIGHT DSC Community contributors. All rights reserved.
.TAGS DSCConfiguration
.LICENSEURI https://github.com/dsccommunity/ActiveDirectoryDsc/blob/master/LICENSE
.PROJECTURI https://github.com/dsccommunity/ActiveDirectoryDsc
.ICONURI https://dsccommunity.org/images/DSC_Logo_300p.png
.RELEASENOTES
Initial release
#>

#Requires -Module ActiveDirectoryDsc

<#
    .DESCRIPTION
        This configuration will create a new domain-local group in contoso with
        two members; one from the contoso domain and one from the fabrikam domain.
        This qualified SamAccountName format is required if any of the users are in a
        one-way trusted forest/external domain.
#>
Configuration ADGroup_NewGroupOneWayTrust_Config
{
    Import-DscResource -ModuleName ActiveDirectoryDsc

    node localhost
    {
        ADGroup 'ExampleExternalTrustGroup'
        {
            GroupName           = 'ExampleExternalTrustGroup'
            GroupScope          = 'DomainLocal'
            MembershipAttribute = 'SamAccountName'
            Members             = @(
                'contoso\john'
                'fabrikam\toby'
            )
        }
    }
}

Fantastic work @jeremyciak, and thanks for your patience. LGTM!


Add option to NOT download unavaiable coins.

Hi,
After download for 10 minutes, last month of 1INCH is 1INCHDOWNUSDT-1h-2021-12.csv
But we can see this coin is always trade:
https://www.binance.com/fr/trade/1INCH_USDT?theme=light&type=spot
Can you help me to understand ?

Sorry, not 10min but 1h.
I see the data at https://data.binance.vision/data/spot/monthly/klines/1INCHBUSD/1h/1INCHBUSD-1h-2023-07.zip

OK, it don't work because:
https://data.binance.vision/data/spot/monthly/klines/1INCHBUSD/1h/1INCHBUSD-1h-2023-08.zip as been output yet.
Maybe download days and don't delete them before month as been downloaded succesfully


Audioband 0.7.0 Spotify

I've moved audioband to use the official Spotify api so now things are working again. However it's not without any problems. (Copy pasted from readme):

The browser will show up everytime audioband starts asking you to log into Spotify. Even if you select remember me, a browser window still opens. This will be fixed in a later version. Fixed in (0.7.1)
The song progress will be out of sync if you change the song's progress. This is due to current limitations making the song progress being tracked locally. This can be fixed if you pause and play again or go to a different song.
The first time you open up Spotify, the current song may not be displayed. This is because Spotify doesn't report any song information if you have no devices playing songs. Just start playing a song and it will start displaying.
Sometimes, the updates stop and you have to deselect and reselect spotify as the audio source. #49

I'm putting this issue to notify and for discussions of new issues. Also for clarifications about the new changes.

Hi! Thank you, it is a great work!
I have some problems though. When I am trying to authorize AudioBand, I am getting
INVALID_CLIENT: Invalid redirect URI
response from Spotify.
So, I added redirect url in the Spotify API Application settings:
http://localhost

Now it kinda works. I am getting authorization screen and after I press Okay button, I get response from AudioBand:
OK - This window can be closed now

But,  the redirect url contains access_denied error:
http://localhost/?error=access_denied&state=598a3bc4

And AudioBand panel shows nothing.

Well, I notice that there is no client_secret in the auth request url. I modified URL and it looks like authorization was successful and Spotify returned authorization code in response.
But now Explorer is constantly crashing so I need to unregister Audio Band panel.

System.Net.Http.HttpRequestException was unhandled
Message: An unhandled exception of type 'System.Net.Http.HttpRequestException' occurred in mscorlib.dll
InnerException: 407 Proxy Authentication Required.

Crashing is pretty bad. When I get #1 done crashes should no longer crash explorer. As for the proxy, I'll look into it. I'm using a library to connect to Spotify and I believe I saw an example using proxy settings.

Well, I notice that there is no client_secret in the auth request url. I modified URL and it looks like authorization was successful and Spotify returned authorization code in response.
But now Explorer is constantly crashing so I need to unregister Audio Band panel.

I've had the same issue with the missing client secret in the URL, adding manually resolved for me (haven't experienced any crashes yet)

Hello, I have INVALID_CLIENT: Invalid Client when I launch Audio Band in the windows bar.
The redirection is:
https://accounts.spotify.com/authorize/?client_id=myemail@gmail.com&response_type=code&redirect_uri=http://localhost&state=602463f9&scope=user-read-playback-state user-modify-playback-state user-read-currently-playing&show_dialog=False
I've tried to add the client_secret parameter but it's not working:
https://accounts.spotify.com/authorize/?client_id=myemail@gmail.com&client_secret=password&response_type=code&redirect_uri=http://localhost&state=574c477a&scope=user-read-playback-state user-modify-playback-state user-read-currently-playing&show_dialog=False
Is it the correct parameters?

@ereiwin Your client ID looks wrong, it shouldn't be an email address but a 32 char long ID, e.g. ea194f9bb2c04c05e9ff58a9bf1f43d0, for the app you created in your Spotify dashboard (see https://github.com/dsafa/audio-band#spotify-setup)

Thank you and sorry I didn't see the hole instructions at the 1st time. I now have the "OK - This window can be closed now" message after saving the audio source settings and I've add the "client_secret" parameter to the URL do don't have the error.
But Audio Band panel is empty even after skipping the first songs.

Thanks for the reports. There is a problem if it wasn't set up correctly the first time. should be getting fixed soon.

Latest version 0.7.1 should no longer open up the browser after authenticating successfully.
Also important to note is that the callback url has changed from http://localhost to http://localhost:80.
There is still a random freezing/no updates issue but I at least know what is causing it.

Closing old issue


[CLOSED] coe-0.0.5-SNAPSHOT-jar-with-dependencies.jar cannot initialize

 Issue by mpcagro
Friday Apr 29, 2016 at 11:17 GMT
Originally opened as https://github.com/into-cps/INTO-CPS_Application/issues/19

I have just tried to download the new coe-0.0.5 engine.
When I try to initialize using the standard example:

curl -s -H "Content-Type: n" --data @config.json http://localhost:8082/initialize

I get the following error from the COE:
java -jar coe_0.05.jar
COE(Command line options: [port]

Now running on port 8082
Server started, Hit Enter to stop.

Apr 29, 2016 1:09:53 PM fi.iki.elonen.NanoHTTPD$Response send
SEVERE: Could not send response to the client
java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
	at fi.iki.elonen.NanoHTTPD$Response.sendBody(NanoHTTPD.java:1620)
	at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectEncoding(NanoHTTPD.java:1593)
	at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectTransferAndEncoding(NanoHTTPD.java:1583)
	at fi.iki.elonen.NanoHTTPD$Response.send(NanoHTTPD.java:1550)
	at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:960)
	at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
	at java.lang.Thread.run(Thread.java:745)

My "config.json" looks like this:
{
    "fmus":[
        "{fmu1}":"fmus/tankcontroller.fmu",
        "{fmu2}":"fmus/tank.fmu"
    ],
    "connections":{
        "{fmu1}.controller.valve":
            ["{fmu2}.tank.valve"],
        "{fmu2}.tank.level":
            ["{fmu1}.controller.level"]
    },
    "parameters":{
        "{fmu1}.controller.maxLevel":8,
        "{fmu1}.controller.minLevel":2
    },
    "algorithm":{
        "type":"fixed-step",
        "size":0.1
    }
}

 Comment by mpcagro
Friday Apr 29, 2016 at 11:26 GMT

I tried to change the COE log level by updating the values for log4j.properties
from:
log4j.rootLogger= TRACE, stdout, R
to:
log4j.rootLogger=ERROR, stdout, R
java -jar coe_0.05.jar
COE(Command line options: [port]

 INFO [main] (CoeMain.java:30) - Checking native FMI support
DEBUG [main] (NativeFmu.java:22) - Loading library: lib/Linux-amd64/libfmuapi.so
DEBUG [main] (NativeLibraryLoader.java:36) - Extracting library from: lib/Linux-amd64/libfmuapi.so
DEBUG [main] (NativeFmu.java:27) - Loaded Library file: /tmp/jnifmuapi-Linux-amd64/libfmuapi.so
Now running on port 8082
Server started, Hit Enter to stop.

Apr 29, 2016 1:20:58 PM fi.iki.elonen.NanoHTTPD$Response send
SEVERE: Could not send response to the client
java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
	at fi.iki.elonen.NanoHTTPD$Response.sendBody(NanoHTTPD.java:1620)
	at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectEncoding(NanoHTTPD.java:1593)
	at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectTransferAndEncoding(NanoHTTPD.java:1583)
	at fi.iki.elonen.NanoHTTPD$Response.send(NanoHTTPD.java:1550)
	at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:960)
	at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
	at java.lang.Thread.run(Thread.java:745)

I do not seem to get any new information on the error, but the COE seem to load the FMU units.

 Comment by mpcagro
Friday Apr 29, 2016 at 11:31 GMT

I bit of system info to allow to allow for reproduction of the error:
martin@mpc-ThinkPad-W530:~/COE_tester$ uname -a
Linux mpc-ThinkPad-W530 3.19.0-58-generic #64~14.04.1-Ubuntu SMP Fri Mar 18 19:05:43 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
martin@mpc-ThinkPad-W530:~/COE_tester$ java -version
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
martin@mpc-ThinkPad-W530:~/COE_tester$ curl --version
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

Please write if you need any other info from me

 Comment by CThuleHansen
Monday May 02, 2016 at 13:56 GMT

CreateSession: You need to invoke createSession and use the ID for initializeSession.
The colon is is never part of the url. Therefore this is correct: http://localhost:8082/initialize/$sessionId
and this is incorrect:
http://localhost:8082/initialize/:$sessionId
Config.json Your config.json is wrong (So is the one on the webpage. It will be updated tomorrow!)
Use {} after fmus instead of [] e.g.
"fmus":{         "{fmu1}":"fmus/tankcontroller.fmu",         "{fmu2}":"fmus/tank.fmu" }
instead of
"fmus":[         "{fmu1}":"fmus/tankcontroller.fmu",         "{fmu2}":"fmus/tank.fmu" ]

 Comment by mpcagro
Monday May 02, 2016 at 00:33 GMT

It was hinted that  I needed call createSession to start an COE instance.
I attempted the following command before initialize:

curl -s http://localhost:8082/createSession

and then calling:

curl -s -H "Content-Type: application/json" --data @config.json http://localhost:8082/initialize/:73885

Where 73885 is the sessionId from createSession.
But the result seems to be the same:
martin@mpc-ThinkPad-W530:~/COE_tester$ java -jar coe_0.05.jar
COE(Command line options: [port]

 INFO [main] (CoeMain.java:30) - Checking native FMI support
DEBUG [main] (NativeFmu.java:22) - Loading library: lib/Linux-amd64/libfmuapi.so
DEBUG [main] (NativeLibraryLoader.java:36) - Extracting library from: lib/Linux-amd64/libfmuapi.so
DEBUG [main] (NativeFmu.java:27) - Loaded Library file: /tmp/jnifmuapi-Linux-amd64/libfmuapi.so
Now running on port 8082
Server started, Hit Enter to stop.

May 02, 2016 2:03:04 AM fi.iki.elonen.NanoHTTPD$Response send
SEVERE: Could not send response to the client
java.net.SocketException: Broken pipe
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
	at fi.iki.elonen.NanoHTTPD$Response.sendBody(NanoHTTPD.java:1620)
	at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectEncoding(NanoHTTPD.java:1593)
	at fi.iki.elonen.NanoHTTPD$Response.sendBodyWithCorrectTransferAndEncoding(NanoHTTPD.java:1583)
	at fi.iki.elonen.NanoHTTPD$Response.send(NanoHTTPD.java:1550)
	at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:960)
	at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
	at java.lang.Thread.run(Thread.java:745)

So I am unable to get it working for either the
http://overture.au.dk/into-cps/site/simulation/example.html
or the API in the COE and I am unsure what I am missing.
I am a bit confused why the syntax are different in some cases:
like

curl -s http://localhost:8082/result/$sessionId

and

curl -s -H "Content-Type: application/json" --data @config.json http://localhost:8082/initialize/:$sessionId

Why was this extra collon ":" added  to the syntax in some cases ?
I tried to change to the following :

curl -s -H "Content-Type: application/json" --data @config.json http://localhost:8082/initialize/$sessionId

and the following result response to the command:
`
Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: { "fmus":[ "{fmu1}":"fmus/tankcontroller.fmu", "{fmu2}":"fmus/tank.fmu" ], "connections":{ "{fmu1}.controller.valve": ["{fmu2}.tank.valve"], "{fmu2}.tank.level": ["{fmu1}.controller.level"] }, "parameters":{ "{fmu1}.controller.maxLevel":8, "{fmu1}.controller.minLevel":2 }, "algorithm":{ "type":"fixed-step", "size":0.1 }}; line: 1, column: 6] (through reference chain: org.intocps.orchestration.coe.json.InitializationMsgJson["fmus"])
`
I am still not able to progress to the next step of simulating

 Comment by mpcagro
Monday May 02, 2016 at 14:04 GMT

These changes seems to solve the problem.
I will do some more testing on this tomorrow.


Repeated request for credentials on https clone

A https clone requests credentials for each blob of content.
I'm trying to authenticate with a personal access token, and I can get the clone to succeed if I paste the PAT into every credential request. Putting the PAT into my .netrc does not help (though it is used for non-lfs authentication).
This happens on both Github and VSO.
For contrast, SSH clone downloads all content without a single manual auth request.
Possibly related: #523, #533
version:
git-lfs/1.0.0 (GitHub; linux amd64; go 1.5.1; git 7379fa9)

I think the problem is that your URLs have capital letters, and that's messing up the git config code. #690 should fix this.
#171 is open to support netrc.

Ah, I didn't realize .netrc was unsupported. #171 pretty much sums up my problem, so I'll close this.
I don't think the capitals were related though (the github url has all lowercase).
Fortunately lfs seems to respect credential.helper = cache, which relieves most of the pain.


Travis setup

closes #8

With the changes to make test you must now install agda2hs globally in order to run the test. This seems like a bad change, since you might not want to do global installs when you are developing something. Is this really necessary for getting it running on travis?

Also what do we need to do to see how this actually runs on travis?

Can we steal something from the Agda travis setup about avoiding global installation of a executable?

With the changes to make test you must now install agda2hs globally in order to run the test. This seems like a bad change, since you might not want to do global installs when you are developing something. Is this really necessary for getting it running on travis?

You are right, we can avoid that by installing on a subfolder prior to testing, and then searching for the executable using find.
Let me update this real quick.

Also what do we need to do to see how this actually runs on travis?

I have it running in my fork, so you can check all builds/executions on Travis.
Here is the latest one: https://travis-ci.com/github/omelkonian/agda2hs/builds/192734955 (which we will be able to access from a badge in the README).

You are right, we can avoid that by installing on a subfolder prior to testing, and then searching for the executable using find.

Does the cabal exec magic I put in there not work on travis?

You are right, we can avoid that by installing on a subfolder prior to testing, and then searching for the executable using find.

Does the cabal exec magic I put in there not work on travis?

Yep, something weird going on with caching.

New version without the need for a global executable: https://travis-ci.com/github/omelkonian/agda2hs/builds/193418668


DateTimePicker: Calendar.SelectedDate not always updated and consistent

Describe the bug
The Calendar part of the DateTimePicker component shows an inconsistent date if the user edit the date writing in the textbox.
To Reproduce
Steps to reproduce the behavior:

Select 01/01/2018 (european format) via the calendar popup
Close the calendar popup
Edit the selected date writing in the DateTimePicker textbox: 02/01/2018
Open the calendar popup
The calendar shows 01/01/2018 as selected date

Expected behavior
The calendar shows 02/01/2018 as selected date
Screenshots

Environment(please complete the following information):

MahApps.Metro v1.6.5
OS: Windows 10 Pro 1803
Visual Studio 2017 15.7.4
.NET Framework 4.7.1

I've also seen an issue similar to this when loading the same data template with a DateTimePicker with different Data Contexts.  The time selections in the picker get set properly with the new data context, and the date displayed in the box is correct, but the selected date in the calendar is the last selection I made for a different data context.


Fixes for Issue #3

Here is the issue - https://github.com/cauealves/pagespeed-score-cli/issues/3
List of things removed -

useless spaces

useless modules

ora style

List of things added -

check connection : Just in case you are offline.

usages : Show usages in console if no argument is supplied ( currently, if you do pagespeed-score then too it will show you the process but without giving any result )

url validation - this tool requires http:// and https:// before domain name to complete the process, but currently if you run - pagespeed-score google.com then you'll not get any result.
So, this feature check whether the url is valid or not and handle them accordingly.

List of things improved -

starting messages https://github.com/cauealves/pagespeed-score-cli/issues/2

ora style and processes colors https://github.com/cauealves/pagespeed-score-cli/issues/2

output along with status and total score https://github.com/cauealves/pagespeed-score-cli/issues/2

Extra :
Test for pagespeed-score-cli https://github.com/cauealves/pagespeed-score-cli/issues/1
PS : After committing all those changes, now, the tool is working without any problem. :)

@CodeDotJS first for all, thank you very much for open this pull request.
You did some implementations that I was aware that should be made, as: url validation, display usage when not pass parameter, etc...
There are little things that I think would be nice to fix, for example:
REPLACE: ENSURE YOU'VE NODEJS VERSION >=4 INSTALLED, THEN RUN THE FOLLOWING
TO: Ensure you've Node.js version >=4 installed, then run the following
And fix the indentation, for 2 spaces.
So, they are really minor changes that will not prevent to merge this.
Again, thanks for contribution ❤  💃

You're welcome @cauealves :)


you-get failed to build on macOS 10.12.

please see the detail info in the follow link:
https://gist.github.com/anonymous/010ddb0e65d1f944f0ed072bfc4c4744

I can't reproduce. Try brew reinstall python3 maybe.

Concur with @zmwangx.

IMHO, mounting evidence that the new CLT warning in brew doctor should include Sierra.

I try "brew reinstall python3" first，then use "sudo pip3 install you-get" to install you-get.  Success !!
3Q all

NB to anyone from the future: please don't use sudo; it'll make it hard to remove later.


feat: Add support to pull CA Certs from configMap

Add support to pull the list of CA Certs from configMaps (W&B App)
Create configmap
apiVersion: v1
kind: ConfigMap
metadata:
  name: custom-ca-certs
data:
  ca-cert1.crt: |
    -----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----
  ca-cert2.crt: |
    -----BEGIN CERTIFICATE-----
    ...
    -----END CERTIFICATE-----

values.yaml
configMapName: "custom-ca-certs"

support for Parquet to pull ca certs from configmap can be added after this PR gets merged

@velotioaastha, will the configMap with multiple keys with your proposed configuration become multiple certificate files in the /usr/local/share/ca-certificates/?
I didn't test it, but I wonder if simply mounting it as is will have the effect we expect: multiple cert files.
If this is the expected outcome, could you add a line explaining that CM key MUST be something.CRT?
We expect crt files to be parsed by the update-ca-certificates program used by Ubuntu to add the certs to the system ca store.

Yes, with the configuration proposed earlier, mounting a ConfigMap with multiple keys will indeed result in multiple files within the specified directory (/usr/local/share/ca-certificates/), with each key in the ConfigMap corresponding to a separate file. However, for update-ca-certificates to recognize and add these certificates to the system CA store on Ubuntu, each file name in the directory must end with .crt (as given in the description)
Where do you propose I add this line?

Thank you for your reply @velotioaastha
It would be great if you could add the guidance right above the configuration Here for example.
This is important to ensure customers create the crt files.

We have closed https://github.com/wandb/helm-charts/pull/254 and added the same changes here to support pull CA Certs from configmap for parquet as well
Please re-review @flamarion @danielpanzella


[Feature Request]: Podman support (rootless by default) in installation script.

Description / Beschreibung
Hi. Long story short - I'm using Podman instead of Docker because Podman provides much more convenient way to run rootless containers out-of-the-box. Yes, setuid/setgid which implemented inside image are good enough, but Podman itself can implement additional layer of isolation - mapping container 'root' user to non-root user on a host.
cntmaster@pdlab:~$ podman exec -it iobroker id
uid=0(root) gid=0(root) groups=0(root)

cntmaster@pdlab:~$ id
uid=1001(cntmaster) gid=1001(cntmaster) groups=1001(cntmaster)

cntmaster@pdlab:~$ ps aux
cntmast+   29284  0.0  0.0  82720  3072 ?        Ssl  11:26   0:00 /usr/bin/conmon --api-version 1 -c 0bf33d12c62e0fcfa6ad1783727179f162815d4ef4a0ed96e1fb480481354cce -u 0bf33d12c62e0fcfa6ad1783727179f162815d4ef4a0ed96e1fb480481354cce -r /usr/bin/crun -b /home/cntmaster/.local/share/containers/storage/overlay-containers/0bf33d12c62e0fcfa6ad1783727179f162815d4ef4a0ed96e1fb480481354cce/userdata -p /tmp/podman-run-1001/containers/overlay-containers/0bf33d12c62e0fcfa6ad1783727179f162815d4ef4a0ed96e1fb480481354cce/userdata/pidfile -n iobroker --exit-dir /tmp/podman-run-1001/libpod/tmp/exits --full-attach -s -l journald --log-level warning --runtime-arg --log-format=json --runtime-arg --log --runtime-arg=/tmp/podman-run-1001/containers/overlay-containers/0bf33d12c62e0fcfa6ad1783727179f162815d4ef4a0ed96e1fb480481354cce/userdata/oci-log --conmon-pidfile /tmp/podman-run-1001/containers/overlay-containers/0bf33d12c62e0fcfa6ad1783727179f162815d4ef4a0ed96e1fb480481354cce/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /home/cntmaster/.local/share/containers/storage --exit-command-arg --runroot --exit-command-arg /tmp/podman-run-1001/containers --exit-command-arg --log-level --exit-command-arg warning --exit-command-arg --cgroup-manager --exit-command-arg systemd --exit-command-arg --tmpdir --exit-command-arg /tmp/podman-run-1001/libpod/tmp --exit-command-arg --runtime --exit-command-arg crun --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg --events-backend --exit-command-arg journald --exit-command-arg container --exit-command-arg cleanup --exit-command-arg 0bf33d12c62e0fcfa6ad1783727179f162815d4ef4a0ed96e1fb480481354cce

cntmaster@pdlab:~$ podman top iobroker
USER        PID         PPID        %CPU        ELAPSED           TTY         TIME        COMMAND
root        1           0           0.000       34m50.947216295s  ?           0s          bash /opt/scripts/iobroker_startup.sh
iobroker    542         1           0.350       33m20.947286327s  ?           7s          iobroker.js-controller
iobroker    564         542         0.200       33m19.947323713s  ?           4s          io.admin.0
iobroker    591         542         0.050       33m15.947365441s  ?           1s          io.discovery.0
iobroker    606         542         0.050       33m11.947400837s  ?           1s          io.backitup.0

cntmaster@pdlab:~$ podman top iobroker huser user
HUSER       USER
1001        root
166535      iobroker
166535      iobroker
166535      iobroker
166535      iobroker

I've got it running finally, but installer logic covers only Docker-specific checks like evaluating '/proc/self/cgroup' for 'docker'/'buildkit', .dockerenv presence etc.
The only mod required is to check for '/run/.containerenv' also - it's created by Podman as a flag.
just as an idea for container detection - it's also maybe reasonable to check '/' mount, in container it will be overlayed:
cat /proc/$$/mounts | grep -w "/"
overlay / overlay rw,relatime,lowerdir=/home/cntmaster/.local/share/containers/storage/overlay/l/DO4PTYLLQWT2Z5PS4QTPKVBHYF:/home/cntmaster/.local/share/containers/storage/overlay/l/5RREU2VA7GTZCH55VYGK2SZ73R:/home/cntmaster/.local/share/containers/storage/overlay/l/LMGTMMP7MCO2ICRIMDNUIP7WY5:/home/cntmaster/.local/share/containers/storage/overlay/l/TMTU73LUI2X4QYJK3EU5MDE6HE:/home/cntmaster/.local/share/containers/storage/overlay/l/RHDU6PQ7SPO4NHDJKRKZ6XWWJ5,upperdir=/home/cntmaster/.local/share/containers/storage/overlay/b76f17fe8c5f531df2d28f1d0d6b195d49b28438c4b545a19ca0e9b4abe0b23d/diff,workdir=/home/cntmaster/.local/share/containers/storage/overlay/b76f17fe8c5f531df2d28f1d0d6b195d49b28438c4b545a19ca0e9b4abe0b23d/work,userxattr 0 0

The only capabilities I had to add to already recommended NET_ADMIN are CAP_NET_RAW and CAP_NET_BIND_SERVICE.
podman run -d --name iobroker -h iobroker -p 8081:8081 -v iob-data:/opt/iobroker/ -e LANG=en_US.UTF-8 -e LANGUAGE="en_US:en" -e TZ="Asia/Dubai" --cap-add=CAP_NET_RAW --cap-add=NET_ADMIN --cap-add=CAP_NET_BIND_SERVICE iobroker:latest-v9

Hi,
what is the exact feature you are requesting?
Docker detection used by iobroker components should work like described here. We did this because detecting a container environment is difficult if you want to cover all cases. This should also work in Podman (and any other environment).
That is all I can do from the Docker Image. All implementations of this Docker check have to be made in the adapters which need it or in iobroker (js-controller) itself.
Regards,
André

Hi, the only feature I suggest to add is to check run/.containerenv presence as one of OR conditions.
With cgroups v2 and podman existing check will not consider installation as containerized, isn't?

I would also be interested in running this container as non-root on k8s. But i guess support for

"installing packages" via ENV and sorts of other things
updating linux packages on start

force a root-based bootstrap, even though permissions are dropped to 1000/1000 later on.
The docker image would need to drop quiet some functionality, maybe even access on cricial parts like devices (usb) to become rootless IMHO.
So even though i would love to see it, i do not think it is practical in the case of ioBroker.

check run/.containerenv presence as one of OR conditions.

As written above, all implementations of this Docker check have to be made in the adapters which need it or in iobroker (js-controller) itself. So this place might be the wrong place for this request.
As long as you use the official image, iobroker should detect containerisation. Why? See the link from my last answer.

So even though i would love to see it, i do not think it is practical in the case of ioBroker.

Same here. I tried several times. ioBroker is sadly not specially made for Docker yet. I cutted root down to only the startup script runs as it. Maybe we could do the root-based bootstrap and then drop the root permissions, but this is not on top of my to-do list. :)  But it is there, i can prove it 😄

Regards,
André

Docker detection used by iobroker components should work like described here. We did this because detecting a container environment is difficult if you want to cover all cases. This should also work in Podman (and any other environment).
Oh, finally realized - what you do mean here. So we're not relying on install.sh logic to detect if it's container-environment, but instead of that we're just have flag-file pre-created inside of image, right?

That's correct.


Add config service and new currencies

Used data from fixer.io to add BRL and KRW currencies. A future implementation to add/remove any currency as user prefer.
#110

I don't understand fully configService. I am not confortable with the concept: Should we migrate all "static" data inside? such as

https://github.com/ArkEcosystem/ark-desktop/blob/master/client/app/src/accounts/AccountController.js#L84
https://github.com/ArkEcosystem/ark-desktop/blob/master/client/app/src/accounts/AccountController.js#L84

Hi Lucio, anything on it. There is another PR #129 that could be linked to this. Are you working on a new version?

Hi. Yes, i'm adding #124 too.


Release 0.3.8

Coverage remained the same at 95.194% when pulling 5b53c1e599bbcb06dbb2aa2b99dd01d327955d69 on mr-release-0.3.7 into 4d3d85ff576eaf4ad4a99fefe0a766972101dd6f on master.


Tuple getters tests

Current coverage is 89.33%

Merging #768 into master will increase coverage by +0.45% as of 83af089

@@            master    #768   diff @@
======================================
  Files           76      76
  Stmts         8027    8027
  Branches      1745    1745
  Methods          0       0
======================================
+ Hit           7135    7171    +36
  Partial        384     384
+ Missed         508     472    -36

Review entire Coverage Diff as of 83af089

Powered by Codecov. Updated on successful CI builds.

great! thx


Glitch with long barplot labels

When the barplot label for a particular taxon is too long, and the space above the plot overflows, this moves the entire plot, causing it to change from taxon on-focus, so the space will no longer overflow, and go back to the initial taxon that caused the overflow. It's a bit hard to explain, and caught me by surprise:

I will attempt this one 👍


e2fsprogs: allow static build

Motivation for this change
This enable building pkgsStatic.e2fsprogs.
The zlib changes is to avoid the error
disk-utils/fsck.cramfs.c:53:10: fatal error: zlib.h: No such file or directory

which makes sense because zlib.static does not include headers.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @edolstra (listed as e2fsprogs mantainer)
cc @nh2 @matthewbauer (involved in static build of zlib)

10.rebuild-linux: 0, 2 approvals and it looks good, merging.

If we want a backport to 19.09, I've resolved the merge-conflicts here:
https://github.com/NixOS/nixpkgs/compare/release-19.09...nh2:issue-71813-pr-74485-backport-19.09


Use netmiko_args function from napalm.base.netmiko_helpers

This allows to dynamically create allowed netmiko_args_map without hardcoding it.
Essentially, if netmiko has the arg, this driver will pass it along.

@skarpe-github
Honestly didn’t test, but feel pretty good about it 😆
please review


How to turn off a hint when hovering over a html tag?

Hello.
How to disable this hint for .html files?

There's currently only hidden option to disable all hovers:
"editor.hover": false
duplicated of https://github.com/Microsoft/vscode/issues/30114


Tests: fix recording code coverage for Tokenizer tests

Description
Tests: new AbstractTokenizerTestCase class
Until now, code coverage was not being recorded for the Tokenizer tests due to the way the tests were set up.
This new AbstractTokenizerTestCase class is intended to fix this.
Background info:

Code run in a setUpBeforeClass() method does not cause code coverage to be recorded.
Code run in a setUp() method does cause code coverage to be recorded.

Now, the AbstractMethodUnitTest test case class was originally set up to allow for testing the utility methods in the File class.
To do so in the most efficient way and to allow the tests to be fast, the file containing the code being used in the tests, is only tokenized once in a setUpBeforeClass() method.
Over time, when Tokenizer tests were being introduced, the AbstractMethodUnitTest class also started to be used by these, which was fine as code coverage wasn't being measured or recorded anyway.
However, this last part has been changed recently via PR #144, so now it is time to ensure that the Tokenizer related tests record code coverage too.
This new test case class allows for that by moving the tokenization of the code used in the tests from setUpBeforeClass() to a setUp() method.
As the tokenized file won't change during the test run, this is still only done once, but as that "once" is now in the setUp() method, it should allow for code coverage to be recorded.
Note: while code coverage can now be measured and recorded for Tokenizer related tests, it will still not be very precise as the Tokenizer\PHP class contains "monster methods", which means that the @covers tags in the Tokenizer related tests cannot be set up to target only a small, specific part of that class, as targeted by the test. But that's a problem for another time.
Implement use of the new AbstractTokenizerTestCase class
AttributesTest: add missing @covers tag
Suggested changelog entry
N/A
Related issues/external references
Loosely related to #146

Note: yes, the CI builds will be slower due to this change. This is mostly due to the code coverage calculations during the test run being very slow on PHP 5.4. This can't be helped, though the impact should be much less for the 4.0 branch in which the minimum PHP version becomes PHP 7.2.


License in PRVS File From My.Esri.com Not Available From License Server Administrator After Installing License Server with DSC

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

3.3.1

Affected Resource(s)

License Manager

Configuration Files

{
    "AllNodes": [{
            "NodeName": "FakePC",
            "DataStoreTypes": [
                "Relational"
            ],
            "Role": [
                "DataStore",
                "Server",
                "SQLServerClient",
                "LicenseManager"
            ],
            "SslCertificates": [{
                    "Path": "C:\\PowerShell DSC Installers\\SSLCertificates\\Wildcard\\example.pfx",
                    "Password": "abcd",
                    "Target": [
                        "Portal"
                    ]
                }
            ]
        }
    ],
    "ConfigData": {
        "Version": "10.9.1",
        "LicenseManagerVersion": "2021.1",
        "ServerContext": "fw_arcgisserver",
        "PortalContext": "fw_arcgisportal",
        "ServerRole": "GeneralPurposeServer",
        "Credentials": {
            "ServiceAccount": {
                "Password": "ABug",
                "UserName": "datacenter\\Little_Bug",
                "IsDomainAccount": true,
                "IsMSAAccount": false
            }
        },
        "SQLServerClient": [{
                "Name": "Microsoft ODBC Driver 17 for SQL Server",
                "InstallerPath": "C:\\PowerShell DSC Installers\\10.9.1\\ODBC17SQLServer_64\\msodbcsql_17.8.1_x64.msi",
                "ProductId": "7453C0F5-03D5-4412-BB8F-360574BE29AF",
                "Arguments": "/L*V \"C:\\users\\fwla\\desktop\\odbc installation.log\" /quiet /qn IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=ALL"
            }
        ],
        "Server": {
            "LicenseFilePath": "C:\\PowerShell DSC Installers\\10.9.1\\ExampleFromMyEsriDotCom.prvc",
            "Installer": {
                "Path": "C:\\PowerShell DSC Installers\\10.9.1\\ArcGIS_Server_Windows_1091_180041.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\Server",
                "InstallDirPython": "C:\\Python27"
            },
            "ServerDirectoriesRootLocation": "C:\\arcgisserver\\directories",
            "ConfigStoreLocation": "C:\\arcgisserver\\config-store",
            "PrimarySiteAdmin": {
                "UserName": "HappyBug",
                "Password": "HappyBugPassword"
            }
        },
        "DataStore": {
            "ContentDirectoryLocation": "C:\\arcgisdatastore",
            "EnableFailoverOnPrimaryStop": false,
            "Installer": {
                "Path": "C:\\PowerShell DSC Installers\\10.9.1\\ArcGIS_DataStore_Windows_1091_180054.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\DataStore"
            }
        },
        "LicenseManager": {
            "LicenseFilePath ": "C:\\PowerShell DSC Installers\\ArcGISDesktopStandard_FailoverConcurrentUse_000000.prvs",
            "Installer": {
                "Path": "C:\\PowerShell DSC Installers\\ArcGIS_License_Manager_Windows_2021_1_180127.exe",
                "InstallDir": "C:\\Program Files\\ArcGIS\\LicenseManager"
            }
        }
    }
}

Expected Behavior
License Manager should show 1 available license for ArcGIS Pro.
Actual Behavior
No available licenses.
Steps to Reproduce

Buy 1 license for ArcGIS Desktop Standard Concurrent Use (Commercial License and Perpetual)
Go to My.esri.com, click on the authorization number, and download the license file (ending in ".prvs" where one of the lines near the top starts with "Provision ID="
Put the license file in C:\PowerShell DSC Installers\
Run the following PowerShell commands

$Credential=Get-Credential
Invoke-ArcGISConfiguration -ConfigurationParametersFile "C:\Users\FakePerson\Desktop\10.9.1 Initial Install Plus License Manager.json" -Mode InstallLicenseConfigure -Credential $Credential
Important Factoids
License Server does install even though the license is not applied. If I try to authorize the software using the PRVS file as described below, the application stops and asks me to enter:

Your Organization
Your Industry
Yourself

I have a bad feeling that even though the "Convert ArcGIS Pro Named User Licenses" page in My.Esri.com says the license type is already "Concurrent Use", I still have to go through "Convert ArcGIS Pro Named User Licenses" to get the authorization # and PRVS file. However, even if the Pro stuff is broken and my current PRVS file is actually an ArcMap/ArcCatalog PRVS file, I'd still expect License Server to say that an ArcMap (or "Desktop") license is available.
It's possible that the workflow should be improved by the people who deal with My.Esri.com. Unfortunately, the page that My.Esri.com links to (https://pro.arcgis.com/en/pro-app/latest/get-started/licensing-arcgis-pro.htm) from "Convert ArcGIS Pro Named User Licenses" does not mention that this step is necessary for people who paid for a concurrent license and expected to receive a concurrent license rather than a "Named User" license. There's no hint that the conversion is necessary from "View Authorizations" either.
The Pro documentation says (as of March 4 at 3:32 PM Redlands, CA time) "The Named User license type is the default license type for ArcGIS Pro and is only available for ArcGIS Pro. Using a different license type is possible but requires a conversion of licenses through My Esri and is only available for ArcGIS Pro licenses that are part of an ArcGIS Desktop purchase."
References

Hi @ZianAtFirstWatch,
Can you open the *.prvs license file with a text editor and check if it contains the Your Organization, Your Industry, Yourself in the //User Information section? For example:
// User Information
First Name=Happy
Last Name=Bug
Organization=Little_Bug
Department=Bug_Finders
<EMAIL_ADDRESS>Address 1=380 New York St.
City=Redlands
State/Province=CA
Location=United States
Location Code=US
Zip/Postal Code=92373
Phone Number=909-793-2853
Your Organization=Commercial/Private Business
Your Industry=Other
Yourself=Other

//Features and authorization numbers
Desktop Advanced=EFLXXXXXXXXX=1

The silent authorization could be failing if any of the //User Information missing from the .prvs file. If you manually edit the file, and try again does it successfully authorize?
Thanks,
Cameron K.

You're right about the prvs file; those entries were missing from a file I just downloaded from my.esri.com even though I clicked both of the "populate" buttons.

Added the following to the prvs file

Your Organization=Commercial/Private Business
Your Industry=Public Safety/Emergency Management
Yourself=Engineer

Changed the JSON file:
"LicenseFilePath ": "C:\\PowerShell DSC Installers\\githubtest.prvs",
Ran the PowerShell commands in the original issue again.

Among other things, PowerShell said:
Dot Sourcing the Configuration:- ArcGISLicense
Starting DSC Job:- ArcGISLicense
VERBOSE: Time taken for configuration job to complete is 0.005 seconds
3/10/2022 4:55:00 PM: [STOUTESRI2]: LCM:  [ Start  Set      ]
3/10/2022 4:55:00 PM: [STOUTESRI2]: LCM:  [ Start  Resource ]  [[ArcGIS_License]ServerLicenseStoutESRI2]
3/10/2022 4:55:01 PM: [STOUTESRI2]: LCM:  [ Start  Test     ]  [[ArcGIS_License]ServerLicenseStoutESRI2]
3/10/2022 4:55:01 PM: [STOUTESRI2]: LCM:  [ End    Test     ]  [[ArcGIS_License]ServerLicenseStoutESRI2]  in 0.0320 seconds.
3/10/2022 4:55:01 PM: [STOUTESRI2]: LCM:  [ Start  Set      ]  [[ArcGIS_License]ServerLicenseStoutESRI2]
3/10/2022 4:55:06 PM: [STOUTESRI2]: LCM:  [ End    Set      ]  [[ArcGIS_License]ServerLicenseStoutESRI2]  in 10.0400 seconds.
3/10/2022 4:55:06 PM: [STOUTESRI2]: LCM:  [ End    Resource ]  [[ArcGIS_License]ServerLicenseStoutESRI2]
3/10/2022 4:55:06 PM: [STOUTESRI2]: LCM:  [ End    Set      ]
3/10/2022 4:55:06 PM: [STOUTESRI2]: LCM:  [ End    Set      ]    in  10.1790 seconds.
Logs Directory: C:\Windows\system32\Logs
Finished DSC Job:- ArcGISLicense. Time Taken - 00:00:10.9245634
ArcGISLicense - Completed

Afterwards, ArcGIS License Server Administrator does not show that an additional concurrent license for ArcGIS Desktop is available.
In case it helps, here's a screenshot from DiffMerge that compares my file with your example.

Hi @ZianAtFirstWatch,
I suspect there still must be something not entirely right with the .prvs file. Looking at the diff image, did you update Location=US to Location=United States to your .prvs file?
Let's also add -DebugSwitch parameter to the Invoke-ArcGISConfiguration command, it might give us additional details. For example, we should see something like:
[[ArcGIS_License]LicenseManagerLicenseLMNodeHostName] RealVersion of ArcGIS Software:- 2021.1
[[ArcGIS_License]LicenseManagerLicenseLMNodeHostName] Licensing from C:\software\auth_files\LocalLMDT_CU.prvs
[[ArcGIS_License]LicenseManagerLicenseLMNodeHostName] Version 10.6 Component LicenseManager
[[ArcGIS_License]LicenseManagerLicenseLMNodeHostName] Licensing Product [LicenseManager] using Software Authorization Utility at C:\Program Files\ArcGIS\LicenseManager\bin\SoftwareAuthorizationLS.exe
[[ArcGIS_License]LicenseManagerLicenseLMNodeHostName] [Running Command] C:\Program Files\ArcGIS\LicenseManager\bin\SoftwareAuthorizationLS.exe -s -ver 10.6 -lif "C:\software\auth_files\LocalLMDT_CU.prvs"
[[ArcGIS_License]LicenseManagerLicenseLMNodeHostName] Re-readings Licenses
[[ArcGIS_License]LicenseManagerLicenseLMNodeHostName] License Manager tool operation successful -
[[ArcGIS_License]LicenseManagerLicenseLMNodeHostName] Finished Licensing Product [LicenseManager]

Thanks,
Cameron  K.

I've replaced it with "Location=United States" and re-run the file with -DebugSwitch.
PowerShell never mentioned "LicenseManagerLicenseLMNodeHostName" in the console output. I probably shouldn't post the entire log file on a public GitHub issue. If you'd like a copy, let me know the best way to send it to you.
PowerShell said:

3/11/2022 4:59:48 PM: [STOUTESRI2]: LCM:  [ Start  Resource ]  [[ArcGIS_Install]LicenseManagerInstall]
3/11/2022 4:59:48 PM: [STOUTESRI2]: LCM:  [ Start  Test     ]  [[ArcGIS_Install]LicenseManagerInstall]
3/11/2022 4:59:48 PM: [STOUTESRI2]:                            [[ArcGIS_Install]LicenseManagerInstall] Installed Version 21.0.472
3/11/2022 4:59:48 PM: [STOUTESRI2]: LCM:  [ End    Test     ]  [[ArcGIS_Install]LicenseManagerInstall]  in 0.0100 seconds.
3/11/2022 4:59:48 PM: [STOUTESRI2]: LCM:  [ Skip   Set      ]  [[ArcGIS_Install]LicenseManagerInstall]
3/11/2022 4:59:48 PM: [STOUTESRI2]: LCM:  [ End    Resource ]  [[ArcGIS_Install]LicenseManagerInstall]

Is it possible that the DSC resource isn't checking to make sure the License Server Administrator has the PVRS file applied despite running "-Mode InstallLicenseConfigure"?
Elsewhere in the PowerShell output, I can see the computer checking the license for AGS.
3/11/2022 4:59:59 PM: [STOUTESRI2]: LCM:  [ Start  Resource ]  [[ArcGIS_License]ServerLicenseStoutESRI2]
3/11/2022 4:59:59 PM: [STOUTESRI2]: LCM:  [ Start  Test     ]  [[ArcGIS_License]ServerLicenseStoutESRI2]
3/11/2022 4:59:59 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] RealVersion of ArcGIS Software to be Licensed:- 10.9.28388
3/11/2022 4:59:59 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] Version
3/11/2022 4:59:59 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] License Check Component:- Server
3/11/2022 4:59:59 PM: [STOUTESRI2]: LCM:  [ End    Test     ]  [[ArcGIS_License]ServerLicenseStoutESRI2]  in 0.0350 seconds.
3/11/2022 4:59:59 PM: [STOUTESRI2]: LCM:  [ Start  Set      ]  [[ArcGIS_License]ServerLicenseStoutESRI2]
3/11/2022 4:59:59 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] RealVersion of ArcGIS Software:- 10.9.28388
3/11/2022 4:59:59 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] Licensing from C:\PowerShell DSC Installers\10.9.1\ArcGISGISServerStandard_ArcGISServer_1117397.prvc
3/11/2022 4:59:59 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] Version 10.9 Component Server Role GeneralPurposeServer
3/11/2022 4:59:59 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] Licensing Product [Server] using Software Authorization Utility at C:\Program Files\Common Files\ArcGIS\bin\SoftwareAuthorization.exe
3/11/2022 4:59:59 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] [Running Command] C:\Program Files\Common Files\ArcGIS\bin\SoftwareAuthorization.exe -s -ver 10.9 -lif "C:\PowerShell DSC Installers\10.9.1\ArcGISGISServerStandard_ArcGISServer_1117397.prvc"
3/11/2022 5:00:09 PM: [STOUTESRI2]:                            [[ArcGIS_License]ServerLicenseStoutESRI2] Finished Licensing Product [Server]
3/11/2022 5:00:09 PM: [STOUTESRI2]: LCM:  [ End    Set      ]  [[ArcGIS_License]ServerLicenseStoutESRI2]  in 11.6040 seconds.
3/11/2022 5:00:09 PM: [STOUTESRI2]: LCM:  [ End    Resource ]  [[ArcGIS_License]ServerLicenseStoutESRI2]

Hi @ZianAtFirstWatch,
This is definitely strange, the module should be doing the ArcGIS Server Authorization and the License Manager authorization. I am not quite sure why its not.
I recommend contacting Esri Technical Support. They have the ability to setup a secure FTP for files, and also ability to screen share to further troubleshoot the issue.
Thanks,
Cameron K.


Add livecell (lm) generalist results

I have moved the results to the destination as discussed (thought of a simple naming convention ~same as in experiment folders from inferences, will come up with something particular later)


Is Laradock Caddy Capable of using Caddy Built in Lets Encrypt Auto HTTPS?

I see Someone here have mention Caddy to Use Https..
By Just Commenting Out the tls self signed.
I did a test by i already know what would happen since it is a self signed certificate.
Im wondering if you can Use the latest Caddy with Auto Https...
Anyone Know how to do this? thanks

Solved it already added to the guide


feat(metrics): Add URL to metrics labels

Small feature addition.
Sometimes is useful to have the endpoint URL in metrics labels so we can include that as part of alert messages when these metrics are scraped via prometheus.

@TwiN any feedback on this PR?

Thank you for the contribution!

@danlsgiga I don't do this usually, but I had to revert the PR because I don't have the time to fix this right now.
After merging, I found out that the URL doesn't discard the query parameters, and that's an issue because unfortunately, many people pass tokens as query parameter (e.g. https://example.org/api/v1/example?token=123), which would make releasing this a security risk.
If you can make another PR that discards all query parameters (?token=123, in the example above), I could merge your feature.


Add option for adding field stars as a background

First try implemented.
Next:

add models, such as "Milky Way"-type field stars (age, mass distribution);
option for varying the amount of field stars,
option for varying the distance of field stars (distance modulus; distance relative to obscuring gas/dust)


Update height and set minimum width of Selects

This fixes a minor bug with the select component in Safari, which is that the min-height property is ignored when the default native appearance is used, resulting in a select which is only 30px high. (Other browsers such as Chrome and Firefox seem to apply the minimum height.)
This restores the select to its previous fixed height of 40px. As the select will never wrap onto 2 or more lines (instead the text gets truncated), having a fixed height should be fine.
Additionally, this also introduces a minimum width to the select component (this property does work in all browsers), in case the options in the select are very short. In these cases, having a wider select means for a bigger target area, and is closer to what users expect. I’ve followed the GOV.UK Design System in setting the minimum width to match the width-10 variant of the input component, which works out as 223px (see their definition of this).
Screenshots (Safari)

Before
After

Checklist

[ ] Tested against our testing policy (Resolution, Browser & Accessibility)
[ ] Follows our coding standards and style guide
[ ] CHANGELOG entry

@frankieroberto Looked into this one to try and fix your safari issue but also fix the initial issue that introduced this bug: https://github.com/nhsuk/nhsuk-frontend/issues/921
Swapped to set the height in rems, seems to work. Sadly can't take credit for the idea – it's how GOV have sized theirs.
(also refactored your comments to follow the style guide)

@anandamaryon1 oh nice! I didn't use rems as we didn't seem to use rems elsewhere, but it will also make it scale with the text size. 🙌
I think the Safari bug is more down to setting min-height (which seems to be ignored) rather than the unit type, but not 100% sure.


Test outline for gnsi.acctz (w/ MR 122)

Test outline for gnsi.acctz.  These assume that https://github.com/openconfig/gnsi/pull/122 will be accepted.

Pull Request Functional Test Report for #2343 / b4d9c6291a89e2e6fa72eac7f969bdbfe3a05f66
No tests identified for validation.
Help

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 remained the same at 48.7%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1536

Relevant Lines:
3154

💛  - Coveralls


Pokemon evolution check

An option to control evolution of Pokemon to reduce lose of candies.
For level above
Option to have the option to evolve higher version of Pokemon.
Prevention of candy lose due to evolution of lower sets instead of higher ones.
Evolve :
Insted of wasting candies to evolve.
Poliwag -> Poliwhirl | Candies = 25
The evolution should focus on
Poliwhirl -> Poliwrath | Candies = 100

I agree, ideally we will be able to edit all options in the config files eventually


stdlib: String: improvements and refactorings

replace error-prone pairs of isASCII/startASCII calls with an API that returns Optional
annotate LibcShims.h with nullability
declare functions for assertion reporting in SwiftShims instead of using @_silgen_name
stdlib: annotate AssertionReporting.h with nullability

@swift-ci Please smoke test

Waiting for https://github.com/apple/swift-package-manager/pull/634 .

@swift-ci Please test

@swift-ci Please smoke test


Update docs links to ensure they go to the right places (and use the new URL structure)

Chore
Replace the links to docs to the right places (as things have changed)
Docusaurus (the framework for docs.vega.xyz) no longer requires that we have /docs/ in the URL for it to work as a documentation site. This means we can slim down the docs URLs i.e.
docs.vega.xyz/docs/testnet/api/rest/overview
becomes
docs.vega.xyz/testnet/api/rest/overview
Edd will be setting up a batch redirect to prevent (most/all) external broken links, but ideally they should be changed across UIs/websites to the new URL structure so that the redirects can be removed.
Candida has also restructured the liquidity pages quite a bit so all the links at the top have changed. We will need to rework slightly how we approach that, currently the links are basically:

Background on liquidity on vega
Liquidity tutorial > provide liquidity
Liquidity tutorial > view liquidity orders
Liquidity tutorial > amend / cancel liquidity order

The way it has now been restuctured it is probably more logical to go with:

Learn about liquidity on Vega >> https://docs.vega.xyz/testnet/concepts/liquidity/provision
Learn about liquidity rewards & penalties >> https://docs.vega.xyz/testnet/concepts/liquidity/rewards-penalties
Detailed tutorials on committing liquidity >> https://docs.vega.xyz/testnet/tutorials/committing-liquidity

Tasks

[x] Find the right links (Jon)
[ ] Find and replace all docs URLs across the app
[ ] Test and verify everything still works

Have updated links and changed structure slightly to align better with what is now on the docs.

All of these have been replaced with a single link which is working so we're good.


Cross-compiling from macOS to Windows?

I know this potentially would be much harder than Linux support, only creating the issue to understand the feasibility of this cross-compilation target.

ah, please disregard this, I'm going blind and didn't see -linux- in the name of the repo 🤦


Fixes https://github.com/kubeflow/gcp-blueprints/issues/334

/ok-to-test

/lgtm
/approve
Thank you so much @edi-bice-by for finding the bug and adding the contribution!


Question about training and validation split

Hi, i'm training some bakedangelo models which gave very nice outputs, but I can't seem to wrap my head around one thing:

The comment on row 117 states: # set to a very large model so we don't eval with all images
So i was wondering that there's not a "complete" train/validation split like happens on Nerfstudio (90-10)
Correct me if i'm wrong: Let's say I have 100 images: in sdfstudio these models use all the 100 images for training set and also the same 100 images as validation set, but the 100 images aren't all used because the model is set to a very large number of iterations (in this case 1 million). I tipically stop the training at 200k~ iterations so that should mean that it's at 1/5 of the maximum allowed steps for evaluating all images. Does that mean that I've used 1/5 of all the evaluation dataset -> 20 images?
Second question: why are we using the same images for training and validation?
Sorry if I've been messy but this part has been bugging me for the past week. Can you explain it to me better?
Thanks in advance

Hi, line 117 is just because the evaluation on all images is very slow. For the train test split, you need to check with data parser you used.
For reconstruction, since we care more about the reconstruction quality and using more images is generally help so we use all available images for training.

Hi, line 117 is just because the evaluation on all images is very slow. For the train test split, you need to check with data parser you used.
For reconstruction, since we care more about the reconstruction quality and using more images is generally help so we use all available images for training.

I used the sdfstudio-data parser, that's the one using train data also as eval.
But doesn't that implicate some level of overfitting??

Yes, It might be. But I think since the SDF has strong regulations with eikonal loss, using 10 % more images is complete fine. In general, if you use more images for training NeRF, you will also get better results. Of course, you will need train/test split if you want to do some bench mark.

Ok, but by default in the sdfstudio-data parser train and validation splits DO everlap, right?
in this part of the sdfstudio data parser there's this flag i found:

So, by default training and validation set overlap and are the same, but if i set it to "true" a portion of the training is reserved for validation so it's not seen during training, right?


New Issue - Unable to get all model objects from Snipe-IT instance

Grok,
I haven't set up any scheduled runs of this yet, so I was just manually running the task. The same one I ran yesterday (multiple times, as I was testing something), is now showing me this error and nothing else helpful from --verbose or --debug

Any idea whats broken here?

Someone just submitted a PR for adding pagination support to kandji2snipe, which is based on this codebase. Once I've tested and merged https://github.com/grokability/kandji2snipe/pull/13, I'll port it over here, and that should solve this sort of issue going forward.

I have too many models for Snipe-IT to return. I fixed it with my updated code: https://github.com/grokability/jamf2snipe/pull/119


fix: customstatements in function events

Issue #, if available:
Description of changes:
Description of how you validated changes:
Checklist:

[ ] Write/update tests
[ ] make pr passes
[ ] Update documentation
[ ] Verify transformed template deploys and application functions as expected
[ ] Add/update example to examples/2016-10-31

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

Verified that this fixes the issue we found.
Issue description: the previous fix (#1395) for resource policies introduced a regression where resource policies added in Function Events were not added to the resulting API. This fixes the regression.


Support different repo for the binder environment configs

See docs.

Hi! Do you want to use this action with a different content repository, or a different environment?

With a different repository for required Binder setup files (e.g. for runtime.txt and so on).

If you're still interested please give the main branch a try!

Thanks, I'll try.

Hmm, @manics, not sure how to specify github repo (e.g. https://github.com/diofant/mybinder-env).  Is this supported, or only gist's?

Try environmentRepo: gh/diofant/mybinder-env/HEAD. It's whatever comes after https://mybinder.org/v2/ in a normal mybinder link (e.g.https://mybinder.org/v2/gh/diofant/mybinder-env/HEAD) so any repo type supported by mybinder should work.

Hmm, without persistent links this is not so useful:(  Perhaps, I should ask nbgitpuller team to add support for this?  Or, better - you?

Please could you open an issue on https://github.com/jupyterhub/nbgitpuller ? It's always better for the use-case to be described by the user!

https://github.com/jupyterhub/nbgitpuller/issues/239


Plugin support

As discussed in https://github.com/dominikbraun/timetrace/issues/91 we may need plugins.
This is a first draft, which uses the GoPlug lib, which I created specifically for timetrace.
Both, this PR and GoPlug are in a very experimental and untested stage.
So feel free to leave suggestions or even other ideas to implement plugins.
Currently it is possible to add custom commands to timetrace and to print text to stdout.
Argument parsing has to be done in the plugin separately. (It should be possible to just use another cobra instance for that??)
(however don't know yet how to pass the help-output (e.g. timetrace help hello) to the plugin. Maybe with SetHelpFunc)
This should be enough to implement https://github.com/dominikbraun/timetrace/issues/91 as plugin. (except getting the latest record)
Note: not tested on windows yet...
Example
I added a basic example which adds a new timetrace subcommand timetrace hello
To run it, first build the plugin by running
go generate

Then just run
go run . hello some other arguments...

It will print out "Hello World" and the other passed arguments.
The hello command will even be visible in the timetrace help.
As GoPlug works through stdin / stdout, it should be possible to write plugins in any language. (haven't tried that yet)

@dominikbraun
I re implemented GoPlug using json rpc over stdin / stdout. This simplifies the communication logic a lot.
Updated this experimental timetrace version to use that. I also added now a query for LoadLatestRecord so the notify command would be fully implementable based on the proposal of @FelixTheodor
Note: we may have discovered another possiblity:
Call plugins the way I do now, but instead of rpc, just use timetrace as lib.
-> downside: the plugin binaries would all basically contain timetrace (may result in bigger binaries)
-> downside: it is not possible to write plugins in other languages but with the json-approach it would be possible (in theory)
-> downside: I think plugins which "provide" other data sources would not be possible as there communication is needed.
-> upside: much easier to maintain -> for rpc we need to basically create one rpc endpoint for each public method.
It would also be possible to use the lib-approach for subcommand-plugins and the rpc approach for datasource-plugins, where then the plugins would contain the rpc server and timetrace would query the data through that from the plugins.

@aligator this seems to be really cool, I will take a closer look at it this weekend and see if I can adapt the notify command as a plugin via your library :)

@FelixTheodor But don't build something too serious. @aligator found yet another way to solve the plugin communication, but due to the (over-?) complexity of these approaches we're currently thinking about making timetrace usable as a Go package and plugins being completely isolated standalone binaries using that package.

@dominikbraun
I now experiment with code generation to generate the api out of normal functions to reduce the api-maintenance overhead:
https://github.com/aligator/goplug/tree/code-generation
These methods are basically also just callable as lib. So if someone wants to use that approach it works also with the same api-methods.
The idea is that the only requirement for API-functions is to be a 'Method' of 'something' and that the 'something' is created at startup so that it can be passed to GoPlug in the beginning. In our case we could even use the timetrace struct.
To mark such methods they have to be annotated with "//goplug:generate". And currently a requirement is that it returns at least an error (as last return type)
package actions

import (
	"fmt"
	"math/rand"
	"time"
)

type App struct {
	isSeeded bool
}

//goplug:generate
func (a App) GetRandomInt(n int) (int, error) {
	if !a.isSeeded {
		rand.Seed(time.Now().UnixNano())
		a.isSeeded = true
	}

	return rand.Intn(n), nil
}

//goplug:generate
func (a App) PrintHello() error {
	fmt.Println("Hellooooooo")
	return nil
}

This results currently in generated code like this:
https://github.com/aligator/goplug/blob/code-generation/example/host/gen/actions.go
A plugin calls these methods as any other method:
func main() {
	p := New()
	p.SetSubCommand("servus", func(args []string) error {
		p.PrintHello()
		p.Print("I bins, da Aligator!")
		return nil
	})

	p.Run()
}

@dominikbraun  @FelixTheodor  Updated goplug to do the code generation. Also updated the example timetrace plugin to use that.
Now it is nothing more needed than the annotation to LoadLatestRecord to make it available to plugins. (some param / return types are not supported yet, such as slices).
@FelixTheodor feel free to try to implement the notify plugin. Should be easy to do.
@dominikbraun we have to discuss about how to proceed further

What do you guys think of using WebAssembly (WASI, to be specific) for the plugins?

@obnoxiousnerd also an interesting idea, but I think in this case it is much more overhead than needed. If we support plugins I would prefer any more native way than another execution layer (webassembly).


Remove note to tell being Alpha status

What this PR does / why we need it:
Since we settled on making it Beta: https://pipecd.dev/docs/feature-status/
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

🚀
/aaprove


Install break with new version of cachetools

Hello there,
New version of cachetools (3.0.0) is released and it break reppy because the deprecated missing property was removed.
Currently reppy does not require any specific version:
reppy==0.4.9
  - cachetools [required: Any, installed: 3.0.0]

It should probably requires any 2.X instead

Error as below:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/quan/Documents/sr_work/envs/fetcher/lib/python3.7/site-packages/reppy/cache/__init__.py", line 48, in __init__
    self.cache = LRUCache(maxsize=capacity, missing=self.missing)
TypeError: __init__() got an unexpected keyword argument 'missing'

This bug was fixed on Nov 16 2018 and no one closed this bug @evanbattaglia


User Location from Google Maps

We're going to need to be able to access the user's location with their consent. I'm not sure what goes into this so it may take some research.

https://www.npmjs.com/package/react-geolocated

So I installed react-geolocated and tried this out just now.  I'm not able to get past the prerequisite of isGeolocationEnabled, and I'm getting the "Your browser does not support Geolocation" message (even though that shouldn't be the case). My export class Map code looks like the following:
export class Map extends React.PureComponent {
render() {
return !this.props.isGeolocationAvailable
? Your browser does not support Geolocation
: !this.props.isGeolocationEnabled
? Geolocation is not enabled
:  ;
}
}

So, I've been playing around with this and discovered an obvious problem: all of the geolocation props have to get passed into the map component somehow, and I don't think the example from that link is clear as to how it happens. Based on how I attempted it earlier, I was essentially trying to access undefined props. That's why it was telling me "geolocation is not supported" because this.props.isGeolocationEnabled is undefined.


Question; In fact not related to your code

Hey Freddie,
your plugin is linked on telescope's extension wiki page. How did you get there?
Best,
Philipp
PS.: The issue tab is only way I know how to communicate with the developer. I'm sorry if this is the wrong medium for my question.

Meanwhile, I have found out that everyone can edit Wiki pages on GitHub.


[TC-IDM-5.2]-Chip-tool need to have a provision to write functionality for unsuported attributes.

Problem
As per Test-Plan, to verify the DUT whether it is written unsupported access Message. The Chip-tool need to support
write Access for unsupported attributes so that this test can be verified.
Test-Plan reference:-
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/interactiondatamodel.adoc#tc-idm-5-2-timed-request-action-th-to-dut

@Rajashreekalmane Is this talking about YAML or manual chip-tool invocation?
Does "unsupported" mean "unsupported on the server but defined in the spec", or does "unsupported" mean "not defined in the spec at all"?

And @Rajashreekalmane what does the timed request test plan have to do with this issue?

@Rajashreekalmane  This is not a valid issue. You are looking for a Chip-tool support to send a delayed write request to verify the Test case TC-IDM-5.2.
Please close this issue.


add REST api to get adapters information

now support get following information of a adapter:

adapter_address
adapter_status
lan_owner
lan_name
mac_address
mac_ip_address: this may not found
mac_ip_version: this may not found
And add unit test cases and Doc of REST API

This API function works good in my environment, thanks!

please fix the conflict and sign off the PR...

@SharpRazor please check comments... I think you might want to do some local UT first。。

@SharpRazor please check comments... I think you might want to do some local UT first。。

I ran the test and it passed.


Broken stylesheet on Hugo Themes demo

Is this a BUG REPORT or FEATURE REQUEST?:
bug
What happened:
Went to https://themes.gohugo.io/theme/syna/ and it's broken
What you expected to happen:
The stylesheets to download and for the page to look like https://about.okkur.org/syna/
How to reproduce it (as minimally and precisely as possible):
https://themes.gohugo.io/theme/syna/
Anything else we need to know?:
Screenshot (with Console Log):

Environment:

Syna Theme version: syna @ 8976bf0
Hugo version: latest deployed version
Others:

Browser: Firefox 78.0.2 (64-bit)
OS: Linux 5.3.0-62-generic #56~18.04.1-Ubuntu

I thought this might have just  been my fault but a friend on another machine (w/ Chrome) confirmed this link is broken; What I think is happening is the file doesn't exist so gohugo.io is returning a 404 page that's then parsed as text/html.

The asset's path is wrong. Not sure why. @stp-ip Would you please check this out?

Checking it out. Thanks for the bug report.

The asset path works, when using Permalink instead of RefPermalink within head.html. Still trying to figure out the full picture as there are various other annoyances related to this issue.