How to load the checkpoints to evaluate embeddings?

Hi, thank you for this amazing project.
At the moment, I'm studying different techniques to do re-identification, and the checkpoints available on the model zoo are really helpful for me.
I would like to evaluate the embeddings generated by the different architectures presented in the model zoo section.
Any suggestion or repo to use the different backbones to load the checkpoints to get the embeddings easily?
More details:
I tried to use the ResNet50 backbone to process an image and then pass the result to the embedding head to generate the features for each detection. When I tried to measure the cosine similarity between different objects the results are really near to 1 (for the correct object but also for the different ones) something unexpected.
Currently, my primary objective is to load the weights and use them to process an image to obtain the final embedding.

I encountered same problem. The cosine similarity is very close to 1 for different person, difficult to do person ReID depending on this similarity score.

@turinaf, I found my bug. In my case, I did not load properly the model weights. I started by modifying the demo.py file, with this approach you can easily generate a folder with a gallery and query image, and compute distances between that to check the model performance. You are probably experiencing a similar problem with the weights. For the BoT ResNet, I have to add the path in the Base-bagtricks.yml file under MODEL.WEIGHTS property.

Thank you @DiegoFernandezC,
I am using market_bot_R50. I was able to load the model weights by passing its path in command line like this:
python demo/demo.py --config-file configs/Market1501/bagtricks_R50.yml --input runs/detect/exp2/crops/person/*.jpg --opts MODEL.WEIGHTS tools/deploy/weights/market_bot_R50.pth
The result of running this was as follows:

It says some model parameters or buffers are not found in the checkpoint. And also The checkpoint state_dict contains keys that are not used by the model. I don't know why this is happening.
But it works and I can extract features and compare, like we said before, it's performance is not good.
Base-bagtrickes.yaml file doesn't have MODEL.WEIGHTS property. Did you add it yourself? When I do that it's throwing another error saying KeyError: 'Non-existent config key: MODEL.WEIGHTS'

@turinaf I noticed this warning today. I started to debug the code, and I need to add a function that calls in the load function on the checkpoint.py file. This function looks like this:
    def _rename_params(self, checkpoint):
        # This is to make the checkpoint compatible with the new model structure
        new_checkpoint = {}
        print("heads.classifier.weight" in checkpoint["model"].keys())
        for key, value in checkpoint["model"].items():
            new_key = key
            if "heads.classifier.weight" in key:
                new_key = key.replace("heads.classifier.weight", "heads.weight")
            elif "heads.bnneck.weight" in key:
                new_key = key.replace("heads.bnneck.weight", "heads.bottleneck.0.weight")
            elif "heads.bnneck.bias" in key:
                new_key = key.replace("heads.bnneck.bias", "heads.bottleneck.0.bias")
            elif "heads.bnneck.running_mean" in key:
                new_key = key.replace("heads.bnneck.running_mean", "heads.bottleneck.0.running_mean")
            elif "heads.bnneck.running_var" in key:
                new_key = key.replace("heads.bnneck.running_var", "heads.bottleneck.0.running_var")
            new_checkpoint[new_key] = value

        checkpoint["model"] = new_checkpoint
        return checkpoint

Using this function you can rename the keys that the load function is not finding on the model weights. I did not worry about the weights that the model is not using. I suppose these keys are not useful today. Renaming the not found parameters the model improves his performance a lot, mainly by separating the embeddings and giving you utils scores.
I can not fix the heads.weight warning, the key is changed correctly, but the model continues to alert that he can not find it. Let me know if you can solve this one.


Unauth and Auth roles are not deleted when deleting the CF template

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Go to the CloudFormation console and delete the root stack.  The deletion fails because the Unauth Role and Auth role still exist.
Steps to reproduce the issue:

amplify init
amplify analytics add
amplify push
Go to CloudFormation console
select the root CF stack
Delete the stack

What is the expected behavior?
All resources are deleted, including the IAM roles.
Additional environment details

OS version (ie Windows 10 build X, macOS Sierra 10.12.6, etc.) Mac
Output of amplify --version: 0.13.3
Did this work in previous versions?: N

Already fixed.


Node and Application not show on Azure Service Fabric portal when change port in load balancer rule

Someone could help me for this issue ?

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

ID: 3f578598-f4d6-20a3-dc34-5a3a16cbe0f4
Version Independent ID: f90b5119-829f-e29d-b5b0-b452c597a760
Content: Create an Azure Load Balancer rule for a cluster
Content Source: articles/service-fabric/create-load-balancer-rule.md
Service: service-fabric
Product: unspecified
GitHub Login: @Thraka
Microsoft Alias: adegeo

@t-khanh  could you please send me a link to the document you are referring to?

Link:https://docs.microsoft.com/en-us/azure/service-fabric/create-load-balancer-rule
In current, I have an issue as below

Change load balance rule of Service Fabric then Node and application are not shown on Service Fabric overview tab.
Make sure your load balancer has a rule to connect to the port your app is using, and also double check that your app is listening on that port.


chore: remove step 99

Related Issue(s)
Remove step 99.

All tests failing are because the context changes, i will fix that in a follow up.


diyruz-diyruz_flower

https://www.zigbee2mqtt.io/devices/DIYRuZ_Flower.html
do not show illuminance
thank you

Could you please update plugin and check

Hi, Thank you for your help
Could you take a look at the screenshot? it seemed to me that only luxes are missing, but the sensor gives more data, e.g. soil moisture
Would there be a possibility to add that too?

Thank you

Done

Thanks for such a quick response, I'm afraid that something is still wrong, it does not show soil moisture. Could you have a look once more please ?

Do you have any issues in Domoticz log?

No, only with geiger meter but this is another issiue
https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/issues/583

looks like duplicate temperatures instead of moisture

According to the doc this device has 3 different temperature sensors https://www.zigbee2mqtt.io/devices/DIYRuZ_Flower.html, so that is correct.
That's strange, "soil_moisture" sensor should be created as well. Could you please check that you have not reached the Domoticz devices limit #325

:(  you are right
What can we do with it ?

Probably this feature could help #594

Hi Stas. ds and bme sensors are showing the same values, there only two temperature sensors, not three
After blocking some devices there are no soill moisture
Could you look into the code in meantime ?
Thank you

Сan you help?

Could you please create feature tickets for each feature that is still required

i would like to do it, but i do not know how, i see the examples, but its to complicated to me. would there be a big problem if i asked you for it? the same problem with geiger counter :(
sorry and thank you,

flower sensor seems to work properly, only geiger counter not
thank you

wrong info last time,
After update flower sensor fw to current seems no work again :(

2021-09-12 13:15:24.267 Error: mqtt: (mqtt) geiger: can not process numeric item "radioactive_events_per_minute"
2021-09-12 13:15:24.267 Error: mqtt: (mqtt) geiger: can not process numeric item "radiation_dose_per_hour"
2021-09-12 13:15:24.267 Error: mqtt: (mqtt) geiger: can not process binary item "led_feedback"
2021-09-12 13:15:24.267 Error: mqtt: (mqtt) geiger: can not process binary item "buzzer_feedback"
2021-09-12 13:15:24.267 Error: mqtt: (mqtt) geiger: can not process numeric item "alert_threshold"
2021-09-12 13:15:24.267 Error: mqtt: (mqtt) geiger: can not process numeric item "sensors_count"
2021-09-12 13:15:24.267 Error: mqtt: (mqtt) geiger: can not process numeric item "sensitivity"
2021-09-12 13:15:55.647 Error: mqtt: (mqtt) geiger: can not process numeric item "radioactive_events_per_minute"
2021-09-12 13:15:55.647 Error: mqtt: (mqtt) geiger: can not process numeric item "radiation_dose_per_hour"
2021-09-12 13:15:55.647 Error: mqtt: (mqtt) geiger: can not process binary item "led_feedback"
2021-09-12 13:15:55.648 Error: mqtt: (mqtt) geiger: can not process binary item "buzzer_feedback"
2021-09-12 13:15:55.648 Error: mqtt: (mqtt) geiger: can not process numeric item "alert_threshold"
2021-09-12 13:15:55.648 Error: mqtt: (mqtt) geiger: can not process numeric item "sensors_count"
2021-09-12 13:15:55.648 Error: mqtt: (mqtt) geiger: can not process numeric item "sensitivity"
Sorry Stas, i dont know how to create ticket, its a bit hard to me.


Bug Report - Terminal crashes after WSL changes (reinstalling Ubuntu)

I set WSL as my default profile
I then uninstalled Ubuntu
The terminal crashes on opening (see picture)
I reinstalled Ubuntu - Same issue
I uninstalled the terminal and reinstalled it - Same issue

I can't seem to fix it now, even if i uninstall and reinstall.
I don't know where the profile is located either.
Behaviour
It will be transparent for a few seconds, then crash

Luckily i still had the profile open in VSCode so was able to change it.
But it would be good for developers who are tinkering around with this to know where the profile is located

This is #1348 and @zadjii-msft is going to try to make it pick something else when the default is missing to stop the crash ASAP.


Avoid dependency to undertow 2.3.14.Final

Describe the need of your request
undertow 2.3.14.Final contains a vulnerability with a score of 7.5. See https://nvd.nist.gov/vuln/detail/CVE-2024-6162
2.3.13.Final don't have any known high risk vulnerability
Proposed solution
Use 2.3.13.Final instead
Alternatives you've considered
No response
Additional context
No response

Thanks for spotting!


Highlight issue of function names and local variables

Hi, Thank you so much for this theme. I have been using it consistently for years.
Since the latest VS update 17.9.0 there has been an issue with the highlighting of function names that were usually in yellow and are now purple.

Also, local variables were usually white and are now also purple.

Thanks in advance, Yitzi

Hi, thanks for the feedback and issue details!
I've just published v1.1.5 and I hope the problem is fixed now.

Looks Great! Thanks for the quick fix!


Question | How can i change "transparency" of overlay image?

my code:
logo = ffmpeg.input('logo.png')
(
    ffmpeg
    .filter([in_file, logo.filter('scale', 0, -1).HERE_CHANGE_TRANSPARENCY], 'overlay', 50, 50)
    .output('out.mp4')
    .run()
)```

What filter is needed instead of HERE_CHANGE_TRANSPARENCY?

This may be too old, but I think you could use the colorchannelmixer filter and use the aa to adjust the contribution of input alpha to output alpha channel. More details here: https://ffmpeg.org/ffmpeg-filters.html#colorchannelmixer
but it could be something like this (haven't tested):
logo = ffmpeg.input('logo.png')
(
    ffmpeg
    .filter([in_file, logo.filter('scale', 0, -1).filter('colorchannelmixer', aa=0.5)], 'overlay', 50, 50)
    .output('out.mp4')
    .run()
)

This may be too old, but I think you could use the colorchannelmixer filter and use the aa to adjust the contribution of input alpha to output alpha channel. More details here: https://ffmpeg.org/ffmpeg-filters.html#colorchannelmixer
but it could be something like this (haven't tested):
logo = ffmpeg.input('logo.png')
(
    ffmpeg
    .filter([in_file, logo.filter('scale', 0, -1).filter('colorchannelmixer', aa=0.5)], 'overlay', 50, 50)
    .output('out.mp4')
    .run()
)

thanks for the answer!  it's never too late.  I'm thinking about updating my project to version 2.0, maybe I'll apply your answer in the meantime and replace the ffmpeg calls with ffmpeg-python.


Chef nightlies confusing hash with a block

I ran into this chunk of code that runs fine in 12.6.0 that is now failing on a nightly of ChefDK / chef-client in Travis:
================================================================================
Recipe Compile Error in /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb
================================================================================
RuntimeError
------------
Property content of file[/etc/chef/ohai/hints/ec2.json] cannot be passed a block! If you meant to create a resource named content instead, you'll need to first rename the property.
Cookbook Trace:
---------------
  /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:26:in `block in from_file'
  /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:25:in `from_file'
Relevant File Content:
----------------------
/tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:
 19:
 20:  directory '/etc/chef/ohai/hints' do
 21:    recursive true
 22:    action :create
 23:  end.run_action(:create)
 24:
 25:  file '/etc/chef/ohai/hints/ec2.json' do
 26>>   content {}
 27:    action :create
 28:  end.run_action(:create)
 29:
 30:  ohai 'reload' do
 31:    action :reload
 32:  end.run_action(:reload)
 33:
F
================================================================================
Recipe Compile Error in /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb
================================================================================
RuntimeError
------------
Property content of file[/etc/chef/ohai/hints/ec2.json] cannot be passed a block! If you meant to create a resource named content instead, you'll need to first rename the property.
Cookbook Trace:
---------------
  /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:26:in `block in from_file'
  /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:25:in `from_file'
Relevant File Content:
----------------------
/tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:
 19:
 20:  directory '/etc/chef/ohai/hints' do
 21:    recursive true
 22:    action :create
 23:  end.run_action(:create)
 24:
 25:  file '/etc/chef/ohai/hints/ec2.json' do
 26>>   content {}
 27:    action :create
 28:  end.run_action(:create)
 29:
 30:  ohai 'reload' do
 31:    action :reload
 32:  end.run_action(:reload)
 33:
F
================================================================================
Recipe Compile Error in /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb
================================================================================
RuntimeError
------------
Property content of file[/etc/chef/ohai/hints/ec2.json] cannot be passed a block! If you meant to create a resource named content instead, you'll need to first rename the property.
Cookbook Trace:
---------------
  /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:26:in `block in from_file'
  /tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:25:in `from_file'
Relevant File Content:
----------------------
/tmp/d20160119-2256-ez7lg1/cookbooks/aws/recipes/ec2_hints.rb:

That's a Ruby syntax thing. The code in the cookbook is incorrect. The way to pass an empty hash to a method is either content({}) or content Hash.new.

(to be clear, it was only working by accident before)

The code has been fixed already. I was just calling attention to a behavior change in our nightlies.

@jkeiser ^^
I think that was the intention though, it's a correctness fix not a compat break.

Yeah, the only thing that worries me here is if we potentially broke properties that really do take a block, but assuming we didn't, then this is just correct behavior.
I'm a bit worried this could turn into another rathole where "we broke cookbooks that worked yesterday" but this example is a pretty good one of how perverse a "working" cookbook can be.  The content property of the file resource only takes a String.  Whoever tried to pass in a Hash was having a pretty large brainfart of some sort on that day.  The fact that ruby translated that into a block, and then we silently accepted it and then it "worked" is just a chain of 'happy' accidents that let this cookbook compile.
Its unfortunate that this kind of code breaks, but at some point we have to be able to break bad ruby/chef code without violating semver since that isn't part of our public API.

@lamont-granquist There is no way to take a block with Chef's implementation of property(). It requires custom extensions where you can also override that error :)

Yeah, I was worried that we broke passing blocks, but I see now that we never accepted blocks in properties and you have to use proc {} to pass a property a callback, and it has always been this way for properties.
I also see that via some kind of magic we didn't break /attributes/ in the process and that the callbacks for the deploy resource still take blocks fine.
So I think we can close this...   @jkeiser is noodling over making properties take blocks correctly...


creating a debug file on all the working folders

Issue Type: Bug
Afte the recent update, editor created a debug.log file in all the expanded folder(s). The content of the debug file is
[0210/125429.205:ERROR:registration_protocol_win.cc(102)] CreateFile: The system cannot find the file specified. (0x2)
[0210/125509.441:ERROR:registration_protocol_win.cc(102)] CreateFile: The system cannot find the file specified. (0x2)
I dont understand why these files are created, and its completly annoying. I have to manually remove those files from the project.
  It's not the first time it append..

In my case the bug relates to TypeScript project only. No debug.log file is created when browsing pure JavaScript project written in React.

For me, it is happening on every project, on every folder.
React-Native and pure javascript projects.

Win10:
Debug.log is also created in an empty folder when using right click -> open with VS Code

In my case the bug relates to TypeScript project only. No debug.log file is created when browsing ReactJS JavaScript project.

In my case its appending to all the folder that is open

/duplicate of #115874 and will be fixed in upcoming 1.53.2


[BUG]

Thanks for taking the time to write a bug report! Use the following prompts to help you describe what's going on.  The more info you provide, the easier it'll be to understand how to fix it for you without having to come back and ask you questions.
Describe the bug
A clear and concise description of what the bug is.
When using Nam in Calkwalk the amp becomes a clean tone when any plugins are added to the chain.
To Reproduce
Steps to reproduce the behavior:

Go to 'FX...'
Click on '.Nam..'
Scroll down to 'Your Amp and chosen Ir....'
Add another plugin into the signal chain.

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS [e.g. Windows 10, macOS 10.15]
Plugin version [e.g. 0.6.1]
Standalone, VST3, or AU
DAW (if applicable)
Windows 10, Calkwalk

Additional context
Add any other context about the problem here.

?

Hi Steven :-)Did you receive my bug report about calkwalk?I've seen there's a new update which might hopefully solve the issue :-)Cheers SteveOn 19 Apr 2023 1:49 am, Steven Atkinson @.***> wrote:
Closed #208 as completed.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Notebook trust warning is an error

Originally reported: https://github.com/microsoft/vscode/issues/115070
Error = something unexpected/bad happened

I believe this is what we want. Untrusted notebooks should be an exceptional case.  Triage to review.

Using a warning will cause the notification to disappear after 30 seconds. This is not acceptable for this message.


[stable/stolon] Fix support for storageClassName

What this PR does / why we need it:
It fixes the support for specifying the storageClassName for the stable/stolon chart.
Which issue this PR fixes
The specified persistence.storageClassName for the stable/stolon is ignored.

Dear @k8s-ci-robot, I signed the CLA now.

/assign @sameersbn
The bot suggest you to have a look at it... So I'm assigning this to you, sorry for any inconveniences.

@rtluckie maybe you want to have a look at this as well?

@luxflux  good catch!  lgtm

/ok-to-test

/lgtm


Add COUNT() condition to conditional statements

Could be beneficial to run conditions based on how many items are in an array of parsed data.
{{if COUNT(products) > 0}}
    Do something
{{end}}

See commit: https://github.com/aoliverwd/brace/commit/faf114517097ed41bc2d5902cda4fb9902aca064


Performance testing using @usebruno/cli

I have checked the following:

[X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add
Bruno's CLI is a powerful tool that allows me endpoint documentation and testing, both in the source code and in the terminal. I would like to have the option to set performance testing configuration and run performance tests against my systems.
Mockups or Images of the feature
Mockups
Command
bru run --p[erformance] path/to/my/file.bru

Example Result
{
  "file/meta/name/here": {
    "url": "https://google.com",
    "method": "GET",
    "headers": {},
    "body": "",
    "result": {
      "connections": 10,
      "execution_time_seconds": 10.07,
      "requests": 1130,
      "read": "1.58MB",
      "requests_per_second": 112.24,
      "transfer_per_second": "160.76KB",
      "threads": 2,
      "thread_stats": {
        "latency_average": 88.96,
        "latency_max": 317.78,
        "latency_standard_deviation": 23.4,
        "requests_per_second_average": 56.49,
        "requests_per_second_max": 99,
        "requests_per_second_standard_deviation": 12.49
      }
    }
  },
  "other/file": {
    "...": "..."
  }
}

I can work this feature, just give me a thumbs up.

That's what I am exactly looking for!


[BUG] diskless - Unhelpful error message in "Create an image from a parameters file" if there are no kernels

This is a minor bug in disklessset tool, it does not impede functionality and is only about improving an error message.
Context
I found this issue when I wanted to test the new "Create an image from a parameters file" functionality of the disklesset tool. I was starting from a "clean" system with no images and kernels present, so the tool was not ready because there are no kernels defined.
Still, the error message was not easily recognizable, I had to activate the traceback to understand the issue.
Process

Start disklessset with no kernels added
Select option 5 "Create an image from a parameters file"
Pass a correct image_data.yml file and confirm

Expected result
A more informative error message related to not having kernels defined. Any of these could work:
[x] An exception occurred durring the installation process !
    The exception was: Invalid kernel parameter value

[-] No kernel available.

[-] No kernels found in /var/www/html/preboot_execution_environment/diskless/kernels/
    Please refer to readme.rst for details on how to obtain kernels.

Current result
Got this error message:
[x] An exception occurred durring the installation process !
    The exception was: argument of type 'NoneType' is not iterable

Possible Fix
This error is generated when checking if the kernel provided is among KernelManager.get_available_kernels(), but that function returns "None" if there are no kernels. Maybe return an empty list instead?

Dear @ginomcevoy
Sorry for the delay. I will have a look. 🙂

PR https://github.com/bluebanquise/tools/pull/20/files

@ginomcevoy Is the proposed PR ok for you ?

Hello @oxedions , looks good to me thanks!


Add the parameter for enable or disable listen of exception.

In many cases, we should not send the error on development node.
Maybe add the parameter for control enable or disable listen to the exception?
sentry:
    enable: "!%kernel.debug%"

That's not always true. Sentry has the possibility to store the environment of the errors, so it can be used in development (or staging or whatever) too.
To disable error reporting, you can either include the bundle only in the prod environment, or set the DSN in the config as null.
(this is a duplicate of #76 #46 #38, closing for this reason)

This should have been added to sentry docs. I was looking to do this in raven for node js. setting the DNS to null works.

That is already stated in the readme: https://github.com/getsentry/sentry-symfony#step-3-configure-the-sdk


Add hosting verifier (ported from ircbot)

Ports https://github.com/jenkins-infra/ircbot/tree/main/src/main/java/org/jenkinsci/backend/ircbot/hosting to GitHub issues.
Minimal changes done just:

Refactor Jira classes out to a plain object for storing field information
Change Jira markup to GitHub markdown
Introduced a Jenkins project checker which forces all users to log into Jira and artifactory before hosting is done
Switched to gmavenplus, groovy and java interop wasn't working for me and this fixed it
Commented out 'updater' functionality i.e. removing -jenkins, may look at it later but it complicates things a bit

There's plenty of other commented out code, it was already like this, no plans to address right now
A follow up PR will add a GitHub workflow that runs this on Issue open and via comment ops

seems fine to me. Do youw want to add the package + name length checker  thing too? or leave it for future?
We can run this and jira in parallel right?

seems fine to me. Do youw want to add the package + name length checker  thing too? or leave it for future?
We can run this and jira in parallel right?

seems fine to me. Do youw want to add the package + name length checker thing too? or leave it for future?

I did add it :) it’s in the maven verifier, didn’t add to Gradle but meh barely get any of those

We can run this and jira in parallel right?

yeah we can , I haven’t touched any of the ircbot code

seems fine to me. Do youw want to add the package + name length checker thing too? or leave it for future?

I did add it :) it’s in the maven verifier, didn’t add to Gradle but meh barely get any of those

We can run this and jira in parallel right?

yeah we can , I haven’t touched any of the ircbot code


Bootstrap from Configuration file

Can this be deployed using a config file and put into a 'read-only' mode so that it may be deployed as part of a CI/CD flow onto infrastructure without needing to worry about managing state and backups etc.
I'd like to deploy this service onto a Kubernetes environment where we declare the endpoints using a configuration file (eg yaml) for all the endpoints, then changes to sites etc would be a redeployment of the services ConfigMap.
Ideally the service would then recognise the configfile change and reload without losing existing state data.

@warmfusion, Would this wipe the database and reinitiate it from the yaml file on every restart?
If you could confirm, I think this is very much easily doable and I'd love to implement it :)

As mentioned, ideally the configfile changes would be recognised dynamically (as configmap modifications change files on disk without notification to running services on kubernetes) such that configs are reloaded and any existing check states are maintained.
The use of a local SQLite database means on kube a volume claim could be used and mounted to provide persistence between instances, so even in the 'worst' case where the pods are fully restarted on config changes, the data would be maintained.
The PR you've mentioned provides a good starting point, and i've added some comments there for some specific consideration.
👍

Closed this Issue because of inactivity.


Remove all deprecated functions and macros

Description
This PR aims in removing all deprecated functions and macros.
See "Additional comments" below
Fix #4029
Status
IN DEVELOPMENT
Requires Backporting
NO
Additional comments
There are still unresolved issues inside marked as "// TODO [TR] for #4029" in the code which need to be worked on.
E.g. the tests made by all.sh for cipher.ccm, cipher.chachapoly, cipher.gcm and cipher.nist_kw don't work as they depend on  mbedtls_cipher_auth_[en|de]crypt() which are used in auth_crypt_tv(). The former now have different list of parameters and work differently and I guess the latter needs to be reworked. So for now those tests are blocked to allow CI.
I decided to create the PR anyway to show what exactly the problem is to larger group of people who may help here.
So reviews with comments are appreciated.
Todos

[ ] Tests
[ ] Documentation
[ ] Backported

Closed due to wrong branch  base.


Replace StartingContext with a ConfigurationContext and restrict configuration in DslCE to being at the beginning of request definition

That would prevent users from creating preconfigured builders


Support no_std +alloc -float

We are trying to do some JSON (de)serialization in the ink!(a smart contract lang compiled to WASM) environment.
There are some limitations of ink!:

no_std
forbid float types and instructions to be deterministic. (statically checked before execution)

And JSON features we want to use:

support alloc::* types
no float types and instructions in the compiled output if we don't use it to ser/de float types.

Current situation:
serde_json: it always outputs float types/instructions in the WASM even if there isn't any floating point type in the Rust types.
serde_json_core: No unexpected floating point output but alloc::* types are not supported.
Could either serde_json or serde_json_core meet the requirements?

I would prefer not to handle this in this crate, but the code is appropriately licensed so that someone could take most of it and make a crate that meets this use case.


Implement http[s] webhooks

Some vendors request to receive hl7 posted (or other http methods) to a url via http[s].
I have a running interface right now that utilizes a two phase webhook where the first part gets an auth key and the second phase sends the actual message with the auth key.
Right now a detstination like the currently supported tcp destination, takes the result (ACK) back from the destination to use in subsequent destination flows. To use the engine for this interface, there would need to be a way to chain variables between destinations with a channel/destination/route map.

#28 paves the way for chaining variables. Just need a http(s) client config for this.


Gaiasky crashes on Window 8.1

yes
Summary
Command Line: -Xms2g -Xmx6g -Dassets.location=. -Dorg.slf4j.simpleLogger.defaultLogLevel=warn -Dorg.slf4j.simpleLogger.showThreadName=false
gaiasky.desktop.GaiaSkyDesktop
Host: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz, 8 cores, 11G,  Windows 8.1 , 64 bit Build 9600 (6.3.9600.20389)
Time: Wed Jun 22 22:01:39 2022 Mitteleuropäische Sommerzeit elapsed time: 45.319197 seconds (0d 0h 0m 45s)
Installation was without problems. Starting with Button Start Gaia Sky works fine, but at a cerrtain point the Gaiasky Window closes without any message
Steps to reproduce
Starting over and over is always the same behavior: crash during the start procedure

Expected results
Actual results
Triaging info
Java version: 6.0.210

What is your operating system and platform?

How did you install Java?

Did it work before?

Did you test with other Java versions?

hs_err_pid12552.log
hs_err_pid5976.log

Hi there, this program is using an old version of Java 17.  Please upgrade to 17.0.3 from adoptium.net and try again.


ThreadingViolation Error

https://counterparty.sentry.io/issues/5918295738/?alert_rule_id=15343752&alert_type=issue&notification_uuid=5e6b80d9-a78f-4029-b779-76d25fcb7bb1&project=4507062633365504&referrer=slack
Possibly related to #1976

I can neither explain nor reproduce. I have set up a workaround here: https://github.com/CounterpartyXCP/counterparty-core/pull/2299/commits/0894f6160364a3a023b31736ed9eda6b58621057


OpenPilot name is trademarked in Australia FWIW...

https://search.ipaustralia.gov.au/trademarks/search/view/1362707?q=openpilot
Goods & Services
Class 9: Auto-pilots; computer software
27-JAN-2011	Trade Marks Registered	Advert
10-JAN-2011	Register Trade Mark	Update
10-JAN-2011	Amend Status from Accepted	Update
28-SEP-2010	Registration fee (1 class)	Correspondence
23-SEP-2010	Accepted Applications for Registration of Trade Mark	Advert
23-SEP-2010	Accepted Applications for Registration of Trade Mark	Advert
03-SEP-2010	Amend Status from Awaiting Advertisement	Update
15-AUG-2010	Clear Report - Approved	Report No. 1
15-AUG-2010	Clear Examination report approved	Update
10-JUN-2010	Applications Filed	Advert
25-MAY-2010	Amend Status from Indexed	Update
25-MAY-2010	Amend Status from Filed - Approved	Update
21-MAY-2010	Approve Filing	Update
20-MAY-2010	Filing Elec Appl'n for TM - Pick List 1 Class	Correspondence

Duplicate issue.

This isn't a duplicate issue.... you have not addressed trademark concerns.


Using High Firrtl Compiler error

If I set compiler to high Firrtl, I get this error:
fo] FFASTTopBuildSpec:
[info] FFASTTopBuild
[info] - should read in ADC inputs *** FAILED ***
[info]   java.lang.AssertionError: assertion failed: No transform in List(firrtl.ChirrtlToHighFirrtl@7e52b3e6) has outputForm LowForm as required by firrtl.transforms.BlackBoxSourceHelper@67a101d4
[info]   at scala.Predef$.assert(Predef.scala:165)
[info]   at firrtl.CompilerUtils$$anonfun$mergeTransforms$1.apply(Compiler.scala:228)
[info]   at firrtl.CompilerUtils$$anonfun$mergeTransforms$1.apply(Compiler.scala:226)
[info]   at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
[info]   at scala.collection.immutable.List.foldLeft(List.scala:84)
[info]   at firrtl.CompilerUtils$.mergeTransforms(Compiler.scala:226)
[info]   at firrtl.Compiler$class.compile(Compiler.scala:314)
[info]   at firrtl.HighFirrtlCompiler.compile(LoweringCompilers.scala:119)
[info]   at firrtl.Driver$.execute(Driver.scala:167)
[info]   at chisel3.Driver$.execute(Driver.scala:161)

Seems like an implementation bug. I assume you strip all of the LowForm transforms away if the high firrtl compiler is used? Idk.

Are you passing a custom transform that is supposed to run on Low Firrtl? The error message could be better but I'm pretty sure that's what's going on.
It does seem like there is a reasonable use case of people trying to look at the High Firrtl before their Low Firrtl custom pass is run. Need to think about how to deal with this.

Sorry if I wasn't clear -- that's exactly what I was trying to do.

What do you think the behavior should be? Just don't run custom transforms that are supposed to be run on a lower form than the compiler uses?
I originally chose this behavior because I worried about people invoking Firrtl with their custom transform and then being surprised that it doesn't get run. Do you think this is a problem? (Obviously the current behavior of erroring needs to change, especially since annotations add custom transforms which could trip this.)

Yea I was using the transform via Annotations. I think custom transforms that should be run afterwards should just not be run. If you "worry," I think it's sufficient just to give a list of custom transforms that weren't run due to using a different compiler...

Yeah I was thinking about having compilers print a list of transforms they are going to run (with order) and custom transforms not run to log-level warn or info.

I think a list of passes being run would be very helpful at some log-level.

This issue is rendered obsolete by a combination of #920 and #1357


Git: Refresh 'all' command

I want to command Git: Refresh for all submodule repository in workspace below.
Because my project have almost 40 submodule.
But i can't find that command or method. Please implement or let me know the method.
And also i want to know below issue would be planned to implement. I think that should be implemented for developer.
(https://github.com/microsoft/vscode/issues/139073)
Relasted to: https://github.com/microsoft/vscode/issues/139073

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


add description, enabled, rating, label properties in the games

Fixed in  https://github.com/gameolive-studio/gameolive-flutter/commit/4e30c5e25bd1f8f1c1a0176136139c8730f9427e


Installation with Carthage is broken

Because the repository doesn't contain a .xcodeproj, Carthage is unable to build the framework, failing silently.
Output when running carthage update --platform iOS --no-use-binaries with a clean workspace:
*** Cloning Then
*** Checking out Then at "2.2.0"
*** xcodebuild output can be found in /var/folders/s0/tjb6sjmd3914dzy5mncptr700000gn/T/carthage-xcodebuild.3bko6H.log

The building step is missing from the log. After the last line, there should be another one with the following:
*** Building scheme "Then" in Then.xcodeproj
I've reproduced this with Carthage 0.25 and 0.24.

Is there any reason to use carthage update with --no-use-binaries option?

I prefer to use --no-use-binaries to avoid binaries built with previous versions of Swift, which sometimes are incompatible.  Also, it is useful when you need to debug a framework.

I removed Then.xcodeproj from the repository to manage the project only with Swift Package Manager. If you'd like to use with --no-use-binaries, can you try 2.1.1 instead?

I'm having the same issue.

@JohnTheBastard which error message did you get?

나도이 문제에 직면 했다 .
감사합나다.

@hebiao6446, which error message did you get?

Is there any reason to use carthage update with --no-use-binaries option?

It's problematic even with Xcode updates. Xcode 9.1 uses Swift 4.0.2 and using precompiled 4.0 binary is impossible.

Module compiled with Swift 4.0 cannot be imported in Swift 4.0.2

I'm getting same issue in iOS project.
Is there a way to solve without downgrading? :sob: @devxoul
$ carthage update Then --platform 'iOS'
*** Fetching Then
*** Downloading Then.framework binary at "2.2.0"
*** Skipped installing Then.framework binary due to the error:
        "Incompatible Swift version - framework was built with 4.0 (swiftlang-9<IP_ADDRESS> clang-900.0.37) and the local version is 4.0.2 (swiftlang-9<IP_ADDRESS> clang-900.0.38)."
*** Checking out Then at "2.2.0"
*** xcodebuild output can be found in /var/folders/h1/s2z3h3c51_g8bcm5z8z8bjjc0000gn/T/carthage-xcodebuild.Dy77Zu.log

Hey guys, I made a new release (2.2.1) which supports Xcode 9.1 :tada:

Any updates?

@MortyMerr, which version of Xcode are you using?

@devxoul 9.2

I'm getting same issue in iOS project.
Xcode  9.2
Apple Swift version 4.0.3
github "devxoul/Then"
% carthage update --platform iOS Then
...
*** Downloading Then.framework binary at "2.3.0"
*** Skipped installing Then.framework binary due to the error:
	"Incompatible Swift version - framework was built with 4.0.2 (swiftlang-9<IP_ADDRESS> clang-900.0.38) and the local version is 4.0.3 (swiftlang-9<IP_ADDRESS> clang-9<IP_ADDRESS>)."

To support future Xcode updates, I think you need to add back proj file for carthage in order to build with --no-use-binaries

I installed Channel.io which includes Then framework with Carthage.
It makes many issues, but finally I got an issue which says.
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: -extract armv7 specified but fat file: /Users/moin/Library/Developer/Xcode/DerivedData/moinRemit-etdanftfmfxyjmbasmgxhsnyearp/Build/Intermediates.noindex/ArchiveIntermediates/moinRemit/InstallationBuildProductsLocation/Applications//moinRemit.app/Frameworks/Then.framework/Then does not contain that architecture
And I added 'run script' in http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/.
How can I solve this problem?

I installed via Pod, which didn't make this error.
Using Carthage is tricky.

Hey guys, I just updated the prebuilt binary of the latest release. Please check it again :)

The same issue was on 2.3.0
*** Checking out Then at "2.3.0"
*** xcodebuild output can be found in /var/folders/4k/dzpnw8352jn_fl5hcc76pjs8k9qytq/T/carthage-xcodebuild.diNH6z.log
*** Skipped building Then due to the error:
Dependency "Then" has no shared framework schemes for any of the platforms: iOS

If you believe this to be an error, please file an issue with the maintainers at https://github.com/devxoul/Then/issues/new

Just works version 2.1.0 with xcodeproj

@Igor-Palaguta Which version of Xcode are you using?

Version 9.3 (9E145)

@Igor-Palaguta Can you share the swift version?
$ swift --version

Apple Swift version 4.1 (swiftlang-902.0.48 clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.3.0

@Igor-Palaguta Hmm, that should work. Can you try again after removing Carthage caches?
$ rm -rf ~/Library/Caches/org.carthage.CarthageKit

@devxoul this error occur when --no-use-binaries is used. Carthage needs project file to work.

carthage update Then --platform iOS
...
*** Skipped installing Then.framework binary due to the error:
"Incompatible Swift version - framework was built with 4.1 (swiftlang-902.0.48 clang-9<IP_ADDRESS>) and the local version is 4.1.2 (swiftlang-902.0.54 clang-9<IP_ADDRESS>)."
*** Skipped building Then due to the error:
Dependency "Then" has no shared framework schemes for any of the platforms: iOS
If you believe this to be an error, please file an issue with the maintainers at https://github.com/devxoul/Then/issues/new
carthage update Then --platform iOS --no-use-binaries
...
*** Skipped building Then due to the error:
Dependency "Then" has no shared framework schemes for any of the platforms: iOS
If you believe this to be an error, please file an issue with the maintainers at https://github.com/devxoul/Then/issues/new

@devxoul Installation via Carthage still no working.

I'd prefer to keep this repository as simple as possible. Carthage requires extra work. (maintaining Xcode projects) It seems that Carthage is going to support SPM-only project from Swift 5 so we better wait for it :)

@devxoul I see where you're going with trying to keep things simple, but you haven't just broken Carthage support by removing Then.xcodeproj— you've broken no-dependency-manager direct-usage support as well.  It's perfectly valid to clone an open-source lib and add it to your xcodeproj as a sub-project.  Now that Then no longer has its own xcodeproj, it is no longer possible to add Then as a subproject building its own static lib or dynamic framework.  Without an xcodeproj, the only option is to add Then's source code directly to one's project directly, combining it into the same binary— which is really a step backwards in technology by about 20 years and has many drawbacks.
I understand you're hopeful for the future and what newer versions of the Swift toolchain could bring.  But we're not there yet.  And we won't be there until Xcode has a GUI integration for adding and managing SPM-based dependencies.  Until Xcode supports SPM directly (without build phase scripts or a whole bunch of command-line work up-front), Then.xcodeproj will be necessary.  Please re-add it until Apple themselves have decided that SPM is mature enough to warrant a full integration with Xcode.

Put another way, my current solution for my project is:
carthage update --no-build
cd Carthage/Checkouts/Then/
swift package generate-xcodeproj
cd -
carthage build

That sucks.

Not to beat the dead horse here, but I just wanted to pop back in because I've been working to update some of my open source frameworks for the latest Swift version and consequently, the latest Swift Package Manager.
And O.M.G. … Swift Package Manager is a steaming hot mess.  I can't even understand how anybody would consider this to be anything but Alpha-quality.  Package(…) arguments that change both in what's allowed and in types allowed every year, dumb auto-assumptions that have no docs explaining them and no search results (i.e. if you have a .modulemap in your library's base directory, the library is auto-assumed to be a system package, which is no longer supported), crap backwards-compatibility (many of my libs support Swift 3.0-5.1, but the swiftLanguageVersions: option no longer has an enum case for .v3), and much much more.
Long story short— no matter what you've read from who, Swift Package Manager needs a lot of work before it could even remotely be considered as an alternative to Carthage or Cocoapods.  Software maturity takes time & effort, and SPM is a malnourished infant.  My personal advice to every other dev reading this is: Don't bother with Swift Package Manager.  I stand by what I said before— when Apple has decided that SPM is mature enough to be integrated into Xcode, it may be worth another look, but until SPM isn't good enough for Apple's Xcode team it isn't good enough for me, and it shouldn't be good enough for you either.


Replace resize icon

Replace resize icon with ratio like this 👇🏾

Hi @dhishkyaon,
This issue has been resolved in the latest changes made to the source code (as seen above). Changes should be visible in the next release.
Thanks a lot for suggesting this enhancement and for expressing your idea in the form of an image 😄


Example of setting service method response type?

This may be a silly question reflecting a service with odd code.
I have a simple service that returns an object using Aspnet 5 rc1.  Method declaration looks like:
public ActionResult GetByProductId(int productId) => new ObjectResult(_productInfoRepository.DescribeProductByProductId(productId));
Where the respository returns a Product object.
Understandably - swagger isn't reflecting that response type.  Is there an annotation I should be using to mark up the method to reflect the actual response type the client will be seeing?
Thanks

Sorry - had this right; debugger was holding an old version open.  User error.

For anyone else that happens upon this issue, the attribute is [Produces(typeof(Product))]


Using a postbuild step in NextjsSite construct

Hi 👋
We start be heavy users of SST 🙃  (merci for all the work on this!!) and we start finding some stuff that might be a bug:
Using NextjsSite construct, we are trying to add the next-sitemap plugin. It is well documented on the README, and basically I need to add a postbuild step in the package.json:
{
  "build": "next build",
  "postbuild": "next-sitemap"
}

When I test locally to build my NextJs app (yarn build), it works:
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
  (ISR)     incremental static regeneration (uses revalidate in getStaticProps)

$ next-sitemap
Loaded env from /****************/frontend-next/.env.local
✅ [next-sitemap] Generated index sitemap and 1 sitemap(s)
  ○ https://**************/sitemap.xml (index)
  ○ https://**************/sitemap-0.xml
