DirectXPackedVector.h/.inl Linux compilation warnings (Clang and GCC)

DirectXPackedVector.h/.inl currently exhibit compile warnings/errors when attempting to include them on Linux builds using both GCC and Clang.
Both GCC and Clang bark about #pragma warnings that can be fixed with some #ifdef guards.  GCC also has errors relating to type conversions, all of them being of this nature:
DirectXPackedVector.h(373,79): error : conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Werror=conversion]
As a side note, I might also propose moving XMConvertHalfToFloat and XMConvertFloatToHalf to DirectXMathConvert.h/inl (these are the functions I am attempting to use).  Semantically it does make sense as they are more general conversion functions that have use outside the scope of the packed vector code (I'm using them when reading back some F16 texture data on the CPU).

DirectXPackedVector.h(373,79): error : conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Werror=conversion]
constexpr XMU565(uint8_t _x, uint8_t _y, uint8_t _z) noexcept : x(_x), y(_y), z(_z) {}
This conversion error is a little bit interesting.  It seems to imply that the compiler has implicitly converted the uint16_t x : 5 bitfield into an unsigned char, and then it's complaining about that conversion?  The arguments to the constructor are already uint8_t, so it wouldn't appear those are the issue.

There's something odd about the bit-field here that's probably related to a nuance of the C++ Standard. I'll take a look.

From searching around online, it appears this bitfield initialization conversion error in GCC has been problematic for many.  I did try masking the arguments (as it seems in other cases the compiler takes note and doesn't complain), but no dice.  Further, even just ignoring the arguments and trying to just have : v(0) as the only initializer still generates the error.  So there's definitely something interesting happening here.

Which version of DirectXMath are you using? All the pragma warnings were cleaned up in #133.

I do have those fixes for #133, but note that the above issues are specifically in DirectXPackedVector.h/.inl, which are not included via DirectXMath.h.  It was only once I started to use/include DirectXPackedVector.h that I discovered these as-yet-undiscovered warnings.

Ah, thanks. I'll take a look.

I don't get any warnings with GCC 11.3. It looks like your -Wconversion error is fixed in newer builds of the compiler.

Thanks for taking a look...I'll see about updating my GCC install to the latest.

FYI this error was still present in GCC 11.1 (the latest packaged version I could update to).  So I'll just keep the warning disabled and periodically check newer available versions.  Annoyingly, newer GCC has some issues with erroneous array bounds errors, so I'll likely be staying on 9.4.0 for the time being.


GH-#1456 Binaryen fork, flag to force rebuilding dependencies

Forked binaryen repo to  https://github.com/EOSIO/binaryen
Patched binaryen to fix issue related to static variables.
Changed build scripts to include new binaryen repo.
Added flag to build scripts that forces rebuilding dependencies.

This looks good to me but I would prefer @pacificcode  to weigh in as these scripts are largely maintained by him.

scripts/eosio_build_darwin.sh line 206:

  sudo ln -sf /usr/local/binaryen/bin/* /usr/local

Im not sure how that got in there or what purpose it is going to serve. I would recommend removing that line. Except for that this looks a reasonable solution.

yet another OOB "merge".  @pacificcode  will introduce the features of the force flag as part of a consolidated review of dependency management that includes data driven dependency upgrade mechanisms.  @spoonincode is internalizing the binaryen dependency as a submodule as we now have a build time dependency on that code/library as part of #1452
This PR is going to be closed but not forgotten.


Fix using --append with input file

Hi there,
First of all, thanks for the awesome project. I watched your talk on PostGIS + OSM and followed it to here. This whole process makes it really easy to work with the large amounts of data OSM provides.
I was playing around with the docker scripts and I noticed running --append with --input would lead to an error here because pbf_filename was unassigned. I know append is experimental, so I'm not sure if this has unintentional side-effects but I thought I would submit this PR anyway.
I tried to run the tests Makefile as suggested but I kept getting permission denied/file not found errors for the downloaded region file. Not sure if you know what may be the issue here?

In any case, let me know if I can be of any more assistance. Cheers

@petrell9  Thank you for your feedback and the PR!  It's great to know it's a helpful tool for you.
This looks good and doesn't seem to have any unintended consequences.  I'll merge it to dev, in a few days it should make it to main and the :latest Docker image.
Did you modify the Makefile when you got that error?  That message seems unexpected, it's probably best to open an issue for that and we can figure out what's the cause.  The part that's unexpected is seeing the /home/... path.  In the Docker image it should be using /app/....  I think!
The --append feature is still marked experimental, that'll probably change sometime in the not so distant future.  I've been using it in dev for a while with no issues.  It needs a bit more testing but I'm getting close to upgrading my prod databases to use --append.

This is pushed to Docker hub tagged as :dev.
docker pull rustprooflabs/pgosm-flex:dev


Support release-level data

Support retrieving and updating generic release-level data, such as support and eol dates.
The aws-lambda.py script has been updated to make use of this new feature.

No change as expected, merging.

Trigger an auto-update manually in https://github.com/endoflife-date/endoflife.date/pull/4589. The AWS Lambda has been updated as expected, see https://github.com/endoflife-date/endoflife.date/pull/4589/files.


What is the best way to pass an array of values into unknownFormats

This is more of a query than an issue.
The following command called from Powershell works fine and returns errors for unknown formats:
ajv validate -d data.json -s schema.json --unknown-formats ignore --verbose --errors text --all-errors
To ignore specific formats the following command also works fine (after trying many different variations to pass multiple values for the unknown-formats parameter):
ajv validate -d data.json -s schema.json --unknown-formats="int32" --unknown-formats="double" --verbose --errors text --all-errors
Is there a better way to pass in the additional formats in the unknown-formats parameter without repeating --unknown-formats?

Just checked minimist docs - doesn't seem like it supports another way of passing arrays...
I can suggest creating a JS file with empty format definitions for the formats you want to ignore and pass it to -c option:
const unknownFormats = ["int32", "double"]

module.exports = (ajv) => unknownFormats.forEach(f => ajv.addFormat(f, /.*/));
// or `() => true` can be used as format that should be ignored
// ajv v7 also supports just `true` to achieve the same

Also, given that unknown-formats option is removed from ajv v7, this will be the only way to define ignored formats once ajv-cli catches up with v7.
It would be good to add it to the docs - PR is welcome.


No autocomplete on my objects

Hi,
Sorry for my too generic title but I think this issue can help to find interesting things to improve your incredible tool.
I made some tests on it, it works fine but not with the object created with my low-level component @etchedjs/etched (for sure, my lib is a few conceptual and complex but it's a valid JS).
Version: 0.24.1 (browser demo)
Reproducing steps
Create a etched.js file containing the @etchedjs/etched source
In the main script
import { etch, model } from './etched.js'

const entity = model(null, {
  set id (value) {}
})

const account = model(entity, {
  set name (value) {}
})

const jack = etch(account, {
  id: 123,
  name: 'Jack'
})

const renamed = etch(jack, {
  name: 'Jack-Renamed'
})

jack. // doesn't autocompletes anything

Hope it helps. :)
If you need more informations, just ask.

Based on the sample you provided above. I think this is because the limitation of tern. Tern is static analysis tool so it can't do everything like a runtime.

It's a few unfortunate... I hope to see it going further in futures versions :stuck_out_tongue:


HBASE-27793 Make HBCK be able to report unknown servers

validated the patch against real cluster.
Without patch unknown servers not reported.

ERROR: There is a hole in the region chain between  and .  You need to create a new .regioninfo and region dir in hdfs to plug the hole.

ERROR: Found inconsistency in table hbase:acl

Table hbase:meta is okay.
    Number of regions: 1
    Deployed on:  host3,16020,1683768640560
Table hbase:acl is okay.
    Number of regions: 0
    Deployed on:
Table hbase:quota is okay.
    Number of regions: 1
    Deployed on:  host1,16020,1683768642268
Table hbase:namespace is okay.
    Number of regions: 1
    Deployed on:  host2,16020,1683768640559
2 inconsistencies detected.

with the patch unknown servers reported.
`ERROR: Found unknown server,  some of the regions hold by this server may not get assigned. Use HBCK2 scheduleRecoveries host2,16020,1683630104616 to recover.
2023-05-11 01:57:07,548 INFO  [main] util.HBaseFsck: Loading regionsinfo from the hbase:meta table
ERROR: There is a hole in the region chain between  and .  You need to create a new .regioninfo and region dir in hdfs to plug the hole.
ERROR: Found inconsistency in table hbase:acl
Table hbase:meta is okay.
Number of regions: 1
Deployed on:  host3,16020,1683768640560
Table hbase:acl is okay.
Number of regions: 0
Deployed on:
Table hbase:quota is okay.
Number of regions: 1
Deployed on:  host1,16020,1683768642268
Table hbase:namespace is okay.
Number of regions: 1
Deployed on:  host2,16020,1683768640559
3 inconsistencies detected.
`

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 29s
Docker mode activated.

I think we'd better make the title like
'Make HBCK be able to report unknown servers'?
The current title seems like it is incorrect to report unknown servers as inconsistencies...

I think we'd better make the title like 'Make HBCK be able to report unknown servers'?
The current title seems like it is incorrect to report unknown servers as inconsistencies...

Thanks for review @Apache9. Changed the title as suggested.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 13s
Docker mode activated.

Add better correct the comments which pointed out by @NihalJain above before merging.
Thanks.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  2s
Docker mode activated.

@Apache9  going to commit it today. Thanks.


Implement Websockets endpoints.

    It is definitely the latter. It's already the basis of a couple of personal applications. As the repo continues having improvements, I guess it can better serve others with their projects as well.

I agree WebSocket endpoints and rate limiting on all requests are good things to add. Let's add issues to track it.
Originally posted by @KmiQ in https://github.com/KmiQ/coinbase-advanced-python/discussions/17#discussioncomment-5204256

Hello @KmiQ, any news about this feature?

Hello @KmiQ, any news about this feature?

hey @gunjack-el . No updates here, unfortunately, BUT if you want to give it a try, I'd be more than happy to review it and provide support.

