Prefix sudo on the webcam component's property

Yeah, the workaround works, just tried it on the pi :-)
However, I'm still not able to restart the app once again. I quit the first instance by pressing Ctrl-C which seems gracefully shut down the app:
^C[               shutdown-hook-1] WebcamShutdownHook             INFO  Automatic /dev/video0 deallocation
[               shutdown-hook-1] Webcam                         INFO  Disposing webcam /dev/video0
[                      Thread-2] tationConfigApplicationContext INFO  Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@1702a3c: startup date [Thu Oct 29 23:48:48 CET 2015]; root of context hierarchy
[                      Thread-3] MainSupport$HangupInterceptor  INFO  Received hang up - stopping the main instance.
[                      Thread-3] MainSupport                    INFO  Apache Camel 2.16.0 stopping
[                      Thread-2] SpringCamelContext             INFO  Apache Camel 2.16.0 (CamelContext: camel-1) is shutting down
[                      Thread-2] DefaultShutdownStrategy        INFO  Starting to graceful shutdown 1 routes (timeout 300 seconds)
[el-1) thread #1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route: route1 shutdown complete, was consuming from: Endpoint[webcam://cam?consumer.delay=1000&height=240&width=320]
[                      Thread-2] DefaultShutdownStrategy        INFO  Graceful shutdown of 1 routes completed in 0 seconds

When I start the app again, camel finds the device but is not able to capture images:
[            atomic-processor-1] WebcamOpenTask                 INFO  Opening webcam /dev/video0
[el-1) thread #0 - webcam://cam] WebcamScheduledConsumer        WARN  Consumer Consumer[webcam://cam?consumer.delay=1000&height=240&width=320] failed polling endpoint: Endpoint[webcam://cam?consumer.delay=1000&height=240&width=320]. Will try again at next poll. Caused by: [com.github.sarxos.webcam.WebcamException - Cannot execute task]
com.github.sarxos.webcam.WebcamException: Cannot execute task
        at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.process(WebcamProcessor.java:72)
        at com.github.sarxos.webcam.WebcamProcessor.process(WebcamProcessor.java:140)
        at com.github.sarxos.webcam.WebcamTask.process(WebcamTask.java:46)
        at com.github.sarxos.webcam.ds.cgt.WebcamOpenTask.open(WebcamOpenTask.java:20)
        at com.github.sarxos.webcam.Webcam.open(Webcam.java:302)
        at com.github.sarxos.webcam.Webcam.open(Webcam.java:251)
        at io.rhiot.component.webcam.WebcamComponent.openWebcam(WebcamComponent.java:227)
        at io.rhiot.component.webcam.WebcamComponent.getWebcam(WebcamComponent.java:212)
        at io.rhiot.component.webcam.WebcamComponent.getWebcam(WebcamComponent.java:195)
        at io.rhiot.component.webcam.WebcamEndpoint.getWebcam(WebcamEndpoint.java:130)
        at io.rhiot.component.webcam.WebcamScheduledConsumer.poll(WebcamScheduledConsumer.java:40)
        at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)
        at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
       ...
Caused by: com.github.sarxos.webcam.WebcamException: au.edu.jcu.v4l4j.exceptions.V4L4JException: Error starting the capture
        at com.github.sarxos.webcam.ds.v4l4j.V4l4jDevice.open(V4l4jDevice.java:350)
        at com.github.sarxos.webcam.ds.cgt.WebcamOpenTask.handle(WebcamOpenTask.java:38)
        at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)
        ... 3 more
Caused by: au.edu.jcu.v4l4j.exceptions.V4L4JException: Error starting the capture
        at au.edu.jcu.v4l4j.AbstractGrabber.start(Native Method)
        at au.edu.jcu.v4l4j.AbstractGrabber.startCapture(AbstractGrabber.java:332)
        at com.github.sarxos.webcam.ds.v4l4j.V4l4jDevice.open(V4l4jDevice.java:348)
        ... 5 more
[            atomic-processor-1] V4l4jDevice                    ERROR UNable to get image in {} seconds timeout

Do you have the same problem?
Best
Thomas

Yeah I did get that too initially but not after the sudo modprobe so I deleted the command I used to reset format, perhaps it's still needed on your platform.
I'll start from cold and see if I can reproduce again it first before putting it back.
Will also attach it so you can try run it from shell to compare output there too.

On 30 Oct 2015, at 01:03, Thomas Berger<EMAIL_ADDRESS>wrote:
Yeah, the workaround works, just tried it on the pi :-)
However, I'm still not able to restart the app once again. I quit the first instance by pressing Ctrl-C which seems gracefully shut down the app:
^C[               shutdown-hook-1] WebcamShutdownHook             INFO  Automatic /dev/video0 deallocation
[               shutdown-hook-1] Webcam                         INFO  Disposing webcam /dev/video0
[                      Thread-2] tationConfigApplicationContext INFO  Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@1702a3c: startup date [Thu Oct 29 23:48:48 CET 2015]; root of context hierarchy
[                      Thread-3] MainSupport$HangupInterceptor  INFO  Received hang up - stopping the main instance.
[                      Thread-3] MainSupport                    INFO  Apache Camel 2.16.0 stopping
[                      Thread-2] SpringCamelContext             INFO  Apache Camel 2.16.0 (CamelContext: camel-1) is shutting down
[                      Thread-2] DefaultShutdownStrategy        INFO  Starting to graceful shutdown 1 routes (timeout 300 seconds)
[el-1) thread #1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route: route1 shutdown complete, was consuming from: Endpoint[webcam://cam?consumer.delay=1000&height=240&width=320]
[                      Thread-2] DefaultShutdownStrategy        INFO  Graceful shutdown of 1 routes completed in 0 seconds
When I start the app again, camel finds the device but is not able to capture images:
[            atomic-processor-1] WebcamOpenTask                 INFO  Opening webcam /dev/video0
[el-1) thread #0 - webcam://cam] WebcamScheduledConsumer        WARN  Consumer Consumer[webcam://cam?consumer.delay=1000&height=240&width=320] failed polling endpoint: Endpoint[webcam://cam?consumer.delay=1000&height=240&width=320]. Will try again at next poll. Caused by: [com.github.sarxos.webcam.WebcamException - Cannot execute task]
com.github.sarxos.webcam.WebcamException: Cannot execute task
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.process(WebcamProcessor.java:72)
at com.github.sarxos.webcam.WebcamProcessor.process(WebcamProcessor.java:140)
at com.github.sarxos.webcam.WebcamTask.process(WebcamTask.java:46)
at com.github.sarxos.webcam.ds.cgt.WebcamOpenTask.open(WebcamOpenTask.java:20)
at com.github.sarxos.webcam.Webcam.open(Webcam.java:302)
at com.github.sarxos.webcam.Webcam.open(Webcam.java:251)
at io.rhiot.component.webcam.WebcamComponent.openWebcam(WebcamComponent.java:227)
at io.rhiot.component.webcam.WebcamComponent.getWebcam(WebcamComponent.java:212)
at io.rhiot.component.webcam.WebcamComponent.getWebcam(WebcamComponent.java:195)
at io.rhiot.component.webcam.WebcamEndpoint.getWebcam(WebcamEndpoint.java:130)
at io.rhiot.component.webcam.WebcamScheduledConsumer.poll(WebcamScheduledConsumer.java:40)
at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)
at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
...
Caused by: com.github.sarxos.webcam.WebcamException: au.edu.jcu.v4l4j.exceptions.V4L4JException: Error starting the capture
at com.github.sarxos.webcam.ds.v4l4j.V4l4jDevice.open(V4l4jDevice.java:350)
at com.github.sarxos.webcam.ds.cgt.WebcamOpenTask.handle(WebcamOpenTask.java:38)
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)
... 3 more
Caused by: au.edu.jcu.v4l4j.exceptions.V4L4JException: Error starting the capture
at au.edu.jcu.v4l4j.AbstractGrabber.start(Native Method)
at au.edu.jcu.v4l4j.AbstractGrabber.startCapture(AbstractGrabber.java:332)
at com.github.sarxos.webcam.ds.v4l4j.V4l4jDevice.open(V4l4jDevice.java:348)
... 5 more
[            atomic-processor-1] V4l4jDevice                    ERROR UNable to get image in {} seconds timeout
Do you have the same problem?
Best
Thomas
—
Reply to this email directly or view it on GitHub.

This time after a cold reboot I got an explicit error that there's no
/dev/video0 device, which modprobe alone didn't fix.
So I updated master to include the set format, and since then I've tried a
few cold starts and app restarts with no problems.
First build master when you have time and try again, if that fails, try the
following in the shell;

List devices, see if /dev/video0 is still there, then modprobe worked
v4l2-ctl --list-devices

Show current format, see if the output looks something like below;
v4l2-ctl -V

Format Video Capture:
Width/Height  : 320/240
Pixel Format  : 'JPEG'
Field         : None
Bytes per Line: 0
Size Image    : 102400
Colorspace    : JPEG (JFIF/ITU601)
Custom Info   : feedcafe
Cheers!
On Fri, Oct 30, 2015 at 5:19 AM, Taariq Levack<EMAIL_ADDRESS>wrote:

