BlazePose frozen model

Sorry to bother you again with this... I guess you're already working on converting the BlazePose TFLite models to Frozen model as long as saved model?
I've successfully ran the TfLite models, and even in desktop and using only CPU the models are very fast and responsive, it's definitely a much better solution than the PoseNet models.
My understanding is that PoseNet models are better suited for one shot detection, whereas BlazePose is better for continuous tracking, which makes it very good for realtime applications.

It's not a huge amount of work, so I generated a .pb and committed it. Use download.sh to download the materials again.
https://github.com/PINTO0309/PINTO_model_zoo/tree/master/53_BlazePose/01_float32

Thanks a lot!

@PINTO0309 It seems someone extracted the FULL BODY models from MLKIT: https://github.com/asus4/tf-lite-unity-sample/tree/master/Assets/StreamingAssets/mlkit
You might one to take a look and include these into your repository?

Thanks for sharing. I think I'll try to convert sooner or later. I've checked the structure of the model and it looks like it's only a little more OP's diagram below than the upper body only model. The structure of the model is almost identical.
What I'm wondering is what the license is for the tflite model of Blaze Pose Full.

I have no idea about the license... my impression is that they're releasing the model straight away into MLKit to make it easy to use for developers and nothing else. What seems to be preventing them releasing the models for other platforms is that it would imply that they need to give maintenance and support for these platforms.
For example, developers have requested the full body to be available in MediaPipe for windows, and for TensorFlow.JS... but right now they're having serious issues trying to compile the windows version of MediaPipe.

It looks like an Apache 2.0 license. I plan to do conversion work on weekends when I have time.
https://t.co/BU6b4cLHUu?amp=1

@vpenades First, only the Accurate version of the model was committed.
https://github.com/PINTO0309/PINTO_model_zoo/tree/master/058_BlazePose_Full_Keypoints

@vpenades
An additional Lite version has been committed.
https://github.com/PINTO0309/PINTO_model_zoo/tree/master/058_BlazePose_Full_Keypoints

Sorry to bother you again with this... I guess you're already working on converting the BlazePose TFLite models to Frozen model as long as saved model?
I've successfully ran the TfLite models, and even in desktop and using only CPU the models are very fast and responsive, it's definitely a much better solution than the PoseNet models.
My understanding is that PoseNet models are better suited for one shot detection, whereas BlazePose is better for continuous tracking, which makes it very good for realtime applications.

Hi @vpenades
How could you run BlazePose TFlite model on cpu? Can you please share the python script and TFLite model file for pose estimation?
Thanks a lot

@bhavikapanara I'm not using python, my project is in c# with Emgu.TF.Lite , which can run tflite models on the CPU.

@vpenades Thanks for the quick reply.
Actually, I am able to run the TFLite model on the CPU. But I am facing issues to decode output.
This is the output format:
[{'name': 'Identity',
  'index': 285,
  'shape': array([  1, 128, 128,   1], dtype=int32),
  'shape_signature': array([ -1, 128, 128,   1], dtype=int32),
  'dtype': numpy.float32,
  'quantization': (0.0, 0),
  'quantization_parameters': {'scales': array([], dtype=float32),
   'zero_points': array([], dtype=int32),
   'quantized_dimension': 0},
  'sparsity_parameters': {}},
 {'name': 'Identity_1',
  'index': 379,
  'shape': array([1, 1, 1, 1], dtype=int32),
  'shape_signature': array([-1,  1,  1,  1], dtype=int32),
  'dtype': numpy.float32,
  'quantization': (0.0, 0),
  'quantization_parameters': {'scales': array([], dtype=float32),
   'zero_points': array([], dtype=int32),
   'quantized_dimension': 0},
  'sparsity_parameters': {}},
 {'name': 'Identity_2',
  'index': 381,
  'shape': array([  1, 156], dtype=int32),
  'shape_signature': array([  1, 156], dtype=int32),
  'dtype': numpy.float32,
  'quantization': (0.0, 0),
  'quantization_parameters': {'scales': array([], dtype=float32),
   'zero_points': array([], dtype=int32),
   'quantized_dimension': 0},
  'sparsity_parameters': {}}]

Form this how to get all detected ket-points coordinates
@PINTO0309 Can you please help me with this?
Thanks,
Bhavika

I'm not an expert on python, I understand the official solution to use these models with python is this one: https://google.github.io/mediapipe/solutions/pose.html#python-solution-api


[FR] print Lua variable names when function is assigned to a variable

I was just testing this plugin to see if I will add it to my new configuration.
If I do the following in Lua an anonymous function assigned to a variable.
{ 'andersevenrud/nvim_context_vt'
     config = function()
         -- do something
     end → function
},

