google-cloud-sdk can't install on macOS

Issue description
Installation for google-cloud-sdk-177.0.0 fails with assertion failed at xx/pkgs/os-specific/linux/systemd/default.nix:9:1
I've used this sdk version 161.0.0 until today.
$ nix-env -i google-cloud-sdk --show-trace
installing ‘google-cloud-sdk-177.0.0’
error: while evaluating the attribute ‘installPhase’ of the derivation ‘google-cloud-sdk-177.0.0’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:98:11:
while evaluating ‘makeSearchPath’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/strings.nix:84:28, called from /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/tools/admin/google-cloud-sdk/default.nix:6:16:
while evaluating anonymous function at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/strings.nix:85:32, called from undefined position:
while evaluating the attribute ‘postPatch’ of the derivation ‘google-compute-engine-20170914’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:98:11:
while evaluating the attribute ‘__sandboxProfile’ of the derivation ‘python2.7-python-systemd-234’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:98:11:
while evaluating ‘unique’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/lists.nix:455:12, called from /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:127:75:
while evaluating ‘concatMap’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/lists.nix:102:18, called from /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:81:13:
while evaluating anonymous function at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:81:28, called from undefined position:
while evaluating ‘getOutput’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/attrsets.nix:450:23, called from undefined position:
while evaluating anonymous function at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:63:15, called from undefined position:
while evaluating the attribute ‘systemd’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/top-level/all-packages.nix:13030:3:
while evaluating ‘callPackageWith’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/customisation.nix:113:35, called from /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/top-level/all-packages.nix:13030:13:
while evaluating ‘makeOverridable’ at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/customisation.nix:72:24, called from /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/customisation.nix:117:8:
while evaluating anonymous function at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/os-specific/linux/systemd/default.nix:1:1, called from /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/lib/customisation.nix:74:12:
assertion failed at /nix/store/qmv6v2l87mmzsdcvnqqwi3lys821gchm-nixpkgs-18.03pre120393.eac38d0b1e/nixpkgs/pkgs/os-specific/linux/systemd/default.nix:9:1

Steps to reproduce

nix-channel --update
nix-env -i google-cloud-sdk --show-trace

Technical details
System: macOS 10.13.1
Nix version: 1.11.15
Nixpkgs version: 18.03pre116369.14cbeaa892
Sandboxing enabled: false

For some reason google-cloud-sdk pulls google-compute-engine which is a Python package for (Linux) hosts deployed on GCE (https:://github.com/GoogleCloudPlatform/compute-image-packages).
It is definitely a mistake side google-cloud-sdk is purely a client library.

That was because some SDK commands when ran on a guest tried (and failed) to import compute-engine libraries - I don't remember which ones exactly though. Maybe we should make it a conditional dependency for Linux?
Nikolay.

What do you think about

making it optional and off by default
installing it with the google-compute-engine dependency when building a GCE image

I think this is the best solution.

Yeah, sounds good, all guests are expected to use that profile anyway.
Nikolay.

Is there a specific profile for gce images in nixpkgs? I could not find one in nixos/modules/profiles
We need to somehow make the gce-enabled package default on GCE images (e.g. by creating an overlay and enabling it in GCE config). Installing it is not enough. All the dependent packages would pull the default version from nixpkgs and use it instead.

@ilya-kolpakov nixos/modules/virtualisation/google-compute-config.nix - it's placed wrongly. I can't check my Google instance right now but I think that file was imported into my configuration when I did rebuilds from the guest.

@abbradar Sent you an email. I think it is made unnecessarily complicated. Basically one needs to pass the right config to nixos/lib/make-disk-image.nix and the result is the gce image.
@lufia This won't be fixed immediately in the master branch. You can build google-cloud-sdk without google-compute-engine, I checked. I can make an temporary overlay (repo) containing the fixed package from which you can build if need be.

Or maybe @abbradar has write permissions? If we agree on disabling that dependency by default we can fix it very quickly.

@ilya-kolpakov thank you for your fix.

Uhhh, GitHub didn't get my email here for some reason, so going to repost it:

Yeah, given that I was the one who introduced that dependency by default in first place I feel we can just push an update which disables it by default and enables in GCE guest configuration.
I'm yet again very time-constrained till the end of the week but I'll try to prepare something soon.

@ilya-kolpakov Did you get my email or is there a problem too? It's strange because GitHub usually has no problem with using email to post.


Set up pytest

OperationalError: no such column: test_app_companyawareflag.site_id

Not required anymore. Closing this.


net_domaincontoller module error: ValueError: need more than 2 values to unpack

Steps to reproduce
cme --verbose smb <IP_ADDRESS> -u someuser -p somepassword -M get_netdomaincontroller
Command string used
cme --verbose smb <IP_ADDRESS> -u someuser -p somepassword -M get_netdomaincontroller
CME verbose output (using the --verbose flag)
https://gist.github.com/cclements/9d5760c0d4507d4f41301dbf35478b74
OS
Arch Linux
Target OS
Win 7
Detailed issue explanation

interesting, is it possible to give me the raw output of Get-NetDomainController?
Thanks

Interesting, looks like for this env, the DR DC doesn't return a domain with that command:
Windows PowerShell
Copyright (C) 2012 Microsoft Corporation. All rights reserved.

PS C:\Users\admin> powershell "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Recon/PowerView.ps1'); Get-NetDomainControlle
r | select Name,Domain,IPAddress | Out-String"

Name                                                               Domain                                                             IPAddress
----                                                               ------                                                             ---------
DC01.somedomain.com                                                 somedomain.com                                                     <IP_ADDRESS>
DC02.somedomain.com                                                 somedomain.com                                                     <IP_ADDRESS>
DR-DC03.somedomain.com                                                                                <IP_ADDRESS>

perfect, that's the issue. I'll add in some error handling.
Cheers

Awesome, thanks for such an great tool.  Saves me tons of time.


Added support for Century

For issues #725
This PR : century added to library

@noviluni sir, I have fixed errors in en.py Why is it still failing?

Hi @NEERAJAP2001 , there are a lot of different things failing

One thing that it's failing is the pep8 checks:
dateparser/dateparser/freshness_date_parser.py:152:1: W293 blank line contains whitespace
dateparser/dateparser/data/date_translation_data/en.py:198:10: W291 trailing whitespace
dateparser/dateparser/data/date_translation_data/en.py:282:10: W291 trailing whitespace
dateparser/data/date_translation_data/en.py:788:6: E131 continuation line unaligned for hanging indent
dateparser/dateparser/languages/dictionary.py:13:66: E231 missing whitespace after ','
dateparser/tests/test_data.py:21:49: E231 missing whitespace after ','

Another test failing is this: test_dateparser_data_integrity, and this is failing because you wrote the file en.py manually instead of generating it with python dateparser_scripts/write_complete_data.py.

In the test_relative_future_dates parameters you wrote agoinstead of in_future.

In
        if 'century' in kwargs:
            kwargs['years'] = 100 * kwargs['century'] + kwargs.get('years', 0)

I think that the keyword instead of century it should be centurys, and you forgot the del kwargs['centurys'] (like in decade).

This won't fix all the issues, but I prefer you to fix these things first before checking the other things.
On the other side, you should be able to run the tests locally to see if it's working. To do it you can:
pip install tox
and then:
tox
to run all the tests, or:
tox -e py3 -- tests/test_freshness_date_parser.py (for example)
to run some specific tests
Let me know if you have any doubt.

@noviluni okay, sir, I'll come back with a new PR !!


Stateless Service

"There are two types of services: stateless and stateful. Stateless services can store persistent state in an external storage service such as Azure Storage, Azure SQL Database, or Azure Cosmos DB. Use a stateless service when the service has no persistent storage at all"

The above 2 sentences look contradictory to each other

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

ID: 7f009eb7-0fb8-c51e-897d-7ef19c2d8d48
Version Independent ID: 23fa667d-a729-1ad9-eb46-186412868c0d
Content: Learn more about Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-content-roadmap.md
Service: service-fabric
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Thanks for the feedback! We are currently investigating and will update you shortly.

@mamukundan I have assigned the issue to the content author to evaluate and update as appropriate.

@mamukundan Thanks, I'm making updates now.

Thanks a lot. It is pretty clear and consistent.


Data refresh for eurostat physical activity

Update:

Year 2019 was introduced in certain files.
New property values.
Updated test data.

/gcbrun


Correct mouse cursor not being shown when using ReorderableList or other related widgets like ReorderableListView and ReorderableDragStartListener

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create a ReorderableList or ReorderableListView with default drag handles or use your own one wrapped in ReorderableDragStartListener or ReorderableDelayedDragStartListener
Hover your mouse over the drag handle
Drag the item around

Expected results
The mouse cursor should have changed to "grab" when hovering mouse over the drag handle and to "grabbing" when dragging the item.
Actual results
Normal mouse cursor is displayed both when hovering and dragging.
Code sample
Code sample
OnlineDemo
import 'package:flutter/material.dart';

/// Flutter code sample for [ReorderableListView.buildDefaultDragHandles].

void main() => runApp(const ReorderableApp());

class ReorderableApp extends StatelessWidget {
  const ReorderableApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('ReorderableListView Sample')),
        body: const ReorderableExample(),
      ),
    );
  }
}

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

  @override
  State<ReorderableExample> createState() => _ReorderableExampleState();
}

