Mobile rendering precision problems

On my Pixel 7a mobile phone, objects occluding each other are rendered incorrectly. This appears to occur due to rounding errors with floating-point numbers inside the shader. Changing precision from mediump float to highp float inside the shader programs resolves this issue. However, it's worth noting that highp float in fragment shaders might not be supported by older smartphones, and highp float computation is slower. Instead of setting highp float as the default, it might be applied only where it is necessary, such as in vertex position computation.
Further reading:
https://webglfundamentals.org/webgl/lessons/webgl-precision-issues.html
https://developer.nvidia.com/content/depth-precision-visualized
Other suggested fixes from the nvidia blog post are:

Use an infinite far plane.
Keep the projection matrix separate from other matrices, and apply it in a separate operation in the vertex shader, rather than composing it into the view matrix.

Correct:

Incorrect:

Additionally, mediump float seems to cause precision issues in the picking shader as well.

And with particles systems:
PC:

Mobile:


Fix short jump patches

Previously 5 was always subtracted from the function address difference. This is wrong for short jumps (we only need to subtract 2) and causes all kinds of shenanigans (mostly segfaults, see the added test).

Thanks for stepping in and fixing this. I knew I shouldn't have been so hasty with switching the patching routine. Didn't play with it enough and I forgot I had that hardcoded still.

There is still more I want to fix. I want to re-allow far relative jumps for 32-bit (rel16) and separate the functions again. Just in case you want to keep going. I appreciate the help. I don't have much time on the weekends to play though.

Fixed it and pushed it as 0.1.3


Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.ThreadPool

Jenkins and plugins versions report

Environment

Jenkins: 2.375
OS: Linux - <IP_ADDRESS>-microsoft-standard-WSL2
---
ace-editor:1.1
apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
bouncycastle-api:2.26
branch-api:2.1046.v0ca_37783ecc5
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
cloudbees-folder:6.773.vd2dcc704ee7e
command-launcher:1.2
commons-lang3-api:3.12.0-36.vd97de6465d5b_
commons-text-api:1.10.0-27.vb_fa_3896786a_7
credentials:1189.vf61b_a_5e2f62e
credentials-binding:523.vd859a_4b_122e6
display-url-api:2.3.6
durable-task:501.ve5d4fc08b0be
filesystem_scm:2.1
git:4.13.0
git-client:3.13.0
instance-identity:116.vf8f487400980
ionicons-api:31.v4757b_6987003
jackson2-api:<IP_ADDRESS>21013-295.v8e29ea_354141
jakarta-activation-api:2.0.1-2
jakarta-mail-api:2.0.1-2
javax-activation-api:1.2.0-5
javax-mail-api:1.6.2-5
jaxb:2.3.7-1
jdk-tool:1.0
job-dsl:1.81
jsch:<IP_ADDRESS>.va_e9ee26616e7
mailer:438.v02c7f0a_12fa_4
pipeline-build-step:2.18
pipeline-groovy-lib:613.v9c41a_160233f
pipeline-input-step:456.vd8a_957db_5b_e9
pipeline-milestone-step:101.vd572fef9d926
pipeline-model-api:2.2118.v31fd5b_9944b_5
pipeline-model-definition:2.2118.v31fd5b_9944b_5
pipeline-model-extensions:2.2118.v31fd5b_9944b_5
pipeline-stage-step:296.v5f6908f017a_5
pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5
pipeline-utility-steps:2.13.1
plain-credentials:139.ved2b_9cf7587b
scm-api:621.vda_a_b_055e58f7
script-security:1189.vb_a_b_7c8fd5fde
snakeyaml-api:1.32-86.ve3f030a_75631
ssh-credentials:305.v8f4381501156
sshd:3.236.ved5e1b_cb_50b_2
structs:324.va_f5d6774f3a_d
trilead-api:2.72.v2a_3236754f73
variant:59.vf075fe829ccb
workflow-aggregator:590.v6a_d052e5a_a_b_5
workflow-api:1200.v8005c684b_a_c6
workflow-basic-steps:994.vd57e3ca_46d24
workflow-cps:2803.v1a_f77ffcc773
workflow-durable-task-step:1210.va_1e5d77e122b
workflow-job:1249.v7d974144cc14
workflow-multibranch:716.vc692a_e52371b_
workflow-scm-step:400.v6b_89a_1317c9a_
workflow-step-api:639.v6eca_cd8c04a_a_
workflow-support:839.v35e2736cfd5c

I used to have JFR running locally and I used it to test my Jenkins Library. Recently I have updated both the Jenkins version and the JFR version. Now it's not working.
Here is the full command inside my custom JFR container:
jenkins@ba43b64d4fbc:~$ /app/bin/jenkinsfile-runner run -w /usr/share/jenkins/ -p /usr/share/jenkins/ref/plugins --withInitHooks /usr/share/jenkins/ref/init.groovy.d/ -f /workspace/logging/logging_example.groovy
java.lang.RuntimeException: Unhandled exception
        at io.jenkins.jenkinsfile.runner.bootstrap.commands.JenkinsLauncherCommand.call(JenkinsLauncherCommand.java:69)
        at io.jenkins.jenkinsfile.runner.bootstrap.commands.JenkinsLauncherCommand.call(JenkinsLauncherCommand.java:37)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at io.jenkins.jenkinsfile.runner.bootstrap.Bootstrap.main(Bootstrap.java:46)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/ThreadPool
        at io.jenkins.jenkinsfile.runner.App.run(App.java:25)
        at io.jenkins.jenkinsfile.runner.bootstrap.commands.JenkinsLauncherCommand.runJenkinsfileRunnerApp(JenkinsLauncherCommand.java:226)
        at io.jenkins.jenkinsfile.runner.bootstrap.commands.JenkinsLauncherCommand.call(JenkinsLauncherCommand.java:67)
        ... 9 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.util.thread.ThreadPool
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 12 more

Here is the DockerFile used to build my custom JFR image.
ARG baseImage=dsty/jenkins

FROM jenkins/jenkinsfile-runner:latest as jfr

FROM ${baseImage}

COPY --from=jfr /app /app

USER root

RUN cd /usr/share/jenkins && jar -xvf jenkins.war

ENV JENKINS_HOME="/usr/share/jenkins/ref/"
ENV JAVA_OPTS="-Djenkins.model.Jenkins.slaveAgentPort=50000 -Djenkins.model.Jenkins.slaveAgentPortEnforce=true -Dhudson.model.LoadStatistics.clock=1000"

USER jenkins

ENTRYPOINT ["/app/bin/jenkinsfile-runner", "run", "-w", "/usr/share/jenkins/", "-p", "/usr/share/jenkins/ref/plugins", "--withInitHooks", "/usr/share/jenkins/ref/init.groovy.d/", "-f"]

CMD ["/workspace/Jenkinsfile"]

Note the ARG baseImage=dsty/jenkins is just the FROM docker.io/jenkins/jenkins:latest-jdk11 image with some additional apt packages and plugins installed.
What Operating System are you using (both controller, and any agents involved in the problem)?
jenkins/jenkins:latest-jdk11 I think its ubuntu/debian based?
Reproduction steps
Well... my setup is a bit advanced. Probably the same with everyone who uses JFR. My code is all opensource. I could create a branch just with my docker changes and open a PR. That would make it easy to see what was changed and for me to come back here and create reproduction steps. I will do this if anyone is interested it trying to troubleshoot.
Okay.. so I can confirm that changing either the JFR version or the Jenkins version broke things because all of my CICD jobs are failing. Broke around April 5th.
Expected Results
Well usually it executes my Jenkinsfile =)
Actual Results
I got strange error about ThreadPools.
Anything else?
I <3 JFR and getting this backup and running is a huge deal for my project. https://github.com/DontShaveTheYak/jenkins-std-lib

oh and here is the exploded war directory:
root@b98216cc7f29:/var/jenkins_home# ls -la /usr/share/jenkins/
total 91460
drwxr-xr-x 12 root    root     4096 Nov  2 07:27 .
drwxr-xr-x 55 root    root     4096 Nov  2 07:14 ..
drwxr-xr-x  3 root    root     4096 Nov  2 07:27 META-INF
drwxr-xr-x  6 root    root     4096 Nov  1 23:51 WEB-INF
-rw-r--r--  1 root    root    20643 Nov  1 23:48 apple-touch-icon.png
drwxr-xr-x  3 root    root     4096 Nov  1 23:51 bootstrap
drwxr-xr-x  5 root    root     4096 Nov  1 23:51 css
drwxr-xr-x  2 root    root     4096 Nov  1 23:51 executable
-rw-r--r--  1 root    root    17542 Nov  1 23:48 favicon.ico
-rw-r--r--  1 root    root    36275 Nov  1 23:48 favicon.svg
drwxr-xr-x 12 root    root     4096 Nov  1 23:51 help
drwxr-xr-x  9 root    root     4096 Nov  1 23:51 images
-rw-r--r--  1 root    root 93469865 Nov  2 06:31 jenkins.war
drwxr-xr-x  4 root    root     4096 Nov  1 23:51 jsbundles
-rw-r--r--  1 root    root    45846 Nov  1 23:48 mask-icon.svg
drwxr-xr-x  4 jenkins root     4096 Nov  2 07:17 ref
-rw-r--r--  1 root    root       71 Nov  1 23:48 robots.txt
drwxr-xr-x  3 root    root     4096 Nov  1 23:51 scripts

I have tried the jenkinsfile-runner run command as both jenkins and root but same error.
I have also tried not using the -w flag but that results in this:
root@b98216cc7f29:/var/jenkins_home# /app/bin/jenkinsfile-runner run -p /usr/share/jenkins/ref/plugins --withInitHooks /usr/share/jenkins/ref/init.groovy.d/ -f /workspace/logging/logging_example.groovy
No explicit version has been selected, using latest LTS
Running pipeline on jenkins 2.361.2
Downloading jenkins 2.361.2...
Following redirect...

It seems to be stuck there? I think its been 10 mins or so but I will let it go another 10.

Java version in case someone asks?
root@b98216cc7f29:/var/jenkins_home# java --version
openjdk <IP_ADDRESS> 2022-08-12
OpenJDK Runtime Environment Temurin-<IP_ADDRESS>+1 (build <IP_ADDRESS>+1)
OpenJDK 64-Bit Server VM Temurin-<IP_ADDRESS>+1 (build <IP_ADDRESS>+1, mixed mode)

Closing this in favor of #657


FloodPublish behavior

Description

FloodPublishbehavior means we'll forward our message to all peers above score and all explicit peers
Lodestar doesn't configure floodPublish, by default it's true but messages does not follow the floodsub behavior due to the wrong field used in "_publish()" method

close via https://github.com/ChainSafe/js-libp2p-gossipsub/pull/198


Environment Setup Issue

In 00-setup-environment, you should also specify to install the Azure CLI from https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli.
This is necessary, for example, in Lab 16 when you need to run the az commands.

Reviewing issue

Issue was fixed in lab 16, thank you.


Added the ability to set the inner color.

I needed a way to set the color inside the progress view circle, so I figured I would share. If innerTintColor is nil or isn't set, then the behavior is the same as before.

Thanks!