The plugin works by showing the closing function.
However, it would be useful to show the variable name that the function is assigned to.
Something like ...
``Lua
end → config => function
of course, this is probably the same for other language support.

However, it would be useful to show the varible name that the function is assigned to.

I'll look into it. Not sure if adding something like this as builtin because the nodes varies between languages etc., but adding some examples on how to do this via custom callbacks in the configuration would be useful!

being able to do this via custom callback (i.e completely optional) for individual languages would be great.

Turns out there was a much simpler solution to this. Just update and it should be working :)


feat(jvm): ENTESB-11696 - support CSRF protection with Spring Security

This fix makes sure Hawtio Jolokia calls work even with the following Spring Security settings applied on a Spring Boot app.
    protected void configure(HttpSecurity http) throws Exception {
        http.csrf().csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse());
    }

See: https://github.com/hawtio/hawtio/blob/master/examples/springboot-security/src/main/java/io/hawt/example/spring/boot/SecurityConfig.java

Thanks @jamesnetherton!


why can not found ./outputs/rgb_cache/transforms.json

Hi, please check the existence of ./outputs/rgb_cache after the completion of the second phase of training. The json file may not be saved successfully.


Additional Hive attributes and parameterization of Hive config

Changes in this PR includes additional attributes for Hive and parameterization of Hive config files. This is related to chef-bach enhancement request #484 .

Closing this PR to merge the changes on friendly branch.


Virtual HMD issues.

So I managed to get the service working with both HMD systems, virtual HMD and using a third controller, with the camera's and system tracking it perfectly. Freepie bridged also picked up both and I ran the example script in regular freepie. Despite doing all of this steam still doesn't pick them up, even though it picks up PS move controllers perfectly fine.

I have noticed that my steamvr.vrsettings folder deletes the line about multiple drivers every time it runs.

Try to make steamvr.vrsettings Read-Only


bug: function DmMidHash2Uid return wrong uid

https://github.com/Pengfei00/bili-utils/blob/25ecca3cdb2aab06559df2ffcdb545286a8f0b27/tools/main.go#L31-L39
The actual return value should be:
return i
=>
i = i - 1
return i

thanks


This package now requires go1.21

In 0ecc9cb6e19fd3d711587f070d217d7e7d4df561
The value of go in go.mod was increased from go 1.18 to go 1.21.
This forces all users of this package to upgrade their go to 1.21
$ go get github.com/bradenaw/juniper
go: upgraded go 1.19 => 1.21
go: added toolchain go1.21.3
go: upgraded github.com/bradenaw/juniper v0.13.1 => v0.14.3

I'm not sure if that was your intention or not. Being able to support old versions is very useful for a library and if this library works with go 1.18 then I suggest you revert the go.mod change and set it back to go 1.18. If it doesn't work with go 1.18 then pick the oldest version of go it does work with.
Happy to send a PR for this if you think it is a good idea.

It does currently require 1.21 to build, yes, since I swapped out some of the implementations in xslices and a few other places to just call the standard library ones introduced in 1.21.
I could perhaps be talked into supporting back to 1.20, since that's as far back as Go itself supports.
Are you currently or interested in using the package in a context where it's difficult to upgrade?

This is a dependency of a dependency of rclone. I accidentally upgraded it and noticed that rclone switched to go1.21. I like to give my users 3 go versions as there are lots of distros with older versions.
I undid the accidental upgrade and all is fine with rclone now, but I thought I'd make this issue to bring it to your attention.
I didn't realise before that, that the go.mod version is infectious. All it takes is one dependency to declare a new go version and boom your go.mod changes.
So that might be something to bear in mind!
Anyway supporting two Go versions is what Go does so that should be the minimum I think, but most libraries go further in my experience.

Good point! I'll take a look this week.

https://github.com/bradenaw/juniper/releases/tag/v0.15.0 - let me know if that works for you.


Sync more data from branches

It looks like there's a lot going on in this PR, but a lot of it is just beefing up our tests to make sure we're catching edge cases like this. The core of what I'm proposing here is in the mapBranch function:
https://github.com/integrations/jira/blob/5dd752f5dd270887bb084b70ab0c7438333c211e/lib/sync/transforms/branch.js#L4-L39
The goal of this PR is to map more data to the DevInfo API in Jira during the initial sync. Currently, if the branch doesn't have an issue key in it, we stop processing that branch. What users expect is for any commit with an issue key to also make that branch show up in the DevInfo panel. This is how it works for new data, but during the initial sync we were filtering out branches if the name of the branch didn't look like it needed to sync.
The function above does this by looking at the data we get back from the getBranches query, which includes the branch name and the latest 50 commits for that branch. If it finds issue keys anywhere in that branch, it will now sync the branch and PR to Jira. Additionally, if the PR has an issue key in the title, the branch for that PR will also be included.
I'm also adding one little fix that's been bothering me:
https://github.com/integrations/jira/blob/5dd752f5dd270887bb084b70ab0c7438333c211e/lib/sync/commits.js#L6-L19
This will ensure a full historical commit sync is done from the default ref, which may or may not be called master. This way if someone is using a default branch called something like dev, it will sync everything from that branch instead of master.