✨  Done in 32.66s.

But via SST I don't see this same step:
○  (Static)  automatically rendered as static HTML (uses no initial props)
●  (SSG)     automatically generated as static HTML + JSON (uses getStaticProps)
   (ISR)     incremental static regeneration (uses revalidate in getStaticProps)

Deploying stacks
Checking deploy status...

I know that the NextjsSite construct rely on @sls-next/lambda-at-edge, so I found an interesting equivalent issue: https://github.com/serverless-nextjs/serverless-next.js/issues/1587
But it seems to be possible to use a build.postBuildCommands configuration to run additional step (in my case yarn postbuild for example!).
How can we specify postBuildCommands via SST NextjsSite construct?
Or any other idea? 😇  thanks for your help!
Current version:

SST 0.69.3
@sls-next/lambda-at-edge 3.7.0-alpha.7

Here is an associated thread on slack for the same subject: https://serverless-stack.slack.com/archives/C01JG3B20RY/p1649180675942989

Supported in 1.2.20.
Here's an example https://docs.serverless-stack.com/constructs/NextjsSite#commandhooksafterbuild


[FLINK-16155][docs-zh] Translate "Operator/Process Function" page into Chinese

What is the purpose of the change
This PR translates "Operator/Process Function" page into Chinese.
Brief change log
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Hi @XBaith Very thanks for the Review! I have updated the PR according to the comments.