class _ReorderableExampleState extends State<ReorderableExample> {
  final List<int> _items = List<int>.generate(50, (int index) => index);

  @override
  Widget build(BuildContext context) {
    final ColorScheme colorScheme = Theme.of(context).colorScheme;
    final Color oddItemColor = colorScheme.primary.withOpacity(0.05);
    final Color evenItemColor = colorScheme.primary.withOpacity(0.15);

    return ReorderableListView(
      buildDefaultDragHandles: false,
      children: <Widget>[
        for (int index = 0; index < _items.length; index++)
          ColoredBox(
            key: Key('$index'),
            color: _items[index].isOdd ? oddItemColor : evenItemColor,
            child: Row(
              children: <Widget>[
                Container(
                  width: 64,
                  height: 64,
                  padding: const EdgeInsets.all(8),
                  child: ReorderableDragStartListener(
                    index: index,
                    child: Card(
                      color: colorScheme.primary,
                      elevation: 2,
                    ),
                  ),
                ),
                Text('Item ${_items[index]}'),
              ],
            ),
          ),
      ],
      onReorder: (int oldIndex, int newIndex) {
        setState(() {
          if (oldIndex < newIndex) {
            newIndex -= 1;
          }
          final int item = _items.removeAt(oldIndex);
          _items.insert(newIndex, item);
        });
      },
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/8766492/a0474d7d-780f-4e4c-a54c-f1562ba426c7

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.7.12, on macOS 13.4 22F66 darwin-arm64, locale
    en-US)
    • Flutter version 3.7.12 on channel stable at /Users/amirpanahandeh/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (7 weeks ago), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/amirpanahandeh/SDK
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/amirpanahandeh/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2022.1)
    • 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.15+0-b2043.56-8887301)

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

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 111.0.5563.64

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

Thanks for filing this issue @Amir-P. I am able to reproduce this. Labelling for more insights.

@dkwingsmt - does this widget need some additional cursor support?


Add trace logging options to tsm engine

Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated

Addresses #5500. Extra logging can be emitted by setting:
[data]
  trace-logging-enabled = true

The code lgtm but the data- prefix when it's in the [data] section seems redundant.

@benbjohnson yeah I agree. The config option was already there. I guess now would be the time to rename it. I'll do it next week.

A few comments but LGTM after those are addressed.

@jwilder comments addressed.

One other comment but 👍  after that.


Error when updating ios certs and send notification to ios devices

Hey! Since yesterday we can't update our p12 certificate files for ios configuration in the gcm google developer for our app anymore and the message ""There was an unknown backend error while processing the request.Try again" is shown. Besides that we get "InternalServerError" as result when sending notifications to the ios devices.
Sending notifications to android devices works without Problems.
Do you have any hints to solve this problem? Crazy is that we didn't changed anything...

do you think your APNS certificate could have expired?
It's weird that you can't upload a new cert maybe try deleting your cache etc. (just shooting in the dark here).

I experience the same error.
Saw this error in network tools:
{code : 1 message : "APNS proxy unavailable." status : 503}

@mohitsharma0690 the certs aren't expired and the gcm developer site shows the same (expires in 2017). We've generated the p12 files again and the error isn't displayed anymore. But the error by sending the push notification is the same "internal server error":
{
"multicast_id":<PHONE_NUMBER>231677501,
"success": 0,
"failure": 1,
"canonical_ids": 0,
"results": [
{
"error": "InternalServerError"
}
]
}

@robincle did you get new tokens after you uploaded new APNS certs. I'd imagine the old APNS tokens would become invalid (although in that case GCM should have unregistered your token, so you should  theoretically get a NotRegistered error), but there could be a weird case where we aren't mapping it correctly.
So yeah I'd try with new GCM tokens and see if I still get the same response.

I'm having this same problem today, did you find a resolution?  Where can I see the status of APNS certs that have already been uploaded?  It's odd because I can succesfully update my production certificate but not my dev certificate.  I had another dev who originally uploaded a dev certificate when we first started using GCM on iOS, he's not with the team anymore and I ended up renewing our provisioning profiles but now I can't update this certificate so I'm dead in the water.

We'd success with generate new certs in Apple Developer Center and upload the new one. After this step the Certs were accepted in gcm. Hope this helps!

Huh, I've tried new certs and new app/bundle ids and nothing works, very weird.

The same issue. It works with production file

I received a support response from google which gave me a few clues that helped.  They said try it in incognito mode and "the iOS bundle Id should associate with App name."  Before I was doing app name "my app" "com.project.MyAppIOS" which was failing (only on the dev certificate for whatever reason) but then I tried "MyAppIOS" and "com.project.MyAppIOS" and it worked.  Not sure if it's the incognito mode or the different app name, either way I'm running again.

I am facing the same problem and i have tried all above mentioned solution but nothing for me  then i delete certificate from keychain access and again download certificate and install it than export and try to upload it. It works for me.


Allow library to be used from Objective-C++ (.mm) files again

Fixes #964
This was broken by a recent change that utilised class as an argument name for a new method, breaking compilation in a C++ context as class is a reserved keyword in that language.

Good suggestion, @tcard. thanks! I've created #968


