GWT compilation error with Charba 5.6-gwt

hi,
I'm getting the following error when I try to upgrade to charba 5.6-gwt:
[INFO] [ERROR] Unexpected internal compiler error
[INFO] java.lang.ArrayIndexOutOfBoundsException: Index 1149 out of bounds for length 1149
[INFO] 	at org.objectweb.asm.ClassReader.readUnsignedShort(ClassReader.java:3596)
[INFO] 	at org.objectweb.asm.ClassReader.readUTF8(ClassReader.java:3652)
[INFO] 	at org.objectweb.asm.ClassReader.readElementValues(ClassReader.java:2991)
[INFO] 	at org.objectweb.asm.ClassReader.accept(ClassReader.java:608)
[INFO] 	at org.objectweb.asm.ClassReader.accept(ClassReader.java:424)
[INFO] 	at com.google.gwt.dev.javac.BytecodeSignatureMaker.visitCompileDependenciesInBytecode(BytecodeSignatureMaker.java:228)
[INFO] 	at com.google.gwt.dev.javac.BytecodeSignatureMaker.getCompileDependencySignature(BytecodeSignatureMaker.java:209)
[INFO] 	at com.google.gwt.dev.javac.CompiledClass.getSignatureHash(CompiledClass.java:166)
[INFO] 	at com.google.gwt.dev.javac.Dependencies$Ref.<init>(Dependencies.java:41)
[INFO] 	at com.google.gwt.dev.javac.Dependencies$Ref.<init>(Dependencies.java:36)
[INFO] 	at com.google.gwt.dev.javac.Dependencies.resolve(Dependencies.java:100)
[INFO] 	at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:349)
[INFO] 	at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:532)
[INFO] 	at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:464)
[INFO] 	at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)
[INFO] 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:210)
[INFO] 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:190)
[INFO] 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:131)
[INFO] 	at com.google.gwt.dev.Compiler.compile(Compiler.java:192)
[INFO] 	at com.google.gwt.dev.Compiler.compile(Compiler.java:143)
[INFO] 	at com.google.gwt.dev.Compiler.compile(Compiler.java:132)
[INFO] 	at com.google.gwt.dev.Compiler$1.run(Compiler.java:110)
[INFO] 	at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
[INFO] 	at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
[INFO] 	at com.google.gwt.dev.Compiler.main(Compiler.java:113)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

It's a quite obscure GWT error, but I managed to get a breakpoint in GWT when it occurs, and it appears to happen when reading the JsType annotation of your NativeUIEvent class for any strange reason:
@JsType(isNative = true, name = NativeName.DOM_UI_EVENT, namespace = JsPackage.GLOBAL)
public abstract class NativeUIEvent extends NativeBaseEvent { ... }

Can you please let me know if you manage to reproduce this error?

@salmonb this is very weird. I retried  right now in my environment, with GWT2.10 and no issue. Which GWT version are u using? and are you including jsinterop annotation lib? if yes, which version?
Can you also send me if you are compiling by GWT with some parameters?
Needed to try to reproduce the error.

@salmonb just for your info. I recompiled right now the charba showcase for GWT using the GWT2.10 and 2.9.0 and this is the result:
GWT 2.10
gwt-compile:
     [java] Compiling module org.pepstock.charba.showcase.Charba_Showcase
     [java]    Compiling 2 permutations
     [java]       Compiling permutation 0...
     [java]       Compiling permutation 1...
     [java]    Compile of permutations succeeded
     [java]    Compilation succeeded -- 134.722s
     [java] Linking into .\git\Charba-Showcase\war\charba_showcase
     [java]    Link succeeded
     [java]    Linking succeeded -- 1.816s

GWT 2.9
gwt-compile:
     [java] Compiling module org.pepstock.charba.showcase.Charba_Showcase
     [java]    Compiling 5 permutations
     [java]       Compiling permutation 0...
     [java]       Compiling permutation 1...
     [java]       Compiling permutation 2...
     [java]       Compiling permutation 3...
     [java]       Compiling permutation 4...
     [java]    Compile of permutations succeeded
     [java]    Compilation succeeded -- 313.895s
     [java] Linking into .\git\Charba-Showcase\war\charba_showcase
     [java]    Link succeeded
     [java]    Linking succeeded -- 2.138s

JVM heap: -Xmx1G
GWT params: -war war -strict -logLevel INFO -style OBFUSCATED org.pepstock.charba.showcase.Charba_Showcase

It's  really weird. Let me know because the case is very interesting.

I'm using GWT 2.10 too, and Elemental2 version 1.1.0.
I'm working on a complex project with many modules and dependencies, but it should be easy to reproduce the problem if you clone it and compile it. Here is the project: https://github.com/modalityone/modality
You can clone the main branch and try to compile it using mvn package -P gwt-compile and you should reproduce the error.
You can also directly see the error on our GitHub workflow: https://github.com/modalityone/modality/actions/runs/3003278592/jobs/5030014029

We have a look!

@salmonb we have clone the project and run MVN and it failed. But the starnge thing is that in the clone we have, it's configuring to use Charba version 5.5 where that class, you mentioned, doesn't exist. We are still investigating

@stockiNail I found the problem thanks to the point you raised!
The failing module was modality-all-backoffice-application-gwtwhich has a dependency to webfx-extras-visual-charts-peers-gwt-charba which has a dependency to charba 5.6-gwt (this is what I updated this morning).
However Charba 5.5-gwt was still listed in https://github.com/modalityone/modality/blob/main/modality-all/modality-all-backoffice-application-gwt/pom.xml (which explains what you said). After updating this pom to list charba 5.6-gwt as well, the problem is fixed.
So the GWT compilation error was probably caused by the difference of the declared charba version between these 2 modules.
The fault was on our side, sorry!
Thank you for helping us to find it!

@salmonb very happy to hear you solved! Anyway it has been good exercise for us to have a look to the related stuff to the issue and your project, very good and interesting one ;) !!

Thanks @stockiNail, it will take at least a year to finish Modality. It's actually a rewrite of a private system already in production, but this time it will be open-source, and I think that yes, it can have some success on GitHub.
I'm also the maintainer of WebFX, a JavaFX transpiler that Modality is based on. You can see some demos on our website. WebFX doesn't cover complex controls yet, such as charts for example. But what I do for now is to provide a simple chart cross-platform API, with a OpenJFX implementation and a GWT implementation. The GWT implementation is using Charba ~ thank you!

Sounds interesting... I'm curious to know how it works... I'll have a look. :D

@salmonb apologies if I disturb you with a question. Having a look to your project, I don't see any possibilities to use GWT widgets (because you are leveraging on Elemental2) or code splitting. Am I wrong? If I'm right, let me ask you why are you using charba-gwt instead of charba jar?

Was busy creating our Twitter account and publishing our first tweets...
I hadn't read your documentation correctly and assumed too quickly that charba-gwt version was for GWT and charba for J2CL. You're right, we don't use GWT widgets, just Elemental2. So I switched my dependency to charba jar. Well spotted, thank you!

@salmonb ur welcome! Let me know if everything is working well!

@stockiNail Yes, everything is working well with charba jar, thank you!! :+1:
BTW Amazing how our brand new twitter account just got 97 followers with just 2 tweets. And this brought us 13 additional stars on GitHub in less than 2 days :smile:

Great!! Very glad for you! Ì dont have Twitter:) but I think it’s a good approach
Congratulations well done


feat(terraform): fill in the arn attribute for bucket

Fix https://github.com/aquasecurity/trivy/issues/5089
Related PRs:

[x] https://github.com/aquasecurity/defsec/pull/1506

@nikpivkin any update? The related PRs have merged now.

@simar7 Awaiting https://github.com/aquasecurity/trivy-iac/pull/73


HIP-21 Free network info query

Problem
Add support for a free address book query
HIP: https://hips.hedera.com/hip/hip-21
Depends on issue https://github.com/hashgraph/hedera-mirror-node/issues/3098
Solution
See above
Alternatives
No response

will only be supported by the mirror node at this time

This already exists in develop https://github.com/hashgraph/hedera-sdk-js/blob/develop/src/network/AddressBookQuery.js


CASMINST-6468: Linting and minor corrections

Description
More linting and minor improvements.
Backports:
1.4: inprogress
1.3: inprogress
1.2: inprogress
1.0: inprogress

Checklist

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.4 release/1.3


added section on BLAS

Hi Carl,
I just realized that my change had actually forked the repo and created the commit in a new branch.
So here it is at last. Feel free to edit.

This looks great, thanks for writing this up.


SMARD source no longer works

Since 14.07.2024 00:00 the SMARD source no longer works.
All sensors show as unavailable.
Logs:
Jul 15 09:59:51 netberry hass[144365]: 2024-07-15 09:59:51.968 ERROR (MainThread) [custom_components.epex_spot.SourceShell] no data found for <custom_components.epex_spot.EPEXSpot.SMARD.SMARD object at 0x76980700b3e0>
Jul 15 09:59:51 netberry hass[144365]: 2024-07-15 09:59:51.968 ERROR (MainThread) [custom_components.epex_spot.SourceShell] no data found for <custom_components.epex_spot.EPEXSpot.SMARD.SMARD object at 0x76980700b3e0>
Jul 15 09:59:51 netberry hass[144365]: 2024-07-15 09:59:51.968 DEBUG (MainThread) [custom_components.epex_spot] Finished fetching epex_spot data in 0.000 seconds (success: True)
Jul 15 09:59:51 netberry hass[144365]: 2024-07-15 09:59:51.968 INFO (MainThread) [homeassistant.components.sensor] Setting up epex_spot.sensor

I am using version 2.3.8

SMARD is back again. Seemed to be a problem with it, not the repository.