Very thanks @XBaith and @klion26 for the reviewing, and I feel deeply sorry for the long delay on updating the PR for trapping in some 1.11 related issues. I update the PR according to the comments, and also fixed some other errors met when checking with the compiled web page in the browser.


Testing Dask scalability

Hi!
I'm testing dask scalabitly, in order to do so, I wrote a simple matrix multiplication program. It takes two parameters: matrix size and  number of workers.
import dask.array as da
import dask
from multiprocessing.pool import ThreadPool
import time
import sys
import math

def main():
    try :
       size  = int(sys.argv[1])
       cores = int(sys.argv[2])
    except IndexError:
        print("Usage: python3 matmul_dask.py size cores")
        raise SystemExit

    dask.set_options(get=dask.threaded.get)
    dask.set_options(pool=ThreadPool(cores))

    chunk_size = int(math.sqrt(size * size / cores))
    mat1 = da.random.random((size,size), chunks=chunk_size)
    mat2 = da.random.random((size,size), chunks=chunk_size)

    start_time = time.time()
    mat3 = mat1.dot(mat2)
    mat3.compute()
    end_time = time.time()
    print("Elapse time with " + str(cores) + " cores: %.3f seconds" % (end_time - start_time))

if __name__ == '__main__':
    main()

I tested the program with python 3.5.2, over an Intex Xeon Phi KNL (100 GB, 66 cores) using Threaded and Multiprocessing scheduler, and time required to execute grows with number of workers, as the following chart shows:

Other two tests (stencil and N-body problem) shows the same pattern. I really appreciate if you can help me to understand this behavior.
Thanks,
Guillermo.

Some things to watch out for:

Is your BLAS also multi-threaded?  You'll get contention if so.  See https://goparallel.sourceforge.net/using-dask-library-intel-python/
Multiprocessing will have a lot of data movement, and so probably isn't ideal.  Threads should perform better

There are some notes from a similar benchmark here: http://matthewrocklin.com/blog/work/2015/01/14/Towards-OOC-MatMul
Generally speaking dask.array isn't an optimized BLAS implementation.  If you goal is matmul then you'll probably be better off with OpenBLAS or MKL.
Stencil and N-Body would depend very heavily on how you write down those algorithms.  Naive use of dask.array is unlikely to yield very good results.  Linking to your related stackoverflow question here: http://stackoverflow.com/questions/40249717/efficient-n-body-simulation-with-dask/40250354#40250354


Faucet issue

What version of Wallet are you using?
0.0.1
What is happening?
When i claim faucet he didn't work properly and he tell again and again failed error please solve this issue as soon as possible
steps to reproduce
All good
How it should behave?
Faucet claim issue
What os are you seeing the problem on?
No response
What browser?
No response
What is your browser version?
No response

This error is on our faucet project. We are currently working to improve it. You can keep track of the faucet repo https://github.com/FuelLabs/faucet/.