✨ iteration (Fixes #51)

Add the iteration protocol.

Codecov Report

Merging #53 (419ce2f) into master (ed1eef5) will increase coverage by 0.94%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
+ Coverage   84.45%   85.39%   +0.94%
==========================================
  Files          18       19       +1
  Lines         373      363      -10
==========================================
- Hits          315      310       -5
+ Misses         58       53       -5

Flag
Coverage Δ

unittests
85.39% <100.00%> (+0.94%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/SimpleSDMLayers.jl
83.33% <ø> (ø)

src/lib/iteration.jl
100.00% <100.00%> (ø)

src/datasets/sources.jl
33.33% <0.00%> (-50.01%)
:arrow_down:

src/integrations/DataFrames.jl
97.67% <0.00%> (-0.06%)
:arrow_down:

src/operations/mask.jl
0.00% <0.00%> (ø)

src/datasets/geotiff.jl
100.00% <0.00%> (ø)

src/operations/sliding.jl
0.00% <0.00%> (ø)

src/datasets/download_layer.jl
100.00% <0.00%> (ø)

src/lib/overloads.jl
96.55% <0.00%> (+2.16%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ed1eef5...419ce2f. Read the comment docs.


Enable Strapi Sandbox 2.0 for dsep:jobs

Description
Enable the Strapi Sandbox 2.0 environment for the "dsep:jobs" project. This will involve setting up the sandbox environment, configuring necessary settings, creating catalogs if needed and ensuring it integrates seamlessly with the existing infrastructure.
Goals

[x] Set up Strapi Sandbox 2.0 environment.
[x] Configure sandbox settings to match production environment.
[ ] Check availability of catalogs in strapi.
[x] Ensure seamless integration with existing infrastructure.
[x] Test the sandbox environment for stability and performance.

Expected Outcome
A fully functional Strapi Sandbox 2.0 environment that mirrors the production setup, allowing for safe testing and development without affecting live data.
Acceptance Criteria

[x] Strapi Sandbox 2.0 environment is set up and accessible.
[x] Configuration matches the production environment.
[x] Integration with existing infrastructure is seamless.
[x] Catalogs should be present in the strapi
[x] Stability and performance tests are passed.

Mockups / Wireframes
NA
Product Name
Beckn
Domain
dsep:jobs
Tech Skills Needed

Strapi configuration and setup
DevOps skills for environment setup
Integration testing
Performance testing

Complexity
Medium
Category
Development
Sub Category
Environment Setup

Current Status: The Sandbox 2.0 is created and tested also using postman collection

PC Link - PC to Main


Razor produces wrong C# errors

Version used:
VS 2022 v17.3 Preview 2
To reproduce:
@

Expected behavior:
RZ1004	End-of-file was found after the "@" character.  "@" must be followed by a valid code block.  If you want to output an "@", escape it using the sequence: "@@"
Actual behavior:
Additional context:
RZ1004 and CS1525 Invalid term ";" in expression:

I believe this would be by design, following https://github.com/dotnet/razor-tooling/pull/6295, as the alternative used to be that C# diagnostics were hidden entirely when they were in non-mappable spans. I'll leave @NTaylorMullen to confirm though.

Yup correct! Closing as by-design for now.

That's upset( I've recently faced a case when a little mistake makes half of the document red because of underlying C# error. Razor editing expirience can highly improve if ther is a filtering of underlying non-helpful C# errors IMo. More errors != better

non-helpful C# errors IMO. More errors != better

I'd love to dig a little deeper into this. We've found it quite hard to distinguish "non-helpful" C# errors. Did you happen to have any ideas that we could potentially pursue?


Support for later versions of LLVM?

Has anyone moved COAST to a later version of LLVM? Are there any plans to do so?
I'm open to helping, but I'm an LLVM newbie so there's only so much I can do. The code in cloning.cpp is giving me particular compile-time trouble.

你好，我已经收到了你的来信，有必要的话我会尽快给你回复。                                                  ——勿忘初心

Yes, it would be nice to update this to a newer LLVM version.  I would welcome any contributions.  I unfortunately don't have time to work on it right now, but if are stuck somewhere I could try and help.

I now have DWC showing signs of life with some simple C code on LLVM-15.
I'm a long way from having anything to share, but I'm making progress!
On Thu, Feb 23, 2023 at 10:18 AM Jeff Goeders @.***>
wrote:

Yes, it would be nice to update this to a newer LLVM version. I would
welcome any contributions. I unfortunately don't have time to work on it
right now, but if are stuck somewhere I could try and help.
—
Reply to this email directly, view it on GitHub
https://github.com/byuccl/coast/issues/6#issuecomment-1442226387, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAS2T4E4A7POJGK7SET25OLWY6SXXANCNFSM6AAAAAAVF6AJAE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Bill Gatliff
@.***


New Workspaces & Row-Level Security

The new workspaces do not seem to work with the row-level security features built into reports. This may be due to the lack of the "Members can only view Power BI content" option when creating the workspace. I tried both the "member" and "contributor"  options, but users can see all content and not just the roles I have built. Let me know if I am missing something.

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

ID: 11357d2a-97f6-c5d6-2a62-0d5cae1a1c3d
Version Independent ID: 51900b79-f5ed-25b8-ee89-9078129bdb15
Content: Create the new workspaces (preview) - Power BI - Power BI
Content Source: powerbi-docs/service-create-the-new-workspaces.md
Service: powerbi
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @gnutter -- good question! I don't know the answer. I suggest going to https://community.powerbi.com/ and asking. You may get a faster response than I would. Thanks!

Are you sharing the App? Or adding users as members?

The RLS is not working when workspace members can edit content, with the new way to create the workspaces we have three type of users, to apply RLS I suppose we will need the user Viewer

Yes, this is correct @gnutter -- currently RLS is not working in the new workspaces. Continue using the classic workspaces for now.


[CI/Test] expand ruff and yapf for all supported python version

With this, https://github.com/vllm-project/vllm/issues/4035 should not happen again.

Emmm, type check is not included in ruff or yapf. But maybe we can still add this, as they are github hosted ci and freee to use @simon-mo

@youkaichao it is actually added to mypy.yaml in the master!

Runtime of these CIs are not really affected right?

Yes. These jobs are run by github. They are free ci resource :)

@cadedaniel can you stamp on this pr for merge?


Pin xsimd to < 9

xsimd v9.0 is the reason of the nightly failure (renamed hadd to reduce_add). I fixed the nightly failure but it turns out that xsimd v9.0 seems to be incompatible with macos, and all of our tests on macos are failing.

Checklist

[ ] Added a CHANGELOG.rst entry

Here it is: https://github.com/xtensor-stack/xsimd/issues/810


Removed MtGox fetcher since it's useless now

I removed the MtGox fetcher, since they gone into bankrupt i think no one will ever need their price again.

Awesome :grin: I had literally put this on my to-do list for this week. I'll generate a new release for it soon, thanks for the thorough PR.


Passing -e directory multiple times attempts to install -e as a package

pipenv install -e local/subdir1 -e local/subdir2 fails with an assertion traceback.
Version: 2018.05.18

Expected result
That pipenv install -e local/subdir1 -e local/subdir2 would add both directories to Pipfile as editable installs,  similar to the effect of pip install -e local/subdir1 -e local/subdir2.
Actual result
The second -e gets interpreted as a package to try to install, which then fails:
[snip successfully setting up the first editable install]
Installing -e…
Traceback (most recent call last):
  File "/home/ncoghlan/.local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/cli.py", line 402, in install
    selective_upgrade=selective_upgrade,
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/core.py", line 1978, in do_install
    extra_indexes=extra_indexes,
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/core.py", line 1420, in pip_install
    package_name.split('--hash')[0].split('--trusted-host')[0]
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/utils.py", line 142, in get_requirement
    req = [r for r in requirements.parse(dep)][0]
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/utils.py", line 142, in <listcomp>
    req = [r for r in requirements.parse(dep)][0]
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/vendor/requirements/parser.py", line 50, in parse
    yield Requirement.parse(line)
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/vendor/requirements/requirement.py", line 218, in parse
    re.sub(r'^(-e|--editable=?)\s*', '', line))
  File "/home/ncoghlan/.local/lib/python3.5/site-packages/pipenv/vendor/requirements/requirement.py", line 123, in parse_editable
    assert local_match is not None, 'This should match everything'
AssertionError: This should match everything

Steps to replicate

Have two local directories that support being installed with pip -e local/subdir
Attempt to install them both as editable in a single command, rather than as separate commands

This makes me wonder why we are parsing this all manually instead of just using a command line flag.  If it were a command line flag tied to install we could consume as many as we want

I feel like I said that and I feel like I was wrong

Let’s do it then.


rare exception: TargetInvocationException - Exception has been thrown by the target of an invocation. Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

Describe the bug
Hi,
I have 2 error reports logged (based on a lot of users) that have a strange exception coming from avalonia somewhere. I do not fully understand what causes it but it seems to be some kind of click event on a button. Perhaps someone knows or can guide me in the right direction what might cause it.
The stacktrace is fully from avalonia.
Exception:
TargetInvocationException
Exception has been thrown by the target of an invocation. Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
This is the stack trace of the exception (with line numbering from version 10.x i believe):
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at System.Delegate.DynamicInvokeImpl(Object[] args)    at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e) in /_/src/Avalonia.Base/Interactivity/EventRoute.cs:line 149    at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e) in /_/src/Avalonia.Base/Interactivity/EventRoute.cs:line 79    at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e) in /_/src/Avalonia.Base/Interactivity/Interactive.cs:line 126    at Avalonia.Controls.Button.OnClick() in /_/src/Avalonia.Controls/Button.cs:line 352    at Avalonia.Controls.Button.OnPointerReleased(PointerReleasedEventArgs e) in /_/src/Avalonia.Controls/Button.cs:line 419    at Avalonia.Reactive.LightweightObservableBase1.PublishNext(T value) in //src/Avalonia.Base/Reactive/LightweightObservableBase.cs:line 143
at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e) in //src/Avalonia.Base/Interactivity/EventRoute.cs:line 146
at Avalonia.Interactivity.EventRoute.RaiseEvent(Interactive source, RoutedEventArgs e) in //src/Avalonia.Base/Interactivity/EventRoute.cs:line 79
at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e) in //src/Avalonia.Base/Interactivity/Interactive.cs:line 126
at Avalonia.Input.MouseDevice.MouseUp(IMouseDevice device, UInt64 timestamp, IInputRoot root, Point p, PointerPointProperties props, KeyModifiers inputModifiers, IInputElement hitTest) in //src/Avalonia.Base/Input/MouseDevice.cs:line 188
at Avalonia.Input.MouseDevice.ProcessRawEvent(RawPointerEventArgs e) in //src/Avalonia.Base/Input/MouseDevice.cs:line 58
at Avalonia.Input.InputManager.ProcessInput(RawInputEventArgs e) in //src/Avalonia.Base/Input/InputManager.cs:line 37
at Avalonia.Controls.TopLevel.HandleInput(RawInputEventArgs e) in //src/Avalonia.Controls/TopLevel.cs:line 749
at Avalonia.Win32.WindowImpl.AppWndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in //src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs:line 810
at Avalonia.Win32.WindowImpl.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in //src/Windows/Avalonia.Win32/WindowImpl.WndProc.cs:line 26
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken) in //src/Windows/Avalonia.Win32/Win32DispatcherImpl.cs:line 111
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl) in //src/Avalonia.Base/Threading/DispatcherFrame.cs:line 117
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame) in //src/Avalonia.Base/Threading/Dispatcher.MainLoop.cs:line 53
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in //src/Avalonia.Base/Threading/Dispatcher.MainLoop.cs:line 80
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 127
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 220
at FAvalonia.Program.Launch(String[] args)
at FAvalonia.Do.Launch(String[] args)
at FAvaloniaLauncher.Program.Main(String[] args)
To Reproduce
I can't clearly reproduce it nor do i know the cause.
Expected behavior
No exception.
Avalonia version
11.0.9, 10.x
OS
Windows
Additional context
We generate almost all controls programatically from C#. We use little Xaml.

