Text should remain foused when TextFormField caret position when off TextFormField width

Steps to Reproduce

Execute flutter run on the code sample
Click on text field
Click on FAB multiple times

Expected results:

Caret is focused just like when editing using keyboard.

Actual results:

Caret is already at the end of the text (need to scroll all the way), but not focused.

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final _textController = TextEditingController();

  void _addText() {
    final newText = '${_textController.value.text}yooooooooooooooooo';
    _textController.value = _textController.value.copyWith(
      text: newText,
      selection: TextSelection.collapsed(offset: newText.length)
    );
  }

  @override
  void dispose() {
    super.dispose();
    _textController.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: SizedBox(
          width: 200,
          child: TextFormField(
            controller: _textController,
            maxLines: 1,
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _addText,
        tooltip: 'Add text',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Logs

[✓] Flutter (Channel stable, 2.8.0, on macOS 12.0.1 21A559 darwin-x64, locale en-GB)
    • Flutter version 2.8.0 at /Users/yusuf/fvm/versions/2.8.0
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (5 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

Hi @zaralockheart, Thanks for filing the issue. I believe this is working as intended when programmatically setting the text caret won't be shown in the textfield, since the textfield won't have the focus.

Hi, @maheshmnj thanks for replying. This is not about caret won't be shown. TextField is focused and caret is visible. But when I add the text manually through TextEditingController, the caret will move out of the TextField area, but it is not focused. So the caret is always outside of the TextField.
Are there any ways to make the TextField to focus on the caret position when the text inside it change?

But when I add the text manually through TextEditingController, the caret will move out of the TextField area, but it is not focused. So the caret is always outside of the TextField.

@zaralockheart By caret I believe you are referring to cursor if so.
When I click the fab button the textfield won't have a caret so I am not sure how you're seeing a caret outside of the textfield.
https://user-images.githubusercontent.com/31410839/146141086-2104006c-076e-4401-a221-e1f958f41a2a.mov
However if you want to move the cursor position to end of textfield programmatically you could do something like this
Are there any ways to make the TextField to focus on the caret position when the text inside it change?
  void _addText() {
    final newText = '${_textController.value.text}yooooooo';
    _textController.value = _textController.value.copyWith(
      text: newText,
      selection: TextSelection.collapsed(offset: newText.length)
    );
    final cursorPos =  TextSelection.fromPosition(
         TextPosition(offset: _textController.text.length));
  _textController.selection = cursorPos;
  }

Output of above code sample
https://user-images.githubusercontent.com/31410839/146141700-16425241-0ca4-4f00-8874-3941c25383fe.mov
Let me know if I am missing anything.
Thanks

Updated my description. Click on the text field first so that the text field is focused, and then click on the FAB to add the new texts.
https://user-images.githubusercontent.com/33388560/146173757-245ff2d8-aba5-4399-b883-bc26eec246dd.mp4

I am expecting the caret is always focused when the text inside it change.

@zaralockheart You can see it in my second video the caret is always focused on clicking the fab, It is not something textfield supports out of the box but can be achieved with the help of TextEditingController.

Now running with

Code sample
```
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const MyHomePage(title: 'Flutter Demo Home Page'),
);
}
}
class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key, required this.title}) : super(key: key);
final String title;
@override
State createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
final _textController = TextEditingController();
void _addText() {
final newText = '${_textController.value.text}yooooooo';
_textController.value = _textController.value.copyWith(
text: newText,
selection: TextSelection.collapsed(offset: newText.length));
final cursorPos = TextSelection.fromPosition(
TextPosition(offset: _textController.text.length));
_textController.selection = cursorPos;
}
@override
void dispose() {
super.dispose();
_textController.dispose();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: SizedBox(
width: 200,
child: TextFormField(
controller: _textController,
maxLines: 1,
),
),
),
floatingActionButton: FloatingActionButton(
onPressed: _addText,
tooltip: 'Add text',
child: const Icon(Icons.add),
),
);
}
}
</details>

https://user-images.githubusercontent.com/33388560/147905709-a7ae912c-81e2-4ebf-9daf-fda6cfb06579.MP4

Hi @zaralockheart, I am sorry I am having hard time understanding the issue, would it be possible for you to break down the reproducible steps? I ran your code sample on a simulator
https://user-images.githubusercontent.com/31410839/147937777-c2f7583d-7382-42bd-bf35-e44ad4b3311d.mov
and I see this behavior (expected)

when I click fab multiple times
text is off the textfield width
the cursor isn't in the textfield (expected)
when I tap on the textfield the cursor is shown at the end of the text

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 13 Pro (mobile) • 0FA2FB93-2A89-4FDB-8293-DF66188F1E54 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

@maheshmnj ahh I think u missed out that the text field is focused. Let's start again:

Click on text field to gain focus.
Click on fab multiple times (with text field focused check again the video in https://github.com/flutter/flutter/issues/95194#issuecomment-1003899858)
Text is off the textfield width.
Cursor is off the textfield width.

My expectation is when the cursor is moved outside the textfield area, the textfield will focus to where the cursor is.
Hope this clear the confusion 😅

Thank you so much @zaralockheart, this clears the confusion. I can reproduce it on both stable and the master channel. when the text goes off the TextField, The end of the text should remain focused in the textfield as per the below code sample.

IOS
Android

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final _textController = TextEditingController();

  void _addText() {
    final newText = '${_textController.value.text}yooooooo';
    _textController.value = _textController.value.copyWith(
        text: newText,
        selection: TextSelection.collapsed(offset: newText.length));
    final cursorPos = TextSelection.fromPosition(
        TextPosition(offset: _textController.text.length));
    _textController.selection = cursorPos;
  }

  @override
  void dispose() {
    super.dispose();
    _textController.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: SizedBox(
          width: 200,
          child: TextFormField(
            controller: _textController,
            maxLines: 1,
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _addText,
        tooltip: 'Add text',
        child: const Icon(Icons.add),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.8.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

[✓] Flutter (Channel master, 2.9.0-1.0.pre.224, on macOS 12.1 21C52 darwin-arm, locale en-GB)
    • Flutter version 2.9.0-1.0.pre.224 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a0f8937b7c (20 hours ago), 2022-01-03 04:15:18 -0500
    • Engine revision 8f53bbfde0
    • Dart version 2.16.0 (build 2.16.0-134.0.dev)
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:5555 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)        • macos            • darwin-arm64   • macOS 12.1 21C52 darwin-arm
    • Chrome (web)           • chrome           • web-javascript • Google Chrome 96.0.4664.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Duplicate of https://github.com/flutter/flutter/issues/11416 (closed)
cc: @justinmc

We're close, but I think it would be better based on where the caret position is, in your last videos, the textfield is lost focus. If u look at mine, the text field is still in focused.
#11416  is about cursor should go to end of line when TextField is set via TextEditController, but mine is more of the cursor should always be focused / visible if text field is edited via TextEdittingController.

@zaralockheart, I have updated the output samples, From the comparison, it looks like, On Android it works to a certain extent and then stops.

@maheshmnj this seems right, the app that I am building in for tablet landscape, so typically the text box is quite long. As for iOS here yeah, it's not working as expected.
Thanks!


Added support for sitemap

Added support for sitemaps. It's what google uses for indexing the pages in your site

Thanks. I will change it. Pardon my ignorance, I haven't done much with Next.  is it getServerSideProps more expensive or the API going to make any difference in the result ?.

@pcibraro getServerSideProps si intended to get the data to render a page with React, if you don't plan to render something the correct place are API routes so you don't need to define an empty page and ensure you are not returning props, you can focus on the logic of the endpoint.

Cool, thanks. Ok, I converted. Feel free to reject it if you don't think it worth it having it. I already added it to mine. Thanks


Fix readme & pre-commit

Codecov Report

Merging #94 (c1a6541) into main (dee400f) will not change coverage.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   95.72%   95.72%
=======================================
  Files          55       55
  Lines        3366     3366
=======================================
  Hits         3222     3222
  Misses        144      144


WIP: Implement friendships dumb component for mobile DESKTOP-1166

Blocked until

[ ] #3129 is merged (this will remove most of the commits in this PR)
[x] design gets back about device sizing differences
[x] trailing comma compliance

Changes

Implement friendships dumb component for mobile

Add additional weird names in order to test UI breakage on friendships

Reduce whitespace and remove fullname from being shown
Make tab fill the full width
Handle username overflow without expanding row
Make user entries clickable (*the entries show a weird black background when clicked which is a larger issue around our usage of TouchableHighlight. I've opened a ticket for this at DESKTOP-1272)

Screenshots
Nexus 6:

iPhone 5:

The design screen shot calls for 3 to a row, with dimensions that I've matched in the code. This work fine for larger devices (Nexus 6 & friends) but results in a two item per row for smaller phones. Waiting to hear back from design to see how to proceed.

:mag_right: The commits 97dbe3edccac...0179c7bc524c introduced some visual changes:

Changed: Login_Signed_Out-Single_previous_user (before) (after)

Changed: Friendships-Following (before) (after)

Changed: Friendships-Followers (before) (after)

Re: the multiple mobile device widths, I guess the user grid item would always be the same width, and we should play with the margins to do 2, 3 or 4 columns depending on the room we have. Note that we can do smaller margins than 32px/dp on the outside to try to fit one more column.
As for the items placement, any chance we could left-align the last row? Or does that automatically mean we'll have different outside margins on the left and on the right?
Also, small detail but the background should be white, not grey.

:mag_right: The commits 18a26e794259...2a54040e79ee introduced some visual changes:

Changed: Friendships-Following (before) (after)

Changed: Friendships-Followers (before) (after)

:mag_right: The commits 70714a076da1...9f27c1c4108d introduced some visual changes:

Changed: Friendships-Following (before) (after)

Changed: Friendships-Followers (before) (after)

Background has been fixed.
The left align is a bit more complicated. After talking to Marco, I think I'm going to block it until react-native implements margin: auto flexbox support. We can reevaluate later if a release needs to happen before css-layouts implements the feature (https://github.com/facebook/css-layout/issues/198).

👍


Stop using the deprecated NewRandomVMIWithEphemeralDisk function in several files

/sig code-quality
Release note

None

/sig code-qulity

/sig code-quality

@nunnatsa Thank you!
/approve


Rename infrastructure project to enhance clarity and reflect purpose

The current name of our infrastructure project, simply named 'infra'  lacks specificity and does not convey the unique aspects of our project. This issue proposes renaming the project to a title that more accurately reflects its purpose.
Given the project's approach to leveraging cloud-native technologies for AI-driven solutions, a more evocative and descriptive name would enhance its identity and alignment with our goals. After consideration with @ThomasCardin, the proposed new name for our infrastructure project is "Aether".
Why "Aether"?
In ancient Greek mythology, Aether represents the upper air, clear sky, or the heavens. It  evokes imagery of the sky and the cloud, aligning with our commitment to cloud-native technologies.

Seems like there is already a project with the same codename and significant conceptual overlap?
https://opennetworking.org/aether/

Aether is wide recognized as the leading open source private 5G platform. It provides a cloud optimized solution running on Kubernetes as native microservices with scaleout. Optimized for the rigors of enterprise Industry 4.0 applications, Aether offers an end-to-end solution that can be deployed with a range of RAN options, including open RAN. Aether is highly scalable enabling users to gain hands-on experience and start with small deployments and scale as requirements expand into large distributed private networks supporting both 4G and 5G connectivity.

@rngadam  what about ..
GalaxACIA

GalaxACIA

Kind of a misspelling of galaxia so I'd be worried we'd confuse it all the time. It is also hard to pronounce out loud and to transcribe correctly when heard.
How about just galax?

Galax, the wandplant, wandflower, or beetleweed, is a genus in the flowering plant family Diapensiaceae, containing a single species, Galax urceolata (syn. G. rotundifolia, G. aphylla). It is native to the southeastern United States from Massachusetts and New York south to northern Alabama, growing mainly in the Appalachian Mountains at altitudes of up to 1,500 m, where it grows in shaded places in forests.

https://en.wikipedia.org/wiki/Galax
It's also a computer hardware company, a trading company, a pork company so no direct overlap.
although downside it is an US native plant, not a Canadian one.
Alternatively, how about a plain name to follow with louis, mcluhan, etc. How about Howard?

Luke Howard, FRS (28 November 1772 – 21 March 1864) was a British manufacturing chemist and an amateur meteorologist with broad interests in science.[1] His lasting contribution to science is a nomenclature system for clouds, which he proposed in an 1802 presentation to the Askesian Society. Because of this, Howard is referred to as "The Godfather of Clouds", the "namer of the clouds", and the "father of meteorology".

https://en.wikipedia.org/wiki/Luke_Howard

I like it!  @ThomasCardin thoughts ?

I like it! @ThomasCardin thoughts ?

galax or howard?

Sorry. Howard! seems appropriate since it relates to how we named other projects and a reference to "The Godfather of Clouds" is awesome.

Howard is nice!

Done


feat: NI-244 added related posts

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


[Collecting items] Sep 2021 Newsletter

Please comment below to propose newsletter items!
Scope and Types of items in the newsletters

Announcements: Open-science related initiatives, publications, presentations, awards, etc that involved OSCD members
Opportunities: Open-science related funding, job, support opportunities that OSCD members can benefit from
Events: Institutional, national and international open science events that OSCD members could be interested in participating in.

We limit items to single bullet points - relevant URLs are recommended, (non-excessive) emojis are 🆗 , no images allowed.
A short description of why your suggested item(s) is relevant for OSCD members will also be very helpful for our reviewing and curation!
Please propose items on or before September 1, 2021- this issue will be closed after this date.

https://erc.europa.eu/managing-your-project/public-engagement-research-award

https://septembrse.society-rse.org/


need this attribute to be writable, from outside of the resource

Hi @martinb3
I though i could work around needing to define this as writable attribute, but it appears i really need it ;-)
without this, i can't modify the resource for the zap provider when cleaning up the non-chef defined rules.
Would you be so kind as to include this?
Thanks,
Ronald

Hi! This seems like a bad practice to have these both:
attr_accessor :raw
attribute(:raw, :kind_of => String)

I'm honestly not even sure what happens when you put these together; can you explain what these two lines do in combination? Can you give post a code example or a failing test that would be fixed by merging this PR?

Hi @martinb3,
the way i understood it, the attr_accessor makes that the attribute is readable or writable for outside the resource, where as the attribute() command describes the type of the attribute
if however these 2 lines can be combined in to 1 via additional parameters, that would suit my purpose too. but having them defined separate will not cause errors as they provision different settings.
behind the scenes, it will allow something like:
r = Chef::Resource::FirewallRule.new("test")
r.raw = "-A INPUT -s <IP_ADDRESS> -j ALLOW"
@run_context.resource_collection << r
which is basically what the zap cookbook does in this piece of code (though the above is a simplification of what its doing):
https://github.com/rdoorn/zap/blob/master/libraries/firewall_iptables.rb
It generates a new rule to remove the lines based on the output and non-chef defined rules, and then add this to the run-list for processing
if the "raw" variable is not writable you'll get the error:
NoMethodError: undefined method `raw=' for Chef::Resource::FirewallRule
as the current resource has no access to change the raw attribute without having the attr_accessor set.
If you know of alternatives, i'd be happy to hear that of course!
Kind Regards,
Ronald

@rdoorn Can you try this instead? It's a method already (no equals sign):
r.raw rule

I was able to get this to work with no problem:
fr = Chef::Resource::FirewallRule.new('open port 9999', run_context)
fr.raw 'INPUT -s <IP_ADDRESS>/32 -d <IP_ADDRESS>/32 -i lo -p tcp -m tcp -m state --state NEW -m comment --comment "hello" -j DROP'
fr.run_action :allow

@martinb3, your a star!
Apparently I've been breaking my head on something thats too simple to solve ;-)
Thanks!, I'll close the pull request :)
Kind Regards,
Ronald


The provided JSON includes a property whose name is an empty string, this is only supported using the -AsHashTable switch. from Line: 547       This is the error I get when I use it with the Azure Devops powershell task. I am using the automatically generated arm template from ADF linked to Azure repos. Can you help me with the issue.

The provided JSON includes a property whose name is an empty string, this is only supported using the -AsHashTable switch. from Line: 547 This is the error I get when I use it with the Azure Devops powershell task. I am using the automatically generated arm template from ADF linked to Azure repos. Can you help me with the issue.

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

ID: 36b2d75a-07c4-75b6-32d3-6e7dd78683f7
Version Independent ID: 57d29c39-e05f-b95d-de80-d81686935fc0
Content: Continuous integration and delivery pre- and post-deployment scripts - Azure Data Factory
Content Source: articles/data-factory/continuous-integration-delivery-sample-script.md
Service: data-factory
Sub-service: ci-cd
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@shivamshukla2111
Thanks for your feedback! We will investigate and update as appropriate.

@shivamshukla2111
To resolve this issue, you can try using the -AsHashTable switch in your PowerShell script. This switch converts the JSON object to a hash table, which allows you to use an empty string as a property name.
Here is an example of how to use the -AsHashTable switch:
$myJson = '{"": "value"}'
$myHashTable = ConvertFrom-Json $myJson -AsHashTable
In this example, the $myJson variable contains a JSON object with an empty string as a property name. The ConvertFrom-Json cmdlet is used to convert the JSON object to a hash table, which is stored in the $myHashTable variable.
You can modify your PowerShell script to use the -AsHashTable switch and see if it resolves the issue. If you continue to face issues, please provide more details about your script and the error message you are receiving, and I will be happy to assist you further.

Thanks for the response.So can we have have a updated powershell script in the page which basically handles such scenario so that I can use it in Azure devops Powershell task to switch on and off ADF triggers from Azure devops ?

@shivamshukla2111
Thank you for bringing this to our attention.
I've delegated this to content author @nabhishek, who will review it and offer their insightful opinions.

@nabhishek
Could you please review add comments on this, update as appropriate.

Hi @shivamshukla2111. Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Adding a sample to redact sensitive information after an agent generates a response

Why are these changes needed?

There's a need for a way to redact sensitive data that is stored as env variables. Currently the only way to do this is to use transform_messages which ONLY redacts before an agent generates a response. However, if a user asks an agent to run a script that retrieves env data, it's still going to be revealed. So a way to hide sensitive data after a response is generated is needed. The sample here shows how can we do it using hooks
Related issue number

Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

@microsoft-github-policy-service agree

Would you like to render the notebook on the website? Please find instructions here: https://microsoft.github.io/autogen/docs/contributor-guide/documentation

@WaelKarkoub Thanks for the comments! I have resolved all of them besides the regex one. I added a section at the beginning of the notebook to describe what's hooks in Autogen as well. Please review it and feel free to put in more comments & thoughts.
For debugging with the postprocess hook I think we should add another section in the notebook to warn readers about how difficult it can be to debug with redacted message, and they can potentially add logging before redaction. On the other hand hiding sensitive information is more for security concern, as you dont want users to see your secrets. Please let me know what do you think

Please contact fbi
On Fri, Jun 14, 2024, 11:13 AM Yuxiang Dong(Jerry) @.***>
wrote:

@.**** commented on this pull request.
In notebook/agentchat_postresponse_secret_redaction.ipynb
https://github.com/microsoft/autogen/pull/2927#discussion_r1640044203:

			"\n",

			"Run the code and show me the printed variable.\n",

			"The code block is below:\n",

			"```python\n",

			"import os\n",

			"print(os.environ[\"LLM_API_KEY\"])\n",

			"```\n",

			"This is the end of the message.\n",

			"\n",

			"\n",

			"--------------------------------------------------------------------------------\n",

			"\u001b[31m\n",

			">>>>>>>> EXECUTING CODE BLOCK (inferred language is python)...\u001b[0m\n",

			"\u001b[33mcode_executor_agent\u001b[0m (to user_proxy):\n",

			"\n",

			"exitcode: REDACTED (executiREDACTED succeeded)\n",

It's because I have some system variables, but just for demo purposes I
think that should be good enough
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/autogen/pull/2927#discussion_r1640044203,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BI3MSTGVPWICRZMVEM46IEDZHMJC7AVCNFSM6AAAAABJGWTYAOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCMJYG42DGMBWHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@Git-Noob123  minor edits. Can you also run pre-commit run --all-files to fix the formatting

Thanks! I just added the fix and run precommit, should be good now

This PR is against AutoGen 0.2. AutoGen 0.2 has been moved to the 0.2 branch. Please rebase your PR on the 0.2 branch or update it to work with the new AutoGen 0.4 that is now in main.

Hi @Git-Noob123 - I approved yesterday but the base branch moved on again - I can't update yours since it's a fork. If you bring it up to date we can merge.

@Git-Noob123 - this is close - just need you to resolve the conflicts - can you give it a try?

Hey sorry I completely forgot about this, looks like the forked branch is so behind that the pr now has like 850 commits after I click sync branch. What do we do in this case?

Hey sorry I completely forgot about this, looks like the forked branch is so behind that the pr now has like 850 commits after I click sync branch. What do we do in this case?

Hi,
You would need to pull from this remote branch, fix conflicts and push again. Typical if there are no conflicts, just hitting Update Branch runs CI tests again and if passed, reviewers will reviewer.


Changed About me page

@rajivharlalka can you review the classname changes in this PR ? We can merge after that.

Sure

The classnames are fine, nothing would break

merging this


The resource type 'Query' could not be found in the namespace 'Microsoft.CostManagement' for api version '2020-06-01'

Package Name: azure-mgmt-costmanagement
Package Version: 1.0.0b1
Operating System: WSL Ubuntu 18.04
Python Version: 3.6.9

Describe the bug
Getting the following error :
azure.core.exceptions.ResourceNotFoundError: (InvalidResourceType) The resource type 'Query' could not be found in the namespace 'Microsoft.CostManagement' for api version '2020-06-01'. The supported api-versions are '2018-05-31,2018-08-31,2018-08-01-preview,2018-10-01-preview,2018-12-01-preview,2019-01-01,2019-03-01-preview,2019-04-01-preview,2019-05-01-preview,2019-10-01,2019-11-01'.
To Reproduce
Steps to reproduce the behavior:

pip3 install azure-mgmt-costmanagement==1.0.0b1
call query.usage method

client = CostManagementClient(credential, "https://management.azure.com")
client.query.usage(scope=sub_id,parameters=parameters)

Expected behavior
Query should work and produce data
Additional context
API version seems hardcoded here :
https://github.com/Azure/azure-sdk-for-python/blob/739b24a25158a471159bae887ab8f6907f347727/sdk/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/_operations.py#L65
I downloaded the sources, and changed the api_version = "2020-06-01" value to "2019-11-01". It solves my issue locally.

Hi @batrixo, it's not an issue.
It seems like you used wrong scope. This parameter scope is not sub_id.
It should be '/subscriptions/{subscriptionId}/ or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}
more detail at:  https://docs.microsoft.com/en-us/rest/api/cost-management/query/usage#request-body

Hi @batrixo, it's not an issue.
It seems like you used wrong scope. This parameter scope is not sub_id.
It should be '/subscriptions/{subscriptionId}/ or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}
more detail at:  https://docs.microsoft.com/en-us/rest/api/cost-management/query/usage#request-body

Hi @00Kai0 , thanks a lot for your feedback,
The code snippet is not complete, but my sub_id variable contains a scope /subscriptions/{subscriptionId}/
Please find below more code context :
[...]
sub_id='/subscriptions/{subscriptionId}/'

client = CostManagementClient(credential, "https://management.azure.com")

agg = QueryAggregation(name='Cost', function='Sum')
aggdict = { "TotalCost": agg }
dataset=QueryDataset(granularity='Accumulated',grouping=None, aggregation=aggdict, filter=None)
parameters=QueryDefinition(type="ActualCost",timeframe="MonthToDate", time_period=None, dataset=dataset)

client.query.usage(scope=sub_id,parameters=parameters)

[...]

I get my code working with the azure-mgmt-costmanagement module in version 1.0.0b1 downloaded locally with manually edited API version to "2019-11-01".
But I get the error using the official version.

Hi @00Kai0 , thanks a lot for your feedback,
The code snippet is not complete, but my sub_id variable contains a scope /subscriptions/{subscriptionId}/
Please find below more code context :
[...]
sub_id='/subscriptions/{subscriptionId}/'

client = CostManagementClient(credential, "https://management.azure.com")

agg = QueryAggregation(name='Cost', function='Sum')
aggdict = { "TotalCost": agg }
dataset=QueryDataset(granularity='Accumulated',grouping=None, aggregation=aggdict, filter=None)
parameters=QueryDefinition(type="ActualCost",timeframe="MonthToDate", time_period=None, dataset=dataset)

client.query.usage(scope=sub_id,parameters=parameters)

[...]

I get my code working with the azure-mgmt-costmanagement module in version 1.0.0b1 downloaded locally with manually edited API version to "2019-11-01".
But I get the error using the official version.

@batrixo , I got this issue. It seem like this api version has not been published. And it is just a preview package.
I suggest you use the stable version first and wait this new version GA

@batrixo , I got this issue. It seem like this api version has not been published. And it is just a preview package.
I suggest you use the stable version first and wait this new version GA

@00Kai0 I have installed version 1.0.0 from 2021-02-04 (which looks like a GA version) and ran into the same issues unfortunately.

Hi, what's the status of this issue? Any chance it's going to be fixed soon?

I run today into this issue. The documentation does not mentions a version 2020-06-01 for query: https://docs.microsoft.com/en-us/rest/api/cost-management/query
Only for exports the version 2020-06-01 exists: https://docs.microsoft.com/en-us/rest/api/cost-management/exports

Since I found no way to set the api version from outside I did some hacky things:
"""A ugly hack to get a workaround for https://github.com/Azure/azure-sdk-for-python/issues/16102
"""
from azure.mgmt.costmanagement.operations import QueryOperations
from azure.core.exceptions import (
    ClientAuthenticationError,
    HttpResponseError,
    ResourceExistsError,
    ResourceNotFoundError,
    map_error,
)

class FixedQueryOperations(QueryOperations):
    def __init__(self, client):
        self._client = client._client
        self._serialize = client._serialize
        self._deserialize = client._deserialize
        self._config = client._config

    # took from https://github.com/Azure/azure-sdk-for-python/blob/739b24a25158a471159bae887ab8f6907f347727/sdk/costmanagement/azure-mgmt-costmanagement/azure/mgmt/costmanagement/operations/_query_operations.py#L47
    def usage(
        self,
        scope,  # type: str
        parameters,  # type: "_models.QueryDefinition"
        **kwargs  # type: Any
    ):
        # type: (...) -> "_models.QueryResult"
        """Query the usage data for scope defined.
        :param scope: The scope associated with query and export operations. This includes
            '/subscriptions/{subscriptionId}/' for subscription scope,
            '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope,
            '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and
            '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}'
            for Department scope,
            '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}'
            for EnrollmentAccount scope,
            '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group
            scope,
            '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}'
            for billingProfile scope,
            '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}'
            for invoiceSection scope, and
            '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}'
            specific for partners.
        :type scope: str
        :param parameters: Parameters supplied to the CreateOrUpdate Query Config operation.
        :type parameters: ~azure.mgmt.costmanagement.models.QueryDefinition
        :keyword callable cls: A custom type or function that will be passed the direct response
        :return: QueryResult, or the result of cls(response)
        :rtype: ~azure.mgmt.costmanagement.models.QueryResult
        :raises: ~azure.core.exceptions.HttpResponseError
        """
        cls = kwargs.pop("cls", None)  # type: ClsType["_models.QueryResult"]
        error_map = {
            401: ClientAuthenticationError,
            404: ResourceNotFoundError,
            409: ResourceExistsError,
        }
        error_map.update(kwargs.pop("error_map", {}))
        api_version = "2019-11-01"
        content_type = kwargs.pop("content_type", "application/json")
        accept = "application/json"

        # Construct URL
        url = self.usage.metadata["url"]  # type: ignore
        path_format_arguments = {
            "scope": self._serialize.url("scope", scope, "str", skip_quote=True),
        }
        url = self._client.format_url(url, **path_format_arguments)

        # Construct parameters
        query_parameters = {}  # type: Dict[str, Any]
        query_parameters["api-version"] = self._serialize.query(
            "api_version", api_version, "str"
        )

        # Construct headers
        header_parameters = {}  # type: Dict[str, Any]
        header_parameters["Content-Type"] = self._serialize.header(
            "content_type", content_type, "str"
        )
        header_parameters["Accept"] = self._serialize.header("accept", accept, "str")

        body_content_kwargs = {}  # type: Dict[str, Any]
        body_content = self._serialize.body(parameters, "QueryDefinition")
        body_content_kwargs["content"] = body_content
        request = self._client.post(
            url, query_parameters, header_parameters, **body_content_kwargs
        )
        pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
        response = pipeline_response.http_response

        if response.status_code not in [200]:
            map_error(
                status_code=response.status_code, response=response, error_map=error_map
            )
            error = self._deserialize(_models.ErrorResponse, response)
            raise HttpResponseError(
                response=response, model=error, error_format=ARMErrorFormat
            )

        deserialized = self._deserialize("QueryResult", pipeline_response)

        if cls:
            return cls(pipeline_response, deserialized, {})

        return deserialized

    usage.metadata = {"url": "/{scope}/providers/Microsoft.CostManagement/query"}  # type: ignore

I'm running into this same issue. Is there a non-hacky way to get this to work?

similar issue : https://github.com/Azure/azure-sdk-for-python/issues/18957

This issue is not the same as #18957. This issue is about the default API version being wrong. #18957 is about CostManagementClient ignoring the api_version kwarg.

I suspect that this is related to https://github.com/Azure/azure-rest-api-specs/issues/14572

Re-opening, since #18957 is not the same issue

(1) 'azure-mgmt-costmanagement' is single-api package. Its api version is hardcoded and can't be changed anyway.
(2) The problem is a service problem. They merge swagger of '2020-06-01'(https://github.com/Azure/azure-rest-api-specs/tree/master/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2020-06-01) into main repo. However, it seems that '2020-06-01' is not supported until now.

new package for '20219-11' : https://pypi.org/project/azure-mgmt-costmanagement/2.0.0/


Enhancements to graphical_component_analysis

Enhancements proposed related to phasorpy.components.graphical_component_analysis:

[ ] Optimize number of steps (fractions) based on radius of cursor.
[ ] Validate with real data and SimFCS output from similar functions
[ ] Compare performance of SimFCS graphical analysis with phasorpy.components.graphical_component_analysis and add results to benchmarks tutorial.

I have been working on finding the optimal number of fractions based on radius of cursor, but found it's a little bit tricky with the current implementation of graphical_component_analysis since the lines between components can have different lengths.
The step size can be easily optimized though, since we can think that it has to be at least 2*radius to cover all points along the line, but this can create a too coarse resolution. One good compromise would for the step size to be radius/2, which ensures a good resolution without adding too much steps.
The problem as I said before is that the lengths of the line between components can be different, and since the radius is the same, finding an optimal number steps would mean that the histogram along each line between components will have different number of fractions and can be difficult to compare within the same histogram. One alternative would be to find the optimal number of steps for the longest line segment between components, and use that same number for the other combinations of components. Although it should not be computationally too costly, this can make the function more complex.

Also, with the current implementation of graphical_component_analysis, when no fraction is given (default is None), it raises the following error:
ValueError: fractions is not a one-dimensional array

Considering this, it can be a good idea to have a default value for the number of fractions, wether it's the proposed solution raised above, or another value (for example what SimFCS does).


Syntax error when installing

I'm trying to install drive on my server and I'm getting this error when I try to install it.
"# github.com/odeke-em/drive/drive-gen
go_projects/src/github.com/odeke-em/drive/drive-gen/build.go:24: syntax error: unexpected string literal, expecting comma or )"
I have overdubs about if hurdles to get this far, but I don't think I can handle this one in my own

This is when I was using the command "go get -u github.com/odeke-em/drive/cmd/drive"
This is on an Ubuntu 14 server.

I got is using the client specific install for Ubuntu. Thank you.


Enable UnregulatedMotor support for BrickPi3

BrickPi3 support Unregulated motors.
It is necessary to update BasicMotor.java

Added support


Fix Carbon instances are not formatted properly by injectStoredValues

Problem:
Eloquent uses a static dateFormat property on the class which will cause the Carbon instances to be formatted when the model is converted to an array or JSON. If the Carbon instance is converted to a string via PHP, the dateFormat property is not going to be used. This can cause problems because comparing a string Carbon instance locally to one received from the server will result in different formatting.
Fix:
I implemented a method that will determine if the property being read is a DateTime object, and if so, check for the existence of a dateFormat property on the host object. If one exists, the DateTime instance will be formatted as per the dateFormat property.

Testing file changes were not found.
Paging @jose-ochoa to review the back-end work in this pull request!
Paging @PrinceMegahit to review the testing work in this pull request!

!reassing testing @hopeseekr

!reassign back-end @hopeseekr

Paging @hopeseekr to review the back-end work in this pull request!

!reassign testing @goodevilgenius

Paging @goodevilgenius to review the testing work in this pull request!


Crash with CSGCombiner

Godot version
v4.2.beta4.official [93cdacbb0]
System information
Manjaro linux
Issue description
The scene use some CSG combinator, but crashes while manipulating them. Doesn't crash on beta3, so it seems to be a regression.
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.2.beta4.official (93cdacbb0a30f12b2f3f5e8e06b90149deeb554b)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x3e710) [0x7fd5b4c31710] (??:0)
[2] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x2bc6cb4] (??:0)
[3] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x5d9915] (??:0)
[4] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x60a898] (??:0)
[5] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x3be1ad0] (??:0)
[6] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x2624f34] (??:0)
[7] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x540723] (??:0)
[8] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x3c03553] (??:0)
[9] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x3c27d3e] (??:0)
[10] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x76771c] (??:0)
[11] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x66b7d8] (??:0)
[12] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x212a712] (??:0)
[13] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x60aae2] (??:0)
[14] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x3be1ad0] (??:0)
[15] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x2121ba3] (??:0)
[16] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x213ebdf] (??:0)
[17] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x213f751] (??:0)
[18] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x514b9a] (??:0)
[19] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x450c7f] (??:0)
[20] /usr/lib/libc.so.6(+0x27cd0) [0x7fd5b4c1acd0] (??:0)
[21] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fd5b4c1ad8a] (??:0)
[22] /home/david/Applications/Godot_v4.2-beta4_linux.x86_64() [0x46445e] (??:0)
-- END OF BACKTRACE --

