Several website messages untranslatable into Vietnamese due to strict plural rules

Translatewiki.net prevents the following messages from being properly translated into Vietnamese. It insists that Vietnamese has only one plural form (other), but it actually has two plural forms, like in English:

ohm-browse.way.also_part_of_html
ohm-diary_entries.diary_entry.comment_count
ohm-issues.show.reports
ohm-traces.create.traces_waiting (temporary workaround found)
ohm-users.index.showing

When attempting to provide one and other forms using the same syntax as the source string, Translatewiki.net raises the following error:

Dạng số nhiều phải được định nghĩa là {{PLURAL|…}}. Bản dịch này chứa {{PLURAL|one=…|…}}.

Translatewiki.net doesn’t even permit a zero form when the English source string requires it.
Most Translatewiki.net projects are unaffected, because MediaWiki intentionally departs from the CLDR scheme by allowing one forms regardless of language. But non-MediaWiki-based projects have a different syntax for plurals. The plural rules for these projects are probably based on either CLDR (see CLDR-14273) or gettext (bug 62876). Curiously, the issue does not affect corresponding openstreetmap-website messages on Translatewiki.net, such as Browse.way.also_part_of_html.
/ref #268

Curiously, the issue does not affect corresponding openstreetmap-website messages on Translatewiki.net, such as Browse.way.also_part_of_html.

Actually, this issue very much affects openstreetmap-website.


Update 2.5 Breaks Most Scanning

Hi Everyone. V2.5 adjusted some UI's a bit so Inventory Kamera will need fixes to adjust for these changes. Thankfully they don't seem too be crazy. We hope to get an update out ASAP.
You will likely see many many errors for basically everything. Any screenshots that Kamera generates will help ensure that our fixes work outside of testing but we have a general understanding of what needs to be done. You can upload those screenshots to this thread.

Additional description:
Inventory tabs now display more items per "page" with this update. In previous versions there were (usually) about 4-5 rows and 7 columns used to display a full page of an inventory tab. Now there are 8 columns and about the same number of rows. As a result, the position of the information card on the right-hand side moved slightly. Inventory Kamera has relied on the position of the card to be more or less "fixed" (The card's height would be slightly longer in resolutions with a 16:10 aspect ratio). The shift may also require us to take a look at the positioning of important information (name, level, rarity, etc.) within the card once we capture it.
Here's a general comparison at 1280x720 resolution:
Old UI

New UI

Is this because 2.5 UI?

@Mknyss probably. There's more error text in that box but it's cut off. The latest release should be working

Not sure if this is just me but in the recent 2.5 update the constellation screen UI seems to have changed a tiny bit, and the C6 click target isn't as wide as it used to be, and as such Kamera is missing the target and causing a failure. Tried on several different resolutions.

Offsetting the last click a bit to the left should work fine as a temp fix. Would love to make a PR but C# is not my language haha

Interesting. I don't think the scanner stopped like that for my Mona. Do you mind sharing what resolution your game was in and if you were using V1.2.2 of Kamera?

Do you happen to have an ultrawide monitor and/or had you changed from an ultrawide resolution to a standard resolution? I don't know about V2.5, but in previous versions of Genshin ultrawide adjusts the UI but that UI adjustment does not readjust when changing to a standard resolution without a restart.

That would be it! I'll keep that in mind thank you!


Only build docs when PR is tagged

Description
We've been eating up git lfs bandwidth like candy and it's disrupting even non-docs workflows. This PR stops building the docs on every push to a PR, instead only building them on-demand when the "build-docs" label is added to the PR. That should temporarily stop the bleeding. Two things to note:

the action was supposed to cache git-lfs content to avoid this situation. Clearly it's not working, or I don't understand how github actions caching works, or both. (Likely both! 😂) There's breadcrumbs in the action itself to investigate this further.
non-docs builds are failing due to LFS bandwidth being exceeded. This should absolutely never happen. We should make sure that git-lfs objects are not downloaded during the normal build process, or this PR does nothing.

I'll make a separate issue to discuss our best path forward.

I'm closing this because it turns out the caching probably is working as expected — the culprit was pip install git+https! See this comment.


Frontend URLs

Main ( / )

First page that will be shown to user

Signin ( /signin )

Sign in form

Signup ( /signup )

Sign up form

User detail ( /user/:id ) ex: /user/1

Show detail of certain user with 'id'

Meeting detail ( /meeting/:id ) ex: /meeting/1

Show detail of certain meeting with i'd'

Search ( /search/:query ) ex: /search/abc

Show the result of search with 'query'

expired now.


redundant parts in universal build name

Noticed an issue tfzpy builds - https://github.com/ringsaturn/tzfpy/issues/61 and it seems to be caused by maturin github action.
Here's  a description from the issue linked above:

Hi! I've noticed that mac build on pypi "tzfpy-0.15.5-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl" has redundant parts about _x86_64 and _arm64 architectures included in the name - when _universal2 by definition means that it has both those architectures.
pip itself is kind of clever about this and will automatically pick universal build if user requiested x86_64 or arm64 and only universal build is available, e.g. command below will work (quickfix-arm64 has only universal build too), so there shouldn't be a need to specify all architectures in the filename explicitly.
pip install quickfix-arm64 --platform macosx_11_5_arm64 --python-version 3.9 --implementation cp --only-binary=:all: --target=./site-packages

This is intentional so that old versions of pip that does not recognize universal2 can still install it.


shlib_variant for static library + symlinks

Hello,
Would it be possible for this (or another) attribute to allow renaming of the static library name and the .so symlinks?
shlib_variant only renames the real shared lib as lib[crypto|ssl]<shlib_variant>.so.
But it would be convenient to be able to get the same for lib[crypto|ssl].a and also have the lib[crypto|ssl].so symlinks also use the same naming scheme
I need to be able to provide 2 versions of the library on a system so I need all items to be completely separate. Ideally without the need to have to butcher the build system to get the final result.
Thanks

That should be possible, sure!

In my use case as well I need to have 2 versions, shlib_variant only changes real library name. Was wondering if it is safe to rename(mv) symlinks(lib[crypto|ssl].so) to match real names for now(lib[ crypto${shlib_variant} | ssl${shlib_variant} ].so)?

It is indeed safe to rename the symlinks.  The SONAME (i.e. the "real" name) is stored in the main so file.

@levitte  Thank you for the quick response.

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Cannot login anymore in Homeassistant module

Hello
Maybe I do something wrong, but it always seemed to work since last week. I wanted to setup the Skoda connect plugin again, but I cannot login anymore and cannot activate Skoda connect in Home assistant. I tried to login in web and android app but no need to accept the license terms or so. Anyone else havbing this problem? I see that Skoda connect app and website has had an upgrade...
Thank you in advance.

Some information about my system:
Core 2023.12.1
Supervisor 2023.11.6
Operating System 11.2
Frontend 20231208.2

Same for me: Message in the log : ERROR (MainThread) [skodaconnect.connection] Received unhandled error indicating client-side problem.

Did you update to latest? https://github.com/skodaconnect/homeassistant-skodaconnect/releases/tag/1.2.8

Please check closed issues and updates for integration before opening new issues. Update to latest which contains fix.

Hello, I did check for the update, it was not there. When I removed the skoda settings it showed up and installed the update. Sorry to bother, but it was not there yet.. Thank you for you superfast response...

Hello, I did check for the update, it was not there. When I removed the skoda settings it showed up and installed the update. Sorry to bother, but it was not there yet.. Thank you for you superfast response...

Same here... was not in HACS... had to reboot.


Extract Engine from matching handler

What changed?
Removing the usage of resource.Resource for matching handler

Why?
Handler depends on Engine, extracting it and passing as a param

How did you test it?
Unit tests

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 0180d5ec-e5db-4ad9-b5ec-917157acbfe3

25 of 31 (80.65%)  changed or added relevant lines in 2 files are covered.
62 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-0.03%) to 56.876%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service/matching/handler.go
13
19
68.42%

Files with Coverage Reduction
New Missed Lines
%

common/task/fifoTaskScheduler.go
2
87.63%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

common/util.go
2
51.17%

service/history/execution/mutable_state_builder.go
2
69.09%

service/history/handler.go
2
47.73%

common/cache/lru.go
3
90.73%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
55.04%

service/history/task/task.go
3
76.98%

common/types/history.go
4
24.89%

service/history/historyEngine.go
4
71.26%

Totals

Change from base Build 0180d3cd-0aa6-4e3d-b215-7175b4e6d75f:
-0.03%

Covered Lines:
83911

Relevant Lines:
147532

💛  - Coveralls


Channel information is different from acctual name

[Enter feedback here]
There is a description about channel name change.
Prior to Microsoft AutoUpdate version 4.29, channels had different names:
• Beta was named InsiderFast (Insider Fast)
• Preview was named External (Insider Slow)
• Current was named Production
But those are little bit different from actual names thus, customer is confused.

Please consider updating the description like below.
=========
Prior to Microsoft AutoUpdate version 4.29, channels had different names:
• Beta Channel was named InsiderFast (Insider Fast)
• Current Channel (Preview) was named External (Insider Slow)
• Current Channel was named Production

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

ID: 092ef512-a100-4be8-8f63-1caaeb9e9559
Version Independent ID: 5245c257-ea7e-57b9-03d9-bf2b63b3306c
Content: Deploy updates for Microsoft Defender for Endpoint on Mac
Content Source: microsoft-365/security/defender-endpoint/mac-updates.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@morrow233 Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/10912
Once the author approves, the changes will be live.
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @morrow233 Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


[text] feature request: pass text size to DrawTextEx & ImageTextEx

Both DrawTextEx and ImageTextEx call TextLength. The call however could accept the text size in the first place.
This can support the following situations:

When someone wants to draw only part of a bigger text
When using raylib from another language that don't have null terminating strings, but rather slices (ie pointer + length)

