useTransition for route loading is always idle

What version of Remix are you using?
1.1.3
Steps to Reproduce
Go to the root route, and place this in the Document function:
let transition = useTransition();

And add this to the return elements:
<h1>{transition.state}</h1>

When using a Form inside the root route, the transition is working and changing as expected from idle to submitting and loading.
But, when we move from a route to a different route using a Link, the transition is always idle without any change.
Expected Behavior
When loading a new route, the transition state should change from idle to loading.
As can be seen in the useTransition docs:

Actual Behavior
The transition is always idle when using a Link for loading.
Attempts to Solve
I was looking at the issues, and I found an issue that used NProgress.
So I tried to use it, but again, it worked only for Form submissions and not for route loadings.
You can also try this as a reproduction.
Comparison to Other Frameworks
In Next.js they have events for route changes: routeChangeStart, routeChangeComplete, routeChangeError.
There are a lot of guides like this guide, on how to get the requested effect in Next.js, I think Remix should have too.

I found the problem.
When adding a Link to the site, do not add reloadDocument if it is a UI route (only if it is a resource route).
In the documentation for Form, there is an explanation on the reloadDocument:

So, I think that if you add the reloadDocument to a Link, the browser will handle the loading and not the JavaScript, so the useTransition() won't work.
There is still a small problem; we should have a way to detect the end of the loading state even when accessing the site with a URL from the browser.

@aviasd The root problem have been identified, and I'm going to close this issue.
Feel free to reopen a bug report for the side problem you noted at the end.

In Next.js they have events for route changes: routeChangeStart, routeChangeComplete, routeChangeError.
There are a lot of guides like this guide, on how to get the requested effect in Next.js, I think Remix should have too.

@prince272 please open a new discussion, a closed issue is not the best place to start one or to get heard :)


Add AWX docker image to the dev Docker compose

So it can be used when dev and for integration test

[ ] add AWX to compose
[ ] Add an Ansible playbook that print extra vars sent by squest and call the squest api to update the instance (URI module)
[ ] Add Ansible playbook that configure AWX (create job template, create squest credential type, squest credential aka token, create Tower admin token)

Here is the generated docker compose file when using make file from AWX project
version: '2.1'
services:
        # Primary AWX Development Container
  awx_1:
    user: "1000"
    image: "quay.io/awx/awx_devel:HEAD"
    container_name: tools_awx_1
    hostname: awx_1
    command: launch_awx.sh
    environment:
      OS: " Operating System: CentOS Linux 8"
      SDB_HOST: <IP_ADDRESS>
      SDB_PORT: 7899
      AWX_GROUP_QUEUES: tower
      RECEPTORCTL_SOCKET: /var/run/receptor/receptor.sock
      RUN_MIGRATIONS: 1
    links:
      - postgres
      - redis_1
    working_dir: "/awx_devel"
    volumes:
      - "../../../:/awx_devel"
      - "../../docker-compose/supervisor.conf:/etc/supervisord.conf"
      - "../../docker-compose/_sources/database.py:/etc/tower/conf.d/database.py"
      - "../../docker-compose/_sources/websocket_secret.py:/etc/tower/conf.d/websocket_secret.py"
      - "../../docker-compose/_sources/local_settings.py:/etc/tower/conf.d/local_settings.py"
      - "../../docker-compose/_sources/SECRET_KEY:/etc/tower/SECRET_KEY"
      - "../../docker-compose/receptor.conf:/etc/receptor/receptor.conf"
      - "/sys/fs/cgroup:/sys/fs/cgroup"
      - "~/.kube/config:/var/lib/awx/.kube/config"
      - "redis_socket_1:/var/run/redis/:rw"
      - "receptor_1:/var/run/receptor/"
    privileged: true
    tty: true
    ports:
      - "7899-7999:7899-7999"  # sdb-listen
      - "6899:6899"
      - "8080:8080"  # unused but mapped for debugging
      - "8888:8888"  # jupyter notebook
      - "8013:8013"  # http
      - "8043:8043"  # https
  redis_1:
    image: redis:latest
    container_name: tools_redis_1
    volumes:
      - "../../redis/redis.conf:/usr/local/etc/redis/redis.conf"
      - "redis_socket_1:/var/run/redis/:rw"
    entrypoint: ["redis-server"]
    command: ["/usr/local/etc/redis/redis.conf"]
  # A useful container that simply passes through log messages to the console
  # helpful for testing awx/tower logging
  # logstash:
  #   build:
  #     context: ./docker-compose
  #     dockerfile: Dockerfile-logstash
  postgres:
    image: postgres:12
    container_name: tools_postgres_1
    environment:
      POSTGRES_HOST_AUTH_METHOD: trust
      POSTGRES_USER: awx
      POSTGRES_DB: awx
      POSTGRES_PASSWORD: xxxx
    volumes:
      - "awx_db:/var/lib/postgresql/data"
volumes:
  awx_db:
    name: tools_awx_db
  receptor_1:
    name: tools_receptor_1
  redis_socket_1:
    name: tools_redis_socket_1

The make script build the image locally but we could point to the already built image from the quay.io

As this part is dependent of AWX project and can move very fast. It would be complicated to maintain in time.
I close this one.


Service Release Notes Heading

Quick note, the most current release note under service for the Metrics Explorer Enhancement has an incorrect heading of "New Slack Source"
Slack Message

Taking this one


Cards should have a creator assigned in the DB

This enables us to invalidate cards created by a single user (eg. if their account has been compromised).

For clarification who is the creator of a card?
We currently don't persist any users in the DB and as far as I know there is no User Id, also, who is the creator of a card? Is it sufficient to use the User name here or any auto incrementing id? Any ideas? :)

With user we actually mean the administrator that creates the card.

Confirmed!


Watch binding to get secret for previously authorized repos

Fixes
https://issues.redhat.com/browse/HAC-1645

Description
The source section effect did not watch the binding for previously authorized repos, and wasn't able to get the secret when binding status was updated.
This fix replaces the effect with watch hook.

Type of change

[ ] Feature
[x] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Screen shots / Gifs for design review
https://user-images.githubusercontent.com/20013884/181784964-970f7cf4-3881-4564-bcdd-319efdaa5b8c.mp4

How to test or reproduce?

Authorize a private repo
Delete all SPIAccessTokenBindings
Enter the authorized repo in import form

Browser conformance:

[ ] Chrome
[x] Firefox
[ ] Safari
[ ] Edge

/cc @rohitkrai03 @sahil143

CI passing locally


orchestrator: move command logic into orchestrator struct

This simplifies the cobra CLI Run functions.
As part of this refactor, updated all functions in the codebase to wrap the errors they return. This has simplified as well the error handling, so the error bubbles up and is only logged once it reaches the Run() of the cobra command.

Relates to #22


Can I use the Crafty Reflection Utility in my Own Plugin?

i noticed on the top of the file is an mit license info thing. if i wanted to include this in my own plugin, do i need to declare it under a new package namespace or can i use my own? from what im getting from the notice, i just need to paste it on the top of the file.

Yes, but you must change the package of the class to one of your own: net.kyori is not your package to be putting things in.
This project uses the MIT license, so:

the license file must be included in your repository and distributed (inside any JARs, for example) with your project (naming it adventure-platform.license.txt or similar)
the header must be kept at the top of the source file, unmodified

Please let us know if you have any more questions.

Thanks, but I noticed you explicitly mentioned for the license file to be inside any distributions. In the case of jars, would I put the license file inside of say src/main/resources?

@fracturx Generally people throw the license in the root of the JAR, but src/main/resources is fine too - as long as it is included.

I see, thanks for the help!


fix(cache): compare reaction emojis by resource instead of object

Compares emoji IDs if the emojis are custom or emoji names if they're unicode instead of comparing every field of the emoji

Thanks for the PR!


Merging columns and rows

i want to merge A1:B2 and A2:B2 to one cell how can i do this.

See documentation: http://www.maatwebsite.nl/laravel-excel/docs/export#merge


Code generated CXML for Heritrix 3

If you want to prepare CXML configuration. Here is our repeating configuration: https://github.com/WebArchivCZ/Crawler-config/blob/master/Domain-crawls/crawler-beans.cxml
Each month there are only only few lines changed. Name and description of job, name of resulting WARCs, path where to write WARC files.
There are few lines which change every year. For instance bdbHistory is where we keep database of URLs and hashes, so we do not store same content again, Heritirx will just make revisit record in WARC file.
URLs to harvest, URLs to ignore
Configuration also expects some files to be present, such as:
value="seeds.txt"
value="../Shared-config/surts.txt"
value="../Shared-config/negative-surts.txt"
seeds.txt tells Heritrix which URLs to crawl, you can check it here: https://github.com/WebArchivCZ/Crawler-config/blob/1657340f656ae4161357bdbf74e8ccef4d8cbf64/Domain-crawls/seeds.txt
Surt files are define special rules for allowing or dissallowing harvesting of specifed websites. Surt files accept SURT format (https://webarchive.jira.com/wiki/display/ARIH/SURT+Rules) or simple +URL format. https://github.com/WebArchivCZ/Crawler-config/tree/1657340f656ae4161357bdbf74e8ccef4d8cbf64/Shared-config
In general surt and negative-surt files are one part of whitelising on blacklisting certains URLS from crawl.
There are also specific regex rules for dissallowing some URLs from crawl thru class org.archive.modules.deciderules.MatchesListRegexDecideRule - I will need to test, if these lists of regex can be put into external file. Regex values for global and local traps are separated under different bean ids. Few lines for example:
./ClanekHodnoceni/.
./Shared_UserLoginBar.asp.
./[0-9]{4,5}.[0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2}[^/].
./[0-9]{5}.[0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2}[^/].
Special rules for certain URLs
There are also special overlay sheets, which tells Heritrix to crawl certain URLs slower, faster, with bigger budget etc. Look for Big Budget in CXML file for example.
Special configuration scenerios
For whole domain crawls we use hashcrawlmapper and configuration is based on how many Heritrix instance we part of whole domain crawl.
For intance:
hashCrawlMapper.localName=3
#Number of crawlers among which to split up the URIs.
hashCrawlMapper.crawlerCount=10
#Diversions directory should be shared between crawlers per job.
hashCrawlMapper.diversionDir=/mnt/archives/archive12/pre-fetch-diversions

Maybe later.


Would it be feasible to turn patterned fills into paths, too?

I am having rendering problems with https://github.com/Weasy666/bevy_svg which uses usvg + lyon. One of the problems seems to be that the files I am looking at use patterned fills, see example attached to https://github.com/Weasy666/bevy_svg/issues/19
I looked for a way to get rid of patterned fills, replacing them with paths, much like the usual "convert object to paths" action.  However, this seems to be a much-sought feature that does not exist yet:

https://stackoverflow.com/questions/62645102/render-an-svg-polygon-with-a-pattern-fill
https://graphicdesign.stackexchange.com/questions/110719/how-do-i-convert-a-svg-patterned-fill-to-a-set-of-paths
https://superuser.com/questions/1507049/inkscape-convert-fill-pattern-to-path

According to the superuser post, there are two options:

(lossy) conversion to PNG and back
using Microsoft's PDF Printer and converting back to SVG (usually, PDF exports retain patterns, I tried that)

From reading usvg/resvg's description, this feature sounded as if it could be implementable and not totally out of scope?
(I hoped that MicroSVG would not support patterns, but it does. ;-) Alas, bevy_svg does not.)