Support python 3.7 to 3.11

PySunspec readme mentions python 3.5 to 3.8 are supported.
We've been using it at my company in production with python 3.9 for a couple of months now and it seems to work fine. Our usage is limited to interraction with one inverter over TCP.
I created a quick tox configuration for it and the unit tests are green when executed against python 3.7, 3.8, 3.9, 3.10 or 3.11.
Also, python 3.5 and 3.6 have been marked as end-of-life for a few years now, so maybe they should be removed from the list of supported python versions?
If you're interrested, I'm happy to send a quick PR with this tox config and a readme update telling how to use it.

Hi,
Thanks for letting us know. And for the testing you've done.
Sure, you can create a PR and once our internal team approves it, we'll merge it and update the readme.
Thanks.


BUG: "No module named cython" when building 26.0.0+ with Pyston 2.3.5

This is a pyzmq bug

[X] This is a pyzmq-specific bug, not an issue of zmq socket behavior. Don't worry if you're not sure! We'll figure it out together.

What pyzmq version?
26.0.0+
What libzmq version?
4.3.4
Python version (and how it was installed)
pyston-2.3.5 installed via pyenv
OS
Ubuntu 22.04
What happened?
When updating pyzmq from version 25.1.2 I got an error.
Code to reproduce bug
1. Install pyston-2.3.5 from pyenv
2. Make a virtualenv
3. Try to install pyzmq

Traceback, if applicable
(more can be provided on request)
...
  [103/109] Building CXX object _deps/bundled_libzmq-build/CMakeFiles/objects.dir/src/tipc_connecter.cpp.o
  [104/109] Building CXX object _deps/bundled_libzmq-build/CMakeFiles/objects.dir/src/udp_engine.cpp.o
  [105/109] Building CXX object _deps/bundled_libzmq-build/CMakeFiles/objects.dir/src/socket_base.cpp.o
  [106/109] Linking CXX static library _deps/bundled_libzmq-build/lib/libzmq.a
  [107/109] Generating _src/_zmq.c
  FAILED: _src/_zmq.c /tmp/tmpd9xa1398/build/_src/_zmq.c
  cd /tmp/tmpd9xa1398/build && /home/davidlaw/.pyenv/versions/pyston-2.3.5/envs/pyzmq-test-pyston-2.3.5/bin/python -mcython --3str --output-file /tmp/tmpd9xa1398/build/_src/_zmq.c --module-name zmq.backend.cython._zmq /tmp/pip-install-m1z8ag2s/pyzmq_22e735db494c49e7b0d28815b1ad745c/zmq/backend/cython/_zmq.py
  /home/davidlaw/.pyenv/versions/pyston-2.3.5/envs/pyzmq-test-pyston-2.3.5/bin/python: No module named cython
  ninja: build stopped: subcommand failed.

  *** CMake build failed
  error: subprocess-exited-with-error

  × Building wheel for pyzmq (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /home/davidlaw/.pyenv/versions/pyston-2.3.5/envs/pyzmq-test-pyston-2.3.5/bin/python /home/davidlaw/.pyenv/versions/pyston-2.3.5/envs/pyzmq-test-pyston-2.3.5/lib/python3.8-pyston2.3/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpsj5fhcnz
  cwd: /tmp/pip-install-m1z8ag2s/pyzmq_22e735db494c49e7b0d28815b1ad745c
  Building wheel for pyzmq (pyproject.toml) ... error
  ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
Exception information:
Traceback (most recent call last):
  File "/home/davidlaw/.pyenv/versions/pyston-2.3.5/envs/pyzmq-test-pyston-2.3.5/lib/python3.8-pyston2.3/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
    status = run_func(*args)
  File "/home/davidlaw/.pyenv/versions/pyston-2.3.5/envs/pyzmq-test-pyston-2.3.5/lib/python3.8-pyston2.3/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
    return func(self, options, args)
  File "/home/davidlaw/.pyenv/versions/pyston-2.3.5/envs/pyzmq-test-pyston-2.3.5/lib/python3.8-pyston2.3/site-packages/pip/_internal/commands/install.py", line 429, in run
    raise InstallationError(
pip._internal.exceptions.InstallationError: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
Remote version of pip: 24.0
Local version of pip:  24.0
Was pip installed by pip? True
Removed build tracker: '/tmp/pip-build-tracker-ih8jssr0'

### More info

I have tried installing in a clean virtualenv, and again after manually installing Cython. I got the same result both times.

25.1.2 installs fine.

When you say Try to install pyzmq, can you include the exact command? Cython is a build dependency, so it should be in the build env. so either Cython is missing from the build env, or the Python executable found in the build env is wrong. It appears to be the latter, because Python_EXECUTABLE should resolve to the Python in the isolated build env, but /home/davidlaw/.pyenv/versions/pyston-2.3.5/envs/pyzmq-test-pyston-2.3.5/bin/python is clearly an env made with pyenv, not a temporary env created by pip/build.
Including the output up to the start of building bundled libzmq would help as well. Full output's easiest to make sure nothing is missing.

oh, I see it. It's the implementation_name check - the two backends are opt-in for cpython and pypy, so no backend dependency is installed for other implementations. Fix coming right up.

Fixed by #1986

Brilliant, many thanks!

26.0.3 is out and should fix this. Let me know if you still have issues!


jaxec in tests

Use jaxec for better testing

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 2min)


Support automatic rename existing process if exist on import

Log this to track - customer asked it would be nice to support automatic rename existing process name to allow import continue if the process exists on target account.

cut - low value


make a proper item for Hookable methods

We have all of the information, it's nice to be access the item's members in a natural way, without having to look at the request.
This was already done for the approveContentHandler, but here I added to the editHandler of admin, and the createHandler of the API.

It's possible (and desireable) to also make this work for the delete handlers via a DB lookup. I can make another PR for that or add it onto this one if you're amenable to that.

@ivanov - can you elaborate a bit on how you're using the decoded post (or item, more generally)? I should have left myself some comments explaining why the decoding was even necessary to begin with, but now that I look back on the code it seems that the data is decoded from the post form, but never used.. now I don't remember why I did that hah!

To be more concrete, with this PR, the members of a content type instance get populated, so the hooks can use them directly (as opposed to getting a zero-valued version of a content type).
Taking this example, we can add a BeforeSave hook that checks  p.Title directly without having to muck around and look into req.PostForm.
func (p *Post) BeforeSave(http.ResponseWriter, *http.Request) error {
	if p.Title == strings.ToUpper(p.Title) {
		return NoShoutingInTitlesError{}
	}
	return nil
}

Does that make sense?

@ivanov - brilliant, yes, thank you. Sorry.. I knew there was a reason for it, and thinking back I suppose the other handlers did not have that done because they had no relevant hooks.. I have added lots of hooks as the project has evolved and populating the instance type must have slipped my mind. Please do add this in other areas if you don't mind.
Thanks for catching this!

LOL'd at the return error in your example btw... :rofl:

Ok, so delete hooks will also get the full item (when possible). Not sure if it's worth doing the same for the FileUpload stuff, what do you think?

Thank you! I think the FileUpload parts can wait until hooks for them have been made. It would be cool to do a concurrent photo resizing utility which could be re-implemented to allow users to set/add sizes or other image processing to their FileUploads this way. Instead of adding these interface methods to item.Hookable, it would probably make sense to add an item.Uploadable or something to keep the FileUpload "hooks".
Anyway, I'll merge these in now and if you have any ideas on what could be added to FileUpload or any other item.Hookable, I'd love to hear.

Sweet. And thank you for making ponzu, @nilslice! It's fun to play with it.  🍰

Glad you're enjoying it! Please keep playing with it.. I really appreciate the feedback and contributions.


Installation issue

Hi @stockbal ,
I have problem with installation. I know it comes from the proxy and SSL handshake. It appears when you deploy your plugin to website that uses HTTPS protocol. I had the same issue with ABAP Favorites when I've added the SSL certificate for website.
I know the solution is to add github certificate to the Java certificate storage, but sometimes, especially in corporate world, you don't have sufficient authorizations to do so. So in case of my plugin, I've moved this to HTTP protocol.

Hi @fidley,
maybe you can try the solution with the windows system environment variables. Add the following line to the system environment variables:
JAVA_TOOL_OPTIONS=-Djavax.net.ssl.trustStoreType=Windows-ROOT.
If this does not work, do you think it will be enough if I just replace the https with http in my github updatesite path?. I tried it just now in my eclipse installation and the plugins from the site were loaded fine.
Maybe you can try both approaches give me some feedback afterwards
Regards
Ludwig

@stockbal setting of user variable in the system helped. The option with changing HTTPS to HTTP don't change anything. I guess there is redirection to HTTPS anyway :)


Bug: trying to assign Int64 <- NoReturn

I'm getting a compiler crash with following message:
Bug: trying to assign Int64 <- NoReturn
Code to reproduce
https://carc.in/#/r/10lc

Seems to be fixed on HEAD for me.

Yep it's fixed in HEAD, thank you!


NavSet's tagify() method now returns tagified contents

Closes #337
Note that this is needed since TagList's tagify() method doesn't recursively call tagify() (maybe it should, @wch?)
https://github.com/rstudio/py-htmltools/blob/ae298449b10de5a193031d7c72d7216f7611cf5a/htmltools/_core.py#L172-L194

I think that the current behavior for TagList's tagify() is correct -- I think it makes sense that if an object's tagify() method is called, it is responsible for return a valid tag tree, and this may involve calling tagify() on its children. But I'm happy to discuss if something about that doesn't seem right.

I can get on board with leaving it as is for the sake of keeping our code simple, but on the other hand, the issue was pretty difficult to debug/identify, and it seems like it could be a very easy/common mistake to make. Also, FWIW, I'm pretty sure htmltools:::tagify() doesn't suffer from this same problem (it recurses into the results of as.tags())

After thinking about it some more, I'm feel more strongly that the current behavior is correct. If x is a Tag object, you'd expect to be able to call x.tagify() and let that method handle the recursion, instead of having to recurse manually. The same should be true if x is a TagList -- it would be odd to call y.tagify() on each child node and then after that go into each child node and call z.tagify() on each of its children.
On a related note, it might make sense for a TagList to not have a method named .tagify(), but instead .tagify_children() (this is related to a discussion with @jcheng5 on Slack).

The reason for not wanting TagList to have tagify, is because when it does have tagify, it means that TagList is an instance of TagChild (because the Tagifiable protocol is one of the union elements of TagChild). And as Winston explained it to me, we explicitly do not want TagList to be an instance of TagChild, as TagChild is for representing tag hierarchies post-flattening (not 100% sure about this last part).

If we want to be as strict as @wch is suggesting, I think it's important that get_html_string strictly check that it only encounters the exact kinds of objects it expects (Tag, MetadataNode, and str) and throw on anything else.
 The type checker doesn't help you because 1) the return type of tagify allows Tagifiable objects, and 2) you have to remember to make a copy of any MetadataNode descendants (if this comment is accurate).

 The type checker doesn't help you because 1) the return type of tagify allows Tagifiable objects, and 2) you have to remember to make a copy of any MetadataNode descendants (if this comment is accurate).

For the sake of argument, let's say that TagList has a tagify_children() method (instead of tagify()). Also keep in mind that each Tag object contains a TagList, and each TagList can contain any number of Tag or Tagifiable objects. (Set aside the MetadataNode and str for now.)
So the code looks roughly like this:
class Tag:
    def tagify(self) -> Tag:
        cp = copy(self)
        cp.children = cp.children.tagify()  # Note that cp.children is a TagList
        return cp

class TagList(List[Union[Tag, Tagifiable]]):
    def tagify_children(self) -> TagList:
        cp = copy(self)
        for i in range(len(cp)):
                cp[i] = cp[i].tagify()
        return cp

Notice that in TagList.tagify_children, it calls tagify() on each child, and that's all it needs to do.
If we were to do the thing where we call tagify() on a child, and then go into its children and call tagify() on them, then that would be kind of weird. In most cases -- when the result of calling tagify() on a child is a Tag, then we'd end up calling tagify() on the grandchildren twice. Basically, if we say that an object's tagify() method is sometimes responsible for recursing into its children (as is the case with Tag), and sometimes not (as might be the case with NavSet), then we're going to end up with a confusing mess.
I wonder if it's possible to get the type system to model the two kinds of trees we're interested in, without going into really awkward contortions:

One containing Tag and Tagifiable objects.
One containing just Tag objects. This is what the other kind of tree gets transformed into after tagify() is called on it.

We should at the very least have a run time check like the one @jcheng5 suggested for get_html_string.

@wch I think you may be thinking of tagify differently than @cpsievert and I? Like for you it’s basically a pre-rendering step, whereas to us it’s more like “type conversion to Tag/TagList”.

I think we're in agreement that tagify() is for type conversion to Tag/TagList. In practice we use it during pre-rendering, but I wouldn't say that's the only place where it's valid to call it.

 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.

I don't want to close this PR due to the discussion above. But the PR as be merged in to #580 and will be merged to main

Seems like we can close #337 then @schloerke?

I think we're in agreement that tagify() is for type conversion to Tag/TagList. In practice we use it during pre-rendering, but I wouldn't say that's the only place where it's valid to call it.

Yes. Sorry I missed this last night.


Add Snippets for working with Assets in Cloud Security Command Center.

I missed instruction for how to add a new key, but I believe
a new account is needed, so prestaged assets can be queried.

Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for context and/or discussion)