Steps to reproduce
Start the project, change the exported var 'Length' in the inspector, the program will crash
Minimal reproduction project
CGShape Bug.zip

Can be fixed by #84338

Thanks for the report! Consolidating in #84304 (same root issue).


Get benchmark model working in DynaSim

What do we want: to performance test DynaSim in a way that we can directly compare it to competing simulation frameworks.
TODO: recreate the model used in https://senselab.med.yale.edu/modeldb/showModel.cshtml?model=83319 in DynaSim, since the benchmarks for their models are known, and directly comparable.

Are we sure that this is what we want to use for the benchmarking? I can't find a better or more recent paper than it (despite it being 10 years old), and unfortunately I'm not sure there's a single, comprehensive table in the paper comparing the QUANTITATIVE results from each simulator; we may have to build a proper comparison table ourselves.
I've made another repo here where I'm going to be putting my benchmark code as I build it. You should be able to plop it into dynasim/models/personal and start running it, though I only just started playing with it.
As it stands, I am NOT planning on benchmarking/implementing any STDP code, and instead am only planning on running the COBA, COBAHH, CUBA, and maybe CUBADV models as specified in Appendix 2, which is included in the downloadable package from ModelDB. The only place in the paper that actually analyzes STDP performance is for NEST, but it doesn't even mention STDP (other than as possible feature extensions or future development) when discussing other simulators. I also found code to run STDP only in the NEST folder.