Well, MicroSVG is designed to be 100% lossless. Meaning it must simplify, but not break the input, at least visually. Which is pretty hard. One of the recent issues: #550
As for patterns, they are a constant problem. They are surprisingly hard to implement. See #539 #507 #395 #221 #392
Currently, resvg renders them to raster and then uses this raster image as fill/stroke. This is the most common technique. It's very fast, rendering wise, but introduces a lot of issues. Mainly the fact that out pattern has integer size now, which is not true for a source SVG. I haven't found a solution yet.
As for your task, well... It's kinda impossible?! To implement pattern fill, we have to use a shape as a clip path and then fill it with a pattern manually. In most cases it would be very slow and doing so on the usvg side would produce a very large SVG.
 Not to mention that usvg doesn't do stroking at the moment. resvg/tiny-skia does.
And I can only imagine how many weird issues would araise from this.
So my suggestion would be to tile patterns manually on your side since I don't see a robust way of implementing this on the usvg side.
PS: the usvg goal is to produce an SVG simple enough for resvg/tiny-skia. Not the most simple in general.

Thanks. Yes, I already suspected that it must be very difficult, given that nobody seems to have implemented it in any software on any platform so far.  The marker issue is very interesting and enlightening, indeed.  Will close this issue, then.


Readme collapsed sections, examples, changelog

I should probably have created this over at autoSteve so I could test a release in HACS. Likely will, then force a rebase to BJ.
Adds nifty collapsible sections to the readme for code examples and most of the (now very long) changelog.

Collapsibles work well over at autoSteve from HACS. As expected, the readme updates after the integration is installed. Ugh. (No graphics harmed.)


W10<EMAIL_ADDRESS>error

$ npm -v
6.9.0

$ node -v
v12.5.0

$ node -p process.versions
{
  node: '12.5.0',
  v8: '7.5.288.22-node.14',
  uv: '1.29.1',
  zlib: '1.2.11',
  brotli: '1.0.7',
  ares: '1.15.0',
  modules: '72',
  nghttp2: '1.38.0',
  napi: '4',
  llhttp: '1.1.4',
  http_parser: '2.8.0',
  openssl: '1.1.1c',
  cldr: '35.1',
  icu: '64.2',
  tz: '2019a',
  unicode: '12.1'
}

$ node -p process.platform
win32

$ node -p process.arch
x64

Hello,
I have an error for a while when I try to install gulp-sass. The download directory of node-sass on windows is no longer the right one :

The link of download is a 404 : https://github.com/sass/node-sass/releases/download/v4.9.3/win32-x64-72_binding.node
Thanks in advance

Fixed by do a npm i gulp-sass (and deleting the node_modules) that updating the composer-lock.json. Then the repo url was good


Create Every Project Starts With 100% Code Coverage

Hi @Ambg05, you're keeping an eye on the 'From-audio/To-Fix' folder right?

Yes!


CSS added by backgrounds addons should use "!important"

Describe the bug
I am importing a CSS file, which is meant to be used in other applications across our organization, thus I don't want to make changes to it.
The CSS added by the backgrounds addons should have preference over imported CSS file.
To Reproduce
Steps to reproduce the behavior:

Create a new repo using cra
Init storybook and backgrounds addons
Import CSS file with

...
body {
 background-color: white;
}
...

Backgrounds doesn't work anymore.

Expected behavior
The CSS added by the backgrounds addons should have preference over imported CSS file.
Code snippets
If applicable, add code samples to help explain your problem.
System:

Version: 5.0.3

Link to static hosted storybook: http://ui-storybook.aicrowd.com

Hmm, interesting. Just to add !important will not help in this case. Background div - it's a wrapper around the preview iframe. If you add background property to the body in the iframe then you will overwrite selected background from bg addon.
I can propose a simple solution: don't use bg in your main.css
Otherway: we can rethink the bg addon work. Eg set the background to the iframe>body directly. It needs a little time.
What do you think, @ndelangen?

I will use the simple solution for now, but as I said, in cases where one want a single CSS for use across apps in an organization. Editing that css for the storybook is something one might not want to do.

@Armanio we can set the background to the body of the iframe, but..
Why does a component set a background on the body?
Should storybook try to fight for dominance inside the preview for styling?
Will we win the fight without causing other issues?

I humbly think if a user is setting a background as part of their base styles, he/she is better off explicitly removing that style via preview-head.html. And by doing so making the iframe transparent.


Introduce CSS framework

[ ] Candidates: bootstrap, foundation, tailwind
[ ] Install
[ ] Initial usage example

Do we know which frontend libs were used for the general GZ website..? @bgrundmann @Holger-GZ

GZ Website is based on Kirby with bootstrap as css.

Thanks.
I'm not much of a frontend dev.
To me it looks like foundation and tailwind are relatively complex conpared to what we want to achieve. I think an easy to use component lib would be quite helpful, and I don't expect we will need to customize the look too much (or have time for that at all). That's why I suggest to go with Bootstrap or maybe something like Bulma, if we don't like Bootstrap.
I'd be interested to look into tailwind (plus maybe something like headlessUI), but I'm not convinced it will help us as much.

If GZ is using Bootstrap and it can fulfill the purpose lets just use it.


can anyone send me a vb.net sample please?

--

@SomeOneMore read https://github.com/TelegramBots/telegram.bot/blob/develop/ISSUE_TEMPLATE.md


Win 7

At the moment it does not run on WIN 7 SP1, if it should run, I can provide more information about the system.
Thanks for the work, very useful application, I'm not a developer, but if you need help, I can try to help with ideas

Hi,
In order to run the release executable from ponc-x.x.x-windows.zip on Win7 SP1 there are following prerequisites:

Have GPU which supports DirectX 11.

Install latest C++ runtime. This fixes errors of mssing VC*.dlls (also allows to build the app from sources).
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
Look for "Permalink for latest supported x64 version."

Install fix for missing D3DCompiler_47.dll (probably added in future service packs).
https://support.microsoft.com/en-us/topic/the-net-framework-4-7-installation-is-blocked-on-windows-7-windows-server-2008-r2-and-windows-server-2012-because-of-a-missing-d3dcompiler-update-0869046a-0972-7824-1bb8-5d89bf99e112
Look for "On Windows 7 SP1 or Windows Server 2008 R2 x64, use this link."

I'm able to verify it on VirtualBox which runs clear Win7 SP1 with the mentioned setup.
I assumed that possible Win7 users would already have all the prerequisites installed by other means, but now I see that I should add this to README.
PONC currently doesn't support DirectX 9, but I have plans to add the support in near future since one of the users requests it.
Thanks for bringing this up! I appreciate it. I'll write you if I need any help.

Yes, it turns out my integrated GPU only supports DirectX 10.1. I have already lost the habit of such problems before working only with my home computer) I will now make a separate topic with some suggestions and one with an error that I managed to notice while watching the program on another PC


 .NET Bindings - first implementation

Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

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

Description:
This is the first implementation of the .NET Bindings and the corresponding RTGen generator for C# code and thus quite huge.
The examples documentation has been adapted but is not yet complete. Also the feature itself still needs documentation.
The pipelines have been extended to build the assembly and generate a NuGet package, which should be also appear on the developer Web site under .NET Bindings. No other packaging supported yet.

I think, a review in this case would mean to look into changes of existing files (cmake, yml) and into the dotnet-specific part of the build log. Just my two cents though ;)

Just pushed changes to improve and fix issues after the last few rebases.


Prepare release 0.2

Checklist
Close PRs:

[ ] #280
[ ] #254
[ ] #274
[x] #281
[ ] #286
[ ] #287

Verify the release:

[ ] Prepare release notes
[ ] Look through the documentation
[ ] Look through code coverage
[ ] Update Jupyter examples
[ ] Run a couple of example for the sanity check
[ ] Make a release candidate branch, Increment version, put a tag

#243 How about adding this?

#243 How about adding this?

@lightaime should we include BabyAGI?


*/15 cron syntax not working

Apparently ciao doesnt support the following cron format.
Ex. run something every 15 minutes
*/15 * * * *

Can you provide a screenshot of ciao not working with */15 * * * * cron syntax?
Test:


How to configure a NPM Registry private?

Hi,
I have an issue with the configuration for NPM Private registry.
Details:
Registry in Azure
Javascript
The configuration of credentials:
{
"type" => "npm_registry",
"token" => "", It is a new personal token (from azure is ok?)?
"registry" => "pkgs.dev.azure.com" The full address or only the domain?
},
Another question, I need the .npmrc in the root of project?
In case of yes, how to configure it?
The error:
Failed processing: The following source could not be reached as it requires authentication (and any provided details were invalid or lacked the required permissions): FULL_PATH_REGISTRY from package-lock
Thanks in advance.
Daniele

Hi, this is an example in articulatory, hope it helps
   "type" => "npm_registry",
    "token"=> "your_username:api_token",
    "registry"=>"artifcatory_URL:443/artifactory/api/npm/aFakeRepo"

You need the port number in the registry, in your case I think you need FULL_PATH_REGISTRY
You can the basd64 encoded your_username:api_token and put it in the token field instead

👋 Hey there! Sorry for the glacially slow response... we've been a bit buried the past few years, and only just now starting to dig through some of our backlog.
This issue is pretty old, and we've greatly improved our support for private registries since then. I'm pretty sure this is resolved now, so going to close, but if for some reason I misunderstood please comment and we can re-open.


COMP: fix extension configure error with CMake 3.15.2

CMake Error at C:/a/Sw/CTK/CMake/ctkMacroCompilePythonScript.cmake:155 (get_filename_component):
  get_filename_component unknown component
  C:/a/Sw/python-install/libs/python36.lib
Call Stack (most recent call first):
  C:/a/Sw/CTK/CMake/ctkMacroCompilePythonScript.cmake:183 (_ctk_add_compile_python_directories_target)
  C:/a/Sw/CTK/CMake/ctkMacroCompilePythonScript.cmake:101 (ctkFunctionAddCompilePythonScriptTargets)
  C:/Dev/Slicer/CMake/SlicerMacroBuildScriptedModule.cmake:100 (ctkMacroCompilePythonScript)
  FistulaLocalizer/CMakeLists.txt:14 (slicerMacroBuildScriptedModule)