Yeah I did get that too initially but not after the sudo modprobe so I
deleted the command I used to reset format, perhaps it's still needed on
your platform.
I'll start from cold and see if I can reproduce again it first before
putting it back.
Will also attach it so you can try run it from shell to compare output
there too.
On 30 Oct 2015, at 01:03, Thomas Berger<EMAIL_ADDRESS>wrote:
Yeah, the workaround works, just tried it on the pi :-)
However, I'm still not able to restart the app once again. I quit the
first instance by pressing Ctrl-C which seems gracefully shut down the app:
^C[               shutdown-hook-1] WebcamShutdownHook             INFO  Automatic /dev/video0 deallocation
[               shutdown-hook-1] Webcam                         INFO  Disposing webcam /dev/video0
[                      Thread-2] tationConfigApplicationContext INFO  Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@1702a3c: startup date [Thu Oct 29 23:48:48 CET 2015]; root of context hierarchy
[                      Thread-3] MainSupport$HangupInterceptor  INFO  Received hang up - stopping the main instance.
[                      Thread-3] MainSupport                    INFO  Apache Camel 2.16.0 stopping
[                      Thread-2] SpringCamelContext             INFO  Apache Camel 2.16.0 (CamelContext: camel-1) is shutting down
[                      Thread-2] DefaultShutdownStrategy        INFO  Starting to graceful shutdown 1 routes (timeout 300 seconds)
[el-1) thread #1 - ShutdownTask] DefaultShutdownStrategy        INFO  Route: route1 shutdown complete, was consuming from: Endpoint[webcam://cam?consumer.delay=1000&height=240&width=320]
[                      Thread-2] DefaultShutdownStrategy        INFO  Graceful shutdown of 1 routes completed in 0 seconds
When I start the app again, camel finds the device but is not able to
capture images:
[            atomic-processor-1] WebcamOpenTask                 INFO  Opening webcam /dev/video0
[el-1) thread #0 - webcam://cam] WebcamScheduledConsumer        WARN  Consumer Consumer[webcam://cam?consumer.delay=1000&height=240&width=320] failed polling endpoint: Endpoint[webcam://cam?consumer.delay=1000&height=240&width=320]. Will try again at next poll. Caused by: [com.github.sarxos.webcam.WebcamException - Cannot execute task]
com.github.sarxos.webcam.WebcamException: Cannot execute task
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.process(WebcamProcessor.java:72)
at com.github.sarxos.webcam.WebcamProcessor.process(WebcamProcessor.java:140)
at com.github.sarxos.webcam.WebcamTask.process(WebcamTask.java:46)
at com.github.sarxos.webcam.ds.cgt.WebcamOpenTask.open(WebcamOpenTask.java:20)
at com.github.sarxos.webcam.Webcam.open(Webcam.java:302)
at com.github.sarxos.webcam.Webcam.open(Webcam.java:251)
at io.rhiot.component.webcam.WebcamComponent.openWebcam(WebcamComponent.java:227)
at io.rhiot.component.webcam.WebcamComponent.getWebcam(WebcamComponent.java:212)
at io.rhiot.component.webcam.WebcamComponent.getWebcam(WebcamComponent.java:195)
at io.rhiot.component.webcam.WebcamEndpoint.getWebcam(WebcamEndpoint.java:130)
at io.rhiot.component.webcam.WebcamScheduledConsumer.poll(WebcamScheduledConsumer.java:40)
at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)
at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
...
Caused by: com.github.sarxos.webcam.WebcamException: au.edu.jcu.v4l4j.exceptions.V4L4JException: Error starting the capture
at com.github.sarxos.webcam.ds.v4l4j.V4l4jDevice.open(V4l4jDevice.java:350)
at com.github.sarxos.webcam.ds.cgt.WebcamOpenTask.handle(WebcamOpenTask.java:38)
at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)
... 3 more
Caused by: au.edu.jcu.v4l4j.exceptions.V4L4JException: Error starting the capture
at au.edu.jcu.v4l4j.AbstractGrabber.start(Native Method)
at au.edu.jcu.v4l4j.AbstractGrabber.startCapture(AbstractGrabber.java:332)
at com.github.sarxos.webcam.ds.v4l4j.V4l4jDevice.open(V4l4jDevice.java:348)
... 5 more
[            atomic-processor-1] V4l4jDevice                    ERROR UNable to get image in {} seconds timeout
Do you have the same problem?
Best
Thomas
—
Reply to this email directly or view it on GitHub
https://github.com/thberger/camelcam/pull/2#issuecomment-152352235.

Ok good, I'll try tonight and report back!
Best

Crossing fingers buddy, really hope it's not an issue with the board.
On Mon, Nov 2, 2015 at 12:05 PM, Thomas Berger<EMAIL_ADDRESS>wrote:

Ok good, I'll try tonight and report back!
Best
—
Reply to this email directly or view it on GitHub
https://github.com/thberger/camelcam/pull/2#issuecomment-152975978.

Hi,
using the latest code from the master, the first run works, the second not. So same error again. But I think the problem is related to a specific software I installed on the Pi: http://elinux.org/RPi-Cam-Web-Interface. This is a handy project to display a live camera feed of the Pi cam in a browser window. It uses MJPEG under the hood. Of course, I always stop the camera stream before I run the  the camelcam application (otherwise it will fail in the first place already). But the configuration is changed which seems to be a problem.
Here's the output of v4l2-ctl after the first run of the camelcam jar:
v4l2-ctl --list-devices:
mmal service 16.1 (platform:bcm2835-v4l2):
/dev/video0
v4l2-ctl -V
Format Video Capture:
Width/Height  : 320/240
Pixel Format  : 'MJPG'
Field         : None
Bytes per Line: 0
Size Image    : 81920
Colorspace    : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Custom Info   : feedcafe
So the issued modprobe worked fine. But the pixel format is MJPG instead of JPEG. I am not sure, why camelcam works in the first place, but I will use a fresh Raspian installation tonight and try again. If that doesn't help, I use another Pi, I have several lying around ;-)
Best
Thomas

Damn. If the other Pis are of different spec then it's well worthwhile testing, as well as the current Pi in a clean state if you have the time, or a backup.
I keep a couple of backups of the Pi for this :)

Hi Taariq,
I got some news on the topic.

First, I used a fresh Raspian Wheezy image for my original Pi (RPi 1 Model B). I installed only Orace JDK 8 and enabled to camera with raspi-config. But had the same results: Only first run works, then capture doesn't work anymore and have to hard-reboot the Pi. So this looks still a bit strange to me.

Then I attached the same camera module to my RPi 2 with Raspian Jessy installed. Works like a charm, I can start the application mulitple times and it captures without issues.

I try to find the time to test with the Wheezy image on another RPi 1 to find out if it's really related to the Pi. At least it's not related to the camera module itself.
Cheers!

Hi Thomas,
Thanks so much for testing, and for the mixed news, I'm really glad to hear the Pi2 works.
Hopefully the Pi1 isn't a lost cause, crossing fingers.
Shout if you think I can be of any help over google hangout or Skype or whatever.
Cheers

On 17 Nov 2015, at 12:02, Thomas Berger<EMAIL_ADDRESS>wrote:
Hi Taariq,
I got some news on the topic.
First, I used a fresh Raspian Wheezy image for my original Pi (RPi 1 Model B). I installed only Orace JDK 8 and enabled to camera with raspi-config. But had the same results: Only first run works, then capture doesn't work anymore and have to hard-reboot the Pi. So this looks still a bit strange to me.
Then I attached the same camera module to my RPi 2 with Raspian Jessy installed. Works like a charm, I can start the application mulitple times and it captures without issues.
I try to find the time to test with the Wheezy image on another RPi 1 to find out if it's really related to the Pi. At least it's not related to the camera module itself.
Cheers!
—
Reply to this email directly or view it on GitHub.


change electron-build config file foramt

When I run npm run build in Windows environment, the electron-builder tool does not run and the electron-builder.js file is executed.
To solve this issue, I changed the config file format from js to json.

We need some comments to help people who are not familiar with the configuration,
.json files do not support comments, or you can try .json5.

If possible, it would be good to change it to .json5 file. Or It can add some comments to the readme.md file


Change definition of JXL_DEBUG_V when JXL_DEBUG_V_LEVEL is zero.

Description
This is a small tweak in the definition of JXL_DEBUG_V_LEVEL that removes the JXL_DEBUG blocks when JXL_DEBUG_V_LEVEL is 0.
Pull Request Checklist

[x] CLA Signed: Have you signed the Contributor License Agreement (individual or corporate, as appropriate)? Only contributions from signed contributors can be accepted.
[x] Authors: Have you considered adding your name to the AUTHORS file?
 You can use ./ci.sh lint for automatic code formatting.

Please review the full contributing guidelines for more details.

I believe this fixes #3159, is that correct?

I did not see that issue yet but I was having the same problem in the @ImageMagick build that would solve this.


Create report without setting force to true?

Is there a way to have the task create a report without setting the force option to true?
I am trying to achieve a grunt build task that will fail if the accessibility task fails due to accessibility notices, warnings, or errors being discovered, but being able to view the report in this case would be very beneficial. It seems that the only way to have the task create a report after notices, warnings, or errors are discovered is to set force to true, right?

Fixed by a similar issue in AccessSniff, PRs 42 and 43.
Before this makes it to upstream, I published an alternative module including this feature and upgraded dependencies - grunt-accessibility-ext. Unfortunately, this module needs a compilation step before publishing and it is not possible to depend on a forked Github branch.

Fixed with release 6


create automated tests for jube and docker for all the quickstarts to ensure they provision correctly (using kubernetes liveness checks to ensure they stay up OK for a few mins)

jube is dead

Long live Jube!


Add missing tests and create coverage job on Travis [3619]

Added missing test for 'ExonumClient' and 'Subscriber', made some code refactoring and added code coverage job to '.travis.yml'.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8d6a35f). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master      #51   +/-   ##
=========================================
  Coverage          ?   87.89%
=========================================
  Files             ?       37
  Lines             ?     2314
  Branches          ?        0
=========================================
  Hits              ?     2034
  Misses            ?      280
  Partials          ?        0

Impacted Files
Coverage Δ

tests/test_exonum_client.py
100% <100%> (ø)

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 8d6a35f...168b8ab. Read the comment docs.

I guess that this issue may be closed now.

Should code coverage checker prevent merge PR if coverage is poor ?

Also you can add a badge to the README.md with  codecov status

Should code coverage checker prevent merge PR if coverage is poor ?

Not yet.


AssertionError when running Platform.build with a Module using an Instance.

The following code snippet triggers an assertion failure:
from nmigen import *
from nmigen_boards.tinyfpga_ax2 import *

from nmigen.build import *
from nmigen_boards.resources import *

plat = TinyFPGAAX2Platform()
plat.add_resources([Resource("led", 0, Pins("gpio_0:1"))])

class Test(Elaboratable):
    def __init__(self):
        pass

    def elaborate(self, plat):
        m = Module()
        led = plat.request("led")

        m.submodules += [
            Instance("top", o_o=led)
        ]

        return m

plan = plat.build(Test(), name="actual_top", do_build=False)

$ python mk_build.py
Traceback (most recent call last):
  File "mk_build.py", line 25, in <module>
    plan = plat.build(Test(), name="actual_top", do_build=False)
  File "C:/msys64/home/william/projects/fpga/nmigen/nmigen/nmigen/build/plat.py", line 95, in build
    plan = self.prepare(elaboratable, name, **kwargs)
  File "C:/msys64/home/william/projects/fpga/nmigen/nmigen/nmigen/build/plat.py", line 166, in prepare
    fragment._propagate_ports(ports=self.iter_ports(), all_undef_as_ports=False)
  File "C:/msys64/home/william/projects/fpga/nmigen/nmigen/nmigen/hdl/ir.py", line 462, in _propagate_ports
    self._prepare_use_def_graph(parent, level, uses, defs, ios, self)
  File "C:/msys64/home/william/projects/fpga/nmigen/nmigen/nmigen/hdl/ir.py", line 436, in _prepare_use_def_graph
    subfrag._prepare_use_def_graph(parent, level, uses, defs, ios, top)
  File "C:/msys64/home/william/projects/fpga/nmigen/nmigen/nmigen/hdl/ir.py", line 428, in _prepare_use_def_graph
    add_defs(value._lhs_signals())
  File "C:/msys64/home/william/projects/fpga/nmigen/nmigen/nmigen/hdl/ir.py", line 396, in add_defs
    assert defs[sig] is self
AssertionError

The error is that the Pins direction (an inout?) of the led Resource does not match what Instance expects (an output). I'm not sure why this AssertionError is triggered. Is there a good place to raise a "driver conflict in Instance" error before this assertion triggers?
Fix to stop the AssertionError:
plat.add_resources([Resource("led", 0, Pins("gpio_0:1", dir="o"))])