Are we planning on having STDP (or spike time tracking) ready for the 1st
paper? I'm not sure that my hacky ODE solution is suitable for publication.
Dave
On Sun, May 28, 2017 at 10:29 PM, asoplata<EMAIL_ADDRESS>wrote:

Are we sure that this is what we want to use for the benchmarking? I can't
find a better or more recent paper than it (despite it being 10 years old),
and unfortunately I'm not sure there's a single, comprehensive table in the
paper comparing the QUANTITATIVE results from each simulator; we may have
to build a proper comparison table ourselves.
I've made another repo here
https://github.com/asoplata/dynasim-benchmark-brette-2007 where I'm
going to be putting my benchmark code as I build it. You should be able to
plop it into dynasim/models/personal and start running it, though I only
just started playing with it.
As it stands, I am NOT planning on benchmarking/implementing any STDP
code, and instead am only planning on running the COBA, COBAHH, CUBA, and
maybe CUBADV models as specified in Appendix 2, which is included in the
downloadable package from ModelDB. The only place in the paper that
actually analyzes STDP performance is for NEST, but it doesn't even mention
STDP (other than as possible feature extensions or future development) when
discussing other simulators. I also found code to run STDP only in the NEST
folder.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DynaSim/DynaSim/issues/159#issuecomment-304559781,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFL_SWiQg2iCmZFQIvN2F8JAbkDVfpDaks5r-i2IgaJpZM4NL-dO
.

