Pub/Sub retries with pod down

Ho i'm making some test with pub/sub Azure service bus with current settings:

Topic with maxDeliveryCount tò 10
Resiliciency in Dapr of 9 max retries every 60 sec

I've 2 pods, the consumer and dapr sidecar.
I've theese 2 scenarios:

all pod down: message remain Active in service bus and Will be redelivered when restart.
pod Dapr down: same of point 1
pod consumer down: here the problem...messages Will be acquired by the sidecar and Will then finish all delivery count and deadletter.

How can i prevent this? I should put infinite retries on Resiliciency so i Will be sure that message remain enqueued until consumer's restart?
Or Is there some configuration? Basically, of consumer Is down and sidecar up, i don't want that It retries deliver message because It Will finish all possible 10 delivery count.
Thanks to all Will contribuite this.
Bye

What you are looking for is the application health check feature: https://docs.dapr.io/operations/resiliency/health-checks/app-health/
When Dapr detects your app is unhealthy it will unsubscribe your app and the sidecar will not deadletter more events. When the app is healthy again it will resubscribe.

Hi thanks for suggestion.
I've tried to set that flag but apparently i don't find any changes in the behaviour...in the log of container i found this:
App health checks are a preview feature and require the AppHealthCheck feature flag to be enabled. See https://docs.dapr.io/operations/configuration/preview-features/ on how to enable preview features.
But i don't understand what it means. From documentation i undestand that is enough set the flag "-enable-app-health-check" (i'm using k8s)
Thanks for support.

@MatteoRigoni
you need to configure a few other properties to ensure the App Health Checks are working as desired, please see here :
https://docs.dapr.io/operations/resiliency/health-checks/app-health/#configuring-app-health-checks


Set MinGOP in bitmovin preset when GopMode is fixed

We've been investigating an issue where videos encoded by bitmovin and packaged by https://github.com/kaltura/nginx-vod-module as HLS+fmp4 have been freezing while playing back in Safari.
I believe the underlying problem may be keyframes in the source media being encoded in the destination media instead of the GOP size being fixed.
The larger question, though, is what is the intention of the GopMode preset option when it comes to the options bitmovin provides.

Two other things to look into when we are in fixed GOP mode:

Make sure we are forcing closed GOP openGop: false. I'm pretty sure this was part of the problem with the encode we saw a while back, but detecting open/closed GOP is a pain-in-the-butt.
look into minKeyframeInterval and maxKeyframeInterval. GOP and Keyframe interval are used so interchangeably that it would be good to get the bottom to what bitmovin's differentiation is. The most notable difference from an API perspective, is GOP takes frames, while keyframe interval takes seconds. How we conform the framerate the video and the GOP math we are doing may impact if we use GOP size or Keyframe Interval.


(PUP-5037) Fixed service puppetmaster status incorrectly returning "puppet dead but subsys locked" on RHEL and derivatives

Details here: https://tickets.puppetlabs.com/browse/PUP-5037

@haus this looks reasonable to me, but I don't have a ton of context here. Thoughts?

This looks reasonable to me, but the commit message is a little thin. @hamidnazari could you add a little bit from the bug to the commit message so that it is clear why this change is needed and what the issue is?

Back to you @haus.

@kylog this looks like a sane change to me.


TILA-895 | Use state enum in Reservation query

In ReservationType state had been defined as string type even though it is enum. This changes it to be enum instead of string.
In mutations though we are sticking with strings since there's a unsolved bug in gql+drf serializers with using enums and thus this adds some helping text for state field in mutations.
TILA-895

Looks good. rocket (EDIT: Well, other than the tests not passing laughing)

yep :sweat_smile:  I'll update snapshots =>


Build with Debug with /MDd flag

Look into the possibility of allowing building with debug for speed with the /MDd flag

seems to have issues with EnTT, static assertions failed for sizes when in debug with this flag

To do this i would. Disable optimizations. Then link with release libraries. That tends to work. I did that when working with LeviLama

EnTT is a header only library so i'm not sure if I can just build it to a library?

On my fork on the amethyst-api branch I have been able to get this to build with the Debug configuration, havent tested yet though. Still used the _ITERATOR_DEBUG_LEVEL but its in combination with Brady's advice of using MSVC_RUNTIME_LIBRARY on #35

Conditionally using MultiThreaded (/MT) in release mode and MultiThreadedDLL (/MD) in debug mode is probably the way to go for improved debug mode compiled times.
Using either version of the debug standard library shouldn’t be considered because of allocator mismatch.


Modal Blur Enable/Disable

Hi, someone can put a feature to enable/disable blur effect in antares-sql?
This is terrible for some old graphic cards like mine. When any confirmation boxes appears, the antares hangs the whole interface.
Thanks for help!

Hi @SmileYzn,
thanks for this report, I did not consider there could be problems with old hardware.
I like your idea and i think that usability comes first. I'll surely work on this option.

Thanks man for work!  In this amazing app.
Ps.
I think some CSS or javascript can detect if animations is enabled or disabled in system settings.
Like animate.css class, you can also adjust some effects in antares app to run according system options.
Here : https://web.dev/prefers-reduced-motion/
and
Here: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion


[AutoPR apimanagement/resource-manager] apim ciphers custom settings description

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6474

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5754


claws-mail: add the litehtml_viewer plugin

Motivation for this change
The Claws Mail fancy (webkit) plugin has been deprecated for security reasons, but there's a new litehtml-based HTML viewer plugin to take its place (as of Claws 3.17.4).  This PR adds support for that plugin.  All that's needed is the addition of the gumbo HTML parser (dependency of litehtml).  The Claws release tarball includes a copy of litehtml, for better or for worse; litehtml isn't in Nixpkgs yet but maybe we should package it ourselves and de-embed Claws's copy.
I've tested this out myself and it renders HTML emails fine for me.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)

The closure size for claws-mail goes from<PHONE_NUMBER> bytes to<PHONE_NUMBER> bytes (+1.21MiB).

