uncompitable with unread issue

thx for your lovely plugin its very important
but in my case its not working with unread_issue plugin
` def initialize_available_filters
      (7)    super
          add_available_filter(
            "parent_tracker_id",
            type: :list, values: trackers.collect { |s| [s.name, s.id.to_s] }, label: :parent_tracker_id
          )
          add_available_filter(
            "parent_status_id",
            type: :list_status, values: lambda { issue_statuses_values }, label: :parent_status_id
          )
          add_available_filter(
            "child_tracker_id",
            type: :list, values: trackers.collect { |s| [s.name, s.id.to_s] }, label: :child_tracker_id
          )
          add_available_filter(
            "child_status_id",
            type: :list_status, values: lambda { issue_statuses_values }, label: :child_status_id
          )
        end`

`def initialize_available_filters_with_ui
(126)        initialize_available_filters_without_ui

        add_available_filter('ui_unread', type: :list, values: [[l(:general_text_Yes), '1'], [l(:general_text_No), '0']], name: l(:unread_issues_label_filter_unread))
        add_available_filter('ui_updated', type: :list, values: [[l(:general_text_Yes), '1'], [l(:general_text_No), '0']], name: l(:unread_issues_label_filter_updated))
      end`

logs
`plugins/redmine_parent_child_filters/lib/redmine_parent_child_filters/patches/issue_query_patch.rb:7:in `initialize_available_filters'
[c0b72205-7dfe-4018-8d23-260e827cb59a] plugins/unread_issues/lib/unread_issues/issue_query_patch.rb:126:in `initialize_available_filters_with_ui'`

@jcatrysse

Do you have more info in the logs?  I can't find it on the Redmine site.

unread_issues.zip

if im change your plugin name of def
         **def initialize_available_filters_with_ui
             initialize_available_filters_without_ui**
            add_available_filter(
            "parent_tracker_id",
            type: :list, values: trackers.collect { |s| [s.name, s.id.to_s] }, label: :parent_tracker_id
          )
          add_available_filter(
            "parent_status_id",
            type: :list_status, values: lambda { issue_statuses_values }, label: :parent_status_id
          )
          add_available_filter(
            "child_tracker_id",
            type: :list, values: trackers.collect { |s| [s.name, s.id.to_s] }, label: :child_tracker_id
          )
          add_available_filter(
            "child_status_id",
            type: :list_status, values: lambda { issue_statuses_values }, label: :child_status_id
          )
        end

I think so too, but I wonder why it doesn't work as it does now. It was my understanding that the method I use should be cleaner.
But I am not 100% sure. I'll investigate and do some testing. I'll keep you posted.

if u can install the plugin unread_issue u will see the error and can help u to find the best solution
thx for your lovely plugin
@jcatrysse

Could you pull again from master and verify if it works now? I implemented the alias_method.
Commit: 042045cda27ca3d88e6c35fa6a4e85e29f01d0d5
Let me know if it works.

CHANGELOG
0.0.3

Filter on root_issue
Operator not equal to on start_date and end_date
Resolved issue: SystemStackError (stack level too deep)
Converted initialize_available_filters to use alias_method

translation missing: en.label_rootissue

@jcatrysse


Example to replace Angular's built-in $templateCache?

As far as I can tell there's no way to get the keys in Angular's default $templateCache. This stackoverflow question led me to believe that I could somehow replace that cache with AngularCache and gain access to the keys() method.
Are there any pointers on how to do that? The readme mentions how to fiddle with the cache in the $http service, but I don't know what service (if any) is responsible for using the templates.
(the problem I'm trying to solve is to override some cache keys in the presence of others. For example, if there are two keys menu.html and custom/menu.html I want to override the former with the contents of the latter. Unfortunately I don't know beforehand what pages, if any, are to be overridden.)

You might try something like this:
myApp.config(['$provide', function ($provide) {
  var customTemplateCache;
  $provide.decorator('$templateCache', function ($delegate, CacheFactory) {
    customTemplateCache = customTemplateCache || CacheFactory('customTemplateCache', { /*config*/ });
    return customTemplateCache;
  });
}]);

Closing because I’m not sure this is an issue, if you are convinced that this is really a bug, please feel free to re-open the issue and add more information:

good - Your versions of Angular, Angular-cache, etc, relevant console logs/error, code examples that revealed the issue
better - A plnkr, fiddle, or bin that demonstrates the issue
best - A Pull Request that fixes the issue, including test coverage for the issue and the fix

Otherwise support is done via the mailing list.


Add banner about GPU acceleration if not used/configured

Is your enhancement related to a problem? Please describe
People who are not aware of the possibility of using GPU acceleration will not notice the capability.
Describe the solution you'd like
If the GPU is not configured in the user's environment, we'd like to drive more attention onto how the user could experiment with it.

The banner should be displayed at the top of all screens of Podman AI Lab
The title should be "⚡ Supercharge Your AI:  Enable GPU Acceleration and watch your LLM respond in a flash! "
There should be one button "Enable": when clicked, it displays the instructions on how the user can enable the GPU acceleration, depending on the platform the user is using.

It should be possible to hide the banner with a button: "Don't display anymore"
We should have telemetry on the banner to know:

how often it's been displayed
how often the user clicked on "enable" or "don't display anymore"

Describe alternatives you've considered
No response
Additional context
No response

We may want to simply have it enabled by default next release

The banner should be displayed at the top of all screens of Podman AI Lab

I am against this idea.

There should be one button "Enable": when clicked, it displays the instructions on how the user can enable the GPU acceleration, depending on the platform the user is using.

Following https://github.com/containers/podman-desktop-extension-ai-lab/pull/1717 we have a banner checking for GPU machine (libkrun).
This issue seems to be a change on this existing banner ?
On Windows we should only display this for user with NVIDIA card and VRAM > 6G as this is probably the minimum requirements. We could redirect them to the documentation (https://podman-desktop.io/docs/podman/gpu)

Knowing if a WSL has nvidia capabilities is difficult, and we would need to manually ssh inside the machine.
I opened https://github.com/containers/podman/issues/24042 to see if we could have this information from the machine.

Having the default value switched to true is a first step but we should have the banner displayed if user changed it to false


Chapter01/bike_sharing.py

In Chapter01/bike_sharing.py, I am getting the following error:
$ python bike_sharing.py bike_day.csv
Traceback (most recent call last):
  File "bike_sharing.py", line 39, in <module>
    rf_regressor.fit(X_train, y_train)
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/ensemble/forest.py", line 326, in fit
    for i, t in enumerate(trees))
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 758, in __call__
    while self.dispatch_one_batch(iterator):
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 608, in dispatch_one_batch
    self._dispatch(tasks)
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 571, in _dispatch
    job = self._backend.apply_async(batch, callback=cb)
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/externals/joblib/_parallel_backends.py", line 109, in apply_async
    result = ImmediateResult(func)
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/externals/joblib/_parallel_backends.py", line 326, in __init__
    self.results = batch()
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/externals/joblib/parallel.py", line 131, in __call__
    return [func(*args, **kwargs) for func, args, kwargs in self.items]
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/ensemble/forest.py", line 120, in _parallel_build_trees
    tree.fit(X, y, sample_weight=curr_sample_weight, check_input=False)
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/tree/tree.py", line 1029, in fit
    X_idx_sorted=X_idx_sorted)
  File "/home/BenQuigley/local_projects/machine_learning/venv/local/lib/python2.7/site-packages/sklearn/tree/tree.py", line 199, in fit
    % self.min_samples_split)
ValueError: min_samples_split must be at least 2 or in (0, 1], got 1

This comes from line 37 in bike_sharing.py:
   rf_regressor = RandomForestRegressor(n_estimators=1000, max_depth=10, min_samples_split=1)
Deleting the min_samples_split argument lets sklearn default it to 2, which fixes the bug. 1 is not a valid min_samples_split arg per this issue in the sklearn repo.

Solution provided
Closed.


[release-3.11] fix: ns exclusion audit from cache (#3129)

Seemed like a relatively low-risk, straightforward fix.
Slack thread for reference: https://redhat-internal.slack.com/archives/C01AEMQBT8F/p1708439263498669?thread_ts=1706807837.353669&cid=C01AEMQBT8F

Thanks Dale!


Radar.onEvents() never called

I have a problem with Radar.onEvents(), is never called :
Radar.initialize("prj_test_pk_*");
Radar.setUserId(mUserId);
Radar.startTracking('responsive');
Radar.onEvents((result) {
    print("RADAR GEOFENCE DETECTED EVENTS");
    print(result);
});

On my IDE logs I've :

But my print on the onEvents listener not show.
What have I done wrong ?
Thanks.

@MapleNoise - this should be fixed https://github.com/radarlabs/flutter-radar/releases/tag/3.1.5. let us know if you experience any other issues.

I am having the same problem. I have the following code as the docs state, but the print line inside onEvents never gets executed:
`  Future startTracking() async {
Radar.setUserId(authRepository.currentUserId);
await Radar.startTracking('continuous');
Radar.onEvents(onEvents);
}
@pragma('vm:entry-point')
static onEvents(Map result) {
print('event received');
}`

I noticed that in the provided code snippet, you did not call Radar.attachListeners(); can you try adding that line as such
Radar.setUserId(authRepository.currentUserId);
Radar.attachListeners();
Radar.onEvents(onEvents);
await Radar.startTracking('continuous');

Thanks, but this is not working either. Just to explain how I call my startTracking function in case it makes a difference....it is inside a class which has a riverpod provider, and then in the initState of a widget I am calling ref.read(radarServiceProvider).startTracking();

That is interesting, can you possibly share more code snippets of the way you are managing your state to aid us in reproducing the issue you are encountering?

Sure...I have the following class:
import 'package:flutter_radar/flutter_radar.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:workwith/src/features/auth/data/auth_repository.dart';

class RadarService {
  final AuthRepository authRepository;
  RadarService({required this.authRepository});

  Future<void> startTracking() async {
    Radar.setUserId(authRepository.currentUserId);
    Radar.attachListeners();
    Radar.onEvents(onEvents);
    await Radar.startTracking('continuous');
  }

  @pragma('vm:entry-point')
  static onEvents(Map result) {
    print('event received');
  }
}

final radarServiceProvider = Provider<RadarService>((ref) {
  final authRepository = ref.watch(authRepositoryProvider);
  return RadarService(authRepository: authRepository);
});

Then in one of my widgets I have this:
  @override
  void initState() {
    super.initState();
    ref.read(radarServiceProvider).startTracking();
  }

I see events coming in from Radars own log lines, but my log line isn't being printed

Seeing this issue currently in a example project I've spun up to test out Radar.
class RadarWidget extends StatefulWidget {
  const RadarWidget({super.key});

  @override
  State<RadarWidget> createState() => _RadarWidgetState();
}

class _RadarWidgetState extends State<RadarWidget> {
  @override
  Widget build(BuildContext context) {
    print('Radar widget building');
    return const map.Map();
  }

  @override
  void initState() {
    super.initState();
    print('Radar init state');
    initRadar();
  }

  @pragma('vm:entry-point')
  static void onLocation(Map res) {
    print('📍📍 onLocation: $res');
  }

  @pragma('vm:entry-point')
  static void onClientLocation(Map res) {
    print('📍📍 onClientLocation: $res');
  }

  @pragma('vm:entry-point')
  static void onError(Map res) {
    print('📍📍 onError: $res');
  }

  @pragma('vm:entry-point')
  static void onLog(Map res) {
    print('📍📍 onLog: $res');
  }

  @pragma('vm:entry-point')
  static void onEvents(Map res) {
    print('📍📍 onEvents: $res');
  }

  @pragma('vm:entry-point')
  static void onToken(Map res) {
    print('📍📍 onToken: $res');
  }

  Future<void> initRadar() async {
    Radar.initialize("..."); //Radar api key
    Radar.setLogLevel('info');

    Radar.attachListeners();

    Radar.onLocation(onLocation);
    Radar.onClientLocation(onClientLocation);
    Radar.onError(onError);
    Radar.onEvents(onEvents);
    Radar.onLog(onLog);
    Radar.onToken(onToken);

    final status = await Radar.getPermissionsStatus();
    final requestedStatus = await Radar.requestPermissions(true);

    await Radar.startTracking('continuous');
    final happening = await Radar.mockTracking(
        //(37.53206895196914,-77.42409998968543)
        origin: {
          'latitude': 37.53206895196914,
          'longitude': -77.42409998968543
        },
        //dest: (37.53011080455556, -77.42597953180213)
        destination: {
          'latitude': 37.53011080455556,
          'longitude': -77.42597953180213
        },
        mode: 'foot',
        steps: 10,
        interval: 5);
  }
}

When running this widget, none of my print lines are triggered even though I can see the RadarLogger events printing. This issue is definitely not fixed, and it's not clear exactly what is occurring that the callbacks are not being triggered.

So I realized I actually hadn't followed the setup instructions fully (I copied the code but didn't change it to my API key), so double check that you have done this correctly:
https://radar.com/documentation/sdk/flutter