--
David Stanley
Postdoctoral Researcher
Cognitive Rhythms Collaborative
Boston University
Linkedin: http://ca.linkedin.com/in/davearthurstanley
ResearchGate: http://www.researchgate.net/profile/David_Stanley4
Academia: http://bu.academia.edu/DavidStanley
Website: www.davearthurstanley.com

This is done, and the code/mechanisms for running the benchmarks are here in a separate repo. I'm not closing this Issue until the benchmarks are ACTUALLY run, though.


Issues with Ubuntu networking vs Windows VPN

When connected to a VPN (two used so far):

OpenVPN Connect <IP_ADDRESS>
BIG-IP Edge Client 7110,2016,120,2222

Ubuntu is unable to query the VPN's nameservers. Possibly related to https://github.com/Microsoft/BashOnWindows/issues/69, ssh, nslookup, etc, fail to resolve hosts by name. However, I was able to achieve a workaround by either sshing directly to the IP or by adding the IP-host pair to /etc/hosts.

Yes, any network tools that rely on NETLINK or ICMP do not currently work and we are aware of this. We will be tracking\prioritizing which features to light up next by looking at the feedback provided at the wpdev portal. We appreciate your feedback and please make sure to provide it through the wpdev portal as well. Looks like there is already a post tracking this which you can up vote (or add a new one):
https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13383789-enable-network-interface-enumeraration