PYTHON_LIBRARY: optimized;C:/a/Sw/python-install/libs/python36.lib;debug;C:/a/Sw//python-install/libs/python36.lib

In fact, this is a duplication of https://github.com/commontk/CTK/pull/874

Closing in favor of #874, which seems more elaborate.

this is a duplication of #874

@sjh26 That's why this problem seemed familiar.


Use .* to check version string.

Presto changed the way it displays the server version.  We don't care
what the version string is, so just match against .*

Other than my comment, lgtm.


Add method to write an entire directory to the disk

Pina-Golada is already able to read an entire directory from the disk into the virutal representation, but for exporting assets, writing to the disk is a feature we should also support.

[ ] Implement WriteToDisk(d directory.Directory , path string)
[ ] Make sure we don't create a root directory when copying to disk. This will happen due to the fact that compressed directories are returned instantly to bypass requesting them in their root directory

Implemented by #9


Editor crashes when baking light

Operating system or device:
Godot 2.0.1 stable, Win64 / Win32 (tested on both versions)
Windows 8 64-bit desktop computer.
Issue description (what happened, and what was expected):
Baking a lightmap crashes at "Light Baker Setup - Creating Light Octree" step. Every single time.
Here's commandline output:
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
DETECTED MONITORS: 1
ERROR: Cannot initialize RtAudio audio driver: No devices present.
   At: drivers/rtaudio/audio_driver_rtaudio.cpp:65
ERROR: initialize: Initializing audio failed.
   At: platform/windows/os_windows.cpp:993
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
OPENING: E:/unfa/Godot/Projekty/02 (E:::unfa::Godot::Projekty::02)
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
running cmdline: "E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe" "-path" "E
:/unfa/Godot/Projekty/02" "-editor"
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
DETECTED MONITORS: 1
ERROR: Cannot initialize RtAudio audio driver: No devices present.
   At: drivers/rtaudio/audio_driver_rtaudio.cpp:65
ERROR: initialize: Initializing audio failed.
   At: platform/windows/os_windows.cpp:993
EXEC PATHP??: E:\unfa\Godot\Godot_v2.0_stable_20160223_win64.exe
VBoxContainer: 136,100
bind toptions
ERROR: texture_set_data: Condition ' p_image.empty() ' is true.
   At: drivers/gles2/rasterizer_gles2.cpp:957
ERROR: texture_set_size_override: Condition ' p_width<=0 || p_width>16384 ' is t
rue.
   At: drivers/gles2/rasterizer_gles2.cpp:1387
ERROR: baked_light_set_light: Condition ' p_light.size()==0 ' is true.
   At: servers/visual/visual_server_raster.cpp:1256
ERROR: create: Condition ' Math::is_nan(p_aabb.size.x) ' is true. returned: 0
   At: core/math/octree.h:827
ERROR: create: Condition ' Math::is_nan(p_aabb.size.x) ' is true. returned: 0
   At: core/math/octree.h:827
ERROR: create: Condition ' Math::is_nan(p_aabb.size.x) ' is true. returned: 0
   At: core/math/octree.h:827
ERROR: create: Condition ' Math::is_nan(p_aabb.size.x) ' is true. returned: 0
   At: core/math/octree.h:827
ERROR: create: Condition ' Math::is_nan(p_aabb.size.x) ' is true. returned: 0
   At: core/math/octree.h:827
ERROR: create: Condition ' Math::is_nan(p_aabb.size.x) ' is true. returned: 0
   At: core/math/octree.h:827
settings changed
ERROR: _update_camera: Condition ' !E ' is true.
   At: scene/resources/world.cpp:129
		total triangles: 0

Steps to reproduce:

Create a scene with node tree:

Spatial

Baked Light Instance

TestCube
Spotlight (set it to bake Full)

Select the Baked Light Instance and add a new BakedLight resource in it.

Typie in "512, 512" as the "Generate size" in the first Lightmap texture instance

Cclick "Bake" in the editor viewport's top panel

Watch it blow up

Just tested it on Win64 .0 stable custom build and the same thing happens.

Just built Godot from source for X11 - latest Git version has this problem as well. Crashes on baking light.

This is likely a duplicate of #1990.

yes this is a duplicate of #1990, im unable to reproduce this after the fix for #1990


Link broken

Mentioned link below is broken.
Read here more about differences between different HA designs in Google Cloud.

I believe it's fixed now. If you can still see the issue, please let me know in which file. Thank you!


feat(Computability): define oracle computability and Turing degrees

Some initial definitions introducing a model of oracle computability via partial recursive functions, define Turing reducibility and equivalence, and prove that Turing equivalence is an equivalence relation. Define the type of Turing degrees as equivalence classes under Turing equivalence. This PR includes:

RecursiveIn g f: An inductive definition representing that a partial function f is recursive in oracle g.
turing_reducible: A relation defining Turing reducibility between partial functions.
turing_equivalent: A relation defining Turing equivalence between partial functions.
TuringDegree: The type of Turing degrees, defined as equivalence classes under turing_equivalent.
A proof that TuringDegree is a partial order when reducibility is lifted to degrees

Implementation Notes
The type RecursiveIn g f is inductively defined to include basic functions such as zero, succ, projections, and the oracle g, and is closed under pairing, composition, primitive recursion, and μ-recursion. The join operation combines two partial functions by mapping even and odd numbers to the respective functions.

In Progress
The work here is just the basic definitions for the theory being developed. Some current in-progress work involves proving the upper-semilattice structure of Turing degrees, proving the existence of a relativized universal partial recursive function, and proving properties of the jump operator.
References

[Carneiro2018] Carneiro, Mario. Formalizing Computability Theory via Partial Recursive Functions. arXiv preprint arXiv:1810.08380, 2018.
[Odifreddi1989] Odifreddi, Piergiorgio. Classical Recursion Theory: The Theory of Functions and Sets of Natural Numbers, Vol. I. Springer-Verlag, 1989.
[Soare1987] Soare, Robert I. Recursively Enumerable Sets and Degrees. Springer-Verlag, 1987.
[Gu2015] Gu, Yi-Zhi. Turing Degrees. Institute for Advanced Study, 2015.

Tags
Computability, Oracle, Turing Degrees, Reducibility, Equivalence Relation

Due to limitations with Mathlib's CI there is a problem with merging PRs from forks - could you please request write access to the mathlib repository on Zulip and move this contribution to a branch of it, as described in here? Thanks!

I've just noticed that this PR comes from a fork, as opposed to a branch. Unfortunately our CI cannot support this setup, so please follow the contribution guide to get access to non-master branches.

https://github.com/leanprover-community/mathlib4/pull/20301 here is the new PR. thank you guys

Duplicate of #20301


Warden requests failures when requesting multiple containers

I am investigating the issue described here, with this scenario on CF v215:

Given 1 running DEA,
if you scale one app (static html app, 64M mem, 10M disk) from 1 to 200 instances.
several instances will change state starting to crashed.
although eventually CF starts all the instances

Tracing the issue, I think the problem is on the DEA doing too many concurrent requests to the warden daemon. I simulated the issue with this script, which you can run on any runner.
# /var/vcap/packages/warden/warden/warden_bomb.rb

ENV['BUNDLE_GEMFILE'] ||= File.join(File.dirname(__FILE__), 'Gemfile')
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))

require "bundler"
Bundler.setup

require "warden/repl/repl_v2"

def run_something()
	repl = Warden::Repl::Repl.new(:socket_path => "/var/vcap/data/warden/warden.sock")
	handle=repl.process_line("create")[:result].strip.split(' ')[2]
	repl.process_line("run --handle #{handle} --script 'sleep 5; echo ok'")
end

threads = (1..100).map {
	Thread.new{ run_something() }
}
threads.each { |t|
	begin
		t.join
	rescue Exception => e
		puts "Error #{e}"
		puts e.backtrace.join("\n")
	end
}

Run it in /var/vcap/packages/warden/warden with /var/vcap/packages/ruby-2.1.6/bin/ruby myscript.rb.
It requests 100 warden containers in parallel. Several request fail with errors:
Error command exited with failure
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden-client/lib/warden/client.rb:65:in `read'
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden-client/lib/warden/client.rb:109:in `call'
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden-client/lib/warden/client.rb:98:in `stream'
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden/lib/warden/repl/repl_v2.rb:193:in `process_command'
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden/lib/warden/repl/repl_v2.rb:116:in `process_line'
myscript.rb:13:in `run_something'

