operator-sdk: 1.4.2 -> 1.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/operator-sdk/versions.
meta.description for operator-sdk is: "SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding"
meta.homepage for operator-sdk is: "https://github.com/operator-framework/operator-sdk"
meta.changelog for operator-sdk is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.5.0 with grep in /nix/store/ahgnhy0v7nxw49lf3hkmr57wgainrb9p-operator-sdk-1.5.0

directory tree listing: https://gist.github.com/b76e0406067879af7e22d570f0aebc47

du listing: https://gist.github.com/94fe829ff12a09d2f724e938688d6030

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
operator-sdk

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ahgnhy0v7nxw49lf3hkmr57wgainrb9p-operator-sdk-1.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A operator-sdk https://github.com/r-ryantm/nixpkgs/archive/14a5e515e9866cf893e433873002e6493f6ddeb7.tar.gz

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

operator-sdk

Maintainer pings
cc @arnarg @kalbasit for testing.

Result of nixpkgs-review pr 116546 run on x86_64-linux 1

1 package built:

operator-sdk


Small clarification constraint reference

Summary
Tiny clarification around constraint objects
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

oh no - merging this PR included four commits 🤔 - I will resolve some issues in the other commits later.


Allow update offsets based on timestep for extdata2g

Types of change(s)

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)
[ ] Refactor (no functional changes, no api changes)

Checklist

[ ] Tested this change with a run of GEOSgcm
[x] Ran the Unit Tests (make tests)

Description
Currently, the YAML configuration file for ExtData2 allows an offset for updates using an ISO8601 time duration string, such at T09:00:00. A user requested the capability to specify the offset as (+/-) timestep. This PR implements that capability. If map value for the update_offset is HEARTBEAT, the offset is set to an ESMF_TimeInterval equal to 1 timestep. If the map value is -HEARTBEAT, the offset is set to an ESMF_TimeInterval equal to -1 timestep. This may be extended to allow offsets of ±n timestep, where is a natural number.
Related Issue
resolve #3064

@bena-nasa and @tclune I added two tests to check if the result from using HEARTBEAT (string) matches the result from using ISO8601 Duration (string). They match for positive and negative HEARTBEAT.
Also, I added the capacity to include a + in front of the update_offset string. With the capability to use HEARTBEAT, I forsee a user using +HEARTBEAT, and I'd rather fix it now.


keepnick: improve behaviour by listening to ircd-side numeric errors

keepnick will now abort if it encounters an unrecoverable error rather than flooding the ircd every 30 seconds with a NICK. The user will be notified that keepnick cannot change nicks due to a numeric from the ircd.
What the user will have to do depends on the error, which the ircd provides a description of. In the case of charybdis an example would be "Cannot change nickname while banned on channel". While it's possible to catch this, part the channel, change nick, and rejoin -- this causes noise, may not work, you may be affected by multiple bans (which becomes more complex and is more error prone), and it may be a collision between numerics.
In short, if this is nothing keepnick can solve, it stops bothering and alerts the user they need to fix it.
In the backend we've also modernized the module to use OnNumericMessage instead of OnRaw, making the usage easier, more maintainable, and easier to read.

Tested on charybdis.
(19:24:33) <*keepnick> Unable to obtain nick: ####z-test: :Cannot change nickname while banned on channel

Fixes #945

Current coverage is 39.09% (diff: 0.00%)

Merging #1324 into master will decrease coverage by 0.15%

@@             master      #1324   diff @@
==========================================
  Files           108        108
  Lines         21134      21137     +3
  Methods        2892       2892
  Messages          0          0
  Branches          0          0
==========================================
- Hits           8295       8263    -32
- Misses        12839      12874    +35
  Partials          0          0

Powered by Codecov. Last update 1417783...b8e9ff2

The requested changes are in, but it does not get rid of the leading :, is there a better method than GetParams?

No real docs for that yet... Just follow the examples?
It's in test/integration/main.cpp, first several helper functions are defined, then they are used in actual tests.


pulling bare changes over from make_pretty picture to this branch pre…

Generate GraphViz .dot file of a RaftLib application.
Description
set the env param GEN_DOT=<dot filename> then run your application and a graphviz
file will be generated. To make a picture from that simply run (on linux/os x):
dot -Teps <dot filename> -o <eps filename with eps extension>

Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Runs locally on Windows
[ ] Runs locally on Linux
[ ] Runs locally on OS X

Details
Please list details of the configurations of above local tests, specifically
relevant run details.

Please list test cases created to ensure your feature or addition
works.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Documentation is here: https://github.com/RaftLib/RaftLib/wiki/Generating-Pictures-of-RaftLib-Graphs


