Ability to register a view / sql as a source node

Ability to register a view / sql as a source node will really help unlock and transition existing org artifacts to quickly onboard into DJ. Kind of equivalent of "brain-dump" of organizational semantic knowledge :) This is linked with https://github.com/DataJunction/dj/issues/1117

Similarly to suggestion from #1117 we could add the following client method:
dj_client.create_source_from_query(
  query,      # (required) without the CREATE VIEW prefix, because we want to know the name
  view_name,  # (required)
  node_name,  # (optional)
  db-engine,  # (optional)
)

The above method would:

Runs the CRATE OR REPLACE VIEW view_name ... on the db-engine
Creates a new source node:

if node_name is not provided it can be inferred from the view_name
DJ will store the query as an attribute on the node, but it will not use it for anything other than showing it to the user [*]
DJ will create the source node based on the view name and will pull the schema from the the DB

[*] later on, we could extend this by adding the ability to edit, re-run the view creation and refreshing the node on demand.

Yes, I will put this on my list for next week.

Curious what's the ETA for this?

PR is ready... https://github.com/DataJunction/dj/pull/1153

This work has been completed.

nice!

From: Olek Górajek @.>
Sent: Monday, September 16, 2024 2:18 PM
To: DataJunction/dj @.>
Cc: Venkata Chandra (VC) @.>; Author @.>
Subject: Re: [DataJunction/dj] Ability to register a view / sql as a source node (Issue #1127)
Closed #1127https://github.com/DataJunction/dj/issues/1127 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/DataJunction/dj/issues/1127#event-14277699690, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWCT64SYHNKUTIKSGKKFINTZW4OHXAVCNFSM6AAAAABLWONQW2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGI3TONRZHE3DSMA.
You are receiving this because you authored the thread.Message ID: @.***>


NodeSDK configuration with sampler and other settings not applied when using exporter from env

What happened?
Steps to Reproduce
Configure NodeSDK with sampler: new AlwaysOffSampler() but no traceExporter and run with OTEL_TRACES_EXPORTER=console.
Expected Result
No spans are logged
Actual Result
All spans are logged because the sampler setting is ignored
Additional Details
It seems to be related to only reading the configuration when exporter is defined
https://github.com/open-telemetry/opentelemetry-js/blob/main/experimental/packages/opentelemetry-sdk-node/src/sdk.ts#L132
But I guess intuitively, the configuration is supposed to work even when using environment variable selection for exporter.
Note, while the example above for simplicitly is using alwaysoffsampler, and thus could have been configured with env var, actually I want to use a custom sampler so need to set it programatically.
OpenTelemetry Setup Code
export const otelSdk = new NodeSDK({
  instrumentations: [
    new DnsInstrumentation(),
    new GrpcInstrumentation(),
    new HttpInstrumentation(),
    new NestInstrumentation(),
    new NetInstrumentation(),
    new PrismaInstrumentation(),
    new WinstonInstrumentation(),
  ],
  sampler: new AlwaysOffSampler(),
});

package.json
Leaving this out since the code in `main` seems obvious enough

Relevant log output
No response

this seems to be already fixed by #4394
See reproducer repo: https://github.com/pichlermarc/repro-4004/tree/main


Binary Tree Maximum Path Sum Under LGMSOC'21 Leetcode

Aim
I WOULD LIKE TO WORK ON THIS ISSUE USING POSTORDER TECHNIQUE UNDER LGMSO'21
Details

Binary Tree Maximum Path Sum
Hard

6302
421
Add to List
Share
A path in a binary tree is a sequence of nodes where each pair of adjacent nodes in the sequence has an edge connecting them. A node can only appear in the sequence at most once. Note that the path does not need to pass through the root.
The path sum of a path is the sum of the node's values in the path.
Given the root of a binary tree, return the maximum path sum of any path.
Example 1:
Input: root = [1,2,3]
Output: 6
Explanation: The optimal path is 2 -> 1 -> 3 with a path sum of 2 + 1 + 3 = 6.
Example 2:
Input: root = [-10,9,20,null,null,15,7]
Output: 42
Explanation: The optimal path is 15 -> 20 -> 7 with a path sum of 15 + 20 + 7 = 42.
Constraints:
The number of nodes in the tree is in the range [1, 3 * 104].
-1000 <= Node.val <= 1000
Programming language

[ ] C++

please allow me this to do in java @ravikr126 @Amit366


Add: Clang GNU

Please add Clang GNU version :)))

Since clang is a pure command-line tool. It is more suitable for the Main bucket.(https://github.com/ScoopInstaller/Main)
Also, can you provide any links to "Clang GNU version"?
(Clang is included in llvm.)


Can I change file recorder wav file path ?

let audioFile = await AudioRecord.stop();
When I print audioFile value, I got path as below:
"data/user/0/com.chatboatsample/files/test.wav"
Can I change this path ? I want to store this file in root.

@nileshprajapati007444 - Did you figure out how to do this?

Did you get an answer?

Hello @nileshprajapati007444
Did you get any solution for it ?
I want to set path on external directory if you finding solution please help here.

i have same problem

You can set name of the file in options, so you could set a path to save in other folder, just try it.


Update TeamsActivityHandler.yml

there is no method 3- updated to say 1 and 2 correctly instead of 2 and 3

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

File
Status
Preview URL
Details

botbuilder-typescript/docs-ref-autogen/botbuilder/TeamsActivityHandler.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


make deps-update create a file in vendor folder

/kind bug
As can see on
https://github.com/kubevirt/kubevirt/pull/3915
Running make deps-update creates a file which doesnt exist anymore due to the refactor done at
https://github.com/kubevirt/kubevirt/pull/3767
Possible solutions:

add cluster-up/cluster/kind-k8s-sriov-1.17.0/csrcreator/BUILD.bazel to git ignore.
update make deps-update (and all other bazel generators) to skip cluster-up folder since its a vendored folder.
prune the file at the end of the target

It can be seen that make deps-update doesnt have a rule for its own at automation/travisci-test.sh
which we might want to add
its created as part of
./hack/bazel-generate.sh
which some targets runs

/assign @oshoval


Sanitize invalid chars in backend name before adding them as snippets

Invalid characters are automatically translated into _ by fastly on the generated VCL. Match that behaviour in Falco.
Signed-off-by: Sotiris Nanopoulos<EMAIL_ADDRESS>

Run into this issue as I was integrating with more services of ours


ignore subdomain if not present

This solves #228.
It alters the code so that it does not assume an array with two elements, with the first being a subdomain. If subdomain is not present, it will be hard coded to "www", which will not be needed for root if present (see https://github.com/serverless-components/domain/blob/master/serverless.js#L213)
I believe that this will make things more intuitive

@barrysteyn Seems like there are a few failing tests, you mind having a look at them? 🙏

Oops. Sorry about that.

Okay, I actually redesigned the tests. Also added some documentation to the README (feel free to ask me to revert this if you want). I believe the examples are rock solid now, thanks to @pbrandone for testing.

@barrysteyn Would it make more sense to have the input as a string rather than a single element array when only the domain is provided? i.e.
component: serverless-next.js
inputs:
  domain: 'xyz.com' # www is appended later automatically

Let me know what you think.

@barrysteyn Would it make more sense to have the input as a string rather than a single element array when only the domain is provided? i.e.
component: serverless-next.js
inputs:
  domain: 'xyz.com' # www is appended later automatically

Let me know what you think.

Yeah, that would work. Would you like me to make that change?

I will keep things working the same way as it is now, but add the ability for a string

I will keep things working the same way as it is now, but add the ability for a string

So 2 options to configure domain or subdomain & domain:
inputs:
  domain: "xyz.com" # resolves to www.xyz.com

inputs:
  domain: ["sub", "xyz.com"] # resolves to sub.xyz.com

That should cover all basis.

I will keep things working the same way as it is now, but add the ability for a string

So 2 options to configure domain or subdomain & domain:
inputs:
  domain: "xyz.com" # resolves to www.xyz.com

inputs:
  domain: ["sub", "xyz.com"] # resolves to sub.xyz.com

That should cover all basis.

Yes, but this would also work:
inputs:
   domain: [ "xyz.com"] # resolves to www.xyz.com

sorry for the intrusion, but maybe just adding something before the check for instance of Array?
if (typeof inputs.domain === 'string') {
  const domainComponent = await this.load('@serverless/domain')
  const domainOutputs = await domainComponent({
      privateZone: false,
      domain: inputs.domain,
    })
    appUrl = domainOutputs.domains[0]
  }
}

or maybe
if (!!inputs.domain) {
  const domainComponent = await this.load('@serverless/domain')
  let domainOutputs

  if (typeof inputs.domain === 'string') {
    domainOutputs = await domainComponent({
      privateZone: false,
      domain: inputs.domain,
    })
  }

  if (inputs.domain instanceof Array && inputs.domain.length <= 2) {
    const domain =
      inputs.domain.length > 1 ? inputs.domain[1] : inputs.domain[0]
    const subdomain =
      inputs.domain.length > 1 && inputs.domain[0] ? inputs.domain[0] : 'www'

    if (domain) {
      domainOutputs = await domainComponent({
        privateZone: false,
        domain,
        subdomains: {
          [subdomain]: cloudFrontOutputs,
        },
      })
    }
  }

  if (domainOutputs) {
    appUrl = domainOutputs.domains[0]
  }
}

probably too complicated.
sorry, better leave you guys to it 😄
thanks for all the help and swiftness solving this

@pbrandone Thanks for the awesome code samples. I felt it was better to actually put this logic in it's own module. This made both testing and domain extraction easier.
@danielcondemarin This does what you suggested. I have also updated the README and the tests

Is there anyway as-is to not have www prepended? I would like the following behavior:
inputs:
  domain: "xyz.com" # resolves to xyz.com

The usage of www is kind of antiquated nowadays :)

Hi
The way the component we are using to upload the domain works, you need to
enter both a domain and sub domain. If the sub is www, then it will resolve
both with and without the www
On Tue, Nov 12, 2019 at 5:50 PM Jared Ready<EMAIL_ADDRESS>wrote:

Is there anyway as-is to not have www prepended? I would like the
following behavior:
inputs:
domain: "xyz.com" # resolves to xyz.com
The usage of www is kind of antiquated nowadays :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/danielcondemarin/serverless-next.js/pull/231?email_source=notifications&email_token=AALXKRH3N6IV55RCLW4CD5DQTNMNNA5CNFSM4JJM4542YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED4SUOI#issuecomment-553200185,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALXKRDEPM37LSD7PUWMFMLQTNMNNANCNFSM4JJM454Q
.