or
Error Could not acquire network
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden-client/lib/warden/client.rb:65:in `read'
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden-client/lib/warden/client.rb:109:in `call'
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden/lib/warden/repl/repl_v2.rb:196:in `process_command'
/var/vcap/data/packages/warden/5f0154e5ba4baec289e1a05fe81ee1b9a5dc23e1.1-dfe472b24aff7b3c6fd2efc654c1a16b7194b9a6/warden/lib/warden/repl/repl_v2.rb:116:in `process_line'
myscript.rb:12:in `run_something'

Questions
Although the issue is mitigated by the fact that CF platform will retry start the instances, I got some questions:

What are the limits of warden in this aspect?
How should it deal with this issue? shall we update the client library? should the client (dea_next) throttle the number of requests?

Hi @keymon
Thanks for your investigation.  As you point out, the CF platform does retry starting the instances.  Has this issue caused problems for you in a production setting (i.e. outside of experimentation)?
Also, because the platform is migrating from the DEA/Warden/HM9k runtime to the new Diego (Rep/Garden/Auctioneer/Converger) runtime, we are less likely to address non-critical issues in Warden, and are validating performance and robustness of the new runtime.  Have you tried on Diego?

Hi @Amit-PivotalLabs, it makes sense what you say.
Indeed we were investigating and doing performance tests of the CF platform. We were investigating the case and impact of tenants misbehaving/abusing the platform.
I understand the rationale of your prioritisation. Thank you a lot for the transparency and clarification about that!
I will close the ticket, it will be here as a reference.
We will continue our investigations on Diego+Garden and let you know our findings.
Thank you


Unmarshallers fail with NoContentException on empty entity (#88)

Fixes #88
Other changes:

added one more test to ensure the application/json media-type is requested by the unmarshaller.
Factorized the jsonStringUnmarshaller and jsonStringMarshaller. This is thread safe and should be more efficient.

Thanks a lot!
I have one substantial question and some code style remarks. Please clarify / change.

Thanks a lot!

Published version 1.10.0-1-ga514d78 (to Bintray). Let me know if it works for you.

Thanks for the merge!
I don't have a project setup right now to test it. But with the unit tests I am confident it will work :)
I have a couple of other ideas, will create the PR in the coming days/weeks.


/etc/machine-id is not unique

Hi everyone,
currently all instances of a stemcell have the exactly identical /etc/machine-id file. As per the systemd documentation the /etc/machine-id is expected to be unique.
The duplication of the machine-id causes instances to use the same dhcp client identifier when running a dhcp client (e.g. systemd-networkd). This in turn causes dhcp-servers get dhcp-discovers from multiple different VMs with the same client-identifer. Because of that the system can shortly loose it's ip-address which can cause various issues (similar to this).
It seems to be that debootstrap is copying the machine-id to the target system in /etc/machine-id (see systemd.postinst)
The solution would be to delete the /etc/machine-id file after debootstrap; systemd will recreate them at the first boot.
I would guess that base_deboostrap/apply.sh is the proper location for such a fix?
Best Regards
Felix

FYI: link to the ubuntu manpage. http://manpages.ubuntu.com/manpages/bionic/man5/machine-id.5.html

For operating system images which are created once and used on multiple machines, for
example for containers or in the cloud, /etc/machine-id should be an empty file in the
generic file system image. An ID will be generated during boot and saved to this file if
possible. Having an empty file in place is useful because it allows a temporary file to be
bind-mounted over the real file, in case the image is used read-only.

Fixed via #155


router monitoring

add script to check health on each individual router pod
also report on whether the number of running pods (for each router DC) matches the definition in the DC

👍 #1546 in stg


Add some whitespace for better legibility

The "for" conditions could be hard to parse, especially for a newcomer.

Thanks!


Long rasterizer frames scrolling Gallery on iPhone 6s

Probably most important is that if we fix this is that we find a way to test it since @chinmaygarde indicated this may be the same as an issue he fixed prior. :)
[✓] Flutter (on Mac OS, channel master)
    • Flutter at /src/flutter
    • Framework revision edbe0348474f6c88cc2935deb9fa52e323e7dc91 (16 minutes ago), 2016-10-19 16:17:55
    • Engine revision 525c947ece
    • Tools Dart version 1.21.0-dev.0.0

[✓] Android toolchain - develop for Android devices (Android SDK 23.0.2)
    • Android SDK at /Users/eseidel/Library/Android/sdk
    • Platform android-23, build-tools 23.0.2
    • Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.0)
    • XCode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.0, Build version 8A218a

[✓] Atom - a lightweight development environment for Flutter
    • flutter plugin version 0.2.6
    • dartlang plugin version 0.6.40

[✓] IntelliJ IDEA Community Edition (version 2016.2.5)
    • Dart plugin installed
    • Flutter plugin installed

[✓] Connected devices
    • Eric's iPhone • 245efaebda74df40169418839fff2a8368bcaae5 • ios

See video.
https://youtu.be/G0Da0Pxmf9g

I believe this is some sort of regression.  I don't recall our iPhone scrolling performance coming in-and-out like this before.

Do we know when this regression might have started?  This regression just (negatively) affected a potential pitch by @sethladd to an internal customer. :(  FYI @abarth

I'm seeing this opening drawers and navigating between routes on my iPhone 6, having built on 7acc996547e2ffe0d08e5797c835bf2a2702e8c4.  I'm not sure if that's the same bug, but on that assumption I think this is a pretty-high-priority regression and may block our customers shipping on iOS.

I investigated this some more. My initial suspicion was a regression in the pipelining flow but that does not seem to be the case. In the slow frames, the offending call is in one of the GrVertexBatch::onDraw calls. Most of the time spent in this call is wall time. The actual CPU time is minimal. Still trying to figure out what is going on. Just an update.

Do we still see this effect?

I haven't seen this issue since the latest Skia roll. But, since I don't know the cause of the issue in the first place, I cannot say this is fixed. I will keep an eye out for this but we should leave this ticket open.

There are definitely still long frames here and there, but I don't think this bug is particularly useful for now.  We'd have to attack specific instances.  The general random long frames I recall seeing are gone.


"hello"

https://github.com/clemos/haxe-sublime-bundle/blob/master/features/haxe_add_hxml.py#L10

PR ?

#268


Tests use a lot of duplicate points

Since we added the warning about re-evaluating the objective at the same point our tests are full of warnings:
scikit-optimize/skopt/optimizer/optimizer.py:174: UserWarning: The objective has been evaluated at this point before.
  warnings.warn("The objective has been evaluated at this point before.")

We should think whether we want t mute the warning or improve the tests.

or we might check why some points are reevaluated.

How can you suppress the warning? I am running the very first example on the doc and I am getting the warning, perhaps you could update the example in the doc with suppressed warning?
UserWarning: The objective has been evaluated at this point before.
warnings.warn("The objective has been evaluated "
https://github.com/scikit-optimize/scikit-optimize

The same is here. A lot of annoying warnings. What to do with them?

@Henri-Lo So, you can suppress the warnings by using:
import warnings
warnings.filterwarnings('ignore', message='The objective has been evaluated at this point before.')

But is it the right thing to do?

The right thing to do for the example, tests or in general?

Hi.
In general. When using skopt for hyperparameter optimization, for example.
Are there warnings because I'm using skopt in a wrong way or because skopt is not fully developed yet?

No package is fully-developed ever :) Can you post a minimal code-snippet?
It is not too uncommon in-case you are optimizing over a space that is completely categorical for instance.

We should try and remove the warnings from the tests by either choosing bigger spaces or filtering them where we know that it isn't a problem.
In general the warning tells you that "there might be a problem". Usually evaluating the same point multiple times isn't something you want to do, but if you have a (very) noisy objective it makes sense to do so. In my experience I usually get the warning when I get the type of one of the dimensions wrong, for example (2, 2.1443) as a dimension gives you an Integer dimension (-> #391) when really I wanted a floating point dimension.

Hi everybody,
is this still being considered? There should be (if this is possible) some sort of input flag for optimizer.ask() that forces it to avoid points that have been evaluated before. Instead it should evaluate the next "best" / "most interesting" points or maybe even some totally random points.
In my use case I do optimization in parallel just like in this example: https://scikit-optimize.github.io/notebooks/parallel-optimization.html
My function to evalute the points involves a simulation that takes several minutes each, so running the simulations in parallel is a huge win for me. Most of the time I am not searching for the single "best" solution of my evaluation function, but for e.g. "all solutions of my evaluation function with an error less than 1%". In an optimization problem with two dimensions this gives me a whole "solution set". For example, with dimensions x and y, the function might be true for increasing x while y decreases.
To get the broad spectrum of solutions I need to keep the optimization loop running until I (manually) decide that most of the solution "space" has been explored. After many hundreds of evaluations, the optimizer.ask() sometimes seems to get stuck near an assumed global minima and just keeps repeating the evaluation of points there.
Consider the example output of skopt.plots.plot_objective() below. What I need as a result is the yellow area. Each point in there can be a valid solution to my evaluation function. But the optimizer seems to get stuck near the bottom right. This example is very well explored. But sometimes the optimizer gets stuck to early. Starting with a larger value of n_initial_points helps. But a flag that specifically makes the optimizer not evaluate any points twice would help, too.

I agree with the above post that points that have already been evaluated should be skiped.  I work with neural networks that take 45 minutes to evaluate 1 single time.  If the work has been done already for a certain point it should not call the evaluation function for that point but simply move to the next best point.  Doesn't hat make sense?

yes this makes sense and should be a key feature to not repeat trials unless we've already tried everything and just want to reduce variance

Hmmmmm, 2 years have passed, looks like this is still an issue.

Still hasn't fixed? I am having the same issue. Try the same points multiple times which is not an efficient way of doing optimization.

I think the best solution at this point is to write a skip if statement in your function and just pass it the optimizer the result from the previous run if it wants to re-run a certain point.

Another workaround is to use DeltaXStopper callback:
gp_minimize(..., callback=DeltaXStopper(1e-8))

Hello everyone, I proposed a workaround to this issue in PR #1050:

#302 discusses a long standing issue where the ask() function to "Query point or multiple points at which objective should be evaluated" will just repeatedly return the same point(s) to evaluate. In cases where the objective always returns the same results, the solver can even get stuck in a loop.
This PR aims to mitigate the issue. Instead of just warning the user about evaluating a point twice, use a new random point instead (and include this information in the warning).
This is not a good solution. Ideally, the next best point should be evaluated instead, but I do not know how to do that.
Also, in #302 a user said "Usually evaluating the same point multiple times isn't something you want to do, but if you have a (very) noisy objective it makes sense to do so." So the solution presented here might actually cause a problem for users who want the same point to be evaluated multiple times.
Maybe this just stays here as a reference for users who want a very easy workaround that they can implement themselves.

Some possible workarounds were mentioned in this thread before, but my PR presents one that every user can apply on their own if they need to. Maybe this inspires someone to create a real fix for this issue...

I have a solution , it kind of works. It does not repeat any runs. But sometimes may not run all parallel jobs.
from skopt import Optimizer
from skopt.space import Real, Integer, Space
from joblib import Parallel, delayed
from skopt.benchmarks import branin
import skopt
import warnings

#set optimizer properties
optimizer=Optimizer(
    dimensions=[Real(0.34,0.75),Real(0.36,0.78)],
    random_state=1,
    base_estimator='gp')
warnings.filterwarnings('ignore', message='The objective has been evaluated at this point before.')
#defined test function
def branined(x_ins):
    return branin(x_ins[1:])
#Set runs
last_count=0
y_lookup=[]
for i in range(10):
    x=optimizer.ask(n_points=4) #x is a list of n_points points
    ### group non-repeat x as x_runs and repeats as x_non
    x_run=[val for val in x if val not in optimizer.Xi]
    x_non=[val for val in x if val in optimizer.Xi]
    #run only for non repeat x's that is x_run
    if len(x_run)!=0:
        #job_counter to keep track of
        job_counter=list(range(1+last_count,len(x_run)+last_count+1))
        x_added=[[job_counter[x_ind]]+x_val for x_ind,x_val in enumerate(x_run)]
        y_run=Parallel(n_jobs=len(x_run))(delayed(branined)(v) for v in x_added) #evaluate points in parallel
        #store for lookup, to identify job_count corresponding to minimum yi
        y_lookup.extend([[job_counter[y_ind],y_val] for y_ind,y_val in enumerate(y_run)])
        last_count+=len(x_non)
    else:
        y_run=[]

    y_non=[optimizer.yi[optimizer.Xi.index(x_val)] for x_val in x_non]
    x_update=x_run+x_non
    y_update=y_run+y_non
    ###
    optimizer.tell(x_update,y_update)

#Optimized x & Y values
y_loc=optimizer.yi.index(min(optimizer.yi))
print(min(optimizer.yi))
print(optimizer.Xi[y_loc])

callback=DeltaXStopper(1e-8)

while this gives less of those annoying warnings, results in my testing became worse (true extremum found less frequently).


Upgrade spring to 6.1.x #140

this is equivalent: https://github.com/resteasy/resteasy-spring/compare/main...liweinan:resteasy-spring:min_comp


How to fetch data in SPA/static deployment

Hej,
based on the "kirby-nuxt-starterkit" I am trying to create a spa. However I would like to fetch some data from client side, but as soon as I run the request at onmounted I get an "Error loading site data: 500 (/api/__kql/%24kqlmjjzAmPAEp)"
I am wondering if nuxt-kql is even intended to use at spa / static pages - I cannot find any notes regarding this in the documentation? Or maybe someone has a hint for me what kind of configuration I am missing?
Best, Sören

Hey Sören,
intrinsically, the Kirby Nuxt Starter uses universal rendering, as almost every Nuxt application. It is server-rendered for the initial HTML response and then re-hydrates the DOM while turning into a Vue SPA. I recommend the Nuxt docs, specifically Rendering Modes for a more thorough read. So yes, nuxt-kql suits well for client-side data fetching
To generate a completely static site, you can run pnpm run generate and deploy the prerendered application.
What do you intend to create? What does your setup look like? How did you connect the backend? Please provide minimal reproducible example. Thanks in advance!

Thanks for your reply! The easiest way to reproduce might be to just add the following to the kirby-nuxt-startkit:
nuxt.config.ts
`ssr: false'