I believe this would be addressed by #596

The error is that the Pins direction (an inout?)

That's not an inout. You're requesting a triple, implicitly. Use dir="o" when defining the LED resource, or better, LEDResources.

#596 will close this.


Getting CustomDiscs to work 1.20.1

The plugin wont start, im sorry if its an issue on my side i tried what i could thing of
customdiscs.txt
Or
https://justpaste.it/a3y75
Server Version:
This server is running Paper version git-Paper-32 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 3885666)
You are running the latest version
CustomDiscs Version: 2.4
Simple Voice Chat Version: voicechat-bukkit-2.4.10

This plugin requires the use of the SimpleVoiceChat plugin.

I forgot to add the depend line on the plugin. It should be fixed on the next release.

Much appreciated, thank you for the amazing add on, and your time

The issue should now be fixed. A new version has been released.


deno doc giving incorrect class name on classes that have a default export

when I tried to generate a doc for class that has a default export it gave the class a name of default
Example:
export default class greeter {
  greet(name: string) {
    console.log(`Hello ${name}`);
  }
}

This is correct. From the users perspective they are importing default right?

This is correct. From the users perspective they are importing default right?

yes they will be importing greet like
import greeter from "..."

I think it would be good if it keeps the name of the and not change it to default

The name of a member vs what it's exported as are two different things, the name of a class doesn't change between being a named export vs a default export. For packages that provide multiple deep import paths to default export classes, we need a way for their original class names to be visible in documentation.

Somewhat related: https://github.com/denoland/deno_doc/issues/116 .

Closing as this was fixed via #510


Use validators with interfaces

I'm having a simple interface like this one to avoid creating a whole object and I'd like to add some validators to it.
interface Value {     name: string;     displayName: string[]; }
Is there a way to make it works?

No, you cant. Interfaces are compiled away, so there is no way to get typing info from them.

Alright, thanks.


Interface clean up #59

Addressing #59

Materials, elements and mesh interfaces has been cleaned. Moreover, new dofs dictionaries has been added. This is important to not save angular degrees of freedom into the foreces, and displacements vectors when are not computed (more than double of memory is required to store just 0.0). Now after the mesh is created:

s_mesh = Mesh(vec_nodes, vec_elems)
add_dofs!(s_mesh, :u, 3)
add_dofs!(s_mesh, :θ, 3)

This returns:
julia> dofs(s_mesh)
3-element Vector{Dictionary{Symbol, Vector{Dof}}}:
 {:u = Dof[Dof(1), Dof(2), Dof(3)], :θ = Dof[Dof(10), Dof(11), Dof(12)]}
 {:u = Dof[Dof(4), Dof(5), Dof(6)], :θ = Dof[Dof(13), Dof(14), Dof(15)]}
 {:u = Dof[Dof(7), Dof(8), Dof(9)], :θ = Dof[Dof(16), Dof(17), Dof(18)]}

How is this used to compute internal forces ?
Now first element dofs are:

julia> dofs(elements(s_mesh)[1])
2-element Dictionary{Symbol, Vector{Dof}}
 :u │ Dof[Dof(1), Dof(2), Dof(3), Dof(4), Dof(5), Dof(6)]
 :θ │ Dof[Dof(10), Dof(11), Dof(12), Dof(13), Dof(14), Dof(15)]

When a new element is defined a hard contract  method is local_dofs_symbol(::ElementType) ::Vector{Symbol} . This function returns a vector of symbols that is used to filter the global displacements vector and to switch from local to global dofs of the element. Now Truss internal forces function implements this feature:
local_dofs_symbol(::Truss) = :u

function internal_forces!(m::SVK, e::Truss{dim}, u_glob::AbstractVector, K_glob::AbstractMatrix)
...

global_dofs = dofs(e)[local_dofs[e]) # [Dof(1), Dof(2), Dof(3), Dof(4), Dof(5), Dof(6)]

#Global displacements of the element
u_glob[global_dofs] = u_element_global

....
# Stiffness matrix
size(K_local_element) = (6,6)

# This k is inserted in the K_glob
K_glob[global_dofs,global_dofs] = K_local_element

....

Codecov Report

Merging #60 (adbbd8f) into main (a57c11b) will decrease coverage by 8.60%.
The diff coverage is 36.97%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   25.84%   17.24%   -8.60%
==========================================
  Files          28       28
  Lines         859      864       +5
==========================================
- Hits          222      149      -73
- Misses        637      715      +78

Impacted Files
Coverage Δ

src/ONSAS.jl
100.00% <ø> (ø)

src/Utils.jl
20.00% <ø> (-46.67%)
:arrow_down:

src/algorithms/NR.jl
0.00% <0.00%> (-8.34%)
:arrow_down:

src/analyses/StaticAnalysis.jl
0.00% <0.00%> (ø)

src/core/ONSAS_init.jl
0.00% <0.00%> (ø)

src/core/ONSAS_solve.jl
0.00% <0.00%> (ø)

src/core/assembler.jl
0.00% <0.00%> (ø)

src/core/boundary_cond_processing.jl
0.00% <0.00%> (ø)

src/interface/BoundaryConditions.jl
0.00% <0.00%> (-33.34%)
:arrow_down:

src/interface/StructuralAnalyses.jl
0.00% <0.00%> (-60.00%)
:arrow_down:

... and 20 more

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


Feature for hidden choices

A hidden choice would prevent the parser from failing for a choice that shouldn't be shown in the help output but still has functionality.
e.g.:
type Opts struct {
    OutputFormat string `long:"format" choice:"json" choice:"xml" hidden-choice:"gob"`
}

with help output:
    --format=[json|xml]

I'm not really convinced this needs to be added. The use case for hidden choices seems extremely small. If you want something like this, just implement your own choice validator + help message listing the "visible" choices.


Added lizard and punaboss from TR3

Added TR3 Lizard.
Added TR3 Puna boss.

All fine for me.

The Puna's explossion effects hasn't got sounds
When Puna or the Lizzards drops an object (after being killed), this object do not appear in the center of the tile but on a corner.

But generally I could play him with not serious issues.

About the issues I had.

The explosion sounds are available, but it require to add the sound TR3_Blast_Circle manually to the level. After doing this, It worked.
The issue of the dropped objects appearing in a corner, is not unique from this branch, it also happens in Master branch with dogs and raptors. I understand is not an issue of Puna and Lizard.

I have not inconvenients in this branch being added.


add create kill delete state in integration test

Refer #27

@duduainankai
Thank you for the first contribution.

@utam0k :grinning:
Willing to do more and can ping me directly for any proper issues.

@duduainankai If you have some time for doing OSS, can you try cgroups v1 or v2 support?

https://github.com/containers/youki/issues/78
https://github.com/containers/youki/issues/9


[azservicebus] Adding in options structures everywhere that that ever expand in the future

Adding in options structures everywhere that that ever expand in the future.
Updating changelog and readme to indicate that Go 1.18 is the minimum Go release.
Fixing a race condition in a test
Removing the hidden receiveMessage and receiveDeferredMessage functions to avoid having to optionalize them as well, etc...

Also, bumping version to 0.4.0 to accomodate the required Go version and other interface/api changes.

/azp run go - azservicebus


⚠ Bofrost.at has degraded performance

In a2a9019, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1434 ms

Resolved: Bofrost.at performance has improved in b4e6884.


Fix addColumn fails when order falls at end of array

Fix for Issue: yajra/laravel-datatables#385

Whoops! Can you please re-submit the PR and target 6.0 branch? develop branch is not updated. Thanks!

I think cherry picking the commit will do. No need to resubmit PR. ^_^.. Thanks!

thanks!


Assertions with InputStream

Summary
Should be able to assert using InputStream of JSON as either actual or expected

This would be very useful to read files from classpath.. otherwise how would we read such files?

Generally, in tests, you have access to Paths.get("src", "test", "resources") so it's easy to read test resources.
isEqualTo supports various types of expected object https://github.com/webcompere/model-assert/blob/main/src/main/java/uk/org/webcompere/modelassert/json/dsl/nodespecific/tree/IsEqualToDsl.java
Your general escape hatch with assertJson is to first convert things into JsonNode use Jackson any way you like, and then use assertJson(jsonNode).isEqualTo(expectedJsonNode) or similar.
However, I can see that InputStream and maybe even a classpath option would enhance the library.

Note: please upvote this if you would find it useful.


[-Viral@Link-]— Gul Chahat Video Original Trending Gul Chahat Viral Video Telegram Links

10 sec ago Gul Chahat ʟᴇᴀᴋᴇᴅ ᴠɪᴅᴇᴏ Viral On Social Media.
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐  𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Viral Video Link
 🔴 ➤► 𝖶𝖺𝗍𝖼𝗁👉👉 Viral Video Link
🟢 ➤ ➤ ➤ 🌐  𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Viral Video Link
 🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Viral Video Link
Gul Chahat, a senior official in Equatorial Guinea, is at the center of a scandal involving the leak of over 400 explicit videos.  The videos were uncovered during an investigation into corruption charges against him, leading to widespread media coverage and discussions on platforms like Twitter, Reddit, and WhatsApp.
The leak has caused significant controversy, prompting the Equatorial Guinea government to announce stricter workplace conduct regulations. Engonga, a married father, now faces charges potentially including public health violations depending on the outcomes of medical investigations. The incident has severely impacted his reputation and has drawn international attention, with discussions and memes trending across social media【6】【7】【8】.


Path is too long: "ExceptionStatusComponent$ExceptionStatusComponentListener.class"

I'm getting hit with an error when building these unity examples:
DirectoryNotFoundException: Could not find a part of the path "C:\Users\Christopher\Desktop\tango-examples-unity-master\ExperimentalProjects\MeshBuilder\Assets\Plugins\Android\tango-ux-support-library\bin\classes\com\google\atap\tango\ux\components\ExceptionStatusComponent$ExceptionStatusComponentListener.class" or "Temp\StagingArea\android-libraries\tango-ux-support-library\bin\classes\com\google\atap\tango\ux\components\ExceptionStatusComponent$ExceptionStatusComponentListener.class"
I followed the path and it does exist.
I've had very mixed results, ranging from being able to build the point cloud, area learning, and motion tracking examples, but not the experimental examples, to being able to build the examples but the axes are rotated improperly. It's a mess.

The full path to the Temp copy is two characters over Windows' PATH_MAX, which is likely causing this issue. Please shorten the folder name to your repo, just eliminating master will likely be fine.
I'm closing this issue right now since this is so old, but feel free to reopen if you are still having issues.


Register Documentation

Registration
The register section is the part of the pipeline concerned with aligning different rounds and channels. This is crucial for decoding spot colours into genes in the Call Spots and OMP sections. The aim of this section is to find a function $g_{trc}(\mathbf{x})$ for each tile, round and channel that takes in a location $\mathbf{x}$ on the anchor image for this tile and returns the corresponding location in tile $t$, round $r$, channel $c$.
Once we have these transformations $g$, we can get a $n_{rounds} \times n_{channels}$ spot colours matrix $\boldsymbol{\zeta}(\mathbf{x})$ for each location $\mathbf{x}$ in the anchor image of a given tile via
\boldsymbol{\zeta}(\mathbf{x}) =