Indeed. This has already happened a few times before. #131 #118
Seems like SMARD is somewhat unreliable.

Sometimes Smard, but also sometimes Webscraper doesn't work 🙄


Custom Audio Source

I am trying to make a custom audio source class that will accept any Raw Audio. I have a stream class in my source class that can be written to by things outside of the class and then a read function for the recognizer to use. The problem is my buffer keeps running out. How do the other audio sources avoid this problem as it seems the Microphone Source has an unlimited amount of data available? Or at least whenever read is called on Microphone Source something is returned. Here is the implementation of my RawStream. Any advice would be appreciated.
class RawStream(object):
        def __init__(self, sample_width=2):
            self.sample_width = sample_width
            self.sampleDataType = sampleDataTypes[sample_width]
            self.stream = np.array([], dtype=self.sampleDataType)

        # read size bytes from the beginning of stream if possible, or return None otherwise
        def read(self, size):
            data = self.stream[:size]
            self.stream = self.stream[size:]
            return data

        def write(self, data):
            data = np.frombuffer(data, dtype=self.sampleDataType)
            self.stream = np.concatenate((self.stream, data))

Hey, I was wondering if you have found a solution to this.
Currently, I'm looking for a solution to use the speech_recognition package, with my source being a ROS2 /audio topic that I would like to convert to text.
If you have any pointers for me, it would also be greatly appreciated.

The implementation of RawStream object is not thread-safe, if a write operation happens during read operation (or vice versa), the buffer get corrupted. I'd suggest just use io.BytesIO as stream rather than dealing the whole io thing yourself.

Did this ever end up working?


PreferenceFragment?

I was wondering if there was an easy way to use this with a PreferenceFragment/PreferenceScreen.

I can't think of an really easy way to do it. Best you can do is iterate through the preference fragment after inflation and wrap the preference views manually

Well the PreferenceFragment does have a getListView() but I do not know if
that will help.
On Feb 9, 2015 4:30 AM, "Balys Valentukevicius"<EMAIL_ADDRESS>wrote:

I can't think of an really easy way to do it. Best you can do is iterate
through the preference fragment after inflation and wrap the preference
views manually
--
Reply to this email directly or view it on GitHub.

I looked at the code and I thought that if we could separate the Ripple into a Drawable, we could use it as a selector.

Yea, that should work, but that would require completely reworking a large part of the library. I'll leave it as it is for now


Face, Eye, Mouth and Nose detection

I want to add face, eye , mouth and nose detection.
@akshitagupta15june please assign me for this project
I am a GSSOC'21 participant and want to contribute on this project.

hi this is already done you can check in face-emotions folder


Feature Request - more special server commands

Hey :wave:
Here the author of #56. You solved the requested feature pretty fast and nicely by adding the register_method. And I wonder if this feature could be extended. But it doesn't seem too obvious how to extend, so I would like to discuss the solution approach first before thinking about writing a PR.
So I have more LSP server specific commands which are somewhat location related (or could be interpreted like this). So for example the rust-analyzer allows to show a list of tests that are using/related to the piece of code under the cursor. It additionally provides information how to run each individual test etc. pp. Which means it is unfortunately not a simple response with Location[]. Though the request parameter are still just TextDocumentPositionParams.
In this exact case, the response structure of the rust-analyzer looks something like this:
{
  result = {
    {
      runnable = {
        args = { --[[ ... ]] },
        kind = "...",
        label = "...",
        location = { --[[ ... ]] },
      }
    },
    {
      runnable = {
        args = { --[[ ... ]] },
        kind = "...",
        label = "...",
        location = { --[[ ... ]] },
      }
    },
  }
}

So if you take this response and map each entry it to the nested location attribute of it, this would be a regular LSP Location[] data structure again.
Taking this example, I thought about a generic solution approach that puts as less burden as possible on the plugin. And my proposal would be to extend your method representation by adding an optional property called response_preprocessor_callback or something similar (just trying to be expressive). The idea would then be that after the server has responded, the respective logic checks if such a callback is defined and if so, calls it and takes the output of that function to continue processing as always. That would mean for any existing method and all already in use custom ones, nothing changes at all. So it is fully backwards compatible. It also should require not many locations of code to touch and remain hopefully a quite minimal addition.
So an example configuration of a user like me would look the following:
require('glance').register_method(
  name = 'rust-analyzer-related-tests',
  label = 'Related Tests',
  method = 'rust-analyzer/relatedTests',
  response_preprocessor_callback = function(response)
    return vim.tbl_map(function(entry)
        return entry.runnable.location
    end, response.result or {})
  end
)

What do you think?

Hey, sorry for not responding sooner I've been busy lately
You can try to do the preprocessing you need with the before_open hook.
  hooks = {
    before_open = function(results, open, jump, method)
      if method == 'rust-analyzer-related-tests' then
        open(vim.tbl_map(function(entry)
          return entry.runnable.location
        end, results))
      else
        open(results)
      end
    end,
  }

Does this work for you?

No worries maintaining plugins is a horror. I have no expectations. 🙂
Nice! That works! Sorry, haven't thought about this. 🙈
Thank you very much! 🙏🏾


hi3516ev300 mirror

majestic.log
Required information

Camera board id: hi3516ev300

OpenIPC version: 2.1

Commit:  2021-09-02

Branch:

Tag:

installation method: manual

modified majestic.yaml: yes

cat /dev/kmsg

killall majestic
ulimit -c unlimited
echo /tmp/%e.%p.%s.%t.core > /proc/sys/kernel/core_pattern
majestic
Core dump file from /tmp/ , e.g. /tmp/majestic.806.11.1619707881.core

Issue description
при включении mirror в majestic.yaml картинки нет.
A brief description of the problem. Should include what you were
attempting to do, what you did, what happened and what you expected to
see happen.
Expectations
Steps to reproduce

Step one
Step two
Step three

Information to attach

[ ] Any relevant log output (logread -f)
[ ] majestic.yaml configuration (cat /etc/majestic.yaml)
majestic.log.txt
majestic.yaml.txt
dmesg.txt

EV300 family doesn't support mirror mode due to ViPipe capacity. You might want to rewrite sensor driver for specific hardware and use the built-in sensor's mirror mode that was implemented in the original firmware but we have no plans to support such functionally in tree free version.


Cannot find vc1s in Scaleway website

Hi all,
Looking for vc1s offer in Scaleway but unsuccessful....
Any link?

It seems they changed the name. Look here: https://www.scaleway.com/en/pricing/#virtual-instances


ci: update cilium agent MCR usage to containernetworking

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Caches cilium agent from containernetworking subdirectory within MCR
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

you'll need to recreate the PR without using a fork

closing in favor of #5359 due to no fork PRs


added bean classes

I am rejecting this request please change names to that it is easy for others to follow quickly.
Conventions:

No underscores
use camelCase for both variables and Methods
Example: userId, userName

Rejected for not following naming conventions.. Lets follow naming
convention to be uniform everywhere.
On Thu, Oct 1, 2015 at 9:36 PM, Jaswitha<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/chasethenag420/sbs/pull/11
Commit Summary

added bean classes

File Changes

A src/main/java/com/asu/cse545/group12/domain/Transaction.java
https://github.com/chasethenag420/sbs/pull/11/files#diff-0 (146)
A src/main/java/com/asu/cse545/group12/domain/Transfer.java
https://github.com/chasethenag420/sbs/pull/11/files#diff-1 (59)
A src/main/java/com/asu/cse545/group12/domain/UserPII.java
https://github.com/chasethenag420/sbs/pull/11/files#diff-2 (44)

Patch Links:

https://github.com/chasethenag420/sbs/pull/11.patch
https://github.com/chasethenag420/sbs/pull/11.diff

—
Reply to this email directly or view it on GitHub
https://github.com/chasethenag420/sbs/pull/11.

Hi,
I'd like to add you to my professional network on LinkedIn.

Nagarjuna

Confirm that you know Nagarjuna: https://www.linkedin.com/e/v2?e=0-ijdieplb-nq&t=ssuw&tracking=eml-guest-invite-cta&ek=invite_guest&sharedKey=uLz6-Cue&invitationId=6093194557820850177
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/e/v2?e=0-ijdieplb-nq&t=lun&midToken=AQFmrFVhGEd36Q&ek=invite_guest&loid=AQF_NV_7VGQltwAAAVI9gNFAS8kztK7jv84cmZp6Mxvr_uqpeHl-kn4DQy6gZNfwbM8dvGcwY0C0Fojqh106mGCavYWVWJBfacKeDZnyc9yBQFdnyK0AHoSCZ-12JLe45Ow5ehxoAabt0l0oHTIK9hbbsNU_DuPk3CsZQeErerscGWVTbFNGd2e5acjMZ7AY8WI1&eid=0-ijdieplb-nq
This email was sent to<EMAIL_ADDRESS>If you need assistance or have questions, please contact LinkedIn Customer Service: https://www.linkedin.com/e/v2?e=0-ijdieplb-nq&a=customerServiceUrl&ek=invite_guest
© 2016 LinkedIn Corporation, 2029 Stierlin Court, Mountain View CA 94043. LinkedIn and the LinkedIn logo are registered trademarks of LinkedIn.

