Duplicate Entry inserting into permissions when starting from Backup

Issue Summary
Hi,
I dumped the mysql database used for an instance of Ghost that we were using in preproduction. I am now trying to use that dumped database for our new deployment which is using the Ghost Alpine docker container.
I have mysql running locally (not in a container).
But when I attempt to launch the container it complains about a duplicate entry and crashes.
Thanks.
Steps to Reproduce
Dump database from original
Load database into mysql that new docker based deployment will use
launch through docker
Ghost Version
Ghost docker current
Node.js Version
Whatever is in the ghost docker
How did you install Ghost?
Docker
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
ghost_1  | [2023-09-27 19:18:02] INFO Removing posts.twitter_description column
ghost_1  | [2023-09-27 19:18:02] INFO Removing posts.twitter_title column
ghost_1  | [2023-09-27 19:18:02] INFO Removing posts.twitter_image column
ghost_1  | [2023-09-27 19:18:02] INFO Removing posts.og_description column
ghost_1  | [2023-09-27 19:18:02] INFO Removing posts.og_title column
ghost_1  | [2023-09-27 19:18:03] INFO Removing posts.og_image column
ghost_1  | [2023-09-27 19:18:03] INFO Removing posts.codeinjection_foot column
ghost_1  | [2023-09-27 19:18:03] INFO Removing posts.codeinjection_head column
ghost_1  | [2023-09-27 19:18:03] INFO Removing posts.custom_excerpt column
ghost_1  | [2023-09-27 19:18:03] INFO Rollback was successful.
ghost_1  | [2023-09-27 19:18:03] ERROR insert into `permissions` (`action_type`, `created_at`, `created_by`, `id`, `name`, `object_type`, `updated_at`, `updated_by`) values ('download', CURRENT_TIMESTAMP, 1, '65147feabf53f60001a38534', 'Upload redirects', 'redirect', CURRENT_TIMESTAMP, 1) - Duplicate entry 'Upload redirects' for key 'permissions.permissions_name_unique'
ghost_1  |
ghost_1  | insert into `permissions` (`action_type`, `created_at`, `created_by`, `id`, `name`, `object_type`, `updated_at`, `updated_by`) values ('download', CURRENT_TIMESTAMP, 1, '65147feabf53f60001a38534', 'Upload redirects', 'redirect', CURRENT_TIMESTAMP, 1) - Duplicate entry 'Upload redirects' for key 'permissions.permissions_name_unique'
ghost_1  |
ghost_1  | {"config":{"transaction":true},"name":"1-add-permissions-redirect.js"}
ghost_1  | "Error occurred while executing the following migration: 1-add-permissions-redirect.js"
ghost_1  |
ghost_1  | Error ID:
ghost_1  |     300
ghost_1  |
ghost_1  | Error Code:
ghost_1  |     ER_DUP_ENTRY
ghost_1  |
ghost_1  | ----------------------------------------
ghost_1  |
ghost_1  | MigrationScriptError: insert into `permissions` (`action_type`, `created_at`, `created_by`, `id`, `name`, `object_type`, `updated_at`, `updated_by`) values ('download', CURRENT_TIMESTAMP, 1, '65147feabf53f60001a38534', 'Upload redirects', 'redirect', CURRENT_TIMESTAMP, 1) - Duplicate entry 'Upload redirects' for key 'permissions.permissions_name_unique'
ghost_1  |     at DatabaseStateManager.makeReady (/var/lib/ghost/versions/4.48.9/core/server/data/db/state-manager.js:95:32)
ghost_1  |     at MigrationScriptError.KnexMigrateError (/var/lib/ghost/versions/4.48.9/node_modules/knex-migrator/lib/errors.js:7:26)
ghost_1  |     at new MigrationScriptError (/var/lib/ghost/versions/4.48.9/node_modules/knex-migrator/lib/errors.js:25:26)
ghost_1  |     at /var/lib/ghost/versions/4.48.9/node_modules/knex-migrator/lib/index.js:1032:19
ghost_1  |     at processTicksAndRejections (internal/process/task_queues.js:95:5)
ghost_1  |
ghost_1  | Error: insert into `permissions` (`action_type`, `created_at`, `created_by`, `id`, `name`, `object_type`, `updated_at`, `updated_by`) values ('download', CURRENT_TIMESTAMP, 1, '65147feabf53f60001a38534', 'Upload redirects', 'redirect', CURRENT_TIMESTAMP, 1) - Duplicate entry 'Upload redirects' for key 'permissions.permissions_name_unique'
ghost_1  |     at Packet.asError (/var/lib/ghost/versions/4.48.9/node_modules/mysql2/lib/packets/packet.js:728:17)
ghost_1  |     at Query.execute (/var/lib/ghost/versions/4.48.9/node_modules/mysql2/lib/commands/command.js:29:26)
ghost_1  |     at Connection.handlePacket (/var/lib/ghost/versions/4.48.9/node_modules/mysql2/lib/connection.js:456:32)
ghost_1  |     at PacketParser.onPacket (/var/lib/ghost/versions/4.48.9/node_modules/mysql2/lib/connection.js:85:12)
ghost_1  |     at PacketParser.executeStart (/var/lib/ghost/versions/4.48.9/node_modules/mysql2/lib/packet_parser.js:75:16)
ghost_1  |     at Socket.<anonymous> (/var/lib/ghost/versions/4.48.9/node_modules/mysql2/lib/connection.js:92:25)
ghost_1  |     at Socket.emit (events.js:400:28)
ghost_1  |     at addChunk (internal/streams/readable.js:293:12)
ghost_1  |     at readableAddChunk (internal/streams/readable.js:267:9)
ghost_1  |     at Socket.Readable.push (internal/streams/readable.js:206:10)
ghost_1  |     at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
ghost_1  |

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

hold up on checking on this

My fault!!! For some reason the default docker container in the examples is alpine-4...

@K1D77A hey I'm currently facing the same issue after importing my database from mariadb. May I know how you fixed it?


Svete/Kit: classnames not sorted correctly in expression blocks