pages/index.vue - jsut remove everything from the script section and add the following to make sure that it will execute:
onMounted(async() => {

  const { data } = await useKql({
    query: 'page("home")',
    select: {
      id: true,
      title: true,
      // description: true,
      headline: true,
      subheadline: true,
    },
  })

  setPage(() => data.value?.result)

})

When you run pnpm run generate and deploy the pages to some webserver it will tell you the following:

It tries to access some /api/__kql/... which simply isn't there. So I wonder if I might got some concepts wrong and if this is the case - can you give me some hint where I could start to fix this?

I see. You try to disable Nuxt server engine, which will disable the internal Nuxt route to fetch KQL data. This approach won't work (intentionally). If you disable the server, the Nuxt server route /api/__kql/ won't be there.
As the docs state:

The useKql and $kql composables will initiate a POST request to the Nuxt server route /api/__kql defined by this module. The KQL query will be encoded in the request body.
The internal server route then fetches the actual data for a given query from the Kirby instance and passes the response back to the template/client. Thus, no KQL requests to the Kirby instance are initiated on the client-side. This proxy behaviour has the benefit of omitting CORS issues, since data is sent from server to server.
During server-side rendering, calls to the Nuxt server route will directly call the relevant function (emulating the request), saving an additional API call. Thus, only the fetch request from Nuxt to Kirby would be performed.

Thus, you won't be able to disable ssr without loosing the ability to fetch KQL content.

However, you can either:

Use static rendering via pnpm run generate
Or use the client-side data fetching of KQL queries

For the latter, use the client option for useKql, as stated in the docs:

Public Requests in Client
To fetch data directly from the Kirby instance, set the option { client: true }. Requires kql.client option to be true in nuxt.config.ts as well.

<script setup lang="ts">
const { data, pending, error, refresh } = await useKql(
  {
    query: 'site',
    select: ['title', 'children']
  },
  { client: true }
)
</script>

With this approach, you won't need the Nuxt server route and can disable server generation. Please see the documentation for further information.

Hi @johannschopplich I am currently also running into the problem that when running pnpm run generate, it will pre render the pages, but all pages appear blank with client-side fetching attempts to api/__kql/XXX routes (which do not exist).
Is there another setting that needs to be set for static hosting? I would like to avoid client-side fetching, if possible.
I am fetching data as such:
const route = useRoute();
const query = {
  query: `page('station/${route?.params?.slug}')`,
  select: {
    title: true,
  },
};
const { data } = await useKql(query, { language: locale });

Thanks!

@marco-land You probably will have to enable payload extraction alongside the Nitro prerenderer. You may try:
export default defineNuxtConfig({
  nitro: {
    prerender: {
      // Enable Nitro's crawler to prerender all pages (optional)
      // If Kirby content changes, the frontend will have to be rebuilt
      crawlLinks: true,
      routes: ['/'],
    },
  },

  experimental: {
    payloadExtraction: true,
  },
})

Thanks for your quick answer! Unfortunately, it still shows a blank page and a client-side post attempt. However, if I refresh on that page, it shows the content (still with a client-side post attempt, though).

I can't reproduce that with my Cacao Kit. Please open a separate issue with a minimal reproduction. Thanks!

OK I submitted a new issue with a small reproduction, the only difference is that in this reproduction I do not see the api fetches anymore, but pages still remain blank.


use specific mask

i want to train a model that use specific mask. i design mask for each image and add new mask_mode in InpaintDataset.get_mask() i import these mask by filepath. but i meet the problem that val/mae is always nan.
warn : nan or inf in input tensor.
can anyone tell me how to solve this problem ? thanks much

You can visualize your mask to see if it is consistent with the default format.

thanks for your reply, i have catched my error and fix it

You're welcome, feel free to reopen this issue if any questions


Added translation on Ukrainian language

I'll just cherrypick the lang file in from the commit I suppose


Requesting example vapoursynth script

I tried to create a valid script for a while, but I can't make it run.
from vsrife import RIFE
import vapoursynth as vs
import ffms2
core = vs.core
core.std.LoadPlugin(path='/usr/lib/x86_64-linux-gnu/libffms2.so')
clip = core.ffms2.Source(source='test.webm')
print(clip) # YUV420P8
clip = vs.core.resize.Bicubic(clip, format=vs.RGBS)
print(clip) # RGBS
clip = RIFE(clip)
clip.set_output()

vspipe --y4m inference.py - | x264 - --demuxer y4m -o example.mkv

Error: Failed to retrieve frame 0 with error: Resize error: Resize error 3074: no path between colorspaces (2/2/2 => 0/2/2). May need to specify additional colorspace parameters.

Can I get an example that should actually work?

Either matrix_in or matrix_in_s needs to be set if no matrix is specified in the frame's properties when converting to RGB. Refer to http://www.vapoursynth.com/doc/functions/video/resize.html for more details.
clip = vs.core.resize.Bicubic(clip, format=vs.RGBS, matrix_in_s='709')

Thank you. I somehow overlooked this. Now it works.
from vsrife import RIFE
import vapoursynth as vs
import ffms2
core = vs.core
core.std.LoadPlugin(path='/usr/lib/x86_64-linux-gnu/libffms2.so')
clip = core.ffms2.Source(source='test.webm')
clip = vs.core.resize.Bicubic(clip, format=vs.RGBS, matrix_in_s='709')
clip = RIFE(clip)
clip = vs.core.resize.Bicubic(clip, format=vs.YUV420P8, matrix_s="709")
clip.set_output()


doc: Add doc to use PythonVirtualenvOperator in MWAA

Describe your changes:
Adds documentation to use the Airflow PythonVirtualenvOperator in MWAA based on my experience getting this working.

Type of change:

[x] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.

Many thanks for taking the time to try this out and preparing the doc @callahanca, appreciate it. LGTM


is multi-output decision tree supported?

If I have a multi output decision tree, such as
https://scikit-learn.org/stable/auto_examples/tree/plot_tree_regression_multioutput.html
is this intended to be supported?
I did note that target_name can be specified, as seen in your example below. Wondering a joint tree could be shown for multiple targets. I can imagine it will be messy.
classifier = tree.DecisionTreeClassifier(max_depth=2)  # limit depth of tree
iris = load_iris()
classifier.fit(iris.data, iris.target)
viz = dtreeviz(classifier,
iris.data,
iris.target,
target_name='variety',
feature_names=iris.feature_names,
class_names=["setosa", "versicolor", "virginica"]  # need class_names for classifier
)
viz.view()

hi. @tlapusan and I have not thought about this particular feature.  how common is it?

I'm not sure how common it is, absolutely not as common as single target classification. People tend to work around it by making a model per target, but that results in sub-optimal results, but it does work.

Hmm...well, I'll leave as a feature request though likely not high in my priority list at moment.


CPP/error/zigzag.cpp

rectify the error in the code.
NOTE:- Screenshot of the code and output is required.

Hello assign this to me

Can you please assign this issue?


The blob container name shows instead of full path when hovering over one blob container tab which is opened from a restored view all containers explorer

Storage Explorer Version: 1.34.0-dev (98)
Build Number: 20240306.5
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.3(Apple M1 Pro)
Architecture: x64/x64/x64
How Found: Ad-hoc testing
Regression From: Not a regression
Steps to Reproduce

Open ’Settings' panel -> Check the setting 'Preserve Explorer Session'.
Expand one storage account.
Right click 'Blob Containers' node -> Click 'View All'.
Restart Storage Explorer.
Open one blob container from the restored view all containers explorer.
Hover over the opened tab.
Check whether a full path shows.

Expected Experience
A full path shows.

Actual Experience
Only show the blob container name.

This is not by design. The full path is a part of the tab data stored. The restored tab should still show the full path regardless of the state of the tree view. It's meant to help people distinguish tabs with identical names (e.g. blob container with the same name in different storage accounts).

This is in fact by design. In a non-restart/restore scenario here's how things work:

View all explorer is opened, it has an association with a "Blob Containers" node
Container is double clicked in view all
View all code queries the children of the associated "Blob Containers" node to find the container node for the double clicked container
Blob container explorer is opened, with an association to the queried container node

However, in a view all explorer that is restored, it does not have a working association with a "Blob Containers" node. Therefore the query for the child container node cannot be accomplished.


Fixes olm schema validation for the KubeVirt CR api

This addresses the issue found in https://github.com/kubevirt/kubevirt/issues/5608. We'll need to backport this to the release-0.41 branch before we can consider that issue closed though.
The olm has stricter schema validation and refuses to upgrade KubeVirt without this change.
NONE

/cherry-pick release-0.41

@tiraboschi does hco somehow shortcut the kubevirt operator and let also OLM update the VM and VMI CRDs? If so, @davidvossel I think we have to pull in https://github.com/kubevirt/kubevirt/pull/5495/commits/51a0c81550944be0ea3e5f5d58519dc73ae994da which fixes something similar for spec.machine.

@tiraboschi does hco somehow shortcut the kubevirt operator and let also OLM update the VM and VMI CRDs? If so, @davidvossel I think we have to pull in 51a0c81 which fixes something similar for spec.machine.