[#370] Cancel a migration's in-progress tasks

Fixes #370

This is a continuation to @priley86 's and @mturley 's work...
Includes -

Canceling Migration Tasks
Displays the fa-ban icon for canceled tasks
Notification about the the Cancellation
Managing the checkboxes and Cancel Migration button state appropriately

https://bugzilla.redhat.com/show_bug.cgi?id=1564257
To be merged after https://github.com/ManageIQ/manageiq-api/pull/421

Ahhhh that's the missing piece, thanks @AparnaKarve !

It might be something wacky I did... or desired behavior... but after canceling two in progress migrations... they get the plan appears to be stuck in inprogress purgatory...  meaning... it just hangs out inprogress tab... with no action aside from download logs available

I have noticed some strange behavior with Cancel locally as well... hence I think the real valid test of canceling a migration should be done on an appliance - it seemed to work a lot better on an appliance yesterday.
So based on the testing that can be done locally, I will try and fix some of the UI/UX issues that @michaelkro noticed above, but the bulk of the testing needs to be done on an appliance.
I will try and setup an appliance sometime today for testing this.

@michaelkro I concur with @AparnaKarve expected behavior comment above.

Working on some of the quirky behavior around the checkboxes, since it's related to stuff I did. I'll have a commit for @AparnaKarve to cherry-pick shortly

Posting this here for posterity, it might conflict with @AparnaKarve's redux stuff, but it should fix some behavior around the bulk selector: https://github.com/mturley/miq_v2v_ui_plugin/commit/a65868d17984a92e710ca5965d9fb5867d905eab

After implementing the redux approach, came across a few use cases where the user can sneak in a Cancel on an already canceled task (in the brief window until the next polling happens)
Trying to address some of these cases...

@michaelkro @AllenBW @mturley Please test/review when you get a chance.

the plan appears to be stuck in inprogress purgatory... meaning... it just hangs out inprogress tab

@AllenBW We usually don't see this issue on appliances... although I have tried to address this in c3fe254,
86acf0d and
407f8b9
I will try and setup an appliance to test this, but note that, currently migrations are failing on the appliances in the "Pre-Migration" step - we need an automate PR to fix this

Thank you so much for your hard work on this @AparnaKarve.

@michaelkro I think that's the bug I thought we were seeing at first yesterday, which should be fixed by my commit here in the old implementation: https://github.com/mturley/miq_v2v_ui_plugin/commit/a65868d17984a92e710ca5965d9fb5867d905eab.  @AparnaKarve I agree that it's not a blocker, but you could port this line from my commit into your logic to fix this.
const allSelected = !noneSelected && selectedCancelTasks.length === incompleteTasks.length;

I've been trying (unsuccessfully) to find what is making this happen, but it looks like the listview resorts after a cancellation request (after the next poll)

Ok, so just a reminder that we need the API PR merged in first before this.
While I have some time until the API PR is merged, let me check what more I can address from the above comments...
(plus squashing some commits is also still TBD)
@michaelkro The resorting thing is independent of this PR (KK also mentioned to me about it once) - so yes, it could be handled as a separate issue.

Code all looks good to me, I haven't tested your new commits locally yet since yesterday morning though. While you're wrapping up I'll see if I can find any more issues.

Thanks everyone for the reviews and testing!
I have done yet another round of addressing feedback - 5f9c89b
... but I am gonna stop now.
Currently keeping an eye on the API PR... will let you all know when this can be merged.

Backported to Gaprindashvili via https://github.com/ManageIQ/miq_v2v_ui_plugin/pull/525


Instructions to run this code in lambda

Did anyone to try make this code work in a go lambda function ? If so can you please share some instructions here.
Thanks

@mosesarock Can you please provide more details? Not sure about the scenario that you want to handle.

I referred your github repo to run the backup scripts to get the New Relic backup. I am able to run the nr commands as provided in the github notes and it works on EC2 instance. But not able to succeed using the code go lambda function.
https://github.com/IBM/newrelic-cli
I complied the code locally and uploaded the same as a zip file in Lambda, once lambda executes I am able to see the nr command options. Do I need to make changes to nr.go ? Would you be able to help me in that ?
image.png

@mosesarock That's an interesting scenario. I don't have an AWS lambda env right now but I'll try to setup one env to do some test. Once I get some result will back to you.


Feature request: show certification progress from within each challenge

This feature request is similar to #17869 but applies to the individual coding challenges (instead of the portfolio page).
As a learner, I often find myself going back to the Curriculum page to see whether I'm far or not from finishing my current certification section (for example "Basic Javascript" in "Javascript Algorithms And Data Structures ").
It would be very useful (and motivating) to know my progress while I'm solving coding challenges!
The simplest solution would probably be plain numbers (see the challenge's title):

But eventually, a more visual progress bar would be amazing!
What do you think?

Great feature. I'm working on it.

Great @zolbayars, let me know if there's anything I can help with!

Any news @zolbayars ?

Lets do it!!

Yes please 🎉

Any progress here @zolbayars?

I'm really not sure it would get approved to be merged as no core members gave the okay to add it.

Closing this as stale. And honestly, I'm not in favor of this feature. I think it will add more unnecessary clutter to an already limited space. If anyone disagrees, feel free to comment and we can reopen this.

@moT01 honestly, I disagree. I think that this would make the experience of learning on freeCodeCamp better.
About your comment on cluttering, I assume you're referring to the screenshot in the initial post. I am not suggesting we add the progress indicator in parentheses, this was an illustrative minimal example. This issue is about the general idea and feature request, the design for it is an implementation detail (and we can start thinking about it when we get a green light). I'm convinced that there are ways to build this feature without cluttering the interface.
It's definitely up for discussion, but I don't think that we should dismiss the idea just because no core members gave a green light, yet.
In my opinion, this deserves a discussion.

Alright, lets open it back up.
Here's a screenshot of something a little more streamlined...

Anyone else want to weigh in on if this is a feature we want to add?

So if I user skipped the first 10 lessons in the Basic JavaScript section and completed the 11th challenge, you all want it to show (1 of 110) or (11 of 110)?
These are all optional challenges and have no bearing on obtaining the certifications.  I also don't like the idea of appending anything else to the already lengthy title.  I personally believe all this will do is have users going to the forum and saying "I am having trouble with challenge number 20".  If we go with a progress indicator (like the first one I posted above in the question), this is going to become a mess on the forum.  Beside, the progress can be found on the user's profile if it is that important to know.

One possibility to reduce clutter and maybe address @RandellDawson's concerns is to have it just be a linear progress bar.  So, if you've done half of it, it's half full.
Another reason to avoid a numeric display is that it might be off-putting to see just how many there are.  Even knowing that each one is pretty easy, the idea that you have to do 110 of them doesn't sound great.

What about a progress bar in the completion modal? There's plenty of room in there.

The completion modal is a great call.
I was also wondering if it would look good/unbearably cheesy to have an animated progress bar.  Something to visually indicate that you are getting somewhere.  I'm not sure, though, displaying a percentage might just be better.

Hey @raisedadead, before I go any further with this - is anything along these lines something we would consider adding? It needs some work yet so it would look better than this.

I am ok with the progress bar on the completion modal, but @QuincyLarson will have to sign off on this before you start work on this.

@moT01 I like your completion bar. It would be nice if we could animate it filling up like we've animated the checkmark.

We animate the checkmark
we animate the progress bar

Also, I would keep the checkmark centered. We don't need the name of the current challenge in the modal - just the name of the section.
And while you're in there, perhaps you could increase the font size of the congratulatory text up top.

Update: This is where I ended up yesterday...

I'll post another gif here with the challenge name gone and some bigger text up top so we can see a comparison.

Still working on animating the progress bar...

@moT01 does the percentage of on progress bar refers to the percentage of the challenges completed in that section?

yes

close to finalized... I think

Nice work @moT01 !


esbuild

Mark Node-specific packages as external.
docs(changeset): Mark Node-specific packages as external

@PaulKinlan  FYI


Add fitToContent method to Paper class in joint.d.ts

@trystanclarke thanks mate!

note
https://github.com/DavidDurman/joint/blob/7d9e94afadc6974a3b14110882fa59d00b223a3a/src/joint.dia.paper.js#L154


Azure AD support

I am looking into including AD authentication into my API via Pode.
I know there is Add-PodeAuthWindowsAd and in the tutorials there is a section about AD but I'm having trouble understanding if this is the same way I would use it with Azure AD ?
Are there more examples or a guide into how to do this one correctly. It sure would help to also address the concerns of some sec departments.

Unfortunately Azure AD is something completely different, Pode would need to support the modern Auth / OAuth2 Standard, also the ADSI Searcher Class won't work for Azure AD.
Azure AD doesn't offer an LDAP Interface so I guess I'd require something completely new.
Are you using IIS below Pode?

Was thinking of using a web app so it is IIS underneath but its not visible as normal iis server would. PerhPד something with Bearer token or using an external azure function most likely

It would be interesting to see if we could implement OAuth2, that could make a lot more things possible!
On AAD itself, where I work we created an AADDS on top of AAD so the inbuilt WindowsAD in Pode could work. But it would be cool to have the support to use the AAD directly 🤔

Ah yeah, with AADDS this should work as it offers a native LDAPS Interface and probably ADSI for Member Systems. I've never seen Azure AD Domain Services in production yet through.


Xenoblade Chronicles X Red Sky Resolution Graphic Pack Error

Hi,
Xenoblade Chronicles X has a red sky bug when activating any preset of the graphic pack (1080p, 2160p does not matter which).
Image:

@getdls Could you look into fixing this one. I'm not sure if it's a user fault, but I'm pretty sure I've seen this red sky pop up a few times now.

The bug only occurs if you activate the resolution graphic pack. other options are working just fine for BOTW

Possible fixed in last commit, test and close if OK.

Great work. Thanks!


potentially use mlua and luarocks to build rust code

Hey this project was brought to my attention recently and it seems really cool. I'm wondering if you're aware of mlua and the luarocks build backend for it.
I'd imagine this could allow you to very easily distribute this plugin on luarocks, and users would then be able to pull from luarocks and build the plugin themselves. For an example of a neovim plugin that uses mlua, there's benlubas/neorg-se.
I'd be happy to submit a PR if this seems interesting.

I'm very interested! Especially considering the library I'm using isn't maintained anymore and distributing pre-built binaries was a bit of a pain. I noticed on your neorg-se project that lazy.nvim requires extra external dependencies for this to work. Is that an unavoidable issue?

ahh, that's actually left over from the past. I should remove that from the readme. The build will work fine with lazy, as long as you setup the github workflow correctly.

And I'll work on a PR later today

Sounds great, main thing I'd like to see is how it handles the pre-built binaries since asking people to have a nightly toolchain installed isn't ideal

oh true I forgot about nightly :/
I'm not sure that it can do prebuilt binaries. But it might be able to. I'll remember to test with that

It's a crutch, but wouldn't it be possible, through github actions, to maintain a nightly release with prebuilt binaries for the latest commit on main?

Where would the artifacts be stored? Afaik github actions artifacts have a 30 day expiry

Where would the artifacts be stored? Afaik github actions artifacts have a 30 day expiry

You could use GitHub pages.
We do that with our rocks-binaries project (which both rocks.nvim and lazy.nvim can pull from).

I'm not talking about hosting github action artifacts, but releasing these assets in an actual github release (like you're doing already, but only for whole versions).
But yeah, github pages could work as well.

If you end up using mlua instead of FFI (which would remove the luajit dependency), it might make sense to extract that into its own library with its own release cycle.

If you end up using mlua instead of FFI (which would remove the luajit dependency), it might make sense to extract that into its own library with its own release cycle.

That does sound like the best strategy here.


@xtina-starr => [WIP] Adds /basel-week

https://artsyproduct.atlassian.net/secure/RapidBoard.jspa?rapidView=4&projectKey=GROW&modal=detail&selectedIssue=GROW-579

Looks like a change was requested to rename to /basel-art-week

I don't think the /basel-week.json or the /fixture.json files are needed. We just used them in the development phase in the past to actually build out the page (before we uploaded to s3). Seeing as these fair marketing pages are pretty much copy and paste we could probably get rid of them.


feat: Support KML BalloonStyle template

Substitute property values from placemark in BalloonStyle template. See KML docs.

Thanks @jeffdgr8!


About source code of compuate the CED score .

Can the author open the code of compuate CES score ?  Thanks a lot !

We will release that part of code soon.


Write a stability policy

This project claims to manage people's initial deployments, which is a critical action. The project also claims to serve authors and people creating a variety of learning resources. I would like to see it used by platforms in their official documentation as well. These end users look for reasons to believe the project is stable and reliable. A stability policy articulates the reasons that people should begin to trust this project.

[ ] Draft a stability policy.
[ ] Compare to Black's stability policy.
[ ] Push to live docs.
[ ] Announce.

Working notes
Original goal was to look for any relevant configurations, and resources, and use those when possible. That's a nice goal, but it's not practical to expect idempotent behavior.
For example, deploying to some platforms requires making some resources and then using them. But if the process is interrupted, there's no reliable way to find out if those resources have already been made for this specific app. There's no way to know if the resources we find are for the current deployment, or for some other deployment the user made.
So, the baseline assumption needs to be that we're starting from a blank slate on every run. We can do some checks to support multiple runs, but ultimately it is up to the user to figure out how to approach a failed deployment. They can use Git to reset the project's configuration, but they need to manage their deployed resources, and their host's dashboard.
Find a way to write this up, succinctly for end users and in detail for authors and creators.

Automated vs non-automated
It's easier to re-run a non-automated command. The automated commands create resources, non-automated approach (I believe) just does configuration.


Create AppFactory for Panini

make able to create App() from AppFactory class in order to have different ways to create app (from config file, json, env, etc)
Also, there we can add creation of Middleware

Could you provide any example of usage?


ensure build matrix entries for each Python

duplicates libkahip outputs, but seems to avoid problems in conda-build solves

@conda-forge-admin please rerender


Zulip server for discussion?

Would be a good place to have discussion be open & transparent & archived. Suggested by AbstractFairy

the discord is good for now


feat: add cleanup controller to graphics

This PR updates the Kyverno architecture graphic to reflect the 1.12 structure.

Can you realign the "Kyverno Controllers" label in the boarder and move the box down so the arrows aren't so squashed?

Updated. How about now?


Untested functions in basic_math

Some functions in basic_math seem to be missing tests such as the double backward test for the add function.
https://github.com/chainer/chainer/blob/master/tests/chainer_tests/functions_tests/math_tests/test_basic_math.py

bump

Although we assume there should be no bugs around there, it's obviously better to add tests for it.


Update README.md

@beenum22 Does this change still valid? If not, please abandon the change.

@tahir24434 Yup it's not needed now. I will abandon the changes.


Core: Keep the outbound _id, id mapping.

Core: Keep the outbound _id mapping.

No work may be needed for this, since it has been put in place as part of apricot. Keeping it for now, in case i'm misunderstanding the work this issue is tracking.

Satisfied by #424 which removes the inbound mapping, and keeps the outbound mapping.


fix #422: (1) added home directory (2) removed millis from duration (3) ...

(1) added home directory (2) removed millis from duration (3) updated dag height

+1


Optional: allow holding non-default-constructable-type

Problem
Unlike C++ 17 std::optional, our Optional is not able to hold a non-default-constructable-type
Change overview
Instead of using mHasValue, mValue, new implementation uses Variant<None, Some<T>> to implement the Optional
Testing
Manually tested using unit-tests.

I use -Wno-maybe-uninitialized because it raises a false positives warning of optional implementation.
https://stackoverflow.com/questions/21755206/how-to-get-around-gcc-void-b-4-may-be-used-uninitialized-in-this-funct
It looks like there is no way to bypass it.


fixes and tests for bound multipliers

Something went wrong with git and the git history here. It needs to be fixed before @mdhaber and I can look at it again. There's now 53 files touched and 63 commits. It may make sense for me to rebase the kkt branch to catch up with scipy, but that's not going to fix the git issue here.

@andyfaff Yeah I think this probably happened because I pulled in changes from scipy.main, and I guess I didn't do it correctly...?

@Tenavi Looks like GH needs a little nudge. At the top right, you should have an "edit" button:

Switch the base branch to any other one. Once that's done, switch it back to kkt.

@andyfaff the merge issue is resolve. However, you still might have a hard time these changes because your kkt branch already has some of @Tenavi's changes. Presumably, you would like to see the diff of all of their changes at once. To do that, you can either generate a diff locally, or it might be easier to just merge this and generate the diff in the main PR by looking at at the commits after your last one. Which would you prefer?

I'm hazy on most of the details of the original PR given the time since I touched it. I think you and @Tenavi are more competent with the maths than I am.
@mdhaber if you think this PR is in a good state we can merge it, then continue with assessing the final PR to scipy/main.
Do you think the commit history will be clear? Before a merge to scipy/main I was going to squash commits in my feature branch.

@andyfaff I can deal with the commit history just before merging the SciPy PR. I'll squash your part into one commit and then @Tenavi's into one commit, so it will be clean.
You wrote:

I can supply the coding knowledge, but I can't supply the maths knowledge

I am comfortable signing off on the math at this point. So here's what I'd suggest:

merge this PR to your branch
@andyfaff approves PR on the basis of the Fortran/Python. A lot has changed about the indexing, so I'd appreciate your approval that the different types of KKT multipliers (those corresponding with equality constraints, inequality constraints, and bounds) are coming from the right places. I can worry about the signs.
I can approve the PR from the perspective of Python, math, and tests. I can clean up the history and merge.

How does that sound? It would be good to finally get this in!


Responsive fontSize for  ?

Hi,
I'm building an app with nativebase and it's pretty great!
However during UI/UX testing I experienced that my fontSize especially <Text> fontSize is ugly on some devices as it's not responsive.

So I dug into nativebase theming picked the commonColor theme, applied it.
Now, I'm trying to make a responsive fontSize for all my <Text> elements so I won't have to worry about smaller screens devices in my commonColor/variables file.
I noticed this block
  // Text
  textColor: "blue", //- This is "#000" by default
  inverseTextColor: "#fff",
  noteFontSize: 14,

I'm not sure what noteFontSize is, but I tried to change it to ridiculus numbers and I didn't get anything suprising, but the color trick worked and the <Text> I'm referring to changed.
Question
How can I make my fontSize responsive from nativebase theme/variables?
I got this answer from here and I would like to have a recommended way on how to apply it in themes/variables.
I'm using
native-base: 2.2.0,
react: 16.0.0-alpha.12,
react-native: 0.45.1,
small-phone : Nexus S,
normal-phone: 5.1 WVGA

Thanks!

This code
import { Dimensions } from 'react-native';
const { width, height } = Dimensions.get('window');

//Guideline sizes are based on standard ~5" screen mobile device
const guidelineBaseWidth = 350;
const guidelineBaseHeight = 680;

const scale = size => width / guidelineBaseWidth * size;
const verticalScale = size => height / guidelineBaseHeight * size;
const moderateScale = (size, factor = 0.5) => size + ( scale(size) - size ) * factor;

export {scale, verticalScale, moderateScale};

From this post got me through the UI/UX scalling trauma.
I applied it in my theme as
  // Text
  textColor: "blue", //- This is "#000" by default
  inverseTextColor: "#fff",
  noteFontSize: moderateScale(14),

and on my fontSizeBase since moderateScale is used in "padding", "margin" & "image" scalling and most of those variables default theme values are a product of fontSizeBase.
Thanks all.


Implement "T" god object. Call for features.

The T god object will be/it's been implemented in the T_god_object branch, this issue is supposed to be a bin for methods to add to the T god object:
My ideas:

T.find('css selector', tempy_tree_instance) returns the selected tempy tag or a list of tempy tags
T.from_string('

') parses the string and produces produces the relative tempy tree

Implemented in PR 27. Merged.
Implemented T as a tag factory and T.from_string as an html parser/Tempy tree builder


MultiSpider dataset availability

Hello,
I just finished reading your work on "MultiSpider: Towards Benchmarking Multilingual Text-to-SQL Semantic Parsing". Is the data available somewhere? Unfortunately I can't find it.
Thank you!

@margauxbo Many thanks your interest in Multispider!
I am still cleaning the baseline code and re-organize the dataset after finish the submission of ACL deadline (Jan 21 2023). Hopefully, it would come in the early March and I will pin you in this thread :)

Hello and thank you for working on this area. My team and I are interested in the dataset as well since we're working on translating it in our language (italian). We were wondering if there's any possible ETA on when this repository will be updated with the dataset. Thank you very much in advance!

Hello
I am also very interested in the dataset of Multispider,
when will the dataset be available for downloading?

@longxudou Any progress?

@margauxbo  @Carbonhell  @exitxingling @lwmlyy Thanks for your interests in multispider! Please refer to multispider for code/model/dataset and further discussion.


Update README to warn of Assigned Access incompatibility

In reference to #54 when run under Assigned Access, app will flash for a minute before displaying:
"We weren't able to start your app. Press Ctrl + Alt + Del to sign out or contact your system admin. For more info, search online for error code: 0x80270254"

Thank you! Sorry for the long delay here.


consul_z1/0 is failing after update [migrated from diego-release]

Original issue: https://github.com/cloudfoundry/diego-release/issues/222
Original poster: @HellenWang

I am deploying CF and Diego to BOSH-Lite follow the guide https://github.com/cloudfoundry/diego-release/tree/develop/examples/bosh-lite.
When I run bosh -n deploy for cf release, it failed with error "Error 400007: `consul_z1/0' is not running after update"

D, [2016-11-14 08:32:48 #29393] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2016-11-14 08:32:48 #29393] [task:22] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2016-11-14 08:32:48 #29393] [task:22] DEBUG -- DirectorJobRunner: (0.000549s) SELECT "stemcells".* FROM "stemcells" INNER JOIN "deployments_stemcells" ON (("deployments_stemcells"."stemcell_id" = "stemcells"."id") AND ("deployments_stemcells"."deployment_id" = 1))
D, [2016-11-14 08:32:48 #29393] [task:22] DEBUG -- DirectorJobRunner: Deleting lock: lock:deployment:cf-warden
D, [2016-11-14 08:32:48 #29393] [] DEBUG -- DirectorJobRunner: Lock renewal thread exiting
D, [2016-11-14 08:32:48 #29393] [task:22] DEBUG -- DirectorJobRunner: Deleted lock: lock:deployment:cf-warden
I, [2016-11-14 08:32:48 #29393] [task:22]  INFO -- DirectorJobRunner: sending update deployment error event
D, [2016-11-14 08:32:48 #29393] [task:22] DEBUG -- DirectorJobRunner: SENT: hm.director.alert {"id":"a670c3c4-a108-4012-a517-e9aa5e097eb7","severity":3,"title":"director - error during update deployment","summary":"Error during update deployment for cf-warden against Director 71d36859-4f21-446f-8a02-f18d7f1263c6: #<Bosh::Director::AgentJobNotRunning: `consul_z1/0' is not running after update>","created_at":1479112368}
E, [2016-11-14 08:32:48 #29393] [task:22] ERROR -- DirectorJobRunner: `consul_z1/0' is not running after update
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.2922.0/lib/bosh/director/instance_updater.rb:85:in `update'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.2922.0/lib/bosh/director/job_updater.rb:74:in `block (2 levels) in update_canary_instance'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.2922.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.2922.0/lib/bosh/director/job_updater.rb:72:in `block in update_canary_instance'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.2922.0/lib/bosh/director/event_log.rb:97:in `call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.2922.0/lib/bosh/director/event_log.rb:97:in `advance_and_track'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.2922.0/lib/bosh/director/job_updater.rb:71:in `update_canary_instance'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.2922.0/lib/bosh/director/job_updater.rb:65:in `block (2 levels) in update_canaries'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.2922.0/lib/common/thread_pool.rb:77:in `call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.2922.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.2922.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.2922.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
D, [2016-11-14 08:32:48 #29393] [task:22] DEBUG -- DirectorJobRunner: (0.000210s) BEGIN
D, [2016-11-14 08:32:48 #29393] [task:22] DEBUG -- DirectorJobRunner: (0.000592s) UPDATE "tasks" SET "state" = 'error', "timestamp" = '2016-11-14 08:32:48.898879+0000', "description" = 'create deployment', "result" = '`consul_z1/0'' is not running after update', "output" = '/var/vcap/store/director/tasks/22', "checkpoint_time" = '2016-11-14 08:32:45.557332+0000', "type" = 'update_deployment', "username" = 'admin' WHERE ("id" = 22)
D, [2016-11-14 08:32:48 #29393] [task:22] DEBUG -- DirectorJobRunner: (0.000569s) COMMIT
I, [2016-11-14 08:32:48 #29393] []  INFO -- DirectorJobRunner: Task took 4 minutes 3.705484818000002 seconds to process.

I run bosh logs and found the log is

goroutine 1 [running]:
panic(0x98c600, 0xc4201d16d0)
	/var/vcap/data/packages/golang1.7/48ce7b3927e6f7e6576fff21a7dc9d22b7ba9c62.1-b9e067714c0c471b47996f77d35bc1eadbc8e7ad/src/runtime/panic.go:500 +0x1a1
main.main()
	/var/vcap/data/compile/metron_agent/loggregator/src/metron/main.go:82 +0x8dd
2016/11/11 03:52:09 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:09 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:09 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:09 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:09 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:09 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:09 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:09 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:24 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:24 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:24 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:24 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:24 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:24 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:24 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:24 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:39 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:39 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:39 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:39 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:39 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:39 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:39 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:39 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:54 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:54 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:54 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:54 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:54 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:54 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:54 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
2016/11/11 03:52:54 RuntimeStats: failed to emit: EventWriter: No envelope writer set (see SetWriter)
panic: Could not initialize doppler connection pool: Failed to connect to etcd after 15 tries.
************************

Could someone please help to check this issue?

@ematpl can you give me some suggestion to investigate this issue?

@HellenWang I haven't seen this particular error before, so I can't immediately tell you what's wrong. It would be helpful for you to provide some more specifics about both your deployment and this failure:

What version of CF did you deploy? If you built a dev release, which commit was it based on?
Did you make sure to generate the BOSH-Lite deployment manifest from that same commit?
What services are actually failing on the consul_z1/0 instances? If you run bosh ssh consul_z1 0 to log into the VM, then run sudo /var/vcap/bosh/bin/monit summary, the monit output should tell you. Examining the logs from those services that are failing may indicate the problem.

I suspect that the metron agent panics are spurious: it's complaining because it can't contact the CF etcd cluster, but every new deployment of CF would have the same problem (as it also starts the metron agent on the consul VMs before starting the CF etcd cluster). @wfernandes or someone else from the Loggregator team may be able to provide more insight, though.
Thanks,
Eric

@ematpl For your question.

I deploy CF on the branch "release-candidate". I don't know the concrete version is. I run "cf -v" and print "cf version 6.12.1-56792aa-2015-07-06T22:48:09+00:00"
I confirm that I generated the BOSH-Lite deployment manifest from that same commit.
I run monit summary on the consul_z1 vm and print
The Monit daemon 5.2.5 uptime: 4h 34m

Process 'consul_agent'              not monitored - monitor pending
Process 'metron_agent'              Does not exist
System 'system_localhost'           running
I check the log but find not valuable information. I think if it is the Security Configuration for Consul issue. I tried to generate cert through ./scripts/generate-consul-certs. But it does not work.
Any advices? Thank you very much!

@HellenWang We'll need a little more information. In both cases below, please make sure that there isn't any sensitive information such as passwords or private keys:

Please upload the logs for the consul job. They live in /var/vcap/sys/log/consul/*. This should help us figure out what's going wrong.
Please upload the deployment manifest that you used.

Thanks,
David Sabeti
PM Release Integration Team

@HellenWang, do you still need help with this? I'm planning to close this issue on Monday otherwise.

@dsabeti Sorry for delay.
The consul_agent.zip is the package of the logs for the consul job.
consul_agent.zip
cf.txt is the manifest that I used.
cf.txt

@HellenWang Sorry for the late response. Looks like metron_agent is also having trouble starting up. If you are still having this issue, would you mind sharing the logs for metron_agent job? They will be in /var/vcap/sys/log/metron_agent/*
Have you try to redeploy? Did the deployment keep failing the same way each time?

@HellenWang We are closing this due to inactivity.  Please feel free to reopen the issue if you are still having trouble.


sydney.exceptions.CreateConversationException: Failed to create conversation, received status: 404

i got this error, its weird that i have 404 error code for accessing copilot in python. It was fine few days ago and i dont really use bing chat that much. I've tried to switch account (and also changing the cookie) but still got the error

if i go to copilot myself, its all 100% fine. here is my code (same as in the page description)
import asyncio

from sydney import SydneyClient
import os, json

with open("credentials.json") as file:
    credentials = json.load(file)

os.environ["BING_COOKIES"] = credentials["cookie"]

async def main() -> None:
    async with SydneyClient() as sydney:
        while True:
            prompt = input("You: ")

            if prompt == "!reset":
                await sydney.reset_conversation()
                continue
            elif prompt == "!exit":
                break

            print("Sydney: ", end="", flush=True)
            async for response in sydney.ask_stream(prompt):
                print(response, end="", flush=True)
            print("\n")

if __name__ == "__main__":
    asyncio.run(main())

I will try this
https://github.com/vsakkas/sydney.py/issues/109
also do it in another computer with fresh account just in case. will post the update

So im using in another computer, with different account, now i got this captcha error. i've tried change the cookie between 2-5 accounts and they got the same error. Fortunately enough in this other computer, i dont need to change the bing url like in the https://github.com/vsakkas/sydney.py/issues/109

i got a feeling that microsoft update some stuffs about the AI bot.

@RexsyBima to bypass the captcha, did you go to copilote and validate it manually ? Then, you can use the script.
Last time I had 404 error, I could bypass it by retrying the request. This problem disappeared the day after.

I dont see captcha if i go to the bing chat myself

So i did try the solution of https://github.com/vsakkas/sydney.py/issues/109 by changing the BING_CREATE_CONVERSATION_URL from this https://github.com/vsakkas/sydney.py/blob/master/sydney/constants.py#L28 to https://edgeservices.bing.com/edgesvc/turing/conversation/create?bundleVersion=1.1359.6

Uniquely after this, you can change back the value of BING_CREATE_CONVERSATION_URL to the default one

Are you using the cookie of a logged in a Microsoft account ?

@vsakkas I had run some test. With v17.4, I can run the script without cookie. With the last version, I got a 404 error and the only way to bypass this error is to use a cookie from a logged in session.

Thank you @IKDH for running the test
It seems kinda weird, since the tests on Github are still running without a cookie, but I will go through the commits and see if there's any reason why this is happening to you

Are you using the cookie of a logged in a Microsoft account ?

Yes

I also hit this same issue. I went and tested each version and tracked it down to the v0.18.0 change. v0.17.6 works fine, cookies or not. 18 doesn't work with or without cookies signed in or not. Hopefully that can help. Lmk if there is anything else you need tested.

Hi everyone!
I've released v0.20.1 which contains a bunch of fixes. Looks like the API for Copilot had changed a bit (different headers, URLs and bundle versions), so I changed those to improve the compatibility.
I ran the test suite locally using cookies from a logged in account, also on Github without cookies and it worked fine in both scenarios.
It is possible that something might be missing, but let me know if you see any changes with the latest version.

Hello @vsakkas, it's working without cookie with your last version. I no longer have the 404 error.
Thank you !

Hi everyone!
I've released v0.20.1 which contains a bunch of fixes. Looks like the API for Copilot had changed a bit (different headers, URLs and bundle versions), so I changed those to improve the compatibility.
I ran the test suite locally using cookies from a logged in account, also on Github without cookies and it worked fine in both scenarios.
It is possible that something might be missing, but let me know if you see any changes with the latest version.

It seems to fix all issues. Works great even without cookies now. Thank you!

Hi everyone!
I've released v0.20.1 which contains a bunch of fixes. Looks like the API for Copilot had changed a bit (different headers, URLs and bundle versions), so I changed those to improve the compatibility.
I ran the test suite locally using cookies from a logged in account, also on Github without cookies and it worked fine in both scenarios.
It is possible that something might be missing, but let me know if you see any changes with the latest version.

Thanks!! now its all working. altho sometime i have to check the captcha manually but i dont really mind.

Glad to know that it worked. Happy new year!!

@vsakkas FYI I just retried again with version 0.20.0, with which I got the 404 error a few days ago, before upgrading, to do a before/after check. However Version 0.20.0 seems to work again for me, even without cookie. This would suggest the API changes in 0.20.1 may not be the cause of this error after all? I'll keep monitoring.


fix(Masthead): remove pseudo element from platform name

Related Ticket(s)
Masthead with Platform - Divider activates hover state on platform #5484
Description
Space between the platform name and divider is clickable - removing the anchor link pseudo element resolves this.
BEFORE:

AFTER:

Changelog
Removed

remove anchor link after pseudo element

removing the psuedo element brings back the overflow :'(  visibility. Wondering if we can keep the psuedo element and add pointer-events: none; ?

removing the psuedo element brings back the overflow :'( visibility. Wondering if we can keep the psuedo element and add pointer-events: none; ?

oh damn! good catch @ariellalgilmore I'll push a fix for that


Lossy modular with no MA tree learning fails with a cryptic error

To Reproduce
cjxl -m 1 -I 0 -P 0 -e 9 -g 3 --patches=0 image.png image.jxl
Actual behavior
JxlEncoderProcessOutput failed.
Expected behavior
Show a clearer message so that the user knows that the combination of lossy modular with no MA tree learning is not yet implemented.

An slightly more minimal example of this behavior is just this:
cjxl -I 0 image.png image.jxl

We should get that fixed...


Incorrect messages count

Hi messages count presented in Grafana dashboard is much larger than real messages count in mongoDB collection rocketchat.message
In our installation dashboard presents 13 462 666 messages

but real count is
db.rocketchat_message.find().count()
8486360

I have noticed this difference after upgrade server to 3.6.3
Server Setup Information:

Version of Rocket.Chat Server: 3.6.3
Operating System: Centos 7
Deployment Method: docker-compose
Number of Running Instances: 6
DB Replicaset Oplog: YES
NodeJS Version: v12.16.1
MongoDB Version: 4.0.14

Do you use Prune messages feature?

Do you use Prune messages feature?

We have own retention tool which delete messages from database.

We have own retention tool which delete messages from database.

We have own retention tool which delete messages from database.

I think i can be the root cause for that issue.
Even RC prune messages feature do messages count go crazy.

We have own retention tool which delete messages from database.

I think i can be the root cause for that issue.
Even RC prune messages feature do messages count go crazy.

Thanks for reporting this, could be indeed related to the message retention policies. Can you check the statistics from the Info panel in the admin UI and see what it reports for total messages? Does this value match up with the actual message count from MongoDB?

Hi,
Info panel shows same, incorrect value of messeges, as Grafana.


WPF crash with UCEERR_RENDERTHREADFAILURE

WPF crash with UCEERR_RENDERTHREADFAILURE
General
I found this issue when trying to port MahApps to .NET Core 3.0. They have a dependency on ControlzEx to customize Windows.

@Lakritzator - thanks for the additional details and extra repro project.
@ericstj @jkotas - any ideas who may be a good person to take a look?

@ericstj Are you able to reproduce this?
Application.Demo from above fails for me pretty early. Here is what I have done:
git clone https://github.com/dapplo/Dapplo.CaliburnMicro/
cd Dapplo.CaliburnMicro\src\Application.Demo
git checkout feature/dotnetcore30
dotnet restore
msbuild
dotnet bin\Debug\netcoreapp3.0\Application.Demo.dll

Result:
Unhandled Exception: System.IO.DirectoryNotFoundException: D:\Application.Demo.Addon\bin\Debug\netcoreapp3.0
   at Dapplo.Addons.Bootstrapper.Resolving.AssemblyResolver.ScanForAssemblies()
   at Dapplo.Addons.Bootstrapper.Resolving.AssemblyResolver..ctor(ApplicationConfig applicationConfig)
   at Dapplo.Addons.Bootstrapper.ApplicationBootstrapper..ctor(ApplicationConfig applicationConfig)
   at Dapplo.CaliburnMicro.Dapp.Dapplication..ctor(ApplicationConfig applicationConfig) in D:\Dapplo.CaliburnMicro\src\Dapplo.CaliburnMicro.Dapp\Dapplication.cs:line 57

@jkotas I mainly develop from within Visual Studio, never checked how got it runs on the commandline. I will see if I can build a clean fix without "hardcoded" paths, right away.
I still advice to look at the ControlZEx example, as it's probably a much better example which doesn't do as much as I did. Like I said before, I use the ControlZEx NuGet Package and this code is most likely that what my Demo crashes.

ControlZEx example

I was not able to build that one (I did not spend too much time debugging that).  When I use the Build.ps1 script in the root, it fails with:
D:\ControlzEx>powershell .\Build.ps1
Preparing to run build script...
Paket version 5.174.2
Performance:
 - Runtime: 1 second
Paket failed with
-> Extracting platforms from path 'netcoreapp3.0' failed
Resolve-Path : Cannot find path 'D:\ControlzEx\packages\cake\Cake' because it does not exist.

@jkotas Actually, I think the problem you had is also due to the fact that you build Application.Demo directly. The application doesn't know about what projects it uses, there are no direct references in the code, so the other projects are not build. The demo needs to demonstrate loading addons at runtime to enhance the UI, this is why... 😄
I made some modifications, and together with the following steps (bold was modified) it should start (if I didn'T make a copy past error):
git clone https://github.com/dapplo/Dapplo.CaliburnMicro/
*cd Dapplo.CaliburnMicro\src*
git checkout feature/dotnetcore30
dotnet restore
msbuild
dotnet Application.Demo\bin\Debug\netcoreapp3.0\Application.Demo.dll

On a side-note:

As @jkotas has issues building ControlzEx, I also have quite a lot of issues with keeping cake builds stable. I found it a super idea, and it certainly has a lot of potential. I started reducing the functionality to only use it to do all the CI/CD stuff, so I generate documentation, coverage and upload the packages.
I never started the project from the commandline, it actually seems to feel a lot snappier... might just be my imagination.

FYI:
Now, if you got things working, you will notice that provoking the error is not really a nice experience from the commandline! The application goes berserk, and opens one window after the other.. this is actually some bad error handling, which tries to show a window -> error -> error handler -> show another window -> error etc... etc..

@jkotas / @Lakritzator I can repro.  I'm seeing lots of noise in this repro but I'll try to get to the bottom of the render thread exception.

As promised, I created a more isolated repository.
See here: https://github.com/Lakritzator/RenderThreadFailure
It has the least noisy code I needed to reproduce the error, but it does just Mahapps.Metro to do so.
The issue seems show when a MetroWindow has a GlowBrush, enabling a glow around the window.
I'm not a MahApps expert, you probably need to look there for what is happening.

Awesome, it is a much easier repro and I am seeing the same assert in wpfgfx which indicates its likely the root cause:
MIL FAILURE: Unexpected HRESULT 0x80070715 in caller: batch processing error

This is coming from a failure to FindResource which is looking for  resource 0x00000387 in wpfgfx.
00 KERNELBASE!FindResourceW
01 wpfgfx_cor3!CMilEffectDuce::LockResource
02 wpfgfx_cor3!CMilBlurEffectDuce::Initialize
03 wpfgfx_cor3!CMilSlaveHandleTable::CreateEmptyResource
04 wpfgfx_cor3!CComposition::Channel_CreateResource
05 wpfgfx_cor3!CComposition::ProcessCommandBatch
06 wpfgfx_cor3!CComposition::ProcessPartitionCommand
07 wpfgfx_cor3!CCrossThreadComposition::ProcessBatches
08 wpfgfx_cor3!CCrossThreadComposition::OnBeginComposition
09 wpfgfx_cor3!CComposition::ProcessComposition
0a wpfgfx_cor3!CComposition::Compose
0b wpfgfx_cor3!CPartitionThread::RenderPartition
0c wpfgfx_cor3!CPartitionThread::Run
0d wpfgfx_cor3!CPartitionThread::ThreadMain
0e KERNEL32!BaseThreadInitThunk
0f ntdll!RtlUserThreadStart

@vatsan-madhavan this appears to be an issue with the native build of WPFGFX.  Seems to be missing some native resources.
See

Thanks, taking a look...

Today I will try to workaround the issue, didn't have time for that yet, so I can at least continue with my development for & evaluation of dotnet core 3.0. I still need to mix all my recent changes to the Greenshot repository, where I will add (and thus test) with some of the WinForms functionality.
Still wanted to add a questions to this issue:
Is there any information on what  wpfgfx_cor3 compared to wpfgfx_v0400 is, and how this is developed? For instance, will this always be developed side by side? How do I see when a new version is supplied, and what changes it has?
Am I correct to assume that wpfgfx it's not open source? Are there any plans on making this more transparent?

This is a native component in WPF.  _v0400 is the one from .net desktop. _cor3 is the one in .net core.  It's part of the Microsoft.DesktopUI.App package so you'll see new versions as the SDK updates.
We'll make sure to update this issue with more information about a fix as it is known.

I have a fix that I'm testing right now - should have something out within a day or two.

@ericstj That is pretty much what I understood, was hoping for a bit more 😁
Is the Microsoft.DesktopUI.App open source? Probably not?I think it should be very clearly communicated if not, don't get me wrong: I don't have an issue with it but if dotnet core is open source and it uses closed source components, it might not be received very well if this is not explained.

I think the latest announcement

@ericstj thanks for the link, I never thought about going back to that "old" blogpost, and read the comments.

@vatsan-madhavan I'm hesitant to ask, but what is the status on this? Is there anything ) can do, or some kind of workaround? It's no problem if you guys need more time, I am asking so I know where to put my priorities.
For the time being I disabled Mahapps Themes, those trigger the glowbehavior, but the UI is missing some stuff and I am not sure if this is due to the theming or a general UI problem...

Yeah, coresdk is still on a build that's 8 days old: https://github.com/dotnet/core-sdk/blob/b4fe871ab87f6ddc4561efcc3e510a9b529ad5ce/build/DependencyVersions.props#L41  @livarcocc  / @nguerrera / @dsplaisted would be the ones to ask if we can have them pick up a new one (and see about automating that codeflow).

@ericstj thanks for the update, not a big problem.
But it does give bring up the question on how we are supposed to know what changes are in what build?

I'll be inserting the most recent bits later this afternoon.

The insertion has been delayed until tomorrow morning in order to pick up another fix and save some effort while they are still manual. I will post a link to a build when it's done.

I updated to 3.0.100-alpha1-009706 and the bug seems to be solved!!!!
The example project  doesn't crash, and my bigger project also works.
From my point if view, where there is nothing more to do, you can close this issue.

Great, glad the update worked, and sorry for the delay and the difficulty of determining when a fix will land in a build.

This issue has been plaguing all my WPF software since .NET 4.x. Is it possible to apply the solution to WPF?

@m1l I believe this was specific to .NET Core. I recommend to raise the question with details (like repro) on WPF repo.


merge pull 7 and support unitToConvert

indicate the unit to convert, so that we can adopt this plugin in existing project which has us px as a normal unit, not want to convert.

@KODerFunk fixed following your suggestion.

Tnx, any plan to release a new version?


Blog entry announcing foreign key support

https://simonwillison.net/2017/Nov/25/new-in-datasette/


v2: yarn as undocumented dependency

Bug Report
npm run docz:dev fails due to missing yarn installation.
To Reproduce

Dev maschine without yarn
run npm run docz:dev
See error

Expected behavior
docz should run either with npm or yarn.
Environment

Ubuntu 19.04
node 12.4.0
npm 6.10.1

Additional context/Screenshots
I think its here: https://github.com/pedronauck/docz/blob/master/core/docz-core/src/commands/serve.ts
Is this something that will probably change in upcoming rcs? I am willing to help here.

Yes it would great to mention that in the documentation.
OR
Even better, not rely on yarn for that (?). We are not using yarn at work. I know I could "just install it" but I think it would be better with rely on it.

Yeah, same issue here. Would be great not to rely on yarn for this.

Hi guys, sorry the too late response, I was on vacation so I couldn't see any issues until now. I'll try to figure out this and fix in order to launch in the stable v2 🙏

I think this would be great if this didn't rely on yarn. Is this be something I could help get going? I was looking through the codebase and a lot of the tasks do rely on yarn, e.g. linting. Is the plan to just move the external running scripts away from yarn?

I have gotten this far: https://github.com/pedronauck/docz/commit/c971e633d37f78396ca766a0691e11152084048e
But I am looking on how to reference the prebuild of this locally via npm. I have tried the following from another repo: "docz": "file:../docz/core/docz",  but I am not sure it is correct.

I have gotten this far: c971e63
But I am looking on how to reference the prebuild of this locally via npm. I have tried the following from another repo: "docz": "file:../docz/core/docz", but I am not sure it is correct. If anyone could give me a hand with the local building that would be great.

Hi, I can try to help. But I am not sure what you mean by prebuilding locally? What's the scenario exactly?

Hi @jesperorb - I have a way of checking that this is working locally now. Basically what I meant is how could I test a version of the docz which I am making changes to locally.
I have modified the public-facing scripts in a branch to not reference yarn. But I think installing is the problem, this is because of yarn's packages resolve subfolders. Maybe there is a way to do this via npm before publishing - I thought that is what npm run packages was for?
When you install my branch from another repository via yarn it works fine but while using npm it runs into an error with gatsby being installed properly. If you want to test this out you can pull my branch or sha: https://github.com/doczjs/docz/commit/3747e7966e3b670baa04677e6cffc1842862f7fe (please ignore the package.json file rewrites for now)

@MountainDrew
Ah, I understand what you mean. I'm gonna check out your branch this week and have a look. Not sure I personally can solve it but we have this as an important issue to solve to v2.0.

@jesperorb - let me know if you need any help. Happy to look into a way of fixing these dependencies on an npm install over yarn

@jesperorb - let me know if you need any help. Happy to look into a way of fixing these dependencies on an npm install over yarn

You could rebase your branch against master as it is far behind and then you could open a PR against docz master branch (either as a regular PR or draft).

Done here: https://github.com/doczjs/docz/pull/1153

Starting from 2.0.0-rc.68 all external facing yarn usage has been replaced with npm.
It's now possible to use docz without having yarn installed.
Note that yarn is still required for docz development but it is documented as a dependency here : https://github.com/doczjs/docz/blob/master/CONTRIBUTING.md#pre-requisites


add top level permissions: read-all for openssf

PR Type:
Enhancement

PR Description:
This PR introduces a new top-level permission, 'read-all', for the openssf organization. This permission has been added to both the 'pr-created' and 'pr-merged' GitHub workflows.

PR Main Files Walkthrough:
 files:
.github/workflows/pr-created.yaml: Added a new top-level permission 'read-all' for openssf. Some formatting changes have also been made.
.github/workflows/pr-merged.yaml: Added a new top-level permission 'read-all' for openssf. Some formatting changes have also been made.

closes https://github.com/kubescape/node-agent/issues/130


Set timer when pre-bolusing for meals

When enacting a pre-bolus for meal in say 20 minutes time, set a timer to alert when it's time to eat so you don't eat too late.

Please use the feature request template that is prompted when you create a feature request.
Please provide more information why this is needed and what problem it solves – you can set a timer with your phone, watch, etc., even using Siri ("Hey Siri, set a timer for 20 minutes").

Is your feature request related to a problem? Please describe.
NO.  Not a problem, just a proposed feature request.  When enacting a pre-bolus, it is critical to remember to eat on time to prevent a hypo.  However it is easy to forget to either check the current time, or manually set a reminder.
Describe the solution you'd like
A setting/preference where an alarm is set within iOS if the meal time is set in the future.  For example, 20 mins.
Describe alternatives you've considered
You could use siri...but a bit awkward if in a meeting and you need other pre-bolus.  I could set a timer manually, but could get this wrong (input error ie 02 00 00 instead of 00 20 00.  But I'm just wondering if this could be automated at the time the bolus is enacted?
Additional context
I have used AndroidAPS for the past 2 years, and the automation of setting an alarm when bolusing for when it's 'Time to eat' has been incredibly useful.   I can carry on working, looking after the kids and not worry that I will forget to eat on time.
Technical Details
If applicable, provide any technical details or considerations that might impact the implementation of this feature. This could include dependencies, potential risks, or required changes to existing functionalities.

Thank you for providing more context and background information ☺
iOS is limiting our ability to set alarms. Programmatically, we cannot schedule alarms. We could maybe invoke a shortcut on the phone that then sets an alarm, but that would need additional user setup on top of what we can proclivity in the app (via code).
From your experience using this with AAPS, and also from knowing how iOS behaves: would a push notification be enough of a reminder? You would receive that on your phone, and if you have one paired on your Apple watch.

HI @dnzxy
Yes I think a push notification would be great.  With a sound attached to it, that would be enough.
If possible, the default setting would be YES to send notification IF carb time is future dated.  But then in preferences, this can be disabled is users don't want this feature.  In Android APS it's default on.
Many thanks


chore(locales): Update nl translations

Thanks for the PR!

Correct grammar would be "gekickt" instead of "gekicked" @mardev-xyz


data structure of shareToTimeline and shareToSession

I always failed to share image use these 2 api, image cant display in share page and would get a message tell me that image send failed.
I do this like below:
await WeChat.shareToTimeline({     type: 'image',     imageUrl: 'http://pic3.nipic.com/3058118_113506073_2.jpg' });
Could you provide some sample code for these two APIs with parameter's data, to let me know how to share a image?

please refer the code example here, but my pull request is not accepted by author yet.  #36
these example need 'react-native-chat' and 'react-native-fs' plugin.
import * as WeChat from 'react-native-wechat';
import fs from 'react-native-fs';
var resolveAssetSource = require('resolveAssetSource'); // along with Image component

1, code example to share text message:
try {
    var result = await  WeChat.shareToTimeline({type: 'text', description: 'I\'m Wechat, :)'});
    console.log('share text message to time line successful', result);
}
catch (e) {
    console.log('share text message to time line failed', e);
}

2, code example to share image url:
try {
    var result = await WeChat.shareToTimeline({
        type: 'imageUrl',
        title: 'web image',
        description: 'share web image to time line',
        mediaTagName: 'email signature',
        messageAction: undefined,
        messageExt: undefined,
        imageUrl: 'http://shared.ydstatic.com/dict/v5.16/images/logo-entry.png'
    });
    console.log('share image url to time line successful', result);
}
catch (e) {
    console.log('share image url to time line failed', e);
}

3, code example to share image file:
try {
    var rootPath = fs.DocumentDirectoryPath;
    var savePath = rootPath + '/email-signature-262x100.png'; // like /var/mobile/Containers/Data/Application/B1308E13-35F1-41AB-A20D-3117BE8EE8FE/Documents/email-signature-262x100.png

    await fs.downloadFile('http://www.ncloud.hk/email-signature-262x100.png', savePath);

    var result = await WeChat.shareToTimeline({
        type: 'imageFile',
        title: 'image file download from network',
        description: 'share image file to time line',
        mediaTagName: 'email signature',
        messageAction: undefined,
        messageExt: undefined,
        imageUrl: savePath
    });

    console.log('share image file to time line successful', result);
}
catch (e) {
    console.log('share image file to time line failed', e);
}

4, code example to share image resource:
try {
    var imageResource = require('./email-signature-262x100.png');
    var result = await WeChat.shareToTimeline({
        type: 'imageResource',
        title: 'resource image',
        description: 'share resource image to time line',
        mediaTagName: 'email signature',
        messageAction: undefined,
        messageExt: undefined,
        imageUrl: resolveAssetSource(imageResource).uri
    });
    console.log('share resource image to time line successful', result);
}
catch (e) {
    console.log('share resource image to time line failed', e);
}

Hey @xing-zheng are you interested in that add you as a collaborator of this project?

Hey @yorkie I'm so glad to participate in this project, I will continuously contribute code and sample.
I find some work to be done:

more clarified document and sample code.
android implement.
more easy integration progress use rnpm.

Ok, added you as the collaborator with write right now.

Thank you! @yorkie

I update to V1.3.1, and got build failed in RCTWeChat.m
Use of undeclared identifier 'RCTResizeModeStretch'

the identifier 'RCTResizeModeStretch' is defined in "RCTResizeMode.h" witch is included by "RCTImageUtils.h", they are both reside in the directory "/node_modules/react-native/Libraries/Image".
If you install the react-native-wechat plugin by "npm install react-native-wechat --save" or "react-native link react-native-wechat" command, the "Header Search Path" options of XCode project is defined correctly, Otherwise you should add that directory into the "Header Search Path" manually.

For data structure of using share* methods, see https://github.com/weflex/react-native-wechat/blob/master/index.js#L156-L164, please. reopen this one if any problems still are exist, @letmeknowhow


MVP-8 Stack Documentation

User Statement
As a potential System Administrator of a portfolio web system deployment, I would like access to documentation describing the christianwestbrook.dev stack so that I can see an example of what a deployment could look like.
Engineering Response
We will assess the existing deployment stack being used at www.christianwestbrook.dev and contribute new documentation describing this stack for review by potential System Administrators.
Technical Breakout
These comments describing the www.christianwestbrook.dev stack taken from #1:

Domain name registered with Google Domains
DNS managed by CloudFlare
CloudFlare routes traffic to my public IP, hiding its value behind a proxy
Router forwards HTTPS traffic at my public IP to the Raspberry Pi
Apache HTTP Server services requests onboard the Raspberry Pi
Portfolio Web System serves as the content being served, also deployed to the Raspberry Pi

A basic description of this stack of services should be included in the project README.
Acceptance Criteria

[x] README updated with a basic description of the www.christianwestbrook.dev stack

Added a stack description to the README.

Work has been completed and the associated feature branch has been merged into main. Closing this issue.


Update documentation for SSL VERIFY hooks.

Hmmm, is this documentation for a yet to be landed hook? If so, why not merge this in with that commit?

Also, not that it matters much, but I think we (for some reason :-), try to keep documentation lines < 80 characters.

Both hooks already exist in the code.  Just wasn't documented yet.

I updated the docs and the constants to be consistent.  Both hooks already existing, but one was TS_SSL_VERIFY_CLIENT_HOOK and the other was TS_SSL_SERVER_VERIFY_HOOK.  I changed them both to the TS_SSL_VERIFY_* form.  Updated the enums, but left aliases of the old versions for backwards compatibility.
Will be adding tests in a separate PR.

Updated to address @CrendKing's comment.

@CrendKing @zwoop Any other comments or are we good to go?

Because of conflicts a new PR was created to merge into 8.1.0: #5236


Implement mandatory attributes pre-validation in PHLAT

Added a new feature to add error messages to the message table when the uploaded data file does not contain data for the mandatory columns as per business requirement on Jira ticket BCMOHAD 24132.

obsolete and will be replaced by another PR


TypeError: Cannot read property 'sectionTitle' of undefined

Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:

Netlify CMS version<EMAIL_ADDRESS>Git provider: git-gateway
Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

CMS configuration
backend:
  name: git-gateway
  branch: main
  commit_messages:
    create: Create {{collection}} “{{slug}}”
    update: Update {{collection}} “{{slug}}”
    delete: Delete {{collection}} “{{slug}}”
    uploadMedia: "[skip ci] Upload “{{path}}”"
    deleteMedia: "[skip ci] Delete “{{path}}”"
media_folder: static/img
public_folder: /img
logo_url: ../img/MT-Logo.png
slug:
  encoding: ascii
  clean_accents: true
  sanitize_replacement: _
collections:
  - name: blog
    label: Blog
    folder: src/pages/blog
    create: true
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    fields:
      - label: Template Key
        name: templateKey
        widget: hidden
        default: blog-post
      - label: Title
        name: title
        widget: string
      - label: Publish Date
        name: date
        widget: datetime
      - label: Description
        name: description
        widget: text
      - label: Featured Post
        name: featuredpost
        widget: boolean
      - label: Featured Image
        name: featuredimage
        widget: image
      - label: Body
        name: body
        widget: markdown
      - label: Tags
        name: tags
        widget: list
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - description
    view_filters: []
    view_groups: []
  - name: settings
    label: Settings
    editor:
      preview: false
    files:
      - label: General
        name: general
        file: _data/general.json
        fields:
          - label: Marketing Email
            name: marketingEmailID
            widget: string
      - label: Navigation Menu
        name: nav
        file: _data/nav.json
        fields:
          - label: Nav Items
            label_singular: Nav Item
            name: topLevelItems
            widget: list
            fields:
              - label: Display Text
                name: displayText
                widget: string
              - label: URL
                name: url
                widget: string
              - label: Item Type
                name: itemType
                widget: select
                options:
                  - Link
                  - Button
      - label: Footer
        name: footer
        file: _data/footer.json
        fields:
          - label: Subscription Section
            name: subscriptionSection
            widget: object
            fields:
              - label: Title
                name: title
                widget: string
              - label: Text Content
                name: content
                widget: text
          - label: Social Media
            name: socialLinks
            widget: list
            fields:
              - label: platform
                name: platform
                widget: string
              - label: link
                name: link
                widget: string
          - label: Footer Base text
            name: footerBase
            widget: string
    publish: true
    type: file_based_collection
    sortable_fields:
      - commit_date
      - commit_author
    view_filters: []
    view_groups: []
  - name: pages
    label: Pages
    files:
      - file: src/pages/index.md
        label: Home Page
        name: index
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: index-page
          - label: Title
            name: title
            widget: string
          - label: Heading
            name: heading
            widget: string
          - label: Sub Text
            nam
...

Hi @erezrokah
Basically, I edited my index.md file and committed it after making the desired changes and now I'm using GraphQL to make my page dynamic. It is working fine on Frontend but preview is throwing the error (ref. image below)

Do you have custom previews in place? If so, you should check if data within the section exists before trying to output it. For example:
return(

subscriptionSection && subscriptionSection.sectionTitle

)

Hi Tom,
Thanks for the tip, I'll try this out and get back to you, if I have any further issue with this one.
Thanks,
Pranali Nalawade
-----Original message-----
From: Tom Rutgers
Sent: Friday, April 2 2021, 5:14 pm
To: netlify/netlify-cms
Cc: Pranali Nalawade; Mention
Subject: Re: [netlify/netlify-cms] TypeError: Cannot read property 'sectionTitle' of undefined (#5190)

Do you have custom previews in place? If so, you should check if data within the section exists before trying to output it. For example:
return(
subscriptionSection && subscriptionSection.sectionTitle
)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Closing as stale


mac-12 lost external connection phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-12 lost external connection phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting machine to restore connection.


Cannot select milestone in issues

Description

when selecting milestone on new issue
Gitea Version
1.23.0+dev-211-gfc2d75f86d
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
PostgreSQL

What's the repository link on the demo site?

What's the repository link on the demo site?

Sorry, cannot reproduce on demo

From analyzing the commit history and manually testing, this appears to be a regression from #30506, specifically  the change made in this  line.

->  Fix JS error when creating new issue #31383


Automatically toggle between day/night colorschemes at 6am and 6pm, if

you pass --day_night. Fails to update all panels immediately.
Two concerns:

On larger maps, recreating DrawMap can take a moment. Suddenly jumping to a loading screen can be a little jarring. Not a huge deal.

Panels need to get recreated, to trigger PanelBuilder::build, which grabs ctx.style.panel_bg. Based on Yuwen's designs, this will also need to change things like text color too. I can think of two general ways to do this. One is the approach half-done in this PR -- recreating the panel from scratch. This loses state like minimap zoom and sandbox speed, and currently doesn't have a nice way of recreating the top_panel for each individual gameplay state. Maybe we just have to pay the cost of adding custom code to a few of these pieces to trigger a panel recalculation, but not create the SandboxControls state completely from scratch.

The other approach is to try to plumb support through widgetry for this kind of thing. For changing Panel bg, it's easy enough -- struct Widget has bg: Option<Drawable>, so we could have a method to clear it out and force recalculation. Then Panel could have fn change_bg that changes top_level.layout.bg_color. But it wouldn't handle changing text color or inner panel styles, and I can't think of any reasonable way to do that without increasing memory+complexity and remembering that a particular Text led to the creation of a JustDraw widget.
@michaelkirk please review at your convenience -- thanks!
And the demo:

To be clear, I think the approach you have here is good for now. Just trying to brainstorm alternatives if getting the "last bit" of this approach completed becomes prohibitive.

Thanks for the ideas! Will go with this approach for the moment, but continue mulling.

there's been a handful of times I've wished widgetry had some kind of pub/sub system for events/notifications

Another example that's come up is responding to window resizing. Any more come to mind?
Related to callbacks, how do you feel about the current approach of recursivelyish calling event(ctx) on everything? Outside of widgetry, it's occasionally convenient to accomplish some important ordering, like letting the info panel handle the escape key before the tool panel in SandboxMode. But for things like "did the user click a lane" or "is the mouse hovering over something different", the current approach feels like it has to repeat some logic sometimes. Callbacks might be nice in some cases.

Another alternative would be to try to move it to the GPU:

This is feeling like a more attractive option the more I think about it. Some advice from a cartographer a long time ago was to get everything looking nice and properly contrasting in greyscale, then do a time-based lerp and multiply in the HSV colorspace.

Related to callbacks, how do you feel about the current approach of recursivelyish calling event(ctx) on everything? Outside of widgetry, it's occasionally convenient to accomplish some important ordering, like letting the info panel handle the escape key before the tool panel in SandboxMode. But for things like "did the user click a lane" or "is the mouse hovering over something different", the current approach feels like it has to repeat some logic sometimes. Callbacks might be nice in some cases.

In general, I'm used to events percolating up the tree, which is opposite from widgetry, but I don't think I've worked with that part of widgetry enough to have an informed opinion. Or maybe that is evidence that it's worked well enough in practice. =)

Got all of the panels updating immediately. It was mostly just rearranging existing code that built a panel from the state of some control. I'll push this and keep testing it, but keep the experiment flag for now. Haven't yet thought through how to reset the color scheme when using tools like the OSM viewer and parking mapper; it'd be kind of odd to default to night mode for those.


#202 - added Javascript constructor for File

https://github.com/HtmlUnit/htmlunit/issues/202

getFile() seems to be still a problem.
From the call hierachy:

Formdata.append uses is. Seems null safe.
Formdata.set - seems null safe.
URL.createObjectURL uses is - not null safe
FileReader.readAsArrayBuffer/readAsDataURL/readAsText - not null safe

Hi Thorsten,
again many thanks for your contribution, was a great help. Have implemented this now and have hopefully supported your case. As usual i will inform via twitter about new snapshots.


#13-Binary-search-javascript

Adds binary search implementation in Javascript (included tests).

Great, thanks!
@all-contributors please add @omonimus1 for code.


Update kamon-core, kamon-prometheus to 2.1.16

Updates

io.kamon:kamon-core
io.kamon:kamon-prometheus

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.kamon" } ]

labels: library-update, semver-patch

Superseded by #656.


Added paragraph about technical status codes

This fixes #42

Pull request #100

lgtm

:+1:

:+1:

👍

@tkrop @fmueller I had to fix a merge conflict. Please re-approve.

👍

:+1:


Inquiry about Minecraft Java Edition Compatability for KubecraftAdmin

Hello! I would like to inquire if you plan to add Java Edition Compatibility? I run on MacOS so I can only use Java Edition for the time being.

Hi! Thanks for the suggestion. Unfortunately my project completely relies on something called the WebSocket Server connection which is exclusive to Bedrock and Education editions.
As such there are no plans to make this work on Java Edition.


Allow istioctl to be used on pods with periods in their name

Resolves https://github.com/istio/istio/issues/15793
The istioctl commands that take pod names as arguments have never been able to handle pods with periods in their names such as istio-security-post-install-1.2.2-bm9w2.istio-system.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: esnible
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

istioctl/OWNERS [esnible]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@esnible: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-pilot-e2e-envoyv2-v1alpha3-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test istio-pilot-e2e-envoyv2-v1alpha3-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@esnible: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-pilot-e2e-envoyv2-v1alpha3-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test istio-pilot-e2e-envoyv2-v1alpha3-master

istio-pilot-multicluster-e2e-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test istio-pilot-multicluster-e2e-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@esnible: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-pilot-e2e-envoyv2-v1alpha3-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test istio-pilot-e2e-envoyv2-v1alpha3-master

istio-pilot-multicluster-e2e-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test istio-pilot-multicluster-e2e-master

integ-new-install-k8s-presubmit-tests-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e-envoyv2-v1alpha3-master

/retest

@esnible: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@esnible: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-new-install-k8s-presubmit-tests-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test integ-new-install-k8s-presubmit-tests-master

istio-racetest-master
113314606f078396aa27b7dfd2a0527356f94524
link
/test istio-racetest-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-racetest-master


Fixed #31250 -- Fix compare_xml function in assertXMLEqual and assert…

Fix compare_xml function in assertXMLEqual and assertXMLNotEqual

The documentation also needs an update.
https://docs.djangoproject.com/en/dev/topics/testing/tools/#django.test.SimpleTestCase.assertXMLEqual

@Irisoz Thanks for updates :+1: I pushed docs changes.

Merged in 54b7af7eb4107f933d14da0737b539bbe38d0fc8.


Change File.exists? to File.exist? to support Ruby 3.2

Oops, meant to open on https://github.com/babylist/non-stupid-digest-assets


Install all package deps on Noble containers

Proposed changes
Follow-up to #378. Not all package dependencies were brought in by rosdep install. This patch amends that.
Type of change

[x] 🐛 Bugfix (change which fixes an issue)
[ ] 🚀 Feature (change which adds functionality)
[ ] 📚 Documentation (change which fixes or extends documentation)

Checklist

[x] Lint and unit tests (if any) pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[x] All commits have been signed for DCO

Tested locally, works great! LGTM


⚠ Samsung has degraded performance

In 886ee77, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1885 ms

Resolved: Samsung performance has improved in 10882af.


GPU support minor mods

Convert "gpu" option to "cuda:0" so model can be loaded on GPU.
move model to gpu explicitly (currently weights apparently remain on CPU despite device being specified in line
self.model.load_state_dict(torch.load(self.model_weights_file_path,
map_location=self.device))

Thanks for the contribution. Note that we have not tested with GPU so far, so if you run into problems do raise issues or open PRs. That would be appreciated.


Are events invoked in other threads?

If I bind a callback to an event (on_message_update for example). Is the callback guaranteed to be called in the same thread that created the cluster? I guess it doesn't since you start the cluster (true argument) and it has no way of getting back to the main thread. There's no control over the internal loop. Or way of integrating into parent loop (like having an update() method called periodically). I feel like this should be made a bit more obvious in case someone uses the library and deals with code that is not thread safe.
Because if I want to process that event in the main thread with a queue or something like that. I will receive a message_update_t argument in the event. But the problem now becomes: Who manages the lifetime of that message_update_t instance? So now I'm confronted with a few questions:
Do I block the thread that invoked the event and wait until it is handled in main thread? Seems weird.
Do I just queue the argument value and return? Then process it in main thread. But then who owns the message* updated; pointer? How do I tell the library that I'm still using that?
There are a bunch of raw pointers passed throughout the library and no way to get involved in their lifetime. No reference counting or something like that. And for something that deals with multiple threads seems weird.
Do I create deep copies of everything? Like keeping my own separate kind of cache?
I noticed in another issue that you said most discord bots are dedicated processes and not embedded in something else. That may be the case for some but not for most.
How would you approach this situation? How would you synchronize events and deal with the lifetime of objects that the library yields?
Thank you.
EDIT:
Upon further reading, I noticed that some of the objects that I was interested in their lifetime inherit from dpp::managed class.
Which are then down-casted to a dpp::managed pointer and stored inside various (static/global) containers in the cache.cpp unit. And then deleted by garbage_collection() which I guess is then called periodically from some other thread.
But in the garbage_collection() function I notice this line delete g->first; in which g->first is the dpp::managed pointer that was down-casted from whatever inherited that class. Which seems fine until you notice that dpp::managed does not have a virtual destructor.
Basically, delete does not know about the derived class destructor and only invokes the destructor of the dpp::managed class (which has nothing to cleanup). Doesn't this classify as a memory leak? (link)
Regarding the initial question. I guess I could modify the dpp::managed class to include a reference counter and the garbage_collection() function to take that into consideration before trying to delete the instance. Requirements to maintain this modification would be minimal since is just 2-3 lines of code.
EDIT2: But then dpp::message doesn't inherit from dpp::managed class. So I'm back to where I started. I guess I have to look further into this.

dpp::managed shouldnt reference count -- i'll read this properly at some point when im not so busy and come back to you. Theres so much to read here!

in short - dont try and hold onto any pointers youre given outside of the events.
Either in a lambda for one of the REST calls, or a websocket event. These are transient and will not last beyond the event. You should make copies of anything you want to store outside of the event. You shouldnt try to block or "control" any of the DPP threads.
There is a document that documents the thread model in the docs here: https://dpp.brainbox.cc/thread-model.html
The threading is relatively simple. there is no complex thread pool or similar. Every shard spawns an independent thread, that should only touch the resources of that shard.
When you make a REST request (e.g. dpp::cluster::guild_command_edit()) the request is sent to a queue, which is a separate thread. This thread dispatches requests in-order, and when they complete, sends a signal to another thread which calls the completion lambdas for each event. This can mean that a very long running lambda can cause delays -- so don't do that!

nice spot on the missing virtual dtor for dpp::managed, i'll fix this one now :)

I've decided to go with the deep copy alternative for now. It shouldn't affect efficiency in any way atm since the thing that I'm using the library is something simple.
Thanks for the input.


Delete history data

Coverage decreased (-0.003%) to 23.041% when pulling 6a5172a4499b8e96f19b921544b2c4e27beda1a8 on feature/history-data-delete into 6ad2eca084e0ed35bbfa01219c3e07bbcd511657 on master.


map polygon not support hole,Map rendering does not reflect the existence of holes

What problem does this feature solve?
data(geojson) contains holes.
It is hoped that the polygon can be hollowed out.
render result

expected result

example https://codepen.io/deyihu/pen/JzOmPw
What does the proposed API look like?
{
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "geometry": {
                "type": "Polygon",
                "coordinates": [
                    [
                        ....
                    ],
                    [
                        ....  hole
                    ],
                    ...holes
                ]
            },
            "properties": {
                "name": "未命名",
                "center": [
<PHONE_NUMBER>3022251,
                    31.291266809854267
                ]
            }
        }
    ]
}

You can use the custom series render anything you like, just like this demo.

@deqingli
Yes,
This function can be achieved by using custom series.
But I think it's a geojson specification.
Because echarts uses geojson's data format,
So I think echarts map component should support this function by default.
Although polygons in this situation are not very common, there are still some, such as an island in the middle of a lake.
At this point, the polygon of the lake must hollow out the island.
About Wikipedia
Https://en.wikipedia.org/wiki/GeoJSON