\begin{pmatrix}
f_{0, 0}(g_{0, 0}(\mathbf{x})) & \cdots & f_{0, n_c}(g_{0, n_c}(\mathbf{x})) \\
\vdots & \ddots & \vdots \\
f_{n_r, 0}(g_{n_r, 0}(\mathbf{x})) & \cdots & f_{n_r, n_c}(g_{n_r, n_c}(\mathbf{x})) \\
\end{pmatrix},

where $f_{rc}(\mathbf{x})$ is the intensity of round $r$, channel $c$ at location $\mathbf{x}$. Note that even a single poorly aligned round or channel makes this matrix difficult to decode, which highlights the importance of this section.
Algorithm
We need to consider a few questions when building the register pipeline. A few of the most important are:

How large should our search space of functions be? Are these functions independent between rounds and channels?
How will we actually search this space?

1. Choosing the Function Space
To choose the set of functions we will use to fit to our data, we need to look for all sources of misalignment. Channel misalgnments are caused by:

The multiple camera setup, meaning channels belonging to different cameras are often slightly shifted or rotated with respect to one another.
Chromatic aberration, the variable frequency-dependent dispersal of light through the lens. This expands the images from different channels by different amounts. See the figure below.

So the channel-to-channel differences are composed of shifts, rotations and scalings. We model each channel transform by an affine transform $A_c$.

An example of chromatic aberration.

For round to round differences, we see much less predictable variability. Misalignments arise due to:

Tissue expansion in $z$ throughout the rounds,
Common shifts arising from movement of the stage,
Variable shifts due to the microfluidics system,
Variable shifts due to gravity or tissue deformation. These shifts have the potential to affect different regions very differently. For example, the pyramidal layer is very densely packed and seems to sink more than surrounding areas, leading to different z-shifts in its vicinity. We have also observed rips within tissue samples, which cause different sides of the tissue to move in apart from each other in opposite directions. See the figure below.

The conclusion is that affine transformations do not sufficiently capture the richness of round-to-round transformations. We therefore allow for completely arbitrary transformations $\mathcal{F}_r$ for each round $r$.

A rip in the tissue and two attempts at affine registration.

This also answers the second part of question 1 - we don't need to find $n_{rounds} \times n_{channels}$ transforms per tile, we only need $n_{rounds} + n_{channels}$. We model every transform on a given tile as a composition of a very general round transform $\mathcal{F}_r$ and an affine channel transform $A_c$ . Explicitly, we have
 g_{rc}(\mathbf{x}) = A_{c}(\mathcal{F}_{r}(\mathbf{x}).

It turns out that the $n_{channels}$ channel transforms, $A_c$, are rather straightforward to compute and the main difficulty lies in finding the $n_{rounds}$ round transforms, $\mathcal{F}_r$.
2. Computing the Transforms
The round transforms are computed with Optical Flow, while the channel transforms are computed with Iterative Closest Point. For further details see the sections below.
Note: When we compute the round transforms $\mathcal{F}_r$ these often include some systematic error, like a small shift of 1 pixel. This is likely due to downsampling of the images used to compute the optical flow transforms. To get around this, we find an affine correction $U_r$ for each round, meaning our functions $g_{rc}$ are actually of the form $ g_{rc}(\mathbf{x}) = A_{c}(U_{r}(\mathcal{F}_{r}(\mathbf{x}))$ . We combine the two affine transforms $A_c$ and $U_r$ to give us the simple formula $ g_{rc}(\mathbf{x}) = A_{rc}(\mathcal{F}_{r}(\mathbf{x})$ which means that in practice our affine maps actually depend on round as well as channel.

Optical Flow
We use optical flow to align the anchor DAPI $D_{r_{ref}}(\mathbf{x})$  to the round $r$ DAPI $D_r(\mathbf{x})$. The output of this algorithm is a function $\mathcal{F}_r$ which satisfies the relation
D_{r_{ref}}(\mathcal{F}_r(\mathbf{x})) \approx D_r(\mathbf{x}).

How does it work
Suppose we would have 2 images $I$ and $J$ which we would like to register. So for each position $\mathbf{x}$ in image $J$ we would like to find the shift $\mathbf{s}$ satisfying
I(\mathbf{x} + \mathbf{s}) = J(\mathbf{x}).

Assuming that this $\mathbf{s}$ is small, we can Taylor expand this to yield
\mathbf{s} \cdot \boldsymbol{\nabla} I(\mathbf{x}) \approx J(\mathbf{x}) -  I(\mathbf{x}),

which is called the flow equation. This is 1 equation of 3 unknowns ($s_y$, $s_x$ and $s_z$) and is therefore underdetermined. There are many different ways to tackle this. The method we use is called the Lucas-Kanade method and assumes that shifts in a small window of radius $r$ around the point $\mathbf{x}$ have the same shift $\mathbf{s}$. Let $\mathbf{x}_1, \cdots, \mathbf{x}_n$ be all the points in this window. Then we have the system of equations
\begin{pmatrix} \boldsymbol{\nabla} I(\mathbf{x}_1)^T \\ \vdots \\ \boldsymbol{\nabla} I(\mathbf{x}_n)^T  \end{pmatrix} \mathbf{s} = \begin{pmatrix} J(\mathbf{x}_1) - I(\mathbf{x}_1) \\ \vdots \\ J(\mathbf{x}_n) - I(\mathbf{x}_n)  \end{pmatrix},

which is now overdetermined! This is a better problem to have though, as the solution can be approximated by least squares.
Practical Considerations
This functi

Iterative Closest Point
We now attempt to find the affine corrections to the flows found earlier. As mentioned previously, this will be an affine transform for each tile $t$, round $r$ and channel $c$. Furthermore, it will be separated into 2 transforms:

A round transform $U_{tr}$ which corrects for any errors in the flow $\mathcal{F}_r$,
A channel transform $A_{tc}$ which corrects for all sources of the channel to channel variability.

How does it work
Optical flow took in 2 images ($I$ and $J$ ) as inputs and returned 3 images of the same size as outputs (the flow in each direction $y$, $x$ and $z$). ICP differs from this in that it takes in 2 point-clouds as input and returns an affine transform $A$ as output.
Let $X = \begin{pmatrix} \mathbf{x}_1, \cdots,  \mathbf{x}_m \end{pmatrix}$ be the base point cloud and $Y = \begin{pmatrix} \mathbf{y}_1, \cdots,  \mathbf{y}_n \end{pmatrix}$  be the point cloud we are trying to match this to.
In our case $X$ is the set of anchor points and $Y$ is the set of points in a given round and channel. So for every point $\mathbf{y}_i$ in $Y$ we expect there to be a corresponding point $\mathbf{x}_{\sigma(i)}$ in $X$ (the converse is not true). Estimating the matching $\sigma$ between base and target points is the main difficulty in ICP. Some common methods to estimate this matching include:

We let $ \mathbf{x}_{\sigma(i)}$ be the closest point from $X$ to the point $\mathbf{y}_i$,
The same as 1. but if there is no point in $X$ within a certain radius $r$ of $\mathbf{y}_i$ we don't bother to find a match,
The same as 2. but we allow different radii in $y$, $x$ and $z$. This is useful if we have some prior that the misalignment affects $y$ and $x$ more than $z$, as we typically do.
The same as 1. but we remove outliers where the shift $\mathbf{y}_i -  \mathbf{x}_{\sigma(i)}$ seems to be very different from others in its vicinity.


What is State.Brightness supposed to represent?

I realized that the brightness of my lamp when using the API was 159 when using the State.Brightness value. I was really confused what this meant and was hoping I could get an answer.
Thanks and sorry for the trouble.

Brightness goes from 0 (very dimmed) up to 255 (very bright). Check the official Hue documentation here for more info: https://www.developers.meethue.com
Hope this helps

@niels9001 Thanks! I also bought your app! :)


editline: 1.15.3 -> 1.16.0

https://github.com/troglobit/editline/releases/tag/1.16.0

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

Success on x86_64-darwin (full log)
Attempted: editline
Partial log (click to expand)
 /nix/store/zkfqg7icazgz0kj7rff6zdfbcf3v79sa-coreutils-8.29/bin/mkdir -p '/nix/store/bwnr5z7dxl7qirbbvac3yhxd9l4zlq2f-editline-1.16.0/lib/pkgconfig'
 /nix/store/zkfqg7icazgz0kj7rff6zdfbcf3v79sa-coreutils-8.29/bin/install -c -m 644 libeditline.pc '/nix/store/bwnr5z7dxl7qirbbvac3yhxd9l4zlq2f-editline-1.16.0/lib/pkgconfig'
make[2]: Leaving directory '/private/tmp/nix-build-editline-1.16.0.drv-0/source'
make[1]: Leaving directory '/private/tmp/nix-build-editline-1.16.0.drv-0/source'
post-installation fixup
gzipping man pages under /nix/store/bwnr5z7dxl7qirbbvac3yhxd9l4zlq2f-editline-1.16.0/share/man/
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/bwnr5z7dxl7qirbbvac3yhxd9l4zlq2f-editline-1.16.0/lib
patching script interpreter paths in /nix/store/bwnr5z7dxl7qirbbvac3yhxd9l4zlq2f-editline-1.16.0
/nix/store/bwnr5z7dxl7qirbbvac3yhxd9l4zlq2f-editline-1.16.0

Success on aarch64-linux (full log)
Attempted: editline
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zdnn2gg3g1xc8ng8l71hxk6dk8mvy6jr-editline-1.16.0
shrinking /nix/store/zdnn2gg3g1xc8ng8l71hxk6dk8mvy6jr-editline-1.16.0/lib/libeditline.so.1.0.0
gzipping man pages under /nix/store/zdnn2gg3g1xc8ng8l71hxk6dk8mvy6jr-editline-1.16.0/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zdnn2gg3g1xc8ng8l71hxk6dk8mvy6jr-editline-1.16.0/lib
patching script interpreter paths in /nix/store/zdnn2gg3g1xc8ng8l71hxk6dk8mvy6jr-editline-1.16.0
checking for references to /build in /nix/store/zdnn2gg3g1xc8ng8l71hxk6dk8mvy6jr-editline-1.16.0...
/nix/store/zdnn2gg3g1xc8ng8l71hxk6dk8mvy6jr-editline-1.16.0

Success on x86_64-linux (full log)
Attempted: editline
Partial log (click to expand)
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5zp3y99091b1s42hrax5vfi31qrggkdh-editline-1.16.0
shrinking /nix/store/5zp3y99091b1s42hrax5vfi31qrggkdh-editline-1.16.0/lib/libeditline.so.1.0.0
gzipping man pages under /nix/store/5zp3y99091b1s42hrax5vfi31qrggkdh-editline-1.16.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5zp3y99091b1s42hrax5vfi31qrggkdh-editline-1.16.0/lib
patching script interpreter paths in /nix/store/5zp3y99091b1s42hrax5vfi31qrggkdh-editline-1.16.0
checking for references to /build in /nix/store/5zp3y99091b1s42hrax5vfi31qrggkdh-editline-1.16.0...
/nix/store/5zp3y99091b1s42hrax5vfi31qrggkdh-editline-1.16.0


Interactions.json documentation

Hello, we've been following the documentation for both Voxa and Voxa-cli in order to make a simple test bot running, but without any results.
We were able to make the full deploy up to the creation of the lambda functions on aws. But now we would like to know how to connected everything together and how to test the bot.
Can you please point me in the right direction?
Thank you.

Hey @JWebCoder for which platform are you building the bot?

Hello @wuelcas sorry for the delayed answer. We are building it for alexa.

Hello. If you're building it for Alexa, can you try your skill locally using yarn watch and exposing port 3000 with ngrok, the Alexa endpoint should be your ngrok URL plus /alexa. If there's an error let me know what is it.
One other thing that maybe it's happening (and this a known issue) is that if you used serverless to deploy your lambda and dynamo table, you may need to change the way you set the table name from this: TableName: ${self:custom.config.dynamodb.tables.users}, to this: TableName: ${self:custom.config.dynamoDB.tables.users}.
If you noticed your local.json file (that probably you used the template from local.example.json) the key name for your dynamo object (dynamoDB) is not the same as the one used in serverless (dynamodb) that can be causing the issue but I'm not sure if that's your problem.
Anyways, any more details about your issue will be helpful to help you better.


Enabling virtual entities should specify that Dataverse user must also be F&O user

The page details setting up an F&O user for the AAD app registration, so it would seem reasonable that the process of enabling virtual entities would use this app registration credentials when querying available entities. Apparently that isn't the case, and the credentials with which the administrator is accessing Dataverse must also be an F&O user. It would be helpful if the documentation specified this as a prerequisite & listed the necessary F&O security roles.

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

ID: 8065cd89-f253-c50b-ed2e-7b84e5b2409c
Version Independent ID: 8c7e311a-582c-1ac6-328e-be817a62924c
Content: Finance and Operations and Dataverse admin reference - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/power-platform/admin-reference.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @Sunil-Garg
Microsoft Alias: sunilg

@rrhkpmg, Thanks for the feedback.
@Sunil-Garg Please review and update the content as needed.


New Package TravisLane.SteamArtManager version 1.4.5

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Successful created. Need to add tag and Moniker #101920

Trying to check Dism to see if there is AppAndFeaturesEntries

@stephangile What is the error

I tried to install this manifest and all went OK.

But it won't start for some reason.

I think most likely is Windows Defender Smart Screen preventing it to run.

I think most likely is Windows Defender Smart Screen preventing it to run.

It requires Steam to run as it turned out. It works.

Most likely, it occurred during the download.

@mdanish-kh How about the tags and Moniker

@mdanish-kh How about the tags and Moniker

Those are optional. You can include them if you find relevant tags


[QoL] Improving security via isolation + some refactoring.

Removed unused params for electron window prefs
Removed window prefs to use default provided ones as they already specify context isolation and disabling of node integration
Refactored discord rpc updating to be its own file
Added void's to get rid of warnings about unused promises

Edit

noticed discord rpc only attempt connection when the app is first started. refactored the logic so that it will attempt to reconnect/update regardless of if discord is open first before the game starts, it will now update.
updated polling time to be 15 seconds since that seems to be the rate limit for discord

I'll make sure this doesn't break linux or anything and then I'll merge it; presumably Mac is fine with these changes so y'know.


Let's keep it simple

That check shouldn't be required for the baloise-incubator org

Agreeing on KISS - but IMHO with this we've implement the bare MVP for what's been requested by the Cloud-Board; I'd like to vote for keeping this check (it's not checked anywhere else: hence having a proper Username eMail Mapping is only available at least at the individual member onboarding PR).
Amending the author by a known committer e.g. is also a viable steps to support new members here: https://stackoverflow.com/questions/18750808/difference-between-author-and-committer-in-git
The overhead is imho

explaining the reasoning behind this (IP tracking)

fixing the commit

recommending to use non-anonymized commits

Decision by Open Source Lunch today (@kullmanp @culmat  Martin Fischer @svene @joachimprinzbach): Get rid of email verification for incubator.


Default dataSource is excluded from dataSources if I have them

I have the following database configuration: 1 master database (default dataSource in Grails) and a few multitenant databases (under dataSources in Grails).
I see the following in DatabaseMigrationCommand.groovy:
Map<String, String> getDataSourceConfig(ConfigMap config = this.config) {
        def dataSourceName = dataSource ?: 'dataSource'
        def dataSources = config.getProperty('dataSources', Map) ?: [:]
        if (!dataSources) {
            def defaultDataSource = config.getProperty('dataSource', Map)
            if (defaultDataSource) {
                dataSources['dataSource'] = defaultDataSource
            }
        }
        return (Map<String, String>) dataSources.get(dataSourceName)
    }

So, default dataSource is excluded if I have declared dataSources. It looks wrong to me.
Is it done by intent? What is the reason to exclude default data source? Is it safe to always include default data source?
PS I can provide a patch for this if needed.

If you are declaring multiple data sources, they must all be under the dataSources key, with the default data source being named dataSource. Provide an example application demonstrating behavior you think is a bug and I can take a look.

Closing because no feedback provided


add ingress-proxy and egress-router modules

We have the light-router for legacy client/consumer to invoke light-4j APIs and light-proxy to bring legacy services to the light-4j ecosystem. Now we are working on the light-mesh/http-sidecar to combine both light-router and light-proxy cross-cutting concerns running in the same k8s pod to address cross-cutting concerns for backend API build with any frameworks including light-4j.
To promote code reuse and reduce the duplications, we need to move the cross-cutting concerns from the light-router and light-proxy to the light-4j in order to share them with light-mesh/http-sidecar.
For some light-router and light-proxy specific middleware handlers that are not going to be used by the light-mesh, we can keep them in these modules.

 add ingress-proxy and egress-router modules light-4j master


decorator-like solution for exception handling in Device Control threads

Currently a function in a device control thread looks something like this:
    def setRamp_Rate_K(self):
        try:
            self.LakeShore350.ControlSetpointRampParameterCommand(1,1,self.Ramp_Rate_value)
        except AssertionError as e_ass:
            self.sig_assertion.emit(e_ass.args[0])
        except VisaIOError as e_visa:
            if type(e_visa) is type(self.timeouterror) and e_visa.args == self.timeouterror.args:
                self.sig_visatimeout.emit()
            else:
                self.sig_visaerror.emit(e_visa.args[0])

Actually, nearly all the functions look like this. What the function does is in one line, all the rest is exception handling, which is the same in all functions. Ideally, it would look more like this:
    @ExceptionHandling
    @pyqtSlot()
    def setRamp_Rate_K(self):
            self.LakeShore350.ControlSetpointRampParameterCommand(1,1,self.Ramp_Rate_value)

Currently I am not sure about how to pass the signals to the decorator, as all of this happens at compilation-time of the class.

Done by checking whether the first argument to the function is a class instance, and then using this to work with signals


fix sfinae friendliness of {geometric,exterior}_product

Change-Id: I2f0f785a324b8b08241729a72e4f010765f8cbf8

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

Comparison is base (201eb1c) 97.60% compared to head (3ea573a) 97.56%.

:exclamation: Current head 3ea573a differs from pull request most recent head 35f1d0e. Consider uploading reports for the commit 35f1d0e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   97.60%   97.56%   -0.05%
==========================================
  Files          15       15
  Lines         167      164       -3
  Branches        4        4
==========================================
- Hits          163      160       -3
  Misses          2        2
  Partials        2        2

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


permissions broken after chown

Similar to this https://github.com/docker/docker/issues/20240 but overlayfs instead of aufs.
Output of docker version:
Client:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   3be27b1
 Built:        Wed Jul 13 22:20:39 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.2
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   3be27b1
 Built:        Wed Jul 13 22:20:39 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 20
 Running: 0
 Paused: 0
 Stopped: 20
Images: 63
Server Version: 1.11.2
Storage Driver: overlay
 Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.4.0-31-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.303 GiB
Name: ip-10-0-2-155
ID: 7BJE:QA52:2TZC:5PIV:P4AX:XCKT:ZBFF:7TYV:KS5M:TIUC:TTC4:NAQL
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): true
 File Descriptors: 13
 Goroutines: 30
 System Time: 2016-07-21T22:50:31.603455433Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.):
