native: fix Policy's IsBlocked behaviour

Account is blocked when it's in the Policy's storage, not when it's missing from the storage. Introduced in bbbc6805a8261bca51428ae9e96340fc62704b61.
This bug leads to the fact that during native Neo cache initialization at the last block in the dBFT epoch, all candidates accounts are "blocked", and thus, stand-by committee and validators are used in the subsequent new epoch. Close #3424.
This bug may lead to the consequences described in #3273, but it needs to be confirmed. @fyfyrchik, is it possible for your network to check whether "faulty" node has been restarted in the last block of some dBFT epoch? And then check what the receivers of block rewards in the next dBFT epoch are stand-by validators/committee. If so, then the problem is the same, since this bug leads to the wrong block reward distribution (to stand-by committee instead of elected committee) which may result in the failing OnPersist script if, for example, the sender of some in-block transaction is an elected committee member or validator.

And then check what the receivers of block rewards in the next dBFT epoch are stand-by validators/committee.

Probably that will be easier to check than the node restart. So if an elected committee drives the network, and then occasionally (without voting or NEO transfer transactions) the "faulty" node starts to reward stand-by accounts in OnPersist/PostPersist (may be checked by Transfer notifications for blocks applog), then that's the case.


TChannel fix.

Fixes issue #366.  Apparently std::sort requires a comparison operator equivalent to < not <=.

Add relative path for libraries for mac makes it so that DYLD_LIBRARY_PATH doesn't need to be set - there's an equivalent command for linux, but haven't looked into it yet (I can if there's interest).
Keep object files for debuggers keeps .o files so that eclipse and Xcode work on mac. (I'm not sure if eclipse needs them on linux machines).


Getting information about keys not found due to redis availability error

It is correct to write to the cache only those keys that do not really exist. If the shard was unavailable when reading the key, then it would be good to know this information so as not to create a spurious write to a non-working shard.

@git-hulk let's make a new release version!

@nvorobev Thanks for your contribution. Do you want to maintain this repository? if yes, I'll invite you to become writer.

@nvorobev Thanks for your contribution. Do you want to maintain this repository? if yes, I'll invite you to become writer.

@git-hulk  yes, I will be happy to help in the development of the project!

Cool, invited. Can check your GitHub binding email to accept the invitation.
Welcome @nvorobev!

done, thanks!


Missing documentation 'Limitations (and workaround)'

Limitations (and workaround)
The API of your Alfen Wallbox EV Charger currently allows only 1 active connection.
Therefore you need to pay attention while using this HA integration:
1:  Logout from your 'Eve Connect' or 'MyEve'-app on your smartphone (or any other app using the API)  when configuring this integration. As a side effect from not being logged out in the other app (=1 active connection), the integration won't show any values after configuring.
2:  Your 'Eve connect'- app will show 'Waiting...' and 'Status unknown, please wait...', while HA is connected to your Alfen Wallbox.
As an easy workaround, we have provided two buttons to logout and login from the API in HA:

HTTPS API Logout
HTTPS API Login
After pressing the 'HTTPS API Logout' in HA, your 'Eve Connect'-app (or any other app using the API) will be functioning again.
You can always reconnect when needed.

you can also create MR if you want on the readme file


How to increase accuracy?

I am getting very less accuracy.
I have a dataset of 1700+ audio wav files.
please tell me how to increase the accuracy because i m getting only 8.5% accuracy after traning.
help me please. as i m a beginner

Hello Syed Shah,
Try to start training with the model parameters that I have used. After that you can change the parameters and experiment.


Fixes YAML format tests result in warning from unsafe load()

YAML format tests result in warning from unsafe load() per https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation
Moves file format tests into own test classes.

Fixes #16

Fixes #16

Also is minor progress towards #1 as it adds json tests to check()

Thanks man!

 :)


Cannot connect to clusters after updating to 5.5.0 (Invalid credentials)

Describe the bug
Could connect to the cluster with lens prior to 5.5.0 but now I'm greeted with "Invalid credentials" and cannot connect/
To Reproduce
Upgrade to 5.5.0 from an earlier release
Expected behavior
Connect to cluster with perfectly valid kubeconfig file!
Screenshots

Environment (please complete the following information):

Lens Version: 5.5.0-latest.20220525.1
OS: macOS
Installation method (e.g. snap or AppImage in Linux): Auto update

Logs:
No time to do this yet!

Kubeconfig:
On-prem config (cannot share it)
Additional context
n/a

Same issue here
Environment:

Lens Version: 5.5.0-latest.20220525.1
OS: Windows 10
Installation method: Auto update

What sort of clusters are you trying to connect to? I have tried the following and cannot seem to reproduce.

local minikube
local docker desktop
lens spaces shared cluster
AWS cluster authenicated via aws eks update-kubeconfig

Same here after upgrading from 5.4.6. We were already suspecting this as a fresh install couldn't connect, so to verify we have connected from 5.4.6, then do the update to 5.5.x latest and cannot connect anymore.

Rancher managed on-prem cluster throws Invalid credentials
on-prem OpenShift gets connected but nothing loads up (blank screen).

Seems like a duplicate of https://github.com/lensapp/lens/issues/5455

@AfonsoNeto Yes probably, will close this in favour of just reporting on that one.


Add debug mode for Tobiko

Similar to debug mode for Tempest, this patch introduces new option for test-operator that keeps the pod running after a successful run or even after a failure has occured. It resolves the issue that oc rsh session is killed once the execution of the run_tobiko.sh file finishes.

We can merge this once the tcib change is merged as well -> [here|https://github.com/openstack-k8s-operators/tcib/pull/193]


Security issues

Hi there!
I use your package for https://github.com/julianpoy/recipesage.
I was wondering if you'd accept a PR to update some of the dependencies in this repo since they're throwing some security warnings. Admittedly they're only devDependencies but still figured I'd reach out.

Yep! Great to hear its being used

Also, awesome project! That's exactly the kinda thing I created this library for.
I similarly wanted to have a list of recipes, grocery lists, and an inventory/pantry list. So you could say

"I want to make X for Y people, based on what I already have - add what I need to my grocery list."
"Based on what I have what meals can I make"
Ingredient alternatives, etc


Client cert authentication flow

Added a client cert authentication flow to Connect-MSIntuneGraph via a clientCert parameter set. Much safer than Client Secret and follows best practices.

Just to note, it might be worth making a note in the documentation if this pull is approved.
MSAL.PS does not support all certificates. I attempted to set this up in our environment and we had to create non-CNG certificates for MSAL.PS to work. It has something to do with the version of .Net the module was written in. If you are OK creating non-CNG this change will work. We don't want more issues coming to this repository for an issue that belongs upstream.
Please reference https://github.com/AzureAD/MSAL.PS/issues/67
Ignore the users 2nd comment related to teams. The OP is the error you will see with non-CNG certificates.

Thank you for creating this PR! It's been on my todo-list, but I've not really prioritized it yet, so thank you. I'll merge this now :)


Create docker image with Cyclus, cycamore and d3ploy deps

Create docker image with Cyclus, cycamore and d3ploy deps

there already exists a docker image with Cyclus and Cycamore. here


[rake] Corrects rake spec to report true build status

Build step was exiting with code 0, even when tests fail. This causes Travis to report a successful build, even though tests have failed.

The command "bundle exec rake" exited with 0.

transmission-rpc-ruby (master) > rake
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.
F............................

Failures:

  1) this test fails intentionally
     Failure/Error: expect(true).to eq(false)

       expected: false
            got: true

       (compared using ==)
     # ./spec/spec_helper.rb:19:in `block (2 levels) in <top (required)>'

Finished in 0.21924 seconds (files took 0.40102 seconds to load)
95 examples, 1 failure

Failed examples:

rspec ./spec/spec_helper.rb:18 # this test fails intentionally

[Coveralls] Outside the CI environment, not sending data.
transmission-rpc-ruby (master) > echo $?
0 #=> should be 1

Changed the definition of rake spec to use library rake task instead of a system call. This causes exit code to be set correctly.

Coverage remained the same at 97.411% when pulling bcd907b3f0f85e8530017b9f0a912f6a97ad6d39 on harman28:rake_spec_fix into ceb31e1b8586e884f40d3d57e8147b56bcfdb3c7 on transmission-rails:master.

Coverage remained the same at 97.411% when pulling 661882545a2cbac5a05a7ded4e3dc946ecaa0356 on harman28:rake_spec_fix into ceb31e1b8586e884f40d3d57e8147b56bcfdb3c7 on transmission-rails:master.

@tsov Can this be merged? Or any changes to be made?

@harman28 thank you for your contribution, looks like I didn't get notified on the PR.
This is looking good 👍  Will merge now


Add comparators to Ops

Alongside the Equals method from #4, other comparators would be useful. Might be able to condense all of it to a compareTo method.

Implemented Comparable and used the sum of the matrix and the magnitude of the vector as the compared value


Trying to set the ReverseX and ReverseY feature in PLAYING pipeline

Hi @thiesmoeller
When I launch the pipeline from C and initialize the ReverseX and ReverseY features, they are correctly initialized to the indicated value.
gst_child_proxy_set(cp, "cam::ReverseX", FALSE, NULL);
gst_child_proxy_set(cp, "cam::ReverseY", FALSE, NULL);
But when the pipeline is running and I try to modify this feature again, the change is not made when in all other parameters it allows to change the value. Could it be because I am not doing it correctly or could it be something related to the library?
Thank you!

What is the camera model, that you use ?

My camera is Basler daA3840-45uc (USB Model)
I already had the problem with decimal values in some properties, but when I tried to modify the value of ReverseX and ReverseY with the pipeline running don't work

The decimal issue has been fixed recently.
See attached a patch to current repo, that uses ReverseX feature in the pylonsrc example program.
0001-quick-demo-for-reversex.patch

Hi @thiesmoeller,
Regarding the OffsetX/Y and ReverseX/Y parameters, they are supposed to be modifiable in PLAYING state, but when I try to change any of them with the pipeline running, I get the following errors and it does not allow to modify them:
Unable to set pylon property "ReverseY" on "Basler daA3840-45uc (40430213)": Node is not writable.
Unable to set pylon property "OffsetX" on "Basler daA3840-45uc (40430213)": Node is not writable.
What can this be due to?


allow customising social metadata

Describe the feature

[ ] twitter link
[ ] og organisation schema

Additional information

[x] Would you be willing to help implement this feature?

project is currently limited to unjs usage only with unjs twitter as only source. let's make this list later when we start to make it general purpose (which sadly i don't think would be that soon to track)


Number of flows that can be owned by a user

I would love to see the number of flows that can be owned by a user here as well.

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