I think I addressed the issues, raised, I'm still unsure of the write approach for automated testing of the snippets (or if it is required)?

Adding @frankyn to answer code example setup questions.
Additionally, @emkornfield - the code format build is failing. Please see https://github.com/googleapis/google-cloud-java/blob/master/CONTRIBUTING.md under 'Coding Style' for how to fix. Thanks!

@kolea2 thanks, format is fixed.

Hi @emkornfield,
Do you have snippets that you're porting to Java from another language for Cloud Security Command Center that live in Cloud Documentation?

@frankyn I'm working on redoing the documentation in general.  I've opened https://github.com/googleapis/google-cloud-python/pull/7538 for python which looks slightly different due to API surface area and currently working on Go which I was planning on making these look similar to these.

@frankyn These aren't staged in documentation yet, since I didn't have a good way to test it (it doesn't appear that I can reference examples until they are merged into master?).  If there is a way could you send it to me internally?
Thanks for the review.


Invalid Token - Bug appears when creating duplicate apps with different Bundle ID's

Okay, so I had developed an app (programmed in flutter) using the firebase_auth dart package, and that app is working perfectly fine, no issues.
The issue arrises when I try to duplicate the app for a second Bundle ID.  (Think same client, different end-user customer-base).  Every single time I boot up the app, authentication doesn't even let me enter in a phone number, just giving me an "Invalid Token" error.
flutter: Phone Auth Verification Failed: Invalid token.
I do start with a perfectly clear, clean copy of the app, that I have run on multiple devices, and it works.  I then replace the Bundle ID, download the new google-services.plist from Firebase (That has the correct Bundle ID and other information), (replacing the original, and making sure to include it in the runner directory through XCode, so the program knows), and replace the pertinent details such as the url in the info.plist, and the API Key in the AppDelegate.swift.
I've ensured that the Bundle ID I'm trying to develop on is covered via the Apple Provisioning Profiles in my Apple Developer Account.
I've cleaned the build folder, updated to newer versions and various branches, but I keep getting stymied at this point in the project.  I've looked through all of the similar problems in your archives, but none of the advice or suggestions anyone has given has been able to help me.
I'm building on the following system:
Flutter (Channel master, 1.21.0-10.0.pre.70)
MacOS Catalina 10.15.6
XCode 11.6
VS Code 1.47.3
This app does have Push Notifications active, and requires them to work.
Again, to be clear, without changing ANY code, I have a fully function variant of the app.  But when changing to a new version of the Bundle ID, I get this error.

You should file this issue at the FlutterFire repository. The maintainers there will have more context on the error, since it's being surfaced from the flutter layer.


Add lang attribute to configuration options

There is no lang attribute on the HTML element at the moment.

🚢 👍 Thank you!


GameSir T7 controller: no input from controller

Describe the bug
I just purchased a GameSir T7, and while Bazzite seems to recognize it, I can't seem to get it to recognize any input from the controller at all.
lsusb output for the controller:
Bus 003 Device 011: ID 3537:1056 Guangzhou Chicken Run Network Technology Co., Ltd. GameSir-T7 Controller for Xbox
journalctl output at the instant of connecting the controller:
Nov 10 17:07:25 mydesktop kernel: usb 3-3: new full-speed USB device number 10 using xhci_hcd
Nov 10 17:07:25 mydesktop kernel: usb 3-3: New USB device found, idVendor=3537, idProduct=1056, bcdDevice= 1.21
Nov 10 17:07:25 mydesktop kernel: usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 10 17:07:25 mydesktop kernel: usb 3-3: Product: GameSir-T7 Controller for Xbox
Nov 10 17:07:25 mydesktop kernel: usb 3-3: Manufacturer: Guangzhou Chicken Run Network Technology Co., Ltd.
Nov 10 17:07:25 mydesktop kernel: usb 3-3: SerialNumber: 0000653A6981A4FB
Nov 10 17:07:25 mydesktop kernel: input: Generic X-Box pad as /devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:06:00.3/usb3/3-3/3-3:1.0/input/input38
Nov 10 17:07:25 mydesktop mtp-probe[7805]: checking bus 3, device 10: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:06:00.3/usb3/3-3"
Nov 10 17:07:25 mydesktop mtp-probe[7805]: bus: 3, device: 10 was not an MTP device
Nov 10 17:07:26mydeck (udev-worker)[7804]: input38: Process '/bin/input-remapper-control --command autoload --device ' failed with exit code 2.
Nov 10 17:07:26 mydesktop input-remapper-service[1543]: Request to autoload for "Generic X-Box pad"
Nov 10 17:07:26 mydesktop input-remapper-service[1543]: ERROR: Request to autoload "Generic X-Box pad" before a user told the service about their session using set_config_dir
Nov 10 17:07:26 mydesktop (udev-worker)[7806]: js3: Process '/bin/input-remapper-control --command autoload --device /dev/input/js3' failed with exit code 4.
Nov 10 17:07:26 mydesktop mtp-probe[7823]: checking bus 3, device 10: "/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/0000:02:08.0/0000:06:00.3/usb3/3-3"
Nov 10 17:07:26 mydesktop mtp-probe[7823]: bus: 3, device: 10 was not an MTP device

AntiMicroX also does not respond at all to this controller, despite recognizing it as a controller (Generic X-Box pad)
What did you expect to happen?
Input from the GameSir T7.
Output of rpm-ostree status
root@mydesktop:~# rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:40
                   Digest: sha256:cdc448e1818b0f44e0fd0882fe0bf590b408259395da457cf15bebd209224b2c
                  Version: 40.20241020 (2024-10-21T05:01:41Z)
          LayeredPackages: freeipa-client ibm-plex-fonts-all rpm-build ruby terminator WoeUSB
            LocalPackages: botelho-brother-mfc240c-2<IP_ADDRESS>.23.05-1.x86_64 lact-libadwaita-0.5.6-0.x86_64

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:7d1de5a7a0fa9cd05fdd43609d7fe8af5de6cf60e53c698189c3eaf0fc2c7bf2
                  Version: 41.20241104 (2024-11-04T04:57:36Z)
          LayeredPackages: freeipa-client ibm-plex-fonts-all rpm-build ruby terminator WoeUSB
            LocalPackages: botelho-brother-mfc240c-2<IP_ADDRESS>.23.05-1.x86_64 lact-libadwaita-0.5.6-0.x86_64

Hardware
No response
Extra information or context
I am currently running Bazzite based on Fedora 40 on my desktop at the moment, because of this bug: https://github.com/ublue-os/bazzite/issues/1818 (which still appears broken on 41)
That said, my Steam Deck is running Bazzite based on Fedora 41, and it appears just as broken there. I actually initially tried on my Steam Deck, and moved to my desktop to troubleshoot further and more easily gather logs.
I'm really not sure where else to look at this point. Bazzite seems to use xone, and it's really had to tell if the controller is supported yet or not, or what it would take to add support.

fedora 40 probably never got an update to add support for the controller.
bazzite 40 however is EOL and wont receive any updates and i hope upstream fixes your issues soon.
if this controller uses a dongle you can try running sudo modprobe xpad && echo 3537 1056 | sudo tee /sys/bus/usb/drivers/xpad/new_id
This will add the controller id to the xpad driver for this boot only.
To make it automatic you will have to write an udev rule for it and toss it into /etc/udev/rules.d/

I've since updated my desktop to Bazzite 41 too, and it's still broken there.
This is a USB controller. I've even noticed that Steam Input recognizes it as two controller: "Xbox One Controller" and "Generic X-Box Pad"


Whether the border line on the webgl mobile client is supported

Use webGL to draw a face. The border needs to be loaded on the face. The edge line on the PC can be loaded normally, but the edge line of the face cannot be loaded on the mobile end. Tripartite parts: ol-9.2.4 latest version.
Excuse me: Is it not supported by mobile devices or other reasons?This picture link,
https://github.com/xuhao-xiaofei/xiaofei_project/blob/main/photo.jpg

Duplicate of https://github.com/openlayers/openlayers/issues/16381


docs: clean up SRS Section 4.2

Remove stuff from 4.2. - TA said to leave all subheaders in and to say N/A to stay consistent with template
Checking with TA on 4.1.2*

Relates to #14

Asked TA about 4.1.2 - will make changes in a separate PR if necessary


revise mirage_net interface

remove unused writev (unsure about this, nobody called it though)
provide mtu : t -> int
provide allocate_frame : t -> buffer
remove type page_aligned_buffer

//cc @mirage/core
The new model in respect to allocation of network frames: let the lowest layer do it, it knows best which MTU and alignment characteristics it needs. On the way we can remove io_page from higher layers - but a mirage-net-xen will hand out properly page-aligned frames - unfortunately I don't know of a good way to ensure whatever buffer write gets was previously allocated by allocate_frame (while still allowing arbitrary Cstruct.t operations on the buffer). I plan to add allocate_frame to each layer in the stack: TCP calls IP.allocate_frame, which calls Ethernet.allocate_frame, which calls Netif.allocate_frame, which does the allocation. On the way back the offset is increased for each layer, The write function in each layer encodes its header into the frame and calls write on the lower layer.
PRs

[ ] provider https://github.com/mirage/mirage-net-solo5/pull/26
[ ] provider https://github.com/mirage/mirage-vnetif/pull/24
[ ] provider https://github.com/mirage/mirage-net-unix/pull/44
[ ] provider https://github.com/mirage/mirage-net-macosx/pull/28
[ ] consumer (test) https://github.com/mirage/mirage-tcpip/pull/379
[ ] consumer https://github.com/mirage/ethernet/pull/2
[ ] provider https://github.com/mirage/mirage-net-xen/pull/78

another question while thinking more about it: should the signature rather be allocate_frame : ?requested_size:int -> t -> buffer? This would allow the upper layers to specify a maximum value, and avoid expensive allocation if the mtu is extraordinary large (10k, 65k or similar, i.e. support for jumbo frames)! WDYT?

som notes:

(a) the mtu is not discovered in ocaml-tuntap yet (there's the ioctl TAPSIFINFO available, according to my man tap, but I don't know how other POSIX systems do this, anyone interested in figuring out and updating both tuntap and mirage-net-unix
(b) on Xen I've no idea how to get the mtu, and while looking into mirage-net-xen I'm very unfamiliar with the code, anyone up for adjusting it to the interface changes proposed here?
(c) what is the status of mirage-net-fd and mirage-net-flow? are these libraries actively used and need to be adapted as well? if so, any volunteers?

Requested_size seems fine to me -- the buffer actually allocated may be larger than what is asked for (if there are page size constraints), or smaller (if there are not enough contiguous pages available for dma buffers), so a request seems like a good phrase here.
a) it may be hard to do this portably :-/ if you could open an issue i could take a look, but it might just be better to hardcode some sensible mtu for this setup like 1500
b) xen it is available by looking if the sg feature flag is set in xenstore; if so it is 0xffff (see linux netfront) or otherwise its smaller (need to check the netfront driver).
@jonludlam may know more...
c) i'm not sure -- @djs55, did you do mirage-net-fd?

