Update Rust CI

This brings the Rust CI up to date with the opensource-template

Could do, though we'd do that in the template repo and then copy it to all other repos. This PR is bringing this repo to to date with the template.

@soniasingla Let's open an issue to discuss any future changes in the template repo rather than blocking this update bringing this repo up to date with the others.


[CMT-157] Article - Yearn Finance - Decentralised Asset Management

https://github.com/yearn/yearn-comms/pull/620


[flutter_tools] update compilation to use package config

Description

Updates the tool compilation to use the PackageConfig class to resolve package URIs, removing the PackageUriMapper.
Updates more of the compilation code paths to use Uri instead of file paths to represent the entrypoint dart library
Improves the invalidation logic of the PackageUriMapper. Instead of re-creating and re-parsing the package file on every hot reload/hot restart, the ProjectFileInvalidator controls recreating it by detecting when the .packages/package_config.json file is dirty.

This logic could be extended further to support running build targets based on these inputs, to further simplify the asset bundling and localisations (future work)

Related Issues
https://github.com/flutter/flutter/issues/53665
https://github.com/flutter/flutter/issues/51951
Tests
I updated existing tests, since this is not a behavior change

This also needs to be smoke tested in google3. I'll look into doing that next week


Revising the Layout - Responsive-Design ?

The current Layout works fine in Desktop, not so much in Mobile.
A revision is needed, maybe getting rid of Bootstrap ?

If this Issue is needed by someone, please comment it. I personnaly don't need it. But if there's a demand, I'll look into it.


stderr support?

As far as I can tell from browsing the docs and skimming the code it seems like console output is limited to stdout. And the file appenders take paths, so I can't just pass a handle or writer to stderr either.

Seems reasonable to allow the console appender to write to stderr optionally.


Fix C4996 when compiled with MSVC

ByteArray.h is a installed header and it triggers MSVC warning C4996 when used in other projects. This PR fixes it by using MSVC-specific alternatives when they are present.

The windows CI test fails. Could you please investigate what went wrong?

The windows CI test fails. Could you please investigate what went wrong?

I read the log but I honestly have no idea about it. Do you know how to run the tests locally?

My guess is it's picking up on the need for + 1 on the buffer alloc to allow for NUL-termination by sprintf(). Either way I think it would be better if the function wasn't inline.

I tried to run the same command sequence on my local computer. It succeeded.

Before the change:

After the change:

So yeah, I think @gitlost is correct. It crashed because there is an overflow when sprintf tried to append the null character.

Should I just +1 to the string size?

Should I just +1 to the string size?

Yes please. That is definitively a buffer overflow that I caused there. What is puzzling me is why the ASAN is not picking up on it.
To execute the tests locally, just execute ctest.

Thanks for the update. Looking at your change and reading the documentation of sprintf_s I now understand why the ASAN did not complain about the earlier code: there was nothing to complain about, it was perfectly fine. A std::string of size N has a buffer of at least N+1 bytes because it is also terminated by a \0. So my "I've screwed up" conviction was premature. The problem was the wrong second parameter 3 to sprintf_s in your original patch. Could you please revert all the partly misleading comments and changes and simply use the original code with a 4 instad of a 3. Thanks.

OK. Sorry I'm not very familiar with sprintf stuff :/

My "guess" confused everyone, apologies.


An unhandled exception occurred on the client in v<IP_ADDRESS>

Object reference not set to an instance of an object.
   at BeetleX.Clients.AsyncTcpClient.ReceiveCompleted(SocketAsyncEventArgs e)

fix v<IP_ADDRESS>


Add to Stackage

I opened the pull request here: https://github.com/fpco/stackage/pull/786

This has been added to Stackage.


⚠ Samsung has degraded performance

In 479eace, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2888 ms

Resolved: Samsung performance has improved in 156a8a7.


<EMAIL_ADDRESS>breaks cds.test with mocks

Description of erroneous behaviour
<EMAIL_ADDRESS>breaks cds.test with mocks.
Given a project with an imported external service
And a test file which looks like this.
import { cwd } from 'process'
import cds from '@sap/cds'

const cmd = 'serve'
const args = [
  '--project',
  cwd(),
  '--with-mocks'
]
const { axios, data } = cds.test(cmd, args)

describe('example test', () => {
  afterEach(async () => {
    await data.reset()
  })

 // some tests
})

Calling data.reset() will throw an error:
'SqliteError: no such table: External_Service_Some_Table in:
DELETE FROM External_Service_Some_Table as Some_Table
    at Database.prepare (/Users/foo/Projects/some-service/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)
    at SQLiteService.prepare (/Users/foo/Projects/some-service/node_modules/@cap-js/sqlite/lib/SQLiteService.js:47:23)
    at SQLiteService.onSIMPLE (/Users/foo/Projects/some-service/node_modules/@cap-js/db-service/lib/SQLService.js:151:25)
    at next (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/srv/srv-dispatch.js:79:36)
    at SQLiteService.onDeep (/Users/foo/Projects/some-service/node_modules/@cap-js/db-service/lib/deep-queries.js:26:39)
    at next (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/srv/srv-dispatch.js:79:36)
    at SQLiteService.fill_in_keys (/Users/foo/Projects/some-service/node_modules/@cap-js/db-service/lib/fill-in-keys.js:75:10)
    at next (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/srv/srv-dispatch.js:79:36)
    at SQLiteService.handle (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/srv/srv-dispatch.js:83:6)
    at SQLiteService.dispatch (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/srv/srv-dispatch.js:45:15)
    at /Users/foo/Projects/some-service/node_modules/@sap/cds/lib/srv/srv-dispatch.js:35:15
    at Array.map (<anonymous>)
    at SQLiteService.dispatch (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/srv/srv-dispatch.js:34:59)
    at SQLiteService._begin [as dispatch] (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/srv/srv-tx.js:207:15)
    at DataUtil.delete (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/utils/data.js:18:7)
    at DataUtil.reset (/Users/foo/Projects/some-service/node_modules/@sap/cds/lib/utils/data.js:25:5)
    at Object.<anonymous> (/Users/foo/Projects/some-service/test/service.test.ts:25:7)'

Same works with<EMAIL_ADDRESS>Has been tested with latest<EMAIL_ADDRESS>The issue is only related to @cap-js/sqlite
Details about your project
|:---------------------- | ----------- |
| Node.js                | v18.17.1    |
| @sap/cds               | 7.2.0       |
| @sap/cds-compiler      | 4.1.2       |
| @sap/cds-dk            | 7.2.0       |
| @sap/cds-dk (global)   | 7.2.0       |
| @sap/eslint-plugin-cds | 2.6.3       |
| @sap/cds-mtxs          | 1.10.0      |

just to make sure this still is relevant. Would you upgrade to 1.2.1 and check if this resolves your issue?

just to make sure this still is relevant. Would you upgrade to 1.2.1 and check if this resolves your issue?

@patricebender no still broken in 1.2.1.  The issue occurs as of 1.1.0

@patricebender Seems like the tables for the mocked external services are not being created at all. But still considered for deletion. Hence the error.

could you provide a minimal sample + steps to reproduce?

Closing due to inactivity, if you want to re-open, feel free to do so


Inconsistent UI

Why does the look and feel of gogs change if you visit the "Issues" page?
The usual look:

Issues page:

EDIT:
Some minor inconsistencies:

Submenu disappears when you select the "Commits" page
Menus are always at the left except for Settings and Admin panel

The login page is different too.

The commits page is also different. No more submenu (source / commits / issues) at all.

There is issue2 handler which is WIP that has a consistent theme

Duplicated to #650


EVA evidence to link to MEF2A in coronary heart disease and two children terms

PMID: 15496429 and PMID: 15958500 describe rs121918531 and rs121918529 as evidence for an association between MEF2A (ENSG00000068305) and myocardial infarction (EFO_0000612) and coronary artery disease (EFO_0000378).
These are the issues:

we don't link MEF2A with CAD based on genetic associations (only via text mining evidence):
https://www.targetvalidation.org/evidence/ENSG00000068305/EFO_0000378. The SNPs should have been used as genetic evidence for this association as well.

the association between MEF2A and CHD is indirect with genetic evidence from EVA propagated from CAD to CHD (child-parent). On the UI, we should not have CHD in the "Diseases" column in the genetic associations table; we should list MI and/or CAD instead.

This gives the wrong impression to users that CHD is associated with MEF2A directly, where it should be an indirect association.