No, I'm pretty sure that the OLM will care only about the CRDs explicitly listed in the CSV and VM and VMI ones are not.
Since the upgrade cannot be easily rolled back, before deploying a newer version of a CRD, the OLM will implicitly try to verify the compatibility of it with the existing corresponding CRs.
I'm pretty sure that the OLM is not going to do anything like that for CRDs that it is neither aware of.

No, I'm pretty sure that the OLM will care only about the CRDs explicitly listed in the CSV and VM and VMI ones are not.
Since the upgrade cannot be easily rolled back, before deploying a newer version of a CRD, the OLM will implicitly try to verify the compatibility of it with the existing corresponding CRs.
I'm pretty sure that the OLM is not going to do anything like that for CRDs that it is neither aware of.

Great. Then the scope of the PR should be correct, as it is.


[Codegen][CUDA] Add error message for missing fragment info

This PR added error message when wmma fragment info is missing. This happens when the wmma fragment memory scope is used but tensorize is not called. Previously, it shows error message like tvm._ffi.base.TVMError: _Map_base: :at that doesn't provide enough information.
cc @masahi

@tvm-bot rerun


feat(lang): Support built-in variables

Description
base(os="ubuntu20.04", language="python3")
print(midi.os)

We need to provide some built-in variables to support conditional build like this
if midi.os == "ubuntu":
    ubuntu_apt_source("xxx")

Related to #1132


Html file not called

Hi,
I am experiencing some troubles using the bundler task.
My bundle task is defined like this :
var gulp = require('gulp');
var bundler = require('aurelia-bundler');

var config = {
 force: true,                    // Force overwrite bundle file if already exists. Default false
  packagePath: '.',
  baseURL: '.',                   // `baseURL of the application`
  configPath: './config.js',      // `config.js` path. Must be within `baseURL`
  bundles: {
    "dist/app-build": {
      "includes": [
        '[**/*.js]',
        '*.html!text',
        '*.css!text',
        'bootstrap/css/bootstrap.css!text'
      ],
      options: {
        inject: true,
        minify: true
      }
    },
 "view-bundle": {
    "skip" : false,
    "htmlimport": true,
    "includes": "dist/*.html",
    "options": {
      "inject": {
        "indexFile": "index.html",
        "destFile": "dest_index.html"
      }
    }
  },
    "dist/aurelia": {
      "includes": [
        'aurelia-bootstrapper',
        'aurelia-fetch-client',
        'aurelia-router',
        'aurelia-animator-css',
        'aurelia-framework',
<EMAIL_ADDRESS><EMAIL_ADDRESS>        "github:daepark/JSOL@master",
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>      ],
      options: {
        inject: true,
        minify: true
      }
    }
  }
};

gulp.task('unbundle', function() {
 return bundler.unbundle(config);
});

gulp.task('bundle', function() {
 return bundler.bundle(config);
});

The problem is that the view-bundle file is correctly created but it is never used by the app. At each time I launch my app, It tries to load every view from its file and not the view-bundle one.
In addition to this, I've got another problem, but I don't if you're in charge of that.
I call the aurelia-dialog plugin, the source code is correctly bundled in the aurelia.js, but there are some html files that are called by the navigator when I launch my app.
link to the issue opened at aurelia-dialog github : https://github.com/aurelia/dialog/issues/83
By the way, thanks for your work, the aurelia-bundler plugin is very useful.

@ggrimbert: I just had success bundling the aurelia-dialog assets following the instruction giving by @michaelmalonenz over at https://github.com/aurelia/bundler/issues/17#issuecomment-148538045:
includes: [
       ...
        "aurelia-dialog/*",
        "aurelia-dialog/**/*.html!text",
        "aurelia-dialog/**/*.css!text",
...],

@ggrimbert we don't have packagePath: '.' in the config anymore. What version of the bundler are you using. Please use the latest one (v0.3.1). Regarding the plugins, try what @riddla says. Report back if that does not solve your problem. Thank you.

Quick update, I had some problems with the bundler (npm let the version at 0.1.8)
Now I am up to date, I removed the packagePath from the config file, and the "npm:" and the version number of the packages.
However, when I add
"aurelia-dialog/*",
"aurelia-dialog/**/*.html!text",
"aurelia-dialog/**/*.css!text",

I am experiencing a problem
[10:33:15] Using gulpfile ~/edevelo/local/Aurelia/webapp/gulpfile-prod.js
[10:33:15] Starting 'bundle'...
[10:33:17] 'bundle' errored after 1.8 s
[10:33:17] TypeError: Error on fetch for<EMAIL_ADDRESS>at<EMAIL_ADDRESS>        Cannot read property 'substr' of undefined
    at fromFileURL (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/lib/utils.js:58:13)
    at SystemJSNodeLoader.<anonymous> (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/aurelia-bundler/dist/bundler.js:83:86)
    at SystemJSNodeLoader.loader.fetch (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/lib/builder.js:170:59)
    at /home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/lib/trace.js:371:23
    at tryCatcher (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/node_modules/bluebird/js/release/promise.js:497:31)
    at Promise._settlePromise (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/node_modules/bluebird/js/release/promise.js:555:18)
    at Promise._settlePromise0 (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/node_modules/bluebird/js/release/promise.js:600:10)
    at Promise._settlePromises (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/node_modules/bluebird/js/release/promise.js:683:18)
    at Async._drainQueue (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/node_modules/bluebird/js/release/async.js:125:16)
    at Async._drainQueues (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/node_modules/bluebird/js/release/async.js:135:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/ggrimbert/edevelo/local/Aurelia/webapp/node_modules/systemjs-builder/node_modules/bluebird/js/release/async.js:16:14)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

After setting traces into the file /systemjs-builder/lib/utils.js, I saw that systemjs needs files defined like this :
<EMAIL_ADDRESS>
But for<EMAIL_ADDRESS>it comes without the
<EMAIL_ADDRESS>
So the solution is to give the following instructions in the config file :
...
 "aurelia-dialog",
"aurelia-dialog/**/*.html!text",
"aurelia-dialog/**/*.css!text",
...

Do you have any idea why the bundler needs
<EMAIL_ADDRESS>
at the end of the file name ?

Module loaders can't load html or css directly. They require a plugin to load those. Aurelia uses the "text" plugin to load these resources, therefor when you bundle them you must indicate the plugin they are bundled with. This is explained in the docs here: http://aurelia.io/docs.html#/aurelia/framework/1.0.0-beta.1.1.3/doc/article/bundling-your-app-for-deploy/6

Adding the .css!text line seems to mess up aurelia-i18n. Can't understand why, though. Everything looks good in the bundle and in the console, but no text is displayed on my page. When I remove the .css!text it works.
Nothing's wrong with the .html!text, only the .css!text.

@ahmedshuhel Can you look into this?

I noticed that if you place those
"aurelia-dialog/**/*.html!text",
"aurelia-dialog/**/*.css!text"

not in the same bundle as text, then a problem is gone.


[patch] Revert save overload

Reverts #225. Waiting on #226 so we don't lose functionality of getting the requested name, which in turn is waiting on pyiron_base 1356.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 91.822%

Files with Coverage Reduction
New Missed Lines
%

job.py
4
90.2%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
5805

Relevant Lines:
6322

💛  - Coveralls

With pyiron_base 1358, the naming stays as requested by default when you actually instantiate a job from the class, so we need zero special behaviour in this repo to get the behaviour we want.
After the next base release, this can be re-tested on the updated version and merged.


Release 1.2.3

@optimizely/fullstack-devs

Coverage decreased (-0.4%) to 98.875% when pulling 24e424264ea4ffc6e7b9115d989eb1f4ed893ebc on devel into d7c64e4b0393f076c353828e124c77d6764c056f on master.


Create publish workflow

Forgot this sourced from dev so the readme-fix gets propagated to main, but whatever.


Redis Library changed from Jedis to Lettuce + Reload with plugin managers

Lettuce is a redis library that is better in performance than jedis. Also lettuce has a built-in system for async commands that is very useful. I use a pool of n connections so you are use how many connections you are using and it's easy to debug.
In the plugin main I added a filter for already present permissions so the plugin can still load and skip those permissions. This is related to the reload process.
Thanks also to @Emibergo02 for helping me with the redis classes.

Tested in production and everything is working.

I added a commit with the requested fixes.

I'm still king of thinking the lettuce stuff would better be moved into its own library before merging

Any news on this @WiIIiam278?

Closing as stale (since this targets a previous major version) -- feel free to rebase and PR again on the latest with feedback in mind :)


[dist_bar] fix x scroll when overflowing

@ascott
Also found another bug while debugging around highlighting slices while they refresh

pushing this through as a hotfix


generating barcode error

I am creating gui barcode generator, when I run my code in vs code it all works fine, but when I create an exe file, my exe file opens and when I enter my all fields and click on the generate button it shows an error, and not generate any barcode,
issue is:
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter_init_.py", line 1892, in call
File "customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
self._command()
File "easybarfree.py", line 267, in generate_barcodes
barcode.save(barcode_path)
File "barcode\base.py", line 64, in save
File "barcode\codex.py", line 255, in render
File "barcode\base.py", line 100, in render
File "barcode\writer.py", line 269, in render
File "barcode\writer.py", line 440, in _paint_text
File "PIL\ImageFont.py", line 959, in truetype
File "PIL\ImageFont.py", line 956, in freetype
File "PIL\ImageFont.py", line 247, in init
OSError: cannot open resource

😃 finally after 3 days finally got a solution, by the way, thanks for your library 👍


Where relevant, replace equality checks in assert! with assert_eq!

assert_eq! gives more debug info when the test fails by default than assert!. This should help make debugging easier.

Thanks!  This looks great.  BTW, I hope to have the test failures fixed soon in PR #1123 .

Cool!

I don't understand.  What problem did that last commit fix?

On mac, the kevent struct use a packed alignment (according to the previously failing tests). assert_eq took a reference to the field, which is unsafe because the value can be unaligned. By adding brackets, the value is copied, so it's correctly aligned.

I don't think that's true, at least not in general.  Braces can certainly capture references.  For this specific case, how about removing the assignment of expected altogether?  It's not necessary.  Instead, you can put literals directly into the assert_eq! statements.

Braces can capture references because they are copy. Since what's inside the brace is a copy value, not a reference, this is not a problem, even if the macro expands to something that takes the reference of it. That said I fixed it with your suggestion.

Please squash the commits and I'll merge.  Oh, and you'll probably have to rebase now that PR #1123 is done.

@asomers Done


Add command to serve docs per npm script

Make it possible to serve docs over npm run serve.
And added webrick to the Gemfile -> I always needed to install it with Windows
@IvanSanchez I have in mind that you are using Linux, can you please test npm run serve?
@Malvoz, @jonkoops feel free to test it too and check if there are some problems with the webrick installation