(0) I added a ?size:int argument to allocate_frame (and updated the PRs)
(a) that is what is currently in mirage-net-unix (1514 to be precise)
(b) would be great if someone does a PR to mirage-net-xen with that
(c) @samoht wrote them according to github

hello, to move forward I developed a PR for mirage-net-xen to comply with this revised interface. This as well contains a hardcoded mtu since I couldn't figure out how to get it from xen -- maybe @jonludlam @djs55 @avsm can take a look at https://github.com/mirage/mirage-net-xen/pull/78
I'd like to merge this rather sooner than later, any further comments to this? /cc @mirage/core

an update on that:

(a) and (b) (mirage-net-flow/mirage-net-fd) don't seem to be used, i talked with dave scott who said they're not used in vpnkit.
the proposed new interface is a bit rubbish (when it comes to lifetime guarantees etc.), modeled after the ip interface of allocate_frame and write. instead, i developed an interface (and pushed it across layers) that contains write : t -> size:int -> (buffer -> unit) -> (unit, error) result io -- with this, the network interface can allocate the buffer, and the provided function fills the buffer (i.e. lifetime of the buffer is strictly limited). i'm in the process to acquire some benchmarks with this new interface and fix up more packages with the new one.
turns out the MTU from a tap device / ethernet interface is 1500 (i.e. MTU without ethernet header), so the implementation has to deal with this
turns out, tuntap etc. can easily provide the mtu information (I've some partially working patches somewhere, will PR soon)

once I'm satisfied with the revised API and benchmarks, I'll followup on mirageos-devel for discussion.

Indeed don't block on the (a) and (b): my goal was to used them in LinuxKit's Mirage SDK to directly read packets from a raw device interface (using ocaml-rawlink) and to be able to do magic fd passing with a raw socket. but I haven't integrated that upstream properly yet. Ideally, we would just provide a mirage-net-raw package and extend the Unix backend to use that new network stack. But well, there is no direct use for this yet :-)

superseeded by #16, thanks for your input!


Enhancement: Dynamic image upload url

Refactored image upload xhr request to target file field attr data-action instead of a hardcoded url.

Did not merge from feature branch.


Proper release pipeline for GORM?

We are using GORM for our production service. However, we have to pin it to latest commits because there is no newer release other than 1.0.
I think GORM should have a proper release process and pipeline setup so changes are properly versioned and documented.

Relate to #1543.

Will start this after v2 release.
Thank you for your report.


Unresolved Dependencies

ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :weixinrecorded.
ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :weixinrecorded.
ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :weixinrecorded.
how to solve this ?

Uploaded a new version

how to solve this?

same error occurred on the new build also.

when I try to rebuild or clean the project, it shows
Unable to find a matching configuration of project :weixinrecorded:

None of the consumable configurations have attributes.


Documentation - Using Factory on Text Input

Description
The documentation (on the website) for "Using ref" where the Factory function is used on a Text Input component needs to be changed.
The example works, BUT if you build upon it, you will run into all sorts of problems involving re-rending, focus issues, loss of state values, etc... I spent the past couple days trying to fix the problem.
If you are having focus lose problems and tried everything... move the Factory OUTSIDE your component function.
As soon as you make NBInput a controlled component you'll have all sorts of problems. Moving it outside Example( ) avoids the component from being re-created every time your state is updated.
Hopefully this helps and I hope to see the documentation adjusted to help others avoid having the same problems.
Thank you for your time and for reading this.
- Logan (a.k.a DarkComet)
Problem Statement
The change is needed for the documentation because it will causes major issues and consequences for those who follow and use them (for this particular example, otherwise documentation is amazing!)
Proposed Solution or API
const NBInput = Factory(TextInput)
This line in the example needs to be moved OUTSIDE the Example( ) function.
const NBInput = Factory(TextInput);

const Example = () => {
  const inputRef = React.useRef(null);
  return <Stack space={4}>
      <NBInput placeholder="Click on the button" ref={inputRef} p="2" borderWidth="1" borderColor="cyan.400" borderRadius="md" _dark={{
      color: "trueGray.200"
    }} />
      <Button colorScheme="emerald" onPress={() => {
      inputRef.current.focus();
    }}>
        Set Focus
      </Button>
    </Stack>;
};

Link: https://docs.nativebase.io/nativebase-factory
Alternatives
No response
Additional Information
Please don't take this as a criticism of Native base. Native base is fantastic and documention is stellar! Thank you for creating and maintaining such an amazing library!

Hi @OfficialDarkComet, Thank you for bringing this to our notice. We will look into it.


Restore test

Feature Request

test_declare_v2_tx

I'd give this a higher priority so it's visible.

Blocked by starknet-sierra-compile executable not being shipped for different platforms in cairo-lang package.
Devnet uses compile_class_hash from cairo-lang.

compiler path can be passed while creating devnet
https://github.com/Shard-Labs/starknet-devnet/releases/tag/v0.5.0a1


On Intermittent mode can the total size in minutes of the upcoming block be reported

Feature request.
I'm trying to use my inverter's  force_charge(minutes) feature along side the intermittent mode to make best use of the cheapest overnight 30 minutes blocks. However my problem is as the 30 minutes blocks can follow each other and would therefore only fire one off->on trigger I can't use a default  of 30 in the force_charge command.  If there was a simple mechanism which reported the current block size then I could use that for the force_charge command and greatly simplify my automation trigger setup, plus reduce the number of commands sent to the inverter.

Just wanted to say sorry for the delay in the addition of this, and it's still on my radar to complete.

Hello! Sorry for the late addition, but this should now be available within the latest release (https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/releases/tag/v5.3.0).

That's fantastic, Thanks Dave


Allow hiding Accounts icon when Activity Bar Position is Top

You can hide any other content in the title bar

You can hide Accounts icon when Activity Bar Position Side

But you can't hide Accounts icon in the title bar when Activity Bar Position Top

Recap: https://github.com/microsoft/vscode/issues/118692#issuecomment-1790357664
Version: 1.84.0
Commit: d037ac076cee195194f93ce6fe2bdfe2969cc82d
Date: 2023-11-01T11:29:04.398Z (1 day ago)
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.84.0 Chrome/114.0.5735.289 Electron/25.9.2 Safari/537.36

1.86.2, still not fixed.

@noisnemid when/if this gets implemented the issue will be updated and closed.

Added support for hiding accounts action in the title bar when right clicking on it.


Advanced Configuration does not exist for the "infrequent country" policy

Quote from the doc:
"For example, you can customize the infrequent country policy to only alert successful sign-ins from locations that were not recently visited by any user in your organization. You can achieve this by editing the policy and under Advanced configuration, set Analyze sign-in activities to one of the successful sign-in options."
There is no "Advanced Configuration" in the infrequent country, there is no way to tune it. Same for "impossible travel", you can change the sensitivity, but there is no "Advanced Configuration" where you can select "successful sign-ins" or "Failed Logon".

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

ID: a4e03e45-c169-67b4-b0f1-03597040bf0d
Version Independent ID: 197ab35b-a26a-c186-8949-d1828303ca9f
Content: Detect suspicious user activity with behavioral analytics (UEBA) tutorial
Content Source: CloudAppSecurityDocs/tutorial-suspicious-activity.md
Service: defender-for-cloud-apps
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thanks for your comment. We'll investigate and get back to you.

Thanks again for your comment. We've updated the doc.


Fixes

With npm link this passed our graphql test suite

Current coverage is 95.53% (diff: 90.00%)

No coverage report found for master at 2bb26e3.

Powered by Codecov. Last update 2bb26e3...781e425

@mickhansen Ready for review

1.4.3


moveit_task_constructor: 0.1.2-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository moveit_task_constructor to 0.1.2-1:

upstream repository: https://github.com/ros-planning/moveit_task_constructor.git
release repository: https://github.com/ros-gbp/moveit_task_constructor-release.git
distro file: noetic/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.1.1-1

moveit_task_constructor_capabilities

No changes

moveit_task_constructor_core
* Remove moveit/__init__.py during .deb builds to avoid installation conflicts
* MultiPlanner solver (#429 <https://github.com/ros-planning/moveit_task_constructor/issues/429>): a planner that tries multiple planners in sequence

    * CartesianPath: Deprecate redundant property setters
    * PlannerInterface: provide "timeout" property
    * PlannerInterface: provide setters for properties

* JointInterpolation: fix timeout handling
* Contributors: Robert Haschke

moveit_task_constructor_demo
* CartesianPath: Deprecate redundant property setters (#429 <https://github.com/ros-planning/moveit_task_constructor/issues/429>)
* Contributors: Robert Haschke

moveit_task_constructor_msgs

No changes

moveit_task_constructor_visualization

No changes

rviz_marker_tools
* Fix marker creation: allow zero scale for geometric shapes (#430 <https://github.com/ros-planning/moveit_task_constructor/issues/430>)
* Contributors: Robert Haschke

This should hopefully fix the build errors with moveit_task_constructor on the build farm.
We are switching to namespaced python packages with MoveIt, which means that multiple packages install to <prefix/lib/python3/dist-packages/moveit/__init__.py. This causes conflicts when installing the corresponding .debs.
Is there a standard solution to solve that issue? I just deleted the offending file during the .deb build process for now.

Holding for Noetic sync

Holding for Noetic sync

As the previous release of moveit_task_constructor is broken on the build farm, do you plan to sync w/o it? This is fine with me, I just wanted to point it out.

Is there any solution to this problem I am still facing the broken package problem

Version 1.3. of MTC is not yet synced. Consider using the debian packages from the ROS testing repo or build from source if you need a quick solution.


docs: split hello world tutorial into two (send and receive)

Resolves https://github.com/asyncapi/website/issues/993 and comment by @derberg via https://github.com/asyncapi/website/issues/993#issuecomment-2107157893.

what happens with https://github.com/asyncapi/website/blob/master/markdown/docs/tutorials/getting-started/hello-world.md tutorial? shouldn't one of new once replace it with same filename but different title (asking because of dead links)

There would no longer be that link.
Instead, we would have two new links that help differentiate the two hello world tutorials in this section.
As for dead links, I will make sure to check for any. But first we need to get this PR reviewed :D

then we need redirect from old link to a new one, for external resources that link to the current document, to not cause dead links

Oh, right! I forgot, thanks for reminding me. smh 🤦♀
Can you remind/tell me where I should be adding the redirect links? I remember before I did it for the spec docs, but this is the website repo and I'm unsure. 🫤
@derberg

here: https://github.com/asyncapi/website/blob/master/public/_redirects

/update

@quetzalliwrites @derberg Any update on this PR?


Don't overwrite overflow property

Allow users to overwrite default auto value of overflow property:
const defaultConfig = {
  boxStyle: {
    overflow: 'initial'
  }
};

const infoBox = new InfoBox(defaultConfig);

@agudulin the problem with changing the infobox lib is that, this is a copy of the lib wrapped for commonjs, but if I update the lib version on day it will be hard to maintain all the changes done in the lib

@lucasfs7 sorry, didn't get it quite right.
I have introduced new logic in the original library (infobox-lib.js), and then executed gulp script to get a commonjs version.
So both files are updated.
Or is there one more copy of this library somewhere? :)


Updating files to take Post-Processing plugin

Addresses metoppv/mo-blue-team#299
Description
Updates landsea regridding and apply-lapse-rate files to use Post-Processing plugin
Testing:

[x] Ran tests and they passed OK

@mspelman07 The commits listed under the commits tab aren't being automatically associated with your github username. I'd suggest adding the email address you use for commits as a secondary email address to your github account so that they do get properly associated. See the github help pages for info on how to do this in your settings.


feat(styles): list styles

Codecov Report

Merging #1450 (34c71bc) into master (ab917b0) will increase coverage by 0.36%.
The diff coverage is 63.79%.

@@            Coverage Diff             @@
##           master    #1450      +/-   ##
==========================================
+ Coverage   54.85%   55.21%   +0.36%
==========================================
  Files          49       72      +23
  Lines        1659     2903    +1244
  Branches      406      765     +359
==========================================
+ Hits          910     1603     +693
- Misses        671     1191     +520
- Partials       78      109      +31

Impacted Files
Coverage Δ

src/components/sbb-clock/sbb-clock.tsx
0.00% <0.00%> (ø)

src/components/sbb-logo/sbb-logo.tsx
0.00% <ø> (ø)

src/components/sbb-menu-action/sbb-menu-action.tsx
65.21% <ø> (ø)

src/components/sbb-menu/sbb-menu.tsx
25.89% <ø> (ø)

...ents/sbb-pearl-chain-time/sbb-pearl-chain-time.tsx
100.00% <ø> (ø)

...in-vertical-item/sbb-pearl-chain-vertical-item.tsx
93.75% <ø> (ø)

...-pearl-chain-vertical/sbb-pearl-chain-vertical.tsx
100.00% <ø> (ø)

src/components/sbb-pearl-chain/sbb-pearl-chain.tsx
67.74% <ø> (-3.69%)
:arrow_down:

.../sbb-radio-button-group/sbb-radio-button-group.tsx
20.22% <ø> (ø)

...c/components/sbb-radio-button/sbb-radio-button.tsx
51.92% <ø> (ø)

... and 51 more

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


ORM integration

Adds support for mapping value -> order in querysets

Codecov Report

Merging #63 into develop will increase coverage by 0.18%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop      #63      +/-   ##
===========================================
+ Coverage    96.36%   96.55%   +0.18%
===========================================
  Files            1        1
  Lines          110      116       +6
  Branches        16       17       +1
===========================================
+ Hits           106      112       +6
  Misses           3        3
  Partials         1        1

Impacted Files
Coverage Δ

djchoices/choices.py
96.55% <100%> (+0.18%)
:arrow_up:

Continue to review full report at Codecov.

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

Coverage increased (+0.1%) to 97.521% when pulling 117a08a865bb39c252f80026e28c7e44df7c3678 on sergei-maertens:feature/orm-integration into 7cb6c0eb6cec9e972866c7fe3595f65e37315dc6 on bigjason:develop.

Coverage increased (+0.1%) to 97.521% when pulling 117a08a865bb39c252f80026e28c7e44df7c3678 on sergei-maertens:feature/orm-integration into 7cb6c0eb6cec9e972866c7fe3595f65e37315dc6 on bigjason:develop.


update range-v3 to 0.4.0-01ccd0e5-p0

I've followed this guide
step by step carefully. [Yes]

I've tested this package remotely and have excluded all broken builds.
Here is the links to the Travis/AppVeyor with status "All passed":

https://ci.appveyor.com/project/dvirtz/hunter/builds/23349554
https://travis-ci.org/dvirtz/hunter/builds/511191493

Testing:

https://ci.appveyor.com/project/ingenue/hunter/builds/23368627
https://travis-ci.org/ingenue/hunter/builds/511514742?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/builds/23370230
https://travis-ci.org/ingenue/hunter/builds/511539531?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.23.143

Thanks
On Tue, Mar 26, 2019, 18:14 Ruslan Baratov<EMAIL_ADDRESS>wrote:

Released: https://github.com/ruslo/hunter/releases/tag/v0.23.143
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ruslo/hunter/pull/1796#issuecomment-476725854, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHTojdbHC1MTVuOGSpU6-2dtTkSOS76xks5vakdqgaJpZM4cLHoJ
.


Compile multiple svelte app with snowpack?

I have 2 svelte apps running on different endpoint, is it possible to use snowpack to build both of them? Would be great if anyone could provide with example.

Yes! Snowpack has a --config flag, so you could run snowpack build --config [app A]/snowpack.config.js && snowpack build --config [appB]/snowpack.config.js for a production build.
You could also use the concurrently package along with the --config and --watch flags to watch 2 apps simultaneously (or more!).
As per the issue template, we like like to keep questions in the Discussions tab up top so I’m closing this. Please feel free to open up a discussion there if you’d like more info.


Dart analysis server should provide code completion to write method

Would be nice to have the option to generate a method fitting to an attribute via code completion.
For example: in the screenshot placing the cursor after itemBuilder: and press Ctrl+Space only shows generic options.
Would be nice to allow to:
1.) Create a fitting method
2.) Generate a lambda expression with the expected parameters.

I guess the sdk needs to do this so that @DanTup gets this in Dart code.

Being able to complete with a closure of the appropriate form makes sense to me. I know that @pq was looking at this area recently, but I don't know whether this case has been fixed.
Creating a method seems outside the normal scope of code completion because it requires further user interaction (providing a name). That said, you could complete to a closure (when we have that) and then use the "Extract Method" refactoring to turn that closure into a method. You could also type the name of the method and use the "Create method" assist (although I just found a bug in the assist while making sure that was an option).

Being able to complete with a closure of the appropriate form makes sense to me.

That would be the main request.

Creating a method seems outside the normal scope of code completion

+1

Being able to complete with a closure of the appropriate form makes sense to me.

In the latest SDK, we've got at least the start of that:

@vogella: is this a step in the right direction?

@pq this is awesome. Which channel is this in? flutter channel dev?

I believe it's in dev.  (It's definitely in tip of Flutter trunk.)