--
Barry Steyn
Blog http://doctrina.org LinkedIn http://ca.linkedin.com/in/barrysteyn
GitHub https://github.com/barrysteyn

Ah I see now. It adds both as alternate domain names to CloudFront distribution but it only adds the www domain to Route 53. Is this expected?


How to use Service name instead of Namespace in rule.yaml

Hi guys, I have multiple micro-services deployed in a namespace/project.  I want to only apply rules(authentication to one micro-service). How can I achieve it?
For example -

namespace = hbr
micro-services1 = foo1 (service of this is foo1.hbr.svc.cluster.local)
micro-services2 = foo2 (service of this is foo2.hbr.svc.cluster.local)

The below change's are not affecting any rules,
match: context.reporter.kind == "inbound" && destination.labels.app = "foo2"
match: context.reporter.kind == "inbound" && destination.service = "foo2.hbr.svc.cluster.local"
match: context.reporter.kind == "inbound" && destination.service = "foo2.hbr.svc.cluster.local"  && destination.namespace = "hbr"

Any help is appreciated @theganyo  @srinandan
Thanks

resolved this with,
spec:
  match: destination.service == "foo2.hbr.svc.cluster.local"


Length limit on title in wfreerdp?

I am using wfreerdp.exe version 2.0.0-dev3 (b34e3bcf7) 64bit. I am using a commandline like the following:

wfreerdp.exe /v:host.some.domain "/t:joachim8-sandisk-ultra-ii-240gb-cc-e8-a3-86.20180707-020455-897-success.vhdx" /u:Joachim /p:password /vmconnect:13FE501B-C517-437D-AAC6-ABE48CE5B780;EnhancedMode=1 /audio-mode:0 2>"C:\ProgramData\Traces\wfreerdp 20180707 204005.tracefile"

as you can see the title is pretty long (generated by one of my programs).
The title is displayed as follows:

Looks like the tail of the title is somehow interpreted as another character set. If I truncate the title in the middle, everything looks nice, but information relevant to my users is lost.
Maybe there is an upper limit to the title length?

I gave a quick look and from what I've seen the problem does not seem to be in FreeRDP core, perhaps in the windows specific part...

Currently the buffer used for the window title could only handle up to 63 characters. I increased the buffer size in #4848.

Fixed with #4848


ipynb: add ChromeOS-related notebook section

Signed-off-by: Michele Di Giorgio<EMAIL_ADDRESS>

This seems to be a broken PR... the notebook is either empty or broken. It does not load.


Fix version release tag message being "" instead of empty

Little hacky but no variations of --message and "" seemed to work

Codecov Report

Merging #6 (d8991ef) into master (6e9f83d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           68        68
  Branches         6         6
=========================================
  Hits            68        68

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 6e9f83d...d8991ef. Read the comment docs.


Fix Linux build by using xcb 0.9.0

Fixes #1

Thank you so much for the issue and fix! So sorry I didn't notice this sooner. I actually just reverted xcb from 1.0 to 0.8 to fix the Linux build. Do you know what the deal is and why certain older versions work but others don't?

The only thing I could imagine would be differences in bindings?

Aha, yep. The culprit is that xkbcommon 0.4.0 depends on xcb 0.8, but xkbcommon 0.4.1 depends on xcb 0.9. If you could bump up the version of xkbcommon to 0.4.1, then I'll gladly merge this. Thank you again!


javascript is not defined in landmark_grid in MediaPipe Pose demo

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
MacOs Ventura
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
Javascript
MediaPipe version
No response
Bazel version
No response
Solution
Pose
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
Demo of Pose in codepen.io https://codepen.io/mediapipe/full/jOMbvxw is not starting, there are errors in the console
Describe the expected behaviour
The demo is working
Standalone code/steps you may have used to try to get what you need
https://codepen.io/mediapipe/full/jOMbvxw

I have the same issue locally.

Other info / Complete Logs
No response

@mupakoz,
Could you kindly inform us whether you are utilising macOS on an Intel-based architecture or the Silicon chip-based macOS? Additionally, please specify the web browser in which you are attempting to execute the demonstration.

hi @kuaashish, looks like it is working again, probably was something on my end, sorry for the trouble!

hi @kuaashish I am reopening the issue as it's not working again
It's a Silicon chip-based macOS with Apple M1 Max and Ventura 13.4
The demo does work in Safari, but does not work in Google Chrome

Hi @mupakoz,
Web demo model of Pose as mentioned here https://codepen.io/mediapipe/full/jOMbvxw is working fine for me in macOS M1 Pro, Ventura 13.5, Chrome Version 118.0.5993.70 (Official Build) (arm64).
Could you try to upgrade the Chrome Version to tested or newer one, Or If still an issue after upgrading to Chrome Version. Please try to upgrade the macOS Ventura version and let us know if still an issue from your end. Thank you

Hi @mupakoz,
Could you please let us know the status of the above, If this works for you, So we can go ahead mark the resolved and close the issue. Thank you


Migrate from p-s to nps

Noticed the reference to p-s... oh, ok, it's nps now. Hey, nps looks neat, I'd like to try it out. Figured upgrading this package to it would be good practice. 😄

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #16   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          24     24
=====================================
  Hits           24     24

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 c94d282...dd5532f. Read the comment docs.


Add two new fields in the Create Task form

Add the following data fields required for the Leveling of Tasks

Add a category field
Add a level field

For reference : https://github.com/Real-Dev-Squad/todo-action-items/issues/72

is this still available, can you pls explain exactly what needs to be done and in which file?

is this still available, can you pls explain exactly what needs to be done and in which file?

It is already assigned, you can check the Assignees Section and it has already a PR linked with it. 🙂


DDE: Add unit test coverage

Feature Request
This is to track adding unit tests to cover the Docker Desktop Extension code.
The expectation is not to have 100% code coverage, nor any predetermined coverage level. The code should be reviewed to determine what is testable - or can be made testable - and close out this issue when it's decided that a reasonable level has been reached.

@stmcginnis  I was going through some of the code in the DDE Extension for the clustermgr and some bit of it gets really hard to mock for UT'ing. Would it be acceptable to refactor some of that to start with? I can start with a draft PR to track testing some of the testable bits and we can discuss what do we do with other bits

Thanks, for checking it out. Yeah, I hadn't done much analysis, but my assumption was there was likely to be a lot of it that would be too difficult to make it worthwhile to test. If you wanted to see what could be covered without too much extra effort, that would be fantastic!

@stmcginnis  I opened up a PR with some tests that needed no refactoring and docker.go with minor refactoring and tests for couple of the functions. PTAL when time permits

/assign


#3250 [fix] capture sequence type episodes with 4 digits

Motivation for changes:
+999 sequence type episodes can't be captured (One Piece just reached its 1000 ep, but I don't think it's the only one with more than 999 episodes)
Detailed changes:

made the maximum number of digits 4 instead of 5 (don't think there's +9999 episodes series, but I could be wrong!)

Addressed issues:

Fixes #3250

To Do:

check the regex of other types too

I'm guessing the 3 digits were to prevent possible conflicts with year being identified as episode number?
Unrelated note: Detective Conan passed 1000 episodes a while ago :P

I'm guessing the 3 digits were to prevent possible conflicts with year being identified as episode number?

Could be, would have to consider that too?
Maybe they could be captured and removed like quality codes and other conflicting/unwanted parts?