Just wanted to drop an update, I was able to get this working consistently in my projects now.
In case of future observers to this issue

Ensure that for both the android and ios portions of the project you have the Radar.initialize code setup in the correct locations

My issue was related to Android project not referencing the Application.kt class in the AndroidManifest

You need to have location permissions granted before you will start getting logs, RadarLogger will work without location permissions, but your custom listeners will not unless you have location permissions.

Thank you for raising this, we will seek to improve the reliability of our SDK in one of our our upcoming releases.


[Champ-Animation] Katarina

One of the most popular champions

[ ] Q animation

[ ] W animation

[ ] E animation

[ ] R animation

[ ] Passive animation


[workflows] First production workflow.

Merge in the working proudction scripts for the calorimeters.

... n.b.  merged from the sphnxpro account (thus Chris's git credentials).  Modifications are from myself and Sasha.


macOS integration issues

I had some time to test Museeks on Mac, and it's not perfect

Museeks interrupts logout (cf. screenshot)
Museeks does not show if minimized to tray + click it's in the dock
Right-click on the dock icon + quit doesn't quit the app

All help from a active mac user would be greatly appreciated

I noticed the same, also the window buttons are located at the wrong side of the window (which can be "fixed" by using "native frame", but still...).
But other than that I am quite happy so far. Other electron music players fail miserably in comparison.
What kind of help do you need? Logs etc. or active development work?

Other electron music players fail miserably in comparison.

You do have no idea about what it means to me, thanks.

About these problems, I need to do some researches on Atom and electron researches first.
About the window controls at the left, this can be easily fixed actually, I'll submit a PR for this, can you confirm that the controls order in mac are close/minimize/maximize ?

Glad to hear that!

Same for me!
Yes, it is close, minimize and maximize from left to right.

Would it annoy you if they had the same design or would you prefer the mac-like colored window controls?

I would prefer the mac-like coloring by far!

So I guess your main problem with the native frame is this is the native frame is not dark right ?

It is no big deal, but it would look a tad nicer, if you know what I mean.

kk, just analyzing your usecase so I know what to work on exactly ;)

No problem mate, we also need to implement shortcuts for minimizing, closing the window, hiding the app and the preferences.

I'm sorry, this is slightly offtopic but is there a way to communicate with you in a quicker way (irc, discord or similar)?
I am struggling to get the museeks package running with electron ("webpack --config webpack.config.js --progress --colors") seems to fail when running npm install && npm run compile.
I'm trying that, because I would like to contribute.

Yes sure, go and chat with us on Gitter: https://gitter.im/KeitIG/museeks

I got a mac at work, I will be able to work on these issues from now.

Work in progress

@KeitIG are these window buttons native or custom?
If they are custom we should make sure they exactly reflect the position of native ones

They are native :)


Files attempts to check for updates when there is no internet connection

Description
When Files starts, it will attempt to check for updates using the "Windows App Installer". However, if there is no internet connection, the check will fail after several seconds of loading, resulting in a delay of several seconds for Files to load in a network-less environment. Is it possible to disable automatic updates and force manual updates?
Steps To Reproduce

Unplug the network cable.
Open Files.

Requirements
1
Files Version
<IP_ADDRESS>
Windows Version
10.0.23575.1001
Log File
1

Thanks for the report, This is an issue with App Installer and there isn't a option to turn off update checking. Best thing to do is not close Files.

But it is not realistic to close Files, because if you are in a place without internet, you can't even view local files.

But it is not practical to close Files, because it does not automatically start when the computer is turned on

This is an issue with AppInstaller. I know this solution won't help if you use the preview version, but if you use the Store version it won't have this behavior.


Coverage has blank Action on both Nightly and TLA+ Foundation's TLA+ VScode, Alygin's version is OK.

It shows like this in both Nightly and TLA+ Foundation's:

This is shows fine in Alygin's.

Thanks,
Zitro

@chris-ortiz-wdc Please try uninstalling the alygin nightly extension.  The alygin.vscode-tlaplus* will be deprecated sometime soon as per https://github.com/tlaplus/vscode-tlaplus/issues/318.

@lemmy Thanks for the advice. Is there a plan to fix the issue above in TLA+ Foundation? The only way to have that Action in Coverage is having to flip between TLA+ Foundation and Alygin which is not ideal.

At end of this week I can try to take a look at this bug

I cannot reproduce this issue locally:

@chris-ortiz-wdc Can you share your spec?

@lemmy You can try this one. This also shows the same thing.
 *)
Terminating == pc = "Done" /\ UNCHANGED vars
Next == Lbl_1 / Lbl_2 / Lbl_3
/ Terminating
Spec == Init /\ [][Next]_vars
Termination == <>(pc = "Done")
* END TRANSLATION

Again, it works on my machine™, suggesting that this could be a Windows issue?!

I was able to reproduce it in windows with both the new extension and the nightly


New devices not showing up

I installed the integration through HACS several months ago with a H605C TV Backlight.  Everything has worked perfectly.  I recently got two new LED Strip lights (H617A and H6139) and no matter what I try, I cannot get the two new ones to show up in Home Assistant.  I've tried getting new API key's, uninstalling and completely removing the integration and reinstalling, but nothing seems to work.  Any ideas?

Same for me

Same Here, I have 5 sets of the H617A strips running, and I've tried everything as well. I need a little help in the debugging process for this. The App registers the strips with no issue; they work perfectly. Home Assistant integrations are not showing anything with the API setup. And the API key is less than a week old. Thanks in advance for some seasoned user support.

Same issue here.

Same here, my H613B not showing up

I have a new tower fan and it is also not showing up.

Same here, I bought a H5179 and it does not show up in HA even though I entered the API Key.

Same here, I bought a H5179 and it does not show up in HA even though I entered the API Key.

Same here, H5179 not being added as a new device.

Same here, I bought a H5179 and it does not show up in HA even though I entered the API Key.

Same here, H5179 not being added as a new device.

Same for me. Did you find any solution in the meantime?

Same here, I bought a H5179 and it does not show up in HA even though I entered the API Key.

Same here, H5179 not being added as a new device.

Same for me. Did you find any solution in the meantime?

Sort of.  I bought a plug and their thermostat so I could use HA to turn a cooler on/off that's in one of my rooms.  Although I would prefer to keep all of my automation in HA, the govee app does have the built-in ability to run "Automations," so that's what I did.  Actually works quite well, and will run even without HA running or internet.

Unfortunately those models are currently not supported according to the Govee developer documentation. See link below.
Govee supported devices

Hello guys, check this, it works for me :
https://github.com/LaggAt/hacs-govee/issues/146#issuecomment-1883118476


Implement local auths

This looks good to me, but I'd prefer to leave it to @emileswarts to tick as he left comments originally.


IaaS SQL Servers only use premium disks

Check that IaaS SQL VMs only use premium disk.

Still relevant to this day.
Should we opt for premium on only data disks, or os disk as well?
At last, premium ssd v2 is suited for sql server in general, but currently it has so many obscur limitations so i dont think its a really good idea to recommend this to customers, so fail on premium ssd v2 as well even if the customer has configured it?

@BernieWhite

@bengeset96 The original thought was related to performance efficiency. I think if a customer uses Premium, Premium V2 or ultra-disks that addresses the rule. A recommendation to the premium SSD or greater is enough.

@BernieWhite
I'm also wondering if we should target Microsoft.Compute/virtualMachines and focus on the publisher MicrosoftSQLServer, but that is probably not safe enough to assume Microsoft.SqlVirtualMachine/sqlVirtualMachines.
Perhaps there is a way in PSRule to get both resources onto the pipeline in the same TargetObject?

Targeting by publisher is probably the best. It's not really possible to see both related objects.

@BernieWhite
Sounds great. This means that we will be able to test osDisk and dataDisks defined within storageProfile.
We wont be able to target disks from Microsoft.Compute/disks or Microsoft.Storage/storageAccounts I assume since there is nothing here that gives us the information we're seeking, but that option is most likely not so widely used for this scenario.


imgui example not working

PS C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction> conan install . --build=missing

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows

======== Computing dependency graph ========
Graph root
    conanfile.py: C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction\conanfile.py
Requirements
    glew/2.2.0#e5519ddcf52267be816b50d3dfa14a23 - Cache
    glfw/3.3.8#54540ba4627e939dd76f098dc36b65d0 - Cache
    glu/system#ee50fc2ade0e1c0c8ebb3be3ea60e0f5 - Cache
    imgui/1.89.4#bf3c9fee25b5bc510e85bf1d2ad055e6 - Cache
    opengl/system#b29589c04d6df84c110d6acb066ab653 - Cache