ID: 0a7b1f84-92bd-7188-a7d0-359a930525dd
Version Independent ID: dd7d2d01-bdee-b656-ca63-e19305963d28
Content: Limits and configuration - Power Automate
Content Source: articles/limits-and-config.md
Service: flow
GitHub Login: @stepsic-microsoft-com
Microsoft Alias: stepsic

@Laskewitz Thanks for reporting this issue. We'll update the docs and publish shortly.


Replace recommonmark with MyST

🚀 Feature
MyST is a markdown parser for Sphinx.  Currently we use recommonmark for our markdown docs (mostly in docs/source/developers)... but it would be nice to try out MyST to see if it can provide more of sphinx directives that we might want to use.
For prior discussion see https://github.com/napari/napari/issues/1365 and https://github.com/napari/napari/issues/1049
and for an example of another repo converting to myst, see https://github.com/jupyterhub/zero-to-jupyterhub-k8s/pull/1628
As a start, it might be nice to see how the tables in https://github.com/napari/napari/blob/master/docs/source/explanations/rendering.md might be formatted when using myst,
or perhaps see how some of some of the :meth: and/or :func: references in a typical RST doc would be accomplished with myst.
Motivation
allow devs to write docs in markdown  while also using all the nice sphinx directives.

we've moved to jupyter-book!


⚠ ClamAV has degraded performance

In f4417b9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 71 ms

Resolved: ClamAV performance has improved in ced0439 after 5 minutes.


Add the user login/register controls to the UI

It would be easy enough to drop in Girder's.  They used to exist but were removed in an overly aggressive purge.

@mgrauer should this be a low priority task?

I wanted to specify some initial tasks for @katelynnobrien and @essamjoubori related to UI work.

Roger that @mgrauer

This is another one, in order to be usable we need to have login/register controls.  Currently you have to go through girder to log in.  This needs to be in 0.1.0 to be usable.


How to use Window Mode / Future Planning

How can i use Window mode , and do you plan some kind of convergence (Canonical) or continuum like Microsoft , maybe you can create a small but efficient application community which makes easier to connect mobile , cloud/server and desktop to each other and other devices
I'll be happy to connect with you with these subjects

Freeform window mode is only available on Android 7.0+ devices.  If you have a 7.0+ device then it can be accessed by following the directions in the README.
Taskbar has a sister project called SecondScreen that, when paired with Taskbar, provides a Convergence / Continuum-like experience on stock Android devices.

Thanks for the information , i'll use your software and hope i can contribute it ...


Make UtensilSystem and SharpSystem not run AfterInteract if it has already been handled

About the PR
Otherwise a tool that is sharp and/or an utensil can never be used for anything else, even if you make your event handler run before both of theirs.
This also makes the event handler in SharpSystem run before the one in UtensilSystem, otherwise you can't butcher a dead mouse since it will be blocked by the knife trying to be used and failing, yet still setting handled to true.
There's probably going to be some edge case with a particular tool since a lot of things don't properly set and read Handled.
Media
https://github.com/space-wizards/space-station-14/assets/10968691/164848f6-3f9a-46b5-8e6d-db58a1dffb2d

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Was working on this here #25661 and delta suggested the popup and butchering conditions should return true.


Progress Bar (Startseite)

Code for pakistan has a great counter on their homepage: http://codeforpakistan.org/
Would be great to also have something similar on our website: Counting Members, Repos etc.

I added a screenshot .. before it disappears.

Code for Romania as well: https://code4.ro/proiect/centru-civic/


feat: Add --log functionality for additional commands and resources

What this PR does / why we need it:

Jobs with the "helm.sh/hook": "test" annotation will now work with helm test --logs. This previously caused helm to error due to searching for a pod with the same name as the job.
Upgrades that have Pods or Jobs that contain an upgrade annotation (e.g. "helm.sh/hook": pre-upgrade) can now run with --logs to print the logs once the upgrade completes.

This is important because the cause of the hook related upgrade failures is not possible to determine with the helm output, and requires investigating kubernetes job logs.
Special notes for your reviewer:
I'm unsure if this code is possible to unit test because it relies on the output of annotated pods. If there is an integration test framework for helm, I will add tests to that. I was able to manually test with the following helm single-file chart:
apiVersion: batch/v1
kind: Job
metadata:
  name: post-install
  annotations:
    "helm.sh/hook": post-install
    "helm.sh/hook-delete-policy": before-hook-creation
spec:
  template:
    spec:
      containers:
      - name: test
        image: ubuntu
        command: ["echo",  "hello world"]
      restartPolicy: Never
  backoffLimit: 1
---
apiVersion: batch/v1
kind: Job
metadata:
  name: test
  annotations:
    "helm.sh/hook": test
spec:
  template:
    spec:
      containers:
      - name: test
        image: ubuntu
        command: ["echo",  "I'm a test!"]
      restartPolicy: Never
  backoffLimit: 1
---
apiVersion: v1
kind: Pod
metadata:
  name: backwards-compatible
  annotations:
    "helm.sh/hook": test
spec:
  containers:
  - name: test
    image: ubuntu
    command: ["echo",  "I'm a test pod!"]
  restartPolicy: Never

If applicable:

[x] this PR contains user facing changes (the docs needed label should be applied if so)
[ ] this PR contains unit tests
[x] this PR has been tested for backwards compatibility

Hello thank you for your PR. There are some issues with the GH actions could you please address that so we can review?

Hi @robertsirc, the latest commit looks successful on my end. If there's any links to failures I can take a look!

We appreciate your PR. Your account is coming up Unverified could you correct that?

@robertsirc is there anything else that is needed to get a review? This PR does a few things, and I'd be happy to strip it down to do a single thing if that helps the review process -- I'm mostly interested in getting log output for helm upgrades.


Allow per user config/session variables set serverside

Right now resource groups allow things like hardConcurrencyLimit saying a particular user can run x amount of queries in parallel. Would be good to also set query_max_execution_time values per user too on serverside.

This is possible today with https://prestosql.io/docs/current/admin/session-property-managers.html


JS Dialog not seen ?