can you check 11.1 beta with said users?

no.. users are unknown due to privacy. At least; they didn't enter their email in the bug report.
realizing this is an impossible bug to replicate.. :S

I could imagine a Dispatcher.UiThread.Post call is missing but really no idea how to proceed here. A minimal sample to try would be nice to have.

Yes, it's likely to be something with threading. Possibly some code should be redirected to UI thread, but it's unknown on which side this error is.

Does avalonia allows updating controls from background threads?
i.e., how does it compare to windows forms in that regard where you should redirect all updates to the primary UI thread?

No updates should be on the UI thread. You can use Dispatcher.UiThread.Post in the other thread

Ok thanks i will check that; maybe i missed a piece of code. We have a winforms code on the same code base; so in theory it should be OK. perhaps I missed a spot somewhere. Closing this.

I just checked my code. I was using this:
Dispatcher.UIThread.InvokeAsync(action).Wait();
Could that be cause of it? (Instead of UIThread.Post? )

InvokeAsync is not Post. Also Wait can be evil.

yeah i thought so..  it was old code from 4 years ago. Lets see if it occurs again. Thx!


Can [[Reject]], [[Resolve]] throw?

In AsyncFunctionAwait, step 4 and 5, we call promiseCapability.[[Resolve]] and then RIA on the result.  But since we get the promise capability from the intrinsic %Promise%, it seems like it can't throw.
I guess maybe that if someone creates a new realm with new intrinsics, it could throw?

Yes, the ReturnIfAbrupt calls can be removed or rather replaced with assertions that no abrupt completions are possible. Actually we talked about this the other day on #jslang, where I confessed I added some ReturnIfAbrupts to avoid specifying that abrupt completions are not possible. For example the ReturnIfAbrupt after AsyncFunctionStart in EvaluteBody is not necessary, but it probably requires a sentence or two why abrupt completions cannot happen at this step.


Docker install of SAIL does not seem to be supported by risocf_sail_cSim.py plugin template

In this documentation page, https://riscof.readthedocs.io/en/latest/installation.html#install-plugin-models, there is an option to install the SAIL emulator as a docker image. After installing the docker image, and trying to run the tests, I get this error:
   ERROR | riscv_sim_RV32: executable not found. Please check environment setup.

It looks like the project template does not care about the docker flag in the config, and assumes that SAIL is installed locally. It never reads the docker or image parameters in the config, and never calls out to docker. The only references I could find to docker in this repo are in the docs.
https://github.com/riscv-software-src/riscof/blob/108fa2d4e824b3e37fcff82e4fbbb7243127320b/riscof/Templates/setup/sail_cSim/riscof_sail_cSim.py#L31-L32
https://github.com/riscv-software-src/riscof/blob/108fa2d4e824b3e37fcff82e4fbbb7243127320b/riscof/Templates/setup/sail_cSim/riscof_sail_cSim.py#L74-L75
Is there actually no docker support in the built-in SAIL plugin or am I missing something?

Seems like docker support is available in this version of the plugin: https://gitlab.com/incoresemi/riscof-plugins/-/commit/2305fbf12a0fdc44a0a26821e53f445471a93cc5
Why is there a separate copy of the plugin being maintained elsewhere?


Github action is stalling on OpenHands repo when resolving PR comments

On this issue, even after adding the fix-me label the PR is not replaced.
https://github.com/All-Hands-AI/OpenHands/pull/4671

Is there a link to the Github action logs?

No, I'm not sure it's even being activated...

Is it because the openhands-resolver yaml in Openhands hasn't been updated for pull request label events?

Awesome, thank you!

Fixed by #4712


Multipart upload crashing randomly in background session

I am trying to upload files using a background session on ios and most of the times it works correctly. But randomly, the app crashes because NSURLSession cannot read the file.
Below is how i write the file into a multipart content on disk using AFHTTPRequestSerializer before uploading it via: uploadTaskWithRequest:fromFile:
-(void)writeMultipartDataToTempFile: (NSURL*)tempFilePath
                                url:(NSURL *)url
                           uploadId:(NSString*)uploadId
                            fileURL:(NSURL *)fileURL
                            headers:(NSDictionary*)headers
                         parameters:(NSDictionary*)parameters
                            fileKey:(NSString*)fileKey
                  completionHandler:(void (^)(NSError* error, NSMutableURLRequest* request))handler{
    AFHTTPRequestSerializer *serializer = [AFHTTPRequestSerializer serializer];
    NSError *error;
    NSMutableURLRequest *request =
    [serializer multipartFormRequestWithMethod:@"POST"
                                     URLString:url.absoluteString
                                    parameters:parameters
                     constructingBodyWithBlock:^(id<AFMultipartFormData> formData){
                         NSString *filename = [fileURL.absoluteString lastPathComponent];
                         NSData * data = [NSData dataWithContentsOfURL:fileURL];
                         [formData appendPartWithFileData:data name:fileKey fileName:filename mimeType:@"application/octet-stream"];
                     }
                                         error:&error];
    if (error)
        return handler(error, nil);
    for (NSString *key in headers) {
        [request setValue:[headers objectForKey:key] forHTTPHeaderField:key];
    }
    [NSURLProtocol setProperty:uploadId forKey:kUploadUUIDStrPropertyKey inRequest:request];
    [serializer requestWithMultipartFormRequest:request writingStreamContentsToFile:tempFilePath completionHandler:^(NSError *error) {
        handler(error, request);
    }];
}