Don't see it after switching the channel

Ah, ok.  Sorry.  Looks like it's not there yet.  It should be in the next roll for sure.

Thanks. Looking forward to it
Phil Quitslund<EMAIL_ADDRESS>schrieb am Mi., 19. Feb. 2020,
21:54:

Ah, ok. Sorry. Looks like it's not there yet. It should be in the next
roll for sure.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/40680?email_source=notifications&email_token=AABCFBWYTNX44G5WNSL4IQDRDWL6ZA5CNFSM4KXXTG72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMJRUPQ#issuecomment-588454462,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABCFBT2UOPDODUEK2FCKR3RDWL6ZANCNFSM4KXXTG7Q
.

This appears to be working, so I'm going to close it.

This appears to be working, so I'm going to close it.


port to python?

I saw that you wanted to port it to Python but decided against it, so I thought I'd just give it a try and ended up here. Unfortunately I don't have the opportunity to test it right now. I hope you can do something with it, if you have any questions, just ask :)

I would be happy to test your code

Requirements VS Code for Development https://code.visualstudio.com/

Plugin Jupiter Notebook, Phyton
Install Phyton https://www.python.org/

cmd
pip install certifi
pip install requests
python.exe -m pip install --upgrade pip
Open VS Code
STRG + Schift + P
Create: New Jupiter Notebook
Paste the code into the box and run it, in my case Phyton crashes. So you need more development time, but the code looks good.


fix for #200, upload files from shortcut

Fixing the error that was causing "Cannot read property 'fsPath' of null" error initiated from keyboard shortcut

Yesterday's VS-Code refresh breaks this library.  This PR fixes the problem.  FYI...

@liximomo Thanks, added there too!

@gergokoos Nice work. I will merge it and publish an update.


Android dependency repos publishing

 Issue by idokleinman
Tuesday Mar 03, 2015 at 18:21 GMT
Originally opened as https://github.com/spark/mobile-sdk-ios/issues/62

Publish an AAR (Android Archive)
to:

JCenter (bintray)
Maven Central

cc: @jensck @towynlin

 Comment by jensck
Tuesday Mar 03, 2015 at 18:40 GMT

(Clarified description)


stocks to use notebook: specify frequency id in API call

API was throwing an error because frequency_id was not included

Worked for me! Looks like we removed the sample outputs, could those be added back? I think that's ideal for when the notebook is viewed from the showcase

ah, yeah. I am re-running now and will update with the ouput


Updating to run on a local envs

Changing utils.utils import * to utils import *
Changing line 74 argmax to np.argmax
adding main if name == "main":
Finally runs on Mac OS x 10.12

Currently if you execute
~/GitHub/reinforcement-learning-an-introduction$ python chapter02/TenArmedTestbed.py
It works well under macOS 10.12.3 (my os)
So I didn't see strong motivation to make the change


Can't pass arguments to page.evaluate