ImGui uses a similar approach: you pass a second char* pointer, pointing to the desired end of the string (if it's NULL, strlen is used)
I see two ways of supporting this:

either modifying the above functions (breaking change)
creating another version of both functions that accept the extra size parameter

Motivation
I'm using nim and I'm considering raylib for implementing a gui. Without this, I'd need (in every frame) to reconstruct a string (which is basically a char* plus a length) just to make it null terminated in order to call raylb.
If we were to be consistent possibly other functions should support this paradigm, but AFAIK these 2 functions seem to be the possible bottleneck when using raylib for a gui.

@actondev I'm afraid I'm not implementing this change. As you mention it's a breaking change for existing functions but adding new functions supporting lengths will breaking library consistency.

I understand, and thanks for your quick reply!

@Spiffyk Sorry but that was already proposed in the past and I'm not accepting thove variants, it will require reviewing all functions accepting strings for consistency.

@raysan5 Understandable, thanks for the reply and sorry about the necro!


List  of newest relays on the network

Some websites that block Tor users take some time to update their list of Tor relays so it is possible to access this websites by manually choosing an exit node that recently joined the network by edditing torrc file ExitNodes $fingerprint.
For this purpose I use torstatus.blutmagie.de but their website is not very user friendly and sometimes it freezes Firefox. You have to click first seen on the top of the list and scroll all the way down to the bottom of the list to get to the newest relays.

I've reopened this to track the issue here as this is a better description. Thanks for taking the time to submit 👍

Putting this on hold as there's currently no way to order the nodes by first_seen. I've opened a ticket on Onionoo: https://trac.torproject.org/projects/tor/ticket/21095


Allow for crate renaming in Cargo.toml

Macros will now correctly expands when users rename the crate in cargo.toml

Macros will now correctly expands when users rename the crate in cargo.toml
declaring dependency like so now works
gql = { package = "async-graphql", version = "1.11.3" }

There's still an issue, but I don't know what's happening there.
This works:
use gql::FieldResult;

#[gql::Object]
impl User {
    async fn email(&self) -> Fieldresult<&str> {
        Ok("foo")
    }
}

This does not:
#[gql::Object]
impl User {
    async fn email(&self) -> gql::Fieldresult<&str> {
        Ok("foo")
    }
}

error: Invalid type
  --> src/api/models/user.rs:32:30
   |
32 |     async fn email(&self) -> gql::FieldResult<&str> {
   |                              ^^^^^^^^^^^^^^^^^^^^^^

Great. 😁

async fn email(&self) -> gql::FieldResult<&str>

Let me solve this problem, but first tell me how to rename it in Cargo.toml. 😁

Just declare your dependency like so:
gql = { package = "async-graphql", version = "1.11.3" }

You can use the same name in patch section to use your local version:
[patch.crates-io]
gql = { package = "async-graphql", path = "../../async-graphql" }

Thanks, I learned new knowledge again. 🍺

But I can start to solve this problem tomorrow. Because COVID-19 I haven't gone out for a long time to drink with my friends, and today is my first time in 4 months.

Have fun! There's no pressure on this :D


storage prints success even if storage fails

CodeChecker store xerces-test-remote -p 4999 -n xerces
[22:19] - Storing analysis results for run 'xerces'
[WARNING] [22:19] - No JSON object could be decoded
[WARNING] [22:19] - Not valid user authentication file: /home/ednikru/.codechecker.passwords.json
Connection failed to localhost:4999
Check if your CodeChecker server is running.
[22:19] - Storage finished successfully.

Cannot reproduce this issue.


Add listen() and pipe() support back to DAO's

Need to add logic to topics?

Currently implemented as methods on AbstractDAO, as before, but now using subscriptions. A more general topic-to-method-call proxy shortcut on topics would simplify the logic there.

TODO: SkipDAO, LimitDAO, etc. need to be updated to have filtered pipe and listen if we're sticking with methods on DAO

Implemented and tests active


Merge AbstractPlotting into Makie

I think we need to merge + tag this to update the backends correctly ...


update tsg_install

Updated
Signed-off-by: ranjithwingrider<EMAIL_ADDRESS>

Since more update on this page after this PR. so closing this PR and add this entry in the latest page.


Not Working

When i create invoice he return this message
{
error: 'Error',
message: 'NoSuchKey: The specified key does not exist.',
sentryId: 'eb96ab2ff2c5429e9b4ae11eb6911843'
}

Same issue here.
Running the readme example works but it gives the above error if the logo or bg image url is changed

@kevingrondin I think the issue is that for whatever reason it is now compulsory to put a image url for background unlike before where it was optional
I set the background to a white background image and the invoice got created

yes with a background it's work thanks

Thank you for bringing this bug to our attention. This bug introduced itself in an effort to speed up invoice generation time when not using a background, since it's a 'heavy' process. So that should not have given an error. The problem is now fixed and I would advice you to leave out the background parameter (when not required) to speed up the process. So better not use your blank background fix. The fix should be live in about 15 minutes from now.

Thank you for bringing this bug to our attention. This bug introduced itself in an effort to speed up invoice generation time when not using a background, since it's a 'heavy' process. It should not have given an error. The problem is now fixed and I would advice you to leave out the background parameter (when not required) to speed up the process. So better not use your blank background fix. The fix should be live in about 15 minutes from now.

Great, in the catch of createinvoice I will try a retry by adding in the payload the background, just in case.

I open this issue


Rate limiting

Add an optional, in-memory rate limiting function.
Rate limit would be x pages rendered per hour. Notably, cache hits are excluded. If the limit is reached, return an appropriate status code & message indicating rate limit has been hit & maybe how long till the rate limit is reset or the next request will be processed.

Closing as not particularly useful & non-trivial to implement. There's a domain whitelist feature if you want to restrict domains.

@samuelli I'm looking for such a domain whitelist feature.. to prevent others from using my Rendertron instance.. but I don't see this mentioned anywhere.. was this removed.. or.. could you please point me to how it works? Thank you!


Feature: Restrict HTTPS access to API ELBs

Currently, the Kubernetes API is available from any source IP. This is not ideal for a secure, production-grade cluster.
Use case: limit Kubernetes API access to a list of trusted IP addresses, such as an office's IP range.
Proposal: add apiEndpoints[].loadBalancer.allowedSourceCIDRs which is a collection of CIDR ranges (default to [<IP_ADDRESS>/0]) to allow HTTPS traffic in the API's ELB Security Group.
(Extracted from https://github.com/kubernetes-incubator/kube-aws/issues/338#issuecomment-292961597)

Submitted #552 for this.
@jpb @c-knowles Would you mind confirming if it works for you?

@mumoshu I've tested #552 and it works as expected 👍  Thank you for working so quickly on this - it is greatly appreciated!
One thing to note for anyone who comes across this in the future: I had my node pool in a private subnet, so to be able to give them access I had to create a second internal ELB, and set apiEndpoints[].loadBalancer.allowedSourceCIDRs to the VPC range. Using internal VPC IPs (or the worker SG) as a source for a public ELBs does not work. This doesn't have anything to do with the implementation in kube-aws - I believe this is an AWS issue.


Update defined files with .xlsm and .xlsb preview support.

https://cordfield.com/projects/5cc75ecc1c65850ac184b597/files/6025a9fb29eff5643c636891
per @CarsonF may be an issue with the mime type

Fixed with d6f46291333d046995363fcc704c1e02072ddbdf


How to pre-select a certain item?

Hi,
I am using this picker with two options in the list (let's call them "A" and "B"). Initially, the default option is "A". When I switch to "B", I would like the picker to "remember" it somehow, so when I open it again, I would like the option "B" to be preselected. Is this possible?
Thanks.

The selecteds attribute on the Picker can control the default value. Just provide the indices of whichever options you want the default to be, e.g.:
selecteds: <int>[
  1, // the second option will be selected
]

Otherwise, if you're using a NumberPickerAdapter, the NumberPickerColumn object has an initValue attribute which provides this same functionality.

I can confirm that passing the selected index in with the "selecteds" property works. This should probably be closed.


[BZ-1267510] treat .gdst and .scgd as standard KIE resources

.gdst (guided dtables) and .scgd (guided score cards) were
treated in a special way using FormatConverters which caused
issues during compilation as the resulting DRLs were copied
in the compiled kjar. The behavior was changed to be in line
with other resources like .xls dtables where the DRL representation
is create at runtime, on the fly.

RuleTemplateConverter was refactored to RuleTemplateProvider to
have the name in sync with the others

the FormatConverter abstraction was removed completely. All supported
resources should be treated equaly to avoid different behavior
for different resources (very much like the related BZ reported)

Related PRs:
https://github.com/droolsjbpm/droolsjbpm-knowledge/pull/103
https://github.com/droolsjbpm/droolsjbpm-integration/pull/213

@manstis would you be able to take a quick look? Besides @mariofusco (on PTO) you are probably the only one that has the needed info as we discussed this issue over IRC.

I've fixed the GDST parsing. If it contains DSL sentences it is parsed as DSLR, otherwise as DRL. I also added test which parse GDST with DSL.

jenkins, retest this

I don't see your test for when the .gdst doesn't have DSLs.. Has it been removed?

You might also like to consider moving ConversionResult since it'll be used by Guided Templates too (of course you can do that when you get to apply a similar change for those too)..

There seems to be no test for .gdst without DSL. I haven't created one and it seems there actually wasn't one before (or I am not looking at correct place).

About the ConversionResult. I don't like the name much, but wasn't able to come up with anything better. I will move it when fixing the BZ for rule templates.

Heh, OK. I assumed your original PR contained one for .gdst's w/o DSLs.. since we then had the conversation about .gdst's with DSLs. I'm sure I saw some XML in your original PR.. and I'm sure you created some new XML this afternoon.... I must be going mad.

I've added test for .gdst without DSL. The tests are now IntegraiontTests, so executed by failsafe instead of surefire (just a detail). I also added more asserts to make sure the parser actually created expected rules from the .gdst (checking just rule names, the marshalling logic is tested elsewhere).

jenkins, retest this


AssumeRoleWithWebIdentity should specify no auth in model

Description

See quip (df7bAHHjCZBf/AssumeRoleWithWebIdentity-investigation) but in essence AssumeRoleWithWebIdentity is incorrectly modeled by specifying that auth is optional. In reality this operation requires/uses no authentication so the model should be updated to specify this.
Observed Behavior

auth is used when calling AssumeRoleWithWebIdentity
Expected Behavior

no auth is used when calling AssumeRoleWithWebIdentity

Consider implementing a customization in the meantime to work around this: https://github.com/awslabs/smithy-rs/blob/7b451c573d1f6d781f6cfa3b731a241eb1b15295/aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/auth/DisabledAuthDecorator.kt#L18

https://github.com/awslabs/aws-sdk-swift/pull/490


Using a global event bus

I want to create a global event bus with Nuxt, (see here). My first instinct was to create a middleware like this:
export default function () {

    let eventBus = new Vue();
    return eventBus;

}

But I don't have access to the Vue instance in the middleware, I'm not sure where I can put the following code so I can emit and receive events across all pages/components.
I don't really want to import a file into every single component/page that uses the event bus, as it defeats the object of it being globally accessible. Anyone know a way I can achieve this?
Thanks!

You should define it in a plugin. Try this:
    export default function ( {app, store} ){
        app.$bus = new Vue
        if (store) store.$bus = app.$bus
    }

@motia  Still getting a "Vue is not defined" error with this code too unfortunately.

@anthonycook is this not better to resolve with Vuex? Just as an idea though as I'm not familiar what you try to archive

@dohomi What I'm trying to do is get my child components to communicate with my parent components/pages. For example when I press a button in child component, the parent component will respond. From what I can gather from Vue's docs, customer events are the best way to do this. How ever, I can seem to get them working with Nuxt.

hi, @anthonycook !
Maybe you forgot to import Vue?
import Vue from 'vue'

Hi, @anthonycook, I just tested the event bus and it works fine. Probably the solution is as @KonstantinVlasov suggests.

@KonstantinVlasov as I do similar things like you with a toolbar where users can press SAVE I need to dispatch the click event down to a complete different component. I use a Vuex to toggle a Boolean variable like this:
state.js
export state = {
  toggleSave: false
}

toolbar.js
dispatch('toggleSave', !this.$store.state.toggleSave)

some-random-component.vue
export default{
  watch:{
    '$store.state.toggleSave'(v){
      // do something if toggleSave is changing
     }
  }
}

If you only need a parent child communication and not a global dispatch system you can pass events through your instance via this.$emit(), this.$on() and props. See the doc.
If you're looking for a non parent-child communication, then go with vuex.

I suggest Vuex as well, but that's because I like to have well defined data flow patterns for my projects and not stray from the patterns. IE "we use Vuex to do this, so use Vuex, don't create a one-off event bus between two components", that way it's a bit easier contextually to understand what is going on. Less context switching. And donuts. Lots of donuts.

hello, i'm trying to create a event bus with this plugin:
`import Vue from 'vue'
export default function ({ app, store }) {
app.$bus = new Vue()
if (store) store.$bus = app.$bus
}`
In my nuxt config i have:
plugins: [     { src: '~/plugins/event-bus' } ]
and in a component i'm trying to access the bus with this.$bus but is undefined. in this.$store.$bus is ok.
thank you

Why do you need to register the bus in the store? The store can easily replace a global bus emitter...

@Lacroute is not necessary in the store. i just copy the example of @motia

@javialon26 Ok I see.
The plugin let's you the opportunity to inject a piece of code in the root app. As the doc says, you'll be able to use this piece of code in middlewares or fetch and asyncData hooks.
If you're looking for a global event dispatcher for your components, you should create an external file in assets called bus.js:
import Vue from 'vue'

const Bus = new Vue()

export default Bus

Then in your pages, or component simply import it with import Bus from '~/assets/bus'. Then you'll be able to play with your custom events between your components. Be carefull, you'll bypass lots of good practices with the global bus way.
Again, I suggest you to take a look at vuex, it's not very complicated to understand, and your application will be more structured.

@Lacroute thank you, i understand vuex and actually im using it for auth, locale, menu state, etc. but in some case is more simple just fire an event.
playing with plugins, i found this solution for a global event bus:
`import Vue from 'vue'
const eventBus = {}
eventBus.install = (Vue) => {
Vue.prototype.$bus = new Vue()
}
Vue.use(eventBus)`
with this plugin i have access to this.$bus in all component. what do you think of this approach?

Hello!
I used the next configuration:
in plugins/eventBus.js
`
import Vue from 'vue'
const eventBus = {}
eventBus.install = function (Vue) {
Vue.prototype.$bus = new Vue()
}
Vue.use(eventBus)
`
in nuxt.config.js (into key "plugins". More info: https://nuxtjs.org/api/configuration-plugins)
module.exports = {   plugins: [ '~/plugins/eventBus.js' ] }
in your component
methods:{    eventhandler(){        this.$bus.$emit('name-of-event', 'your-data')   } }

@AngelVasquezNep Thanks for the solution !
In the file plugins/eventBus.js you create an a property named install in the bus event object.
Is it recognized somewhere by vue or nuxt ?

This approach in Nuxt is causing memory leak, any clue?
If I replace
Vue.prototype.$bus = new Vue()

for
Vue.prototype.$bus = {
  $on: function () {
  },
  $off: function () {
  },
  $emit: function () {
  }
}

The memory leak is gone.
Thanks!

Code more simple:
Plugin:
import Vue from 'vue';

Vue.prototype.$bus = new Vue();

Use inject nuxt function
plugins/bus-inject.js
import Vue from 'vue';

export default (ctx, inject) => {
  const bus = new Vue;
  inject('bus', bus);
};


libvirt: 6.3.0 -> 6.6.0

Motivation for this change
https://github.com/libvirt/libvirt/blob/master/NEWS.rst#v660-2020-08-02
Things done
Also upgrades python3Packages.libvirt
and patches the rpcgen tool from Apple's developer_cmds package.

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

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

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

@GrahamcOfBorg build libvirt python3Packages.libvirt

@GrahamcOfBorg eval

The build fails on darwin when build in a sandbox:
nix-build -A libvirt --option sandbox true
...
rpcgen: rpcgen: $RPCGEN_CPP: /usr/bin/clang-cpp$RPCGEN_CPP: /usr/bin/clang-cpp: rpcgen: : No such file or directory
No such file or directory
rpcgen: $RPCGEN_CPP: /usr/bin/clang-cpprpcgen: : No such file or directory
$RPCGEN_CPP: /usr/bin/clang-cpp: $RPCGEN_CPP: /usr/bin/clang-cppNo such file or directory
: No such file or directory
...
  CC       logging/virtlogd-log_daemon.o
In file included from ../../src/logging/log_daemon.c:32:
In file included from ../../src/admin/admin_server_dispatch.h:23:
In file included from ../../src/rpc/virnetserverprogram.h:24:
../../src/rpc/virnetmessage.h:41:5: error: must use 'struct' tag to refer to type 'virNetMessageHeader'
    virNetMessageHeader header;
    ^
    struct
../../src/rpc/virnetmessage.h:41:25: error: field has incomplete type 'struct virNetMessageHeader'
    virNetMessageHeader header;
                        ^
../../src/rpc/virnetmessage.h:25:16: note: forward declaration of 'struct virNetMessageHeader'
typedef struct virNetMessageHeader *virNetMessageHeaderPtr;
               ^
../../src/logging/log_daemon.c:916:47: error: use of undeclared identifier 'VIR_LOG_MANAGER_PROTOCOL_PROGRAM'
    if (!(logProgram = virNetServerProgramNew(VIR_LOG_MANAGER_PROTOCOL_PROGRAM,
                                              ^
../../src/logging/log_daemon.c:917:47: error: use of undeclared identifier 'VIR_LOG_MANAGER_PROTOCOL_PROGRAM_VERSION'
                                              VIR_LOG_MANAGER_PROTOCOL_PROGRAM_VERSION,
                                              ^
../../src/logging/log_daemon.c:929:53: error: use of undeclared identifier 'ADMIN_PROGRAM'
        if (!(adminProgram = virNetServerProgramNew(ADMIN_PROGRAM,
                                                    ^
../../src/logging/log_daemon.c:930:53: error: use of undeclared identifier 'ADMIN_PROTOCOL_VERSION'
                                                    ADMIN_PROTOCOL_VERSION,
                                                    ^
6 errors generated.

I suspect it succeeds outside the sandbox since I have Xcode installed. I'll figure out which dependency to add to make it succeed inside the sandbox.

Problem solved. It should be ready for review now.
@GrahamcOfBorg build libvirt python3Packages.libvirt

@GrahamcOfBorg eval

@jonringer thanks for checking! I see that virt-manager-qt was already failing on master.
I do see ofborg reporting between 500 and 1000 packages on darwin need to be rebuild (likely due to the darwin.developer_cmds change). So I think it's better to retarget this to staging.

Closing this in favor of https://github.com/NixOS/nixpkgs/pull/99043 which is targeted against staging.


Hypothesis: also limit generated app names

Since they are used in generated domain names, we can't just allow any value.

:+1:


Build failures with mtl-2.3

Building library for pcre2-2.1.1..
[1 of 7] Compiling Paths_pcre2      ( dist/build/autogen/Paths_pcre2.hs, dist/build/Paths_pcre2.o, dist/build/Paths_pcre2.dyn_o )
[2 of 7] Compiling Text.Regex.Pcre2.Foreign.TH ( src/hs/Text/Regex/Pcre2/Foreign/TH.hs, dist/build/Text/Regex/Pcre2/Foreign/TH.o, dist/build/Text/Regex/Pcre2/Foreign/TH.dyn_o )
[3 of 7] Compiling Text.Regex.Pcre2.Foreign ( src/hs/Text/Regex/Pcre2/Foreign.hs, dist/build/Text/Regex/Pcre2/Foreign.o, dist/build/Text/Regex/Pcre2/Foreign.dyn_o )
[4 of 7] Compiling Text.Regex.Pcre2.Internal ( src/hs/Text/Regex/Pcre2/Internal.hs, dist/build/Text/Regex/Pcre2/Internal.o, dist/build/Text/Regex/Pcre2/Internal.dyn_o )

src/hs/Text/Regex/Pcre2/Internal.hs:76:12: error:
    • Variable not in scope: fix :: ((a -> b) -> a -> b) -> a -> b
    • Perhaps you meant one of these:
        ‘fix1’ (line 76), ‘fix2’ (line 80), ‘fix3’ (line 84)
   |
76 | fix1 x f = fix f x
   |            ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:80:14: error:
    • Variable not in scope:
        fix :: ((a -> b -> c) -> a -> b -> c) -> a -> b -> c
    • Perhaps you meant one of these:
        ‘fix1’ (line 76), ‘fix2’ (line 80), ‘fix3’ (line 84)
   |
80 | fix2 x y f = fix f x y
   |              ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:84:16: error:
    • Variable not in scope:
        fix :: ((a -> b -> c -> d) -> a -> b -> c -> d) -> a -> b -> c -> d
    • Perhaps you meant one of these:
        ‘fix1’ (line 76), ‘fix2’ (line 80), ‘fix3’ (line 84)
   |
84 | fix3 x y z f = fix f x y z
   |                ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:113:32: error:
    • Variable not in scope:
        (<$!>) :: (Text -> Text) -> Maybe Text -> Maybe Text
    • Perhaps you meant ‘<$>’ (imported from Prelude)
    |
113 | maybeSmartSlice text slice = f <$!> maybeThinSlice text slice where
    |                                ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:169:11: error:
    • Variable not in scope:
        fix
          :: ((Stream b m a1 -> Stream c m a1)
              -> Stream b m a1 -> Stream c m a1)
             -> Stream b m a -> Stream c m a
    • Perhaps you meant one of these:
        ‘fix1’ (line 76), ‘fix2’ (line 80), ‘fix3’ (line 84)
    |
169 | mapMS f = fix $ \go -> \case
    |           ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:179:26: error:
    • Variable not in scope:
        fix
          :: ((Stream a0 IO Void -> [a0]) -> Stream a0 IO Void -> [a0])
             -> Stream b IO Void -> [b]
    • Perhaps you meant one of these:
        ‘fix1’ (line 76), ‘fix2’ (line 80), ‘fix3’ (line 84)
    |
179 | unsafeLazyStreamToList = fix $ \continue -> \case
    |                          ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:603:13: error:
    • Variable not in scope:
        forM_
          :: [CompileContext -> IO ()]
             -> ((ForeignPtr Pcre2_compile_context -> t4) -> t4) -> IO a13
    • Perhaps you want to add ‘forM_’ to the import list
      in the import of ‘Data.Foldable’
      (src/hs/Text/Regex/Pcre2/Internal.hs:14:1-60).
    |
603 |             forM_ ctxUpds $ \update -> update ctx
    |             ^^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:605:13: error:
    Variable not in scope: when :: Bool -> IO () -> IO a12
    |
605 |             when (xtraOpts /= 0) $ withForeignPtr ctx $ \ctxPtr ->
    |             ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:608:31: error:
    Variable not in scope:
      forM
        :: Maybe (Int -> IO Bool)
           -> ((t3 -> IO Bool) -> IO (IORef (Maybe a11)))
           -> IO (Maybe (IORef (Maybe SomeException)))
    |
608 |             compileEnvERef <- forM recGuard $ \f -> do
    |                               ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:646:13: error:
    Variable not in scope: when :: Bool -> IO b5 -> IO a20
    |
646 |             when (codePtr == nullPtr) $ do
    |             ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:648:17: error:
    • Variable not in scope:
        forM_
          :: Maybe (IORef (Maybe SomeException))
             -> (IORef a17 -> IO a17) -> t6
    • Perhaps you want to add ‘forM_’ to the import list
      in the import of ‘Data.Foldable’
      (src/hs/Text/Regex/Pcre2/Internal.hs:14:1-60).
    |
648 |                 forM_ compileEnvERef $ readIORef >=> mapM_ throwIO
    |                 ^^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:648:50: error:
    • Variable not in scope: (>=>) :: t6 -> (t7 a18 -> IO ()) -> IO a19
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude), ‘>>=’ (imported from Prelude),
        ‘>=’ (imported from Prelude)
    |
648 |                 forM_ compileEnvERef $ readIORef >=> mapM_ throwIO
    |                                                  ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:676:13: error:
    • Variable not in scope:
        forM_
          :: [MatchContext -> IO ()]
             -> ((ForeignPtr Pcre2_match_context -> t5) -> t5) -> IO a14
    • Perhaps you want to add ‘forM_’ to the import list
      in the import of ‘Data.Foldable’
      (src/hs/Text/Regex/Pcre2/Internal.hs:14:1-60).
    |
676 |             forM_ ctxUpds $ \update -> update ctx
    |             ^^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:714:13: error:
    Variable not in scope:
      when
        :: Bool -> Stream b7 m2 a24 -> Stream (Ptr Pcre2_match_data) IO a25
    |
714 |             when (result == pcre2_ERROR_NOMATCH) StreamStop
    |             ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:715:13: error:
    Variable not in scope:
      when :: Bool -> m1 () -> Stream (Ptr Pcre2_match_data) IO a23
    |
715 |             when (result == pcre2_ERROR_CALLOUT) $
    |             ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:729:13: error:
    Variable not in scope:
      when
        :: Bool -> Stream b6 m0 a21 -> Stream (Ptr Pcre2_match_data) IO a22
    |
729 |             when (nextOff > fromIntegral subjCUs) StreamStop
    |             ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:861:9: error:
    • Variable not in scope:
        forM_
          :: Maybe (CalloutInfo -> IO CalloutResult)
             -> ((CalloutInfo -> IO CalloutResult) -> IO ()) -> IO a16
    • Perhaps you want to add ‘forM_’ to the import list
      in the import of ‘Data.Foldable’
      (src/hs/Text/Regex/Pcre2/Internal.hs:14:1-60).
    |
861 |         forM_ matchEnvCallout $ \f -> do
    |         ^^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:877:9: error:
    • Variable not in scope:
        forM_
          :: Maybe (SubCalloutInfo -> IO SubCalloutResult)
             -> ((SubCalloutInfo -> IO SubCalloutResult) -> IO ()) -> IO a15
    • Perhaps you want to add ‘forM_’ to the import list
      in the import of ‘Data.Foldable’
      (src/hs/Text/Regex/Pcre2/Internal.hs:14:1-60).
    |
877 |         forM_ matchEnvSubCallout $ \f -> do
    |         ^^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:932:24: error:
    • Variable not in scope:
        liftM2
          :: (Int -> Int -> CalloutIndex)
             -> IO b3 -> IO b4 -> IO CalloutIndex
    • Perhaps you meant one of these:
        ‘liftIO’ (imported from Control.Monad.State.Strict),
        ‘lift’ (imported from Control.Monad.State.Strict)
    |
932 |                 255 -> liftM2 CalloutAuto pattPos itemLen where
    |                        ^^^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:946:9: error:
    Variable not in scope:
      forM
        :: NonEmpty a10
           -> (Int -> IO (Maybe Text)) -> IO (NonEmpty (Maybe Text))
    |
946 |         forM (0 :| [1 .. fromIntegral top - 1]) $ \n -> do
    |         ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:947:29: error:
    Variable not in scope:
      forM :: [a8] -> (Int -> IO PCRE2_SIZE) -> IO [a9]
    |
947 |             [start, end] <- forM [0, 1] $ \i -> peekElemOff ovecPtr $ n * 2 + i
    |                             ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:983:9: error:
    Variable not in scope:
      forM
        :: NonEmpty a7
           -> (Int -> IO (Maybe Text)) -> IO (NonEmpty (Maybe Text))
    |
983 |         forM (0 :| [1 .. fromIntegral ovecCount - 1]) $ \n -> do
    |         ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:984:29: error:
    Variable not in scope:
      forM :: [a5] -> (Int -> IO PCRE2_SIZE) -> IO [a6]
    |
984 |             [start, end] <- forM [0, 1] $ \i -> peekElemOff ovecPtr $ n * 2 + i
    |                             ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:992:25: error:
    Variable not in scope:
      forM :: [a3] -> (Int -> IO PCRE2_SIZE) -> IO [a4]
    |
992 |         [start, end] <- forM [0, 1] $ peekElemOff offsetsPtr
    |                         ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:1001:34: error:
    • Variable not in scope:
        (>=>)
          :: (t2 (IORef b2) -> IO ())
             -> (CalloutState -> IO ()) -> Maybe (IORef CalloutState) -> IO ()
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude), ‘>>=’ (imported from Prelude),
        ‘>=’ (imported from Prelude)
     |
1001 | maybeRethrow = mapM_ $ readIORef >=> mapM_ throwIO . calloutStateException
     |                                  ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:1019:26: error:
    • Variable not in scope:
        (>=>)
          :: FromMatch t
             -> (t0 Slice -> IO (t0 (Slice, Text)))
             -> Ptr Pcre2_match_data
             -> IO b
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude), ‘>>=’ (imported from Prelude),
        ‘>=’ (imported from Prelude)
     |
1019 |         mapMS (fromMatch >=> mapM enrichWithCapture) $ matcher subject
     |                          ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:1066:5: error:
    Variable not in scope:
      forM :: t Int -> (Int -> IO Slice) -> IO (t Slice)
     |
1066 |     forM whitelist $ \i -> Slice
     |     ^^^^

src/hs/Text/Regex/Pcre2/Internal.hs:1225:35: error:
    • Variable not in scope:
        (>=>)
          :: (SomeException -> Maybe e1)
             -> (SomePcre2Exception -> Maybe b1)
             -> SomeException
             -> Maybe Pcre2Exception
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude), ‘>>=’ (imported from Prelude),
        ‘>=’ (imported from Prelude)
     |
1225 |     fromException = fromException >=> \(SomePcre2Exception e) -> cast e
     |                                   ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:1254:35: error:
    • Variable not in scope:
        (>=>)
          :: (SomeException -> Maybe e0)
             -> (SomePcre2Exception -> Maybe b0)
             -> SomeException
             -> Maybe Pcre2CompileException
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude), ‘>>=’ (imported from Prelude),
        ‘>=’ (imported from Prelude)
     |
1254 |     fromException = fromException >=> \(SomePcre2Exception e) -> cast e
     |                                   ^^^

src/hs/Text/Regex/Pcre2/Internal.hs:1267:11: error:
    Variable not in scope: unless :: Bool -> IO a2 -> IO ()
     |
1267 | check p = unless . p <*> throwIO . Pcre2Exception
     |           ^^^^^^

Thanks @sjakobi .
I created this issue in microlens which will block us from being able to run tests.  But I can certainly work on future-proofing now.

Okay, microlens is not actually a blocker (thanks for the clarification @sjakobi).  But now this is blocking benchmarks from building:
https://github.com/simonmar/monad-par/issues/74
I would say the actual build failures above are resolved now, but this issue can stay open until all targets (library, tests, benchmarks) can be built against mtl-2.3.

pcre2-<IP_ADDRESS> is released.

But now this is blocking benchmarks from building:
simonmar/monad-par#74

The latest version of statistics doesn't use monad-par anymore. With that version you get a valid build plan for criterion with mtl-2.3.

LOL alright, thanks for the assistance and sorry if I'm making this more trouble than it needs to be.  I'll continue to work on this as soon as I can.

No worries, @sjshuck. There's no need to hurry. And FYI, for discovering build plans, cabal's dependency solver is pretty useful. stack doesn't have such a feature.


Uncaught TypeError: Cannot read property 'getCursors' of undefined

steps to reproduce below:

Press Command+ and go to "Settings"
Press Command+T and show the prompt of the project name
Press Esc and this error is occured

Atom Version: 0.190.0
System: Mac OS X 10.10.3
Thrown From: atomic-emacs package, v0.5.0
Stack Trace
Uncaught TypeError: Cannot read property 'getCursors' of undefined
At /Users/h12o/.atom/packages/atomic-emacs/lib/atomic-emacs.coffee:21

TypeError: Cannot read property 'getCursors' of undefined
  at deactivateCursors (/Users/h12o/.atom/packages/atomic-emacs/lib/atomic-emacs.coffee:21:3)
  at AtomicEmacs.keyboardQuit (/Users/h12o/.atom/packages/atomic-emacs/lib/atomic-emacs.coffee:91:5)
  at atom-text-editor.disposables.add.atom.commands.add.core:cancel (/Users/h12o/.atom/packages/atomic-emacs/lib/atomic-emacs.coffee:283:45)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:242:29)
  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:521:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:356:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:180:20)

Commands
     -2:14.5 settings-view:open (atom-text-editor.editor.is-focused)
     -2:13.4 pane:show-previous-item (div.settings-view.pane-item)
     -2:12.8 core:close (atom-text-editor.editor.is-focused)
     -2:10.5 fuzzy-finder:toggle-file-finder (div.settings-view.pane-item)
     -2:09.2 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -2:09.2 core:cancel (atom-text-editor.editor.mini.is-focused)
     -2:08.1 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -2:08.1 core:cancel (atom-text-editor.editor.mini.is-focused)
     -1:52.2 fuzzy-finder:toggle-file-finder (div.settings-view.pane-item)
     -1:50.2 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -1:50.2 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:02.5 fuzzy-finder:toggle-file-finder (div.settings-view.pane-item)
     -0:01.4 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:01.4 core:cancel (atom-text-editor.editor.mini.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-light-ui",
      "solarized-light-syntax"
    ],
    "projectHome": "/Users/h12o/Documents/Git/github.com/h12o",
    "followSymlinks": true
  }
}

Installed Packages
# User
atom-lint, v0.20.1
atomic-emacs, v0.5.0
autocomplete-emojis, v2.1.2
autocomplete-paths, v1.0.2
autocomplete-plus, v2.9.0
autocomplete-snippets, v1.2.0
dash, v1.1.0
file-icons, v1.5.4
git-log, v0.3.0
japanese-dictionary, v0.2.0
japanese-menu, v0.4.0
japanese-wrap, v0.2.7
keyboard-localization, v1.2.0
linter, v0.12.0
linter-shellcheck, v0.0.7
localization, v1.16.1
minimap-git-diff, v4.1.2
recent-files, v0.3.0
script, v2.18.0
show-ideographic-space, v0.1.6
space-tab, v0.1.0
web-view, v0.3.0

# Dev
No dev packages

I can't reproduce this, so assuming it's fixed. Let us know if you're still seeing issues -- thanks!


macOS cannot execute binary file

after this command
docker run --rm jpetazzo/nsenter cat /nsenter > /tmp/nsenter && chmod +x /tmp/nsenter

mv /tmp/nsenter /usr/local/bin/nsenter

then
/usr/local/bin/nsenter

output:
-bash: /usr/local/bin/nsenter: cannot execute binary file
ll /usr/local/bin/nsenter
-rwxr-xr-x  1 yuyj  admin  912096  6 27 19:08 /usr/local/bin/nsenter

uname -a
Darwin bogon 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64

docker -v
Docker version 17.03.1-ce, build c6d412e

Hi!
Unfortunately, nsenter cannot work directly on OSX. I would suggest to just use docker exec instead; this should work out of the box!
Sincerely,


feat(blm): calibration runner

This part mainly takes care to determine which processor should be attached to which queue (worker works now on abstraction)

The interfaces aren't finished - sometimes on purpose to leave some flexibility for implementation.
Also, I haven't yet tested it the right way - will do next week.

the plan looks solid, thank you!
From this PR, I take that the main departures from the possible implementation ideas outlined in the HLD are around how we instantiate the runner service and around the use of partial results, which seems a good approach to me.
It may be worth doing a light revisit of the design documents after the fact (once the BLM calibration is complete) to clear up inconsistencies that may trip up future readers (including our future selves).

yes, hope this is clear enough. May need a bit further moves, as most likely the BLM will use Single- under the hood.
also, added missing parts https://github.com/Vizzuality/marxan-cloud/pull/628/commits/c36cbc94e90e9292ba1e0880d4b0de0f9b84fc68 of attaching relevant adapters (through DynamicModule) connected to respective queue.


Error in filtering for certain words starting with @

i want to add something here: words start with characters like '@' or '#' can't be filtered.

is this a feature request ? or you mean this happens ?

Yes. when someone wants to omit "@someid" the program run in to error.
Originally posted by @ehs4nm in https://github.com/aahnik/tgcf/issues/93#issuecomment-835210840

What is the problem? There is no problem. I tested with the latest version of tgcf, and it works perfectly fine.
You must write those words under quotes.
Suppose you want to blacklist messages that contain the specific words #tag and @word.
Then in your configuration
plugins:
  filter:
    text:
      blacklist:
      - "#tag"
      - "@word"

If you want to blacklist messages that contain any word starting with # or @ then you can use the power to regex.

The expression for that is \s+(@\w+)\s*, replace @ with # incase of #

plugins:
  filter:
    text:
      regex: true
      blacklist:
        - "\\s+(#\\w+)\\s*"  # matches any word starting with a hashtag symbol
        - "\\s+(@\\w+)\\s*"  # matches any word starting with the at-the-rate symbol

Note The double slashes are for escaping the first slash in yaml

The above regex pattern has a limitation. It Will does not apply if the first word starts with @ or #. If you try and think, you can come up with a better regex pattern.


Boost minions

We have lab code to create boosts. Time to dust that off and put it to work.

So we can currently load the labs, run reactions, and unload them again. Loading the labs with boosts is not difficult. (We'll assume for the time being that we aren't trying to optimize lab uptime.)
The tricky part here is we need to coordinate the lab's availability with spawning the minion we're going to boost.
The labs should have a Scientist always spawned, so they are the most flexible.
When the target minion is spawning (and before it is boosted), two of the output labs will be designated for boosting. The Scientist will empty the lab and then fill it with the appropriate boost (and reactions will not dump resources in, unless the output matches the boost).

We'll create a Boost behavior for spawning minions. This will set a flag for the Scientist, and then (when then minion is spawned) move it to the lab and perform the boost.


Windows search finds what powertoys does not

Microsoft PowerToys version
0.69.1
Installation method
GitHub
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce

✔ Expected Behavior
At least one result of disk2vhd.exe should be found by powertoys run
❌ Actual Behavior
Windows search finds the exe, powertoys run doesnt
Other Software
No response

where was the file located?

/needinfo

Similar to #26032

Are you still experiencing this issue? /needinfo

It appears that the original issue has been resolved


feat: cli

Resolves #38

@christianklotz Still got some type errors to fix, but this is ready for a look.


CSS Clean - exception

Do not clean the .loading class. This class is added in the form submit button on click to show an animation. Add exception to the ignore - along the lines of:
new RegExp('\.loading*(.)\S+')

I tested the ('\.loading*(.)\S+') regex in sublime text to see if it could find the class. But it turns out it didn't find .loading class and only found .loading:after and .loading:before. When I did gulp build, there were no .loading classes in the main.css at all.
So i tried ^.loading.* regex instead and everything appears to be in the main.css and also appears to be working in the localhost test (throttled GPRS network to see the animation). So the css clean in this PR include ^.loading.* regex instead.
PR - https://github.com/pupil-labs/pupil-labs-website/pull/166

fixed with #166


Monitor utilites

Resolves #1484
I added this function regarding this issue - We have a bunch of functinos that are for querying monitor information and changing monitors but there is no way currently to know which is the current used monitor. @raysan5

@object71 Good addition! I'm still thinking about naming... GetMonitorCurrent() seems more aligned to the other similar functions... but GetCurrentMonitor() is more clear for the user...


Generate for only the important contract

Presently, the program generates for all json file in the directory

This will close [issue #7 ]

(#5) closes this issue


Feetransfers do not support filtering to exclude coinbase rewards

We're interested in querying those two separately or together.

To display fees here, I have to filter out coinbase rewards in the javascript. Here is a case where I want to display fees, not coinbase rewards.

But why are we filtering them out? The link says internal_commands for which the Coinbase reward is one.

This is something we can support:
query MyQuery {
  feetransfers(query: {type_nin: ["Coinbase"]}) {
    blockHeight
    canonical
    dateTime
    fee
    recipient
    type
  }
}

Alternatively we just don't return coinbase rewards in that endpoint and add internal_commands endpoint

Moving to wishful. This isn't strictly needed right now.


exporting svg

Hi there,
I am trying to export an overlay figure as an svg using
%%output filename="chlorophyll" fig="svg"
But I get the following error:
Error: Value 'svg' for key 'fig' not one of ['html', 'json', 'auto', 'png']
I can use %%output filename="chlorophyll" fig="png" to successfully export a png. Am I missing something obvious? The export documentation makes it sound like svg is supported.
Thanks for your help!

Sounds like you're using the Bokeh extension.  SVG is supported for the Matplotlib extension, but not yet for Bokeh.  Bokeh itself supports exporting to SVG, but it's only partial support (each subfigure generates a separate SVG), and we haven't yet figured out a good way to get full support of the entire layout.

Got it! Thank you for that clarification and quick response!

Might be worth noting that in Exporting and Archiving under "Exporting specific files".

I'll repurpose this issue as a reminder to improve the docs.

We've now added hv.save which is documented in a number of places throughout the docs.


UI changes in Send To Contacts flow.

Send To Contacts Flow: 'last seen active" color indicators on contact avatars.

-Recipient name(initials)is different(Showing F1/F2 instead of wallet name initials).9-9a1b0eaa4274.jpg)
-Recipient name icon is being cut from the top side.
[This is happening in case of Skip contact]

This example is for Keeper.

@antuz123 My understanding is that the wallet name is only supposed to be used as a fallback for when the recipient name doesn't exist. Wouldn't we want the recipient initials to show here?

@CypherPoet - that is ideal but in skip scenarios, we don’t have the initials. What do you suggest the initials to be?

I think if we don't have name information for a contact, we should use the wallet name as the displayedName. Right now, it looks like we're setting the displayed name to "F&F Request" when there's no actual contact name (see the issue noted here)

That is done when the requester has not Associated a Contact, and the request is not yet accepted. In that case, the wallet name from the receiver is not received. So the "F&F Request" is a temporary placeholder that is to be replaced by the wallet name when received from the receiver.

🤔 That would suggest this is an issue of the placeholder name not being properly removed, because the UI is still finding it set when it also has a wallet name that should be displayed instead.

yup

#2097 Adds a few changes to get around this in the meantime.

Having same issue on dev app version 1.3.2(170)
-This is for both keeper and trusted contact request.

Doesn't seem to be clipped or cropped. Would be great to know what the residual issue is.

-Display name is different on 'send to contact' and F&F list. In F&F list it is showing csDev and on in send to contact flow it is showing F1 as a contact image.

I haven't been able to replicate this locally -- right now the code is set up to check for a name matching F&F request to handle the intricacies noted here.
@AliMeer @antuz123 @Parsh Is there another string or set of strings that should be checked to detect F&F requests?
(https://github.com/bithyve/hexa/issues/2056 will also help with these issues)

Tested on live app version 1.3.2(170)
<img width="375" alt="795EAD0A-5C35-48D7-88F8-04DBA3BF6321" src="https://user-images.githubusercontent.com/62699947/100318347-e3bf9f80-2fe3-11eb-907e-77bd48f4571a.png"

F1 F2 F3 is showing up on the contact circle, it should be the wallet initials instead.. through out the app for skipped contacts

@cakesoft-swati  Can we get this re-checked against the latest build

@cakesoft-swati  Can we get this re-checked against the latest build

@cakesoft-swati It will be very useful to know which part of this issue is still outstanding and mention that as a new comment or a new issue.

-Verified this isue on dev app v1.7.5(302)


Error transacting with contract premiums

The tx command doesn't work when the contract has a flat fee set. To fix it, the CLI should also query the estimate-fee functionality using the contract address it's transacting with.

Hi team was looking to contribute to archway cli repo as it has good number of issues, and issues also has reference code for the same is there someone I can contact to as I do lack technical expertise and would need a little help. Thank you !!


Update code to work with Dymos 1.5.0

error_dymos_1.4.0.txt

Code does not work with latest version of Dymos. Version 1.4.0 required. To be updated.


First draft scatterndofshape

Codecov Report
Attention: Patch coverage is 0% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 84.04%. Comparing base (48758e8) to head (75495e5).

Files
Patch %
Lines

onnx_extended/ortops/optim/cuda/__init__.py
0.00%
9 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #157      +/-   ##
==========================================
- Coverage   84.15%   84.04%   -0.11%
==========================================
  Files          56       57       +1
  Lines        7029     7038       +9
==========================================
  Hits         5915     5915
- Misses       1114     1123       +9

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


[AuraSafe] Temporary hide currency feature

Temporary hide currency feature on ASSET screen for not managing by this time.
Leave it to next phase.

Confirmed. Assigning to @halong99t.


Respawn, Persistence, Map Info

Downloaded the latest version from GitHub yesterday and had a couple of hours of playing (COOP with 1 friend, normal HOST not DEDICATED)

Respawn appears to be INSTANT instead of BASE. Or rather, its set to BASE in description.ext but for some reason every time we got killed it respawned us on the spot we died instantly.

Tried persistent saving, location was saved but the arsenal was wiped clean for some reason, not really sure what couldve gone wrong. FIA HQ marker on the map doesnt move on map load. Actually the whole saving except for the location doesnt appear to work correctly.

When we captured a base and it gave us the messages about AAF Counter attack it didnt say time but: Scalar NAN.

Map Info doesnt appear to be working. Nothing happens when you select it from the action menu.

:/ Interesting. Do you have the log from that game on your computer that you could share?

Good morning,
Actually we were more of playtesting than just playing a campaign so no important data was lost, these are just things we noticed in a couple of hours of testing.
I will provide the logs ASAP. Tried all twice on two different computers just to be sure and all of the script errors are there.
Thanks for the quick reply btw!

This is the .rpt, couldnt find the old one so I tried to reproduce it all.
This time around when I captured a base it didnt give me that weird message, it said 10 minutes correctly.

The first thing I tried was to load a the persistent save. It loaded the location correctly but once again the marker on the map stayed on the default position and weapons werent available.
Then I tried Map Info, didnt work. Gave an error message about a variable being empty.
After that I teleported to a base, captured it.
Teleported back and put new weapons into the crate.
Saved.

Arma3_x64_2017-07-29_10-20-04.zip

Well, @SomethingSimpl, thank you and your friend very much for doing that! I will go through them and get back here.

I am confident that I have fixed the city info issue (4) with 9716cbc. The persistent problem (2) is probably fixed, but testing is required. I addressed problem (1) but we also need testing. Problem (3) I have not touched yet.

Thanks for the prompt fixes! This is awesome. Going to go through it and report back :)
If youd like to play with us a bit sometimes, feel free to add me on Steam, names the same as here but with an -e at the end.

Hi,
The city info issue is fixed. Persistance still acting the same way, not saving weapons in crates. Number 1 is fixed as well.

Thanks a lot @somethingsimpl for the testing and report.
I will have no access to a windows until friday so I will not be able to work on the persistent issue until then.
It is an interesting issue. It was a recent commit that broke it since I played a recent version and it was fine. :/

I just pushed a major update to master. Do not know exactly which commit fixed this, but I tested in both SP and MP and the issue is fixed. Let me know if you do not agree with this and we re-open it.


RepLKNet-31L 21k weights seems to be wrong

I've ported RepLKNet model to TF (will be published soon).
But during tests i've found that one particular checkpoint - RepLKNet-31L for imagenet21k - produces wrong predictions.
For image https://storage.googleapis.com/tensorflow/keras-applications/tests/elephant.jpg it predicts top-2 classes: 20104, 10871 which are "flowering_almond" and "strainer".
All other checkpoints for 1k and 21k imagenet predict correct classes (3674 for African_elephant in 21k)

The weights file may not have been well trained, but at least it worked reasonably on our downstream tasks... I guess it just happens to make a mistake on this picture?

I think this is not just a mistake on particular picture.
Could you check predictions of this pytorch checkpoint with your eval pipeline?

I think this is not just a mistake on particular picture. Could you check predictions of this pytorch checkpoint with your eval pipeline?

The TF model might (see timm vision_transformer) be trained on 21843 classes, while ours are pretrained on 21841 classes following FAIR and microsoft (see BeiT). It seems google's imagenet22k is slightly different from ours, and a proper class mapping is likely to resolve this issue.
I think this discussion may help you find the 2 missing classes: https://github.com/google-research/big_transfer/issues/18


Snake background display bug

If a snake background animation begins and completes during the duration of another background animation the background color will be screwed up

Resolved


midnight theme - search in home is way off where it should be.

Dunno what is going on here but search seems to be way off of the location of where it should be at.

Should be fixed


Add serialization.primitives for json

@Tratcher @muratg @Eilon @davidfowl @DamianEdwards
I'll just push all the other ones after this one, just making a PR to show the change

:shipit:


Clarification needed re: device 'reenrollment'

The documentation states that:
"You need to reenroll devices to Desktop Analytics that you previously enrolled in Windows Analytics."
This sentence makes no sense - devices are not 'enrolled' in either Desktop Analytics or Windows Analytics. They report telemetry to Microsoft which is then passed to the correct Azure Log Analytics workspace based on the Commercial ID present within the telemetry data.
If the the same Log Analytics workspace is used during a Windows Analytics -> Desktop Analytics migration and the Commerical ID does not change, then in theory no action should be required for devices to be visible in Desktop Analytics. If this is the case, the documentation should be updated to reflect this.

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

ID: dd47a59b-8033-9e94-6f54-0ac1b6c9007e
Version Independent ID: d26141cd-e979-607b-f7db-57c762b329e4
Content: Set up Desktop Analytics - Configuration Manager
Content Source: sccm/desktop-analytics/set-up.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

I have reenrolled devices with Log Analytics many times, but do not receive any telemetry in Desktop Analytics. Is SCCM a requirement for Desktop Analytics? Cloud-only environments (AAD only, no on-prem AD) are not eligible for this service?

@x9, "enroll" is the same verb/term that Windows Analytics used. 😄 For example.
It’s basically just the term that we’re using for configuring the settings on the device. And that process is different between WA/DA. With WA you used a script or GPO, but it’s a simplified process integrated with ConfigMgr. I suppose “register” or "reconfigure" is perhaps a more accurate term for the specific action, but we’re using "enroll."
@danchemistruck - ConfigMgr is currently required to work with Desktop Analytics. See this FAQ. To share your feedback with the engineering team, please vote up or file an item on the product UserVoice site in the Desktop Analytics group.


Date of article?

Hi team - I came to this page from https://techcommunity.microsoft.com/t5/Azure-Active-Directory-Identity/Presenting-the-new-Unfamiliar-Sign-in-Properties/ba-p/779978, which has an August 2019 date on it, and says there is a refreshed version of Azure AD IP. The date on this page, however, is still March 2018. Can you change the date on this page to show at what point the "refreshed" aspects came into being?

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

ID: c2e83171-fd05-9fe1-3ba7-0fb20161ee63
Version Independent ID: 2e6b2451-5ff8-a277-90ea-49aa70957977
Content: What is Azure Active Directory Identity Protection (refreshed)?
Content Source: articles/active-directory/identity-protection/overview-v2.md
Service: active-directory
Sub-service: identity-protection
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Michael-Sampson Thanks for your feedback! We will investigate and update as appropriate.

@Michael-Sampson I agree that this is confusing, especially given that there were recent press releases on the improved/refreshed experience and added security.
https://www.bleepingcomputer.com/news/microsoft/microsoft-boosts-compromised-account-detection-in-azure-ad-by-100-percent/
@MicrosoftGuyJFlo thoughts?

No change to the content of the article the changes are back-end changes.

#please-close

Hello folks,
Does this article supersede the others? Or is there a date for when these changes take effect?
I'm not to sure whether this article represents something that will happen in the future, or something that is currently happening now. Is there some way this can be clarified both here & in the article itself?
Thanks a lot,
James


HTTPClient is still using NIOAtomic

Given the other NIOAtomics were replaced with ManagedAtomic I assume the HTTPClient one will want to be replaced as well
https://github.com/swift-server/async-http-client/blob/2adca4b0038a7ef81ea0838c5feeda9439c52b64/Sources/AsyncHTTPClient/HTTPClient.swift#L39

Agreed.

Looks like this was just an oversight in #603, I'll quickly clean it up.

Shipped in 1.11.3.


Named first runtime argument in resolve

Resolves #18

This means a 3.1.0 before the 4.0.0, right?

I don't mind bumping major version and release it together with other things that are in develop now. To release 3.1 first will be too much updates in short time. But do you think it will be ok just to remove old methods without deprecating them first? Currently in develop register(instance) is only deprecated. Then we can remove them all together in 4.1?
P.S. probably I don't have access rights to create milestones and labels...

I think removing without deprecating might be maybe harsh but not that problematic either, as long as we provide a clear note in the CHANGELOG.
We can't deprecate in 4.0.x and remove in 4.1.x because that would break semantic versioning: when you remove a method and thus break the backward compatibility you have to bump the major version. So the solutions to chose from are:

deprecate it in 3.1 and remove in 4.0
deprecate in 4.0 and remove in 5.0
remove in 4.0 without deprecating it before

I think the first one would be the best, because typically when you do semver you use ~> 3.0 — so a pod update will update to 3.1 but not 4 until you change your Podfile manually. But if we dont plan to release a 3.1, then the last one won't be as problematic as if we were Apple or a big lib IMHO. After all we only have 50 stars so far, not 1k :wink:

Ok, I see. But then if we deprecate it in 3.1 then we need to provide an alternative in the same version, don't we? For named arguments we have it, but for registering singleton we need to extract it from circular dependencies implementation. If it's ok I can do that.

Indeed, I didn't realize that the alternative for register(instance:) was only provided by the Circular Dependencies PR. To follow semver and be nice citizen with the API changes we should indeed extract the alternate register(.Singleton) from there so it can be included in 3.1 before we release Circular Dependencies in 4.0.

Ok, let's do that. I think it will be easier to start release/3.1.0 brunch from current master and do it there (we can't start it from develop cause circular dependencies are already merged in). And we need to close this then two.

Yeah we messed up a bit with te branches this time, it wasn't proper gitflow as we didn't have the roadmap yet, woops.
We can still create the branch from develop, but from an earlier commit in develop before we merged circular dependencies PR (and cherry-pick the missing, more recent commits from develop into release/3.1.0 if needs be). I think it would feel better than starting a release from master.

Ok, will do that tomorrow.

Well I just took a look at the git graph and realize that… I already did exactly that 4 days ago :smile:
Branch origin/release/3.1.0 was created 4 days ago and points the the commit just after the release 3.0.0 and just before the Circular Dependencies branches started :wink:

So can we close that?

Maybe it will also worth adding inScope name to scope parameter in register? It can be also confusing if you use it together with tag:
register(tag: "tag", .Singleton) { ... } vs register(tag: "tag", inScope: .Singleton) { ... } or register(inScope: .Singleton) { ... }

Mmh given that the Scope is a fixed enum, I'm not sure the confusion can be done like there was the confusion between tag and runtime argument before?

Yep, let's leave it like it is.
So I've made a pull request for 3.1.0 release - https://github.com/AliSoftware/Dip/pull/21

Cool! Will close this issue once I took time to merge #21 :)

We now don't need this as it is now in develop after merge of release/3.1.0 -<PHONE_NUMBER>7a1d8504d730922f31176ab3683229


Host docker image for apim cli

Problem description
Host docker image for apim cli
Feature request
Host docker image for apim cli

apim cli image uploaded to github package - ghcr.io/axway-api-management-plus/apimcli:1.13.5


diff-cover

Can diff-cover supports java multi-module?

Yes it can, with JaCoCo.
Although it is not optimized because you will have to run both report and report-aggregate Maven goal (see jacoco/jacoco#812).
Then you have a performance issue in diff-cover for which I created a PR (#124)
The diff-cover command to run is the following
diff-cover --html-report target/diff-cover.html --src-roots $(find . -name java -type d | grep 'src/main/java$') -- $(find . -name jacoco.xml -type f | grep 'target/jacoco-\(ut\|aggregate\)/jacoco.xml$'')


Updated tooling, converted to dotnet core/netstandard

Hi there!
Thanks for this awesome library
We're evaluating to use your library for a project and in this step we:

updated to new tooling;
converted library to dotnet standard;
updated windows forms to 4.6.1
removed packages

All unit tests are green, everything works as expected.

kdaveid, the base project has some bugs which, if not corrected, can result in unrecoverable shares being produced.  I  have a pull request which corrects these bugs but the original author has not applied it.  Unfortunately the changes were fairly involved.  In any event in any serious use case you need to consider this prospect.  If you have any questions I'll try to answer them.


3D GUI Near Menu computes the cell size incorrectly

Fixes #15550
The extend size was computed incorrectly (if the menu is transformed in any way). The reason it was not found so far is that it will only appear if the menu is manipulated after rotating the camera.
Playground to test with - #Z6M4WM#4 . If testing the "before" state, rotate the camera 90 degrees and press one of the buttons.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15551/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15551/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15551/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15551/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15551/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15551/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15551/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15551/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15551/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15551/merge/testResults/webgl2playwright/index.html


WIP: Add pmdarima to sktime-all-extras

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi @freddyaboulton 👋
The helpful folks over on conda-forge gitter pointed out the fact that I have been using pin_compatible incorrectly.
The usage of {{ pin_compatible('numpy') }} should remain the same - it's the host pinning which is incorrect here. In the host section the pin should be 1.19.* instead of >=1.19

https://conda-forge.org/docs/maintainer/knowledge_base.html#building-against-numpy

@dhirschfeld Thanks for following up with the folks on the gitter channel. I implemented your suggestion!

@dhirschfeld Uh-oh, looks like the build is failing again! sktime is being built with 1.21.1 again. Look at the CI log

Thanks for following up with the folks on the gitter channel

Not a problem - I thought something wasn't quite right. I think it's the >= in the host which short-circuits the pin_compatible handling so just 1.19.* should work... IIUC.

Uh-oh, looks like the build is failing again! I think sktime is being built with 1.21.1 again?

I'm trying without >= now as you suggested. I misread that.

@dhirschfeld Thanks again for the feedback! The builds are all green now. Weird that the run constraint for numpy cannot have >= ! Glad we were able to figure it out.


[Troubleshooting tip] Error message help for Db2 CLI if the wrong port is specified

1. Slack conversation link (if any)
currently im getting this error and wanted to know if you may know a fix
4:59
DB2 ODBC Driver Error: [node-ibm_db] SQL_ERROR
Error Details:
Error:    [IBM][CLI Driver] SQL30081N  A communication error has been detected. Communication protocol being used: "TCP/IP".  Communication API being used: "SOCKETS".  Location where the error was detected: "<IP_ADDRESS>".  Communication function detecting the error: "recv".  Protocol specific error code(s): "10054", "*", "0".  SQLSTATE=08001
SQLCODE:  -30081
SQLSTATE: 08001

2. Choose a title
Error message help for SQLCODE:  -30081 and SQLSTATE: 08001
3. Symptom
4. Solution
This message occurs if the secport is being used instead of the unsecured port.  Refer to the DSN400I message.
Update the https://docs.zowe.org/stable/user-guide/cli-db2plugin.htm page to include this message

@AbhishekJamhoriya will work on this issue. Thank you for taking the time to contribute to Zowe docs!

Hi, @nannanli please assign me this work.

Hi, @nannanli made the required changes please check my PR.

Hi, @nannanli made the required changes please check my PR.

We would like to cover all applicable plug-ins.  We will create a draft doc proposal.

Closing with PR 2630


Setup Public documentation (f.e readthedocs.org)

We are working on documentation to the project, however, to make it easy for new comers to use we should have good public documentation. readthedocs.org provides a good means to host it.
Note: This does not mean we have to use readthedocs.org, but it shouldn't be limited to the github project either.

Basics are in place. We still have more to document, but we should be able to at least enable RTD now, and fix the remaining going forward. Let's keep this open until everything is done though.

amit setup the web hook; and I just setup the RTD project.


Fix class/struct mismatches

Several types were declared as structs (presumably to save a public: line), but were forward-declared throughout the code as classes.
I changed them back to class since it seemed like the path of least resistance (otherwise all the forward declarations would have to be changed).

gcc does not warn/care about this so I didn't notice. Thanks.
utACK

Ah! I'm building with clang - that would explain it.

utACK


Support only clang 8 and newer

This PR bumps the officially minimum supported clang version to 8. Included is an update to the Readme as well as an update to the singularity and dockerfiles to compile with clang 8, i.e. CI will now be done with clang 8 on all platforms.
This should also fix the CI build failure of PR #76.

Maybe this could also include explicit versions in the CMake find_package(LLVM) calls? I currently have to edit these to 8 manually as I also have a Clang 6 installation which it defaults to otherwise.

Good idea! I've added some code to use the newest available LLVM out of 8 or 9.


"React has detected a change in the order of Hooks called by JsonNode"

I am getting react warnings in my dev console in some case where I use JsonView. Anyone know how to prevent this?
Warning: React has detected a change in the order of Hooks called by JsonNode. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks

   Previous render            Next render
   ------------------------------------------------------
1. useContext                 useContext
2. undefined                  useState
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    at JsonNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:573:21)
    at div
    at NameValue (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:212:22)
    at div
    at ObjectNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:365:23)
    at JsonNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:573:21)
    at div
    at NameValue (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:212:22)
    at div
    at ObjectNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:365:23)
    at JsonNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:573:21)
    at div
    at NameValue (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:212:22)
    at div
    at ObjectNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:365:23)
    at JsonNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:573:21)
    at div
    at NameValue (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:212:22)
    at div
    at ObjectNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:365:23)
    at JsonNode (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:573:21)
    at code
    at JsonView (webpack-internal:///(app-pages-browser)/./node_modules/react18-json-view/dist/es/index.mjs:711:26)
    at details
    at section
    at MapDebugHelper (webpack-internal:///(app-pages-browser)/./app/(map)/changesets/[id]/_components/Map/MapDebugHelper/MapDebugHelper.tsx:21:86)

Can you provide a codesandbox for a review.

Hi @YYsuni
I had a similar issue:

Rendered more hooks than during the previous render.

I think the reason is that you are using hooks inside a condition expression, which causes this error:
https://github.com/YYsuni/react18-json-view/blob/cc877057d0a8d3af997b16145a0ddc6b93e81b74/src/components/json-node.tsx#L60-L65

Hi @YYsuni
I have encountered the same error when the value passed to JsonView changed from an object to a string.
The behaviour matches the code pointed out by @tuan3w. Array.isArray(node) || isObject(node) would be returning false in the new render.

I got this error as well.


[BUG] Items & Features cannot be rolled in newest update.

Updating to 0.1.22 is causing items to not be able to be rolled, in any way, not exactly sure whats causing it

A fix has been released for this. When able, have a look and feel free to close the issue if it is resolved.

Closing as completed. If you still have issues, let me know.


Don't Merge! PR real time test for target branch full build

OPS Build status updates of commit 34ed6ce:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details
Dependent Files

:x:Error

Details

Line 386: [Error] Error happened in build.entrypoint.ps1. Please build your target branch first and then reopen this pull request to do another round of verification. If the issue still happens, open a ticket in http://SiteHelp and include the following error message for our team to troubleshoot: Cannot bind argument to parameter 'message' because it is an empty string.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


chore: add parameter section in migration

Description
This PR adds the missing parameter section that gives an overview of the new parameter object.
I also decided to remove the initial interactive comparison, as with the number of changes it simply became so cluttered that it was no longer possible to get anything meaningful out of it...
I also added a small section on the messageId that is now removed.

Thanks @alequetzalli 👍

/rtm

lol slow your roll, @jonaslagoni, this PR needs 2 approvals to merge
since I added a few commits, that automatically re-requests reviewers to approve PR again... you need @derberg (or another code owner) to hit approve again

If anything is missing i.e. approves it wont do anything but let them know that I see it as being ready to be merged 🙂 So yea now it's up the codeowners to merge it 🙂

I'm actually going to merge any of these v3 PRs that I'm able to, I know these are ready to merge cause I approved them. lol duh 😂😂😂😂
But like you saw, I cannot merge the PRs I make commits to cause our repo has permissions set up as defined above. Breathe dude, these are all getting merged for the release and Lukasz and I are working together as needed to move them forward.

If anything is missing i.e. approves it wont do anything but let them know that I see it as being ready to be merged 🙂 So yea now it's up the codeowners to merge it 🙂

Yo man! I got your notification at 3 AM at night 😄. So, I'll look into PR tomorrow. Sorry, it got missed off in previous notifications.

oooh @akshatnema this is like SO ready to go, can you help him by approving? we don't really need another review, it's already approved by lukasz and I

There are no rush here folks 😆 It happens when it happens, I am just using /rtm as soon as it looks like the PR is ready to be merged from my side.
No need to freak out over it, I just do it so we are at least not waiting on me in any sense 😆

oooh @akshatnema this is like SO ready to go, can you help him by approving?

Yeah, I looked into the PR preview. I'm quite suspicious that the comparison that is created is not working well in the mobile view. I was touching repeatedly on the sections, but they haven't been highlighted. That's why, I'll look into the PR tomorrow, from my laptop.

oh interesting! thanks for helping catch issues @akshatnema, appreciate you! :)

Hey @jonaslagoni, I'm not able to get any hover effect on this component. Why?

Also, in the following component, I'm not able to get hover activity at schema field.

The following fields are automatically colored, without hovering into them:

/rtm

/rtm


Fabric

Migrated fabric stanza for #277

@davidewatson can you take a look?

one nit, otherwise LGTM

@davidewatson @coffeepac I think this is good now -

LGTM, once @davidewatson approves G2G


Workaround for Storybook Windows

Updated files to enable Storybook to work on Windows machines.

The tests failed for this, but I think it's because it's the starter template (nothing related to the files I updated). Requesting for review, but if you need me to fix things, let me know.


The LogForwarder should put charm to block state when Juju < 3.4

Bug Description
If the charm is deployed on <Juju 3.4, LogForwarder only provides a warning log message that Juju 3.4 is required, however this behavior is misleading, and I believed a better solution would be to put the charm into a block state until the relation is removed. The charm works fine with this relation, but the user can easily assume that all logs are going to Loki until something goes wrong and the service needs to be debugged.
To Reproduce
$ juju deploy grafana-agent-k8s
$ juju relate <my-charm>:logging grafana-agent-k8s

# e.g.
$ juju status
Model         Controller          Cloud/Region        Version  SLA          Timestamp
test-version  microk8s-localhost  microk8s/localhost  3.1.8    unsupported  15:58:25Z

App                Version                  Status   Scale  Charm              Channel         Rev  Address         Exposed  Message
grafana-agent-k8s  0.35.2                   waiting      1  grafana-agent-k8s  stable           64  <IP_ADDRESS>   no       installing agent
mlflow-minio       res:oci-image@1755999    active       1  minio              ckf-1.7/stable  214  <IP_ADDRESS>  no
mlflow-mysql       8.0.35-0ubuntu<IP_ADDRESS>  active       1  mysql-k8s          8.0/stable      127  <IP_ADDRESS>  no
mlflow-server                               active       1  mlflow-server                        0  <IP_ADDRESS>   no

Unit                  Workload  Agent  Address      Ports          Message
grafana-agent-k8s/0*  blocked   idle   <IP_ADDRESS>                 grafana-cloud-config: off, logging-consumer: off
mlflow-minio/0*       active    idle   <IP_ADDRESS>  9000-9001/TCP
mlflow-mysql/0*       active    idle   <IP_ADDRESS>                 Primary
mlflow-server/0*      active    idle   <IP_ADDRESS>

Environment
$ microk8s version
MicroK8s v1.25.16 revision 6575
$ juju version
3.1.8-genericlinux-amd64

Relevant log output
unit-mlflow-server-0: 15:52:34 INFO juju.worker.uniter.operation ran "logging-relation-created" hook (via hook dispatching script: dispatch)
unit-mlflow-server-0: 15:52:35 WARNING unit.mlflow-server/0.juju-log logging:6: Juju version 3.1.8 does not support Pebble log forwarding. Juju >= 3.4 is needed.
unit-mlflow-server-0: 15:52:35 WARNING unit.mlflow-server/0.juju-log logging:6: 2 containers are present in metadata.yaml and refresh_event was not specified. Defaulting to update_status. Metrics IP may not be set in a timely fashion.
unit-mlflow-server-0: 15:52:35 WARNING unit.mlflow-server/0.juju-log logging:6: The relation 'logging' is not ready yet.
unit-mlflow-server-0: 15:52:35 WARNING unit.mlflow-server/0.juju-log logging:6: No Loki endpoints available

Additional context
No response

Essentially this is a communication challenge between the lib and the charm, because we don't have a decentralized status setting mechanism (yet).
We have a convention in the team that charm libs do not touch charm status, because they don't have the full context.
We could emit a custom event or add a get_status method (to be used in a charm's collect-unit-status), but in either case the charm author would need to read the docs to become aware of the details.
(We don't want an exception to avoid breaking the charm on upgrade).
So it seems like charm code should check for juju version itself. Leaving the issue open to add a code example in the module docstring for this.
Related:

https://github.com/canonical/tls-certificates-interface/pull/152
https://github.com/canonical/postgresql-k8s-operator/pull/486


Error: Requested URL /socket.io/ not found

While running rasa run command it's giving me the following error
....line 470, in _get     raise NotFound("Requested URL {} not found".format(url)) sanic.exceptions.NotFound: Requested URL /socket.io/ not found

Thanks for the question, our Github issue board is for bugs and feature requests only, though 😕
Please ask this question in the forum✨
If you were describing a bug, please create a report and fill out the template.


Network: Simplify ACL OVN port group creation and updates

Avoids some duplicated steps by creating new function OVNEnsureACLs.
Prevents removal of port groups if they are referenced by other ACL rules.
Adds recursive setup of ACLs based on references in rules to other ACPs.

@stgraber because acls don't know they may be used with ovn networks at create/edit time we need to set them up in ovn on demand as they are first used by an ovn device (such as being assigned to an ovn network).
Now that acl rules can reference other acls we also need to create them as part of creating the directly assigned acls.
This is made more complex as those acls can then go onto reference other acls. So this requires recursion. However I've had to also take into account the possibility of circular references that would cause infinite recursion.
To avoid this it uses an authoritative list of seen acls and won't process the same acl twice.
Further work will be added as potentially a separate PR to deal with recursively cleaning up port groups when they become unused.

Testsuite passed

Testsuite passed


Implement skeleton based on stable-baselines

Approximate requirements:

Script that trains an agent with one of the existing algorithms in stable-baselines
Runs locally, no need to adapt for cloud
Fixes random seed
Specifies network architecture (might be a copy of a predefined one), not imports it from the library
Saves model after training
Saves metrics after training (similar to ones reported in LTIAA paper)

Let's make attention visualization a part of another issue (inb4: gym has video recording).

Remains:

Import code to repo
Write instructions for launching


fix(deps): update github.com/tubenhirn/dagger-ci-modules/v2 digest to 7d6f6b7

This PR contains the following updates:

Package
Type
Update
Change

github.com/tubenhirn/dagger-ci-modules/v2
require
digest
5470090 -> 7d6f6b7

⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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


Usability/debugging (umbrella)

From user-feedback:

[x] Result has to be a dictionary, this is confusing. Options:

[x] Error out if the result is not a dictionary -- this is the best for now
[ ] Wrap it in the dictionary
[ ] Relax the restriction?

[x] Error out if a step does not produce the items in state you are expecting it to

[x] Anything in write must exist

[x] People think state is mutable.

This is complete for now -- the original issues have been addressed


Improve doc API - deleteUser

Improve the API documentation about App.deleteUser.
Fixes #880

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
-1.1%

Covered Lines:
1797

Relevant Lines:
2075

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
-1.1%

Covered Lines:
1797

Relevant Lines:
2075

💛  - Coveralls