Here is a crash log i got using simulator but i have same results on devices too:
2019-09-12 11:16:28.268389+0400 SharinPix[6993:136911] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Cannot read file at file:///Users/mev/Library/Developer/CoreSimulator/Devices/B1A4244E-3350-431B-BA4C-FF8494FC5D7C/data/Containers/Data/Application/A5F74C95-74F8-4687-B304-741F65C417FD/Library/upload_7610f4c2-2ff7-45e9-987a-ac8fcd128c93'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010c1516fb __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x000000010a9fbac5 objc_exception_throw + 48
	2   CFNetwork                           0x000000010b4129c7 -[__NSURLBackgroundSession placeholderErrorWithURL:] + 0
	3   CFNetwork                           0x000000010b413692 -[__NSURLBackgroundSession _onqueue_uploadTaskForRequest:uploadFile:bodyData:completion:] + 68
	4   CFNetwork                           0x000000010b413558 __80-[__NSURLBackgroundSession uploadTaskForRequest:uploadFile:bodyData:completion:]_block_invoke + 42
	5   CFNetwork                           0x000000010b412bf0 __68-[__NSURLBackgroundSession performBlockOnQueueAndRethrowExceptions:]_block_invoke + 64
	6   libdispatch.dylib                   0x000000010cb45db5 _dispatch_client_callout + 8
	7   libdispatch.dylib                   0x000000010cb53d08 _dispatch_lane_barrier_sync_invoke_and_complete + 132
	8   CFNetwork                           0x000000010b412b58 -[__NSURLBackgroundSession performBlockOnQueueAndRethrowExceptions:] + 161
	9   CFNetwork                           0x000000010b4134b8 -[__NSURLBackgroundSession uploadTaskForRequest:uploadFile:bodyData:completion:] + 230
	10  SharinPix                           0x0000000107255e27 __81-[AFURLSessionManager uploadTaskWithRequest:fromFile:progress:completionHandler:]_block_invoke + 87
	11  SharinPix                           0x0000000107255a59 url_session_manager_create_task_safely + 121
	12  SharinPix                           0x0000000107255c78 -[AFURLSessionManager uploadTaskWithRequest:fromFile:progress:completionHandler:] + 376
	13  SharinPix                           0x00000001070f2627 __44-[FileUploader addUpload:completionHandler:]_block_invoke + 471
	14  SharinPix                           0x00000001070f1ed8 __111-[FileUploader writeMultipartDataToTempFile:url:uploadId:fileURL:headers:parameters:fileKey:completionHandler:]_block_invoke.181 + 88
	15  SharinPix                           0x000000010723fffc __105-[AFHTTPRequestSerializer requestWithMultipartFormRequest:writingStreamContentsToFile:completionHandler:]_block_invoke_2 + 44
	16  libdispatch.dylib                   0x000000010cb44d7f _dispatch_call_block_and_release + 12
	17  libdispatch.dylib                   0x000000010cb45db5 _dispatch_client_callout + 8
	18  libdispatch.dylib                   0x000000010cb53080 _dispatch_main_queue_callback_4CF + 1540
	19  CoreFoundation                      0x000000010c0b88a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
	20  CoreFoundation                      0x000000010c0b2f56 __CFRunLoopRun + 2310
	21  CoreFoundation                      0x000000010c0b2302 CFRunLoopRunSpecific + 626
	22  GraphicsServices                    0x000000010fa042fe GSEventRunModal + 65
	23  UIKitCore                           0x00000001184a7ba2 UIApplicationMain + 140
	24  SharinPix                           0x00000001070a61d1 main + 65
	25  libdyld.dylib                       0x000000010cbba541 start + 1

There has been similar reports of this issue but all of them say it is a sandbox issue. But in my case all the files are clearly in the app sandbox and hence cannot cause this error.
https://forums.developer.apple.com/thread/86184
https://stackoverflow.com/questions/26818337/sporadic-cannot-read-file-error-file-does-not-exist
https://stackoverflow.com/questions/37340875/uploadtaskwithrequest-background-session-fromfile-crash
Is it possible that the multipart file being written by AFHTTPRequestSerializer  is corrupted and no error is being returned?

Is this iOS 13 ? We have a similar issue related to the sandbox

@thebugcode i have reproduced it on ios 12.4. Have not tried it on ios 13 yet.

I have the same problem. how to fix it ?

@thebugcode i got it on ios 13.1 too. Have you been able to find the source of this?


feat: move StarkEvents to storage

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

Feature

What is the current behavior?
We store Starknet events in Substrate events which is not pretty convenient and infate block size

Resolves: #NA
What is the new behavior?

TxEvents are not deleted after storing block, so that it's main storage for starknet events
StarkEvents does not stored in Substrate events

Does this introduce a breaking change?

No

Other information

Should we store in Box as well?

Should we store in Box as well?

I don't think so

It's weird. The CI pass when I run it in local!


[BUG] OpenBullet2 Github Page Down

I clicked on the link from your openbullet.dev website, and it had a 404 error.

The repository for OB2 is currently private, it will be public once the closed beta phase has ended.


fix: remove height classes for footer

Fixes Issue
Closes #2276
Changes proposed
While doing the POC of this issue, I've found that there is height classes mentioned which calculating the page size and accordingly fixing the height. After removing the classes, it is fixed. Here are the class utility
className="md:min-h-[calc(100%-76px)] h-[calc(100vh-150px)]"

Screenshots
n/a
Note to reviewers

@rupali-codes
Deploy this :)

@aftabrehan @CBID2
Review and merge this please.


[17.06 backport] update libseccomp golang