Looking good. Image shows branches syncing when PR title has a key or commits in the branch have keys. The branch TES-8 also shows up in that relevant issue. Here it shows up in TES-15 because there are commits in it related to TES-15.


upgrade tiktoken version >=0.5.1

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add a RHEL / UBI source finder to Soufi

The ability to programmatically collect .src.rpm files from RHEL / UBI with soufi would be useful.
It should also support configurable repos and repodirs, so that internal mirrors (and subsets of internal mirrors) may be used.

Fixed by #12


Papers to be read

● Recent works which leverage the large-scale image-text pairs pre-training such as CLIP shows promising performance in classification, segmentation and depth estimation.
● How to transfer the pretraining knowledge for 3D understanding such as referring point cloud segmentation has been barely explored .
CLIP:
https://arxiv.org/abs/2104.04687
DenseCLIP
https://arxiv.org/abs/2112.01518

ViLT： Vision-and-Language Transformer Without Convolution or Region Supervision
https://www.youtube.com/watch?v=6pzBOQAXUB8


Git REPOS and Issue Tracking-"Required" Error

Hitting with this error while I click on DEPLOY TO BLUEMIX button. Am I missing something? Please help.

@RiyaMRoy04 yeah, i'm seeing that now, too. I think the pipeline service may have changed. cc'ing @scottdangelo as an FYI, but we'll have to chat with the pipeline folks to see if something did in fact change.

I am also seeing this. RiyaMRoy04 if you need to deploy this code immediately, please be aware that you can follow the manual steps and you should be able to get up and running in just a few minutes.

Thanks @scottdangelo I was in between a session this morning(IST) and wanted to show it quickly. Hence, tried Deploy to Bluemix! Thanks I shall follow the manual steps and bring it up :)


Add Thai documentation

Thailand mentioned??@?!?!? 🇨🇷 🇨🇷 🇨🇷
also remove dead links and add more related project ig

The PR number is quite nice

That is quite crazy


Revert move vector parameter name to "motion"

Physics bodies' test_move() and move_and_collide() take a move vector.
The name was changed from motion to linear_velocity when the function was changed to take a velocity. That semantic change was later reverted, but the parameter's name was changed from linear_velocity to distance. This is not a good name as "distance" is usually a scalar.
This PR changes the parameter name back to motion.
This also makes it consistent with how classes like PhysicsTestMotionParameters3D name the related properties.
Does not break compatibility as this is a parameter name change.

Thanks!


Cannot set timezones on tests

The timezone is not properly set on tests. Not sure if the error comes from the docker container we use to setup the test environment, as I consider this America/Los_Angeles timezone as a valid timezone value.
I sent here a PR verifying the problem: https://github.com/geerlingguy/ansible-role-jenkins/pull/168
Thanks!

Hey @geerlingguy, any update on this?
Thanks!

Hi, any news on that?

@mdelapenya
I experienced this issue with another playbook (unrelated to Jenkins).
For me, the solution was to ensure that the tzdata package is installed in the container.
This was with an Ubuntu Docker image, using the Ansible timezone module.


Wrong tablespace available and used size

System information:

Operating system (distribution) and version: Windows 10
DBeaver version: 7.3.2
Java version: bundled
Additional extensions: n/a

Connection specification:

Database name and version: Oracle 11/12
Driver name: ojdbc19
Do you use tunnels or proxies (SSH, SOCKS, etc)? n/a

Describe the problem you're observing:
The following query is used to show available and used space for tablespaces:
SELECT TS.TABLESPACE_NAME,SUM(F.BYTES) AVAILABLE_SPACE,SUM(S.BYTES) USED_SPACE
FROM SYS.DBA_TABLESPACES TS,DBA_DATA_FILES F,DBA_SEGMENTS S
WHERE F.TABLESPACE_NAME(+)=TS.TABLESPACE_NAME AND S.TABLESPACE_NAME(+)=TS.TABLESPACE_NAME
GROUP BY TS.TABLESPACE_NAME