[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Builds, loads and works for me. It doesn't render some things quite right, but that's an upstream issue.

Ping, it would be really great if this could get merged for 20.09 so that Claws could have an HTML renderer again, since the Webkit one was dropped.


⚠ ComboForum has degraded performance

In 002dc89, ComboForum (https://comboforum.com) experienced degraded performance:

HTTP code: 200
Response time: 4059 ms

Resolved: ComboForum performance has improved in 4f79c47.


Authorization: Update authorizer to expose reason why educator is authorized

Who is this PR for?
educators, students, families
What problem does this PR fix?
Educator's can't see right now who else has access to a student's record.  Making this visible could help educators and district project leads catch any mistakes in how they've set up roles and permissions.
What does this PR do?
This PR just refactors the Authorizer class to expose that internally; there's no product changes here yet.
Checklists
Which features or pages does this PR touch?

[x] Core

Does this PR use tests to help verify we can deploy these changes quickly and confidently?

[x] Included specs for changes

selfie


Update plotvuer with mobile fix for small widths

Description
Bug fix for plotvuer holding width of controls in mobile:
https://github.com/nih-sparc/sparc-app/pull/221

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Tested by using the mobile emulator in chrome.
View the heroku instance here
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

Thanks Jesse, it looks great on mobile.


chore(pipeline): change caching keys

Well it is not perfect but still it should reduce the build time around 8min.
Some bugs persist like the go test aren't cached properly

:tada: This PR is included in version 1.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use Chinese dataset to train expert lip-sync discriminator

I use Chinese data set to train expert lip-sync discriminator, and the train loss remains at 0.69. Do you have such a situation?How should this situation be resolved

did you filter your data?

您过滤了您的数据了吗？

What do we mean by filtering? So far I have processed the data to fps 25 audio with a sampling rate of 16khz

did you filter your data?

The current data is in Chinese, including 50 different people and 7700 videos;   The English data contains 40 people  and 5,500 videos.   Is it due to the small amount of data or other reasons.   Our data has not been processed by syncnet_python.   We found that the model syncnet_v2.  model is not available.   Can you  provide it?   That's the problem right now

did you filter your data?

The current data is in Chinese, including 50 different people and 7700 videos; The English data contains 40 people and 5,500 videos. Is it due to the small amount of data or other reasons. Our data has not been processed by syncnet_python. We found that the model syncnet_v2. model is not available. Can you provide it? That's the problem right now

syncnet_v2 模型是英文模型，中文不适用，你需要训练一个中文的

how's about your config? lr, bs?

how's about your config? lr, bs?

All Settings are set by default, such as lr=1e-3 when training expert lip-sync discriminator
hparams.txt

1e-3 is too large, you can choose 1e-4 or 1e-5

1e-3 is too large, you can choose 1e-4 or 1e-5
Okay, I'll try

1e-3 is too large, you can choose 1e-4 or 1e-5

Thank you very much for your advice. After the lr is adjusted to 1e-5, the loss begins to decrease. What is the appropriate learning rate for wav2lip training? 1e-4?

1e-4 is good

Thank you!

Hi @Amber-Believe.
May I ask what dataset are you using? Is it CMLR? LRS-1000? Or a private one?

Hi @Amber-Believe. May I ask what dataset are you using? Is it CMLR? LRS-1000? Or a private one?

BTW, is the eval loss below 0.3 after changing lr from 1e-3 to 1e-5? And is there anything else you have done to achieve that?

Hi @primepake
I was re-directed to this page from https://github.com/primepake/wav2lip_288x288/issues/97
But I still did not figure out my question.
The dataset I am using is LRS2. Because the official wav2lip algorithm use that for training. So I am assuming that should be filtered. And I also randomly checked some audios and videos of the dataset. The wav files are in 16khz sample rate and video files are in 25 fps.
And I would like to ask when do you think the syncnet training would be converged... Will it still be stuck on 0.69 for a long time? (110k steps for me currently..)
Look for your reply. Thanks.

again, how's about your lr? bs? num of gpus?

LR is 1e-4, and BS is 64, 1 RTX A6000 GPU.

@primepake Greetings!
I am trying to following the pipeline you proposed here
And may I ask how could you pre-process the video data? Are you using the preprocess code from the official wav2lip code?

did you filter your data?

The current data is in Chinese, including 50 different people and 7700 videos; The English data contains 40 people and 5,500 videos. Is it due to the small amount of data or other reasons. Our data has not been processed by syncnet_python. We found that the model syncnet_v2. model is not available. Can you provide it? That's the problem right now

how much is the average length per video of the videos of the datasets ?


Failing delete tests for Record Collection

Challenge Record Collection has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

// Setup
var collection = {
    "2548": {
      "album": "Slippery When Wet",
      "artist": "Bon Jovi",
      "tracks": [
        "Let It Rock",
        "You Give Love a Bad Name"
      ]
    },
    "2468": {
      "album": "1999",
      "artist": "Prince",
      "tracks": [
        "1999",
        "Little Red Corvette"
      ]
    },
    "1245": {
      "artist": "Robert Palmer",
      "tracks": [ ]
    },
    "5439": {
      "album": "ABBA Gold"
    }
};
// Keep a copy of the collection for tests
var collectionCopy = JSON.parse(JSON.stringify(collection));

// Only change code below this line
function updateRecords(id, prop, value) {
  var newCollection = JSON.parse(JSON.stringify(collection));

  if(prop !== 'tracks' && value !== '') {
    newCollection[id][prop] = value;
  }

  if(prop === 'tracks' && newCollection[id].hasOwnProperty(prop) === false) {
    newCollection[id][prop] = [];
    newCollection[id][prop].push(value);
  }

  if (prop === 'tracks' && value !== '') {
    newCollection[id][prop].push(value);
  }

  if(value === '') {

    console.log(1, id, prop, value);
    delete newCollection[id][prop];
    console.log(newCollection)
  }

  return newCollection;
}

// Alter values below to test your code
updateRecords(2548, "tracks", "");

So I am wondering why I am still failing the test to delete the records after seeing the property gone when I console.log the output. I have provided a screen shot to show this.
I have logged to the console the id, prop and value then I have logged the updated object which show the prop deleted from the object. Leaving me quite confused.
Fyi, all other test pass.

Did a few tests and reset, realized that you are creating a newCollection object.  Although technically correct, the reason its failing is because we are doing direct tests on the collection object; we should be returning the existing altered collection and not a copy (though we may want to explicitly say this in the instructions)


Board Review: Management Plane Namespace Review Resource Management - HybridConnectivity

Thank you for submitting this review request. Thorough review of your management library namespaces ensures that your library names are consistent with the guidelines and the consumers of your management library have a consistently good experience when using Azure.
To ensure consistency, all language library names will generally be reviewed together.
Before submitting, ensure you adjust the title of the issue appropriately.
Note that the required material must be included before a meeting can be scheduled.
Contacts and Timeline

Responsible service team: Arc Connectivity Team
Main contacts: safeerm, prdhodda, apmehrotra
Expected code complete date: Already complete and GA'ed
Expected release date: Already released

About the Service (required)

Link to documentation introducing/describing the service: https://tinyurl.com/phuscxb4
Link to the service REST APIs Specs: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/hybridconnectivity/resource-manager/Microsoft.HybridConnectivity
Link to GitHub issue for previous review sessions, if applicable:  N/A

Namespace Proposals (required per language)
In the examples below please replace every occurrence of [ResourceProviderName] with your the service resource provider name. Be sure to keep the casing shown with [ResourceProviderName] when replacing it with the service resource provider name.

.NET: Azure.ResourceManager.HybridConnectivity
Java: azure-resourcemanager-hybridconnectivity (com.azure.resourcemanager.hybridconnectivity)
Go/Golang: sdk/resourcemanager/hybridconnectivity/armhybridconnectivity
JavaScript: @azure/arm-hybridconnectivity
Python: azure-mgmt-hybridconnectivity

Thank you!

Fixed casing in proposed .NET namespace.
Starting phase 1 of the review.

LGTM

Starting phase 2 of the review process. The Azure SDK Architect team will have 1 week to review the proposed namespaces and will make any comments or objections. If there are no objections or all objections are resolved by the end of the week, the namespaces will be considered approved.

Hi @ronniegeraghty
Thanks for proactively updating this Issue.
Since the entire week for phase 2 review is done, could you confirm if the namespaces are marked as approved?

Hi @ronniegeraghty
Thanks for proactively updating this Issue. Since the entire week for phase 2 review is done, could you confirm if the namespaces are marked as approved?

Hi @apmehrotra,
Our Architects still have until the end of business today to make any objections. If there are no objections today, the names will be approved, and I will add another comment to the issue stating so.

The 1 week is up and there have been no objections. Please consider the namespaces in the description of this issue approved.


add VaultStateChangeEvent

Simplified version of https://github.com/PaperMC/Paper/discussions/11679. May extend this API further in the future but it is already good enough for use-case described in the discussion thread.
I don't know if I put the implementation in the right place because currently - I'm afraid - the event is also called when Vault.State is changed via API and doing so inside the event can create an indefinite loop if handled incorrectly. I'm not sure what should I do about this.

Is there a reason behind not creating a PR at Paper?

@Onako2: Is there a reason behind not creating a PR at Paper?

Linked discussion have not received any feedback ever since it's creation and because Paper is generally bigger, I think this PR might have taken much longer than I'd like to. I agree however that more people could benefit from it but I'm currently unable to implement full suggestion. When I'm a bit more familiar with how patches and such work, I might PR the full version to the Paper instead (assuming nobody else is going to do so). Just wanted to start with Purpur, as it seems smaller and more open for small changes like this one.


Issues with server side files

I'm currently using Bourbon, Neat and Bitters, compiled in one styles.scss file. Everything works great when the base file type is HTML (such as index.html). However, when I change the file type to .php or .asp, I get Invalid Syntax errors. Particularly !global and #{} instances.
I've commented out the lines spit back in the syntax errors in the mean time, but I'm wondering if it doesn't effect the integrity of the rest of the code. Bitters still works although I've had to supplement with long-hand rules, but I've got direction-context reversal in Neat (RTL) despite everything being set LTR.
Not sure where I can address this issue...

@silverdragon686 Can you provide more details on your development environment? How are you compiling your Sass?

Right now I've installed the gems in Ruby, but I'm swapping between Scout and Koala to compile. I'm running Win7 OS.

What versions of Bourbon, Bitters and Neat are you using?
It’s very hard for us to debug GUI applications that are used for compiling Sass, especially when two are being used. It’s likely an issue with that, since no other bugs similar to yours have been reported when using standard compilation methods. Have you reported this to either Koala or Scout?
It appears that Scout app hasn’t seen active development since 2012.

Sass 3.4.12
Bourbon 4.2.1
Neat 1.7.2
Bitters 1.0.0
My primary is Koala, but I'm not a fan of their error notifications. Hence why I also use Scout, since I can see exactly where the errors are occurring and what's causing them.
I just find it strange that an .html file will have 0 errors, but as soon as I "save as" that file as .php or .asp file types, I suddenly get a whole slew of errors. NOTHING is changed in the code - not the HTML/CSS/SASS/Javascript and the file paths are all the same. I don't see how two separate compilers, even if one is outdated, would make a difference.
Are there examples of people developing with .php or .asp file types without such errors?

Why are you swapping HTML-based files for ASP or PHP?
If the errors happen when you’re doing that swapping with no change to your Sass, then this sounds like an issue with your development environment and not Bourbon. We do have people using Bourbon within PHP environments, for example this WordPress theme, but most of them are using things like Grunt to compile.
I would file a bug with Koala and/or Scout to see if they can help.


Guide on Restorable Apps

Signed-off-by: Mike Sul<EMAIL_ADDRESS>

Docs for 17b736185047736abf75f65d8e79c6ada0aa79d7 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1222/docs/artifacts/html/index.html

@doanac We enable restorable apps by default, so I updated the doc accordingly https://github.com/foundriesio/lmp-device-register/pull/30.

Docs for 80c3ce2b36fd27feef395199b580bf329146008b are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1228/docs/artifacts/html/index.html

Docs for e50edd5ae027c988056f38948b5daeac385b8cc5 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1229/docs/artifacts/html/index.html

@doanac I think this doc update becomes relevant once we merge https://git.foundries.io/development/cloudplatforms/infrastructure/repoz/-/merge_requests/49?

I think this looks fine. However, this is pretty technical - I think it belongs under the LmP section of the reference manual rather than the user guide.
Maybe @kprosise  or @munoz0raul have an opinion.

I think it belongs under the LmP section of the reference manual rather than the user guide.

Maybe as sub-section of the reference-manual::docker::compose-apps section https://ci.foundries.io/projects/fio-docs/builds/1229/docs/artifacts/html/reference-manual/docker/compose-apps.html#?

Maybe as sub-section of the reference-manual::docker::compose-apps section https://ci.foundries.io/projects/fio-docs/builds/1229/docs/artifacts/html/reference-manual/docker/compose-apps.html#?

I think it deserves to be its own page.

My opinion is that this would fit much better under the reference manual. The user guide is instructional and can be seen as a sort of "tutorial+" section (and always has a "In this section..." line somewhere near the beginning), while the reference manual is more informational.
Also, I would like to suggest a couple changes.

Reword the first line to avoid ambiguity.  Either:

"From a user perspective, Restorable Apps are Compose Apps, ..."
"Restorable Apps are Compose Apps, from a user perspective there are..."

"Primarily, Restorable Apps are employed to" should have a colon at the end before the enumerated list.

2. "Primarily, Restorable Apps are employed to" should have a colon at the end before the enumerated list.

done.

Reword the first line to avoid ambiguity.  Either:

I changed the introduction, no "user perspective" in it any more. Please, review the new version.

Docs for f01de5e16d26d13e3f8f067485ae6212bb112e85 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1234/docs/artifacts/html/index.html

Docs for 262089885a12914a9e4ea3490a09f62a92dc3dde are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1236/docs/artifacts/html/index.html

LGTM

Docs for 558dd161ebf11af016fbc4fb9c3326bd61f973c6 are browesable at: https://ci.foundries.io/projects/fio-docs/builds/1243/docs/artifacts/html/index.html


Allow filter elasticsearch request for security reasons

Added 3 configuration values:
  "elasticsearch":
    "useRequestFilter": false,
    "overwriteRequestSourceParams": false,
    "requestParamsBlacklist": [],
  }
}

useRequestFilter is responsible for enabling/disabling ES request filtering
overwriteRequestSourceParams decide if you want to overwrite or merge values
requestParamsBlacklist allow you to filter out selected attributes

@gibkigonzo is that ok now?

Awesome :) Thank you


For a child being restored, use short address in SrcMatchEntry