This issue seems to be caused by wrong mapping of ClinVar conditions to EFO terms. Both variants are annotated with the coronary artery disease/myocardial infarction condition in ClinVar (see rs121918531 and rs121918529) but then are mapped to coronary heart disease (http://www.ebi.ac.uk/efo/EFO_0001645) and myocardial infarction (http://www.ebi.ac.uk/efo/EFO_0000612") in our evidence:
{
  "id": "http://www.ebi.ac.uk/efo/EFO_0001645",
  "name": "coronary heart disease",
  "source_name": "coronary artery disease/myocardial infarction"
}
{
  "id": "http://www.ebi.ac.uk/efo/EFO_0000612",
  "name": "myocardial infarction",
  "source_name": "coronary artery disease/myocardial infarction"
}

I will ask EVA to look into it.

This has been fixed for 20.04. EVA now have a file to track problematic mappings that they correct manually prior to submission.


Signing without logging into to dev account

It appears that in order to use ipa and sigh for signing apps, I would have to provide my apple developer account username and password and store them in environment variables on the build server. Since we are going to use a cloud based CI Server this is a security concern.
Using CircleCI I was able to write shell scripts to create a keychain using the specific signing cert and private cert I had checked into github. The private cert is encrypted and password protected. Although I have to put the password to this cert into github, this is preferable to putting the password to my account in an environment variable.
Is there any way to use ipa and point it at a keychain you create on the build server manually?

We just launched a new tool called match that simplifies code signing and takes care of all the heavy lifting for you. You should give it a try :+1:

match allows you to use certificates without having access to the developer portal :rocket: Let us know how that goes for you


Add Toast Feature

Description
Blazor Foundation should include a toast system in which we can easily send notifications in a single line of code most likely like the reveal controller.
Features

Stackable Toast (Newest above the other).
Queueable Toast (Oldest Visible First, Than other when closed).
Timer Toast (Current is shown for a period of time either Queued or Stacked).
Max Toast (Too many toast will kill the oldest when newest exceed threshold).
Closable (Can destroy toast with a function).
Clickable Toast (Can redirect to an url when clicked).
Simple Toast (Provide simple template for basic toast (Title, Message, Close/OnClick).
Advanced Toast (Built-in advanced template for toast (Simple +, Icon, Timer, Colors)).
Custom Toast (Use your own custom RenderFragment just like reveal)

Pushed this to v4


Include headers by absolute path

Currently we have a full mix of different ways of #include'ing C++ headers: (a) current-directory, (b) relative-path, (c) absolute-path from the repo root, (d) implicit search path includes.
The idea is to get rid of (a) and (b), and leave (c) with (d). The (c) approach is widely used in projects, like Chromium, and proved to be robust. The (d) approach is for rare cases when it's really unavoidable (mainly in third-party code that expects other libraries to be installed into the search path).

As a bonus, we can get rid of some annoyingly long file paths, like common/cpp/src/google_smart_card_common/logging/logging.h. Something like common/cpp/src/public/logging/logging.h would be better.


No webpack source maps in dev tools

I'm submitting a ...

[x] bug report
[ ] feature request

Bug Report:
<-- Remove this section if it isn't a bug -->
I run npm run frontend_dev command. Then open dev tools in chrome.

What is the expected behavior?

In the past under Sources tab there was a Webpack folder with all of the source files available for debugging

What is the current behavior?

No Webpack folder and no source files in Sources tab.

Steps to reproduce:

run npm run frontend_dev

open dev tools in chrome

go to Sources tab

Useful Info:

Your environment:

Node version: 8.2.1
Browser: Chrome 59.0.3071.115
OS: MacOS

Never mind, it was a browser issue. After restarting chrome I can see the source files again.


Handle missing README in create repos API

Close #22934
In /user/repos API (and other APIs related to creating repos), user can specify a readme template for auto init. At present, if the specified template does not exist, a 500 will be returned . This PR improved the logic and will return a 400 instead of 500.

I was unable to create a backport for 1.18, please send one manually. :tea:

I was unable to create a backport for 1.19, please send one manually. :tea:


What is the libraries need to use this library?

I am very intrested in your projject. But have no idea how to use it. Do you have more detailed help file?
Thanks.

Hello @toneytang and thank you for your interest.
The only external dependency is ArduinoJson library, everything else is part of the Arduino core for ESP32 or ESP8266 and therefore you don't need to install anything else.
With latest release I have deeply revisited the built-in /setup web page: now you can update the firmware OTA and also upload any source files (there are many nice examples included in the "data" subfolder).
In this regard, in the examples I tried to show all the functions that the library makes available and they are certainly the first point to start from.
What would you like to use it for? WiFi manager and parameter configuration or to design a sort of User Interface?

Hi, @cotestatnt . Thank you for your reply. I just managed it working under Arduino IDE yesterday. The project is wonderful, it satisfies almost everything of my needs. So, the thing I need to figure out is how to customize the webpage and learn how to use it.
I am going to use it for an little sensor to store the data on an SD card and also has web ui to view the data easily.

By the way, may I ask what is the size for the FS? I am using ESP32-C3-MINI-H4 module.

how to customize the webpage

This a possibility, but not a must: the /setup web page can be customized injecting your own HTML/CSS/JS code (check the customHTML.ino example), but it is mainly intended as an endpoint useful for configure a project, not as UI..
You could upload a complete custom web sources as for UI, but it'your choice offcourse. I have an old project similar to your needs, if you like I can provide you.

By the way, may I ask what is the size for the FS?

This depends from the board and not from MCU type. The SPI flash memory with ESP32 is always external, so every board maker can choose the size he need. Keep in mind that library can work also directly from SD memory aniway because it's indipendent from filesystem type.


I get Target [Illuminate\Contracts\Bus\Dispatcher] is not instantiable when broadcasting Pusher events.

Laravel Version: 8.9.0
PHP Version: 7.4.10
Database Driver & Version: MySQL

Description:
I have an issue with broadcasting pusher events. This is what I get from Laravel.

Illuminate\Contracts\Container\BindingResolutionException: Target [Illuminate\Contracts\Bus\Dispatcher] is not instantiable while building [Illuminate\Queue\CallQueuedHandler, Illuminate\Queue\CallQueuedHandler]. in file /var/www/html/development/devhubhandler/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1017

For sending pusher events, I'm using pusher/pusher-php-server library.
I'm sure that I've set env variables correctly. BROADCAST_DRIVER is set to pusher, config/broadcasting.php is defined correctly. Also, I've defined an event class that implements ShouldBroadcast. All this worked perfectly on previous Laravel versions.
Steps To Reproduce:
This is the dependencies.
    "require": {
        "php": "^7.3",
        "laravel/framework": "^8.0",
        "laravel/helpers": "^1.3",
        "laravel/tinker": "^2.0",
        "pusher/pusher-php-server": "^4.1",
        ...
    },

This is env variables.
BROADCAST_DRIVER=pusher
PUSHER_APP_ID=******
PUSHER_APP_KEY=********************
PUSHER_APP_SECRET=********************
PUSHER_APP_CLUSTER=us3

This is content of config/broadcasting.php.
    'connections' => [
        'pusher' => [
            'driver' => 'pusher',
            'key' => env('PUSHER_APP_KEY'),
            'secret' => env('PUSHER_APP_SECRET'),
            'app_id' => env('PUSHER_APP_ID'),
            'options' => [
                'cluster' => env('PUSHER_APP_CLUSTER'),
                'useTLS' => true,
            ],
        ],
        ...
    ],

This is the code snippet for sending pusher events.
broadcast(new EventTxnUpdate($sessionKey, $id, $fullName))->toOthers();
class EventTxnUpdate implements ShouldBroadcast
{
  use Dispatchable, InteractsWithSockets, SerializesModels;

  public $sessionKey;
  public $tid;
  public $userFullName;

  public function __construct($sessionKey, $tid, $userFullName)
  {
      $this->sessionKey   = $sessionKey;
      $this->tid          = $tid;
      $this->userFullName = $userFullName;
  }

  public function broadcastOn()
  {
      return [env('PUSHER_APP_CHANNEL_TXN')];
  }

  public function broadcastAs()
  {
      return 'txnUpdate_'.$this->tid;
  }
}

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


URI target doesn't exist

in the page app_component.dart, I can see an issue that is restricting from getting the app compiled.
import 'app_component.inject.dart' as g;
but it is saying invalid URI target for app_component.inject.dart. What might be causing this issue?

Please check this issue
https://github.com/zubairehman/flutter-boilerplate-project/issues/15

Please check this issue
https://github.com/zubairehman/flutter-boilerplate-project/issues/15

thank you. I guess  I missed that :)


SVG doesn't load image tag images

Describe the bug
When loading an SVG image that uses the <image> tag to use additional images within the SVG image these do not show up.
To Reproduce
Steps to reproduce the behavior:

Open Squoosh
Upload an SVG image with the <image> tag for example:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" width="100%" height="100%" version="1.1" xml:space="preserve">
    <g class="main">
        <g>
            <image xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://squoosh.app/icon-demo-logo.4bfd6.png"/>
        </g>
        <g>
            <text x="20" y="35" class="small">Test</text>
        </g>
    </g>
</svg>

The included image does not appear

Expected behavior
The included image should be visible in the same way as if the SVG image is opened directly in the browser
Version:

OS w/ version: Windows 10
Browser w/ version Chrome 77

Update: It does work if the link to the image is a data URL

Yeah, we can't read back pixels from a canvas that contains pixels from another origin (cross-origin violation), so this won't ever work. It's WAI.
Data URLs will work, yes :)


[Feature] When Deploy Doris on K8s, it only works for Statefulset, cannot choose any other advanced StatefulSet.

Search before asking

[X] I had searched in the issues and found no similar issues.

Description
When deploying Doris on K8s, we found its K8sDeployManager is bounded to use Statefuset workload, does not have the flexibility to use other advanced statefulset.

Use case
No response
Related issues
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

from your description, K8sDeployManager   mode is not recommended for use. can use doris-operator to deploy doris.
BTW, In my options, statefulset is the basic resource in k8s, kube-controller-manager is the basic component, so it should not deprecated, advanced statefulset is not a standard resource in k8s, The implementation methods of each platform are different. so can you share some advice on how to support users using specific resources in k8s to manage pods


benchmark update tpcds tools query

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Expo debug stuck in "waiting for device to connect" step.

Description of the bug
Expo debug does not start in VSCode. It gets over "waiting for bundler on <IP_ADDRESS>:8081 step successfully, but gets stuck waiting for a device to connect.
To Reproduce

Run Expo debug on VSCode. ctrl+shift+P Expo: Debug expo app (also tried using a launch configuration)
Confirm it's in "waiting for bundler on <IP_ADDRESS>:8081" step.
Go to terminal. Run npx expo start.
Go back to VSCode, confirm it's now "waiting for device to connect"
Go back to terminal, launch Expo app on my phone using the QR code.
The app loads, I can interact with it. But Expo Debug is still stuck.

Expected behavior
Debugging should start.
Actual behavior
Got stuck.
Additional context
Stuck:

launch.json configs I tried:
{
"type": "expo",
"request": "attach",
"name": "Debug Expo Go",
"projectRoot": "${workspaceFolder}/client",
"bundlerPort": "8081",
"bundlerHost": "<IP_ADDRESS>",
"trace": true,
"enableTurboSourcemaps": false
}
or
{
"type": "expo",
"request": "attach",
"name": "Debug Expo Go",
"projectRoot": "${workspaceFolder}/client",
"bundlerPort": "8081",
"bundlerHost": "<IP_ADDRESS>"
},
Expo ~52.0.17
Expo app on iPhone:

Same here 52.0.17

O mesmo aqui 52.0.11

Just tried to use Expo for the first time and, here you go, facing this blocker for debugging via VSCode and Android emulator. Not the best experience so far 😆
Confirming the above steps for reproducing the issue.
Reproducible with Expo 52.0.23.


BLD: Migrate from circleCI to github actions

This will allow easy testing of builds on macOS and WindowsOS

Codecov Report

Merging #91 (b073a06) into main (c1d4d4a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #91   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          140       140
=========================================
  Hits           140       140

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 c1d4d4a...b073a06. Read the comment docs.