Switch arg parsing to clap v4 with derive

Should make the code slightly more maintainable. Did my best to preserve old behavior, e.g. flags overriding themselves.
Notes:

clap 4 no longer colors the help prompt
clap 4 displays flags in help in the order they are defined in code
changed some value names to be more descriptive

TODO

[x] Use cargo fmt
[ ] Add necessary tests
[ ] Add changelog entry
[ ] Update default config/theme in README (if applicable)
[ ] Update man page at lsd/doc/lsd.md (if applicable)

Codecov Report

Merging #818 (2d01c90) into master (ea56a7c) will increase coverage by 0.78%.
The diff coverage is 97.87%.

@@            Coverage Diff             @@
##           master     #818      +/-   ##
==========================================
+ Coverage   86.57%   87.35%   +0.78%
==========================================
  Files          44       44
  Lines        4507     4272     -235
==========================================
- Hits         3902     3732     -170
+ Misses        605      540      -65

Impacted Files
Coverage Δ

src/app.rs
39.28% <ø> (-46.19%)
:arrow_down:

src/main.rs
29.41% <0.00%> (+3.09%)
:arrow_up:

src/flags/blocks.rs
96.26% <96.29%> (+0.31%)
:arrow_up:

src/flags/date.rs
96.32% <96.66%> (+2.66%)
:arrow_up:

src/flags/recursion.rs
96.29% <97.56%> (+0.37%)
:arrow_up:

src/display.rs
81.90% <100.00%> (ø)

src/flags.rs
96.77% <100.00%> (ø)

src/flags/color.rs
93.10% <100.00%> (+1.83%)
:arrow_up:

src/flags/dereference.rs
100.00% <100.00%> (ø)

src/flags/display.rs
98.03% <100.00%> (-0.08%)
:arrow_down:

... and 17 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

hi @tranzystorek-io, thanks so much for sending this big PR!
I have glanced at it mostly, and it lgtm in a glance. @meain what do you think about upgrading to v4, if you have not other concern we can play some attention on this and done the migration

Heh, sorry for submitting a large chunk of changes like that, I got slightly carried away once I started drafting the code

@zwpaper If it looks good to you feel free you merge :D.

I have checked most of the code, it mostly looks good to me, and I will test it locally and merge if no problems occurred


At a glance widget for farms

Display the website, social media link and keywords for a farm

Is this for all groups? or just farm groups?
@brodeur i think the group purpose should maybe be here right at the top?

https://www.figma.com/file/ds9HkBxld0mBFfv1O3rihz/Group-Explorer?node-id=1485%3A2

@brodeur I think we need icons assets for both of these icons displayed here. The top one doesn't seem to exist, and while we do have an instagram icon asset, I think its better for now if we just have a generic 'social media' icon we can fall back on, and detect specific sites and match icons in the future


Clear function problem