======== Computing necessary packages ========
Requirements
    glew/2.2.0#e5519ddcf52267be816b50d3dfa14a23:bb9c81224eec59d1d72d5c025be722a58d99a2b9#29ed16a187951035e626f78e9f9414bb - Cache
    glfw/3.3.8#54540ba4627e939dd76f098dc36b65d0:297149c43b562095879d245f61d9b2e590276ce7#5db24ce2010329d6ff349f0f2ef9e7ba - Cache
    glu/system#ee50fc2ade0e1c0c8ebb3be3ea60e0f5:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache
    imgui/1.89.4#bf3c9fee25b5bc510e85bf1d2ad055e6:9bdee485ef71c14ac5f8a657202632bdb8b4482b#a3530a24b9d7abf0ebf391e5f8b60147 - Cache
    opengl/system#b29589c04d6df84c110d6acb066ab653:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache

======== Installing packages ========
imgui/1.89.4: Already installed! (1 of 5)
imgui/1.89.4: Appending PATH env var with : C:\Users\FreePhoenix\.conan2\p\imgui78b286530a4a8\p\bin
opengl/system: Already installed! (2 of 5)
glfw/3.3.8: Already installed! (3 of 5)
glu/system: Already installed! (4 of 5)
glew/2.2.0: Already installed! (5 of 5)
WARN: deprecated: Usage of deprecated Conan 1.X features that will be removed in Conan 2.X:
WARN: deprecated:     'env_info' used in: imgui/1.89.4
WARN: deprecated:     'cpp_info.filenames' used in: opengl/system, glew/2.2.0, glfw/3.3.8
WARN: deprecated:     'cpp_info.names' used in: glew/2.2.0, glfw/3.3.8
WARN: deprecated:     'cpp_info.build_modules' used in: glfw/3.3.8

======== Finalizing install (deploy, generators) ========
conanfile.py: Writing generators to C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction\build\generators
conanfile.py: Generator 'CMakeDeps' calling 'generate()'
conanfile.py: CMakeDeps necessary find_package() and targets for your CMakeLists.txt
    find_package(imgui)
    find_package(glfw3)
    find_package(glew)
    target_link_libraries(... imgui::imgui glfw GLEW::GLEW)
conanfile.py: Generator 'CMakeToolchain' calling 'generate()'
conanfile.py: CMakeToolchain generated: conan_toolchain.cmake
conanfile.py: Preset 'conan-default' added to CMakePresets.json. Invoke it manually using 'cmake --preset conan-default' if using CMake>=3.23
conanfile.py: If your CMake version is not compatible with CMakePresets (<3.23) call cmake like: 'cmake <path> -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW'
conanfile.py: CMakeToolchain generated: CMakePresets.json
conanfile.py: CMakeToolchain generated: ..\..\CMakeUserPresets.json
conanfile.py: Calling generate()
conanfile.py: Generators folder: C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction\build\generators
conanfile.py: Generating aggregated env files
conanfile.py: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
Install finished successfully
PS C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction> cmake --preset conan-default
Preset CMake variables:

  CMAKE_POLICY_DEFAULT_CMP0091="NEW"
  CMAKE_TOOLCHAIN_FILE:FILEPATH="C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction\build\generators\conan_toolchain.cmake"