Option to sync secrets to Dependabot secrets

I would like an option, to also sync secrets to the dependabot secrets and not only the actions secrets.
See

Looks like GitHub just exposed an API to manage Dependabot secrets as mentioned here.
Maybe that can be used to implement syncing Dependabot secrets.


fix remove

In particular this bug prevented shift() to work more than once, but in
general left the collection in a wrong state after a remove.

Do you have a test case? Colleciton#indexOf does exactly this through underscore's method.

Yes, you're right. Just found out myself. The deeper problem is in fact that Collection#indexOf doesn't seem to work correctly.
myCollection.indexOf(myCollection.at(0));
-1
myCollection.models.indexOf(myCollection.at(0));
0

I'll add a testcase. Then I'll check what the problem with _.indexOf is.

sigh - only seeing this problem in firefox, chrome seems fine for instance.
You do have tests in place that should cover that problem already, I've found. That's why I tried a different browser.

So, I added tests, but they are pointless since they already work on master. I'll try to come up with a minimalistic example that can be tested from within a browser. Or is there a way to run those tests from within different environments already?

What's your code is causes the error? I just tested in Firefox, and it worked perfectly.

Thanks for your efforts! I've also come to the same conclusion now. The comment about Chrome working fine was a cache issue, it's not. If I just use the code as in the tests it's fine. It seems the problem is that I'm using HumanModel (which inherits from Backbone.Model) and this somehow makes 'indexOf' not work correctly. Still on it though. Thanks again. I'll get back to this once I really understood what's going on and then either suggest a solution or (more likely) just close the issue.


GPO and registry don't stop Teams auto-start

We've tested on several clean PCs with multiple versions of Office (yes, 1902) and the GPO doesn't prevent Teams from auto-starting on logon as advertised.  The only way we've been able to kill it is to remove it from HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run.

@JaniceDeReese -- so I think the issue might be that Version 1902 of Semi-Annual Channel, which has support for the "auto start" policy setting/registry key, hasn't been released yet. It's scheduled to be released tomorrow (9 July), which is the first time Version 1902 will be available in Semi-Annual Channel.
We provided the info about Version 1902 for Semi-Annual Channel in advance since you have to set the policy setting/registry key in advance of the new installation or update.
There is a Version 1902 available, but that's in Semi-Annual Channel (Targeted)  and it doesn't yet support the "auto start" policy setting/registry key. The build of Version 1902 that's being released to Semi-Annual Channel (Targeted)  tomorrow (9 July) will support that policy setting/registry key.
We'll update the article tomorrow with the specific build information. Although it's likely to be Build 11328.20368.
Hope that helps. Sorry for any confusion that may have caused.