Docker is running on a lightly customized Ubuntu Xenial (based on ami-ddf13fb0). Kernel is up-to-date.
Linux ip-10-0-2-155 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Steps to reproduce the issue:
Make a Dockerfile template:
FROM ubuntu:xenial

RUN groupadd --gid 1000 ubuntu && \
    useradd -u 1000 -g 1000 --home-dir /home/ubuntu --create-home ubuntu

RUN mkdir /test && \
    mkdir /test/subdir && chmod PERM /test/subdir

RUN chown -R 1000:1000 /test && \
    su ubuntu -c 'touch /test/subdir/xx'

perl -pe 's/PERM/777/' Dockerfile | docker build --no-cache - succeeds:
Sending build context to Docker daemon 2.048 kB
Step 1 : FROM ubuntu:xenial
 ---> ac526a356ca4
Step 2 : RUN groupadd --gid 1000 ubuntu &&     useradd -u 1000 -g 1000 --home-dir /home/ubuntu --create-home ubuntu
 ---> Running in 395d10d8cd10
 ---> ff18ac26f284
Removing intermediate container 395d10d8cd10
Step 3 : RUN mkdir /test &&     mkdir /test/subdir && chmod 777 /test/subdir
 ---> Running in 32ff8df6daf4
 ---> c082a205b422
Removing intermediate container 32ff8df6daf4
Step 4 : RUN chown -R 1000:1000 /test &&     su ubuntu -c 'touch /test/subdir/xx'
 ---> Running in 8e1073bdb89d
 ---> 700e3a617b48
Removing intermediate container 8e1073bdb89d
Successfully built 700e3a617b48

perl -pe 's/PERM/700/' Dockerfile | docker build --no-cache - throws permission error:
Sending build context to Docker daemon 2.048 kB
Step 1 : FROM ubuntu:xenial
 ---> ac526a356ca4
Step 2 : RUN groupadd --gid 1000 ubuntu &&     useradd -u 1000 -g 1000 --home-dir /home/ubuntu --create-home ubuntu
 ---> Running in 440243108cc6
 ---> 820e9093c6ea
Removing intermediate container 440243108cc6
Step 3 : RUN mkdir /test &&     mkdir /test/subdir && chmod 700 /test/subdir
 ---> Running in 8ad779bffbd0
 ---> a2bd48ae03e2