Hello!
I'm trying to use clear function and I haven't success. Debugging, I saw that when at line 150 (results.db.collectionNames(function(err, names)), my object result doesn't have collectionNames function and I haven't code progress.
My results object:
{ db:     { domain:        { domain: null,         _events: [Object],         _maxListeners: 10,         members: [] },      _events: {},      _maxListeners: 10,      s:        { databaseName: 'pwtests',         topology: [Object],         options: [Object],         logger: [Object],         bson: {},         authSource: undefined,         readPreference: undefined,         bufferMaxEntries: -1,         parentDb: null,         pkFactory: undefined,         nativeParser: undefined },      serverConfig: [Getter],      bufferMaxEntries: [Getter],      databaseName: [Getter],      options: [Getter],      native_parser: [Getter],      slaveOk: [Getter],      writeConcern: [Getter] } }

Same issue here!

It is related to the version of mongodb package.
If you install as dependency of this module<EMAIL_ADDRESS>then all works.
The reason is that newer version of mongo changed the API of the driver, but this module did not update consequently.

clear function without the data argument still does not seem to drop the database when using the mongodb driver (version 2.0.34) that is packaged with this module.


Multiple endpoint with different versions -  Versions are wrongly shared over different endpoints

In one application I have 2 versioned odata endpoints:
/config/V{version}   & /data/V{version}
The /config/vxx  is internal, and I have controll over the applications using it.. wich means that the versions can iterate much faster.
/data/vxx  is  used by 3th parties and should be as stable as possible.
This leading me to this current versions:
/Data/V1 - /Data/V2 - /Data/V3
/Config/V11 - /Config/V12

I have configured this with this code:
    //-----DATA-----
            var modelBuilder = new VersionedODataModelBuilder(configuration) {
                ModelConfigurations = { new DataModelConfiguration() }
            };
            var models = modelBuilder.GetEdmModels();
            configuration.MapVersionedODataRoutes("odata-data", "data/v{apiVersion}", models, ConfigureContainer);
 //-----CONFIG-----
            var configModelBuilder = new VersionedODataModelBuilder(configuration) {
                ModelConfigurations = { new ConfigModelConfiguration() }
            };
            var configModels = configModelBuilder.GetEdmModels();
            configuration.MapVersionedODataRoutes("odata-config", "config/v{apiVersion}", configModels, ConfigureContainer);

This setup seems to work at first sight:
correctly working urls:
/Data/V1    -   /Data/V2   -   /Data/V3
/Config/V11  -  /Config/V12
Problem:
This Url's are giving an empty odata endpoint as result.
/Data/V11   /Data/V12    (only 1,2 & 3 exist)
/Config/V1 /Config/V2 /Config/V3  (only 11 & 12 exist)
{
    @odata.context: "http://localhost:9007/data/v11/$metadata",
    value: [ ]
}

Expected behaviour would be to get this exception:
The HTTP resource that matches the request URI 'http://localhost:9007/data/V11' does not support the API version '11'.

This happens for a  couple of reasons. OData doesn't really care much about the prefix. It's completely ignored from a URI parsing perspective. The VersionedODataModelBuilder collects and collates the API versions from all known OData controllers. It also does not bucketize API versions by prefix (which would be quite difficult to do and is only necessary if you version by path). The result is that both your data and config branches see the same set of API versions.
In this particular case, you might be better registering the routes individually by API version using configuration.MapVersionedODataRoute instead. This would be easy to do for you since you know which API versions you have and how they should be split. You can build the EDMs per API version or build them all and extract the desired model by querying the EDM for the ApiVersionAnnotation that contains the version you want to match.
Another alternative would be to extend the VersionedODataModelBuilder to understand how to divide your controllers. You can see how here and here. You should only need to override GetApiVersions and perform the appropriate filtering. There are many ways the filtering could be achieved ranging from by namespace to using your own custom attribute. You might even extend it with a callback that gets invoked when things are built up. With that in place, I would expect your two endpoints to begin behaving they way you expect.
I hope that helps. I'm happy to answer more questions if you get stuck.

Consider this example:
https://github.com/j-dc/aspnet-api-versioning-samples.git

you might be better registering the routes individually by API version using configuration.MapVersionedODataRoute instead

I was not really sure what you meant by this..
So I tried a few things:
Consider:  2 Endpoints: Data & Config.
Each have 2 versions:
Data\V1   Data\v2
Config\V11  Config\V12

One call to MapVersionedODataRoute per endpoint (as in my original question described):
https://github.com/j-dc/aspnet-api-versioning-samples/blob/d67161ff433b54e755d02107d586427347ad3f99/src/J-DC.Api.Versioning.Samples.MultiEndpoint_01/Startup.cs
So I have one call for 'Config' and one call for 'Data'.

configuration.MapVersionedODataRoutes("odata-data", "data/v{apiVersion}", models);
configuration.MapVersionedODataRoutes("odata-config", "config/v{apiVersion}", configModels);

Now everything that should work, works..    But..  As described there are a few  empty odata endpoints that shouldn't exist.  They even contain a broken metadata link.    Ok, this works.. but it is ugly!

Uri
Expected
Actual
status

Data/V1
OK
OK

Data/V2
OK
OK

Config/V11
OK
OK

Config/V12
OK
OK

Data/V11
error
empty OData
wrong/ugly

Data/V12
error
empty OData
wrong/ugly

Config/V1
error
empty OData
wrong/ugly

Config/V2
error
empty OData
wrong/ugly

One call to MapVersionedODataRoute per Endpoint per version
https://github.com/j-dc/aspnet-api-versioning-samples/blob/d67161ff433b54e755d02107d586427347ad3f99/src/J-DC.Api.Versioning.Samples.MultiEndpoint_02/Startup.cs
So I end up with 4 calls to MapVersionedODataRoute.

configuration.MapVersionedODataRoutes("odata-data-v1", "data/v{apiVersion}", models, ConfigureContainer);
configuration.MapVersionedODataRoutes("odata-data-v2", "data/v{apiVersion}", models, ConfigureContainer);
configuration.MapVersionedODataRoutes("odata-config-v11", "config/v{apiVersion}", models, ConfigureContainer);
configuration.MapVersionedODataRoutes("odata-config-v12", "config/v{apiVersion}", models, ConfigureContainer);`

URL
Expected
Actual
status

Data/V1
OK
OK

Data/V2
OK
empty OData
BREAKING

Config/V11
OK
OK

Config/V12
OK
empty OData
BREAKING

Data/V11
error
empty OData
wrong/ugly

Data/V12
error
empty OData
wrong/ugly

Config/V1
error
empty OData
wrong/ugly

Config/V2
error
empty OData
wrong/ugly

3)same as 2, but I hardcode the versions instead of {apiVersion}
configuration.MapVersionedODataRoutes("odata-data-v1", "data/v1", models, ConfigureContainer);
Short story:  all call's to an odata entity return with an error   "An API version is required, but was not specified."
https://github.com/j-dc/aspnet-api-versioning-samples/blob/d67161ff433b54e755d02107d586427347ad3f99/src/J-DC.Api.Versioning.Samples.MultiEndpoint_03/Startup.cs

Another alternative would be to extend the VersionedODataModelBuilder

You should only need to override GetApiVersions

A bit more work.. especially to get to know the structure. And to provide a way to filter.
So I created a new class-attribute (EndPointAttribute)  that can have a list of included or excluded Endpointnames.
https://github.com/j-dc/aspnet-api-versioning-samples/blob/d67161ff433b54e755d02107d586427347ad3f99/src/J-DC.Api.Versioning.Samples.CustomBuilder/Custom/EndpointAttribute.cs
I created a new ModelBuilder (MyModelBuilder) . This gets the name of the endpoint you want to build.
In this class I override getapiversions and only return the versions of the  respective endpoint.

URL
Expected
Actual
status

Data/V1
OK
OK

Data/V2
OK
OK

Config/V11
OK
OK

Config/V12
OK
OK

Data/V11
error
the V2 version
very wrong/ very ugly

Data/V12
error
the V2 version
very wrong/ very ugly

Config/V1
error
the V11 version
very wrong/ very ugly

Config/V2
error
the V11 version
very wrong/ very ugly

So.. there must be yet another place to check for versions then?
Could you help pointing out where?

While working on this I also discovered that you always will end up with a V1 version..
This V1 comes from VersionedMetadataControllerType and MetadataControllerType .  I had to actually check for this types in my implementation of getapiversions.
https://github.com/j-dc/aspnet-api-versioning-samples/blob/d67161ff433b54e755d02107d586427347ad3f99/src/J-DC.Api.Versioning.Samples.CustomBuilder/Custom/TypeExtensions.cs -> IsNotInternal.
When creating a simple example with one endpoint with only a V17 and V18, i saw I always get a V1 for free..
https://github.com/j-dc/aspnet-api-versioning-samples/blob/d67161ff433b54e755d02107d586427347ad3f99/src/J-DC.Api.Versioning.Samples.SingleEndpoint/Startup.cs

I see. Let me provide some clarity.
Option 1
Register routes by API version using MapVersionedODataRoute (NOTE: the singular form).
Variant A
Build the EDM just as you would without API versioning and then register the route.
var apiVersion = new ApiVersion(1, 0);
var builder = new ODataConventionModelBuilder();

// TODO: build your model

var model = builder.GetEdmModel();

configuration.MapVersionedODataRoute("odata-v1", "data/v1", model, apiVersion);

// TODO: repeat for other versions

Variant B
Build all the EDMs at once, but register the routes one at a time.
var modelBuilder = new VersionedODataModelBuilder(configuration)
{
    ModelConfigurations = { new DataModelConfiguration() },
};
var models = modelBuilder.GetEdmModels();

foreach (var model in models)
{
    var apiVersion = model.GetAnnotationValue<ApiVersionAnnotation>(model).ApiVersion;
   var routeName = "odata-v" + apiVersion.MajorVersion;
    var prefix = "data/v" + apiVersion.MajorVersion;
    configuration.MapVersionedODataRoute(routeName, prefix, model, apiVersion);
}

Option 2
It looks like your implementation is mostly correct.
If you don't want the default API version included, omit where it gets added here in your code. This behavior is for controllers that have no attribution or conventions applied or are API version-neutral. Another alternative is to set the default API version to your initial (or lowest) API version.
You should also use the logical and operator (&&) instead of the binary and operator (&) here so that you short-circuit the condition as soon as possible.
In terms of routing to controllers, I expect this should work.
Additional Observations
You're effectively trying to create subapplications by splitting behaviors at the route prefix. This is not really the intent or design of OData nor would I say is it an officially supported scenario. Without API versioning, it may work because you can only have a single EDM mapped to each prefix. This results in a hard 1:1 mapping between route registration and EDM.
Once you introduce API versioning, you can have 1:* EDMs per route prefix. This causes complications with the MetadataController (~/$metadata) because the division by prefix does not actually result in two separate applications. There can be only one MetadataController registered within an application. Keep in mind that the routing system ties a route (e.g. URL) to a controller type. It is perfectly legal to have multiple routes map to the same backing controller type. This is important in your extended convention builder because if you don't map all of the versions to the MetadataController, you're going to break the $metadata endpoint.
To handle this situation, API versioning aggregates all known OData API versions and maps it to the $metadata endpoint. The MetadataController is, therefore, not API version-neutral. It only supports the API versions defined by the application. This leads to a complication where you want to split things by prefix. I don't think you can achieve this without further work on your part.
I'm trying to think of how you can even do this off the top of my head. I'm thinking your best bet would be to register a custom OData convention that short-circuits the request pipeline. Unfortunately, I think you'd have to throw an exception (HttpRequestException I believe) because route conventions use a Chain of Responsibility. If your convention doesn't match, the system moves on to the next convention until all are exhausted. Another option would be to subclass the VersionedMetadataController (which already extends MetadataController) and return 404 or something like that if the action shouldn't be matched. At this point in the pipeline, you'd have the full request URL, matching EDM, and matching API version.
These are pretty advanced configurations and I don't have any examples handy. If this something you want to pursue and need help, it will take some time to put something together for you. In the meantime, you may be stuck with the inconvenience of an empty result if you hit the $metadata endpoint with the incorrect prefix and API version combination.

Did this help or guide you toward a solution? Were you able to resolve this?

It would appear that you found your own solution or were satisfied with the proposed solutions and guidance. If your issue wasn't resolved, feel free to come back or reopen the issue. Thanks.

Sorry for the very late answer.  I've never solved this issue.  I just learned to live with it.

Sorry to hear that.
A few more possibilities would be to actually host different endpoints. The OData prefix is not an endpoint, it's just a prefix. Separate endpoints or applications would give you the separation you need. Depending on your host, you can give the appearance of a single endpoint with multiple applications. For example, IIS can do this with host header mapping.
You might also be able to use nest ASP.NET Core applications. I don't have much experience using them, but it is possible to map an application to a route prefix with a completely separate configuration. This will have an effect of isolation by route prefix within the same application.
Perhaps one of those will give you more ideas to more easily enable your scenario.


BsonInvalidOperationException: readStartDocument can only be called when CurrentBSONType is DOCUMENT, not when CurrentBSONType is STRING

Data from source system -
<EMAIL_ADDRESS>kafka-avro-console-consumer --bootstrap-server localhost:9092 --topic TTDF.TCDCPOC_DATA_TYPES --from-beginning --property print.key=true --property print.value=true --property key.deserializer=org.apache.kafka.common.serialization.StringDeserializer
"57508564"      {"data":{"SEQNO":{"int":57508564},"TEXT":{"string":"Lorem ipsum dolor sit amet,"},"BIGNUM":{"long":11122233344447},"BINOBJ":{"bytes":"#~Â¦`Â¬| DATA IS STORED AS BINARY|>"},"CHAROBJ":{"string":"<text>THIS DATA IS STORED AS CLOB</text>"},"FLOATNUM":{"double":6.62607015E-34},"CHARVAR":{"string":"consectetur adipiscing elit,sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}},"headers":{"operation":"REFRESH","changeSequence":"","timestamp":"","streamPosition":"","transactionId":"","changeMask":null,"columnMask":null}}

^CProcessed a total of 6 messages
Schema registry -
{
  "subject": "TTDF.TCDCPOC_DATA_TYPES-value",
  "version": 3,
  "id": 12,
  "schema": "{"type":"record","name":"DataRecord","fields":[{"name":"data","type":{"type":"record","name":"Data","fields":[{"name":"SEQNO","type":["null","int"],"default":null},{"name":"TEXT","type":["null","string"],"default":null},{"name":"BIGNUM","type":["null","long"],"default":null},{"name":"BINOBJ","type":["null","bytes"],"default":null},{"name":"CHAROBJ","type":["null","string"],"default":null},{"name":"FLOATNUM","type":["null","double"],"default":null},{"name":"CHARVAR","type":["null","string"],"default":null}]}},{"name":"headers","type":{"type":"record","name":"Headers","fields":[{"name":"operation","type":{"type":"enum","name":"operation","symbols":["INSERT","UPDATE","DELETE","REFRESH"]}},{"name":"changeSequence","type":"string"},{"name":"timestamp","type":"string"},{"name":"streamPosition","type":"string"},{"name":"transactionId","type":"string"},{"name":"changeMask","type":["null","bytes"]},{"name":"columnMask","type":["null","bytes"]}]}}]}"
}

