honeycomb-link formatting

Hi @tecchan1107
I love the work you have done on the honeycomb link. I have made a bunch of changes on my side to accommodate additional formatting. One format I have not been able to figure out is how to show a border or the stroke. I have applied this attribute in several places. sometimes it will display at about 1px, regardless of the stroke-width. would you mind offering some assistance and telling me how a can apply a border/stroke to the output?
also trying to apply a hover effect, but have only been able to get it on the text or icon, I would like to figure out how to apply it to the shape.
thanks

Hi @jaxkookie ! Thank you!!

it will display at about 1px, regardless of the stroke-width. would you mind offering some assistance and telling me how a can apply a border/stroke to the output?

Currently, stroke-width is not supported in List Formatting. Therefore, I don't think the width can be changed.
I tried to change it in the past, but still couldn't😫
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/formatting-syntax-reference#style

also trying to apply a hover effect, but have only been able to get it on the text or icon, I would like to figure out how to apply it to the shape.

I removed the class of the svg element and added the class of the a element and was able to add the hover effect to the hexagon.
https://github.com/pnp/List-Formatting/pull/548

(I wanted to implement such a hover effect at the time of implementation, but it didn't occur to me at the time😅)


Fix availableCommandPlugins()

According to the original proposal, only plugin products from direct dependencies should be included here. The proposal doesn't mention root packages directly, but I think it makes sense to include any plugin targets from them, regardless of whether they're exposed via a product or not.
In addition, this method was just returning all plugin targets, we should limit it to those that define a command plugin, as the name suggests.

@swift-ci please smoke test

add test?

maybe we can expand an existing test

As far as I can see, in terms of existing tests we have testCommandPlugin() which already seems too big and is of course also an integration test. Extending that with a larger package graph doesn't seem like a good idea to me.
I really think we should make this code testable (also the code of other commands) and then create targeted tests which are maintainable and fast.

Going to merge this as-is as discussed offline, https://github.com/apple/swift-package-manager/pull/6827 will stay open to improve test infra and add test coverage for plugin --list.


Parameters: -AvaliableDate -AvaliableTime

Hello,
During a test I'm using example 1 on this page, I noticed that there was a fault on the following parameters: -AvaliableDate -AvaliableTime instead of -AvailableDate -AvailableDateTime.
Thank you for your consideration.
Valentin

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

ID: 6969261b-81a1-8b64-29f9-08b77c618983
Version Independent ID: 3482ebd5-2bfc-033f-7936-e6081e42b526
Content: Set-CMApplicationDeployment (ConfigurationManager) - Configuration Manager
Content Source: sccm-ps/ConfigurationManager/Set-CMApplicationDeployment.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @vlepineadm for the feedback. I'll get this fixed shortly


When running Python code, user's input will appear in the incorrect place

Windows Terminal version
1.23.2913.0
Windows build number
10.0.27729.1000
Other Software
Visual Studio 2022 /w Python 3.9
Steps to reproduce
1: Create a python script that accepts user input using Visual Studio 2022
2: Run the script and begin typing
Expected Behavior
User input will appear in the correct place, such as the end of a line
Actual Behavior
User input appears at the top left of the terminal window

Hey @lhecker, this seemed potentially related to the cooked read or conPTY changes - I asked Xeno to post here on GitHub :)


what is "Most likely there is a loop of streams"?

total wire length: 87140
SLR boundary 0 - 1 has 14732 crossings
SLR boundary 1 - 2 has 7053 crossings
SLR boundary 2 - 3 has 0 crossings
total wire length: 119900
SLR boundary 0 - 1 has 14732 crossings
SLR boundary 1 - 2 has 7053 crossings
SLR boundary 2 - 3 has 0 crossings
Failed to balance reconvergent paths at loop level. Most likely there is a loop of streams.
Floorplan finishes

It's a bit outdated, could you try simply comment out this step in the AutoBridge source code?

AutoBridge is no longer supported and will not be fixed in TAPA

AutoBridge is no longer supported and will not be fixed in TAPA

Does this mean that the AutoBridge functionality needs to be completed through RapidStream?


Sign-in Issue in Step5

At Step 5, I was facing the issue with User Sign-in, where after clicking on Sign-in button and selecting the Google Account, it was neither redirecting nor authenticating. Can you please help me on this?

I am having the same issue and posted the question on their slack channel. If I get a response I'll post it here.

Same thing here. After clicking on SIGN-IN WITH GOOGLE, I get the following error response:
{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "ipRefererBlocked",
    "message": "The referrer https://regal-sun-144102.firebaseapp.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions.",
    "extendedHelp": "https://console.developers.google.com/apis/credentials?project=88478223524"
   }
  ],
  "code": 403,
  "message": "The referrer https://regal-sun-144102.firebaseapp.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions."
 }
}

In firebase console I have enabled Google Auth provider and there is regal-sun-144102.firebaseapp.com
domain listed below in the authorized domains list.

Normally the API referrer restriction is automatically configured at project creation time.
I'm guessing something wrong happened when your Firebase project was created (I've seen some rare occurrence of that) and not everything was initialized correctly.
Could you please try creating a new Firebase project and re-configuring your CLI for it? firebase use --add

Two things that I ran into with regard to this lab:
#1 If you're using firebase serve to get a preview of the app, you need to enable the domain it is served from in Firebase=>Authentication=>Sign-in Method=>Authorized Domains.   By default, the domain when doing firebase deploy is enabled by default
#2 The mechanism requires you to have third-party cookies enabled.  (Mine weren't).  So, in Google Chrome=>Settings=>Advanced=>Privacy and Security=>Content Settings=>Cookies=>Block Third Party Cookies,  set it to disable

Hi Murdy, I do not have a good phone number for you so give me a call...I would love to give you a 10 minute demo when you are in front of a computer.  I usually suggest the Silver or Gold plan.  I attached a link to my  Facebook page.  If you'd like a quick video that sums up what we do, CLICK HERE!
https://www.facebook.com/Sharon-Virag-Realtor-Rodeo-Realty-1222785424475900
We also offer Facebook cover photo's for $49 I attached the photo's you can choose from.
Here's what sets us apart: We guarantee that the content we post on your behalf will be seen by thousands of Facebook users in your target market every single month. No other company in real estate can say that.
Back At You Media also provides:
Listing and Open House tool that immediately improves the look and thus the performance of your posts
A boosting tool where you can choose your own budget
Fully-licensed content posts, including Local Market Charts and blogs
Customizable lead capture pages, including a Home Valuation Tool
Hyper-targeted Facebook ads
Content scheduling tool for simultaneous posting to Facebook, Twitter and LinkedIn
Educational Webinars
World-Class Support
Pricing Information:
One-time Activation Fee:  $49 for annual.  $99 for 6 mo. plan and $149 for monthly.
Available Packages:
NAR Starter: $120 annually or $15 monthly - Social Media Center (SMC) to publish your listings and a personalized Home Value tool.  Single Property Websites for listings and auto-posting of future listings. Social Media Listing Reports. You get our Great Facebook Boosting Technology.   NAR Activation is $49
Bronze: $588 annually or $300  6 mo. plan. or $69 monthly- SMC plus management of Facebook, Twitter and Linkedin. Includes content, lead capture landing pages, and auto-publish for your listings.
Silver: $1,188 annually or $600 6 mo. plan or $119 monthly - SMC plus management of Facebook, Twitter and Linkedin. Includes Content, lead capture landing pages, and publish your listings. PLUS branding for your business. We guarantee you'll reach a minimum of 6k people per month.
Gold: $3,588 annually or $1800 6 mo. plan or $349 monthly.  - SMC plus management of Facebook, Twitter and Linkedin. Includes Content, lead capture landing pages, and auto-publishing for your listings. PLUS branding for your business. We guarantee you'll reach a minimum of 6k people per month. PLUS +/- 100 leads annually.
Platinum: $5,988 annually or $599 monthly - SMC plus management of Facebook, Twitter and Linkedin. Includes Content, lead capture landing pages, and auto-publishing for your listings. PLUS branding for your business. We guarantee you'll reach a minimum of 6k people per month. PLUS +/- 150 leads annually.
Diamond: $11,988 annually or $1199 monthly - SMC plus management of Facebook, Twitter and Linkedin. Includes Content, lead capture landing pages, and auto-publishing for your listings. PLUS branding for your business. We guarantee you'll reach a minimum of 6k people per month. PLUS +/- 300 leads annually.
Monthly payment plans available
Please don't hesitate to reach out with any questions and take a look at the following links for examples of what we do.
SAMPLE FACEBOOK PAGE
FEATURED PROPERTY WEBSITE
PROPERTY REPORT (for Boosted listings)
Thank you!  Lets Talk! Sharon Virag~
Sharon Virag
Social Media Expert at Back At You Media
Your Facebook Marketing & Technology Team
O
E
818-990-0565 x 110
<EMAIL_ADDRESS>Proud Partner in NAR's REALTOR Benefits® Program.