Removing intermediate container 8ad779bffbd0
Step 4 : RUN chown -R 1000:1000 /test &&     su ubuntu -c 'touch /test/subdir/xx'
 ---> Running in 7c7b352fed1e
touch: cannot touch '/test/subdir/xx': Permission denied
The command '/bin/sh -c chown -R 1000:1000 /test &&     su ubuntu -c 'touch /test/subdir/xx'' returned a non-zero code: 1

Describe the results you received:
See above. test -w calls succeed as expected, but touch that follows fails, unless writable is set for other (o+w)?
Describe the results you expected:
Expected both to succeed because the owner has full access to /test folder.
Additional information you deem important (e.g. issue happens only occasionally):
Was able to reproduce in boot2docker too.

Specifically the boot2docker mentioned above was running with aufs with Dirperm1 supported. Probably a different bug. This feels a lot like #783 but that was aufs specific.
We noted that recent Linux kernels had seemingly relevant bug fixes like https://lkml.org/lkml/2016/1/31/82 but our kernel appears to already have that fix despite not being 4.4.6 yet.
(I work with @ccp0101.)

/cc @dmcgowan

Not seeing this behavior on 4.6.4, going to add the kernel flag since this looks like it is kernel dependent.

/cc @AkihiroSuda :smile:

Bisecting, using my "Latest-Docker-on-Latest-Kernel" script https://github.com/AkihiroSuda/latest-docker-on-latest-kernel

v4.6.1: reproducible
v4.5.2: not reproducible

$ git log --oneline v4.5.2...v4.6.1 fs/overlayfs
38b78a5 ovl: ignore permissions on underlying lookup
0a20aea fs: add file_dentry()
d101a12 fs: add file_dentry()
6986c01 ovl: cleanup unused var in rename2
56656e9 ovl: rename is_merge to is_lowest
f134f24 ovl: fixed coding style warning
45aebea ovl: Ensure upper filesystem supports d_type
fb5bb2c ovl: Warn on copy up if a process has a R/O fd open to the lower file
07f2af7 ovl: honor flag MS_SILENT at mount
11f3710 ovl: verify upper dentry before unlink and rename

Maybe 38b78a5 has fixed the issue. I'll try to confirm that.

@AkihiroSuda Thanks, that's really helpful!

Confirmed, it has been solved in v4.6(38b78a5)

38b78a5: reproducible
38b78a5~1: not reproducible

I suggest closing the issue

Thanks. Just to clarify: when you say "reproducible" above you mean "bug is fixed" and "not reproducible" you mean "there is the bug"?

Uh, terrible typo
reproducible --> not reproducible (bug is fixed)
not reproducible --> reproducible (there is the bug)
Sorry and thank you for pointing out 😃

thanks @AkihiroSuda, closing this issue


I made a Russian translation

I hope everyone likes my translation, write errors if you find them
ru_ru.json

"Зерно перлов Края" is like a end joke, bcs "pearl" is a "жемчуг"
"Не выводимое драконье яйцо" must be "неинкубационное драконье яйцо"


Custom function that returns an enumerable?

Is there any way to work with functions that return some kind of enumerable result?
What I've seen a fair bit of, is templates extracting information, for example required imports, and then concatenating a string as the return to the function.  The problem with that really is we're losing the 'templating' aspect, or more importantly benefit.
And then further from just an Enumerable, what about a dictionary?
I'm looking at the source, but I'm struggling to see if it would be possible?

Would it be implemented? Inability to return custom types from filter methods is very limiting for templating purposes.


UI fixes

Increased font-size
Re-positioned cookies and body tabs
Increased the size of chart
Increased width of side-bar
Changed the style for response-display from {xcode} to {docco}

:(


fix-#77: changed the traditional form to react hook form

Summary
I have converted the react traditional form to the react hook form.
Description
I have done the react hook form to reduce the lot of re-renders at the same time users can easily identify the error while they are trying to add the blog in the application and for the  form validation i have used zod library.
Images
Uploading 2024-06-07 19-10-36.mp4…
Issue(s) Addressed
Enter the issue number of the bug(s) that this PR fixes

Template should be strictly Closes <#77>
Example: Closes #77

Prerequisites

[ yes ] Have you followed all the CONTRIBUTING GUIDELINES?

@krishnaacharyaa can you kindly review this one sir.

@Ameerjafar can you kindly add the video

Kindly update the validations to these and messages also,
And once go through https://github.com/krishnaacharyaa/wanderlust/pull/83/files, might be of help

@Ameerjafar in the video, when no categories is selected it says "max three categories" and when you click 2 categories it won't go...
Shoudln't that error come when you click more than 3 categories?
And when you haven't clicked it should say please select a category something and when you click a category the error message should go

Hi @Ameerjafar , thank you When 1 category I didn't see the error message vanishing in the video.
And please also select 3 categories and see if lets you select 4th one


Update cxf-core to 3.5.5

Signed-off-by: Stephen Crawford<EMAIL_ADDRESS>Description
Updates the cxf-core dependency to use version 3.5.5.
Check List

[ ] ~New functionality includes testing~
[ ] ~New functionality has been documented~
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closing in favor of backporting from main.


fix nodejs readme typos

I noticed a couple of typos in the documentation, so I decided to put up a quick fix for them!

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


HHH-15585: Schema validation for DB2 alias

Hi @dLoewy , I had already created a PR for this issue https://github.com/hibernate/hibernate-orm/pull/5393 I do not think we need a new setting


Remove line_length rule

The actual length isn't configurable (it's hardcoded into SwiftLint), and 100 is too short. Turning it off will at least reduce the noise on PRs.
ping @thoughtbot/ios

I'm for this. Simple things like method names pretty quickly meet this and putting the args on multiple lines is pretty annoying.

Why would we turn this off by default though? Couldn't we just turn it off in our repos?

On Oct 27, 2015, at 13:52, Jake Craige<EMAIL_ADDRESS>wrote:
I'm for this. Simple things like method names pretty quickly meet this and putting the args on multiple lines is pretty annoying.
—
Reply to this email directly or view it on GitHub.

One reason to turn it off would be if we think it will cause a bad onboarding experience for Hound customers activating Swift repos.
As another example, we'd talked for a long time about disabling single quote/double quote rules in Ruby repos but it's so often unnecessarily controversial on team's repos. Better to have them opt-in to that one.

fwiw, I don't think it's a totally unreasonable rule. And it looks like they are working on making the length configurable. I'm fine with us turning it off in our own repos, but I don't think it's worth disabling globally.

Closing based on https://github.com/thoughtbot/guides/pull/395


Remove the .nuget tard folder - now obsolete.

Reference: migrating to automatic package restore.

I've noticed that the build.cmd uses this folder and the .exe in it .. so i'm not going to do anything with this folder now.


JDTLS not Launching Properly

Problem description
JDTLS doesn't seem to be launched correctly on first instance.
Neovim version (>= 0.6)
NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser
Operating system/version
5.10.105-1-MANJARO
I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig

[X] Yes

Affected language servers
JDTLS
Steps to reproduce
nvim file.java
Actual behavior

None of the language server features like autocompletion, goto defition... will work
Some errors among the following may popup:

The declared package "route.file" does not match the expected package "". Link
file.java is not on the classpath of project, only syntax errors are reported. Link
The import core cannot be resolved. Link
Some of these errors are known to be related to the language server directly and not related to the project and, in fact, can be often solved by just executing a cleaning or relaunching the editor(Eclipse often). In my case I know these errors are related to JDTLS because there is a way to fix it that has nothing to do with the project. To fix it, it is enough with executing:

:LspStop
:LspStart
Those two commands solve all problems and the language server is correctly launched. :LspRestart get's rid of the errors but doesn't seem to launch the language server since no features work.

I can assure that if the language server is installed and configured like pointed in lsp-config guide it all works correctly.
Expected behavior
JDTLS to be launched correctly
LspInfo
Language client log: /home/balrrach/.cache/nvim/lsp.log
 Detected filetype:   java

 1 client(s) attached to this buffer:

 Client: jdtls (id: 1, pid: 59720, bufnr: [1])
 	filetypes:       java
 	autostart:       true
 	root directory:  /home/balrrach/Documents/Universidad/Quinto/Segundo Cuatrimestre/tsi/Practica/practica1/GVGAI
 	cmd:             java -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Dlog.protocol=true -Dlog.level=ALL -Xms1g -Xmx2G --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -jar /home/balrrach/.local/opt/jdtls-launcher/jdtls/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar -configuration /home/balrrach/.local/opt/jdtls-launcher/jdtls/config_linux -data /home/balrrach/workspace

 Configured servers list: clangd, jdtls

Healthcheck
nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
## nvim-lsp-installer report
  - OK: neovim version >= 0.6.0
  - WARNING: **Go**: not available
  - WARNING: **Composer**: not available
  - WARNING: **PHP**: not available
  - ERROR: **npm**: not available
  - ERROR: **node**: not available
  - WARNING: **julia**: not available
  - OK: **tar**: `tar (GNU tar) 1.34`
  - OK: **gzip**: `gzip 1.11`
  - OK: **python3**: `Python 3.10.2`
  - OK: **Ruby**: `ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux]`
  - OK: **wget**: `GNU Wget 1.21.2 built on linux-gnu.`
  - OK: **sh**: `Ok`
  - OK: **bash**: `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)`
  - OK: **curl**: `curl 7.82.0 (x86_64-pc-linux-gnu) libcurl/7.82.0 OpenSSL/1.1.1m zlib/1.2.11 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.47.0`
  - WARNING: **pip3**: not available
  - OK: **java**: `Ok`
  - OK: **RubyGem**: `3.3.5`
  - OK: **javac**: `javac 17.0.3`

Screenshots or recordings
No response

Hello! The server works fine for me on multiple systems. I'm not sure I can help unless there's a bit more info in terms of how to reproduce it. Does this happen if you run it with the minimal_debug_init.lua (for example $ nvim -u ~/Downloads/minimal_debug_init.lua)?

I decided to uninstall the language server with the plugin and install it manually and configure it like it is advised by Lspconfig and it works correctly. I've tried to install the server again with the plugin and I can't, I get the following screen and the server never installs:

Anyway, since the server doesn't install, I got it working correctly and it works for you there must be an issue with my config or something strange. Let's leave it as is. Thanks a lot anyway!


  For example if I am using the Techniques.ZoomInUp animation I want the view to be hidden before the animation is applied; by default the image is displayed for a split second then hidden when the .playon() gets called (and then of course zooms back into view).
Thanks.

Well, you could just call view.setVisible(View.INVISBLE) on the View before playing the animation.

Hi Ruben,
That's the route I took in the end, I just wanted to check I wasn't missing a trick.
Thanks for the quick response. :+1:


1.10: Potential incompatibility with Geographicraft // Climate Control

When modifying the biome distribution with Climate control this mix is applied to rftools dimensions despite Geographicraft being set to only operate in whitelisted dimensions.
Is this working as things are currently intended and if so would it be possible to add a config to disable this behavior?
Sorry if this is a bug in Geographicraft but I thought it was worth asking here.
Minecraft 1.10.2
Forge <IP_ADDRESS>7
Geographicraft 0.87
McJtyLib 2.3.11
Compat Layer 0.2.9
RfTools 6.10
Dimensions 5.02