Errors -
[2019-02-12 12:28:48,364] ERROR WorkerSinkTask{id=mongo-0} Task threw an uncaught and unrecoverable exception. Task is being killed and will not recover until manually restarted. (org.apache
.kafka.connect.runtime.WorkerSinkTask:584)
org.bson.BsonInvalidOperationException: readStartDocument can only be called when CurrentBSONType is DOCUMENT, not when CurrentBSONType is STRING.
        at org.bson.AbstractBsonReader.verifyBSONType(AbstractBsonReader.java:690)
        at org.bson.AbstractBsonReader.checkPreconditions(AbstractBsonReader.java:722)
        at org.bson.AbstractBsonReader.readStartDocument(AbstractBsonReader.java:450)
        at org.bson.codecs.BsonDocumentCodec.decode(BsonDocumentCodec.java:81)
        at org.bson.BsonDocument.parse(BsonDocument.java:62)
        at at.grahsl.kafka.connect.mongodb.converter.JsonRawStringRecordConverter.convert(JsonRawStringRecordConverter.java:32)
        at at.grahsl.kafka.connect.mongodb.converter.SinkConverter.convert(SinkConverter.java:44)
        at at.grahsl.kafka.connect.mongodb.MongoDbSinkTask.lambda$buildWriteModel$3(MongoDbSinkTask.java:186)
        at java.util.ArrayList.forEach(ArrayList.java:1257)
        at at.grahsl.kafka.connect.mongodb.MongoDbSinkTask.buildWriteModel(MongoDbSinkTask.java:185)
        at at.grahsl.kafka.connect.mongodb.MongoDbSinkTask.processSinkRecords(MongoDbSinkTask.java:122)
        at at.grahsl.kafka.connect.mongodb.MongoDbSinkTask.lambda$null$0(MongoDbSinkTask.java:111)
        at java.util.ArrayList.forEach(ArrayList.java:1257)
        at at.grahsl.kafka.connect.mongodb.MongoDbSinkTask.lambda$put$1(MongoDbSinkTask.java:110)
        at java.util.HashMap.forEach(HashMap.java:1289)
        at at.grahsl.kafka.connect.mongodb.MongoDbSinkTask.put(MongoDbSinkTask.java:109)
        at org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:564)
        at org.apache.kafka.connect.runtime.WorkerSinkTask.poll(WorkerSinkTask.java:322)
        at org.apache.kafka.connect.runtime.WorkerSinkTask.iteration(WorkerSinkTask.java:225)
        at org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:193)
        at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:175)
        at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:219)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
[2019-02-12 12:28:48,364] ERROR WorkerSinkTask{id=mongo-0} Task threw an uncaught and unrecoverable exception (org.apache.kafka.connect.runtime.WorkerTask:177)
org.apache.kafka.connect.errors.ConnectException: Exiting WorkerSinkTask due to unrecoverable exception.
        at org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:586)
        at org.apache.kafka.connect.runtime.WorkerSinkTask.poll(WorkerSinkTask.java:322)
        at org.apache.kafka.connect.runtime.WorkerSinkTask.iteration(WorkerSinkTask.java:225)
        at org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:193)

Config file -
{
   "name": "mongo",
   "config": {

        "key.converter":"org.apache.kafka.connect.storage.StringConverter",
        "internal.key.converter":"org.apache.kafka.connect.storage.StringConverter",
        "internal.key.converter.schemas.enable":"false",
        "key.converter.schemas.enable": false,
        "key.ignore":"true",

        "value.converter":"io.confluent.connect.avro.AvroConverter",
        "internal.value.converter":"io.confluent.connect.avro.AvroConverter",
        "value.converter.schemas.enable": true,
        "internal.value.converter.schemas.enable":"true",

        "key.converter.schema.registry.url":"http://localhost:8081",
        "value.converter.schema.registry.url":"http://localhost:8081",

        "connector.class": "at.grahsl.kafka.connect.mongodb.MongoDbSinkConnector",
        "topics":"TTDF.TCDCPOC_DATA_TYPES",
        "mongodb.connection.uri":"mongodb://xxxx:Password1@xxxx:27017/testdb?authSource=xxx",
        "mongodb.collection":"TCDCPOC_DATA_TYPES",

        "_comment":"transforms\":\"createKey",
        "_comment":"transforms.createKey.type:org.apache.kafka.connect.transforms.Flatten$Value",
        "_comment":"transforms.Flatten.delimiter:_",
        "_comment":"transforms.createKey.type:io.confluent.connect.transforms.Drop$Key",
        "_comment":"transforms.createKey.skip.missing.or.null\":\"true",
        "_comment":"transforms.createKey.type\":\"org.apache.kafka.connect.transforms.ValueToKey",
        "_comment":"transforms.createKey.fields\":\"data.SEQNO",
        "_comment":"transforms.createKey.static.key:test"
        }
}

@bajaj-varun your configuration for the internal key and value converters is incorrect. In particular, the internal.value.converter uses the AvroConverter, but there is no corresponding internal.value.converter.schema.registry.url. Check your Connect worker logs for errors and warnings, because I'm surprised you got this far.
However, I strongly recommend you only use the JSON converter with schemas disabled for internal converters, configured as:
...
        "internal.key.converter":"org.apache.kafka.connect.json.JsonConverter",
        "internal.key.converter.schemas.enable":"false",
        "internal.value.converter":"org.apache.kafka.connect.json.JsonConverter",
        "internal.value.converter.schemas.enable":"false",
...

Better yet, if you're using Apache Kafka version 2.0 or later (or Confluent Platform 5.0 or later), there are defaults and you can remove these altogether from your worker configuration.
These are used by the Connect distributed worker to store the internal configs, status, and offsets inside Kafka topics. Your own data from the connectors is always read and written via the non-internal converters.
Note that if you cannot change these once you've started your Connect worker cluster. Just be aware that you very well may run into trouble in the future -- hopefully this is a development cluster that you can recreate.

@rhauch Many THX for the answer you contributed here.
@bajaj-varun let me add to that the following. irrespective of what @rhauch suggests I also see that you key seems to be a plain string. this would not work since the connector always expects the data to be parsable from valid JSON. very similar questions have come up in the past. e.g. read about potential solutions here #36 or #64.
please let me know if this helps to fix your problem.

Hi @rhauch , @hpgrahsl
Good morning. Hope you are doing great and Thanks for your response. Out of curiosity, is there any way possible to skip reading of "key" because this is part of simple POC where we just need to consume the message and dump to downstream without any modification in nested data ?

Hi @hpgrahsl your referenced solutions helped also we made key as null to skip the keys and the solution also worked as for POC we need only values. Thanks again for your help and marking the issue as close.

@bajaj-varun glad to hear you got it working for your use case! if you do more than the POC let me know. always happy to learn about yet another real-world story :) ah and also thx for closing this.


add skeletal muscle glucose uptake terms

We have terms for muscle in general and cardiac muscle but not for skeletal muscle glucose uptake, we should add abnormal/increased/decreased terms

Changed primary term label for abnormal cardiac cell glucose uptake MP:0004039 (and child terms decreased cardiac cell glucose uptake MP:0030020 and increased cardiac cell glucose uptake MP:0030018) to "cardiac muscle cell glucose uptake" to be in sync with existing EQs.
Added new terms:
abnormal skeletal muscle cell glucose uptake MP:0031617
decreased skeletal muscle cell glucose uptake MP:0031618
increased skeletal muscle cell glucose uptake MP:0031619
EQ of all  new terms use


[Feature] Enforce Player state

Create a new variable ENFORCE_PLAYER_STATE which should default to YES, which will cause the startup script to remove audio device state information from the state file (/db/state). So, the state of the player will depend on the container configuration. Remember that all the outputs are enabled if the *_ENABLED variable is not specified.
You can disable this feature by setting the variable to no.

Available in release 2023-01-20


Ogp image for property detail page

Proposed Changes
add header metas

add og:image
add og:title
add og:description
add twitter:card
fix title

Implementation

property detail page (/pages/[propertyAddress].tsx) change to ssr from static
add ogp meta in header

TODO

[x] use https://github.com/dev-protocol/ogpimage-stakessocial instead of https://github.com/hhatto/ogp-image-vercel
[x] more integration tests

With Stakes.social's multi-chain support, these changes need to have network information, additionally. Also, since we cannot use GraphQL on L2, replacing the implementation with Dev Kit JS is essential 🤔

I see.
ogp image server is implemented with Deno 🦖
https://github.com/dev-protocol/ogpimage-stakessocial
I would like to be able to use Dev Kit JS with Deno.
I tried it before, but gave up because of an error 😓
I'll try again 💪 (or replace it with a non-Deno TypeScript.)


Fix image build in molecule verify

For some reason we now need to provide full path to the Containerfile. I'm honestly not sure why.

Sorcery at play here, otherwise it LGTM


Latest version close safari automatically after GPT's response finished

It seems on the latest version 2.8.3 the browser (safari) will close itself after the GPT finishes streaming.

Hi, thank you for your report. I confirmed that 2.8.3 had issues with Safari. Please try 2.8.4, which offers improved support for Safari.

Confirmed it's now working, thank you!


Link the github repository in the note

Unless I'm doing this wrong (atleast as far as I read it the part I'm changing is HTML despite the file being .vue) this should be good to go
EDIT: Also as note I probably should've told you or asked first but i think it'd be best if you hyperlink the github repo on that note so issues don't have to only be told late if someone (somehow atleast) misses the repo

That's a good idea, thanks!
I'm using TailwindCSS though, which means that without further classes, that link will appear completely unstyled and just like the text around it. Could you add the classes text-sky-400 underline to the link, so it looks like all the other links on Roarer?

That's a good idea, thanks! I'm using TailwindCSS though, which means that without further classes, that link will appear completely unstyled and just like the text around it. Could you add the classes text-sky-400 underline to the link, so it looks like all the other links on Roarer?

Will do - That'd be  right?

Yep, thank you!

Yep, thank you!

Alrighty then!
No problem!!