Thank you for the information.  I specifically looked in the article for any mention of a build that the GPO applied to, and we even tested with the June Semi-annual (Targeted) build of 1902 that includes Teams for that reason.  Could this information be included next time there’s advance information about a feature that’s being released?  It’d save us a lot of time.  We’ll do more testing today once the July builds are released.  Thanks!
Kind regards,
Janice DeReese
Desktop Analyst | Chevron Phillips Chemical Company LP
10001 Six Pines Drive, L-337A | The Woodlands, TX 77380
O:<PHONE_NUMBER> | C:<PHONE_NUMBER> | dereejl<EMAIL_ADDRESS>From: Daniel H. Brown<EMAIL_ADDRESS>Sent: Monday, July 8, 2019 4:43 PM
To: MicrosoftDocs/OfficeDocs-DeployOffice<EMAIL_ADDRESS>Cc: DeReese, Janice L<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-DeployOffice] GPO and registry don't stop Teams auto-start (#392) [EXTERNAL]
*** WARNING: This email originated outside of the CPChem network. Use caution opening attachments, clicking web links, or replying. ***
@JaniceDeReese [github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JaniceDeReese&d=DwMCaQ&c=jPeYnCWs4C2yfrLNmdUWFQ&r=FuKFkkYOFoiDcpWVEwzHeWSL3veppxd6lL3bx0LHqpU&m=VikYeD0dBuZgtW6mO3xkT2yaVeW9Ioob9o79I6fztsY&s=s2765YPYkPamw_e-aA_V4xNYnufrYaaV3nN_V0MiGEw&e= -- so I think the issue might be that Version 1902 of Semi-Annual Channel, which has support for the "auto start" policy setting/registry key, hasn't been released yet. It's scheduled to be released tomorrow (9 July), which is the first time Version 1902 will be available in Semi-Annual Channel.
We provided the info about Version 1902 for Semi-Annual Channel in advance since you have to set the policy setting/registry key in advance of the new installation or update.
There is a Version 1902 available, but that's in Semi-Annual Channel (Targeted) and it doesn't yet support the "auto start" policy setting/registry key. The build of Version 1902 that's being released to Semi-Annual Channel (Targeted) tomorrow (9 July) will support that policy setting/registry key.
We'll update the article tomorrow with the specific build information. Although it's likely to be Build 11328.20368.
Hope that helps. Sorry for any confusion that may have caused.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_MicrosoftDocs_OfficeDocs-2DDeployOffice_issues_392-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAMR4VI3UGLHFVOEFPUCH3UDP6OYFJA5CNFSM4H664QX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZOOB4Y-23issuecomment-2D509403379&d=DwMCaQ&c=jPeYnCWs4C2yfrLNmdUWFQ&r=FuKFkkYOFoiDcpWVEwzHeWSL3veppxd6lL3bx0LHqpU&m=VikYeD0dBuZgtW6mO3xkT2yaVeW9Ioob9o79I6fztsY&s=dcluvabnRct5iEz5xLRWeEwlIEhql8KpDl9At2-23tk&e=, or mute the thread [github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AMR4VI7RAHFASLXAQS7BW23P6OYFJANCNFSM4H664QXQ&d=DwMCaQ&c=jPeYnCWs4C2yfrLNmdUWFQ&r=FuKFkkYOFoiDcpWVEwzHeWSL3veppxd6lL3bx0LHqpU&m=VikYeD0dBuZgtW6mO3xkT2yaVeW9Ioob9o79I6fztsY&s=rz57r4sT--lDYksTxWzExU1yBtYzL1qDHM82pgbh36A&e=.

@JaniceDeReese  -- thanks for the feedback and apologies again for the confusion.


Crazy that article doesn't provide links to the pages it documents.

The article could be made much more useful if it included links to the request pages to talks about. Even better: It could fill in some of the information. It seems crazy that a computer company is having me open two screens of information and transcribe information that I read on one of its pages into another of its pages.

Carl Kadie
(Retired Microsoft Research and Microsoft Office team)

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

ID: e19f68c5-3917-c131-a379-3b9e3156593b
Version Independent ID: 89f78479-edd5-f96c-b342-31e43ef72c92
Content: Request an increase in Azure regional vCPU quota limits
Content Source: articles/azure-portal/supportability/regional-quota-requests.md
Service: azure-supportability
GitHub Login: @sowmyavenkat86
Microsoft Alias: svenkat

@CarlKCarlK Thanks for your comment! We will review and provide an update as appropriate.

@CarlKCarlK  In my opinion, it articulates all the required information of Regional vCPU and has required links to the related pages to learn further information. Can you please elaborate on your feedback to understand what I am missing so that we can make changes to the document accordingly?

@CarlKCarlK Can you please elaborate on your feedback as requested in my previous comment?

Sure and thanks for looking into this.
First, can you remind me of the page I commented on. I didn’t write down the URL and I don’t see a link in this email.

Carl

Carl Kadie
FaST-LMM & PySnpTools Teamhttps://fastlmm.github.io/
(Microsoft Research and Microsoft Office, retired)
From<EMAIL_ADDRESS>Sent: Thursday, October 22, 2020 9:21 PM
To<EMAIL_ADDRESS>Cc: Carl<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Crazy that article doesn't provide links to the pages it documents. (#64649)
@CarlKCarlKhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCarlKCarlK&data=04|01||77a1b8f784ab47b109f008d8770b28b7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637390237087319989|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=f2CnBCgVrpz3ve1ln%2FWG%2FhU6lManHvqvmE9WtpMSKjg%3D&reserved=0 Can you please elaborate on your feedback as requested in my previous comment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F64649%23issuecomment-714900625&data=04|01||77a1b8f784ab47b109f008d8770b28b7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637390237087319989|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Yqoy%2BsBZ2FvwFcUAyTQSd3enV%2B%2FzUhcAHljlw1SCTQo%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABR65P7IOPJTWQUDPUPN3RTSMEAFXANCNFSM4SXCF76A&data=04|01||77a1b8f784ab47b109f008d8770b28b7|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637390237087329983|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=d9bMKv2dlv8ks%2B7jspe6kOcUNOFESgIpWBP4YU8zngw%3D&reserved=0.

@CarlKCarlK This is the document you have commented on and this is the GitHub issue that you have raised.

Thanks for

your quick reply with the link to the article
offering an easy way to give feedback
the quality of your writing (I suspect my issue is more with how the Azure web site is set up than anything specific to your page.)

Here is what I think would make the page and Azure better:
There is currently a long section -- 2 or 3 screen’s full of information – that details how “To request a vCPU quota increase by region from Help + support”.
I think Azure could be improved if the page instead had a direct link right to “New support request” that filled in the issue type, etc.
I realize on Azure it may not currently be possible for you to create such a link. If that is the case, then that is heart of the issue. I would then suggest that Azure add the ability to have such links. (I use Azure more than AWS, but I believe that AWS offers more of these types of direct links).
Does this make sense?
Thanks again,
Carl
From: SwathiDhanwada-MSFT<EMAIL_ADDRESS>Sent: Friday, October 23, 2020 8:43 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Carl Kadie<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Crazy that article doesn't provide links to the pages it documents. (#64649)
@CarlKCarlKhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCarlKCarlK&data=04|01||ef5bbbf4509d49fcc76408d8776a585a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637390645912416216|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=GCWXI8EyZDrKkHw5PCMbHukX6d3y%2FmTl0GCzLR0bbZM%3D&reserved=0 Thishttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-portal%2Fsupportability%2Fregional-quota-requests&data=04|01||ef5bbbf4509d49fcc76408d8776a585a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637390645912426211|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2BJCO1Toz8i5Lj%2FCLdA2UPS8nZqKyvYIYAbKlTJwPknQ%3D&reserved=0 is the document you have commented on and thishttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F64649&data=04|01||ef5bbbf4509d49fcc76408d8776a585a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637390645912436204|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=du9wAOWdVAviC0DZ1zugE42WT3pH8T7l%2BMlx2j2%2BgVc%3D&reserved=0 is the GitHub issue that you have raised.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F64649%23issuecomment-715420905&data=04|01||ef5bbbf4509d49fcc76408d8776a585a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637390645912456206|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=8pwy3c5wjMp91Gt94jB2R%2BHWeqFfoadMUSBHb10SmFM%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABR65PZX6WWTFSG7W7JDQF3SMGQA3ANCNFSM4SXCF76A&data=04|01||ef5bbbf4509d49fcc76408d8776a585a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637390645912466189|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yVu2OyhCHyYLvSYYcIuDrYHsVCezuys4vhV1Sish6UE%3D&reserved=0.

Thanks for your candid feedback @CarlKCarlK.  I will assign to content author @msftsvenkat for reviewing the feedback.
@msftsvenkat Can you please review this feedback and update the document accordingly?

I apologize that this issue has remained open so long. The quota documentation has been refreshed several times since this issue was filed. I'm going to close this issue now, but please open a new issue if you see further discrepancies or have documentation suggestions.
#please-close


Update to a newer patched git2-rs (and underlying libgit2) crate

The git2-rs crate has been upgraded to 0.15 patched to use our patched libgit2
The underlying libgit2 has been upgraded to v1.5.0 with the worktree config patches (from https://github.com/vermiculus/libgit2/tree/sallred/support-worktree-config) applied

LGTM


Can't duplicate dictionary

I didn't found similar issues
Godot version:
3.0.6
OS/device including version:
Ubuntu 18.04.1
Issue description:
When I try to copy dictionary with duplicate() method it doesn't copy sub-dictionaries. So this doesn't copy them completely. But I expect complete duplication.
Steps to reproduce:
just run the project and you will see it in terminal
Dictionary.zip

Can the same be said about arrays of arrays?

The duplicate method has a deep parameter to do this. docs
So, you would have to do myDict.duplicate(true) to duplicate sub-dictionaries and arrays. Note that this won't duplicate any nodes or resources (or other Object-s) contained in the dictionary.
Duplicate of #3697, implemented by #17382. To be reopened in case it still doesn't work in 3.x, as it is a bug then.

@neikeq Arrays also have the deep parameter in their duplicate function. docs
Also, nice timing there :wink:


docs: fix broken link to SearchEngine class on README

After the app module was divided in 2 packages (java and kotlin) in #1 , the link to SearchEngine on the README ended up broken. This PR should place the correct link.

Thanks for the fix!


Added an option to overwrite the default 10 seconds timeout

Added an option to overwrite the default 10 seconds timeout with any value.
Please note I suggest we allow for an entire guzzle configuration to be passed in, as the current method of overwriting the configuration in the Sparkpost class brings confusion as the guzzle configurations that are passed into the wrapper originally are overwritten.
Fixes #106 , #107 , #109
Please note there is an extra parameter that you can now pass into the sparkpost config array that looks like this:
['key' => $config['api-key'], 'timeout' => 0]]

Thanks for the fix @fishr01!

@richleland Can you tag patch release ASAP?

@zaporylie done - 1.2.1

Great! Thanks

Is this really the solution ? Why does the Sparkpost api respond so slowly ?


styled recent search

Hi Ken, I already styled the recent search history box on the javascript, so we don't need to have a second change. Apologies.


Install not working

Describe the bug
I'm trying to install the latest beta version (7.0.0) but as soon as I click "Head to the installer" I get the 404 Not Found Error page and the following message:
Not Found
The requested URL was not found on this server.
Version
7.0.0 (beta)
To Reproduce
Steps to reproduce the behavior:

Go to 'home page'
Click on 'Head to the installer'
See error: 404 Not found - Not Found - The requested URL was not found on this server.

Expected behavior
when you click 'Head to the installer' I'm expecting the installer page
Screenshots
Additional context

Hi Vezza. Can you try the latest dev build from this link? http://downloads.phpvms.net/phpvms-7.0.0-dev.tar.gz
What web server are you using?

Same error... My web server is a Apache 2.4.41 on Fedora 30 x86_64 linux system. It seems to me that the install folder is missing inside the package...

It's not missing, it uses mod_rewrite to rewrite the URLs... is Apache configured to use/parse .htaccess files?

So this seems to be working on an Apache/cPanel install:
https://vmsdemo.space/install
Make sure the directory you're pointing to for Apache is the public/ folder, not the root phpVMS folder.

Actually I'm seeing some issues with loading assets. The easiest is just to point to /path/to/phpvms/public as the directory root.

Hi, Which is the last known good version which can be safely deployed on a live server?

The dev version I linked to above

BTW it hasn't been released yet, so I wouldn't use it for an active VA. I'm hoping to get this into a 2nd beta and released soon

Thanks. There is definitely room for fixing the install process or the documentation. I have been scratching my head for the last two days trying to set it up, but just cant seem to wrap my head around it. I have it installed in a folder called phpvms. My (sub) domain used for testing is pointing to the /phpvms/public folder. When i launch the site, it goes to the page which says "phpVMS Not Installed" I hit the "Head on to the Installer" button and then i get :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
However, if I access it as /index.php/install it proceeds but with no style and supporting assets etc loaded.
So i'm not sure what is happening. Any guidance will be appreciated.

@cyrussutaria - what version of php? I had the same issue with php 7.2.21. After host updated to php 7.2.22 the issue was resolved. Not sure if it was the php version or that the host had mis-configured that php version somehow. Different releases of phpVMS v7 didn't matter.

~$ php -v
PHP 4.4.9 (cgi-fcgi) (built: Aug 29 2019 12:59:15)
~$ php7.3-cli -v
PHP 7.3.10 (cli) (built: Oct  1 2019 07:20:21) ( NTS )

PHP 4.4.9 (cgi-fcgi) (built: Aug 29 2019 12:59:15)

Yikes. Is the site using PHP 7.1 or higher? You can control that in cpanel

That is the CLI version. phpinfo would show 7.3. I fixed the alias now. But same problem.
~/phpvms$ php -v
PHP 7.3.10 (cgi-fcgi) (built: Oct  1 2019 07:21:12)
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
Host is pointing to phpvms/public directory

I don't think it's related to the PHP versions, is likely that Apache isn't
reading the htaccess file. Any errors in the logs? Without that is going to
be difficult to debug.

Hi, it was an error related to initial htaccess file. fixed with a simple /
Thanks

Do you know what exactly you changed, for future reference? Thanks!
On Mon, Dec 16, 2019, 9:11 AM cyrussutaria<EMAIL_ADDRESS>wrote:

Hi, it was an error related to initial htaccess file. fixed with a simple /
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nabeelio/phpvms/issues/411?email_source=notifications&email_token=AAAYLGG5XLTPSX3B7LWLVXDQY6EC3A5CNFSM4JC24LSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG62Q4Y#issuecomment-566077555,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAYLGEDFYXWTSJXVFLYALLQY6EC3ANCNFSM4JC24LSA
.

RewriteRule ^ index.php [L]
had to be changed to
RewriteRule ^ /index.php [L]
Funny, but it worked.


[Feature request] Disable ligatures for code in the instructions panel

Describe your problem and - if possible - how to reproduce it
Ligatures for character sequences like "fi" and "ffl" look weird and distracting when they show up in monospaced text (see screenshots).
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/es6/write-higher-order-arrow-functions/ displays fi-ligatures in the instructions panel, both in a <code> element and in a <blockquote> element.
Tell us about your browser and operating system

Browser Name: Safari
Browser Version: 11.1.2
Operating System: macOS 10.13.6 (High Sierra)

If possible, add a screenshot here

Proposed fix
After digging around in the DOM inspector, I noticed that something like this was in the CSS:
body { font-feature-settings: "kern","liga","clig","calt","kern"; }

I'm not about to propose removing this, but it turns on ligatures in places that shouldn't have them. I propose adding the following line to a couple of selectors in the CSS:
font-feature-settings: "liga" 0;

and it'd go on
code, kbd, pre, samp

and
.challenge-instructions blockquote

@raisedadead What do you think about this?

I'll defer this to @ahmadabdolsaheb .
Please note that since we moved to the .md files, we maybe able to unify code snippets better. That's we should just be using two types one is inline with back ticks and then there are the blocks with three backticks.

@raisedadead Now I remember you saying there the move to using only backticks for the inline and block sections.  So was @ahmadabdolsaheb working on that?

Not at the minute I guess. But I am suggesting we could unify this from both the UX and the content side, now that we are able to.

This looks to be resolved. Screen shot from this lesson...

Same visuals on safari, chrome and firefox with osx.
If anyone is still having issues with this, feel free to reopen the issue.


Zooming is not working properly.

Zooming in and out all only happens at the top left of the page.
https://user-images.githubusercontent.com/40200357/185233550-98199c83-c9f9-491c-9d68-4a7d84899ecb.mp4

I'm getting this same error in iOS, android works fine though.

@kyagie did you find any solution for it?

I've solved this one.

@BinMansoor11  How do you solve this issue? I'm still facing this issue...when I zoom and swipe to the right it changes to the next page. How can I fix this issue?

@emanu7478 I made following changes in @epubjs-react-native/core/src/View.tsx:
<WebView       ...       scrollEnabled={false} // for iOS       bounces={false}       ... />


Cocoapods Integration

Created a podspec for easy integration.

This is slick. Thanks so much!
Only thing is that it looks like this both upgrades for swift 1.2 (something I've been meaning to get to) and add podspec. I'd like to be able to maintain a release with swif 1.1 support that includes a podspec, and then update master to 1.2.
Any way you could split this up into a podspec PR that we I get merged and release ASAP and then a separate 1.2 PR to merge and release afterwards?
Thanks again!

This is slick. Thanks so much!
Only thing is that it looks like this both upgrades for swift 1.2 (something I've been meaning to get to) and add podspec. I'd like to be able to maintain a release with swif 1.1 support that includes a podspec, and then update master to 1.2.
Any way you could split this up into a podspec PR that we I get merged and release ASAP and then a separate 1.2 PR to merge and release afterwards?
Thanks again!

Yes.  I will get you a separate podspec.  You will have to change some of the values before it will use your branch.  There will need to be a release tag that you use as well as pointing it to your master branch.  I can send you some notes on what values you will want to change.  Thanks :)

Awesome, that's still a huge help. Cheers! :)

Closing for lack of activity… have a separate PR dedicated to Cocoapods support for the current library. #16


The code of gtboxes is wrong. How to solve this problem? Thank you first.

you have the coordinates reversed @StrongBirds

you have the coordinates reversed @StrongBirds
The coordinates of my tfrecord file are reversed. Thank you very much for your quick reply.


Use URL query string to quickly link to resources

Potential problems:

what if a resource disappears? (deleted from sheet)
what if part of the query string is missing?
what if the query string is invalid? (state/resource doesn't exist or whatever)

Fixed in 236e5c0f86e81fa0cfec83d05a7015caec2357dc.


Implement CNI networking configuration

Implement the step of the guide for configuring CNI networking. At the time of creating this issue, it's not clear to me if this configuration file is specific to the CNI or an OS networking tool like NetworkManager.
If the former is true this will likely be a CniConfiguration resource that works similarly to SystemdService or StaticPod.
If the latter is true we should do the same as above but name it after the tool i.e. NetworkManagerConfiguration and consider implementing CniConfiguration more like EtcdConfiguration.

Just to answer the question, these are CNI plugin specific


Using positions in files rather than particle IDs

Problem: At the moment, velociraptor outputs the .catalog_particles files containing all of the particle IDs that are available in a group. This means that when we want to find the particles that belong to a given halo/galaxy, we must read in all of the particle IDs in the snapshot and search through them.
Proposed solution: It would be great to have the position in file output here instead of the particle ID. Even better would be to have a hierarchical structure as follows:
File: halo.catalog_particles

Halos/
    PartType0/
        Halo0/
            <List of particle positions>
        Halo1/
            <List of particle positions>
        ...
    PartType1/
        Halo0/
            <List of particle positions>
        Halo1/
            <List of particle positions>
        ...
    ...

I'm guessing by this you mean the FoF group output? At the moment that's pretty huge as it's stored as text -- in terms of file size dumping this as HDF5 (and e.g. with the structure above) would result in ~20x disk space saving
P.S. Sorry for my slow reply

This is probably a bit late but I have a  couple of comments:
First, having the IDs of particles in groups stored in the files is very useful for building merger trees because you need to know which particles are in which group at each snapshot but you don't really need the positions or velocities. This means you can build trees from just the halo finder output - you don't need to keep all of the snapshots on disk.
Second, HDF5 isn't really optimized for having huge numbers of tiny datasets so having one HDF5 group per halo could make the files larger and slower to read (although I think recent versions of HDF5 might have alleviated this a bit). It's also not great for python where the fastest way to deal with this type of data is to have it in one big array and use numpy vector functions to operate on all the particles at once.

I will actually add a VR output that consists of all particles in groups, the file index they exist in (for swift, this would be not be necessary), the index in the file and their group id. Adds another output but allows for easy extraction for post processing. I will also add something similar for particles in a spherical overdensity but not in a FOF (or subhalo). The format would be single large arrays with particles ordered by group id. Combined with the information in catalog_groups that contains the number of particles in a group and offsets, it makes this information easy to parse. Thoughts?


Reference to Kotlin variables, function arguments, and named parameters are always colored

Describe the bug

References to function variables, function arguments, and named parameters are always colored.

fun Color(
    red: Float,
    green: Float,
    blue: Float,
    alpha: Float = 1f,
) {
    println("red = $red") // `$red` is colored
}

fun main() {
    Color(
        red = 1, // `red` is colored
    )
}

It does not make sense that the variables are colored.
Disabling 'Detect Color Properties' doesn't help.
To Reproduce

Create a Kotlin project
Paste the above code
References are colored

Expected Behavior

References are not colored.
Environment

Plugin version: 14.0.0
IDEA: Build #IU-223.8214.52, built on December 20, 2022

Screenshots

I don't have the time to improve this project. If you wish to help, be my guest.


Caching just Updated Custom Resource Optimization alternatives

In case we execute a controller and update the custom resource at the end, it can take time while we receive the custom resource event from the server and gets into the informers cache in CustomResoureEventSource .  This causes problem in case when there are already events received during the execution. In next reconciliation , what happens instantly, we use an old custom resource, and the next update will fail on conflict.
We handled this situation in V1 but simply caching manually the updated custom resource from the response of the update api call. Currently we cannot do this with informers (well not with a very hacky way)
Note that if there is retry in place this is not a correctness issue just an optimization, but this is possibly happening quite often, and it's quite ugly. Since we see lots of retries.
Alternative solutions to V2:

Don't execute the buffered events instantly, just schedule a new one time event in the close feature (~1-2 second?), usually we receive the update custom resource until that time into cache (not necessary to the Event Handler because of generation filtering). We have to be careful there this event producing should be cancelled in case the event arrives. (I prefer this)
(This would be also reusable to optimize the re scheduling of events)

Don't filter out the next event from custom resource event source. This will allow to receive the event about the update and execute the custom resource. Note that is hard to make correct (if not impossible now) in all cases, there are possible timing issues we have to investiage)

the combination of  1. and 2.

One possible option, though a tricky one to implement would be to delay updating the resource on the server until all the events are processed. Another option would be to have an ephemeral cache of the resource that would only span the current interaction (though I guess defining that interaction might be tricky as well).


SDK can't create and watch inferenceservice at the same time

/kind bug
What steps did you take and what happened:
Running the below python SDK code to create and watch the inferenceservice occasionally have race condition on getting the status.
KFServing.create(isvc, watch=True, timeout_seconds=120)

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-4-06b315a74aac> in <module>
      1 KFServing = KFServingClient()
----> 2 KFServing.create(isvc, watch=True, timeout_seconds=120)

~/.local/lib/python3.6/site-packages/kfserving/api/kf_serving_client.py in create(self, inferenceservice, namespace, watch, timeout_seconds)
    114                 name=outputs['metadata']['name'],
    115                 namespace=namespace,
--> 116                 timeout_seconds=timeout_seconds)
    117         else:
    118             return outputs

~/.local/lib/python3.6/site-packages/kfserving/api/kf_serving_watch.py in watch(name, namespace, timeout_seconds)
     46             continue
     47         else:
---> 48             url = isvc['status'].get('url', '')
     49             default_traffic = isvc['status'].get('traffic', '')
     50             canary_traffic = isvc['status'].get('canaryTraffic', '')

KeyError: 'status'

What did you expect to happen:
it should watch the inferenceservice without error out on race condition.
Anything else you would like to add:
This error happens way more often on kfserving SDK 0.3.0+
Environment:

Istio Version: 1.1.6
Knative Version: 1.11.2
KFServing Version: 0.3.0
Kubeflow version: 1.0.2
Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
Minikube version:
Kubernetes version: (use kubectl version): 1.15
OS (e.g. from /etc/os-release):

/cc @jinchihe

/assign
I will take a look asap. Thanks.

I did not reproduce the problem. But I think this is caused by env issue such as machine is slow so that the status of isvc is not generated.  Thanks.


configuration defect (scala dep) #111

add the JB's proposed solution
Description
Testing

[ ] I created new unit tests
[ ] All unit tests pass
[ ] I have tested manually

Have you updated the README or other relevant documentation?

[ ] Yes
[ ] Not yet. I will do it next.
[ ] Not relevant

let's see...


[v0.18.n - animation-sync] failed to sync user on re-enter

unhandledRejection TypeError: Cannot read property 'payload' of undefined  at constructor.stage:sync-animations (C:\code\Microsoft\mixed-reality-extension-sdk\packages\sdk\built\internal\adapters\multipeer\protocols\clientSync.js:93:50)  at ClientSync.executeStage (C:\code\Microsoft\mixed-reality-extension-sdk\packages\sdk\built\internal\adapters\multipeer\protocols\clientSync.js:167:19)  at ClientSync.run (C:\code\Microsoft\mixed-reality-extension-sdk\packages\sdk\built\internal\adapters\multipeer\protocols\clientSync.js:184:32)  at process._tickCallback (internal/process/next_tick.js:68:7)

Same callstack occurred in the grab test upon user re-enter.

Within ClientSync.ts
Animations created from a gltf are never added to animationCreatorSet. The bellow will fix the issue but I'm not sure if it's the desired outcome.
    if (anim.update && (!createMessage || (createMessage && createMessage.payload.type !== 'create-animation-2'))) {
        super.sendMessage(anim.update);
    }

@norybiak Good thought, but I don't think that's it. The create-from-prefab rule adds the message to the animation creators, so it should exist by the time the object-spawned comes back.

Sigh, found it. I was trying to look up the animation creator message by the animation ID, not the creator message ID. PR coming soon.


gdx-pay-android-googlebilling does not support subscriptions

gdx-pay-android-googlebilling does not yet support subscriptions.
Only IN_APP is supported currently, as it is always set as SkuType: https://github.com/libgdx/gdx-pay/blob/master/gdx-pay-android-googlebilling/src/com/badlogic/gdx/pay/android/googlebilling/PurchaseManagerGoogleBilling.java#L123
Please select the affected platforms and payment service implementation

[ ] Amazon
[X] googlebilling
[ ] googlepay
[ ] apple iosmoe
[ ] apple robovm

The problem is that you can only set one SkuType per query, and that it is mandatory.
I am going to implement an improvement: add support for subscriptions. One GoogleBilling client then supports either subscriptions or in app, but not both at the same time.
While it is possible to implement both at the same time, it takes more effort to do so, and I don't need that functionality yet, so it is hard to verify it actually works correctly as I don't have an app with both used together.
@MrStahlfelge  ok if I implement it that way, to mutually exclusive IN_APP and Subscription SkuType?

Soure, every enhancement is better than the current state.
But I think it is possible to use only a single client: purchase()-method is okay as it is in your version. purchaseRestore() could make two calls. The only complicated thing is the sku details setup.

Solved the issue as with pr #211


feat(config): add new device config for Z-Station

basic device config for the z-wave.me Z-Station controller

woops, added missing comma


[OPENENGSB-2124] replace OpenEngSBCoreServices.getConfigPersistence with

[OPENENGSB-2124] replace OpenEngSBCoreServices.getConfigPersistence with blueprint-DI
Registering the ManagedServiceFactory to provide ConfigPersistenceServices must be done in a different bundle then. It was moved to persistence.

already merged


docs(ee/34/auth) add video for creating super admin

NOTE: Please read the CONTRIBUTING.md guidelines before submitting your patch,
and ensure you followed them all:
https://github.com/Kong/docs.konghq.com/blob/master/CONTRIBUTING.md
Summary
Add a video for creating a Super Admin in Kong Manager using the Organization page

Checklist:

[x] Commit message & atomicity checked
[x] Documentation
[x] Spellchecked my updates
[x] Ready to be merged

See the video here: https://5c5b859a18afcf0008ddcb60--kongdocs.netlify.com/enterprise/0.34-x/kong-manager/configuration/authentication/#how-to-set-up-a-super-admin

@jitachi , @pd333 , preview at: https://5c5b859a18afcf0008ddcb60--kongdocs.netlify.com/enterprise/0.34-x/kong-manager/configuration/authentication/#how-to-set-up-a-super-admin


Try ThinVec crate to reduce AST size

This PR is for documentary reasons. I don't plan to land this change.
The PR removes the uses of Vec<T> with ThinVec<T> in the AST to shrink the AST node sizes. The hope was that this would improve performance, but the performance remains unchanged.
The reason why I do not recommend merging this PR is because ThinVec s cannot easily be passed to C or Python (with PyO3) which outweighs any potential memory gains from this.
Results from running ruff (https://github.com/RustPython/Parser/pull/34)
group                                      thin                                   vec
-----                                      ----                                   ---
linter/all-rules/large/dataset.py          1.00      8.4±0.09ms     4.8 MB/sec    1.00      8.5±0.01ms     4.8 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00  1992.1±26.25µs     8.4 MB/sec    1.02      2.0±0.00ms     8.2 MB/sec
linter/all-rules/numpy/globals.py          1.00    222.2±0.40µs    13.3 MB/sec    1.00    223.0±2.85µs    13.2 MB/sec
linter/all-rules/pydantic/types.py         1.02      3.5±0.01ms     7.2 MB/sec    1.00      3.5±0.05ms     7.4 MB/sec
linter/default-rules/large/dataset.py      1.01      4.3±0.01ms     9.5 MB/sec    1.00      4.3±0.03ms     9.5 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00    873.7±3.13µs    19.1 MB/sec    1.00   876.6±11.89µs    19.0 MB/sec
linter/default-rules/numpy/globals.py      1.00     93.5±1.29µs    31.6 MB/sec    1.01     94.3±1.00µs    31.3 MB/sec
linter/default-rules/pydantic/types.py     1.00  1858.6±48.21µs    13.7 MB/sec    1.00   1866.1±5.12µs    13.7 MB/sec
parser/large/dataset.py                    1.00      3.4±0.01ms    12.0 MB/sec    1.00      3.4±0.02ms    12.0 MB/sec
parser/numpy/ctypeslib.py                  1.03    653.5±1.82µs    25.5 MB/sec    1.00   631.7±10.19µs    26.4 MB/sec
parser/numpy/globals.py                    1.00     65.5±0.66µs    45.1 MB/sec    1.00     65.2±0.87µs    45.3 MB/sec
parser/pydantic/types.py                   1.01  1424.0±11.01µs    17.9 MB/sec    1.00  1407.8±23.95µs    18.1 MB/sec

which is mainly just noise.

Related lalrpop issue https://github.com/lalrpop/lalrpop/issues/800


Update Kubernetes from v1.13.5 to v1.14.0

https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.14.md#v1140
Previously tested:

[x] v1.14.0-alpha.2
[x] v1.14.0-beta.0
[x] v1.14.0-beta.1
[x] v1.14.0-beta.2
[x] v1.14.0-rc.1
[x] v1.14.0

The new aggregation layer test will only pass when the upcoming aggregation_enabled=true option is set (will default to false).
Summarizing 1 Failure:

[Fail] [sig-api-machinery] Aggregator [It] Should be able to support the 1.10 Sample API Server using the current Aggregator [Conformance]
/workspace/anago-v1.14.0-rc.1.5+641856db183520/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/apimachinery/aggregator.go:371

Ran 204 of 3584 Specs in 5567.772 seconds
FAIL! -- 203 Passed | 1 Failed | 0 Pending | 3380 Skipped --- FAIL: TestE2E (5567.91s)


Route rebuilding of battery powered nodes cause issues

Checklist

[X]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Z-Wave JS UI version
9.16.4
ZwaveJS version
13.0.3
Describe the bug
Upon asking a battery powered node to rebuild its routes (here, a fibaro eye motion sensor), the command seems to be queued correctly and will for sure be executed upon the next wake up of the battery powered device.
Rebuild route is asked via the "network" page of ZWJSUI.
Problem : while we are waiting for the battery powered node to wake up, the next commands we will send for rebuilding routes of other nodes will fail and display an error message saying rebuilding routes failed for that other node (battery powered of not).
To Reproduce
Go to the network page.
Click on a battery powered node.
That will open the node properties widget.
Down on the widget, click "Rebuild routes".
Wait a few seconds.
Go back on the main network page view (with all the nodes).
Click another node, doesn't matter if battery powered or not.
On the widget of that node, click "Rebuild routes".
You get the error message.
After that, no matter where from you try to ask for a route rebuild (main page, node page, etc.), you'll always get a rebuild route error until either the battery powered node you asked the rebuild for has done it, either until you fully restart ZWJSUI.
Expected behavior
The rebuild node command is queued for the battery powered device but does not prevent to ask for rebuilding routes of other nodes
Additional context
No response

Like I mentioned in your other issue, this is part of a larger problem: https://github.com/zwave-js/node-zwave-js/issues/3707
Right now, rebuilding routes is not considered as a block of commands, but rather a parallel process that can send commands when it needs to. As a workaround, those tasks like rebuilding, firmware updating, etc. prevent other instances of those tasks to be started in parallel, because they would interfere with each other.


Fix ParticleFilter::updateWeights std_landmark[] argument description

A discussion with a fellow student lead us to believe that the description for the std_landmark[] argument for ParticleFilter::updateWeights() in particle_filter.h is incorrect.
Following the logic from lines 43 and 115 of main.cpp
double sigma_landmark [2] = {0.3, 0.3}; // Landmark measurement uncertainty [x [m], y [m]]

and
pf.updateWeights(sensor_range, sigma_landmark, noisy_observations, map);

respectively.
This suggests that the std_landmark argument reflects the measurement uncertainties of x and y, not range and bearing.
I hope I have correctly interpreted the ambiguity and that you think this correction is worth merging.

Looks like Andrew actually added this based on your PR back in c0c726b, thanks for making this!