XML Block is not showing the actual content

Within this article, wherever there is a place holder to show the block of codes, it doesn't display. It appears as OBJECT.OBJECT.OBJECT.. ETC.,

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

ID: 4286e883-bc14-0f1e-1262-08e8432b1b46
Version Independent ID: 09df456f-db19-ad41-9d7f-fa81ddb33c92
Content: Create an ASP.NET Core app with Angular - Visual Studio (Windows)
Content Source: docs/javascript/tutorial-asp-net-core-with-angular.md
Product: visual-studio-windows
Technology: vs-javascript
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@dskc -- thank you for your feedback.  On my screen, the XML renders as intended:

Please provide additional details on your scenario.


Configuring the SendGridUser and SendGridKey.

Is the SendGridUser and SendGridKey username and password of SendGrid account? or a API name and API key?

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

ID: fe1bea60-d173-f6d2-3559-b147699e295a
Version Independent ID: 98e7aacb-2a01-d581-9b03-bfef2893163e
Content: Account confirmation and password recovery in ASP.NET Core
Content Source: aspnetcore/security/authentication/accconfirm.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

It uses the API key. Here's their example :point_right: https://github.com/sendgrid/sendgrid-csharp/blob/master/ExampleCoreProject/Example.cs
I'm not sure what the SendGridUser is used for.

SendGridUser is used in the 3.0 version. It's not required.


Create Your Own Blog About Web5 (5)

Create Your Own Blog About Web5 (5)
🚀 Goal
Create your own blog post about Web5 and have it featured on our site by adding your content directly to our repository.
🤔 Background
This issue focuses on spreading more awareness about Web5. Your contributions will help to share knowledge across the web and with our community!
🤝 How You Can Contribute
Follow the steps below to contribute your content directly to our repository.
🔑 Tasks and Acceptance Criteria
❗You must only assign yourself one task at a time to give everyone a chance to participate.❗
You may assign yourself another task after your current one is reviewed and accepted.

[ ] You must host your content on your own website or channel.
[ ] The content submitted for this task can be cross-posted across other platforms, however it will only count towards one content task. You may not reuse your content submitted for this task to get points for another task unless there are significant changes (like adding 30 seconds of extra content on YouTube).
[ ] Add your content information directly to the site/src/externalContributors.json file in the repository.
[ ] Save your image in the site/static/image/external-contributor/ directory, ensuring the image is in a 16:9 ratio.
[ ] Create a pull request with your changes for review.
[ ] Link your submitted PR in a comment here to count towards Hacktoberfest.

Your contribution in externalContributors.json must include:

[ ] Type: Video, Blog, Social (please choose the appropriate one)
[ ] Thumbnail: the path to your image, e.g., /img/external-contributor/yourimage.png
[ ] Title: the title of your content
[ ] Link: a direct link to your content
[ ] Your name

Here’s an example of the JSON format to follow:
[
    {
        "type": "blog",
        "thumbnail": "/img/external-contributor/yourimage.png",
        "title": "Exploring Web5",
        "link": "https://linktoyourcontent.com/web5-post",
        "contributor": "Your Name"
    }
]

Available type options:

Video
Blog
Social

🌟 Resources

https://www.youtube.com/watch?v=KgZYtsj9-V0
https://www.youtube.com/live/M9c5CI3-4FM?si=VdWmb_icMpa2akYB
https://developer.tbd.website/docs/web5/quickstart
https://developer.tbd.website/docs/web5/decentralized-web-nodes/web5-connect
https://developer.tbd.website/blog/why-would-companies-embrace-web5
https://developer.tbd.website/blog/decentralized-apps
[ ] Our Blogs
[ ] Our YouTube channel

Getting Started

Comment ".take" on this issue to get assigned
Fork the repository and create a new branch for this task
Follow the tasks outlined above
Submit a pull request with your changes
Respond to any feedback during the review process

Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

.take

take

Hi @Amyty028! This issue is already taken. Please check out the other issues listed here: https://github.com/TBD54566975/developer.tbd.website/issues/1552

take

Hi @Uyouyou ! thanks for your interest in this issue. Unfortunately, someone is already assigned to this task. Luckily, we have other related issues listed here: https://github.com/TBD54566975/developer.tbd.website/issues/1552


Advertise Lattigo-Adjacent Projects

Amend the README with a list (or a link to a list) of successful projects that use Lattigo.

FYI, the HEIR compiler project is currently working on adding Lattigo as a supported software backend.


Enable embedding of external links within the body content to allow contextualization/rationale

📇 User story
As a user, I want to access supporting examples within the relevant section, near related substance/body text, so that I know what is interesting/helpful/relevant once I jump away from the site and know what to expect, what to look for, or how to use an external resource.
As a content designer, I want to link to CDS blogs and product documentation (and potentially other external links) within the body text, so that I can better set up, contextualize and rationalize the jump away from the site for users.

Issue redundant with work on enhancing resources that was tackled and done. Therefore closing this issue as work is tracked elsewhere and and a topic by topic approach


Should use the same admin username & password used in the previous step in the Configure Azure SQL Database dialog

In the next step of the Configure Azure SQL Database dialog, there is a best practice that to avoid using the same admin username & password used in the previous step. This could make the publish failed as you can't login the new user:

Enter the Database connection user name and Database connection password fields. These are the details your application will use to connect to the database at runtime. Best practice is to avoid using the same details as the admin username & password used in the previous step.

The best practice should be removed or make a bit more clarify?

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

ID: 71a44c72-d256-fbee-ea70-2eb7472f8182
Version Independent ID: 157027ff-0bad-828d-a442-a98acd219fba
Content: Publish an ASP.NET Core app to Azure with Visual Studio
Content Source: aspnetcore/tutorials/publish-to-azure-webapp-using-vs.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog clean. If you believe there is a concern related to the ASP.NET Core which hasn't been addressed, please file a new issue.


Add custom sorting for numerical searches

If the query is a number return numbers that match the given number first. The rest remaining on limit is filled in with fuzzy sort.

Rip there's a logic issue with this

Kinda broke one of my rules and fixed a bug that prevented autocomplete from working for pep 499

bump

made the changes

Title suggestion: "Better numerical PEP search, fix PEP 499 too long"

Think im happy with the logic now. Bumped the amount autocompleted to 25 (max) since it looks fine on discord.

This is the longest review for a short PR lol. The change is made.


Prevents pages without revisions from causing errors during processing

Fixes Issue #31 by:

Adding a next unless revisions guard statement to prevent errors like NoMethodError: undefined method 'each' for nil:NilClass, which occurs if the code attempts to iterate over a nil value (i.e., if revisions is nil).
Creating a spec for this expected behaviour:

If revisions is nil (or doesn't exist), the condition unless revisions becomes true, and the next statement skips the rest of the current loop iteration.
If revisions is not nil (i.e., it exists and is an array or object), the loop continues to process the revisions.

Before:

After:

I recommend both adding a test for this behavior (one which would fail before the change), and also adding a comment explaining the possibility of an API response that has a page with no revisions.

I recommend both adding a test for this behavior (one which would fail before the change), and also adding a comment explaining the possibility of an API response that has a page with no revisions.

@ragesoss  Done! I tried to make the test as simple as possible and the comments easy to understand. I have updated the description with screenshots of running the spec.

Thanks! I guess this will also require a minor code adjustment on the Dashboard side, since we no longer can expect one entry in the results for every rev_id we pass in to the WikidataDiffAnalyzer.

@ragesoss , following your suggestion to  find a dataset where the missing pages only have one revision each, I found out I mis - debugged this whole issue entirely.
This is the full query sent for the problematic batch: https://www.wikidata.org/w/api.php?action=query&prop=revisions&revids=2266122608|2266122618|2266122626|2266122646|2266122666|2266122683|2266122709|2266122730|2266122739|2266122747|2266122763|2266122777|2266122783|2266122790|2266122808|2266122817|2266122829|2266122850|2266122880|2266122931|2266122949|2266122973|2266122994|2266123011|2266123017|2266123021|2266341034|2266123060|2266123123|2266123148|2266123175|2266123210|2266123270|2266123325|2266123373|2266123418|2266341148|2266123442|2266123459|2266123479|2266123502|2266123529|2266123536|2266123548|2266123562|2266123568|2266341782|2266123581|2266123596|2266123602&rvslots=main&rvprop=content|ids|comment&format=json
If you visit the link, the first thing you will notice is the presence of a 'rvcontinue'.
{"continue":{"rvcontinue":2266123210,"continue":"||"},"warnings":{"result":{"*":"This result was truncated because it would otherwise be larger than the limit of 12,582,912 bytes."}},

Initially i just logged the api response following the parameter structure I saw in api.rb, without actually checking the full thing, which was my oversight.
So this message indicates that the API response is truncated due to size limits imposed by the MediaWiki API. The API has a maximum response size limit of 12,582,912 bytes (approximately 12.5 MB), and when the response exceeds this size, it provides only a partial result.
This means the response  received does not contain all the requested revision data. Instead, it includes only a portion of the requested revisions. So even though we requested revisions for all the given revision IDs, only some of them are returned in this truncated response.
To understand what was happening, I did more testing:
I divided the batch of 50 into 2:

the first batch of 25: https://www.wikidata.org/w/api.php?action=query&format=json&formatversion=2&prop=revisions&revids=2266122608|2266122618|2266122626|2266122646|2266122666|2266122683|2266122709|2266122730|2266122739|2266122747|2266122763|2266122777|2266122783|2266122790|2266122808|2266122817|2266122829|2266122850|2266122880|2266122931|2266122949|2266122973|2266122994|2266123011|2266123017&rvprop=ids|comment|content&rvslots=main returns "batchcomplete":true," and all 25 revisions are parsed

now the second half: https://www.wikidata.org/w/api.php?action=query&format=json&formatversion=2&prop=revisions&revids=2266123021|2266341034|2266123060|2266123123|2266123148|2266123175|2266123210|2266123270|2266123325|2266123373|2266123418|2266341148|2266123442|2266123459|2266123479|2266123502|2266123529|2266123536|2266123548|2266123562|2266123568|2266341782|2266123581|2266123596|2266123602&rvprop=ids|comment|content&rvslots=main returns {"continue":{"rvcontinue":2266123373,"continue":"||"},"warnings":{"result":{"warnings":"This result was truncated because it would otherwise be larger than the limit of 12,582,912 bytes."}} and only 8 revisions are parsed instead of the 25:

So then i ran the spec only on the 17 revision ids that failed: https://www.wikidata.org/w/api.php?action=query&format=json&formatversion=2&prop=revisions&revids=2266123373|2266123418|2266341148|2266123442|2266123459|2266123479|2266123502|2266123529|2266123536|2266123548|2266123562|2266123568|2266341782|2266123581|2266123596|2266123602&rvprop=ids|comment|content&rvslots=main, the response here returns "batchcomplete":true," and all 17 revisions are parsed including the so called 'have no revisions' page ids 188280 and 265881

I still wasn't convinced so I ran the spec using only 1 revision id each time from the batch of 17, and they all had revisions, were all parsed successfully and had no errors each time.
So in conclusion, it is not that certain pages do not have revisions but rather the gem does not have logic to handle when responses get truncated and instead interprets it as the pages having no revisions.
This api_spec.rb spec calls the get_revision_contents() method directly, so I tried reducing the batch size from 50 to 25 here: https://github.com/WikiEducationFoundation/wikidata-diff-analyzer/blob/7480f31f15d8438bdfccb0214a00834c1f59bfa3/lib/wikidata-diff-analyzer.rb#L76 and calling the analyze method on the whole revision ids set for the course but that did not make any difference, because well it's a response limit issue, so while some batches correctly included 25 entries , some would include just 7, 13, 22 and so on.
I should have been way more thorough in debugging this from the beginning, my apologies😅.  Then again, this makes a pretty good lesson on why tests are so important.

Excellent work!
I guess now we're back to an open question on what to do about this. Can you figure out how the truncation works? If it simply leaves out the last revision that pushes it over the size limit, we could identify which revisions we received results for, and make a new request with just the remaining revisions. But if it can include partial data for a single revision, we need to either figure out which revision and try requesting that one by itself, or we need throw out the whole request and break it up into smaller batches every time it happens.

@ragesoss  Yes, I can investigate how the truncation works. In the meantime, my plan is to:

Update the comments to clearly explain what’s happening and note that this is a temporary workaround as suggested
For the test, should I still include expectations on the result size (e.g., specifying that for a batch of 25 revisions, only 8 will be processed), or would it be better to leave those expectations out entirely?
Modify the Dashboard code to handle what it expects returned ( I’ll create a PR under the existing issue there)
After that, I’ll begin working on a proper fix. Should I go ahead?

Hmm.... I guess since we're working with specific revisions, it's unlikely that the behavior of the query would change over time (unlike if we were using item ids, where new edits to that Wikidata item would increase the response size over time). However, I don't think any additional tests are necessary; for the current behavior, we know that it is not strictly correct, and not erroring is the part of the behavior that we know we want to keep. The result size is something that might change based on how we implement a for the truncation issue.

Looks good. Fix the linting error and I think it will be okay to merge.

Excellent work!
I guess now we're back to an open question on what to do about this. Can you figure out how the truncation works? If it simply leaves out the last revision that pushes it over the size limit, we could identify which revisions we received results for, and make a new request with just the remaining revisions. But if it can include partial data for a single revision, we need to either figure out which revision and try requesting that one by itself, or we need throw out the whole request and break it up into smaller batches every time it happens.

@ragesoss  I have finally solved this 🥳.
It simply leaves out the last revision that pushes it over the size limit since it uses continue: https://www.mediawiki.org/wiki/API:Continue so I was able to use continue to get the remaining responses.
I created a new branch and PR for a cleaner commit history: https://github.com/WikiEducationFoundation/wikidata-diff-analyzer/pull/33


Flutter should document exactly pinning framework dependencies

Steps to Reproduce
Have both path 1.8.2 and flutter_test in deps.
dependencies:
  flutter:
    sdk: flutter
  flutter_localizations:
    sdk: flutter
  path: ^1.8.2

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter pub get prints:
Because every version of flutter_test from sdk depends on path 1.8.1 and <app> depends on path >=1.8.2, flutter_test from sdk is forbidden

Logs
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm, locale
    en-CN)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from:
      https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK
      components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup
      for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.67.1)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

@mgenware so this is working as intended. In the flutter SDK repository, all packages are pinned exactly, so that we can ensure that all customers using a particular version of Flutter use the exact same code that has been tested.
package:flutter_test pins package:path here at 1.8.1.
However, we never document this, so I will leave this issue open to track that.

are there plans to upgrade to 1.8.2 ?

I'm not sure if this issue should belong to tool team again or another team

I'm not sure if this issue should belong to tool team again or another team

fair, i'm not sure either, but i'll just put this on team-tool.

Updated Flutter to 3.24.2-stable, then downgraded back to 3.16.1-stable on our current release branch. Now I am seeing this error. This is frustrating because I can't build the project whilst my other team members that didn't try to upgrade have no issue with builds.

However, we never document this, so I will leave this issue open to track that.

It is documented here, so I think that this can be closed.


Modules import

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git a/node_modules/feathers-hooks-common/dist/index.mjs b/node_modules/feathers-hooks-common/dist/index.mjs
index 7ecf617..03d1cbe 100644
--- a/node_modules/feathers-hooks-common/dist/index.mjs
+++ b/node_modules/feathers-hooks-common/dist/index.mjs
@@ -42,7 +42,9 @@ function actOn(what, ...hooks2) {
 }

 // src/hooks/alter-items.ts
-import { BadRequest } from "@feathersjs/errors";
+import errors from "@feathersjs/errors";
+
+const { BadRequest } = errors;

 // src/common/pluck.ts
 import _pick from "lodash/pick";

This issue body was partially generated by patch-package.

duplicate of #673


feature request for v8.0.0 - return array instead of object

i would love this
const [isLoadingBigThings, bigThingsError, BigThings, fetchBigThings] = useAsync(
  {
    deferFn: getBigThings,
  },
  { asArray: true }
);
const [isLoadingSmallThings, SmallThingsError, SmallThings, fetchSmallThings] = useAsync(
  {
    deferFn: getSmallThings,
  },
  { asArray: true }
);

Could you elaborate why? IIRC there are currently 14 props on the returned object, putting that in an array is very unwieldy.

yea because when i perform multiple I have to go
const { isLoading: isLoadingBigThings, ...}
const { isLoading: isLoadingSmallThings, ...}

Why not this?
const bigThing = useAsync(...)

if (bigThing.isLoading) ...

Less code is not necessarily better code. I'm not going to make a breaking change with significant impact just because it allows one to write a little less code in a specific situation.


Fix an issue with eventual consistency of property sets

Pending states on property sets weren't properly copied when IInterval.modify() was invoked. This fixes that issue (the functionality was already supported in PropertyManager) and adds a regression test.

The Interval class looks like it has the same bug you are fixing here.

The Interval class looks like it has the same bug you are fixing here.


[Bug]: Battery charging with full solar power

Contact Details
<EMAIL_ADDRESS>VRM portal ID
b827eb779d5c
Country / region
Slovakia (sk)
B max
14
TB max
5
FB max
5
TG max
2.5
FG max
2.5
Battery costs
0.04
Buy price
0.254
Sell price
p
feed-in possible
yes
feed-in possible
yes
Version
No response
What happened?
When battery charging is planned, it is with the full power of the solar panels and the appliances are powered from the grid.
(Battery charging) = (Pv charger)  and (Grid) = (AC Loads)
It is rightly  (Battery charging) = (Pv charger) - (AC Loads) and (Grid) = 0
Relevant log output
No response
Screenshots
![DESCRIPTION](LINK.png)

Thanks for the report. We are looking into it. Do you have feed-in of excess DC coupled PV enabled on your system?

We've identified an issue in the underlying code, which will be resolved with the next candidate release.


Demo

I suggest to add some demos so everyone can see how everything looks without downloading it

In future, there will be examples and tutorials.

@ZobekPL I have just added an example in commit 82f4eab.


[horizontal] block

Hi to all!
could you help me with nex issue:
source file look like:
.PC specification
[horizontal]
CPU:: i7-8700
GPU:: GeForce 1080
RAM:: 32 GB

HTML result looks fine:

but pdf version looks not so fine:

this issue was tested on Windows 10
last version of asciidoctor and asciidoctor-pdf.
Thanks,
regards,
Sergiy.

Duplicate of #310


Error processing text: Error: Embed model not set when using ollama.

I'm submitting a ...
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[X ] question about how to use this project

Summary
I modified the example vectordb.ts to use ollama:

const ai = axAI('ollama', {
  model: 'llama3:latest',
  url: 'http://localhost:11434'
} as AxOllamaArgs);

but got this error:
PS C:\Users\remis\ax\src\examples> bun run .\vectordb.ts
 98 |
 99 |         // Batch upsert embeddings