Solderer stops working after relog

Issue description:  After logout/login HermitPack server, solderer stops working until you break it and re-place it
What happens: Attempting to use solderer will demonstrate that the recipe will not create the intended product after login.
What you expected to happen:  It to work normally.
Steps to reproduce:

Create Solderer
Create recipe (anything)
Logout
Log back-in
Create recipe (anything).  At this point it will not work.
Break solderer
Place solderer
Create recipe (anything).  Back to working normally

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: 1.10.2-<IP_ADDRESS>5-universal
Refined Storage:  1.1.2

Does this issue occur on a server? [yes]
If a (crash)log is relevant for this issue, link it here:
[n/a]

duplicate of #370


Unable to specify playerVars for YouTube iFrame API

The playerVars for the YouTube iFrame API are currently hard coded as:
player = new YT.Player(settings.containerId, {
    ...
    playerVars: {controls:0, wmode:'transparent'},
    ....

A side effect of this is that you can't specify that a YouTube video should play inline and not full screen in Safari on iOS

@davehax Thanks for pointing this. I'll create a PR to address this and keep you posted

@davehax I created a PR that solves this issue (#1842); please test and let me know if it works for you

Closing this issue since fix has been merged


Coding problem

There is a problem in Chinese；If the attribute value is Chinese, there will be a problem with the Chinese language

checkout the new version I just published though see the note in the readme
about IE
On Fri, Jun 9, 2017 at 3:00 AM service<EMAIL_ADDRESS>wrote:

There is a problem in Chinese；If the attribute value is Chinese, there
will be a problem with the Chinese language
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/calvinmetcalf/shapefile-js/issues/80, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABE4n5DJmNLoZuR20dtouw1eTGI2j0-8ks5sCO14gaJpZM4N0-Wc
.

I' m having same issue here,Chinese character is not encoded correctly and I am using Chrome. What else steps are needed to display them correctly?Thanks.

have you tried the nw version @wxia5 ?

yes,I am using the gh-page branch and still no luck. However, I find this link works for me.
link
It works fine for my data which is encoded in gb2312. Hope it helps a little bit.
Regards.

@calvinmetcalf I think the problem is here https://github.com/calvinmetcalf/shapefile-js/blob/gh-pages/lib/index.js#L93
parseDbf takes buffer and encoding. That line is giving it two buffers. (Or mostly buffer and undefined)

@fix in #95

I am using the latest version of this library.
And parseing a shp-file
`Observable.forkJoin([
Observable.fromEvent(shpReader, 'loadend').first(),
Observable.fromEvent(dbfReader, 'loadend').first()
]).subscribe(res => {
let geoJson = shp.combine([shp.parseShp(shpReader.result), shp.parseDbf(dbfReader.result)])
this.readGeoJsonInit(geoJson);
  });

  shpReader.readAsArrayBuffer(shpFile.shp);
  dbfReader.readAsArrayBuffer(shpFile.dbf);`

My attributevalues contains swedish chars and i can't manage to get them in right encoding.
Any tips?

shp.parseDbf(dbfReader.result) can take as a second argument the encoding, aka the contents of the .cpg file

I got the same problem. The shp file created by ArcGIS doesn't contain cpg, while the Chinese characters are encoded by GBK. Then I use QGIS to edit the files, it works.
使用QGIS生成的shp可以在这个插件下正常使用。


Reason for revert: the complexity-test image was broken, lacking clang and llc binaries. This was fixed in
https://github.com/cilium/little-vm-helper-images/pull/51 but for some reason the image build failed so no new image version was built. Revert for now to unbreak the ci-verifier workflow.
Successful run with test commit: https://github.com/cilium/cilium/actions/runs/4497492997?pr=24535

Successful run with test commit: https://github.com/cilium/cilium/actions/runs/4497492997?pr=24535. Removing test commit.


slow download speeds from YouTube

I notice some incredible slow YouTube download speeds my connection using speedtest
(base) joseph@joseph-X541UJ:~$ speedtest

   Speedtest by Ookla

     Server: we - Alexandria (id = 27652)
        ISP: Telecom Egypt
    Latency:     4.78 ms   (0.26 ms jitter)
   Download:    37.40 Mbps (data used: 25.2 MB)
     Upload:     3.06 Mbps (data used: 2.8 MB)
Packet Loss:     0.0%
 Result URL: https://www.speedtest.net/result/c/464ccb36-8b93-4710-8c52-b46163d54ac7

when I download the video
(base) joseph@joseph-X541UJ:~$ youtube-dl https://www.youtube.com/watch?v=LFThbSf_2VA
[youtube] LFThbSf_2VA: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: Injustice - Exclusive Official Batman and Superman Clip (2021) Justin Hartley, Anson Mount-LFThbSf_2VA.f248.webm
[download]  40.7% of 5.61MiB at 66.93KiB/s ETA 00:50

streaming videos at Full HD seems to be fine.
I'm using the latest version
(base) joseph@joseph-X541UJ:~$ youtube-dl --version
2021.06.06

@89z I'm sorry I just it's hard to go along with hundreds of posts looking for solutions ( I didn't find any unfortunately) if you want to close it that's up to you, perhaps you may want to consider updating FAQ with this issue.

@89z I'm sorry I just it's hard to go along with hundreds of posts looking for solutions ( I didn't find any unfortunately) if you want to close it that's up to you, perhaps you may want to consider updating FAQ with this issue.

That is an absolutely rude and selfish attitude. Just looking literally only at the first page:
https://github.com/ytdl-org/youtube-dl/issues
I got these:

https://github.com/ytdl-org/youtube-dl/issues/30097
https://github.com/ytdl-org/youtube-dl/issues/30102
https://github.com/ytdl-org/youtube-dl/issues/30109
https://github.com/ytdl-org/youtube-dl/issues/30119

which tells me that you didnt try to look at all.


Output the hess_inv from bfgs using the Optimizer API

Hi Reuben, I would like to ask if it is possible to extract the hessian_inv from BFGS using the Optimizer API (Minimizer) as is possible with the functional API?

I found it in optimizer._result
Thanks


Clarification of ZIF_ABAPGIT_OBJECT~EXISTS required

According to https://docs.abapgit.org/development/serializers.html, EXISTS should check if an object exists. However, several classes only check if an active version of the object exists and return false although an inactive version might exist. Is this intended or a bug?
Examples:
https://github.com/abapGit/abapGit/blob/master/src/objects/zcl_abapgit_object_dtel.clas.abap#L227 (call with status = 'A')
https://github.com/abapGit/abapGit/blob/master/src/objects/zcl_abapgit_object_doma.clas.abap#L303 (select with as4local = 'A')
https://github.com/abapGit/abapGit/blob/master/src/objects/zcl_abapgit_object_type.clas.abap#L80 (call with r3status = 'A')
This has a side effect in case classes check for existence for example before deletion and therefore inactive objects do not show in the repo view nor can they be uninstalled. I guess I answered my own question -> It's a bug ;-)
Example:
https://github.com/abapGit/abapGit/blob/master/src/objects/zcl_abapgit_object_tabl.clas.abap#L575

yea, did not consider the above scenario, some changes are needed to handle it


Create new subtopic called "Diagnostic" under the "Math" Topic

Hey @SteveCollins17 and @KafkaNoNeko it's been a long time since I've done this and I don't want to do it wrong...with the scripts. I feel like some basic instructions/documntation would also be nice!
Could one of you please create a new subtopic called "Diagnostic" under the "Math" Topic?
Thanks!
Firas

Yup I will add that subtopic right away and start putting together a quick instruction document explaining the LOs, numbering format, to put new additions at the bottom of the list, etc.. Do you just want that as comments at the top of the MasterList yml?

I think a couple of short instructions can just be added to this README file: https://github.com/open-resources/learning_outcomes/blob/main/README.md

Hey @KafkaNoNeko do you want to take a look at what I've added to the README file and see if I've missed anything or if there is something you would like to add.

Hey @KafkaNoNeko do you want to take a look at what I've added to the README file and see if I've missed anything or if there is something you would like to add.

It looks good in general!  The only issue is
If a specific subtopic does not have a subsubtopic the tagging format simply reduces to the format (Topic.Subtopic.LearningOutcome) leaving a tag with only 3 values. (Ex. 2.4.2)

It seems this is not the case in the csv file.  For example, the math topic outcomes are numbered <IP_ADDRESS> and <IP_ADDRESS> instead of 1.1.1. and 1.1.2.

Right ok will change that. Thanks!


SearchAnchor doesn't update trailing icons

Steps to reproduce
I am in the process of integrating a search feature into my app and have stumbled upon a challenging issue. My implementation utilizes the SearchAnchor and SearchBar widgets, but I am facing difficulties in concealing the close icon within the search route view when there are no search queries. The goal is to ensure the close icon is only displayed when users have entered a query.
Why my initial approach failed while the latter one works?
Expected results
I devised a workaround by developing a separate stateful widget that specifically handles the rebuilding of the trailing icons:
https://dartpad.dev/?id=0832ec3eee0b686b3f844092b0222217
Actual results
To provide a clear picture of the issue, I have shared a DartPad snippet illustrating the problem:
https://dartpad.dev/?id=f65ca59d3cd5afee774e4ef7fdc0ffc9
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(
    const MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: Padding(
            padding: EdgeInsets.all(16),
            child: CustomSearchBar(),
          ),
        ),
      ),
    ),
  );
}

class CustomSearchBar extends StatefulWidget {
  const CustomSearchBar({super.key});

  @override
  State<CustomSearchBar> createState() => _CustomSearchBarState();
}

class _CustomSearchBarState extends State<CustomSearchBar> {
  final SearchController _controller = SearchController();

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

  @override
  Widget build(BuildContext context) {
    return ValueListenableBuilder<TextEditingValue>(
      valueListenable: _controller,
      builder: (context, value, _) {
        return SearchAnchor(
          searchController: _controller,
          viewTrailing: _controller.value.text.isNotEmpty
              ? [
                  IconButton(
                    icon: const Icon(Icons.clear),
                    onPressed: () {
                      _controller.clear();
                    },
                  )
                ]
              : [],
          builder: (context, controller) {
            return SearchBar(
              controller: controller,
              hintText: 'Search',
              onTap: controller.openView,
              leading: const Icon(Icons.search),
            );
          },
          suggestionsBuilder: (context, controller) {
            return [];
          },
        );
      },
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.19.0, on Microsoft Windows [Version 10.0.22631.3235], locale en-US)
    • Flutter version 3.19.0 on channel stable at C:\tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (4 weeks ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\aarro\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2022.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] VS Code (version 1.87.1)
    • VS Code at C:\Users\aarro\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.84.0

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 122.0.6261.112
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 122.0.2365.59

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

• No issues found!

I can reproduce this issue as well.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.3 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (6 hours ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

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

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 122.0.6261.112

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

• No issues found!

[!] Flutter (Channel master, 3.21.0-4.0.pre.14, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.21.0-4.0.pre.14 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1ca88730a0 (2 hours ago), 2024-03-11 18:31:25 -0700
    • Engine revision 6745955bb4
    • Dart version 3.4.0 (build 3.4.0-220.0.dev)
    • DevTools version 2.33.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

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

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2023.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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 122.0.6261.112
    ! Error: Browsing on the local area network for iPad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

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

! Doctor found issues in 1 category.

I think the issue is why the widget does not rebuild when the _controller.value.text changes, if I want to use a different trailing icon, then the problem will persist.


[SPARK-31867][SQL] Fix silent data change for datetime formatting

What changes were proposed in this pull request?
the new datetime formatter introduces silent data change like,
spark-sql> select from_unixtime(1, 'yyyyyyyyyyy-MM-dd');
NULL
spark-sql> set spark.sql.legacy.timeParserPolicy=legacy;
spark.sql.legacy.timeParserPolicy	legacy
spark-sql> select from_unixtime(1, 'yyyyyyyyyyy-MM-dd');
00000001970-01-01
spark-sql>

For patterns that support SignStyle.EXCEEDS_PAD, e.g. y..y(len >=4), when using the NumberPrinterParser to format it
switch (signStyle) {
  case EXCEEDS_PAD:
    if (minWidth < 19 && value >= EXCEED_POINTS[minWidth]) {
      buf.append(decimalStyle.getPositiveSign());
    }
    break;

           ....

the minWidth == len(y..y)
the EXCEED_POINTS is
/**
         * Array of 10 to the power of n.
         */
        static final long[] EXCEED_POINTS = new long[] {
            0L,
            10L,
            100L,
            1000L,
            10000L,
            100000L,
            1000000L,
            10000000L,
            100000000L,
<PHONE_NUMBER>L,
<PHONE_NUMBER>0L,
        };

So when the len(y..y) is greater than 10,  ArrayIndexOutOfBoundsException will be raised.
And at the caller side, for from_unixtime, the exception will be suppressed and silent data change occurs. for date_format, the ArrayIndexOutOfBoundsException will continue.
In this PR, for EXCEPTION mode, we wrapped exceptions from the new formatter during formatting to SparkUpgradeException for end-users to make proper decisions.
Why are the changes needed?
fix silent data change.
Does this PR introduce any user-facing change?
Yes, SparkUpgradeException will take place of null result when something is wrong during new formatter's formatting phase.
How was this patch tested?

add unit tests,
the sql/core/src/test/resources/sql-tests/results/datetime-corrected.sql.out is added for different behaviors from the caller sides.

Test build #123276 has started for PR 28673 at commit fc91f2d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27898/
Test PASSed.

cc @cloud-fan @MaxGekk @maropu thanks very much

Test build #123281 has started for PR 28673 at commit a36421f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27905/
Test PASSed.

Test build #123283 has started for PR 28673 at commit d904e1c.

Test build #123281 has finished for PR 28673 at commit a36421f.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123281/
Test FAILed.

Test build #123276 has finished for PR 28673 at commit fc91f2d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123276/
Test PASSed.

Test build #123283 has finished for PR 28673 at commit d904e1c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123283/
Test PASSed.

Test build #123296 has started for PR 28673 at commit 401df0e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27918/
Test PASSed.

Test build #123296 has finished for PR 28673 at commit 401df0e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123296/
Test PASSed.

Test build #123309 has started for PR 28673 at commit a5da8c3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27931/
Test PASSed.

Test build #123309 has finished for PR 28673 at commit a5da8c3.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123309/
Test FAILed.

retest this please

Test build #123312 has started for PR 28673 at commit a5da8c3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27934/
Test PASSed.

Test build #123312 has finished for PR 28673 at commit a5da8c3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123312/
Test PASSed.


Can't shim 'blenderplayer.exe': File doesn't exist.

Which app are you talking about?

it is about blender.json and it is not installed completely because of that

See https://github.com/lukesampson/scoop-extras/pull/2539 . Please update and try again.


Create new account permission added

Signed commits

[x] Yes, I signed my commits.

@iArchitSharma confirm regarding the Owner


#1330 #1022

#1330 #1022
https://github.com/paulgb/penkit/issues/2
@Mizux , kindly help.
Originally posted by @gayatripadhi in https://github.com/google/or-tools/issues/1406#issuecomment-508702489

Why are you linking unrelated issues ?

Closing the issue. Apologizes.


How can get index or key for a value in BOX

I have Model adapter user
How can get a key or index  using model for edit user
UserBox.put(key or index, User('id','username',passoword'));

Why don't you read the full documentation first?
I'll give you a tip: Hive.box<User> UserBox

You can watch this tutorial and you will find the answer.
https://www.youtube.com/watch?v=w8cZKm9s228
I hope this help you.


lwIP HTTP: SSI fails when receiving multiple requests simultaneously

On Raspbery Pi Pico I'm running a web server over USB with SSI enabled. SSI is mostly working and tags are being replaced as you expect unless multiple requests are sent at the same time.
As little as five requests simultaneously will trigger that bug. Three of those requests are being fulfilled as expected but two of them return the document without replacing the SSI tags.
To workaround it I had to add a 200ms delay between requests. With 100ms delay I would still get a failed response from time to time.
Unfortunately I don't have a public sample project to reproduce that issue and it could be quite some work to setup. You would need something like net_lwip_webserver from TinyUSB, add SSI to it and web pages to make the requests using AJAX.
https://github.com/hathach/tinyusb/blob/master/examples/device/net_lwip_webserver
Came across that issue when using Pico SDK 1.5.1 which is using that commit:
https://github.com/lwip-tcpip/lwip/commit/239918ccc173cb2c2a62f41a40fd893f57faf1d6
This issue is a duplicate of the one on lwIP bug tracker:
See: https://savannah.nongnu.org/bugs/index.php?66129

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Turn out you can configure lwIP to handle parallel requests:
#define HTTPD_USE_MEM_POOL                  1
#define MEMP_NUM_PARALLEL_HTTPD_CONNS       16
#define MEMP_NUM_PARALLEL_HTTPD_SSI_CONNS   16


Dynamically load a node after init_blue

Let's say that I have a running btferret library and init_blue has already been called. Is there a way to add a new node at run-time? I know the specifications of the node when starting init_blue but I don't know its mac address.
Alternatively, could I put a fake mac address when calling init_blue and edit later the mac address even by patching btlib.c?

Answering my own question:

MATCH_NAME is not ideal in my case.
the address is stored in dev[i]->baddr. This is "hacky".


Query negative coordinates in tileSources

OpenSeadragon({
    id:            "canvas",
    // navigatorSizeRatio: 0.25,
    showNavigator:      false,
    wrapHorizontal:     false,
    visibilityRatio: 1.0,
    constrainDuringPan: false,
    minZoomLevel: 0.00001,
    maxZoomLevel: 2,
    tileSources:   {
        height: 20*256,
        width:  20*256,
        tileSize: 256,
        minLevel: 1,
        maxLevel: 1,
        getTileUrl: function( level, x, y ){
            return "http://localhost:2718/" + x + "," + y + ".png";
        }
    }
});

Given this configuration, I only see non negative coordinates being loaded. Is there a way to have them be loaded?
I guess I could do some manual offsetting with links or something but is there an easier way?

Yeah, OSD's tile X/Y system goes from 0, 0 in the upper left and counts up from there. Your system has negative numbers? If so, you'll have to subtract something from the X and Y.
Out of curiosity what did you use to create your tiles? How do the numbers go on them?

Minecraft chunk coordinates :P
Should range from about -100k x and y (or, z, actually)

Nice! Mapping a Minecraft world seems like a great use for OSD :)
You say it ranges from -20K to 20K, but in your tile source definition you say width:  20*256, which would just be 20 tiles, not 40,000 tiles. Is it really 40,000 tiles? If so, you would want to do width:  40000*256. Actually, I guess it would be 40,001, because of the 0 tile.
Anyway, if it starts at -20,000, then you should be able to just modify your getTile like so:
return "http://localhost:2718/" + (x - 20000) + "," + (y - 20000) + ".png";

Thanks!
I was actually just playing around with low values for height and width. What's actually going to happen is that the width and height of the map should keep increasing as the map is explored, so it always changes. I don't know how I didn't think of changing getTile for this though, thanks for this too

That worked! But now I see that I have a lot of gaps in-between my tiles. Is there a way to "go to" a specific coordinate?

Cool! I assume that's all of the space you've explored so far in this world?
By gaps, do you mean the grid of seam lines? That's a known issue with PNG: https://github.com/openseadragon/openseadragon/issues/1683 I assume it wouldn't be easy to convert over to JPG? You can see some discussion of the problem in that issue.
If you want to "go to" a specific area, you can use viewer.viewport.fitBounds... pass in the rectangle you want to zoom/pan to, in viewport coordinates. If you want to use image coordinates instead, the viewport has conversion functions.
You can call viewer.world.getItemAt(0).reset() to clear out all tiles and reload them, but that's not really what you're wanting. Adding a new reset that just resets the "not found" flags seems like a cool idea. If you want, you can file a fresh issue for that, and if you're up for working on making it happen, I could point you in the right direction :)

The thing is, this is just a tiny portion of the already explored part of the map. By gaps I wasn't refering to the grid (I actually thought that was a feature lol), I was refering to the long distances between tiles.
viewer.viewport.fitBounds does exactly what I wanted, thanks!
Actually I don't mind refreshing this is working great and you don't wanna see my javascript lol
Thanks again for the help mate

@n-chicken great, I'm glad you got what you needed! As long as your code gets you what you want, it's all good :)


Option to hold on an object to trigger something?

Hey there!
Is it possible to hold the mousebutton over an object for some seconds to trigger an animation?
For example I have a cube and I want the cube to rotate if the user clicks and holds the cube for 3 seconds.
Thanks!

This feature is now available in A-Frame v0.6.1 by setting <a-scene cursor="rayOrigin: mouse">. 😄


Add RF clsf inference hyperparameters

Description
Adds hyperparameters to random forest classification. Adds all the necessary glue logic in oneDAL to set the parameters in the DAAL kernel, to which the oneDAL implementation falls back.
Changes proposed in this pull request:

Replace hard-coded #define statements in df_classification_predict_dense_default_batch_impl.i with oneDALs hyperparameter framework
Per default, the non-AVX512 values are configured, AVX512 will be configured through the Python interface (to be added)

/intelci: run

/intelci: run

/intelci: run

/intelci: run

I think the Pre-commit step shouldn't have failed, restarted it here http://intel-ci.intel.com/eee09227-f812-f180-afe8-a4bf010d0e2e

The combination of the two runs shows all green checks.

@Vika-F I have addressed your first two points, let's hope the CI is still green. For the third point, I will create separate tasks!

/intelci: run

CI is in good shape. @Vika-F if changes look good feel free to merge it

@ethanglaser Yes, 90+% of the work is done here, need to implement the test and add a couple of changes. I've moved the work into https://github.com/oneapi-src/oneDAL/pull/2692. Will merge that one as soon as it is ready.

@Vika-F can this one be closed now?

Closing this PR as https://github.com/oneapi-src/oneDAL/pull/2692 was already merged.


Feature request: Keep the the suggestion panel open.

In my application, I need the auto suggestion panel to stay open after the user clicks on a suggestion.
That is, I need it to stay while the field has focus.
The reason is, because I am showing "top-level trending" suggestions whileinput.value.length == 0. Once the user clicks on one of the top level suggestions, it inserts it into the autosuggest, and then its normal autosuggestion from here on. Also, once a clicks a suggestion he likes, i'd like to keep the suggestion panel open so he'll see my top-level suggestions.
I found that by commenting the setTimeout around line 248, I can get this to work.
I wonder if you would accept a PR involving an option to enable this?

I think it's inline with the README: "You decide when to show suggestions (e.g. when user types 2 or more characters)"

Sounds like you want to:

render "top-level trending" suggestions when the input is blank. This is easy - see this example.
clear the input field when suggestion is selected in order to show the "top-level trending" suggestions. This is easy as well - see this example.

Once a "top-level trending" suggestion is selected:

What should be the value of the input field?
Should user see suggestions?

No activity, closing for now.

I'm also having trouble keeping it open after user selection.
I need to be able to select multiple items, once one is selected I want to clear the field, re-compute default suggestions, focus back in the text field and leave suggestions open.
That last part (keeping it open) doesn't seems ok since it calls clear and disappear

@VincentCharpentier Also need some of this behavior, you found a way to do it?

@johnnyfish sadly no, the suggestions gets cleared after user selection. I didn't have the time to find a workaround

@wildeyes have you considered opening the issue again?

Hey @ImanMh , I dont maintain code using this library anymore so this issue is of no interest to me, thanks :)

I believe the question was for @moroshko

👍 for this feature, would like to use this for selecting multiple items.

#780 added a way to do this with a shouldKeepSuggestionsOnSelect prop, though in trying it out it seems that it only actually works with focusInputOnSuggestionClick also set to true, because otherwise onBlur is triggered and closes the suggestion container on clicking the suggestion

#780 added a way to do this with a shouldKeepSuggestionsOnSelect prop, though in trying it out it seems that it only actually works with focusInputOnSuggestionClick also set to true, because otherwise onBlur is triggered and closes the suggestion container on clicking the suggestion


More types of y_train can be included.

I was impressed by the sklearn interface used in sktime. So I thought it may be a good idea to use sklearn.model_selection.RandomizedSearchCV to do some hyperparameters tuning with specified dataset.
But I read documents of sklearn.model_selection.RandomizedSearchCV and sktime, with many attempts, I found a conflict occurred when CV in sklearn requires the parameter y in fit should support safe split used index set (e.g. something like (train_indexes,test_indexs)), where the index set (e.g. [[...]]) must make the corresponding y_train become a dataframe with shape (1,1) instead of a pd.Series.
I have not figured out any solution to deal with it so far. If such a dummy dataframe can be accepted as y_train, maybe some troubles will go away.
Can I add this feature in code and create a pull request?

Hm, in the absence of an answer so far:
I assume your use case is forecasting? Since with the time series classification use case, RandomizedSearchCV should work without problems.
Currently, tuning methods for forecasting are still under development (and/or not available), since as you say you need temporal splits and you need to apply them to series.
However, if you use a supervised learner to forecast, you can apply tabular re-sampling schemes from sklearn by using, say time series splits and RandomizedSearchCV inside the ReducedRegressionForecaster that reduces forecasting to superised regression, i.e., your model specification code would look like
ReducedRegressionForecaster(RandomizedSearchCV(myFavouriteSupervisedLearner())) plus parameter settings. The temporal re-sampling strategy would be an argument to RandomizedSearchCV in this composite.
If this is not wha you are looking for, would you mind explaining what you would like to do? E.g., is this for forecasting? If so, what would you like to tune and how? Perhaps with some example code?

PS: @mloning would know about the most recent state of tuning in the forecasting use case.

Assuming that you're interested in forecasting, we have a ForecastingGridSearchCV class on the forecasting branch, but it's still experimental and more functionality has to be added.
If you would like to try it out, you have to follow our advanced installation instructions to download and install the development version.

can you provide any example about the usage of RandomizedSearchCV (or  GridSearchCV) in tutorials or documents in detail?

I've added an experimental notebook here, we hope to further develop and test this functionality over the next couple of weeks.

... which means @mloning would be thankful for written feedback, suggestions, criticism, or formal testing of the experimental features. And/or pointing out what you were looking for in case this wasn't it.

I close this issue for now, but please re-open if you're thinking about working on this!


Add support for parsing 'match' expressions to AST

TODO:

[ ] more test cases for parsing match
[ ] parse if-let to the AST
[ ] handle guards

Codecov Report

Merging #262 (7f4c6d7) into main (b87c533) will increase coverage by 0.04%.
The diff coverage is 94.38%.

@@            Coverage Diff             @@
##             main     #262      +/-   ##
==========================================
+ Coverage   92.84%   92.88%   +0.04%
==========================================
  Files          37       37
  Lines        5072     5161      +89
==========================================
+ Hits         4709     4794      +85
- Misses        363      367       +4

Impacted Files
Coverage Δ

crates/crochet_tree_sitter_parser/src/lib.rs
95.94% <94.38%> (-0.05%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[CT-1916] Rename 'constraints_enabled' to 'contracts'

In the foundational dbt Constraints work, we added a boolean config named constraints_enabled that “turns on” contracting for this model. Given that the scope of model contracts is broader than “constraints,” and that dbt’s enforcement may go beyond the built-in behavior of analytical data platforms, we should rename this config to contracted instead.

@sungchun12 in https://github.com/dbt-labs/dbt-core/pull/6271#discussion_r1092126607:

I recommend the syntax be: contract: true | false because contracted invokes imagery of pregnancy(a beautiful human experience but dissonant related to data contracts) at first glance and is in past tense, which may confuse the reader. Whenever the term data contracts come up, it's a noun in plural or singular, not a verb.

@gshank in live conversation:

When "the economy has contracted," that's not a good thing! I like contracts better.

I'd vote for contract (singular) over contracts (false), given some of the recent discussion in #6726 about how this is a "producer-side" contract, and there's going to be exactly one (or zero) per model.


Missing de facto standard findall/4 predicate

Would it be possible to add the de facto standard findall/4 predicate?
For tests and sample calls, please check:
https://github.com/LogtalkDotOrg/logtalk3/blob/master/tests/prolog/predicates/findall_4/tests.lgt

This predicate can be defined easily as:
findall(Term, Goal, List, Tail) :-
	findall(Term, Goal, List0),
	append(List0, Tail, List).

But a native implementation can usually avoid the cost of the append/3 call. The findall/4 is quite handy when performing a series of calls that generate lists that need to be concatenated.


Card toggle does not toggle folding-group

When you have a mixed card with both folding groups and other entities, the card toggle does not affect the folding-group.
E.g.:

Using any of the toggles for the folding-groups, they of course toggle the entire group. But the entire card can not be toggled.
Cheers

This is the default behavior of an entity card and, unfortunately, nothing I can do anything about.
In this example, the header toggle will not turn the group on or off:
- type: entities
  show_header_toggle: true
  entities:
    - group.my_group
    - light.my_light


Clear button is evading mouse clicks

Apparently the Clear button doesn't like to be toggled:

Mousedown on the clear button triggers a layout change that causes the button to move away from the cursor position.
On mouseup the button is no longer below the mouse and won't become selected.

Browser: Chrome 81 on MacOS 10.13.6
Demo (including a workaround):

:D :see_no_evil:  oh jeeze I'm getting it too. maybe the solution is a box-sizing change?

Found it! The cause is a different padding for button:not(:disabled):active.

thank you for the catch. I pushed a fix!
button:not(:disabled):active {
  padding: 1px 5px !important;
}

box sizing didn't seem to work when i tried it

box sizing didn't seem to work when i tried it

Yup, my bad, still had the padding rule disabled when I tested that. border-box already gets applied at multiple levels. I shouldn't try to multitask ...


[BUG] ChatAnthropic ignoring Max Tokens (always 256)

Describe the bug
When using the new Anthropic Chat Models the output is often truncated.
Setting the Max Tokens under "Additional Parameters" to the supported limit of 4096 results in the debug output stating the model is still using max_tokens: 256 and as a result the output gets cut short.
To Reproduce
1, Add new Anthropic Chat Model.
2. Use claude-3-sonnet (should happen with others I believe).
3. Change Max Tokens to 4096 under "Additional Settings"
4. Generate output expected to be longer than 256 tokens.
5. Look for max_tokens in debug log and see output truncated
Expected behavior
The user can change the maximum number of generated tokens.
Setup

Installation docker
Flowise Docker Version 1.6.2
OS: Linux

should be fixed with this PR


Requests are not async

Requests that happen at the same time are not async. A request will only start after its previous one is finished which is a huge hindrance in server mode.

Related to https://github.com/zeit/micro/issues/402

Turns out this is an issue or weird limitation with chrome


Is it possible to store the token in cache and renew with refresh token?

Hi,
Is it possible once you have acquired the token , to store in cache and renew using refresh token?
this is using this
AuthenticationResult authenticationResult = null;
authenticationResult = await authenticationContext.AcquireTokenAsync(service, cac);
I have noticed whilst making the initial call to get the token, a refresh token is NOT included.
Why is the refresh token not included? Is this by design?
Im using ADAL v3.14 by the way in a .net core console

With my code I am doing, the cache is being accessed, but my application seems to ignore it, and makes a call to get a brand new token from azure AD every time, which takes A LONG time vs getting its non-expired token from cache. Like, sometimes up to 10 seconds!!!
Its like it looks in cache, sees it has a token, ignores it and then goes and gets another fresh token! I thought the token cache was supposed to negate the need for this.
Is it not possible to use cache with this type of scenario?
If it is, how would one use something like AquireTokenSlightAsync with this?  ( after getting the AquireTokenAsync initial call of course) ?
I noticed with AcquireTokenSilentAsync it expects some kind of user identifier, so I have tried things like this
UserIdentifier userIdentifier = new UserIdentifier(tenantId, UserIdentifierType.RequiredDisplayableId);
authenticationResult = await authenticationContext.AcquireTokenSilentAsync(service, cac, userIdentifier);
But to no avail, can you let me know if the token cache even works for a daemon/certificate scenario or does ADAL just want to go get a new token from Azure AD, everytime and ignore its cache?

@nigel-dewar : which authority do you use? would you be in a multi-tenant case?


Error with conduit_conductance- relative permeability curve

Dear Dr @jgostick,
I am new in OpenPNM. I am trying to calculate a relative permeability.
My code is based in this example: https://github.com/PMEAL/OpenPNM-Examples/blob/master/PaperRecreations/Gostick_JPowerSources(2007).rst
However, when I run my code appears this:

File "/home/juandasaxo/anaconda3/lib/python3.6/site-packages/openpnm/core/Base.py", line 1015, in interleave_data
raise KeyError(prop)
KeyError: 'throat.conduit_hydraulic_conductance'
Following is the code section  I think is wrong:
`    mod = op.models.physics.multiphase.conduit_conductance
phys_water.add_model(model= mod,  propname='throat.conduit_hydraulic_conductance',  throat_conductance='throat.hydraulic_conductance')
phys_air.add_model(model= op.models.physics.multiphase.conduit_conductance, propname='throat.conduit_hydraulic_conductance', throat_conductance='throat.hydraulic_conductance')
Stokes_alg_single_phase_water = op.algorithms.StokesFlow(network=pn, phase=water)
Stokes_alg_single_phase_air =   op.algorithms.StokesFlow(network=pn, phase=air)

Stokes_alg_multi_phase_water = op.algorithms.StokesFlow(network=pn, phase=water)
Stokes_alg_multi_phase_air = op.algorithms.StokesFlow(network=pn, phase=air)

Stokes_alg_single_phase_water.setup(phase = water, conductance='throat.hydraulic_conductance')
Stokes_alg_single_phase_air.setup(phase = air,conductance='throat.hydraulic_conductance')

Stokes_alg_multi_phase_water.setup(phase = water, conductance='throat.conduit_hydraulic_conductance')
Stokes_alg_multi_phase_air.setup(phase = air, conductance='throat.conduit_hydraulic_conductance')

`
Thank's for your help.

Can you check the version of OpenPNM you're using by entering op.version at the python console?  The example you link to is for version 1, but you might be using version 2 by the looks of the error you're getting.  If you are using 2, then you should refer to this updated example:
https://github.com/PMEAL/OpenPNM-Examples/blob/update_to_V2/PaperRecreations/Gostick2007.ipynb
If you're not using 2, then you should upgrade to it using pip install --upgrade openpnm, then again refer to the above example.
This reminds me that we need to move the examples repo over to use V2 now...which I will do soon.

Thanks. I have had problems because I was using the first version of OpenPNM due to I only found examples for this version.
Is it possible to see the irreducible saturations in the relative permeability curve?
Thanks so much for these libraries.

Irreducible saturation only occurs when there is trapping of the defending phase.  The invasion percolation algorithm has an option to apply trapping.  Note that the ordinary percolation based algorithms do not allow trapping...for philosophical reasons.  We currently do not have an example for using IP, but the docstring is quite detailed....you can also look at the tests folder to see how we call and run it for testing purposes.  Sorry I don't have a better answer for you...we're working on the docs and examples but have a few higher priorities right now.

The problem was a property that was missing in the geometry. The example helped me to solve this issue but does not run for version 2 of OpenPNM. At least in the computers in which I tried to run.

The link for the updated example seems not to work... Do we have the right example code for openpnm version 2?

@haoliguo I made other modifications to the code and it worked for me, I used the invasion percolation algorithm. However, another OpenPNM user (@ xu-kai-xu) proposed a code and it also worked for me (he used ordinary percolation). Here you can check it: https://github.com/PMEAL/OpenPNM-Examples/pull/56

(@haoliguo )

@haoliguo I made other modifications to the code and it worked for me, I used the invasion percolation algorithm. However, another OpenPNM user (@xu-kai-xu) proposed a code and it also worked for me (he used ordinary percolation). Here you can check it: #56

@jdrodriguezcar Thank you so much! I followed your instructions and reproduced the plots successfully using OrdinaryPercolation. Are you aware of any examples about imbibition using OrdinaryPercolation? Ultimately I want to conduct imbibition (wetting and invading phase = water, non-wetting and defending phase = oil) after primary drainage (invading phase = oil, defending phase = water).
Should we just change contact angles in "phase" to indicate which phase is wetting phase and which is non-wetting phase? Say if I set water phase contact angle = 10 and oil phase contact angle = 160, will the openpnm detect that wetting phase = water and non-wetting phase = oil automatically....?
In my understanding the invading phase (wp: water) should enter smallest throats first (with largest Pc, entry) during imbibition and larger throats (smaller Pc) are entered later. Should we reverse 'filter_pc''s order from Gostick 2007 example to conduct imbibition?
@jgostick @TomTranter @ma-sadeghi @maghighi Could you also help? Many many thanks!

@jdrodriguezcar , hi, i am very curious about the difference between ordinary and invasion percolation. I have read the famous article about invasion percolation (David Wilkinson, 1983), but did not understand the difference between them. Would you please explain it for me? Thanks a lot.

Ordinary has a set of discrete invasion pressures and finds clusters of pores that are connected by throats that have capillary entry pressure below each threshold in steps of increasing pressure. So if you have invasion pressures [100, 200, 300, ... 10000 ] Pa it will find all the pores connected by throats with entry pressure less than 100 Pa and also connected to an inlet, then it will find new pores connected by throats with entry pressure less than 200 and so on until the final pressure which should exceed all the throat entry pressures in the network and all the pores should be invaded. The number of steps involved equals the number of pressure points you give the algorithm
Invasion starts with a set of inlet pores and invades new ones sequentially choosing the connecting throat with the smallest capillary entry pressure. It essentially produces the same information but the pressure is dynamic. If you run invasion and keep track of the highest pressure that associated with all the invading throats you get a curve similar to ordinary percolation so we sometimes say that ordinary percolation is the envelope to invasion percolation. The number of steps involved equals the number of pores in the network. The behind the scenes accounting is more intensive for invasion but it's the only way to capture certain information and to perform transient simulations properly.
Ordinary percolation is quasi-static and invasion is dynamic.
The code below shows they are the same - for simplicity I have made the throat volume zero
import openpnm as op
import numpy as np
import matplotlib.pyplot as plt

net = op.network.Cubic(shape=[100, 100, 1], spacing=2e-5)
geo = op.geometry.StickAndBall(network=net, pores=net.Ps, throats=net.Ts)
geo['throat.volume'] = 0.0
water = op.phases.Water(network=net)
phys = op.physics.Standard(network=net, geometry=geo, phase=water)
OP = op.algorithms.OrdinaryPercolation(network=net, phase=water)
OP.set_inlets(net.pores('back'))
OP.setup(pore_volume='pore.volume',
         throat_volume='throat.volume')
OP.run()
fig = OP.plot_intrusion_curve()

IP = op.algorithms.InvasionPercolation(network=net)
IP.setup(phase=water,
         pore_volume='pore.volume',
         throat_volume='throat.volume')
IP.set_inlets(net.pores('back'))
IP.run()

inv_pressures = np.unique(OP['pore.invasion_pressure'])
IP_sats = []
pvol = net['pore.volume']
totvol = np.sum(pvol)
for Pc in inv_pressures:
    mask = IP['throat.entry_pressure'] > Pc
    if np.any(mask):
        seq = np.min(IP['throat.invasion_sequence'][mask])
        IP_sats.append(np.sum(pvol[IP['pore.invasion_sequence']<seq])/totvol)
    else:
        IP_sats.append(1.0)

plt.plot(inv_pressures, IP_sats)

I will also add something that may be relevant to rel-perm calcs:  In the latest dev branch I have altered OP so that the inlet pores are NOT set to preinvaded.  This has several upsides:

You do not need to put 0 volume in them to get the Pc curve to start at Snwp = 0, it happens naturally now.
You do not need to artificially tweak the conductances of the inlet pores to get defending phase flowing through them.

The down side is that the inlet pores only become filled IF one of their throats is filled...so this is a bit unnatural or arbitrary.  It seemed like a reasonable trade-off though, given how much confusion this was causing.

@TomTranter , thank you. The explanation is great. Dose it mean that ordinary percolation starts with one inlet but invasion starts with many inlets? And because the steps of invasion equal to the number of pores, it can model dynamic problems. Is that right?


Update paddlenlp snippet to use transformersInfo

PaddleNLP has upgraded to re-use the same config system as transformers. Updating the paddlenlp snippet to produce a more accurate snippet by using the transformersInfo

Looks good. Thanks!

Addressed the fall back comment. I think we are ready to merge.


Add WIC Benefit

We are missing WIC from the current list of benefits. In order to add it, we need to:

Add WIC as a check box option.
Create a proof screen for WIC.
Make sure this information is included in the post request to ATP.

@JCCChris here's the text for the WIC checkbox:
WIC: Special Supplemental Nutrition for Women, Infants and Children

Which checkbox should WIC show up after?

Should be after SSI.
Checkboxes:
CalFresh (Food Stamps)
Medi-Cal
General Assistance/ County Relief
SSI: Supplemental Security Income
WIC: Special Supplemental Nutrition for Women, Infants and Children
SSP: State Supplemental Payment
IHSS: In Home Supportive Services
CalWORKS: California Work Opportunity and Responsibility to Kids Act
TANF: Temporary Assistance for Needy Families
CAPI: Cash Assistance Program for Aged, Blind or Disabled Legal Immigrants
Other
None of the above

Closing this for now. I disabled WIC in these commits until we get support for WIC in the backend:
https://github.com/JudicialCouncilOfCalifornia/docassemble.jcc.abilitytopay/commit/1df5a029ec26826911dac71e445c22fc5634cbb4
https://github.com/JudicialCouncilOfCalifornia/docassemble.jcc.abilitytopay/commit/f579ecd55058afd1e69c3ac0caa38f64e64df475
https://github.com/JudicialCouncilOfCalifornia/docassemble.jcc.abilitytopay/commit/c519d275d6aee6d457dea0e8073d2006844c7e21


multiple databases

Is it possible to choose which database to use in enterprise neo4j?

I figured it out, BoltInjections.


Automate building of the Docker image

What feature would you like to be added?
#473 adds the definition of a Docker image for KubeOne. This image should be build automatically in some form.
What are use cases of the feature?
Distribution would be easier.

#473 will not be implemented, so no automation needed


Option to overcome cluttered channels tree

Is your feature request related to a problem? Please describe.
I'm always frustrated when I'm in 200 channels and they are all listed in the list of channels. I end up having to pick manually which channels are my favourite, and either
(i) reading their complete scrollback, because they are a project I am actively involved in
or
(ii) glancing through a channel name in the channel list to double check whether someone sent a new message to it - those kind of channels are small, about 10 people, but important to me and I would like to contribute by answering questions quickly.
There is another category of channels
(iii) that are not my favourite (like #fedora because I do not use it very often) which I read about once a month, and they are continuously active. Sometimes I get a highlight there. Normally I don't want to see them in the channel list, they are annoying, and there is many of them - unless I go to the channel and mark it as important to me.
This kind of scanning of the channel list is laborious and time consuming and I think there should be a way for convos to store my preferences about which category the channel is in, and what to do about it.
Describe the solution you'd like
For each channel there should be option to either

always show it in the list of channels, or
normally hide it and then only show it when a new message has been sent to it (then it is automatically unhidden)
normally hide it and then only show it when i go to it and click unhide, or when i click on a highlight from this channel in my highlights log

Describe alternatives you've considered
Marking the first category as favourites and having a 'only show favourites' option would help. However, there would be about 50 channels that are dead most of the time, and the channel list would remain cluttered. I would suggest implementing this as three categories of channels as described above. This feature is present in the command line clients such as irssi and weechat and as far as I know their activity notify level is implemented on per-channel basis.
Alternatively, if multiple channels could be put together into a single buffer, then I can put multiple channels into one group. There needs to be a counter of 'new messages' shown for the entire group (if a new message is sent to one channel in the group, the group is marked the same way a channel would if it has one unread message). This is also a feature that irssi and weechat have.
Additional context
None added.

I'm not quite sure how to go about this, but we have been wanting to be able to "favorite" channels, but in your case, it might be useful to actually "hide" channels. I'm thinking we could add a visibility attribute (other name is more than welcome) to a conversation object and use that in any way we want in the user interface.

Add a visibility attribute to https://github.com/convos-chat/convos/blob/main/lib/Convos/Core/Conversation.pm. This could be a number, where -1 = hide, 0 = normal, and let's say 100 could be favorite. This attribute must also be added to TO_JSON, and the relevant tests must be updated.
One hurdle is that there isn't any good way to change the Conversation object by the user, so we either need a new endpoint in https://github.com/convos-chat/convos/blob/main/public/convos-api.yaml and a new controller to update the given object, or we could just make a new command in https://github.com/convos-chat/convos/blob/main/lib/Convos/Core/Connection/Irc.pm#L37 to change the visibility, like /visibility #convos -1. If we go for the command, it would be nice to steal the command from other clients.
After that, we need new logic in https://github.com/convos-chat/convos/blob/main/assets/components/ChatSidebar.svelte to sort by visibility and hide those with -1. The -1 conversations should however appear if searched for and maybe we should display them if notifications is above 0?

If anyone wants to work on this, then https://convos.chat/doc/develop should give you an idea on how to get started.

This would be the new section in the menu - it can be hidden if there are no Favourites.

And this could be one option to make a channel a favourite, but I would need to figure out how that stores the state. I saw that disabling Notify me on new messages on that section creates a new key in localStorage called convos:chat:wantNotifications, so the same could be done for favourite? Where is that localStorage key coming from? Is it from the API?


option to ignore hidden files

It would be nice if the server could be instructed to not display hidden files when serving a directory.

Hmm... let's think about this. If we added this, it would have to be controlled through a command-line option, and would also have to default to "off", so we don't confuse users. I think this would have a low incremental benefit, add un-needed complexity, and also be very rarely used. So I'm definitely -1 on this approach.
A better alternative would be to simply improve the directory listing page. One quick win would be to change the sort order so that hidden files appeared last in the list rather than first. That alone would probably effectively remove the usability issue here. There are also more complex things one could do - like hide hidden files by default and then have a "show hidden files" button on the file listing page to display them (I'd have to be convinced this is the right move, though). One could also slightly grey out hidden files to make them less obtrusive.
In summary: let's think about improving the directory listing page rather than adding another option.

Changing the sort order would be help, and handling via directory listing sounds smarter than a command line option.
One idea: allow a stylesheet .cssrc file present in {startup folder} or {exe folder} to override defaults.  Dunno if this worth the complication, but would allow further tuning to be in the hands of end users and not devd developers.

I've just pushed a commit that a) moves hidden files to the end of the listing, and b) greys them out. I think this solves the UX issue here. Providing a style override for directory listings would be really complicated and way overkill for a rare use case.
Please take a look, and re-open this ticket if you think anything else needs to be done.


uploading my grid lab

Great start. Fun to see the solutions that avoid using loops. Now have to think about how to change the number of boxes.

yeah i didn't get that far and didn't realize it was considered part of the homework!


PersistKeysToFileSystem: documentation needs note about setting up %LOCALAPPDATA% path for app pools

(I'm using IIS 10.0 on a windows 10 machine.)
Issue:
By default, my app pool's %LOCALAPPDATA% path was blank. It was causing my application(s) to not be able to get to the correct path to store keys in its keyring (when using the  services.AddDataProtection "PersistKeysToFileSystem" option).
This was remedied by the following:
In addition to setting the apppool's "Load the user profile" (Advanced settings) to true, I had to set "setProfileEnvironment" to true inside the file: %windir%\system32\inetsrv\config\applicationHost.config
(By default it is false)
I think this note should be added to the documentation. This would save a lot of users several hours/days of pain.
Secondly, maybe the IIS team should consider adding this property setting to the app pool's advanced settings UI.
Thank you.

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

ID: b63ab082-ad30-b00d-ecd1-ca88eee1659e
Version Independent ID: 69818122-e47a-3fed-ea37-8009f66e2a5c
Content: Configure ASP.NET Core Data Protection
Content Source: aspnetcore/security/data-protection/configuration/overview.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @jclas ...

By default, my app pool's %LOCALAPPDATA% path was blank. It was causing my application(s) to not be able to get to the correct path to store keys in its keyring (when using the services.AddDataProtection "PersistKeysToFileSystem" option).

to get to the correct path ... when using ... PersistKeysToFileSystem
I'm a bit confused by that: The path is passed to PersistKeysToFileSystem. AFAIK, one either sets Load user profile and allows DP to use %LOCALAPPDATA% as the key store location OR one doesn't set Load user profile and uses PersistKeysToFileSystem with a custom path to wherever the keys should be stored (and of course, the app pool needs read/write permission to that location).
We document it that way in the IIS topic, where we say ...

... use one of the following approaches ...

One approach ends up using %LOCALAPPDATA% and the other is a custom location.
I'm not sure if doing both creates this :boom: scenario that you describe. It sounds like you're saying that you need to load the user profile for other reasons ... and ... you need to use a custom location for the key ring (i.e., not use %LOCALAPPDATA%). Is that right? If not, explain a bit more what your scenario is.

adding this property setting to the app pool's advanced settings UI.

That feedback would need to go to the IIS team. We just handle ASP.NET Core docs here. Try :point_right: https://forums.iis.net/1080.aspx

To reiterate:
I was trying to write my dataprotection keys to: %LOCALAPPDATA%\ASP.NET\DataProtection-Keys
which translates to "C:\Users\Owner\AppData\Local\ASP.NET\DataProtection-Keys" on my computer when running the app on localhost. Everything worked fine on localhost.
When I ran my app on my IIS server, %LOCALAPPDATA% was an empty string. This caused the app to try to write to an unintended folder "C:\ASP.NET\DataProtection-Keys".
My remedy (in addition to setting Load User Profile = true) was to ALSO setProfileEnvironment=true inside %windir%\system32\inetsrv\config\applicationHost.config. By default it is false.
By setting setProfileEnvironment=true, the environment variable were then set for the app pool user that my app was using.
To restate more simply, if setProfileEnvironment=false then the environment variable LOCALAPPDATA is empty.
I hope this clarifies.

Yes, I understand, but are you using PersistKeysToFileSystem in addition to those settings?

What happens on IIS if you only set Load user profile to True on IIS? ..... Don't use PersistKeysToFileSystem. Does it behave correctly and store keys in the user profile directory?

I did some research on this, and you're correct, but there's a caveat.
The probable reason that this hasn't come up before is that setProfileEnvironment is supposed to default to True. Famous last words, right? :smile: On my local machine, it was explicitly disabled. On a fresh Azure WS2016 machine, it does default to True.
https://docs.microsoft.com/iis/configuration/system.applicationhost/applicationpools/add/processmodel
This is worthy of pointing out. It only takes a sentence or two to surface it. As you say, it can save someone hours of pain.
@blowdart TL;DR The problem here is that we say that for DP to store keys in a custom user profile that the dev should confirm that Load user profile is True. That's correct. However, setProfileEnvironment must also be True. It should be the default, but it might not be in some cases. For example on my Win10 machine, it was set to False in the <applicationPoolDefaults>. The result was ...

Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.

When I went into applicationHost.config and set it ...
<applicationPools>
    <add name="testselfcontained" ...>
        <processModel identityType="SpecificUser" userName="ServiceUser2" password="..." setProfileEnvironment="true" />
    </add>
    <applicationPoolDefaults managedRuntimeVersion="v4.0">
        <processModel identityType="ApplicationPoolIdentity" loadUserProfile="true" setProfileEnvironment="false" />
    </applicationPoolDefaults>
</applicationPools>

User profile is available. Using 'C:\Users\ServiceUser2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.

... and keys go there ...

So, I'm going to add a sentence to two to clarify the situation with setProfileEnvironment.

You found exactly what I found. setProfileEnvironment was by default set to false.
I glad you have come to the same conclusion. I trust you will supplement the documentation accordingly. I'm sure it will help many people. Thanks for you efforts.

Yes, thanks for opening this. I guess when engineering first worked the issue that they were only considering the server environment, where it should default True. The updates are on #10875, so we'll get that merged soon. Thanks again for your help. I'm sure you will save devs a lot of :cry: tears.


added covid19 status tracker app

Looks Good,
Thanks For Contribution,
Leave a star and share with friends


Specify LATENT at the CREATE GENERATOR, not CREATE POPULATION, level

Exposing a latent variable at the population level is the wrong level of abstraction. A statistical population is a set of observable variables with annotated statistical types. This characterization is model independent.
The notion of an "exposed latent variable", however, is model-specific. The latents that can be exposed are a function of the cgpms that override the default model in the statement CREATE GENERATOR ... (MODEL x, y USING foo), where y is a latent available from foo. Pre-specifying the latents at the population level breaks this independence.
Take for example, the following MML code
**CREATE POPULATION satellites FOR satellites_ucs (
    Name                            IGNORE,
    Country_of_Operator             CATEGORICAL,
    Operator_Owner                  CATEGORICAL,
    Users                           CATEGORICAL,
    Purpose                         CATEGORICAL,
    Class_of_Orbit                  CATEGORICAL,
    Type_of_Orbit                   CATEGORICAL,
    Perigee_km                      NUMERICAL,
    Apogee_km                       NUMERICAL,
    Eccentricity                    NUMERICAL,
    Period_minutes                  NUMERICAL,
    Launch_Mass_kg                  NUMERICAL,
    Dry_Mass_kg                     NUMERICAL,
    Power_watts                     NUMERICAL,
    Date_of_Launch                  NUMERICAL,
    Anticipated_Lifetime            NUMERICAL,
    Contractor                      CATEGORICAL,
    Country_of_Contractor           CATEGORICAL,
    Launch_Site                     CATEGORICAL,
    Launch_Vehicle                  CATEGORICAL,
    Source_Used_for_Orbital_Data    CATEGORICAL,
    longitude_radians_of_geo        CYCLIC,
    Inclination_radians             CYCLIC,

    LATENT kepler_cluster           CATEGORICAL,
    LATENT kepler_noise             NUMERICAL
);

CREATE GENERATOR satellites_default FOR satellites USING cgpm (
    SUBSAMPLE 100

The satellites_default cgpm is going to have no notion of the latent variables (it cannot model them), a very confusing situation. However, now we have a second generator
CREATE GENERATOR satellites_custom FOR satellites USING cgpm (
    apogee_km    LOGNORMAL,
    perigee_km   LOGNORMAL,

    MODEL kepler_cluster, kepler_noise, period_minutes
        GIVEN apogee_km, perigee_km
        USING venturescript (sp = kepler),

    MODEL anticipated_lifetime
        GIVEN date_of_launch, power_watts, apogee_km, perigee_km,
            dry_mass_kg, class_of_orbit
        USING linear_regression,

    MODEL class_of_orbit
        GIVEN apogee_km, perigee_km, period_minutes
        USING random_forest (k = 4),

    SUBSAMPLE 100
);

which is modeling the exposed latents using the venturescript CGPM. The solution is to expose the latents in the MML code for satellites_custom, i.e.
CREATE GENERATOR satellites_custom FOR satellites USING cgpm (
    apogee_km    LOGNORMAL,
    perigee_km   LOGNORMAL,

    LATENT kepler_cluster CATEGORICAL;
    LATENT kepler_noise NUMERICAL;

    MODEL kepler_cluster, kepler_noise, period_minutes
        GIVEN apogee_km, perigee_km
        USING venturescript (sp = kepler),

    MODEL anticipated_lifetime
        GIVEN date_of_launch, power_watts, apogee_km, perigee_km,
            dry_mass_kg, class_of_orbit
        USING linear_regression,

    MODEL class_of_orbit
        GIVEN apogee_km, perigee_km, period_minutes
        USING random_forest (k = 4),

    SUBSAMPLE 100
);

Design considerations:

Any BQL query against a population which aggregates over generator can only include variable names that are in the population and all generators agree on.
Queries on latent variables must specify the generator that expose those latents.

This change is necessary for (a) release of the notebook, and (b) code required for implementation of crosscat, k-nn, pca, and k-means CGPMs (all with different latent variables) against a common base population next week.

First: I don't think this should block any 0.2.0 release or public demo -- we are already snowballing what should have been out last week.
That said, there were a couple of reasons motivating the inclusion of latents in a population:

It was not a priori clear to me that latents would never be shared between generators.  E.g., maybe the Kepler noise can be modelled two different ways.

Making some variables per-generator requires much more substantial changes to the way BQL is implemented.  There was absolutely no way that was going to happen last week; it could easily delay 0.2 by a month now, or at least week if I ignore everything else.

we are already snowballing

Can you please outline what you feel we are snowballing?

what should have been out last week.

I suggest not worry or become anxious about this point. There is no "external" pressure to rush up the release. If you feel there is internal pressure, then we should talk about it.

Making some variables per-generator requires much more substantial changes to the way BQL is implemented.

The quick solution is to support the change cosmetically until we more substantially define populations and generators:

Extend the grammar for cgpm_schema to include LATENT variable.
In create_generator, update the table bayesdb_variable as is currently done in create_population.

I can do the above changes, probably should take 2/3 hours.

On reflection, I see now that it probably won't take as much work as I first estimated to get per-generator latents -- specifically, I figured it would be necessary to do https://github.com/probcomp/bayeslite/issues/38 first, but the only places latents will be usable is places where we already have to do a minimal level of lexical scope tracking already: DEPENDENCE PROBABILITY OF x WITH y, PROBABILITY OF x = v, &c.
So we should add the column
generator_id    INTEGER REFERENCES bayesdb_generator(id) ON DELETE CASCADE

to the bayesdb_variable table; define an operation, say bayesdb_add_latent, in bayeslite.core, to add a latent variable with a given statistical type; and teach cgpm's create_generator to call it as you suggested.
We'll have to decide whether to require an explicit MODELLED BY clause, or just pick the unique generator that works, in any BQL query that uses latent variables -- this will have to be detected in compiler.py.  I'm tempted to say we should require MODELLED BY for the moment.

I'm tempted to say we should require MODELLED BY for the moment.

That sounds fine by me. We can later update the auto-detection of population vs generator in compiler.py as a separate issue.

Mostly done in 1b8d22c2f047b4f34bcbc29decc678a032cc2c7b, 95ccf8e17e49e0f1aca260d0faacabf2431fd1c7.   Remainder is #438.


M3-2549: update disable power on logic

Type of Change

Fix disabled power on button for Linodes created with custom image

Already fixed by John


Add example for using table-sort-js with cdn (jsDelivr) in a script tag.

Currently there is just an example for downloading and renaming then using table-sort-js in script tag, add example for using from CDN jsDelivr. (use @1 rather than latest https://github.com/LeeWannacott/table-sort-js/issues/100)
https://github.com/LeeWannacott/table-sort-js/blob/master/public/docs/html5.html

Done: https://github.com/LeeWannacott/table-sort-js/commit/07fa5d2c2336d38d2f1662b52f1f89b9c34af10d


Out-File, Add-Content, and  Set-Content are adding extra characters to output when written to file

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
when running the the following command get-service | Select-Object -First 10 | Select-Object DisplayName, Name | Out-String | Out-File C:\Temp\Temp.txt with PowerShell 7.2.5 the data written to the file is not consistent with what is seen in version 5.1.  The on screen results look correct, but only when written out to the file are extra characters added to the header row.
In these examples below, I used Set-Content but the same error happens if you use Out-File, Add-Content or Set-Content.
Expected behavior
see screenshot

Actual behavior
see screenshot

Error details
There is no error

Environment data
Name                           Value
----                           -----
PSVersion                      7.2.5
PSEdition                      Core
GitCommitId                    7.2.5
OS                             Microsoft Windows 10.0.25151
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

I was able to reproduce for 7.2.5 and seems to be fixed in the latest 7.3 preview 🥳 Closing issue since it seems to be fixed in latests preview


Show a confirmation dialog if window is asked to reload while copying the folder

Testing #111250

Drag and Drop a large folder into explorer
While the operation is in progress, reload the window
Window silently reloads and the operation is half performed

Inform user about the operation in this case

This is a fair request.
@bpasero do we have some common service where I can say I want to be involved when the reload happens. I guess save does the same when hot exit is disable, when there are unsaved files we prompt?

 Check the before unload event.

Great, will try to add in Debt week, not for endgame -> december

If we decide to do this feature we might want to do it on the BulkEditService layer.
Since the same can be said if there is a long running bulk edit operation that is not triggered from the explorer. If the user quits VS Code we should prompt the user
I can also do this from the Explorer, but might be better if we have a unified story
@jrieken @bpasero let me know what you think
I also checked when we veto currently and it is from Tasks, Terminal. And I know we also do this for unsaved files

Having in the bulk edit service makes sense

Okey, I can look into creating a PR for this.

I have added this to the bulkEditService and seems to work fine.
@jrieken if you are interested you can checkout the commit 9321b2f141
I do the confirm dialog per bulkEdit applied, so in theory there could be many bulkEdits at the same time and the user can get a lot of these dialogs. Let me know if you think this can happen in practice and if yes I can try to sum all the edits that are in progress in one dialog.

I have added this to the bulkEditService and seems to work fine.
@jrieken if you are interested you can checkout the commit 9321b2f141
I do the confirm dialog per bulkEdit applied, so in theory there could be many bulkEdits at the same time and the user can get a lot of these dialogs. Let me know if you think this can happen in practice and if yes I can try to sum all the edits that are in progress in one dialog.