This commit changes the MleRouter::RestoreChildren() so that
mAddSrcMatchEntryShort is set to true for a child being restored.
This ensures that during child recovery, the radio correctly sets
the "frame pending" in the acks to data poll from the child.

Codecov Report

Merging #1381 into master will decrease coverage by -1.03%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1381      +/-   ##
==========================================
- Coverage   70.01%   68.99%   -1.03%
==========================================
  Files         171      171
  Lines       26052    26898     +846
  Branches     3301     3385      +84
==========================================
+ Hits        18240    18557     +317
- Misses       6442     6933     +491
- Partials     1370     1408      +38

Impacted Files
Coverage Δ

src/core/thread/mle_router.cpp
79.6% <ø> (-0.05%)
:x:

src/core/thread/key_manager.hpp
80% <ø> (-20%)
:x:

src/core/coap/coap_client.cpp
50.29% <ø> (-18.9%)
:x:

src/core/coap/coap_client.hpp
57.89% <ø> (-15.79%)
:x:

src/core/openthread.cpp
36.96% <ø> (-8.17%)
:x:

src/core/thread/mle.cpp
80.45% <ø> (-0.51%)
:x:

src/core/mac/mac.cpp
79.81% <ø> (-0.16%)
:x:

src/core/thread/mesh_forwarder.cpp
80.79% <ø> (+0.11%)
:white_check_mark:

src/core/thread/network_data_leader_ftd.cpp
68.47% <ø> (+0.23%)
:white_check_mark:

third_party/mbedtls/repo/library/ctr_drbg.c
72.79% <ø> (+0.73%)
:white_check_mark:

... and 1 more

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 5604ea9...0859f9b. Read the comment docs.


Linking TCA breaks on-device Xcode Previews

Describe the bug
Adding TCA as a dependency prevents on-device Xcode Previews from launching.
To Reproduce
This reproduces on the provided examples (I tried it on TicTacToe), but for a simple repro:

Create a new SwiftUI project
Observe that on-device Xcode Previews [kinda] work
Add TCA as a dependency
Observe that trying to start an on-device Xcode Preview fails with the following error:

    SchemeBuildError: Failed to build the scheme "test-tca"

    linker command failed with exit code 1 (use -v to see invocation)

    Link /Users/lenny/Library/Developer/Xcode/DerivedData/test-tca-guucwvzxaqerknctxnxofuhkuzfc/Build/Intermediates.noindex/Previews/test-tca/Products/Debug-iphoneos/PackageFrameworks/ComposableArchitectureTestSupport.framework/ComposableArchitectureTestSupport:
    ld: warning: Could not find or use auto-linked library 'XCTestSwiftSupport'
    ld: warning: Could not find or use auto-linked framework 'XCTest'
    Undefined symbols for architecture arm64:
      "__swift_FORCE_LOAD_$_XCTestSwiftSupport", referenced from:
          __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_ComposableArchitectureTestSupport in ComposableArchitectureTestSupport.o
      "XCTest.XCTFail(_: Swift.String, file: Swift.StaticString, line: Swift.UInt) -> ()", referenced from:
          (extension in ComposableArchitectureTestSupport):ComposableArchitectureTestSupport.TestStore< where B: Swift.Equatable>.assert(_: ComposableArchitectureTestSupport.TestStore<A, B, C, D, E>.Step..., file: Swift.StaticString, line: Swift.UInt) -> () in ComposableArchitectureTestSupport.o
    ld: symbol(s) not found for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Note that this happens even if the ComposableArchitectureTestSupport is not added to any target.
Expected behavior
Xcode Previews continues to work as expected.
Screenshots
N/A
Environment

Xcode 11.4.1
Swift 5.2.2
OS (if applicable): 13.4.1

Additional context
I'm no expert on how the Xcode build system works, but I didn't see anything obviously wrong in the build config at first glance; I'm not sure how or why it's trying to link ComposableArchitectureTestSupport. I then assumed this was a bug with the Xcode build system, but after trying it on another repository with a test support target (https://github.com/spotify/Mobius.swift) it seems like they don't have the same issue, so maybe there's something deeper going on.

(I should add that I tried the traditional ⇧⌘K/DerivedData incantations, but no luck)

@LK Thanks for the report!
I think this might have to do with the fact that we've explicitly marked the products as .dynamic (it's the only thing I see that differs from the Mobius package):
https://github.com/pointfreeco/swift-composable-architecture/blob/13ad378da204bd4ec96eed5ac1832ac67048f6b3/Package.swift#L16
I'm unable to verify, though, because for whatever reason I can't get any preview working on my device 😅
Removing .dynamic might fix things, though. The error message I get on master with .dynamic is same as the one you're seeing with ComposableArchitectureTestSupport, while the error message I get after removing .dynamic is identical to the error I get on a fresh project with zero dependencies (and makes no mention of ComposableArchitectureTestSupport).
Can you try the following to see if you can verify?

Clone swift-composable-architecture
Open ComposableArchitecture.xcworkspace
Update its Package.swift to remove type: .dynamic from both ComposableArchitecture and ComposableArchitectureTestSupport
Update the SwiftUICaseStudies project's build phases by removing and re-adding ComposableArchitecture (otherwise it'll be pointing to the "old" package) and add a development team to its signing capabilities
Build to device and see if you can get previews to work

Good catch @stephencelis, that did fix on-device Previews in the SwiftUICaseStudies project. However this breaks any project that's split up into multiple frameworks:
Swift package product 'ComposableArchitecture' is linked as a static library by 'AppCore' and 2 other targets. This will result in duplication of library code.

Yep 😔 This is why we made that configuration in the first place, hoping to get around SPM quirks.
A related issue is happening in this PR: https://github.com/pointfreeco/swift-composable-architecture/pull/52
The short of it is that it's not really safe to define a target like ComposableArchitectureTestSupport that depends on a target like ComposableArchitecture from the same package. Apple knows about this issue, but the only current SPM workaround that we can depend on will require us to move ComposableArchitectureTestSupport to its own package/repo, making the user experience of adopting the library slightly more annoying. Hopefully Apple can come up with a solution to this soon! (Next month? 🤞)
In the meantime, Brandon and I will chat next steps in how we wanna address this.

@LK We think we have a fix! Can you try things out on this branch? https://github.com/pointfreeco/swift-composable-architecture/pull/71

@stephencelis SwiftUICaseStudies works now. Trying to run the TicTacToe app on device crashes on launch with this error:
dyld: Library not loaded: @rpath/AppCore.framework/AppCore
  Referenced from: /private/var/containers/Bundle/Application/59760678-5C85-4F63-8ABE-F14701F34A6C/TicTacToe.app/TicTacToe
  Reason: image not found

Trying to start an on-device Xcode Preview from the TicTacToe project fails with the following error:
GenericHumanReadableError: unexpected error occurred

frameworkModeUnsupported

(Regular Xcode Previews in the sidebar still work, though.)
Not sure if related but I also get a slew of these warnings:

Trying to run the TicTacToe app on device crashes on launch with this error (yet it works fine in the simulator):
dyld: Library not loaded: @rpath/AppCore.framework/AppCore
  Referenced from: /private/var/containers/Bundle/Application/59760678-5C85-4F63-8ABE-F14701F34A6C/TicTacToe.app/TicTacToe
  Reason: image not found

Trying to start an on-device Xcode Preview from the TicTacToe project fails with the following error:
GenericHumanReadableError: unexpected error occurred

frameworkModeUnsupported

(Regular Xcode Previews in the sidebar still work, though.)

Good catch! I'll play around with it but this may just be another Xcode previews bug around modularized apps. If we can't fix we'll file a feedback.

Not sure if related but I also get a slew of these warnings:

Those warnings are unrelated. We should probably clean them up, though.

Sounds good! To clarify, the first error comes from trying to run the entire app like normal; the second error is specific to Xcode Previews.

@LK You're right. TicTacToe wasn't in building order for device anyhow. We've pushed a fix for that but the frameworkModeUnsupported points to a current limitation in Xcode previews and frameworks in general. If you pull the latest master you might be able to build the RootView...


Miscellaneous fixes and cleanup

remove old inference code
update lookup_alias to handle type params correctly
apply substitutions to ctx.values before returning result in infer()
fix error message for when there's not enough elements to unpack

TODO:

[ ] handle object patterns with optional properties, e.g. let p: {x?: number, y: number} = {y: 10}
[ ] update definition of != and == to be <A>(A, A) => boolean

Codecov Report

Merging #164 (528b7c6) into main (e1cf930) will decrease coverage by 0.39%.
The diff coverage is 95.55%.

@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
- Coverage   92.21%   91.82%   -0.40%
==========================================
  Files          35       29       -6
  Lines        4061     3402     -659
==========================================
- Hits         3745     3124     -621
+ Misses        316      278      -38

Impacted Files
Coverage Δ

crates/crochet_infer/src/substitutable.rs
90.00% <ø> (-0.70%)
:arrow_down:

crates/crochet_infer/src/util.rs
97.40% <ø> (+0.85%)
:arrow_up:

crates/crochet_infer/src/infer.rs
94.83% <94.44%> (+0.82%)
:arrow_up:

crates/crochet/tests/integration_test.rs
98.21% <100.00%> (-0.14%)
:arrow_down:

crates/crochet_infer/src/lib.rs
98.90% <100.00%> (-0.22%)
:arrow_down:

crates/crochet_infer/src/types/type.rs
53.27% <0.00%> (-18.70%)
:arrow_down:

crates/crochet_infer/src/context.rs
66.66% <0.00%> (-6.67%)
:arrow_down:

... and 1 more

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 e1cf930...528b7c6. Read the comment docs.


Update weaver-test-extra to 0.5.5

Updates io.github.dimitarg:weaver-test-extra from 0.3.9 to 0.5.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.dimitarg", artifactId = "weaver-test-extra" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.github.dimitarg", artifactId = "weaver-test-extra" }
}]

labels: test-library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #81.


Error after upgrade from 0.12 to 1.0.0-rc5

Steps to Reproduce
Just upgrade from 0.12 to 1.0.0-rc5.
Actual Behavior (This error)
RNGoogleSignin.configure was called with 1 arguments but expects 4 arguments. If you haven't changed this method yourself, this usually means that your versions of the native code and JavaScript code are out of sync. Updating both should make this error go away.
My code:
GoogleSignin.configure({
      iosClientId: GOOGLE_IOS_CLIENT_ID,
      offlineAccess: true,
      webClientId: GOOGLE_WEB_CLIENT_ID,
      scopes: [
        'https://www.googleapis.com/auth/plus.me',
        'https://www.googleapis.com/auth/gmail.readonly',
        'https://www.googleapis.com/auth/userinfo.email',
        'https://www.googleapis.com/auth/userinfo.profile'
      ]
    });

