Expose Custom URL Schema In Mobile Apps

Godot version
3.1 Stable
OS/device including version:
iOS / Android ( Any )
Issue description:
Currently there’s no way to open an .apk or .ipa using custom url schema as described here ( https://developer.apple.com/documentation/uikit/core_app/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app )
Fetching URL Params Into Godot
E.g. Facebook Login
By using Accounts.framework, the ios web browser could redirect to fb<YOUR_APP>://facebook/login leading to many integrations possibilities.
Steps to reproduce:
Create a custom URL Schema and Launch Godot Game
https://developer.apple.com/documentation/uikit/core_app/allowing_apps_and_websites_to_link_to_your_content/defining_a_custom_url_scheme_for_your_app
Minimal reproduction project:
Any project should work as long as there’s a way to fetch that data from the schema

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Can't connect to Internet after stopping Titanium console app

I downloaded Titanium Web Proxy and ran the test console app in Visual Studio. It works great. But after stopping the VS project (and the console app closes), I can no longer hit any web pages. I get this error:

No internet. There is something wrong with the proxy server, or the address is incorrect.

Yikes. It seems as though the Titanium web proxy permanently changed something so that when it's no longer running, I can't use the Internet. When I run the console app again, I can once again hit web pages. What is the best solution to this? How can I make it so that when the console app closes, the proxy goes away or resets or returns my system to its previous state, so page browsing can again occur without it running?

I found the solution: simply stopping the visual studio running project doesn't allow the Stop() method to run, which cleans up the proxy and allows Internet connects to work as before. In this case, hitting ENTER while the console app is running stops everything gracefully.


Wordsmithing DI in Controllers

Fixes #861
@Rick-Anderson

@Rick-Anderson Please review

:shipit:


Write the reports Dag

See step 6 of the Airflow Architecture doc

@christinklez @aturner I read through the Step 6 notes in the Airflow Architecture doc, and have outlined my understanding below. Can you please let me know if this is right?:
The reports you're requesting as part of Step 6 are distinct from the validation reports that you are running in Airflow already. The validation reports compare mapped metadata from Rikolti with mapped metadata from Solr, record by record. They validate that the Rikolti mappers are functioning correctly. Once we've fully migrated to Rikolti, you will no longer need to run these reports.
The reports you're asking for in Step 6 of the document, by contrast, are reports that you will continue to run once we're using Rikolti for day-to-day harvesting operations.
These additional reports are:

New collection metadata quality report - lists any missing required metadata fields for each record
Updated collection metadata quality report - lists any missing required metadata fields; lists any discrepancies between prod and stage for each record. (We might be able to use Tim's validator code for this).
Stage/Prod count diff report - a simple count of items in the current stage index vs. the current prod index for a collection.
Removed exhibition items report - a list of items that are part of an exhibition, but are missing from the new stage index. Promoting this index to prod would result in broken exhibition item links.
Changed item URL report - list of items whose Calisphere IDs have changed since the last time they were harvested.

I think 1. and 2. would be new functionality, i.e. we don't have the equivalent reports for the legacy harvester.
I'm somewhat unclear on whether or not we have 3-5 for the legacy harvester. I know Gabriela runs reports before we push an index to production, but I've always been a little hazy on the details...


Test: open remote windows from remote explorer

Refs: https://github.com/microsoft/vscode-remote-release/issues/8397

[x] Windows @bpasero
[ ] macOS @bhavyaus
[ ] Linux @connor4312

Complexity: 3
Authors: @joyceerhl @chrmarti @aeschli
Create Issue

In the remote explorer, remote extensions should now offer two options to connect to a remote window, 1) in the current window and 2) in a new window. These options should be available inline (when you hover over a tree item) as well as in the context menu.
Please install a few remote extensions (Ctrl/Cmd+Alt+O to open remote indicator > select Install Additional Remote Extensions), then open the remote explorer. Verify that all the views offer consistent actions to open a remote.

I think the icon choices are okay, but I would perhaps rework the "new window" icon. To me it looks very much like "new folder" in the default theme, particularly because the little tab in the top-left corner that normally distinguishes the "folder" icon is obscured.
New window:

New folder:


Fix scrolling when there's already enough space.

Contains
Scrollbars for ScrollableAreas in spaces large enough that they don't need to scroll are now fixed at 0, rather than flickering between the top and bottom when the scrollwheel is used.
How to test
Open the video config menu. Resize the window so that there is space left below the menu. Use the mouse scrollwheel.

Can one of the admins please verify this patch?

Thanks for the quick fix! :-)
@GooeyHub: add to whitelist

Hooray Jenkins reported success with all tests good!

Checked it out locally although I had to hack at that settings page a bit before I could even fit it on one screen ... how tall is your resolution :D


⚠ Bofrost.fr has degraded performance

In 77400c2, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1471 ms

Resolved: Bofrost.fr performance has improved in fd7fc6f after 8 minutes.


fix: Added default message queue type to twenty template

Adds pg-boss as the default value for MESSAGE_QUEUE_TYPE env var for the Twenty CRM template.
The lack of this was causing an error (Invalid message queue driver type (), check your .env file) during the service startup, if we didn't set the value manually.

Thank you for the PR!


Download error: Unable to connect to the remote server

I get this error each time I attempt to install BD.
Starting installation for Discord
Killing Discord Processes
Downloading BandagedBD package
Using channel: https://github.com/rauenzi/BetterDiscordApp/archive/injector.zip
Downloading to: C:\Users\conno\AppData\Local\Discord\app-0.0.305\resources\BetterDiscord.zip
Download error: Unable to connect to the remote server
Download seems to have failed, will try once more.
Downloading BandagedBD package
Using channel: https://github.com/rauenzi/BetterDiscordApp/archive/injector.zip
Downloading to: C:\Users\conno\AppData\Local\Discord\app-0.0.305\resources\BetterDiscord.zip
Download error: Unable to connect to the remote server
Before you ask, yes, I've tried going to the discord for help. Each time i've either been ignored or told to do something I've already tried and they just say 'welp idk how to help you lol'.

Check your anti-virus or try running on the desktop as admin

Tried running on desktop as admin. I do not have an anti-virus.

Tried running on desktop as admin. I do not have an anti-virus.

Same. And i still cant reinstall it properly

Tried running on desktop as admin. I do not have an anti-virus.

Same. And i still cant reinstall it properly

Hi. The way I eventually fixed this was with a full PC wipe.**
It's something about your internet not being able to get a connection to websites like certain github links. Check your proxy settings.

Can pls someone tell me what to do specifically i am having the same issue pls pls pls help

Can pls someone tell me what to do specifically i am having the same issue pls pls pls help

same.


Issue#367 use existing parameters in image cropping when they exist

GlobalDigitalLibraryio/issues#367

[x] const instead of var.

TODO

[ ] Release.
[ ] Deploy to test.
[ ] Deploy to staging.
[ ] Deploy to demo.
[ ] Deploy to prod.


💡[FEATURE]: Add visualisations to Loan Status Prediction Model.

I will add following visualisations to Loan Status Prediction Model (Loan Status Prediction/Loan_Status_prediction.ipynb):

Confusion Matrix
Classification Report
ROC Curve (For binary classification)

Hi @Akshat111111, I have raised this issue. Please assign it to me.


Bug: MapLayer GeoAdmin, no load in near zoom level

On near zoom level no map tiles could be loaded (400 Bad Request occur) if maps from GeoAdmin is selected:

SwissImage
Pixelkarte farbig
Pixelkarte grau

e.g. https://wmts10.geo.admin.ch/1.0.0/ch.swisstopo.swissimage/default/current/3857/21/1091961/738085.jpeg
check if this occurs by outdated library or by missing licence key for detailed map tiles
try to fix near zoom to keep zoom-level for map-load to nearest possible zoom-level (for load, not for browser zoom)

I think the service just doesn't support this near zoom level. As of early 2021 all services (including detailed services) are free to use in Switzerland. Maybe add a more detailed service like CadastralWebMap. Thoughts @thornch ?


1.3.0 Update

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This is the 1.3.0 Feature Update. It will fix #6 Hopefully once and for all. Also fixes the #10

What is the current behavior? (You can also link to an open issue here)
See Issue #6, #10

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
None

Other relevant information:

None
Todo List:

[x] Change the version to 1.3.0
[x] Change the docs and readme to 1.3.0
[x] Figure out how to make a window behind the desktop icons.
[x] Add some windows external code.
[ ] Add it into the program (Going to fix some bugs before adding it).
[ ] Determine when the wallpaper fails to set itself.
[ ] Set the alternative wallpaper to set on startup when the normal code fails to set it.
[ ] Cleanup external functions by removing functions and variables that aren't used from the windows code
[ ] Check for bugs (Any Testing help is appreciated when we get here)
[ ] Fix Bugs (If any)
[ ] Upload Build to Webdata
[ ] Merge Pull Request (Release)

I'll fill out the pull request form tomorrow

why you break my pull request

Ok I fixed the branch plz dont break it again

ok my win forms background image does work (thanks stackoverflow) but i cant change the image once its already started so im going to have to mess around with it. also there are some computers that have the black screen even on school wifi.