I get this error when running my test Facebook\WebDriver\Exception\UnexpectedAlertOpenException: unexpected alert open: {Alert text :
However when I derive my DuskTestCase from the original one
use Laravel\Dusk\TestCase as BaseTestCase;
I do not get this error...
My testscript expects the alert open, and uses
$browser->acceptDialog();
to close it

This code only works when I derive from the starndard, when I derive from the package this breaks with unexpected alert
            $browser->waitForDialog(5);
            $browser->acceptDialog(); // do the delete


fails to read in CCID mode (linux)

Yubico Authenticator version: 4.3.5 (from AppImage)
Operating system and version: Debian Stretch
YubiKey model and version: Yubikey NEO
Bug description summary: In CCID mode, it says:

Authenticator mode is set to CCID, but the CCID connection mode is not enabled.

I've enabled CCID on the Yubikey NEO, and if I insert the exact same key into a Mac running Yubico Authenticator, it correctly displays my expected OATH pairs. I've found no problems reading from the Yubikey slots on Linux.

Thanks for the report. Is pcscd installed and running? If it is, could you please run the app with --log-level DEBUG and post the output here?

Installing pcscd did the trick! I didn't realize that was a dependency; did I miss that in the documentation somewhere?
Thanks for the help!

Good that you got it to work. Yes, the dependency on pcscd needs to be better documented for the AppImage.


Completion backspace corrupts current line

Describe the problem
Certain combinations of backspace and tabs cause the line input to get corrupted
Steps to reproduce the problem
Create the simple example below:
COMPLETIONS=%w'abc abc1 abc2'
reader = TTY::Reader.new(
  completion_handler: ->(word) { COMPLETIONS.grep(/^#{Regexp.escape(word)}/) },
  completion_suffix: " "
)
reader.on(:complete) do |event|
  puts "#{event.line}\n#{event.completions.join("\n")}"
end
reader.read_line('>> ')

And press the following keys:
<TAB><TAB><BACKSPACE><BACKSPACE><TAB><TAB>

Actual behaviour
The following happens:
[key: <TAB>]
>> abc
abc
abc1
abc2
>> abc _
[key: <TAB>]
>> abc1
abc
abc1
abc2
>> abc1 _
[key: <BACKSPACE><BACKSPACE><TAB>]
>> abc
abc
abc1
abc2
>> abc _
[key: <TAB>]
>> aabc1
abc
abc1
abc2
>> aabc1 _

After the last <TAB>, the input line has prepended an extra 'a' character in front.
Expected behaviour
Line input after last <TAB> should be 'abc1 '
Describe your environment

OS version: Linux Ubuntu 24.03
Ruby version: 3.2.3
TTY::Reader version: github head

BTW, in my own application I set the suffix to '' (empty string) and I see the same thing happening. So, it does not seem to be related to the suffix string.


cron expression format

Hi,
I read in #329 that you use the NCrontab format, specifically the 6 field format. When I view the documentation, I'm not seeing a 6th field -- just 5.
I'm trying to set a trigger to kick off every Monday at 1am using the following expression: 0 1 * * 1.
Unfortunately, I'm seeing the following error: '0 1 * * 1' is not a valid CRON expression.
Thanks,
James

Yes, we use 6 fields. What documentation are you referring to?

https://github.com/atifaziz/NCrontab
Maybe I'm missing something?

CronTabSchedule.Parse takes an options that allows us to declare that we want seconds. See our TimerTrigger code here: https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions/Extensions/Timers/Scheduling/CronSchedule.cs#L22.
He chose to focus his doc on the more common 5 field format I guess.

Thanks, @mathewc! That did the trick 👍


Expecto runner no longer works with Expecto 4

I created a new project copied from ProjectScaffold, and adjusted it to run tests with Expecto instead of NUnit. Since I didn't specify a version for the Expecto packages, Paket automatically grabbed Expecto version 4, which has just been released. But when I go to run Expecto tests within VS Code, or use the new Watch mode, I get the error "ERROR unknown options: ". There's nothing after the colon except a single space, followed by a newline. If I downgrade the Expecto dependencies (Expecto, Expecto.BenchmarkDotNot, and Expecto.FsCheck) in my paket.dependencies to version 3 by adding ~> 3 after each of them, then running a Paket update, then I can run Expecto tests within VS Code without any problems.
So Expecto version 3 works, but version 4 is giving me an error I can't (yet) track down when I try to run tests from within VS Code.
This is with VS Code 1.9.1, Ionide-fsharp 2.23.0, on Linux Mint Debian Edition (based on Debian Jessie).

Should be fixed in 2.23.5 and latest Expecto


Setting up a KnowledgeBase with SyncReasoner, getting errors in ClassHierarchy

Im trying to set up my project using ontolearn, specifically a KnowledgeBase using a SyncReasoner and I'm having trouble getting it to work. Here is a minimal example on the father.owl ontology and using ontolearn 0.8.1 and owlapy 1.3.3:
from ontolearn.knowledge_base import KnowledgeBase
from owlapy.owl_reasoner import SyncReasoner
from owlapy.owl_ontology_manager import SyncOntologyManager
from owlapy.class_expression import OWLClassExpression, OWLClass
from owlapy.iri import IRI

onto_file_path = "tests/data/father.owl"
ns = "http://example.com/father#"

manager = SyncOntologyManager()
onto = manager.load_ontology(onto_file_path)
reasoner = SyncReasoner(onto, reasoner="Openllet")

kb = KnowledgeBase(
    ontology=onto,
    reasoner=reasoner,
    load_class_hierarchy=True,
)
#kb = KnowledgeBase(
#    path=onto_file_path
#)

owl_expression = OWLClass(IRI(ns, "male"))
print(reasoner.instances(owl_expression))
for i in reasoner.instances(owl_expression):
    print(i)
print(kb.individuals(owl_expression))
for i in kb.individuals(owl_expression):
    print(i)

The stacktrace I get when I run this code is the following:
Traceback (most recent call last):
  File "/home/cwrk/Work/semanticlog/tests/debugging.py", line 14, in <module>
    kb = KnowledgeBase(
  File "/home/cwrk/miniconda3/envs/semlog/lib/python3.10/site-packages/ontolearn/knowledge_base.py", line 188, in __init__
    self.data_property_hierarchy) = init_hierarchy_instances(self.reasoner,
  File "/home/cwrk/miniconda3/envs/semlog/lib/python3.10/site-packages/ontolearn/utils/static_funcs.py", line 162, in init_hierarchy_instances
    class_hierarchy = ClassHierarchy(reasoner)
  File "/home/cwrk/miniconda3/envs/semlog/lib/python3.10/site-packages/owlapy/owl_hierarchy.py", line 286, in __init__
    super().__init__(OWLClass, arg)
  File "/home/cwrk/miniconda3/envs/semlog/lib/python3.10/site-packages/owlapy/owl_hierarchy.py", line 51, in __init__
    self._init(hier_down_gen)
  File "/home/cwrk/miniconda3/envs/semlog/lib/python3.10/site-packages/owlapy/owl_hierarchy.py", line 124, in _init
    _children_transitive(self._children_map_trans, ent=ent, seen_set=set())
  File "/home/cwrk/miniconda3/envs/semlog/lib/python3.10/site-packages/owlapy/owl_hierarchy.py", line 397, in _children_transitive
    _children_transitive(hier_trans, sub_ent, seen_set | {ent})
  File "/home/cwrk/miniconda3/envs/semlog/lib/python3.10/site-packages/owlapy/owl_hierarchy.py", line 394, in _children_transitive
    sub_classes_ent = frozenset(hier_trans[ent])
KeyError: OWLClass(IRI('http://www.w3.org/2002/07/owl#', 'Nothing'))

From the error I could gather that there is something wrong with how the class hierarchy of the KnowledgeBase gets initialized? If i set load_class_hierarchy=False it works, but then fails when I try to learn something. Alternatively, if I use something besides the SyncOntology/SyncReasoner it also works just fine. However, I need to be able to set the reasoner and thus need the SyncReasoner for my project.
Have I set something up wrong? Where are my mistakes? Are there some further resources, besides the documentation, examples and tests? So far I could not figure out how to make it work. Any help would be greatly appreciated.

Hi @CronosC, your setup is fine and there is no mistake by your side.
Although SyncReasoner has been around for a while, it is considered experimental and we have not yet tested its integration with Ontolearn for any possible issue. However the error you are dealing is not directly related with the Ontolearn integration.
As you may have noticed we define hierarchies for classes and properties where the initialization includes setting transitive links between entities within a hierarchy. The error we have in hand here emerges from owlapi(the Java library we use in owlapy) where for some reason, bottom class/properties (owl:Nothing, owl:bottomObjectProperty, owl:bottomDataProperty) are considered a subclass/subproperty but not a class/property of the classes/properties in signature. However, we will look further into this issue and provide a solid solution on the next release.
Meanwhile if you need immediate solution you can make the following change in your local owlapy package:
# site-packages/owlapy/owl_hierarchy.py

# line 116-119
for ent, sub_it in ent_to_sub_entities.items():
+ sub_it_without_bottom_entity = set(sub_it) - {OWLNothing, OWLBottomObjectProperty, OWLBottomDataProperty}
  self._children_map_trans[ent] = sub_it_without_bottom_entity
  self._parents_map_trans[ent] = set()

This is a temporary solution that I don't recommend anyone doing because its not tested, may potentially come with loss of information and the problem is still being investigated, but for now it will make your code work so you may continue with your experiments until we patch this problem.


Make sign in more discoverable

The sign in option in the user dropdown is easily missed. Consider showing the sign in button directly in the toolbar instead.

:tada: This issue has been resolved in version 6.30.0 :tada:
The release is available on:

GitHub release
v6.30.0

Your semantic-release bot :package::rocket:


Investigate replacing File.getCanonicalPath with Path.getRealPath()

[@quintesse] See #2416 but in short @lukehutch mentioned:
"As an example of what could go wrong, imagine a project root at MyProject/source that has a symlink from MyProject/source/com/xyz/package to MyOtherProject/source/com/xyz/package. Calling getCanonicalPath() will cause the source links to be based in MyOtherProject, while the source root is still in MyProject (because the source root occurs above the symlink).
I think the right thing to do is to never follow symlinks when absolutizing paths. You still need to handle ".." etc.
The "One Right Way" to handle paths in JDK >= 1.7 is using Path, not File. I recently switched a bunch of my own code from File to Path, and it's significantly nicer, more robust, more portable and safer to do things the Path way.
In this case, I think what you want is Path.toRealPath(LinkOption.NOFOLLOW_LINKS)."
[Migrated from ceylon/ceylon-compiler#2419]

I should add that you need to search the source for both "CanonicalPath" and "CanonicalFile" to find all the places that need to have symlink resolution removed.
Switching the source loader and the module loader APIs to use Path objects rather than String or File objects should help find a lot of the places in the code that could be switched to using Path (in order to remove the duplicated code for doing Path.resolve() and related operations, and to make path handling uniform).


Create Detect LinkedList Cycle

Pls read the readme file again. Your PR will be excluded by system. Pls submit genuine PR

https://user-images.githubusercontent.com/43691873/135965000-a3019b12-c089-4a61-bae3-81f915ec39a5.png
Pls read the readme file again. Your PR will be excluded by system. Pls submit genuine PR

Hi @Tishachhabra I think even if I merge this PR it wont be accepted as hacktoberfest contribution. If u want to contribute to any other opensource, ping me.


chore: Use the favicon from the stack

The favicon from the stack can be customized for B2B via the dynamic
assets, and it should be used for the core apps.
Ref

I think I miss some context here but I have to understand the purpose.
Why should "community" apps use the stack B2B favicon? Is it not supposed to be specific to our "platform" applications? Will this mean that all applications should stop provide the favicon? What happens if we have two favicons definitions?

The current version of CCA doesn't provide any favicons. It would be nice if CCA provide by default a favicon and using the stack favicon can be a temporary workaround.

Just saw #1069, I think we can close this PR

Ok then.


Add zip deployment type in function app

Codecov Report

Merging #303 into develop will increase coverage by 0.08%.
The diff coverage is 66.66%.

@@             Coverage Diff             @@
##           develop     #303      +/-   ##
===========================================
+ Coverage    56.25%   56.33%   +0.08%
===========================================
  Files           57       57
  Lines         1744     1745       +1
  Branches       204      203       -1
===========================================
+ Hits           981      983       +2
- Misses         694      695       +1
+ Partials        69       67       -2

Impacted Files
Coverage Δ

...com/microsoft/azure/maven/function/DeployMojo.java
83.63% <66.66%> (+2.15%)
:arrow_up:

Continue to review full report at Codecov.

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


MacOS build segfaults

I haven't yet figured out the exact line or reason why my build broke, but I was able to bisect the exact commit that introduced the regression: https://github.com/zecruel/CadZinho/commit/659d7621a00752d2d18b2917eceea070330d8aa1
I will investigate the issue further and post the updates here.

Hi @tpimh !
In this commit, gui.h file has changed. Try to delete all .o files previously compiled, to update the main structs.


Error on swap subscription

When using a differerent Model object other than User, undefined error will occur as the 'user_id' is hardcoded. Since Cashier supports custom Models for the 'user' object, the related id should also be configurable.
This issue will resolve the error "exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to a member function taxPercentage() on null' in ../vendor/laravel/cashier-braintree/src/Subscription.php" when trying to swap a subscription using a different Model other than User Model.

Override the entire method.


Add GraphQL v16 support

Hi,
The v16 release of GraphQL is breaking and seems to be an issue for graphql-request:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/graphql
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| 15.x" from<EMAIL_ADDRESS>npm ERR! node_modules/graphql-request
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/username/.npm/eresolve-report.txt for a full report.

npm ERR!      /Users/username/.npm/_logs/2021-11-05T10_19_29_964Z-debug.log

Do you plan to add the v16 support?

Thanks @jasonkuhrt 👌


Docs: add alias for pulsejs.org

Description

This will automatically alias pulsejs.org to the current deployment on now.sh.
Related Issue

Context

How Has This Been Tested?

Cloudflare SSL stuff: https://zeit.co/blog/domain-verification#adding-a-domain-using-an-external-nameserver


Raspbery Pi 4. CPU temperature does not work.

HI all
i would like to report a bug where on RPi4, CPU temperature is not showing up. You can easily check temp by command
vcgencmd measure_temp | awk -F '=' '{print $2}'
Any chance to implement that in future version?

Send the full output of the vcgencmd measure_temp command.

on my RPi4, vcgencmd measure_temp output is:
pi@raspberrypi:~ $ vcgencmd measure_temp temp=43.0'C

This also occurs on my Raspberry Pi 2. Right now I have added a custom field with prin "CPU Temperature" "$(($(cat /sys/class/thermal/thermal_zone0/temp)/1000))°C" in order to get the temperature (cat /sys/class/thermal/thermal_zone0/temp returns an integer containing temperature in celcius with a precision of 3 decimal places, which I then divide by 1000).

My Raspberry Pi 3 Model B does not show the temperature either. In config.conf i've set cpu_temp="C" and in neofetch i see this output:  CPU Temp: C
Terminal:
$ vcgencmd measure_temp
temp=47.8'C

I looked into this and found a solution.
I'm running Arch Linux Arm so this might be different on Raspberry Pi OS, but I'm pretty sure it applies.
Neofetch uses the following script to find the temperature on most systems.
for temp_dir in /sys/class/hwmon/*; do
    [[ "$(< "${temp_dir}/name")" =~(coretemp|fam15h_power|k10temp) ]] && {
        temp_dirs=("$temp_dir"/temp*_input)
        temp_dir=${temp_dirs[0]}
        break
    }
done

Neofetch looks for directories in /sys/class/hwmon/
For each directory it will look for a sys/class/hwmon/*/name file, this name file must contain a certain string.
If the name file contains the correct string it will use the first available /sys/class/hwmon/*/temp*_input file
On my raspberry pi the temperature is in /sys/class/hwmon/hwmon0/temp0_input
So why doesn't it work in Neofetch?
Because the /sys/class/hwmon/hwmon0/name file contains "cpu_thermal" and not any of the "(coretemp|fam15h_power|k10temp)" in the above script
The solution is to add "cpu_thermal" to the regex so the bit of script becomes.
for temp_dir in /sys/class/hwmon/*; do
    [[ "$(< "${temp_dir}/name")" =~(cpu_thermal|coretemp|fam15h_power|k10temp) ]] && {
        temp_dirs=("$temp_dir"/temp*_input)
        temp_dir=${temp_dirs[0]}
        break
    }
done

You can find your Neofetch script with which neofetch and just edit it with a text editor.

Thanks @simongredal !  After the edit to the temp_dir regex and toggling cpu_temp="C" in .config/neofetch/config.conf, temp is displayed!


Problem with column named 'class'

table structure is fixed, some of the columns were named with java keywords, is there any way to move forward without changing the column names?
Thanks

You can define these column names like _String and use the annotation @Column to define the name in the database
public class MyRecord extends SugarRecord {
    MyRecord() {}

    @Column("String")
    String _String;
}

But, I prefer to not use reserved words of Java neither of Sqlite
related to #416

@sibeliusseraphini thanks a lot


Fixed typo in README

Fixed typo in README: it's => its.

@peterver are you considering & merging this?

@peterver Any update on this?

@peterver Any update on this>

@peterver Any update on this?

@peterver Any update on this?

@peterver Any update on this?


Check COVID algorithm

I have written a basic chunk to run the COVID/Zoe algorithm, but this will need checking and some discussion about how to use this in RAMP (due to age and sex/gender variables).

[ ] Gender would need to be split into a binary variable.
[ ] Age is expected to be continuous so would need to consider how to address this in RAMP.
[ ] Need to double check the cut offs for the COVID probability. Does the STATA code mean three groups or two with a cut off at 0.5?

Is this our best reference for this algorithm @knthompson26 ?
https://covid.joinzoe.com/post/how-we-are-predicting-covid-in-the-uk

@klpurves Sorry only just seen this - algorithm comes from:
)
The paper states to use the cut off of 0.5 to create two groups - so I have edited the code accordinly and checked with the COVIDENCE group that they are doing the same.

@klpurves I have had confirmation from the COVIDENCE team that they use 0.5 as a cut off - so will be two binary groups - have edited the script accordingly and will close this issue. There is another issue of how to address this in RAMP.


Presence Deco App | WIP

Changes

Add support for the Presence Deco App
Bump Fresh version 1.4.4 -> 1.4.5

About Presence
Presence its an App that focus in optimizing e-commerce conversion via Social Proof triggers, bringing plug and play
realtime functionality to a Deco.cx Website.
Context: A presence system provides online connectivity monitoring, detecting online, offline or any other custom status and updating it in real time as it changes.
Current Presence contents:

A re-exportable, extendable and configurable Route Handler for creating and tracking the state of "Presence" realtime rooms.
A LiveChat Section that can be used for displaying the number of people in a realtime Room and cause interaction, usually in a Product Page.

All the code needed is made with native browser/deno WebSocket APIs, so no unneeded dependencies/bundles are added to your project.

@viktormarinho I think the only missing point is about the comment that @tlgimenes did. Can I help you on anything around this?!

Closing inactive PRs.


provider.tf is read but not used for region and profile

Used terraform example code to test:
terraspace new project infra --plugin aws --examples
Updated provider.tf provider 'aws' with a region and profile.
When either region or provider are not set, but environment var AWS_REGION or "AWS_PROFILE" are set, then terraspace reports the setting is not set.
ie. no env variables, and no provider.tf (region and profile) reports that these settings are missing.
but adding the settings to provider.tf does not work for either setting.
Adding 'default_tags' in provider.tf does work in the provider section, as such I conclude the issue with with profile and region specifically.
My Environment

Software
Version

Operating System
Ubuntu 20.04.2 LTS

Terraform
0.14.7

Terraspace
2.2.2

Ruby
3.0.3p157

Expected Behaviour
The provider.tf must be read for profile specifically. Cannot expect environment vars to be correct for multi AWS environments.
Current Behavior
The profile and region settings in provider.tf are not used.
Step-by-step reproduction instructions
Output log:
~/terraspace/infra$ terraspace up demo

Building .terraspace-cache/dev/stacks/demo
Current directory: .terraspace-cache/dev/stacks/demo

Exception Aws::Errors::InvalidRegionError: Invalid `:region` option was provided.

* Not every service is available in every region.
* Never suffix region names with availability zones.
  Use "us-east-1", not "us-east-1a"
Known AWS regions include (not specific to this service):

...
ap-southeast-2
...

Code Sample
export AWS_PROFILE="dev" ; export AWS_REGION="ap-southeast-2"
vs
provider "aws" {
  region = "ap-southeast-2"
  profile = "dev"

  // These are tags added to all objects created by the scripts
  default_tags {
    tags = {
      Environment = "devenv"
    }
  }
}

Solution Suggestion
None. Tried removing spaces and padding and uppercase/lowercase.

Hello @baitoz ,
in a normal way as standard terraspace read your local ~/.aws/config and ~/.aws/credentials file. in this file there are the predefined variables AWS_REGION and AWS_PROFILE. these elements existing in your environment ?


Fix formatting of gethash examples

I'm on a work computer where the node version is way too old, so I was unable to test this myself, but either way the current rendering online is quite strange, and this PR is an attempt to fix that:
https://lisp-docs.github.io/cl-language-reference/chap-18/bi-c-dictionary/gethash_accessor
Overall the syntax examples on these pages could perhaps be improve en masse by using code fences.

Thanks for the help!  I've been busy with some other projects, but I do hope to be able to get back to this.
I'm planning on switching from node to a CL based rendering (which I have to make) and change the way the files are named to make it easier for people to contribute. Because of using mdx, which is a react renderer used by Docusaurus, I had to rename all files to not include numbers in their names, which confuses people.
Anyways, thanks so much for your contributions! They are appreciated. I hopefully will get back to changing the engine of the whole project to CL to make it easier to contribute, but that includes making indices for search and a few other details which will probably take me a couple of weekends at least, time which I don't have available right now.

Your changes are now live! 😄


Add --no-default-storage-location flag to velero install to enable velero deployment without default BSL

Describe the problem/challenge you have
Similar to the --no-secret flag that was added with v1.1.0, it would be great to have an additional cli flag to allow running velero install without specifying a bucket and provider, something like:
           velero install --no-default-storage-location --no-secret

This will provide greater flexibility when installing velero for scenarios where a default backup storage location is not necessarily required at deployment time.
Describe the solution you'd like
an additional cli flag --no-default-storage-location:
           velero install --no-default-storage-location --no-secret

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

Velero version (use velero version): v1.1.0
Kubernetes version (use kubectl version):
Kubernetes installer & version:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):

Thanks Antony!
some high-level thoughts:

This will require a flag on velero server to skip the BSL checks; the flag on install would just control whether or not that argument is added.
The Helm chart will need to expose the velero server option

Also, a question:
Currently, the velero pod will crashloop until the first BSL is created, at which point it should successfully start up. Is there currently a problem with that behavior?

One thing that is inconsistent in the server's behavior right now is that when a BSL exists and is then deleted, the Velero server doesn't crash.
I think, at the very least, the behavior should be consistent in both the case where the BSL doesn't exist at startup and in the case where the BSL is deleted after the server's running.
I think the crash behavior at startup was largely a way to signal to users that their install wasn't usable until a (valid) BSL existed.

Also, a question:
Currently, the velero pod will crashloop until the first BSL is created, at which point it should successfully start up. Is there currently a problem with that behavior?
I don't foresee a problem with this behavior atm -- once the first BSL is created and velero pod starts running, then we should be good to start processing backups. Also to your first bullet point, adding a flag to velero server to skip BSL checks will help with this by ensuring velero server doesn't go into a crashloop when there's no default BSL.

I suppose I don't see an issue with the server crashlooping if there's not a BSL, personally, as it is required for Velero to do work.
And I think the server flag is necessary to get the requested behavior - just adding the flag on velero install won't do much, since the check for the BSL happens inside the velero server process in the pod, not in the velero install invocation.
Another question - are you planning on using velero install itself, or the install package?

And I think the server flag is necessary to get the requested behavior - just adding the flag on velero install won't do much, since the check for the BSL happens inside the velero server process in the pod, not in the velero install invocation.

You're right, in our case we want to utilize the cli to install velero without having to provide the bucket for the default BSL since this bucket doesn't exist yet at velero install time and will only be created after velero deployment.

Another question - are you planning on using velero install itself, or the install package?
We're planning on using the velero install itself mostly since it makes versioning easier ... would you recommend the install package instead?

We could consider doing the following:

move the default BSL and BSL validation checks out of server startup, and into the backup process (as pre-validation checks)
if only one BSL is defined, automatically use that as the default for backups that don't specify it (this means the --default-backup-storage-location server flag is not required in this scenario)

This would allow the velero server to start up without any BSLs, but any backups created would end up in the FailedValidation phase until a BSL was created.
Additionally, we could look at implementing #1094 and using that to display whether there are valid BSLs in existence.
Thoughts?

Huh, I was doing some testing here - Velero doesn't crashloop if there's no BSL or the one specified  in --default-backup-storage-location doesn't exist - it just logs a warning and fails validation for backups.

You're right, what we observed is the Velero pod goes into crashloop when we provide dummy values for the bucket and provider when running Velero install command. When we delete this dummy default BSL then the pod doesn't crashloop but only logs the error. This works for us as a workaround for now and we'll still like to contribute support to allow running velero install without having to configure a default BSL.


[Icon Requests from Feather] newspaper

As per https://github.com/lucide-icons/lucide/issues/119 and https://github.com/feathericons/feather/issues/459:

What do you think of this?

Hm... Not sure, on 100% it looks really similar to building-2.

I have two alternate ideas:

I think the first one works pretty nice, the second is quite similar to Google's News icon.

Hmm, Can you post the svgs of the first you submitted. I want to try something.

I put all my drafts in this Figma file: https://www.figma.com/file/HGBdDhJfh7VQMrykh3zKFJ/lucide%2Fnewspaper?node-id=0%3A1

Also came up with a new design which I think also works OK:

Yeah, that looks like kind of an optimal amalgamation of all previous sketches, I think it should work nicely. :)

Tnx! will create PR.


Support for html in labels

Description
This PR adds support for html in the label for following ui node types:

ui-number-input
ui-dropdown
ui-button-group
ui-radio-group
ui-slider
ui-switch
ui-text
ui-text-input

The following demo shows how to change from the static labels (from the config screen), to plain text labels and finally to html labels:

[{"id":"7b2f3c4e68f76fc6","type":"ui-slider","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Slider","label":"Static label","tooltip":"","order":6,"width":0,"height":0,"passthru":false,"outs":"all","topic":"topic","topicType":"msg","thumbLabel":"true","showTicks":"always","min":0,"max":10,"step":1,"className":"","iconPrepend":"","iconAppend":"","color":"","colorTrack":"","colorThumb":"","x":1950,"y":2120,"wires":[[]]},{"id":"952c3a4bc1aedcb9","type":"ui-switch","z":"4aad778b57d4f47b","name":"Switch","label":"Static label","group":"bd4b3eed126bd60e","order":7,"width":0,"height":0,"passthru":false,"decouple":false,"topic":"topic","topicType":"msg","style":"","className":"","clickableArea":"switch","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":1950,"y":2160,"wires":[[]]},{"id":"3cab92ecc8c62250","type":"ui-radio-group","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Radio group","label":"Static label","order":5,"width":0,"height":0,"columns":1,"passthru":false,"options":[{"label":"Value 1","value":"value1","type":"str"},{"label":"Value 2","value":"value2","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","x":1970,"y":2080,"wires":[[]]},{"id":"805544beee60b59e","type":"ui-dropdown","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Dropdown (combobox)","label":"Static label","tooltip":"","order":3,"width":0,"height":0,"passthru":false,"multiple":false,"chips":false,"clearable":false,"options":[{"label":"Value 1","value":"value1","type":"str"},{"label":"Value 2","value":"value2","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","typeIsComboBox":true,"x":2000,"y":2000,"wires":[[]]},{"id":"3957a5ca24d0a8c0","type":"ui-button-group","z":"4aad778b57d4f47b","name":"Button group","group":"bd4b3eed126bd60e","order":2,"width":6,"height":1,"label":"Static label","rounded":true,"useThemeColors":true,"passthru":false,"options":[{"label":"label A","icon":"","value":"option_0","valueType":"str","color":"#009933"},{"label":"label B","icon":"","value":"option_1","valueType":"str","color":"#999999"}],"topic":"topic","topicType":"msg","x":1970,"y":1960,"wires":[[]]},{"id":"d06b475b0dc03d4b","type":"ui-number-input","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Number input","label":"Static label","order":1,"width":0,"height":0,"topic":"topic","topicType":"msg","min":0,"max":10,"step":1,"tooltip":"","passthru":true,"sendOnBlur":true,"sendOnEnter":true,"className":"","clearable":false,"icon":"","iconPosition":"left","iconInnerPosition":"inside","spinner":"default","x":1980,"y":1920,"wires":[[]]},{"id":"11853f18ec8773ce","type":"ui-text","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","order":8,"width":0,"height":0,"name":"Text","label":"Static label","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","className":"","x":1950,"y":2200,"wires":[]},{"id":"47e417fd8d289a18","type":"ui-text-input","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Text input (single line)","label":"Static label","order":9,"width":0,"height":0,"topic":"topic","topicType":"msg","mode":"text","tooltip":"","delay":300,"passthru":true,"sendOnDelay":false,"sendOnBlur":true,"sendOnEnter":true,"className":"","clearable":false,"sendOnClear":false,"icon":"","iconPosition":"left","iconInnerPosition":"inside","x":2000,"y":2240,"wires":[[]]},{"id":"ee804a9ead3af9c9","type":"inject","z":"4aad778b57d4f47b","name":"Plain text label","props":[{"p":"ui_update.label","v":"Plain text","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":1680,"y":1920,"wires":[["d06b475b0dc03d4b","3957a5ca24d0a8c0","805544beee60b59e","3cab92ecc8c62250","7b2f3c4e68f76fc6","952c3a4bc1aedcb9","11853f18ec8773ce","feef390550d2dc22","ddb30c1fa5b2fa01","47e417fd8d289a18"]]},{"id":"d1e7cda10b8d2729","type":"inject","z":"4aad778b57d4f47b","name":"Html label","props":[{"p":"ui_update.label","v":"
Html text
","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":1700,"y":1960,"wires":[["d06b475b0dc03d4b","3957a5ca24d0a8c0","805544beee60b59e","3cab92ecc8c62250","7b2f3c4e68f76fc6","952c3a4bc1aedcb9","11853f18ec8773ce","47e417fd8d289a18","feef390550d2dc22","ddb30c1fa5b2fa01"]]},{"id":"feef390550d2dc22","type":"ui-text-input","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Text input (multi line)","label":"Static label","order":10,"width":0,"height":0,"topic":"topic","topicType":"msg","mode":"textarea","tooltip":"","delay":300,"passthru":true,"sendOnDelay":false,"sendOnBlur":true,"sendOnEnter":true,"className":"","clearable":false,"sendOnClear":false,"icon":"","iconPosition":"left","iconInnerPosition":"inside","x":2000,"y":2280,"wires":[[]]},{"id":"ddb30c1fa5b2fa01","type":"ui-dropdown","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Dropdown (select)","label":"Static label","tooltip":"","order":4,"width":0,"height":0,"passthru":false,"multiple":false,"chips":false,"clearable":false,"options":[{"label":"Value 1","value":"value1","type":"str"},{"label":"Value 2","value":"value2","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","typeIsComboBox":false,"x":1990,"y":2040,"wires":[[]]},{"id":"bd4b3eed126bd60e","type":"ui-group","name":"Html labels demo","page":"febf51051870b4b5","width":"6","height":"1","order":1,"showTitle":true,"className":"","visible":"true","disabled":"false"},{"id":"febf51051870b4b5","type":"ui-page","name":"Experimenten labels","ui":"be29745a6e568f30","path":"/experiment_labels","icon":"home","layout":"grid","theme":"a965ccfef139317a","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":1,"className":"","visible":"true","disabled":"false"},{"id":"be29745a6e568f30","type":"ui-base","name":"UI Name","path":"/dashboard","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control","ui-chart","ui-text-input","ui-dropdown"],"showPathInSidebar":false,"showPageTitle":true,"navigationStyle":"icon","titleBarStyle":"default"},{"id":"a965ccfef139317a","type":"ui-theme","name":"Default","colors":{"surface":"#404040","primary":"#109fbc","bgPage":"#e8e8e8","groupBg":"#d6d6d6","groupOutline":"#6fbc10"},"sizes":{"pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]

I 'think' this PR covers all ui node types that have a label.
Related Issue(s)
1346
Checklist

[ ] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Includes a DB migration? -> add the area:migration label

Is it safe from JavaScript injection ?

Hi @dceejay,
Good question!  I was wondering the same last night...
The v-html directive indeed can introduce security risks.  But they mention at the end "Whenever the dynamic HTML content is provided ONLY by 100% trusted users" , which I 'think' is the case because the user enters the label in the config screen or overrides it via msg.ui_update.label.  In both cases Node-RED is responsible for the content of the label.
Moreover I had seen the v-html directive being used already in this dashboard codebase, so I considered it being acceptable for the labels too.  If v-html is not considered secure in a dashboard D2, I think it should be refactored in the exising code snippets also...
We could perhaps do something like this:
import DOMPurify from 'dompurify';

export default {
  computed: {
    label() {
      const rawHtml = this.getProperty('label');
      // Remove any potential harmfull script or tags from html
      return DOMPurify.sanitize(rawHtml);
    }
  }
}

I don't know whether that is enough, because that kind of stuff is not my expertise...

Easy enough to test - try sending ""

Hi @dceejay,
Thanks for the pointer!  For a frontend developer that will be very basic stuff, but for me it was new.
Indeed the Js code was executed when clicking the html labels, in the following updated flow:

[{"id":"7b2f3c4e68f76fc6","type":"ui-slider","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Slider","label":"Static label","tooltip":"","order":6,"width":0,"height":0,"passthru":false,"outs":"all","topic":"topic","topicType":"msg","thumbLabel":"true","showTicks":"always","min":0,"max":10,"step":1,"className":"","iconPrepend":"","iconAppend":"","color":"","colorTrack":"","colorThumb":"","x":1950,"y":2120,"wires":[[]]},{"id":"952c3a4bc1aedcb9","type":"ui-switch","z":"4aad778b57d4f47b","name":"Switch","label":"Static label","group":"bd4b3eed126bd60e","order":7,"width":0,"height":0,"passthru":false,"decouple":false,"topic":"topic","topicType":"msg","style":"","className":"","clickableArea":"switch","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":1950,"y":2160,"wires":[[]]},{"id":"3cab92ecc8c62250","type":"ui-radio-group","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Radio group","label":"Static label","order":5,"width":0,"height":0,"columns":1,"passthru":false,"options":[{"label":"Value 1","value":"value1","type":"str"},{"label":"Value 2","value":"value2","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","x":1970,"y":2080,"wires":[[]]},{"id":"805544beee60b59e","type":"ui-dropdown","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Dropdown (combobox)","label":"Static label","tooltip":"","order":3,"width":0,"height":0,"passthru":false,"multiple":false,"chips":false,"clearable":false,"options":[{"label":"Value 1","value":"value1","type":"str"},{"label":"Value 2","value":"value2","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","typeIsComboBox":true,"x":2000,"y":2000,"wires":[[]]},{"id":"3957a5ca24d0a8c0","type":"ui-button-group","z":"4aad778b57d4f47b","name":"Button group","group":"bd4b3eed126bd60e","order":2,"width":6,"height":1,"label":"Static label","rounded":true,"useThemeColors":true,"passthru":false,"options":[{"label":"label A","icon":"","value":"option_0","valueType":"str","color":"#009933"},{"label":"label B","icon":"","value":"option_1","valueType":"str","color":"#999999"}],"topic":"topic","topicType":"msg","x":1970,"y":1960,"wires":[[]]},{"id":"d06b475b0dc03d4b","type":"ui-number-input","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Number input","label":"Static label","order":1,"width":0,"height":0,"topic":"topic","topicType":"msg","min":0,"max":10,"step":1,"tooltip":"","passthru":true,"sendOnBlur":true,"sendOnEnter":true,"className":"","clearable":false,"icon":"","iconPosition":"left","iconInnerPosition":"inside","spinner":"default","x":1980,"y":1920,"wires":[[]]},{"id":"11853f18ec8773ce","type":"ui-text","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","order":8,"width":0,"height":0,"name":"Text","label":"Static label","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","className":"","x":1950,"y":2200,"wires":[]},{"id":"47e417fd8d289a18","type":"ui-text-input","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Text input (single line)","label":"Static label","order":9,"width":0,"height":0,"topic":"topic","topicType":"msg","mode":"text","tooltip":"","delay":300,"passthru":true,"sendOnDelay":false,"sendOnBlur":true,"sendOnEnter":true,"className":"","clearable":false,"sendOnClear":false,"icon":"","iconPosition":"left","iconInnerPosition":"inside","x":2000,"y":2240,"wires":[[]]},{"id":"ee804a9ead3af9c9","type":"inject","z":"4aad778b57d4f47b","name":"Plain text label","props":[{"p":"ui_update.label","v":"Plain text","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":1680,"y":1920,"wires":[["407e14430d94937b"]]},{"id":"d1e7cda10b8d2729","type":"inject","z":"4aad778b57d4f47b","name":"Html label","props":[{"p":"ui_update.label","v":"
Html text
","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":1700,"y":1960,"wires":[["407e14430d94937b"]]},{"id":"feef390550d2dc22","type":"ui-text-input","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Text input (multi line)","label":"Static label","order":10,"width":0,"height":0,"topic":"topic","topicType":"msg","mode":"textarea","tooltip":"","delay":300,"passthru":true,"sendOnDelay":false,"sendOnBlur":true,"sendOnEnter":true,"className":"","clearable":false,"sendOnClear":false,"icon":"","iconPosition":"left","iconInnerPosition":"inside","x":2000,"y":2280,"wires":[[]]},{"id":"ddb30c1fa5b2fa01","type":"ui-dropdown","z":"4aad778b57d4f47b","group":"bd4b3eed126bd60e","name":"Dropdown (select)","label":"Static label","tooltip":"","order":4,"width":0,"height":0,"passthru":false,"multiple":false,"chips":false,"clearable":false,"options":[{"label":"Value 1","value":"value1","type":"str"},{"label":"Value 2","value":"value2","type":"str"}],"payload":"","topic":"topic","topicType":"msg","className":"","typeIsComboBox":false,"x":1990,"y":2040,"wires":[[]]},{"id":"6a9b8bb55c1381be","type":"inject","z":"4aad778b57d4f47b","name":"Malicious html","props":[{"p":"ui_update.label","v":"
Malicious label
","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":1690,"y":2000,"wires":[["407e14430d94937b"]]},{"id":"407e14430d94937b","type":"junction","z":"4aad778b57d4f47b","x":1820,"y":1920,"wires":[["feef390550d2dc22","d06b475b0dc03d4b","3957a5ca24d0a8c0","805544beee60b59e","ddb30c1fa5b2fa01","3cab92ecc8c62250","7b2f3c4e68f76fc6","952c3a4bc1aedcb9","11853f18ec8773ce","47e417fd8d289a18"]]},{"id":"bd4b3eed126bd60e","type":"ui-group","name":"Html labels demo","page":"febf51051870b4b5","width":"6","height":"1","order":1,"showTitle":true,"className":"","visible":"true","disabled":"false"},{"id":"febf51051870b4b5","type":"ui-page","name":"Experimenten labels","ui":"be29745a6e568f30","path":"/experiment_labels","icon":"home","layout":"grid","theme":"a965ccfef139317a","breakpoints":[{"name":"Default","px":"0","cols":"3"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":1,"className":"","visible":"true","disabled":"false"},{"id":"be29745a6e568f30","type":"ui-base","name":"UI Name","path":"/dashboard","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control","ui-chart","ui-text-input","ui-dropdown"],"showPathInSidebar":false,"showPageTitle":true,"navigationStyle":"icon","titleBarStyle":"default"},{"id":"a965ccfef139317a","type":"ui-theme","name":"Default","colors":{"surface":"#404040","primary":"#109fbc","bgPage":"#e8e8e8","groupBg":"#d6d6d6","groupOutline":"#6fbc10"},"sizes":{"pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]

Since dom-purify is a good choice and already part in the dependencies of this dashboard, I have used it for all computed labels.  The alert doesn't occur now anymore for any of the changed ui-nodes.

I will have a look at the lint error later.  Busy day today...

@joepavitt,
All lint problems are solved, so this request is ready for review (during your working hours of course...).
Enjoy your weekend!
Bart

Thanks @bartbutenaers - great stuff, about to do a 1.18.1 release as need to get some hit fixes out, adding this in would warrant a 1.19.0, so will follow soon after next week.


Landan/deeplabv3 ade20k example

What does this PR do?
Contributes example script to train DeepLabv3+ on ADE20k.
Old WandB runs for the full 128 epochs and without any constant LR:

mIoU
Time-to-Train (hours)

Baseline + dice
46.3
3.85

Mild
46.84
3.31

Medium
49.13
5.0

Hot
48.22
6.68

I plan to rerun with constant LR and the target number of epochs for each recipe

Updated description with previous WandB runs, will attempt new runs with constant LR and appropriate recipe number of epochs


deps: Remove unused @prisma/sdk dependency

Seems the dependency is not used, so can be removed.

The @prisma/sdk dependency is required by the @prisma/migrations package as it throws an error for it. Not sure why the migrations package doesn't depend on it but I am using that package in an unconventional way which is the most reasonable answer.

Ha, of course - did not think of that.


cask/audit: improve handling nil in sparkle

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

This further iterates on #14298. Rather than stating nil when a cask doesn't have a minimum OS defined, this produces a clearer message.
This also changes references to "minimal OS" to "minimum OS". This is more familiar in common parlance, and aligns with Apple's documentation.

Review period skipped due to critical label.


Make constants constexpr (where possible)

Summary
This PR changes the declaration of constants to use static constexpr where supported.
static constexpr was used over plain constexpr as it compiles to more efficient assembly. Examples provided on godbolt below:

constexpr: https://godbolt.org/z/9q9cx38z6
static constexpr: https://godbolt.org/z/1hds8EKKe
const double: https://godbolt.org/z/MvWj73eY7

Additionally the Euler's Gamma constant was added after a request on the forum
Tests
Added test for egamma, and existing tests for constants all pass
Side Effects
N/A
Release notes
Changed constants to static constexpr for efficiency, added Euler's Gamma constant
Checklist

[ ] Math issue #(issue number)

[x] Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

Interesting, it looks like this is failing the sir model in the cmdstan upstream performance tests
https://jenkins.mc-stan.org/job/CmdStan Performance Tests/job/downstream_tests/2577/consoleFull
FAIL: golds/stat_comp_benchmarks_benchmarks_sir_sir.gold param gamma not within (0.200873675 - 0.199968898) / 0.00232163707201 < 0.3
'stat_comp_benchmarks/benchmarks/sir/sir.stan' had fails '[('gamma', 0.199968898, 0.002321637072015, 0.20087367499999986)]' and errors '[]'

Ack sorry I've been so slow on this been making a really steady amount of progress on the new matrix type in the compiler. I can run this on the mac we use for testing tomorrow. My guess is that whatever old clang version is on that mac doesn't follow something in the standard on infinities. But let me run this tmrw before we change anything

Actually I can't login to the mac because I had to wipe my hard drive recently because of a computer crash and think I lost the ssh I needed to get in. I tried replicating this locally to no avail so I think this must be something with the mac
Let me email Ben G and see if I can get access to that mac. The MCSE difference is wide enough that I think it's worth looking into.

No wokkas at all, thanks for looking into it! This is much lower priority than the varmat stuff, so no pressure from my end


HDDS-3179 Pipeline placement based on Topology does not have fallback

What changes were proposed in this pull request?
When rack awareness and topology is enabled, pipeline placement can fail when there is only one node on the rack.
Should add fall back logic to search for nodes from other racks.
(Please fill in changes proposed in this fix)
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3179
(Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HDDS-XXXX. Fix a typo in YYY.)
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
UT
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Acceptance is failing with:
 ==============================================================================
Execute PI calculation                                                | FAIL |
1 != 0
------------------------------------------------------------------------------
Execute WordCount                                                     | FAIL |
1 != 0
------------------------------------------------------------------------------
ozonesecure-mr-mapreduce :: Execute MR jobs                           | FAIL |

This is known issue and will be fixed soon - HDDS-3284.
Integration tests are flaky. it-Freon:
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 395.168 s <<< FAILURE! - in org.apache.hadoop.ozone.freon.TestRandomKeyGenerator
[ERROR] bigFileThan2GB(org.apache.hadoop.ozone.freon.TestRandomKeyGenerator)  Time elapsed: 326.297 s  <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)

One of these issues covers it:  https://issues.apache.org/jira/browse/HDDS-3266 and it-freon: https://issues.apache.org/jira/browse/HDDS-3257
it-client I am not sure

Thanks for the updates here. I think the code looks much cleaner now with the debug statements and refactored block in getResultSet().
There are just a couple of minor changes needed to finish this one off.

Thanks for the updates here. I think the code looks much cleaner now with the debug statements and refactored block in getResultSet().
There are just a couple of minor changes needed to finish this one off.

Thanks for the detailed review. It really helps. @sodonnel

Thanks for quickly addressing the final issues.
I am +1 on this now. I will commit it later pending the CI checks looking good.

All tests are green except this one, which I have seen fail in several other PRs, so it is flaky:
 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.235 s - in org.apache.hadoop.ozone.freon.TestDataValidateWithUnsafeByteOperations
[INFO] Running org.apache.hadoop.ozone.freon.TestRandomKeyGenerator
[ERROR] Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 338.009 s <<< FAILURE! - in org.apache.hadoop.ozone.freon.TestRandomKeyGenerator
[ERROR] bigFileThan2GB(org.apache.hadoop.ozone.freon.TestRandomKeyGenerator)  Time elapsed: 276.915 s  <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)

If you see a flaky test, please disable it (without and issue) + create a new open issue and repeat the build. There is some risk that one flakiness hides a other. Merging patches without green build makes harder to debug flaky tests.


Adds an Upstart job and makes a slight change to server.sh so the Upstart job works correctly

Thanks!


bunker_base cant find ugv_sdk package when using catkin build.

Hi,
I am building my ros workspace using catkin tools (catkin build) instead of using catkin_make.
However it does not work and return this error.
CMake Error at /home/user1/bunker_ws/devel/share/ugv_sdk/cmake/ugv_sdkConfig.cmake:173 (message):   Project 'bunker_base' tried to find library 'ugv_sdk'.  The library is   neither a target nor built/installed properly.  Did you compile project   'ugv_sdk'? Did you find_package() it before the subdirectory containing its   code is included?
Please assist.
Thank you

You will need to setup the ugv_sdk  first if you would like to creat your own ros workspace and build it on your laptop or own controller. The ugv_sdk is mainly for the communication between ros and the chassis. Here is the link for the ugv_sdk. And it has the detailed instruction for the use of it. @fakhruzakuantii
https://github.com/agilexrobotics/ugv_sdk

This pull (https://github.com/agilexrobotics/ugv_sdk/pull/3) fixed my issue.
Thank you.


ci: change event triggers for benchmark CI to include forks

What does this PR introduce?
🤖 CI
This PR updates the GitHub Actions workflow event trigger from pull_request to pull_request_target. Below are the key differences and reasons for this change:
Differences between pull_request and pull_request_target

Context of Execution:

pull_request: The workflow runs in the context of the pull request itself, meaning it uses the code from the feature branch of the fork.
pull_request_target: The workflow runs in the context of the base repository, using the code from the base branch to which the PR is targeted.

Access to Secrets:

pull_request: Has limited access to secrets, particularly when the PR is from a forked repository. This is a security measure to prevent exposing secrets to potentially unsafe code in forks.
pull_request_target: Has access to all secrets of the base repository, even for PRs from forks.

Why the Change Enables Comment Posting from Forks

Permission to Comment:

By using pull_request_target, the workflow gains the necessary write permissions to post comments on PRs. This is essential for PRs originating from forks, as pull_request does not provide sufficient permissions for this action.

Access to Repository Secrets:

The workflow can now utilize repository secrets if needed for commenting or other operations, which is not possible with pull_request for forked PRs.

Security Considerations:

While this change provides more access, it's important to ensure that the workflow does not execute code from the PR itself to maintain security. This PR's workflow is specifically designed to post comments without executing PR code.

PR Checklist

[ ] Wrote Tests
[ ] Wrote & Generated Documentation (readme/natspec/dodoc)
[ ] Ran npm run lint && npm run lint:solidity (solhint)
[ ] Ran npm run format (prettier)
[ ] Ran npm run build
[ ] Ran npm run test

Task linked: DEV-9462 Fix CI to run benchmark from Fork

Great find @YamenMerhi ! 🎉

Wait are you seriously opening the repo secrets to ANY fork? including malicious people doing fork of this repo?
pull_request_target: Has access to all secrets of the base repository, even for PRs from forks.

Has access to all secrets of the base repository, even for PRs from forks.

Either I'm missing something huge here or this is extremely dangerous.

is the permission key specified somewhere?
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target


test execution framework

Could you provide an example of test case execution using defects4j? I tried using the script framework/bin/run_mutation.pl ... but doesn´t work.. Could you help me use the defect4j for test case execution ?

Hi @brunonmachado,
Could you please provide the following information:

What type of tests do you want to execute?

developer written tests or
generated tests

What is the error that run_mutation.pl produces.

A few more general comments:

Use the defects4j command to run developer-written tests that accompany the checked-out project version.
Use the scripts of the test execution framework to generate test suites (run_randoop.pl or  run_evosuite.pl), or analyze generated test suites (run_mutation.pl, run_bug_detection.pl, etc.).

I am closing this issue for now.

Hi,
I was trying to run Defect4J to get a list of real bugs. I am facing difficulty usign the same. Can ou help me understand how to run Defect4J in a project to get details about real bugs


Make the Component Picker scroll bar show up

Follow-up to https://github.com/concrete-utopia/utopia/issues/5427
We suppress scroll bars deliberately for most editor UI, to handle overflow for eg tab containers and other small areas. This is in initial-load.css, line 40: ::-webkit-scrollbar { display: none; }
However, for scrollable lists specifically - like this one - we should show them. I haven't figured out a way to do that though! :)
FWIW we normally try to avoid styling via global classes, but if that's what is expedient here (eg .show-scrollbar) we can do that.

@benwolfram I've tagged you here since this completely dovetails w/ what you're already working on (and because I failed to solve this :D ) Feel free to un-assign yourself, or even roll it into your WIP as you see fit!

@benwolfram I fixed it since I was looking into my other task, the fix PR is here #5457


feat: support Jest 25

Jest has released version 25 under the next dist-tag:

https://www.npmjs.com/package/jest/v/25.0.0
https://github.com/facebook/jest/pull/8862

The maintainer promised no more user facing breaking changes planned
https://github.com/facebook/jest/issues/8956#issuecomment-531671339
I've tested the new version in my local branch and figured out only these files need to be updated to support Jest 25 (Not sure if the updated tests should be included in this PR):

Update peerDependencies version range to include v25
Update ExpectedVersions to allow new versions
Remove async describe blocks in the tests to eliminate warnings from https://github.com/facebook/jest/pull/7852

Pull Request Test Coverage Report for Build 3551

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.038%

Totals

Change from base Build 3548:
0.0%

Covered Lines:
1069

Relevant Lines:
1129

💛  - Coveralls

@sodatea thank you for the PR. Some points that came to mind while reviewing:

we typically only support the Jest version in the same major range. For example, ts-jest v24.x.x will only support jest v24.

the PR doesn't have the updated package-lock.json file

the package.json (and lock file) for some tests will also need to be updated with this jest version

I'll be happy to review this again if/once the PR is updated to address these points!

@kulshekhar do you know when new version will be released?

@armano2 isn't the latest stable jest version still 24.9.0?

@kulshekhar yes jest v24.9.0 is latest stable version, v25 is marked as next

@armano2 we (all collaborators here) typically only add support for stable releases. It'll be hard to track & address issues in next given the limited amount of time we can collectively spend

don't worry, i'm just asking, (we are not in rush 👍)

different tooling packages have different policies when/if they add support for never version, now i know that we should wait for stable release :)


Custom ToolbarItems

Hi , please provide some method to change default ToolbarItems text (done,cancel) and setToolBarItems method that gets and array of buttons is not working properly in viewing them have you checked them ?
how to add two custom toolbarItems like "done" and "cancel" but with custom styles ?

Hey @mahan3340 thanks for letting me know. I'll have a look when I get some free time. I'll probably implement something similar to what I did for a KMKeys

@Mahan3340 check out version 0.5.0, should be what you need.


KEY_KP_PERIOD not selectable in project settings

Godot version:
v3.2.3.stable.flathub
OS/device including version:
Arch Linux on Gnome desktop using de_DE nodeadkeys
Issue description:
When trying to assign numpad period to any action in the project settings it is not registered. Manually adding the keycode in project.godot to (manually calculated) 16777348 causes the project file to no longer being able to load.
Steps to reproduce:

Open project settings
Switch to input tab
Try to assign keypad period to any action

Minimal reproduction project:
It works on any project.

Can you reproduce this when using an en_US keyboard layout?

@Calinou Unfortunately I'm no longer able to reproduce the issue at all. I've switched back and forth between en_US and de_DE layouts trying to reproduce it, but it no longer happens.

@Calinou Unfortunately I'm no longer able to reproduce the issue at all. I've switched back and forth between en_US and de_DE layouts trying to reproduce it, but it no longer happens.


[libheif] update to 1.9.1

Fix #14437
Update libheif to the latest version 1.9.1
Note : No feature need to test

/azp run

Nice!
I think you also need to update the libde265 package to get libheif to work correctly, the former has a couple of fixes: https://github.com/strukturag/libde265/releases
I already did this in my fork: https://github.com/Ziriax/vcpkg/commit/0640124d19e6f1472cc34fdd7a45ab847ced1f4f

Needs to update libde265  in PR #14497 first.

Duplicate to #14648


Relax dependency versions

It would be nice to support the lowest possible versions of the dependencies we can. I just got a conflict when trying to install resonance with a conda package I use that hadn't been built against the numpy version we require. No reason to be strict if we don't have to.

Fixed with #131 by running unit tests against pinned old versions.


How can I references too many projects (folders) in Visual Studio Code?

From @HamedFathi on July 4, 2016 20:30

VSCode Version: 1.2.1
OS Version: Windows,Mac

When I used Visual Studio, I had two files format solution (.sln) and project (.csproj).
I want to know in Visual Code
How can I have solution (Root folder) and many projects (sub folders) with dependencies to itself ?
How can I set folders dependencies ? (I want to reference folders together)
please guide me or introduce a source that How can I add many related project with their dependencies in Visual Code.
Copied from original issue: Microsoft/vscode#8741

From @joaomoreno on July 5, 2016 9:8
@jrieken Can you provide some guidance here?

@HamedFathi are you using .NET Core or Mono?
This is probably obvious, but VS Code doesn't really have projects or solutions. It just has directories. So you want to open the root directory and VS Code (and the C# extension) will try and figure out what you want.
If you are using .NET Core, then I believe want you would want would be to have one project.json reference another project.json, and I believe you want to build from the directory of whatever root project.json you want to launch (or create a build script if you need to build more than that). In your .vscode/tasks.json you can customize the working directory (cwd) to build the project you want. See debugger.md for more information.
If you are using Mono then the Mono build system does usually use .sln's and .csproj's. The C# extension has limited support for this, though you may want to install the legacy version instead.

@HamedFathi: I'm curious to know whether this is working better for you with the latest version of the C# extension.

@DustinCampbell  : few months ago my friend wrote an article for this purpose on codeproject http://www.codeproject.com/Articles/1110660/How-To-Open-Build-Debug-Multiple-Projects-in-VS-Co but after vs updates some of that settings automatically added by VS Code. any way, my problem solved. thanks for your efforts . MICROSOFT is BEST

I'm glad to hear that it's working for you. Thanks!

Now there is a good article in the official VS Code documentation: how-to-use-multiple-projects


OpenStackDataPlaneNode role should not be a templateRef

OpenStackDataPlaneNode types had a typo in its JSON tag where the role string was set to a templateRef. This was from an earlier prototype. Set it to to the role value.
Signed-off-by: John Fulton<EMAIL_ADDRESS>

This change fixed this problem for me for the role: https://paste.opendev.org/show/818684/


Strings() doesn't work with flags

According to https://godoc.org/gopkg.in/alecthomas/kingpin.v2#FlagClause.Strings a flag should allow the type to be a list of strings:
func (p *FlagClause) Strings() (target *[]string)

Strings accumulates string values into a slice.

Using the following code:
package main

import (
	"gopkg.in/alecthomas/kingpin.v2"
	"os"
)

var (
	app         = kingpin.New("my-app", "It does cool things!")
	someStrings = app.Flag("strings", "Give me some strings baby!").Short('s').Strings()
)

func main() {
	kingpin.MustParse(app.Parse(os.Args[1:]))
}

And running the test app like so: ./test -s hello world
I get the following error: test: error: unexpected world, try --help
This is the help output:
usage: my-app [<flags>]

It does cool things!

Flags:
  --help  Show help (also see --help-long and --help-man).
  -s, --strings=STRINGS
          Give me some strings baby!

You have to repeat the flag: -s hello -s world
On Sun, Jul 26, 2015 at 7:39 PM, Andrew Hamon<EMAIL_ADDRESS>wrote:

According to
https://godoc.org/gopkg.in/alecthomas/kingpin.v2#FlagClause.Strings a
flag should allow the type to be a list of strings:
func (p *FlagClause) Strings() (target *[]string)
Strings accumulates string values into a slice.
Using the following code:
package main
import (
"gopkg.in/alecthomas/kingpin.v2"
"os"
)
var (
app         = kingpin.New("my-app", "It does cool things!")
someStrings = app.Flag("strings", "Give me some strings baby!").Short('s').Strings()
)
func main() {
kingpin.MustParse(app.Parse(os.Args[1:]))
}
And running the test app like so: ./test -s hello world
I get the following error: test: error: unexpected world, try --help
This is the help output:
usage: my-app []
It does cool things!
Flags:
--help  Show help (also see --help-long and --help-man).
-s, --strings=STRINGS
Give me some strings baby!
—
Reply to this email directly or view it on GitHub
https://github.com/alecthomas/kingpin/issues/55.

facepalm my bad!
Thanks, and keep up the good work!


Adding hooks to tie in APEX into the parcel layer

enable PARCEL_PROFILING whenever APEX is enabled
flyby: remove IPC/IBVERBS configuration settings from cmake

@khuck please try this out and report back whether it works

@khuck has implemented some more changes to the APEX API. We'll wait for those to consolidate and adapt HPX afterwards.

This also addresses #702

This can be merged now (recent changes to APEX have been incorporated).

@khuck Why does this branch contain all recent commits which are already on master? Something is not quite right.


implicit val?

suppose we have
def getYs(implicit x: X): Y = ???
would it be possible to desugar
for {
  implicit x <- xs
  y <- getYs
} yield y

to
xs.flatMap(implicit x => getYs)

Of course, there is not much need for this particular case for this desugar, but if getYs has multiple implicit arguments and x is the only missing one, this would be handy.

Got it. Still pretty amazing. thanks!


Update build process to use node/bower/grunt

Use ruby Gemfile, node, and bower to ease package management
Add grunt build process
Update for new impress.js version
Add MIT license

Thanks for a great project!  Hope this is useful.

@flibbertigibbet thanks! I'll review and let you know!

@flibbertigibbet There are a number of great new features here but too many packaged in one PR. Can we break things up into separate things, please: one for grunt, one for config/package management tools, a separate one for the html and display changes you introduced, etc.
I've just added in an MIT license in a separate PR as well as some of the other changes for now deprecated approaches, so there are some conflicts in this branch anyway.
Other than that, I like the idea of adding in grunt and config/package management tools.
Thanks for contributing (and sorry for my tardiness in reply)


Changes to support multi-target framework. The main solution now cont…

…ains three extra build configs that support 4.0, 4.5 and 4.6
on App Veyor each of these will need to be built in addition to this line:
msbuild "C:\projects\qlnet\QLNet.sln" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
should have also
msbuild "C:\projects\qlnet\QLNet.sln" /Configuration="Release-net40"  /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
msbuild "C:\projects\qlnet\QLNet.sln" /Configuration="Release-net45" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
msbuild "C:\projects\qlnet\QLNet.sln" /Configuration="Release-net46" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
as well as that the Net Core soln needs to be built
msbuild "C:\projects\qlnet\QLNet_Core.sln" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
then the comand to pack to the nuget package should be changed to:
nuget.exe pack QLNet.nuspec

Cool , but still some problems

msbuild "C:\projects\qlnet\QLNet_Core.sln" not work . Instead use : dotnet build QLNet
must change test project too ( im working on this )

I'm also looking if there is a way to build multiple configuration without duplicate msbuild command.

think we got it , sorry @screig  I make some minor changes so was more fast to not merge this PR.
Thank you very much for support !


ARTEMIS-1482 Catch malformed SimpleString

Checkstyle errors...unused imports.

Don't worry about it.  I fixed the checkstyle issues locally before I pushed.


chore: test resolution for styles package

Closes #
{{short description}}
What did you change?
How did you test and verify your work?

@kennylam consolidated these in #6204


Rewrite doesn't generate a trace

Describe the bug
Hi, i have an nginx configurated with some location.
[...]
location /test {
    otel_trace on;
    otel_trace_context propagate;
    index index.html
}

location /api {
    rewrite /api/(.*) /private_api/$1 break;
    otel_trace on;
    otel_trace_context propagate;
    proxy_pass $api;
    proxy_set_header   Host             $host;
    proxy_set_header   X-Real-IP        $remote_addr;
    proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
}
[...]

I also have a rewrite confs :
rewrite ^/api/(.*) /api/$1  break;
rewrite ^/[^/]+(/.*)$ $1 break;
rewrite ^/[^/]+/(api/.*)$ /$1 break;

When i hit /test the trace are succesfully created
But with /client_name/api/... there is no trace.
I think that otel don't want to create a trace because he detect /client_name/api/ and not /api/ after the
Expected behavior
I want a trace for location after the rewrite
(before: /client_name/api/ -> after: /api/)
Your environment
FROM nginxinc/nginx-unprivileged:1.25.4-bookworm

[...]

USER root
RUN apt update
RUN apt install curl gnupg2 ca-certificates lsb-release debian-archive-keyring -y
RUN curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
RUN echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
http://nginx.org/packages/mainline/debian `lsb_release -cs` nginx" \
    | tee /etc/apt/sources.list.d/nginx.list

RUN apt update
RUN apt install nginx-module-otel -y
USER nginx
EXPOSE 80 443
[...]

### Additional context

Add any other context about the problem here.

Can you provide minimal and complete config example to reproduce the issue? I'd guess, that "/private_api" location disables tracing.

Can you provide minimal and complete config example to reproduce the issue? I'd guess, that "/private_api" location disables tracing.

/api just rewrite to /private_api on the $host.
There is nothing in more in the configuration.
My problem is that otel logs /api but when it's rewrite to /private_api otel don't detect it

In my logs when i hit /api it write /private_api because it's rewrited, it's why i think otel doesn't detect it

I was able to reproduce the issue, basically server level rewrites prevent trace generation. We'll need to fix that.
Location level rewrites, though, shouldn't prevent trace generation, as long as initial location has tracing enabled.

I was able to reproduce the issue, basically server level rewrites prevent trace generation. We'll need to fix that. Location level rewrites, though, shouldn't prevent trace generation, as long as initial location has tracing enabled.

Did it's something easy to patch ?

I was able to reproduce the issue, basically server level rewrites prevent trace generation. We'll need to fix that. Location level rewrites, though, shouldn't prevent trace generation, as long as initial location has tracing enabled.

Hi @p-pautov !
Sorry for the ping but do you know if this issue will be patched in the next weeks ?
Thanks in advance !

Possibly. Rearranging config to avoid server level rewrites might be an option, in the meantime.


Need to set redirect_uri to "postmessage" when requesting access token

Followed example boilerplate to a tee and but was getting an error response from _exchangeAuthCode call here:
https://github.com/shobhitsinghal624/passport-google-authcode/blob/master/lib/passport-google-authcode/strategy.js#L91
the error response:
400 Bad Request
{
  "error" : "missing param redirect_uri",
  "error_description" : "Bad Request"
}

After some googling, turns out that for this kind of serverside access token requests, the redirect_uri option needs to be set to postmessage
ref: https://stackoverflow.com/questions/44369307/redirect-uri-error-when-using-googleauth-grantofflineaccess-to-authenticate-on-s
After adding this things finally work as expected 👍

@shobhitsinghal624
I've encountered the same issue.
Could you review and merge this pull request?

@hangctt-1528 Cannot merge the PR since hard coding redirect_uri will break other use cases where it is needed. A better solution is to set it manually when configuring the strategy, as shown below.
passport.use(new GoogleAuthCodeStrategy({
    clientID: GOOGLE_CLIENT_ID,
    clientSecret: GOOGLE_CLIENT_SECRET,
    callbackURL: 'postmessage'
  },
  function(accessToken, refreshToken, profile, done) {
    User.findOrCreate({ googleId: profile.id }, function (err, user) {
      return done(err, user);
    });
  }
));

Setting the callbackURL is pretty common in most passport strategies. This callbackURL gets assigned to redirect_uri internally.
In your specific case, the problem is that you don't really need a callback to a URL and that is why you are not setting it, which is logically correct. But, google's API expects a callbackURL and throws an error if it's not provided. So, the solution is to set it to anything that is not null and postmessage is a non-null value. I had it set to https://developers.google.com/oauthplayground in one of my projects since thats what is set in the test suite provided by google.
Ideally, I'd recommend you set it to some URL in your own domain.
Hope this helps. I'll update the README file to show how callbackURL can be set.


Extend building multi architecture containers to IBM Mainframe

Is your enhancement related to a problem? Please describe
Many clients using Podman / Podman Desktop have backend infrastructure that includes multiple hardware architectures, such as IBM zSystems (Mainframe).  When developing an app / building container images using Podman Desktop, it's not possible to test multi architecture apps locally on the developers desktop - this creates a barrier to adoption with separate builds of the app taking place across the clients infrastructure to test / validate it all works.  Especially frustrating when the production environment is an OpenShift multi architecture setup.
Describe the solution you'd like
I'd like to see local emulation of IBM Z mainframe available to aid the development and test of multi architecture apps that will reside on an OpenShift multi architecture environment that includes Z (LinuxOne).
Describe alternatives you've considered
Right now, options considered are NOT locally available on the desktop ..

WAZI as a service
Build and test the container images on Z directly

Additional context
No response

OK, so apart from creating the manifest, how does the emulation work ?  (Can't see anything in the doc's about this :-(  )

qemu-static is used when running other arch than the current one (except rosetta on macOS for amd64)
$ podman run -d --platform linux/s390x docker.io/httpd                                                                                828cc0c4c462dfcad4f2b366666b044539df51bb3353e5b57c3106f569bfd86c
$ podman exec -ti 828cc0c4c462dfcad4f2b366666b044539df51bb3353e5b57c3106f569bfd86c arch                                                                                s390x

That's very generic - and may cause deployment challenges when moving to a native platform .. is there an opportunity to improve this ?


Adds titanic example to match diy-nn-with-data

Example to be paired with diy-nn-with-data cc/ @shiffman

Adding note that we need to make sure to check the input types and do oneHot encoding for string types.
we can more or less just copy how it is implemented for handling the outputs. This is relevant for normalization

I will merge in these examples now and we can sync up.