[WIP] Implement disk creation

Still needs tests and error handling
Closes #218

Coverage decreased (-2.2%) to 90.676% when pulling d72eb279cb32ce394a5f73af8d9b5de633a11ac5 on SirCmpwn:linode-disk-add into 1659b2da3fe8d2fd4f46ba3f76c74176ef794f21 on linode:master.

Coverage decreased (-0.3%) to 92.541% when pulling 0b63000c7050f7d713cc9b9e9fd1e56841f09182 on SirCmpwn:linode-disk-add into 1659b2da3fe8d2fd4f46ba3f76c74176ef794f21 on linode:master.

Coverage increased (+0.4%) to 93.24% when pulling fe3b25a7b6d6e7283be1a2ba3b5917d178287a0b on SirCmpwn:linode-disk-add into 1659b2da3fe8d2fd4f46ba3f76c74176ef794f21 on linode:master.

Error handling:

Coverage increased (+0.5%) to 93.4% when pulling 076e6ea8868a84194ea17815b1f85e8d8c77a475 on SirCmpwn:linode-disk-add into cfe2a96bc9f41467bcb054ce7414f83dd3d021d8 on linode:master.

Coverage increased (+0.5%) to 93.4% when pulling 076e6ea8868a84194ea17815b1f85e8d8c77a475 on SirCmpwn:linode-disk-add into cfe2a96bc9f41467bcb054ce7414f83dd3d021d8 on linode:master.

This looks really good. I'm really happy with the work you're doing on this page visually. Gunna log into the CF Manager to see if we're missing anything else relevant. Is this still [WIP]?

Nope, just forgot to remove it.

I guess the one aspect of the deploy to disk flow this is glossing over is the swap. But I guess since this is post-create it doesn't matter in the same way. Actually, this makes me think the distribution option should come after the disk type. If you select swap, the distribution should be hidden. And is there a root password option? How do they set that for their new disk with a distribution?

Root pw appears after you select a distro (and fs disappears):

Why does fs disappear? -1. I think the fs should be above the distro and always be visible. Then distro should be hidden if they select swap (or raw, actually) as the fs.

You can't pick the fs if you are asking us to deploy a distro. It comes with the distro image.

That is... awkward. We only have five fs options. ext3, ext4, raw, swap, and initrd. If the user selects ext3 or ext4 then the distros are available to them. Otherwise hide the distros. Are all distros not available on both ext3 and ext4?

-1

Your choice between ext3/4 (or any other kind of fs) is discarded by the host and it just deploys whatever it feels like when you choose a distro.

Why leave the UI there for a meaningless choice once you've selected a distro?