Environment

react-native: 0.51.0
react-native-google-signin: 1.0.0-rc5
react: 16.0.0
cocoapods->GoogleSignIn: pod 'GoogleSignIn'

- GoogleSignIn (4.1.2):
    - GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)
    - GoogleToolboxForMac/NSString+URLArguments (~> 2.1)
    - GTMOAuth2 (~> 1.0)
    - GTMSessionFetcher/Core (~> 1.1)

I can fix it. Uninstalling the app and installing again.
It's strange, I've never had to do this with any other module.

@jeffmon
be sure to remove the package-lock.json. And for my case i run this:
rm -rf node_modules && rm -rf ~/.rncache && yarn cache clean && yarn install


Taskbar / Start Menu unresponsive in some areas

Describe the bug
Start Menu unresponsive specifically for right clicking apps, clicking the Start Menu and Search function
This is happening on a MicroWin installation of Windows 11 Pro.
Tried these troubleshooting options but none worked, haven't tried to reset PC yet (don't want to):
https://www.thewindowsclub.com/right-click-not-working-on-start-menu-or-taskbar
To Reproduce
Unknown, started happening from nowhere.
However, I do use an app that modifies the shell extension called "FileMenu Tools" but I am unsure how that would affect it.
Expected behavior
Right-clicking apps and clicking the Start Menu should work properly
Screenshots
https://youtu.be/-vJqsjhDln8
Additional context
Right-clicking in the taskbar works, but clicking on the Start Menu, Search or Calendar does not work.

Does this still affect when turning off the auto hide?

I suggesting trying it out without this shell extension. the Shell includes many things so that may very well be the reason.


Peaklets too long

In about 1% of all peaks, peaks are longer than allowed by the max duration of merged_s2s. The reason is that already the respective peaklets are longer. These peaklets can span up to milliseconds. The reason is the ridiculously long max peaklet duration of 10 ms here: https://github.com/XENONnT/straxen/blob/34e12b603ea571f43f238bf069a6ab01f573e052/straxen/plugins/peaklets/peaklets.py#L130.
The down sampling of these peaklets will prevent the peak splitting algorithm to find suitable split points in data.
We might want to reduce this setting in the future. However, a new threshold needs a in depth testing.

Below are some example waveforms of these peaks:

In this context I also found another but. If I change the setting e.g.:
st.set_config({'peaklet_max_duration': 0.5*10**6})
peaks_updated = st.get_array('025423', 'peaklets')

I run into an error:
File ~/mymodules/straxen/straxen/plugins/peaklets/peaklets.py:240, in Peaklets.compute(self, records, start, end)
    238 # If sum_waveform_top_array is false, don't digitize the top array
    239 n_top_pmts_if_digitize_top = self.n_top_pmts if self.sum_waveform_top_array else -1
--> 240 strax.sum_waveform(peaklets, hitlets, r, rlinks, self.to_pe, n_top_channels=n_top_pmts_if_digitize_top)
    242 strax.compute_widths(peaklets)
    244 # Split peaks using low-split natural breaks;
    245 # see https://github.com/XENONnT/straxen/pull/45
    246 # and https://github.com/AxFoundation/strax/pull/225

File /opt/XENONnT/anaconda/envs/XENONnT_development/lib/python3.9/site-packages/numba/np/arraymath.py:624, in array_max_impl()
    622 def array_max_impl(arry):
    623     if arry.size == 0:
--> 624         raise ValueError(MSG)
    626     it = np.nditer(arry)
    627     max_value = next(it).take(0)

ValueError: zero-size array to reduction operation maximum which has no identity

I did some deeper investigation. The bug seems to be related between the downsampling of peaks, and the start and end of two successive hits. Somehow peaks get assigned a zero length in some cases, but I do not understand the full process yet.


Fix console error of route.to.id

Fixes the error message for The navigation shape changed - from.routeId should now be from.route.id

Noting that this was due to a breaking SvelteKit version update.


Handle regex search flag in tagfunc

When using :tag /regex this looks to tagfunc like the same as :tag regex with a literal string, so a plugin can't react to this differently.  So, we should pass 'r' flag when regex is active.

Please also update the help at tag tag-function

Thanks!  Updated the doc.


remove incomplete partial pipeline data from session

When for example email address is submitted and a validation mail is sent, if the user decides to login with another email address, the session data is not updated thus still the first email address is taken into account.
I think when a partial pipeline is started, existing one should be checked and removed from the session.
Thanks for the efforts...

The values are needed in the session to continue any type of partial pipeline, sending a mail validation is a partial pipeline too.

Sure, but for example when a new email validation is started, any existing partial pipeline session data should be invalidated and the newly started pipeline data should be used. In the current situation, the old one persists, never letting a new validation to be started. Thus, if you enter a wrong email address, there is no way you can correct it, without cleaning the session data explicitly.

I've added code to invalidate the pipeline when a new login/signup process is started, I can't do any cleanup on a pipeline, because at the time it's called data was already loaded and the whole process might be wrong.


Password stored in plain text in error log on System.Web.HttpRequestValidationException when logging in

Upon changing my Windows password, Bonobo would return a 500 error whenever I would try to log in. I checked the error log and found it was throwing a System.Web.HttpRequestValidationException. Apparently because my new Windows password had an angle bracket in it, Bonobo was crashing when I entered this character. Of more concern then the vague 500 error though, was the fact that my password was stored in plaintext in the error log as part of the stack trace obviously manually redacted from the attached stack trace. The start of the stack trace looks like this, I've replaced my password with x's:
w3wp.exe Error: 0 : Server Error occured and caught in Global.asax - System.Web.HttpRequestValidationException (0x80004005): A potentially dangerous Request.Form value was detected from the client (Password="xxxxxxx").

@JeffreyHartman Thanks for this.  We can sort out why this field can't cope with an angle bracket, but I don't think there's much we can do about ASP.NET's exception messages.
Passwords appearing inadvertently in logs is unfortunately a perennial problem - it's a well-known hazard of login username's on Unix-type login screens - you always get a small proportion where people have typed their password into the username field, which then gets logged.
We'll fix the underlying bug, anyway


Exception when reading an encrypted zip file containing a folder: "Stored, but compressed != uncompressed"

Describe the bug
When I use a ZipInputStream to read a zip file that is encrypted and contains folder entries, the following exception occurs:
ICSharpCode.SharpZipLib.Zip.ZipException: 'Stored, but compressed != uncompressed'

Here is the zip file that is causing the exception. It was created using SharpZipLib and can be opened fine using other zip applications or libraries:
archive.zip
In the code below, it fails when calling GetNextEntry():
using var archive = new ZipInputStream(File.OpenRead(archiveFilePath))
{
    Password = "123456"
};
ZipEntry entry;
while ((entry = archive.GetNextEntry()) != null)
{
    Console.WriteLine(entry.Name);
}

Reproduction Code
https://dotnetfiddle.net/IDUcxf#
Steps to reproduce

Download the attached zip file and edit the provided code to point to that file.
Run the code.

Expected behavior
The program must list the entries in the zip file without throwing an exception.
Operating System
Windows
Framework Version
.NET 7
Tags
ZIP
Additional context
No response

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。


host_vars file with uppercase chars