This is a continuation of https://github.com/docker/runc/pull/12 with a few more commits on top, mostly trying to fix Travis CI and update Golang to 1.10+
closes https://github.com/docker/runc/pull/12
addresses ENGCORE-866
backport of https://github.com/opencontainers/runc/pull/1424 for 17.06
A bug in Seccomp filter handling was recently identified in Moby related to handling of syscall arguments in Seccomp filters (moby/moby#32714). The bug was in the libseccomp-golang bindings, and has been fixed there. This PR updates the bindings to include this fix, and provides integration tests to catch regressions in this behavior.
The minimum supported version of libseccomp is bumped from v2.1.0 to v2.2.0 by associated changes to the bindings. Support for v2.1.0 was never very good (some features had to be gated off because of a library bug), though it is still the version provided by a few major distributions. If this change is contentious, I can see about backing out the changes that require v2.2.0.
This fixes CVE-2017-18367 - Multiple syscall arguments were incorrectly combined with logical-OR, instead of logical-AND

All green! Let me merge this one

hooray
=== RUN   TestSeccompPermitWriteMultipleConditions
--- PASS: TestSeccompPermitWriteMultipleConditions (0.28s)
=== RUN   TestSeccompDenyWriteMultipleConditions
--- PASS: TestSeccompDenyWriteMultipleConditions (0.28s)


Fix linebreak on tags (Fixes #2147)

Changed label class from display:inline to display:inline-block and added myself to AUTHORS

I tested your branch: Linebreaks looks good now. But we need more space between labels (e.g. margin-left or right). See screenshot:


Update ja.coffee

Thanks, @Ikuyadeu :+1:

@Ikuyadeu Really great work on the Japanese translations over the past year and a half! I have a question about further Japanese translations. Could you email me at<EMAIL_ADDRESS>to discuss?


use  error

What version of starlight are you using?
^0.24.4
What version of astro are you using?
^4.10.2
What package manager are you using?
pnpm
What operating system are you using?
mac
What browser are you using?
chrome
Describe the Bug
package.json
{
  "name": "helpless-heliosphere",
  "type": "module",
  "version": "0.0.1",
  "scripts": {
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro check && astro build",
    "preview": "astro preview",
    "astro": "astro"
  },
  "dependencies": {
    "@astrojs/starlight": "^0.24.4",
    "astro": "^4.10.2",
    "sharp": "^0.32.5",
    "@astrojs/check": "^0.7.0",
    "typescript": "^5.5.2"
  }
}

mdx content :  https://github.com/withastro/starlight/blob/main/docs/src/content/docs/zh-cn/guides/overriding-components.mdx

Link to Minimal Reproducible Example
https://github.com/huifer/zen-huifer
Participation

[X] I am willing to submit a pull request for this issue.

Oh no ，After copying with IDEA, there was a format change, and once it changed, it could not be recognized and processed properly。

Thanks for the clarification, I was just about to post that I could not replicate the issue.
Indeed, the <Steps> component is based on Markdown ordered lists and the content should follow the rule for adding elements in list.
In this case, if your IDE is the one reformatting the content in an invalid format not matching a single ordered list, maybe  its configuration can be tweaked or maybe the specific feature can be disabled in your IDE?

Oh no ，After copying with IDEA, there was a format change, and once it changed, it could not be recognized and processed properly。

Thanks for the clarification, I was just about to post that I could not replicate the issue.
Indeed, the <Steps> component is based on Markdown ordered lists and the content should follow the rule for adding elements in list. In this case, if your IDE is the one reformatting the content in an invalid format not matching a single ordered list, maybe its configuration can be tweaked or maybe the specific feature can be disabled in your IDE?

Can you tell me how to close it in IDEA

Maybe this post will help? https://stackoverflow.com/questions/30045874/how-to-disable-intellij-auto-change-my-code-format
Sounds like this is not a Starlight issue, so will close this. Thanks @huifer 🙌


Add Trusted Types support to wct-mocha.

For the record, this is needed for us to test enforced trusted types in https://github.com/Polymer/lit-html/pull/1153

integration tests, including on chrome 81 were fine on my mac osx workstation.  i think travis linux + chrome 81 + chromedriver are having issues.  I haven't been able to fix travis local selenium integration tests for chrome 81 -- firefox looks fine.  Will merge as is and try to fix travis seperately.


CC sidenav clean

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/90bf9d2931704ccbd46a6deba214a261c4f000da/
Edited pages:

cockroachcloud/build-a-python-app-with-cockroachdb-django.md
releases/cockroachcloud-03022020.md
releases/cockroachcloud-04062020.md
releases/cockroachcloud-05042020.md
releases/cockroachcloud-06112020.md
releases/cockroachcloud-07062020.md
v20.1/build-a-python-app-with-cockroachdb-django.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/08669e53b120edac67ac92c7e1dc3d019f531dc9/
Edited pages:

cockroachcloud/build-a-python-app-with-cockroachdb-django.md
releases/cockroachcloud-03022020.md
releases/cockroachcloud-04062020.md
releases/cockroachcloud-05042020.md
releases/cockroachcloud-06112020.md
releases/cockroachcloud-07062020.md
v20.1/build-a-python-app-with-cockroachdb-django.md


[AutoPR datafactory/resource-manager] Qingyhe/refactor table option

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

(message created by the CI based on PR content)


docs: [refinery] Add MaxConnectionAge default to values.yaml

Which problem is this PR solving?
The MaxConnectionAge default is 0 which leads to load balancers failing to re-balance GRPC connections to Refinery. This means that one node in a multi-node deployment receives all of the traffic and expends more resources than it should redirecting all the traffic while the other nodes sit idle.
This PR doesn't change the default but exposes it as a configuration that can be set so operators can be in a better position to fix the problem if they run into it.
Short description of the changes
Adds some new
How to verify that this has the expected result
You can use the helm template command to see that the config is present. When it comes to actually verifying the connections remain open, I haven't cracked that nut yet.

This PR doesn't change the default but exposes it as a configuration that can be set so operators can be in a better position to fix the problem if they run into it.

To be clear, this PR is not necessary for the chart to be able to set this value - helm chart users are allowed to set this value in the values.yaml today.  I see the value of this PR as showing users who read the default values.yaml that this is a configuration that Refinery allows.

@TylerHelmuth Thanks for the feedback. I agree that it's just to help with future reference for refinery 1.x users.
Can you merge? I lack permission.


please upload new snapshot version to maven.

Hi.
Would it be possible to upload a new snapshot version to sonatype?
https://oss.sonatype.org/content/repositories/snapshots/com/ryanharter/auto/value/
i had bugs in version 1 which were fixed but i cannot check if i find additional bugs.
Thanks

Why can’t you install locally?

will try. thanks.

it failed

./gradlew install
Task :auto-value-moshi-extension:shadowJar FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':auto-value-moshi-extension:shadowJar'.

neither file nor directory

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings

Hi, Any update on this issue please?

Hi, Is there any update?
Can a new version please be released?
Thanks

I don't know why your local install isn't working but I'm going to close this out for now. Issue tracking isn't the right place for requests like this

what is the suggested forum of asking this please?
Besides this there is already a fix in master and this request is waiting for 1 year now already. When is the next release planned.
I don't use this library now for new projects as i switched to kotlin and just have this library in legacy projects but anyway it would be nice to know when the next release is planned and if no future release is planned it would also be nice to have a mesaage at readme.md that this project is no longer maintained.

Asking for new releases or ETAs are pretty universally discouraged across the FOSS space. Inquiring about the state of the project or make feature requests or file issues about the project itself is ok, but opening dedicated issues to ask for new releases is not. It’s really important to understand that you’re not entitled to a release or snapshots in OSS, let alone when it’s just due to you not being able to build from source yourself.


Fix incorrect subscription checks in tests

Purpose
Fix incorrect subscription checks in tests.

Codecov Report

Merging #14010 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #14010      +/-   ##
============================================
- Coverage     64.58%   64.58%   -0.01%
  Complexity      426      426
============================================
  Files          2155     2155
  Lines         95550    95550
  Branches      12738    12738
============================================
- Hits          61713    61708       -5
- Misses        28823    28826       +3
- Partials       5014     5016       +2

Impacted Files
Coverage Δ
Complexity Δ

...va/org/ballerinalang/channels/ChannelRegistry.java
91.89% <0%> (-5.41%)
0% <0%> (ø)

...org/ballerinalang/test/util/HttpClientRequest.java
83.6% <0%> (-3.28%)
0% <0%> (ø)

...a/org/ballerinalang/bre/bvm/WorkerDataChannel.java
84.56% <0%> (-3.09%)
0% <0%> (ø)

...et/http/actions/httpclient/AbstractHTTPAction.java
79.14% <0%> (+0.85%)
0% <0%> (ø)
:arrow_down:

...a/org/ballerinalang/bre/bvm/GlobalMemoryBlock.java
79.41% <0%> (+0.98%)
0% <0%> (ø)
:arrow_down:

...rinalang/runtime/threadpool/ThreadPoolFactory.java
66.66% <0%> (+4.76%)
0% <0%> (ø)
:arrow_down:

...allerinalang/net/jms/LoggingExceptionListener.java
100% <0%> (+50%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update efb49c6...77420c2. Read the comment docs.


part 2: tutorials compatible to oggm_v16

This is the second part of making the tutorials compatible to OGGM v1.6:
Apart from use_your_own_inventory.ipynb, all other notebooks that I worked on run with OGGM v16 now, but there are a few things to check.
Here is a list of changes that I did and some things that need to be checked :
preprocessing_errors

changed URLs, basically shows now preprocessing errors of version 1.6 and 1.4 because only in 1.4, we also have different climate files at the moment
the error flowline_model_run_historical only occurs in level 4, so after the climate was processed. I changed that accordingly
added a rough comparison of failing glacier area between the versions
run_with_a_spinup_and_gcm_data:
changed to L5 elev_band base_url
set y0=1965 (instead of tstar of HEF) and removed the temperature_bias=-0.5, it still creates a slightly different behavior than before, i.e. the different projections don't end perfectly at the same volume. But it is approximately ok. Otherwise,
[ ] @anoukvlug  could maybe check if the result is still as expected.

use_your_own_inventory:

some errors that I could not solve, probably the output of  utils.get_rgi_glacier_entities(['RGI60-11.00897'])  changed, or the geopandas plotting stuff??
[ ] @fmaussion, can you have a look there?

ingest_gridded_data_on_flowlines

elev_band L3 base_url added
obs_ice_vel_x -> itslive_vx , ...
needed to adapt the recalibration, the OGGM_inversion_velocity is now two to three times higher
[ ] @fmaussion could maybe check if I did something wrong there or if that is expected. Basically the last four plots are different compared to the stable version.

merge_gcm_runs_and_visualize

elev_band L5 base url
added a section that visualizes data with matplotlib and seaborn. I also show how to compute median, interquartile range and total range (I guess this is a good robust alternative to mean and std. for small numbers of GCMs). I did not yet find a good page where this is explained; feel free to add a good link or more explanation there
also needed to change the min_count when doing .sum() in xarray. Otherwise (at least in my xarray version), summing up two np.NaN results in a zero (which is very bad when estimating averages or median afterwards ... )
moved import Holoviews and import Panel to the last section like that the notebook can run until then even if the two packages are not installed
added two options (default is to use ISIMIP3b data for projections)
I didn't touch the Holoviews section (and somehow couldn't manage to install the package). But normally, when you use option='CMIP5', the last section should work
[ ] @pat-schmitt could maybe check if the Holoviews/Panel section runs (you need to set option=CMIP5)

Thank you! Included in my recent PR - leaving open for dicussion


Fix AcInstrDecodeTest>>testPowerAddiSymbolic

A trivial push yesterday (classifying a method) re-triggered CI and now https://github.com/shingarov/Pharo-ArchC/actions/runs/9171675951/job/25216516144 .  I don't understand how this could possibly pass before.

I don't understand how this could possibly pass before.
Neither do I, not yet. But this is worth investigating...

I don't understand how this could possibly pass before.

It did pass before MA commit https://github.com/shingarov/MachineArithmetic/commit/216a5c8fd329ef2a7e1758edbcaef5cccf0a0e57.
This is because the before that, in signedValue there was:
self simplify isNumeral ifFalse: [ ^self ].

The problem is fieldValue: returns sometimes an integer, sometimes Z3Int and sometimes bitvector.  Worse, it tells you it does return an Integer.


Fix culling of faces behind the image plane

Currently HSR culls vertices outside the unit cube, but perspective projection maps z coordinates to [0, 1] rather than [-1, 1]. This causes vertices behind the image plane to not be culled.

Actually the primary problem was culling after w divide, which does not properly handle faces intersectiong the w=0 plane.


Top-Down Optimizer

UPDATE: see bottom of thread for newest comment(s)
WIP: Still need to add the plan pruning algorithm
Done:

Add tests + bugfixes for CostEstimator
Removed special functionality for creating sentinel plans
Add ability to enable/disable conventional queries
Re-organized model selection strategies into LLMFilter, LLMBondedConvert, LLMConventionalConvert
Split TokenReduced strategy into one for Bonded queries and one for Conventional queries
Enabled pass-through of verbose flag to convert and filter operators

Will populate this thread with an up-to-date comment describing changes tomorrow AM.

Here is an overview of the major changes in this PR:

The creation of the Optimizer class, which replaces the LogicalPlanner and PhysicalPlanner

The Optimizer is constructed with a Policy, a CostModel (previously CostEstimator), an OptimizationStrategy, and a set of hyperparameters (e.g. boolean flags that allow/disallow different optimizations)
The Optimizer's optimize() method takes in a query plan (i.e. a user's PZ Dataset) and returns a list of physical plans, according to the given Policy we're optimizing for, the CostModel which produces estimates for each operator, and the OptimizationStrategy which dictates whether we only want the optimal plan, the set of possibly optimal plans (when considering error bounds), the set of sentinel plans, etc.
The code for the Optimizer (and related classes, including Tasks, Rules, and optimization primitives such as Groups and Expressions) is in src/palimpzest/optimizer which effectively replaces src/palimpzest/planner
This code -- specifically the Rules -- also implements the functionality of Strategies, which led to the removal of src/palimpzest/strategies; some code from src/palimpzest/strategies which specified convert operations was moved into new files in src/palimpzest/operators

The CostModel (renamed from CostEstimator) now computes upper and lower bounds for the estimated statistics of interest, such as time_per_record, cost_per_record, selectivity (which is used to estimate cardinality), and quality

The CostModel is initialized with sample execution data, which is used to compute per-operator estimates of the statistics of interest
The CostModel's call method takes in a physical operator and the OperatorCostEstimates from the physical operator's source operator and outputs a PlanCost object, which contains the total time, cost, and quality estimates (plus bounds) for this operator

NOTE: the OperatorCostEstimates and the new PlanCost dataclasses ended up being very similar -- the only difference is that OperatorCostEstimates is used to hold per-record estimates while the PlanCost is used to hold operator-level estimates. By changing the semantics of the dataclass(es) we may be able to combine these into a single dataclass.

The code for this was moved out of src/palimpzest/execution into its own sub-directory src/palimpzest/cost_model
Some future work will go into:

computing tighter lower and upper bounds
using something along the lines of matrix completion to better generalize our estimates from sample data to unseen physical operations

Replaced HardcodedConvert with NonLLMConvert; this enables programmers to write programs with lambda-style convert operations (very similar to how NonLLMFilter works for lambda-style filters)

Code for NonLLMConvert is in src/palimpzest/operators/convert.py
Changes were made to src/palimpzest/sets/sets.py to enable this syntax
A Rule was implemented to perform pattern-matching and physical operator substitution for NonLLMConvert operations

Refactored src/palimpzest/execution/ into more modular classes

ExecutionEngine is left with two unimplemented methods: execute() and execute_plan()
PlanExecutors (which still inherit from the ExecutionEngine) implement the execute_plan() method; these handle details such as parallel vs. single-threaded execution of an individual plan
The other ExecutionEngine sub-classes implement the execute() method; these handle details such as sentinel vs. non-sentinel execution of a (set of) plans
Finally, sub-classes can inherit from one sub-class which implements execute_plan() and one sub-class which implements execute() to provide a fully-functional ExecutionEngine

Standardized the computation of execution ids, plan ids, logical operator ids (new), physical operator ids, expression ids (new), and group ids (new)

The new implementations, along with implemented hash and eq methods allow for placing these classes directly into sets and dictionaries, which is useful at times
The get_op_params methods for various physical operators were updated to ensure that identical physical operators' ids will match regardless of their input -- which is necessary for correctly applying CostModel estimates to an operator as the Optimizer moves the operator around the plan's logical tree

Simplified naiveCostEstimates() across all physical operators

sub-classes may override the method to produce their own estimates
some sub-classes (particularly for convert operations) now call super().naiveCostEstimates() to get the "vanilla" cost estimates and then apply small updates to the relevant estimates that they affect; this cuts down on a lot of code duplication and long functions

Updated Policy class to have three functions: constraint(), choose(), and (for now) get_primary_metric()

constraint() returns a boolean indicating whether or not a given plan satisfies the policy's constraint; this can be used by the optimizer to more aggressively prune sub-plans (this type of pruning is still a TODO)
choose() used to select the best plan from a set of physical plans, now it is used as a comparison function to determine whether the plan in the first argument is better than the plan in the second argument (according to the Policy)
get_primary_metric() returns the string associated with the primary metric the policy is trying to optimize (e.g. "quality" if it is trying to maximize quality, "cost" / "time" if it is trying to minimize cost / runtime); this is used by the Optimizer to check the appropriate bounds when selecting the optimal (set of) plan(s)

In the future, we will need to rethink this if/when we support multi-objective optimization of the form e.g. minimize f(cost, quality) possibly subject to some constraint

Made appropriate changes to tests/pytest to get them passing
Removed structs from constants.py which became unnecessary after the refactor streamlined our hierarchy of operator classes; added struct for OptimizationStrategy and AggFunc

ExecutionStrategy may be added back, but right now it is not needed as the Execute class takes an execution_engine as direct input
QueryStrategy and CodingStrategy are now directly implied by the physical operator class
PlanType was only used to set the num_samples argument for execute_plan(), which can easily be set by the ExecutionEngine sub-class now that we have separate classes for Sentinel vs. Non-Sentinel execution
AggFunc struct removes the need for entire src/palimpzest/elements/aggregateFunction.py file

House-cleaning / reducing clutter:

Added count() and average() as PZ syntax in src/palimpzest/sets/sets.py
Removed LogicalPlan as the new Optimizer no longer needs it (it is now implicitly constructed with Groups and Expressions)
Removed need for dataset_type in MarshalAndScanDataOp constructor
Deleted Modal parallel sub-directory b/c I don’t think we’re using it anymore, and if someone really needs it they can pull it from the git history
Deleted sampler sub-directory as it also is not being used
Removed deserialize() function from classes because we are not using it anywhere
Renamed uuid —> id (and parent_uuid —> parent_id) in DataRecord to be a bit more semantically correct
In response to some feedback, removed class attributes from physical operators in favor of class parameterization
Simplified physical operator constructors
Various small bug-fixes

LGTM!!!!  (Kidding, we reviewed it at length.)


Profile Page(Mobile)

Bakground
This is the profile page. Users can see the information registered in the app.
Functional Requirements
The app must display a profile page for users to view their personal information.
Participants should be able to access the page to edit the name and information within the app.
Non-Functional Requirements
The profile page should be viewed as personal information in order.
Dependencies
Supabase database with person-information data will be viewed and updated.
Tasks

[x]  Design the UI for the profile page - 4 hours
[x]  Implement the edit function for photo and personal information - 4 hours
[x]  Retrieve and display user data from Supabase - 4 hours

Estimate
12 hours
Acceptance Criteria
Given that I am using the app as a participant,
When I view the leaderboard, I can see myself in the event.
Then I should see where my information is in the app.

transfer and done


Streamline local setup process.

This pull request includes updates to the development environment setup and documentation to streamline the setup process and ensure dependencies are correctly installed.
Development Environment Setup:

.devcontainer/devcontainer.json: Added a postStartCommand to automatically install Python dependencies from requirements.txt after the container starts.

Documentation Improvements:

hack-resources/get-started.MD: Simplified and clarified the setup instructions, including replacing manual Cosmos DB role assignments with a script (setup-cosmos-rbac.sh).

@drewby Thanks for the feedback.  Addressed.  Please review.


Update tools to build packages from hydrated dependencies

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[ x Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

To make the package test faster, we don't need to build the packages in order. Instead all the dependencies can be added from hydrated cache and PTEST can be fired in parallel for all the packages. This change updates the Graph to replace any dependency with a PreBuilt Node.
Change Log

New build flag HYDRATED_BUILD added
ClonePkgNode function is exported from pkgGraph

Does this affect the toolchain?

NO
Associated issues

Links to CVEs
Test Methodology

Local Build

Could you also add a writeup in the toolkit/docs folder on the argument, and add a quick description on how it works and the intended use.

Do we need to check for dynamic dependencies when the build worker processes a prebuilt node?

Feedback from discussion with @PawelWMS and @dmcilvaney

Remove subgraphing logic from graphScrubber (Remove the need for new GoalNode as well)
Remove code duplication in main function of graphScrubber (WriteDOTGraph)
Change name of graphScrubber into graphPreProcessor as we may add new preprocessing logics in future too

Suggest targeting the main branch instead of 2.0


gen-stat raises "bad sfntVersion"

When trying to patch STAT I get this issue. I’ve also seen this issue in fontbakery with some VF fonts built on glyphs. Any ideas?
This is the error log:
Traceback (most recent call last):
  File "/Users/guidoferreyra/fbenv/bin/gftools", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/guidoferreyra/fbenv/lib/python3.12/site-packages/gftools/scripts/__init__.py", line 98, in main
    mod.main(args[2:])
  File "/Users/guidoferreyra/fbenv/lib/python3.12/site-packages/gftools/scripts/gen_stat.py", line 66, in main
    fonts = [TTFont(f) for f in args.fonts]
             ^^^^^^^^^
  File "/Users/guidoferreyra/fbenv/lib/python3.12/site-packages/fontTools/ttLib/ttFont.py", line 174, in __init__
    self.reader = SFNTReader(file, checkChecksums, fontNumber=fontNumber)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/guidoferreyra/fbenv/lib/python3.12/site-packages/fontTools/ttLib/sfnt.py", line 85, in __init__
    raise TTLibError("Not a TrueType or OpenType font (bad sfntVersion)")
fontTools.ttLib.TTLibError: Not a TrueType or OpenType font (bad sfntVersion)

FWIW, this is how sfntVersion looks on the curren font
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="4.50">  = 0x00010000

Something was in the command line which was not a font.
Did you say
gftools-gen-stat stat.yml myfont.ttf

instead of
gftools-gen-stat --src stat.yml my font.ttf

?

🤦
Thanks @simoncozens


Release injected object resource on scope exit

I want to inject a database connection during processing of http request in the custom request scope. Where i can close the connection after request is processed and request scope exits. Can i do this? And can i use custom scope for this?

You can close the connection explicitly after you're done using it. Or instead of opening/allocating a connection right away you can inject a context manager that lets you manage the connection. Or you can provide an after-request hook that requests the connection object and closes it there. Possibly other ways too, totally up to your code.
Yes, you could (ab)use a custom scope for this – see https://github.com/alecthomas/flask_injector/blob/18282a42539c8a8809feff1f466f763116e10bda/flask_injector.py (look for clenaup) and, quite related, https://github.com/alecthomas/flask_injector/issues/37.

Exactly what is needed. Thanks a lot for the examples.


WIP: Fixing incorrect benchmark results

[Short description explaining the high-level reason for the pull request]
Rob: add note about conda reload
Additions
Changes
Removals
Testing
Checklist
You may update this checklist before and/or after creating the PR. If you're unsure about any of them, please ask, we're here to help! These items are what we are going to look for before merging your code.

[ ] Informative and human-readable title, using the format: [_pt] PR: <description>
[ ] Pre-commit executed and linting changes made.
[ ] Links are provided if this PR resolves an issue, or depends on another other PR
[ ] If submitting a PR to the dev branch (the default branch), you have a descriptive Feature Branch name using the format: dev-<description-of-change> (e.g.: dev-revise-levee-masking)
[ ] Changes are limited to a single goal (no scope creep)
[ ] The feature branch you're submitting as a PR is up to date (merged) with the latest dev branch
[ ] Changes adhere to PEP-8 Style Guidelines
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (CHANGELOG and/or README)
[ ] Reviewers requested

Merge Checklist (For Technical Lead use only)

[ ] Update CHANGELOG with latest version number and merge date

Geocurves script is ready to go.


Implement full formatted JSON file metadata output

It'd be good to order those objects that have an ordinal number (e.g. contributions).

Do you mean by updating WorkQuery? I couldn't see an easy way of manipulating the JSON once the Work is retrieved.

Also, to add certain fields that are missing, such as imprint.imprint_url, publisher.short_name or contributor.website

Ah, I hadn't noticed that not all of them were included in WorkQuery - yes, certainly.
We don't generally need the child _id fields, do we? I noticed we're retrieving publication_id, but that's the only one.


Allow Promise<void> with no-invalid-void

The no-invalid-void doesn't allow usage of void anywhere beside on return types. This excludes the ability to create a Promise<void> type, used for functions such as async() { return; } and in expressions such as async(x: Promise<void>) { await x; }
As a Promise represents a delayed result of a function, void should be allowed in the Promise<void> type expression in the same way it is allowed in () => void type expression.
It would be better to have the ability to add an exception to the rule to specify a list of generic types where void is allowed because it is semantically referring to a return type of a function.

Agreed! Duplicate of #4828.


it would be a good idea to add a slightly longer LLM max length(tokens)

i think it might be a good idea to make the LLM max length a bit longer or more like let the LLM finish before it stops because half the LLM answer is missing or its incomplete most times and sometimes  it reguires several dozen calls to the LLM until it gives a  completed Answer and it should be changed to something like 750-1000 Max lenght(Tokens) maybe even higher

okay, got it. now is 5k, next version.
when u click generate button; it will send into SD, do u really want send more then 1000 token into SD clip encoder?

i did some testing myself in SD forge using Flux i got this result with 500 Tokens and 20 top k and 0.9 top p

more max length tokens might be better to be used with flux

Its 5000, now. Max token has set max to 5000 few day ago.


Automate build and release of "odo-init" image

We need to automate the build and release process for "odo-init" image.
/area release-eng

@mohammedzee1000 to research this and list down things that need to be done from our side.
/assign @mohammedzee1000

We need to update the configurations in an internal repo and face down any issues that we face along the way. It is sort of a separate schema in its own right, so the main challenge will be to learn the new config schema and work alongside Red Hay IT

@mohammedzee1000 do we have everything that we need from the IT on this? What are the next steps to automate this?

@mohammedzee1000 do we have everything that we need from the IT on this? What are the next steps to automate this?

No, I have gone through the docs and we already have the repo. I think its time to start writing up the configuration
My goal right now will be to setup the base pipeline. Automated testing will have to be added later as we will have to configure  CPaaS jenkins and PSI jenkins to work together

No, I have gone through the docs and we already have the repo. I think its time to start writing up the configuration
My goal right now will be to setup the base pipeline. Automated testing will have to be added later as we will have to configure  CPaaS jenkins and PSI jenkins to work together

This is almost done. Hammering out some chinks. Should be done in 2 more days from today max

Next release should let us know if pipeline is ready

@mohammedzee1000 what's going on with this one? It's got triage/needs-information label - are we still looking for some info?
/remove-lifecycle stale

/close
No longer relevant since we've stopped using the init image.


Ui-bootstrap alerts do not show any color

Hi,
I have the following ui-bootstrap specific code:
alert close='closeAlert($index)' ng-repeat='alert in alerts' type='alert.type'
{{alert.msg}}
$scope.alerts.push({type: 'info', msg: 'Order Sent!'})
However, after trigerring the alert, I don't see any colors, only the message in a white background. Any ideas what might be going wrong? I'm using angular 1.2.28, bootstrap 3.1.1 and ui-bootstrap 0.12.1.

Please ignore this issue, putting braces around alert.type solved the issue.


fix fix version of information_schema table backward when query in follower node

Problem Summary:
For the follower node in cloud mode, when querying the information_schema table, the version needs to be updated.
Otherwise, the version will always be the old value unless there is a query for the table in the follower node.
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[x] Previous test can cover this change.
[ ] No colde files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Release note

None

run buildall

run buildall