Nagarjuna Myla would like to connect on LinkedIn. How would you like to respond?
Accept: https://www.linkedin.com/e/v2?e=ykylsd-ijn3w9ra-h3&a=preRegInvite&ek=first_guest_reminder_01&li=14&m=hero&ts=accept_text&sharedKey=uLz6-Cue&invitationID=6093194557820850177
View Nagarjuna Myla's profile: https://www.linkedin.com/e/v2?e=ykylsd-ijn3w9ra-h3&a=preRegInvite&ek=first_guest_reminder_01&li=3&m=hero&ts=profile_text&sharedKey=uLz6-Cue&invitationID=6093194557820850177
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/e/v2?e=ykylsd-ijn3w9ra-h3&t=lun&midToken=AQFmrFVhGEd36Q&ek=first_guest_reminder_01&li=16&m=unsub&ts=HTML&eid=ykylsd-ijn3w9ra-h3&loid=AQEKcbEscqqa2QAAAVJg24yDhvBc--q0N__OFH5GknTKr7-SEsixKhz_XBRmZ1zpwR9qOv01a7ImKwmVfcYmVLxLwegQtw8nif-WEp_b52PURWOO5PEjCW-yvKtxSZfqCJyWRwfqwC23-oKmVU9SEOUlC7XqGgeDoJQuFW_GzfjypneagaCCFYDPfOLGD7e1lDR_
This email was sent to<EMAIL_ADDRESS>If you need assistance or have questions, please contact LinkedIn Customer Service: https://www.linkedin.com/e/v2?e=ykylsd-ijn3w9ra-h3&a=customerServiceUrl&ek=first_guest_reminder_01
© 2016 LinkedIn Corporation, 2029 Stierlin Court, Mountain View CA 94043. LinkedIn and the LinkedIn logo are registered trademarks of LinkedIn.

Nagarjuna Myla would like to connect on LinkedIn. How would you like to respond?
Accept: https://www.linkedin.com/e/v2?e=ykylsd-ijx3mqio-aq&a=preRegInvite&ek=second_guest_reminder_01&li=13&m=hero&ts=accept_text&sharedKey=uLz6-Cue&invitationID=6093194557820850177
View Nagarjuna Myla's profile: https://www.linkedin.com/e/v2?e=ykylsd-ijx3mqio-aq&a=preRegInvite&ek=second_guest_reminder_01&li=3&m=hero&ts=profile_text&sharedKey=uLz6-Cue&invitationID=6093194557820850177
You received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/e/v2?e=ykylsd-ijx3mqio-aq&t=lun&midToken=AQFmrFVhGEd36Q&ek=second_guest_reminder_01&li=15&m=unsub&ts=HTML&eid=ykylsd-ijx3mqio-aq&loid=AQEyhc65Ql_V0gAAAVKE71ZbQ52tZvvWGZZ7lRukkn4_WAlJOhvr73NWe4uy_Ye7lhHxeEvQR4-X9QS7zlBWIkXkyXYN0QLlXC6FmNWE4VhqyqJJNQeG3BlZCpew7vQtEThQXSxn4EltvrRDSh6JxJqOGy_Cb1ETUgmwl5X6svKC6w6dXHGCTgwMHBcVVnJHutge
This email was sent to<EMAIL_ADDRESS>If you need assistance or have questions, please contact LinkedIn Customer Service: https://www.linkedin.com/e/v2?e=ykylsd-ijx3mqio-aq&a=customerServiceUrl&ek=second_guest_reminder_01
© 2016 LinkedIn Corporation, 2029 Stierlin Court, Mountain View CA 94043. LinkedIn and the LinkedIn logo are registered trademarks of LinkedIn.


format addscheme and kubeconfig

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

@rambohe-ch Need your attention.

/lgtm
/approve


Add delta time in tick() function

Is your feature request related to a problem? Please describe.
The only way to get delta time in tick() function is action nodes is actor.get_physics_process_delta_time() which is annoying. Also user won't know at first if this is running in the physics process or the normal process.
Describe the solution you'd like
Add delta (time) parameter, to tick function. It can be passaed in beehave_tree.gd#_physics_process(delta: float) function at line 116
func tick(actor: Node, blackboard: Blackboard, delta: float) -> int:
	pass

This is also useful for condition nodes that needs to create a timer you want to manually control instead of using get_scene_tre().create_internal_tiner()...
Describe alternatives you've considered
I thought about a default blackboard having it but that didn't make sense
Additional context
It's troublesome not knowing at first how tick runs. I'll make another issue for this. I'll try to make also a PR to fix this issue tomorrow

No more updating the delta time in the blackboard!

Created a PR here


addition add methods

some useful helpers to allow flags to be predefined and passed in en masse to a command.

lgtm after minor changes, thanks! :+1:

Done

Thanks! Released v0.3.1.

:metal:


Activity infrastructure refactor

This large refactor accomplishes the following:

UI fully decoupled from the blockchain queries and backend calculations etc. UI uses Realm listener to update view elements when they have been updated in the database. Values are stored in the database via the backend blockchain interface.
"Single source of truth". UI always updates each element from the same data source.
Create abstracted "meta" token cards. These contain enough information to disambiguate one token, and order it in a list view.
Remove deprecated update systems and connections from Blockchain to UI info.

To see an example, see the before and after for WalletViewModel. You will see that now it consists of only an initial database fetch for the MetaTokenCards and some ancillary parts. In the UI, WalletFragment now uses a database listener to update the token cards.

@JamesSmartCell this PR is massive and not atomic, not really sure how I can review it?

Note, this branch is not intended to be reviewed. It will become the new master once we have established that it's stable.


Update ts0041.py for using MODEL: "TS0041", instead of MODELS_INFO,

Using MODEL: "TS0041", for both types (time cluster as in or out).

Codecov Report

Merging #957 (fc00a0e) into dev (302cf4c) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #957      +/-   ##
==========================================
+ Coverage   82.60%   82.62%   +0.01%
==========================================
  Files         191      191
  Lines        4812     4816       +4
==========================================
+ Hits         3975     3979       +4
  Misses        837      837

Impacted Files
Coverage Δ

zhaquirks/tuya/ts0041.py
100.00% <100.00%> (ø)

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 302cf4c...fc00a0e. Read the comment docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 82.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
3979

Relevant Lines:
4816

💛  - Coveralls

This closing #956 with ("_TZ3000_iklyvnq3" , "TS0041"), as  new device.
Also old ID is not used longer but was working OK but for the history:
("_TZ3000_pzui3skt", "TS0041"),
("_TZ3000_xkwalgne", "TS0041"),
("_TZ3000_peszejy7", "TS0041"),
("_TZ3000_iklyvnq3" , "TS0041"),
("_TZ3000_tk3s5tyg", "TS0041"),
("_TZ3000_q68478x7", "TS0041"),
("_TZ3000_4upl1fcj", "TS0041"),
("_TZ3400_keyjqthh", "TS0041"),
("_TZ3000_4upl1fcj", "TS0041"),


New Environment Numpy Install Issue

In a new python environment, using virtualenvs in PyCharm, I tried installing orchid (with pip) initially. This environment was build specifically to use for orchid analysis so I wanted the pip install to bring in all dependencies.
There was an issue when it tried to uninstall Numpy. I hadn't yet installed Numpy in this environment and not sure the order in which is was called.
My remedy was to install Numpy, then retry the orchid installation and that worked.

This error is definitely unexpected. On my workstation, I do not have numpy installed in my global environment. Consequently, whenever, I create a new virtual environment and install orchid-python-api, I see it successfully install numpy.
I think it is worthwhile to verify the expected behavior, but this issue may be a transient issue on the user's machine.


messages appear unreadable to humans on storage

[Enter feedback here]
following this tutorial, the message body will be decoded in base24 format. Reading the message with the iot Explorer, it is autimatically decoded, but not on the storage. This is very confusing to everyone who is not familar with base24 and it takes quite some time to find the solution: add the sequence "$.ct=application%2Fjson&$.ce=utf-8" to the property_bag of mqtt topic. cf. https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://learn.microsoft.com/en-us/answers/questions/1190723/how-to-get-rid-of-base64-encoding-on-event-body&ved=2ahUKEwiNzq6zqvKBAxWPR_EDHT91A-gQFnoECBQQAQ&usg=AOvVaw2vfirRzS2J8Fh2et11Er7c
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f233412c-4242-e9a6-e09d-c5b07775dd00
Version Independent ID: 3a940d2c-77bb-b8ff-8864-9fc6ef16c122
Content: Tutorial - Configure message routing - Azure IoT Hub
Content Source: articles/iot-hub/tutorial-routing.md
Service: iot-hub
GitHub Login: @kgremban
Microsoft Alias: kgremban

Hi @karltheo Thank you for reporting the issue. I agree that the default encoded messages from SDKs have caused some inconvenience.
I see that the you have created this feedback on the document Tutorial: Send device data to Azure Storage using IoT Hub message routing. The article points to use the C# code repository sample which already has the decoding information embedded into the code. Please refer the following piece of code that is responsible for this decoding. If you have used the same code sample, you should be able to see the decoded messages in the routed end point.
Please let us know if you have used a different code sample from another article where you have encountered this issue.
Best regards,
Leela Rajesh.

Hi @karltheo We haven't heard back from you on this issue. We are proceeding to close this issue now. If you identify any issues with any sample code in the documents where the telemetry is not decoded, kindly open a new issue referencing the correct document.
If you have any technical challenges related to any Azure related services, please report the issue on Microsoft Q&A forum
Best regards,
Leela Rajesh.


[chip-test] chip_sw_alert_handler_lpg_sleep_mode_pings

Test point name
chip_sw_alert_handler_lpg_sleep_mode_pings
Host side component
No response
OpenTitanTool infrastructure implemented
Yes
Contact person
@cindychip
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] HJSON test plan updated with test name (so it shows up in the dashboard)
[ ] Test added to dvsim nightly regression (and passing at time of checking)

@bilgiday - an update on the status of writing this test would also be appreciated.

@johngt, it is almost done. There is an active PR, I already got 2 approvals. After addressing a few comments and verifying that DV sim passes, it can be merged. I expect this to be merge-ready by EOD.

@johngt, @johannheyszl  The PR is merged, the test is passing on my local DV and FPGA environment. Waiting for nightly regression result to close the issue.