I don't understand what you mean. What is the problem exactly? Neither climate control nor geographicraft are my mods so not sure what I can do here?

What I'm wondering is if Rftools pretends to be the overworld somehow and might therefore be confusing Geographicraft.

No it doesn't. RFTools dimensions (not rftools btw, you are on the wrong issue tracker) properly defines its own dimensions

Alright thanks anyway.


Add missing Link import to routing doc

There was a missing import for Link component for the basic routing example.

Thanks!


X.U.EZConfig: Add property tests

Description
Property tests for the EZConfig parser.  Plus, some improvements for the key pretty-printer as a result of it.
X.Prelude: Concat modifier keys instead of unwording
Instead of printing "M- S- C-", print "M-S-C".
X.Prelude: Improve keyToString output
The keysymToString function prints the key names in pure ASCII; e.g., keysymToString 250 returns "uacute" instead of "ú".  This is undesirable when printing these keysyms in places like visualSubmap.
Thus, move all of the key infrastructure (heh) from X.U.EZConfig to X.Prelude and look up the name of the key if possible.  For better composability, slightly change the signature for regularKeys and the associated parser.
tests: Add property tests for X.U.EZConfig
Adds property tests in both directions for the parser in X.U.EZConfig. As with the tests for X.P.OrgMode, these (modulo Maybe noise) take the shape of the operation of an inverse semigroup:
pp ∘ p ∘ pp ≡ p        and        p ∘ pp ∘ p = p,

where pp is pretty-printing and p is parsing.
Checklist

[x] I've read CONTRIBUTING.md

[x] I've considered how to best test these changes (property, unit,
manually, ...) and concluded: that I'm adding tests!

[n/a] I updated the CHANGES.md file

Do we know that nobody's going to want the proper X11 name of a key (see for example Compose definition files, or xdotool)? Or do we provide and document an alternative that allows access to the actual name?

Do we know that nobody's going to want the proper X11 name of a key (see for example Compose definition files, or xdotool)? Or do we provide and document an alternative that allows access to the actual name?

Well, keysymToString is still exported by Graphics.X11.Xlib.Misc so that should be fine, I suppose?

I think the existence of keysymToString is good enough (and we don't export our keysym->string function anyways but only the whole keyToString), so I will merge this in a few if there are no other objections


Update MenuItem and ToolbarItem articles with instructions and examples to enable or disable

There has been some confusion when using Xamarin.Forms around how to specify whether a ToolbarItem is enabled or disabled. This has changed in recent versions and it is not clear how to do this anymore. This is an attempt to clarify how to do this, including an example.
ToolbarItem inherits much of its functionality from MenuItem therefore that article was updated as well.

@brunck : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@brunck thank you for a well-written contribution. Unfortunately it is not correct. The IsEnabled property is not read-only as you can see in the API doc here:
https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.menuitem.isenabled?view=xamarin-forms#Xamarin_Forms_MenuItem_IsEnabled
In the sample project you can test this by altering one of the MenuItem initializers like this:
MenuItem menuItem2 = new MenuItem
{
   Text = "Delete",
   IsEnabled = false,
};

The resulting context menu is greyed-out (example on Android):

It is possible if you are manipulating underlying properties in an ICommand that you could be causing unexpected interactions between the property and the command. However, if you test the IsEnabled property in isolation you should find that it is settable and capable of disabling the menu item.

@profexorgeek Yep, sorry for that. What I intended to do was indicate that the BindableProperty MenuItem.IsEnabledPropertyKey is read-only. Obviously got confused.
There is an existing problem that binding to IsEnabled in order to toggle the enabled/disabled state of a ToolbarItem does not work. In fact, it acts like the property is ignored altogether as far as data-binding goes. This does not work on both iOS and Android.
The way I describe is how to get that toggling to work. Using the Command instead of the IsEnabled property to toggle it works (most of the time, there is an existing issue that it doesn't work on Shell apps in Android). That's really what I meant to do here, and that way isn't documented as far as I can tell.
The data-binding to IsEnabled problem doesn't seem like something that will be fixed anytime soon, and it's not clear if it is something to be fixed at all, so I wanted to have some instruction on how to do it that way.
I'll go ahead and update this to reflect that and see if you find it useful in the new form.

@brunck After reading your comment about IsEnabled and Shell bugs I checked to see if we had any issues related to this and found the issue you filed against Xamarin.Forms:
https://github.com/xamarin/Xamarin.Forms/issues/8741
Your issue has already been reviewed by @PureWeen, tagged and included in vNext (4.4.0). If your proposed documentation is a workaround for an issue that's filed and triaged we should probably wait for the fix!

@profexorgeek actually that issue was discovered by using the CanExecute approach that I wanted to describe in this PR. It's not an approach that is going to be removed, and I wanted to have some documentation around how to do it that way. 8741 is to have that approach work with Android using Shell.
Issue Xamarin.Forms issue 5386 addresses the problem with data-binding to IsEnabled on a ToolbarItem. The approach I'm talking about doesn't directly bind to IsEnabled but rather uses a different way (not a workaround) using binding to Command to do the same thing.
I imagine that any fixes to the issues mentioned here wouldn't change the info I want to provide here, so I'd like to go ahead with this.

Okay sounds good, I just wanted to save you the work if it was a workaround solution!

@brunck : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@brunck : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@profexorgeek I've made some changes.

@brunck : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@brunck : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@profexorgeek bump again 😈

Hi @brunck, Sorry for my delay in digging into this. The issue, which I have discussed with our docs team, is that this is bringing to mind some other gotchas/conversations around canexecute and IsEnabled and we want to make sure that this edit is accurate with those conversations!
@davidbritch and I discussed this morning and I'm reassigning this to him as he has a bit more context.
Thanks for keeping this top-of-mind!

Hi @brunck
Thanks for bringing this to our attention. After investigation, I agree that you're correct. So I will accept this PR, after making some edits to it to bring it inline with our style guide (later today). I'm also going to try and get some movement from the engineers on the bug.

@davidbritch : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@davidbritch : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Custom TOC?

In the header of the mdx file, is it possible to add or create items in the automatically generated TOC?

Can you share an example?

closing due no response


fix for #6482 - Make sure that the width of the column is a least the size of the label for Semantic Version

which in this case is the same as the property name
When the label is too short, an unhelpful error will be emitted
this fixes https://github.com/PowerShell/PowerShell/issues/6482
PR Summary

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] User-facing Documentation needed

[x] Issue filed - Issue link: https://github.com/PowerShell/PowerShell/issues/6482

Testing - New and feature

[ ] Not Applicable or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

This pull request only partially resolves the problem.
We need to change TableWriter class like below.
current :
https://github.com/PowerShell/PowerShell/blob/9bc81ad695c7eba777255a2905aec58adc90daa1/src/System.Management.Automation/FormatAndOutput/common/TableWriter.cs#L292-L310
after change (example):
            // add padding for the columns that are shorter
            for (int col = 0; col < scArray.Length; col++)
            {
                int paddingBlanks = _si.columnInfo[validColumnArray[col]].width;
                if (col > 0)
                    paddingBlanks += ScreenInfo.separatorCharacterCount;
                else
                {
                    paddingBlanks += _startColumn;
                }
                int paddingEntries = screenRows - scArray[col].Count;
                if (paddingEntries > 0)
                {
                    for (int j = 0; j < paddingEntries; j++)
                    {
                        scArray[col].Add(col == scArray.Length - 1 ? "" : StringUtil.Padding(paddingBlanks));
                    }
                }
            }

#6504 will fix this issue.
I retract the previous comment.


 Which works, but it barfs a big exception to the console. We should capture this and handle it gracefully, shutting down all threads and exiting. As I add the remote control stuff this is especially important as the control UI server runs on a full separate process.

Or you might get to it before I do, as I am running out of time for a bit...

Yeah... I kinda figure I might ;)
On Sat, Jul 8, 2017 at 8:28 AM, Tom Swirly<EMAIL_ADDRESS>wrote:

Or you might get to it before I do, as I am running out of time for a
bit...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/issues/276#issuecomment-313853105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6i4nbZX37bOpoc4EMehtwiPui-QNks5sL3XvgaJpZM4ORuLw
.

This is fixed in upcoming push... but more to do on that.

Fixed quite nicely in the remote branch.


Print money popup window

We need to make it easier to generate coins in batches.
Clicking the "print money" button should bring up a popup window with two inputs:

Name
Values

Coin value ranges
[1000..50,000], [50,000..100,000], [100,000..500,000]

Number of coins
1..10

@echoshihtw I'll probably need to change the API for this.

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
H4run1, @moscacrew, @TugrulB, @JonathanBarry, @skyink34, @dusy001, @asdfdafs, @SoftienTech, @OpenBulletadem, @hamitcan33, @yousskh5, @alkalemir, @BerkayCoskun, @rcanlucan, @cooloagetanitim, @hbblackpirate, @Gorokas, @FxRex, @crashoverburn, @Lotuashvili


@kubernetes step decorator

Note that it is PR is on top of #504, since it relies on some mflog refactorings introduced there.
What does this do
Introduce a new decorator, @kubernetes that allows you to run specific steps on kubernetes as Jobs.
What works
Basics work. You can decorate steps with @kubernetes and they'll run on k8s cluster. --with kubernetes works too. Logging works through mflog.
You can specify a docker image as @kubernetes(image="python:3.7"). If the image is not specified, it uses METAFLOW_KUBERNETES_IMAGE_URI. If that is missing too, it'll use default python image. This behavior is essentially the same as @batch today.
This also introduces a dependency on Kubernetes Python client (only needed if you use @kubernetes).
Configuration and auth
K8S creds
It will use the k8s creds that are configured in your environment. That is, this doesn't do anything special for k8s auth; if kubectl works in your environment, this will too.
AWS creds
The code still uses S3, and assumes that AWS auth is somehow taken care of via your cluster configuration. That is, AWS creds are available either via the instance profile, or via IRSA.
What's left

[x] support @timeout
[x] support @resources
[x] support @environment
[x] make sure interrupting/cancelling a step works
[ ] more testing for edge cases and failure modes

closing in favor of #644


[Bug][Backend] Cannot start the backend service

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Run devlake backend with command make godev, the compile stage is accomplished, but failed to run server.
The errors look like:
➜  lake git:(main) make godev
make godev -C backend
DISABLED_REMOTE_PLUGINS=true make build-plugin run
if [ "" = "none" ]; then \
		echo "Building plugins will be skipped"; \
	elif [ "" = "true" ]; then \
		PLUGIN= sh scripts/compile-plugins.sh -gcflags='all=-N -l'; \
	else \
		PLUGIN= sh scripts/compile-plugins.sh; \
	fi
Usage:
  build all plugins:              scripts/compile-plugins.sh [golang build flags...]
  build and keep specified plugins only: PLUGIN=github,jira scripts/compile-plugins.sh [golang build flags...]