This works like a charm for me. Does this PR fix https://github.com/Leaflet/Leaflet/issues/7844?

Thank you!


X11 shell does not support file dialogs.

See the Zulip conversation.

There is a new Rust library which implements file dialogs using zenity and kdialog:
https://github.com/balthild/native-dialog-rs

I noticed that library too and checked its alert code, as I've been working in that area recently. The implementation is super naive and simple. More power to them and great for little toy projects, but I don't think there's anything there for us.

This is of course a known limitation of using a low level library. My personal feeling is that the best way going forward is to write a file dialog in druid, but that's a nontrivial undertaking of course.

The zenity/kdialog vs custom druid implmentation question comes up with X11 alerts as well. I've been going back and forth in my mind, but lately leaning towards custom alerts. Alerts are easier to implement than file dialogs, so this could serve as a test case of sorts to see how the work/result compares to just using the binaries.
In the alert case the custom alerts can be useful on Windows/macOS too for more complex cases, because it would be easy to embed custom widgets into the alert dialog for some advanced functionality.

https://github.com/x42/sofd bindings of this c library could be useful, so the wheel is not rewritten.

On Linux, it would be useful to use the desktop portal DBus protocol for this. See https://belmoussaoui.com/article/13-oxidizing-portals :)
In addition to not requiring a druid file dialog implementation (though I would love to eventually see one), this would allow flatpak-sandboxed applications to open files that aren't otherwise accessible to them AFAIK.

That post is a nice overview, not sure how I missed it…
I haven't brought up portals so far because they used to have no support for opening directories for whatever reason, but looks like they finally fixed that with the last edition. Definitely worth a try.

Most likely you "missed" it because it was only just written :)

Fixed by #2153


[InfoButton] New component

Use Info button control to provide additional information to users.
React: https://react.fluentui.dev/?path=/docs/components-infolabel--default
Power Apps:: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/modern-controls/modern-control-info-button

Hi! Is the InfoButton still planned for a upcoming release? Got a use case for it, so just checking before i implement my own version :P

Hi! Is the InfoButton still planned for a upcoming release? Got a use case for it, so just checking before i implement my own version :P

@franklupo is quite busy it seems.
What if you just take the code from this PR, address the remarks Denis and I posted and submit a new PR? We'll then review that one and include it in an upcoming version (all dependent on time we all need) if all is okay. Probably still less work than creating a new one yourself and as a bonus you'd be helping us and the community. Sounds good?

Hi! Is the InfoButton still planned for a upcoming release? Got a use case for it, so just checking before i implement my own version :P

@franklupo is quite busy it seems.
What if you just take the code from this PR, address the remarks Denis and I posted and submit a new PR? We'll then review that one and include it in an upcoming version (all dependent on time we all need) if all is okay. Probably still less work than creating a new one yourself and as a bonus you'd be helping us and the community. Sounds good?

Hey! I have to check whether I can invest time in that, depending on how much its needed right now. But I will keep it in mind!

Hi guys,
Sorry, but this is not a good time for me.
Can you handle it @vnbaaij ?
Thanks

Hey, I just did some work on the unit tests that were still needed. Was there any other work still open in this PR? It's a pretty long log so I'm not sure.
I tried to open up a PR but I am getting a unauthorized response, do I need to get some rights in order to open it? Storing the changes locally now :)

You need to create a PR in your fork of our repo. It should work then.
Once you're done, we need to go through all earlier unresolved comments and check those.

Closing this as there has been no activity for a while.


RFE: add inverse condition to silencing

I'm having a hard time wording this well, so apologies in advance. we have a script that silences a client before performing maintenance. this works for the most part except in our dev environment we have client deregistration enabled, and the silencing of a client stops the deregistration handling. I'd like to specify an inverse condition along the lines of:
curl -s
-H 'Content-Type: application/json'
-d "{ "dc":"datacenter", "expire":86400, "reason":"username: ticket_number", "subscription":"client:i-99999-dev", "check":"!deregistration" }"
http://my.sensu.host/silenced
but my reading of the docs and a quick perusal of the code didn't seem to indicate anything like the above is doable currently.

@jpackagejasonc have you tried adding "handle_silenced": "true" to the handler definition for your deregistration handler? This handler attribute should cause the deregistration events to be handled despite being silenced.

@cwjohnston that does indeed appear to work for my specific use case, thanks! I still think the RFE would be nice for other uses, but that definitely does what I need

Our current implementation of silencing is optimized for performance in a way that precludes us from implementing this requested enhancement. Since the need here has been met with our existing handle_silenced feature, we're opting not to implement this right now.


[Enhancement] Search Bar

I've already got something like 30 pages of saved hotbars, and searching for a specific item can be quite a hassle. Would a search bar be possible to implement?
Kind of like the one in the "Search Items" tab.

Closing this. While I love the idea, it isn't something that would be practical to implement in my opinion.


test-branch/execute-job/quoted-authorization/e6c62d4b-c84b-42ce-a0d8-99726f9aee10

PR for testing 1ef0f3d49f531131595e9f394cabe314f4306427

/canonical/self-hosted-runners/run-workflows 1ef0f3d49f531131595e9f394cabe314f4306427


How can i restore my firefox history

I'm trying to find out if theres a method to restore history for firefox on android phone. What I've found is with google search methods on desktop and found some methods on smartphone.
I tried implementing some of them one being typing browser.db in my site search field but doesn't work keeps giving me a broken link to a website.

Hello can I get a response to this.

This was a post of Firefox for Android's Support Forum. I have not found any fixes for this personally.


fixes for old clang versions

Proposed changes
This PR upgrades KaRaMeL after applying PR #374.
It also changes lib_intrinsics.h to work on old versions of clang.
Types of changes
What types of changes does your code introduce to HACL*?
Put an x in the boxes that apply

[ ] Proof maintenance (non-breaking change which fixes a proof regression)
[X] Bugfix (non-breaking change which fixes an issue)
[ ] New algorithm or feature (non-breaking change which adds functionality)
[ ] Improved performance (fix or feature that would improve performance of some algorithm on some platform)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[X] I have read the CODE_OF_CONDUCT.md doc
[X] I have read and agree to submit my changes under the LICENSE
[ ] I have added necessary documentation (if appropriate)
[ ] I have edited CHANGES.md (if appropriate)

Further comments

@pnmadelaine I am trying to figure out which exact version of z3 this is running with... on the CI machine, fstar.exe --version returns this:
2023-09-18T23:44:05.3145132Z hacl-star> ℹ  This is F* version F* 2023.09.03~dev platform=Linux_x86_64 compiler=OCaml 4.14.1 date=unset commit=unset

whereas on my machine, I get:
ℹ  This is F* version F* 2023.09.03~dev platform=Linux_x86_64 compiler=OCaml 4.14.1 date=2023-09-03 10:11:48 -0700 commit=7363057dc7dceb13e39d5afb2b1dd46161314f25

can you investigate and figure out why the commit is unset? This is generated via ocaml/fstar-lib/make_fstar_version.sh in the F* source repository. I'm surprised git is not available when building F*.

@msprotz git is not available when building fstar because Nix doesn't clone the repo but downloads a tarball of the code instead (because cloning a repository is not reproducible)

@msprotz I actually opened a PR on fstar to fix the problem: https://github.com/FStarLang/FStar/pull/3052


no log on terminal

when i use single gpu,i can get log on terminal,but dist train,i can not get log on terminal.i use coco,and i am sure it is not because log interval in config file

Please follow the Error report issue template for issues.

I met the same problem. Can someone help to solve the problem？


1st level spells E-Z, from basic rules

Added markdown files for 1st level spells for those found in basic rules, which includes:

Entangle
Expeditious Retreat
Faerie Fire
False Life
Feather Fall
Find Familiar
Fog Cloud
Goodberry
Grease
Guiding Bolt
Healing Word
Hellish Rebuke
Heroism
Hunter's Mark
Identify
Illusory Script
Inflict Wounds
Jump
Longstrider
Mage Armor
Magic Missile
Protection from Evil and Good
Purify Food and Drink
Sanctuary
Shield of Faith
Shield
Silent Image
Sleep
Speak with Animals
Thunderwave
Unseen Servant

Part of https://github.com/magicalmusings/magicalmusings.github.io/issues/21

Weird! I double-checked my settings and it looks like I already had them all set correctly (according to this doc). I even double-checked the patch on one of the commits and it correctly has my primary email address. The contributions show up in my contribution calendar, too, so I'm not sure why it doesn't show up on the actual project. 🤷♀ Maybe github just doesn't like .edu emails. Ah well, it doesn't bother me too much, thanks for letting me know, though!


flush_job: do not roll back memtable flush on CF drop and DB shutdown (#126)

Rolling back in these cases is meaningless because the memtables will be
freed shortly afterwards, so making them available for flush again is useless
at best.
Additionally, in atomic flush, memtables that were successfully flushed
aren't rolled back if a CF is dropped or a DB shutdown was requested (the
shutdown case is the more relevant one for the comparison here because it
aborts the flush, whereas the in the CF drop case it's simply ignored at
flush result installation time). In this regard this change simply matches
the behaviour there.
Lastly, this might be needed for the WriteBufferManager changes in #113,
since we plan to use the information about memory that can be flushed in
the future for triggering flushes based on immutable memory as well, and
rolling back flushes causes the memtable memory to become ready for flush
again for a brief period of time until it is dropped, which might wrongly
affect the WBM decisions.
Test plan: run make check as well as make crash_test.

@isaac-io: Did make check completed successfully on this branch?

@isaac-io: Did make check completed successfully on this branch?

Yes. Both make check and make crash_test completed successfully.


Enable hostPort for tink services only on bootstrap

Description of changes:
hostPort is needed for hegel and tink-server on local Kind cluster but it's not needed when the Tinkerbell stack on the workload cluster. This PR enables hostPort for tink services only for bootstrap phase.
These are the helm chart values that are used to control hostPort for deployments https://github.com/aws/eks-anywhere-build-tooling/blob/main/projects/tinkerbell/tinkerbell-chart/chart/values.yaml#L32-L34
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


[BEAM-12337] Make default UW image for java beam_java#_sdk

This PR:

switches "java" with "beam_java8/java11_sdk" for UW pipelines
separates beam-master-YYYYMMDD tags for FnAPI (Apache) and legacy (Dataflow-only) images, including some key/property name changes that touch many files
Determines container image tag based on if SDK is dev version or not. This is similar to Python SDK (apiclient.py)

There is no existing "java" image for 2.XX.0 and beam-master-YYYYMMDD, so this won't break anything for users. Any tests that break should be fixed, since they are not correctly overriding the URL if they break.

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

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @klk
R: @y1chi

Run Java_Examples_Dataflow PreCommit