Thanks @bilgiday - We normally wait for 3 passes before closing out the nightly regressions but will come back sooner if there is an issue reported.

@bilgiday
The nightly came in and there seems to a be something flagged up. Copying the error report here for your convenience.
UVM_ERROR @ * us: (sw_logger_if.sv:522) [alert_handler_lpg_sleep_mode_pings_test_prog_sim_dv(sw/device/tests/alert_handler_lpg_sleep_mode_pings.c:447)] CHECK-fail: Phase #*: No new alerts has been fired after wakeup! has 1 failures:

Test chip_sw_alert_handler_lpg_sleep_mode_pings has 1 failures.
0.chip_sw_alert_handler_lpg_sleep_mode_pings.4264109033
Line 523, in log /container/opentitan-public/scratch/os_regression/chip_earlgrey_asic-sim-vcs/0.chip_sw_alert_handler_lpg_sleep_mode_pings/latest/run.log

  UVM_ERROR @ 16636.958198 us: (sw_logger_if.sv:522) [alert_handler_lpg_sleep_mode_pings_test_prog_sim_dv(sw/device/tests/alert_handler_lpg_sleep_mode_pings.c:447)] CHECK-fail: Phase #2: No new alerts has been fired after wakeup!
  UVM_INFO @ 16636.958198 us: (uvm_report_catcher.svh:705) [UVM/REPORT/CATCHER]
  --- UVM Report catcher Summary ---

@johngt Thanks for the ping. Is this the one that came yesterday? (Wednesday November 16 2022 08:14:00 UTC, GitHub Revision: feb3d3a15).
If so, I noticed this, and we merged a fix for this, and currently waiting for today's results: #16413
Please let me know if this one is not resolved by #16413, and I can do further triage.

With #16062, the test has passed the last nightly regression 3 times. Could we please close the issue if everyone is fine with it?

SGTM - let's reopen if it fails again.


Some refactoring of Trajectory

This PR contains some initial refactoring work for improving Trajectory:

Remove MultinomialNUTS related types.
AbstractHamiltonianTrajectory ==> AbstractTrajectory
Simplify NoUTurnTrajectory and StaticTrajectory type design.
Rename proposal.jl to trajectory.jl.
Unify step and steps function for leapfrog integration (fixed https://github.com/TuringLang/AdvancedHMC.jl/issues/16#issuecomment-480299854)
Added a flag for selecting leapfrog integration direction (fixed https://github.com/TuringLang/AdvancedHMC.jl/issues/16#issuecomment-480020933)
Some code style fixes.

@xukai92 This PR contains some initial steps for refactoring Trajectory. I'll introduce some additional abstraction discussed in https://github.com/TuringLang/AdvancedHMC.jl/issues/48 and https://github.com/TuringLang/AdvancedHMC.jl/issues/16  in a separate PR.

Thanks for the great work! I'll review either tonight or tomorrow afternoon.

@yebai I left some questions in some of the code changes. Please take a look.

@yebai I left some questions in some of the code changes. Please take a look.

This PR was initially focused on bugfixes, and make preparations for the introduction of Termination and PhasePoint types. I'll fix the leapfrog bug, then I think we solve other issues in a separate PR.

Ready for another review. @xukai92

I will take a look at the style guide and fix the formatting issue; then we're ready to go!


Portworx Enterprise -- RHEL 9.5 Support

Follow up https://ibm-argonauts.slack.com/archives/C07HKFU19NF/p1732034715312759


Currently not working

`Status: Downloaded newer image for bencdr/indexer:idea-2021.3
Generating indexes
2022-01-25 13:04:16,296 [     63]   WARN - llij.ide.plugins.PluginManager - id redefinition ([row,col,system-id]: [2,3,"product classpath"])
Jan 25, 2022 1:04:17 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Jan 25, 2022 1:04:17 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: No such file or directory
Jan 25, 2022 1:04:17 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background ?/.java/.userPrefs/prefs.xml
Dump Shared Index command IU-213.5744.223
Failed to parse commandline: /shared-index/output
Usage:
[idea] dump-shared-index [command] [options]
The "project" command help:
Generates shared index for a given project
Usage:
[idea] dump-shared-index project [options]
options:
--output=              Location of the indexes output directory
it will be updated with generated new indexes
--project-dir=<value>         Project home directory

--commit=<value>              [optional] Source Version Control revision

--compression=<value>         [optional] Compress shared index using: xz, gzip, plain

--configure-project=<value>   [optional] Call IntelliJ project configurators

--convert-project=<value>     [optional] Call IntelliJ version converters

--project-id=<value>          [optional] Project identifier

--use-xz-compression=<value>  DEPRECATED. Please use 'compression=xz' or 'compression=plain instead
                              [optional] Shared index can be additionally compressed with xz

2022-01-25 13:04:18,504 [   2271]   WARN - l.NotificationGroupManagerImpl - Notification group CodeWithMe is already registered (group=com.intellij.notification.NotificationGroup@5ec78e22). Plugin descriptor: PluginDescriptor(name=Code With Me, id=com.jetbrains.codeWithMe, descriptorPath=plugin.xml, path=/opt/idea-IU-213.5744.223/plugins/cwm-plugin, version=213.5744.223, package=null, isBundled=true)
Formatting indexes
Running the 'cdn-layout-tool' tool 0.8.65
Collected 0 index.json groups
Collected 0 index.json groups
Adding 0 items...
mv: cannot stat '/shared-index/output': No such file or directory
Creating intellij.yaml file
Wrote the following to intellij.yaml:
sharedIndex:
project:
- url: http://localhost:3000/project
Be sure to commit this file to source control so others can use it.
`

Hi! sorry for the late response, what was the command you ran?

Hi @bpmct !
Sorry for the late reply.
 User preferences are unusable.
Feb 01, 2022 12:32:22 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: No such file or directory
Feb 01, 2022 12:32:22 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background ?/.java/.userPrefs/prefs.xml
Dump Shared Index command IU-213.5744.223

Failed to parse commandline: /shared-index/output

Usage:
  [idea] dump-shared-index [command] [options]

  The "project" command help:
    Generates shared index for a given project

  Usage:
    [idea] dump-shared-index project [options]

  options:
    --output=<value>              Location of the indexes output directory
                                  it will be updated with generated new indexes

    --project-dir=<value>         Project home directory

    --commit=<value>              [optional] Source Version Control revision

    --compression=<value>         [optional] Compress shared index using: xz, gzip, plain

    --configure-project=<value>   [optional] Call IntelliJ project configurators

    --convert-project=<value>     [optional] Call IntelliJ version converters

    --project-id=<value>          [optional] Project identifier

    --use-xz-compression=<value>  DEPRECATED. Please use 'compression=xz' or 'compression=plain instead
                                  [optional] Shared index can be additionally compressed with xz

2022-02-01 12:32:23,089 [   2056]   WARN - l.NotificationGroupManagerImpl - Notification group CodeWithMe is already registered (group=com.intellij.notification.NotificationGroup@2dfad5cc). Plugin descriptor: PluginDescriptor(name=Code With Me, id=com.jetbrains.codeWithMe, descriptorPath=plugin.xml, path=/opt/idea-IU-213.5744.223/plugins/cwm-plugin, version=213.5744.223, package=null, isBundled=true)
============================================================
Formatting indexes
============================================================
Running the 'cdn-layout-tool' tool 0.8.65
Collected 0 index.json groups
Collected 0 index.json groups
Adding 0 items...
mv: cannot stat '/shared-index/output': No such file or directory
============================================================
Creating intellij.yaml file
============================================================
note: Your project already has an intellij.yaml file. Be sure to add the following to it:

sharedIndex:
  project:
    - url: http://localhost:3000/project

Am I missing smth?

It seems to me, something is missing in the Docker image OR just some silly syntax issue on my Ubuntu

I was able to reproduce this on Ubuntu. It had to do with the -u flag mounting the user. Try this
docker run -it --rm \
    -v "$(pwd)":/var/project \
    -v "$HOME/indexes-out":/shared-index \
    -e INDEXES_CDN_URL=http://localhost:3000/project \
    bencdr/indexer:idea-2021.3

# you may need to fix the file permissions for the generated indexes
sudo chown _R $(id -u):$(id -g) $HOME/indexes-out

I have updated the README to reflect this and I apologize for the issues!


Hi and thank you for this project

Hi, i'm new to youtube-dl and I only have 1 question, whenever I download a youtube file it has some sort of code of the video link, I.E. Alesana - apology, the file has "DaXHrA1TVlg" in it's name, is it possible to remove it via commands in youtube-dl? Thanks

Hey, the code that you see is the id for that particular video according to youtube. To format the output filename you can use the -o       --output option with the associated format given (see here for more details and examples).
For your particular video and requirement the command will be:
youtube-dl --output '%(title)s.%(ext)s' https://www.youtube.com/watch?v=DaXHrA1TVlg

The above mentioned command will do exactly this.

@party98 thank you btw, I've forgot to say that.


Backend project created with token based auth support.

Please review the code before merge it into master.


Old Examples

Please update to include some examples of how Azure Sentinel can be used to enhance the security baseline.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9ed72aa5-0b5c-5393-0277-7d96990cb196
Version Independent ID: 8db532bf-30cf-82f9-fa73-42b89b7c75ed
Content: Enhanced management baseline in Azure - Cloud Adoption Framework
Content Source: docs/manage/azure-management-guide/enhanced-baseline.md
Service: cloud-adoption-framework
Sub-service: manage
GitHub Login: @BrianBlanchard
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 444750

It appears this has been addressed.  If assistance is still needed, please re-open with additional details.

#please-close


How to disable / enable xhr mocking ?

I would like to use phantomxhr in some complex use cases where some xhr queries have to pass and some others have to be mocked. He's there a way to disable/enable xhr mocking in a casperjs step ?
Another achievement would to permit mock on declared url (or regexp)
var fake_case = null;
casperjs.on('page.initialized',function(){
// we mock edition error
fake_case = xhr.fake({
url: /case.php/,
method:'get',
status:500,
responseBody:'HTTP 500 ERROR'
});
});
casperjs.then(function(){
facke_case.disable();
});
// do stuff
casperjs.then(function(){
facke_case.enable();
});

https://github.com/Huddle/PhantomXHR/pull/10  adds a restore method


EFcore 5.0.1+FromSqlRaw + Future() extension causes System.ArgumentException (similar to #585)

Description
When using "FromSqlRaw" to populate an entity from a derived query, a System.ArgumentException exception is thrown.
    public virtual DbSet<LocalEnum> LocalEnums { get; set; }

    modelBuilder.Entity<LocalEnum>().HasNoKey().ToView("_no_table");

    public IQueryable<LocalEnum> FromEnum<T>()
    {
        var typeT = typeof(T);

        var selects = Enum.GetValues(typeT)
            .Cast<T>()
            .Select(e => $"({Convert.ToInt32(e)}, '{e}')"); // Todo localize

        var sql = $"SELECT * FROM (VALUES {string.Join(", ", selects)}) AS {typeT.Name}([Value], [Name])";

        return LocalEnums.FromSqlRaw(sql);
    }

    public static async Task<(int Count, T[] Items)> GetPaged<T, TSort>(this IQueryable<T> qry, int page, Expression<Func<T, TSort>> defaultSort, CancellationToken cancellationToken) where T : class
    {
        var skip = (page - 1) * PAGE_SIZE;

        var ftrCount = qry
            .DeferredCount()
            .FutureValue();

        var ftrItems = qry
            .OrderBy(defaultSort)
            .Skip(skip)
            .Take(PAGE_SIZE)
            .Future();

        var count = await ftrCount.ValueAsync(cancellationToken);
        var items = await ftrItems.ToArrayAsync(cancellationToken);

        return (count, items);
    }

Exception
If you are seeing an exception, include the full exceptions details (message and stack trace).
System.ArgumentException: No mapping exists from object type System.Object[] to a known managed provider native type.
   at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Z.EntityFramework.Plus.QueryFutureBatch.ExecuteQueriesAsync(CancellationToken cancellationToken)
   at Z.EntityFramework.Plus.QueryFutureValue`1.ValueAsync(CancellationToken cancellationToken)
   at ZEFPlusTest.Extensions.GetPaged[T,TSort](IQueryable`1 qry, Int32 page, Expression`1 defaultSort, CancellationToken cancellationToken) in C:\Users\terickson\Source\repos\EfcorePlusTest2\ZEFPlusTest\Extensions.cs:line 28
   at ZEFPlusTest.Program.MainAsync() in C:\Users\terickson\Source\repos\EfcorePlusTest2\ZEFPlusTest\Program.cs:line 62P

Fiddle or Project
https://github.com/Thundarr1974/EfcorePlusTest
Further technical details

EF version: 5.0.1
EF Plus version: 5.1.11
Database Provider: Microsoft.EntityFrameworkCore.SqlServer

Thank you for your project,
My developer will look at it.
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Thank you for your project,
My developer will look at it.
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Hello @Thundarr1974 ,
The v5.1.12 has been released.
Could you try it and let me know if my developer successfully fixed your issue?

Hello @Thundarr1974 ,
The v5.1.12 has been released.
Could you try it and let me know if my developer successfully fixed your issue?

I updated the test solution to use 5.1.12, but I'm still seeing the error message:

I updated the test solution to use 5.1.12, but I'm still seeing the error message:

Thank, I will follow-up with my developer.
He already got a project, so I will check with him why this is working on his side.
Best Regards,
Jon

Thank, I will follow-up with my developer.
He already got a project, so I will check with him why this is working on his side.
Best Regards,
Jon

Hello @Thundarr1974 ,
The v5.1.13 has been released.
Could you try this version and let me know if this time the right issue has been fixed?

Hello @Thundarr1974 ,
The v5.1.13 has been released.
Could you try this version and let me know if this time the right issue has been fixed?

Hi Jonathan,
The test solution did work, but my project still had the error.  After some digging, I found the issue still happens if a strongly typed projection is used in the query.  So this works now...
                var qry = from p in context.Profiles                           join pid in context.FromEnum<ProfileId>() on p.Id equals pid.Value                           select new                           {                               p.Id,                               pid.Name                           };
but it fails if we remove the anonymous select
                          select new ProfileView                           {                               Id = p.Id,                               Name = pid.Name                           }
I updated the test solution to replicate the new finding.

Hi Jonathan,
The test solution did work, but my project still had the error.  After some digging, I found the issue still happens if a strongly typed projection is used in the query.  So this works now...
                var qry = from p in context.Profiles                           join pid in context.FromEnum<ProfileId>() on p.Id equals pid.Value                           select new                           {                               p.Id,                               pid.Name                           };
but it fails if we remove the anonymous select
                          select new ProfileView                           {                               Id = p.Id,                               Name = pid.Name                           }
I updated the test solution to replicate the new finding.

Thank,
My developer will look at this case.

Thank,
My developer will look at this case.

Hello @Thundarr1974 ,
A new version is now available.
My developer changed the way he initially solved this issue, let hope everything is fine this time ;)
Best Regards,
Jon

Hello @Thundarr1974 ,
A new version is now available.
My developer changed the way he initially solved this issue, let hope everything is fine this time ;)
Best Regards,
Jon

Thanks Jon, I pulled the latest and the issue has been resolved - closing.

Thanks Jon, I pulled the latest and the issue has been resolved - closing.

@JonathanMagnan  I have the same issue:
EF version: 6.0.1
EF Plus version: 6.13.5
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
No mapping exists from object type System.Object[] to a known managed provider native type.

   at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__188_0(Task`1 result)     at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)  --- End of stack trace from previous location ---     at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)  --- End of stack trace from previous location ---     at Z.EntityFramework.Plus.QueryFutureBatch.ExecuteQueriesAsync(CancellationToken cancellationToken)     at Z.EntityFramework.Plus.QueryFutureEnumerable`1.ToListAsync(CancellationToken cancellationToken)     at Connect.Web.Paging.PagedList`1.GetPagedList(IQueryable`1 source, PagingParameters query) in C:\Users\Musab\source\repos\connect\Connect.Web\Paging\PagedList.cs:line 39     at Connect.Web.Utilities.IQueryableExtensions.ToPagedResultAsync[T](IQueryable`1 source, PagingParameters query) in C:\Users\Musab\source\repos\connect\Connect.Web\Utilities\IQueryableExtensions.cs:line 17     at Connect.Web.Controllers.InfrastructureController.Get(PagingParameters paging, InfrastructureFilter filters, IEnumerable`1 qf) in C:\Users\Musab\source\repos\connect\Connect.Web\Controllers\InfrastructureController.cs:line 60     at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)     at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)     at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)     at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)     at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)     at Connect.Web.Utilities.ErrorHandlingMiddleware.Invoke(HttpContext context, ErrorsDbContext dbContext) in

Hello @musabsudan ,
My developer tell me he tested this version and everything work as expected.
Do you think you could create a runnable project with the issue? It doesn’t need to be your project, just a new solution with the minimum code to reproduce the issue. You can send it in private here<EMAIL_ADDRESS>Best Regards,
Jon


Feature/token route

Extends keycloak-mock handlers with token endpoint.
This endpoint is usefully to use in integration test, for example a application that need to get a access token (with roles) to consume another REST API or to easily test authorized/unauthorized requests.

Hello @ostrya,
Did you already have a chance to looking at my merge propose?
Thanks.

Hi @andreconrado , thanks for your contribution! In general, I like the idea of enhancing the functionality of the mock in the direction of mocking the actual API behavior. One thing which I have been thinking about (and which is the reason I have not come back to you sooner, sorry for that) is that as a prerequisite for mocking the Keycloak API, I would like the mock to actually offer the full API which is currently only available in the standalone module.
If you can wait a bit longer still, I would refactor the code as described to move the API into the mock in preparation. Then with your change the user can decide whether to use the "normal" implementation or some mock responses.

Hi again, I have prepared a PR of my own for the envisioned refactoring. You can already have a look: https://github.com/TNG/keycloak-mock/pull/72. I hope we can get this merged within the next few days.

Hi, I made a brief review and seems ok.
Thanks.

Hi @andreconrado, the refactoring has now been merged, so you can now see if you can rebase your changes.

First of all: please rebase your branch rather than merging the master branch directly. Also, I think the merge broke the build and removed most of your changes regarding the token route, especially the part where a mock response can be configured.
Furthermore, I am still not 100% clear on what you would like to achieve that goes beyond the default token route implementation. Could you maybe describe your use case for this change?

Hey @andreconrado, can you please have a look again at my comments above? In the current state, the merge request does not offer any valuable functionality to the user, as the method getTokenRoute which you added now returns the default implementation of the route which does not have any extra methods like withErrorResponse().
First of all, I would really like to understand the use case you have for which you would like to extend the current functionality. Can you please provide a simple example?
Also, please drop the two merge commits in your PR if you want this to be merged, and rebase the remaining commits onto the current upstream master.

I will close this MR due to lack of feedback. Feel free to re-open it if you feel your use case is valuable, but then please explain it with an example.


Errors in build with cmake

Hello, i'm trying to build BioGears with cmake and i get these issues:
In the GUI i get this:
Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.

    Using the following search paths
    CMAKE_MODULE_PATH = C:/biogears/core/cmake;C:/biogears/core/cmake;C:/biogears/core/cmake/common
    CMAKE_PREFIX_PATH  =
    CMAKE_FIND_ROOT_PATH =

GIT_REV=7.3.1-147-g4cb0be17

Configuring biogears_common
  C:/biogears/core/projects/biogears-common/include
  C:/biogears/core/projects/biogears-common/src
  C:/biogears/core/build/projects/biogears-common

CMake Warning at cmake/cmake-common_logic.cmake:42 (message):
  The following packages CodeSynthesis were not found.For native compilations
  setting CMAKE_PREFIX_PATH can solve this problemFor cross complilation try
  expanding your CMAKE_FIND_ROOT_PATH
Call Stack (most recent call first):
  projects/biogears/CMakeLists.txt:34 (verify_package)

CMake Error at cmake/cmake-common_logic.cmake:47 (message):
  Unable to find CodeSynthesis which is marked REQUIRED
Call Stack (most recent call first):
  projects/biogears/CMakeLists.txt:34 (verify_package)

Configuring incomplete, errors occurred!
See also "C:/biogears/core/build/CMakeFiles/CMakeOutput.log".
See also "C:/biogears/core/build/CMakeFiles/CMakeError.log".

In the CMakeError.log i get this:
Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/biogears/core/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_3d419.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine versión 16.7.0+b89cb5fde para .NET Framework

Copyright (C) Microsoft Corporation. Todos los derechos reservados.

  Microsoft (R) C/C++ Optimizing Compiler Version 19.27.29111 for x64

  CheckIncludeFile.c

  Copyright (C) Microsoft Corporation.  All rights reserved.

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_3d419.dir\Debug\\" /Fd"cmTC_3d419.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue C:\biogears\core\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c

C:\biogears\core\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\biogears\core\build\CMakeFiles\CMakeTmp\cmTC_3d419.vcxproj]

It seems pthread.h is missing, and in the cmake GUI the Threads_DIR is empty i don't know what to put in there.
I already installed all dependencies (even Boost, which is not mentioned in the build steps).
Using Visual studio 16 2019 with x64 in windows 10.
Thanks in advance.

Hi @DMLON ! looks to me like you need to set your CMAKE_PREFIX_PATH to be equal to where your external dependencies are. For example for my build I set
CMAKE_PREFIX_PATH = D:/BioGears/biogears/external/windows-vc15-amd
You'll want to modify the rhs with the location for your machine. Let me know if this helps and we can go from there!

Hello! I've been doing some tests changing the prefix path, but i'm having the same issue, CodeSynthesis is not being found. This is my output:
`Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19041.
Using the following search paths
CMAKE_MODULE_PATH = C:/biogears/core/cmake;C:/biogears/core/cmake;C:/biogears/core/cmake/common
CMAKE_PREFIX_PATH  = C:/biogears/external
CMAKE_FIND_ROOT_PATH =

GIT_REV=7.3.1-147-g4cb0be17
Configuring biogears_common
C:/biogears/core/projects/biogears-common/include
C:/biogears/core/projects/biogears-common/src
C:/biogears/core/build/projects/biogears-common
CMake Warning at cmake/cmake-common_logic.cmake:42 (message):
The following packages CodeSynthesis were not found.For native compilations
setting CMAKE_PREFIX_PATH can solve this problemFor cross complilation try
expanding your CMAKE_FIND_ROOT_PATH
Call Stack (most recent call first):
projects/biogears/CMakeLists.txt:34 (verify_package)
CMake Error at cmake/cmake-common_logic.cmake:47 (message):
Unable to find CodeSynthesis which is marked REQUIRED
Call Stack (most recent call first):
projects/biogears/CMakeLists.txt:34 (verify_package)
Configuring incomplete, errors occurred!
See also "C:/biogears/core/build/CMakeFiles/CMakeOutput.log".
See also "C:/biogears/core/build/CMakeFiles/CMakeError.log".`
CodeSynthesis is already installed as xsd.exe in the binary folder and xsd folder in include directory, am i missing anything?

ok so it looks like its still not finding xsd code synthesis, I guess double check that xds.exe is indeed in the C:/biogears/external directory? If this still isn't working we can help you by hosting a screen shareing application like webex and we can track down the issues.


Could not run kodi container on pure wayland machine via x11docker

Trying to run kodi via
x11docker -- wayland -- tty --gpu --alsa --homedir /home/docker erichough/kodi
gets
invalid volume specification: '/run/user/1000/:/:rw' invalid mount config for type "bind": destination can't be '/'.
Adding "-v /run/user/1000:/tmp:rw" doesn't help.
XDG_RUNTIME_DIR is manually set and exported on a host machine.
I'm not quite familiar with docker yet so I probably would need some directions...
UPDATE: XDG_RUNTIME_DIR being unset makes the "/:/:rw" instead
x11docker.log at pastebin.com

I've found the issue:
You are setting options --wayland --tty. Run with --wayland but without option --tty.
Option --tty configures x11docker to run without X or Wayland. x11docker should catch the invalid combination --wayland --tty, I'll look into it.
However, kodi fails with:
---> starting Kodi with command: kodi-standalone
Error: /usr/lib/x86_64-linux-gnu/kodi/kodi-gbm not found
Error: /usr/lib/x86_64-linux-gnu/kodi/kodi-gbm not found
Error: /usr/lib/x86_64-linux-gnu/kodi/kodi-gbm not found
/usr/bin/kodi --standalone  has exited in an unclean state 3 times in the last 0 seconds.
Something is probably wrong
---> Kodi does not appear to be running. Exiting.

This should be reported at https://github.com/ehough/docker-kodi/issues/26
x11docker succeeds in a pure Wayland environment with:
x11docker --wayland x11docker/xfce xfce4-terminal

x11docker --wayland --hostwayland x11docker/xfce xfce4-terminal

Oh, I see. I wasn't sure about --tty. However without --tty I get another error
fatal: drm backend should be run using weston-launch binary. or your system should provide the logind D-bus API.
fatal: failed to create compositor backend.

As I stated in another thread it's a fresh install and logind might be misconfigured easily. At least both logind and dbus daemons are running and seats are reported correctly.
Please consider that I'm leaving for about 10 days now and will be out of reach for this time, so I'll be temporarily unable to participate. Thanks for your work, I'll get back to this soon. And please report to  ehough/docker-kodi#26, for I get another error and won't be able to track... Thanks again!

Most systems are configured to be able to run weston without weston-launch.
Your log shows that you are using Void Linux.
A related Debian ticket sheds some light: https://gitlab.freedesktop.org/wayland/weston/issues/204
Two possible attempts:

x11docker should use weston-launch if running on TTY.
Or add your user to group weston-launch if it exists on Void Linux.

Thanks for the tips! I'll try to sort it out somehow upon return and inform on the results. At least I've a good test -- if weston would launch in a background from a tty without weston-launch.

@mviereck
FYI: I've reported the issue at Void Linux, but it'll apparently take some time. So I'm on the bench now observing. I could have rebuild weston for Void myself, but I run onto some other Void's downsides so I'm not really sure I gonna proceed with Void. I maybe fiddle with Gentoo/Funtoo as the most flexible solution or just go back to LibreELEC for awhile. Will see though.

Ok, thanks for reporting back. However, you could still try:

Add your user to group weston-launch if it exists on Void Linux.

I did a test with kodi adding missing Wayland packages and get a different error now: https://github.com/ehough/docker-kodi/issues/26#issuecomment-506986618
I am not sure how to proceed, the error message isn't that useful.
I think we can close this ticket for now and continue in the docker-kodi ticket.
However, feel free to comment here, the ticket can be reopened.

The user was in weston-launch group from the very start. AFAIU it allowed the user to start weston-launch but it obviously didn't help with start via weston command. Thank you!

The user was in weston-launch group from the very start. AFAIU it allowed the user to start weston-launch but it obviously didn't help with start via weston command.

oh, ok. Maybe I misunderstood that. Thanks for the info!
Could you please provide the link to the Void linux big report? I'd like to look at it, too. Overall Void is an interesting project.

Maybe I misunderstood that

And maybe I did...
Here's the report:
https://github.com/void-linux/void-packages/issues/12754
However I don't expect huge activity on this...

As an alternate attempt you can install Xwayland and run:
x11docker --xwayland --gpu erichough/kodi

or with weston+Xwayland:
x11docker --weston-xwayland --gpu --fullscreen erichough/kodi

However, both attempts use the X backend of kodi and does not fit the attempt to run a pure Wayland environment.

I have encircled the issue, however, I don't have an idea why and how to solve.
Executing weston-launch & directly on console works.
But the very same command in a script fails with:
weston-launch: weston-launch must be run from a virtual terminal

I found that I can reproduce the issue with command tty:
$ tty
/dev/pts/0

$ tty &
/dev/pts/0

$ (tty)
/dev/pts/0

$ (tty) &
/dev/pts/0

$ (tty &)
not a terminal

Unfortunately I did not find an explanation or a solution.
I'll close here for now as unresolved.

Well, I believe it's how the unix shell works: creating separated instance on sub-command. If it's the root of the issue, it's unresolvable. So only weston command is probably applicable, not weston-launch. Meanwhile using Xwayland vs. Xorg is completely pointless -- just creating extra entity, that's it.
JFYI: I could not create pure wayland-based environment on my test notebook yet: X11 is pulled in anyway by other package's dependencies. However, having put xwayland disable into sway's config I made X not to run at all. All the apps are working under wayland environment. So yes, creating pure wayland machine is theoretically possible. However it would demand massive ebuild reworking to fine-tune the deps. BTW I used Funtoo for this. Wanted to try it out for some time.
Thanks for your efforts!

I've encountered a related issue in #176 where tty fails if x11docker is called by another script.
I have changed the shebang of x11docker to run the script interactive (bash -i +H). That seems to make a difference.
x11docker now uses weston-launch if the tty is interactive.
Hopefully it works now.

I've introduced an experimental option --enforce-i to run bash in interactive mode.
I can successfully run weston-launch in x11docker now.
However, I am not sure if this setup is entirely stable and reliable.


Allow textarea boxes to dynamically set validator type and rule

Currently, only regular text boxes can set their regex validations dynamically, but the below linked BZ was specifically testing with textarea boxes and thus wasn't getting the benefit of dynamic validation rule setting.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1694737
@miq-bot add_label bug, hammer/yes
@miq-bot assign @tinaafitz

@eclarizio Can you please change the BZ reference in the git commit message to https://bugzilla.redhat.com/show_bug.cgi?id=1694737 so 5.10.z clone https://bugzilla.redhat.com/show_bug.cgi?id=1702064 won't move to POST after PR is merged.

@simaishi Sure, updated!

Hammer backport details:
$ git log -1
commit b739a7820ccec248a82111a32c8b095884094443
Author: Madhu Kanoor<EMAIL_ADDRESS>Date:   Tue May 7 14:40:00 2019 -0400

    Merge pull request #18743 from eclarizio/allow_textarea_dynamic_attributes

    Allow textarea boxes to dynamically set validator type and rule

    (cherry picked from commit 5bd2a9e8f2465282115ce843ce3b6d07e8efd551)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1702064


mesh generation - explicitly define the interior boundary between two membranes

For my use-case of SME, I need my program to identify explicitly the boundary between two membranes. An easy way to make such differentiation is to define a line element - with dipafferent material number - between  all the vertices of that boundary.
For example: in this mesh, the material number for the boundary in the interior of the mesh is defined by line element with material number -20.

Right now, I am trying to add this line manually -Is there any way to do that from within SME itself? It gets a bit complicated to find the convex hull of the points if the mesh itself is not convex ":D

@lkeegan , any update on this? Since it gets really complicated to do so for complex geometries, it would be nice to know if it is possible to do so within sme itself rather than "fixing it in post" ;)

@purusharths sme does construct these boundary lines as part of the mesh generation but there isn't any functionality to export them, but I guess you can extract this information by iterating over all of the edges in the exported mesh, checking which compartment the two triangles are in that share this edge, and collecting e.g. all the ones that have a triangle from compartment 0 and compartment 1 to get the boundary line between these compartments, as in this notebook:
https://gist.github.com/lkeegan/78e983bd9a7de28fd6f6a76d1248c30a
is that roughly what you are wanting to do?

Ah that's quite an interesting approach! What I used was a sort of line clustering which doens't work for complex shapes - but this is definitely more cleaner.  So it is not possible to embed these extra set of lines in gmsh as physical entity in gmsh? My usual approach is to convert from gmsh to vtk, from vtk to inp, and add material number to the internal boundary in inp. As you can imagine this takes a lot of preprocessing time.
Unfortunately, it doesn't seem like gmsh and inp have have a same indexing for points (ref: https://heibox.uni-heidelberg.de/d/803107f5993d47afb5d9/) I'm not sure if I am missing something but there doesn't seem to be an obvious offset in indexing difference either.

I don't have much experience with mesh file formats, but .inp is listed as one of the supported types for meshio (https://pypi.org/project/meshio/), so maybe you could modify the notebook to add the boundary lines to the meshio mesh object (I guess by adding a "line" section to cells with all of the boundary line elements, and a corresponding boundary line id for each to cell_data?), then export to inp?

Yeah this was the first approach I tried, but sadly, I don't think the inp format that I have to use is slimiar to ABAQUS format that is recoginzed by meshio because it doesn't read the points:
msh = meshio.read("crypt3.inp")
msh
<meshio mesh object>
  Number of points: 0
  No cells.

That's why I was trying to add points mannually but the point index set of gmsh and inp is different so it's not possible to directly write the line element. I suppose a reverse lookup for indices based on points is possible, but it would get messy again.


Inomurko/ife2

:clipboard: Add associated issues, tickets, docs URL here.
Overview
Describe what your Pull Request is about in a few sentences.
Changes
Describe your changes and implementation choices. More details make PRs easier to review.

Change 1
Change 2
...

Testing
Describe how to test your new feature/bug fix and if possible, a step by step guide on how to demo this.

Coverage remained the same at ?% when pulling 0d8318c70f4e06c57e32e6de7a6384d7005fdd31 on inomurko/ife2 into 6f4d00f9fb337b8179ab2ebf2af2d3640c03424c on master.


docs: migrate build status from travis-ci.org to travis-ci.com

:tada: This PR is included in version 1.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


@apply error when using a class name that's the same as a HTML element (eg: table or blockquote)

This is a pretty random bug that you might not actually be interested in fixing, just thought it was worth mentioning incase anyone else runs into anything similar. I previously discussed this with @jalendport on Discord.
Basically when using a class name that matches a HTML element and using @apply, i get an error due to (i think) it trying to assign itself to itself... for example:
.table {
  @apply bg-red;
}

.pretty-tables {
  table {
    @apply .table;
  }
}

would throw the error:
(36:5) `@apply` cannot be used with .table because .table is included in multiple rulesets.

I looked into this error message and found a few other bugs that throw this error when using complicated base classes with media queries / pseudos etc, but in my case i'm doing nothing complex at all.
Changing the .table class to something like .tble or .tablebase works fine
I've tested this with a few other things such as .blockquote and blockquote and getting the same results
I'm using Tailwind v1 with PostCSS and Webpack

Isn't this because Tailwind already has a .table class defined?
https://tailwindcss.com/docs/display

I can't replicate this with .blockquote, but the reason it is happening with .table is because there is already a .table class in Tailwind, so the error is correct since you are adding a second class with the same name.
This compiles fine for me:

Can you create a project that reproduces the issue using blockquote?

Closing this since it makes sense why it happens with .table and I can't reproduce with .blockquote. If someone can create a reproduction happy to look at it!

@adamwathan Tried again with blockquote and the previous example I had working (or broken) seems to be fine now so must've been user error! Sorry for wasting your time, thanks for investigating this :)


add node-bencode to list

Added bencode because we now support abstract-encoding (0.8.0)

nice

@themasch version 0.8.0 (published on npm now) doesn't support abstract-encoding...

@fanatid whoops, communication errors. just released version 0.9 with abstract-encoding support


.NIF format

Would be mega-awesome if this could read NIF files (as used by Skyrim, Morrowind, Oblivion, the Fallout games, etc.).  They seem to be based on .OBJ.  There's an open-source editor, NifSkope, which might be useable as a base from which get codeful things.
I work with NIFs all the time, and it's so darned time consuming to have to manually open them full-size in NifSkope, Outfit Studio, or some other app.

TBH I just have time ATM, I'll keep it in mind for a rainy day 😁

[Insert groveling here.]  :-)  I know what you mean.  I have 50 projects and time for 2.


Add "Local Docker DB" list to "Awesome Lists"

Adding the list of docker-compose samples for running databases made by @alexmacarthur

Local Docker DB a list of docker-compose samples for a lot of databases by @alexmacarthur

Hey @laundmo,
thank you for your contribution.
As https://github.com/alexmacarthur/local-docker-db is by definition no awesome list i think the category "Demos and Examples" fits best.
Please also keep the alphabetic order in mind.

Allright, done. It also seems like "Demos and Examples" was not sorted, so i did that. hope thats okay.

Unfortunately the test fails due to a expired certificate from on of the links. @mashb1t how should we proceed?


Add blood decals to dog model when killing other players

PlayerControllerB.AddBloodToBody:7414 is related. Not totally sure what it would be like to use these on a new model.

Took a couple stabs at this, but I haven't had any luck yet. I have some WIP work on a branch in the meantime.
I think that this is a matter of setting up a DecalProjector object and correctly projecting one of the bodyBloodDecals onto the dog model. So far I think I have some kind of DecalProjector set up, and I have the decal copied and mapped to the head... but it's still not visible yet.
I'd like to test out ModelReplacementAPI and see if they were able to solve this problem already, and then maybe I can learn something from them!

Closing for now since I'm not actively interested in working on this. Will reopen upon request!


Windows setup not working

I'm not sure if there are any plans to get this working on Windows, but I'm getting some errors.

Running in venv
nile init works just fine
nile compile throws an error:

File "C:\Users\LauriP\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
Vanilla Cairo seems to work.
P.S. Available in Starknet Discord as LauriP

Can anybody reproduce this issue?

I am getting an error while running the command pip install cairo-nile.
Error Description:   Could not find a version that satisfies the requirement cairo-nile (from versions: )
No matching distribution found for cairo-nile.
Note: I am using windows os but using WSL CLI, I hope its not causing an issue.


Fix 'undefined' bug in fallback URLs (in library version)

Fixes a small bug noticed in library version.
basePath isn't checked for fallback tiles, so undefined appear in the URL fallback tile URL if basePath isn't defined.

Thanks!


Tiles aren't showing in safari desktop and safari mobile/iOS

Your plugin has always worked great for me however recently the tiles stopped showing in safari mobile and now on safari desktop. I have the tiles set to display:none to prevent the flickering until the js has loaded. Now it seems the the js for your plugin is not initializing and therefore not displaying the tiles in those specific browsers.
http://diningataltitude.com/vail-participants/2016-vail-participant/

Hi @earthjibber,
if this changed it must be something regarding your code and not the plugin I would say.
And in your link I cannot see anything using wookmark.

Got it working, i initialized it wrong. Also updated to the newest version.
thanks


On OpenRC 0.34.1 rc-status doesn't show service as crashed even if the attached PID died

I just upgrade to new OpenRC version 0.34.1 via Artix Linux these days and I got that strange behavior. I was using for a long time the version 0.26 through the Manjaro OpenRC and I didn't see that behavior. Anything change later to 0.26 release about handling crashed services and the specific PID dying?
% rc-service emacs.lerax status
 * status: started
% pgrep emacs
6001
% kill -9 6001
% rc-service emacs.lerax status
 * status: started
% sudo rc-service emacs.lerax restart
 * Stopping Emacs daemon for user lerax ...
 * start-stop-daemon: no matching processes found                                                                                [ ok ]
 * Starting Emacs daemon for user lerax ...

Examples of services which I wrote that I can replicate that behavior are:

emacs-openrc [AUR ported from Gentoo]
xboxdrv-bin [custom]

I need provide something when writing a service or starting a daemon on start-stop-daemon? Sorry if I'm missing something fundamental. My rc.conf.

Never mind, I cannot replicate that issue anymore. But re-undoing that changes on:
# rc will attempt to start crashed services by default.
# However, it will not stop them by default as that could bring down other
# critical services.
rc_crashed_stop=NO
rc_crashed_start=YES

(removing)
Seems that fixed that. Sorry for opening that invalid issue.


Link broken in top-level documentation

The third bullet on Page 1 of the main Apache / Superset documentation has a broken link Documentation | Superset, which leads to an error "Not Found The requested URL was not found on this server."  I want to install Superset into Windows using Docker Desktop.
I am using Firefox on Windows 10.
From the page Superset Introduction
What is Apache Superset?

Apache Superset is a modern, enterprise-ready business intelligence web application. It is fast, lightweight, intuitive, and loaded with options that make it easy for users of all skill sets to explore and visualize their data, from simple pie charts to highly detailed deck.gl geospatial charts.

Here are a few different ways you can get started with Superset:

    Download the source from Apache Foundation's website
    Download the latest Superset version from Pypi here
    Setup Superset locally with one command [using Docker Compose]
    Download the Docker image from Dockerhub
    Install bleeding-edge master version of Superset from Github

https://superset.apache.org/docs/docs/installation/installing-superset-using-docker-compose
Expected results  ==> The link opens the docker compose instructions!!

Thank you @richdevboston I will fix this today!

@srinify was this fixed? If so can we close this issue?

This seems to be resolved in the updated documentation


Updated New-CMTaskSequence Link

Link for New-CMTaskSequence referenced Get-CMTaskSequence instead.
Looked like a typo.

@jacorbello : Thanks for your contribution! The author, @mumian, has been notified to review your proposed change.

Docs Build status updates of commit bf10690:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sccm-ps/ConfigurationManager/Copy-CMTaskSequence.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off


Tutorial on Classical-Quantum transfer learning

Aim
Develop a tutorial on classical quantum transfer learning in TensorFlow-quantum on MNIST Dataset.
Details
The tutorial should use a classical pretrained model with a trainable quantum circuit as the head. One can take inspiration from PennyLane's tutorial.
Resources

A classical-quantum model definition is already present in the repo. You can develop this or create a new model definition at the same directory level.
See the tutorials to understand how things work.

@Gopal-Dahale Hi sir looking forward to contribute, please assign this task to me.


Command + parameter

Another question, I'm creating a bot of tools that help people know information from a ZIPCODE
$bot->onCommand('zip', function (Context $ctx) {
however, the command (/zip) only works if the person types only /zip, but when someone tries to type the command informing the zipcode (ex: /zip 10080) the bot does not respond.

Hey it's on wiki!
$bot->onText('Hi {name}', function (Context $ctx, $name) {
    echo $name;
});


BUG: Binary-Artifact and Pinned-Dependencies kill Scorecard in a repo with large files

Describe the bug
Running Scorecard with Binary-Artifact and/or Pinned-Dependencies on a repo with large files crashes entirely.
Reproduction steps
I stumbled on this while trying to run Scorecard on a local clone of a HuggingFace model repository.
Steps to reproduce the behavior:
# Requires LFS support; ~6GB download!
$ git clone https://huggingface.co/microsoft/phi-2

# same outcome with each check individually, too
$ scorecard --local ~/phi-2 --checks Binary-Artifacts,Pinned-Dependencies
Starting [Binary-Artifacts]
Starting [Pinned-Dependencies]
signal: killed

Deleting the very large files (including the .git folder), the checks pass. (There may be other checks that would also fail, I only tested those that run with --local)
Expected behavior
The checks should work even with large files.
As described below, Binary-Artifacts doesn't need to load the entire file, and it's unlikely an actual script will ever be big enough to be a problem.
Additional context
I believe I understand why these checks are failing: both have at least one function (BinaryArtifacts and collectShellScriptInsecureDownloads) that runs fileparser.OnMatchingFileContentDo with Pattern: "*" (i.e. all files).
As the function name implies, this function sequentially opens and loads all matching files. I assume one of the files was simply too large.
This should be fixable, though:

BinaryArtifacts uses fileparser.OnMatchingFileContentDo to call checkBinaryFileContent. That loads the file and then uses https://github.com/h2non/filetype to determine the file's type. This can be replaced by:

Simply trusting a file's extension, and only checking its contents if it has no extension (since it could be anything)
Replacing fileparser.OnMatchingFileContentDo with a function that only loads the first 262 bytes h2non/filetype needs

Pinned-Deps' collectShellScriptInsecureDownloads could be set to only run on files with common script extensions (i.e. .sh, .bash, .ps, and no extension).

Note: there's also some checks that use fileparser.OnAllFilesDo, which more of the checks use:

Dependency-Update-Tool
License
Security-Policy

Replacing fileparser.OnMatchingFileContentDo with a function that only loads the first 262 bytes h2non/filetype needs

Similarly, we check the first 1024 bytes in another part. I can't say i've been a fan of the read it all at once aspect, instead of using io.Reader and io.Writermore. I wonder if there's something we can do instead. Although the []byte runs deep throughout the code, including the RepoClient interface.
https://github.com/ossf/scorecard/blob/83ff808f0def7d05c24b7f67024cee07467d2921/clients/repo_client.go#L31-L39

When profiling the weekly cron with pprof, file i/o  is one of our largest chunks of time.
Not every GetFileContent needs the whole file, sometimes we don’t need any of it. So the io.Reader part allows the callers to choose how much of the file to use (whether that's all of it via io.ReadAll, 1KB, none, etc)
Additionally, io.ReadCloser is a better choice, so the caller can close it when they’re done.
GetFileContent(filename string) (io.ReadCloser, error)

There are a lot of existing usages of GetFileContent, which would need changed, but @adg offered an incremental, non-breaking way of introducing the change.

first add [a new] method to the concrete client implementations, then you can have a separate interface (even defined internally) that you test for with a type assertion, and use the new method when it is available

type fileReader interface {
  ReadFile(string) (io.ReadCloser, error)
}

fr, ok := client.(fileReader)
if ok {
  // use the new method fr.ReadFile
} else {
  // use client.GetFileContent
}

@pnacht I didn't see a crash on my machine for the repo, but my VM may have more resources. Does this prototype branch eliminate the crash for Binary-Artifacts?
https://github.com/spencerschrock/scorecard/tree/reader-partial-interface

Nope. But I noticed you added the new behavior to the githubrepo client, but this is a local repo, so I believe it runs on the localdir client?

doh! pushed another commit. I'm noticing a significant speedup now

Yep, just ran it on my localdir and it runs!

The breaking change was already made in #3912, so removing from v5 milestone, but there are still some callers to fileparser.OnMatchingFileContentDo so parts of the issue are still applicable.


Slider (option) in Climate card

Is your feature request related to a problem?
When I have a thermostat with a .1 degree granularity, I need to click at least 10 times on the + button to increase the temp setting with 1 degree. On mobile devices a double-click will zoom in the UI. A slider would fix both problems.
Describe the solution you'd like
Changing the temp setting on a climate card could also be done with a slider, just as the dimmer cards do.
Would be nice to have a custom mix-max and granularity setting in the UI to override the standard Climate settings of the device we’re configuring.
Describe alternatives you've considered
I’m using the default HA climate card now. But I’d rather use the Mushroom card.
Additional context
This is also discussed here: https://github.com/piitaya/lovelace-mushroom/discussions/761#discussion-4446714

I totally agree @DohmenICT! How awesome and slick it would be to just simply slide the temp instead of clicking. Maybe even vertically too? Then you could put It side by side and slide temp up and down like a pro. It'd be so awesome if someone implemented this.

+1
To me, that slider option would make the card more awesome

I am also very interested in this feature!

+1 I think this would be a fancy feature, very useful for a mobile dashboard. There is enough space in the card to include the slide


Improve initialization hooks example

Closes https://github.com/pydantic/pydantic/issues/6806
Selected Reviewer: @samuelcolvin

Please review

Do we mention that `post_init`` comes in the "middle" between the validators somewhere?

There is a line after this code block that says

Do we mention that `post_init`` comes in the "middle" between the validators somewhere?

I've change it to make it more clear


Add Proportional algorithm and power management

Hello @dadge ,
I have made some enhancement to your awesome certificate:

Add a Proportional algorithm to avoid temperature oscillation around target,
Add power regulation to avoid exceeding a max power of the house.

Please consider this MR.
Because I'm not a experienced Python programmer nor an experienced Home Assistant one, don't hesitate to comment.
Cheers,

See this integration: https://github.com/jmcollin78/versatile_thermostat


config: Remove "MAY support any valid values" sentence

This line landed in #673, but I'm not clear on the motivation.  The wording reads to me like “you don't have to support valid values for platform-specific fields if you don't want to”, but we already cover unsupported value handling with the valid values section separated out in #681.  This commit removes the ambiguous line.
Related issue in #813, although this commit will not close that issue.

Needs rebase

@wking can you please rebase this

LGTM

LGTM