-- Using Conan toolchain: C:/Users/FreePhoenix/Documents/Programming/examples2/examples/libraries/imgui/introduction/build/generators/conan_toolchain.cmake
-- Conan toolchain: CMAKE_GENERATOR_TOOLSET=v143
-- Conan toolchain: C++ Standard 14 with extensions OFF
-- The CXX compiler identification is MSVC 19.38.33133.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Conan: Target declared 'imgui::imgui'
-- Conan: Target declared 'glfw'
-- Conan: Target declared 'opengl::opengl'
-- Conan: Component target declared 'GLEW::glew_s'
-- Conan: Target declared 'GLEW::GLEW'
-- Conan: Target declared 'glu::glu'
-- Configuring done (3.5s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Users/FreePhoenix/Documents/Programming/examples2/examples/libraries/imgui/introduction/build
PS C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction> cmake --build --preset conan-release
MSBuild version 17.8.3+195e7f5a3 for .NET Framework

  1>Checking Build System
  Building Custom Rule C:/Users/FreePhoenix/Documents/Programming/examples2/examples/libraries/imgui/introduction/CMakeLists.txt
  main.cpp
  opengl_shader.cpp
  file_manager.cpp
  imgui_impl_glfw.cpp
  imgui_impl_opengl3.cpp
  dear-imgui-conan.vcxproj -> C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction\build\Release\dear-imgu
  i-conan.exe
  Building Custom Rule C:/Users/FreePhoenix/Documents/Programming/examples2/examples/libraries/imgui/introduction/CMakeLists.txt
PS C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction> cd build\Release
PS C:\Users\FreePhoenix\Documents\Programming\examples2\examples\libraries\imgui\introduction\build\Release> .\dear-imgui-conan.exe
Error reading Shader File!
Error reading Shader File!
Error Linking Shader Program:
Vertex info
-----------
(0) : error C5145: must write to gl_Position

Hi @FreePhoenix888
Thanks for your report and details to reproduce.
I have managed to do all steps, in Windows, and the application builds succesfully and I can run it.
A GUI window opens up and shows the controls and the logo, but not the colored triangle.
It also prints to terminal:
Error reading Shader File!
Error reading Shader File!
Error compiling Vertex Shader:

Error compiling Fragment Shader:

Error Linking Shader Program:

Quick question: is the GUI window opening in your case, or crashing and opening to fail? Do you see anything at all?

Ok, the issue in my case seems to be that the assets (the shaders) are not in the right location.
Copying them from the assets folder into the build\Release folder besides the built executable, and launching again the executable makes it work.

@Konard, you seeing the same issue? Can you please check if it is the shaders file location?

Hi @FreePhoenix888
Thanks for your report and details to reproduce.
I have managed to do all steps, in Windows, and the application builds succesfully and I can run it.
A GUI window opens up and shows the controls and the logo, but not the colored triangle.
It also prints to terminal:
Error reading Shader File!
Error reading Shader File!
Error compiling Vertex Shader:

Error compiling Fragment Shader:

Error Linking Shader Program:

Quick question: is the GUI window opening in your case, or crashing and opening to fail? Do you see anything at all?

I see empty white window with default window controls on the top and after error it closes itself

Ok, the issue in my case seems to be that the assets (the shaders) are not in the right location.
Copying them from the assets folder into the build\Release folder besides the built executable, and launching again the executable makes it work.

Thank you I will try it later

Hi @FreePhoenix888,
Thanks for reporting. I opened a PR that should fix it: https://github.com/conan-io/examples2/pull/129

https://github.com/conan-io/examples2/pull/129 has fixed this issue, but please re-open or create a new ticket if there is any further issue.


SMS Channel NewLine processing inconsistent with other channels

The SMS channel requires a blank line to cause an end of line.  This is inconsistent with other channels and prevents a general purpose messages from working across multiple channels.
public static IMessageActivity BuildNewLineBug(ITurnContext turnContext, bool addLine)
{
    var text = new StringBuilder();

    text.AppendLine("Line 1");
    text.AppendLine("Line 2");
    text.AppendLine("Line 3");
    text.AppendLine("");
    text.AppendLine("Line 5 (4 was blank)");

    var response = turnContext.Activity.CreateReply(text.ToString());
    return response;
}

SMS screenshot - notice no line breaks after line 1 and line 2.  Line break after Line 3 is caused by an additional blank line.

Emulator Output

WebChat output

I can confirm that this is a bug and will forward this for resolution.
You can probably see that it did create a new line. Line 3 was separated by line 4, but unlike web chat and emulator, it does not put each AppendLine line on its own line, almost like the first \n (or whatever is used at the end of each line) is ignored by the Twilio channel.
If you need an immediate fix, you can get the user's channel and append an extra line to each line if they are using an SMS channel. Until then, this should be considered a bug.
For reference:
Twilio Line Break docs
Tests
Twilio

Web Chat

How each message was created
Note: I changed the window size on my Twilio client to confirm whether or not a line break worked at all.
slash n: text.AppendLine("\n"); -- Works in Twilio, not Web
nbsp: text.AppendLine(" "); -- Works in Web, not Twilio
percent 0 a: text.AppendLine("%0a"); -- Doesn't work
empty parens: text.AppendLine(); -- Works in Twilio, not in Web
blank string: text.AppendLine(""); -- Works in Twilio and web
blank string with space: text.AppendLine(" "); -- Works in Twilio and web

Is there any update on this?

@mdrichardson "...If you need an immediate fix, you can get the user's channel and append an extra line to each line if they are using an SMS channel. Until then, this should be considered a bug."
@jameslew , can you confirm this has been triaged and added to the service backlog?

Thanks for the report. I've added it to our internal backlog for prioritzation and will close this one.  If the issue changes or otherwise, let us know!

The SMS channel defaults to TextFormat='markdown' which is likely what's causing the differences in display.  Please try setting TextFormat='plain' and see if that helps.


Switch to pykube-ng to handle arbitrary resources (pods, jobs, etc)

WORK IN PROGRESS: the code is functional, but needs some cleanup & docs.

Issue : closes #15, closes #84, related #97 (docs).

Description
Switch the internal K8s client library from the official library kubernetes to pykube-ng.
This simplifies handling of arbitrary resource types, such as pods, jobs, etc — for any handlers: both regular handlers (@kopf.on.create/update/delete/resume), and spy-handles (@kopf.on.event).
The previous Kubernetes client library is supported optionally: if present, it will be auto-logged in, to keep compatibility with the previous behaviour. Otherwise, it is ignored. And it is not used anywhere. It will be removed from 1.0 release.
Types of Changes

New feature (non-breaking change which adds functionality)
Refactor/improvements

PLEASE NOTE: The K8s client library used inside of Kopf is Kopf's internal implementation detail. Only the native data structures (dicts, lists, etc) are exposed from the framework to the operator and accepted back. The operators MUST NOT rely on how Kopf talks to the K8s APIs. It can be requests/requests-async in the future (just as an example). The only dependency is auto-login — to be removed with #59 (the operators must explicitly authenticate themselves; now they can do this on the module-level code only).
Todos

[ ] Add and examples, revert examples 01/02 to what they were initially.
[ ] Extend the docs to point that arbitrary resources are supported.
[ ] Ensure it works in all cases with all features and nothing is broken (a real test-drive for 1-2 weeks).

Review
List of tasks the reviewer must do to review the PR

[ ] Tests
[ ] Documentation

I tried this PR locally on K3s and i was having connectivity problems.
For those who want to try it on k3s locally (fedora), please go to the following k3s issue: https://github.com/rancher/k3s/issues/24
Thanks @nolar for your support!

All pre-requisites are now in master. This branch is rebased on top of master, with few fixes here & there. The implementation is mainly the same.
Ready for review — to be released as a pre-release version (presumably 0.19rc1), and to be tested in our own apps before going to the public release.

@nolar I created a PR to move reasonable changes upstream to pykube-ng: https://github.com/hjacobs/pykube/pull/29

Codecov Report

Merging #110 into master will decrease coverage by 0.02%.
The diff coverage is 86.04%.

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
- Coverage   83.81%   83.78%   -0.03%
==========================================
  Files          29       30       +1
  Lines        1433     1554     +121
  Branches      211      226      +15
==========================================
+ Hits         1201     1302     +101
- Misses        194      208      +14
- Partials       38       44       +6

Flag
Coverage Δ

#unit
83.78% <86.04%> (-0.03%)
:arrow_down:

Impacted Files
Coverage Δ

kopf/engines/peering.py
28.34% <0%> (+0.56%)
:arrow_up:

kopf/config.py
91.8% <100%> (+0.89%)
:arrow_up:

kopf/reactor/registries.py
90% <100%> (+0.79%)
:arrow_up:

kopf/clients/events.py
84.84% <100%> (+0.47%)
:arrow_up:

kopf/cli.py
87.5% <100%> (+1.53%)
:arrow_up:

kopf/clients/patching.py
100% <100%> (ø)
:arrow_up:

kopf/clients/watching.py
91.66% <66.66%> (-4.17%)
:arrow_down:

kopf/clients/fetching.py
82.97% <78.37%> (-17.03%)
:arrow_down:

kopf/clients/classes.py
84.61% <84.61%> (ø)

kopf/clients/auth.py
86.84% <85%> (+3.5%)
:arrow_up:

... and 5 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 755d36c...495744b. Read the comment docs.

@thilp @hjacobs All issues are addressed (I think). Can be re-reviewed. Please, comment/highlight again if I missed something.

Released as kopf==0.19rc1.
Note: it is a pre-release, so it requires either pip install --pre kopf, or explicit version pinning: pip install kopf==0.19.rc1.


Hyperpixel conflict?

First time I've done this, I've a Hyperpixel and Lipo shim but the Hyperpixel stops functioning with cleanshutd enabled. I'm assuming this is a conflict at BCM 2,3,4 or 14?
The Hyperpixel works up to the splash screen then goes blank.

https://pinout.xyz/pinout/hyperpixel
https://pinout.xyz/pinout/zero_lipo
Looks like Zero LiPo shares its Battery Low pin with BCM4. Presumably the "goes blank" you describe is the Pi simply shutting down because when the splash comes up- which possibly has blue in it? - BCM4 is asserted and the shutdown script issues a shutdown.
It's impossible to use any other HAT or pHAT with HyperPixel directly. You must use the software i2c bus (on BCM10 and 11) to drive an IO expander which in turn talks to external devices. A non-trivial endeavour!

Awesome I'd assumed that was what was happening, good to know I can still add i2c device to those pins, I'll post a workaround if I get it figured.
Guess I best start reading through the source!


Point to latest release

Shouldn't the download link in the readme curl command point to the latest release?

Feel free to change the link

Sure, but I'm wondering why it's apparently recommended to use an outdated installer image? Why not have the readme point to latest instead? Or did you mean to imply I should make a pull request to change that?

Yes. Please make a pull request. We are pointing to the unstable installer right now, no?

Yes. The one from this release


Replace '@' prefix in map name with 'AT_' when creating map

When calling the API function to create the map, e.g., bcc_create_map,
replace the '@' prefix, if it exists, with the string 'AT_'. Otherwise,
map creation with the name fails, and (e.g.,) BCC falls back to
creating the map without a name.
Closes: #1752
Checklist

[ ] Language changes are updated in docs/reference_guide.md
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[ ] The new behaviour is covered by tests

Thanks for the review. I went ahead and passed map.cpp via clang-format, since I didn't want to guess the exact formatting.


[Update] Samples build v200.0.0-beta+1

Description
Updated and tested 23 of the selected samples here to use build v200.0.0-beta+1.
Checklist:

[ ] Set target branch to main (current release) or v.next (next release)
[ ] Request a reviewer
[ ] Assign a reviewer
[ ] Tag reviewer in comment

@Luiy0 I just tested all the URLs and there are a few broken ones in the table, could you fix these up? Not your doing, just didn't get tested til now.

Display Utility Associations - typo in associations
Change Atmosphere effect - URL says atmospheric - also the word in the table does do
Apply Mosaic rule to rasters - missing the "s" from the URL and also the word in the table
Add ENC exchange set - should be set not layer in both word and URL

Thanks!


gateway crash: "Can't read mesh DB"

After updating to 2.0, restarted GW and got some kind of bootloop:
2022-02-09 22:21:34  DEBUG    main          SysInfo: {'installation_type': 'Home Assistant OS', 'version': '2021.12.10', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.9.7', 'docker': True, 'arch': 'x86_64', 'timezone': 'Europe/Moscow', 'os_name': 'Linux', 'os_version': '5.10.91', 'user': 'root', 'supervisor': '2022.01.1', 'host_os': 'Home Assistant OS 7.2', 'docker_version': '20.10.9', 'chassis': 'vm'}
2022-02-09 22:22:02  DEBUG    base          <IP_ADDRESS> [BASE] Prepare gateway gw3 with firmware 1.5.0_0102
2022-02-09 22:22:02  DEBUG    base          <IP_ADDRESS> [BASE] Run public mosquitto
2022-02-09 22:22:05  DEBUG    base          <IP_ADDRESS> [BASE] 0x00158d00019d59db (0xa71f) setup zigbee WSDCGQ11LM (lumi.weather): temperature, humidity, battery, pressure, zigbee
2022-02-09 22:22:05  DEBUG    base          <IP_ADDRESS> [BASE] 0x00158d00058667b5 (0x0c5a) setup zigbee WSDCGQ11LM (lumi.weather): temperature, humidity, battery, pressure, zigbee
2022-02-09 22:22:18  DEBUG    base          <IP_ADDRESS> [BASE] Can't read mesh DB
2022-02-09 22:22:22  DEBUG    base          <IP_ADDRESS> [BASE] Stop all tasks
2022-02-09 22:22:22  DEBUG    base          <IP_ADDRESS> [BASE] Start main loop
2022-02-09 22:22:29  DEBUG    base          <IP_ADDRESS> [BASE] Can't prepare gateway
2022-02-09 22:22:32  DEBUG    base          <IP_ADDRESS> [BASE] Can't prepare gateway
2022-02-09 22:23:34  DEBUG    base          <IP_ADDRESS> [BASE] Can't prepare gateway
2022-02-09 22:23:43  WARNING  mini_miio     <IP_ADDRESS> | Device offline
2022-02-09 22:23:43  DEBUG    base          <IP_ADDRESS> [BASE] Can't enable telnet

You can run dump command from Gateway select entity and share this file here.

Gateway getting unavalible so fast, so i can't dump data.
It's rebooting in loop, and getting availible in short periods of time

@AlexxIT  I can connect direct via telnet, how should i dump data directly from GW?

Check latest release


Refresh XCSRF on Token Validation errors

Hi, I'm back :)
Since my last PR the amount of token validation errors I get has decreased, but they sadly haven't fully disappeared yet.

In this PR I implemented the refreshing of XCSRF tokens on Token Validation errors. It will attempt to execute a request a max amount of 5 times (customizable); the first time and then 4 retries. If after the 5th attempt it still errors, RESTResponse.process will throw the original error returned by the handlers.
I know about the other existing PR. My PR does, however, implement a max retries option and keeps the request/response handlers' typings unchanged (which seemed desirable).

With this mechanism the refresh interval becomes pretty much redundant

The situation in my group is quite concerning at times 😂:

Can you take a look at this and consider it/let me know what changes it could use?

Thanks! Let's hope this fixes the problem :)


Update Maintainers and Contributors file for overassigning issues

@kjaymiller I've implemented the requested changes, but I get a failing test when I run pytest. I've already pulled the latest changes from upstream. I think I understand the error message, but I'm struggling to find a solution, LOL. Please help. Thanks

I pulled down changes and I'm not running into that issue.
can you run pre-commit run -a?

@TimOsahenru  - There may have been a push recently so try another pull of changes.
I don't think any of that changed the _conferences section.

@kjaymiller I've implemented the requested changes, but I get a failing test when I run pytest. I've already pulled the latest changes from upstream. I think I understand the error message, but I'm struggling to find a solution, LOL. Please help. Thanks

I ran into a similar issue that I noticed doesn't happen when you do python -m pytest I wonder if there is a namespace thing that we're doing.

I've been worked on this bug, still no headway from my end. Previously, I've always ran our test case with python -m pytest. After this change https://github.com/BlackPythonDevs/blackpythondevs.github.io/commit/56e317bdd1228ee25ee0f801f928178e0590e29f I noticed that running either pytest or python -m pytest now causes almost all of our tests to fail

@TimOsahenru - I'm not sure as I can't replicate the issue.

@TimOsahenru - I'm not sure as I can't replicate the issue.

Certainly it's from my end then

Finally got the tests to pass by slapping anything to the wall, hoping something sticks:

Extending kill time by 20
Adding port number while spinning server
Turning off network 😂
Running command in CMD instead of my editor's terminal.
Just documenting this here in case anyone else runs into similar issues!

Wow that's a lot of things to get going but great troubleshooting. If you continue to have issues we need to look at our setup. There are a lot of things happening. Maybe we can simplify them somehow.

Wow that's a lot of things to get going but great troubleshooting. If you continue to have issues we need to look at our setup. There are a lot of things happening. Maybe we can simplify them somehow.

agreed


Always getting Missing or incorrectly formatted device token payload when calling query bits api.

Hi,
Could you write down what you've tried so far? What is your setup? etc.
I can't do anything with just this title.
Thanks.
Tim

I used the same setup given in the server, and I changed the team_id and key_id and certificate, even though I used the latest timestamp & device token.

Hey, I've got similar issue. It worked fine couple months ago, and from April sometimes (not always) I receive 'Missing or incorrectly formatted device token payload' ...
I use the same code from example, token in app is generated properly

@sayler8182 @rajithareddy79 Were you able to resolve this issue. facing the same issue.

In my case it turned out that these device token are very short lived (i.e are expired in 30 secs or less). Figured it out after a few tries and there wasn't anything mentioned around the inside the docs either


Fragments on a non-slice queries

I'm not sure if it's currently possible to do that and it's just a limitation of my knowledge in GraphQL, but I can't figure out how to create Fragments for non-slice queries.
I'm already using Fragments for slice components as documented in the docs, but I'd like to also use fragments for my article cards which I query multiple times across multiple pages, which means that I end up repeating myself.
This is what I've tried:
import { graphql } from 'gatsby';

export const query = graphql`
  fragment AcademyCard on PrismicAcademyPost {
    author {
      document {
        ... on PrismicPerson {
          id
          data {
            name
          }
        }
      }
    }
    authors {
      author_doc {
        document {
          ... on PrismicPerson {
            data {
              name
            }
          }
        }
      }
    }
  }
`;

then
    allPrismicAcademyPost(
      sort: { fields: data___published_date, order: DESC }
      filter: { data: { categories: { elemMatch: { category: { uid: { eq: $uid } } } } } }
    ) {
      nodes {
        id
        url
        data {
          ...AcademyCard
          published_date

...

However, I'm getting the following error message
There was an error in your GraphQL query:

Cannot query field "author" on type "PrismicAcademyPost".

I've tried several variations of this, but nothing seems to work.
Any help is appreciated!

Hey @kb1995, what you are doing is correct, except that the type name is incorrect.
fragment AcademyCard on PrismicAcademyPost {
  # ...fields...
}

The on PrismicAcademyPost part of that fragment means it can be used on PrismicAcademyPost nodes. This is the object that contains fields like id, uid, last_published_on, and data. It does not contain your content fields; those are in data.
Instead, you can update your fragment to the following:
fragment AcademyCard on PrismicAcademyPostDataType {
  # ...fields...
}

Note that PrismicAcademyPost is now PrismicAcademyPostDataType. This is the type that contains your document's content fields. You can confirm this by opening GraphiQL (http://localhost:8000/___graphql when your dev server is running) and looking at the type of PrismicAcademy's data field.
You can now use the fragment in a GraphQL query like this:
query {
  allPrismicAcademyPost(
    sort: { fields: data___published_date, order: DESC }
    filter: {
      data: { categories: { elemMatch: { category: { uid: { eq: $uid } } } } }
    }
  ) {
    nodes {
      id
      url
      data {
        ...AcademyCard
        published_date
      }
    }
  }
}

Hope that helps! If that didn't work, let me know and I'll try to figure out what went wrong. Thanks!


all: upgrade to<EMAIL_ADDRESS>

Looks like plugin.pb.go needs to be regenerated.

I'll do that after the v1.22.0 release is actually tagged. There's a sequence actions.


[Fix #7957] Fix Style/IfUnlessModifier to remain multiline if code after end keyword makes it too long

Fixes #7957.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Looks good. Thanks!


Deprecate storage.git.protocol and infer the protocol from storage.git.url's scheme

I think it's redundant to have to specify protocol and url separately; it allows you to set them to incompatible values. Also, go-git behaves badly when the scheme is omitted from the URL and falls back to loading from the local filesystem even if the protcol is not set to file.
We should infer the protocol from the URL scheme and reject values that do not have one of the supported schemes.
https://cerboscommunity.slack.com/archives/C02A364JYMQ/p1716470276123109

IIRC, the reason for splitting this up was due to the Go URL parser not being able to handle the SCP-style (user@gihub.com:org/repo.git) URLs. In fact, if you pass a URL like ssh://user@github.com:org/repo.git, go-git itself fails to handle it.
The protocol field also determines the additional auth config section to use (ssh or https). That's consistent with how our other configuration sections work (driver: foo indicates that foo section is active and so on).
So, instead of deprecating the protocol field, I think we can do a bit more validation instead. If the protocol is https or file, we can try to inject the scheme to URLs that are lacking it.


✘ [ERROR] Could not resolve "../base"

import { NekosAPI } from "nekosapi";
import { useState } from "react";
import "./App.css";
function App() {
console.log("as");
return <>hi</>;
}
export default App;
when i run dev server it gives
✘ [ERROR] Could not resolve "../base"

Hello! (sorry for the delay). This issue goes in this repository. If you're still having this issue you can report it there.


[docs] Issue about connecting to Grafana via Casdoor SSO like Role Mapping

There are problems with the documentation for integrating Grafana. https://casdoor.org/docs/integration/go/grafana Following the documentation does not configure successfully, and many additional configurations need to be added, which can be found in the Grafana official documentation.
After integration, the role cannot be mapped.
role_attribute_path
/etc/grafana/grafana.ini
[auth.generic_oauth]
role_attribute_path = contains(roles[], 'admin') && 'Admin' || contains(roles[], 'editor') && 'Editor' || 'Viewer'

https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/generic-oauth/#role-mapping
https://github.com/grafana/grafana/blob/main/conf/defaults.ini#L662

@hsluoyz
the JMESPath expression should be like this
role_attribute_path = contains(roles[*].name, 'admin') && 'Admin' || contains(roles[*].name, 'editor') && 'Editor' || 'Viewer'

i've created a PR in casdoor/casdoor-website.
i think this issue can be closed.

Fixed by: https://github.com/casdoor/casdoor-website/pull/447


Casting strings to numbers fails

Laravel-mongodb Version: 3.9.5
PHP Version: 8.2.6

Description:
Steps to reproduce

Define model with protected $casts array with casting to float and/or integer
Create new model instance with strings values
Save the model

Expected behaviour
Attributes should be casted
Actual behaviour
Attributes are stored as strings
Example
StockPrice.php
<?php

namespace App\Models;

use Jenssegers\Mongodb\Eloquent\Model;

class StockPrice extends Model
{
    protected $casts = [
        'date'   => 'datetime',
        'open'   => 'float',
        'high'   => 'float',
        'low'    => 'float',
        'close'  => 'float',
        'volume' => 'int',
    ];

    protected $fillable = [
        'symbol',
        'date',
        'open',
        'high',
        'low',
        'close',
        'volume',
    ];
}

Using artisan tinker for the test:
> use Carbon\Carbon
> $s = new StockPrice(['symbol' => 'A', 'date' => Carbon::now(), 'volume' => '103434', 'open' => '2.3']);
[!] Aliasing 'StockPrice' to 'App\Models\StockPrice' for this Tinker session.
= App\Models\StockPrice {#6164
    symbol: "A",
    date: MongoDB\BSON\UTCDateTime {#6183
      +"milliseconds": "1686885329504",
    },
    volume: "103434",
    open: "2.3",
  }

> $s->save()
= true

> $s->refresh()
= App\Models\StockPrice {#6164
    _id: MongoDB\BSON\ObjectId {#7129
      +"oid": "648bd3d4a4e639a4a9068ca2",
    },
    symbol: "A",
    date: MongoDB\BSON\UTCDateTime {#7131
      +"milliseconds": "1686885329504",
    },
    volume: "103434",
    open: "2.3",
    updated_at: MongoDB\BSON\UTCDateTime {#7132
      +"milliseconds": "1686885332392",
    },
    created_at: MongoDB\BSON\UTCDateTime {#7133
      +"milliseconds": "1686885332392",
    },
  }

And, querying the DB using the shell:
[
  {
    _id: ObjectId("648bd3d4a4e639a4a9068ca2"),
    symbol: 'A',
    date: ISODate("2023-06-16T03:15:29.504Z"),
    volume: '103434',
    open: '2.3',
    updated_at: ISODate("2023-06-16T03:15:32.392Z"),
    created_at: ISODate("2023-06-16T03:15:32.392Z")
  }
]

What am I missing?

If I understand casts directly, a float cast for an attribute will mean that the attribute will be cast to float when read from the database, ensuring that the model type is consistent. However, when filling data attributes aren't cast - at least that's what I was able to deduce from looking at the model.
What happens when you do the same in a class extending from the default Eloquent Model instead of the MongoDB model from this library?

@alcaeus thanks you are totally correct
https://laravel.com/docs/10.x/eloquent-mutators#attribute-casting

After defining the cast, the is_admin attribute will always be cast to a boolean when you access it, even if the underlying value is stored in the database as an integer


HDDS-11139. Avoid unnecessary object creation in OM request validator

What changes were proposed in this pull request?

Avoid unnecessary conversion to/from builder in RequestValidations.
Create defaultValue only if needed in ValidatorRegistry, and replace logic with computeIfAbsent.
MethodAnnotationsScanner is deprecated, replace as suggested in javadoc.

https://issues.apache.org/jira/browse/HDDS-11139
How was this patch tested?
CI:
https://github.com/adoroszlai/ozone/actions/runs/9880192900

Thanks @errose28, @fapifta for the review.


Want to use this as a base for next version of Rumonade

Hi @tcrayford, thanks for this great library. I like the design choices that you made here.
I'd like to use Values as a basis for a re-writing of the Rumonade gem. However, before doing so there's a series of changes I'd like to propose and discuss with you, before submitting all the PRs:

[x] Fix zero-field Value class edge case (#23)
[x] Fix Gemfile.lock issue (#22)
[x] Add a #with method to support hash value replacement (#24)
[x] Add a #to_h method to support conversion to Hash like OpenStruct (#27)
[x] Add Travis CI and badge (#28)
[x] Add CodeCov.io and badge (#29, #36 )
[x] Add gem version badge (#30)
[x] Document with YARD and add a rubydoc.info link to docs (#38)
[x] Document that it also replaces OpenStruct (via #with and #to_h) (#39)
[x] Release a new major version including all above changes (#40)
[ ] On supported Ruby versions (2+), use keyword args in .with and #with
[ ] Add support for default and required values in .with
[ ] Release a new major version including above features

Thanks again for this library and your time. My only interest in making these changes is to get the library to the point where I can use it as the basis for all immutable types in next version of Rumonade :)
(this issue edited to reflect discussion)

Ping?

@tcrayford ping on releasing 1.8.0?

released!

:clap:

@tcrayford :cake: :beer:

@tcrayford I am going to close this, as I think any support for Ruby 2+ keyword args is a minor change and not worth keeping this issue open.


Add new sub-section about using pipes in component

Add example of using custom pipe programmatically in a component method

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


cacheing transformed mapping files

Since the initial transformation of the xgmml mapping files takes ~20 seconds and will rarely change (once a year?), I wonder if it's worthwhile saving the transformed data as a new file that can be read more quickly per run.

By "caching", do you mean serializing the in-memory networkx data structure?

Yes, serializing whatever data structure is easier/faster to read and put back in memory. I'm assuming here that part of the time (more like 20-40 seconds) is in data transformation and perhaps even intermediate data structures.
If there isn't a serialized form of the data that would be read faster, then this is a bad idea and can be ignored :)

We could write out as pickle:
http://networkx.github.io/documentation/latest/reference/generated/networkx.readwrite.gpickle.write_gpickle.html


Renaming layers from inspector

Proposal implemented
Fixes #57364 (using project_settings_changed signal)
This closes https://github.com/godotengine/godot-proposals/issues/3275
Right click on a layer brings a Popmenu to rename this layer.
Click this menu opens a ConfirmDialog with the current name, allowing to change it (layer index is shown in the title)
When confirming the rename, tooltips, name list in inspector and project properties are updated with the new layer name.

About the file changes
As it grows with my modification, I moved the EditorPropertyLayersGrid class declaration in editor_properties.h (the class was defined and implemented in the cpp file). That's why Github seems to find more modification that I've really done.
The noticeable changes are :

adding two callback function in EditorPropertyLayersGrid : _rename_pressed() and _rename_operation_confirm()
https://github.com/godotengine/godot/blob/100bd36237b92929ffd562f5bc691967d80fd463/editor/editor_properties.cpp#L733-L757
handling the right click event in EditorPropertyLayersGrid::gui_input() to trigger the popup.
https://github.com/godotengine/godot/blob/100bd36237b92929ffd562f5bc691967d80fd463/editor/editor_properties.cpp#L857-L864
add a method to rename a layer : EditorPropertyLayers::set_layer_name
https://github.com/godotengine/godot/blob/100bd36237b92929ffd562f5bc691967d80fd463/editor/editor_properties.cpp#L1095-L1100
using a signal to communicate from EditorPropertyLayersGrid to its grand-parent EditorPropertyLayers

Please use a better commit message than that 🙃

As the conflicted changes with master since 2 month (last rebase) was quite awful to manage, I completely rewrite the changes from the current master.
As it grows with my modification, I moved the EditorPropertyLayersGrid class declaration in editor_properties.h (the class was defined and implemented in the cpp file). That's why git seems to find more modification that I've really done.
@akien-mga Maybe, i should keep declaration of EditorPropertyLayersGrid in the cpp file so my real changes will be easier to review.
Then, we could move class declaration in .h in a second time (or not).

Thanks!


Not every requests is found in case some special chars or ending

Examples, where Servant could not find the song from the DB according to an RSPL request:
Guns N' Roses - Don`t Cry (Tonight)
Swallow The Sun - Swallow (Horror pt.1)
Depresszió - Itt Az Én Időm
Nirvana/Sungha Jung - Come As You Are
Probably the remove/replace all special chars code has a bug.
string_utils::remove_special_chars method probably.
Please make a test too!

I can not change this issue status!

I added you to the projects. Now it should work!

It works, thank you!

Added some examples in the description!

In case, the name had a special char at the very end in the name, an extra space were added to the end of the normalised string, like:

input: "Guns N' Roses - Don`t Cry (Tonight)"
old result: "Guns N Roses Don t Cry Tonight "

This caused, that the compaire did not worked, so the requested song's file was not found.
New result: "Guns N Roses Don t Cry Tonight"


Bitcoin Price Prediction Web App

Issue Title: Bitcoin Price Prediction Web App
Issue no: #217
Description: Developed a Web App that predicts the price of bitcoin with 99% accuracy.
Link to WebApp: WebApp Link here
GSSOC'22 Participant

@tandrimasingha Great work, But Please add HTML and  CSS file as well and add Some information about cloud used for Model Deployment in the readme.md file with some snapshots of your results...
Additional (you can igone it) : - ->And your model is overfitted that's why it is showing 99 % accuracy..

@tandrimasingha Great work, But Please add HTML and  CSS file as well and add Some information about cloud used for Model Deployment in the readme.md file with some snapshots of your results...
Additional (you can igone it) : - ->And your model is overfitted that's why it is showing 99 % accuracy..

Thank you sir , I will add some pictures of my web app but Sir I didnot use HTML and CSS rather I used only streamLit Share to deploy my model...

Thank you sir , I will add some pictures of my web app but Sir I didnot use HTML and CSS rather I used only streamLit Share to deploy my model...

Then Write something about streamlit share ...

@Niketkumardheeryan Sir, I have made the changes required. Please merge it .

Thank you sir , I will add some pictures of my web app but Sir I didnot use HTML and CSS rather I used only streamLit Share to deploy my model...

Then Write something about streamlit share ...

@Niketkumardheeryan Sir, I have added info about streamlit share. I hope its okay now.


Add Hook Class: hookRunInThisContext

I need this hook to my project nsmockup.
I am using vm.runInThisContext to import my JS files in node.js
var fs = require('fs'),
    vm = require('vm'),
    vmInclude = function(code, path) {
        vm.runInThisContext(code, path);
    },
    vmAddFile = function(path) {
        vmInclude(fs.readFileSync(path), path);
    };

I can't use require in this project :(

Can you explain more the "why" of this requirement?

That being said, I won't have an issue merging the PR. It's part of the istanbul API, so it just make sense we expose it here too.
I'm just curious about the context of this requirement.

Because in my project I can not use the require('') ... I'm making this API to simplify test automation in Netsuite ERP system.
So I have to respect the Netsuite ERP system conditions ... and so I need to include my scripts in VM.


Update to Broccoli's new .rebuild API

See https://github.com/broccolijs/broccoli-funnel/pull/21 for an example using broccoli-read-compat package.

I'll be working on this next


Optimize Parse+Describe with TCP Pipelining

Second attempt, there I managed to get all the test green locally.
Goal of the PR is to fuse the Parse and the Describe step into one to optimize network exchange.
Despite this being not a very critical workflow, this exchange is simple enough to do a PoC on the concept.
Before:
Parse -> Flush -> await ParseComplete -> Describe -> Flush -> await ParamDesc -> await RowDesc
After:
Parse -> Describe -> Flush -> await ParseComplete -> await ParamDesc -> await RowDesc
This ensure an optimal usage of the socket and should reduce latencies.

Codecov Report
Attention: Patch coverage is 93.10345% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 84.07%. Comparing base (4f40fc9) to head (3a462c8).

Files
Patch %
Lines

...ed/src/main/scala/net/protocol/ParseDescribe.scala
89.47%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1059      +/-   ##
==========================================
- Coverage   84.13%   84.07%   -0.07%
==========================================
  Files         136      137       +1
  Lines        2099     2103       +4
  Branches      238      248      +10
==========================================
+ Hits         1766     1768       +2
- Misses        333      335       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks!


Bug: Cannot fetch binary secrets

Expected Behaviour
parameters.get_secret should fetch the secret and return it as a base64 decoded string.
Current Behaviour
Throws GetParameterError. It seems it is trying to get the "SecretString" key instead of "SecretBinary" when passing transform="binary"
Traceback (most recent call last):
  File "/home/mang/dev/Automation-Delivery/.venv/wb-env/lib/python3.8/site-packages/aws_lambda_powertools/utilities/parameters/base.py", line 128, in get
    value = self._get(name, **sdk_options)
  File "/home/mang/dev/Automation-Delivery/.venv/wb-env/lib/python3.8/site-packages/aws_lambda_powertools/utilities/parameters/secrets.py", line 99, in _get
    return self.client.get_secret_value(**sdk_options)["SecretString"]
KeyError: 'SecretString'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lambda_secrets.py", line 27, in <module>
    print(get("TestBinary"))
  File "lambda_secrets.py", line 22, in get
    secret = parameters.get_secret(name, transform=secret_type)
  File "/home/mang/dev/Automation-Delivery/.venv/wb-env/lib/python3.8/site-packages/aws_lambda_powertools/utilities/parameters/secrets.py", line 164, in get_secret
    return DEFAULT_PROVIDERS["secrets"].get(
  File "/home/mang/dev/Automation-Delivery/.venv/wb-env/lib/python3.8/site-packages/aws_lambda_powertools/utilities/parameters/base.py", line 131, in get
    raise GetParameterError(str(exc))
aws_lambda_powertools.utilities.parameters.exceptions.GetParameterError: 'SecretString'

Code snippet
Check that secret exists.

$ aws secretsmanager get-secret-value --secret-id TestBinary
{
    "ARN": "arn:aws:secretsmanager:us-east-1:031105607515:secret:TestBinary-lTpJMU",
    "Name": "TestBinary",
    "VersionId": "7fc877c7-08af-4feb-adc9-abe3cbbf1103",
    "SecretBinary": "YmluYXJ5IHRlc3Q=",
    "VersionStages": [
        "AWSCURRENT"
    ],
    "CreatedDate": "2022-11-14T14:18:25.723000-05:00"
}

Try to fetch the secret in Python

parameters.get_secret("TestBinary", transform="binary")

Possible Solution
No response
Steps to Reproduce
see the code snippet above.
AWS Lambda Powertools for Python version
latest
AWS Lambda function runtime
3.9
Packaging format used
PyPi
Debugging logs
No response

Thank you so much for flagging this @mangoes-git - our fault here for only accounting for String secrets, not Binary, as the response is different.
What "transform='binary'" does is taking the value and decoding from base64 to bytes.
If you'd like to contribute a bugfix, I can review and make any necessary amendments tomorrow morning (Amsterdam time).
Otherwise I can read the docs tomorrow and make sure it's ready for our release this week.
Thank you!!


chore: add code cov config file

Explanation
Add code cov config file.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 18.45%. Comparing base (3fccfd8) to head (0aeac57).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #220      +/-   ##
==========================================
+ Coverage   17.30%   18.45%   +1.14%
==========================================
  Files          30       28       -2
  Lines         965      878      -87
==========================================
- Hits          167      162       -5
+ Misses        769      687      -82
  Partials       29       29

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Replicate thread deadlock behavior in Node loader

Replicates thread deadlock behavior in Node loader. As described in #499.

Will merge once the test passes and the patch is done.

I close this issue in favor of #502.


Add nexus-IQ scan to egeria UI

Currently our code is scanned for license adherence & CVEs. One tool used for this is nexus IQ
This egeria-ui project should be added to Nexis IQ

We have some checks in place through github actions - with most focus switched there I'm going to suggest we close this for now, but as part of ongoing security reviews we should discuss the status of our current checks across all of our repos


WIP: Align role

Trello card URL
Changes in this PR:

Is there anything specific you want feedback on?

Screenshots of UI changes:
Before
After
Next steps:

[ ] Terraform deployment required?

[ ] New development configuration to be shared?

@KyleMacPherson a hotfix has been implemented to resolve the  issue. Please rebase and rerun. Let me know if you encounter any other issues


Error when starting pre-built mongo on meteor <IP_ADDRESS>+ (Raspian)

This depends on the Raspberry image because it did not provide a correct locale by default.

You get an error like:

In that case just update and set your locales e.g. to `en_US.UTF-8` by running:
sudo raspi-config

and update your locales settings

Reboot your system afterwards:
sudo reboot

Now you should be able to run your meteor and starting the bundled mongo without any issues.
I will provide some documentation on that soon on our tumblr blog.
Cheers
Tom

Shouldn't this go into troubleshooting in the README?

Hi @ibu2004
You are right, but I hadn't the time yet - I just documented this here as an issue.
I will make a reference in the README until I make the final documentation
Thanks,
Tom

I updated the README.md

Worked! Note that selecting a locale for generation is done with the spacebar, then proceeding to the next screen is done with enter.

Hi Josh ( @archonic )
thanks for your hint, I have updated the text above.
Cheers
Tom


release 1.2.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

(waiting for cylc-flow 8.1.0 to become available before re-running tests)

Dependencies look OK. Waiting for tests.


(Sloan) Implement Orchestration Refactor [placeholder]

This is just a placeholder epic. We have enough info to flesh out the real epics.


amplitude-js there is no way to pass the insert_id parameter

I use "amplitude-js": "^7.4.3". Using this version, I found that it is not possible to pass the "insert_id" parameter, but it is described in the HTTP API V2 and you recommend passing it!! How to pass this parameter?

To be clear this is an issue filed for the Browser-based Javascript SDK and not the server-side Node SDK?
We didn't have optioning on that SDK for insert ID - instead, we will generate a UUID for each logEvent so that it's always attached and has a unique identifier in accordances with the HTTP v2.

Yes, this is an issue filled for the Browser-based Javascript SDK. Because i want to use "insert_id" parameter so that when the event is re-sent so that it is displayed only once in amplitude per day

@dulikmixail sorry for the late response here!
When you say "event is resent", do you mean you are considering when events fail (ex. network offline) and need to be tried again or do you mean that your implementation may call logEvent twice with logically the same event and you want to pass your own insert_id ?

hey kelvin, so are you saying there is no insert_ID property for the javascript SDK? i'm wondering if this is the case as well for the typescript SDK.


add metadata-migration for new version 2.5.1

There is a new MWAA version 2.5.1 available as announced on April 11th, see also MWAA versions.
It would be helpful to have adapted migration DAGs, ideally

2.2.2 -> 2.5.1 (my team is still with v2.2.2)
2.4.3 -> 2.5.1

We have just completed a migration from 2.2.2 to 2.5.1 using slightly modified scripts from the 2.2.2 to 2.4.3 directory:
https://github.com/aws-samples/amazon-mwaa-examples/pull/40

Also a 2.0.2 to 2.5.1 would be great!

MWAA now supports in-place upgrade. I am closing the issue.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 66 ms

Resolved: ClamAV performance has improved in d98c22c after 5 minutes.


evaluator: incomplete errors hide permanent errors

What version of CUE are you using (cue version)?

$ cue version
cue version v0.0.0-20230428121230-80d6ea032057

go version devel go1.21-3ed8a1e629 Tue Mar 28 05:41:44 2023 +0000
      -buildmode exe
       -compiler gc
  DefaultGODEBUG panicnil=1
     CGO_ENABLED 1
          GOARCH amd64
            GOOS linux
         GOAMD64 v1
             vcs git
    vcs.revision 80d6ea032057b40e405eefab6015e92bbc5cc2a5
        vcs.time 2023-04-28T12:12:30Z
    vcs.modified false

Does this issue reproduce with the latest stable release?
What did you do?
! exec cue vet -c=false x.cue

-- x.cue --
x: int
y: int
z: x+y
z: string

What did you expect to see?
Passing test.
What did you see instead?
> ! exec cue vet -c=false x.cue
FAIL: /tmp/testscript4064544029/x.txtar/script.txtar:1: unexpected command success

Even though the evaluator could statically tell that the result of int + int is int, regardless of the inputs, so cannot unify with string, the incomplete error causes it to drop all further type checking.
This is a real problem when checking configurations with deliberate incompleteness that will be filled in later in some other evaluation context. It would be much better to fail early in this kind of scenario.

Need to triage to bisect. Also feels like a dupe.

@myitcv

Need to triage to bisect

This is not a regression, so I'm fairly sure that bisection won't be useful.

Also feels like a dupe.

If you can find the issue it's a duplicate of, by all means please close as a dupe. I couldn't. :)


S3:put_public_access_block not adding values

Created S3 bucket and then triggered put_public_access_block as below:
s3.put_public_access_block(
Bucket=BucketName,
PublicAccessBlockConfiguration={'BlockPublicAcls': False,'IgnorePublicAcls': True,'BlockPublicPolicy': True,'RestrictPublicBuckets': True}
)
After that, when I tried calling below API, we were not getting the tags in response:
response = s3.get_public_access_block(
Bucket=BucketName
)
Response:
{'ResponseMetadata': {'HTTPStatusCode': 200, 'HTTPHeaders': {}, 'RetryAttempts': 0}, 'PublicAccessBlockConfiguration': {}}

Hi @sumeshsquare, there have been some improvements around public access blocks recently - can you reproduce this with the latest dev-release from moto? https://pypi.org/project/moto/#history

Hi @bblommers ,
Tested the same and the response have changed as expected:
Response:
{'ResponseMetadata': {'HTTPStatusCode': 200, 'HTTPHeaders': {}, 'RetryAttempts': 0}, 'PublicAccessBlockConfiguration': {'BlockPublicAcls': False, 'IgnorePublicAcls': True, 'BlockPublicPolicy': True, 'RestrictPublicBuckets': True}}

Hi @bblommers , did the fix get released with version 1.3.16? it seems like if I use 1.3.15.dev972 as mentioned in the comment above, I get the proper response, but if I use 1.3.16 which is the latest version I still get the empty response as noted in the original issue.

Hi @SophieMJ, as far as I can see it actually got released with 1.3.15 already. This is the sample test case that I used to test this:
@mock_s3
def test_pab():
    bucket_name = "asdf"
    s3 = boto3.client("s3", region_name="us-east-1")
    s3.create_bucket(Bucket=bucket_name)
    s3.put_public_access_block(
        Bucket=bucket_name,
        PublicAccessBlockConfiguration={'BlockPublicAcls': False, 'IgnorePublicAcls': True, 'BlockPublicPolicy': True,
                                        'RestrictPublicBuckets': True}
    )
    response = s3.get_public_access_block(
        Bucket=bucket_name
    )
    print(response)

1.3.14: Empty PublicAccessBlockConfiguration-block
1.3.15: Returns everything
1.3.16: Returns everything
1.3.16.dev178: Returns everything
Are you able to share a reproducible test case, where you're getting an empty response?


emacsPackages.lsp-bridge: 20240622.236 -> 20240629.1404

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for emacsPackages.lsp-bridge is: Blazingly fast LSP client for Emacs
meta.homepage for emacsPackages.lsp-bridge is: https://github.com/manateelazycat/lsp-bridge
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 20240629.1404 with grep in /nix/store/j32pbdss7n8n0cxsgnnwawzdqfc0y567-emacs-lsp-bridge-20240629.1404
found 20240629.1404 in filename of file in /nix/store/j32pbdss7n8n0cxsgnnwawzdqfc0y567-emacs-lsp-bridge-20240629.1404

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

emacsPackages.acm
emacsPackages.acm-terminal
emacsPackages.lsp-bridge

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j32pbdss7n8n0cxsgnnwawzdqfc0y567-emacs-lsp-bridge-20240629.1404 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A emacsPackages.lsp-bridge https://github.com/r-ryantm/nixpkgs/archive/3b3aee1d39c9b541aff4519603ac38c34f496d94.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3b3aee1d39c9b541aff4519603ac38c34f496d94#emacsPackages.lsp-bridge

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j32pbdss7n8n0cxsgnnwawzdqfc0y567-emacs-lsp-bridge-20240629.1404
ls -la /nix/store/j32pbdss7n8n0cxsgnnwawzdqfc0y567-emacs-lsp-bridge-20240629.1404/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

emacsPackages.acm
emacsPackages.acm-terminal
emacsPackages.lsp-bridge

Maintainer pings
cc @fxttr @kira-bruneau for testing.

@kira-bruneau  FYI, lsp-bridge fails to build on staging-next https://hydra.nixos.org/build/264589180


Created a CDK app to deploy staging resources for the release process

Description
This PR adds a CDK project to Data Prepper which will deploy a staging environment to be used in the release process.
In this PR, I've added the CDK project and created two stacks: GitHubAccessStack and StagingResourcesStack. I plan to add more resources in follow-on PRs. I stopped here to keep the PR at a more manageable size.
Most of the files are boilerplate which CDK generated. The most valuable files to review are:

bin/staging-resources-cdk
lib/GitHubAccessStack.ts
lib/StagingResourcesStack.ts
test/GitHubAccessStack.test.ts
test/StagingResourcesStack.test.ts

For reference, I created the CDK project via:
cd release
mkdir staging-resources-cdk
cdk init app --language typescript

Issues Resolved
Part of #977
Check List

[x] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1094 (b4bd6eb) into main (d3ae4d3) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #1094   +/-   ##
=========================================
  Coverage     91.28%   91.28%
  Complexity      683      683
=========================================
  Files            84       84
  Lines          1986     1986
  Branches        168      168
=========================================
  Hits           1813     1813
  Misses          132      132
  Partials         41       41

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 d3ae4d3...b4bd6eb. Read the comment docs.


503 Service Unavailable

Hi,
Did anyone come across the error
root@ip-172-31-66-113:~/play-with-docker# go get -v -d -t ./...
package context: unrecognized import path "context" (import path does not begin with hostname)

I am not able to run and googling the error asks me to update go to 1.7v...
Please send a fix or the steps for PWD.

Looks like you need to upgrade golang version. Context is one of the newest
packages.
On Wed, Jun 7, 2017, 16:25 αƌᾡᾱγά<EMAIL_ADDRESS>wrote:

Hi,
Did anyone come across the error
root@ip-172-31-66-113:~/play-with-docker# go get -v -d -t ./...
package context: unrecognized import path "context" (import path does not begin with hostname)
I am not able to run and googling the error asks me to update go to 1.7v...
Please send a fix or the steps for PWD.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/play-with-docker/play-with-docker/issues/153, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIhp0xb6hWsAPvFES8HA_nPPfqIchtXks5sBvlEgaJpZM4NzK2e
.

Hi @xetorthio 👍 , i updated to the latest version and says 503 service unavailable, also the GOPATH was set to play with docker folder
...
root@ip-172-31-66-169:~/play-with-docker# go get -v -d -t ./...
github.com/gorilla/handlers (download)
github.com/gorilla/mux (download)
github.com/miekg/dns (download)
github.com/play-with-docker/play-with-docker (download)
github.com/googollee/go-socket.io (download)
github.com/googollee/go-engine.io (download)
github.com/gorilla/websocket (download)
github.com/docker/docker (download)
github.com/docker/go-units (download)
github.com/gorilla/securecookie (download)
github.com/prometheus/client_golang (download)
github.com/beorn7/perks (download)
github.com/golang/protobuf (download)
github.com/prometheus/client_model (download)
github.com/prometheus/common (download)
github.com/matttproud/golang_protobuf_extensions (download)
github.com/prometheus/procfs (download)
github.com/twinj/uuid (download)
Fetching https://golang.org/x/net/context?go-get=1
Parsing meta tags from https://golang.org/x/net/context?go-get=1 (status code 200)
get "golang.org/x/net/context": found meta tag main.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net/context?go-get=1
get "golang.org/x/net/context": verifying non-authoritative meta tag
Fetching https://golang.org/x/net?go-get=1
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
golang.org/x/net (download)
Fetching https://golang.org/x/text/encoding?go-get=1
Parsing meta tags from https://golang.org/x/text/encoding?go-get=1 (status code 200)
get "golang.org/x/text/encoding": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/encoding?go-get=1
get "golang.org/x/text/encoding": verifying non-authoritative meta tag
Fetching https://golang.org/x/text?go-get=1
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
golang.org/x/text (download)
github.com/shirou/gopsutil (download)
github.com/urfave/negroni (download)
root@ip-172-31-66-169:~/play-with-docker# docker-compose up
Starting proxy
Recreating pwd2
Recreating pwd1
Attaching to proxy, pwd1, pwd2
proxy      | <7>haproxy-systemd-wrapper: executing /usr/local/sbin/haproxy -p /run/haproxy.pid -f /usr/local/etc/haproxy/haproxy.cfg -Ds
pwd1       | 2017/06/07 20:30:45 Listening TLS on port 3001
pwd1       | 2017/06/07 20:30:45 Listening on port 3000
pwd2       | 2017/06/07 20:30:45 Listening TLS on port 3001
pwd2       | 2017/06/07 20:30:45 Listening on port 3000
pwd1       | [negroni] 2017-06-07T20:30:46Z | 0 |        153.326µs |  | GET /ping
pwd2       | [negroni] 2017-06-07T20:30:48Z | 0 |        133.209µs |  | GET /ping
pwd1       | [negroni] 2017-06-07T20:30:49Z | 0 |        128.275µs |  | GET /ping
pwd2       | [negroni] 2017-06-07T20:30:51Z | 0 |        97.679µs |  | GET /ping
pwd1       | [negroni] 2017-06-07T20:30:52Z | 0 |        136.163µs |  | GET /ping
pwd2       | [negroni] 2017-06-07T20:30:54Z | 0 |        123.693µs |  | GET /ping
pwd1       | [negroni] 2017-06-07T20:30:55Z | 0 |        118.406µs |  | GET /ping

@adwaya  503 service unavailable means that HA proxy can't forward requests to your PWD instances. Try adding host1.localhost and host2.localhost to <IP_ADDRESS> in /etc/hosts or the equivalent in your OS

@marcosnils : Sorry! to bother you much. but i believe the go get -v -d -t ./... output isn't proper, i have go version 1.8+ latest one, but somehow that is the place i am stuck.
Can you please share some steps?  for this PWD?

@adwaya Why do you believe the problem relates to go get?. For what I see in your previous logs, PWD starts successfully and haproxy can ping it. You get 503 usually when trying to access locally through haproxy and it can't parse the headers to redirect the request.

Hi @marcosnils ; i am using it on EC2, trying with the public IP of the instance on port 80, i see the same 503 service unavailable.
i can see the compose file it is 80 & 443, but not sure where is the issue. by default it should work with IP of the ubuntu instance with 80/443
below is the containers running and my host file of the base machine
root@ip-172-31-69-69:~/play-with-docker# docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                         NAMES
b4ff16989d9f        golang              "/bin/sh -c 'cd /go/s"   23 minutes ago      Up 12 minutes                                                     pwd2
1c9418a238ea        golang              "/bin/sh -c 'cd /go/s"   23 minutes ago      Up 12 minutes                                                     pwd1
0626252c05c2        haproxy             "/docker-entrypoint.s"   23 minutes ago      Up 12 minutes       <IP_ADDRESS>:80->8080/tcp, <IP_ADDRESS>:443->8443/tcp   proxy
root@ip-172-31-69-69:~/play-with-docker# cat /etc/hosts
<IP_ADDRESS> host1.localhost
<IP_ADDRESS> host2.localhost

Seems like you're following the instructions from the README to set it up.
Instead you should follow these
(play-with-docker/play-with-docker/wiki/Deploying) for your own deployment
sent from mobile
On Jun 8, 2017 19:27, "αƌᾡᾱγά"<EMAIL_ADDRESS>wrote:

Hi @marcosnils https://github.com/marcosnils ; i am using it on EC2,
trying with the public IP of the instance on port 80, i see the same 503
service unavailable.
i can see the compose file it is 80 & 443, but not sure where is the
issue. by default it should work with IP of the ubuntu instance with 80/443
below is the containers running and my host file of the base machine
root@ip-172-31-69-69:~/play-with-docker# docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                         NAMES
b4ff16989d9f        golang              "/bin/sh -c 'cd /go/s"   23 minutes ago      Up 12 minutes                                                     pwd2
1c9418a238ea        golang              "/bin/sh -c 'cd /go/s"   23 minutes ago      Up 12 minutes                                                     pwd1
0626252c05c2        haproxy             "/docker-entrypoint.s"   23 minutes ago      Up 12 minutes       <IP_ADDRESS>:80->8080/tcp, <IP_ADDRESS>:443->8443/tcp   proxy
root@ip-172-31-69-69:~/play-with-docker# cat /etc/hosts
<IP_ADDRESS> host1.localhost
<IP_ADDRESS> host2.localhost
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/play-with-docker/play-with-docker/issues/153#issuecomment-307187986,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABgV2vyV_K3ba5C-AWZxVQF4AQu158NXks5sCD0cgaJpZM4NzK2e
.

Hi,
i edited the haproxy.cfg file, with my public IP replacing localhost, but getting another error
pwd1       | 2017/06/08 18:55:46 Starting session err [Error response from daemon: client is newer than server (client API version: 1.30, server API version: 1.24)]
pwd1       | 2017/06/08 18:55:46 ERROR NETWORKING
pwd1       | 2017/06/08 18:55:46 Error response from daemon: client is newer than server (client API version: 1.30, server API version: 1.24)
pwd1       | [negroni] 2017-06-08T18:55:46Z | 0 |        2.906563ms | <IP_ADDRESS> | POST /
pwd1       | [negroni] 2017-06-08T18:55:46Z | 0 |        117.845µs |  | GET /ping
pwd2       | [negroni] 2017-06-08T18:55:48Z | 0 |        118.223µs |  | GET /ping
pwd1       | [negroni] 2017-06-08T18:55:49Z | 0 |        11

Hi,
Thanks, i tried the above link and need help,
the below is the output of the container, i am not getting the UI, also in the link can be share how to create this docker_gwbridge to what ranges of IP? i dint do this step, is that the reason for the below?
root@ip-172-31-69-69:/etc/lvm/profile# docker logs -f 866e310fe9d3
2017/06/08 19:28:44 Listening on port 3001
2017/06/08 19:28:44 Listening on port 3000
[negroni] 2017-06-08T19:29:03Z | 200 |   2.244378ms | ec2-52-207-240-80.compute-1.amazonaws.com | GET /
[negroni] 2017-06-08T19:29:03Z | 200 |   644.274µs | ec2-52-207-240-80.compute-1.amazonaws.com | GET /assets/style.css
[negroni] 2017-06-08T19:29:03Z | 200 |   727.782µs | ec2-52-207-240-80.compute-1.amazonaws.com | GET /assets/app.js
[negroni] 2017-06-08T19:29:04Z | 200 |   117.704µs | ec2-52-207-240-80.compute-1.amazonaws.com | GET /instances/images
[negroni] 2017-06-08T19:29:04Z | 404 |   94.948µs | ec2-52-207-240-80.compute-1.amazonaws.com | GET /favicon.ico
2017/06/08 19:29:04 NewSession id=[fcfb918a-e821-4b72-878c-1b056ba841dd]
2017/06/08 19:29:04 Network [fcfb918a-e821-4b72-878c-1b056ba841dd] created for session [fcfb918a-e821-4b72-878c-1b056ba841dd]
[negroni] 2017-06-08T19:29:04Z | 302 |   318.372732ms | ec2-52-207-240-80.compute-1.amazonaws.com | POST /
2017/06/08 19:29:04 Connected pwd to network [fcfb918a-e821-4b72-878c-1b056ba841dd]
2017/06/08 19:29:11 NewSession id=[73ee5352-d7df-4dc1-8741-802b56177f1f]
2017/06/08 19:29:11 Network [73ee5352-d7df-4dc1-8741-802b56177f1f] created for session [73ee5352-d7df-4dc1-8741-802b56177f1f]
[negroni] 2017-06-08T19:29:11Z | 302 |   254.29815ms | <IP_ADDRESS> | POST /
2017/06/08 19:29:12 Connected pwd to network [73ee5352-d7df-4dc1-8741-802b56177f1f]
[negroni] 2017-06-08T19:29:31Z | 200 |   155.819µs | <IP_ADDRESS> | GET /
2017/06/08 19:29:32 NewSession id=[b94198c7-d57b-47ad-8bcf-fead928fa131]
2017/06/08 19:29:32 Network [b94198c7-d57b-47ad-8bcf-fead928fa131] created for session [b94198c7-d57b-47ad-8bcf-fead928fa131]
[negroni] 2017-06-08T19:29:32Z | 302 |   258.542003ms | <IP_ADDRESS> | POST /
2017/06/08 19:29:32 Connected pwd to network [b94198c7-d57b-47ad-8bcf-fead928fa131]
[negroni] 2017-06-08T19:31:17Z | 200 |   119.526µs | <IP_ADDRESS> | GET /
2017/06/08 19:31:18 NewSession id=[5092b68e-3b3c-4809-982c-43c28f034986]
2017/06/08 19:31:18 Network [5092b68e-3b3c-4809-982c-43c28f034986] created for session [5092b68e-3b3c-4809-982c-43c28f034986]
[negroni] 2017-06-08T19:31:18Z | 302 |   272.417375ms | <IP_ADDRESS> | POST /
2017/06/08 19:31:18 Connected pwd to network [5092b68e-3b3c-4809-982c-43c28f034986]
[negroni] 2017-06-08T19:31:57Z | 200 |   118.952µs | <IP_ADDRESS> | GET /
2017/06/08 19:31:58 NewSession id=[ce52c321-2dc5-4af2-b0fa-81c0d6a7db1b]
2017/06/08 19:31:58 Network [ce52c321-2dc5-4af2-b0fa-81c0d6a7db1b] created for session [ce52c321-2dc5-4af2-b0fa-81c0d6a7db1b]
[negroni] 2017-06-08T19:31:58Z | 302 |   261.944754ms | <IP_ADDRESS> | POST /
2017/06/08 19:31:58 Connected pwd to network [ce52c321-2dc5-4af2-b0fa-81c0d6a7db1b]

@adwaya logs seem fine. I don't see any errors there.


Missing JSON Schema for yamlfmt config file

The JSON Schema for yamlfmt config file is missing.
It should be added to the repo and to https://www.schemastore.org/json/

Config file documentation, to be used as starting point: https://github.com/google/yamlfmt/blob/main/docs/config-file.md

Initial support: https://github.com/google/yamlfmt/pull/193
One could follow up to add more entries for formatter.


Provide a FAQ

As proposed on Reddit, it would be a good idea to have a FAQ section.
Possible questions:

Why does the code not work with GCC 4.8? (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55817, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57824)
Is putting all code in a single header a good idea? (http://stackoverflow.com/questions/583255/c-code-in-header-files)
Why are elements of objects ordered when I iterate/dump them?

This issue can be closed:

The first element of the list is now part of the README file.
The second element ("Is putting all code in a single header a good idea?") was actually never asked so far.
The third element of the list is mentioned in the documentation of type object_t.

So far I do not think that a separate FAQ would make sense. Until it does, I shall try to move information to README.md, CONTRIBUTING.md, or the code documentation.