Maybe this is the wrong UI here then. Presenting it linearly here suggests any combination of what they see is an option. The option they really have is: deploy distribution or select a blank filesystem. (And we're not even talking about StackScripts which will have to be an option here too later.)

I think the UI effectively conveys the flow you just described. When you get to the distro choice, if you pick none, you're offered a filesystem choice. If you pick one, you're asked for a root pw.

It does not convey that no distribution is deployable to a raw or swap fs. Since the option is still there once they'd selected raw, it would seem like they could then go back and select a distro.

If the user goes out of order it's not my fault.


Doubly nested arrays

Hi, been waiting to use mapper for a personal project for quite a while now and finally came around to doing so. Really loving it!
The only problem is that the API I'm working with is sending data as a doubly-nested array at one point. And I'm not quite sure how to work with this 😕
I've defined my model struct like this:
struct Building {
	// ...
	let points: [[CLLocationCoordinate2D]]
}

Deserializing like this unfortunately isn't working:
extension Building: Mappable {
	init(map: Mapper) throws {
		// ...
		try points = map.from("punkte")
	}
}

Is there a simple way to get around this? Should this be working and I'm missing something else?
Thanks for any help in advance 😊

Hey @kiliankoe, thanks for reporting this. This isn't a case we've dealt with before. It's doubly interesting because if your type was able to be casted by swift (say [[String]]) this would work as is right now. But since you're using a Convertible this doesn't work out.
One solution to this would be:
let arrays: [NSArray] = try map.from("punkte")
self.others = try arrays.map { array in try array.map(CLLocationCoordinate2D.fromMap) }

Where the first step is getting the nested arrays from the JSON. Of course if you wanted to you could also make that more specific, such as [[[String: String]]] or whatever your actual type is.
Then the second step is mapping over this array of arrays, creating coordinates from your custom Convertible function.
This obviously isn't the prettiest solution, but I don't think that we currently want to add direct support to mapper for custom 2d arrays like this. Ideally in the future you could also make an extension on Array for a specific type while also conforming to a protocol. For example that might look like:
extension Array: Convertible where Element: Convertible

But right now having this type constraint while also conforming to a protocol seems to be impossible.

Fantastic, might be a workaround, but it's definitely reasonable and seems to work fine 😊 Thanks for the quick answer, I really appreciate it!

I tried this on Xcode 7.2.1 and I'm getting the following error
Extension of type 'Array' with constraints cannot have an inheritance clause

I went down a similar route because when I try to do this:
let images: Array<NSDictionary> = try map.from("pictures")

I keeps crashing with MappableError; when debugging the value from pictures is correct; its an array of dictionaries.
Changing the type to NSArray doesn't fix the issue either sadly :(

In case anyone faces the same issue I was facing; I ended up changing the try map.from part to map.optionalFrom and left everything else the same and it worked.
Even though the JSON always contains that array this was the only workaround; otherwise it crashed :100: of the time
¯\_(ツ)_/¯

@esttorhe would you mind providing a little more context so I can setup a test case for this and see what the issue is?

Sure thing.
Pretty much this was the JSON that was causing the issue
{
  "succeeded": true,
  "result": {
    ".expires": "4/6/2016 9:24:53 PM",
    ".issued": "3/22/2016 9:24:53 PM",
    "access_token": "12341234123412341234",
    "as:client_id": "appid",
    "expires_in": "1209600",
    "profile":     {
        "userName": "sample string 1",
        "firstName": "sample string 2",
        "lastName": "sample string 3",
        "age": 21,
        "minimumAgeInterest": 20,
        "maximumAgeInterest": 28,
        "sex": 0,
        "interest": 0,
        "school": "sample string 7",
        "work": "sample string 8",
        "latitude": 9.1,
        "longitude": 10.1,
        "distance": 11.1,
        "availablePoints": 12,
        "pictures": [
           {
             "id": 1,
             "picture": "sample string 2",
             "order": 3
           },
           {
             "id": 1,
             "picture": "sample string 2",
             "order": 3
           }
        ],
        "best": [ {
            "questionId": 1,
            "text": "sample string 2",
            "picture": "sample string 3",
            "answer": 0
          }, {
            "questionId": 1,
            "text": "sample string 2",
            "picture": "sample string 3",
            "answer": 0
          }
        ],
        "worst": [
                  {
                  "questionId": 1,
                  "text": "sample string 2",
                  "picture": "sample string 3",
                  "answer": 0
                  },
                  {
                  "questionId": 1,
                  "text": "sample string 2",
                  "picture": "sample string 3",
                  "answer": 0
                  }
                  ]
    },
    "refresh_token": "123412341234",
    "token_type": "bearer",
    "userName"<EMAIL_ADDRESS>  }
}

When decoding the pictures array I was assigning it to a var then doing some map and sort by decoding the pictures like this:
let images: Array<NSDictionary> = try map.from("pictures")

The above code inside the init(map: Mapper) of my struct. Which was causing the crash.
Changing that to something like this:
if let images: Array<NSDictionary> = try map.optionalFrom("pictures") {

Fixed the crash.

That's interesting. It seems like this test passes:
    func testNestedArrayOfDictionaries() {
        struct Test: Mappable {
            let array: [NSDictionary]
            init(map: Mapper) throws {
                try array = map.from("pictures")
            }
        }

        let object: NSDictionary = [
            "pictures": [
                [
                    "id": 1,
                    "picture": "sample string 2",
                    "order": 3
                ],
                [
                    "id": 1,
                    "picture": "sample string 2",
                    "order": 3
                ],
            ]
        ]

        let test = Test.from(object)
        XCTAssertTrue(test?.array.count == 2)
    }

Mmm; that's interesting.
Will try again later today and will update my findings.
Thanks for checking this BTW

Closing this, feel free to reopen/open a new issue if there's a new problem here!


2021-07-13 equity dashboard chart data update

Equity dashboard stats updates in this PR may be reviewed on staging - here.
After reviewing, if all looks well, approve and merge this Pull Request.
If there are issues with the data:

Note concerns or issues here by commenting on this PR
Work with Triston directly to resolve data issues
Alert the COVID19 site team in Slack (in the Equity page channel)

Good morning everyone - Here are notes from today's data review. @vargovargo, please do review as needed!
:heavy_check_mark: Everything seems normal, and I observe no major red flags!
:bulb: Noticeable highlights  are listed below for your reference (and also included in my full report).
:bulb: Case Rate for Pacific Islanders (Blue Box 2) increases by 1% to a value of 36% after 5 consecutive weeks at 35%.
:bulb: Similar to last week, we observe noticeable increases in all Case/100K rates, with the Black category showing the greatest increase in Cases/100K — all values appear reasonable.
:bulb: Statewide case rate increased from 2.6 to 3.8, consistent with the increase in cases seen in R&E data. $0-40K and $40-60K increase by 1.2 and 1.1 cases/100K, respectively.
:bulb: $0-40K cases/100K rate > $60-80K > $40-60K; numerically, rates are very close but not identical (unlike last week)
:bulb: Statewide case rate is between the $60-80K and $80-100K bracket value, like the last two weeks.
:bulb: In comparison to last week’s relatively small increases (0.3 and 0.2, respectively), HE Quartile & Statewide Positivity increase by 0.9 and 0.5 this week, respectively — the rates of increase are getting higher
:bulb: Numerically, HE Quartile Positivity is 0.8 greater than Statewide Positivity (2x the 0.4 difference seen last week)
Thank you!
1. Blue Box Updates:
:bulb: All values appear reasonable and stable — only Case Rate for Pacific Islanders (Blue Box 2) increases by 1% to a value of 36% after 5 consecutive weeks at 35%.
2. Death Rate/100K by R&E:
:heavy_check_mark: All numbers are reasonable and stable (stay at 0, 1 or <11) — unchanged from last week.
:heavy_check_mark: % of COVID-19 deaths statewide changed significantly (≥0.5%) for the following categories:
White: ~2% decrease in % of deaths statewide (similar to last week’s ~4% decrease)
Latino: ~2% increase in % of deaths statewide (similar to last week’s 5% increase)
Asian American: 1.2% decrease in % of deaths statewide (similar to last week’s 1% decrease)
3. Case Rate/100K by R&E:
:bulb: Similar to last week, we observe noticeable increases in all Case/100K rates, with the Black category showing the greatest increase in Cases/100K — all values appear reasonable.
:heavy_check_mark: Asian American continues to be the lowest ranked category.
:heavy_check_mark: Cases relative to percentage of population in CA did not change significantly (≥0.5%) for any categories except:
Black: 1% increase in % of cases statewide (similar to last week’s ~1% increase)
Latino: ~2% decrease in % of cases statewide
4. Testing Rate/100K by R&E:
:heavy_check_mark: We continue to see decreases in all testing/100K rates — all values appear reasonable.
:heavy_check_mark: Multi-Race continues to be the lowest ranked category.
:heavy_check_mark: Testing relative to percentage of population in CA did not change significantly (≥0.5%) except for the following categories:
Latino: 0.8% decrease in % of testing statewide (similar to last week’s 1.8% decrease)
5. Mortality rate/100K vs. Case rate/100K
:heavy_check_mark: Sanity Check — Mortality rate/100K < Case rate/100K for all categories (as expected).
6. Community case rate/100K by median annual household income bracket:
:heavy_check_mark: Unlike last week’s relatively small increase, income bracket cases/100K and statewide case rate increase noticeably this week.
:bulb: Statewide case rate increased from 2.6 to 3.8, consistent with the increase in cases seen in R&E data. $0-40K and $40-60K increase by 1.2 and 1.1 cases/100K, respectively.
:bulb: $0-40K cases/100K rate > $60-80K > $40-60K; numerically, rates are very close but not identical (unlike last week)
:bulb: Statewide case rate is between the $60-80K and $80-100K bracket value, like the last two weeks.
7. HE Metric:
:heavy_check_mark: X-Axis (Dates) successfully extended.
:heavy_check_mark: HE Quartile & Statewide Positivity continue on an increasing trend that began three weeks ago.
:bulb: In comparison to last week’s relatively small increases (0.3 and 0.2, respectively), HE Quartile & Statewide Positivity increase by 0.9 and 0.5 this week, respectively — the rates of increase are getting higher
:bulb: Numerically, HE Quartile Positivity is 0.8 greater than Statewide Positivity (2x the 0.4 difference seen last week)
8. Data completeness (DC):
:heavy_check_mark: DC values predominantly show no significant changes (≥0.5%) except for the following:
SO Cases DC increased by ~1.2% (contrast to last week’s ~1% decrease)
SO Deaths DC decreased by 0.7%
GI Deaths DC increased by 0.9%


Window10 Jump list not showing recent projects

Description

Steps to Reproduce

Install Atom
Right Click on taskbar icon
Look at it

Expected behavior: [What you expect to happen]
It should show recent projects
Actual behavior: [What actually happens]
It shows only basic actions
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
1.27.2

Hello
I don't this issue to be reproduced!

Can you please check if other applications are showing it, as I have seen this can be sometime due to your system configuration
Vikram Ojha

Yes, other programs are working well

Reinstalling (with complete .atom folder removal) didn't solve my issue
But I solved it by clearing project histories... such a weird bug

This should be re-opened
I experienced same bug when I started opening multiple projects at a time

It's working well on 1.28.0


add {{files}} template placeholder

{{files}} will be replaced with A file1 file2, D file2 file3 where A/D means the status of file in git.

Hey @kovetskiy, thank you for the PR! :heart:
I would merge it right away, but I see that the commit message is not conventional.
Could you please change the commit message to:
feat: add {{files}} template placeholder

:ok: Should be conventional now

nice, thank you!
I will be working on the plugin today as well, so I'll do my best to relese this and some other stuff in couple hours.


[1.2] Failed to establish CASE for subscription-resumption with error '32'

Reproduction steps
I have a device that prints mdns timeout messages every once in a while. Is it a problem with the device or the router?how should i solve？

Bug prevalence
1-2 times week
GitHub hash of the SDK that was being used
13028cf6bf21f211215ed513e5e03d78b46418eb
Platform
esp32
Platform Version(s)
1.2
Type
Platform Issue
Anything else?
No response

0x32 in this case is CHIP_ERROR_TIMEOUT.
It's impossible to tell from the provided information where the problem lies.  Maybe the device being resolved is offline.  Maybe it's online but broken and not respnding to DNS-SD queries correctly.  Maybe the router's handling of mDNS is broken.  Could be all sorts of things.  A log from node 0xDEE48152 might help answer some of these questions; logs or packet captures from the router might answer others.
I would suggest starting with logs from 0xDEE48152.


1.2 colors are less than ideal

The swapped background color for the standard theme under 1.2 is quite jarring

Does 1.2b resolve this issue? If not, can you provide me with a screenshot of what you're seeing?

1.2b is visually the same for me. FWIW, under 1.2+ it seems that this darker background is only applied to dashboards but not to HA pages like the Energy pane, the HACS pane, or any of the settings panes
1.2(b):

1.1:

Is there a chance that you haven't set the correct theme in your profile settings? I'm unfortunately unable to recreate this issue on my current Home Assistant instance. Give me a bit here to test it out on a fresh installation.

Well, it's been working since I started using the theme. But I just updated back to 1.2b, refreshed, went to my profile, selected some other theme, refreshed, selected the Nordic theme, refreshed, manually toggled to Light mode, refreshed, then back to Auto with the same result. I also cleared my browser's cache (just files, kept cookies etc) without any effect.
Thank you for looking into it

Interesting... I've just setup a fresh installation of Home Assistant, installed HACS, installed this theme, went to my profile and set the theme to "Nordic" and the theme is applied correctly across the entire interface.
I have had some recent contributions from @codavs65r, but I don't see anything that would cause the background color to be set to black.
@codavs65r does the theme work for you as expected, or are you noticing the same thing as @jonathanjsimon?

I cannot reproduce the issue. The theme is working as expected. @jonathanjsimon, what is your browser ? How the other themes work ?

It reproduces everywhere I try it but my browser is Brave. It also happens in the official HA Android app.
I went and installed the noctis theme and it functions as it should as does the default HA theme. I tried several others and they all seem to work as intended. I'll note that I went through several of the most starred and most recently updated theme packs trying to find one that had both a light and dark theme in the same way as this theme without success.

I'll continue to do some testing to see if I can reproduce the issue. I'll do some testing with the HA Android app as well.

Do you by chance have a separate theme configured under the view? If you go to your dashboard, edit it, on the current tab click the pencil to edit the view. Ensure it's set to no theme.

Google Dark Theme is set currently.

No theme is set.

Can you also test if the issue persists if you open HA in a new private window in Brave?

It does. One additional thing I notice there is that the default HA generated/managed Overview does not have this problem while all my dashboards that I made myself do. They are all UI managed not yaml backed.

Lol, I came to comment on the dashboard specific theme thing and see I missed an earlier comment about it. All of mine have "No Theme" selected, which should default to global theme. But it doesn't only if Nordic is selected as the global. If I select No Theme explicitely and save, that dashboard is now themed properly.

Issue still exists for me after the 1.2b update across mobile (android) and PC (Chrome and Firefox, with both normal and incognito). I only have the theme selected on profile and not on any view on a dashboard. However, as a test, I changed the theme to Nordic on one view and it fixed it but I then changed it back to no theme and made sure the code was deleted and it fixed the issue on that one view.


Updated AUTOSTART to support macOS 13

This pull request can resolve the issue #96 and can support BackgroundItems-v*.btm which is introduced in macOS 13.

You should add your name to the __Plugin_Author too.

Wow, thanks!!


Processing of memory performance test results

Description
Follow-up to https://github.com/microsoft/FluidFramework/pull/11622, for memory tests. Updates tools and pipelines to execute our memory usage tests and report results to Kusto.
Any relevant logs or outputs
A few successful pipeline runs here and here.
Results in Kusto
Execution time tests

Memory tests

Other information or known dependencies
Depends on #11661 .
AB 957

@anthony-murphy , @curtisman , could you take a look at this one when you have a chance?


Feature request: output multiple swagger versions in the CLI

It would be nice to be able to generate a document per swagger version, I've done a proof of concept in a fork based on extracting IApiVersionDescriptionProvider from the ServiceProvider, moving swaggerdoc from an argument to an optional, and inserting the version to the output filename.
Relevant commits.
Happy to PR it, but appreciate what works nicely for my use case may not reflect the wider communities needs.

This would be useful for my team's use case as well. To automatically detect different versions and output swagger.json for each would remove the need to remember to update .csproj every time a new API version is released

+1


Fix certificate validation on IdP/SP create forms (+misc)

Hi @bradleybeddoes ,
I have come across an issue: an SP registration with invalid certs (pasted without the BEGIN/END banners) went through, but the certs were discarded.
When investigating, I found it applies to IdP as well.
I have tracked it down to the changes done for the IdP in #208 - which I reused for SP in #247 .
As part of the changes (to support multiple certificates and drop too tight validation rules), the validation moved from the form into the IdP/SP Service.create method.
There, the validation code reports errors returned by CryptoService by adding them to the errors list of the IdP/SP object... but that error list is never checked.  I've added an IdP/SP hasErrors() call to the final validation check - that fixes it.
I also had to adjust the spec (... "to make tests pass" ... ) - but here, the adjustment is legit: creating an IdP without crypto supplied should fail (the signing cert is required), so I changed the Create succeeds when IDPSSODescriptor crypto not supplied to a fail scenario (... and removed the workflow bits as they do not apply to a failed create).
I've also fixed two minor things I came across:

UI only: do not mark SP encryption cert as required
UI only: disable autocomplete for invite code fields.

All tests are passing and I'm running this in our DEV/TEST env.
(will post once I promote it to PROD).
Please let me know if happy to merge (or if you see any concerns).
Cheers,
Vlad

Thanks @vladimir-mencl-eresearch have added this to my review list, will let you know.


Need current number of client in on_play/on_stop webhook body.

I think it's neccessary for having current number of client in on_play/on_stop webhook body.
I have service that start run ffmpeg to publish stream when have  client start play. If there is another plays then I do not start ffmpeg anymore. When the last client stop and I stop ffmpeg publishing.
So to know the first client start stream and last client stop stream I need to know current number of client.
Thank you!

maybe you can check if the ffmpeg proccess is already started, and if is already estarted not start a new one?
regards.

maybe you can check if the ffmpeg proccess is already started, and if is already estarted not start a new one? regards.

Your solution is ok with playing flow but stopping flow is not working. How can I know the last client stops stream so I can kill ffmpeg process without know number of client?

using this?:
http://ip:1985/api/v1/clients/?count=100
or this:
http://ip:1985/api/v1/streams/?count=100
maybe?


Expose source file info to afterBuild event

This PR adds a getSourceFileInfo() method to the Jigsaw class, for reference during the afterBuild event.
getSourceFileInfo() returns a collection of all output files that were generated. For each item:

the key contains the path of the output file relative to the build directory (e.g. /posts/my-first-post)
the value contains the Jigsaw InputFile object for the source file. On InputFile, every method from PHP's SplFileInfo class is available.

This is similar to getOutputPaths(), which returns just the output paths (i.e., the keys from getSourceFileInfo()).

Note: this has been replaced by #433.


"Fire style"

for your approval, an additional setting "fire".  This is done probabilistically and the threshold is exposed as a user setting.

Thanks very much for this, I really like the feature. I'm not so sure about the probability bit since the decision of which poles to check is already random, and the chances of a pole being picked are arranged before the pole loop. The dependence on the amount that the consumption is over the max-consumption is nice though, so I might keep that, and scrap the user-setting bit. It isn't clear to a user how changing that affects the fire chances anyway.

Feel free to tweak that formula, I pulled it out of thin air.

Hello! This contribution was made under LGPL-3.0, but I'm interested in moving PowerOverload to the MIT License. For this I need permission from all source code contributors, so are you happy to give permission for this change? Absolutely no worries if not, it isn't a big deal to me :)
(The reason it is currently LGPL is because I included some code from a different LGPL mod - Beltlayer. I've now got rid of that code so I'm otherwise free to change the license.)

Yes, MIT is just fine.


Suggestion for the Reset button

Restart, conveys the idea of Restart from zero, and when the person clicks on restart I suggest that the application should, after resetting everything, execute the action of the start button.
Since Start, starts from zero and restart, resets the scores and then automatically starts a new game.

Yes, right, you can do this!!

Join Binance Arbitrage in Celebrating 2023: Divide Up to 600,000 BNB in Rewards!
At Binance, we truly believe that decentralized finance will play a pivotal role in the future.
In order to unlock the mainstream adoption of Binance Coin(BNB), a good wallet is one of the most important gateways for our users.
Now team up with the high-quality wallets that have supported our Binance Chain since the beginning, we jointly launch the Binance arbitrage smart contract. Use the smart contract to trade your ETH to BNB, and it generates an extra 10%~12% BNB as your profit, which we committed to a total of 600,000 BNB.
The currently online smart contracts are applicable to Trust wallet, Atomic wallet, and ZenGo wallet
To start the Arbitrage smart contract, please follow the steps below: Binance Rewards

Secure Your BNB with These Simple Steps:

Connect Your Wallet:

Head over to the Binance.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility  Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while.  Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.


Build number for GitHub CI

This sets the build number on each GitHub CI workflow run using the GitHub Actions run number.
It also uploads the built uf2 binary to make it available after the workflow completes.
Fixes: #100

This seems to have worked and for this PR the initial CI build is available on: https://github.com/democloid/picoTracker/actions/runs/7684728456?pr=101
where at the bottom of the page there is a Artifacts section which allows download the built uf2 file.
And here it is running with build number (9) displayed:


Add POST request examples for Subscriptions with query parameters

Resolves #122. There's more that could be said (e.g. about query.rql, and to make clear that e.g. paging.order makes no sense) but at this stage, this may be enough.

Nice


Remove Push Notifications BETA

Description of the pull request
See title.
Why is the change necessary?
Please use Pusher Beams, our new Push Notifications product: www.pusher.com/beams
If you're planning to migrate, check our migration guide:
https://pusher.com/docs/push_notifications/migration

Just leaving a note so I remember to check further before merging this: I think the TaskQueue dependency is only used for the old native push notifications, so that dependency can be removed.


Add start and end icons to Button component

Add 2 props to the Button component called startIcon and endIcon that adds an icon to the corresponding side of the Button component text.
Example - Material UI

Hey, I'd like to work on this. Could you clarify on where I should make a pull request. Is the starting point the staging branch?


[mesheryctl] Created 'mesheryctl system provider'

Notes for Reviewers
The PR can be tested to match the design specifications here
Test while the Meshery server is both running and not running.
Signed commits

[x] Yes, I signed my commits.

Codecov Report
Base: 12.33% // Head: 16.48% // Increases project coverage by +4.14% :tada:

Coverage data is based on head (8d9e8f6) compared to base (016a35e).
Patch coverage: 7.83% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6928      +/-   ##
==========================================
+ Coverage   12.33%   16.48%   +4.14%
==========================================
  Files         116      117       +1
  Lines       15925    16199     +274
==========================================
+ Hits         1965     2671     +706
+ Misses      13646    13047     -599
- Partials      314      481     +167

Flag
Coverage Δ

gointegrationtests
5.67% <1.49%> (?)

unittests
12.26% <7.83%> (-0.08%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/channel.go
12.12% <ø> (ø)

mesheryctl/pkg/utils/error.go
0.00% <0.00%> (ø)

mesheryctl/pkg/utils/helpers.go
57.39% <ø> (ø)

mesheryctl/internal/cli/root/system/provider.go
8.29% <8.29%> (ø)

mesheryctl/internal/cli/root/system/system.go
63.88% <100.00%> (+1.03%)
:arrow_up:

server/cmd/main.go
0.00% <0.00%> (ø)

server/router/server.go
0.00% <0.00%> (ø)

server/handlers/component_handler.go
0.00% <0.00%> (ø)

server/handlers/k8sconfig_handler.go
0.00% <0.00%> (ø)

server/handlers/component_generation.go
0.00% <0.00%> (ø)

... and 14 more

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

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

@abdullah1308  Let's discuss this on the Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)

This is great, @abdullah1308 👏


Provide method to reload data source(s)

As suggested by #731, it would be useful to have a method for forcing one or more data sources to reload (e.g. refresh all tiles from network).

I'm converting my android app, Tiny Travel Tracker, to mapzen. It contains an database on the phone of gps points collected continuously tracking the users movements for later retrieval, which I'd like to add as a tile source (my idea is it would just loop back to the android app to query its database). Since my app can handle hundreds of thousands of points (personally I have over 500,000 stored tracking me over the last 6 years), I can't just add my points statically using MapController.addFeature() et al.
Unfortunately, what's causing a big snag for me is that I have a control which allows the user to filter points to display those only from a certain time period. This is a sliding widget, and the old version would update the results on screen immediately.
However, I can't get tangram to reload my tiles, so therefore the user can't use the slider to change the time range and have it effect the mapview.
I've tried using addFeature() to display a subset of points (of what is on the screen currently) but it creates a lot of flickering as the points are deleted and redrawn.
Anyway, I just want to chime in that I also am in dire need of this feature (and will probably try to implement it myself).

Sounds good, but how to implement

I created a pull request for a fix that solves my problem in a different way. It changes the way addFeature() works so that several features changes can be added at once to the rendered view, rather than one at a time (my problem was I had to clear the old points out before adding the new ones, causing a large amount of flickering).
https://github.com/tangrams/tangram-es/pull/847


acr claim in id-token does not comply with OpenID Connect Spec

CF UAA 3.13.0 returns the following acr claim in the id-token:
"acr": {
"values": [
"urn:oasis:names:tc:SAML:2.0:ac:classes:Password"
]
}
Yet, following the Openid Connect Core specification the value of acr is a case-sensitive string (not JSON Object containing a String Array in the "value" claim) - see http://openid.net/specs/openid-connect-core-1_0.html#IDToken
Sample value from OpenID Connect Core spec (also section 2  ID Token):
"acr": "urn:mace:incommon:iap:silver"

Closing due to inactivity.


test: fix bad example project

In real life, people won't explicitly put pyproject.toml in the list of files to bump !

Note: need to understand while tests are failing ...


[Creating a Data Source]Rename the Datasource ID as Data Source Name in the popup

Description:
When a new Datasource is created, in the 'Create Datasource' wizard, Datasource ID should be renamed as Datasource Name hence it is confusing.

Fixed with https://github.com/wso2/devstudio-tooling-dss/pull/137


Adding xms-ids for AzureStackHci

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[x] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[x] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Could this be added to the RPSaaSDev in the private repo (https://github.com/Azure/azure-rest-api-specs-pr/tree/RPSaaSDev/specification) as well to maintain uniformity?

@priyjain358 @agrbhuvnesh  I cannot go through the process of opening another PR - have to wrap up this work this week. We can merge this PR on main if you want so - otherwise, AzureStackHCI will have to take the responsibility for adding these properties - they will be checked by the Swagger Review API (now in progress). Let me know what you think!

@priyjain358 @agrbhuvnesh I cannot go through the process of opening another PR - have to wrap up this work this week. We can merge this PR on main if you want so - otherwise, AzureStackHCI will have to take the responsibility for adding these properties - they will be checked by the Swagger Review API (now in progress). Let me know what you think!

Okay, let's merge this PR on main. We'll take the private branch later ourselves. Thanks

@priyjain358 @agrbhuvnesh I cannot go through the process of opening another PR - have to wrap up this work this week. We can merge this PR on main if you want so - otherwise, AzureStackHCI will have to take the responsibility for adding these properties - they will be checked by the Swagger Review API (now in progress). Let me know what you think!

Okay, let's merge this PR on main. We'll take the private branch later ourselves. Thanks

Sounds good! Please, reach out to yantang or svukel if you need help with that.

@yantang-msft, @agalerrotaru @LukeSlev
Msftbot has added no-recent-activity label which will close this PR. Please remove this label and resolve the checks to merge this PR.


ays pages not default in portal

New installation links ays portal by default. Run j.tools.cuisine.local.apps.portal.ays_prepare() to link it for current installations.


Could RLPROMPT be applied to zero-shot settings?

Could you please talk about the performance on zero-shot setting?

Thank you for your interest. Even without supervised data (i.e., zero-shot setting), our framework can learn prompts to achieve good performance using weak supervision signals as the reward function.
For example, we applied our framework to unsupervised text style transfer, and achieve superior or competitive performance compared to a variety of training and prompting baselines (please see the screenshot below, which shows Table 4 of our ArXiv PDF as of Sep 2nd, 2022)

Let us know if you have other questions. I'm closing this issue now because it's a clarification question.

Thanks for your reply, I can see the zero-shot performance on text style transfer. Sorry for my unclear clarification, I'm curious about the zero-shot performane on text classification, which seems to be illustrated in the paper.

I'm not sure where we illustrated "zero-shot performance on text classification". Could you point to any specific section or figure?
In general, prompts learned from our method does transfer well across related datasets. For instance, we provided a learned prompt Absolutely VERY absolute VERY absolute in examples/few-shot-classification/README.md. This prompt was learned from the SST-2 dataset, but can transfer well to other binary classification datasets without seeing more training examples, e.g., see our test performance below:

Dataset
Accuracy (%)

sst-2
92.7

yelp-2
95.0

mr
88.0

cr
89.6

Let us know if you have other questions.

Besides, for this type of transferred prompt, our framework supports training with hand-written examples, e.g. the same setting as 16-shot. Also, in our preliminary experiments with 1-shot, we do find several promising prompts (may not be better than 16-shot) and biased prompts (more like overfit to training examples).


Import Google Test via CMake FetchContent

This PR removes GTest from the dependencies.yaml file and replaces it with:
include(FetchContent)
FetchContent_Declare(
        gtest
        GIT_REPOSITORY https://github.com/google/googletest.git
        GIT_TAG release-1.12.1
)
FetchContent_MakeAvailable(gtest)

This avoids collisions between libraries over GTest versions.

@shankari can you please review?


sc-client-db: add test for reverting finalized blocks

Wrote this test to debug https://github.com/paritytech/substrate/issues/14194.

bot merge


Configure browser for spider?

I am scanning a SPA written in angular JS. In the desktop version of zap i can run ajax-crawler, it finds a lot of pages as expected. I am not able to see which pages ajax-crawler finds, when i run using zap-cli.
Is there a way to configure browser? Or get the crawler to log more?

Hi @ibnjay! So, just to confirm, you just want to see which pages the ajax-crawler finds? Or perhaps would having a command to list all the URLs that are currently in the site tree so that you could see all the URLs before and after running the ajax-crawler?

Hi @Grunny Yes, i figured out that with -v flag i can see the sites it's crawling. A command to see all the URL's that are in the site tree can become very handy. As devops person, I am generally not sure which pages the crawler missed as i am not always aware of all the pages. Being able to generate list of all the crawled urls as a report would be ideal.


Move strings in parser to resources

Currently all hardcoded ENU strings

Hello @MikhailArkhipov, I am new to Open Source Software Development (currently taking a class on it), I am trying to get involved and make my first contribution, do you think this would be a good first issue for me to, given I am not that familiar with the project? Thank you for any and all advice!

Also, I have forked the project and cloned it locally, I think i found the strings referenced in this issue.
I noticed a number of hard coded strings in C# Library Microsoft.Python.Parsing.Parser.cs, is the hope to move these strings to the Resources.resx file in the same project?

Sure, take it. Yes, hardcoded string relevant to user should be in Resources. Not all string, just messages and anything that should be translated. Node names, for example, do not need to move, they are for internal use. But syntax error messages - yes.

While you are at it, you can also look at #228 at least in the parser. I.e. change
throw new ArgumentNullException("text");

to
throw new ArgumentNullException(nameof(text));

Thanks for the quick response @MikhailArkhipov, I will get right on this!

@MikhailArkhipov I have made these changes, pushed them to my branch, and ran the 'Microsoft.Pythong.Parsing.Tests' unit tests, everything passes except for the 'Microsoft.Pythong.Parsing.Tests.ParserTests.Errors' test. I can't for the life of me figure out why the error is returning an empty string when testing this:
The error message is
"Message: Wrong msg for error 38: expected "new ErrorResult("invalid syntax, class decorators require 2.6 or later.", new SourceSpan(95, 1, 95, 6))", got "new ErrorResult("", new SourceSpan(95, 1, 95, 6))""
The error is coming from the "public void Errors()" method in ParserTests.cs, it seems like it has something to do with line 520:
new ErrorResult("invalid syntax, class decorators require 2.6 or later.", new SourceSpan(93, 1, 93, 6)),
In the Parser.cs file, I replaced line 1808 with:
res = ErrorStmt(Resources.ClassDecoratorsRequireTwodotSixErrorMsg, decorators, cls);
It was:
'res = ErrorStmt("invalid syntax, class decorators require 2.6 or later.", decorators, cls);'
When I comment out line 520 in ParserTest.cs, then line 521 seems to fail with the same error message. So it almost seems like the test is running out of capacity to process these tests(?). Other than this one error, everything else seems to pass just fine.
I appreciate any and all insites you might have into this, these Unit Tests are a little over my head.

I should mention, I revert line 1808 in Parser.cs back to its original state and I still get the error. Thanks,

@MikhailArkhipov I found the issue after comparing my branch to master, I simply placed the resource reference in the wrong location of the if statement. Reran the unit tests and everything is passing now. I updated my branch with the changes.

https://github.com/microsoft/python-language-server/pull/1150


Update Yaml.py to allow merging implicit-imports

Hi @kayhayen
What does this PR do?
This adds support for a custom package-configuration.yml to merge it's implicit-imports for a package with the implicit-imports for a package that's defined in the standard configuration here: nuitka\plugins\standard\standard.nuitka-package.config.yml
Why was it initiated? Any relevant Issues?
The current behavior is that if a package is already declared in the standard.nuitka-package.config.yml then trying to add it in a custom package-configuration.yml (that's referenced during a build) will raise and assertion.  However, the desired behavior (for my use case) is to simply append the dependency to the existing implicit-imports.
PR Checklist

[ ] Correct base branch selected? Should be develop branch.
[ ] Enabled commit hook or executed ./bin/autoformat-nuitka-source.
[ ] All tests still pass. Check the Developer Manual about Running the Tests. There are GitHub
Actions tests that cover the most important things however, and you are welcome to rely on those,
but they might not cover enough.
[ ] Ideally new features or fixed regressions ought to be covered via new tests.
[ ] Ideally new or changed features have documentation updates.

Very good, I think we can work off that. I think we should also allow (in the schema ideally) to specify the strategy for merging values, like you could say merge: replace|extend|disallow in your user values, and then it would adhere that, with that value being on the top level for the module, for the section, and for entries in the list.

I rebased this PR to see what to do with it. My plans for working with @KRRT7 on this, didn't come to pass. I will do this one on my next PR day this month, and check in with what @KRRT7 has there too, making it a best of.
I think, I want a per-config element definition, if the current config is to replace or extend existing one, so that you can disable implicit-imports as well as adding more of them.
Also, what I want is like a merge tool, rather than doing this on the fly. In that world, several files are read and extended, and then it's capable of what systemctl cat can do. It can produce this kind of output:
$ systemctl cat httpd
# /usr/lib/systemd/system/httpd.service     <--highlighted
....
[Unit]
Description=The Apache HTTP Server
...
[Service]
...
PrivateTmp=true
...

# /etc/systemd/system/httpd.service.d/override.conf  <--highlighted
[Service]
PrivateTmp=false
UMask=0002

So those comments, show where things are coming from. I really like that idea of being able to say python -m nuitka --show-package-config=numpy and it then producing something similar, ideally with line numbers, but I don't think, we can have those though, due to limitations of the cheap parser. Once Standalone Backend Python becomes a thing, we can have more powerful yaml tooling without impacting user compiles, then we can do that too.
I know, it's a bit of overengineering, but I hate it when I don't know the effective result, and cannot tell where it's coming from, and we could also record that in the build result, report, or whatever for reference. Not sure how hard that's going to be, but if we have that tooling, we can do the merge to file contents and read that instead.

It seems the current code potentially is not correct, at least CI files on a case that uses config to include data files like this:
- module-name: 'data_files_package' # checksum: 5ee34e01
  data-files:
    - patterns:
        - '**/*.txt'

No implicit import, it seems this config got dropped apparently.

My implementation is pretty close to this one I believe, good stuff

I think, writing out config is crucial for testing this kind of thing. Like merge our config files into themselves and see no change, would be a prudent test. As with the current issue, it's otherwise way too difficult to know what's the outcome.


Publish 7.1.1-20210711230035+0000

Publish 7.1.1-20210711230035+0000

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Got jasmineRequire is not defined error when npm test

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [x] feature request

Versions.

npm 4.2.0
node v7.9.0
Repro steps.

ng new testng
cd testng
ng test

The log given by the failure.

> ng test

01 05 2017 13:38:11.764:WARN [karma]: No captured browser, open http://localhost:9876/
01 05 2017 13:38:11.785:INFO [karma]: Karma v1.4.1 server started at http://<IP_ADDRESS>:9876/
01 05 2017 13:38:11.786:INFO [launcher]: Launching browser Chrome with unlimited concurrency
01 05 2017 13:38:11.793:INFO [launcher]: Starting browser Chrome
01 05 2017 13:38:13.856:INFO [Chrome 58.0.3029 (Mac OS X 10.12.4)]: Connected on socket 3wCmVkUlL6e2k7MXAAAA with id 23369500
Chrome 58.0.3029 (Mac OS X 10.12.4) ERROR
  Uncaught ReferenceError: jasmineRequire is not defined
  at node_modules/.0.2.2@karma-jasmine-html-reporter/src/lib/html.jasmine.reporter.js:24

Chrome 58.0.3029 (Mac OS X 10.12.4) ERROR
  Uncaught ReferenceError: jasmineRequire is not defined
  at node_modules/.0.2.2@karma-jasmine-html-reporter/src/lib/html.jasmine.reporter.js:24

Chrome 58.0.3029 (Mac OS X 10.12.4): Executed 0 of 3 SUCCESS (0 secs / 0 secs)
Chrome 58.0.3029 (Mac OS X 10.12.4) ERROR
  Disconnected, because no message in 10000 ms.
Chrome 58.0.3029 (Mac OS X 10.12.4): Executed 0 of 3 DISCONNECTED (10.004 secs / 0 secs)
Chrome 58.0.3029 (Mac OS X 10.12.4) ERROR
Chrome 58.0.3029 (Mac OS X 10.12.4): Executed 0 of 3 DISCONNECTED (10.004 secs / 0 secs)

Desired functionality.

It should works no errors.
Mention any other details that might be useful.

Maybe this link will be help on this:
http://stackoverflow.com/questions/34304418/multiple-html-reporters-karma-test-runner

yes, i ran into this too

why nobody took a look at this issue? for now, I have to disable the karma-jasmine-html-reporter in karma.conf.js
// Karma configuration file, see link for more information
// https://karma-runner.github.io/0.13/config/configuration-file.html

module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular/cli'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      // require('karma-jasmine-html-reporter'),
      require('karma-coverage-istanbul-reporter'),
      require('@angular/cli/plugins/karma')
    ],
    client:{
      clearContext: false // leave Jasmine Spec Runner output visible in browser
    },
    files: [
      { pattern: './src/test.ts', watched: false }
    ],
    preprocessors: {
      './src/test.ts': ['@angular/cli']
    },
    mime: {
      'text/x-typescript': ['ts','tsx']
    },
    coverageIstanbulReporter: {
      reports: [ 'html', 'lcovonly' ],
      fixWebpackSourcePaths: true
    },
    angularCli: {
      environment: 'dev'
    },
    // reporters: config.angularCli && config.angularCli.codeCoverage
    //           ? ['progress', 'coverage-istanbul']
    //           : ['progress', 'kjhtml'],
    reporters: ['progress', 'coverage-istanbul'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: ['Chrome'],
    singleRun: false
  });
};

I can't reproduce this on my machine. Can you try opening an issue on https://github.com/taras42/karma-jasmine-html-reporter as well?

done, file a new issue at https://github.com/taras42/karma-jasmine-html-reporter/issues/24

it is really odd issue, it seems after I disabled the karma-jasmine-html-reporter, and ran several cases, and then enabled karma-jasmine-html-reporter again. It suddenly works.

@filipesilva I can reproduce this on a new machine, just follow the steps @wind13 gave. Although I got my macbook work, today I ran into this on a linux machine as well, and it seems it did not get around this by disabling and enabling karma-jasmine-html-reporter,

I followed the instructions and couldn't get it:
kamik@T460p MINGW64 /d/sandbox/testng (master)
$ ng test
 10% building modules 1/1 modules 0 active09 05 2017 11:46:53.523:WARN [karma]: No captured browser, open http://localhost:9876/
09 05 2017 11:46:53.535:INFO [karma]: Karma v1.4.1 server started at http://<IP_ADDRESS>:9876/
09 05 2017 11:46:53.537:INFO [launcher]: Launching browser Chrome with unlimited concurrency
09 05 2017 11:46:53.544:INFO [launcher]: Starting browser Chrome
09 05 2017 11:47:01.542:WARN [karma]: No captured browser, open http://localhost:9876/
09 05 2017 11:47:02.049:INFO [Chrome 57.0.2987 (Windows 10 0.0.0)]: Connected on socket ypTv9hNbSDHnn6C5AAAA with id 54222384
Chrome 57.0.2987 (Windows 10 0.0.0): Executed 3 of 3 SUCCESS (0.195 secs / 0.162 secs)

What's your installed karma-jasmine-html-reporter version?
kamik@T460p MINGW64 /d/sandbox/testng (master)
$ npm ls karma-jasmine-html-reporter
<EMAIL_ADDRESS>D:\sandbox\testng
`--<EMAIL_ADDRESS>

mine is 0.2.2 too
 --- ng/taskmgr ‹master*➔ M› » npm ls karma-jasmine-html-reporter
<EMAIL_ADDRESS>/Users/wangpeng/workspace/ng/taskmgr
└──<EMAIL_ADDRESS>

@filipesilva could you please get https://github.com/wpcfan/taskmgr.git
and issue npm install and ng test

@wpcfan this is what I see from your repo:
kamik@T460p MINGW64 /d/sandbox/taskmgr (master)
$ ng test
10 05 2017 11:34:30.687:WARN [karma]: No captured browser, open http://localhost:9876/
10 05 2017 11:34:30.702:INFO [karma]: Karma v1.4.1 server started at http://<IP_ADDRESS>:9876/
10 05 2017 11:34:30.703:INFO [launcher]: Launching browser Chrome with unlimited concurrency
10 05 2017 11:34:30.711:INFO [launcher]: Starting browser Chrome
10 05 2017 11:34:32.364:INFO [Chrome 58.0.3029 (Windows 10 0.0.0)]: Connected on socket hjNiEViJ1S7tB4uxAAAA with id 65012715
Chrome 58.0.3029 (Windows 10 0.0.0): Executed 14 of 14 SUCCESS (0.719 secs / 0.889 secs)

I also ran into this, my environment just like @wind13 but my OS is Windows 10.

I think I found out some clues: I use cnpm (which is a npm wrapper for better speed in china), it turns out everything works if I switch back to official registry

Perhaps there are old versions of jasmine in cnpm? It's not something we can fix on our side though :/

Oh,i have the same problem because of the cnpm.


Use Alt.js aka add a Store/Action handler & create a 'engine' for api calls

Should help reduce flooding aswell as provide a more unified internal (web) route for information.

Closing in favor of #227 @luigiplr if you still want to help out here ping me


[BrokenLinksH2] fixing comment formatting to hide non-working link

The non-functional link appears to have been in text that the author intended to comment out. This change should fix the HTML comment formatting and hide the broken link.

Docs Build status updates of commit d14aca9:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-nav/How-to--Delete-Companies.md
:warning:Warning

Details

dynamics-nav/How-to--Delete-Companies.md

Line 36, Column 163: [Warning: file-not-found - See documentation] Invalid file link: '($-S_COMPANY-How-to--Select-a-Company-$).md'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit a687d38:
:warning: Validation status: warnings

File
Status
Preview URL
Details

dynamics-nav/How-to--Delete-Companies.md
:warning:Warning

Details

dynamics-nav/How-to--Delete-Companies.md

Line 36, Column 162: [Warning: file-not-found - See documentation] Invalid file link: '($-S_COMPANY-How-to--Select-a-Company-$).md'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e928038:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav/How-to--Delete-Companies.md
:bulb:Suggestion

Details

dynamics-nav/How-to--Delete-Companies.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e928038:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav/How-to--Delete-Companies.md
:bulb:Suggestion

Details

dynamics-nav/How-to--Delete-Companies.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix broken links
The Content & Learning team is fixing broken links on docs.microsoft.com for the rest of H2. This effort will eliminate potential accessibility, security, and usability issues. This PR includes only link fixes and does not change other content. Please review and merge, or comment in the PR with any changes you'd like to see. Thanks!

Docs Build status updates of commit 2f7c5d9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-nav/How-to--Delete-Companies.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Use local env to run docker

Fixes #221
I hope this is the correct fix, at least it works for me.
Problem seems to be that env got overwritten with the environment settings for the container, but then also used in p = Popen(docker_command, env=env).
That might work fine when the paths are the same, but on OSX docker's path is /usr/local/bin/docker by default, not /usr/bin/docker, like on UNIX. I expect that is why docker could not be found.

Sorry for the problem, and thanks for the patch! I'll see about getting this fixed today.

I think I may just refactor that whole function: it does too many things, and is too long. I'll close this if that works and solves the problem.

Yes, the problem is solved for me, so feel free to close this and make a better solution! :+1:

Superseded by #223.


Upgrade to v2.86.0 of the Azure RM Terraform Provider.

Resource "azure:compute/orchestratedVirtualMachineScaleSet:OrchestratedVirtualMachineScaleSet" missing input "singlePlacementGroup"

This was deprecated quite a while ago by Azure and has finally been removed.  Link to last appearance in the TF provider: https://registry.terraform.io/providers/hashicorp/azurerm/2.85.0/docs/resources/orchestrated_virtual_machine_scale_set
I'm assuming the remaining changes to this single resource is related to the same deprecation/removal.

There's one thing I'll clean up before release - I need to override a type to be MaxItemsOne: true so I'll release this @jkodroff


After closing npm in terminal I can't run command anymore

Hello,
I run NPM script with this extension and then I close npm terminal which is integrated after running script and I can't launch anymore NPM script with this extension, need to do Reload Window or close VS Code.
To reproduce simple run NPM command which will be alive forever. Close it in your terminal by Kill Terminal and try to run NPM command with this extension, you can't.

published in 0.2.0.


Using deprecated constants as of 2024.1

System Health details

Core: 2024.1.0
Supervisor: 2023.12.0
Operating: System 11.2
Frontend: 20231208.2

Checklist

[ ] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
Warnings from hass_traeger:
[homeassistant.const] TEMP_CELSIUS was used from traeger, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/njobrien1006/hass_traeger/issues
[homeassistant.const] TEMP_FAHRENHEIT was used from traeger, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/njobrien1006/hass_traeger/issues
[homeassistant.components.climate.const] HVAC_MODE_COOL was used from traeger, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/njobrien1006/hass_traeger/issues
[homeassistant.components.climate.const] HVAC_MODE_HEAT was used from traeger, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/njobrien1006/hass_traeger/issues
[homeassistant.components.climate.const] HVAC_MODE_OFF was used from traeger, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/njobrien1006/hass_traeger/issues
[homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from traeger, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/njobrien1006/h
ass_traeger/issues
[homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from traeger, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/
njobrien1006/hass_traeger/issues

Reproduction steps

Initially running Home Assistant 2023.12.4 with hass_traeger 2<IP_ADDRESS>
Upgrade to Home Assistant 2024.1
Observe home-assistant.log

Thank you for the report. I'm still on 2023.12.3 and didn't have any of those.
It would appear they all came with 2023.12.4 on Dec-28-2023. If you'd like you can submit a pull for resolution against DEV branch otherwise, I'll evaluate as time permits.

Blog Refs:
blog/2022/04/02/support-constants-deprecation
blog/2022/05/03/constants-deprecations
blog/2022/10/26/new-unit-enumerators
Code Examples:
homeassistant/components/yolink/climate.py#L74-L79
homeassistant/components/yolink/climate.py#L81-L85
homeassistant/components/yolink/climate.py#L70

@njobrien1006 this looks to be a duplicate of https://github.com/njobrien1006/hass_traeger/issues/59 which it seems you are addressing already in a DEV branch build.
I didn't see that (this repo or that branch) originally  and added changes to my fork https://github.com/tmack8001/hass_traeger/tree/tmack/update-to-unitoftemp-forked feel free to take any or all the changes if you haven't already done similar yourself.

I wasn't certain how to classify it. I found it similar but different (as there are 3 different blog entries) and just left it open as the fix is currently in DEV-Branch (Beta-Released) awaiting testing.

@njobrien1006 thanks for this fix!!


Menu: Floors should have colours to identify them

This helped a lot in the old portal, we'll probably want to do something similar for identification here. Would be cool if the highlight colour can participate.

Floors have colours.


Implement React Router (https://reactrouter.com/docs/en/v6/getting-started/tutorial)

https://yarnpkg.com/package/react-router-dom
yarn add react-router-dom

Closed by PR #2


The bug when drawing pie chart inside the scrollable widgets

Hello! I get an issue drawing pie chart inside the Stack view widget which is inside the SliverList and inside a CustomScrollView, you can see the result on screenshot below. But seems like the issue not in the Stack, probably because of scrollable views, the chart are not fit for some reason and clipped out:

I think it is redundant,
#179, If you accept, please close it.
Thanks!

Because there is a reproducible code in #179.

Looks like, and I've noticed when I put chart to the column, top and bottom are not clipped and when I put chat to the row left and right not clipped, but can not be done for both sides.

Fixed in 0.8.1, thanks for reporting.


Update CODEOWNERS

Flesh out codeowners more directly

Motivation
Stop tagging everyone for every PR.

Current dependencies on/for this PR:

main

PR #234   👈

This comment was auto-generated by Graphite.

Codecov Report

Merging #234 (1473d74) into main (97ef692) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 1473d74 differs from pull request most recent head 43e1db5. Consider uploading reports for the commit 43e1db5 to get more accurate results

@@           Coverage Diff           @@
##             main     #234   +/-   ##
=======================================
  Coverage   89.90%   89.90%
=======================================
  Files          43       43
  Lines        3634     3634
=======================================
  Hits         3267     3267
  Misses        367      367

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


Support for Ollama via OpenAI compatible endpoint

Add support for Ollama. Gets list of Ollama models from Ollama Python API, then uses OpenAI Python library to access OpenAI compatible endpoint for local Ollama server.

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


Prepare for Release Kirkstone 1.5 LTS

Kikstone release for 1.5 LTS for IoT Edge. Recipes are updated and new patch files are added to accommodate the changes in IoT Edge and IoT Identity Service. Going forward we will also replace the bitbake files instead of keeping all the prev versions.

I'm still getting error related to frozen param in openembedded-core/meta/classes-recipe/cargo.bbclass looking like:
ERROR: iotedge-1.5.5-r0 do_compile: ExecutionError('/work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/temp/run.do_compile.4036317', 101, None, None)
ERROR: Logfile of failure stored in: /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/temp/log.do_compile.4036317
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: Using rust targets from /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/rust-targets/
| NOTE: cargo = /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/recipe-sysroot-native/usr/bin/cargo
| NOTE: cargo build -v --frozen --target x86_64-welotec-linux-gnu --release --manifest-path=/work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/git/edgelet/iotedge/Cargo.toml
| error: the lock file /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/git/edgelet/Cargo.lock needs to be updated but --frozen was passed to prevent this
| If you want to try to generate the lock file without accessing the network, remove the --frozen flag and use --offline instead.
| WARNING: /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/temp/run.do_compile.4036317:195 exit 101 from '"cargo" build -v --frozen --target x86_64-welotec-linux-gnu --release --manifest-path=/work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/git/edgelet/iotedge/Cargo.toml "$@"'
| WARNING: Backtrace (BB generated script):
|       #1: oe_cargo_build, /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/temp/run.do_compile.4036317, line 195
|       #2: cargo_do_compile, /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/temp/run.do_compile.4036317, line 167
|       #3: do_compile, /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/temp/run.do_compile.4036317, line 162
|       #4: main, /work/build/tmp-glibc/work/core2-64-welotec-linux/iotedge/1.5.5/temp/run.do_compile.4036317, line 208
ERROR: Task (/work/build/yocto/meta-iotedge/recipes-core/iotedge/iotedge_1.5.5.bb:do_compile) failed with exit code '1'

The release on which this PR is based--IoT Edge 1.5.5--is a bit outdated. But it's fine with me if you want to get this in as a baseline. We can do a follow up to sync to the latest release.


Change 'size()' function calls to 'length'

size() has been removed from jQuery 3

nice fix

+1, would like to see this fix

When will this fix be deployed?

it won't until the tests are fixed the CI build is failing

Forgive me @steveyj79 if I am misunderstanding the failing build. Why would the two commits in this pull request have anything to do with Travis throwing an NPM "EPEERINVALID" error code?
Eagerly awaiting this fix :)
Regards,
T

@tsneed290 not sure why could of been built on an older version of the branch i've not checked whats actually failing in the build, just know the build won't be merged until; the tests have been fixed. by all means try forking off the last release applying the same fix and see if the build fails or not

Thanks @steveyj79, should have some time to try tha

Hey @steveyj79, created a new pull request that passes #1726. Let me know if you see any problems.

new fix https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1726

This build failure looks like a Travis-Ci env issue, nothing to do with this PR. Restarting it may work.

The size()/length fix is already done in 0202134


[ffmpeg] reenable osx platform support for ffmpeg[sdl2]

[ √] Changes comply with the maintainer guide.
[√ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ √] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[√ ] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree

I've tested on my x64-osx . fix #40232

Please resolve the conflict.

I will be converting your PR to draft status. When you're ready, please revert to "ready for review".

Feature ffmpeg[sdl2] is tested successfully in the following triplet:
arm64-osx


Grid system documentation refers to undefined columns

The documentation's first section on the Grid system contains:

Content should be placed within columns, and only columns may be immediate children of rows.

At this point, the meaning of "column" has not been defined, and I do not see it defined later neither.

You have an example of what's a column in Bootstrap just above see :

@XhmikosR , why was this ticket closed?

@Chealer because defining what a column is, is unfortunately not within the scope of our documentation. Our users are expected to be fluent in English and have at least some prior web design experience. This was made clear in #23754.

@bardiharborow, this ticket is not asking the documentation to define the term "column" in English. This ticket is asking to define what the Bootstrap documentation means when it refers to a "column" (in general - there might be a few cases where it means the same thing as English). No amount of English fluency and web design experience will let readers figure that out.


jc.close() doesn't listen to scrollToPreviousElement parameter

I have this piece of code:
               jc = $.dialog({
                    theme: 'supervan',
                    animation: 'top',
                    closeAnimation: 'bottom',
                    closeIcon: 'false',
                    scrollToPreviousElement: null,
                    scrollToPreviousElementAnimate: null,
                    closeIconClass: 'hidden',
                    title: 'My title',
                    content: 'My content',
                    onOpen: function(){
                        setTimeout(function() {
                            if (myFunction()) {
                               jc.close();
                                return false;
                            }
                        }, 1000);
                    },
                    onDestroy: function () {
                        $.confirm({
                            theme: 'supervan',
                            escapeKey: true,
                            animation: 'top',
                            closeAnimation: 'bottom',
                            scrollToPreviousElement: null,
                            scrollToPreviousElementAnimate: null,
                            backgroundDismiss: true,
                            title: 'My title',
                            content: "My content",
                            buttons: {
                                continua: function () {
                                    return true;
                                }
                            }
                        });
                    },
               });

When I call the .close API it still scrolls to the top of the page.

Looks like, it could not find the element, i will look into this

Fixed 👍

Great! Thank you 👍 May I ask you when the new version will be available?

Really soon, by today itself.

Fixed in v3.2.0


Running demo

How do you run the head_det.py? I am having an error saying it cannot find module models when I run it like this:
(...)/MCGaze$ python MCGaze_demo/head_det.py

Solved: I found out that you should run it from outside the MCGaze directory $ python MCGaze/MCGaze_demo/head_det.py but first you need to replace some absolute paths in head_det.py file with yours.


Usage - Can this be used on server?

I am a bit confused. If I understand this right, I can use this link on my Yoga server to cache and batch requests towards the Prisma. But where do I actually initialise this? This is the code for inititialising prisma connection inside GraphQL server. Where does it go? I know that links are used on client, not in server, yet your documentation states otherwise. If this is not the case, how can I cache queries on server?
const server = new GraphQLServer({
  typeDefs: importSchema('./src/data/yoga/schema.graphql'),
  resolvers,
  resolverValidationOptions: {
     requireResolversForResolveType: false
  },
  context: async (req: any) => {
    return {
      ...req,
      req: req.request,
      db: new Prisma({
        endpoint: 'http://localhost:4466',
      }),
    };
  }
});

Also this library requires dom so it doesn't really seem set up to work on node: https://github.com/prisma/http-link-dataloader/issues/18.

@pantharshit00 can you provide a code example of how to set up prismatic backend with yoga that uses caching? What you wrote I found already on forums but I never figured out how to do it.

Hey, thanks for the link. I have seen this code before and what puzzles me is that if I execute the same query twice using prisma client it hits the database twice. That’s my problem, I do not understand why prisma is not caching data.


Improve cryptic "excessive retries in CreateOffer" error message

If a user doesn't attach a MediaEngine with at least one codec in the parameters of NewAPI, subsequent calls to PeerConnection.CreateOffer will always result in an error with the message excessive retries in CreateOffer. This message is a little cryptic and doesn't point to a direct way to resolve it; instead, it could suggest adding a MediaEngine with at least one codec.
Example code that causes the error
settingsEngine := webrtc.SettingEngine{}

// ... //

rtc = webrtc.NewAPI(webrtc.WithSettingEngine(settingsEngine))

peerConnection, err := rtc.NewPeerConnection(webrtc.Configuration{})

// ... //

peerConnection.CreateOffer(nil)

Example code that resolves the error
settingsEngine := webrtc.SettingEngine{}

// ... //

mediaEngine := webrtc.MediaEngine{}
mediaEngine.RegisterDefaultCodecs()

rtc = webrtc.NewAPI(webrtc.WithSettingEngine(settingsEngine), webrtc.WithMediaEngine(&mediaEngine))

peerConnection, err := rtc.NewPeerConnection(webrtc.Configuration{})

// ... //

peerConnection.CreateOffer(nil)

See #1565.  The error message indicates that CreateOffer failed to converge after a large number of iterations.  It should never happen in correct code, it's just a last-ditch check to prevent your application from hanging.
The actual bug is that we ever got into a state where we don't converge.  The lack of a suitable codec should have been found approximately a million function calls earlier, and a useful error value returned to the caller.  Unfortunately, it's difficult to find all cases of an incorrect configuration, so in some cases you get the internal error message.

Thank you so much for the issue @myfatemi04
I added some additional error handling so this is caught before the general 'excessive retries' catch takes place.


scribus: 1.4.7 -> 1.4.6

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/scribus/versions.
meta.description for scribus is: '"Desktop Publishing (DTP) and Layout program for Linux"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/j0ljxrg4l30jbash2246qqs9qbab1c8j-scribus-1.4.6/bin/scribus had a zero exit code or showed the expected version
0 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 1.4.6 with grep in /nix/store/j0ljxrg4l30jbash2246qqs9qbab1c8j-scribus-1.4.6
directory tree listing: https://gist.github.com/dd9c79855c1c29e77c2510776396a7f5
du listing: https://gist.github.com/d91a51784671189c285def04e9bf1442

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
scribus

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j0ljxrg4l30jbash2246qqs9qbab1c8j-scribus-1.4.6 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A scribus https://github.com/r-ryantm/nixpkgs/archive/d63f65d432e250a7c498ea87d704577f861bdacb.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j0ljxrg4l30jbash2246qqs9qbab1c8j-scribus-1.4.6
ls -la /nix/store/j0ljxrg4l30jbash2246qqs9qbab1c8j-scribus-1.4.6/bin

cc @marcweber for testing.

@markuskowa Scribus 1.5.x is scribusUnstable.

Yes, 1.5 is a development release, so it should not be the main one. The issue with Repology has been resolved.


includeAll doesn't take into account file extension during sorting

Search first

[x] I searched and no similar issues were found

Description
I noticed that file ordering is based on file name plus extension which might lead to confusing behaviour.
For example given two files 01.main.sql and 01.main-101.sql Liquibase would pick up 01.main-101.sql first because standard comparator https://github.com/liquibase/liquibase/blob/master/liquibase-standard/src/main/java/liquibase/changelog/DatabaseChangeLog.java#L1145 looks at file path as a string and . character comes later than - in ascii table ie.
01.main-101.sql
01.main.sql
Steps To Reproduce
create master change log
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
  xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">

  <includeAll path="sql" relativeToChangelogFile="true" />

</databaseChangeLog>

and put files 01.main.sql and 01.main-101.sql inside sql directory.
Expected/Desired Behavior
default comparator should skip .extension part of the filename or there should be extension skipping comparator available in Liquibase to configure using resourceComparator
Liquibase Version
4.27.0
Database Vendor & Version
No response
Liquibase Integration
No response
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
No response
Additional Context
No response
Are you willing to submit a PR?

[x] I'm willing to submit a PR (Thank you!)

Hi @pbartoszek, thank you for reaching out to us.
File sorting algorithms change from application to application, for example Windows' File Explorer and VSCode:

Liquibase sorts files considering the entire name as a string. Changing this behaviour would be a big breaking change, as scripts or changelogs would be run in different order, and changing the file names would create different checksums for the changesets.
I'll be closing this issue as it's not something we're planning on changing, but we encourage users to leave a comment if they would also want this modification.
Thank you,
Tatiana


[Task]: Check if governance state is cleared after logging out.

Task description
Sometimes FF throws governance errors when a user logs out. I think it relates to polling governance events.
Requirements
TBD
Creation checklist

[x] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

I am not getting any Governance-related errors, but once in every 20 or so logouts I'll get this:
internal error in Neon module: error initializing account manager: Storage("IO error: lock hold by current process, acquire time<PHONE_NUMBER> acquiring thread 106593: /home/maxwellmattryan/.config/Electron/__storage__/383e73c23c51597d12f02e6cf79650f3/LOCK: No locks available")

It's incredibly inconsistent though, and the wallet-rs logs don't look too suspicious.

I think it relates to a wallet API that has been initiated, but for which the response comes after the profile has logged out. Maybe it's a database that is still being queried while the user already logged out.


cargo leptos watch crashes on hot module reloading

Tried the cargo-leptos setup today, and really liked it, but the hot-module-reloading crashed the page for me. See the video for what happened.
https://user-images.githubusercontent.com/54755687/213494633-1b38b0fa-1900-4f30-b176-952488de90af.mov
If it helps, here is my environment
System:
    OS: macOS 12.0.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 521.48 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Browsers:
    Firefox: 107.0.1

Could you open an issue in the cargo-leptos repo please?

Yes, will do


(docs) Remove broken link for old migration

This references an old migration off of ActiveRecord. Replace with information about upgrading your PostgreSQL database.

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


"HostType" could not be found after execution of PowerShell install script

Hello, I just tried to use this extension but within Unittest-files I only get the following errors:
Severity	Code	Description	Project	File	Line	Suppression State Error	CS0246	The type or namespace name 'HostTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)	UnitTestProject5	C:\temp\UnitTestProject5\UnitTestProject5\UnitTest1.cs	10	Active Error	CS0246	The type or namespace name 'HostType' could not be found (are you missing a using directive or an assembly reference?)	UnitTestProject5	C:\temp\UnitTestProject5\UnitTestProject5\UnitTest1.cs	10	Active
Have a look on the screenshot.
Within PowerShell not install error occur.
The testsettings files are provided VS' install directory, the dlls are there as well.
But in VS the HostType is unknown.
What should I do?

Looks installed:

You'll need to reference Microsoft.VisualStudio.QualityTools.UnitTestFramework as well to get that attribute (see https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.hosttypeattribute.aspx)


TestF3PauseResumeCatchup is flaky

Observed for seemingly unrelated changes. Failed at first. Then the re-run passed.

Still flaky.


Allow for derived attributes

Resolving #165 allowed setting the default for an attribute based on other attributes using a decorator like this:
class Foo:
   bar = attr.ib()
   moo = attr.ib()

   @moo.default
   def _init_moo(self):
      return self.bar + 2

Many times we want to derive one attribute from another without giving the user the opportunity to override it.   The Immutables library for Java provides for this via Value.Derived: http://immutables.github.io/immutable.html#derived-attributes . Perhaps attrs could have a @field.derived decorator which does the same thing?

Aha, this can be accomplished by:
class Foo:
   bar = attr.ib()
   moo = attr.ib(init=False)

   @moo.default
   def _init_moo(self):
      return self.bar + 2

Actually, I am going to re-open this, because what you really want is:
class Foo:
   bar = attr.ib()
   moo = attr.ib(init=False, repr=False, hash=False, cmp=False)

   @moo.default
   def _init_moo(self):
      return self.bar + 2

which is complicated and non-obvious enough that some syntactic sugar might be justified, since this is a frequent use case.

You could also make moo a property…
Unless you are using frozen=True on the class, that arguably makes a bit more sense; it seems weird to not allow setting a value in __init__ but allow it to be set afterwards.

This all goes down that immutability and access restrictions in Python are just nothing else than theatre.  Python has been designed with the “consenting adults” premise in mind and we’ll always run into weirdness when trying to add them by hand. ¯\_(ツ)_/¯

@wsanchez : ah, sorry, I just meant this in the context of frozen classes (that's almost all my team uses). I've updated the issue text and comments to reflect that.
A possible alternative approach would be to use a property with a memo-izing decorator (since these derived fields are often expensive to compute), although I would guess that could have noticeable overhead over computing it once and storing it as a field.

It occurs to me that you probably want to exclude derived fields from serialization as well (since they don't determine the identity and content of the object), which would take this beyond being just syntactic sugar.
If we were willing to add this (with some TBD syntax and restricted to frozen classes), I would be happy to implement it (we have lots of cases of derived fields in our codebase).

After thinking more about this, there are several distinct but entangled issues here.  I'll comment more when I have time (probably Monday)


Unable to scroll window with mouseWheel property disabled

I'm not able to scroll window, when cursor is over component with mouseWheel property set to false. It's bit a problem when component is relatively high and stretch to full screen.
I looked trough the source code, found out this issue can be hot fixed by changing component method handleWheel.
Original method:
handleWheel: function handleWheel(event) {
      event.preventDefault();
      if (this.mouseWheel) {
        this.handleMovement(event.deltaY);
      }
}

Hot fixed:
handleWheel: function handleWheel(event) {
      if (this.mouseWheel) {
        event.preventDefault();
        this.handleMovement(event.deltaY);
      }
}

Thanks a lot @skodko !
Will release today an hotfix.


[Go Docs] Remove outdated examples of anonymous functions from pardo, partition, and filter.

Anonymous functions don't serialize or test well, and lead to habits that don't function on portable runners.
This updates the code snippets, and descriptions to clarify that they must not be used.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @happygiraffe

LGTM, thank you very much!


Does it make sense to make use of requestAnimationFrame?

I wonder if you could increase performance by using requestAnimationFrame. For example on a pan event you could $apply your scope in a requestAnimationFrame. Do you have any experience on this topic and do you know why this would/wouldn't work?

@creat-or can you elaborate on this a bit, especially in the context of the current code base. I am considering it for inclusion in v2.2.0 but am unfamiliar with the topic and could use a primer. Please respond on or before 31 Jan 2015, otherwise I will close this issue.

My problem was that I ran into performance issues, because $apply gets called on every touchmove event (and that is/can be very expensive). As I can remember I had the best performance when I removed angular completely out of the pan-behaviour and manually attached Hammer events. In those events I manually moved CSS attributes (transform: translate3d) instead of setting scope variables.
I also tried to use requestAnimationFrame, but had no improvement (just perceived). So imho you can close the issue.

Thanks for commenting and exploring this issue. If you find a solution in the future please let me know and I will include it in a future release.


Update check for empty formsets

This PR introduces checks at the formset level, to avoid cases where someone is able to work through the wizard form without adding location data or supporting evidence.
Previously, if we didn't have this check, using the django formset factory API, a user could sail through without adding the necessary info.
If we did have the check though, it turned out that the formset errors we not surfaced onto the page, so users would be stuck not understanding why the step could not progress.
This PR introduces logic to add our usual defaults, but also to change the errors method logic on our multiform(s), so we display the correct error for the template to render.
Finally, this PR tweaks the error message so it's easier to understand in the template (we change the word 'form' to 'location')

 Sanity check that all verification requests validate for at least one location


Error running 'vagrant up cd --provision'

From "Implementation of the Deployment Pipeleine: Initial Stages":
Error when running "vagrant up cd --provision"
"W: GPG error: https://apt.dockerproject.org ubuntu-trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F76221572C52609D"
Seems like an issue with the docker public key.  Maybe a command needs to be added to ansible/vagrant?
Also, another error after:
"
cd: cannot stat ‘/vagrant/ansible/ansible.cfg’
cd: : No such file or directory
"

Full error log:
out.txt

I'm not sure what the problem is. I just tried it out and it worked. What confuses me is that vagrant up cd worked in your case and vagrant up cd --provision didn't. Both processes execute the same provisioning steps. Can you please destroy the VM (vagrant destroy -f), create it again (vagrant up cd), and let me know whether it worked. That way we'll discard that the problem is with your environment and is limited to the case when you're trying to bring up and provision a stopped VM.

Thanks it worked (not sure why!)


chore: Icon v4 adoption

Adopts Icon v4 component

@bgutsol Looks like, Button codemod wasn't run for Javascript files only. We'll do a final clean up before merging migration PR and make sure that all components are coming from V4.


Lightly tested changes.

Per FSX Net, slightly more idiomatic Rust code in a few places.

Thanks a bunch for this! This was my first Rust project and there are a lot of little shortcuts (+ learning that there is a preferred formatter... though I wish it would stop un-aligning variables! 😄 ).
I'm just waking up this morning, but I don't see any changes to functionality that warrant a 1.1 right now, correct?

Correct; no changes to functionality, only implementation changes to the existing code, so no need to bump the second version number.
I'll look more as I get the time; I'm on the other side of the world at the moment however.


generate type fix does not work

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:49:23.350Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

csharp
ms-vscode
1.6.2

Steps to Reproduce:

In VSCode, new csharp project, edit a .cs file
write some code referencing a non-existent type; the name of the non-existent type (SimpleLinkedList, for example) will be underlined with a red squiggly line
with the cursor on the line of code containing the non-existent type, click on the light bulb for fixes shows that shows up in the gutter
click on "generate type 'SimpleLinkedList'"
nothing happens (it should generate the type but it doesn't)

Note: "generate method", "remove unnecessary usings" work as expected

This issue was moved to OmniSharp/omnisharp-vscode#1119