Run Java Examples on Dataflow Runner V2

I don't actually know if we have any tests running against beam-master in our PostCommit suite - let me verify before merge

maybe try cherry pick the PR to google3 and test internally as well.

This seems essential for launching java pipeline with runner v2 without explicitly overwriting sdkContainerImage? If so we should cherry-pick the change into 2.30.0 release with a proper release version?

This seems essential for launching java pipeline with runner v2 without explicitly overwriting sdkContainerImage? If so we should cherry-pick the change into 2.30.0 release with a proper release version?

Yea, I think that is right. @ihji do we still have time to do this? It is a major loss of functionality otherwise.

@emilymye since the cherrypick will actually involve different containers I think the issues with beam-master are independent, so you could open it right now.

Run Java PreCommit

Verified this works using internal cherrypick, waiting on tests

Run Java_Examples_Dataflow PreCommit

Confusing about the precommit cancelation. GitHub branch crosstalk?

Run Java PreCommit


Powerbase: Tshwane

text: do not lock if canceled precision
link: https://groups.google.com/g/rec.games.trading-cards.jyhad/c/fpNWhMWOV1E/m/Z7zRB637jCkJ

Posted a new post on VEKN for verification: https://www.vekn.net/forum/rules-questions/79982-powerbase-tshwane-when-to-lock


Handling Sudden Disconnections and Room Termination in LiveKit

If a user unexpectedly closes their browser or app (e.g., due to a crash, force quit, or network issues), does LiveKit automatically detect disconnections and terminate the room? Is there a parameter or mechanism for this? Since such events happen abruptly, it is not feasible to send a request from the client side. Therefore, the server must handle the termination.

we do detect it.. and that's why you see a ParticipantDisconnect event 15s later. It's not possible to reduce that timeout though. Doing so would likely cause other false positives (i.e. user did not disconnect)
If you are looking for a faster metric, take a look at ConnectionQuality updates. We do send a Lost update when we haven't heard from the participant in a few seconds

Thanks for your help , just What is the webhook event related to ConnectionQuality updates?

it's not a webhook event, but an event that is sent to everyone in the room. https://docs.livekit.io/home/client/events/#events


Error: Variable is not set. Defaulting to a blank string - when redeploying stack

Bug description
YAML stack definition containing e.g.:
    environment:
      - GF_SECURITY_ADMIN_USER=${GRAFANA_USER:-admin}

gives an error when updating the YAML definition, stating that e.g. environment variable GRAFANA_USER cannot be empty
Expected behavior
with updating the stack the default values of the environment variable definition should be evaluated
** Error Message**
Failure
failed to deploy a stack: time="2021-11-11T17:32:19Z" level=warning msg="The GRAFANA_USER variable is not set. Defaulting to a blank string." time="2021-11-11T17:32:19Z" level=warning msg="The GRAFANA_PASS variable is not set. Defaulting to a blank

Steps to reproduce the issue:

Go to deploy a stack with one service containing an environment variable and default value
Add a service to the stack and redeploy
Error should
See the error

Technical details:

Portainer version: 2.9.2
Docker version (managed by Portainer): 20.10.10 (API: 1.41)
Platform (windows/linux): raspberry pi arm7

I haven't been able to replicate this behavior locally - defining default values seems to work without issue.
Steps I followed:

Created a new stack via the Web editor in Portainer with the following YAML, without defining any environment variables in Portainer itself:

version: '3'

services:
  db:
    image: mysql:8.0
    volumes:
      - db_data:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: ${MYSQL_DATABASE_PASSWORD:-thisisadefaultpassword}
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: ${WORDPRESS_DB_PASSWORD:-wordpress}

volumes:
  db_data:

Stack creates successfully, can confirm the MYSQL_ROOT_PASSWORD and MYSQL_PASSWORD environment variables have been set with their default values.

Edit the stack via Portainer and add the following service definition to the existing YAML, again not defining any environment variables in Portainer:

  wordpress:
    image: wordpress:latest
    ports:
      - 80
    restart: always
    environment:
      WORDPRESS_DB_HOST: db:3306
      WORDPRESS_DB_USER: wordpress
      WORDPRESS_DB_PASSWORD: ${WORDPRESS_DB_PASSWORD:-wordpress}

Updating the stack proceeds without issue, and the environment variable is set with the default value on the new service container.
Am I misunderstanding the issue here? Can you confirm my process is correct for what you're seeing?

I have to confirm that this is working as intended but only in my local environment
On a directly connected remote environment:

I have created a new stack and just added as you above:
version: '3'

services:
  db:
    image: mysql:8.0
    volumes:
      - db_data:/var/lib/mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: ${MYSQL_DATABASE_PASSWORD:-thisisadefaultpassword}
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: ${WORDPRESS_DB_PASSWORD:-wordpress}

volumes:
  db_data:

When I deploy the stack I get:

my host is:

So db_data seems to be undefined.
Maybe try creating the volume db_data.

I'm running into the same issue.  I had a typo in my docker-compose.yml, but the app deployed successfully.  Now, I have fixed the issue in docker-compose.yml, committed my changes back to the GitHub repo but those changes are not reflected in Portainer.  The problem is that I cannot delete the stack, because it has the old version of the docker-compose.yml (with the error in it).  How can I force it to pull the latest version from GitHub?

I have the same issue when I redeploy a stack:
level=debug msg="The stack has a git config, try to poll from git repository." stackID=13
level=debug msg="Compose stack redeploy with pull image flag: true" stackID=13
level=error msg="failed to update the stack" error="failed to deploy a docker compose stack 13: failed to pull images of the stack: The ENVIRONMENT variable is not set. Defaulting to a blank string.\nThe ASSET_PATH variable is not set. Defaulting to a blank string.\nThe AUTONLP_CORE_PUBLIC_URL variable is not set. Defaulting to a blank string.\nThe AUTONLP_DEPLOYMENT_PROXY_ENTRYPOINT_URL variable is not set. Defaulting to a blank string.\nThe MONGODB_USER variable is not set. Defaulting to a blank string.\nThe MONGODB_PASSWORD variable is not set. Defaulting to a blank string.\nThe GITHUB_TOKEN variable is not set. Defaulting to a blank string.\nThe AUTONLP_ENV variable is not set. Defaulting to a blank string.\nThe REDIS_USER variable is not set. Defaulting to a blank string.\nThe REDIS_PASSWORD variable is not set. Defaulting to a blank string.\nThe MLFLOW_TRACKING_URI variable is not set. Defaulting to a blank string.\nThe MLFLOW_TRACKING_USERNAME variable is not set. Defaulting to a blank string.\nThe MLFLOW_TRACKING_PASSWORD variable is not set. Defaulting to a blank string.\nThe AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string.\nThe AWS_SECRET_ACCESS_KEY variable is not set. Defaulting to a blank string.\nThe AUTONLP_TRAEFIK_ENTRYPOINT_PORT variable is not set. Defaulting to a blank string.\nThe AUTONLP_MINIO_PORT variable is not set. Defaulting to a blank string.\nThe AUTONLP_MINIO_CONSOLE_PORT variable is not set. Defaulting to a blank string.\nThe BUCKET_URI_OR_LOCAL_PATH variable is not set. Defaulting to a blank string.\nThe Compose file '/data/compose/13/docker-compose.yml' is invalid because:\nservices.auto-nlp-traefik.ports contains an invalid type, it should be a number, or an object\nservices.auto-nlp-minio.ports contains an invalid type, it should be a number, or an object\nservices.auto-nlp-minio.ports contains an invalid type, it should be a number, or an object\n: exit status 1"
level=info msg="2022/03/27 12:00:16 http error: Failed to update the stack (err=failed to deploy a docker compose stack 13: failed to pull images of the stack: The ENVIRONMENT variable is not set. Defaulting to a blank string."
level=info msg="The ASSET_PATH variable is not set. Defaulting to a blank string."
level=info msg="The AUTONLP_CORE_PUBLIC_URL variable is not set. Defaulting to a blank string."
level=info msg="The AUTONLP_DEPLOYMENT_PROXY_ENTRYPOINT_URL variable is not set. Defaulting to a blank string."
level=info msg="The MONGODB_USER variable is not set. Defaulting to a blank string."
level=info msg="The MONGODB_PASSWORD variable is not set. Defaulting to a blank string."
level=info msg="The GITHUB_TOKEN variable is not set. Defaulting to a blank string."
level=info msg="The AUTONLP_ENV variable is not set. Defaulting to a blank string."
level=info msg="The REDIS_USER variable is not set. Defaulting to a blank string."
level=info msg="The REDIS_PASSWORD variable is not set. Defaulting to a blank string."
level=info msg="The MLFLOW_TRACKING_URI variable is not set. Defaulting to a blank string."
level=info msg="The MLFLOW_TRACKING_USERNAME variable is not set. Defaulting to a blank string."
level=info msg="The MLFLOW_TRACKING_PASSWORD variable is not set. Defaulting to a blank string."
level=info msg="The AWS_ACCESS_KEY_ID variable is not set. Defaulting to a blank string."
level=info msg="The AWS_SECRET_ACCESS_KEY variable is not set. Defaulting to a blank string."
level=info msg="The AUTONLP_TRAEFIK_ENTRYPOINT_PORT variable is not set. Defaulting to a blank string."
level=info msg="The AUTONLP_MINIO_PORT variable is not set. Defaulting to a blank string."
level=info msg="The AUTONLP_MINIO_CONSOLE_PORT variable is not set. Defaulting to a blank string."
level=info msg="The BUCKET_URI_OR_LOCAL_PATH variable is not set. Defaulting to a blank string."
level=info msg="The Compose file '/data/compose/13/docker-compose.yml' is invalid because:"
level=info msg="services.auto-nlp-traefik.ports contains an invalid type, it should be a number, or an object"
level=info msg="services.auto-nlp-minio.ports contains an invalid type, it should be a number, or an object"
level=info msg="services.auto-nlp-minio.ports contains an invalid type, it should be a number, or an object"
level=info msg=": exit status 1) (code=500)"

I'm using Portainer BE 2.12.1.
All these variables are defined in my stack and were correctly applied while deploying the stack.
I need most of these variables to deploy different environments (prod, qa). One of the points I'm using Portainer BE is that I want to be able to do CD triggered by GitHub, so automatic redeployments are crucial for me.

I just noticed this issue only occurs if the "Pull image flag" is true (which is what one wants to do in CD).

Happens to me too in Portainer BE 2.12.1
When using the Button "Pull and redeploy" and when using the Webhook.
Since it worked for a while I just deleted the container and image and redeployed. Now it seems to work again.
I think it stopped working after editing the docker-compose.yml in the remote repository.

Faced with it too at Community Edition 2.16.2 after upgrading my github stack. Any solutions?