I have almost implemented the entire feature. I would kindly like a review to ensure it aligns with your coding style.

I have almost implemented the entire feature. I would kindly like a review to ensure it aligns with your coding style.

Thank you @gunjack-el . Sure thing, feel free to open a PR and I'm gonna review it for you.

PR requested ;)
For any clarification, I am at your complete disposal.


Clock: repeat option

https://github.com/JuliaPluto/PlutoUI.jl/assets/6933510/8cc93f34-7e62-432d-aa63-78199c3bf0b6
This will also be useful for creating short looped animations with https://github.com/JuliaPluto/PlutoSliderServer.jl/pull/29
cc @behinger

uhhh, I like it!! Will make the featured notebook even more beautiful :-)


Minor - Link to 'bookmyvaccine.nz' broken in README

Hey team!
Loving the work so far! This is inspiring to me as a junior dev. Would love to help out where I can :)

Just a minor fix to link in the first paragraph of the README
The link currently takes you to here:

thanks for the fix!


tools: Add Vulkan SC variant of vulkaninfo

I tested on linux after fixing the vkCreateDebugReportCallbackEXT issue mentioned by Daniel, but hit another issue where the VkDeviceCreateInfo structure is missing mandatory structures like VkDeviceObjectReservationCreateInfo in its pNext chain. Haven't investigate further past that issue.

@aqnuep seems like you need to run this with VVL :-)

@aqnuep seems like you need to run this with VVL :-)

Indeed. I guess my validation setup when running it was incorrect. I'll re-check everything.

@sricker-nvidia, could you give it a go with the updates? It is now certainly validation-clear.

LGTM pending Sam's testing results.

Just finished testing the latest version of the patch on L4T / embedded linux and QNX. Working as expected on both.
LGTM

Thanks, @sricker-nvidia!


QR Code login doesn't do anything

Hello,
I'm scanning the QR Code from my iPhone, Discord (iOS) says "You're in!/You're now logged in on desktop" but QR Code stays on screen on macOS.
Is there any logs somewhere I can send you?

Yes, you can simply right-click on Remedy in the application folder, select "Open Package Contents," navigate to the macOS folder, and then open the Remedy in the terminal. This make log appear in terminal.

And there you go:
[DiscordRemoteAuth] Please scan the QR code to continue.
QR Code will expire in 3/20/2023, 7:12:24 PM
[DiscordRemoteAuth]
         User:           Rykian#2422<PHONE_NUMBER>89481216)
         Avatar URL:     https://cdn.discordapp.com/avatars/109223451289481216/453de23caf9657cbcb4adeaa5c372140.png
         Token:          Unknown
[DiscordRemoteAuth] Please check your phone again to confirm login.
[DiscordRemoteAuth] Get token success.
(node:76369) UnhandledPromiseRejectionWarning: ReferenceError: Cannot access 'res' before initialization
    at DiscordAuthWebsocket._findRealToken (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/discord.js-selfbot-v13/src/util/RemoteAuth.js:417:49)
    at DiscordAuthWebsocket._handleMessage (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/discord.js-selfbot-v13/src/util/RemoteAuth.js:238:14)
    at WebSocket.<anonymous> (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/discord.js-selfbot-v13/src/util/RemoteAuth.js:191:12)
    at WebSocket.emit (node:events:513:28)
    at Receiver.receiverOnMessage (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/ws/lib/websocket.js:1178:20)
    at Receiver.emit (node:events:513:28)
    at Receiver.dataMessage (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/ws/lib/receiver.js:528:14)
    at Receiver.getData (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/ws/lib/receiver.js:446:17)
    at Receiver.startLoop (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/ws/lib/receiver.js:148:22)
    at Receiver._write (/Applications/Remedy Pro.app/Contents/Resources/app.asar/node_modules/ws/lib/receiver.js:83:10)
(Use `Remedy Pro --trace-warnings ...` to show where the warning was created)
(node:76369) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

Thank you for you log! It seems the issue was caused by the old version of the discord package. I've updated it in the new release 1.1.8, please have a try!

Hold on, I'm sorry that the app got some issue after packing. I will keep you update asap!

Hi @Naozumi520,
thank you for this amazing app. Do you know, when a new Pro version is released? Would be great if we can get this app working again :)