ok everything works and commit 0ed1fde is the most stable version of the program so far. use that commits build to find the bugs dont use anything newer than that one unless i say so.

i got to merge the pull request i didnt see any bugs but if any are found then oh well. i just wont release it yet


[QUESTION] Attribution for book / github code examples

I am working through this fantastic book, "Hands on ML", and for learning purposes have made modifications to the corresponding source code and uploaded to my github repo. I was wondering how to best attribute copyright/licensing. In my repo ( https://github.com/gbih/ml-notes/tree/main/book_hands_on ) I copied your original Apache license (dated January 2004). Can you tell me if this is the most appropriate action, or should I also add a Example-Notice inside the last notebook cell as well, etc.

Since the code is available for no cost on GitHub by the author and the book need not be bought to read the code, I don't think a license is required. A simple redirect to this repo from your repository should suffice.
BTW, thanks for the notes. They are going to help me as I progress through the book!


Demo site gives 404

The site at the top of the repo's front page gives a 404 (https://goo.gl/c6WDjY)

@andrewfulrich Fixed and repo has been moved and will be updated next week.


Improvement. UI. Provide Human Friendly names for profiles & limits

Steps to reproduce
Open the main page of an application and expand profiles/limits dropdown
Expected result
Meaningful and human readable name is provided
Actual result
Market constant that was implemented for inner using is shown
How is should be improved?
Limits and profiles should provide their titles and some description.
The mechanism of providing such information should be implemented.

How resources should be stored?

Should the app be localizable?


✨ [New Demo Request]: Demo with Canvas API

Please include the request by answering these questions.
What is the Example and Demo Topic?
Canvas API
Please explain why do you need it?
Create a demo with Canvas API (Not with HTML5 Canvas tag). Please check the API link below. Please try creating multiple canvases demonstrating APIs
Any Links, Reads?
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API
If you are picking up this request to implement, PLEASE READ THIS

HOW TO ADD A DEMO

Hey @atapas , I would love to contribute in this. Could you assign this to me?


Add support for translations by default in cookiecutter-django-app

Description
If you add translations in the conf/locale folder they are not rendered on the platform.
To make it work by default on the platform, the following changes can be made. These changes were successfully tested in this plugin

Move all files from conf/locale to locale.

Update MANIFEST.in file to include the new locale folder at the time of package installation.
recursive-include {{cookiecutter.sub_dir_name}}/locale *

These changes will allow translations included in the locale folder to be automatically recognized by the platform. In addition, the make extract_translations and make compile_translations commands should not be modified, as they work with these changes.

It looks like most of our repos use conf/locale. A few have just locale -- but for about half of those it's just a symlink to conf/locale. I'm not sure how to test this, but does it work to just have a recursive-include of conf/locale?

from my side, I am not sure as well, but in any case according to latest changes of translations process OEP58,  were are translations are saved openedx-translatiosn repo,
https://github.com/openedx/openedx-translations/tree/main/translations it seems the pattern for all python based repo is conf/locale.

This will be an ongoing issue. Each repo maintainer will have to fix errors, as they are flagged. @brian-smith-tcril do you agree with this approach?

@OmarIthawi @shadinaif please provide feedback.

@shadinaif could you please look into this request. I'd like to see if any of the recent work we've done have changed translations support in this repository.

Thank you for reporting this @kdmccormick ! We've done some work in this repo, it's hard to immediately answer if we missed a mandatory change or if it's just a stale code. I'll double-check early next week and let you know. Thank you!
cc/ @OmarIthawi @brian-smith-tcril

update: this repo is a bit special. Because it's a template for new plugins that are used inside and outside edx.org. Not everyone wants to use atlas for translation. I'll work on this to make the creation process ask if atlas support is needed or not
Please keep the issue open, I'll link it to the fix PR


(PUP-9579) Push device specific ssl_context

Previously the device application failed when trying to download a
catalog for a device, because the SSL statemachine doesn't take a
certname keyword argument.
If --libdir is specified, then we want to continue skipping pluginsync, but we
still need to ensure the per-device ssl_context is initialized before requesting
a catalog on behalf of the device. If we created a per-device ssl_context, then
push that on the context stack so we don't accidentally fall back to the
non-device one.

CLA signed by all contributors.

This will create one connection to the puppetserver per device which seems not ideal. May be  better to invert the logic like so:
pool = Puppet::Network::HTTP::Pool.new(Puppet[:http_keepalive_timeout])
Puppet.override(:http_pool => pool) do
  begin
    devices.collect do |devicename,device|
       # for each device...
    end
  ensure
    pool.close
  end
end

Note puppet actually creates 2 connections per device, one for pluginsync and another for the configurer run, because the configurer also pushes a pool onto the context during catalog application. That will be fixed in https://tickets.puppetlabs.com/browse/PUP-8662.

re-built on appveyor after a ruby segfault


Support casting from String to Decimal

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

cast kernel doesn't support casting from String to Decimal now. We should support it.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

label_issue.py automatically added labels {'arrow'} from #3281


Error entering water

Psychedelicraft-<IP_ADDRESS>
When i enter the water i don't get a crash but my screen freezes up. It must be 2 blocks low water and you must try to enter it all the way. A Fix to this is to change the config For Water Distortion to False.
While my screen is frozen i can hear myself moving around and i can press esc with the screen frozen i can still quit and then quit to close the game.

You are not giving on enough info to help you sorry :(
Maybe give some pc specs ... what you did before this ... testing results with no other mods intalled including optifine.

Its been a long time, i'll try out your latest version in 20min and provide some Server and Client logs.
If i remember right. my screen would freeze up like if i had taken a screenshot but i could still hear myself walking around or entering water as if i was still playing the game.


All tests passed.
What did you see instead?
--- FAIL: TestRemoveAllWithMoreErrorThanReqSize (0.30s)
    removeall_test.go:447: Want error from RemoveAllTestHook, got nil
FAIL
exit status: 'os.test 129292: 1'
FAIL	os	2.458s

This test doesn't get run with the -short flag, so it's probably not getting run on the plan9 builders.
On Plan 9, we use the "noat" implementation, which is slightly different from the "at" implementation in that it can Remove the parent directory within the for-loop in addition to the Remove at the end of the function.
This test tries to delete 1025 files. The first Readdirnames returns 1024 entries. In the second Readdirnames call, we get the 1 remaining entry. After deleting that one entry, instead of breaking out of the loop, the code tries to Remove the parent directory. Since the Remove succeeds, we return nil. I believe we need to an add additional hook right after this Remove call, and another hook right after we try to Open the deleted parent directory (only reached if hook is set by the test).
@gopherbot Please add labels OS-Plan9, NeedsFix

It's also failing on Windows:
https://storage.googleapis.com/go-build-log/f58f8d03/windows-amd64-longtest_dc0788fb.log

@gopherbot, please backport to Go 1.13. This is a test fix. It is needed to fix resolve a test failure in the os package on windows-amd64-longtest builder, which could be masking other problems (due to #36181) and making releasing Go 1.13.x more difficult.


organizationsR: ParseError "Error in $: expected Vector a, encountered Object"

GitHub.organizationsR GitHub.FetchAll

Failed with ParseError "Error in $: expected Vector a, encountered Object", but I'm unable to reproduce consistently. Will dig further.

Happens if the token doesn't have orgs scope.

Would be interesting to see the Object returned?

At least docs don't mention the Object in https://developer.github.com/v3/orgs/#list-your-organizations (but do mention scopes!)
Maybe I broke error-code handling in 0.21 ?

Most probably, I'd be highly surprised it returns 200.

About the Object contents, first need to make Error sum include the response content.

Quick review hints that setCheckStatus is gone now https://github.com/phadej/github/commit/c0e4ad33811be82e1f72ee76116345c681703103#diff-43f3bed87bf8280f89734d516127120bL228

Fixed by #354


Change the output path from /tmp to $HOME/.local/share

@rigred @rhertzog
I've changed the output path from /tmp to $HOME/.local/share due to security issues, please review it.
Thanks the feedback from rhertzog.

With this change output will always be written to /root/.local/share/sandsifter
At least for the time being.

I will adapt the code to get the user that ran sudo.

Ok so checking for the parent user name of sudo is easily done but creates an additional headache in that I cannot simply assume the path of the $HOME directory to be /home.
I will need to write additional code to work around that problem.

You can use os.path.expanduser('~%s/.local/share/sandsifter' % os.environ.get('SUDO_USER', '')).

Tested it and it indeed works for odd username locations.
Handy snippet of code to have, thanks!

Later when I update the sifter to run only injector subprocess as root this will be much easier to deal with.


Completed the course.

Develop the Taylor formula section, thus the theory behind Euler methods is less obscure (I hope).
Add an example in R.
Introduce the "matrix method" and Runge-Kutta.

thanks (again)!


Update typesafe.play version

Update dependency version to a non-deprecated version. This is based on suggestion/requirement from MDTP Catalogue

looks like their is version conflict
[error] java.lang.RuntimeException: found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error]
[error] 	* org.scala-lang.modules:scala-xml_2.12:2.2.0 (early-semver) is selected over {2.1.0, 1.1.1, 1.0.6}
[error] 	    +- com.typesafe.play:twirl-api_2.12:1.6.5             (depends on 2.2.0)
[error] 	    +- org.scalariform:scalariform_2.12:0.2.0             (depends on 1.0.6)
[error] 	    +- com.typesafe.sbt:sbt-native-packager:1.5.1 (scalaVersion=2.12, sbtVersion=1.0) (depends on 1.1.1)
[error] 	    +- com.github.sbt:sbt-native-packager:1.9.16 (scalaVersion=2.12, sbtVersion=1.0) (depends on 2.1.0)


"error: NotAuthenticated: invalid signature when running local with vue.js" frontend

I first managed to get a fully working vue-js Node.js Express setup as shown at: https://github.com/gothinkster/node-express-realworld-example-app/pull/116 which indicates that the Vue setup and my MongoDB are actually working.
So now I wanted to replace the Node.js Express backend with this FeathersJS backend at 8bc3a09242285de624c75bb8345630df499a7d07 and I ran it with:
MONGODB_FEATHERS_REALWORLD=mongodb://localhost:27017/feathers_realworld npm start

and patched the Vue frontend to point it to this server:
diff --git a/src/common/config.js b/src/common/config.js
index 03af84e..592a4fb 100644
--- a/src/common/config.js
+++ b/src/common/config.js
@@ -1,2 +1,2 @@
-export const API_URL = "https://conduit.productionready.io/api";
+export const API_URL = "http://localhost:3030/api";
 export default API_URL;

but then, when I visit the homepage at http://localhost:8080/ , the "Loading articles..." never disappears, indicating a problem, and on the server I see:
><EMAIL_ADDRESS>start /home/ciro/git/feathers-realworld-example-app
> node src/

info: mongodb://localhost:27017/feathers_realworld
(node:222399) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:222399) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
(node:222399) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
(node:222399) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
info: Feathers application started on http://localhost:3030
error: NotAuthenticated: invalid signature
    at new NotAuthenticated (/home/ciro/git/feathers-realworld-example-app/node_modules/@feathersjs/errors/lib/index.js:93:17)
    at /home/ciro/git/feathers-realworld-example-app/node_modules/@feathersjs/authentication/lib/hooks/authenticate.js:87:31
error: NotAuthenticated: invalid signature
    at new NotAuthenticated (/home/ciro/git/feathers-realworld-example-app/node_modules/@feathersjs/errors/lib/index.js:93:17)
    at /home/ciro/git/feathers-realworld-example-app/node_modules/@feathersjs/authentication/lib/hooks/authenticate.js:87:31

Any clues?

I had emailed Randy as well, and he suggested looking into the following:

The service will attempt to authenticate if an ‘Authorization’ header is present in the request (see src/hooks/authenticateif.js).  Perhaps that header is present but not valid?  I think the service assumes that non-authenticated access will not have an ‘Authorization’ header.

I was able to use a fresh installation of the vue-js real world  app calling a local version of the feathers-realworld-example-app without any trouble.  I notice that the vue app does not seem to clear the Authorization header properly (https://github.com/gothinkster/vue-realworld-example-app/issues/296#issue-544868917).  Is it possible that a token generated by the node-express-realworld_-example-app was retained by the vue app in the Authorization header and then passed to the feathers app?  This would produce the result you observed.  The feathers app will return an error indicating the token is  invalid (invalid signature).

Thanks for looking into this Randy,
When I tried again with chromium-browser --temp-profile the error was gone, so there was something leftover in the browser state, I should have tried that earlier.
BTW, I noticed that error reporting back to user on UI was not very correct, e.g. trying to login with a wrong username/password shows on UI:
body [object Object]

The message on the server terminal is clearer however:
error: NotAuthenticated: Invalid login
    at new NotAuthenticated (/home/ciro/git/feathers-realworld-example-app/node_modules/@feathersjs/errors/lib/index.js:93:17)
    at /home/ciro/git/feathers-realworld-example-app/node_modules/@feathersjs/authentication/lib/hooks/authenticate.js:87:31
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Do you know if this is a bug/missing feather here or on the Vue frontend? I might send a pull request to the relevant project later on to fix it.

Thanks for checking the feathers app.  Here's what I've found checking the Vue app with Feathers and Node Express.
The feathers error message looks like there might be a problem in the feathers error handling because the response includes extra (redundant) stuff.  The client has to grab the “errors” instead of assuming that’s all there is.
Looks like this:
{
"name": "NotAuthenticated",
"message": "Invalid login",
"code": 401,
"className": "not-authenticated",
"data": {
"message": "Invalid login"
},
"errors": {
"body": [
{
"name": "NotAuthenticated",
"code": 401,
"message": "Invalid login"
}
]
}
}
Should probably look like this:
{
"errors": {
"body": [
{
"name": "NotAuthenticated",
"code": 401,
"message": "Invalid login"
}
]
}
}
However, it looks like the Vue app does grab the “errors” value properly but doesn’t handle the “body” array properly and this is why we see body [object Object]..
The “body” array is in the spec:
Errors and Status Codes
If a request fails any validations, expect a 422 and errors in the following format:
{
"errors":{
"body": [
"can't be empty"
]
}
}
So that seems to mean that the Vue app has a problem.
A further wrinkle is that the Node Express app doesn’t include the “body” array in its error response.
{
"errors": {
"email or password": "is invalid"
}
}
And that’s why the Vue app displays a better error message when calling the Node Express app.


Changing the default font-family

Description
By reading the wiki, i didnt find anything mentioning if we can change the default font-family. Is there any way we can achieve this?
Thanks in advance.

Thanks a lot, it worked. I will be closing this one


DestructEntityEvent does not fire for non-living entities

Listener:
    @Listener
    public void onEntityDestruct(DestructEntityEvent event) {
        System.out.println(event);
    }

Example: drop sand from a height. The fallingsand entity dies but never fires the event.
This worked fine in 1.8.9

Is this still an issue? I distinctly remember there being a commit attempting to fix this.

Just tested this on latest bleeding (SpongePowered/SpongeForge@55d753c8d21dcd6ee4c4f6754de0e4e7e93a225c), still no event fired when the falling sand entity turns into sand block

Using latest SpongeForge (API6, 1.11.2) and still no event.

Will be solved by https://github.com/SpongePowered/SpongeCommon/pull/1157


[Documentation Update] Additional Deploy Method

Hello!
I have packaged this app for Cloudron - a self-hosted platform that allows users to install apps via a simple App Store interface. Would you accept a PR to add an 'Install on Cloudron' button to the Deploy section of the README?
Thanks for all the great work that went into RSS Bridge!

Feel free to open a PR. See also https://github.com/RSS-Bridge/rss-bridge/issues/2517

I think in this case it's okay to close. You are welcomed to open a PR for this @tomershvueli !

Opened a PR, thanks! #2559


improv: allow non-multiline to search beyond monitor limit

Hi! I am using Flit for inline search and found that I miss the functionality that the default vim f/F has: the capability on searching beyond the monitor limit. For example, in the following video, I have a non-wrap markdown opened and I can't get to : with Flit, with this PR this would be possible.
https://user-images.githubusercontent.com/73002733/233508727-ca833221-8500-4f87-a5da-606cca088d94.mp4

The problem with this simple workaround is that flit will label invisible positions, which is confusing. There are lots of possible ways to handle off-screen matches if we want that (we might tweak Leap itself), this is non-trivial, I have to think about it more.

The problem with this simple workaround is that Flit will label invisible positions

I see, indeed that will be a problem. I got a few suggestions:

What if I change it so that labels are present only for on-screen targets but still allow off-screen targets to be traversed via repeat motion only for inline search targets (because if this behavior exists on multiline search, it will be confusing)? But I guess this means that there will be necessary changes to Leap
Or maybe should it be turned into a configuration instead so people will expect this (invisible positions existence) if they turn it on?

What are your thoughts?

There are lots of possible ways to handle off-screen matches if we want that (we might tweak Leap itself)

What are your ideas to do so? I will be happy to contribute/be assigned to this issue/feature :D


CMake: version management

Currently the version is hard coded directly in CMakeLists.txt, e.g.:
https://github.com/google/cpu_features/blob/a8397ba4591237c17d18e4acc091f5f3ebe7391e/CMakeLists.txt#L9
So each time a new release is pushed, using the github release interface, you must do the sync manually with the CMakeLists.txt
We should instead try to generate it from the last git tag (and fallback to 9.9.9 or 9999 like gentoo) IMHO
Proposal
A small proposal (not tested!!!)
CMakeLists.txt:
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(utils)
set_version(VERSION)
project(CpuFeatures VERSION ${VERSION} LANGUAGES C)

cmake/utils.cmake:
function(get_version_from_git_tag GIT_VERSION)
  find_package(Git QUIET)
  if(NOT GIT_FOUND)
    message(STATUS "Did not find git package.")
    set(VERSION 9.9.9)
  else()
    # If no tags can be found, it is a git shallow clone
    execute_process(COMMAND
      ${GIT_EXECUTABLE} describe --tags
      RESULT_VARIABLE _OUTPUT_VAR
      OUTPUT_VARIABLE FULL
      ERROR_QUIET
      WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
    if(NOT _OUTPUT_VAR)
      set(VERSION "${RESULT_VARIABLE}")
    else()
      message(STATUS "Did not find any tag.")
      set(VERSION "9.9.9")
    endif()
  endif()
  set(${GIT_VERSION} "${VERSION}" PARENT_SCOPE)
endfunction()

function(set_version VERSION)
  # Retrieve version from git tag if .git is present otherwise set it to 9.9.9
  get_filename_component(GIT_DIR ".git" ABSOLUTE)
  if(EXISTS ${GIT_DIR})
    get_version_from_git_tag(GIT_VERSION)
  else()
    # If not a git repo force version to 9.9.9
    set(GIT_VERSION "9.9.9")
  endif()
  set(${VERSION} "${GIT_VERSION}" PARENT_SCOPE)
endfunction()

ref: Gentoo 9999 ebuild https://forums.gentoo.org/viewtopic-p-7428490.html

Thanks for the proposal! How does this interact with installation? Does it put a burden on package maintainers?

for package maintainers using a git clone with the tag, it should work.
Now the bad news, for archive based build, you'll end up with the fallback i.e. the wrong version name...

As per our off line discussion let's create a simple bash script that will take care of the release process (version bump, tag, github release and release notes)


Extensions in the user profile should be sorted alphabetically

In accounts/profile/<pk>/extensions, the list of extensions should be sorted alphabetically. I think at the moment they're sorted by creation date, which isn't visible on the page.

I'd like to give this a shot if that's alright

@jastee07 sure! Read our page on contributing to Numbas, and make sure you get the editor running locally so you can test your code.


Update README.md

Welcome to hello-world-all-programming-language!

Add the hacktoberfest topic also for the repository @afdulfauzan

Done!, Thx :)


V2 - Rebranding - User is redirected to V1 documentation when clicked on GetHelp > Docs

Navigate to V2 contributor console from github/gerrit
Click on GetHelp > Docs
Observed that user is redirected to V1 documentation link instead of V2 documentation link
V2 Documentation link https://docs.linuxfoundation.org/docs/v/v2/communitybridge/easycla

Still user is redirected to V1 docs link

Verified that the user is now redirected to docs v2 link, Hence moving this to QA done.
cc: @vinod-kadam

Verified that the user is now redirected to docs v2 link, Hence moving this to QA done.
cc: @vinod-kadam


New Profiler Options for Quantifier Instantiation Graph Analysis

adding experimental flags spinoff-all and capture-profiles

spinoff-all runs each query in its own z3 instance
capture-profiles silences the output to profile-all generation, and produces the instantiation .graph file

adding qi-graph tool to perform transformation/analysis on the produced .graph files

Closed due to being split into 2 PRs


No Error Messages

In no situation can I produce an error message that gets passed to my_panic.  I've tried all manner of combinations of the SOL defines, and different combinations of luajit-beta3 and lua5.4.  I've also tried many different kinds of errors.
I decided to try to catch exceptions in desperatin, and in most situations e.what() was empty.
The only time I recieved an error message was luajit-beta3, SOL_ALL_SAFETIES_ON, SOL_EXCEPTIONS_ALWAYS_UNSAFE, with no my_panic, and with a try catch block.  The exception was simply attempt to index a nil value.  However, sol also printed a message to stderr: [sol3] An error occurred and panic has been invoked: attempt to index a nil value.
I feel like I must be doing something wrong.  How can this be used without error messages.
#define SOL_ALL_SAFETIES_ON 1
#define SOL_EXCEPTIONS_ALWAYS_UNSAFE 1
#include <iostream>
#include "sol/sol.hpp"

void my_panic(sol::optional<std::string> maybe_msg) {
	std::cerr << "Lua panic: ";
	if(maybe_msg) {
		// There is never a maybe_msg.
		std::cerr << maybe_msg->c_str();
	}
	std::cerr << std::endl;
}
int main() {
	sol::state state(sol::c_call<decltype(&my_panic), &my_panic>);
	state.script(R"(abc=}a = 2{)");
	int a = state["abc"]["a"].get<int>();
}

Microsoft visual studio 2019.  Lua compiled as x64 static lib.  The project is x64.

Panic is only called at the absolute last second. If you want information, then you need to:

Turn safeties on (as you have in the example)
Use safe_script to specifically run a checking version that does not just discard the error message (and handle it by e.g. printing it out) (it sometimes will not do this by default)
Change the default error handler (https://sol2.readthedocs.io/en/latest/exceptions.html#exception-handling) / default protected function handler(https://sol2.readthedocs.io/en/latest/api/protected_function.html#id3) to actually print out warnings

I really appreciate the response.
I figured I misunderstood something.  However, the code below still does not produce an error message.
I want to avoid having to check every single result individually that I get from sol.  I hoped that accessing a bad/nil value would cause a failure with an error message.
#define SOL_ALL_SAFETIES_ON 1
#include <iostream>
#include <assert.h>
#include "sol/sol.hpp"

void lua_panic_handler(sol::optional<std::string> maybe_msg) {
	std::cerr << "Lua panic: ";
	if(maybe_msg) {
		std::cerr << maybe_msg->c_str();
	}
	std::cerr << std::endl;
}

int lua_exception_handler(lua_State* L, sol::optional<const std::exception&> maybe_exception, sol::string_view description) {
	std::cerr << "Lua Exception: ";
	if(maybe_exception) {
		const std::exception& ex = *maybe_exception;
		std::cerr << ex.what();
	} else {
		std::cerr.write(description.data(), description.size());
	}

	std::cerr << std::endl;

	return sol::stack::push(L, description);
}

std::string lua_error_handler(std::string msg) {
	std::cerr << "Lua error:  " << std::endl;
	return msg;
}

int main() {
	sol::state state(sol::c_call<decltype(&lua_panic_handler), &lua_panic_handler>);
	state.open_libraries(sol::lib::base, sol::lib::debug);

	state.set_function("lua_error_handler", &lua_error_handler);
	state.script(R"(
		function handle_error(msg.)
			local trace = debug.traceback();
			return lua_error_handler(msg .. ". " .. trace)
		end)");

	sol::protected_function::set_default_handler(state["handle_error"]);
	state.set_exception_handler(lua_exception_handler);

	// All good here. I can test the script result.
	auto result = state.safe_script(R"(abc={a = 2})");

	// No error message here. However the program terminates.
	int a = state["abc"]["not_a_key"];

	/*
	// Is this the only way to get an error message:
	sol::optional<int> a = state["abc"]["not_a_key"];
	assert(a.has_value() && "no value for abc[not_a_key]");
	*/
}

Is there a worked example of getting useful errors out for this kind of thing?  Being told that a string was expected somewhere in a Lua script is not a great developer experience.  I typically end up adding a load of print statements to figure out where the error is, presumably the Lua interpreter knows exactly which line failed.


Update function deploy to update the specified alias even if code has not changed.

Closes #686

@tj bump

hmm oddly seems to not add the alias, no error from the UpdateAlias call though haha

ah weird the API / Console just seem really delayed

we'll have to check for an error in Function.removeVersions() if the func has an alias as well, forgot to do that


0.6.4 install fails on Mac OSX, Windows CI machines

Minimal, reproducible code sample, a copy-pastable example if possible
We (https://github.com/napari/napari/issues/665) are running into errors installing dask / zarr on our mac osx and windows CI due to the recent 0.6.4 release. On our linux CI it installs fine. For mac and windows we end with the following, but please see the links above for the full stack traces:
  ERROR: Failed building wheel for numcodecs

Problem description
Expected outcome is successful install
Version and installation information
Please provide the following:

Value of numcodecs.__version__ 0.6.4
Version of Python interpreter: 3.6 and 3.7
Operating system: Windows and Mac
How NumCodecs was installed: pip in our CI

I've responded in the issue.
FWIW we also test builds on macOS (as of this release in fact) and Windows. So I think once the CI issue is sorted things will start working for you.

@jakirkham any chance of numcodecs uploading wheels to PyPI? As mentioned in the issue, users are having issue installing it, too.

Please see issue ( https://github.com/zarr-developers/numcodecs/issues/70 ).

Fun! 😬

Maybe this ( https://github.com/zarr-developers/numcodecs/issues/70#issuecomment-552052779 ) helps?

Hmm...thinking about this a bit more it doesn't appear Blosc has changed the version of Snappy they are using. So that's not likely the issue
We use to skip over compilation failures and then just not provide the C extensions. However we changed that recently as users were unhappy not having a clearer error. So it is likely this was never  working on macOS and Windows and we are now recently seeing this.
So I think there is probably something off about how we are building the Snappy portion of the extension in particular. I'll see if I can reproduce it and report back.

Was unable to reproduce the issue unfortunately.
My best guess is PR ( https://github.com/zarr-developers/numcodecs/pull/211 ) fixes the macOS issue. Though really need feedback to be sure.
The Windows error seems to be complaining about Visual Studio not being installed. So that would need to be installed by the user.

@jakirkham but 0.6.3 wasn't causing any issues, and users were happily using napari. Is there a way to not depend on this compilation in future releases? e.g. a hard warning, or a numcodecs-lite module that zarr could depend on?

Yeah that's fair.
We decided to make the errors hard in PR ( https://github.com/zarr-developers/numcodecs/pull/197 ) after some discussion.
We could revert that PR. Perhaps users wanting to file the build could set an environment variable to get that behavior. WDYT @llllllllll would this work for your use case?

@jakirkham this was interesting:

This change just removes the fallback, if users would like to install without
extensions, they must pass the (existing) DISABLE_NUMCODECS_CEXT=1 envvar.

Is this something that can be done in the napari source distribution, so that if the user is pip installing napari, this will work? That would be a nice solution. I understand totally concerns that silent failure is not great.
However, what we really want is to mark compilation as optional, as before: if a user has a compiler and it works, great, if not, well, from napari's perspective, we don't really care (until someone complains 😛). But we don't necessarily want to go with a saddled numcodecs if it's not needed.
I kinda think numcodecs-lite would work well until wheels are available, because then there is a clear error message to display to users who need the advanced codecs: please install numcodecs, and those users can go through the trouble of installing compilers etc, but most users can go on blissfully with their lives...

@jakirkham this was interesting:

This change just removes the fallback, if users would like to install without
extensions, they must pass the (existing) DISABLE_NUMCODECS_CEXT=1 envvar.

Is this something that can be done in the napari source distribution, so that if the user is pip installing napari, this will work? That would be a nice solution. I understand totally concerns that silent failure is not great.

Yep, this is a thing you could do.

However, what we really want is to mark compilation as optional, as before: if a user has a compiler and it works, great, if not, well, from napari's perspective, we don't really care (until someone complains 😛). But we don't necessarily want to go with a saddled numcodecs if it's not needed.
I kinda think numcodecs-lite would work well until wheels are available, because then there is a clear error message to display to users who need the advanced codecs: please install numcodecs, and those users can go through the trouble of installing compilers etc, but most users can go on blissfully with their lives...

Yep, I get that. For clarity what I'm proposing is...

Revert the patch
Have users that want a failure opt-in (as opposed to others opt-out)
Users get a warning about extensions not compiling and life continues

That said, I do want to hear feedback from other users. Maybe there are other things we are missing. 🙂

Perhaps users wanting to fail the build could set an environment variable to get that behavior.

The issue is that people don't know that they would need to do this because soft compile errors are non-standard. I don't think pip lets you warn from a setup.py, so there is no way to let the user know something has failed until your code crashes with an importerror. If you get an error, then you know it doesn't work and can pass the variable to disable the extensions and try again. Maybe we need to enhance the error message to tell people about this flag. We could also add something like NUMCODECS_SILENT_COMPILE_ERRORS=1 to get back to the old behavior up front.

Yep, this is a thing you could do.

... how? I thought it would be quick to find information on setting environment variables in e.g. pyproject.toml but I don't see how. I suspect that messing with os.environ within a setup.py won't affect the environment when dependencies are being installed, though I don't actually know this...

The issue is that people don't know that they would need to do this because soft compile errors are non-standard.

For sure. I don't love it.
That said, we are now getting an uptick in novice users and they are running into compilation issues, which is not great either. Please see issue ( https://github.com/napari/napari/issues/665 ) for context.

I don't think pip lets you warn from a setup.py, so there is no way to let the user know something has failed until your code crashes with an importerror.

I think if we print things and they use verbose a message gets out, but yeah you are right pip doesn't make this easy.

If you get an error, then you know it doesn't work and can pass the variable to disable the extensions and try again. Maybe we need to enhance the error message to tell people about this flag. We could also add something like NUMCODECS_SILENT_COMPILE_ERRORS=1 to get back to the old behavior up front.

Yeah it's worth at least improving the existing message. Though is there something more we can do here?

Yep, this is a thing you could do.

... how? I thought it would be quick to find information on setting environment variables in e.g. pyproject.toml but I don't see how. I suspect that messing with os.environ within a setup.py won't affect the environment when dependencies are being installed, though I don't actually know this...

I see, you mean in the build scripts of your project? No I'm not aware of anything offhand. Something may exist, but it probably requires more digging.
That said, users could set the environment variable externally before running pip, which should workaround the problem.

That said, users could set the environment variable externally before running pip, which should workaround the problem.

Ah sure! But no, my priority is that users can just type pip install napari and things will Just Work. I am 100% sympathetic to the idea that compilation errors should not just pass silently by default, but I hope we can get to a solution that does not require us to pin numcodecs forever! I still think a two-tiered release, numcodecs and numcodecs[all], might meet everyone's requirements? Though yes, it is definitely more work for maintainers...
Wheels would make this whole conversation moot, but I'll leave that discussion to #70.

I think pip install numcodecs[blosc] or [all] would also cover my needs. if there was some note in the docs for the blosc codec or or some of the other compiled codecs, then when a new user gets the import error they will quickly find that note and move on. I assume napari doesn't use blosc or the other compiled codecs, so not installing them isn't an issue, right?

If someone is willing to do that work and maintain it, then it would be ok with me too.

Just weighing in here to support @llllllllll's perspective: I maintain some downstream packages that use the blosc codecs, and get hit by novice users installing from pip and not noticing anything is wrong until import fails. It seems like adding numcodecs[blosc] would be quite a lot of extra work though, since we'd probably want some error messaging around trying to import blosc when the extras aren't present.
Probably the only real fix for this is to have windows and OSX wheels? Wheels for linux would be nice, but failing when there's no compiler on linux is totally fine IMO.

Yeah @jeromekelleher that's what we are discussing in issue ( https://github.com/zarr-developers/numcodecs/issues/70 ). That or using wheels from some of our dependencies (like Blosc) to simplify the installation process here.

As of 0.7.1, we now build and publish wheels from CI to PyPI for macOS, Linux, and Windows. Would encourage people to give those a try and report back.
Going to go ahead and close this (assuming wheels have fixed the issue), though please feel free to reopen (or ping us to do so) if not. Thanks!

:tada:


[Timers] Seconds are not updating on menu

Extension
https://www.raycast.com/ThatNerd/timers
Raycast Version
1.84.2
macOS Version
15.0.1
Description
After starting a stopwatch, the seconds do not update on the menu item unless we click on it. The seconds freeze again as soon as we close the menu item details by clicking outside of it. I have added two more apps for comparison.
https://github.com/user-attachments/assets/b16531b7-f4ef-4366-a607-9652a9b82e92
Steps To Reproduce

MacOS Sequoia 15.0.1 (M1 Max Pro, Apple Silicon)
Start a stopwatch using the timer
Check the timer menu item

Current Behaviour
Seconds do not update on the menu item
Expected Behaviour
Seconds should be updated on the menu item

Hi @sagarpatel288, thanks for using Timers!
Does it manage to update after around 10 seconds? If you deactivate the menu bar item ("Stopwatch Menu Bar" -> ⌘K menu) and reactivate it, does it manage to update after 10 seconds when a stopwatch is running?

Thank you for getting back to me so quickly, @ThatNerdSquared. I appreciate your help. To clarify, the updates occur every 10 seconds. Would it be possible to receive continuous updates instead? That would be helpful for a stopwatch! Thank you very much for considering this request.

Hi @sagarpatel288 — unfortunately, the 10-second refresh rate isn't something I added in, it's a limitation of Raycast itself. The minimum refresh interval allowed by the Raycast API is 10 seconds, so there's not much I can do to have continuous refresh, from an extension developer standpoint.
Sorry about that :( It might be worth putting a suggestion in the Raycast Slack if you'd like to see this limitation lifted.

@raycastbot close as not planned


JS: Use guard nodes in useless-conditionals

This changes useless-conditional to use ConditionGuardNode as the basis to determine if something is a condition. This has a few consequences:

It recognises loop conditions.
It recognises z in if (x && z) as a conditional. Previously only x and x && z were recognised.
For !p it will report that the variable p is always true/false, rather than pointing to the whole !p expression.
The whitelisting rules apply to the "inner" condition, such p instead of !p. This means trivial expressions like !true and true && true will not be reported anymore, since true is already whitelisted.

The two latter ones are debatable, but for now I've just kept it like this for simplicity.
Moving to ConditionGuardNode is also necessary in order to report range analysis results with this query. Putting this up separately so the results won't interfere with the evaluation of range analysis.

That alert could indeed be confusing. Unfortunately, I can't write a test case that reproduces the example since return-type inference is not in yet. At the moment it will always highlight a variable or a trivially truthy expression like new E(), and conditions like !(new E()) are unlikely to occur in practice.
I believe we got a report from a user about this once. I can't seem to find it now, but I believe this change would actually have fixed it. It would have mentioned the variable itself in the alert message instead of highlighting something like !p. So highlighting the "root" condition isn't always the answer.
I propose to keep this change, but once return-type inference lands, add another special case for function invocations, similar to what we have for variables.

return-type inference is not in yet

It is, if the callee is a LocalFunction (provably only invoked at a single location):
function complex1(v){
    return v
}
function complex2(){
   return true;
}
if (!(complex1(complex2())) {
//    ^^^^^^^^^^^^^^^^^^^^ // this expression always evaluate to false
} else {
// so this code is dead
}

Okay so the isConstantBooleanReturnValue heuristic is interfering. On master, it whitelists any call or a negation or a call unless it's wrapped in a spurious parenthesis. With this change, it makes no difference if the parenthesis is there. I don't think it's worth going out of our way to preserve that behaviour.

Oh, sorry, that was a bit quick. I was also trying out some ideas but nothing quite worked out so far.
I started an evaluation last night: https://git.semmle.com/asger/dist-compare-reports/tree/domitian.ti.semmle.com_1540941089548
One of the results looks a bit fishy, the one about event being true in WebKarma: https://github.com/usc-isi-i2/Web-Karma/blob/c1a718ee44f0754aba45a9413cd6e44393cf7aa8/karma-web/src/main/webapp/uiLibs/jquery/js/jquery.qtip.js#L1248
I think the problem is that there is an outgoing guard node from the rightmost event in that line, belonging to the enclosing || event. But the target CFG node must have multiple guard nodes targeting it, so it's not dead just because one guard is always true/false.
This is objectively a false positive, so we should probably revert this and rethink.

Sorry about that, I read the rebase comment as if you were done. Will you open the revert?

I'll revert when I get in.

I'll put up another PR that just addresses the first two bullet points after the revert has merged.


vivaldi-widevine: 4.10.2449.0 -> 4.10.2557.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/widevine/versions.
meta.description for vivaldi-widevine is: "Widevine support for Vivaldi"
meta.homepage for vivaldi-widevine is: "https://www.widevine.com"
meta.changelog for vivaldi-widevine is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.10.2557.0 with grep in /nix/store/1jmhd06ml2xvvbkaijgiqdm03vzqgaal-widevine-4.10.2557.0
found 4.10.2557.0 in filename of file in /nix/store/1jmhd06ml2xvvbkaijgiqdm03vzqgaal-widevine-4.10.2557.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
vivaldi-widevine

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/1jmhd06ml2xvvbkaijgiqdm03vzqgaal-widevine-4.10.2557.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 vivaldi-widevine https://github.com/r-ryantm/nixpkgs/archive/e776fd732d500790c20078dafa66cd3491800ea2.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/1jmhd06ml2xvvbkaijgiqdm03vzqgaal-widevine-4.10.2557.0
ls -la /nix/store/1jmhd06ml2xvvbkaijgiqdm03vzqgaal-widevine-4.10.2557.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:

vivaldi-widevine

Maintainer pings
cc @betaboon for testing.

Hey @ryantm could you by any chance help me understand why your bot did not update/open a PR for the package widevine-cdm (cf. https://github.com/NixOS/nixpkgs/blob/7d44e664ca57801509881a165e8b7ac2ce0c2c23/pkgs/applications/networking/browsers/misc/widevine-cdm.nix)?
It seems like repology consider that the package widevine-cdm (cf. https://repology.org/project/widevine/versions) is different from widevine (cf. https://repology.org/project/widevine/versions).
Do you have any tips to help your bot update the package widevine-cdm?

why your bot did not update/open a PR for the package widevine-cdm

Looking at https://repology.org/project/widevine-cdm/versions, looks like we are the only distro that ship the package widevine-cdm (at least in this name), since repology figure out the latest version from distros that ship that, you cannot auto-bump this with repology's data.
I imagine to auto-bump this with r-ryantm, you can add an updateScript to this package, but it is actually not clear to me why cannot merge two packages into one if both vivaldi-widevine and widevine-cdm shares the same source and install the same things (libwidevinecdm.so).

I imagine to auto-bump this with r-ryantm, you can add an updateScript to this package

Thanks, TIL the passthru.updateScript attribute.

it is actually not clear to me why cannot merge two packages into one if both vivaldi-widevine and widevine-cdm shares the same source and install the same things (libwidevinecdm.so).

That is probably the best thing to do.

Looks like vivaldi-widevine and widevine-cdm is essentially the same thing, with vivaldi-widevine producing a better looking output (having things installed into $out/share/google/chrome/WidevineCdm rather than directly inside $out). Shall we merge them?


docs: update CustomPlugin.ts reference

PR Summary
Small PR - commit fe7a2c5a2a5c0b5ef761b5b8bb05f774dd4a2c61 moved the location of the CustomPlugin.ts script. This PR adjusts sources to changes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 21.095%

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
3946

Relevant Lines:
19894

💛  - Coveralls


error in documentation file

the short description of the function Mat_GetVersion in the file documentation/Mat_GetVersion.3 is the same as the short description for Mat_GetFilename but should not be.

Thanks for reporting. Fixed.


Add a link to net-internals

Most people have no idea about this page :)

Thanks for this! Makes me realize this should probably have docs on exactly how to get to the HTTP/2 log.

:bow:


Separation for native plugin

Motivation
Idea of this aproach is to follow the keycloak and firebase (and current proposal) so javascript code will be totally separated from the native and used directly.
Native functionalities will be available as separate plugins that can be called from js code when platform is detected.

@paolobueno @josemigallas Added changes that made this stuff working.
I'm going now to try integrate that with the demo app and we could to 0.1.0 test release for both auth and core. The metrics work will be done as part of this epic: https://issues.jboss.org/browse/AGCORDOVA-221 This should be done for the
What is outstanding here is jst documentation that could be done in separate PR.

I have tested this implementation with sample application.
There will be some major changes in end user api needed that we could improve in other PR, but apart from that everything should work. To know what I'm talking about I have made PR's with TODO's so we can actually track those and create jiras/or fix things on the spot.
@josemigallas Configparser inteliassist is not working with any so we should probably remove the type. It makes no sense and helper methods should be restored.

@wtrocki if type intellisense does not work, I think it's a typings problem. I suggest we create an enum instead but helper methods would also be fine if you guys prefer that approach.

@josemigallas See example app integration. Config should be an function not class per se. It delivers no value and it's clunky to use in plain JS.


initial setup does not work

What happened?
initial setup leads to error: (tried versions 2024.6.1 to .8). Errors of version .8 is this:
How to reproduce
Installation via HACS, restart HA, install integration (with OWM)
Relevant log output
Logger: homeassistant.config_entries
Quelle: config_entries.py:594
Erstmals aufgetreten: 09:36:13 (1 Vorkommnisse)
Zuletzt protokolliert: 09:36:13

Error setting up entry Smart Irrigation for smart_irrigation
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/smart_irrigation/__init__.py", line 145, in async_setup_entry
    await async_register_panel(hass)
  File "/config/custom_components/smart_irrigation/panel.py", line 27, in async_register_panel
    hass.http.register_static_path(PANEL_URL, view_url, cache_headers=False)
  File "/usr/src/homeassistant/homeassistant/components/http/__init__.py", line 428, in register_static_path
    self.app.router.add_route("GET", url_path, serve_file)
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_urldispatcher.py", line 1115, in add_route
    return resource.add_route(method, handler, expect_handler=expect_handler)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/aiohttp/web_urldispatcher.py", line 356, in add_route
    raise RuntimeError(
RuntimeError: Added route will never be executed, method GET is already registered

Which version are you running?
2024.6.8
Diagnostics file

[X] I have attached a diagnostics file

Additional information
never got a working setup. Can't seem to download diagnostic logs .

not sure what is going on here - I have tried multiple times on my machines to uninstall and reinstall - not hitting this error at all. did you uninstall / reboot / reinstall?

I tried again: Deinstall ans remove from HACS. Reboot HA. Reinstall 2024.6.1, switch to beta and installed 2024.6.9 in HACS. Reboot HA. Install in HA.
That leeds to these errors in logs:
`Logger: homeassistant.config_entries
Quelle: config_entries.py:594
Erstmals aufgetreten: 12:44:16 (1 Vorkommnisse)
Zuletzt protokolliert: 12:44:16
Error setting up entry Smart Irrigation for smart_irrigation
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smart_irrigation/init.py", line 154, in async_setup_entry
await store.set_up_factory_defaults()
File "/config/custom_components/smart_irrigation/store.py", line 308, in set_up_factory_defaults
await self.async_factory_default_modules()
File "/config/custom_components/smart_irrigation/store.py", line 342, in async_factory_default_modules
MODULE_DESCRIPTION: localize(
^^^^^^^^^
TypeError: unsupported operand type(s) for +: 'coroutine' and 'str'`
I verified my OWM-API-key by installing OWM integration. That works fine.
My HA ist on 2024.6.2

closing as likely fixed in https://github.com/jeroenterheerdt/HAsmartirrigation/releases/tag/v2024.6.11. Feel free re-open create a new issue if not fixed.

I can confirm it works now. Thank you!


[doc][OSSM-8228] Added Kiali changes between OSSM 2 and 3.

What type of PR is this?

[ ] Enhancement / New Feature
[ ] Bug Fix
[ ] Refactor
[ ] Optimization
[ ] Test
[x] Documentation Update

What this PR does / why we need it:
Adding information about Kiali changes between OSSM 2 and OSSM 3.
Related Issue/PR # OSSM-8228

/ok-to-test

/retest

/override ci/prow/e2e-kind ci/prow/e2e-ocp-4-18


Signal suggestion

Can we inherit custom signals  in children nodes, please?
Or alternately  make a "in memory stack" where i have all signals with their paths related with their current position in node tree.
These paths will be dynamically update if  any node will change position.
Thank you.

It doesn't inherit signals? I wonder why not, the built-in signals are inherited just fine.

Was a surprise to me too. I didn't check if the 2.4 had same behavior.

no, signals are inherited by class inheritance, not by parent/child relationship imagine you have an sprite children of an area2d, do you expect to EMIT a body_enter signal? that doesn't make any sense. also if it does, how many area2d could be in highter levels of the scene?

I talk about custom signals.

that would only lead to confusion, i'm not up to it, breaks encapsulation, class declaration and class inheritance.
If you want to emit you parent's signal just call get_parent().emit_signal(...)

confusion and flexibility are 2 side of same medal. In other hand we talk about a powerful feature where we can avoid to hard-code node-path in code.. At least in children.
Unique naming convention and we can fire a signal without make any modification in gdscript even if we move nodes in tree - at least if we keep that node in lower level in compared to node' signal.
like this:
NodeBase:
signal my_signal
....
...
somewhere in tree node
my_node:
connect("my_signal", "my_other_node", "my_function", params[])
.....

"somewhere in tree node" yeah, that kind of programing is very deterministic :/
you dont even know wich nodes or how many nodes will that call connect. Using groups is much safer and is deterministic since you most probably know what nodes are on each group

Oh, I misunderstood the request. I thought you were talking about class inheritance. The child nodes in a scene tree aren't supposed to "inherit" the signals, this would lead to confusion.

I don't understand. Rules are made to avoid confusion.
Is not that I cannot make a mess in any language programming if I don't follow rules.
In my opinion I would be nice/powerful to see and use any signals in my parent tree. That's it.

The Rule you propose is confusing, signals are determined by class, of you emit a signal "my_custom_signal" that is not exposed in reference, and is not declared on the script neighter other scripts extended by the current one, then how are you suposed to know who will emit this? maybe you dont even have a parent on the tree with this signal. What happens then? The confusion comes because:

If you work in team, other members might not know what you intended to do
An object wich you didn't want to emit the signal end up emmiting it because it was on the tree
what happens if you are an Area2D node and you have given your parent sprite an "enter_body" signal?
if you emit the signal from a child, who do you connect to? to the parent or the child?

I have no a clear view  of the current code. I'm aware that.
But I have to explain better what I intend with an use case:
We pretend to have a tree like this one (as the code is now)
Node->Node2D->Sprite
------->--------->Camers2D
------->--------->CollisionShape2D
------->Control->CanvasLayer->Label
What I meant was: I have a script in "Node" called "Manager". Is scope will be to manager of my game.
So my idea was to "define" signals in that script. And from another node in his children eg: "Label" I will use it to run some logic in "manager" script without need to use "get_node()" function...
Why?
Because If I need to use move/use that "Label" elsewhere or in another scene where I have no visibility of the "Node" it will be easy to build my "sub-sub-scene" without thinking: "And now what? The path that i think to put here is the right one?". Because I was thinking at some point where I can build a sub.sub-scene in GDscript . and will be difficult to me keep track the whole picture.
In short I think if there was something like that the decouple between different scene will be better.  I prefer to reuse a scene in other context instead to forced to reinvent the wheel again.
I understand we have not enough documentation to help us to use in the right way Godot. But I think this feature will be useful.
Apologize if my English is not clear :)) I try my best.

@git2013vb ever heard of the XY problem? You are defending a possible solution instead of declaring what your problem really is. The scene tree is the hardest part to decouple, but it's not impossible, you just need to carefully use signals and pass NodePaths around. I believe you are overthinking this, you don't need to decouple everything. And you shouldn't design it around potential changes, it's easier to just make it work and then refactor when you need to expand.
If you really really need to, you can use propagate_call and propagate_notification to pass info down the tree.

Thank you :) I will take a look .

Is this still a wanted feature?
Also, if it is, I think get_owner().emit_signal() could be more useful than get_parent().emit_signal() so that one can rearrange the scene without breaking things randomly.
Also, keep in mind that you can connect a signal to emit_signal, in order to "rebroadcast" a signal. If you do that via the scene tree, the scripts involved only need to declare the signal with add_user_signal() or the signal keyword (and you get to rearrange things at will).

Yes thanks

Hi,
After been used to use signals as are now I think is not anymore do what I suggested here. Also with the news about 4.0 I think is ok as is now ( if I need something different - that is no so different -  I can still use events in C#)
Tank you all. Ill close this :)


simplex-chat-desktop: 6.0.3 -> 6.0.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for simplex-chat-desktop is: Desktop application for SimpleX Chat
meta.homepage for simplex-chat-desktop is: https://simplex.chat
meta.changelog for simplex-chat-desktop is: https://github.com/simplex-chat/simplex-chat/releases/tag/v6.0.4
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.0.4 in filename of file in /nix/store/2gw2k51if2bcw0b053kzjhdk88pfmhx4-simplex-chat-desktop-6.0.4

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

simplex-chat-desktop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2gw2k51if2bcw0b053kzjhdk88pfmhx4-simplex-chat-desktop-6.0.4 \
  --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 simplex-chat-desktop https://github.com/r-ryantm/nixpkgs/archive/d3609033f3933e2faccd543cce4ab995fef286da.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d3609033f3933e2faccd543cce4ab995fef286da#simplex-chat-desktop

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2gw2k51if2bcw0b053kzjhdk88pfmhx4-simplex-chat-desktop-6.0.4
ls -la /nix/store/2gw2k51if2bcw0b053kzjhdk88pfmhx4-simplex-chat-desktop-6.0.4/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:

simplex-chat-desktop

Maintainer pings
cc @TerryGarcia @yuuyins for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

It seems to work without any breaking changes
@NixOS/nixpkgs-merge-bot merge


Is it available to increase timeout between message edits in telegram from bot?

I'm receiving timeout from Telegram for editing message:
I'm using: "v3" (browser-based)
package.json:
  "dependencies": {
    "chatgpt": "4.3.2",
    "chatgpt-v3"<EMAIL_ADDRESS>    "config": "^3.3.9",
    "dotenv": "^16.0.3",
    "lodash": "^4.17.21",
    "node-telegram-bot-api": "^0.60.0",
    "puppeteer": "^19.7.0"
  }

 offset 305
2/17/2023, 9:13:18 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:23 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:26 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:30 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:38 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:42 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:46 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:50 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:53 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:13:56 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:01 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:04 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:07 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:11 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:14 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:17 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:21 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:26 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:30 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:33 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305
2/17/2023, 9:14:35 AM ⛔ Edit message error: ETELEGRAM: 400 Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 305

I faced this issue with long code output. Short text answers works fine

Try increasing the value here (it's 3000 ms currently):
https://github.com/RainEggplant/chatgpt-telegram-bot/blob/543d16ed1c6eb63f37b542c47b2d905f8391b559/src/handlers/chat.ts#L54

Thank you


Attempt to index number with 'Type'

Hello,
I'm writing this issue to report an error caused by this bit of code:
for i = 1, #path_array do
pointer = pointer[path_array[i]]
end

I think the bug is caused by the pointer table changing value to an element in itself, but the for loop doesn't end after that change so it tried to index path_array[i] from a number.
Error code:
ServerScriptService.Lib.ReplicaService:431: attempt to index number with 'Type'

please help?


Zeromq prototype

Zeromq prototype
Description
Small prototype for communication between rust and python via zeromq
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #410 (9a34f47) into main (1f63c53) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #410   +/-   ##
=======================================
  Coverage   96.58%   96.58%
=======================================
  Files          50       50
  Lines        9000     9000
=======================================
  Hits         8693     8693
  Misses        307      307

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


CoT: Chain-of-Thought Prompting Elicits Reasoning in Large Language Models

https://arxiv.org/abs/2201.11903


Feature Request - Allow users to send emails in html format

In order to ensure proper styling we use HTML and CSS to code our emails before sending. It would be super helpful to be able to just copy and paste html and send through this app. Thanks!

Hi @Jazzahn ,sorry for late answer.
I was very busy, working on an evolution of EmailFlare.
It's https://combustion.email
Where you can send emails and manage multi domains very easily.
I already implemented the Raw HTML feature there.
If you want to give it a try let me know.
I will implement this anyway this weekend.


Helm needs to handle PodDisruptionBudget updates

If a chart includes a PDB, and a value in this is changed, helm errors out with
Error: UPGRADE FAILED: PodDisruptionBudget.policy "example-app-pdb" is invalid: spec: Forbidden: updates to poddisruptionbudget spec are forbidden.

If updates are not allowed, helm should delete and replace the object, IMO.
Tested on helm 2.5.1 - will test on latest to confirm behaviour there.

Hi @egeland
Can you confirm you tried the --force command?
--force                force resource update through delete/recreate if needed

I'm going to close this ticket due to inactivity, but please re-open if this still needs to be addressed. Thanks!

@bacongobbler I'm hit with the same issue using 2.8.0.
helm upgrade consul -f /app/config/infr/consul/values.yaml stable/consul --namespace=vault --force
Error: UPGRADE FAILED: no PodDisruptionBudget with the name "consul-consul-pdb" found

I'm also able to reproduce this:
helm version
Client: &version.Version{SemVer:"v2.12.0", GitCommit:"d325d2a9c179b33af1a024cdb5a4472b6288016a", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.0", GitCommit:"d325d2a9c179b33af1a024cdb5a4472b6288016a", GitTreeState:"clean"}

I have seen this exact behaviour too. It's preventing us from ensuring availability during node maintenance.

Same issue. Only occurs occasionally (v2.12.3). I'll add force to all my scripts and see if it goes away.

Also for me:
kubectl get pdb referral                                                                                10:29:50
NAME       MIN AVAILABLE   MAX UNAVAILABLE   ALLOWED DISRUPTIONS   AGE
referral   N/A             1                 0                     2d

but at the same time, helm reports:
no PodDisruptionBudget with the name "referral" found

helm version                                                                                10:31:18
Client: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}

I tried deleting manually pdb resource and deployment itself, but then got :
UPGRADE FAILED
ROLLING BACK
Error: no Service with the name "referral" found

what worked for me is rolling back to the latest successful deployment and then trying deployment again. So I have suspicion helm in some way couldn't handle history of failed deployments as on fail it was rolling back to another failed release (I was using --atomic option).
Perhaps --atomic should rollback to the latest successful deployment?

Rolling this ticket into https://github.com/helm/helm/issues/7082 to keep the conversation all in one plare RE: recreating objects on an upgrade. Thanks.

Hi there,
I'm trying k8s version update from 1.21.7 to 1.22.6 in my AKS cluster. Its provisioning status is failing after repeated attempts due to pdb for ingress deployment which is done through helm chart.
I deleted current pdb deployment and ran a new pdb with Allowed disruption: 1 (earlier it was 0) but it didnt got applied and rolled back to the earlier values (Allowed disruption: 0)
Kindly guide/suggest a way to overcome this issue ASAP.
Will appreciate your inputs.
Thanks in advance !!


[Minor Feature Request] Add QR code for easier BunnyManager download

Why?

It would allow for more quick sharing/downloading of the app.

Ok but why

I find it very convenient. It's not THAT important but its a missed oppertunity, I usually look for apps on PC and then id have to look for it again on my phone (heres where the QR comes in handy)

Bunny is not available on PC.
Regular download links work just fine.

fair enough
atleast i tried

Bunny is not available on PC.
Regular download links work just fine.

also keep in mind im well aware that its not on PC
but i looked up the app on PC and with a simple scan i can just install directly to my phone

now you happy?


clicintattr.mode WARL behavior as cliccfg.nmbits changes

As cliccfg.nmbits changes, is the WARL behavior of clicintattr.mode affected?
The table in section 4.2.1 shows x for clicintattr.mode.  Does this imply anything about the WARL behavior?

Discussed in TG.  when nmbits is 0, clicintattr.mode all values are legal.    so WARL implies can write any value to clicintattr.mode.

closed by pull #259


 It's just been driving me nuts since I see it in logs quite a bit :)

I fixed this with #1183.  Thanks for the find!  I'll release a new 0.9.6-SNAPSHOT with this change.


Strings for Note

strings.xml.txt

Also, if your tablet has the bootloader locked for whatever reason, this link shows you how to unlock it (data is wiped): http://opensource.rock-chips.com/wiki_Fastboot#Unlock_your_Device_via_Fastboot

Thanks! The strings are verified and merged.


Fix Javadoc errors identified by Java 8 DocLint

Trying to run any build phase which generates Javadoc was broken when using
Java 8, because of the stricter checks imposed by the DocLint feature. This
commit fixes numerous Javadoc problems reported by the DocLint.

:+1:


optional CB

So we can emit an event after the stream 💅

The main reason for this change is to be able to trigger browsersync refreshes after the upload is done like a boss:
const browserSync = require('browser-sync')
const watch = require('gulp-watch')

const reload = () => {
  browserSync.reload()
}

gulp.task('theme:watch', done =>
    watch(themeFiles)
      .pipe(theme.stream(undefined, () => {
        reload()
        done()
      }))
      .on('error', config.onError)
)

I have tested and works flawless

@tmslnz give this a look if you can, i'll also do a pull of your latest changes so the merge is easy for you, im sure this is useful 😁  since before the browsersync reload was not always consistent haha

Agree will have a look soon.

@mike3run
I've had a look and tried this, but it overlaps Gulp's done per-file callback. Being called each time one file completes is not too useful (crazy browsersync reloads for example) and it causes errors when a large amount of files are changed at once. I've had Error: write callback called multiple times, likely due to the file.done function now calling the stream callback as well as your "cb".
I think you can do what you're trying to do without a callback, but with dependent tasks, like so:
// Note this is the "native" gulp.watch, not `gulp-watch` module.
gulp.watch( 'src/assets/js/**/*.js', [ 'reload-on-js' ] );
gulp.task('js', function () { return gulp.src(…).pipe(…).pipe( theme.stream() ) });
gulp.task('reload-on-js', ['js'], reload);

The above will hit reload only at the end of the js task, if that has theme.stream() in its pipes.
Alternatively, since today's release (1.1.1) you can register a listener for theme.on('done', handler) or theme.on('error', handler). These will fire when one or more files in a queue have finished uploading (or errored out).

Apologies my mistake in 1.1.1 we had a bug in the queue, fixed in 1.1.2.
Red my previous

and it causes errors when a large amount of files are changed at once. I've had Error: write callback called multiple times, likely due to the file.done function now calling the stream callback as well as your "cb".
That’s not the case anymore, but the overlap with Gulp’s idiomatic completion callback still stands.
Let me know if the task dependency example above works for you, as that should eliminate the need for a callback on stream.

Also: events!

I think it might be since you use gulp 3 and I use gulp 4, in which it works fine, also browsersync provides options to only do the refresh after a certain amount of seconds have passed:
https://browsersync.io/docs/options#option-reloadDebounce
browserSync.init({
        port,
        open: false,
        logConnections: true,
        logPrefix: 'Pixel2Html',
        proxy: `https://${config.shopify.shopName}.myshopify.com`,
        startPath: `?preview_theme_id=${config.shopify.themeId}`,
        reloadDebounce: 2000,
        injectChanges: false,
        https: {
          key: fakeCert.key,
          cert: fakeCert.cert
        }
      })

My full browsersync task is as follows:
const gulp = require('gulp')
const config = require('../gulp.config')
const browserSync = require('browser-sync')
const openBrowser = require('react-dev-utils/openBrowser')
const WebpackDevServerUtils = require('react-dev-utils/WebpackDevServerUtils')
const {prepareUrls, choosePort} = WebpackDevServerUtils

const DEFAULT_PORT = 3000
const HOST = '<IP_ADDRESS>'
const protocol = 'https'

const fakeCert = require('../server/createCert')

gulp.task('browser-sync', done => {
  choosePort(HOST, DEFAULT_PORT)
    .then(port => {
      if (port === null) {
        return
      }
      const urls = prepareUrls(protocol, HOST, port)
      browserSync.init({
        port,
        open: false,
        logConnections: true,
        logPrefix: 'Pixel2Html',
        proxy: `https://${config.shopify.shopName}.myshopify.com`,
        startPath: `?preview_theme_id=${config.shopify.themeId}`,
        reloadDebounce: 2000,
        injectChanges: false,
        https: {
          key: fakeCert.key,
          cert: fakeCert.cert
        }
      })
      if (openBrowser(urls.localUrlForBrowser)) {
        openBrowser(urls.localUrlForBrowser)
      } else {
        openBrowser(urls.localUrlForBrowser + `?preview_theme_id=${config.shopify.themeId}`)
      }
      done()
    })
})


gvm install go1.4 error

when i use gvm to install go 1.4 ,It shows the error below
Downloading Go source...
Installing go1.4...
 * Compiling...
ERROR: Failed to compile. Check the logs at /Users/leon/.gvm/logs/go-go1.4-compile.log
ERROR: Failed to use installed version

the go-go1.4-compile.log content is:
# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, darwin/amd64.
lib9
libbio
liblink
cmd/cc
cmd/gc
cmd/6l
/Users/leon/.gvm/gos/go1.4/src/cmd/6l/../ld/dwarf.c:1472:15: error: implicit conversion from 'int' to 'char' changes value from 156 to -100 [-Werror,-Wconstant-conversion]
/Users/leon/.gvm/gos/go1.4/src/cmd/6l/../ld/dwarf.c:1756:21: error: implicit conversion from 'int' to 'char' changes value from 144 to -112 [-Werror,-Wconstant-conversion]
/Users/leon/.gvm/gos/go1.4/src/cmd/6l/../ld/lib.h:168:13: note: expanded from macro 'cput'
go tool dist: FAILED: clang -Wall -Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -Werror -fno-common -ggdb -pipe -Wuninitialized -O2 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -mmacosx-version-min=10.6 -c -m64 -I /Users/leon/.gvm/gos/go1.4/include -I /Users/leon/.gvm/gos/go1.4/src/cmd/6l -o /Users/leon/.gvm/gos/go1.4/pkg/obj/cmd/6l/dwarf.o /Users/leon/.gvm/gos/go1.4/src/cmd/6l/../ld/dwarf.c

I am using on mac os 10.13.3

use gvm2 solve my problem
https://github.com/markeissler/gvm2