I'm trying to pass a parameter to page.evaluate but parameter is not being sent
var message = "Hello";
page.evaluate(function(message){
document.getElementsByClassName("compose-message")[0].value = message;
});
message is not readable, any idea how to get it working or if I'm missing something?

You're defining an anonymous function but not calling it. I'm not sure what the correct way to do this is.

evaluate doesn't take a parameter. You could just use message.

@amir20 but message is not visible in evaluate. How can I use a variable declared outside of evaluate function?

message is visible. It's called closures in javascript. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures I won't go in too much detail here. Put a question on stackoverflow :) Goodluck.

@amir20 I understand closures, thanks anyways :)

@AboulEinein This should work for you, but be aware that properties of config that are not 'primitives' will be stripped and consequently undefined inside page.evaluate
var config = {message: 'hello world'};
page.evaluate(
function (evalConfig) {
    console.log(evalConfig.message);
},
function () {},
config);


Parser moduleOrder Modification Bug - Weird DoT Uptime, Language Hijinx, Etc.

Parser runs a sort operation on moduleOrder on the second line of generateResults(). Parser should be making a shallow copy of moduleOrder before running sort, or sorting directly into a new array.
This probably wouldn't be a major bug, since you're generally done running operations when Parser is generating its results... but what if you're not?
Enter language switching. (And bad assumptions in Analyse. Mostly that.)
Analyse is updating way too often. Changing a language can end up running Analyse's full update path three times because of the language loading state propagating through the app.
So, bad stuff happens. You end up with the fetchEventsAndParse method running multiple times in parallel, at different stages. The function, and Analyse overall, is not designed for this. The parser is saved to Analyse's state. At the end of the function, Analyse's state is updated to have complete: true. Which is great.
Except that, by then, parser has changed and when Analyse calls getParserResults(), which calls the parser's generateResults(), Parser sorts moduleOrder and messes up whatever was still running at that point. Like normalise.
In JavaScript, Array iterators do not take a snapshot of the Array. Because the order of moduleOrder suddenly changes mid-execution, Parser ends up potentially skipping some Modules' normalise() methods entirely while running others multiple times.
Fixes:

Never alter a Parser's moduleOrder once the value has been initialized.
Stop making multiple Parsers and updating Analyse at the drop of a hat.

Fixes pushed. Analyser does a few checks before it decides it should perform a re-parse, but a bad comparison was causing it to be super trigger happy. It should now only ever refresh if it actually needs to load a new report - language changes propagate w/o re-running the parse.
And that fix for the display order is in place. Probably just a logic lapse, too used to arrays copying by value in PHP :blobsweat:.


Design the UI of multiple choice voting in Lite: Deadline March 6

Description (what needs to be done) / Expected Behavior
Design the UI of multiple choice voting in Lite: Deadline March 6
Coding notes:
User can delete any of the options
User cannot proceed if there are not 2 or more options written
with validation message - minimum 2 options required
Acceptance Criteria
Supporting information (Figma link, notes, etc)
Fabiola's task for coding this
https://app.zenhub.com/workspaces/tezos-homebase-63238426ddf385159a4c4b12/issues/gh/dorgtech/homebase-app/501
When finished, please add Link to the PR or completed Figma / design asset, as a comment to the ticket.


unit tests for do_set_request cause segmentation fault

In unit tests for dripline.core.Endpoint, for its method on_set_request():
In tests test_do_set_request_valid_specifier(), test_do_set_request_invalid_specifier():

expected: AssertionError being raised due to the problem discussed in another issue
actual: a segmentation fault occurs at the place where the AssertionError is supposed to be raised. It might not happen when the method is run for the first time, but would definitely happen if it is run for more than once.

In test test_do_set_request_no_specifier():

expected: it passes all assertions and nothing happens.
actual: a segmentation fault occurs at the end of the function, after passing every assertion.

It isn't yet clear if this is an actual bug, or something related to the behavior of running within the testing framework. I'll need to dig into this to either work around details of how pytest works, or identify an issue if it is in dripline-cpp

There was a bug in the python bindings for scarab, resolved in: https://github.com/project8/scarab/pull/66. That's been merged into develop in dripline-cpp and we just await a release to update here.

resolved/merged/released


initial setup issue

Hello.
Trying to setup a Hauk instance for the first time, I am greeted with a big popup when I try to connect from the Android app :
"Server error
<?php

//This script handles session
initiation for Hauk clients. It creates
a session
// ID and associated share URL, and
return these to the client.
...
...
..."

Where should I start looking to solve this?

Thanks

Which OS? PHP? Steps you took?

ubuntu 20.04, apache, I followed the "manual" installation guide, copying the files from the 2 specified folders to the webroot. I can see the landing page fine.

Never mind, my bad.

What was the fix?

 install PHP


2029 followups

The build is failing due to a JRuby bug that I'm attempting to work around in rspec/rspec-support#225.

OK, this is green now.  /cc @JonRowe

LGTM!


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in 5bb3ad3.


ion-searchbar doesn't emit ionCancel event

Bug Report
Ionic Info
<EMAIL_ADDRESS>
Describe the Bug
ion-searchbar doesn't emit ionCancel event. Typings are there, but doesn't actually emit an event.
Steps to Reproduce
Steps to reproduce the behavior:

Create new ion-searchbar element
add event listener to the element 'ionCancel'
type something in
tap cancel (ios) or tap back arrow (android)

Related Code
https://codepen.io/corysmc/pen/EevgMa
Expected Behavior
onCancel event emitted.
Additional Context
Notice in the codepen that other events are emitted as expected.

If you add the event (ionCancel) in Angular it does not work either.


Add test against latest go version

Add go1.21 to test matrix

Resolved in https://github.com/bank-vaults/vault-sdk/pull/285


Soap SSL

Is it possible to define the SSL connection with Pkcs11Interop? I couldn't find anything about it in the C # codes. Can someone help me?

Theoretically it is possible if you're willing to write a full SSL stack yourself. But highly doubt anyone would want to do that.

Closing because of 14+ days without a response.


Added helper that can be used for simple tables

This PR adds a helper that makes it possible to render a table without writing any JavaScript. It's very limited in it's functionality but it can be expanded in the future with some secret sauce.
To use,
{{light-table (table columns (get data '[]'))}}

TODO

[x] Created table helper
[x] Added simple unit test for test helper
[x] Added integration test to show helper working
[ ] Documentation

@taras I think we can released this now that enableSync has been released.
{{light-table (table columns (get data '[]') enableSync=true)}}

:bellhop_bell: :grin:

I think this is a pretty dangerous route since ever time the helper will recompute, it will create a new table instance which will reset the table's entire state. That can be pretty hellish to debug....
Proposed Change
{{light-table (table columns (get data '[]') enableSync=true)}}

export default Ember.Helper.extend({
  table: null,

  compute([columns = [], data = []), hash) {
    let table = this.get('table');

    if (!table) {
      table = new Table(columns, data, hash);
      this.set('table', table);
      return table;
    }

    // We still lose the column's state here
    // Maybe we can do a diff here to see what changed?
    table.setColumns(columns);
    table.setRows(data);

    return table;
  }
});


Add new functions to manage user groups

Also, please add a changelog entry.

I assume you have tested this locally and confirmed it works as expected.

Yes, used the new functionality to add a user to a group within a workspace I manage.


GKE Autopilot cluster is replaced without any changes being made to the cluster

What happened?
I have a pulumi script that provisions a GKE autopilot cluster. When creating or updating unrelated resources the diff says I am removing the dns config from the gke cluster which triggers the cluster to be replaced. On replacement, the old cluster is not actually deleted so now I have multiple clusters provisioned.
Expected Behavior
I expect the cluster to not be replaced given it's not being updated. When the cluster is changed, I expect for the old cluster to be deprovisioned.
Steps to reproduce
Run pulumi up with the files below. Then provision a bucket and run pulumi up again.
gke_cluster.ts
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
import * as k8s from "@pulumi/kubernetes";

export function provisionGkeCluster() {
  // Import the provider's configuration settings.
  const gcpConfig = new pulumi.Config("gcp");
  const gcpRegion = gcpConfig.require("region");

  const gkeConfig = new pulumi.Config("gke");
  const clusterName = gkeConfig.require("clusterName");
  const minMasterVersion = gkeConfig.require("minVersion");

  const cluster = new gcp.container.Cluster(
    clusterName,
    {
      enableAutopilot: true,
      location: gcpRegion,
      minMasterVersion,
      releaseChannel: {
        channel: "STABLE",
      },
    },
    {
      ignoreChanges: ["verticalPodAutoscaling"], // beacuse we are using autopilot verticalPodAutoscaling is handle by the GCP
    }
  );

  const kubeconfig = pulumi
    .all([cluster.name, cluster.endpoint, cluster.masterAuth])
    .apply(([name, endpoint, masterAuth]) => {
      const context = `${gcp.config.project}_${gcp.config.zone}_${name}`;
      return `apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: ${masterAuth.clusterCaCertificate}
    server: https://${endpoint}
  name: ${context}
contexts:
- context:
    cluster: ${context}
    user: ${context}
  name: ${context}
current-context: ${context}
kind: Config
preferences: {}
users:
- name: ${context}
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      command: gke-gcloud-auth-plugin
      installHint: Install gke-gcloud-auth-plugin for use with kubectl by following
        https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
      provideClusterInfo: true
`;
    });

  const clusterProvider = new k8s.Provider(clusterName, {
    kubeconfig: kubeconfig,
  });
  return {
    clusterName: cluster.name,
    cluster,
    kubeconfig,
    clusterProvider,
  };
}

index.ts
import { provisionGkeCluster } from "./gke_cluster";

export const gkeCluster = provisionGkeCluster();

Output of pulumi about
CLI
Version      3.77.1
Go Version   go1.20.6
Go Compiler  gc
Plugins
NAME        VERSION
docker      4.3.1
docker      4.2.3
gcp         6.62.0
gcp         6.61.1
github      5.15.0
kubernetes  4.1.1
nodejs      unknown
random      4.13.2
random      4.0.0
Host
OS       darwin
Version  13.5
Arch     arm64
This project is written in nodejs: executable='/Users/victorgarcia/.nvm/versions/node/v20.4.0/bin/node' version='v20.4.0'
Backend
Name           pulumi.com
URL            https://app.pulumi.com/vmg-dev
User           vmg-dev
Organizations  vmg-dev
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hey @vmg-dev. Thanks for opening this issue and providing the full code for the cluster. If you run your example with pulumi up && pulumi preview --expect-no-changes, do you still observe changes, or is it only when provisioning an additional resource?

@iwahbe I found a workaround so I can't reproduce it anymore but if I remember correctly, yes it would detect a change to dns settings.
The problem has something to do with defaults in GCP for DNS.
My fix was to manually set the dns like below
  const cluster = new gcp.container.Cluster(
    clusterName,
    {
      enableAutopilot: true,
      location: gcpRegion,
      minMasterVersion,
      releaseChannel: {
        channel: "STABLE",
      },
      dnsConfig: {
        clusterDns: "CLOUD_DNS", // Using Google Cloud DNS
        clusterDnsDomain: "cluster.local", // Default DNS domain
        clusterDnsScope: "CLUSTER_SCOPE", // Default DNS scope
      },
    },
    {
      ignoreChanges: ["verticalPodAutoscaling"], // beacuse we are using autopilot verticalPodAutoscaling is handle by the GCP
    }
  );