Sadly, the package of the discord.js is having the login problem due to the captcha :(
I'm having the examination so maybe I can only fix after it

Problem confirmed, just left it few days and login, you will have the chance to login successfully without captcha. However obviously this isn't the way. I will fix it once my exam ends. Just to tell you all this could be a workaround before that, you can first also use token to login as for now.

Hi, please test the following version, it should did the trick:
Remedy Pro-1.9.0-universal.dmg.zip

Hi, please download the latest version (2.0.0). It contains all the fixes.


helpers.segment.cjs incorrectly handle CommonJS import from @kurkle/color

Expected behavior
When hovering over a pie chart, it should not throw an error.
Current behavior
I implemented chart.js in my Angular 14 app without ng2-charts and since I have this in my tsconfig.app.json:
{
  "compilerOptions": {
    "module": "commonjs",
    "resolveJsonModule": true,
    "esModuleInterop": true
  }
}

helpers.segment.cjs is loading @kurkle/color/dist/color.cjs (not sure if above is actually responsible for this). After that every time I hover over a pie chart, I got an error:
core.mjs:7629 ERROR TypeError: color$1.Color is not a constructor
    at getHoverColor (helpers.segment.cjs:755:49)
    at Defaults.hoverBorderColor (helpers.segment.cjs:1035:49)
    at _resolveScriptable (helpers.segment.cjs:1711:13)
    at _resolveWithContext (helpers.segment.cjs:1695:17)
    at helpers.segment.cjs:1644:46
    at _cached (helpers.segment.cjs:1687:19)
    at Object.get (helpers.segment.cjs:1644:20)
    at Config.resolveNamedOptions (chart.cjs:5425:35)
    at PieController._resolveElementOptions (chart.cjs:963:31)
    at PieController.resolveDataElementOptions (chart.cjs:938:21)

I debug it and found out that the problem is that color$1 is a function and not an object. In this case the correct syntax should be new color$1(value) instead of new color$1.Color(value), because @kurkle/color/dist/color.cjs have CommonJS syntax. If Ecmascript module loading is used, chart.js is loading @kurkle/color/dist/color.esm.js and the syntax in helpers.segment.cjs is correct, because color$1 is now an object.
Reproducible sample
https://codesandbox.io/s/ng2charts-chart-js-issue-template-forked-n6cdgi?file=/tsconfig.json
Optional extra steps/info to reproduce
Note that the implementation to the codesandbox is working properly, because @kurkle/color/dist is using the color.esm.js and I can't make it so it would use color.cjs (my case). I'm attaching screenshots.
Screenshot of node_modules in codesandbox app:

Screenshot of node_modules in my app:

So at the end, if you can make the code example to load @kurkle/color/dist/color.cjs  you will see the error I'm getting while hovering on a pie chart.
Possible solution
No response
Context
No response
chart.js version
v4.1.2
Browser name and version
Chrome,108.0.5359.125
Link to your project
No response

I think I am still experiencing the same issue with chart.js 4.2.1 and react-chartjs-2.
I prepared a repro https://codesandbox.io/p/github/seikosantana/chart-test-remote/master?file=%2Fpackage.json&workspaceId=8468dbdb-93ea-47e5-bed8-768371affa1f
Hovers throws exception. Toggling series also throws.


[libvirt] Add LIBVIRT_POOL configuration parameter

Vagrant Subutai box uses by default libvirt pool storage name default.
LIBVIRT_POOL default value should be default.
The user should set libvirt storage pool name like in vagrant-subutai.yml
LIBVIRT_POOL: my_custom_pool_name

Created libvirt pool in Documents folder:

Peer used the directory that was set.
Fixed in master


Better testing coverage for 6.6 FireEdge features

Description
FireEdge Sunstone support for new 6.6 features needs better testing coverage, specially in the following features:

[x] https://github.com/OpenNebula/one/issues/5753
[x] https://github.com/OpenNebula/one/issues/5529
[ ] https://github.com/OpenNebula/one/issues/5516

Details

Affected Component: FireEdge Sunstone
Hypervisor: ALL
Version: 6.6.x

Additional context
Add any other context about the problem here.

Progress Status

[ ] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

FSunstone testing for #5753: https://github.com/OpenNebula/development/pull/2122

FSunstone testing for #5529: https://github.com/OpenNebula/development/pull/2124


Link to the documentation downloads.

As discussed on https://issues.apache.org/jira/browse/COUCHDB-906.

Resolved via https://github.com/apache/couchdb-documentation/commit/16e75c559e22ec74b89d205bb4e1b7d2df689eae
If you have further suggestions please open new PRs on the apache/couchdb-documentation or apache/couchdb-www repos.


Cutoff ranking

Anyway to specify the minimum pg_search_rank that should be returned?
Thanks!

The easiest way would be to chain on a call to where.
MyClass.my_search_scope("query").where("pg_search_rank > 0.2")

Other than that I will research good ways to expose the built-in PostgreSQL way of filtering this, which should be more performant.

A recent (still unpublished) change on master makes this possible. eb730f705c5c532a7e26b496392b7e09e0b8d713
You can now add where("pg_search.rank > 0.2") and it should work.


Add cluster routingclass

What does this PR do?
Add another routing class to our workspace spec: cluster. With routingClass: cluster, the controller will not create routes/ingresses and will instead use the created service's DNS names for endpoints.
I haven't tested how this works with various network policies yet, but presumably it won't work if network policies do not allow cross-namespace communication.
What issues does this PR fix or reference?
Resolves https://github.com/eclipse/che/issues/16863
Is it tested? How?
Tested on crc and minikube.
To test:
# ...other env vars as usual
export DEFAULT_ROUTING=cluster
make deploy
oc apply -f ./samples/cloud-shell.yaml

then oc rsh or kubectl exec -it into another pod on the cluster (e.g. plugin registry) and try to curl ${workspace.ideUrl}/static/.

Rebased on master and added the following:

Another routingClass, cluster-tls, which uses service serving certificates to enable TLS for cluster routing
Update samples/internal registry to use cluster-tls by default.

Testing
Note: images in registry are switched to ones I've built for PR https://github.com/eclipse/che-machine-exec/pull/107 until that PR is merged.

Deploy controller to cluster as usual
oc apply -f ./samples/commandline-terminal.yaml
Wait for workspace to start; ideUrl should be service DNS name, over https.
Once workspace is Running, kubectl exec or oc rsh into another pod on the cluster and curl the workspace ideUrl:curl https://${workspace_id}-service.che-workspace-controller.svc:4444/healthz \
  --cacert /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt --verbose

Merging with one open question: Can we run into a situation where generated secret name is too long?


destroyVirtualMachine support force shutdown of VM

ISSUE TYPE

Improvement Request

COMPONENT NAME
API
CONFIGURATION
Using detroyVirtualMachine, we should be able to force shutdown VM when needed. Something a VM is crashed on the hypervisor and required a force stop, the destroyVirtualMachine will fail due to stop command timeout.
command example could be:
detroy virtualmachine id=<...> forcestop=true

@pdion891 there is a global setting to force shutdown VMs on destroy you can use that.

That would make sense,  gona have to test vm.destroy.forcestop = true
Thanks @rhtyd !

This was fixed in https://github.com/apache/cloudstack/pull/2108, closing based on this. @pdion891 kindly re-open if the global setting workaround is not acceptable.


Show float window in relative to 'editor' instead of 'win'

Hi,
I'm not sure if this is a bug or not. When I open buffer in split/vsplit, float window displays in relative to 'win', like these

Maybe, float window displays in relative to 'editor' like this is better?

Please help to check this PR, thanks.

No, this is not a bug. I chose to use 'win' to indicate where the selected buffer would be placed, or which window would be split.

No, this is not a bug. I chose to use 'win' to indicate where the selected buffer would be placed, or which window would be split.

Thanks for your explanation.


Increase pg_prewarm loading speed

old pg_prewarm is very slow when use "ReadBufferExtended" , so use polar_bulk_read_buffer_extended.

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

mistake someing,  PR should not be from   ApsaraDB:POLARDB_11_STABLE, need to DEV branch.


Would be guards needed if we use plain links instead of buttons with click handler?

https://github.com/aeternity/superhero-ui/pull/793/commits/df487ff492ff43ab942bd4a07f1b1136d1879ac9
Probably if we use plain links we won't be needed to write guards like in the commit above, making code simpler and more semantic.

@davidyuk look like it's not possible to separate links and handlers event inside links. In this case it will fires link navigation and event handler simultaneously. And for example at src/components/tipRecords/TipComment.vue when user clicks at tip button it will shows input but next page will be changed by link.
But I can try to avoid or change guards.

mostly resolved in #860


Explict version info

should resolve #2451
before:
0.4.0-nightly (383e7e99 2018-02-19)

after this commit, channel(nightly|beta|stable) will not be hard-coded into version info anymore.
rustfmt 0.4.0-nightly (e87c2cae 2018-02-21)

Looks good, thank you!


Bug: No History in Debug Toolbar when RedirectException

Describe the bug
When redirects using RedirectException, the request is not in HISTORY in Debug Toolbar.
So we can't see the debug info of the request.
CodeIgniter 4 version
develop branch.
Affected module(s)
Which package or class is the bug in, if known.
Expected behavior, and steps to reproduce if appropriate
I want to see the request in the HISTORY.
Context

OS: [macOS 10.15.7]
Web server [PHP built-in]
PHP version [7.4.13]

When an Exception is raised, it means abnormal situation.
So normal processing is not needed.


download datum://id and datum://alias files, run execution locally, using project data files

As discussed in the Continental support channel, we need the possibility to download datum:// input files to run an execution locally. This pull request adds this feature to valohai-utils' download.py.
Using this we were able to run a complete execution, locally.
To test, perform the following steps

log in to valohai with vh login
link a project, if you want to use aliases with vh link
execute python snippet (make sure to replace my_models_alias and 01941935-832f-16d4-af69-6a9bf6bf4df6 with existent data)

import valohai

valohai.prepare(
    step="predict",
    default_inputs={
        "model-http": "http://example.com",
        "model-alias": "datum://my_models_alias",
        "model-id": "datum://01941935-832f-16d4-af69-6a9bf6bf4df6",
    },
)

print(valohai.inputs("model-http").path())
print(valohai.inputs("model-id").path())
print(valohai.inputs("model-alias").path())

Thank you for the PR, I will adopt the branch to add improvements and add automated test cases.


optional support for auto left/right delimiters from nath package

Entering lots of matching \left( and \right) delimiters can be tedious and time consuming.  It would be nice to have an option that interprets ( as \left( and ) as \right) and does the same for all other paired delimiters and middle symbols.
The nath package also modifies delimiter sizes so that superscripts and subscripts inside the delimiters don't contribute to the height of the delimiter and are allowed to extend outside the bounds of the delimiters which, after seeing it looks quite nice.

For details, see section 10 of http://ctan.mirror.rafal.ca/macros/latex/contrib/nath/nathguide.pdf.

I think this could maybe be done it two parts:

option to automatically convert ( to \left( and ) to \right)
option to ignore superscripts/subscripts when calculating ( and ) delimiters

The first part could be done easily with macros, if we allow single characters to also be macros (which is a one-line change, and one I'd be in favor of -- it's in the spirit of active characters in TeX).  It could still be cool as an option, but the option can be implemented by adding two additional macros.

Oops, I realize that this wouldn't work so easily... defining ( to expand to \left( will lead to an infinite expansion loop.  Maybe the macro expander could be set up to not expand ( in the definition of (.  I don't think we want to go down the \catcode rabbit hole...

Maybe we can make the tokenize to favor parsing \left( over \left, (.

Auto left/right delimiters can be extremely handy.
For square brackets, to avoid recursion, one can set:
"[": "\\left\\lbrack",
"]": "\\right\\rbrack"

Something similar could be done with parentheses if we had \lparen and \rparen delimiters as synonyms of ( and ) respectively.
If you agree I can submit  a PR implementing them.

Just as long as \\lbrack isn't a macro for [. 😉
@AlbertHilb a PR would be most welcome.

Just as long as \\lbrack isn't a macro for [

That means if one between \\lbrack and [have to become a macro for the other, we'll choose [! :smile:


[go_router] onExit not triggered for top-level route ("HomeScreen")

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
@chunhtai  It seems onExit is not triggered when using it on HomeScreen (refering to example https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/on_exit.dart).
E.g. using the android back-Button on HomeScreen (with onExit implemented on HomeScreen) closes the app without triggering onExit.
This usecase would be very usefull to show a dialog to the user to confirm closing the app.
Expected results
Using the android back-Button on HomeScreen (with HomeScreen beeing the last page on navigation stack) closes the app without triggering onExit.
Actual results
App is closed without triggering onExit
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

/// This sample app demonstrates how to use GoRoute.onExit.
void main() => runApp(const MyApp());

/// The route configuration.
final GoRouter _router = GoRouter(
  routes: <RouteBase>[
    GoRoute(
      path: '/',
      builder: (BuildContext context, GoRouterState state) {
        return const HomeScreen();
      },
      onExit: (BuildContext context) async {
        final bool? confirmed = await showDialog<bool>(
          context: context,
          builder: (_) {
            return AlertDialog(
              content: const Text('Are you sure to leave this page?'),
              actions: <Widget>[
                TextButton(
                  onPressed: () => Navigator.of(context).pop(false),
                  child: const Text('Cancel'),
                ),
                TextButton(
                  onPressed: () => Navigator.of(context).pop(true),
                  child: const Text('Confirm'),
                ),
              ],
            );
          },
      routes: <RouteBase>[
        GoRoute(
          path: 'details',
          builder: (BuildContext context, GoRouterState state) {
            return const DetailsScreen();
          },
          onExit: (BuildContext context) async {
            final bool? confirmed = await showDialog<bool>(
              context: context,
              builder: (_) {
                return AlertDialog(
                  content: const Text('Are you sure to leave this page?'),
                  actions: <Widget>[
                    TextButton(
                      onPressed: () => Navigator.of(context).pop(false),
                      child: const Text('Cancel'),
                    ),
                    TextButton(
                      onPressed: () => Navigator.of(context).pop(true),
                      child: const Text('Confirm'),
                    ),
                  ],
                );
              },
            );
            return confirmed ?? false;
          },
        ),
        GoRoute(
          path: 'settings',
          builder: (BuildContext context, GoRouterState state) {
            return const SettingsScreen();
          },
        ),
      ],
    ),
  ],
);

/// The main app.
class MyApp extends StatelessWidget {
  /// Constructs a [MyApp]
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerConfig: _router,
    );
  }
}

/// The home screen
class HomeScreen extends StatelessWidget {
  /// Constructs a [HomeScreen]
  const HomeScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Home Screen')),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            ElevatedButton(
              onPressed: () => context.go('/details'),
              child: const Text('Go to the Details screen'),
            ),
          ],
        ),
      ),
    );
  }
}

/// The details screen
class DetailsScreen extends StatelessWidget {
  /// Constructs a [DetailsScreen]
  const DetailsScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Details Screen')),
      body: Center(
          child: Column(
        children: <Widget>[
          TextButton(
            onPressed: () {
              context.pop();
            },
            child: const Text('go back'),
          ),
          TextButton(
            onPressed: () {
              context.go('/settings');
            },
            child: const Text('go to settings'),
          ),
        ],
      )),
    );
  }
}

/// The settings screen
class SettingsScreen extends StatelessWidget {
  /// Constructs a [SettingsScreen]
  const SettingsScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Settings Screen')),
      body: const Center(
        child: Text('Settings'),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.4, on Ubuntu 22.04.3 LTS 6.2.0-33-generic, locale de_AT.UTF-8)
    • Flutter version 3.13.4 on channel stable at /home/user/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 367f9ea16b (vor 7 Tagen), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /home/philipp/Android/Sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /snap/android-studio/127/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2022.2)
    • Android Studio at /snap/android-studio/126/android-studio
    • Flutter plugin version 75.1.1
    • Dart plugin version 222.4582
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] Android Studio (version 2022.3)
    • Android Studio at /snap/android-studio/127/android-studio
    • Flutter plugin version 75.1.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version unknown)
    • VS Code at /snap/code/current
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
    ✗ Unable to determine VS Code version.

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 22.04.3 LTS 6.2.0-33-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 115.0.5790.170