This query first joins DBA_DATA_FILES and DBA_SEGMENTS, then groups and sums the result. So available space is multiplied for the number of data segments (and because of that is usually HUGE) and used is multiplied for the number of data files (so it can occasionally be correct if there is only a data file for that tablespace).
The correct query would be:
SELECT TS.TABLESPACE_NAME, F.AVAILABLE_SPACE, S.USED_SPACE
FROM SYS.DBA_TABLESPACES TS,
(SELECT TABLESPACE_NAME, SUM(BYTES) AVAILABLE_SPACE FROM DBA_DATA_FILES
GROUP BY TABLESPACE_NAME) F,
(SELECT TABLESPACE_NAME, SUM(BYTES) USED_SPACE FROM DBA_SEGMENTS
GROUP BY TABLESPACE_NAME) S
WHERE F.TABLESPACE_NAME(+)=TS.TABLESPACE_NAME AND S.TABLESPACE_NAME(+)=TS.TABLESPACE_NAME

Here the group by is done before joining, so no product is performed.

verified


fix: Reduce footer line heights

Addresses https://github.com/ietf-tools/www/issues/377#issuecomment-2125924392

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

Project coverage is 96.08%. Comparing base (975451e) to head (0697ef0).

Additional details and impacted files
@@                 Coverage Diff                 @@
##           feat/modern-footer     #446   +/-   ##
===================================================
  Coverage               96.08%   96.08%
===================================================
  Files                     153      153
  Lines                    3293     3293
===================================================
  Hits                     3164     3164
  Misses                    129      129

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


fix: make sure subThemes are taken into account when generating style cache

We have identified a problem where the subThemes are not functioning as expected due to improper caching. This issue is affecting the normal operation of the subThemes feature and preventing it from performing as intended.
To resolve this, we are implementing a fix to properly manage the cache related to subThemes. Once this fix is applied, the subThemes should operate correctly, restoring full functionality and ensuring that all related features work as designed.

Test Execution Passed.

Test Execution Passed.

Test Execution Passed.

Test Execution Passed.

:tada: This PR is included in version @lightningjs/ui-components-v2.23.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Newcomer to this and validating epub for smashwords... error is 'September' is not an integer

Hi,
I am a newcomer to this and am attempting to verify an already made epub file with the validator smashwords provides a link to. I selected my file and the following error was generated, though precisely what it means ( how to decipher ? ) and how to rectify the issue, I do not know. The error is on Line 11, Position 13. The error is for the date-time... input string 'September' which it states is not an integer.
Where do I find this and how to correct it? I constructed the file in inDesign. Is there something that needs to be done to the source file?
Please see below:

Type
File
Line
Position
Message

ERROR
OEBPS/content.opf
11
31
Date value 'September' is not valid as per http://www.w3.org/TR/NOTE-datetime:[For input string: "September"] is not an integer.

Hi @phlanders
Unfortunately, this is the wrong place to ask questions about solving EpubCheck errors. This place is meant for reporting bugs in EpubCheck.
You might try turning to the #eprdctn community on Twitter.


Chrome Web Browser Incompatibility

On Chrome, there is an error.
I tried the app in Firefox and Safari, and two users can chat.  There are no errors in the web browser console.
How can I fix the demo to work in Chrome?
Preceding log statements:
getAllUsers - Got data Array(1)
webpack-internal:///./src/app/chat-app/chat-convo-list/chat-convo-list.component.ts:46 Fetched convos data undefined
webpack-internal:///./src/app/chat-app/chat-convo-list/chat-convo-list.component.ts:48 getUserConversationsConnection: no data