In the hosts (ini) file, I have some hosts using uppercase naming and in the host_vars folder the filename are also uppercase
With Nornir, all hosts are lowercase (I think by design)
Unfortunately it does not work with the way the inventory plugin parses Ansible inventory and host_vars (#3)
I haven't found where the host name goes lowercase (ConfigParser maybe ?)
https://github.com/carlmontanari/nornir_ansible/blob/03f7f64e2c47398dc425a2e9433d2eca120ff79c/nornir_ansible/plugins/inventory/ansible.py#L129
I'll do some tests and maybe write a PR when I got time

sweet, thanks! will follow up in the pr!


Dependencies: Check and update

Not all dependencies are up to date. This needs to be checked and updated.

The problem with updating the dependencies is that we then need to upgrade a whole lot of stuff at once, including a major upgrade to dash. This, mainly due to the fact that the new dash version doesn't work nicely when the same output is targeted by different callbacks, leads to the GUI then failing to render. So this most likely will be a bit tricky to fix.

This also relates to the security issues found by dependabot (should probably not be critical in and of itself since the deepcave server always only runs locally), which cannot be addressed without also increasing e.g. dash version.


Parse string literal to Vec

Why string literal parsed to -> (^)? It makes no sense. If I want use string literal I need to look ahead with &"literal" and after get tuple of chars with same length and write a function to convert tuple of chars to vec or string or whatever. But if string literal return a value it can be easy dropped with -> (^) or maybe add new operator which can look ahead and consume value.
I tried realise it, but I don't really understand how oak works.
Sorry for my bad english.

Usually you do not want to retrieve the value of a string literal because they are purely syntactic entities.
For example:
loop_stmt = "while" bool_expr "{" body "}"

You are only interested by the boolean condition of the while statement and its body. You don't care about the keyword "while" or the braces "{" and "}" because they are just there for the programmer.
If you really want to recover the value of a string literal, then you can just add it into you action rule:
kw_while = "while" > make_while

fn make_while() -> String {
  String::new("while");
}

But this is clearly weird if you are designing a parser for a programming language. Could you provide an example where this is useful?

I design parser for flatbuffers grammar and my original intent was just copy to oak type = bool | byte | ubyte | short | ushort | int | uint | float | long | ulong | double | int8 | uint8 | int16 | uint16 | int32 | uint32| int64 | uint64 | float32 | float64 | string | [ type ] | ident, but now I think about it and it really weird. I can omit all the types, just parse it like a ident and check types later. And in another examples I don't need string in the first place. Thank you :)

Glad you could figure it out! Best luck for your project!


remove role from whitelist

the permission only checks the user ID, and not the role ID, so removed confusing prompts

see #7


select after modifying the point list from outside the lib

Hi, I'm having trouble selecting a polygon a second time. I have the problem because I am using redux-undo, so when I try to select the polygon after modifying the list of points from outside (without executing updatePosition of the element), when I select the element again, the points are what I had before. Is there a way to reset the list of points, or force new SelectHandler?
Thank you very much!

I realized if i execute clear method when i unselect the polygon it works fine! Please, sorry for opening this issue and thank you very much for the great work you have done with this library


Make topics that have qos incompatibilities red in the graph

Depends on https://github.com/ros2/rclpy/pull/708.
Slightly related to https://github.com/ros-visualization/rqt_graph/issues/59.
This automatically detects qos incompatibilities and shows them in the graph by coloring the topic node red.

More information could be provided to the user, but I'm not sure how to make it look nice: not sure if node tooltips will be reliable, adding more text to the node label might not look nice, ...
@jacobperron ideas?

I think highlighting the topic makes sense, which indicates one or more pub/sub pairs is not compatible.
Maybe also adding incompatible info to the topic tooltip would be good.
Instead of writing more text to the topic node, maybe we could create a new graph node with the error message and draw a dotted/dashed line to the afflicted topic node.
Another thing we could do is print an error to the terminal too.

Maybe also adding incompatible info to the topic tooltip would be good.

I will try that, I hope tooltips on nodes are more reliable that tooltips on edges.

Instead of writing more text to the topic node, maybe we could create a new graph node with the error message and draw a dotted/dashed line to the afflicted topic node.

Sounds a bit confusing, but I will give it a try ...

Another thing we could do is print an error to the terminal too.

I prefer not printing anything to the terminal in apps with a GUI, most people won't pay attention.

I will try that, I hope tooltips on nodes are more reliable that tooltips on edges.

Tooltips on nodes actually seem to work pretty well.
I'm not sure what's the problem with edge tooltips.
See https://github.com/ros-visualization/rqt_graph/pull/61/commits/274de3e0279a0c1db0aad96a28b6050a413efdfe.

I've created a new galactic-devel branch since the new qos_check_compatible API is not available in Foxy.


Document new command: SHOW SHARD GROUPS

Originally: https://github.com/influxdb/influxdb.com/issues/485
https://github.com/influxdb/influxdb/pull/4792
Thanks.

Closed in favor of https://github.com/influxdata/docs.influxdata.com/issues/35


webpack dev server failure

Hi,
I'm seeing the following issue when I try to use this plugin:

Any suggestions?

I had a lingering webpack.config.ts. Removing it appears to have given me a whole new set of issues, so I'll call this resolved for now!


OS neutral method for converting rfc3339 timestamps

@toniblyx I am not a python guy but I read a couple dozen stack overflow articles and came up with this for an OS neutral method of converting the rfc3339 timestamp that aws sts assume-role returns to an epoch format. I'm not sure if this is robust enough for inclusion - what do you think?
#!/usr/bin/env python3

import sys
import time
from calendar import timegm

if len(sys.argv)>1:
  try:
    timedate = time.strptime(sys.argv[1], "%Y-%m-%dT%H:%M:%SZ")

    print (timegm(timedate))
  except ValueError:
    print ("Could not parse timestamp")
else:
  print ("Usage: epoch.py <YYYY-MM-DDTHH:MM:SSZ>")

P.S. I did try to reach out to your e-mail, didn't get a bounce but I might not have de-obfuscated it correctly.

@toniblyx Turns out python isn't needed - check out this solution https://github.com/toniblyx/prowler/pull/736

@toniblyx Turns out python isn't needed - check out this solution https://github.com/toniblyx/prowler/pull/736


The Todo List Features

[x] Your ‘todos’ are going to be object that you’ll want to dynamically create, which means either using factories or constructors/classes to generate them.
[x] Todo should have a title, description, due date, and priority.
[x] Your todo list should have projects or separate lists of todos.
[x] When a user first opens the app, there should be some sort of ‘default’ project to which all of their todos are put.
[x] Users should be able to create new projects and choose which project their todos go into.
[x] You should separate your application logic
[x] The look of the User Interface is up to you
[x] the app should be able to do the following: view all projects, view all todos in each project, expand a single todo to see/edit its details , delete a todo
[x] Use localStorage to save user’s projects
[x] Use session storage to save todo

Changes required 🔴
Hello,
Well done job so far. However, there are some changes that you have to do

As indicated here, you have to use localStorage NOT sessionStorage.
Deleting a TODO, delete them all because the sessionStorage's todo field is empty.

Kindly make the changes and submit a new code review request
Thanks
Mael FOSSO

Hi, thanks for reviewing our project, as saw in section 7.  I don't know if I misunderstand it but it seems like they said to store the project in localStorage and store todos between sessionStorage.  And yes this is what we do. but if it's not the case, Can you please tell us if to store everything to local storage?  I'm a little bit confused there. Waiting for your reply to make the changes. thank you


zoom-us: 2.6.149990.1216 -> 2.7.162522.0121

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

bisected down to https://github.com/nixos/nixpkgs/commit/776c96272c5e812324f9d370276eac1b8c47441f

Using strace (strace ./result/bin/zoom-us 2>&1 | grep open | grep -v /nix/store | grep -v ENOENT), found that it makes access to
openat(AT_FDCWD, "/home/danbst/.nix-profile/lib/qt-5.9/plugins/platforms", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
openat(AT_FDCWD, "/run/current-system/sw/lib/qt-5.9/plugins/platforms", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3

which itself is linked from /nix/store/9ffpk26yaaxjj9n9717ncsrb2vyppycm-zoom-us-qt-5.9.3/lib/qt-5.9/plugins/platforms.
So, it is indeed trying to use incompatible versions of Qt, left from already installed Zoom.

Runs fine in nix-shell --pure with XDG_RUNTIME_DIR=/run/user/1000 LD_LIBRARY_PATH=/run/opengl-driver/lib


Consider using codegen instead of generics

Description
Consider using codegen instead of generics for openapi-fetch. Generics seem to come with a host of problems and limitations, including:

Can't examine data structures in IDEs

For example in latest VSCode I can't easily examine the shape of POST bodies with F12 because of generics

Can't forward doc strings in IDEs

If I hover over a client.POST call, I can't read the doc string provided in the openapi spec description field because of generics

Extremely esoteric typescript (which, due to its difficulty to understand, apparently results in bugs like #1778 and #1769)
Clients display methods like PATCH in intellisense for which there are no paths

You already have to do a codegen step for openapi-typescript, why not just cut out the middleman and do:
npx openapi-fetch path/to/petstore.yaml -o openapi-fetch-petstore.ts

Then you can do:
import createClient from "./openapi-fetch-petstore";

...

I don't think it would be significantly bigger because most of the codegen will be type declarations, overloads, etc which get stripped out. And I'm sure there's some shared code that could be leveraged from openapi-typescript
Checklist

[ ] I’m willing to open a PR for this (see CONTRIBUTING.md)

Thanks for suggesting but if you read all the about sections of why this project exists and goals it solves, this entire philosophy is to specifically NOT codegen. To change this would mean rewriting everything.
If you need codegen, that’s great! There are lots of other options that provide this. But those are unrelated to this project.

I'm not talking about swagger-style codegen. I'm talking about metaprogramming as an alternative to generics.
The API would still be the same, i.e.
import createClient from "openapi-fetch-petstore";

const client = createClient();

client.POST("/store/order", {
    body: {
        id: 0,
    },
})

It would just resolve all of the problems that generics are currently causing.

To change this would mean rewriting everything.

Yeah I think this openapi-fetch does need a rewrite. It's broken as to be unusable at the moment and hasn't even reach v1.0. I say cut your losses and do it the right way

I understand your frustration; there have been some issues with the last couple releases. But to pose the entire library needs a rewrite and to “cut my losses“ isn’t a fair representation of what this library has achieved (and is running in production in several stacks; I’m just sorry it doesn’t work for yours at the moment).
If you’d like to create your own codegen library there’s always room at the table for more ideas and input! But rewriting this isn’t necessary. A few bugs don’t necessitate a rewrite 🙂

Ok, well thanks for the update. I'll keep an eye on this project. I really like the idea of this project and I was sold on it, but after playing with it for a few days I've found a few pain points that make it not quite ready for prime time (for my needs, at least) due to the bugs.
In the meantime I think I'll probably roll my own API-compatible codegen implementation of openapi-fetch, which I'll link here when it's ready. Maybe I can convince you yet of the benefits of metaprogramming, which can do things generics can't do (mainly around IDE QoL things like being able to jump to definitions of payloads, view doc strings on hover, etc)

Actually, looking through the code, I don't think it would need a complete rewrite to achieve what I'm talking about. I think you could dogfood the openapi-typescript types and also dogfood index.js in openapi-fetch and all you would need to do is write small generator to generate the things in index.d.ts currently being handled by generics.
So, for example, instead of:
export default function createClient<Paths extends {}, Media extends MediaType = MediaType>(
  clientOptions?: ClientOptions,
): {
  /** Call a GET endpoint */
  GET: ClientMethod<Paths, "get", Media>;
  /** Call a PUT endpoint */
  PUT: ClientMethod<Paths, "put", Media>;
  /** Call a POST endpoint */
  POST: ClientMethod<Paths, "post", Media>;
  /** Call a DELETE endpoint */
  DELETE: ClientMethod<Paths, "delete", Media>;
  /** Call a OPTIONS endpoint */
  OPTIONS: ClientMethod<Paths, "options", Media>;
  /** Call a HEAD endpoint */
  HEAD: ClientMethod<Paths, "head", Media>;
  /** Call a PATCH endpoint */
  PATCH: ClientMethod<Paths, "patch", Media>;
  /** Call a TRACE endpoint */
  TRACE: ClientMethod<Paths, "trace", Media>;
  /** Register middleware */
  use(...middleware: Middleware[]): void;
  /** Unregister middleware */
  eject(...middleware: Middleware[]): void;
};

You would generate something similar, but not exactly, like this (if petstore yaml were the input):
interface Client {
    POST(path: "/pet", body: components["schemas"]["Pet"]): Promise<FetchResponse>;
    POST(path: "/user", body: components["schemas"]["User"]): Promise<FetchResponse>;
    POST(path: "/user/createWithArray", body: components["requestBodies"]["UserArray"]["content"]["application/json"]): Promise<FetchResponse>;
    POST(path: "/store/order", body: components["schemas"]["Order"]): Promise<FetchResponse>;
}

export function createClient(clientOptions?: ClientOptions): Client;

And then the beauty if this is that not only is the typescript super easy to understand, it fixes all the issues I've been encountering:

Intellisense now displays only the available methods instead all methods
Jump to definition starts working again in VSCode (currently breaks arbitrarily depending on the component)
The two issues I mentioned above are also fixed

I know this is an issue with generics, because if I just extract the types from petstore.d.ts and use them in functions, everything works perfectly. Stuff only starts breaking in the context of generics (i.e. client.POST("", { this part }))
I don't think this is completely unreasonable, because openapi-typescript also requires a type generation step, and this approach would continue to dogfood those generated types, but with some additionally generated fetch wrappers.
I might fork the repo this weekend and try my hand at it, I don't think it would take more than a couple hundred lines of code to generate the parts of index.d.ts that are currently being handled by generics.

@drwpow I made typed-fetch as a reference implementation in case you missed my comment in the other issue. I could see a future where:
npx openapi-fetch path/to/petstore.yaml -o openapi-fetch-petstore.d.ts

Generates not just the component types, but also the client interface as well like I've done here: https://github.com/RPGillespie6/typed-fetch/blob/main/examples/petstore-openapi.d.ts#L366
I think that would vastly simplify the implementation of openapi-fetch such that you wouldn't need deeply nested generics and you could use actual debugger for debugging. It would eliminate the need for openapi-fetch's index.d.ts and allow you to focus on just the implementation file.

That’s awesome, thanks for making! I’d be happy to link that in the docs of alternate solutions.
Again, this whole project was created as a response to codegen. Yes, generating TypeScript types is, codegen, but it was done so that a generated SDK wouldn’t have to be created. Those tend to be bulky, and slow, and harder to maintain (to your point, they don’t have to be, but if you look at how Swagger codegen has gone, and other codegen projects that have more open issues than this project, you can at least see a pattern). I’m saying this not to discourage you at all—I think you creating this is great, and I want to see you succeed (and prove me wrong!). I want codegen to be in a better place. It’s just that what you’re describing, historically, has been an anti-goal of these libraries from the beginning. And that’s the beauty of open source—just providing more options available to people.

That’s awesome, thanks for making! I’d be happy to link that in the docs of alternate solutions.

Sure, I would appreciate that, but if openapi-fetch ever reaches 1.X I'll probably discontinue maintaining typed-fetch just because I

but it was done so that a generated SDK wouldn’t have to be created.

Just curious, but do you consider typed-fetch to be a generated SDK based on what you see in [here]https://github.com/RPGillespie6/typed-fetch/blob/main/examples/petstore-openapi.d.ts? IMO, it's nearly identical to openapi-typescript in what it generates with the addition of some helper types for fetch init and response so typed-fetch.ts can remain openapi spec agnostic while also not needing to rely on complex undebuggable generics.

Sure, I would appreciate that, but if openapi-fetch ever reaches 1.X I'll probably discontinue maintaining typed-fetch just because I'd rather centralize on battle tested tooling that lots of people use vs. fracture the space further

I wouldn’t personally worry about “fracturing the space;” that’s thinking in product terms. Open Source is meant to explore new ideas, and put more ideas out into the world. The more, the merrier.

Just curious, but do you consider typed-fetch to be a generated SDK based on what you see in https://github.com/RPGillespie6/typed-fetch/blob/main/examples/petstore-openapi.d.ts? … i.e. Can you point to which part of petstore-openapi.d.ts crosses a line that you are not willing to cross?

Running a CLI command to generate openapi-fetch after you’ve already generated your schema is the line I’m not willing to cross 🙂. Kudos for being able to only generate types, but that still puts it in a different category altogether and fundamentally changes the project.
FWIW, openapi-fetch came from generated types just like you were doing. It broke all the time, we were constantly patching it. And if you didn’t generate the types juuuust so, TS would actually time out traversing all that code and loading it into memory (I would have doubts that this approach would work on really really large schemas—not the generation part, but the TS inference part in the Language Server; I say this because I tried that approach).

I guess one argument could be:
I don't want to pollute the "pure" openapi-typescript schema with extra types that would only ever be used by openapi-fetch, but you could always gate the extra types behind a flag:
npx openapi-typescript --openapi-fetch petstore.yaml -o petstore.d.ts

I'm currently of the opinion though that extra potentially unused types are not a big deal though because tsc will just discard them.

I would have doubts that this approach would work on really really large schemas—not the generation part, but the TS inference part in the Language Server

Do you have an example "really really large schema" you could share that I could use for testing typed-fetch (and seeing how TS language server behaves, etc)?

Ok, I generated some bogus petstore schemas: petstore-big-schemas.zip. One has ~1000 endpoints, the other has ~10000 endpoints.
With petstore1000.yaml intellisense is pretty much instant for me with both typed-fetch and openapi-fetch.
With petstore10000.yaml, typed-fetch took about ~6s to populate intellisense while openapi-fetch took ~2s to populate intellisense (so openapi-fetch is currently ~3x faster with intellisense for very large schemas!). I think I could restructure typed-fetch's generated schema a bit to bring it down.
At any rate though, I would hope it's pretty rare people have http apis with 10000 endpoints (and either way, I couldn't get the TS server to timeout or freeze).


INTERNAL_SECURITY_BLOCK

Hello Team,
I am facing following issue while adding the SDK in React Native
{"error": "key_error_code:ERROR_B2B_API_RETURNED_ERRORkey_error_result:{"success":false,"code":"INTERNAL_SECURITY_BLOCK","message":"Internal Security Block","data":{}}", "status": "FAILURE"}
Please help me in this.
Thank you

Are you testing on android or iOS ?

For both Android and iOS.
My payload is this
This issue we are facing . my payload is this { merchantId: 'M22C****', merchantTransactionId: newTransactionId, merchantUserId: 'M****', amount: 100, callbackUrl: 'https://api.sharkpocket.in/phonePay/pay-return-url/', mobileNumber: '9111*****', deviceContext: { deviceOS: 'ANDROID', }, paymentInstrument: { type: 'UPI_INTENT', targetApp: 'com.phonepe.com', }, };
Facing issue this
{"error": "key_error_code:ERROR_B2B_API_RETURNED_ERRORkey_error_result:{"success":false,"code":"INTERNAL_SECURITY_BLOCK","message":"Internal Security Block","data":{}}", "status": "FAILURE"}

This is due to some security reasons,  Can you email<EMAIL_ADDRESS>and share the details with them? they will guide you unblock


Added additional units of measure and updated documentation

Adding volume measurements
Extending length and weight measurements
Updating documentation

Great work, thank you for the contribute


Wrong time base for pulse length

The timebase for pulse length for a pulse controlled turnout should according to spec be 0,1 sec but is presently 0,01 sec.

Resolved in 3.1.1


DSL for Conversion

Can you add a DSL for object conversion to simplify conversion using annotation than API mapping.

@sirinath ; is this still a requirement ?

It will be good to have but will not affect me now as I am not using Dozer. In case I start using it I definitely would want it.

As you don't use Dozer anymore and are then only requester, closing for now due to lack of time/man power to implement.


Referencing environment variables from .env file make system crash

This is my docker-compose file:
services:
  autoheal:
  # https://github.com/willfarrell/docker-autoheal
  # monitor and restart unhealthy docker containers
  # - no health check available (if it fails, it just restarts by default)
    image: willfarrell/autoheal
    container_name: autoheal
    environment: # referecing environment tags from .env file give errors and make the system stop
      - AUTOHEAL_CONTAINER_LABEL=${AH_CONTAINER_LABEL}
      - AUTOHEAL_INTERVAL=${AH_INTERVAL}
      - AUTOHEAL_START_PERIOD=${AH_START_PERIOD}
      - AUTOHEAL_DEFAULT_STOP_TIMEOUT=${AH_DEFAULT_STOP_TIMEOUT}
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime:ro
    labels:
      - autoheal=true
    restart: always

and these are the environment variables within the .env file:
AH_RESTART=true
AH_CONTAINER_LABEL=all
AH_INTERVAL=5
AH_START_PERIOD=15
AH_DEFAULT_STOP_TIMEOUT=30

When I run the image as it is, i get these errors:
sleep: invalid number '5   # check every 5 seconds'
Container /autoheal (f2ecb832259a) found to be unhealthy - Restarting container now with 10s timeout

and
jq: 1 compile error
sh: 15   # wait 15 seconds before first health check: bad number
jq: error: syntax error, unexpected $end (Unix shell quoting issues?) at <top-level>, line 1:
foreach .[] as $CONTAINER([];[]; $CONTAINER | .Id, .Names[0], .Labels["autoheal.stop.timeout"] // 30   # Docker waits max 10 seconds (the Docker default) for a container to stop before killing during restarts)
Container stopped

But when I run the env vars plainly like this:
services:
  autoheal:
  # https://github.com/willfarrell/docker-autoheal
  # monitor and restart unhealthy docker containers
  # - no health check available (if it fails, it just restarts by default)
    image: willfarrell/autoheal
    container_name: autoheal
    environment: # referecing environment tags from .env file give errors and make the system stop
      - AUTOHEAL_CONTAINER_LABEL=all
      - AUTOHEAL_INTERVAL=5
      - AUTOHEAL_START_PERIOD=15
      - AUTOHEAL_DEFAULT_STOP_TIMEOUT=30
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime:ro
    labels:
      - autoheal=true
    restart: always

Then the container runs normally... This only happens with autoheal, as I have all other containers pulling env vars from the .env file without issues.
Also noticed that the issue just happens with env vars, as labels, volumes and any other block do take the referenced tag just fine.
Expected behavior:
To take the value from the referenced variable and run without errors or stopping.
Thanks for the hard work!

this is more of a docker-compose / yaml parser behaviour, try double quoting your envs e.g.
environment:
      - "AUTOHEAL_DEFAULT_STOP_TIMEOUT=${AH_DEFAULT_STOP_TIMEOUT}"

or
environment:
      - AUTOHEAL_DEFAULT_STOP_TIMEOUT="${AH_DEFAULT_STOP_TIMEOUT}"

or
environment:
      AUTOHEAL_DEFAULT_STOP_TIMEOUT: "${AH_DEFAULT_STOP_TIMEOUT}"


GPT 4 Vision examples do not run

What happened?
$ go install github.com/tbckr/sgpt/cmd/sgpt@latest

$ sgpt -m "gpt-4-vision-preview" -i "https://upload.wikimedia.org/wikipedia/en/c/cb/Marvin_%28HHGG%29.jpg" "what can you see on the picture?"

unknown command "what can you see on the picture?" for "sgpt"

How can we reproduce this?
_
sgpt version
version: dev
commit: unset
commitDate: unset

### Search

- [X] I did search for other open and closed issues before opening this

### Project

- [X] I have verified that I am using the Go implementation of SGPT (this project) and that it is not another project

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

### Additional context

_No response_

Hey, thanks for your bug report.
It seems like you are using an old version of SGPT. Please install the latest version of SGPT and test again.

Ah, I think you found an error in the docs.
Could you please try the following command to install the latest version:
go install github.com/tbckr/sgpt/v2/cmd/sgpt@latest

@tbckr Indeed, the problem went away when I installed v2. However, the outputs are truncated very shortly for my requests:
> command sgpt --temperature 0 --max-tokens 40000 -m gpt-4-vision-preview -v -i 1.png 'This is a screenshot of a part of a paper. Rewrite it in org-mode. You can use `\( ... \)` to insert inline LaTeX.'

time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="Loading config"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="Config file not found - using defaults"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="No mode provided via command line args - using default mode"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="Chat session manager initialized"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="OpenAI client created"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="Loading personas from path: /Users/evar/Library/Application Support/sgpt/personas"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="could not find custom persona"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="Loaded default prompts"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="No persona provided"
time=2024-01-16T10:38:20.785+03:30 level=WARN msg="The GPT-4 Vision API is in beta and may not work as expected"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="Added prompt message"
time=2024-01-16T10:38:20.785+03:30 level=DEBUG msg="Added prompt message"
time=2024-01-16T10:38:24.175+03:30 level=DEBUG msg="Received response"
Certainly! Here is the content of the image written in Org-mode with LaTeX:

time=2024-01-16T10:38:24.175+03:30 level=DEBUG msg="Printed response"
time=2024-01-16T10:38:24.175+03:30 level=DEBUG msg="Received message from OpenAI API"

Should I open another issue?

Hi @NightMachinery,
I oberserved the same issue. I think it is an issue in the OpenAI API. You can open an issue if you want to.

@tbckr No, I am certain it's a bug here. I have sent requests using their own Python library and it's okay. But the default for the max returned tokens is different in the API (and much lower). So there is a need to set this parameter correctly.


⚠ ClamAV has degraded performance

In 69a6259, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 249 ms

Resolved: ClamAV performance has improved in 3244878.


Add conversion of nested SourceSets using named()

You once helped me. I refactored the project into this website: https://gradle-kotlin-converter.vercel.app/


CASSANDRA-11225: fixed comment on default snitch

My comment on the default snitch is slightly incorrect, see discussion on CASSANDRA-11488.

+1


PDF size on download button

Changes in this PR:
Add PDF size to the download button. (Will be absent if falling back to weasyprint.)
Trello card / Rollbar error (etc)
Screenshots of UI changes:
After

Note this PR expands upon the previous one.

 Spike: add size of PDF to "download pdf" button Public UI


Add support for other types of samples

There are several queries that the current set of samples (i.e., uniform, universe and stratified) does not support well.
For example, suppose there is a fact table, which is joined with other fact table and also a number of dimension tables. If there exists a filter predicate on one of the dimension tables with a low selectivity, it is possible that none of the rows in the sample of the fact table satisfies the predicate. In worst case scenario, the approximate query will produce no results at all, which is not a desired behavior.
It would be great if Verdict can utilize new types of samples that can deal with such situation and produce approximate query results nonetheless.

The issue has been move to the private repo.


Correct "See also" in http://0x80.pl/articles/base64-simd-neon.html#see-also-update

Hi,
First off thanks for your work, I'm always learning some new tricks reading your articles.
Just to clarify one thing in the see also of Neon base64 article: You mention Alfred Klomp developed the algorithm for libbase64 ARM64 decoding but what you're referring to is in fact one of my commits:
aklomp/base64@ac5c74a8de9f085f726ddb08ff11c781c43ee0ca
I'd very much appreciate a correction of the author there.
Thanks,
Matthieu Darbois

Hi Matthieu, nice to hear it. BTW I was planning to contribute to Alfred's library, but you were faster. :)
I've just put your name in the article. Sorry for that, I didn't check file's history.

Hi Wojciech, thanks for the correction. Very much appreciated.


Add dyslexia-friendly (default?) font

Excalidraw looks excellent and was recently featured on Hacker News. However, I wanted to bring your attention to this top comment on HN: https://news.ycombinator.com/item?id=29109995

I genuinely can't stand the default font, and so many people tend to use it. My dyslexia makes it really difficult for me to read it. Please, please, Excalidraw owners if you're reading this: make the default font something that's much more friendly to those with dyslexia.
Defaults matter a lot.

I'm not dyslexic myself, so I'm afraid I can't do any user testing. There are a number of resources available to offer guidance and hopefully they help! Two of the top picks from Google:

https://www.bdadyslexia.org.uk/advice/employers/creating-a-dyslexia-friendly-workplace/dyslexia-friendly-style-guide
https://exceptionalindividuals.com/about-us/blog/our-top-10-dyslexia-friendly-fonts/

I have no dyslexia, but the one and only font is very hard to read for me. For me it is even hard to read my own hand writing and it is always much harder to read hand writing of other people. And I really don't like any kinda hand written like fonts, because it is so terrible complicated to extract just the content.
A few weeks ago the first time I was presented some collaboration process using excalidraw, and the first question which came in my mind was: "Why do they use this terrible hard to read hand written font for a complicated technical documentation, where colum names should be monospace and other text should just be readable?" Later I asked and I was told, there is no other font.
It's hard enough when you have to work together in a foreign language (English). Then you want to at least visually understand what it's all about. So I feel when reading such quasi handwritten diagrams like I feel when I have to talk on the phone with other people in English, whose native language is not that either. I have to concentrate extremely hard and still don't understand everything that I can easily understand in a written communication with legible fonts.
Would it be possible to add more flexibility for the font?

I just have seen, it is possible to change the font to a normal font. So this was just a wrong information, that they told my, there is only handwriting font.
It looks like they didn't explore this.
Then I have a question: is it possible to change the font from handwriting to normal for all text objects in the drawing at once?

While probably not fully resolving your main issue, we've recently released a more readable version of the Virgil, called Excalifont - feel free to check it out https://x.com/excalidraw/status/1846205807068627155.
There are now also more fonts to choose from if one does not prefer the handwritten style: https://x.com/excalidraw/status/1816545041973936587


[ANCHOR-397] Add missing claims to SEP-24 JWTs

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[x] This PR adds tests for the most critical parts of the new functionality or fixes.

What
This sets client_name and client_domain for the JWTs generated by SEP-24. It also adds the missing sub claim to the more info URL JWT.
Why
These claims are used to identify the wallet and user.
Known limitations
N/A

Reference Server Preview is available here:https://anchor-ref-pr1027.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1027.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1027.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1027.previews.kube001.services.stellar-ops.com/


Update object api version

Is there a way to update object api version.e.g. there is a deployment using apiVersion: extensions/v1beta1, I tried to update it with apiVersion: apps/v1 using pykube, but it doesn't work.

xref https://github.com/kubernetes/kubernetes/issues/62283


Ability to turn off hlint?

Is it possible to turn off hlint especially in view of #319 ?

Yes, see https://github.com/haskell/haskell-ide-engine/pull/330 and https://github.com/alanz/vscode-hie-server/tree/settings


"help Invoke-Build -full" not showing help?

This has to be user error, but I installed the module per the readme, and now the help command just lists some metadata:
PS> Install-Module InvokeBuild

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository cmdlet. Are you
sure you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): a

PS> Import-Module InvokeBuild
PS> help Invoke-Build -full

Name                              Category  Module                    Synopsis
----                              --------  ------                    --------
Invoke-Build                      Alias                               Invoke-Build.ps1
Invoke-Builds                     Alias                               Invoke-Builds.ps1

PS>

Am I supposed to see something else?

This is the known issue, see Get-Help Invoke-Build -Full doesn't work #41 and the comment with the remedy.
In short, as README says, use the full path to Invoke-Build.ps1. If you have ideas on how to improve the situation, please suggest. Otherwise, we can close the issue. There is not much I can do. Sorry for this annoyance.

Ah, thanks! I wondered if that was the same issue. Took me a minute to find
where the scripts were installed. I'll take another look regarding a fix,
but feel free to close this issue.
On Jun 27, 2017 6:16 PM, "Roman Kuzmin"<EMAIL_ADDRESS>wrote:
This is the known issue, see Get-Help Invoke-Build -Full doesn't work #41
https://github.com/nightroman/Invoke-Build/issues/41 and the comment
https://github.com/nightroman/Invoke-Build/issues/41#issuecomment-267826756
with the remedy.
In short, as README says, use the full path to Invoke-Build.ps1. If you
have ideas on how to improve the situation, please suggest. Otherwise, we
can close the issue. There is not much I can do. Sorry for this annoyance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nightroman/Invoke-Build/issues/76#issuecomment-311521243,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF3QaVcQu2uKTpb14_XQbjOZfdzRJnstks5sIZtsgaJpZM4OHUOg
.

Took me a minute to find where the scripts were installed.

    (Get-Alias Invoke-Build).Definition

I will add this tip to README.

Perfect, that'll help. Thanks much!


List Grid doesn't render correctly on screen widths between 480px and 1025px

On screen widths between 480px and 1025px items in a List Grid are not rendered properly due to limited space. Currently the only responsive state is below 480px width where items are rendered using 100% width in a single column. Other than that items are rendered in three columns which causes to poor UX on screen widths below 1050px and even worse below 800px.
From what I've seen the 100% width should be applied already below 850px so that a list item has sufficient space for actions and primary text. Between 850px and 1050px items in a grid could be displayed in two columns and above 1050px in three columns. These dimensions are excluding any paddings and margins that might be around a List Grid so you might want to include them in the media queries.

At what point we should go from three columns to one column (or maybe even two columns first?) will largely depend on the specific app that's displaying in the list. The current behavior might be acceptable in some cases but not others.
For reference, here's what our example list looks like with about 630px of width:

We do offer the standard non-responsive list, which always has a single column. But we may want to consider additional variants that specify the number of columns for various breakpoints.
@waldekmastykarz: For the time being, the best option is to use a standard ms-List (don't add the ms-List--grid class) and then create an override class with behaviors specific to your app. It would look something like this:
@media (min-width: 850px)
.ms-List.ms-List--myCustomClassName .ms-ListItem {
    width: 50%;
    float: left;
    border-width: 0 1px 1px 0;
}

@media (min-width: 1050px)
.ms-List.ms-List--myCustomClassName .ms-ListItem {
    width: 33.33333333333333%;
    float: left;
    border-width: 0 1px 1px 0;
}

Closing this for now. If we receive more requests for different responsive behaviors we can investigate changing the design.


Eks and refactor

Merged in EKS support, including both the IA and IOTCore sidecars. Cleaned up the persistent volumes and claims across the board, with many simplifications to the postgres ones. Flattened values files and normalized them between EKS and GKE.

This is looking great, transparently I only looked through the new values.yaml structures for EKS and GCP deployments and nothing under the covers, but I think this should greatly simplify things for customers.
Thoughts on pulling out the mqttAllowDuplicateClientID variable from the clearblade space and moving it to global? I'm thinking to keep things consistent it would be nice to only configure pod resources under each of it's named space, and then any config options can live under global?

This is looking great, transparently I only looked through the new values.yaml structures for EKS and GCP deployments and nothing under the covers, but I think this should greatly simplify things for customers.
Thoughts on pulling out the mqttAllowDuplicateClientID variable from the clearblade space and moving it to global? I'm thinking to keep things consistent it would be nice to only configure pod resources under each of it's named space, and then any config options can live under global?

I tried to only put things in global that were needed by more than one chart - but I also understand that it can make it easier to miss things. I am slightly leaning to keep it the way it is, but could be convinced if you feel strongly for usability's sake.


x/mobile: bind tests (bind and cmd/gobind) are broken

https://storage.googleapis.com/go-build-log/fdab5be1/linux-amd64-androidemu_5f1949ec.log
ok  	golang.org/x/mobile/bind/seq	0.026s
--- FAIL: TestDocs (0.46s)
    --- FAIL: TestDocs/Modules (0.33s)
        gobind_test.go:173: gobind -lang java failed: exit status 1: // Code generated by gobind.  I think this is related to gobind generates go.mod file based on the binding source, but doesn't generate go.sum file. I wonder if simply running go mod tidy before building can fix the issue.
cc @hajimehoshi

I thought @jayconrod fixed this in CL 323149. Is it still failing at head?


Roll the engine

Also update the AOT builder for changes to the layout of the sky_engine package

LGTM but please keep an eye on the post-roll tests, if it makes things worse we should revert. (We should have followed that policy before, it would have avoided many of these problems!)

FYI, there is a new breakage that seems to have been cause by this PR:
https://flutter-dashboard.appspot.com/build.html
Log file

That's the observatory timeout issue, which I believe people are already working on.


Update to 1.20.1 please

Can you update to 1.20.1 please.

I've created a Fork and I can't figure it out at all with my skills. I've upgraded the project's dependencies to 1.20.1 , and I'd like the author to finish it. PLS.
https://github.com/Xing-C/keymap-v2-1.20
@Einjerjar

One thing I can't figure out, if a (method/class) doesn't exist anymore, how do I go about finding his replacement, or find out what it became?

https://modrinth.com/mod/dusts-keymap temp for now

https://modrinth.com/mod/dusts-keymap temp for now

Legend, thanks!

https://modrinth.com/mod/dusts-keymap temp for now

hello, can you do the same for 1.20.4?

hello, can you do the same for 1.20.4?

@mreiow Post ticket on my issue tracker instead of here


Feature: Option to open all items in a tag

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #7493

Details

Changes from line 99 to 121 of FileTagsWidget.xaml are needed to fix a bug where right clicking on the right of an item wouldn't show the context menu
I'll check if I can use RichCommand to implement this feature

Validation
How did you test these changes?

[x] Built and ran the app
[ ] Tested the changes for accessibility

Was this added to the sidebar as well?

Was this added to the sidebar as well?

Not yet, I need SidebarContext for that

@ferrariofilippo what's the status of this PR?

There are too many conflicts, I'll close this.
Still it was working, if you think that a TagsContext is fine I'll open a new one

@QuaintMako do you have any thoughts on a tags context?

@QuaintMako can I start working on this using a TagsContext or do you have any better idea?

@QuaintMako can I start working on this using a TagsContext or do you have any better idea?

Sorry for the very late answer, I don't see any issue creating a TagsContext. It might be helpful in the future for other actions surrounding the tags as well.


ArcGIS import error - Missing data: key not found

From https://github.com/CartoDB/cartodb/issues/5612
SB/7228233
This happens regularly for the following keys:
fields at SB/7228233
geometryType at SB/7294060
true: ogr2ogr output:
true: ogr2ogr exit code:       0
true: Errored importing data from /tmp/imports/aaa-aaaa-173ylbw/otras_categor_as_sinap.json:
false: CartoDB::Datasources::ResponseError: Missing data: key not found: "fields" http://mapas.parquesnacionales.gov.co/arcgis/rest/services/IGAC/SINAP/FeatureServer/1/query ["/home/ubuntu/www/production.cartodb.com/releases/aaa/services/datasources/lib/datasources/url/arcgis.rb:443:in `fetch'", "/home/ubuntu/www/production.cartodb.com/releases/aaa/services/datasources/lib/datasources/url/arcgis.rb:443:in `get_by_ids'", "/home/ubuntu/www/production.cartodb.com/releases/aaa/services/datasources/lib/datasources/url/arcgis.rb:145:in `stream_resource'",

I'd say this seems something in our end. The two URLs failing are available in SB/6671042, but you can just ask me for them in private to make the check faster.
The error for the geometryType key is as follows:

2015-11-13 10:40:33 UTC: Before importer run
2015-11-13 10:40:34 UTC: Errored importing data:
2015-11-13 10:40:34 UTC: CartoDB::Datasources::ResponseError: Missing data: key not found: "geometryType" URL_here ["/home/ubuntu/www/production.cartodb.com/releases/20151112173200/services/datasources/lib/datasources/url/arcgis.rb:444:in `fetch'",

Related comment:
I'm seeing that the system tries to retrieve the data from the /query endpoint. I notice there exists a ?f=pjson parameter from which the data can be retrieved as JSON.

Experiencing same error.

The problem may be with the ESRI-supplied column "GlobalID", which is its unique identifier that is added to all editable geodata services. By removing the GlobalID, I was able to sync http://services1.arcgis.com/fBc8EJBxQRMcHlei/ArcGIS/rest/services/GRSM_SPECIES_OBSERVATIONS_MAXENT/FeatureServer to CartoDB. Not a work-around though, as folks generally need to be able to edit their feature services, and can't without the GlobalD. From https://github.com/CartoDB/cartodb/issues/5612 I see that there errors on duplicate keys but there is a) no index on GlobalID, and b) it definitely is unique....
Another untested solution/work-around is to get rid of the ESRI ObjectID during the import and sync all together: only ESRI software needs this, any use via CartoDB sync tables could, in most cases, safely ignore it. OR.....don't treat the ObjectID as a PK.....

cc @michellechandra

This seems to fix it: c68d7d
The problem was the code expected the objectIds returned by the ArcGIS service to be ordered, and in some cases they're not.
I'll look into preparing some tests to check for this.

Fixed and confirmed in production. Have a nice Friday! :dancer: :)


White list the module to run through style check

Additional, clean up the tools folder a bit.

View a preview at https://prompt.ws/r/Azure/azure-cli/5012
This is an experimental preview for @microsoft.com users.
(It may take a minute or two for your instance to be ready)
Email feedback to 'azfeedback' with subject 'Prompt Feedback'.

/cc @tjprescott the change is doing it supposes to do. I'll push the change soon.


Prerelease is included into the update proposal

steps
https://github.com/scala/scala-collection-compat/pull/254
problem
sbt-pgp 2.0.1-M3 is a prerelease version.
expectation
Prerelease versions should not proposed.
notes
https://github.com/fthomas/scala-steward/pull/665 added sbt plugin proposal. I don't see anything about dependencyAllowPreRelease there, so I'm not sure where it's coming from.

Thanks for the report, @eed3si9n! I think this happened because sbt-updates considers 1.1.2-1 a prerelease (because of the -1) and therefore also lists 2.0.1-M3 as an acceptable newer version. Projects that use(d) sbt-pgp 1.1.2 received updates to 2.0.0 only.

Based on Semantic Versioning, I think it's fine to consider 1.1.2-1 a prerelease (even though there have been prior cases like Scala 2.9.1-1).
To simplify the discussion, let's suppose it was called sbt-pgp 1.1.2-M1 instead and suppose that was a legitimate milestone for sbt-pgp 1.1.2. Even still, I don't think the fact that the project used one prerelease should be considered a signal that it's at all safe to bump to a prerelease of sbt-pgp 2.0.1 or any other future versions.
According to https://semver.org/spec/v2.0.0.html#spec-item-9:

A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as denoted by its associated normal version.

This is the case with sbt at least where we might be adding new API and removing APIs as we learn things, and I'd assume for most libraries too. If someone by accident merged a non-bincompat upstream library, they could end up producing a non-bincompat libraries themselves.

I agree with you that updating to a prerelease of a different version doesn't make much sense. There was another PR where ScalaTest was updated from 3.1.0-SNAP13 to 3.2.0-M1 but waiting for 3.1.0 final would have been the more sensible option here.
Btw, I think updates to a newer prerelease of the same version are fine, for example from 1.1.2-M1 to 1.1.2-M2.


Freeze when loading some ReaControlMidi

ReaControlMidi freezes when calling effSetChunk

This seems to be a bug with effSetChunk in this particular VST, closing since I don't think this could be avoided

Possibly related? https://togithub.com/audacity/audacity/issues/3915
Also possibly related to the EFFSETCHUNK_COMPATIBILITY_OPTION setting in jBridge

It seems like a lot of VST hosts struggle with this plugin. v2.1 works correctly


Remove unused test target, Clean up code, Add padding(2) to Button

Hey @tyagishi,
thanks for making this package! I've been using it in a recent app that I made and it's really helpful.
I noticed that the FontPicker button looks very ... cramped (?), so I decided to add padding(2) to it.
While I was at it in my fork I also cleaned up some of the code and removed the test target, that you had but weren't using.
LMK what you think.
Cheers,
Flo

Hi,
Thank you very much for cleaning up and updates.
BR,
Tomoaki