I'm new to pulumi so I realize it might have even been better to have dnsConfig in the ignoreChanges list

The essence of this bug is that if you explicitly set dnsConfig to the default values, a diff will be permanently shown: even if pulumi up completes successfully, on the next run the diff is still there. It also has the effect of triggering a cluster recreation in some cases.
Examples:
dnsConfig: {}

or
dnsConfig: {
  clusterDns: "PROVIDER_UNSPECIFIED",
  clusterDnsScope: "DNS_SCOPE_UNSPECIFIED",
}

@iwahbe When can we expect a fix ? A change like this is necessary to enable orderly config migrations. Here's what we have in production:
  dnsConfig: args.enableCloudDns
    ? {
        clusterDns: "CLOUD_DNS",
        clusterDnsScope: "CLUSTER_SCOPE",
      }
    : {
        clusterDns: "PROVIDER_UNSPECIFIED",
        clusterDnsScope: "DNS_SCOPE_UNSPECIFIED",
      },


Create a chart for all of the config flow cases

Request comes in, user asks for 200, does 200 exist? Yes -> this happens, no -> this happens. Etc.
Generate a diagram (for public consumption) of the data flow of requests coming into the mock (prism) server.  Flow chart like with the various paths.

I think we have this already @philsturgeon @chris-miaskowski , right?

https://github.com/stoplightio/prism/blob/master/packages/http/docs/images/mock-server-dfd.png

Cool, very useful :-)
Next question: is the source for this diagram available? I'm hoping there is a Graph Markup Language (graphml) or similar source that I can use.

@judgej I think @chris-miaskowski has the sources somewhere

It’s lucid chart not makeup based. Those are great for prototyping and “sketching” but for this sort of diagram you usually end up needing to use a more visual tool for something pretty enough to put in front of users.
--
Phil Sturgeon
@philsturgeon

On Jul 9, 2019, at 17:05, Vincenzo Chianese<EMAIL_ADDRESS>wrote:
@judgej I think @chris-miaskowski has the sources somewhere
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


HTTP Proxy Hangs: HTTP Connection Management Configuration

Title: Envoy is not proxying HTTP requests based on the domain. Curl cmd hang indefinitely
Description:

I've configure Envoy using ADS to proxy all HTTP connections and route the request based on the domain name. However, the HTTP connection seems to hang indefinitely when i test it with curl/httpie.

I should also note that for each "cluster", I have a TCP Listener and the HTTP Manager pointing to them.
Any suggestions?
Terminal
# curl -v video-scheduler.service.consul.westeros-master.uhana.io:5555
* Rebuilt URL to: video-scheduler.service.consul.westeros-master.uhana.io:5555/
*   Trying <IP_ADDRESS>...
* Connected to video-scheduler.service.consul.westeros-master.uhana.io (<IP_ADDRESS>) port 5555 (#0)
> GET / HTTP/1.1
> Host: video-scheduler.service.consul.westeros-master.uhana.io:5555
> User-Agent: curl/7.47.0
> Accept: */*
>
[ hangs indefinitely... ]

Envoy trace Logs
[2018-08-03 18:21:41.922][46][debug][main] source/server/connection_handler_impl.cc:217] [C36] new connection
[2018-08-03 18:21:41.922][46][trace][connection] source/common/network/connection_impl.cc:389] [C36] socket event: 3
[2018-08-03 18:21:41.922][46][trace][connection] source/common/network/connection_impl.cc:457] [C36] write ready
[2018-08-03 18:21:41.922][46][trace][connection] source/common/network/connection_impl.cc:427] [C36] read ready
[2018-08-03 18:21:41.922][46][trace][connection] source/common/network/raw_buffer_socket.cc:23] [C36] read returns: 124
[2018-08-03 18:21:41.922][46][trace][connection] source/common/network/raw_buffer_socket.cc:23] [C36] read returns: -1
[2018-08-03 18:21:41.922][46][trace][connection] source/common/network/raw_buffer_socket.cc:31] [C36] read error: 11
[2018-08-03 18:21:41.922][46][trace][http] source/common/http/http1/codec_impl.cc:341] [C36] parsing 124 bytes
[2018-08-03 18:21:41.922][46][trace][http] source/common/http/http1/codec_impl.cc:439] [C36] message begin
[2018-08-03 18:21:41.922][46][debug][http] source/common/http/conn_manager_impl.cc:191] [C36] new stream
[2018-08-03 18:21:41.923][46][trace][http] source/common/http/http1/codec_impl.cc:309] [C36] completed header: key=Host value=video-scheduler.service.consul.westeros-master.uhana.io:5555
[2018-08-03 18:21:41.923][46][trace][http] source/common/http/http1/codec_impl.cc:309] [C36] completed header: key=User-Agent value=curl/7.54.0
[2018-08-03 18:21:41.923][46][trace][http] source/common/http/http1/codec_impl.cc:405] [C36] headers complete
[2018-08-03 18:21:41.923][46][trace][http] source/common/http/http1/codec_impl.cc:309] [C36] completed header: key=Accept value=*/*
[2018-08-03 18:21:41.923][46][trace][http] source/common/http/http1/codec_impl.cc:426] [C36] message complete
[2018-08-03 18:21:41.923][46][debug][http] source/common/http/conn_manager_impl.cc:848] [C36][S17487243197426659549] request end stream
[2018-08-03 18:21:41.923][46][debug][http] source/common/http/conn_manager_impl.cc:488] [C36][S17487243197426659549] request headers complete (end_stream=true):
':authority', 'video-scheduler.service.consul.westeros-master.uhana.io:5555'
':path', '/'
':method', 'GET'
'user-agent', 'curl/7.54.0'
'accept', '*/*'

[2018-08-03 18:21:41.923][46][trace][http] source/common/http/http1/codec_impl.cc:362] [C36] parsed 124 bytes
[2018-08-03 18:21:41.923][46][trace][connection] source/common/network/connection_impl.cc:232] [C36] readDisable: enabled=true disable=true
[2018-08-03 18:21:41.923][46][trace][connection] source/common/network/connection_impl.cc:389] [C36] socket event: 2
[2018-08-03 18:21:41.923][46][trace][connection] source/common/network/connection_impl.cc:457] [C36] write ready
[2018-08-03 18:21:43.329][30][debug][main] source/server/server.cc:119] flushing stats
[2018-08-03 18:21:44.899][46][trace][connection] source/common/network/connection_impl.cc:389] [C36] socket event: 6
[2018-08-03 18:21:44.899][46][debug][connection] source/common/network/connection_impl.cc:410] [C36] remote early close
[2018-08-03 18:21:44.899][46][debug][connection] source/common/network/connection_impl.cc:133] [C36] closing socket: 0
[2018-08-03 18:21:44.899][46][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=1)
[2018-08-03 18:21:44.899][46][debug][main] source/server/connection_handler_impl.cc:50] [C36] adding to cleanup list
[2018-08-03 18:21:44.899][46][trace][main] source/common/event/dispatcher_impl.cc:126] item added to deferred deletion list (size=2)
[2018-08-03 18:21:44.899][46][trace][main] source/common/event/dispatcher_impl.cc:52] clearing deferred deletion list (size=2)
[2018-08-03 18:21:45.678][51][debug][main] source/server/connection_handler_impl.cc:217] [C37] new connection
[2018-08-03 18:21:45.678][51][trace][connection] source/common/network/connection_impl.cc:389] [C37] socket event: 3
[2018-08-03 18:21:45.678][51][trace][connection] source/common/network/connection_impl.cc:457] [C37] write ready
[2018-08-03 18:21:45.678][51][trace][connection] source/common/network/connection_impl.cc:427] [C37] read ready
[2018-08-03 18:21:45.678][51][trace][connection] source/common/network/raw_buffer_socket.cc:23] [C37] read returns: 124
[2018-08-03 18:21:45.678][51][trace][connection] source/common/network/raw_buffer_socket.cc:23] [C37] read returns: -1
[2018-08-03 18:21:45.678][51][trace][connection] source/common/network/raw_buffer_socket.cc:31] [C37] read error: 11
[2018-08-03 18:21:45.678][51][trace][http] source/common/http/http1/codec_impl.cc:341] [C37] parsing 124 bytes
[2018-08-03 18:21:45.678][51][trace][http] source/common/http/http1/codec_impl.cc:439] [C37] message begin
[2018-08-03 18:21:45.678][51][debug][http] source/common/http/conn_manager_impl.cc:191] [C37] new stream
[2018-08-03 18:21:45.678][51][trace][http] source/common/http/http1/codec_impl.cc:309] [C37] completed header: key=Host value=video-scheduler.service.consul.westeros-master.uhana.io:5555
[2018-08-03 18:21:45.678][51][trace][http] source/common/http/http1/codec_impl.cc:309] [C37] completed header: key=User-Agent value=curl/7.54.0
[2018-08-03 18:21:45.678][51][trace][http] source/common/http/http1/codec_impl.cc:405] [C37] headers complete
[2018-08-03 18:21:45.678][51][trace][http] source/common/http/http1/codec_impl.cc:309] [C37] completed header: key=Accept value=*/*
[2018-08-03 18:21:45.678][51][trace][http] source/common/http/http1/codec_impl.cc:426] [C37] message complete
[2018-08-03 18:21:45.678][51][debug][http] source/common/http/conn_manager_impl.cc:848] [C37][S5820302744768221260] request end stream
[2018-08-03 18:21:45.678][51][debug][http] source/common/http/conn_manager_impl.cc:488] [C37][S5820302744768221260] request headers complete (end_stream=true):
':authority', 'video-scheduler.service.consul.westeros-master.uhana.io:5555'
':path', '/'
':method', 'GET'
'user-agent', 'curl/7.54.0'
'accept', '*/*'

[2018-08-03 18:21:45.678][51][trace][http] source/common/http/http1/codec_impl.cc:362] [C37] parsed 124 bytes