The log statement indicating an error in Chrome:
webpack-internal:///./node_modules/aws-appsync/node_modules/apollo-client/core/ObservableQuery.js:296 Unhandled error Network error: Can't find field conversations({"first":10}) on object (User:1ae7332b-817b-4a2d-9575-8fe96d47834a) {
  "__typename": "User",
  "id": "1ae7332b-817b-4a2d-9575-8fe96d47834a",
  "cognitoId": "1ae7332b-817b-4a2d-9575-8fe96d47834a",
  "username": "person098",
  "registered": false
}. Error: Network error: Can't find field conversations({"first":10}) on object (User:1ae7332b-817b-4a2d-9575-8fe96d47834a) {
  "__typename": "User",
  "id": "1ae7332b-817b-4a2d-9575-8fe96d47834a",
  "cognitoId": "1ae7332b-817b-4a2d-9575-8fe96d47834a",
  "username": "person098",
  "registered": false
}.
    at new ApolloError (webpack-internal:///./node_modules/aws-appsync/node_modules/apollo-client/errors/ApolloError.js:36:28)
    at eval (webpack-internal:///./node_modules/aws-appsync/node_modules/apollo-client/core/QueryManager.js:287:41)
    at eval (webpack-internal:///./node_modules/aws-appsync/node_modules/apollo-client/core/QueryManager.js:668:17)
    at Array.forEach (<anonymous>)
    at eval (webpack-internal:///./node_modules/aws-appsync/node_modules/apollo-client/core/QueryManager.js:667:18)
    at Map.forEach (<anonymous>)
    at QueryManager.broadcastQueries (webpack-internal:///./node_modules/aws-appsync/node_modules/apollo-client/core/QueryManager.js:662:22)
    at eval (webpack-internal:///./node_modules/aws-appsync/node_modules/apollo-client/core/QueryManager.js:236:31)
    at ZoneDelegate.invoke (webpack-internal:///./node_modules/zone.js/dist/zone.js:388:26)
    at Object.onInvoke (webpack-internal:///./node_modules/@angular/core/esm5/core.js:4965:33)

I am evaluating app sync for use.  This demo chat web app is impaired in the Chrome web browser.  A user does not receive messages in real time.  Probably because of this error.  On Firefox and Safari, the chat room sends and receives messages in real time.  This implies graphql "subscriptions" are working on Firefox and Safari.  What's wrong with the web application javascript in the Chrome Web Browser?
My device:
Platform: Mac OS X 10.13.6
Browser: Chrome Version 70.0.3528.4

@awsed Can you help me find someone to work with to resolve this issue?

Tested on Chrome Version 67.0.3396.99 (Official Build) (64-bit) with different users as well as using incognito mode. Works fine, cannot replicate.
You are using chrome from the dev channel. Suggest to use the stable channel.


Injecting dependencies seems not to work

Q
A

Bug report?
yes

Feature request?
no

BC Break report?
no

RFC? / Specification
-

Project version
5.0.1

Hi,
I'm migrating from a Symfony 3 application to 4.1. It seems that dependency injection is not done. Is this a bug or am I missing something ?
The error is:
Too few arguments to function Context\Fixtures\FixturesLoader::__construct(), 0 passed in /srv/app/vendor/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Loader.php on line 193 and exactly 2 expected

When i'm running: bin/behat -c apps/behat.yml -p front --tags="front_intro_on_page"
// behat.yml

default:
    autoload: '%paths.base%/features/Context'
    extensions:
        Behat\Symfony2Extension:
            kernel:
                env: test
                debug: true
                path: admin/AdminKernel.php
                class: AdminKernel
                bootstrap: vendor/autoload.php
        BehatExtension\DoctrineDataFixturesExtension\Extension:
            lifetime:   feature
            autoload:   false
            use_backup: true
            directories:
                - apps/features/Context/Fixtures
            fixtures: ~
        Behatch\Extension: ~
    suites:
        default:
            contexts:
                - Context\FeatureContext
                - behatch:context:browser
    translation:
        locale: en

<?php

namespace Context\Fixtures;

...

class FixturesLoader extends Fixture
{
    private $loader;
    private $doctrine;

    public function __construct(NativeLoader $loader, ManagerRegistry $doctrine)
    {
        $this->loader   = $loader;
        $this->doctrine = $doctrine;
    }

    /**
     * {@inheritdoc}
     */
    public function load(ObjectManager $manager)
    {
        $objectSet = $this->loader->loadFiles(
            [
                __DIR__.'/companies.yml',
                __DIR__.'/medias.yml',

When I run : bin/console debug:container FixturesLoader --env=test
it gives me
Information for Service "Context\Fixtures\FixturesLoader"
=========================================================

 ---------------- ---------------------------------
  Option           Value
 ---------------- ---------------------------------
  Service ID       Context\Fixtures\FixturesLoader
  Class            Context\Fixtures\FixturesLoader
  Tags             doctrine.fixture.orm
  Public           yes
  Synthetic        no
  Lazy             no
  Shared           yes
  Abstract         no
  Autowired        yes
  Autoconfigured   yes
 ---------------- ---------------------------------

But when I run
bin/behat -c apps/behat.yml -p front --tags="front_intro_on_page"
The errors appears

I will try to reproduce that issue.
Stay tuned.

Hi, any news by chance? :-)

Just to be sure, BehatExtension\DoctrineDataFixturesExtension\Bundle\BehatDoctrineDataFixturesExtensionBundle must be added in your bundle list.
Is it correctly listed?

So, that was indeed a good remark. The bundle wasn't listed in our Kernel.php :s
Adding it doesn't fix the issue though (this->isDebug() returns true).
if ($this->isDebug()) {
            $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
            $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
            $bundles[] = new BehatExtension\DoctrineDataFixturesExtension\Bundle\BehatDoctrineDataFixturesExtensionBundle;
        }

OK thanks. It looks like there is a real trouble here.
This is a little bit old school, but what if the fixture implements ContainerAwareInterface?
(not sure this interface is still available on Doctrine 3.0 by the way)
namespace Context\Fixtures;

...

class FixturesLoader extends Fixture implements ContainerAwareInterface
{
     /**
     * @var ContainerInterface
     */
    private $container;

    public function setContainer(ContainerInterface $container = null)
    {
        $this->container = $container;
    }

    /**
     * {@inheritdoc}
     */
    public function load(ObjectManager $manager)
    {
        $loader = $this->container->get(NativeLoader::class);
        $doctrine = $this->container->get(ManagerRegistry::class);
        $objectSet = $this->loader->loadFiles(
            [
                __DIR__.'/companies.yml',
                __DIR__.'/medias.yml',

In FixturesLoader.php line 49:
  Call to a member function get() on null

L49 = $loader = $this->container->get(NativeLoader::class);
class FixturesLoader extends Fixture implements ContainerAwareInterface
{
    private $container;
    private $doctrine;

    public function setContainer(ContainerInterface $container = null)
    {
        $this->container = $container;
    }

    /**
     * {@inheritdoc}
     */
    public function load(ObjectManager $manager)
    {
        $loader = $this->container->get(NativeLoader::class);
        $doctrine = $this->container->get(ManagerRegistry::class);

        $objectSet = $loader->loadFiles(
            [

Also, doing so breaks the raw command:
php bin/console doctrine:fixtures:load --env=test
  The "Doctrine\Common\Persistence\ManagerRegistry" service or alias has been removed or inlined when the container was compiled. You should either make i
  t public, or stop using the container directly and use dependency injection instead.

Can confirm, autowire of constructor arguments is broken.

OK thanks. It looks like there is a real trouble here.
This is a little bit old school, but what if the fixture implements ContainerAwareInterface?
(not sure this interface is still available)
namespace Context\Fixtures;

...

class FixturesLoader extends Fixture implements ContainerAwareInterface
{
     /**
     * @var ContainerInterface
     */
    private $container;

    public function setContainer(ContainerInterface $container = null)
    {
        $this->container = $container;
    }

    /**
     * {@inheritdoc}
     */
    public function load(ObjectManager $manager)
    {
        $loader = $this->container->get(NativeLoader::class);
        $doctrine = $this->container->get(ManagerRegistry::class);
        $objectSet = $loader->loadFiles(
            [
                __DIR__.'/companies.yml',
                __DIR__.'/medias.yml',

I tried it like that and it seems to work for the first time I run Behat. When I run Behat for the second time it does not autowire services, I need to clear the cache. When I do this it works again. Maybe this will give you a hint on how to fix it.

Hi all,
Sorry for the late answer.
@takeit it only works when the fixture loader is declared as a service, but not when loaded from an arbitrary folder (i.e. with the directories option).
You can automatically clear your cache using the adamquaile/behat-command-runner-extensio extension.
I am working on a fix, but I have to create my own loader that will wrap the current one and the Symfony one (with container/DI features).

Hi,
I am still looking for a way to make it possible for fixtures loaded by the extension, but at the moment, the only solution to get rid of this issue is to declare the fixtures as services.
I created a new branch as POC.
There are 3 fixture loaders in the folder DemoBundle/Tests/DataFixtures:

Basic Loader
Container Aware Loader
Dependency Injection Loader

There are all declared as services and, thanks to the autowiring/autoconfiguration from SF, there is nothing complicated.
Can you give it a try and let me know if it works for you?
This issue will remain opened until a more convenient solution is found.

Hi @Spomky, thanks a lot, I will give it a try!
For my use case I managed to fix it like that for now: https://github.com/BehatExtension/DoctrineDataFixturesExtension/compare/v5.0...takeit:container_aware?expand=1

Hi @takeit,
I see in your fork that you select either the SF Loader, the Container Aware loader or the default loader. I removed this part as it is not needed anymore: it is useless when fixture loaders are correctly tagged.
The issue still remains regardless which loader is used. Unknown fixtures are either instantiated without any constructor argument or an exception is thrown depending on the loader.
From what I understand, it is not possible to instantiate new classes with DI as the container is already initialized when the extension is called. At this point, private services are not reachable anymore and it is not possible to add new service definition correctly.
I will modify the loader to allow Container-Aware fixtures to be loaded through directories and fixtures options.
By the way, it appears to me that the autoload option is useless. The fixtures from the bundles should be declared as services directly by the bundles. I think I will depreciate this option and remove it for v6.x.
Finally, I will add a classname option. This option will be similar to the fixtures option. It will accept a list of fully qualified class names instead of a list of filenames.
Wrap-up:

Basic fixtures (i.e. without constructor argument) can be loaded

When declared as services
Using the directories option
Using the fixtures option
Using the classnames option (next minor release)

Container-Aware fixtures (i.e. implement ContainerAwareInterface) can be loaded

When declared as services
Using the directories option (next minor release)
Using the fixtures option (next minor release)
Using the classnames option (next minor release)

Fixtures with DI (i.e. constructor needs arguments) can be loaded

When declared as services

As mentioned earlier, there is no convenient way to inject the dependencies to fixtures loaders added through the directories and fixtures options.
To solve that issue you have to choices:

Your fixture loaders implement ContainerAwareInterface and you get the services you need through that container. In this case these services MUST be public.
Your fixture loader are declared as services and are correctly tagged with doctrine.fixture.orm. All you have to do is to use the Doctrine Fixture Bundle and create your fixture loaders as described in the official documentation.

I now close this issue as it is solved from my point of view.
Feel free to open it again if you still have troubles with it or contact me to discuss on a private channel (English/French).
The v6.0 I've just released should also help you to move forward.


update default allow and block lists

Allow lists and block lists need some updating.

Addressed in v1.0.9


Support optimized builds

Remove old references to System
Make @loader and @steal explicit dependencies

Closes https://github.com/stealjs/steal-tools/issues/845

Since the new test requires the latest steal-tools to be available, we could either:
a) get a release of steal-tools#master in its current state to update this PR.
b) Keep this PR open until I get the bitcentive build working and release steal-tools at that point
Also, I'm not very happy with the test I added:
Funcunit relies on the global steal.done to signal that F.open was successful. We could:

Update Funcunit  so it explicitly requires @steal (although funcunit relies on a very old steal)
Rename the global on the slim loader as suggested in other issue
Remove that random timeout (somehow) I added to the test to make it more reliable.

cc: @matthewp

:+1

Do a steal-tools release and then update this PR. There's definitely no breaking changes, so no reason not to release that (and then this, which also has no breaking changes).
I think your test is fine! The solution would be to upgrade FuncUnit, but not worth doing that at this time. I mean, aside from libraries like this, the chance that people are going to run FuncUnit tests against optimized builds seems fairly slim to me!

against optimized builds seems fairly slim to me!

@matthewp want me to do a patch release for this one? It's not really a new feature so I'd go for a patch release.

Yep, bug fix sounds right

@matthewp I didn't notice but<EMAIL_ADDRESS>was already released here https://www.npmjs.com/package/done-autorender but the repo was not.
I wonder if you forgot to push master and the tag. If you have it locally I can delete the tag and revert that last commit so we can merge in the stuff you have locally.


Question: what is the purpose of this library

Hi @samber,
This library serves the purpose of providing helper functions, such as error formatting, in a consistent manner. However, I'm having trouble understanding how it fits into the slog ecosystem.
In the slog API, the convention is to use the Error function with a message string as the first argument, followed by optional additional arguments for formatting purposes. However, this library uses a map[string]any as its primary data type.
Could you please clarify the purpose of this library and how it relates to the slog ecosystem? I feel like I might be missing something.

hi @rvdwijngaard
This library will centralize a few helpers for all my slog libs: much easier to maintain.
This is still WIP (until the end of the week?). I will make the readme more explicit.
Formatters should be added to samber/slog-formatter.

The slog stdlib can support many attributes having the same key. But in my handlers, i mostly export attributes to objects.
For faster processing I convert []slog.Attr to map[string]any early. So this is why this lib is doing some stuff on map instead of slog.Attr.

Hi @samber thanks for explaining this.


keybase-redirector doesn't die/reload after run_keybase

On Debian/Ubuntu Linux, subsequent runnings of run_keybase results in more than one keybase-redirector.
  No noticable performance issues, but could be problematic.  Could it be because it is run as root and run_keybase is as a normal user?
rmday@cacodaemon:~$ ps -aux |grep keybase-redirector root      7870  0.0  0.0 759336  4592 ?        Sl   09:33   0:00 keybase-redirector /keybase root      8155  0.0  0.0 685348  4260 ?        Sl   09:33   0:00 keybase-redirector /keybase root      8383  0.0  0.0 609952  4304 ?        Sl   09:34   0:00 keybase-redirector /keybase rmday     8819  0.0  0.0  14352  1068 pts/4    R+   09:38   0:00 grep --color=auto keybase-redirector
Attaching log shortly.

Success! Your log ID is:
7241292499e970e279ca531c

Thanks, I'll look into it tomorrow.  run_keybase is not supposed to kill one that's already running, but the new one it tries to start is supposed to stop on its own, leaving the original one running.

Anything else you need from me or testing subsequent releases, let me know.

No I'm good, just busy. lots of issues came in this weekend.  This one is still in my queue, will get to it as soon as I can.

Should be fixed with #1511.  Thanks for the report!


Allow SDS with a plaintext connection to pilot

This needs more investigation, but from what I am seeing if the port is 15010 we are not configuring SDS which breaks the pod since there are no certs. I don't see why SDS has anything to do with control plane security

@howardjohn you already merged this in 1.5 afaict.
Did the tests break or report any failures?

@nrjpoddar I merged directly to 1.5 since it wasn't relevant to master except for this part. That one passed all 1.5 tests


[WIP] Add missing support for reports

Description
Add support for loading and saving report configs.
Motivation and Context
See #12 and #27
How Has This Been Tested?
Added steps to run_demo.py to create, load, and then delete a report configuration.
Types of changes

New feature (non-breaking change which adds functionality)

Checklist:

[ ] I have updated the documentation accordingly (if changes are required).
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

The generate report request times out after 60 seconds, so fails for larger reports.
I assume that adhoc report will be affected by the same bug?
I know this bug is not the purpose of this PR and is for later work, I just want to highlight that it may be a problem for Generate Adhoc Report.

The generate report request times out after 60 seconds, so fails for larger reports.
I assume that adhoc report will be affected by the same bug?

Yeah I need to figure something out for timeouts here. I think that in the real world adhoc reports don't scale very well anyway and should be avoided IMO. Since the consumer has to wait for the report to finish generating before receiving a response indicating success or failure, it would be better to instead use a regular report and poll the status on it while generating.

So the NexposeSession class has a timeout property, which can be set globally for all requests it seems. I don't like the idea of changing "global" properties like that within specific functions, so I guess we'd have to leave it up to the user to set an appropriate timeout when running adhoc reports.

I like the changes made in this PR. I would only change one thing: Make the API for the function with real arguments (template_id etc.). This makes the function self-documenting and allows consumers to get started quicker. This can then be augmented by a function that is more flexible, i.e. what you already have - so that the API doesn't limit what can be done (like it does now).
What do you think?


tutorial problem on 12.2.6

When I try this:
npx<EMAIL_ADDRESS>nextjs-dashboard --use-npm --example "https://github.com/vercel/next-learn/tree/main/dashboard/starter-example"
I get this:
➜  nextjs-dashboard git:(main) npm run build

> build
> next build

   ▲ Next.js 14.0.2

 ✓ Creating an optimized production build
 ✓ Compiled successfully
   Linting and checking validity of types  .Failed to compile.

./app/ui/acme-logo.tsx:2:26
Type error: Cannot find module '@/app/ui/fonts' or its corresponding type declarations.

  1 | import { GlobeAltIcon } from '@heroicons/react/24/outline';
> 2 | import { lusitana } from '@/app/ui/fonts';
    |                          ^
  3 |
  4 | export default function AcmeLogo() {
  5 |   return (

not sure if that is supposed to happen.

ok I kinda just ran the "next" command and everything worked misteriously, so never mind guys.


Entry fallback translation

Without this isn't possible to translate the default "entry name"

Why are we down-casing the entry name? In some languages (like German) the first letter of a noun is a capital letter.

@openscript we were not just aware of it. But simply removing downcase will introduce an issue in other languages like English. Try to come up with a solution that works in both cases.

Yes, I'm thinking about that right now. Stay tuned!

I've sent a pull request.


ToDo

[x] Share on social media
[ ] Add a release strategy to inform watchers/subscribers
[ ] Add on the Awesome list (https://github.com/sindresorhus/awesome, https://github.com/bl0cknumber/awesome-template)

[ ] Add GitHub Actions (link checker, awesome-lint, automated ToC)

[ ]  Add new category: Drupal VS Other CMS
[ ] Add new category: RoboFile.php
[ ] Add new category: gitpod examples
[ ] Add new category: ddev examples
[ ] Add new category: git hook examples
[ ] Add new category: Dockerfiles, Docker images
[ ] Add new category: IDE settings/extensions/tools
[ ] Add new category: (Drupal) services.yml examples
[ ] Add new category: CI/CD solutions
[ ] Add new category: Database backups commands and scripts

Awesome list tasks

[x] Conform with awesome-list
[ ] Ask the maintainers at https://github.com/nirgn975/awesome-drupal to "Archive" the project and then comment to https://github.com/sindresorhus/awesome/issues/628
[ ] Review at least 2 PRs from https://github.com/sindresorhus/awesome/pulls?q=is%3Apr+is%3Aopen
[ ] Ask D.O. community members to add/edit links on this repository