Building all plugins
Building plugin ae to bin/plugins/ae/ae.so with args:
Building plugin bamboo to bin/plugins/bamboo/bamboo.so with args:
Building plugin bitbucket to bin/plugins/bitbucket/bitbucket.so with args:
Building plugin circleci to bin/plugins/circleci/circleci.so with args:
Building plugin customize to bin/plugins/customize/customize.so with args:
Building plugin dbt to bin/plugins/dbt/dbt.so with args:
Building plugin dora to bin/plugins/dora/dora.so with args:
Building plugin feishu to bin/plugins/feishu/feishu.so with args:
Building plugin gitee to bin/plugins/gitee/gitee.so with args:
Building plugin gitextractor to bin/plugins/gitextractor/gitextractor.so with args:
Building plugin github to bin/plugins/github/github.so with args:
Building plugin github_graphql to bin/plugins/github_graphql/github_graphql.so with args:
Building plugin gitlab to bin/plugins/gitlab/gitlab.so with args:
Building plugin icla to bin/plugins/icla/icla.so with args:
Building plugin jenkins to bin/plugins/jenkins/jenkins.so with args:
Building plugin jira to bin/plugins/jira/jira.so with args:
Building plugin org to bin/plugins/org/org.so with args:
Building plugin pagerduty to bin/plugins/pagerduty/pagerduty.so with args:
Building plugin refdiff to bin/plugins/refdiff/refdiff.so with args:
Building plugin slack to bin/plugins/slack/slack.so with args:
Building plugin sonarqube to bin/plugins/sonarqube/sonarqube.so with args:
Building plugin starrocks to bin/plugins/starrocks/starrocks.so with args:
Building plugin tapd to bin/plugins/tapd/tapd.so with args:
Building plugin teambition to bin/plugins/teambition/teambition.so with args:
Building plugin trello to bin/plugins/trello/trello.so with args:
Building plugin webhook to bin/plugins/webhook/webhook.so with args:
Building plugin zentao to bin/plugins/zentao/zentao.so with args:
go run server/main.go
Version:  dev
time="2023-09-28 15:34:09" level=info msg="migration initialized"
time="2023-09-28 15:34:09" level=info msg="plugin loaded ae"
time="2023-09-28 15:34:10" level=info msg="plugin loaded bamboo"
time="2023-09-28 15:34:10" level=info msg="plugin loaded bitbucket"
time="2023-09-28 15:34:10" level=info msg="plugin loaded circleci"
time="2023-09-28 15:34:10" level=info msg="plugin loaded customize"
time="2023-09-28 15:34:10" level=info msg="plugin loaded dbt"
time="2023-09-28 15:34:10" level=info msg="plugin loaded dora"
time="2023-09-28 15:34:10" level=info msg="plugin loaded feishu"
time="2023-09-28 15:34:10" level=info msg="plugin loaded gitee"
time="2023-09-28 15:34:10" level=info msg="plugin loaded gitextractor"
time="2023-09-28 15:34:10" level=info msg="\x1b[31;1m/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/impls/dalgorm/dalgorm.go:284 \x1b[35;1mError 1146 (42S02): Table 'lake._tool_github_connections' doesn't exist\n\x1b[0m\x1b[33m[2.005ms] \x1b[34;1m[rows:-]\x1b[0m SELECT * FROM `_tool_github_connections` LIMIT 1"
panic: Error 1146 (42S02): Table 'lake._tool_github_connections' doesn't exist (500)
Wraps: (2) Error 1146 (42S02): Table 'lake._tool_github_connections' doesn't exist
Error types: (1) *hintdetail.withDetail (2) *mysql.MySQLError

goroutine 1 [running]:
github.com/apache/incubator-devlake/core/errors.Must1[...](...)
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/core/errors/util.go:40
github.com/apache/incubator-devlake/helpers/srvhelper.NewModelSrvHelper[...]({0x105e2cc38, 0x14000146b70})
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/helpers/srvhelper/model_service_helper.go:56 +0x3a8
github.com/apache/incubator-devlake/helpers/srvhelper.NewConnectionSrvHelper[...](...)
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/helpers/srvhelper/connection_service_helper.go:44
github.com/apache/incubator-devlake/helpers/pluginhelper/api.NewDataSourceHelpers[...]({0x105e2cc38, 0x14000146b70}, {0x165c41c74, 0x6}, {0x14000318bb0, 0x1, 0x1})
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/helpers/pluginhelper/api/ds_helper.go:42 +0x4c
github.com/apache/incubator-devlake/plugins/github/api.Init({0x105e2cc38?, 0x14000146b70}, {0x1660972b8, 0x10715e680})
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/plugins/github/api/init.go:47 +0xdc
github.com/apache/incubator-devlake/plugins/github/impl.Github.Init(...)
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/plugins/github/impl/impl.go:75
github.com/apache/incubator-devlake/core/runner.LoadGoPlugins.func1({0x140005916e0, 0x1c}, {0x105e286e8, 0x1400004f2c0}, {0x0?, 0x0?})
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/core/runner/loader.go:72 +0x224
path/filepath.walkDir({0x140005916e0, 0x1c}, {0x105e286e8, 0x1400004f2c0}, 0x14001987c10)
	/opt/homebrew/Cellar/go/1.21.1/libexec/src/path/filepath/path.go:457 +0x44
path/filepath.walkDir({0x14000479cc8, 0x12}, {0x105e286e8, 0x1400004ea00}, 0x14001987c10)
	/opt/homebrew/Cellar/go/1.21.1/libexec/src/path/filepath/path.go:479 +0x224
path/filepath.walkDir({0x140002f7d10, 0xb}, {0x105e28720, 0x140005019d0}, 0x14001987c10)
	/opt/homebrew/Cellar/go/1.21.1/libexec/src/path/filepath/path.go:479 +0x224
path/filepath.WalkDir({0x140002f7d10, 0xb}, 0x14000347c10)
	/opt/homebrew/Cellar/go/1.21.1/libexec/src/path/filepath/path.go:547 +0xb0
github.com/apache/incubator-devlake/core/runner.LoadGoPlugins({0x105e2cc38, 0x14000146b70})
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/core/runner/loader.go:52 +0x64
github.com/apache/incubator-devlake/core/runner.LoadPlugins({0x105e2cc38, 0x14000146b70})
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/core/runner/loader.go:37 +0x24
github.com/apache/incubator-devlake/server/services.Init()
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/server/services/init.go:87 +0x38
github.com/apache/incubator-devlake/server/api.CreateApiService()
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/server/api/api.go:63 +0x30
main.main()
	/Users/houlinwei/Code/go/src/github.com/merico-dev/lake/backend/server/main.go:33 +0x38
exit status 2
make[2]: *** [run] Error 1
make[1]: *** [godev] Error 2
make: *** [godev] Error 2

What do you expect to happen
Run server sucessfully.
How to reproduce
fetch the latest main branch, and run make godev.
Anything else
I have deleted all tables in devlake's database, and not sure it matters of not.
Version
main
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Did you delete (or truncate) the migrations history table too? If not, the server code is going to think all migrations are up to date and not rerun any of them. Based on the logs above it seems migrations didn't run which leads me to assume this.

Did you delete (or truncate) the migrations history table too? If not, the server code is going to think all migrations are up to date and not rerun any of them. Based on the logs above it seems migrations didn't run which leads me to assume this.

Yes. I droped all  tables in the database.


Create timeline

Create a list of important life-events, dates, achivements, periods. The list should be good-structured and comfortable to read.

The list is short, but comfortable to read. Done!


chore: release v0.1.4

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 6 committers have signed the CLA.:white_check_mark: SinnerA:white_check_mark: liu-song:white_check_mark: simon0-o:white_check_mark: alice-yyds:white_check_mark: YangruiEmma:x: kinggokinggo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


It would be nice if there was an uptime status

Description
It would be nice if there was an uptime status maybe in home or in the sia icon in the top left hand side of the screen.
Version
0.1.0 Beta
What operating system are you running (e.g. Ubuntu 22.04, macOS, Windows 11)?
Ubuntu 22.04, windows 10 chrome.
Anything else?
No response

@alexfreska [GET] /state/host has startTime https://api.sia.tech/hostd#32ef7651-c2c1-43c6-89d3-f17c188b4667


Task return value

https://docs.typo3.org/c/typo3/cms-scheduler/master/en-us/DevelopersGuide/CreatingTasks/Index.html
Please extend the function public function execute()
It must return "true" on success, otherwise the backend will allways say that the execution failed.

@Mordef You can directly make the change on the documentation page by clicking on "Edit me on GitHub" on the top right.
The community is welcome to directly participate in improving the documentation.
For more information see, https://docs.typo3.org/m/typo3/docs-how-to-document/master/en-us/WritingDocsOfficial/GithubMethod.html


Changing the hyperlink word in README.md from 'the website' to 'Swift.org'

Changing the hyperlink word in README.md from 'the website' to 'Swift.org'

Looks a little weird to see capitalized website URLs - perhaps it'd be better as 'swift.org'? I do agree that 'the website' isn't the best way to word it.

Already reported in #206

The capitalisation is indeed a bit strange.
Moreover, making the text say 'swift.org' while linking to a subpage might be misleading.
I would argue to make the link text more descriptive, for example:
For more, see code of conduct on swift.org.

If you did refer the contributions guidelines and the other Swift.org sections, you will notice that Swift.org is capitalized with an 'S'. And this is expected to be followed throughout.
However, we can discuss more in detail about the second part of your comment with the authors here.

I think I agree with @153957: the [code of conduct]() on Swift.org sounds best to me.
(The capitalization is consistent with what's on the site itself.)

That's great! I made another PR and please check that if its alright. :)
Also thanks @153957 and @jrose-apple for the excellent suggestions.


Project Row Counter Without Ref_Priyesh

1)Navigate to Table Data Scraping-Sample Apps
2)Scrape all table information
3)Log ho many rowss are available

Completed the project


Clean dead code in MappeableBitmapContainer

In source code of MappeableBitmapContainer wherever there is a block like
MappeableBitmapContainer answer = clone();
 if (BufferUtil.isBackedBySimpleArray(answer.bitmap))
    sth()
else
   deadCode()

it will never execute else statement. The reason is that clone(); method always allocates memory with on-heap buffers. IMHO it should stay like this because allocation supposed to be faster reference.
What one should do it to eliminate the dead code. In the code I can see that usually it is done by
if (!BufferUtil.isBackedBySimpleArray(answer.bitmap)) {
      throw new RuntimeException("Should not happen. Internal bug.");
    }
// proceed with array code version

To verify the dead code is removed one can see Coveralls code coverage reports like this example

You are correct.

It should be good to remove all dead code sections, not all were removed within #137, there are still many of them in MappeableBitmapContainer, it improves significantly code readability and decreases size of bytecode. Do we remove them? Of course only if the presumption that MappableBitmapContainer is backed on-heap buffer is true.