Envoy /config_dump summary
{
 "configs": {
  "listeners": {
   "@type": "type.googleapis.com/envoy.admin.v2alpha.ListenersConfigDump",
   "version_info": "version-<IP_ADDRESS>-108",
   "dynamic_active_listeners": [
    {
     "version_info": "version-<IP_ADDRESS>-104",
     "listener": {
      "name": "westeros-master-main-http-proxy",
      "address": {
       "socket_address": {
        "address": "<IP_ADDRESS>",
        "port_value": 5555
       }
      },
      "filter_chains": [
       {
        "filters": [
         {
          "name": "envoy.http_connection_manager",
          "config": {
           "stat_prefix": "main_http",
           "rds": {
            "route_config_name": "westeros-master",
            "config_source": {
             "ads": {}
            }
           },
           "filters": {},
           "codec_type": "HTTP1"
          }
         }
        ]
       }
      ]
     },
     "last_updated": "2018-08-03T18:21:26.564Z"
    },
...
  "routes": {
   "@type": "type.googleapis.com/envoy.admin.v2alpha.RoutesConfigDump",
   "dynamic_route_configs": [
    {
     "version_info": "version-<IP_ADDRESS>-109",
     "route_config": {
      "name": "westeros-master",
      "virtual_hosts": [
      ...
       {
        "name": "http-video-scheduler",
        "domains": [
         "video-scheduler:5555",
         "video-scheduler.service.consul:5555",
         "video-scheduler.service.consul.westeros-master.uhana.io:5555",
         "video-scheduler.westeros-master.uhana.io:5555",
         "video-scheduler",
         "video-scheduler.service.consul",
         "video-scheduler.service.consul.westeros-master.uhana.io",
         "video-scheduler.westeros-master.uhana.io"
        ],
        "routes": [
         {
          "match": {
           "prefix": "/"
          },
          "route": {
           "cluster": "video-scheduler-westeros-master"
          }
         }
        ]
       },
    ....
  "clusters": {
   "@type": "type.googleapis.com/envoy.admin.v2alpha.ClustersConfigDump",
   "version_info": "version-<IP_ADDRESS>-106",
   "dynamic_active_clusters": [
    {
     "version_info": "version-<IP_ADDRESS>-102",
     "cluster": {
      "name": "video-scheduler-westeros-master",
      "type": "EDS",
      "eds_cluster_config": {
       "eds_config": {
        "ads": {}
       }
      },
      "connect_timeout": "5s",
      "load_assignment": {
       "cluster_name": "video-scheduler-westeros-master",
       "endpoints": [
        {
         "lb_endpoints": [
          {
           "endpoint": {
            "address": {
             "socket_address": {
              "address": "<IP_ADDRESS>",
              "port_value": 29786
             }
            }
           }
          },
          {
           "endpoint": {
            "address": {
             "socket_address": {
              "address": "<IP_ADDRESS>",
              "port_value": 28249
             }
            }
           }
          }
         ]
        }
       ]
      }
     },
     "last_updated": "2018-08-03T18:21:26.361Z"
    },
...

The issue was that the http_filters was not set in the http_connection_manager configuration:
"http_filters": {
            "name": "envoy.router",
            "config": {}
}

Thus, the envoy proxy seems to just hang on a connection (or is waiting for an ADS update - it's not exactly clear). It would be good to update the documentation to state that at least one http_filter is required.
The correct configuration:
...
"filters": [
         {
          "name": "envoy.http_connection_manager",
          "config": {
           "codec_type": "HTTP1",
           "http_protocol_options": {
            "allow_absolute_url": true
           },
           "rds": {
            "route_config_name": "westeros-master",
            "config_source": {
             "ads": {}
            }
           },
           "stat_prefix": "main_http",
           "filters": {},
           "http_filters": {
            "name": "envoy.router",
            "config": {}
           }
          }
         }
        ]
...


Model 306 unit / repeating attributes mismatch between XLS/XML and PDF specification

Looking at model 306's XML/CSV specifications, they do not match the PDF specification, in both block length and units.
Here is the PDF specification:

Here is the XLS specification:

Here is the SMDX specification:

The PDF specification defines a repeating block of length 7 while the others define a fixed block of length 4.
The PDF specification defines the Current as int32/Amps/-2 while the others define uint16/Wm2/0.
The PDF specification defines the Voltage as int32/Volts/-2 while the others define uint16/Wm2/0.
The PDF specification defines the Temperature as int32/C/0 while the others define uint16/Wm2/0.

Also I am not sure if this is an issue or not, but the Temperature scale in the PDF is 0, while other models seem to use -1 for temperature measurements. Should the scale be -1 here as well?


[Snyk] Security upgrade bcrypt from 1.0.3 to 5.0.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

718/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 6.5
Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-JS-TAR-6476909
Yes
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: bcrypt
    The new version differs by 186 commits.

2f124bd Fix artifact upload path
10eacf5 Prepare v5.0.1
6eacfe1 Merge pull request #856 from kelektiv/update-deps
feb477c Update node-pre-gyp to 1.0.0
42c8b0c Merge pull request #852 from kelektiv/update-deps
bafefc3 Update packages
7c5d8df Merge pull request #851 from recrsn/node-15-ci
1ba55f9 Add Node 15 to CI
19c06c1 Update Node version compatibility info
09cb4fc Merge pull request #825 from dogon11/patch-1
2821c03 Merge pull request #811 from techhead/use_buffers
63c8403 Merge pull request #838 from alete89/docs/improve-hash-info
984ef18 remove reference to $2y$ algo identifier
630c897 fixes: #828
0f93284 README.md typo fix
4125ebc Update README.md
f503e57 Create SECURITY.md
f158e6e Allow optional use of Node Buffers.
8866277 Deploy on any travis tag
61139e6 v5.0.0
1bde62c Update node-pre-gyp to 0.15.0
40770d6 Add NodeJS 14 to appveyor CI
5916a46 Merge pull request #807 from techhead/known_length
f28e916 Reword comment

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Uncontrolled Resource Consumption ('Resource Exhaustion')

Checkmarx One – Scan Summary & Details – ab6c0adf-fcf2-4c31-9aa0-f36fa10a7b5e
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2004-0989
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2017-5941
Npm-node-serialize-0.0.4
Vulnerable Package

CVE-2017-8872
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2018-14404
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2021-3516
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2018-14567
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2018-9251
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2020-24977
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2021-3541
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2023-28484
Npm-libxmljs-0.19.10
Vulnerable Package

CVE-2023-29469
Npm-libxmljs-0.19.10
Vulnerable Package

Fixed Issues

Severity
Issue
Source File / Package

CVE-2020-7689
Npm-bcrypt-1.0.3

CVE-2021-32803
Npm-tar-2.2.2

CVE-2021-32804
Npm-tar-2.2.2

CVE-2021-37701
Npm-tar-2.2.2

CVE-2021-37712
Npm-tar-2.2.2

CVE-2021-37713
Npm-tar-2.2.2

CVE-2021-3807
Npm-ansi-regex-2.1.1

CVE-2023-28155
Npm-request-2.88.2

Code_Injection
/core/appHandler.js: 39

Command_Injection
/core/appHandler.js: 39

Insecure_Storage_of_Sensitive_Data
/server.js: 24

Client_Privacy_Violation
/config/db.js: 3

Cx65603961-769c
Npm-debug-2.6.9

Client_Potential_ReDoS_In_Replace
/public/assets/showdown.min.js: 902

Client_Potential_ReDoS_In_Replace
/public/assets/showdown.min.js: 872

Client_Potential_ReDoS_In_Replace
/public/assets/showdown.min.js: 575

Open_Redirect
/core/appHandler.js: 197

Open_Redirect
/core/appHandler.js: 178

Open_Redirect
/core/appHandler.js: 179

Open_Redirect
/core/appHandler.js: 180

Open_Redirect
/core/authHandler.js: 51

Open_Redirect
/core/authHandler.js: 52

Open_Redirect
/core/appHandler.js: 68

Open_Redirect
/routes/app.js: 23

Open_Redirect
/routes/main.js: 20

Open_Redirect
/routes/main.js: 18

Open_Redirect
/routes/main.js: 16

Open_Redirect
/routes/main.js: 19

Open_Redirect
/core/appHandler.js: 115

Open_Redirect
/core/appHandler.js: 116

Open_Redirect
/core/appHandler.js: 117

Open_Redirect
/core/appHandler.js: 118

Open_Redirect
/core/authHandler.js: 96

Open_Redirect
/core/authHandler.js: 97

Potentially_Vulnerable_To_CSRF
/server.js: 11


typo per user feedback

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/service-basic-concepts.md
:white_check_mark:Succeeded

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

Thanks, @JennieHubbard ! #sign-off


How to pass class and data attribute to afFieldInput

I am working on a tooltip implementation for autoform. I am not sure how to pass or assign a data attribute to afFieldInput.

All the attributes you add to the spacebars inclusion tag get added to the element.
{{> afFieldInput name="foo" class="bar" data-extra="baz"}}

I was successfully able to get the tooltip working without having to create an extension package.  I'd be happy to provide an example of how I did it , and maybe this can close the tooltip feature request.

Can you submit a PR to add an example to "common questions" section of the readme?

rwatts3 commented on Apr 8, 2015
I was successfully able to get the tooltip working without having to create an extension package. I'd be happy to provide an example of how I did it , and maybe this can close the tooltip feature request.

@rwatts3 It would be very helpful and appreciated if you could share how you did this?

Of course I figure it out right after posting that... Anyways, here's how I achieved it:

    Referral URL

        {{> afFieldInput name='code' value=referrerURL }}

Then I added this .onRendered to my .js file for the tooltip:
Template.ExampleTemplateName.onRendered(function() {
    // Tooltip
    $("[data-toggle=tooltip]").tooltip();
});

Result:


start pydantic-ai-graph

This is a refactoring of the work in #528 attempting to reduce the number of user-facing generic parameters.
There are some things that we can probably adjust/remove, such as the introduction of both GraphRunner and GraphRun. But there are some benefits to this, as it provides a way to get nearly the same API we currently have without BaseNode being aware of the input type, and without forcing BaseNode subclasses to have a fixed signature.
Some of the less consequential changes in here (such as moving/duplicating typevars) were done because I was hitting cyclic import errors and/or spurious type errors (I think I maybe ran into some bugs in pyright that I no longer know how to reproduce).
I'm happy to rework the implementation based on feedback if there's interest, but I don't really want to go through adding lots of tests and documenting everything if this line of implementation is going to be rejected, so @samuelcolvin maybe we can discuss synchronously.

Note I say "user-facing generic parameters" because, for example, while GraphRunner has a ParamSpec as one of its parameters, users should never need to manually annotate it — they would just pass a node class to the get_runner method of Graph. This is important because it's hard to manually specify a paramspec for a node, but it's not so hard to manually specify the parameters for the Graph type itself, which may be desirable to do as a way to ensure the nodes being added satisfy constraints on their run-end types, rather than letting that be inferred by the type system.

I addressed some of the comments above, I've left unresolved the comments that I wasn't confident enough to resolve without further discussion (or at least further insistence on your part).


refactored port management in the operator

need to support the sidecar, with metrics
todo: refactor sidecar spec to parametrise hardcoded ports

Codecov Report

Merging #636 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #636      +/-   ##
==========================================
+ Coverage   81.36%   81.37%   +0.01%
==========================================
  Files         114      114
  Lines        3858     3866       +8
  Branches       90       89       -1
==========================================
+ Hits         3139     3146       +7
- Misses        719      720       +1

Impacted Files
Coverage Δ

...lustercontroller/controllers/BakerController.scala
93.80% <100.00%> (+0.47%)
:arrow_up:

.../akka/actor/process_instance/ProcessInstance.scala
85.81% <0.00%> (-0.68%)
:arrow_down:

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 2128192...5945c13. Read the comment docs.


Access file created under /home/LogFiles in Linux based function app

I have a function app developed Python and it creates an output file something.txt at path given /home/LogFiles/.
I published this function app to portal, and I could see the file actually got created under /home/LogFiles but unfortunately I can't open it or I might not know how to do so.
I used Kudu to do this task, but all I can do is listing them in Bash terminal and nothing else.
Any help to access this file? or is there any better way to create output file on Azure?

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service