[✓] Network resources
    • All expected network resources are available.

Hi @philitell. Thanks for filing this. I can reproduce this on the latest master channel. Not sure if this is the expected behaviour as from the docs:

Called when this route is removed from GoRouter's route history.
Some example this callback may be called:
This route is removed as the result of [GoRouter.pop].
This route is no longer in the route history after a [GoRouter.go].
This method can be useful it one wants to launch a dialog for user to confirm if they want to exit the screen.

I'd keep open and label for more insights.
Code Sample Used

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

/// This sample app demonstrates how to use GoRoute.onExit.
void main() => runApp(const MyApp());

/// The route configuration.
final GoRouter _router = GoRouter(
  routes: <RouteBase>[
    GoRoute(
      path: '/',
      builder: (BuildContext context, GoRouterState state) {
        return const HomeScreen();
      },
      routes: <RouteBase>[
        GoRoute(
          path: 'details',
          builder: (BuildContext context, GoRouterState state) {
            return const DetailsScreen();
          },
          onExit: (BuildContext context) async {
            final bool? confirmed = await showDialog<bool>(
              context: context,
              builder: (_) {
                return AlertDialog(
                  content: const Text('Are you sure to leave this page?'),
                  actions: <Widget>[
                    TextButton(
                      onPressed: () => Navigator.of(context).pop(false),
                      child: const Text('Cancel'),
                    ),
                    TextButton(
                      onPressed: () => Navigator.of(context).pop(true),
                      child: const Text('Confirm'),
                    ),
                  ],
                );
              },
            );
            return confirmed ?? false;
          },
        ),
        GoRoute(
          path: 'settings',
          builder: (BuildContext context, GoRouterState state) {
            return const SettingsScreen();
          },
        ),
      ],
    ),
  ],
);

/// The main app.
class MyApp extends StatelessWidget {
  /// Constructs a [MyApp]
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerConfig: _router,
    );
  }
}

/// The home screen
class HomeScreen extends StatelessWidget {
  /// Constructs a [HomeScreen]
  const HomeScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Home Screen')),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            ElevatedButton(
              onPressed: () => context.go('/details'),
              child: const Text('Go to the Details screen'),
            ),
          ],
        ),
      ),
    );
  }
}

/// The details screen
class DetailsScreen extends StatelessWidget {
  /// Constructs a [DetailsScreen]
  const DetailsScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Details Screen')),
      body: Center(
          child: Column(
        children: <Widget>[
          TextButton(
            onPressed: () {
              context.pop();
            },
            child: const Text('go back'),
          ),
          TextButton(
            onPressed: () {
              context.go('/settings');
            },
            child: const Text('go to settings'),
          ),
        ],
      )),
    );
  }
}

/// The settings screen
class SettingsScreen extends StatelessWidget {
  /// Constructs a [SettingsScreen]
  const SettingsScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Settings Screen')),
      body: const Center(
        child: Text('Settings'),
      ),
    );
  }
}

flutter doctor -v

[✓] Flutter (Channel master, 3.14.0-14.0.pre.358, on macOS 13.0 22A380 darwin-arm64, locale en-NG)
    • Flutter version 3.14.0-14.0.pre.358 on channel master at /Users/damilolaalimi/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (3 hours ago), 2023-09-19 02:10:24 -0400
    • Engine revision 589bde9a95
    • Dart version 3.2.0 (build 3.2.0-174.0.dev)
    • DevTools version 2.28.0-dev.8

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 14 (API 34) (emulator)
    • iPhone 14 Pro Max (mobile)  • BB55E997-7F31-462D-B3B1-6B177D9B40C7 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 116.0.5845.187

[✓] Network resources
    • All expected network resources are available.

• No issues found!


error in article

Configure the Business Central Server for multitenancy
To set up the Business Central Server instance for multitenancy, make the following changes to the server instance configuration:
Enable the Multitenant setting.
Set the server instance to connect to the application database by changing these settings: DatabaseServer, DatabaseServer, and DatabaseServer.
Last section should read -
Set the server instance to connect to the application database by changing these settings: DatabaseServer, DatabaseInstance , and DatabaseName.

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

ID: 369ef361-8740-4777-2f6d-32e73df71e43
Version Independent ID: e2d76464-650f-3a97-d15c-f6d50245bfa4
Content: Manage Application and Tenant Databases in a Multitenant Deployment - Business Central
Content Source: dev-itpro/administration/multitenant-setup-guide.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: solsen

Thanks for the feedback! The article has been fixed and the update will be published soon.


Custom modules and Network Rendering.

Just a quick question:
Are the post-render modules ran on the worker machine or the server machine?
Thanks,

Hello
Both pre- and post-render modules run on worker machines since they are called directly before or after rendering itself.

Great thanks


Work through latest ZKApp Tutorial

Work through Tutorial 10 on Account Updates that has just been dropped as it could be useful in supporting E2E testers.

There's an OS Level dependency that is preventing the main.ts file from being runnable.

Need to download Graphviz to run the file.

Also, spotted an error with the peer dependency. The visualiser tool requires a version of 0.9.*, but the latest version 10.0. has some fixes in. O(1) are looking into this.


include/devicetree: clocks: Add DT_CLOCKS_HAS_FOO & DT_NUM_CLOCKS

include/devicetree: clocks: Add DT_CLOCKS_HAS_FOO & DT_NUM_CLOCKS
Add macros DT_CLOCKS_HAS_NAME and DT_CLOCKS_HAS_IDX.
These macros allow to check the presence of a specific clock name or a specific cell at a given index in a clocks property.
Matching INST macro variants are also provided.
Also add DT_NUM_CLOCKS and its INST variant that counts the number of clocks available for a given node.
Add matching tests.

Thanks @mbolivar-nordic for the review. I hope everything is fine now.

@gmarull would you mind re-approving ?


Provide low-level API to raylib without automatic freeing (WindowResources)

It's enjoyable to have a raylib API in Haskell that takes care about Foreign stuff (pointers and marshaling), so one doesn't have to.
However, at the moment h-raylib enforces a particular memory management approach that may be not good for certain cases or favorable by some programmers.  It would be nice for a library user programmer have a choice whether to use raylib without WindowResources facility.
Here is a great article on different levels of APIs Haskell (please, note that it's HTTP, you might need to instruct the browser to render it):
http://blog.haskell-exists.com/yuras/posts/a-begginers-guide-to-over-engineering.html
Note, how the API of the lowest level allows building higher level APIs on top of it, but not vice versa.
Please, note that raylib philosophy is about simplicity and not enforcing things, but rather leaving a door open to have them.
Low-level API with Closeable
Here's an example of a low API that allows automatic resource freeing, but can be opted out if not wanted:
with :: Closeable a => IO a -> (a -> IO b) -> IO b
with = flip bracket close

class                     Closeable a       where close :: a -> IO ()
instance                  Closeable Image   where close = ...
instance                  Closeable Texture where close = ...
instance                  Closeable Font    where close = ...
instance (Closeable c) => Closeable [c]     where close = mapM_ close

User programmers can decide how they want to write:
t <- openTexture "1.png"
...
close t

...or...
with (openText "1.png") $ \t -> do
  ...

...or something else.
With this design, user programmers can opt-out from using bracket/with and use something like resourcet or managed, if they want (but let's not focus on these approaches here).
Another important thing: user programmers are not forced to pass WindowsResources to every API call -- especially if they favor other resource-handling techniques such as with/close.
If a user programmer want, he can still implement WindowResources approach in their code on top of low-level API and track all the resources (e.g. this can be useful for runtime introspection). Also, he may go even further and push the WindowResources to a Reader monad, so he doesn't have to carry it around -- that's up to the user programmer.

h-raylib exposes a native version of every function, just prepend it with c' (e.g. c'initWindow). This uses raw Ptrs and no automatic memory management, I think this is what you're looking for. To free the resources from CPU but not GPU, you can use rlFree from the Freeable typeclass. To free the resources from both CPU and GPU, you can use c'unload* (e.g. c'unloadImage), then Foreign.Marshall.Alloc.free.

Thank you for your answer.
What I would really like to have (as a user programmer) is these functions without WindowResources arguments and add* tracking functionality in them.
https://github.com/Anut-py/h-raylib/blob/master/src/Raylib/Core/Textures.hs#L650-L673
...and have a single close function to free things instead of 2 or 3 calls (which is error-prone and context-switching for user programmer -- I wouldn't want keep them in my head).
Sure, it could be doable just to copy-paste all such functions (there's around 100 of them) into my module and then remove WindowResources and addX from all. Not quite good, but doable.
But it's also not possible, because these fns depends helpers from module Raylib.Internal.Foreign such as withFreeable, pop, popCArray, popCString -- they are hidden as well.

I'll have to think of a good solution for this. I might make a Closeable typeclass as you suggested.

Great! It would be really great to stay away from pointers and Foreign.
It seems like an extract refactoring of from the existing functions (the ones tracking via WindowResources) -- so it should possible to re-use them back from where they extracted + have a new API.
Things come to my mind such as Raylib.Closeable module or, of if without a module, fns like openImageCloseable, openFontCloseable next to existing ones.

Done in <IP_ADDRESS>, reopen this issue if there are any problems


How do you make a display invert?

Is the invert function available in this library?
If so, how do you call it in the code?

colorSwap(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color1, uint16_t color2)
Give it a rectangle and the colors to swap. For example, in my code I invert the top 20 pixels of the display (from black on white to white on black) like this:
gfx.colorSwap(0,0,gfx.getWidth(),20,0,1);


query generic http endpoint

Hi,
just wonder if this connector could be used to do generic http request?
maybe simply return the status code , content type, headers and content and leave the rest to trino's json

No, it cannot be used for this. It would make writing queries a lot harder if you'd want to fetch multiple pages of data, handle predicate pushdown, etc.


Plotting outputs Matlab wrapper

Hello,
I was hoping to be able to save plots using the Matlab wrapper, but I am running into a problem. I was hoping, after running FOOOF with fm.fit, where fm is the FOOOF object, I could run fm.save_report(filename), or fm.report and generate a report without having to leave matlab. However, both of these commands led to this error:

Any idea where this came from / suggestions? I checked and I do have Matplotlib installed. Any help is appreciated :)

As of right now - this wrapper is super minimal, and only really supports the basics of running the model and getting the results.
I would like to extend it a bit as soon as I can a chance (hopefully will take some time to work on it next week). Of the top of my head, I don't know if / how the reports / plotting / saving, etc will work - but I will try to get back to you soon!

Ok, no problem -- thanks for the quick response!

^ Just figured this out -- I was using log(), which is natural log in matlab, instead of log10().

Hey @mgm248 : sorry I didn't get back to this earlier - I was traveling back then. If you have some Matlab code to regenerate the model from FOOOF-results, and re-create a plot, would you mind sharing that code? It might something useful to add into this wrapper in general, so that everyone can do that same as you set up. I can help organize the code to merge into the repo here, if you'd like.

Also, @mgm248 : perhaps of interest, I just added support for getting the fooof model, and plotting it.
I would still be curious for the code you used to regenerate the model!

I wrote a plot function at some point
https://github.com/vpapadourakis/fooof_mat/blob/master/matlab_wrapper_examples/plot_one_foof_results.m
It's been a while but it should work.


Sort collections

Added support for collection sorting. Updated README.md and fixed a typo in the _config.yml files.
The options sort_by and sort_order can be added in the front matter. Accepted values for The sort_by
option are the 'title' and 'date', and for the sort_order option is the 'reverse' (anything else will provide a forward ordering).
Example reverse sorting of recipes based on title:

title: Recipes
layout: collection
permalink: /recipes/
collection: recipes
show_excerpts: false
sort_by: title
sort_order: reverse
entries_layout: list

Thanks, this looks good!


#308 do not duplicate Authorization header, see https://github.com/quarkiverse/quarkus-openapi-generator/issues/308

see https://github.com/quarkiverse/quarkus-openapi-generator/issues/308
this may be naive, but it works and putSingle is expected to guarantee no multiple Authorization headers will be sent : if multiples were sent, the receiving server would not know which one to use anyway.

tests are passing (mvn clean install from a git clone of main)

@laurentperez as @hbelmiro said, would be nice to have an integration test. I'd suggest using your own OpenAPI file in this test. See here: https://github.com/quarkiverse/quarkus-openapi-generator/tree/main/integration-tests

yup. I was looking at https://github.com/quarkiverse/quarkus-openapi-generator/tree/main/integration-tests/security/src/test/java/io/quarkiverse/openapi/generator/it/security for openweather.
per RFC https://datatracker.ietf.org/doc/html/rfc7235#section-4.2 it does not explicitly says "no multiple Authorization headers are allowed" but instead "A user agent that wishes to authenticate (..) can do so by including an Authorization header field with the request.". implicitely this "an" means "only one". hence, I putSingle.
unsure yet if I should use a custom OpenApi file for the test. the test is simply a generic test to make sure only one header is sent by the Provider
I'll see if I can do a simple thing following the openweather IT tests.

@laurentperez adding one case test to one already in place is pretty reasonable too. Thanks!

added a full IT test since it was easier than I expected using wiremock. the "fooapikey" is the expectation. @hbelmiro @ricardozanini
I reduced the own OpenAPI file to the minimal stuff to avoid cluttering
tests are green locally (mvn clean install)

@allcontributors please add @laurentperez for code


Allow hidden tracks

hidden field on a track should mean it isn't exposed on the frontend.
For ex, I want to hide this track

Is it like a button called "hide" and then it'll go to hidden tracks?

This should actually be visible set to true so they are hidden by default

Sorry but i couldn't understand what ur trying to say ?
MY ASSUMPTION :
They where already hidden by default and harkirat you make them visible by turning the boolean visible variable as true

yes that is correct. We want everything to be hidden by default and if visible is set to true, it should be returned by the backend api


⚠ Jenkins Plugins Artifactory has degraded performance

In 9a68759, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1258 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 268b8c1 after 12 minutes.


How to use the new pessistent hook?

Does it avaible?

Hi @OpenJarvisAI - the new Pebble persistence hook is available in v2.6.1 - please see latest notes in readme. Thanks!


E2532 - StateMachine Json not parsing when using multi param !Sub

cfn-lint version:
$ cfn-lint --version
cfn-lint 0.9.1

Description of issue:
When using !Sub with 2 parameters as defined here then cfn-lint chokes on the parameter being subbed in because technically this is not valid json. This is valid cloud formation though.
Here is basic example showing issue:
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31

Parameters:
  TestParam:
    Type: String

Resources:

  StateMachine:
    Type: AWS::StepFunctions::StateMachine
    Properties:
      StateMachineName: TestStatemachine
      RoleArn: arn:aws:iam::123456789012:role/test-role
      DefinitionString:
        !Sub
      - |
        {
          "StartAt": "FlowChoice",
          "States": {
            "FlowChoice": {
              "Type": "Choice",
              "Choices": [
                {
                  "Variable": "$.sleep",
                  "StringEquals": "true",
                  "Next": "Sleep"
                },
                {
                  "Variable": "$.sleep",
                  "StringEquals": "false",
                  "Next": "Stop"
                }
              ],
              "Default": "Stop"
            },
            "Sleep": {
              "Type": "Wait",
              "Seconds": ${TestParam},   # <--- Not handled!
              "Next": "Stop"
            },
            "Stop": {
              "Type": "Succeed"
            }
          }
        }
      - {TestParam: !Ref TestParam}

Agreed. Should be able to fix this quickly.  Thanks!


Sentry sdk in a Django env breaks cache access

How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.4.0
Steps to Reproduce
The traceback should be enough.
But the line it breaks in looks like that, nothing with the sentry itself:
keys_to_delete = list(redis_client.scan_iter(match=f'{pattern}'))

SDK version: 2.4
Python: 3.12
Django: 5.0.6
The same thing passes OK with SDK version 1.45.0
Traceback:
  File ".../cache_utils.py", line 9, in some_function
    keys_to_delete = list(redis_client.scan_iter(match=f'{pattern}'))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/redis/commands/core.py", line 3051, in scan_iter
    cursor, data = self.scan(
                   ^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/redis/commands/core.py", line 3026, in scan
    return self.execute_command("SCAN", *pieces, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/sentry_sdk/integrations/redis/_sync_common.py", line 72, in sentry_patched_execute_command
    cache_properties = _compile_cache_span_properties(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/sentry_sdk/integrations/redis/modules/caches.py", line 33, in _compile_cache_span_properties
    key_as_string = _key_as_string(key)
                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/sentry_sdk/integrations/redis/utils.py", line 61, in _key_as_string
    key = ", ".join(_safe_decode(x) for x in key)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 0: expected str instance, int found

Expected Result
The expected result is Redis operation does not break because of sentry-sdk
Actual Result
Currently, it breaks :)

Hey @Galtozzy, thanks for submitting this. The issue has already been reported here, a release with containing a fix for this will be out soon (tomorrow).

@sentrivana thanks!

Fix out now in 2.5.0


(Chore) blocking redirects stops valid requests

I also tried following the redirect manually, but the browser blocks this with a req.status of 0. We're doing some pre-flight checks which I believe makes the manual unnecessary here.
Test URLs:

Before: https://main--helix-labs-website--adobe.aem.live/tools/image-audit/index.html
After: https://crawler-redirect-bug--helix-labs-website--adobe.aem.live/tools/image-audit/index.html

@inedoviesov1 this resolves the bug you reported.


Add ability to specify radar product to generate

Currently, the NEXRAD frames are hard-coded for Composite Reflectivity:
https://github.com/MaffooClock/MrRadar/blob/58dd68afbde97945e5ab7740451e524dd023371d/mr_radar/frame_generator.py#L54
A flag should be added to allow the user to choose which radar product they want.
Available radar products are here:
https://unidata.github.io/awips2/appendix/appendix-wsr88d/
Also: apparently, not all products are available at all sites?  For instance, specifying 20 for "Reflectivity (Z)" at site KSJT throws an exception for receiving an empty response.
So, should we provide a static list of product options?  Or expect the user to specify one themselves?  Either way, we should also set a reasonable default.

I forgot to mention: there is a DataAccessLayer.getRadarProductNames() method for obtaining available product names for a given site.

So, should we provide a static list of product options? Or expect the user to specify one themselves?

If we keep it simple and just expect the user to provide a product name themselves, we could also add a flag that simply dumps the available product names (without generating any imagery) so the user knows what can be specified.


In UI, Dockstore should say "Galaxy" instead of gxformat2

Is your feature request related to a problem? Please describe.
In the UI, e.g., on the search page and when you register a Galaxy workflow, the UI displays gxformat2. That is not very user friendly.
Describe the solution you'd like
It should say "Galaxy" or maybe "Galaxyv2".

┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Sprint 33 Herring
┆Issue Number: DOCK-1250

Need to structure this issue in terms of DescriptorLanguage.java

Heads-up, will touch dockstore-deploy due to https://github.com/dockstore/dockstore/issues/3292

Heads-up, will touch dockstore-deploy due to #3292

which issue?

Hmmm, was meant to be https://github.com/dockstore/dockstore-deploy/commit/b86ea7c7a6a7788d5c298629e81cbc338b0c0506#diff-71ae6304f9b90307912f12d75762faddR160

Verified that UI now shows the short friendly name 'Galaxy' as of UI - 2.6.0-rc.0-6-gd31307df


Lifecycle managment

Upgrade Ubuntu versions to ubuntu-latest in all github workflows

The samuelmeuli/action-maven-publish action uses Ubuntu 18.04 in its documentation, but I don't think that the Ubuntu version has any impacts on the actions functionality.

👍


Input video for table tennis application

Dear author, the demo input video is xxx.pkl, can I use a regular video file like xxx.mp4 or xxx.avi?
I wonder If there are some tools to convert regular video to "pkl" format as your definition, thank you very much

.pkl file is composed of frames, so you can decode video to frames, then save frames to .pkl file

Thanks you very much


Added init code for AppInsights

Thank you. But this is only relevant if the developer checks to include AppInsights. I think in those cases, they will be responsible to add it. We will not include it bydefault.

To use AppInsights, there are four requirements:

AppInsights NuGet packages (included in the minimal Template10 template)
ApplicationInsights.config file (included in the minimal Template10 template)
Internet capability (included in the minimal Template10 template)
Init code in App.xaml.cs  (NOT included in the minimal Template10 template)

It seems kind of random that one step is missing. The dev might be let to think that the init code is located in the library code, since the rest of the requirements are present.
Also, this init code is even included in the Univ Apps Blank template. It doesn't have any side-effects if the instrumentation key is missing (thus disabling AppInsights by default).
Thanks.


#97 - Add support for redis sentinel

related issue: https://github.com/mher/node-celery/issues/97

Add sentinel support for node-celery broker and backend
Refined docker script for testing

@CCharlieLi please assign @mher for reviewing. thanks.
and looking forward this feature could be adding to node-celery.


Associate debug name with VmaPool

It would be nice to be able to associate names with custom pools so Dump Vis tool can use those names instead of generic 'Custom pool 17'. In our application we create a bunch of VmaPools for different purposes but it's hard to distinguish them in generated image. This would be invaluable for debugging when you see some unusual allocation pattern in a pool and the name will provide immediate information which type of allocation causes that behavior.

Thank you for this suggestion. I think it's a good idea and simple to implement. I will implement it soon.

I implemented this on master branch. Please check if it solves your issue.

It works for me. Thanks!
One thing that confused me at the beginning is that pool index is in the quotes and some of our pools have names that are numbers or just few letters mnemonics... so it looks like this: Custom pool "5 64" or Custom pool "1 m". Personally I would prefer Custom pool 1 "m" if name is provided and Custsom pool 5 for pools without name (original naming).

I changed it the way you described. Please take a look at the latest version.

Works as expected. Thanks for implementing this.


Implement inflatable wall

About the PR
Adds inflatable walls to help engineers when fixing breaches in the station.
Setup takes 1 second. Take down takes 3 seconds.
Screenshots

Changelog

:cl:

add: Added inflatable walls. Engineers can use them as temporary barriers when fixing atmos breaches.

No inflatable airlocks?

Not yet, I'll add them in another PR. It looked like it'd take a lot more work.


PyOutline code cleanup

Code is stored under a src/ subdir unlike other components, and exposes most of its functionality in a toplevel namespace via wildcard imports.

This was fixed a while back.


feat: add tx generator scenario for a lot of similar txs

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1626  👈
#1686
#1685
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ArniStarkware and the rest of your teammates on  Graphite

Merge activity

Oct 31, 8:44 AM EDT: A user started a stack merge that includes this pull request via Graphite.


Prefix Solr core names to facilitate multiple DSpace instances on a single Solr instance

When running multiple DSpace instances, it is often convenient to gather all of their Solr cores under a single Solr instance.  This requires distinct names for Solr cores across DSpace instances.  The core names are configured in various places scattered through DSpace's configuration files, making management of the core names more error-prone.
To reduce the chance of error, and keep things neatly organized, I propose defining a new configuration property solr.core.prefix which, when set, adds a single prefix to all configured core names.  The prefixing takes place entirely within the assembly of the runtime configuration -- no Java code changes are required.
The relevant properties extracted from a sample instance:
mwood@barn ~/dspaces/ds7/config $ grep solr.core.prefix . -r
./modules/solr-statistics.cfg:solr-statistics.server = ${solr.server}/${solr.core.prefix}statistics
./modules/oai.cfg:oai.solr.url=${solr.server}/${solr.core.prefix}oai
./modules/discovery.cfg:discovery.search.server = ${solr.server}/${solr.core.prefix}search
./local.cfg:solr.core.prefix = dspace7-
./local.cfg:solr.authority.server = ${solr.server}/${solr.core.prefix}authority
mwood@barn ~/dspaces/ds7/config $

Thus, this DSpace instance's Solr cores will be named dspace7-search, dspace7-authority, dspace7-oai, and dspace7-statistics.
By default the prefix property will be unset, causing the un-prefixed names to be used, as is the case now.

@abollini has noted that DSpace-CRIS has a similar feature, using the property name solr.multicorePrefix.  We could use that name in DSpace as well, to avoid confusion.


Revert mod.rs files

From PR #268 we (accidentally) introduced mod.rs files again...
we've gone back and forth multiple times about which convention to use and it seems our project prefers the other style of having module_name.rs and a module_name/ directory (if necessary) instead of mod.rs files
I think we should make a note of this in our contribution guidelines as this is now the second time this has happened :P (and likely will happen more in the future unless we make people aware)

it would be nice to have contribution guidelines. Would you like to take ownership of this and try to setup an initial one?

I think, the reason was, because the mod.rs file was empty. I mentioned it in the PR, but i think, no one has seen it because the following messages were too big.

it would be nice to have contribution guidelines. Would you like to take ownership of this and try to setup an initial one?

Yeah I can put together an initial one

@Kiyoshika I think you have created some? I only don't know where there are :-)

What's the status of this? Should I make a PR to rename the mod.rs files again? I'm not really good at writing things like contribution guidelines, so I probably shouldn't be the person to write them.

i'm not sure where they are. I've seen some though,.. somewhere... :-)  @Kiyoshika might know where

so, according to this contribution guide, we should use the non-mod.rs version.


Blue noise

Is it possible to remove the blue noise?
I tried modifying a few things to try and remove the blue noise, but it either does nothing or the code doesn't compile. Do you know/have a fix to remove it?
Thanks!

Hello @JustLexxy ,
Yes it is possible to not use any blue noise at all.  Locate this line inside the large main() function inside of the PathTracing fragment shader file (which is written in the glsl language):
vec2 pixelOffset = uFrameCounter < 150.0 ? vec2( tentFilter(rand()), tentFilter(rand()) ) :
vec2( tentFilter(rng()), tentFilter(rng()) );
And change it to read instead:
vec2 pixelOffset = vec2( tentFilter(rng()), tentFilter(rng()) );
The rand() function relies on the BlueNoise texture to produce random numbers between 0.0 and 1.0, whereas the rng() function computes the random numbers (also in the range of 0.0 to 1.0) all on its own.  It produces pretty high quality white noise.
As above, you will need to go through all glsl shader code for your own particular demo/scene and do a search and replace from rand() to rng().  Most if not all rand() will be found in the main() function as well as the CalculateRadiance() function.  Every demo/scene will have a shader with these 2 functions at least.  The final image output of the white noise rng() functions should look very similar to the blue noise rand() functions, but maybe won't look as smooth on the first animation frame, or might not converge as fast.
If you disable all of the rand() functions, you can then go through and comment out any lines dealing with the blue noise texture itself, such as the following line, also located in the PathTracing shader's main() function:
randVec4 = texelFetch(tBlueNoiseTexture, ivec2(mod(gl_FragCoord.xy + floor(uRandomVec2 * 256.0), 256.0)), 0);
In InitCommon.js, you could also get rid of the following lines, in order to not have to load in the supplied 256x256 RGBA blue noise texture:
// blueNoise texture used in all demos
blueNoiseTexture = new THREE.TextureLoader().load('textures/BlueNoise_RGBA256.png');
blueNoiseTexture.wrapS = THREE.RepeatWrapping;
blueNoiseTexture.wrapT = THREE.RepeatWrapping;
blueNoiseTexture.flipY = false;
blueNoiseTexture.minFilter = THREE.NearestFilter;
blueNoiseTexture.magFilter = THREE.NearestFilter;
blueNoiseTexture.generateMipmaps = false;
Pardon me if you already know this but it has been shown over the last 5 years or so that blue noise is preferable to white noise in path tracing.  Path tracing requires many random numbers (usually in the 0.0 to 1.0 range) at every step of the way, from camera ray spawning, to sampling the camera lens (for depth of field effects), to material sampling (like diffuse surfaces), to shadow-ray sampling (producing smoother soft shadows). Blue noise beats white noise in almost every category.  Not sure why you would want to disable blue noise, but at any rate, what I outlined in the above paragraphs should do the trick.
Let me know if you have any more questions or issues compiling. :)
-Erich

Thanks for the answer!
My question was more to disable any kind of noise in order to have a sharp image faster, but from what you're saying I understand that you need the blue noise for the path tracing, so I'm gonna leave it as it is!

@JustLexxy
Glad I could clarify! Yes, unfortunately all path tracers have to deal with noise in one form or another. Noise (randomness) is a curiosity because on one hand, it allows us to randomly sample (like a poll) all possible paths that light might take after interacting with a diffuse or rough specular surface, which results in photo-realistic materials and lighting. But on the other hand, since it is a truly random sample, the first samples that come back could be way off the mark, needing more time to settle down, and instead we get back a noisy image initially (not enough info or samples yet). This can be seen on a simple 2d graph of a Monte Carlo estimator (which all path tracers follow) which is trying to estimate the value of PI in a precise manner. The graph starts out all over the place (too high, too low), then slowly but surely, (and this is the magic and beauty of Monte Carlo-style integration), the estimates settle down and get closer and closer (more decimal places) to the actual value of PI. So if that same system is applied to figuring out how a 3D scene should look when lit a certain way (which is pretty much incalculable using normal closed-form equations), we have to be willing to put up with the initial noisy image, but in return we are guaranteed that when the estimates start to settle down and converge, we will get a truly physically-accurate result - which is really cool when you think about it!
Our human vision is extremely good at finding visual patterns, which sort of works against us when it comes to random number/ray path generation. If the random number generator is of low quality, we see the effects as blotchy or streaky light and dark patterns in the final image. White noise is truly random, so preventing these unwanted patterns, repitions, and artifacts is a work of art on its own! Recently, Blue noise (which is built within certain spatial constraints, and has more high frequency than low frequency, which is better at dodging our excellent human pattern-matching skills, ha) has been found to be less distracting and smooth when used to generate random ray directions and randomly sampled light paths. But once again, whenever you introduce any kind of randomness, no matter how well it is generated, you get the noise baggage that comes along with it.
Noise reduction in path tracing is an active area of research in both academics and industry (like NVIDIA RTX). I have implemented a very basic denoiser in my project, so I hope that the noise is not too terrible (as it would be with a raw naive path tracer),  but there are new AI-trained denoisers being developed these days that do what you mentioned you wanted in an earlier post - they magically remove most or all of the initial noise. But these are highly sophisticated denoisers and most are proprietary, so unfortunately my project is not at that level yet.
Hope this helps further clarify the double-edged sword of randomness and noise when it comes to  physically-accurate rendering.  🙂
Let me know if you have any other questions or concerns. Best of luck!

I started learning your path tracing a few weeks ago for work, and my only complain would be that there is no documentation to help learning or to use/implement it, but the examples helped a ton!

@JustLexxy
Ah yes I don't really have documentation, but I did try to follow three.js when it was just starting out all those years ago, and instead have numerous small, focused examples that showcase different aspects of the renderer that might be useful to different people.
As always, if you are confused by how something works in my project, or ever need any of my examples clarified, please feel free to ask here in this thread if you like. 😊

Yeah the examples were life savers
There's a few things that i easily could copy from them, but there's also some features i had to do/research by myself, for example i'm currently working on a small add-on that allows to switch between a scene with path tracing scene and one without (like a sort of on/off), if you're interested i can post it here when it will be done!

Oh that would be cool! Feel free to post here. Glad the examples were helpful!

Hey dog.  I was wondering if you're aware of bootstrapping.  YTube's statquest w/ josh has great vid.
The idea is u have a small-ish Nr of samps, and pick from those at random.  I skipped over important details.
another thing for your ridiculously performant renderer - an importance map (per-frame grayscale rgb delta)
ideas combined, bootstrapping top 20% noisiest pixels would .. well its an interesting ide.  Ive been out of the programming game for a while but i do still come up w ideas.  Bootstrapping is awesome

From: Erich Loftis @.>
Sent: Tuesday, July 12, 2022 1:56 PM
To: erichlof/THREE.js-PathTracing-Renderer @.>
Cc: Subscribed @.***>
Subject: Re: [erichlof/THREE.js-PathTracing-Renderer] Blue noise (Issue #69)
@JustLexxyhttps://github.com/JustLexxy
Ah yes I don't really have documentation, but I did try to follow three.js when it was just starting out all those years ago, and instead have numerous small, focused examples that showcase different aspects of the renderer that might be useful to different people.
As always, if you are confused by how something works in my project, or ever need any of my examples clarified, please feel free to ask here in this thread if you like. 😊
—
Reply to this email directly, view it on GitHubhttps://github.com/erichlof/THREE.js-PathTracing-Renderer/issues/69#issuecomment-1182492918, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH4374NFE4AYPPKNQPFJZ3TVTXLWXANCNFSM52TX7TTA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Charset wrapped with "" in Content-Type header rises issue in model binding

My application works with 3rd party web service which sends request with
Content-Type: text/html; charset="utf-8" instead of Content-Type: text/html; charset=utf-8
In MVC's model binding phase I get such ArgumentException
'"utf-8"' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
I am not sure this issue is related to Kestrel.
Please help.
Call stack:
 mscorlib.dll!System.Globalization.EncodingTable.internalGetCodePageFromName(string name) + 0x175 bytes
 mscorlib.dll!System.Globalization.EncodingTable.GetCodePageFromName(string name) + 0x7e bytes
 mscorlib.dll!System.Text.Encoding.GetEncoding(string name) + 0x1d bytes
 Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Formatters.MediaType.GetEncodingFromCharset(Microsoft.Extensions.Primitives.StringSegment charset) + 0x60 bytes
 Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Formatters.MediaType.Encoding.get() + 0x42 bytes
 Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Formatters.MediaType.GetEncoding(Microsoft.Extensions.Primitives.StringSegment mediaType) + 0x3d bytes
 Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Formatters.MediaType.GetEncoding(string mediaType) + 0x4f bytes
 Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter.SelectCharacterEncoding(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context) + 0x73 bytes
 Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Formatters.TextInputFormatter.ReadRequestBodyAsync(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context) + 0x3f bytes
 Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.Formatters.InputFormatter.ReadAsync(Microsoft.AspNetCore.Mvc.Formatters.InputFormatterContext context) + 0xa8 bytes
 Microsoft.AspNetCore.Mvc.Core.dll!Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinder.BindModelAsync() + 0x34f bytes

Application is running on net451.
dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003131)

Product Information:
 Version:            1.0.0-preview2-003131
 Commit SHA-1 hash:  635cf40e58

Runtime Environment:
 OS Name:     Windows
 OS Version:  6.2.9200
 OS Platform: Windows
 RID:         win8-x64

This is probably because someone, somewhere is calling MediaTypeHeaderValue.Encoding. Probably MVC. I'd move this issue over there.

DOH! I just noticed that property catches ArgumentException and returns null. Anyway, someone is calling Encoding.GetEncoding and it can't find it because it's wrapped in quotes.

Created issue #5349 in MVC repo


Scrolling 'what's on this page' toc not scrolling

I recently attempted to install the theme for a read-the-docs project found here
(git - https://github.com/FOGProject/fog-docs/tree/master rtd - https://readthedocs.org/projects/fogproject/ -livesite - https://fogproject.readthedocs.io/en/latest/index.html)
The site is still a work in progress but we're trying to pick a theme and a structure so we have a standard to work with.
I tried following the simple instructions in the readme, but simply installing the pip package and setting the theme in conf.py didn't do the trick. Had to also set the html_context and html_theme_options in conf.py. It also wanted the sidebar... html files manually added in my projects _templates folder.
I got it to build at that point but some things were missing so I read more on the install documentation and tried to follow examples from this git repo and other's using the theme. I at least have it building in read-the-docs now and it mostly works but my main issue is that the floating table of contents for the current page isn't working. That feature is what sold me on switching to this theme, but now it's not even working. It doesn't work on the live site and it doesn't work when I build locally either.
I've tried manually adding the css and js files to see if they just weren't showing up. I don't see anything indiciative of the problem in the web console when I inspect the page. But I could just not be understanding it.
I would love a little more help on getting started and maybe suggest that the installation documentation may need to be updated, at least for rtd users. I feel like I just missed some important step somewhere to make it work.

Here's an example of what I do see as for errors in the webconsole
printer-management.html#creating-a-samba-based-printer-store-on-fog:1 Refused to apply style from 'https://fogproject.readthedocs.io/en/latest/_static/thebelab.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
thebelab-helper.js:1 Failed to load resource: the server responded with a status of 404 ()
printer-management.html:1 Refused to apply style from 'https://fogproject.readthedocs.io/en/latest/_static/thebelab.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

I don't know what thebelab.css is. I didn't see that in the theme anywhere and I know I didn't make it. Not sure if it's related or not.

Ah I bet what's going wrong is that Bootstrap is being loaded twice, once by this theme and another time by sphinx-panels. See https://sphinx-panels.readthedocs.io/en/latest/#sphinx-configuration for reference.
Try adding the following to your configuration:
panels_add_bootstrap_css = False

Great Success!
I'm also having trouble if I include numpy and or numpydocs in the requirements. Are those actually need to us the theme?

I now cannot actually find where it was I read that there were additional packages required to put in the requirements.txt. Maybe it was in the development bit.
So should I now remove the files I added manually like the templates and the .scss files?

hmm - you shouldn't need to do any extra installation or using any of your own templates. Just follow the instructions here:
https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/install.html

That's what I followed the first time and I got build errors saying that the templates were missing. Maybe it's because I didn't even have an empty _templates folder in the project?
I just re-did it removing the manually added templates and only having a requirement of pydata-sphinx-theme and it built without issue. Kinda weird.
I also got build errors concerning not having this stuff set
html_theme_options = {
    "github_url": "https://github.com/FOGProject/fog-docs",
    "twitter_url": "https://twitter.com/FOGProject",
    "use_edit_page_button": True,
    "show_toc_level": 1,
}

html_context = {
    "github_user": "FOGProject",
    "github_repo": "fog-focs",
    "github_version": "master",
    "doc_path": "/",
}

Perhaps there's more on that in the customization section of the documentation, but until I set those in conf.py I couldn't build locally or in RTD.
Granted, I did just comment those out and now I'm not getting the same build errors saying that those are not defined. Maybe a refresh of the terminal environment was required or a restart of the computer or something after the initial install of the theme?
I know I'm not crazy, I for sure couldn't build it the first time just following the simple directions. But it is working with those now.

hmmm I bet that there were issues with environments and installation paths that got resolved when you restarted the terminal or something 🤷♂

I suppose this is fixed then. Thanks for all the help.

wohoo!


It doesn't pop on desktop

I have been testing your lib on a desktop app and I think it doesn't work properly when I want to pop a page using context.yeet();
Also, the back arrow is not showing by default, so I added it manually:
 appBar: AppBar(
              leading: IconButton(icon: Icon(Icons.arrow_back_ios_sharp),
              onPressed: (){
                context.yeet();
              },
     ),
 ),

Thank you!

@steinmetz can you share your yeet tree?

@HosseinYousefi  Thank you for the explanation! I was not using the same root and it was the reason of my problem.
Thank you again! I will close this issue.


upgrade opentelemetry version to 1.12.0 (release-2.2)

Cherry-pick of 4e16cadfd6098d1cd79fe28e80f0ddd820267e69 from main branch.
Signed-off-by: Danilo Faria<EMAIL_ADDRESS>

hey! @bestbeforetoday any chance we'll get a new release with this change soon? 😃


Sharing component libraries differs from canvas apps.

This issue has been reported but closed before: https://github.com/MicrosoftDocs/powerapps-docs/issues/1455
The section Compoent library permissions says that it can be shared like other apps, but it appears that it is not possible to share it with everyone or groups. It seems to only be visible in the studio by other makers in the environment if it is shared with them individually.
https://github.com/MicrosoftDocs/powerapps-docs/issues/1455#issuecomment-646432089
Hopefully this is a limitation/bug, but until this is fixed the documentation should mention it as a limitation or a note in this section. It should not be necessary to discover limitations like this by sifting through closed github-issues.

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

ID: 0c0224ad-fdbb-c741-98a7-3ec0764b10cf
Version Independent ID: dfbaaa9e-b902-70de-49d8-9d6c5328b6d2
Content: Component library - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/component-library.md
Service: powerapps
Sub-service: canvas-developer
GitHub Login: @HemantGaur
Microsoft Alias: hemantg

Thanks for your comment, @Hjaf. This issue has been assigned to the doc author for review.

Thank you for reaching out and your feedback. Documentation has been updated, and will reflect the changes soon.


nix command shouldn't print escape sequence if $TERM is set to dumb

Issue description
Typically, if TERM environment variable is set to dumb, then some commands should not print escape sequence such as ESC[31m, ESC[0m.
nix search prints escape sequence even if set TERM=dumb.
Steps to reproduce
$ export TERM=dumb
$ nix search ansible
* ESC[0;1mnixpkgs.ESC[31;1mansibleESC[0;1mESC[0m (ESC[0;2mpython2.7-ESC[31;1mansibleESC[0;2mESC[0m)
  A simple automation tool

* ESC[0;1mnixpkgs.ESC[31;1mansibleESC[0;1m-lintESC[0m (ESC[0;2mpython2.7-
ESC[31;1mansibleESC[0;2m-lintESC[0m)
  Best practices checker for ESC[31;1mAnsibleESC[0m

Technical details

system: "x86_64-darwin"
host os: Darwin 18.0.0, macOS 10.14
multi-user?: no
sandbox: no
version: nix-env (Nix) 2.1.3
channels(kadota): "nixpkgs-19.03pre154968.20249caf14e"
nixpkgs: /Users/kadota/.nix-defexpr/channels/nixpkgs

Yep, please file over there! Hopefully isn't difficult to fix (without resorting to anything heavy-handed like termcap lookups... :)).

Thank you.
I will post this issue to nix repository.


Allow import of tokens via command line option

Request details
During the migration to 3.0.0 (great release btw.) I noticed that it doesn't seem possible anymore to specify the access tokens list statically. The only way to import a tokens.json file seems to be via the interactive console. As we're deploying Reposilite as standalone, mostly stateless proxy in our Kubernetes clusters, we like the configuration to be as static as possible and ideally we'd be able to specify the the tokens.json file to be used as command line argument.
Thank you very much!
Workaround:
 echo "token-import /app/config/tokens.json" | java -jar /app/reposilite.jar

Hi and thanks :)
In general I recommend to use standard database like MySQL/PostgreSQL, but if you really don't want to have any SQL database at all, I think you can use --token user:secret flags:

https://reposilite.com/guide/setup#parameters

You can specify multiple temporary tokens like that, unfortunately without routes, but it should be enough just for the proxy I think. Token on 3.x has slightly more complicated structure:

https://reposilite.com/guide/tokens

So it'd be slightly inconvenient to do it manually. Let me know if it helps or it's still not enough and why, so we can consider another approach.

What's the status of this issue? @hanikesn :)

@dzikoysk can be closed from my side as things work with the workaround I added in the issue above.


Added optional argument to openapi import command to allow setting oidc issuer type

Added optional parameter to openapi import spec to allow setting oidc issuer type.
Updated documentation to reflect new argument in openapi import command.
Added unit tests to verify new argument is working correctly and is compatible with earlier versions.
There are no license changes in this commit.

Done and rebased.

Done and rebased.

  The CircleCI tests for forked PR's were disabled and I have enabled them now.
 git commit --amend --no-edit

Done, the tests seem to be running now.

Done, the tests seem to be running now.

Integration test failed because secrets were not available. I will check circleCI conf because when tests are manually approved by some admin, the secrets should be available.

Integration test failed because secrets were not available. I will check circleCI conf because when tests are manually approved by some admin, the secrets should be available.


Wsdt/turing monsters

Codecov Report

Merging #26 (4dd2553) into develop (382412d) will decrease coverage by 0.68%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop      #26      +/-   ##
===========================================
- Coverage    72.10%   71.41%   -0.69%
===========================================
  Files           59       57       -2
  Lines         1828     1721     -107
  Branches       281      268      -13
===========================================
- Hits          1318     1229      -89
+ Misses         510      492      -18

Flag
Coverage Δ

contracts
86.72% <ø> (ø)

core-utils
53.79% <ø> (ø)

data-transport-layer
29.25% <ø> (ø)

message-relayer
?

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

Impacted Files
Coverage Δ

packages/message-relayer/hardhat.config.ts

packages/message-relayer/src/relay-tx.ts

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 382412d...4dd2553. Read the comment docs.


Question: is it possible to run a container as an executable in an sh_binary or sh_test?

I was wondering if it possible to run a container_image (using the Bazel configured toolchain) inside of an sh_binary or sh_test? This would be a powerful feature, for example to test code that only works inside of a particular container.
If it is possible, is there an example of this?

Do you mean loading the oci_image target into the daemon and asserting its behavior with a bash test?

We have structure_test for that. https://github.com/bazel-contrib/rules_oci/blob/a66598d8f2754e09e124f73136c4b33634044b7d/examples/env_inheritance/BUILD.bazel#L25-L29 which uses https://github.com/GoogleContainerTools/container-structure-test under the hood

Ah thank you. It sounds like I am looking for commandTests.


Correcting content errors

Removed first line that duplicated content title. Replaced apostrophe in title as appearing as HTML encoding.
https://trello.com/c/cOUB6MkQ/1828-error-on-calculate-statutory-redundancy-calculator
:warning: Only merge changes if you are happy for them to go live. :warning:
This application is now continuously deployed. Merged changes are automatically deployed to staging and production.

@deborahchua thanks for checking. I want to retain the apostrophe but currently on live it's appearing as HTML encoding: https://www.gov.uk/calculate-employee-redundancy-pay - have re-entered and appearing fine in preview so good to merge.

The incorrect apostrophe was fixed in https://github.com/alphagov/smart-answers/pull/4769 so this'll get merged with that and deployed correctly.


Error observed on IE

Sometimes, when using the plugin on Internet Explorer, the blocks are misaligned. It only happens at certain widths. This bug seems to originate on some IE difference when calculating sizes via javascript, and might be related to width decimals rounding.

Bug solved on v0.13 release!


don't delete any mail from server until successfully accepted by a destination

Idlemail also employs the concept of RetryAgents. If a mail was downloaded from the source, it is gone. When the sending to some destination for such a mail fails, it is permanently lost. [...] RetryAgent that only stores messages in RAM. If Idlemail is shut down while this RetryAgent has mails in queue, the mails will most definitely be lost.

Does idlemail support deleting emails if and only if the mail was successfully queue by the MTA (destination ) ?
That would be making the memory RetryAgent safe (the mail would be downloaded again if idlemail is restarted).
I believe fetchmail supports automatically deleting messages after successful delivery only.

It doesn't at the moment; although I don't remember why I implemented it the way that I did.
I have to take a deeper dive into the IMAP RFC and see whether that's possible reliably, especially with regards to:
What information do I need to uniquely identify the mail in the source, so I can reliably delete it.
I think one of the problems was, that as soon as you enter the IDLE mode in an active IMAP connection, you can't use the connection for commands (like delete) anymore, so you would have to create a new connection - and some providers don't like that.

What information do I need to uniquely identify the mail in the source, so I can reliably delete it later on?

I don't know how fetchmail do it. There seems to be an experimental IMAP UID support, but they somehow already manage to do it without UID.

as soon as you enter the IDLE mode in an active IMAP connection, you can't use the connection for commands (like delete) anymore [...] some providers don't like that.

I believe most providers allow more than one IMAP connection.
The alternative on a single connection might be to exit idle mode (DONE) while fetching/delivering/expunging and then come back to idle ?

Fetchmail's design is very different. Last time I looked, they only support one idle connection per process making their design much easier.
In idlemail, there is a lot more back and forth. This would probably require a thorough redesign.

The alternative on a single connection might be to exit idle mode (DONE)
Oh, didn't know about this one, that sounds interesting. I do remember that the crate/library situation for IMAP was a little complicated in Rust land though - so this is probably not supported yet.

Looking into this is on my list. Unfortunately, it will take quite some time still until I can look into this.


[Bug]: vscode-laravel/file-downloader-downloads/php-parser-0.1.6: Bad CPU type in executable

Extension Version
0.1.11
PHP Binary
Herd
Operating System
macOS
What happened?
After installing the extension, an error notification pops up.

The console output is:
2024-12-16 22:09:54.365 [info] Stopped
2024-12-16 22:09:57.380 [info] Activating Laravel Extension...
2024-12-16 22:09:57.380 [info] Started
2024-12-16 22:09:59.456 [error] /bin/sh: /Users/personal/Library/Application Support/Code/User/globalStorage/laravel.vscode-laravel/file-downloader-downloads/php-parser-0.1.6: Bad CPU type in executable

System information information
uname -a
Darwin Personal-2 24.1.0 Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:27 PDT 2024; root:xnu-11215.41.3~2/RELEASE_X86_64 x86_64

Mimimal Code Sample
No response

Same issue here. But think it is related to #10 because the plugin is only compiled for arm64

https://github.com/laravel/vs-code-php-parser-cli/pull/1

that's quick!


Precompute Bounds

Bounds queries are slow and resource intensive, and very reasonable to precompute at index or startup time.  Compute these ahead of time to reduce runtime and memory consumption of these queries.

Implemented in:
https://github.com/hubmapconsortium/cross_modality_query/pull/51