What version of prettier-plugin-tailwindcss are you using?
v0.2.1
What version of Tailwind CSS are you using?
v3.2.4
What version of Node.js are you using?
v16.17.1
What package manager are you using?
pnpm
What operating system are you using?
macOS
Reproduction URL
https://github.com/ditoglez/sveltekit-prettier-tailwindcss
Describe your issue
Seems like prettier is unable to format code wrapped in expression blocks in Svelte / Kit. More specifically after doing some investigation - the {#await...} block.
I created an example repo with some expression blocks in the template to check.
Having an expression block like:
{#await promise()}

Loading...

{:then}

Loaded

{/await}

{#await promise() then}

Loaded without status

{/await}

and running pnpm format from the command line I would expect the classnames be formatted like:
{#await promise()}

Loading...

{:then}

Loaded

{/await}

{#await promise() then}

Loaded without status

{/await}

Seems like classes in other blocks {#if}, {#each} are sorted correctly.

Hey, appreciate the report. We weren't traversing the await expressions in Svelte which is why these weren't sorted.  I've merged the fix for this in #118. Will tag a release with this fix by EOD. Thanks! ✨


Only delete relevant files/directories in the www directory

Short description of the problem:
Currently the build is deleting everything in the www/ directory. If I have a file in my www/ directory it gets erased on build. I could put the file in another directory and add a custom config but this seems like overkill for one file.
What behavior are you expecting?
Either be able to add specific files to ignore from deletion in the www/ directory or only have the relevant files in www/ deleted for a build.
Steps to reproduce:

Clone the conference app: https://github.com/driftyco/ionic-conference-app
Run ionic serve
See that the .gitignore file is deleted inside of www/ and all other files in www/ are showing up to add to git

Which @ionic/app-scripts version are you using?
0.0.30
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Related to: https://github.com/driftyco/ionic-app-scripts/issues/127

@adamdbradley @danbucholtz Thoughts on how this should be handled?

It sounds like we should only delete the www/build directory going forward.
What does this mean for the assets directory, though?
Thanks,
Dan

The recent updates has it so only www/build gets deleted.

i still get all the folder cleaned (app-scripts 0.34)

my bad, i didn't run npm install after updating package.json, was using app-scripts 0.30.


[Docs] Document best practices for Entitas Redux

Is your feature request related to a problem? Please describe.
It would be good to provide newcomers to either an ECS framework or Entitas Redux with a collection of best practices to better inform how to utilize these approaches or framework in their project.

Some good examples would be

Scene management
Communication between ER and Unity
Layer abstraction (if needed, but I'm not sure if this is just C# related)

Some good examples would be

Scene management
Communication between ER and Unity
Layer abstraction (if needed, but I'm not sure if this is just C# related)

@jeffcampbellmakesgames that would be great :)


_history with _excludeTransactionTimeoutWindow=true can cause issue with "self" link

Describe the bug
with the _history?_excludeTransactionTimeoutWindow=true if you add a &_before=
in the self link in the results the &_before= has been removed.
Environment
main branch
Expected behavior
The "self" link should contain all the info passed in on the original _history lookup.
Related item:
in the "next" link it usually includes the _changeIdMarker=  and this is kind of mentioned in the documentation.  I think in the Documentation it should state that the _changeIdMarker should not be used by the user, and is only used on the "next" link to eliminate duplicating entries on different pages.

Looks like we were never including _before in the returned self link. This parameter should be included in the self link whenever it is specified in the request, regardless of other query parameter values.

Verified that both _before and _since with or without _excludeTransactionTimeoutWindow=true is included in the self link.  And the documentation states that the _changeIdMarker is for system use in the next link to remove duplicates from pages.


Add ability to select themes, support additional themes

Description
Adds the ability to add and select themes without the need to modify core files.

Themes can be added by copying the "Default" folder to a new folder inside the themes directory, then modifying as required.
Type of change

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

How Has This Been Tested?

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have updated changelog.md with changes made

@pagermon/collaborators if you could look this one over.
I don't think i've introduced any glaring security holes but never know 🤣


Feature Request : Home on START

Depending on what you are doing, having the laser head at the workspace corner (HOME) puts it in the way.
Part #1: I would prefer to have it stay in the corner (Physical 0,0) until the job is about to start, and THEN re-home and start from there.
Part #2: Have the option of where to send the laser head when done, either to MeerK40t home (current option box), or to the corner (physical 0,0) out of the way.

Does this idea differ at all from Pre-Home and Post-Home options?

pre/post home options?
The only option I see in 6.17 is to Home after a run on Windows,
Preferences, General Options (Home after job complete)
would likely put the option(s) there...
Are there more options somewhere else??
On Sat, Feb 6, 2021 at 2:11 AM tatarize<EMAIL_ADDRESS>wrote:

Does this idea differ at all from Pre-Home and Post-Home options?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/meerk40t/meerk40t/issues/335#issuecomment-774415856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJ2GY2ZFMDR6QST3K5GWQ3S5TTTDANCNFSM4XF44XCQ
.

--
Need a quick answer? Call our booking line at<PHONE_NUMBER>, or book your
inspection on our website 24/7.

Bob Sisson, ACI, BVI
Inspections by Bob, LLC
www.inspectionsbybob.com
<EMAIL_ADDRESS>MD Lic#29666; ASHI Member #212016

Yeah, I removed that option in 0.7.0 since it seems to give that home option more credit than it should. There's a lot of options in start job, in the menubar.

I keep missing hidden menus.
Looks like it is there, Home Before....
What is the difference between Home and Origin?   Is there a conflict if
you select BOTH HOME and ORIGIN after?
Wait, wait for what?
Interrupt does what?
Bob
On Sat, Feb 6, 2021 at 5:37 PM tatarize<EMAIL_ADDRESS>wrote:

Yeah, I removed that option in 0.7.0 since it seems to give that home
option more credit than it should. There's a lot of options in start job,
in the menubar.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/meerk40t/meerk40t/issues/335#issuecomment-774553912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJ2GY5Q2XKWMFWSTMOTO3TS5XABRANCNFSM4XF44XCQ
.

I removed the option in preferences since it seemed to be the place to store that. The difference between home and origin is that origin goes back to 0,0 as the program understands 0,0 to be, and home issues the homing routine. There's no issue with doing both. Since it will return to 0,0 and then perform a homing routine. That's not an issue.
Wait I think issues a 5 second wait. I might be wrong, it's a bit unused and unusable without a set time amount and a countdown thing.
Interrupt stops until you hit a key. It creates a popup you need to interact with in order to spool the next item.

nice...
we need to put those short descriptions in a help or a pop-up...
On Sun, Feb 7, 2021 at 12:36 PM tatarize<EMAIL_ADDRESS>wrote:

I removed the option in preferences since it seemed to be the place to
store that. The difference between home and origin is that origin goes back
to 0,0 as the program understands 0,0 to be, and home issues the homing
routine. There's no issue with doing both. Since it will return to 0,0 and
then perform a homing routine. That's not an issue.
Wait I think issues a 5 second wait. I might be wrong, it's a bit unused
and unusable without a set time amount and a countdown thing.
Interrupt stops until you hit a key. It creates a popup you need to
interact with in order to spool the next item.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/meerk40t/meerk40t/issues/335#issuecomment-774715627,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJ2GY5MODZPQOJVHZHR5Z3S53FTTANCNFSM4XF44XCQ
.

--
Need a quick answer? Call our booking line at<PHONE_NUMBER>, or book your
inspection on our website 24/7.

Bob Sisson, ACI, BVI
Inspections by Bob, LLC
www.inspectionsbybob.com
<EMAIL_ADDRESS>MD Lic#29666; ASHI Member #212016

Closing as the functionality exists already


Fix binary operation evaluation in compiler

Remove wordTypeRep since Word is a union (all the types should be compute everytime).

Closed by a0b2ac1


Provide a simple demo case for integration with CP4WAIOPS

@huang-cn

using gitops to install sample app
using ansible to do configuration first, then migrate to https://github.com/cloud-pak-gitops/crossplane-provider-ansible


i cannot login onmyworkspace

i cannot get my code space to work  on the terminal
Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

It looks like your report is missing some important information, See this wiki page for more info on how to report actionable terminal issues.


Should we rename?

This repo now contains both an image for the dotty CI and the lampepfl/scala repo.
Let's rename the repo? Ideas? @lampepfl/dotty-team

lampepfl/drone


Problem publishing the sample

Hi!
Thanks for the sample, it was much needed.
I am trying to publish the sample, but the build process hangs:

PS C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc> dotnet publish -c Release
MSBuild version 17.4.0-preview-22428-01+14c24b2d3 for .NET
Determining projects to restore...
Restored C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc\TodoMVC.csproj (in 72 ms).
C:\Program Files\dotnet\sdk\7.0.100-rc.1.22431.12\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(219,5): message NETSDK1057: You are using a preview version of .NET. See: http
s://aka.ms/dotnet-support-policy [C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc\TodoMVC.csproj]
TodoMVC -> C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc\bin\Release\net7.0\browser-wasm\TodoMVC.dll
Generated app bundle at C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc\bin\Release\net7.0\browser-wasm\AppBundle
Optimizing assemblies for size. This process might take a while.
TodoMVC -> C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc\bin\Release\net7.0\browser-wasm\publish
TodoMVC -> C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc\bin\Release\net7.0\browser-wasm\TodoMVC.dll
TodoMVC -> C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc\bin\Release\net7.0\browser-wasm\publish
AOT'ing 12 assemblies
[1/12] System.Linq.dll -> System.Linq.dll.bc
[2/12] System.Console.dll -> System.Console.dll.bc
[3/12] System.Collections.dll -> System.Collections.dll.bc
[4/12] System.Collections.Concurrent.dll -> System.Collections.Concurrent.dll.bc
[5/12] System.Text.Encodings.Web.dll -> System.Text.Encodings.Web.dll.bc
[6/12] TodoMVC.dll -> TodoMVC.dll.bc
[7/12] System.Memory.dll -> System.Memory.dll.bc
[8/12] System.Runtime.InteropServices.JavaScript.dll -> System.Runtime.InteropServices.JavaScript.dll.bc
[9/12] System.Private.Uri.dll -> System.Private.Uri.dll.bc
[10/12] System.Text.RegularExpressions.dll -> System.Text.RegularExpressions.dll.bc
[11/12] System.Text.Json.dll -> System.Text.Json.dll.bc
[12/12] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.bc
cache : warning : Accessing the Emscripten cache at "C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.win-x64\7.0.0-rc.1.22424.1\tools\emscripten\cache" is taking a long time, another
process should be writing to it. If there are none and you suspect this process has deadlocked, try deleting the lock file "C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.win-x64\7
.0.0-rc.1.22424.1\tools\emscripten\cache\cache.lock" and try again. If this occurs deterministically, consider filing a bug. [C:\Proiecte\pavelsavara\dotnet-wasm-todo-mvc\TodoMVC.csproj]

I checked , the cache.lock file does not exist.
Also checked with process explorer and there is no process accessing the cache folder (not even the build process).
Any idea what I might try ?
Thank a lot.

It seems that I had some EMSDK environment variables set from some previous attempts to use the runtimelab nativeaot.
It is working fine after removing them .
Thanks, I will close this


Issues came over night

It appears that an update was rolled out.
Suddenly I don‘t have access to my AC via hassio.
The Panasonic comfort cloud app works fine.
Error Log:
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: homeassistant.config_entries
Source: custom_components/panasonic_cc/pcomfortcloud/session.py:164
Integration: Panasonic Comfort Cloud (documentation, issues)
First occurred: 16:47:31 (1 occurrences)
Last logged: 16:47:31
Error setting up entry for panasonic_cc
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 383, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/panasonic_cc/init.py", line 79, in async_setup_entry
devices = await hass.async_add_executor_job(api.get_devices)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 207, in get_devices
self.login()
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 106, in login
self._create_token()
File "/config/custom_components/panasonic_cc/pcomfortcloud/session.py", line 164, in _create_token
raise ResponseError(response.status_code, response.text)
custom_components.panasonic_cc.pcomfortcloud.session.ResponseError: Invalid response, status code: 403 - Data:

ERROR: The request could not be satisfied

403 ERROR
The request could not be satisfied.

Request blocked.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.

If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

Generated by cloudfront (CloudFront)
Request ID: hLZiZBM072u3Vh_J6pqKgRfok4DPzaloAw6mU9dKENg8IxBtsynwvg==

See #191

Please close this thread as it is a duplicate. All the magic is happening in #191 .


VOC measurement in Home app is probably wrong

Hello there,
I compared with an Eve Room HomeKit device and the value displayed from the BlueAir 680i is around 10 times higher.
Eve Room: 59 µg/m³
BlueAir 680i: 589 µg/m³

I'll check at my end. Just to confirm. So the second value (589) comes from the BlueAir app and the Eve and Home app value is 10x less?

@w194 Is this still an issue? If so, can you please provide a bit more insight, per Fraser's question above? If not, we will close this issue.

Closing stale issue. Please re-open or open a new issue if the issue is persisting.


fix: correct aria-haspopup value & add aria-controls attribute

Closes IBM/carbon-components-angular#2276
Changelog

Dropdown list now has an id attribute
Combobox references dropdown list id attribute when open
Removes redundant aria-haspopup attribute (View line 111 & 113)

Closing PR & recreating due to build cache issues


In v1.60.0, the 'PBEWithSHA1AndDESede' cipher is not compatible with Sun/JCE's cipher of the same name.

This cipher was not supported in BC v1.52.0.  Requesting it by name, even when BC is registered as the first security provider, returned a Cipher instance from Sun/JCE.
In BC v1.60.0, a request for the cipher returns an instance from BC provider, but this cipher is not compatible with the one returned by Sun/JCE.  An encryption by one cannot be decrypted by the other.
To repro:

Register the BC provider at position 1; Security.insertProviderAt( new BouncyCastleProvider(), 1 );
Encrypt a string using Sun/JCE provider, name 'SunJCE'.
Decrypt the result using no named provider; search will start with BC.
Repeat steps 2 and 3 with default/BC to encrypt and Sun/JCE to decrypt.

Using BC v1.52.0, both decryptions work.  Using BC v1.60.0, both decryption attempts throw BadPaddingException.

If you can provide some example code I should be able to tell you what the issue is.

I agree with the original sentiment that BC SHOULD not be involved in this scenario.  And in v1.52 it is not.  But in v1.60 a BC Cipher instance is returned by Cipher.getInstance(name)
Attaching a simple driver that demonstrates the problem.  Compile with either BC version, then run with BC v1.52.0, then run with BC v1.60.0
Repro432.zip

Thanks. I've found the issue. The problem is because of a missing key factory in the BC provider.
If you add:
bcProv.put("Alg.Alias.SecretKeyFactory.PBEWITHSHA1ANDDESEDE", "PBEWITHSHAAND3-KEYTRIPLEDES-CBC");
after you create the provider, it should work.
Updated code should appear on github shortly. It will be in the next beta 161b20 as well.


sodiumoxide 0.2.2 and remove sodium_static

Signed-off-by: Axel Nennker<EMAIL_ADDRESS>sodiumoxide 0.2.2 uses libsodium-sys 0.2.3 which compiles libsodium-1.0.18 from source

Where does the cargo build --features "fatal_warnings sodium_static"  come from that is failing this build. I do not see it in this branch libsodium-1.0.18

It's Jenkins security policy: it uses Jenkinsfile.ci in case of PR from regular (not write permissioned) github user.
I manually triggered build on Jenkins with your updated .ci file https://build.sovrin.org/job/indy-sdk/job/indy-sdk-ci/view/change-requests/job/PR-1874/9/

Strange openssl related bug while building this
https://build.sovrin.org/blue/organizations/jenkins/indy-sdk%2Findy-sdk-ci/detail/PR-1874/11/pipeline
More related to ubuntu18 than this PR, right?!

It seems that on Windows libsodium is not found.
It should because the environment variables should be set when libsodium-sys is built.
https://github.com/sodiumoxide/sodiumoxide/tree/master/libsodium-sys
DEP_SODIUM_INCLUDE
DEP_SODIUM_LIB
I have no idea how to fix this. The Ubuntu build seems to work that is libsodium-sys builds a static libsodium and sets the environment variables so that the next higher crate can find and use them.
Problem might be that libsodium is a dependency of two crates: zmq and indy
Maybe the order matters... I am guessing

btw seems like there is some support around windows build from sources https://github.com/sodiumoxide/sodiumoxide/blob/master/libsodium-sys/build.rs#L384
hopefully I would be able to try to run native windows build on my personal PC next week

Any news about the Windows build?

Is it possible to tell Jenkins that this PR can use its own Jenkins files?


wrong scale units

I've tried to export a simple cube from blender to glTF.
In the first time I've exported it when scene scale was INCHES.
The second time the scene scale was Centimeters.
Both glTF's looks exactly the same, as did the bin files.
Shouldn't you convert the units on export to Meters?
When using the models on AR scale really meters . . .

glTF doesn't define what scale its units are.  Certain products (Cesium and STK) always interpret those units as meters, for real-world sizes.  Other apps may choose other units, especially if they want to show individual molecules or entire galaxies.  But the configured Blender units don't have any bearing on the output glTF file, so it's up to the user to ensure that the same units are used for all models that will be in the scene together.

@emackey
In "Coordinate System and Units" part of the spec:

The units for all linear distances are meters.

Missed that one, sorry!
I looked at Blender 2.80's unit system, and it's different from 2.79 in that changing the units changes the reporting.
In Blender 2.79, if you take the default cube (with +/- 1 meter vertices), and switch the units to "Inches", you'll see the vertices are reported at +/- 1 inch in the new system.
In Blender 2.80, take the same cube and switch the units to "Imperial" (no more inches etc), and the default cube is now reported as having vertices at +/- 3.28084ft.  The resulting glTF has accessors with min/max bounds at +/- 1.
So, I'd consider this resolved, fixed on the Blender side of things.

@emackey forgive me if I've misunderstood you but I don't understand the connection between Blender's specifications and glTF specifications.
Even if someone is using an old version he should export the model in the right scale.
And event more important, from what you have wrote it looks like while exporting inches on Blender 2.8 you will still get wrong scale.

Hi @ranbuch,

from what you have wrote it looks like while exporting inches on Blender 2.8 you will still get wrong scale.

I believe Blender 2.80 has the units sorted out correctly.  In the case I described, 1 meter equals 3.28084 feet, so, switching Blender's UI units and seeing this value show up on the default cube means that they have decided to keep their internal units as meters, and adapt the UI to show the user's configured units.  The glTF exporter exports the internal units, not the adapted ones, so, you're seeing meters in the exported file, regardless of what you've chosen to display on the UI (and as @lexaknyazev corrected me, meters are the official length units of glTF, so this is correct behavior).
Blender 2.79 took a different approach.  Changing the display units on the UI results in a change in the reported actual scale of the model.  For example, if changing from meters to feet, all 1-meter measurements in 2.79 became 1-foot measurements, and the overall scale of the model became incorrect.  I don't think our exporter has any good way to compensate for this, given the way the model lacks a coherent internal representation.  So, I'm glad they fixed this in 2.80.


USGS Map Locator PDFs not importing as geospatial

Investigate why these PDFs are not importing as geospatial and update the PDF parser to support this format: USGS Map Locator, such as Block Island

After inspecting the PDF, this does not appear to be a bug in Trail Sense. The PDFs do not have geospatial information, so this may be working as intended.
I want to do one more check before I close this out in case there's a different geospatial format being used that is non-standard.

https://www.usgs.gov/faqs/what-geopdfr
https://www.usgs.gov/faqs/what-geomark-and-do-usgs-topographic-maps-have-it

If this is using a different geospatial format, it must be the Geomark format because I can't see anything for a geospatial PDF.

What an interesting rabbit hole this led me down.  That Block Island PDF is from 2021, so it should use this new mystery format.  Annoying that USGS just says "an Open Source GeoPDF format" (misusing TerraGo's trademark instead of using the generic "geospatial PDF") without being more specific or providing a link.
The nearby Kingston map might be a better example, because it is available in both 2015 and 2018 versions, so presumably provides a sample of both formats.
Wikipedia says a Geospatial PDF (the generic) "is most commonly encoded in one of two ways: the OGC best practice; and as Adobe's proposed geospatial extensions to ISO 32000."  About GeoPDF (the trademark), it says "GeoPDF products conform to published specifications including both the OGC best practice for PDF georegistration as well as Adobe's proposed geospatial extensions to ISO 32000".
The Library of Congress says of GeoPDF that it is proprietary and undocumented but that TerraGo claims the files they generate "comply with" either OGC Best Practice or Adobe.
So TerraGo is somehow both different and special, but also the same?  Strange.
The wiki mentions GDAL as one software that supports Geospatial PDF.  The GDAL PDF driver page says, "The neatline (for OGC best practice) or the bounding box (Adobe style) will be reported as a NEATLINE metadata item, so that it can be later used as a cutline for the warping algorithm."
I tried running gdalinfo on the Block Island file and both Kingston files, and it was able to pull coordinate data from all three.  So that might be a place to look for info about how to read the data.

Thank you for all the details, I'll check out those links. I'm going to treat this issue as a new geospatial PDF format. It is definitely not ISO 32000 - I extracted all the readable metadata from the document and didn't see anything I recognized, nor could find any coordinates - might be encoded within the streams on the PDF (the LOC OGC best practice document mentions that encoding will likely be in place).

Ok, looking closer, I see that Block Island 2021 is explicitly described as "GEOSPATIAL PDF", as is Kingston 2018.  Kingston 2015 is unspecified.  But here is Block Island 1998, which is explicitly described as "GEOPDF".
Gdalinfo is NOT able to read any data from Block Island 1998, so Kingston 2015 must also be Geospatial PDF.  Though the output for Kingston 2015 and Kingston 2018 has some structural differences, so maybe those represent the OGC vs Adobe variants?
To be clear, I don't care about TerraGo/GeoPDF/GeoMark files.  This request is for the current Geospatial PDF files.

Unfortunately none of the PDFs (Kingston or Block Island) follow the ISO 32000 geospatial format
I see some are likely to be OGC (the older ones) - but I'm still not sure what format the newer PDFs are, since they are not ISO 32000. So I think either way, this would be adding support for a new format (OGC and whatever USGS is calling "geospatial PDF")

What a pain.  It's a shame that USGS doesn't document better what they are doing.
But since the real goal here is USGS maps, not necessarily their PDFs specifically, looks like there could be an easier solution.  I just discovered that at topoView they provide the downloads in several other formats:

GeoTIFF:  Topo map and orthophoto TIFF images, plus some other data files.  GDAL can pull the data, but after learning about GeoPDF I'm scared to ask what GeoTIFF actually is.
JPG:  Topo map and orthophoto JPG images.  I don't think these are actually georeferenced.
KMZ:  KMZ files containing a topo map or orthophoto JPG, plus a very simple KML file positioning the image as an overlay.

I think the KMZ is probably the simplest of these.  It is basically just a JPG with some self-documenting georeferencing, as you see in this excerpt:
<GroundOverlay>
  <name>RI_Block_Island_20210309_TM_kmz</name>
  <Icon>
    <href>RI_Block_Island_20210309_TM_kmz.jpg</href>
  </Icon>
  <LatLonBox>
    <north>41.25000844558588398</north>
    <south>41.12500841692346398</south>
    <east>-71.50000066458208892</east>
    <west>-71.62500071175118421</west>
  </LatLonBox>
</GroundOverlay>
Of course, that's just another way of saying "adding support for a new format", so that's where this gets filed no matter which approach you take (or don't take -  it's your time to spend as you wish).


Merge x and xf into single inout argument in step procedures

Currently, step methods have an interface like so:
subroutine step_func_fixed(me,t,x,h,xf)
!! rk step function for the fixed-step methods.
import :: rk_fixed_step_class,wp
implicit none
  class(rk_fixed_step_class),intent(inout) :: me
  real(wp),intent(in)                      :: t  !! initial time
  real(wp),dimension(me%n),intent(in)      :: x  !! initial state vector
  real(wp),intent(in)                      :: h  !! time step \( |\Delta t| \)
  real(wp),dimension(me%n),intent(out)     :: xf !! final state vector
end subroutine step_func_fixed

There is no need for a separate arguments x intent(in) and xf, intent(out). They can be merged into a single argument x, intent(inout), thereby avoiding a redundant state vector.
For instance, for Euler:
module procedure euler
associate (f1 => me%funcs(:,1))
    call me%f(t,x,f1)
    x = x + h*f1
end associate
end procedure euler

The change should be more or less straightforward for all methods expressed in the classical the rk form. For SSP and LS methods, one registry will probably have to be added because the implementations were already making use of the extra x. I can help with that; just let me know what you think.

Yes, that seems reasonable!


Restore address edit

Current coverage is 58.76% (diff: 20.00%)

Merging #827 into master will decrease coverage by 0.06%

@@             master       #827   diff @@
==========================================
  Files           111        111
  Lines          5861       5871    +10
  Methods           0          0
  Messages          0          0
  Branches        718        719     +1
==========================================
+ Hits           3448       3450     +2
- Misses         2273       2281     +8
  Partials        140        140

Powered by Codecov. Last update 9d7f876...8bd6824


Build for FreeBSD amd64 & arm64

Both architectures supported by Go on FreeBSD.
Slightly simplified Makefile to avoid repeating same build commands for every variation of GOOS/GOARCH.
Fixes #1301, fixes #1402, fixes #1237, and fixes #1203.

Nice! Thanks for the contribution! Do you use FreeBSD, did you have a chance to make sure it works without issues? Because I don't have a FreeBSD machine, so cannot test it out.

Ah, got it from the original issue, looks like you tested it out. So merging it.


LOINC-Code - Complete list

Some labo result contains loinc code without description.
      "code": {
        "coding": [ {
          "system": "http://loinc.org",
          "code": "29953-7"
        }

We are using the LOINC subset table to search code and get the description (short name and long name)
https://apps.health.belgium.be/terminology-portal/standards/terminology_standards/loinc/fr
This code is not in the subset table, so we don't get a description.
I see the in RETAM webapp, that this code is available.
https://www.vas.ehealth.fgov.be/webretam/retam/home.htm?eventName=LOINC_FILTER_APPLY&htmlfield_analysesId=&htmlfield_assoc=no&htmlfield_filter1=29953-7&htmlfield_searchin_filter1=all&htmlfield_filter2=&htmlfield_searchin_filter2=all&htmlfield_filter3=&htmlfield_searchin_filter3=all
29953-7 = Nuclear Ab [Titer] in Serum
I am wondering if we are using the correct export  (BE subset LOINC_2024_Q2)
https://apps.health.belgium.be/terminology-portal/assets/standards-terminology_standards-loinc/ReTaM_Export_062024.xlsx
if it is the correct export, how to display an analysis when we have only the code.
(at least when we don't have another code (labo code, ....)
Thanks.

Hello @PhilippeQuertemont ,
If the code is in Retam, there should be a description (either short or long). I will forward your mail to<EMAIL_ADDRESS>so that they can check the export file.
In the case you only have the LOINC-code, and it does not occur in Retam, and you have not other means to determine a code (maybe a previous result with the same code that did have a description), you can always display the code with a reference to the international LOINC-site. This is not the most user friendly solution, but the only correct one, and you should inform the sending lab of the missing description.
In this case however, it is<EMAIL_ADDRESS>that should provide the description.


Change default value of DefaultCommandExecutionTimeout to match docs

Set the default git timeout to 360s as per the docs not 60s.
Fix #10575

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@22b7507). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #10581   +/-   ##
=========================================
  Coverage          ?   43.72%
=========================================
  Files             ?      585
  Lines             ?    82014
  Branches          ?        0
=========================================
  Hits              ?    35864
  Misses            ?    41711
  Partials          ?     4439

Impacted Files
Coverage Δ

modules/git/command.go
89.56% <ø> (ø)

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 22b7507...73d1937. Read the comment docs.


WIP: proof of concept for sphinxcontrib-bibtex

This is a proof of concept for how we might use sphinxcontrib-bibtex in MNE-Python. On this PR I've updated 3 documentation pages to use its :cite: role and .. bibliography:: directive instead of using generic footnote references like [1]_ and .. [1]. The pages to look at are:

tutorials/preprocessing/plot_45_projectors_background.py
tutorials/preprocessing/plot_50_artifact_correction_ssp.py
tutorials/preprocessing/plot_60_maxwell_filtering_sss.py

Potential advantages:

consistent formatting of references across all documentation pages

no need to manually type or paste new references; just use the :cite: role and the bibtex citation key

Potential disadvantages:

this works only when the docs are pretty-rendered, so if we do this in function/class/method docstrings, then users who view the docstring in a terminal will only see the bibtex citekeys in-line, and the references section will not be rendered.

The sphinxcontrib-bibtex package seems to be designed around the use case of "cite each paper once, render only one bibliography". It is currently possible to get it to work with our convention ("possibly cite each paper in several different files, render a separate bibliography for each page that has a cite on it"), but it takes some contortions to get it to work (see the keyprefix and labelprefix options).  I've opened mcmtroffaes/sphinxcontrib-bibtex#184 to see if there might be a way to better support our use case. mcmtroffaes/sphinxcontrib-bibtex#185 fixes this, by new role :fncite: and new directive .. fnbibliography::

Alternatives
A possible alternative is: extend the "docdict" idiom that we use for docstring parameters in order to insert formatted references into docstrings at import time, and use the sphinx pipe-surround replacement syntax to do a similar thing in the doc pages.  This would alleviate both of the disadvantages listed above, but is less automatic: you would still need to manually create the link between in-text cites and bibliography entries (using [1]_ and .. [1] or similar); all it really solves is saving you from typing the full bibliography entry (instead you would type %(UusitaloIlmoniemi1997)s in a docstring, or |UusitaloIlmoniemi1997| in a documentation page / tutorial). It also adds some overhead at import time, but how much overhead is not yet known.

Here are the renderings of the three tutorials I edited:

https://16175-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/preprocessing/plot_45_projectors_background.html
https://16175-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/preprocessing/plot_50_artifact_correction_ssp.html
https://16175-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/preprocessing/plot_60_maxwell_filtering_sss.html

Notable:

the in-text citations are [A1], [A2], etc in a given document, and [B1], [C1], etc across different documents.  This is ugly but is currently necessary to work around sphinxcontrib-bibtex's preference for handling citations and bibliographies globally across all documentation files.
the bibliography entry for UusitaloIlmoniemi1997 is rendered identically in the two files where it appears.

Here are the three doc pages after switching to the upstream git branch that has the new feature added. They look great!

projectors background
SSP
SSS

Remaining questions:

OK to add dependency on sphinxcontrib-bibtex once they cut a release with the fix in place?
how do we handle citations in function/method/class docstrings?  Are we OK with users who view docs in the terminal only seeing this?

lorem ipsem :cite:`UusitaloIlmoniemi1997` lorem ipsem

...

.. fnbibliography:: ../../references.bib

...or would we rather do this only for the standalone documentation pages?

...or would we rather do this only for the standalone documentation pages?

This would be kind of a bummer. Personally I'm okay with the command-line popup having the :cite: in it

I guess it's a trade off. We have something simpler for main doc but we
loose something on the docstrings from ipython. How would it look like in a
function / class doc as in
https://mne.tools/stable/generated/mne.preprocessing.maxwell_filter.html#mne.preprocessing.maxwell_filter
?
would this still work? if not I think it makes the references pretty
impossible to find.

@agramfort IIUC the rendered HTML docs should look fine. Okay with you to proceed if indeed that's the case?
@drammock can you adapt a couple of docstrings so we can see the rendered HTML?

Here are some references in docstrings (they look fine):

make_dics
tf_dics
apply_dics_csd

Here are the links from before on the latest build (still fine):

projectors background
SSP
SSS

The upstream change that enabled this has now been converted into a separate extension, sphinxcontrib-footbib that is bundled alongside sphinxcontrib-bibtex, so there are corresponding changes to conf.py and the role/directive names (footcite instead of fncite, etc).  If everyone is happy, I can chip away at this gradually while we wait for the various upstream dependencies to stabilize and get released on pypi.

looks great @drammock !
would it be possible to have a page that lists all references in the entire code base?

@agramfort it should be possible to have a separate page that lists all the refs that are in the bib file.  I don't think it would be possible to have the local bibliographies for each docstring / docs page and also have an overall bibliography that tracks the refs that we actually cite.

If we have all the refs present in bib file it’s good enough. Thanks a lot

To avoid conflicts (you already have one) we can just merge and then update requirements.txt to use the latest release when possible

rebased to resolve conflict w/ requirements.txt.  Per @larsoner's suggestion, ready for merge when CIs come back green.

Looks great 👍

@drammock please go ahead when it's green

seems like our use case has triggered the sphinxcontrib-bibtex developer to do a big refactor; not sure it's safe to depend on the GitHub zipball of his repo. Between yesterday and today now it doesn't work on Circle.  Guess we'll have to wait for a stable release after all.

You can pin to a commit. But I agree it feels dicey, probably better to just wait

By the way, naive question. Is it possible to link back to the examples or function docstrings where the reference is mentioned? Otherwise the long bibliography list looks not so useful to me ...

@jasmainak that would be possible if we didn't also have small local bibliographies in each docstring or tutorial page. We have to pick one or the other, or else do something rather tricky like citing everything twice and hiding one of the cites somehow.
On October 18, 2019 6:39:46 PM PDT, Mainak Jas<EMAIL_ADDRESS>wrote:

By the way, naive question. Is it possible to link back to the examples
or function docstrings where the reference is mentioned? Otherwise the
long bibliography list looks not so useful to me ...

reminds me of the pain to make a separate bibliography in the supplementary of a paper :)

the extension seems to have stabilized, and I got it working for Matti's annotated bibliography page too, by hiding the :footcite:s using an rst-class:
https://16331-1301584-gh.circle-artifacts.com/0/dev/references.html
I still think we should wait for an official release of sphinxcontrib-bibtex though.

Marking as WIP as we're waiting on https://pypi.org/project/sphinxcontrib-bibtex/ to update, but marked as 0.20 milestone so we don't forget to check

Don't worry, I won't forget :)  I set myself up as a watcher of that repo

to avoid the rebase getting totally out of hand (today's was bad enough) I've pinned the requirements.txt entry for sphinxcontrib-bibtex to a specific commit so we don't have to keep waiting for the official release.  Let's merge this once the CIs come back happy.

@larsoner feel free to merge if you're happy

Awesome, thanks @drammock !


chore(versions): update TOML versions

It has been decided to set the version of all the crates to the same
number for the release.

bors merge


refactor RobertaEncoder

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[x] Did you read the contributor guideline?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

What does this PR do?
Get rid of TransformerSentenceEncoder from RobertaEncoder. This commit has passed the test in https://github.com/pytorch/fairseq/tree/master/examples/roberta
TransformerEncoder covers all the features of TransformerSentenceEncoder besides segment embedding.
Futher suggection
Why not remove TransformerSentenceEncoder completely,
simply by adding segment_embeddings into TransformerEncoder or extends TransformerEncoder with additional  segment_embeddings.
Did you have fun?
Make sure you had fun coding 🙃

Thanks, this makes a lot of sense and will fix some long-standing naming confusion. I'll work on merging this.

Thanks, this makes a lot of sense and will fix some long-standing naming confusion. I'll work on merging this.

Looking forward to your update.
In my test, this commit works for Roberta and get same result in hub test . It may also work in other related cases.

Looking forward to your update.
In my test, this commit works for Roberta and get same result in hub test . It may also work in other related cases.

@myleott It looks like freeze embeddings and freeze encoder layers (all or some) are only available in TransformerSentenceEncoder, Can we add it to TransformerEncoder and therefore the Roberta/Bert code. That way people has much more flexibility in the fine-tuning stage (sometimes they just want to tune the classification head or last few encoder layers to make training faster)


I use a @PathVariable but set required is false in SpringMVC,at the time I post a request by swagger ui and don't set the parameter,the server got a "undefined" string value.

Q
A

Bug or feature request?
Bug

Which Swagger-Core version?
1.5.14

Which Java version?
8

Which JAX-RS framework & version?
-

I use a @PathVariable but set required is false in SpringMVC,at the time I post a request by swagger ui and don't set the parameter,the server got a "undefined" string value.
eg.

    @GetMapping("/test/{id}")
    @ApiOperation("test")
    @ApiImplicitParams({@ApiImplicitParam(name = "id", value = "test_id", paramType = "path")})
    public String test(@PathVariable(required = false) String id) {
        return id;
    }

when I use swaager ui post request and don't set the "id" value, I got the request url which is "https://localhost:8443/api/v1.0/monitor/test/undefined"。I hope to get the url is "https://localhost:8443/api/v1.0/monitor/test"

This is technically an issue that should be opened with Springfox. However, the specification itself doesn't support optional path parameters, so your API cannot be represented with the spec.


feat: expose proper lua functions for gc, gcc, gb, gbc 🎉

Before
Previously, all those functions were kinda available via the global scope but there was no guarantee that those will stay that way.
After
Now the objective is to properly expose them and treat them as the API of the plugin and remove all the global functions.

It might be a good idea to add more verbose names

IMO, After being short names, they are pretty explanatory to me 😄 . But hey I am open to any suggestion.

aren't Operator-pending bindings the same as map-operator?

AFAIK, they are different. Operator-pending mappings waits for operator-mode mappings. In comment.nvim, you can say that gc is operator-pending and something like i{ or at is operator-mode mappings.

I am also deprecating these functions.
require('Comment').comment()
require('Comment').uncomment()
require('Comment').toggle()

^ These functions can be accessed from api namespace
require('Comment.api').comment()
require('Comment.api').uncomment()
require('Comment.api').toggle()

@abzcoding Do you have any suggestions regarding the changes? If not, I would like to merge this :)

@abzcoding Do you have any suggestions regarding the changes? If not, I would like to merge this :)

tyvm, I'm fine with the changes, but @kylo252 might've some suggestions

tyvm, I'm fine with the changes, but @kylo252 might've some suggestions

Very well then. I'll wait for @kylo252 suggestions if he has any :)

Also, @abzcoding feel free to tag me as a reviewer, when you are about to update LunarVim.

Also, @abzcoding feel free to tag me as a reviewer, when you are about to update LunarVim.

will do, much appreciated


Carthage

Could you please add support for Carthage?

You can use Proposer with Carthage now. Please let me know if it's work.


j.clients & builder .graphite

config manager
server.install()
basic test

➤ kristof de spiegeleer commented:
also implement j.builder....
look at readme in that builder directory & TEMPLATE dir

➤ kristof de spiegeleer commented:

implement j.client

learn how to do it in template for client ( https://github.com/threefoldtech/jumpscale10/tree/master/Jumpscale/clients/TEMPLATE )

implement j.builder....

learn how to do it in template ( https://github.com/threefoldtech/jumpscale10/tree/master/Jumpscale/builders/TEMPLATE )


Error handling refactor

#1280  👈 (View in Graphite)
main

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


[Service Bus] Review retry policy configurations

In issues #1717 and #1718, the sender client was observed to have failed after attempting a set number of pre-configured retries.
The objective of this issue is to deep-dive and document the available retry policies. Review these with team and subsequently make any feature changes if required.

Below is the list of all main operations and their retry policies.

Operations
Class
Retry policy

Connection creation
ConnectionContext
None

Link creation
MessageSender, BatchingReceiver, StreamingReceiver, MessageSession, ManagementClient, CbsClient
None

Link recovery
MessageSender, BatchingReceiver, StreamingReceiver
retryAttempts: 150, delayBetweenRetries: 15, timeoutForOperation: 10

NegotiateClaim
CbsClient
retryAttempts: 3, delayBetweenRetries: 15, timeoutForOperation: 10

Operations on the $management link
ManagementClient
retryAttempts: 3, delayBetweenRetries: 15, timeoutForOperation: 10. Except renew lock operations that use 5 retryAttempts, 1 second delayBetweenRetries and 5 second timeoutForOperation

send & sendBatch
MessageSender
retryAttempts: 3, delayBetweenRetries: 5 + jitter , timeoutForOperation: 60

Receive in a batch
BatchingReceiver, MessageSession
None

Receive in a stream
StreamingReceiver, MessageSession
None

Settling a message
ServiceBusMessage
For deferred messages, we use the managementClient, so default retry policy (retryAttempts: 3, delayBetweenRetries: 15, timeoutForOperation: 10) there. For other messages, no retry policy

Event Hubs shares the same polcies as above (just remove MessageSession, ServiceBusMessage and renewLock concepts from the above table)
We will be using #2661 to review these policies against the guidelines and propose further changes.

cc @AlexGhiondea


TransportMaintenance.psm1 LogIfRemain: Remove default value for Switch Param

Details of the scenario you tried and the problem that is occurring:
Suggested by DSC Resource Kit PSSA Rule Severities, Switch parameters should always default to 'not provided'.
File impacted by this breaking change: TransportMaintenance.psm1
Function impacted: LogIfRemain
Parameter impacted: $DetailLogging
Issue fixed in PR #218
The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System, Exchange Server and PowerShell the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev

Removed breaking change as per https://github.com/PowerShell/xExchange/pull/218#issuecomment-389579101.

This was merged in #218.


Labels on the commit trees end up at (0,0) after switching between recent repos

The branch labels (master, HEAD, etc) that show up in the remote and local commit diagrams all get placed in the top-left corner after switching via the dropdown

Fixed: fc12059d77d716b42493fb0efc976ddbe72fc3ea


Strange behavior of library files in runtimepath

After following crate setup section in examples, everything worked, until I tried standard plugin refresh without neovim restart. The problem can be simulated with next lua snippet:
-- crash.lua
vim.o.rtp = '.,' .. vim.o.rtp
package.loaded.foo = nil
Foo = require'foo'
package.loaded.foo = nil
Foo = require'foo'

Which on execution crashes, and reports: Illegal instruction (core dumped). I tried different neovim versions - every version crashes. I suspect neovim has problem with loading library files (which can be further tested with compiled C library). Another thing I found out is that runtimepath has strange behavior when shared object files are concerned (Order of finding plugins is not respected). I am posting this Issue here because I think it affects usage of this plugin more than neovim itself. Maybe I can dig deeper (I am not very experienced but would like to help).

I am having the same issue. I am using the crate setup example on Windows and Neovim crashes when loading the DLL file.


[FLOC-1753] Fix issues with missing images and removal of in-use images

https://clusterhq.atlassian.net/browse/FLOC-1753
Also did some other test suite and code improvements while we were at it.

Your test_list_with_missing_image isn't going to pass on Buildbot until #1340 is merged. But unless you want to address the question I left on pull_image_if_necessary, please merge once Buildbot is in a state where these two tests are passing and any other build failures that might happen are determined to be unrelated to this branch.

Please hold off on merging this.

Merged forward, let's see if Buildbot turns green.

Any chance you can explain why these images are missing?

The DockerImageBuilder class builds an image, and then does a cleanup where it removes images it created. And apparently sometimes a container using those images gets left behind.

The DockerImageBuilder class builds an image, and then does a cleanup where it removes images it created. And apparently sometimes a container using those images gets left behind.

In master it does docker rmi ... which refuses to remove an image in use by a container.

To give the timeline more clearly:

Image created.
Container runs.
Container stops.
Image removed.

At this point let's say test suite crashes. There is now a Docker container on the system that will show up in listing API, but whose image is missing.

Yep, I get that.  What I'm trying to get at is that this sequence doesn't appear possible:
jean-paul@dilaton:~$ mkdir /tmp/buildanimage
jean-paul@dilaton:~$ echo "FROM busybox                                                                    MAINTAINER<EMAIL_ADDRESS>> /tmp/buildanimage/Dockerfile
jean-paul@dilaton:~$ docker build -t junk:rmidemo /tmp/buildanimage/
Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon
Step 0 : FROM busybox
 ---> 7287e8cc7f93
Step 1 : MAINTAINER<EMAIL_ADDRESS> ---> Running in 18de03ca840b
 ---> 7694457ddc02
Removing intermediate container 18de03ca840b
Successfully built 7694457ddc02
jean-paul@dilaton:~$ docker run -d junk:rmidemo /bin/true
3766aa3b5b373c26d8bcafdfd5a10a8237116dfd1f02d5f2364f1ed5d32911f5
jean-paul@dilaton:~$ docker inspect -f '{{.State.Running}}' 3766aa3b5b373c26d8bcafdfd5a10a8237116dfd1f02d5f2364f1ed5d32911f5
false
jean-paul@dilaton:~$ docker rmi junk:rmidemo
Error response from daemon: Conflict, cannot delete 7694457ddc02 because the container 3766aa3b5b37 is using it, use -f to force
FATA[0000] Error: failed to remove one or more images
jean-paul@dilaton:~$

If the test suite attempted to follow the sequence you outlined, it would have encountered an error removing the image.  It would not have been able to produce a state where the image was deleted but the container still exists (even stopped).

Maybe older versions of Docker were different?

I have replied and/or addressed in code all comments I think.

Oh, forgot logging.

Thanks.  I'm not really happy with the force removals of images.  I'm pretty sure the need for that just means we have other bugs hiding out somewhere.  I think "Maybe older versions of Docker were different?" is a minimally convincing argument for why these changes seem to be necessary.
Do you think this actually fixes the problem or is it just a bandaid?

Basically out of time for this today.  Once the logging changes are in, if buildbot looks good and you're happy with how this looks, go ahead and merge.  Thanks.

It's just better cleanup, basically. So I don't think it's any worse.

Not sure if it's relevant, but I noticed that docker rmi  on my laptop uses docker API version 1.17 while we force docker-py to use 1.16 ...I think.


Always deploy the user monitoring stack

What this PR does / why we need it:
Removes the annotation monitoring.shoot.gardener.cloud/enabled. The user-facing monitoring stack will now always be deployed.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

/lgtm


sp_helpme & sp_sizeoptimiser Case Sensitivity fixes

Description

Issue: Fixes variable calls and sp_executesql call within sp_helpme and sp_sizeoptimiser on Issue #203
How Has This Been Tested?

Deployed to case sensitive SQL Server 2014 instance.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Checklist:

[ ] I have updated the Version number of any scripts modified.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Thanks for the PR! Looks good to me.


test(clerk-js): Test cases for useCoreOrganization

Description
This PR adds missing tests for the exported properties of useOrganization

Checklist

[x] npm test runs as expected.
[x] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[x] other: Adding tests

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Add arithmetic to MilliSatoshis

I think an important thing here is that we stay with the convention we have already layed out in CurrencyUnit, i.e. the operator returns a type T rather than a Try[T]. We could make a parallel API that returns a Try[T], but I don't think we should change convention for now on the +,-,* operators etc

The vibe I'm getting here:

Remove divison operator
Make - operator unsafe

I think it would make sense to have a safe subtraction operator/method that returns a Try[MilliSatoshi]. minusSafe, or something like that. What's your opinion on that?
Also, something I've been thinking about, while we're discussing change to MilliSatoshi. I really like DurationInt and DurationLong from scala.concurrent.duration AKA being able to write 1.millsecond. Are you opposed to adding something similar to Bitcoin-S currency units?

I'm not opposed to that, I just think we should make sure we can use the library without using those postfix methods.

abstract class BasicArithmetic[+N] {

def +(n: N): N

def +t(n: N) : N = Try(this + n)

def *(n : N): N

def *t(n: N): Try[N] = Try(this * n)


Add (basic) support for running tests

This is a first step in starting to support running tests of crates in the current workspace.
As part of this I had to start refactoring target as that was being passed around as global state since it is required to override target.test in order to get features for test builds.
While doing that I decided to refactor some function calls from "normal" function arguments to attribute sets as arguments. The pattern of what was being passed on and required became a bit repetitive so it seemed like a good idea.
The idea is to pass doTest = true (e.g. using .override) to the build to additionally calculate the test features and dependencies. The build of that crate will then be passed to buildRustCrate (from nixpkgs) where it will be used to build & execute the tests in that crate. My current idea is to have those tests "build" as a dedicated derivation that will be required for the actual crate to succeed.
While this doesn't fully close that chapter yet it is a first step and some basic implementation to discuss how we want this to evolve. I'll  draft a PR to nixpkgs next that adds support for testing crates.

Ok, I just pushed a few commits that I produced on my journey to actually get tests to work.
I went from a simple (hack) that wouldn't need any kind of nixpkgs support to a change in Nixpkgs that makes things so much easier. The non-nixpkgs version did work fine until I had crates the did require build scripts generated by buid.rs. With the nixpkgs version I was able to just properly declare that I want to build tests and only amend some of the rustc flags - all of those that are actually needed vs all of them.
I intend to squash these commits together so that the intermediate hack isn't visible in the final version. Those changes are just there so people can get an idea how it would look like if done otherwise.
Initially I was hoping that we could just have some test support in crate2nix and iterate on the test infrastructure before adding that to nixpkgs. The other option would have been to move the entire buildRustCrate infrastructure into the generate default.nix which would be very bloated but very flexible.
The major downside of the test support based on nixpkgs's buildRustCrate is that we are unlikely to be able to support building rust crates in any stable nixpkgs release before the 20.03 release has been made. IMO that isn't that big of a deal since you can just use a newer nixpkgs for your crates and do not have to switch your entire system to it.
Since executing tests is still opt-in that might also not be a big deal. We just must communicate that to the users of crate2nix that if they want test support they need at least a specific minimum nixpkgs version.
For all of this to work the following nixpkgs branch is required: https://github.com/andir/nixpkgs/commits/buildRustCrate-test
Since the nixpkgs work is derived from the previously mentioned PR I did not open a PR just yet. I'll do that shortly after that change goes in.

Hi @andir,
wouldn't it make sense to first merge the pull request for nixpkgs? Or is that what you want to do anyways?
And are you at the CCC congress? then you can reach me with a DM at https://twitter.com/pkolloch. I can reply with telegram/WhatsApp contact info...

wouldn't it make sense to first merge the pull request for nixpkgs? Or is that what you want to do anyways?

That is what I am aiming for. I just wanted to post this here in case you have very different opinions on this.
I just opened the nixpkgs PR: https://github.com/NixOS/nixpkgs/pull/76820

I rebased this (onto #63) and addressed the feedback I got. Now that https://github.com/NixOS/nixpkgs/pull/76820 is merged we can probably move ahead here?

Hi Andir, thanks a lot for the amazing work.
I merged it but I consider the functionality still experimental in the sense that I want to play a bit with it and maybe think about the nix interface to this functionality more. That might result in some changes but maybe also not.


Add config to enable Java crash tracking

What does this PR do?
Enable Java crash tracking when the java agent is auto-injected
Motivation
Have the crash-tracking working OOTB for Java applications.
Additional Notes

Possible Drawbacks / Trade-offs
A new file is created in /datadog-lib/continuousprofiler/tmp/dd_crash_uploader.sh
Describe how to test/QA your changes
Extend the current e2e scenario to validate that the upload script is created at the expected location (/datadog-lib/continuousprofiler/tmp/dd_crash_uploader.sh)
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I am a bit alarmed by the serverless integration tests failing - for all runtimes!
I am quite confident that this change is affecting only Java and really don't see how this could make Go or Python fail, but here we go.
I tried asking in #serverless and #serverless-agent channels but no response so far. So, if someone here knows what is happening or whom to ask, I would be grateful.


Add Developer Survey banner

Please add a banner to the Docs homepage to help promote the Developer Survey
Design: https://www.figma.com/file/6nhAktS0TPemu9emfBkv0q/Drafts?node-id=2160%3A6283
It should link to: survey.hiro.so
@hirosystems/marketing Can you please confirm by which date you want this live?
Thanks!

This is now complete.


Removing orphaned auto-packages

Hi.  I was wondering if apt-cyg has a way to assist with removing unneeded packages -- packages installed automatically for which all dependent packages installed manually have been removed.  I saw the item on the todo list that says "Support dependency check for remove subcommand." but I wasn't sure if that was referring to this or to disallowing removal of a package which is still needed.  Is there at least a way to tell apt-cyg to list the unneeded packages which could be fed to apt-cyg remove?  Thanks

I made some subcommands to find packages that are no longer needed.
You can try it on issue-97 branch.
ex)
# List orphaned packages
apt-cyg list-orphaned-packages
# Remove orphaned packages
apt-cyg remove $(apt-cyg list-orphaned-packages)


View/Update Personal Info

As authorized in cabinet patient I want to be able to see my current personal information and update it in case if it's needed.
In order to be able to do it there must be pages:

[ ] view current personal info spec
[ ] update (available to update) fields spec

This issue was moved to edenlabllc/ehealth.web#8


Ignoring dot-files doesn't work with dot option set to true

I'm trying to use gulp.src(['directory/**', '!**/.git/**'], {dot: true}) but it always matches the .git directory too. I've tried several variations like ['directory/**', '!.git'] or ``['directory/', '!.git/']etc. but it won't exclude the .git directory - when setting thedot` option to true.
Any ideas? Thanks!

After little testing I realized that all negations work this way.
If ['directory/**']matches these:
directory
directory/bar
directory/foo.js
directory/bar/baz.js

then ['directory/**', '!directory/bar/**'] matches these:
directory
directory/bar
directory/foo.js

.. so I don't think this is a bug.

Makes sense, I think the problem was a double negation.
['directory/**', '!**/.git/**'], not .git submodules + {dot: true} => dot file/dirs
In fact, you pointed this out with a triple negation => negation

heikki commented on Sep 12, 2014
This seems to work for me:
gulp.src(['directory/', '!/.git', '!/.git/'], { dot: true })

@stringparser I think this is more accurate:

'directory/**' - include everything under directory
'!directory/bar/**' - remove everything under directory/bar from included files
{ dot: true } - make dot-files/dirs behave like normal ones

There's no double/triple negations, just negations.

@heikki ok, so how would this work?

directory/**
!directory/.git
{dot: true}

-> gulp.src(['directory/**', '!directory/.git/**'], { dot: true })

Includes everything from directory
Removes things under directory/.git from included stuff

So you will see directory/.git directory in matches.

@heikki yep, you are right and the only way then to remove **/.git from matches will be to do what you proposed:
gulp.src(['dir/**', '!**/.git/**', '!**/.git'], {dot: true})

Treat dot file/dir as normal ones
Include all under dir not matching !**/.git/** and !**/.git

if !**/.git is not included in the array will always match dir/.git since only its contents were excluded
I've tested this with
.
├── dir
│   ├── .dotfile
│   └── .git
└── index.js
and
gulp.src(['dir/**', '!**/.git/**', '!**/.git'], {dot: true})
  .on('data', function(file){
    console.log(file.path.replace(__dirname, ''));
  });


Fix feature shortcode for Hugo

Algorithm for splitting version strings by dots and comparing major, minor versions one by one separately. There is no break statement for range loop in Hugo functions, that's why added special handling for that case.
Closes #650 .

By default if we access element over the list length we would get 0 - and this would make shortcode work even for version = 1.99.0 and publishVersion = 1.9. In this function $p=0 (length of publDigits is 3):
    {{- $p := int (index $publDigits 4)}}


BUG: pyzmq v26 installation fails (build from sources)

What pyzmq version?**
26.0.0a2
What libzmq version?**
4.3.5 (seperatly build and installed)
Python version (and how it was installed)
python 3.9 via apt-get
OS
Raspberry Pi OS Bullseye 32-bit
What happened?
In our projekt we build pyzmq from sources with a seperatly prebuild libzmq installation.
Prior to the v26 release this succeeded. Since the new version release this fails.
Traceback, if applicable

Using pip 24.0 from /home/testuser/RPi-Jukebox-RFID/.venv/lib/python3.9/site-packages/pip (python 3.9)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting pyzmq
Downloading pyzmq-26.0.0a2.tar.gz (366 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 366.6/366.6 kB 5.9 MB/s eta 0:00:00
Installing build dependencies: started
Running command pip subprocess to install build dependencies
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Ignoring cffi: markers 'implementation_name == "pypy"' don't match your environment
Collecting cython>=3.0.0
Downloading Cython-3.0.8-py2.py3-none-any.whl.metadata (3.2 kB)
Collecting packaging
Downloading https://www.piwheels.org/simple/packaging/packaging-23.2-py3-none-any.whl (53 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 526.4 kB/s eta 0:00:00
Collecting scikit-build-core
Downloading https://www.piwheels.org/simple/scikit-build-core/scikit_build_core-0.8.1-py3-none-any.whl (139 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.4/139.4 kB 1.7 MB/s eta 0:00:00
Collecting exceptiongroup (from scikit-build-core)
Downloading https://www.piwheels.org/simple/exceptiongroup/exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Collecting tomli>=1.1 (from scikit-build-core)
Downloading https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB)
Downloading Cython-3.0.8-py2.py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 10.0 MB/s eta 0:00:00
Installing collected packages: tomli, packaging, exceptiongroup, cython, scikit-build-core
Successfully installed cython-3.0.8 exceptiongroup-1.2.0 packaging-23.2 scikit-build-core-0.8.1 tomli-2.0.1
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Running command Getting requirements to build wheel
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Running command pip subprocess to install backend dependencies
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
Collecting pyproject_metadata
Downloading https://www.piwheels.org/simple/pyproject-metadata/pyproject_metadata-0.7.1-py3-none-any.whl (7.4 kB)
Collecting cmake>=3.28
Downloading https://www.piwheels.org/simple/cmake/cmake-3.28.3-cp39-cp39-linux_armv7l.whl (19.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.6/19.6 MB 13.4 MB/s eta 0:00:00
Collecting pathspec
Downloading https://www.piwheels.org/simple/pathspec/pathspec-0.12.1-py3-none-any.whl (31 kB)
Collecting packaging>=19.0 (from pyproject_metadata)
Using cached https://www.piwheels.org/simple/packaging/packaging-23.2-py3-none-any.whl (53 kB)
Installing collected packages: cmake, pathspec, packaging, pyproject_metadata
Successfully installed cmake-3.28.3 packaging-23.2 pathspec-0.12.1 pyproject_metadata-0.7.1
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Running command Preparing metadata (pyproject.toml)
*** scikit-build-core 0.8.1 using CMake 3.28.3 (metadata_wheel)
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: pyzmq
Building wheel for pyzmq (pyproject.toml): started
Running command Building wheel for pyzmq (pyproject.toml)
*** scikit-build-core 0.8.1 using CMake 3.28.3 (wheel)
*** Configuring CMake...
loading initial cache file /tmp/tmp0idg8ze3/build/CMakeInit.txt
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /home/testuser/RPi-Jukebox-RFID/.venv/bin/python3 (found version "3.9.2") found components: Interpreter Development.Module
-- enabling ZMQ_DRAFT_API
-- Looking for libzmq in /usr/local
-- Looking for libzmq in /usr/local - /usr/local/lib/libzmq.so
-- Using Python Python /home/testuser/RPi-Jukebox-RFID/.venv/bin/python3
-- Building Cython backend
-- Linking libzmq target libzmq
-- Configuring done (6.9s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/tmp0idg8ze3/build
*** Building project with Unix Makefiles...
[ 33%] Generating zmq/backend/cython/_zmq.c
[Errno 2] No such file or directory: '/tmp/tmp0idg8ze3/build/zmq/backend/cython/_zmq.c'
gmake[2]: *** [CMakeFiles/_zmq.dir/build.make:74: zmq/backend/cython/_zmq.c] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:82: CMakeFiles/_zmq.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
*** CMake build failed
error: subprocess-exited-with-error
× Building wheel for pyzmq (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /home/testuser/RPi-Jukebox-RFID/.venv/bin/python3 /home/testuser/RPi-Jukebox-RFID/.venv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpruyy6f9q
cwd: /tmp/pip-install-uilurpo0/pyzmq_09b91c9e3c034aeb893a3e119336ad15
Building wheel for pyzmq (pyproject.toml): finished with status 'error'
ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

More info

libzmq prebuild and copied to "/usr/local".

Build pyzmq
ZMQ_PREFIX="/usr/local"
ZMQ_DRAFT_API=1
pip install -v --no-binary pyzmq --pre pyzmq

This also fails for Raspberry Pi OS Bookworm with python 3.11

PS: I couldn't submit using the "Bug Report" template, so i created this "blank" issue, trying to add all relevant informations.

Thanks for testing the prerelease!
I don't really understand why all the CI builds are passing, but I suspect explicitly creating the backend directory will do it.

PS: I couldn't submit using the "Bug Report" template, so i created this "blank" issue, trying to add all relevant information.

Thanks! Can you tell me what the problem was with the template? I don't see anything. Blank issue's always fine, the template's just there to help. It seems like it would have worked fine here, though, so I'd like to fix it if I can.

Thanks for testing the prerelease!

It was actually an unwanted test, as we mistakenly used the --pre argument ^^
But will keep an eye on it nevertheless.

Thanks! Can you tell me what the problem was with the template? I don't see anything. Blank issue's always fine, the template's just there to help. It seems like it would have worked fine here, though, so I'd like to fix it if I can.

I filled out all forms and clicked Submit but nothing happend. Tried it on a new page and the same result.
From other bugs created here early it looks like it should work. Don't know what the problem was in my case.

we mistakenly used the --pre argument ^^

Thanks for reporting, anyway :). FWIW, I think it's a really good practice to run tests with --pre, because if downstream packages don't do this, prereleases have very little point.

I filled out all forms and clicked Submit but nothing happened.

Ah, weird. I'll keep an eye out if anything comes up, or if it was an intermittent issue.
I just published pyzmq 26a3, which I think fixes this.

Our Build succeeds again with 26.0.0a3. Thanks for the quick help!

I wanted to get back on this real quick. In our use case, we have a hard requirement on WebSockets, therefore we need to enable Draft support. The documentation specifically suggests to use the --pre flag. But if it is not required, shouldn't that be updated in the docs too?
https://github.com/zeromq/pyzmq/blob/5bc400b6a3cc25734b7ad08ba3a10cd889addf9b/docs/source/howto/draft.md?plain=1#L29-L37

You're right, I don't know how many years it's been since you haven't needed a prerelease to use drafts. I'll update it.


Use Roboto Mono font for amounts

Before
After

is the "after" screenshot up to date? in a preview URL spacing looks weird


Revert "Change the tag version on the cb-network agent download script"

Reverts cloud-barista/cb-larva#314

Hi, @sujadhali
Thanks for your interest in CB-Larva.
By the way, I can't get your point on PR. Could you explain this PR?

Hi @sujadhali
I cannot find any rational basis for this PR.
Let me close this PR, if you have any opinion regarding this please feel free to reopen this PR and provides explanation.


python_builtins: follow python signature

our 'min' and 'max' didn't allow multiple arguments, while Python's does
in general we were hesitating whether our min/max/sum should mimic Python's or NumPys. Now it was a mix in the middle... we were somewhat like Python but did np.max() inside (same for sum, messing up the return type); and we didnt yet get to implementing 'axis' like numpy either.
With this pull request, I propose that the least confusing thing for people that do from cpmpy import * is to not break any existing python code... that is, follow the Python signature of min/max/sum (and fall back to that built-in when no decision variables are given).

something to maybe add to this...
we don't overwrite 'abs', but using abs(decis_var) just works. However, if you do import cpmpy as cp then cp.abs() does not work, which is very very odd.
So maybe we should fake-override abs too, e.g. just def abs(*args, **kwargs): builtins.abs(*args, **kwargs) ?


Rename view to project

Related to https://github.com/iterative/studio/pull/3842
Changes to docs in Studio to reflect that views have been renamed to projects. Several pages have been changed, but each change is minimal (only changed views to projects).
Screenshots are yet to be replaced. They still use the old Studio UI version which is currently in prod (which uses the term views, not projects).

@jorgeorpinel Thank-you for your review. I've addressed your comments. Pls take a look.

I understood this was time-sensitive based on private conversations so I went ahead and merged it. However I'm seeing the core PR is still open. Should we roll this back, or will the product change get delivered soon? Thanks @tapadipti

@jorgeorpinel It needs to be rolled back. Model registry isn't going live until 26th July. How do we do the rollback?


Add playlist support

Having playlists displayed in the library and being able to search for playlists would be amazing.

Absolutely, this is planned, I hope to have the time to work on that soon!


Added feature: the testimonial Section

Issues Identification
Closes: #386
Description
Added the testimonial section in home page. Made the page using HTML and styled it using bootstrap.
Types of Changes
Please check the boxes that apply

[x] Bugfix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Please check the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes do not break the current system and pass all existing test cases
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Screenshots

@AasthaSingh28 please resolve the conflicts.

@vivekvardhan2810 ✅ resolved conflicts..

@AasthaSingh28 while i was checking the preview, it's coming like this

and you have changed the font.
there is a separate section of testimonial, you can update there
click community support page, there you can find testimonial section.

if you want you can improve in that section.

@AasthaSingh28 will it be okay for you, if i close this PR, so that you can update it.

@vivekvardhan2810 ok sure


iOS 15 crash: Fatal Exception: NSInternalInconsistencyException. The application must have a key window since the keyboard client must be part of the responder chain to function

App crash on IOS 15.0.0
Steps to Reproduce
I don't have a way to reproduce this issue. I only got this crash from production and can not reproduce it. Its only crash on IOS 15.0.0
This is the stack trace i got from firebase Crashlytics dashboard:
Fatal Exception: NSInternalInconsistencyException
The application must have a key window since the keyboard client must be part of the responder chain to function

crash log

> Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x182314470 __exceptionPreprocess
1  libobjc.A.dylib                0x19ac98de4 objc_exception_throw
2  Foundation                     0x183bb573c _userInfoForFileAndLine
3  Flutter                        0x10315eef0 (Missing)
4  Flutter                        0x10315f418 (Missing)
5  Flutter                        0x10315ee24 (Missing)
6  Flutter                        0x10315eb1c (Missing)
7  Flutter                        0x10315e894 (Missing)
8  Flutter                        0x10315e2f0 (Missing)
9  Flutter                        0x103460e44 (Missing)
10 Flutter                        0x103173690 (Missing)
11 Flutter                        0x10347a1a8 (Missing)
12 Flutter                        0x103415f78 (Missing)
13 Flutter                        0x103417df8 (Missing)
14 CoreFoundation                 0x182329588 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
15 CoreFoundation                 0x1822ad630 __CFRunLoopDoTimer
16 CoreFoundation                 0x1822a7e30 __CFRunLoopDoTimers
17 CoreFoundation                 0x182286648 __CFRunLoopRun
18 CoreFoundation                 0x182299da8 CFRunLoopRunSpecific
19 GraphicsServices               0x19df9438c GSEventRunModal
20 UIKitCore                      0x184c17f78 -[UIApplication _run]
21 UIKitCore                      0x184993ff4 UIApplicationMain
22 Runner                         0x102219214 main + 5 (AppDelegate.swift:5)
23 ???                            0x1025919e4 (Missing)

Crashed: com.google.firebase.crashlytics.ios.exception
SIGABRT ABORT 0x00000001b90519d0

> Crashed: com.google.firebase.crashlytics.ios.exception
0  FirebaseCrashlytics            0x10296c31c FIRCLSProcessRecordAllThreads + 180
1  FirebaseCrashlytics            0x10296c700 FIRCLSProcessRecordAllThreads + 1176
2  FirebaseCrashlytics            0x1029654c4 FIRCLSHandler + 48
3  FirebaseCrashlytics            0x10295fc40 __FIRCLSExceptionRecord_block_invoke + 92
4  libdispatch.dylib              0x181f87518 _dispatch_client_callout + 20
5  libdispatch.dylib              0x181f968b0 _dispatch_lane_barrier_sync_invoke_and_complete + 60
6  FirebaseCrashlytics            0x10295f3d8 FIRCLSExceptionRecord + 212
7  FirebaseCrashlytics            0x10295f6d0 FIRCLSExceptionRecordNSException + 536
8  FirebaseCrashlytics            0x10295efb8 FIRCLSTerminateHandler() + 400
9  libc++abi.dylib                0x19ad9ff58 std::__terminate(void (*)()) + 20
10 libc++abi.dylib                0x19ada2efc __cxa_rethrow + 148
11 libobjc.A.dylib                0x19ac9ad1c objc_exception_rethrow + 44
12 CoreFoundation                 0x182299e94 CFRunLoopRunSpecific + 836
13 GraphicsServices               0x19df9438c GSEventRunModal + 164
14 UIKitCore                      0x184c17f78 -[UIApplication _run] + 1100
15 UIKitCore                      0x184993ff4 UIApplicationMain + 2208
16 Runner                         0x102219214 main + 5 (AppDelegate.swift:5)
17 ???                            0x1025919e4 (Missing)

flutter doctor -v

Flutter Doctor

> Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.2, on macOS 11.2.3 20D91 darwin-x64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.59.0)
[✓] Connected device (2 available)

> [✓] Flutter (Channel stable, 2.2.2, on macOS 11.2.3 20D91 darwin-x64, locale en-US)
>     • Framework revision d79295af24 (8 weeks ago), 2021-06-11 08:56:01 -0700
>     • Engine revision 91c9fc8fe0
>     • Dart version 2.13.3
>
> [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
>     • Platform android-30, build-tools 30.0.3
>     • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
>     • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
>     • All Android licenses accepted.
>
> [✓] Xcode - develop for iOS and macOS
>     • Xcode at /Applications/Xcode.app/Contents/Developer
>     • Xcode 12.4, Build version 12D4e
>     • CocoaPods version 1.10.1
>
> [✓] Chrome - develop for the web
>     • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
>
> [✓] Android Studio (version 4.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 11.0.8+10-b944.6916264)
>
> [✓] VS Code (version 1.59.0)
>     • VS Code at /Applications/Visual Studio Code.app/Contents
>     • Flutter extension version 3.25.0

pubspec.yaml

> environment:
>   sdk: ">=2.12.0 <3.0.0"
>
> dependencies:
>   flutter:
>     sdk: flutter
>   flutter_localizations:
>     sdk: flutter
>   camera:
>     git:
>       url: https://github.com/bottlepay/plugins.git
>       path: packages/camera/camera
>       ref: android-rework
>   fl_chart:
>     git:
>       url: https://github.com/a313/fl_chart
>   app_tracking_transparency: ^2.0.1
>   appsflyer_sdk: ^6.2.4+4-nullsafety
>   auto_size_text: ^3.0.0-nullsafety.0
>   badges: ^2.0.1
>   cached_network_image: ^3.0.0
>   connectivity: ^3.0.4
>   cupertino_icons: ^1.0.3
>   device_info: ^2.0.2
>   equatable: ^2.0.2
>   firebase_analytics: ^8.1.0
>   firebase_core: ^1.3.0
>   firebase_crashlytics: ^2.0.7
>   firebase_dynamic_links: ^2.0.5
>   firebase_messaging: ^10.0.3
>   flutter_colorful_tab: ^0.1.0
>   flutter_html: ^2.1.0
>   flutter_inappwebview: ^5.3.2
>   flutter_local_notifications: ^6.0.0
>   flutter_secure_storage: ^4.2.0
>   flutter_slidable: ^0.6.0
>   flutter_social_content_share: ^1.0.0
>   flutter_sticky_header: ^0.6.0
>   flutter_svg: ^0.22.0
>   flutter_widget_from_html: ^0.6.1
>   get: ^4.2.3
>   get_storage: ^2.0.3
>   image: ^3.0.2
>   image_cropper: ^1.4.0
>   image_picker: ^0.8.2
>   intl: ^0.17.0
>   json_annotation: ^4.0.1
>   local_auth: ^1.1.6
>   math_expressions: ^2.1.1
>   native_pdf_view: ^4.1.0
>   native_shared_preferences: ^2.0.4
>   package_info: ^2.0.0
>   path_provider: ^2.0.2
>   permission_handler: ^8.0.0+1
>   photo_gallery: ^1.0.1
>   pin_code_fields: ^7.1.0
>   pull_to_refresh: ^2.0.0
>   qr_flutter: ^4.0.0
>   share: ^2.0.1
>   shimmer: ^2.0.0
>   smooth_page_indicator: ^0.3.0-nullsafety.0
>   url_launcher: ^6.0.5
>
> dev_dependencies:
>   flutter_test:
>     sdk: flutter
>   build_runner: any
>   json_serializable: ^4.1.4
>   lint: ^1.5.3
>
>

cc: @chinmaygarde

This could happen if the Flutter view was added to a non-key window and somehow the engine thought key input was active. Is this a custom add2app scenario or just a stock Flutter application? We would have caught this issue earlier in case of the latter.

i upgraded to flutter 2.2.3 stable but nothing change. Still crashed

@a313

Is this a custom add2app scenario or just a stock Flutter application?

Its a stock Flutter application

Any update for this issue?

This crash still happen in flutter 2.5.1.
And now IOS 15.0 is publish, my app have 2k crash each day.
@darshankawar

I saw similar issue in my application, can you please share your pubspec.yaml file so we can try to identify any of packages is responsible ?

I saw similar issue in my application, can you please share your pubspec.yaml file so we can try to identify any of packages is responsible ?

I already shared my pubspec.yaml, its on the details of first post

sorry about that, i missed it as it was collapse, will inspect it soon

We have couple packages in common, but in different versions, i mean a lot different. Plus my app runs with old flutter 1.22.6 without null-safety and bug is still present. Which seem to support premise that its flutter engine related, not package one. Do you know anything more ? do you know what you have to do to crash the app ? Because I am not able to replicate it, I only got crashlytics report.

We have couple packages in common, but in different versions, i mean a lot different. Plus my app runs with old flutter 1.22.6 without null-safety and bug is still present. Which seem to support premise that its flutter engine related, not package one. Do you know anything more ? do you know what you have to do to crash the app ? Because I am not able to replicate it, I only got crashlytics report.

The crash only happen on IOS 15.0 so i don't think its come from any packages i used. I upgrade my phone to IOS 15.0 but still can't reproduct the crash. But my crashlytics dashboard get more and more crash events by day

This crash still happen in flutter 2.5.1.
And now IOS 15.0 is publish, my app have 2k crash each day.
@darshankawar

It happens cause u call keyboard before app is showed on screen(by autofocus param or manual call with FocusNode). U can remove it on your start screen to prevent crashes, and there's no other way before flutter will be fixed.

Still crashing on IOS 15.0.1 and Flutter version 2.5.2.
The crash happen on splash scene.
My app have biometric login feature, so im thinking about the biometric popup apper before the splash scene end.

Did it fixed on flutter version 2.5.3?
I will confirm in next release

Did it fixed on flutter version 2.5.3? I will confirm in next release

crash again

https://github.com/flutter/engine/pull/29108 was rolled in with https://github.com/flutter/flutter/pull/92441 and is currently only available on the master channel.

@a313 Did it fix the issue? We have experienced a similar issue recently.

@a313 Did it fix the issue? We have experienced a similar issue recently.

I'm only use stable version so I can't confirm it's fix or not

flutter/engine#29108 was rolled in with #92441 and is currently only available on the master channel.

It's available in 2.8.0-3.1.pre.


Create Copy Model Version feature and tools

Features:

Copy model version from one tracking server (workspace) to another.
Copy the run too
Needs to work for both standard Databricks MLflow as well as new Unity Catalog model registry

Code:

Regular Python scripts
Equivalent Databricks notebooks

Done and added  Databricks notebook


Switch UI to bottom menu like Intercom has

This is a group of features that aim to turn the Receiver window into something much closer to the Intercom-style.

I'm not 100% sure how to attack this issue as far as what we want on the bottom, where the input field goes to send messages etc. The other P0's recommend completing this one first

I'm not 100% sure how to attack this issue as far as what we want on the bottom, where the input field goes to send messages etc. The other P0's recommend completing this one first

Yea..discussed this more recently. Requires a major UI/code overhaul, and a UI/UX person.
Other tickets will be first


Default font no longer selected on download page

Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
4.1.0
Expected behaviour:
The default font Roboto, Arial, Sans-Serif should be selected as default
Actual behaviour:
Font "Times New Roman", Times, Serif is selected
This is since commit https://github.com/DMPRoadmap/roadmap/commit/16c2f27492446faa3ab56725e23ed2be79f5527e.
That changed the name of one of the font faces, but forgot to change the name of the default font face too.
So now the default font never matches, and the system chooses the first font in the list, being "Times New Roman", Times, Serif
Steps to reproduce:

Go to the download tab of a plan
You will see "Times New Roman", Times, Serif in the "Font"

Hi @nicolasfranck,
Thank you for bringing this issue to our attention.
I have created a PR with a fix for this issue (https://github.com/DMPRoadmap/roadmap/pull/3339), and the PR is being reviewed.
Don


Slow load time

Sometime is can take upwards of 20 seconds for the drop down to appear after clicking it in Chrome. It works fine on Firefox.

That's due to the way the Chrome extension system works, hard to fix, the images are pretty small already. Sorry :pensive:

No worries, it's still the best way to add emoji from chrome. Thanks for the
reply.
Stay awesome
Yousuf
Sent using CloudMagic Email
[https://cloudmagic.com/k/d/mailapp?ct=pa&cv=8.0.55&pv=5.0.2&source=email_footer_2&ln=en] On Wed, Nov 11, 2015 at 2:52 am, Johann Hofmann <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
That's due to the way the Chrome extension system works, hard to fix, the images
are pretty small already. Sorry:pensive: [https://assets-cdn.github.com/images/icons/emoji/unicode/1f614.png]
—
Reply to this email directly or view it on GitHub
[https://github.com/johannhof/emoji-helper/issues/44#issuecomment-155578253] .[https://github.com/notifications/beacon/ADRzNXPfrRLP4SBNLZlMyILikyszu5mJks5pEl6ggaJpZM4FceT7.gif]

I noticed the same slow load time under Firefox (I currently use Firefox 46).
Emoji-helper is the slowest one to load, among the 10 addons that I have installed.
I would say it takes up to 5-7 seconds (after firefox is launched) for the icon to load on the firefox's toolbar. It's a bit surprising for a simple addon that only suggest emojis for copy-paste..