100 |         await this.db.batchUpsert(embeddings);
101 |       }
102 |     } catch (error) {
103 |       throw new Error(`Error processing text: ${error}`);
                  ^
error: Error processing text: Error: Embed model not set
      at C:\Users\remis\ax\src\docs\manager.ts:103:13

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Indeed in ollama i have only one model: 'llama3:latest' installed. Should I install an embedding model like explained here https://ollama.com/blog/embedding-models
But then how do I configure this model in here:
export type AxOllamaArgs = {
  model: string;
  url?: string;
  apiKey?: string;
  config?: Readonly<Omit<AxOllamaAIConfig, 'model'>>;
  options?: Readonly<AxAIServiceOptions>;
};

thanks for the help!

I will set two default models on ollama in the default config but you are free to change them as below
  model: 'nous-hermes2',
  embedModel: 'all-minilm'

const ai = axAI('ollama', { model: 'nous-hermes2' , embedModel: 'mxbai-embed-large' });


Add operation result objects

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-js

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

Can one of the admins verify this patch?

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/5579
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/5579/commits/6104aef65851505bbd3a06db791b20e31dd2a92b

Automation for azure-sdk-for-go

@martabarillas, @knithinc to review

@sergey-shandar This should be good to merge...

This appears to be a new RP. Have you done a review with armapireview? If not, please schedule one to proceed.

@KrisBash This is azure stack admin API surface, specific to AZURESTACK. These have gone thru the AZURESTACK api review board. We have an understanding with Gaurav that these wont go thru ARM api Review board.

@sergey-shandar This should be good to merge.. Are you waiting on something?


chore(project): Extend json-statham, support file system

chore(project): Extend json-statham, support file system

@jeremyvergnas Wrong repository :p


Update crtfrmstmf URL

crtfrmstmf is no longer on bitbucket.. it's on github.

This looks really important, I hope this happens soon

I tried cloning from kskuhlman/Bob.git and got
-bash-4.4$ git clone --recursive https://github.com/kskuhlman/Bob.git
Cloning into 'Bob'...
remote: Enumerating objects: 643, done.
remote: Total 643 (delta 0), reused 0 (delta 0), pack-reused 643
Receiving objects: 100% (643/643), 156.42 KiB | 0 bytes/s, done.
Resolving deltas: 100% (405/405), done.
Submodule 'crtfrmstmf' (https://github.com/BrianGarland/CRTFRMSTMF.git) registered for path 'crtfrmstmf'
Cloning into '/Build/Bob2/Bob/crtfrmstmf'...
fatal: git fetch_pack: expected ACK/NAK, got 'ERR upload-pack: not our ref ff351edf827ba1e6553a8519e99d6a5d014f8d4b'
fatal: The remote end hung up unexpectedly
Fetched in submodule path 'crtfrmstmf', but it did not contain ff351edf827ba1e6553a8519e99d6a5d014f8d4b. Direct fetching of that commit failed.


compile errors .... chromium-style

I use OneFile ----> single_include/nlohmann/json.hpp
I use nlohmann::json 3.9.1. I compiled it on Windows 10Pro 64bit
I'm making a program that is based on the chrome source code. I do:
mytest.cc:
#include "json.hpp"
// for convenience
using json = nlohmann::json;
When I compile mytest.cc I get errors:
1 error:
 json.hpp(2645,5): error: [chromium-style] virtual methods with non-empty bodies shouldn't be declared inline.
    {
    ^
2,3,4 errors:
 ../../brave/vendor/bat-native-ads/src/bat/ads/internal/mytest/json.hpp(16417,9): error: [chromium-style] auto variable type must not deduce to a raw pointer type.
        auto buffer_ptr = number_buffer.begin();
        ^~~~
        auto*
../../brave/vendor/bat-native-ads/src/bat/ads/internal/mytest/json.hpp(16522,13): error: [chromium-style] auto variable type must not deduce to a raw pointer type.
            const auto end = std::remove(number_buffer.begin(),
            ^~~~~~~~~~
            auto* const
../../brave/vendor/bat-native-ads/src/bat/ads/internal/mytest/json.hpp(16532,13): error: [chromium-style] auto variable type must not deduce to a raw pointer type.
            const auto dec_pos = std::find(number_buffer.begin(), number_buffer.end(), decimal_point);
            ^~~~~~~~~~
            auto* const
4 errors generated.
2,3,4 solved:
json.hpp(16417,9)
- auto buffer_ptr = number_buffer.begin();
+ auto* buffer_ptr = number_buffer.begin();
json.hpp(16522,13)
- const auto end = std::remove(number_buffer.begin(),
+ auto* const end = std::remove(number_buffer.begin(),
json.hpp(16532,13)
- const auto dec_pos = std::find(number_buffer.begin(), number_buffer.end(), decimal_point);
+ auto* const dec_pos = std::find(number_buffer.begin(), number_buffer.end(), decimal_point);
But 1 error not solved...
I found the following information ...
https://www.chromium.org/developers/coding-style/chromium-style-checker-errors
`
Virtual Method Out-of-lining
Virtual methods are almost never inlined in practice. Because of this, methods on a base class will be emitted in each translation unit that allocates the object or any subclasses that don't override that method. This is usually not a major gain, unless you have a wide class hierarchy in which case it can be a big win (http://codereview.chromium.org/5741001/). Since virtual methods will almost never be inlined anyway (because they'll need to go through vtable dispatch), there are almost no downsides.
If you get the error:
virtual methods with non-empty bodies shouldn't be declared inline

It's because you wrote something like this:
class BaseClass {
 public:
  virtual void ThisOneIsOK() {}
  virtual bool ButWeDrawTheLineAtMethodsWithRealImplementation() { return false; }
};

And can be fixed by out of lining the method that does work:
class BaseClass {
 public:
  virtual void ThisIsHandledByTheCompiler() {}
  virtual bool AndThisOneIsDefinedInTheImplementation();
};

..... I comment 2643-2648:
/*   JSON_HEDLEY_RETURNS_NON_NULL
const char* what() const noexcept override
{
return m.what();
}
*/
`
and json compiled & test json example is work ... but the sediment remains

Some fixes were already made, see #2067 #2561. But I think a header-only library has no real way to fix the virtual methods with non-empty bodies shouldn't be declared inline warning.


NFR: Only show its own tab's TOC when there are headings in tabs

Request
If we can show the anchors owned by each tab only, I think it would be more make sense.
or, keep the current design - show all tabs anchors together but need support switch tab automatically while clicking the anchors which do not belong current tab.
Reproduce
eg. I have 3 tabs with their own anchors, if I click the anchor, not in the current tab nothing happened, it's confusing.

Using version

nextra 2.0.1

From a practical perspective or scenario, IMO, I like the way only shows the current tabs anchor.
here is an example from Atlassian

I believe this is a useful feature to have. Mainly because sometimes you want to abstract away certain parts of a MD document and only show what is necessary for the tab the reader is interested in. An example of how we use this is here: https://taiko.xyz/docs/guides/deploy-a-contract

since these headings are in tabs which inside dynamic component we need to hide them

I understand the reasoning behind hiding them as it was a bug but I do think having the option to show the correct headers for the selected Tab, like how Atlassian does it would also be a nice alternative.

Ah I see, thanks for the clarification!


"Result analysis" overwrites status from failed all.sh components

On a PR that has both failed all.sh components, and also a failure in analyze_outcomes.py, the only thing reported in the github status is "Result analysis failed".
Expected behaviour: report "all-u16-xxx all-u16-yyy and Result analysis failed" - or something similar that includes all the failures (as far as size limitations allow, as usual).

Examples from the current state of https://github.com/Mbed-TLS/mbedtls/pull/7861

To fix this, we should add outcome analysis to the dictionary that records failed components. This would also take care of the email reporting for nightly jobs, which omits outcome analysis from the list of reported failures.


Deprecation message

Running the semgrep snap results in the following deprecation message:
Using 'python -m semgrep' to run Semgrep is deprecated as of 1.38.0. Please simply run 'semgrep' instead.

Hey Jeremie,
The command that the snap was using was deprecated in 1.38.0. I've updated the Semgrep command and released a new version.
Thanks!


Detect singluarity

When a gaussian shrinks into just one or two data points, eigenvalues of covariance matrix go to zero, and eventually we have division by zero (when calculating matrix inverse).

fixed


chore: Adding CRUD for Dsconfig

Description

TL;DR: Separating the DatasourceConfiguration as a new collection to accommodate for environments

This PR adds services and models for DatasourceConfigurationStorage, which will now hold the datasourceConfiguration previously held in Datasource. Additionally, DatasourceConfigurationStorage will also hold invalids and messages from the datasource. It's indexed on datasourceId and environmentId.
This PR doesn't change the way Datasource consumes and keeps datasourceConfiguration. This will be followed by other PR which will change consumption of datasourceConfiguration into a transitory field
Changes Made:

Created DatasourceConfigurationStorage model with datasourceId, environmentId, datasourceConfiguration, invalids, and messages fields.
Created DatasourceConfigurationStorageRepository interface and implementation for managing DatasourceConfigurationStorage in the database.
Added DatasourceConfigurationStorageService for performing CRUD operations on DatasourceConfigurationStorage.
TODO : Update DatasourceService to use DatasourceConfigurationStorageService for managing DatasourceConfigurationStorage.

PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith-ee/issues/1339
Type of change

Chore (housekeeping or task changes that don't impact user perception)

Testing
How Has This Been Tested?

[x] Manual
[ ] Jest
[ ] Cypress

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/ok-to-test

Merging since this failure is related to bundle optimization


sync

Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for discussion)

[ ] npm run test succeeds.
[ ] npm run lint succeeds.
[ ] Appropriate changes to README are included in PR.

Please never use the master branch for PRs and use a dedicated branch to prevent extra commits.

@grant sorry. This was a fumble

@grant please bear with me for I failed to see how to make a branch and PR it with only my changes.
Does that requires me to drop my current fork and create a new one?

No worries.

Use branches for features (git checkout -b myfeature). Always branch from master.
Keep your PopGoesTheWza/clasp's master in sync with google/clasp's master

https://youtu.be/-zvHQXnBO6c?t=234

@PopGoesTheWza
I introduce the procedure to make a PR.
First-time steps

Fork on GitHub
$ git clone takanakahiko/clasp && cd clasp
$ git remote add upstream git@github.com:google/clasp.git

Steps to take when creating a PR each time

(in master branch) $ git fetch upstream
$ git merge upstream/master
$ git checkout -b my-new-feature
Change source code.
$ git commit -am 'Add some feature'
$ git push origin my-new-feature
Submit a pull request :D

How to follow when the google / clasp master branch is updated as you work

(in my-new-feature branch) $ git fetch upstream
$ git merge upstream/master

@takanakahiko thanks!
Will you PR this to https://github.com/google/clasp/blob/master/docs/develop.md ?

But, this is a usage of GitHub, so it is inappropriate to write it as a document in the repository, which may cause the document to grow.
I would like to consult with the maintainer if there is an opportunity.


Unable to share eval

Hey,
great library! I created an evaluation and tried the share feature npx promptfoo@latest share
but an internal server error occurs:
FetchError: invalid json response body at https://api.promptfoo.dev/api/eval reason: Unexpected token 'I', "Internal s"... is not valid JSON

It works via the web interface, but when opening the shared link, it fails to load:
DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'ResultsViewStorage' exceeded the quota.

Hello!
I am experiencing the same issue with a self-hosted instance of promptfoo. I followed the steps for building the docker image but I got the same error:

It seems like a problem with the database migrations of sqlite. The tables don't seem to be created.

Hey, I'm getting the same error when using promptfoo eval --share (promptfoo eval is working fine):
/Users/robin/.nvm/versions/node/v21.7.3/lib/node_modules/promptfoo/node_modules/node-fetch/lib/index.js:273
                                return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
                                                           ^
FetchError: invalid json response body at https://api.promptfoo.dev/api/eval reason: Unexpected token 'I', "Internal s"... is not valid JSON
    at /Users/robin/.nvm/versions/node/v21.7.3/lib/node_modules/promptfoo/node_modules/node-fetch/lib/index.js:273:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async createShareableUrl (/Users/robin/.nvm/versions/node/v21.7.3/lib/node_modules/promptfoo/dist/src/share.js:55:27)
    at async runEvaluation (/Users/robin/.nvm/versions/node/v21.7.3/lib/node_modules/promptfoo/dist/src/commands/eval.js:118:63)
    at async doEval (/Users/robin/.nvm/versions/node/v21.7.3/lib/node_modules/promptfoo/dist/src/commands/eval.js:240:5) {
  type: 'invalid-json'
}

👀
@RobinGroundfog any output on the server side?

Hummmm, this is fixed now so I can't reproduce the issue (I didn't change anything) 🤔 I will try to capture it if that happens again

Hello, I am getting the same issue as Robin when I try to run npx promptfoo@latest share with an eval ID:
npx promptfoo@latest share eval-2024-08-13T17:12:55
Create a private shareable URL of your eval on app.promptfoo.dev?

To proceed, please confirm [Y/n] y

/Users/ktloh/.npm/_npx/81bbc6515d992ace/node_modules/node-fetch/lib/index.js:273
                                return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
                                                           ^
FetchError: invalid json response body at https://api.promptfoo.dev/api/eval reason: Unexpected token 'I', "Internal s"... is not valid JSON
    at /Users/ktloh/.npm/_npx/81bbc6515d992ace/node_modules/node-fetch/lib/index.js:273:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async createShareableUrl (/Users/ktloh/.npm/_npx/81bbc6515d992ace/node_modules/promptfoo/dist/src/share.js:55:27)
    at async createPublicUrl (/Users/ktloh/.npm/_npx/81bbc6515d992ace/node_modules/promptfoo/dist/src/commands/share.js:15:17)
    at async /Users/ktloh/.npm/_npx/81bbc6515d992ace/node_modules/promptfoo/dist/src/commands/share.js:64:17 {
  type: 'invalid-json'
}

Node.js v20.14.0

The share works fine on the local server.
cc: @mldangelo

I'm having the same issue. In 0.89.4 I get this
(node:9958) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Create a private shareable URL of your eval on app.promptfoo.dev?

To proceed, please confirm [Y/n] Y
Network error while creating shareable URL: FetchError: invalid json response body at https://api.promptfoo.dev/api/eval reason: Unexpected token '<', "<html>
<h"... is not valid JSON
View results: null

Evidently it doesn't like the "<" token in my prompt.


Lightspeed theme

Let me know if this doesn't meet the requirements. Thanks!

Thanks, it looks good!


Code splitting: split frontend bundle into multiple parts

Right now, we only have one bundle.js. We will benefit from code splitting more and more. One of the two most frequent "landing pages" will be:

realm pages (in particular, the home page)
video pages

There are several things that are potentially large and not needed on all pages:

Plyr player
Paella player
Realm manage code/forms

Webpack is apparently pretty good at code splitting.
Blocked by #362

For reference, the current tree map of our own code:

As can be seen, the manage routes make up almost half of the bytes here, so it would certainly be beneficial to split that from the main bundle. Most people won't ever see the management stuff.

And again for reference, the biggest contributor to bundle size before #1167
2900
- deps:
    - 1300 paella-core
    -  240 paella-basic-plugins
    -  150 relay-runtime
    -  125 react-dom
    -   65 react-relay
    -   59 react-select
    -   48 i18next
- self:
    -  40 translations
    - 210 'manage' routes


Expansion Panel content can oveflow vertically

Bug, feature request, or proposal: md-expansion-panel-header has a child span element with a class of mat-content that should have a height of 100%, otherwise it is difficult to style the header such that long text is truncated, since child elements of the header will grow to fit their contents.
What is the expected behavior?
We have the ability to make overflowing text be cut-off.
What is the current behavior?
I don't think there's a way to set a child element of md-expansion-panel-header to match the height of its parent, because of the mat-content span in between.
What are the steps to reproduce?
Take any example from https://material.angular.io/components/expansion/examples and just make the window very thin.
What is the use-case or motivation for changing an existing behavior?
It looks better when it is cut-off instead of bleeding into other elements. Not sure if there are Material recommendations here, the answer could really just be Don't have long text in your expansion panel header.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Most recent at the time of this writing.
Is there anything else we should know?

I am not sure but your problem is that your content of md-expansion-panel-header does not match the fixed height, am I right?
You can resolve it by adding collapsedHeight="auto" to the header.
You can add padding to the collapsed header, so that it looks more attractive:
md-expansion-panel-header[collapsedHeight="auto"]:not(.mat-expanded) {     padding:10px; }

Right, but the collapsedHeight solution expands the height of the header to fit the content, but I want the height of the content to match the header. I can hardcode the heights, but it would be nice if height: 100% would do it. Since I can do this without having to use ng-deep, I don't think it's very high priority, so I'll go ahead and close.

use height: 100% for expansion panel header


[DNM]: setup daemongroup to use systemd by default when cluster is setup using ceph-ansible

Need to test if this is all we need or register them as well.
Signed-off-by: Vasu Kulkarni<EMAIL_ADDRESS>

The PR has conflicts, @vasukulkarni do you still need this or we can close it?

Closing because we need to handle this in better way with ceph-adm.


Add configuration option to kill mobs on map load

When editing maps sometimes mob spawn. I think this would be a useful feature for those who don't use MCEdit, however I don't think that this is a requirement. I will understand if you don't want to merge it.

Try to add this but for kill mobs within 2 blocks because some maps like Cake Wars there is spiders

@AngelCasillas01 What do you mean by "kill mobs within 2 blocks"? 2 blocks within what? a region?

@dentmaged Paintings, itemframes, and the player are also entities that you'd may want to keep in a map.

@CoWinkKeyDinkInc Of course! Thanks @twizmwazin and @CoWinkKeyDinkInc!

This is a map issue, not a plugin issue. Maps may want to have things spawned in them inside the world files, it is something we should not allow users to disable.

@CaptainElliott Okay! It's disabled by default. Maybe something in the XML, although it wouldn't work on Overcast, it would be good to test maps with.

Overcast has a mobs filter


Failed to get machine "boot2docker-vm": machine does not exist

I just did a clean install on windows 64.
when i type "boot2docker start" i get:
Failed to get machine "boot2docker-vm": machine does not exist
any ideas ???
Oracle VirtBox is there:
C:\Program Files\Oracle\VirtualBox

FYI, I'm in a mac and I also seem to have the same problem which led me to this page:
$ boot2docker start
error in run: Failed to get machine "boot2docker-vm": machine does not exist (Did you run `boot2docker init`?)

To which I enter boot2docker init command and I get the following:
error in run: Failed to initialize machine "boot2docker-vm": exit status 1

I'm having the same issue, on OS X 10.10.3.
$ boot2docker init runs fine, but when I do:
$ boot2docker up I get the following error:
error in run: Failed to start machine "boot2docker-vm": exit status 1

I'm getting the same issues as @themicmac and @damianesteban on my Mac.  Oddly, it has only started yesterday after I upgraded VirtualBox - but despite downgrading again, and installing with and without brew/cask, I still get the same issues.
The VM seems to start fine, as far as VBox is concerned, but it's like boot2docker can't communicate with it.

finally got it to work again.  I think my boot2docker ISO was corrupted or something and I was assuming (I know...) that it was getting the ISO fresh every time I did a brew install boot2docker.
boot2docker delete
brew uninstall docker
brew uninstall boot2docker
rm -rf /Users/<your-username>/.boot2docker/
rm -rf /Users/<your-username>/VirtualBox\ VMs/boot2docker-vm
brew install boot2docker
boot2docker init
boot2docker up

What worked for me was a simple copy of ssh key(private) which I already had for the pre-installed git.
Go to c:/user/YOU/.ssh/  then
copy id_rsa id_boot2docker
then run
boot2docker init
It should work.

If you're on Windows, make sure your virtualization options are turned on in the BIOS.  Many vendors ship with this option turned off (go figure).

I removed boot2docker-vm from GUI and had the same problem for Mac OS (can not run any boot2docker command). I did following and works fine (incase some one has the same problem):
rm -rf /Users//VirtualBox\ VMs/boot2docker-vm
boot2docker init
boot2docker up
(be aware of new docker settings)

Windows 8.1 64bit here. I had the same error as many others:
error in run: Failed to start machine "boot2docker-vm": exit status 1
To help diagnose the error, I launched VirtualBox directly and tried to run boot2docker. I ended up getting an error related to VT-x not being enabled/available (VirtualBox trouble ticket).
For me, the solution was uninstalling Hyper-V via Programs and Features. After un-installing and a reboot, I had no issues.

boot2docker-vm had assigned a memory greater than the physical memory of my pc.
In order to resolve this error
error in run: Failed to start machine "boot2docker-vm": exit status 1
i have decreased the to a lower value.

@SvenDowideit use can use where git to find the path on windows.

@dotnetCarpenter The PowerShell replacement for where git is (Get-Command git).Path

Thank you @vanng822, that worked for me.


Custom controller framework

This design issue is about how custom controllers are written in ASO. The goal is to select a widely used framework that has a low barrier to contributing to ASO. Usage of requirements key words as per RFC 2119.
Scope
In scope for this issue is the selection of the custom controller framework, that is, a Go-based framework supporting the creation of custom controllers used in ASO. Out of scope for this issue is the question how the business logic (managing AWS services) in the custom controllers is implemented, see #5 for this.
Input
Relevant candidates:

Kubebuilder
Operator SDK

Input from roadmap issue https://github.com/aws/containers-roadmap/issues/456:

@daviddyball in https://github.com/aws/containers-roadmap/issues/456#issuecomment-537097498

Requirements

The custom controller framework MUST support Go.
The custom controller framework SHOULD be well-documented, well-maintained, and allow for easy on-boarding.

I'd vote for kubebuilder. My company moved from operator-sdk to kubebuilder very early on and it was just a smoother process. We went from one barely working operator to 4 fully functioning controllers (one of them our internal implementation of ASO as a controller :stuck_out_tongue:)
I believe it is a younger project to operator-sdk, but it actually feels more stable and implements things in a "Kubernetes" way, whereas the Operator SDK defines it's own jargon and concepts that don't translate to the Kubernetes world very well IMHO.
kubebuilder is also a K8s SIG project, so support is pretty solid and well supported.

+1 for kubebuilder my experience mirrors @daviddyball
kubebuilder feels much more kube native and I expect will see significantly more support and growth in the next year

My vote is obviously with kubebuilder as well. The trick for ASO is putting some scaffolding in place where we can a) generate the kubebuilder commands for each exposes AWS service API (basically, we need a "generator generator" :) and b) keep the CRDs and controller implementation for the various exposed AWS service APIs up to date as either upstream aws-sdk-go or the AWS APIs themselves change.

kubebuilder has some rough edges, and so does controller-runtime (CT) which kubebuilder relies on. That said, it is a project backed by a couple sig-apimachinery people, so I trust it to gain more attention (and love) as its usage grows.
As an example, CT/kubebuilder are not yet prime-time for CRD v1.

Hi folks! I'm the tech lead for https://github.com/crossplane/stack-aws - a project very similar to what it sounds like you're planning with the Service Operator. We went with controller-runtime and have been quite happy with our choice. Rather than take a pure code generation/scaffolding approach we built a series of generic reconcilers that reconcile a "shape" (or duck type) of Kubernetes custom resource. These are packaged in crossplane-runtime, and could be reused by a project like the Service Operator if you so desired.
The general pattern is that there's a "reconciler scaffold" that handles all the parts of reconciling a Kubernetes CR with an AWS API that are mostly the same from API to API. This reconciler wraps an ExternalClient, such that the task of the entity implementing each controller is narrowed to satisfying some CRUD methods;
type ExternalClient interface {
	// Observe the external resource the supplied Managed resource represents,
	// if any. Observe implementations must not modify the external resource,
	// but may update the supplied Managed resource to reflect the state of the
	// external resource.
	Observe(ctx context.Context, mg resource.Managed) (ExternalObservation, error)

	// Create an external resource per the specifications of the supplied
	// Managed resource. Called when Observe reports that the associated
	// external resource does not exist.
	Create(ctx context.Context, mg resource.Managed) (ExternalCreation, error)

	// Update the external resource represented by the supplied Managed
	// resource, if necessary. Called unless Observe reports that the
	// associated external resource is up to date.
	Update(ctx context.Context, mg resource.Managed) (ExternalUpdate, error)

	// Delete the external resource upon deletion of its associated Managed
	// resource. Called when the managed resource has been deleted.
	Delete(ctx context.Context, mg resource.Managed) error
}

Our ElastiCache ReplicationGroup controller is a good example of a reconciler for a moderately complex AWS API that uses this pattern.

@jaypipes PS the thoughts on code generation you captured in https://github.com/aws/aws-service-operator-k8s/pull/15 matches our thinking around the subject almost exactly. Would you be interested in collaborating on something both projects could use?

@jaypipes PS the thoughts on code generation you captured in #15 matches our thinking around the subject almost exactly. Would you be interested in collaborating on something both projects could use?

@negz so sorry for being so uncommunicative about this! Not sure if you've been following along with our progress on the mvp branch, but we've been slogging along slowly but surely. Last Friday I pushed up a pull request that adds a good chunk of the controller implementation generation. Would be awesome to get your comments on it. I can certainly see our teams collaborating on a bunch of common runtime stuff, for the record!

absolutely @negz I would be more than happy to do that. My schedule next week is pretty open. Catch me on Slack and we'll schedule a time. :)

Closing this out. We ended up going with a custom code generator + controller-gen tooling.


fix github actions file location: .workflows -> .github/workflows

Why:
The doc references the GitHub Actions file location as .workflows, but the path doesn't seem working as GitHub Actions path.
I tested this in the repo: https://github.com/kt3k/workflows-test
Also when I interacts with users' repos via GitHub APIs, 'Workflows' permission seems required when accessing files under .github/workflows, not .workflows
What's being changed (if available, include any code snippets, screenshots, or gifs):
Change workflows file location from .workflows to .github/workflows.
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

Checked the fix in preview env https://docs-27220-e3016c.preview.ghdocs.com/en/apps/creating-github-apps/registering-a-github-app/choosing-permissions-for-a-github-app#choosing-permissions-for-git-access

Details

Open

Yes
On Wed, Aug 9, 2023, 8:46 AM github-actions[bot] @.***>
wrote:

Thanks very much for contributing! Your pull request has been merged 🎉
You should see your changes appear on the site in approximately 24 hours.
If you're looking for your next contribution, check out our help wanted
issues
https://github.com/github/docs/issues?q=is%3Aopen+is%3Aissue+label%3A"help+wanted"
⚡
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/27220#issuecomment-1671357670, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BBVMOUXW2UUJQ4ZXJU7HRULXUOIB7ANCNFSM6AAAAAA3AUWRW4
.
You are receiving this because you commented.Message ID:
@.***>


Evaluation scripts - specifically Betti errors

Thanks for the great work!
Do you have the evaluation (especially Betti errors) script somewhere for the 2D binary segmentation task?
Another question is did you perform early stopping, learning rate scheduling etc based on Skeleton Recall loss or on the final metrics you reported, i.e. clDice and Betti stuff?

Hi @ogencoglu,
thanks for your interest in Skeleton Recall! We will add the evaluation script we used soonish, it just needs some cleaning up ;).
We didn't perform early stopping for the nnUNet based trainings but used the default training schedule and took the final checkpoint.
Best,
Yannick

Thanks for the swift reply! Will be waiting.


[PE-D][Tester D] User guide describes an addfield command that has not been implemented in the product

Since working with teams is a core feature of this product, this may prove a significant inconvenience to users as the user guide does not tell users that this feature has yet to be implemented. However, the product can still be used.
Thus, the severity is medium.

Labels: severity.Medium type.DocumentationBug
original: nickeltea/ped#10

This is a documentation bug.
This correct syntax should be

field edit <t|g|u>/<index><type> <value>
<selected item> field <type> <value>

Duplicate of #107


Report data generation

aggregated and added real data for "Trending Reports", going to remove the component for "contractor report" and just make it so it changes the state..

updated cost estimation (its no longer dynamic with length of month but that's okay since it's just an estimate). added javadoc comments.


General Tree/Sitemap Style Improvements; Ensure that Dashboard > System and Settings > Express > Custom Entry Locations looks good.

There are two parts to this task:
Sitemap
Right now, the sitemap has been updated for a nicer friendlier appearance in version 9:

It still has some display issues. Let's fix these:

Let's get rid of that dotted gray border. That's ugly and it's not in the comps.
The gray background on an active page is way too heavy. Use something like $gray-200 or something.
The blue border on this active state is ugly, let's remove it.
Right now you can click on the entire line in the tree to get the menu. This is weird, let's make it so you can only get the label by clicking on the actual name of the page. Maybe we can do this with display: inline-block or something?
The drag display here is super heavy – it's a big blue background? Let's remove this.
The loading icon is way too light blue, change this to our $blue SCSS variable, and experiment with different icons that might look nicer.
Let's make sure the dragging dialog for moving/copying a page has the right button treatments and button alignment.
Clicking the title to launch the menu shows the menu too far to the left by about 50 pixels. Maybe this is a bootstrap 4 or arrow alignment issue?

General Tree
Once you fix these issues in the sitemap, let's move the custom styles from _sitemap.scss our into a generalized _tree.scss so that pages like Dashboard > System and Settings > Express > Custom Entry Locations look just like the sitemap with the same attractive stylings. Ensure that the sitemap still looks good.

In progress.

Sounds good!

Hello please check latest commit.

Looks great, really like the loading animation.


Libre BNF code issue for generic v brand

Reminder to get to bottom of https://bennettoxford.slack.com/archives/C03HVM72273/p1658329389444659

email sent to NHSBSA today:
Hi
We’ve noticed that, unusually, the BNF code for the branded product FreeStyle Libre Sensor (Abbott Laboratories Ltd) and its generic record Glucose interstitial fluid detection sensor have the same BNF code<PHONE_NUMBER>0).  I’m just checking to see if this is correct, and now that there are multiple companies making these sensors, and they are now available to be prescribed, whether there are any plans to change this?
Many thanks!
Regards
Richard

@richiecroker tag for email

Thanks for contacting the Information Services support team
We aim to respond to all queries within a maximum of 5 working days.
This is your call number –BSA-13289-K6L4. You can quote this call number if you need follow up on your query.
If you would like a telephone/Teams response the next time you make contact please request this in your email.
If your enquiry is in relation to other NHSBSA services including Prepayment Certificates, Penalty Charge Notices, Pensions relevant contact details are available on our website: https://www.nhsbsa.nhs.uk/contact-us
Best Regards
Information Services Support Team
Data & Insight - Information Services
Email<EMAIL_ADDRESS>Website: www.nhsbsa.nhs.uk
Help us improve our service by completing our short survey here.

We received a reply from BSA (23rd August):

Hi Richard,
I have queried this with our Medicines Data team who are responsible for allocation and population of BNF Codes.
They have confirmed that as this appliance is not listed generically in Part IX of the Drug Tariff and not Valid to prescribe as a VMP the VMP should not have been allocated a BNF code in the first place and the BNF Code will be ended.
They have also advised that they are investigating other VMPs that are not listed as generics in Part IX of the Drug Tariff that are not Valid to prescribe as a VMP with a view to ending those BNF codes as well.
Hope this has helped resolve your issue.
Regards
Jackie

We need to check with September data if this has happened yet.

Generic name is no longer showing - we're able to close.


Prefilled Items lead to unexpected behaviour

hi @guylabs,
i just found something strage in 0.3.1:
# having resolved resources..
$stateProvider.state('tab.interests',
    resolve:
      interests: ->
        [
          { id: 1, name:'A' }
          { id: 2, name:'B' }
          { id: 3, name:'C' }
          { id: 4, name:'D' }
          { id: 5, name:'E' }
          { id: 6, name:'F' }
          { id: 7, name:'G' }
          { id: 8, name:'H' }
          { id: 9, name:'I' }
          { id: 10, name:'J' }
          { id: 11, name:'K' }
          { id: 12, name:'L' }
# -----------  magic barrier
#         { id: 13, name:'M' }
#         { id: 14, name:'N' }
#         { id: 15, name:'O' }
#         { id: 16, name:'P' }

# and the controller

app.controller 'NewGoalCtrl', ($scope,interests) ->
  $scope.interests = interests
  $scope.filterInteresets = (query) -> interests
  $scope.selected_interests = []

as well as the input:
<input ion-autocomplete
                  type="text"
                  readonly="readonly"
                  class="ion-autocomplete"
                  autocomplete="off"
                  ng-model="selected_interests"
                  max-selected-items="3"
                  item-value-key="id"
                  item-view-value-key="name"
                  search-items="interests"
                  />

having the items 13 - 16 commted out, everything works fine.
However, adding the 13th item, or more, that id is always preselected when i start tapping on the item.
any idea?

Aaah! :D found id! the mouse-position is just at that line when i click on the input.
so even by holding the mouse-key pressed, i get the f irst selected. the ng-click $event does not provide any information about the original target. checked on mobile (android), here it acts as i expect it to act.
maybe usefull for you to just know it, in case of further questions regarding this behavioud.
Cheers.

Hi Daniel,
thanks for pointing this out! I never had this issue as I do not use the search-items property in my project.
Thanks and regards,
Guy


refactor image publishing

run image build on push/pull request (local registry for PRs)
build arm images
publish dev tags from main
separate pypi release from docker for concurrency
put pypi releases in artifacts

This will publish a main tag and a dev-${sha} tag on commits to main.


adding multiple mongoose databases with createConnection instead connect

Describe the bug
adding multiple mongoose databases with createConnection() instead connect() isn't working. I receive this error:
NoDatabaseAdapterError: There are no adapters supporting one of the database you provided
Installed libraries and their versions
"@admin-bro/express": "^3.0.1",
"@admin-bro/mongoose": "^1.1.0",
"admin-bro": "^3.3.1",
"express": "^4.17.1",
"express-formidable": "^1.2.0",
To Reproduce
Steps to reproduce the behavior:
i have two mongoose connections created with mongoose.createConnection(uri)
const adminBro = new AdminBro({
databases: [conn1, conn2],
rootPath: '/admin',
});
Expected behavior
createConnection() should work as connect()

hello guys, i closed this issue because it's not a bug.
the fix is not to add the databases property to adminBro, only the resources.
ex:
`
const api = mongoose.createConnection(process.env.apiURI);
const car = mongoose.createConnection(process.env.carURI);
const User = api.model('User', require('../models/User');
const Car = cars.model('Car', require('../models/Car');
const adminBro = new AdminBro({
resources: [{resource: User}, {resource: Car}]
rootPath: '/admin',
});`
and keep in mind that the model should export only the UserSchema and CarSchema

Even if it was a simple mistake in that version, it is now not possible to refer to it in the same way. "@adminjs/mongoose": "^2.0.2",
"adminjs": "^5.8.1".
Use this method to solve
new AdminJS({         databases: [mongooseConnection.base])


Added ability to pass configuration from bootstrap configuration to markdown

Added code to allow the markdown configuration to be brought in through the bootstrap configuration file. This allows for the ability to set a default fallback language for markdown, the issue was brought to attention in acceptance tests we ran on our current HOF project where locale wasn't set in the browser and the application was producing an error.

Published @ 12.1.2
Thanks @LCairns!


Update aria2.conf

okay？

okay？

Thx for the pr. After some thought, I decide to keep 5MB/s limit.


constraint for number of stock in portfolio

I really like PyPortfolioOpt amazing job.
Can give first data frame of 500 assets but I want the optimization will give me minimum variance portfolio for maximum 10 assets portfolio.
How can I make this  constraint?
Thank you in advance.

Hi @RazHadas,
Unfortunately, that's not possible because the constraint is not convex. The issue has been touched in in #45 and #101, you could try some of the things suggested there. My view is that asset allocation is a very different problem to asset selection, and that portfolio optimisation should not be used to decide which assets should be included. Instead, my suggestion is to reduce the universe to 20-50 assets (e.g using fundamental/technical screens) then run the optimiser on that.
Hope this helps!
Robert


Some forked code

Hi Andrey,
More than two years ago, I was contracted by a customer to make some additions to libssh and integrate it in their python application. For this we chose pyssh-ctypes as we could easily extend it and ctypes provided everything needed for the callback API. The customer even agreed that I share everything back with the community.
Fast forward today. Lots of things have happened and I never took the time to open my development. In fact I always assumed your work wouldn't continue (well I wasn't completely wrong but your codebase evolved since the snapshot I took). Today our codebases diverged and are not directly compatible.
My question to you now is if you are interested at taking my code and try to merge it in your main branch, and if you're still interested in maintaining pyssh-ctypes in the future.
If so, I will try to make the required efforts to port my fixes and improvements and issue a (big) pull request to you. I'll also reference directly your project on libssh website as the "official" python bindings.
If you are not interested in maintaining pyssh-ctypes anymore, I think it would be easier for me to fork my code under a different project name (still giving credit to your work of course) and go on with my current design.
Please tell me what you think. The code is there:
https://github.com/arisada/pyssh-ctypes/tree/forkeddev
You won't see the differences as commits because I had to copy the directory from my customer's svn. I can work that out if we work together (or not).
Regards,
Aris

hi @arisada
I'm glad to hear you again!
Responding your question... I'm currently pretty out of python community and I don't have time for maintaining all my python libraries.
So, I think that the best approach that you maintain your fork separatelly. Or better, I'll can transfer the repository ownership and pypi package ownership to you. That will make easy maintain one unique repository instead two separated forks.
What do you thing about this?

Hi @niwinz, thanks for your answer. I have to think a little about it, because solution #3 still means I have to merge codes and ensure I don't break your API since they diverged. I also have no experience in maintaining pypi packages but I guess I can learn (I don't consider myself part of the python community). I'll let you know.

Hi,
I have looked at the divergences between our respective trees and I think they are not reconcilable on the design level. I made my best to mimic as much as possible the C interface, adding a few python-isms where it made sense. Your API's focus is on getting an easy to use shell access. I am not really interested in maintaining this API. That's a pure question of taste of course.
My fork is more complete feature-wise with more exposed functions but is still a total mess and needs work before release. I think the best strategy for me would be to cherry-pick the relevant patches from your branch and fork under a different name.
Aris


Movement Controls/Camera

Setting up a TP character with inputs and basic camera controls. Animations are not added yet. Reorganizing the content folder.

[x] Movement
[x] Camera
[x] Reorganize

All Done


Is it possible to add Rest API option to BREAD?

Hi, first of all this project is literally brilliant! Love it.
I'm an Android developer so I was looking something to make my job easier when I need admin panel. Since I'm not a backend developer most of the time it's really painful to create admin panel for me. Luckily I found this project.
BREAD is amazing! I really love it, and it would be really awesome if you could add also Rest API option to BREAD. So mobile app developers like me can easily use it in our mobile projects.
Thanks in advance!

Voyager is intended to be an admin panel. What you're looking for is simply a different way of connecting to the data (via a backend api instead of directly loading data from the models), which is not admin functionality.
We've considered adding api functionality a few times, but nobody has been able to come up with a valid/reasonable admin-specific use-case for it. Without that use-case, it is very unlikely we will be adding that feature

there is a very basic use case for it ....
as in the what if the front end client is just a data consuming device ...and the backend is where the data gets fed into the system from ... for such an app ... voyager is great fit for backend , how ever it doesn't provide an api wrapper which frontend devices can consume , and so i m working on making one , would u guys be interested in a pull request for the same ?

My previous comment debunks that argument already.  "Backend" can be defined in so many ways.  We consider Voyager to be an "admin" tool. It's just another data consumer, with the database (via laravel) being the true "backend" for your app.  Following that definition, having Voyager be the api "host" just doesn't make sense, as it just doesn't fit well with Voyager's purpose.  Instead, you need to build the API into laravel(in parallel to Voyager and your "front end", if you want to think about it that way).
Regardless of your definition, this has been closed for over a year, and I stand by my previous statements.  If you wish to discuss it further, I would be happy to, but in slack.

I'll say this this. Im currently in an agency setting and each project demands an admin panel with the final product for the customer to edit data that goes into their platform. For apps that demand any true front end, we use VUE or React. I would love to bring voyager in an use it as a backend admin panel that helps scaffold out my backend for consumption via the front end. Only problem is I'd have to build an api layer on top of my Laravel app to make that possible. Strapi and a few other Node.js headless CMS and admin panels are doing it. It's a great concept and Voyager will need it to stay relevant in this atmosphere. Modern applications are not monolithic anymore. Lets get with the program guys. I want to use this on countless projects a year. Strapis not nearly as clean as laravel.

As @Cmrickels  said, let's stay relevant to the atmosphere. Websites need frontend along with the admin panel and the front-end needs APIs to communicate with the data that "admin" created.
My other argument is that the Voyager is not really for "admins", it's being marketed to "Developers" as a tool to develop an admin panel, and the developers need these APIs along with the admin panel (like every time) then why not add this?
The problem here is not the missing feature but your unwillingness to add the feature. Let us know if you change your mind, one of us from the community will create a pull request.
PS: Voyager is awesome and a little more of awesomeness does not harm.

Despite I liked Voyager, due to my project requirements I searched for another project and found cockpit which fits my requirements. It's not developed on top of Laravel but it's easy to use and learn.

It's an architectural decision we've made.  Voyager doesn't (natively) build the pages for your frontend (like a CMS would), so why should it host your API as well? As I said above, it's intended to be an admin panel, and just another interface into the database, not the intermediary between your frontend and backend.
Having said that, Laravel makes it insanely easy to build out a REST API, and Voyager runs on top of Laravel, so why not just build it?
Anyway, this has been asked and answered many times.  If you'd like to continue the discussion, please join the slack group and ask there


Prep/Develop website workshop

To build a roadmap and meet our OKR (develop website roadmap by Q1), Segacy will lead a workshop with the website team and others to understand the website's needs in 2023.
To-Dos

[x] @segacy1 to develop an outline for the workshop
[x] @segacy1 host workshop in February
[x] @AnthonyRollins @o-ram schedule website workshop
[ ] #41

The workshop has been completed, and now Olivia and I need to complete #41