I'm just guessing that's the reason. Might be worth it to include a test for it (if one doesn't exist already)

I'm guessing the 3 digits were to prevent possible conflicts with year being identified as episode number?

Yeah, I think this was our original reason, years and 1080 can trip it up. I guess it's a good sign that the test suite passed on this PR, maybe those fears are unwarranted.


aodh: add aodh proposal

need to enable aodh for the new barclamp

 (5) Split aodh out of ceilometer barclamp


Make RefinedTypeOps definition more ergonomic

Currently, declaring a new type requires to declare the constraint in the opaque type and in RefinedTypeOps's second argument which can be problematic for long constraints. Example derived from Valentin Bergeron and Raphaël Lemaitre's talk
opaque type Sats = Long :| GreaterEqual[0] & LessEqual[100000000 * 21000000]
object Sats extends RefinedTypeOps[Long, GreaterEqual[0] & LessEqual[100000000 * 21000000], Sats]

An alias can be used to mitigate the boilerplate:
private type SatsConstraint =
  GreaterEqual[0] & LessEqual[100000000 * 21000000]

opaque type Sats <: Long = Long :| SatsConstraint
object Sats extends RefinedTypeOps[Long, SatsConstraint, Sats]

Ideally, the redundancy should be removed either by passing only the third parameter in RefinedTypeOps:
opaque type Sats = Long :| GreaterEqual[0] & LessEqual[100000000 * 21000000]
object Sats extends RefinedTypeOps[Sats]

or defining the type alias from the companion object (like Neotype):
opaque type Sats = Sats.Type
object Sats extends RefinedTypeOps[Long, GreaterEqual[0] & LessEqual[100000000 * 21000000]]

I think defining the ops from the opaque type (first solution) is more natural. It was not possible before but might be doable easily enough since TypeRepr#dealias in Scala 3.4+ also dealiases opaque types. Thus, a mirror-like mechanism can (need to be tested) be used internally:
trait RefinedTypeOps[T](using mirror: IronType.Mirror, constraint: RuntimeConstraint[mirror.BaseType, mirror.ConstraintType])

On the other hand, solution 2 is pretty easy to do:
trait RefinedTypeOps[A, C]:

  type Type = A :| C

Users' opinions need to be collected in order to make a choice.

I :+1: the solution from the opaque type definition is cleaner : more readable and the companion object fulfill more its role of, well, companion.

Unfortunately the second solution does not seem doable at the moment. Scala is missing inline constructor parameters.
Since this feature will probably not land until long time, maybe it's worth to implement the first proposal instead?
What do you think @vbergeron-ledger?


runtests.sh is not downloaded with executable permissions

$ ./runtests.sh
-bash: ./runtests.sh: Permission denied

I didn't even think to check/ask, but it looks like this behavior was changed a few months ago: https://github.com/exercism/cli/issues/276 :(
So... seeing as in my haste I've failed to create a clean/generic wrapper on the first try, I see a few obvious options:

Remove the wrappers, switch the instructions back and wait for an updated elm-test to ship. elm-test MyTests.elm actually works right now, it just has a bunch of extraneous garbage at the end of the output.
Update the instructions to bash runtests.sh.
Write a node.js based wrapper (which could actually be cross platform) and instruct them to run node runtests.js.

Thoughts @parkerl @lukewestby?

This link helped me understand chown enough to get them running.
https://help.ubuntu.com/community/FilePermissions

I'm willing to sit down this weekend and update the README for this track to walk newbies through how to make the .sh files executables for Linux and Mac users. I'm not sure what the appropriate way to describe running a .bat file in windows. Enter the filename from a cmd prompt?

@Calvyn82 thanks for reminding me about this! I'm really unhappy with asking people to modify the runtests scripts every time they download a new exercise.
I'm almost tempted to switch back to recommending elm-test-runner, with the caveat that it shows an odd error message at the end. It does look like rtfeldman is planning to update soon: https://github.com/rtfeldman/node-test-runner
$ elm-test SayTests.elm
Success! Compiled 1 module.
Successfully generated /var/folders/c8/lwxn19p55rj7mq0n7xhj0hv00000gp/T/elm_test_116615-34499-1gpd4jn.js
Successfully compiled SayTests.elm
Running tests...
  1 suites run, containing 17 tests
  All tests passed

: ""

[stdin]:7603
    if (typeof Elm === "undefined") { throw "elm-io config error: Elm is not defined. Make sure you call elm-io with a real Elm output file"}
                                      ^
elm-io config error: Elm is not defined. Make sure you call elm-io with a real Elm output file

If we want to stay self sufficient, I think I'd prefer to write a little node powered wrapper. Thoughts?


Formatter and Fortran Server do not install

First, thanks for such a great extension. I use it on every machine I have and it has been a life saver.
So I have installed Python 3.10 and also VS Code. I then installed the Modern Fortran extension.
When I open a F90 file with VS Code it displays a message that the fortran language server is not installed. Wen I right-click my document and choose Format Document it displays a message that findent is not installed. I click on the Install button on the message but nothing seems to happen.
In the terminal I have confirmed that all packages are installed. I cant quite figure out what I am doing wrong.
PS C:\Users\Dude> pip install fortran-language-server
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: fortran-language-server in c:\users\Dude\appdata\roaming\python\python310\site-packages (1.12.0)
PS C:\Users\Dude> pip install --upgrade findent
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: findent in c:\users\Dude\appdata\roaming\python\python310\site-packages (4.1.3)
PS C:\Users\Dude> pip install --upgrade fprettify
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: fprettify in c:\users\Dude\appdata\roaming\python\python310\site-packages (0.3.7)
Requirement already satisfied: configargparse in c:\Dude\467803\appdata\roaming\python\python310\site-packages (from fprettify) (1.5.3)

So I think that in Windows programs installed through pip e.g. fortran-language-server or findent might not necessarily be on the PATH.
If you can figure out where fortls and findent are installed (should be pretty straight forward), you can then add that location in your PATH variable for VS Code to then detect.
I suspect that the location of the binaries should be somewhere under c:\users\Dude\appdata\roaming\python\python310
in a folder called bin

oooooooooooooooooooooooo I see now. First I was very confused as to why it kept being referred to as binaries when all I saw was scripts. No EXEs.
I thought the path was supposed to be C:\Users\Dude\AppData\Roaming\Python\Python310\site-packages. When in fact it should be C:\Users\467803\AppData\Roaming\Python\Python310\Scripts. That's where I see all the binaries, the EXEs.

Second, I did ask the installer to add the Python to PATH but it was the one under Program Files which for some reason is not writeable. I ran VS Code under admin so not sure what happened. But anyway I will now add the user location to PATH and/or under the extension setting.

I will report back.

I couldn't get the findent formatter to work. I tried several combinations of installing Python and VS Code as user and as admin and nothing seemed to work. Would like to see if anybody on Windows has been able to get the findent/fprettify formatters to work and how?
Thanks

Oh that might actually be my bad, I just realised that findent on Windows might actually need to be findent.exe instead.

if you want me to test I can do that. fprettify wasn't working either.

I will add that on the todo-list for the next pre-release. Should be coming out later today.

Hopefully that should be fixed in the pre-release version I just issued.


Support getting kerning information from the GPOS Table

Currently we only support getting kerning from the KERN table of font files. Unfortunately a lot of fonts only contain the GPOS table and not the KERN table. Thus we need to support the GPOS table as well.

With FontBox we can use ttf.getTableBytes(ttf.getTable("GPOS")) to get the GPOS table bytes and then we have to parse it ourselves.

We might also include Apache FOP and read the font via FOP to get the kerning

Parsed the GPOS table (only pair positioning information) by ourselves without using another library.


https://management.azure.com/user_impersonation and admin consent

Please follow the issue template below. Failure to do so will result in a delay in answering your question.

Library
Microsoft.Authentication.Webassembly.MSAL 3.2.0-preview5.20216.8
Framework
Blazor Wasm Preview 5
Description
Requesting consent for https://management.azure.com/user_impersonation brings up the dialog requiring admin consent.  Yet the Azure portal specifically says that this delegated permission does not require admin consent.  The blazor folks already looked through the code and said that they were just passing the argument through, and to "take it up with MSAL"
Security
Is this issue security related?
NO
Regression
Did this behavior work before?
UNKNOWN
Configuration
Please provide your MSAL configuration options.
        builder.Services.AddMsalAuthentication(options =>
        {
            builder.Configuration.Bind("AzureAd", options.ProviderOptions.Authentication);
            options.ProviderOptions.DefaultAccessTokenScopes.Add("api://93d053a6-718a-4219-9674-cc5c5adfaac5/Profile.Read");
            options.ProviderOptions.AdditionalScopesToConsent.Add("https://management.azure.com/user_impersonation");
        });

// Provide configuration values here.
// For Azure B2C issues, please include your policies.

Reproduction steps

Set up Program.cs with the above configuration.
This will cause the admin consent dialog to appear at runtime.

Expected behavior
According to the Azure Portal, I should get the user consent dialog, which does not require an admin.
Browsers
No.  But I am testing with Edge Chromium

@snapfisher Is this for users in the first-party Microsoft tenant? If so, and this is a first-party Microsoft application, it needs to be registered in the first-party portal instead of the public portal, which will remove that restriction.

Ah...we make things so difficult on ourselves (for creating an internal demo).  Should this be a bug in the portal, where if the tenant is configured in this manner, the portal than tells you that you would need admin approval?  That's really the issue, in that our behavior is distinctly the opposite of the portal where I selected the delgated permission.

@snapfisher Potentially, however, that would only work for single-tenant apps, since I believe this restriction is specifically enforced for users from the MSFT first-party tenant, as opposed to apps registered in the MSFT first-party tenant (i.e. a user from another tenant using your app would not hit this permissions wall).
For the purposes of your demo, I think you should be able to use a user from another tenant (e.g. a tenant you create), or if your app is single-tenant, create a new app registration in a new tenant and use a non-MSFT account.
Closing, as no further action for the library.


the block confidential script is not blocking the kubeconfig file

Hello experts,
We are using the platform samples the block confidential pre-receive script in our environment. It was working as expected.
but when we scanned the GitHub data , we could identify that the kubeconfig files are not getting blocked.
Could you please suggest us to add the best regex to find the kubeconfig file and block it through pre-receive script..

To block a certain file by extension, you may want to look at the https://github.com/github/platform-samples/blob/master/pre-receive-hooks/block_file_extensions.sh example, @vivuu1989.

@stoe thanks , but we were looking for the possibility to block it through the same pre-receive hook which we are using for the block confidential. Because the user may store the file in different format and it may not identify..
Hence we are looking for some regex same like which we used for finding RSA token or etc..

@vivuu1989, you can add the required regex to the list in
https://github.com/github/platform-samples/blob/e9c21779b6d137100a6545049986c93044c7c5df/pre-receive-hooks/block_confidentials.sh#L20-L29

@stoe yes , thats correct. But we are confused about the regex value which can be added to the script to block the kubeconfig file.

@vivuu1989, maybe try https://regexr.com to get to the regex you need?


Increase should never decrease

When the controller decides to increase the rate, it should not decrease, even if the measured transmission rate was low. The rate could be lower because there was not enough data to send.

Draft because we might want to add a test case.
And I don't know what's wrong with that failing test...

@mengelbart
please check my review. This pull request does nothing

I've checked and sometimes this branch:
return int(math.Min(float64(c.target+increase), 1.5*float64(c.latestReceivedRate)))
really produced value less than c.target. So in case if we are in "increase" state this fix prevents bandwidth from looping over latestReceivedRate if latestReceivedRate is not enough to increase bandwidth

We have  a problem with  a.variance calculation in *func (a exponentialMovingAverage) update(value float64)
currently we have
a.variance = (1 - decreaseEMAAlpha) * (a.variance + decreaseEMAAlpha*x*x)
=>
a.variance = a.variance + decreaseEMAAlpha*x*x - decreaseEMAAlpha*a.variance - decreaseEMAAlpha*decreaseEMAAlpha*x*x
=>
a.variance = (1 - decreaseEMAAlpha)a.variance + decreaseEMAAlphax*x *(1 - decreaseEMAAlpha)`
but variance should be
 a.variance = decreaseEMAAlpha* (x*x)  + (1-decreaseEMAAlpha)* a.variance
another problem that we never reset latestDecreaseRate and potentially could always fall into
if c.latestDecreaseRate.average > 0 && float64(c.latestReceivedRate) > c.latestDecreaseRate.average-3*c.latestDecreaseRate.stdDeviation &&
		float64(c.latestReceivedRate) < c.latestDecreaseRate.average+3*c.latestDecreaseRate.stdDeviation {

condition. But standard clearly stats that we MUST reset latestDecreaseRate and go back to "multiplicative increase state".

If R_hat(i) increases above three standard deviations of the average
max bitrate, we assume that the current congestion level has changed,
at which point we reset the average max bitrate and go back to the
multiplicative increase state.

Now if we ever reach "func (c rateController) decrease() int" function
we will never reset latestDecreaseRate and hence if "c.latestReceivedRate" will be close to c.latestDecreaseRate.average calculated previously(an hour ago, a day ago) we will reset target bitrate to 1.5 c.latestDecreaseRate even if we are in "increase" state.
So we must reset c.latestDecreaseRate to not set target bitrate to 1.5 * c.latestReceivedRate in "increase" state if our current c.latestReceivedRate fall in clamps of latestDecreaseRate calculated on last overuse state.

Draft because we might want to add a test case.
And I don't know what's wrong with that failing test...

Checker just want you to set go version to 1.19.
https://github.com/pion/interceptor/pull/221/commits/d0958710591bf50c93e098b7efc076a137424bfd
Interceptor's main go.mod has 1.15. I don't know how last commit two weeks ago passed this check

Draft because we might want to add a test case.
And I don't know what's wrong with that failing test...

Checker just want you to set go version to 1.19. d095871
Interceptor's main go.mod has 1.15. I don't know how last commit two weeks ago passed this check

last commit to interceptor main has these tests "Test / test-i386 (1.21) / Go i386 1.21 (push) Failing after 43s" failed as well.
I don't think this is related to this fix somehow

I've submitted new request #226 containing this fix

We're currently using a forked version of Pion with this change. As we reworked our video streaming code, we needed this change to make bandwidth estimation work smoothly (@danielslee can provide more details if necessary). Just wondering if there is a path to getting this merged? I see that 226 got closed but we didn't need the other changes in 226 - just this one.
Thanks! 🙏


ERROR: Directory 'discord_desktop_core' not found in

I tried everything, I reinstalled discord 2 times I really tried everything, I restarted it several times I made these commands in su
"curl -O https://raw.githubusercontent.com/bb010g/betterdiscordctl/master/betterdiscordctl"
"chmod +x betterdiscordctl"
"mv betterdiscordctl /usr/local/bin"
and
"betterdiscordctl"
, I restarted several times discord but nothing (im on debian ^^)
WARN: Config directory not found for Discord  (/usr/share/discord, /root/.config/discord).
ERROR: Directory 'discord_desktop_core' not found in

Use betterdiscordctl install without sudo but wait until #120 is merged.

Use betterdiscordctl install without sudo but wait until #120 is merged.
haha thank you, I managed to install it , problem after relaunching discord and even restarting my pc and re-installing discord, betterdiscord does not appear? , a solution?

-Thx

Read the but part.

Read the but part.

what do you mean ? , i'm not very comfortable with github and i don't speak english, why betterdiscord doesn't work?
sorry :x

See the pinned issue.

well, i read the subject ten times but i didn't understand anything ?? , why it does not work ??

It doesn't work because of #96, which will be fixed soon.


Check autodiff and batching support for healpix_fft_cuda primitive and add if needed

I think the primitive added in #204 may not support automatic differentiation and batching transforms as we did not define Jacobian vector product and transpose operations (for autodiff) and a batcher (for vmap support). We should verify if this is the case and add implementations if necessary.

Hello @matt-graham
I think that the gradient is straight forward since the FFT is linear
The adjoint autograd for the forward pass has to be a spectral folding followed by FFTs in the reverse order correct?
For vmap this might be a bit challenging since there is only one cudastream provided by XLA , and from experience forking a stream has some overhead to it. Let me think about it.
Some of the JAX guys suggest I use Pallas instead of cuda which solves the latter issue don't know what you guys think about it.

Yes, as you say @ASKabalan , since this is linear gradients can be computed .  Precisely how to do this is outline in our paper here in Section 5.  This is also how we implemented the VJPs for the C wrappers that we added to s2fft.  That could be a good approach again here.


S01E03 roles of open source world

What you can do？ what you will do？
In the open source world , it's a lot of work to do. maybe one role can't fit everyone. let's try description it.

developer
engineer
evangelist /advocate
lawyer
writer
designer
leader
sales
coordinator
.......

some useful articles:

https://matthewrocklin.com/blog/2019/05/18/maintainer
https://krausefx.com/blog/scaling-open-source-communities
https://www.jeffgeerling.com/blog/2022/burden-open-source-maintainer

shared by Hin

recording～ Zoom storage


Use the original names for spec files when downloading

What would you say about not renaming the files at all?

One problem could be if they have the same file names. Something that could be avoided by putting them into separate folders.
spec/para/
spec/relay/

Sounds sound to me :+1:

Kilt has fixed this in their client now so it's not a problem anymore.


[Warhammer 4e Character Sheet] Update 1.7

[ ] The pull request title clearly contains the name of the sheet I am editing.

[ ] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).

[ ] The pull request makes changes to files in only one sub-folder.

[ ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

[ ] This sheet has been made on behalf of, or by, the game's publisher.

[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >

[x] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Added first iteration of Vehicle & Enterprise sheet page modes. These allow you too create sheets to record various values and information associated with these. As per rule additions from various source books UiA,SoC,EiS and Enterprise rules from Achieves of the Empire III. Further rolls (ie traveling etc) info may be added in a later update. Weapons will not be included on Vehicle sheets due to requiring the character statistic and skill to fire etc.

Fixes

Fixed Drilled Talent costing double the intended XP, ie 200 instead of 100 xp per lvl
Fixed issue with Spell casting where changing the Accu Ext SL modifier during the roll in the pop out window would not change the actual spell outcome as indented, but used the existing sheet Accu Ext SL field value instead. It will now overwrite dynamically.
Fixed problem with Custom Spells/miracles names not showing correctly on the Quick spell drop down list.

Character Sheet Info Roll20 Internal Use only.


getPixelColor and colorAt not working on Ubuntu 22

Expected Behavior
Show the color hex value
Current Behavior
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  7
  Current serial number in output stream:  7

Steps to Reproduce (for bugs)
const mousePos = robot.getMousePos();
const pixelColor = robot.getPixelColor(mousePos.x , mousePos.y) ;
console.log(pixelColor);

Context
I just install Robotjs and try it on Ubuntu which is on Virtual Machine. This code works on windows.
Your Environment

RobotJS version: 0.6.0
Node.js version: 16.16.0
npm version: 9.4.2
Operating System: Ubuntu 22.04.1 LTS

Thank you so much!!!!!!!!
It works after I switch to "Ubuntu on Xorg"


fix: Only close output midi port if an underlying client exists

If the underlying RtMidiOut client could not be successfully created in the constructor handle will be set to a nullptr.
Before this patch the closePort method would be called on a null value resulting in a segmentation fault that crashes the whole node.js process in which the library is used.
The input class already has this check implemented, it is only missing in the output class.

Thanks, I don't know why I didn't spot/think of this when doing 2f4d70a65cc2ec3f424fc8ea24c060826b15c220

This is published in v3.0.1


Refactor mi_queue_page_remove by behavior

The original function of page_queue_remove actually do more than one thing.
Not only removed the page, but also cleared the page field.
I thought the function should do just one thing which is good for reusing by other functions.
For instance the behavior remove is used in original page_queue_remove and mi_page_queue_enqueue_from.
The original version repeated the part of remove twice making double length of code and not easy to read.
On the other hand, refactoring them making them simple to understand.

I'm making some progress to sort out the style of this project, and will open an issue for it. I thought we should discuss with all the contributors about issues like where should we do assertion, where should we add more comments, and bring out some functions refactoring examples.
After having a consensus of style, I'll open other PRs for it.
Thanks for replying, closing this PR now.

Hi Julian, apologies for the late reply on this issue; I hesitated to merge as the queue code is tricky and I want to avoid introducing new bugs. If you like you can always send email before doing big changes to ensure we are aligned with the goals of the project.
Thanks again for your help.


CVE-2020-1736 ansible-lint [208] File permissions not mentioned

[208] File permissions not mentioned
base_miniconda/tasks/install.yml:50
Task/Handler: link /etc/profile.d/conda.sh

[208] File permissions not mentioned
base_miniconda/tasks/install.yml:58
Task/Handler: link /etc/profile.d/conda.csh

Fixed


Symlink-atomic reads for private key/certificate pairs

In https://github.com/envoyproxy/envoy/pull/10163, support is added to load both private key and certificate on an inotify event. However, this is not fully atomic w.r.t. symlink changes. Imagine you have foo/ pointing at bar/ containing key.pem and cert.pem. Then you relink foo/ to point at baz/ with key.pem and cert.pem during a rotation. In our current solution, there is a race, where key.pem might be read from bar/ and cert.pem from baz/ during the relink.
We need to fully resolve a symlink with readlink before reading the key/cert pair.
I think this might actually also affect runtime snapshots; is this true @mattklein123?
CC @tsaarni @lizan

I think this might actually also affect runtime snapshots; is this true @mattklein123?

I don't believe so. This is why there is a level of indirection for the symlink and the snapshot directory. It reads the entire new directory at once after the swap. I think we would need to do something similar for the cert case where we introduce a base directory and do the swap there.

Yes, this makes sense. We can also just use readlink to resolve to the real directory and then read individual files, so we don't need to force that structure.

Yeah if we assume that the parent directory is consistent, readlink would work also agreed.

Adding readlink for atomic reads sounds good solution to me as well.
Is it a scenario where a new TLS connection happens to be established right at the moment of the rotation?  I guess in theory there is yet another, but probably less likely race: at the end of the rotation the when old certificate & key files get removed, the old resolved path could cause open to fail.

FYI, gRPC is going to support this without depending on readlink(2), for two reasons:

readlink(2) isn't portable, and we didn't want to have to provide a separate solution for Windows.
We didn't want to force people to use a symlink in cases where it might not be necessary.  For example, it's actually fully possible to do this swap safely without a symlink by creating a new directory with new files and then renaming the directories to swap the new one into place.  And there may be cases where the certs aren't actually ever going to change, in which case the symlink is unnecessary.

So gRPC is going to handle this by having a file-watcher CertificateProvider whose config will indicate the directory containing the cert and key files and the filenames within that directory of the two files.  The provider will check the timestamps of both the directory and the files, then read the files, then check the timestamps again.  If the "before" and "after" timestamps don't match, then it will assume that it did not get a safe atomic read, so it will throw away the result and try again.
There are some edge cases where it is possible to get a non-atomic read with this approach, but they are exceedingly rare (e.g., if the system clock gets set backward by exactly the time difference between when the old and new files were written, or if the files' timestamps are explicitly set to the same values), so we're not really worried about them.

Interesting. A few questions / comments:

The current design doesn't require a symlink, or even readlink really, just some form of path canonicalization.
How do you know there has been an update in gRPC? Are you still using inotify?
Why not hash? We're actually hash already in the watcher, so we could do a hash based scheme similar to what you describe that is even more robust and doesn't rely on timestamps.

I think there's actually three orthogonal things to figure out here:

How do we build an API to be more explicit about what we're watching. Currently, it's very implicit and assumes just looking at parent directory based on path decomposition.
How are watches performed? I think this is inherently platform specific, Envoy already supports watching on various platforms.
How do we deal with atomicity? #13721 uses readlink/realpath (alternative), but we could also reasonably read the files twice and look at hashes after two successive reads.

The WatchedDirectory API is largely about (1) in #13721. It aims to strike a balance in terms of supporting backwards compatibility with DataSource and providing control. I'd be open to other suggestions if the ergonomics are better.
I think (3) can be dealt with independently as an implementation detail. I'm good with switching to hashes if folks prefer.

Initially, we are not planning to use inotify, although we might switch to it later, once we've finished migrating to EventManager-based polling.  For now, we're planning to do a polling-based approach where we check for changes periodically via a timer.
Reading the files twice and comparing the hashes of their contents could work as an alternative to using timestamps.  But it does seem like a more heavy-weight approach, since filesystem access can actually be a bottleneck on really busy systems.

I'm not sure if this filesystem access is a real bottleneck here given that rotations are relatively rare, the files are tiny and in may cases only live in a tmpfs or other virtual filesystem. But yeah, timestamps can work at the expense of risking some corner cases (e.g. if last modified timestamp is coarse grained, two files might be last modified at the same time).
I think I'll give this hash-scheme a shot, since it will simplify Windows compatibility.

Just to double check since I'm not familiar with the total picture: are all the files related to a secret read() to memory during the watch callback?  I ask since of course hashing before and after could only catch changes during callback.

Right now, we pass both contents read and path to the update callbacks. However, we can read files into memory and pass a pseudo-DataSource with the contents "inlined". This ensures that any consumer of the DataSource does not look at the filesystem outside of sds_api.cc.


enum value should be serializable and should also keep referential integrity

// let say that "enum" WeekDay with value Mon is defined
// then this test should be ok:
  val out = new ByteArrayOutputStream()
  new ObjectOutputStream(out).writeObject(Mon);
  out.close();
  val monday = new ObjectInputStream(new ByteArrayInputStream(out.toByteArray)).readObject()
  assert(monday == Mon)

See #1271 for an example


Icon buttons size problem inside inputs

latest version (0.0.32)

version 0.0.26
I noticed that in the latest version, icon buttons inside textboxes are becoming misaligned and bigger than they used to be.
I'm using the @vscode/webview-ui-toolkit components in webview. Just downgrading the vscode-codicons version the problem stops occurring.
ps.: this problem happens with other icons as well

Are you only seeing this in the webview toolkit? cc @hawkticehurst for toolkit-related issues.
I'm not seeing this in VS Code's core UI, so trying to understand what is causing this.

@daviddossett  the problem actually happens in the webview toolkit. But only in newer versions of vscode-codicons.
If the problem really is in the toolkit, can you transfer this problem there?


Adjust layout of Tanzu TV

This is almost ready but just one final thought: do we need to update for light theme? The green pills that count the number of days until an upcoming episode airs changes to blue and the background of the episode descriptions stay gray currently. Should we change that?


Make it into an NPM package?

I've opened PR #2 to do this! Although it only turns this project into a JS package, publishing to NPM should be the next step.
If you're anxious to get going with a packaged version, you can install it directly from the branch referenced in the PR if you like:
npm install 'https://github.com/chilijohnson/play.core.git#package'

See reply here:
https://github.com/ertdfgcvb/play.core/pull/2#issuecomment-841070799


InlinePanel commenting regression

In Wagtail 4.2 commenting on inline panels was removed (#9649) but I am seeing the comment icon in my 5.0 - but it doesn't work. There is an open issue for enabling commenting on InlinePanels #(#9685) which might be nice to have but for my project, I would be content if it went back to being completely disabled OR if it had a "disable_comments" option like FieldPanel.
https://github.com/wagtail/wagtail/assets/5952/c91da210-878c-4950-a941-1d7555719754
Steps to Reproduce

Start a new project with wagtail start myproject
Create an orderable model that maps between a page and another object. Use InlinePanel to allow adding one or more of the orderables to a page. https://gist.github.com/cnk/6b9415c85f175197d87d5d0965b7e815

Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: no
I can confirm this is a regression between Wagtail 4.2 and 5.0. The comment icon does not appear next to the same InlinePanel in the Wagtail 4.2 version of the same project.

Technical details

Python version: 3.10.11
Django version: 4.2
Wagtail version: 5.0
Browser version: Chrome 113

@cnk Have you tested against 5.0.1? There's a fix in there relating to comment icons being added when they shouldn't be - the details don't exactly match, but it could be related.

Oh, wait, 5.0.1 hasn't been released yet - I need more coffee :-)

Thanks for the report! Can confirm by testing the inline panels in a Location page on bakerydemo.
Not sure which change caused the regression, but fix is on #10460.


Substate entry action is not actioned on entry.

This code should not assert.
#include <boost/sml.hpp>
#include <iostream>

namespace sml = boost::sml;

/*
 * dependencies
 */
struct train_engine
{

    int power = 0;
};

enum direction_choice { undecided, left, right };
struct train_driver
{
    direction_choice choice = undecided;
};

/*
 * events
 */

struct start_train { int power_to_use; };

struct fork_event {}; /** The train must go either left or right */

/*
 * actions
 */

template <int level> using to_level = std::integral_constant<int, level>;
template<class T> struct set_power;

template<int level>
struct set_power<to_level<level>> {
    void operator()(train_engine& engine) const {
        std::cout << "setting power to " << level << std::endl;
        engine.power = level;
    }
};

template<direction_choice choice>
struct decide
{
    void operator()(train_driver& driver, train_engine& engine) const
    {
        std::cout << "choosing " << static_cast<int>(choice) << std::endl;
        driver.choice = choice;

        auto new_power = engine.power / 2;
        std::cout << "slowing down to " << new_power << std::endl;
        engine.power = new_power;
    }
};

/*
 * guards
 */

auto low_power = [](train_engine& engine) {
    return engine.power < 51;
};

struct instructed{};
template<>
struct set_power<instructed> {
    void operator()(start_train const& event, train_engine& engine) const {
        std::cout << "setting power to " << event.power_to_use << std::endl;
        engine.power = event.power_to_use;
    }
};

struct choose_direction {
    auto operator()() const {
        using namespace sml;

        constexpr auto choosing = state<class choosing>;

        constexpr auto fork = event<fork_event>;

        return sml::make_transition_table(
// @formatter:off
    *   choosing + on_entry<_> / []{ std::cout << "enter choosing\n"; },
        choosing + fork [low_power] / decide<left>() = X,
        choosing + fork [not low_power] / decide<right>() = X
// @formatter:on
        );
    }
};

struct train_state {
    auto operator()() const {
        using namespace sml;

        constexpr auto stopped = state<class stopped>;
        constexpr auto rolling = state<class rolling>;
        constexpr auto choosing = state<choose_direction>;

        constexpr auto fork = event<fork_event>;

        return sml::make_transition_table(
// @formatter:off
    *   stopped + on_entry<_> / (set_power<to_level<0>>(),
                                 []{ std::cout << "enter stopped\n"; }),
        stopped + event<start_train> / (set_power<instructed>())                      = rolling,

        rolling + on_entry<_> / []{ std::cout << "enter rolling\n"; },
        rolling + fork        / []{}                                                  = choosing
// @formatter:on
        );
    }

};

int main()
{
    auto my_train_engine = train_engine {};
    auto my_train_driver = train_driver {};

    auto my_train = sml::sm<train_state>(my_train_engine, my_train_driver);
    my_train.process_event(start_train{ 50 });
    my_train.process_event(fork_event());

    assert(my_train_driver.choice != undecided);

}

A smaller example (with output) would have been easier to understand. ;-)
setting power to 0
enter stopped
setting power to 50
enter rolling
outer rolling fork
enter choosing
prog.exe: prog.cc:136: int main(): Assertion `my_train_driver.choice != undecided' failed.

Anyhow, why do you think that the assertion should not be triggered?
From my point of view it looks logical. (But I must admit that I do not know the UML 2.5 specification in detail.)

At least, from what I understand:
After event start_train{ 50 } was processed, the state-machine is in state rolling at which my_train_driver.choice == undecided holds.
Then with event fork_event() the state-machine changes from state rolling into state choosing which, due to the fact of being a substate-machine, itself enters its inner-state choosing. The output verifies that by printing enter choosing, which comes from the on_entry event of the inner state choosing. Still, my_train_driver.choice == undecided holds.
And that's it. Event fork_event() finished processing and your assertion will fail.

For not triggering the assertion you must trigger event fork_event() a second time. Then it will be processed by the substate-machine (and not further propagate to the outer state-machine) and my_train_driver.choice == left holds.
Or, if you want it triggered by entering the substate-machine, you must modify the on_entry transition to automatically dispatch the same event:
// ...
        return sml::make_transition_table(
// @formatter:off
    *   choosing + on_entry<_> / ( []{ std::cout << "enter choosing\n"; } , process(fork_event{}) ),
        choosing + fork [low_power] / decide<left>() = X,
        choosing + fork [not low_power] / decide<right>() = X
// @formatter:on
        );
// ...

However, keep in mind that process does not allow the event to propagate to the outer state-machine. (See #76 .)
I also tried another solution by adding on_entry<fork_event> transitions but they never matched. I am not sure if this is just me using wrong syntax or a bug.

Obviously I was trying to get the the inner state to call a transition
action entry to its initial state. However, on_entry<fork_event> looks more
correct to me. (should it be on_entry<event<fork_event>> ?)
It would be an unmaintainable nightmare to have to post a second event in
order to get the outer state to transition after the inner state has
reached an exit point. You'd have to know the reason for the inner state
exiting. That means the event poster would need to know the behaviour of
the state. This would be extremely tightly coupled.
On 28 July 2017 at 15:40, Deniz Bahadir<EMAIL_ADDRESS>wrote:

A smaller example (with output) would have been easier to understand. ;-)
setting power to 0enter stoppedsetting power to 50enter rollingouter rolling forkenter choosingprog.exe: prog.cc:136: int main(): Assertion `my_train_driver.choice != undecided' failed.
Anyhow, why do you think that the assertion should not be triggered?
From my point of view it looks logical. (But I must admit that I do not
know the UML 2.5 specification in detail.)
At least, from what I understand:
After event start_train{ 50 } was processed, the state-machine is in
state rolling at which my_train_driver.choice == undecided holds.
Then with event fork_event() the state-machine changes from state rolling
into state choosing which, due to the fact of being a substate-machine,
itself enters its inner-state choosing. The output verifies that by
printing enter choosing, which comes from the on_entry event of the inner
state choosing. Still, my_train_driver.choice == undecided holds.
And that's it. Event fork_event() finished processing and your assertion
will fail.
For not triggering the assertion you must trigger event fork_event() a
second time. Then it will be processed by the substate-machine (and not
further propagate to the outer state-machine) and my_train_driver.choice
== left holds.
Or, if you want it triggered by entering the substate-machine, you must
modify the on_entry transition to automatically dispatch the same event:
// ...
return sml::make_transition_table(// @formatter:off
*   choosing + on_entry<_> / ( []{ std::cout << "enter choosing\n"; } , process(fork_event{}) ),
choosing + fork [low_power] / decide() = X,
choosing + fork [not low_power] / decide() = X// @formatter:on
);// ...
However, keep in mind that process does not allow the event to propagate
to the outer state-machine. (See #76
https://github.com/boost-experimental/sml/issues/76 .)
I also tried another solution by adding on_entry<fork_event> transitions
but they never matched. I am not sure if this is just me using wrong syntax
or a bug.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/boost-experimental/sml/issues/122#issuecomment-318654694,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE7syZNxKWefO6wMpTikE8kg77LX51fPks5sSeTggaJpZM4OmX1H
.


Integrate with rust/cargo/crates.io

I wonder how much effort would it take to make elba allow the use rust dependencies (both from a folder or from crates.io)
The use case
a) This would immediately boost the capabilities of idris, giving it a ton of good quality libraries ready to use
b) For performance critical or low level development rust is a perfect language with ideals regarding compile-time safety that are really compatible with the idris philosophy.
The approach
Instead of trying to add everything cargo can do into elba (that would be a lot of work), what about requiring cargo and llc to be already installed in the system as a dependency and then invoke cargo as an external program from within elba. I've got my reference on how to call rust stuff from idris from here
What do you think?
I haven't taken a look at the elba codebase yet, but I would love to help with this, if you think it's worthwhile...

I think it's far beyond what elba can do. Intergrating the rust ecosystem and Idris' sounds a great idea, but it's not for free, because you have to write the wrapper, redesign/reexposed the api and stuff.
One way to do that, with writing the binding
code, is to use the prebuild script hook to execute cargo in advance.


Equivalent classes do not show.

Testcase: testcases/owl2-primer/equivalent-intersectionOf.owl

When Mother is selected under Class Relations should be another subheading Equivalent to similar to Subclass of, stating Woman and Parent.
See  for example http://purl.obolibrary.org/obo/CEPH_0000288

In Neo4J, Mother is stored and has the relevant bit:
"http__//www.w3.org/2002/07/owl#equivalentClass": [
      "http://www.ebi.ac.uk/testcases/owl2primer/equivalent-intersectionOf.owl#Parent",
      "http://www.ebi.ac.uk/testcases/owl2primer/equivalent-intersectionOf.owl#Woman"
],

@serjoshua To clarify, this is not related to neo4j as neo4j is not used in rendering the class pages. You can read the http://www.w3.org/2002/07/owl#equivalentClass property from the JSON the frontend already retrieves from the API.

Yup, this is indeed a frontend issue. I still need to implement this.

More tests in this regard are in /testcases/owl2-primer/
equivalentClass.owl
equivalent-intersectionOf-complementOf.owl
equivalent-propertyRestriction-allValuesFrom.owl
equivalent-propertyRestriction-hasSelf.owl
equivalent-propertyRestriction-someValuesFrom.owl
equivalentClass-collection.owl
These are good tests for testing related classes as well.

Implemented display of equivalent relations but one example is not symmetric? The backend doesn't return an equivalent class for Person but for Human it does. I just thought it is weird. It also happens for the equivalent property example. (Yes, we handle equivalent properties too now.)

Also, we still experience discrepancy in the no. of classes count. This equivalent example ontology says it has 2 classess but only displays one. I just thought you should know. The root entities API also returns just one.
Anyway, the frontend part has been implemented. Let me know if you like to track issues using this ticket @udp. Otherwise, I'll close it. Thanks!

I fixed this but would like you to test with the frontend @serjoshua before we close the issue

nvm I checked and it's fixed!


mods in game config settings?

@phylyc Should we specify mods in the settings dict in the game config?
That way games with mods are treated on an equal footing to games without mods.

yeah, we can do so. Then you would just need to change the whole paragraph in the site_runner.game_engine_factory to check for "mods" in game_config["settings"] and access this dict.

Actually, I was placing the mods dict not within the setting entry to not hand the game engine init method the mod settings on instantiation of the game engine. Doing so would require us to always add **kwargs to the init functions, because it could be that any game has the mods entry in its settings. This is possible, though it opens the possibility for instantiations of game engines that do not handle all the specifications in the settings. Right now it would throw an error. I thought it would be nicer for debugging, but I can change it.


Please support new log4j cve - CVE-2022-23302

New Log4j CVE has be published CVE-2022-23302
Please Support this CVE

Done 👍


BUG IOS17 COOL MAZE

I use Cool Maze with iPads and since the iOS 17.4 update I can no longer read the QRcode on my PC.
is this a bug?
configuration problem?
thanks

Thank you @julessup for reporting this important bug.
I confirm that Cool Maze for iPad used to work fine up to iOS 17.3.1, and is now failing on iOS 17.4 with Cool Maze 1.2.1.
The latest version of Cool Maze is 1.3.0 but I don't have data yet for (iOS 17.4 + Cool Maze 1.3.0). This latest version does not contain a specific fix for the QR code problem.
Cool Maze for iPhone is unaffected (working fine) even with iOS 17.4.

thank you for your reply. version 1.3 does not work on our ipads either. Do you think a fix will be available soon?
Sincerely
-------- Message d'origine --------De : Valentin Deleplace @.> Date : 12/03/2024  17:54  (GMT+01:00) À : Bartalog/cool-maze @.> Cc : julessup @.>, Mention @.> Objet : Re: [Bartalog/cool-maze] BUG IOS17 COOL MAZE  (Issue #582)
Thank you @julessup for reporting this important bug.
I confirm that Cool Maze for iPad used to work fine up to iOS 17.3.1, and is now failing on iOS 17.4 with Cool Maze 1.2.1.
The latest version of Cool Maze is 1.3.0 but I don't have data yet for (iOS 17.4 + Cool Maze 1.3.0). This latest version does not contain a specific fix for the QR code problem.
Cool Maze for iPhone is unaffected (working fine) even with iOS 17.4.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Unfortunately I'm having problems with incompatible combinations of iOS version -> iOS SDK version -> Xcode version -> macOS version -> mac hardware version. I won't be able to properly debug and fix this issue until I buy a new dev workstation.
It would help a little bit if you could take a screencast of your experience so I can better understand what part of the code is failing and research from there.

This can be a regression in the app itself since version 1.2.1.
There was 1 share action from an iPad with iOS 17.4 and Cool Maze 1.1.4, and it was successful.

screencast : https://we.tl/t-Q5SFHKwQGe

Thank you, this is very helpful.  I was afraid the camera would not start at all because of stricter enforcement of some limitations of Share Apps by iOS. Fortunately, the camera is starting and the root cause of the problem seems to be something else.

I have not found the root cause of the releases (1.2.1, 1.3.0) failing on iPadOS 17.4.
In 2024, this bug has affected 4% of the iPad users of Cool Maze (0.07% of the Cool Maze total audience).
Fortunately, the problem seems to not occur anymore with subsequent iPadOS versions: 17.4.1, 17.5, 17.5.1. It has not been occuring at all for several months, probably because devices have automatically upgraded their OS version.
Please reach out if you're still impacted!


Decouple gatsby-source-shopify

Here's a go at it!  Wasn't sure what to write in the docs but this worked for me!

Closing in favor of https://github.com/thetrevorharmon/gatsby-theme-shopify-manager/pull/77


Unable to generate curve data

I am just testing audicurve on 'windows 7'. Apparently it doesn't find sox.exe, if i am right : 'Unable to generate curve data'.

sox.exe is in same folder?
Den 2015-07-23 17:43, skrev rcspam:

I am just testing audicurve on 'windows 7'. Apparently it doesn't find
sox.exe, if i am right : 'Unable to generate curve data'.
--
Reply to this email directly or view it on GitHub [1].

Links:
[1] https://github.com/olear/audiocurve/issues/9

yes installed with you setup

"unable to generate curve data"  happens when sox gives no output/data, maybe wrong params (input/output)?

just input a file in audiocurve plugin then generate curve so...

I've try on another host, all is ok !
Don't know why i doesn't works on the other one.
Surely the secret ghosts of the compinting !?

In Fact, sox for win32 doesn't support mp3 files. It is not compiled, i hope to have well understood, with liblame....

https://github.com/mxe/mxe/blob/master/src/sox.mk#L11
Should support mp3 (untested).

Just an info for users who want use AudioCurve.exe...

If you want sox read mp3 files, you have just to include libmad.dll and libmp3lame.dll in sox.exe directory

So, it is the same directory as Plugins !


How to use LMSolver

In this post (http://answers.opencv.org/question/66169/how-can-i-use-lmsolver-to-solve-a-non-linear-system/) I try to use LMsolver to solve a non-linear system using Levenberg-Marquardt method. I don't find how to do and there is no answer. Withou any answer I think that's not possible to use it.
I have found my own answer in making a copy of class LMSolver in my own code and call method createLMSolver and then it works.
I propose then to change some file in module opencv_calib3d  to have a direct access to this class and to insert a small example how to use this class.
Module calib3d is not at all my module ((some authors are @CheeseWiz @taka-no-me @Dmitry-Me @Adil-Ibragimov @ilya-lavrenovilya-lavrenov @SpecLad) so I prefer asking if this job is usefull and if I can do it before starting work.
Waiting for your answer
Regards L. Berger

@mshabunin: the label "question" does not fit this issue well. It is indeed phrased like a question but it is more a feature request or a "request permission to implement"
@LaurentBerger to discuss the change efficiently, you could a) Rephrase this issue's title and text to not get it mistaken as question (and therefore largely ignored) and b) shortly summarize your idea and c) trying to identify the author of the module and notify them by mentioning their Github user name

@PhilLab As my english is not good at all I understand yours remarks. I have append some module's authors. About title I think that it is not too bad because may be someone know how to use LMSolver without changing source code. I have tried to improve it.

it is probably not yet exported it lacks the possibility to fix parameters when compared to CvLevMarq - you could use the latter in the meantime though..


CTD with TESDataHandler::LookupLoadedModByIndex

When using TESDataHandler::LookupLoadedModByIndex, a CTD occurs if the plugin is not found.
Example:
RE::TESDataHandler* datahandler = RE::TESDataHandler::GetSingleton();
RE::TESFile* file = datahandler->GetLoadedModByIndex(0xF3);
crashes when there is no mod with index 0xF3.
The crash occurs in line 95:
			if (file->compileIndex == a_index) {
due to a null dereference on file, which occurs due to the usage of a static array in VR.
Changing the line to
			if (file && file->compileIndex == a_index) {
fixes the issue.
The same issue should also occur in line 78, when trying to find a plugin that is not present.

Thanks. Feel free to submit a PR or I'll get to it next time I do a revision.


not an issue, but if you close vs code will the status go away>

Yes. If not re-run the script and do Control+Z in the terminal.


Changing CSS classes

Is it possible to change the CSS classes that this plugin adds? So I can add certain classes to some of the outputs for appearance changes?

There are options in the settings to do this.
http://django-bootstrap3.readthedocs.io/en/latest/settings.html http://django-bootstrap3.readthedocs.io/en/latest/settings.html
If this doesn't work for your use case, please be as specific as possible in describing what you would like to do.

Op 7 jul. 2017, om 01:24 heeft Chaos<EMAIL_ADDRESS>het volgende geschreven:
Is it possible to change the CSS classes that this plugin adds? So I can add certain classes to some of the outputs for appearance changes?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/dyve/django-bootstrap3/issues/408, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFBi3K2lQhbEoEcgFsC1P-2l1Hy16V8ks5sLWyVgaJpZM4OQTnm.

@ChaosMTA I'm closing this for now, please reopen with more details if the settings do not fix your issue.


show downstream job results

run tests

run tests

run tests

run tests

run tests

run tests

@gdams Did you mean to close this as opposed to merging?


The CanvasRenderingContext2D.drawImage function is overridden in a wrong way (fix #54)

/сс @inikulin @AlexanderMoskovkin

lgtm overall, but I think we should rename commit. Now it's looks like you are introducing the wrong override, instead of fixing it =)

FPR

lgtm


Is it okay to take the code and turn it into windows, ios, and android apps?

I know how to do this, using Crosswalk, so can I?

I just don't know.

That's fine for you to do, as long as you follow the license and include the copyright information + license in it somewhere

Thanks!
You are cool!

Haha thanks.


Install-Module p4nano doesn't work in powershell

p4nano is not a module

Can there be choco package for p4nano?


403 on schedule check in lambda

Was working this weekend, issue first seen today.
[INFO] 2021-07-19T16:37:46.147Z 3c5efbd4-8b76-4087-a03d-dd83c93cdc2a Looking up reservation ABC123 for John Doe
  | 2021-07-19T09:37:46.289-07:00 | status_code=403 msg="Forbidden": SouthwestAPIError Traceback (most recent call last): File "/var/task/handlers/schedule_check_in.py", line 35, in main first_name, last_name, confirmation_number File "/var/task/swa.py", line 73, in from_passenger_info params File "/var/task/swa.py", line 48, in _make_request response.status_code, msg)) exceptions.SouthwestAPIError: status_code=403 msg="Forbidden"
  | 2021-07-19T09:37:46.309-07:00 | END RequestId: 3c5efbd4-8b76-4087-a03d-dd83c93cdc2a

Yeah, I've seen this occasionally. Most check-ins are working but it seems
like some require information regarding COVID vaccinations when checking in
and they fail in this way. Just my best guess.
On Mon, Jul 19, 2021, 11:42 AM Scott Bishop @.***>
wrote:

Was working this weekend, issue first seen today.
[INFO] 2021-07-19T16:37:46.147Z 3c5efbd4-8b76-4087-a03d-dd83c93cdc2a Looking up reservation ABC123 for John Doe
| 2021-07-19T09:37:46.289-07:00 | status_code=403 msg="Forbidden": SouthwestAPIError Traceback (most recent call last): File "/var/task/handlers/schedule_check_in.py", line 35, in main first_name, last_name, confirmation_number File "/var/task/swa.py", line 73, in from_passenger_info params File "/var/task/swa.py", line 48, in _make_request response.status_code, msg)) exceptions.SouthwestAPIError: status_code=403 msg="Forbidden"
| 2021-07-19T09:37:46.309-07:00 | END RequestId: 3c5efbd4-8b76-4087-a03d-dd83c93cdc2a
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DavidWittman/serverless-southwest-check-in/issues/82,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFOML7KVPBF4QRBORDGXODTYRIYLANCNFSM5AUCDRMA
.

This was for a new booking, the email is parsed correctly but seeing this error when scheduling the check in. At this point I wouldn't think any COVID information would be required to look up a reservation.

Ohh sorry I misread this and thought it was on check-in. Are any check-ins
scheduling successfully for you?
On Mon, Jul 19, 2021, 11:48 AM Scott Bishop @.***>
wrote:

This was for a new booking, the email is parsed correctly but seeing this
error when scheduling the check in. At this point I wouldn't think any
COVID information would be required to look up a reservation.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/DavidWittman/serverless-southwest-check-in/issues/82#issuecomment-882699909,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFOML4OLLQWVRJWK6HEABTTYRJPBANCNFSM5AUCDRMA
.


yeelink.light.bslamp2 is unavailable on v0.6.0b5

yeelink.light.bslamp2 didn't work on v0.6.0b5. Last working version is v0.6.0b3

Fixed in v0.6.0b6.

Fixed in v0.6.0b6.
Unfortunately, the light object is still unavailable.


How to designate Melo TTS model to use my trained model?

Hi,
I am using Melo as TTS. And I trained with my datasets. How to designate Melo (here at speech to speech) to use my model?
Thanks!

I think the file you need to modify is in: TTS/melo_handler.py
Follow the instructions at: https://github.com/myshell-ai/MeloTTS/blob/main/docs/install.md#python-api

FYI, this repo uses a fork of the MeloTTS one. It's here: https://github.com/andimarafioti/MeloTTS
I needed to fork it because MeloTTS pinned an old transformers version.

thank you all. I am checking it now


Docs: Reintroduce overview of architecture + explanations of "hints", "components"

An older version of the ophyd documentation provided two sections that are no longer present (or maybe not readily discoverable).

An overview of the architecture (model of hardware abstraction + the interface used by the bluesky RunEngine)
An explanation of the "hints", "kind", "config", "components'.

This overview was particularly helpful to me as a newcomer to understand what problems ophyd is solving and how it does so.  I'm also searching for another old version of the docs that discussed several examples of setting config and hints and signal kinds for multiple relevant applications.
I think it will be useful to reintroduce these explanation guides.

I'd like to submit a PR for this, but will wait until the ophyd v2 docs are removed.


Drop'em Or Test Them?

129  0 : bool CommandLineTestRunner::isVerbose()
130    : {
131  0 :     return arguments_->isVerbose();
132    : }
133    :
134  0 : bool CommandLineTestRunner::isColor()
135    : {
136  0 :     return arguments_->isColor();
137    : }
138    :
139  0 : int CommandLineTestRunner::getRepeatCount()
140    : {
141  0 :     return arguments_->getRepeatCount();
142    : }

Drop them ? :)

Okay. Let's see if anyone will miss them..... ;-)

I miss them already!

Oh no.... :-(
Test them?

No was j/k :)

Ohhh.... Joe King....

Actually just realized they are private. So we couldn't make use of them or test them, even if we wanted to ;-). Funny actually, there seems to be no compiler warning for unused private methods.... though they are no more useful than unused static functions, actually....


Feature/issue harmony 1189 - update harmony-service-lib-py version

JIRA Issue: #harmony-1189
#34
Description
This updates the version of the harmony service library dependency. This is necessary because the service library was updated to be able to read/write STAC catalogs from S3 (https://github.com/nasa/harmony-service-lib-py/releases/tag/v1.0.20). Before merging in the corresponding Harmony code (https://github.com/nasa/harmony/pull/224), we need to update all services to use the new service library version since the STAC catalogs written by Harmony and passed to the services will now be in S3.
Overview of work done
Updated harmony-service-lib-py version to 1.0.20.
Overview of verification done
I'm having trouble running the tests without errors. I keep seeing:

importlib_metadata.PackageNotFoundError: No package metadata was found for podaac-concise

Overview of integration done
There is a bug in Harmony at the moment that's preventing me from running a local integration test. I will try to test when that's resolved.
PR checklist:

[x] Linted
[x] Updated unit tests
[x] Updated changelog
[ ] Integration testing

See Pull Request Review Checklist for pointers on reviewing this pull request

I could not for the life of me figure out how to run the github action workflow on the fork so I pushed commit 7a85ac4 to a new branch in podaac/concise and ran the workflow on that branch
https://github.com/podaac/concise/actions/runs/2694491095

Thanks Frank!


Generate scaffold for users with custom fields using artisan infyom.publish:user

Hi,
For generate scaffold of users I see there is command php artisan infyom.publish:user
But how to include custom fields because there is only default Laravel fields running this command.
Thanks

@thewebartisan7  there's not support yet to publish user module with custom fields.
you can modify after published.


TBX1 full cohort with phenopackets upload

Uploading successfully completed notebook with 26 phenopackets. Disregard any conflicts outside the TBX1 folder.

@adamklocperk before merging this, could I ask why we are deleting TBX1_Yagi_2003.ipynb? Did this data go into the Excel?

Hi Peter,
Yes, the Yagi data was merged into the full cohort excel. I did this to
unify the tables and have the full cohort in one, with equivalent
columns/terms.
Adam
On Sun, 10 Mar 2024, 10:14 Peter Robinson, @.***> wrote:

@adamklocperk https://github.com/adamklocperk before merging this,
could I ask why we are deleting TBX1_Yagi_2003.ipynb? Did this data go into
the Excel?
—
Reply to this email directly, view it on GitHub
https://github.com/monarch-initiative/phenopacket-store/pull/81#issuecomment-1987154454,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGE3G7272F7ARPT46VSIGHDYXQQALAVCNFSM6AAAAABEHE4TBKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGE2TINBVGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

closing this since we have revised the phenopackets elsewhere


PHP 7.2 compatibility update

Calling get_class() without a parameter is no longer supported in PHP 7.2: https://secure.php.net/manual/en/function.get-class.php

I signed it!

Thanks for the PR. I'm going to close it because the change to PHP 7.2 was about passing NULL to the function and in fact encourages use of get_class() without any argument.
https://secure.php.net/manual/en/migration72.incompatible.php#migration72.incompatible.no-null-to-get_class

Sorry about that, I misread the error!


Event onChange on Tabs never fired...

(I use<EMAIL_ADDRESS>I just come to copy this example from your doc (http://www.material-ui.com/#/components/tabs) to my app.
I have no error in the console and neither the "console.log".
When I click on a Tab, the ripple animation works fine, but the selection is never changing. I'm stuck on the first tab.
Have I made something wrong ? Or there is a bug ?
import React from 'react';
import Tabs from 'material-ui/lib/tabs/tabs';
import Tab from 'material-ui/lib/tabs/tab';

export default class TabsExample extends React.Component {

	constructor(props) {
	    super(props);
	    this.state = {
	      slideIndex: 0,
	    };
	  }

	handleChange = (value) => {
	   console.log("Tab is changing to ",value);
	    this.setState({
	      slideIndex: value,
	    });
	};

	render() {

		return (
		<Tabs value={this.state.slideIndex} onChange={ this.handleChange } >
	    			<Tab label="First Tab" value={0}>

CONTENT 1

	    			</Tab>

	    			<Tab label="Second Tab" value={1}>

CONTENT 2

	    			</Tab>
    		</Tabs>
		)

	}
}

Thanks !

Ha, something to precise. When the state change, the tab is changing well, as well as the content.
for exampel, if I replace my constructor by this code, the tab changes automatically after 3 seconds.
constructor(props) {
	    super(props);
	    this.state = {
	      slideIndex: 0,
	    };

	    setTimeout( () => {
	    	this.setState({ slideIndex: 1});
	    }, 3000);
}

But I can't make it works with a mouse click... Any idea ?

Could you try reproducing this with values of 1 and 2 instead of 0 and 1? It might be caused by falsy values. if so it's a bug! :beetle:

I've tried but it's the same... It's not caused by falsy values...
Can you reproduce it ?
Why do the inkBar doesn't move when I click on the unselected tab ??? The selection is stuck on the initial item... and I'm stuck too about that...

@damienfa For now you can do use this workaround:
export default class TabsExample extends React.Component {

    constructor(props) {
        super(props);
        this.state = {
          slideIndex: 0,
        };
      }

    handleChange = (value) => {
       console.log("Tab is changing to ",value);
        this.setState({
          slideIndex: value,
        });
    };

    render() {

        return (
        <Tabs value={this.state.slideIndex}>
                    <Tab label="First Tab" value={0}  onActive={() => this.handleChange(0) } >

CONTENT 1

                    </Tab>

                    <Tab label="Second Tab" value={1}  onActive={() => this.handleChange(1) }>

CONTENT 2

                    </Tab>
            </Tabs>
        )

    }
}

I hope this works out for you. If it does don't close this issue. We should fix onChange!

Thanks for your answer... but, no, it doesn't change nothing...
I guess it comes from the click/touch event on the Tab. The onActive isn't called because it doesn't "activate" the second tab.
The ripple animation works fine on click, but the inkBar doesn't move (and the onActive / onChange events aren't called).

I see... any chance you aren't injecting the react-tap-event-plugin? take a look here. Follow those instructions and let me know if it fixes it.

hohoho... :cold_sweat:  I missed that ! and it solves my problem !
Thanks !
PS : Why don't you put that in the material-ui dependencies ? (and check on the react-version to import it or not).

PS : Why don't you put that in the material-ui dependencies ? (and check on the react-version to import it or not).

We've had looooong discussions for this. It proves to be harder than it seems :cry: I'm glad your issue is resolved. we'll do our best to provide some sort of warning when the plugin isn't injected. :+1:

To ease some pain: The react tap plugin was just updated to v1.0.0. It only works with react > 15.

And if upgrading to React 15 is not an option at this time, depending on<EMAIL_ADDRESS>should work.


Fix master

API changed just before @oconnor663 merged into master.  r? @mlsteele

👍
That changed right before facebook was merged.


Tesseract in Hypercube does not support  JP2 files

This was a side-issue that I found while investigating  https://github.com/Islandora/islandora/issues/903
Steps to reproduce:
On fresh install of ISLE-DC development branch as of 2022-10-17:

Create an object with model Page
Add a Media of type File and upload a TIFF file, checking 'Original File' in Media Use.
Add an object with model Page
Add a Media of type File and upload a JP2 file, checking 'Original File' in Media Use.

Expected behaviour:
Both objects should have an Extracted Text media containing the text embedded in the respective images.
Actual result:
The media with a TIFF file has thumbnail, service file, FITS file and Extracted Text
The media with the JP2 has thumbnail, service file and FITS file but no Extracted Text.
This error shows up in the Hypercube logs:
[2022-10-18 15:00:35] crayfish.cmd_execute_service.ERROR: Process exited with non-zero code. {"exit_code":1,"stderr":"Error in pixReadMemJp2k: function not present\nError in pixReadMem: jp2k: no pix returned\nError during processing.\n"} []

Fixed in https://github.com/Islandora-Devops/isle-buildkit/pull/238


[143] Set Up CI

Resolves #143 .
Setting up Travis on a parallel thread. This is partially a test of that integration.

And it's friggin working! https://travis-ci.org/codeforboston/cliff-effects/builds/295565587?utm_source=github_status&utm_medium=notification

Woohoo!  Way to go Nick.

Awesome! @ManickYoj: Can you make this PR pass now, though? I don't want others updating to a version that causes our beautiful tests to fail.


Body not filling with example values

What happens?

Using<EMAIL_ADDRESS>for some reason example values are not being filled.
What did you expect to happen?

This is how it looks at scalar editor, example values are properly filled.
OpenAPI Document
No response

I checked few versions and last one that has this feature working is 1.25.11.
Also I noticed that pressing Enter inside Body editor introduces weird behaviours, changing to other methods by itself.

Any update on that?

hi @Nikkoro really sorry on the delay here, we will make this a priority this week!

hi @Nikkoro really sorry on the delay here, we will make this a priority this week!

is there any new progress?

Hello, maybe @marclave has some news about this issue? I Have the same problem on my side.
Thanks for your work!

hey all thank you for reporting this, @Nikkoro does the issue remain?
cc @maximeozenne @AZCodingAccount

hey all thank you for reporting this, @Nikkoro does the issue remain?
cc @maximeozenne @AZCodingAccount

Unfortunately I had to drop Scalar for now due to amount of small bugs like this and not supporting multiple OpenApi docuements, but a quick check indeed has shown me that it's working correctly now. This issue can be closed then, great job! 🙌.
I found another bug tho which you can track at -> #4206

hey @Nikkoro ! sorry to hear you had to drop scalar cause of our bugs!
hopefully once we get these fixed you can give us another try :)
we have some good news! @cameronrohani and i are working on the header as we speak to support multiple specs!
we will update the discussion  once we have made progress!

Hey @marclave! Awesome news! I check in on the progress from time to time and I really believe you'll get there. Gotta trust the process 😎


help needed

Challenge Comment out HTML has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

When I click submit it gives me an error saying i changed the order
Do not change the order of the h1 h2 or p in the code.
and wont let me get past this please advise?

I think its a bug

but I maybe wrong:)

@jmc3720 It's not a bug, your code is incorrect. You've partially removed the opening and closing tags for both
 and
. For instance, this -

should be

Please visit the Help Room first if you need help with issues like these. Happy Coding!

You included the h1 in your comment

@jmc3720 thanks for the issue but as others have pointed out, you've commented out your HTML elements incorrectly. Please use the help rooms for questions in the future. Happy coding!

Hello World-->

@lynxumba Please only make comments relevant to the discussion of this issue.

ok
On Sat, Mar 9, 2019 at 5:24 PM Randell Dawson<EMAIL_ADDRESS>wrote:

@lynxumba https://github.com/lynxumba Please only make comments
relevant to the discussion of this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/11782#issuecomment-471181932,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AuE1DQ6MahSR1rMHCd8x8VbYKT7j1ebmks5vU8QtgaJpZM4K7Cj_
.


add Donny Xia to maintainer

/cc @prachirp

@Shell32-Natsu As first act of being the maintainer, can you investigate the e2e-ci failures? :)

@frankfarzan I am happy to do it but @etefera told me that he is working on it.

Confirmed with @etefera and I will take it. https://github.com/GoogleContainerTools/kpt/issues/1145


Ambiguity in 6.5.2 b

Another possible problem that should be pushed for next year:
When discussing this exercise in the work groups, we were confused why 6.5.2b was incorrect:

We initially parsed this statement as "For all formulas phi in gamma and for all valuations v, ...", thinking that the "for each" phrase at the beginning of the sentence distributes to both the "phis in gamma" and the "valuation v" part of the phrase: "for each formula, ..., and for each valuation", so we concluded that this must mean that gamma is unsatisfiable. When we found out that our answer to this question was wrong, we took another look and found we were supposed to parse it as if "for each" didn't distribute to the valuation: "for each formula,... and the one valuation ... ", which would not necessarily make gamma unsatisfiable.
Part of the confusion is that a few lines earlier, we're confronted with 6.5.1 f, where "for all" does indeed distribute to both the formulas and the valuations.

(here, f is correct according to the answers)
With this one it is obvious that it does distribute, because it uses "for all" and "valuations" (plural) rather than "valuation", though it does set a precedent that terms such as "for all" can distribute. 6.5.2b on the other hand, uses "for each", which means we cannot look at whether the nouns are plural to determine whether the term distributes because "for each" always requires the nouns it refers to to be singular.

Great! I'll add an explanation/hint in the solution :)


error: unable to load valid module manifest

error when trying to install the module in foundry (sorry for bad english)
screenshot error foundry:

screenshot manifest page (in foundry site):

if i take manifest link from repository i can install:

Thanks, this was an error on the foundry admin page. Updating worked fine, but installing did not. It should be fixed now.


Update components and tools generated docs for 1.10

That long list of commits is there because the last PR to merge master to 1.10 automatically squashed the commits. So they still read as missing, even though the content is there in the 1.10 branch. Not completely sure what to do here -- we should revisit process and policies for subsequent releases. In the meantime, moving on to the next set of generated docs and ...
Looking through the list of commits again, is there a way to cherry-pick ONLY the last one? That is, the commit that I created today (Sunday, 3/25)? I thought that I was careful with which remote branch I tracked, but I see at least one from master and not release-1.10 in the list.
/assign @steveperry-53
/assign @zacharysarah

Figured out issue with extra commits, etc. SO MUCH GIT LEARNING.


chore: release main

:robot: I have created a release beep boop
simulator: 1.4.1
1.4.1 (2024-07-05)
🐞 Fixes

ci: fix release branches creation (f727f02)

✨ Polish

ci: cleanup release-please configuration (9880e6f)

ui: 1.4.1
1.4.1 (2024-07-05)
🐞 Fixes

ci: fix release branches creation (f727f02)

ocpp-server: 1.4.1
1.4.1 (2024-07-05)
🧹 Chores

ocpp-server: Synchronize simulator-ui-ocpp-server versions

This PR was generated with Release Please. See documentation.

:robot: Created releases:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:sunflower: