Cadvisor / Weave confuses Docker in CoreOS Beta

See: https://github.com/weaveworks/weave/issues/2559#issuecomment-267553417

I think it is because of the nsenter trick our image does as it doesn't happen with the official google/cadvisor cadvisor image. (same version of cadvisor itself).
Also looking at:
core@jussi-weave-test ~ $ docker run -d -v /:/host:rw --net host --pid host --privileged --name cadvisor kontena/cadvisor:0.23.2 --docker_only --listen_ip=<IP_ADDRESS> --port=8989 --storage_duration=2m --housekeeping_interval=30s
bd801016c4bc0316f7782e71b716547fbf3b3c48ad9acb271bb693c0b607e431
core@jussi-weave-test ~ $ docker exec -ti cadvisor sh
sh-4.3# ls -lah /host
ls: cannot access '/host': No such file or directory

Makes me think the nsenter is somehow really messing up things in the container mounts.
Making Kontena use the "official" cAdvisor image could be one solution for this. cAdvisor 0.23.3 seems to have fixed the issue with du -sh hogging all CPU in https://github.com/google/cadvisor/releases/tag/v0.23.3

Official cAdvisor image sounds good to me (if it does not consume too much resources).

Yes, I'll test the setup with the problematic Ubuntu+aufs combo with plenty of containers to see if it still breaks or not.

Running Ubuntu/aufs with 100+ containers yields cadvisor with few percent CPU usage and ~23M mem usage with the official image. IMO not too bad.


tweak Dockerfiles, mostly for better caching

These minor edits to the Dockerfiles tidy up the files and make better
use of docker layers for caching. The best change is moving the
ARG THELOUNGE_VERSION along with the npm install to then end of the
Dockerfile. Bumping the version needlessy busts the cache for everything
that comes after. It is safe to move the install to the very end since
everything else is either docker metadata or runtime configuration that
does not affect installation.
The VOLUME command will create the directory if it doesn't exist,
so we can remove the mkdir.
At runtime, the ENTRYPOINT is always run before CMD or container args,
having the Dockerfile reflect that just seems nice.
I moved the COPY docker-entrypoint.sh before lounge gets installed
because it changes less often than lounge version bumps so we get to
make use of the cache more often.
I moved the version ARG until the very end so that we don't bust the
cache unnecessarily for stages that are not affected by the version.
I also rearranged the EXPOSE and install stages because install does not
depend on it and it lets us make better use of the cache.

Hi @mmlb, thanks for the PR! This looks 👍. However, wouldn't one want to cache bust apt-get install as often as possible (as in put ARG directive above it)?

I think that's better left to the baseimage stage, either docker pull or in CI, which I think almost all basically do a pull before building. I like that I can bump lounge and get a quick turnaround w/o apt runs and/or updates that may affect lounge (however unlikely). I can move the ARG up to before it if you want though.

Personally I'd get rid of the editors install there. If someone is going into the container to edit the file I don't its too hard to notice "oh no editors, welp lets install $favorite_editor".

Personally I'd get rid of the editors install there.

Yeah I don't like having them in there either. It's originally there to make thelounge edit <name> and thelounge config work out of the box. Now when I think about it, I was planning on removing it in v3 images.


SPDY costs too much memory on JDK 6

In SpdyHeaderBlockEncoder:
        if (PlatformDependent.javaVersion() >= 7) {
            return new SpdyHeaderBlockZlibEncoder(
                    version, compressionLevel);
        } else {
            return new SpdyHeaderBlockJZlibEncoder(
                    version, compressionLevel, windowBits, memLevel);
        }

In SpdyHeaderBlockJZlibEncoder :
 int resultCode = z.deflateInit(
                compressionLevel, windowBits, memLevel, JZlib.W_ZLIB);

And in z.deflateInit
new Deflate(this);

It means every SpdyFrameCodec contains one Deflate object, but in Deflate object, there is some very large arrays, such as head and prev
In my case, every Deflate retained 268288 bytes, and when I create 2000+ spdy connections, jvm throws OutOfMemory exception.
When I use jdk7, I can create more than 8000+ spdy connections

You will at least need to provide some details...

Am 01.02.2015 um 10:26 schrieb xmxsuperstar<EMAIL_ADDRESS>—
Reply to this email directly or view it on GitHub.

@normanmaurer sorry, i have added the details

Not sure we can do much about it as this memory is used by JZlib which is needed for java6

@xmxsuperstar - perhaps you could talk to the jcraft folks, or try to hack JZlib by yourself. I would also recommend upgrading to Java 8, because 6 and 7 are pretty much dead at this point.


[QA] testenviroment scene is empty

Explorer Alpha build versions:

v0.21.0

Issue Description:
Testenvironment scene is missing on EA. On Prod, the testenvironment world loads correctly with visible assets.
STR:

Launch the explorer.
Teleport to the testenvironment world.
Observe that the world is empty with no assets.

Expected behavior:

Current behavior:

After speaking to @AlejandroAlvarezMelucciDCL and @pravusjif we do not use this world/scene (it may be SDK6)
It should be deployed https://sdk-team-cdn.decentraland.org/ipfs/sdk7-test-scenes-main-latest realm at the 54,-55 position


Cannot change dependencies of configuration after it has been included in dependency resolution

Version 3.2.0, 3.3.0 with AGP 3.2.1, 3.2.0, 3.1.0, Gradle 4.5, 4.6, 4.8 all fail with
Cannot change dependencies of configuration after it has been included in dependency resolution
The problem seems to be in AspectJCompileTask reading/iterating javaCompiler.classpath which probably does something nasty inside DefaultConfigurableFileCollection.files or DefaultConfiguration$ConfigurationFileCollection.files
Note: some version configurations require small patches to fix NoSuchMethodError-s
Will try to reproduce in a small project

Seems to be a project issue. There were dependencies sections below the line applying aspectj plugin.


data: project addition by vishnu-mouli-102408

Add a new project to the list
I want to add a new project to the list
Code of Conduct

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

Completed. Thanks for your contributions 🎉 ❤


Allow head and @ as alias to HEAD

On osx and windows, head is the same as HEAD.
And as of git 1.8.5, @ is also the same.

Agree to @ but not to head. One should use conventions which works everywhere, especially for a program which is used for learning or demonstration (and there are 14 different other case combinations of head which would have to be supported as well).


Fix stack too long error when ingesting.

We'll want to push this into ActiveFedora eventually, but I want to run
this locally for a while until we're sure this fixes it.

Coverage decreased (-0.2%) to 99.813% when pulling 7eb50fcf42687702667276e74f52d0ff305b8be4 on fix_ingest_bug into 0f1c40f71a6548dae0a9699c07fec2e625814004 on master.

Coverage decreased (-0.2%) to 99.813% when pulling 7eb50fcf42687702667276e74f52d0ff305b8be4 on fix_ingest_bug into 0f1c40f71a6548dae0a9699c07fec2e625814004 on master.


PKGBUILD added

Merged as separate pkbuild branch.
Also, fixed typo (impoved -> improved).
Package uploaded to AUR.


Force update

How can i force update my addons?

You can't. Every addon is fullupdated every 24 hours.

Is it oukey for you? @Vrtak-CZ


Add fonts mime type mapping to elm reactor

Fonts have their proper mime types since Feb 2017.
https://www.iana.org/assignments/media-types/media-types.xhtml#font
This fixes a problem when trying to use custom fonts hosted locally with elm reactor, for example using @font-face
For example
@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(/source-code-pro.woff2) format('woff2');
}

does not work with elm reactor.
When the font file is loaded it will be wrapped in a HTML document by the elm reactor server (at least in 0.19.0).

I added them in https://github.com/elm/compiler/commit/536d50c2e0cd5022b8d63e40050289a5107de99f, but with two variations:

I kept the list alphabetical by extension. I don't know if that is ideal, but it seems good to stick to it and decide on a different order explicitly.
This revealed that there was already an entry for .ttf but it looks like it needed to change from "application/x-font-truetype" to "font/ttf" based on the IANA documents you shared.

Let me know if everything looks alright in the patch, and the changes should be available with the next release of Elm.


There are some error is I use /pvp

After I type my gameID in /pvp
It will show those stuff
I only check the stat of mine. But I need to cool down when I using /pvp martin1194

What version of MC is your server running?

Magma-50f320e-server
forge <IP_ADDRESS>54
MC 1.12.2

I found what happen.
The happen is I was downloaded PVP toggle 1.7.


[FEATURE] Add support for SageMaker Bedrock to the RAG pipeline

Is your feature request related to a problem?
The RAG pipeline does not know how to pass "inputs" and return "completion" from Bedrock's Anthropic model.
What solution would you like?
As a special case of #1475, we could introduce a connector_type that would initially accept openai/chat and aws/bedrock and support inputs and outputs for those endpoints.
In addition, we can have a mode where we just return the entire dataAsMap and leave the parsing to the calling application.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.

@zane-neo @dhrubo-os @jngz-es I would love to get your take on this.  There is a re:invent workshop where we want to show this working with Bedrock.
cc: @ylwu-amzn @HenryL27


update version to be published on npm

Hi,
I thought you wanted to update the version to publish on npm
take care

released as 1.0.0. thanks!

:+1:


[Testing] Add missing REQUIRES: concurrency

This regression was introduced in #35839

@swift-ci please smoke test and merge

Hmm, I put up https://github.com/apple/swift/pull/35852 to add the missing REQUIRES and make the comment reflect the reality.


Incremental resolution inconsistency handles propagated type of final fields

With the new task model disabled, paste the following code into an empty file:
class Y {
  final x='hi';
  mth() {
    x.
  }
}

Then place the cursor after x. and request completions.  Completions such as length and substring (which come from the String class) are shown.
Now delete the ., retype it, and request completions again if necessary (note that most editors automatically request completions when . is typed).  Now the only completions shown are those defined on Object, such as hashCode and runtimeType.
It appears that incremental resolution is not reproducing the propagated type of x.

Paul, what do you consider a bug - the fact that we get propagated type initially, or the fact that we lose it after incremental resolution? It seems that the last one. But AFAIK we decided that we don't propagate types for fields in the old task model. So, it should not have been set at all.

Disabling propagated types for properties.
https://codereview.chromium.org/1386033003

Getting inconsistent results from incremental vs. non-incremental resolution concerns me most, and it looks like your CL fixes that.  I suspect that not too long from now we're going to need to start doing type propagation on final instance fields (judging by the high priority assigned to issue #23001, which is the parallel issue for top level final variables).  But we can address that in a separate effort.

Note that with the support for strong mode we have all the plumbing in place. It should be fairly easy to implement this after we've moved to the new task model. (On the other hand, it becomes completely moot for folks using strong mode.)

Done.
https://github.com/dart-lang/sdk/commit/ef434d6a9b258f9267267cf3a91ec5a47b26f526


[RELAY][IR] Move type_annotation to Var, remove Param

[x] Move type_annotation as a field of Var

Remove value_type in Let
Remove Param and use Var instead

[x] Add/correct docstring of all python Expr class, make them self-contained.

The reasoning behind the change:

The current Param was a bit confusing and is only used in the place of the function parameter declaration. Folding the type annotation into Var allows removing one concept.
This will make the future graph style programming easier, which I will follow up with subsequent PR.

@MarisaKirisame @jroesch @slyubomirsky @joshpoll  please review

This actually makes a lot of sense and simplifies several things on the front end. 👍

I just did a skim, and LGTM.
Should we rename typeparam -> typevar then?

We can discuss typeparam vs typevar later with @jroesch

Thanks @slyubomirsky @joshpoll @MarisaKirisame , this is merged


Adding UI code

Added UI templates according to framework given.
Please go to UIcode folder in command prompts and npm run install
after insatlling node modules ,
Run npm run dev to see working react code.
Please let me know if you need help to run this code.

Thanks @nutanp. Please add a description to this PR, it won't be merged until a description is provided.

Hi @nutanp. Could you describe this PR so we'd know what changes/additions did you make?
It looks like a lot of ReactJS code, but without any context we don't know how to review and merge this.

Thanks @nutanp!


Changed site service-level to site set-service-level, changed its --set flag to --level, changed funcitonality

Closes #468

Looks good.
I feel like it should use ->success() instead of ->info() to report the results but honestly since that's so inconsistent across commands I think we need to plan out what the rules for this should be and do a big cleanup in one PR.
Given that. +1 as is.

Indeed! I feel confused about what rightly ought to be going to the logger or to the outputter. With this command, we're not requesting information, but just performing an action, so where to send it? Info seemed logical. We should meet with @joshkoenig when we can to discuss what exactly Product wants with it.

IMO action success/failures should also go to outputters as I think they should be explicit as to whether there was a success or failure in performing the action.

This is a bit off topic for this PR but I believe if it's info for a human it should go to STDERR and if it's actionable data it should go to STDOUT. A human will pretty much always see both of those streams sent to their console anyway so the difference is meaningless to them. A script doesn't really care about "Your Action Was Awesome!" or "Everything's broken" that should be indicated by a 0 or non-zero exit code.
In this specific case, however, you could make the argument for both. You could log a success message "Your level was changed successfully" to STDERR and send the new level to STDOUT. A human would see:
> site set-service-level --site=x --level=newlevel

The site level was set correctly!
The new level: newlevel
But if you added --bash or --json you would just get 'newlevel' encoded in as appropriate. The unnecessary congratulations in stderr could be piped away to /dev/null (or logged, or whatever). As it is scripters have to parse out a lot of human language from the command outputs which isn't idea.
Just my 2 cents though and this needs a bigger discussion than we can have in the comments section of a  closed PR


Add a layouts description in the frontend handbook

Description
Adding a layouts description page in the front-end section of the handbook.
Related Issue(s)
PR #3740
Checklist

[x] Documentation has been updated

I'm adding some images and grouping the layouts a bit clearer (as "Page" is a child layout generally)


Question about prob sparse attention implementation

Hi, thanks for your awesome work!
I have some questions regarding how you implement the prob sparse attention, mainly in the _prob_QK function in the ProbAttention class.

you have the following

 # calculate the sampled Q_K
K_expand = K.unsqueeze(-3).expand(B, H, L_Q, L_K, E)
index_sample = torch.randint(L_K, (L_Q, sample_k)) # real U = U_part(factor*ln(L_k))*L_q
K_sample = K_expand[:, :, torch.arange(L_Q).unsqueeze(1), index_sample, :]
Q_K_sample = torch.matmul(Q.unsqueeze(-2), K_sample.transpose(-2, -1)).squeeze()

but I think the indexing doesn't work if L_Q != L_K, considering the following
B = H = 1
L_Q=3
L_K=4
E = 2
x = torch.arange(32).view(B, H,L_Q,L_K,E)
index = torch.randint(L_K, (L_Q, 2))
x[:, :, torch.arange(L_Q).unsqueeze(1), index, :]

this code would result in the error:  shape '[1, 1, 3, 4, 2]' is invalid for input of size 32
I think that the correct indexing might be this
random_idx = randint(L_x, (L_x, ))
K_sample = keys.index_select(2, random_idx)
Q_K_sample = matmul(Q, K_sample.transpose(-2, -1))

but this is doing indexing over dim=2, i.e. for each sample in the batch, for each head the indexing would be the same. I am not sure if this is what the authors want.

The code has

M = Q_K_sample.max(-1)[0] - torch.div(Q_K_sample.sum(-1), L_K)

But why in the second term we have sum divided by L_K? I thought the last dimension is E? I am wondering if this should be
M =  Q_K_sample.max(-1)[0] - torch.mean(Q_K_sample, -1)

Thanks! Have a nice day!

We only use probsparse self-attention in Encoder's self-attention, so L_Q==L_K
It's OK to use mean


Nix test failure (test_extract_strings)

Describe the bug
The test_extract_strings test fails when building from nix.
To reproduce

Have nix installed
run nix run "github:orhun/binsider"

Expected behavior
It should build and pass all tests
Screenshots / Logs
running 2 tests
test test_init ... ok
test test_extract_strings ... FAILED

failures:

---- test_extract_strings stdout ----
thread 'test_extract_strings' panicked at tests/app.rs:41:9:
assertion failed: strings?.iter().map(|(s, _)| s).any(|v| v == ".debug_str")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    test_extract_strings

test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s

Software information

Operating system: NixOS
Rust version: 1.77.2 & 1.80.1
Project version: main

Initial inspection, it works if I clone the repo manually and run cargo test (on 1.83.0-nightly (adaff5368 2024-09-12))

Hello, thanks for the report! 👋🏼
First of all I really hate that test - we need a better test suite (#5)
Secondly, is there a chance that you are running tests in --release mode and that's why .debug_str does not exist in the binary?

I had the same issue.
Nix by default runs test in release mode, but after switching to debug mode it still didn't pass checks.
I don't know how cargo and rust work but doing https://github.com/orhun/binsider/pull/30  fixed building for me.

Hello, thanks for the report! 👋🏼
First of all I really hate that test - we need a better test suite (#5)
Secondly, is there a chance that you are running tests in --release mode and that's why .debug_str does not exist in the binary?

Thank you for your response. I believe nix runs it in test mode. I'll test @ch4og's PR and report back :)


doc: fix typos and add corrections

Signed-off-by: Ruslan Kuprieiev<EMAIL_ADDRESS>

I also added https://github.com/dataversioncontrol/dvc/issues/487 to fix later.


Kubernetes Liveness/Readness Probe returned 404.

Got 404 error message, local was fine...
Image:
tsl0922/ttyd:alpine
Command (execute inside the container):
ttyd -b /qMYRKI bash
Probe:
  livenessProbe: {
    httpGet: {
      path: options.ingressPath,
      port: port.portName
    },
    initialDelaySeconds: 1,
    timeoutSeconds: 5,
  },
  readinessProbe: {
    httpGet: {
      path: options.ingressPath,
      port: port.portName
    },
    initialDelaySeconds: 1,
    timeoutSeconds: 5
  },

Probe response:
    Liveness:       http-get http://:alpiner/qMYRKI delay=1s timeout=5s period=10s #success=1 #failure=3
    Readiness:      http-get http://:alpiner/qMYRKI delay=1s timeout=5s period=10s #success=1 #failure=3

Error log:
[2021/04/25 09:24:38:0452] N: ttyd 1.6.3-736e658 (libwebsockets 4.1.6-)
[2021/04/25 09:24:38:0453] N: tty configuration:
[2021/04/25 09:24:38:0453] N:   start command: bash
[2021/04/25 09:24:38:0453] N:   close signal: SIGHUP (1)
[2021/04/25 09:24:38:0453] N:   terminal type: xterm-256color
[2021/04/25 09:24:38:0453] N: endpoints:
[2021/04/25 09:24:38:0453] N:   base-path:  /qMYRKI
[2021/04/25 09:24:38:0453] N:   index    :  /qMYRKI/
[2021/04/25 09:24:38:0453] N:   token    :  /qMYRKI/token
[2021/04/25 09:24:38:0453] N:   websocket:  /qMYRKI/ws
[2021/04/25 09:24:38:0453] N: LWS: 4.1.6-, loglevel 7
[2021/04/25 09:24:38:0453] N: NET SRV H1 WS IPV6-off
[2021/04/25 09:24:38:0554] N:  Using foreign event loop...
[2021/04/25 09:24:38:0555] N:  Listening on port: 7681
[2021/04/25 09:24:47:7231] N: HTTP /qMYRKI - <IP_ADDRESS>
[2021/04/25 09:24:48:5838] N: HTTP /qMYRKI - <IP_ADDRESS>
[2021/04/25 09:24:57:7229] N: HTTP /qMYRKI - <IP_ADDRESS>
[2021/04/25 09:24:58:5839] N: HTTP /qMYRKI - <IP_ADDRESS>
[2021/04/25 09:25:07:7230] N: HTTP /qMYRKI - <IP_ADDRESS>
[2021/04/25 09:25:07:7403] N: received signal: SIGTERM (15), exiting...
[2021/04/25 09:25:07:7404] N: send ^C to force exit.

The IP <IP_ADDRESS> is the cluster node IP a type of EC2. Not the docker container or kubernetes pod IP.
Through ingress or ingress SSL I also got 404 error message with browser, don't know why.

It should return 302, you can run curl in ttyd container to test it.

@tsl0922  Curl has no returned response then...
bash-5.1# curl localhost:7681/xxyz
bash-5.1# curl http://localhost:7681/xxyz

Log:
[2021/04/26 03:02:54:5934] N: ttyd 1.6.3-736e658 (libwebsockets 4.1.6-)
[2021/04/26 03:02:54:5935] N: tty configuration:
[2021/04/26 03:02:54:5935] N:   start command: bash
[2021/04/26 03:02:54:5935] N:   close signal: SIGHUP (1)
[2021/04/26 03:02:54:5935] N:   terminal type: xterm-256color
[2021/04/26 03:02:54:5935] N: endpoints:
[2021/04/26 03:02:54:5935] N:   base-path: /xxyz
[2021/04/26 03:02:54:5936] N:   index    : /xxyz/
[2021/04/26 03:02:54:5936] N:   token    : /xxyz/token
[2021/04/26 03:02:54:5936] N:   websocket: /xxyz/ws
[2021/04/26 03:02:54:5936] N: LWS: 4.1.6-, loglevel 7
[2021/04/26 03:02:54:5937] N: NET SRV H1 WS IPV6-off
[2021/04/26 03:02:54:6096] N:  Using foreign event loop...
[2021/04/26 03:02:54:6099] N:  Listening on port: 7681
[2021/04/26 03:04:14:4835] N: HTTP / - <IP_ADDRESS>
[2021/04/26 03:04:38:0812] N: HTTP /xxyz - <IP_ADDRESS>
[2021/04/26 03:04:53:3155] N: HTTP /xxyz - <IP_ADDRESS>

Add -v

Add -v

Curl on k8s container message:
*   Trying <IP_ADDRESS>:7681...
* Connected to localhost (<IP_ADDRESS>) port 7681 (#0)
> GET /h0lr4r HTTP/1.1
> Host: localhost:7681
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< server: ttyd/1.6.3-736e658 (libwebsockets/4.1.6-)
< content-type: text/html
< content-length: 173
<
* Connection #0 to host localhost left intact
<meta charset=utf-8 http-equiv="Content-Language" content="en"/><link rel="stylesheet" type="text/css" href="/error.css"/>
404

Kubectl log:
...
[2021/04/26 07:27:09:3637] N: HTTP /h0lr4r - <IP_ADDRESS>
[2021/04/26 07:27:09:4291] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:13:9062] N: HTTP /h0lr4r/ - <IP_ADDRESS>
[2021/04/26 07:27:24:0968] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:24:1177] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:24:1569] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:24:4450] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:39:1126] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:39:1224] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:39:1732] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:39:4611] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:54:1168] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:54:1385] N: HTTP / - <IP_ADDRESS>
[2021/04/26 07:27:54:1885] N: HTTP / - <IP_ADDRESS>

can't reproduce it with tsl0922/ttyd:alpine image (by docker run), it should not be a ttyd issue. You don't provide your full k8s yaml, so I have no idea with it.

can't reproduce it with tsl0922/ttyd:alpine image (by docker run), it should not be a ttyd issue. You don't provide your full k8s yaml, so I have no idea with it.

There is my full k8s yaml config file. I believe this may help.
apiVersion: v1
kind: ServiceAccount
metadata:
  labels:
    log: xterm
  name: 90329b8c-d957-4857-b93c-ce4-deployment-service-account-c8214ed0
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    log: xterm
  name: 90329b8c-d957-4857-b93c-ce423cfbbfa9-deployment-c8fc112e
spec:
  replicas: 1
  selector:
    matchLabels:
      deploymentId: universal-deployment
  strategy:
    rollingUpdate:
      maxUnavailable: 0
    type: RollingUpdate
  template:
    metadata:
      annotations:
        prometheus.io/scrape: "true"
      labels:
        deploymentId: universal-deployment
    spec:
      containers:
        - command:
            - ttyd
            - -b /0kWaOm
            - bash
          env:
            - name: XTERM_UI_MESSAGE
              value: Creating 90329b8c-d957-4857-b93c-ce423cfbbfa9 container with namespace
                undefined...
          image: docker.io/tsl0922/ttyd:alpine
          imagePullPolicy: IfNotPresent
          name: xterm
          ports:
            - containerPort: 7681
              name: alpineg
      serviceAccountName: 90329b8c-d957-4857-b93c-ce4-deployment-service-account-c8214ed0
      terminationGracePeriodSeconds: 30

@tsl0922

I've reproduced it on k8s, still need some to dig into it.
Strange, it should not depends on environments like k8s or docker.


chore: release main

:robot: I have created a release beep boop
biblo: 0.9.0
0.9.0 (2022-12-11)
Features

Remove path component from Biblo reader's header and remove default title of Biblo index (7772027)

Bug Fixes

Add more default stylings (3514c8b)
Change margin to spacing, adjust margins and paddings and add possibility to style and change separator on Biblo index (e0dc7f0)

react-native: 0.9.0
0.9.0 (2022-12-11)
Features

Remove path component from Biblo reader's header and remove default title of Biblo index (7772027)

Bug Fixes

Add more default stylings (3514c8b)
Change margin to spacing, adjust margins and paddings and add possibility to style and change separator on Biblo index (e0dc7f0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/saxofonsolo/biblo/releases/tag/react-native-v0.9.0 :sunflower:


share/discovery: consider withdrawing connecting responsibility from Discovery

Discovery currently discovers and connects to peers. The goal is to make it work for Bitswap to catch up on those connections and sample from them. However, Discovery should not make connections and only provide peers, as connecting is the protocol's responsibility. This should also improve shrex protocols giving them more control.
The only way to do it is by enabling discovery in bitswap using a custom implementation that returns discovered peers for any requested CID

interesting proposal, I will have to let this one simmer for a bit


Full state from the nested action (question)

Hello! Thanks for the project. I think it is great!
Is there way to get the full state (global) from nested actions ?
May be I should use nested actions only if I want totaly isolated part of my hyper app.
Could anyone tell about best practicies?

@dmitrykurmanov
You're right, you should try not to need global state in your nested actions.
What does happen when you're using nested actions, is you sometimes want to call another action in another namespace (or in the "root" namespace). For that, I have a technique explained here:
https://zaceno.github.io/hypercraft/post/cross-namespace-action-calling/
I think, with this technique, you shouldn't need access to the global state, because instead you can call actions in the global namespace from the nested actions.
If you really want global state in a nested action, create an action in the global namespace like this:
const actions = {
  withGlobalState: f => state => f(state)
  ...
}

Now you can use the technique described above to access withGlobalState from the nested action (because it's stored on the local state). So it would look like:
const actions = {
   ...
  namespace: {
    subaction: _ => state => {
      state.withGlobalState(globalState => {
        /* Here you have access to globalState */
      }),
   }
 }
 ...
}

... but I hope you don't have to do that 😜 There must surely be a more clean and readable way to achieve what you need.

Hi @dmitrykurmanov!
Nope, there's no way to get the state from a nested action. Please consider @zaceno's advice in the meantime or until 2.0 is out.
In 2.0 (#672 #696) actions are flat and unwired (they take the global state) and slices are no more, so this won't be a problem going forward.
The new "problem" will be how to slice the state like we do in 1.0. This will be possible via an optional library.
Cheers!

Thank you guys for the answer! I just try to create some components with hyperapp and without nested actions my actions will be more complex, for example:
with nested acctions:
      // partial state = fullState.nodes
      const node = state[id];
      const isExpand = !node.isExpand;
      return {
        ...state,
        [id]: {
          ...node,
          isExpand
        }
      };

and without:
      // fullState
      const node = state.nodes[id];
      const isExpand = !node.isExpand;
      return {
        ...state,
        nodes: {
          ...state.nodes,
            [id]: {
              ...node,
              isExpand
            }
       }
    };

It is not the big problem in fact :)
Anyway if in ha2.0 the problem will gone it is ok for me. And I think that you should not be distracted by this.

@jorgebucaran sounds great!

@jorgebucaran Slicing the state in 2.0 will be possible via an external library.

Do we plan to provide that library or will that be on the community to provide?


brew install kubefirst/taps/kubefirst installs a downrev version of kubefirst

I'm aware that this is a known issue that can be overcome by reinstalling from the new tap, but it can also be solved by adding a homebrew redirect file to this repo to redirect to the new konstructio/taps/kubefirst install target. PR to follow.

Confirmed that installing from the kubefirst tap now redirects to konstructio. If you renamed the repo to kubefirst/homebrew-tools from  kubefirst/homebrew-taps it should be safe to rename it back.
> brew install kubefirst/tools/kubefirst
==> Fetching konstructio/taps/kubefirst
==> Downloading https://github.com/konstructio/kubefirst/releases/download/v2.7.9/kubefirst_2.7.9_darwin_arm64.tar.gz
Already downloaded: /Users/mike/Library/Caches/Homebrew/downloads/055d25d0ef3ec81ea40a42dea94f940a97e383c9f60833a5b4a374781a39bb72--kubefirst_2.7.9_darwin_arm64.tar.gz
==> Installing kubefirst from konstructio/taps
🍺  /opt/homebrew/Cellar/kubefirst/2.7.9: 6 files, 117.4MB, built in 3 seconds
==> Running `brew cleanup kubefirst`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).


no need to add imu in r3live

Hi, in r3live demo, how do you add imu extrinsic to the whole project?

@gongyue666 Hi. Sorry for late reply. Looking into the official code of R3LiVE, they do not consider the IMU extrinsic but rather they seem to treat it as aligned with LiDAR, since they are officially providing the code with Livox AVIA model and the IMU extrinsic w.r.t. LiDAR of it is almost identity matrix.


golang It will scan in a loop, which will cause the CPU to be intermittently high

Problems with the use of data structures：10000 connect ，transports data is huge。and golang It will scan in a loop, which will cause the CPU to be intermittently high
transports:      make(map[string]Transport),
func NewTransportLayer(
dnsResolver *net.Resolver,
sipparser *Parser,
tlsConfig *tls.Config,
) *TransportLayer {
l := &TransportLayer{
transports:      make(map[string]Transport),
listenPorts:     make(map[string][]int),

GC loop make(map[string]Transport)

Unless you explain this better, I am closing this. Thanks

we test 100000  tcp/tls  client   to  server（no data to server,only connect）. server  memory is too high.
2)then   CPU occasionally high（ top -d 1  ）,reason is golang gc to (map[string]Transport)

Can you send your test command, or what tool are you using

server：go build ./example/register/server/main.go
./main -ip=<IP_ADDRESS>:5061 -t=tls -tlskey=xxx  -tlscrt=xxx
client（code see）：ulimit -n 10240 && ./test  own <IP_ADDRESS>  5061 100000
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/socket.h>
#include <resolv.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <pthread.h>
#define MAXBUF 1024
#define TEST_MAX_COUNT    102400
int test(char* server_name, char *server_ip, int server_port, int count)
{
char sending_buf[MAXBUF+1];
struct sockaddr_in dest;
char buffer[MAXBUF+1];
SSL_CTX *ctx=NULL;
SSL *ssl[TEST_MAX_COUNT]={NULL};
int sock[TEST_MAX_COUNT]={-1};
int res;
int i;
if (count > TEST_MAX_COUNT) count = TEST_MAX_COUNT;
bzero(&dest, sizeof(dest));
dest.sin_family=AF_INET;
dest.sin_port=htons(server_port);
if (inet_aton(server_ip,(struct in_addr *)&dest.sin_addr.s_addr) == 0) {
	perror(server_ip);
	return -1;
}
ctx=SSL_CTX_new(TLSv1_2_client_method());
if (ctx == NULL) {
	ERR_print_errors_fp(stdout);
	return -1;
}
// establish the tls connections
for ( i = 0; i < count; i ++ ) {
	if ((sock[i]=socket(AF_INET, SOCK_STREAM, 0)) < 0) {
		perror("Socket");
		continue;
	}
	fprintf(stdout,"socket[%d] created\n", i);
	if (connect(sock[i],(struct sockaddr *)&dest,sizeof(dest)) != 0) {
		perror("connect");
		close(sock[i]);
		continue;
	}
	fprintf(stdout,"server[%d] connected\n\n", i);
	ssl[i]=SSL_new(ctx);
	SSL_set_fd(ssl[i],sock[i]);
	SSL_set_tlsext_host_name(ssl[i], server_name);
	if (SSL_connect(ssl[i]) == -1) {
		ERR_print_errors_fp(stderr);
		SSL_shutdown(ssl[i]);
		SSL_free(ssl[i]);
		ssl[i] = NULL;
		close(sock[i]);
		sock[i] = -1;
		continue;
	}
	else {
		fprintf(stdout,"Connected with %s encryption\r\n", SSL_get_cipher(ssl[i]));
	}
}

fprintf(stdout,"wait for 3600s ...\r\n");
sleep(3600);
for ( i = 0; i < count; i ++ ) {
	if (ssl[i]) {
		SSL_shutdown(ssl[i]);
		SSL_free(ssl[i]);
	}
	if (sock[i] >= 0) {
		close(sock[i]);
	}
}
if (ctx) {
	SSL_CTX_free(ctx);
}
return 0;

}
int main(int argc, char *argv[])
{
int ssl_version = 0;
if (argc != 5) {
fprintf(stdout,"%s [server name] [server ip] [server port] [count]\r\n",argv[0]);
fprintf(stdout,"current openssl version %x\r\n", OPENSSL_VERSION_NUMBER);
return -1;
}
SSL_library_init();
OpenSSL_add_all_algorithms();
SSL_load_error_strings();
test(argv[1], argv[2], atoi(argv[3]),atoi(argv[4]));
fprintf(stdout,"bye!!!\r\n");
return 0;
}

ulimit -n 10240 && ./test own <IP_ADDRESS> 5061 10000

The test also found an issue： the main service process memory did not drop and did not fall back to the original value when all connections had been dropped

Hi @situnan  thank for reporting. There are no timeouts currently, I will improve this.

@situnan I see nothing wrong here, at least no gc loop can triggered (Specially on that map). I hope this is not some LLM code scanning!
Dropping connection, returns memory and connection pool is empty. GC must be triggered for cleanup!
As for more control over net Listener, it can be passed directly, for safer use cases. Example used here is using basic listener. Still this does not cause any issue here mentioned.
Unless some profiling or demo of this can be provided, there is no way forward. Feel free to send PR for fixing this.


Softmax raises exception for zero-size tensor on GPU

As title
(base) ubuntu@ip-172-31-44-52:~/mxnet_master_develop$ MXNET_ENGINE_TYPE=NaiveEngine python
Python 3.7.3 | packaged by conda-forge | (default, Jul  1 2019, 21:52:21)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from mxnet import np, npx
>>> npx.set_np()
>>> a = np.random.rand(4, 0, 5, 2, ctx=npx.gpu(0))
[07:26:28] ../src/base.cc:51: Upgrade advisory: this mxnet has been built against cuda library version 9000, which is older than the oldest version tested by CI (10000).  Set MXNET_CUDA_LIB_CHECKING=0 to quiet this warning.
[07:26:28] ../src/base.cc:84: Upgrade advisory: this mxnet has been built against cuDNN lib version 7301, which is older than the oldest version tested by CI (7600).  Set MXNET_CUDNN_LIB_CHECKING=0 to quiet this warning.
[07:26:28] ../src/engine/engine.cc:55: MXNet start using engine: NaiveEngine
>>> npx.log_softmax(a, -1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 62, in log_softmax
  File "/home/ubuntu/mxnet_master_develop/python/mxnet/_ctypes/ndarray.py", line 91, in _imperative_invoke
    ctypes.byref(out_stypes)))
  File "/home/ubuntu/mxnet_master_develop/python/mxnet/base.py", line 246, in check_call
    raise get_last_ffi_error()
mxnet.base.MXNetError: Traceback (most recent call last):
  File "../src/operator/nn/./softmax-inl.h", line 427
Name: Check failed: err == cudaSuccess (9 vs. 0) : softmax_stride1_compute_kernel ErrStr:invalid configuration argument

should be fixed by #18158


git commit message wrongly switches to Ruby language

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.61.0-insider
OS Version: Linux 5.13.12-1-MANJARO #1 SMP PREEMPT Wed Aug 18 08:06:42 UTC 2021 x86_64 GNU/Linux

Steps to Reproduce:

Create a git commit
Perform interactive rebase, and select reword commit
Enter the following text:

Introduce move semantics, with helper to convert legacy code

Introduces move semantics when creating UniValue or adding data with
push_back or pushKV. In many cases using these methods can dramatically
reduce the amount of useless work done. To get the most benefit of these
changes it is necessary to walk through the code and update it by adding
e.g. std::move where appropriate.

To make this task easier it is possible to define the macro
NO_UNIVALUE_COPY_OPERATIONS which disables all UniValue methods that
produce a copy. Note that the copy constructor still needs to be there
for use in e.g. std::vector, but it is now marked as explicit.

With NO_UNIVALUE_COPY_OPERATIONS defined, the compiler will produce an
error in each case where a copy would have occurred. To fix these compile
errors, ideally use std::move. When a copy is still needed, the compile
error can be silenced by explicitly calling the copy() method of
UniValue.

In my experiment, when adding #define NO_UNIVALUE_COPY_OPERATIONS to
Bitcoin's core_write.cpp and blockchain.cpp, the compile errors can be
fixed with 29 std::move(), 9 copy(), and 1 const&. This almost doubles
the performance of the BlockToJsonVerbose benchmark.

The language is incorrectly detected as Ruby, but the commit has nothing to do with Ruby.
My original commit that triggered this incorrecte detection is here: https://github.com/bitcoin-core/univalue/pull/27/commits/10718e341a862a5feb957c1c23114d31488bed5d

Workaround is probably to set "workbench.editor.languageDetection": false

/duplicate of #132173

specific workaround
"[git-commit]": {
        "workbench.editor.languageDetection": false
},

You can also do this for git-rebase


Create GET platform

Create a new GET /api/platform/{:id} method in the Python client.
This method does not yet exist in client.py.
Controller route is here: https://github.com/unitaryfund/metriq-api/blob/d22472555de79112fe21ae4fd7ff529ef1e7a22d/metriq-api/controller/platformController.js#L62
Service method is here: https://github.com/unitaryfund/metriq-api/blob/d22472555de79112fe21ae4fd7ff529ef1e7a22d/metriq-api/service/platformService.js#L185

Created GET platform file. Added @handler for platform_get to client.py


package documentation

Where can I find documentation to use this package .
Thanks

http://jyotisha.readthedocs.io/en/latest/jyotisha.html has what exists (which is very lacking). You are welcome to contribute more documentation (just using standard python module and class docs) through a pull request.
Best thing presently is to look at main functions of various scripts
https://github.com/sanskrit-coders/jyotisha/tree/master/jyotisha/panchangam/scripts to get an overview. Other than that, if you are clear about what you want to accomplish, we can point the way.

OK I will go through it.
Thanks

OK I will go through it.
Thanks


Add node server and host on heroku

Still need to think if it is worth it but if implemented it will make possible to:

Remove folder dist
Have environment variables for firebase configuration
Compile sass/minify on the go

We can accomplish it using gh-pages npm module. Closing issue


[BUG] Path parameters not set in starlette Request object

Describe the bug
I am trying to access the path_params for a request from the middleware using request.path_params but it shows an empty {}.
However, it works if I access the Request object from within the endpoint code.
To Reproduce
Steps to reproduce the behavior with a minimum self-contained file.
from fastapi import FastAPI

app = FastAPI()
from starlette.requests import Request

@app.get('/fib-feed/{hello}/hellos')
async def test(path: str, query1: str, query2: str, request: Request):
    print(request.path_params)     # Is correctly populated

@app.middleware("http")
async def middleware(request: Request, call_next):
    print(request.path_params)     # Empty here

Expected behavior
The path_params should be accessible in middleware too.
Environment

OS: macOS

FastAPI Version : 0.20.0 [e.g. 0.3.0], get it with:

Python version, get it with:
3.6.7

@nsidnev
Interesting. Thanks for clarifying that. I will close this and open in the starlette repo.

@shalseban have you opened an issue with Starlette regarding this? Could you reference it here if so?

Hey @shalseban I think this is still an issue. Any chance you could open this up in Starlette?

Thanks for the help here @nsidnev! 🙇
And thanks for coming back to close the issue @shalseban. 🍪
This is indeed not really related to FastAPI. And I think it wouldn't be easily doable in Starlette, maybe it wouldn't make sense fully, because the middleware has no idea about the routes that would handle the request, to extract the parameters. 🤔


node-gyp install ECONNRESET issue on Windows 7

While running 'node-gyp install" I get the error below. Looks like the the tarball is downloaded so I am assuming my proxy settings are cool. Any clues would be awesome. Thanks...
Windows 7
python 2.7.10
node v0.12.4
npm 2.10.1
VS 2013
Behind corporate proxy
All configs are as prescribed in the node-gyp README.md
<LOTS OF STUFF>

gyp verb extracted file from tarball src\node_crypto_bio.h 901
gyp verb extracted file from tarball src\node_constants.h 902
gyp verb extracted file from tarball src\node_watchdog.h 903
gyp verb extracted file from tarball src\node_javascript.h 904

<HANGS HERE FOR ABOUT TEN SECONDS>

gyp WARN install Error: read ECONNRESET
gyp WARN install     at exports._errnoException (util.js:746:11)
gyp WARN install     at TCP.onread (net.js:559:26)
gyp WARN install  got an error, rolling back install { [Error: read ECONNRESET] code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
gyp verb command remove [ '0.12.4' ]
gyp verb remove using node-gyp dir: C:\Local\Home\.node-gyp
gyp verb remove removing target version: 0.12.4
gyp verb remove removing development files for version: 0.12.4
gyp verb content checksum node-v0.12.4.tar.gz eecc938fec7634262f5da260ed045771bc43a7cd7f8ef710c1126e0ceb46513e
gyp ERR! install error
gyp ERR! stack Error: read ECONNRESET
gyp ERR! stack     at exports._errnoException (util.js:746:11)
gyp ERR! stack     at TCP.onread (net.js:559:26)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Local\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "-g" "-v" "--force"
gyp ERR! cwd C:\Program Files (x86)\Console2
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok

node-gyp-install  works perfectly. Why then is there a problem with "node-gyp install"? Also, I logged out the proxyUrl variable and looks good. Any insight or hints about tracking this down would be huge. Thanks!

Crickets....

Hi, i got the same problem while run node-gyp install

Windows7
python 2.7.10
node 0.12.7
node-gyp 2.0.2

D:\WorkSpace\NodejsProjects\microblog\node_modules\mongodb\node_modules\mongodb-c
ore\node_modules\kerberos>node-gyp install
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp http GET https://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz
gyp http 200 https://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz
gyp http GET https://nodejs.org/dist/v0.12.7/SHASUMS256.txt
gyp http GET https://nodejs.org/dist/v0.12.7/node.lib
gyp http GET https://nodejs.org/dist/v0.12.7/x64/node.lib
gyp http 200 https://nodejs.org/dist/v0.12.7/SHASUMS256.txt
gyp http 200 https://nodejs.org/dist/v0.12.7/x64/node.lib
gyp http 200 https://nodejs.org/dist/v0.12.7/node.lib
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: node-v0.12.7.tar.gz local checksum 585520b2b57ba46a3a0060ae
172c142f408c1ef4afda6e3ddef6741343c7e0da not match remote b23d64df051c9c969b0c583
f802d5d71de342e53067127a5061415be7e12f39d
gyp ERR! stack     at deref (C:\Users\PingGe\AppData\Roaming\npm\node_modules\nod
e-gyp\lib\install.js:307:20)
gyp ERR! stack     at Request.<anonymous> (C:\Users\PingGe\AppData\Roaming\npm\no
de_modules\node-gyp\lib\install.js:391:24)
gyp ERR! stack     at Request.emit (events.js:129:20)
gyp ERR! stack     at IncomingMessage.<anonymous> (C:\Users\PingGe\AppData\Roamin
g\npm\node_modules\node-gyp\node_modules\request\request.js:1003:12)
gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
gyp ERR! stack     at _stream_readable.js:908:16
gyp ERR! stack     at process._tickCallback (node.js:355:11)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Users\\PingGe\\AppData\\Roaming\\npm\\node_modules\\
node-gyp\\bin\\node-gyp.js" "install"
gyp ERR! cwd D:\WorkSpace\NodejsProjects\microblog\node_modules\mongodb\node_modu
les\mongodb-core\node_modules\kerberos
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok

node-gyp-install works for me, i use china mirrors for node.js org dist.
Is there node-gyp has some way to download from mirrors.

--dist-url can be used to override the default of http://nodejs.org/dist if you want to use one of the china mirrors

Get it, thank u

@rvagg - where is this option documented? I cannot find it anywhere on the npm docs.
Please post the complete command line. I tried:
npm install --dist-url=http://npm.taobao.org/mirror/node --save-dev node-gyp

but it still will go to nodejs.org.

--dist-url doesn't pass through npm unfortunately, tbh I'm not sure if there's a path to get it through. You could install node-gyp directly npm install node-gyp -g and use node-gyp --dist-url http://foo.bar/ and with node-gyp v3 (out today) you can actually set environment variables for it that'll pass through:     NVM_NODEJS_ORG_MIRROR=http://foo.bar npm install whatever. However, node-gyp v3 isn't in npm yet although it will be shipping baked in to the npm that goes out with Node.js v4 that's out very soon.


Add Merge and Redirect related diagrams from concept board

In the style of the diagram added in:
https://github.com/wmde/wikidata-wikibase-architecture/pull/16

The overall description surrounding those diagrams (maybe in a table format) should also be part of the PR so we don't forget about it.

I'm going to go and copy how you did it now :)

The overall description surrounding those diagrams (maybe in a table format) should also be part of the PR so we don't forget about it.

I'm going to go and copy how you did it now :)

What I am dreaming of are probably interactive SVGs that show components' descriptions as tooltips on hover (instead of tables below the images) and allow jumping to zoom-in diagrams by clicking into building blocks.

I think tooltips might be a bit much (even if the dream).
We are free to write plugins etc for vuepress, but I fear that making things too complex will detract from the simplicity.
One of the things I did think about regarding these tables is that the Responsibilitys should probably be here in realtion to the block we are looking at, rather than their general responsobilities?
For example in the merge special page, the responsobility of one of the title services is obviously to lookup titles from entity ids.
However in the context of the block we were looking at it is to link to pages of entities.

What I am dreaming of are probably interactive SVGs that show components' descriptions as tooltips on hover (instead of tables below the images) and allow jumping to zoom-in diagrams by clicking into building blocks.

I think tooltips might be a bit much (even if the dream).
We are free to write plugins etc for vuepress, but I fear that making things too complex will detract from the simplicity.
One of the things I did think about regarding these tables is that the Responsibilitys should probably be here in realtion to the block we are looking at, rather than their general responsobilities?
For example in the merge special page, the responsobility of one of the title services is obviously to lookup titles from entity ids.
However in the context of the block we were looking at it is to link to pages of entities.


🐛 [Photoprism] can't access to web UI

Hi, I'm tring to access Photoprism web ui, but after the last update I can't get it.
did you did anything to it? :/

Hi, a log could help ;-)

it just doesn't show the page from the web ui inside home assistant. the log seems ok :/
the photoprism log
Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: Photoprism
 A server-based application for browsing, organizing and sharing your personal photo collection
-----------------------------------------------------------
 Add-on version: 20220121-3
 You are running the latest version of this add-on.
 System: Debian GNU/Linux 11 (bullseye)  (amd64 / qemux86-64)
 Home Assistant Core: 2022.11.5
 Home Assistant Supervisor: 2022.11.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
/etc/cont-init.d/01-custom_script.sh: executing
[10:28:47] INFO: Execute /config/photoprism.sh if existing
[10:28:47] INFO: ... no script found
/etc/cont-init.d/32-nginx_ingress.sh: executing
/etc/cont-init.d/32-nginx_ssl.sh: executing
/etc/cont-init.d/90-config_yaml.sh: executing
Using config file found in /config/addons_config/photoprism/config.yaml
Config file is a valid yaml
[10:28:47] INFO: Starting the app with the variables in /config/addons_config/photoprism/config.yaml
/etc/cont-init.d/92-local_mounts.sh: executing
/etc/cont-init.d/92-smb_mounts.sh: executing
/etc/cont-init.d/99-run.sh: executing
[10:28:47] INFO: Defining database
[10:28:47] INFO: Using a local sqlite database
[10:28:48] INFO: Please wait 1 or 2 minutes to allow the server to load
[10:28:48] INFO: Default username : admin, default password: "please_change_password"
[10:28:48] INFO: Starting, please wait for next green text...
started 221118-jammy as root (amd64-prod)
Problems? Our Troubleshooting Checklists help you quickly diagnose and solve them:
https://docs.photoprism.app/getting-started/troubleshooting/
file umask....: "0002" (u=rwx,g=rwx,o=rx)
home directory: /photoprism
assets path...: /opt/photoprism/assets
storage path..: /media/photoprism/storage
config path...: default
cache path....: default
backup path...: /media/photoprism/backup
import path...: /media/photoprism/import
originals path: /media/photoprism/originals
running as uid 0
photoprism start
time="2022-12-02T10:28:52+01:00" level=info msg="PhotoPrism® needs your support!"
time="2022-12-02T10:28:52+01:00" level=info msg="Visit https://photoprism.app/membership to learn more."
time="2022-12-02T10:28:52+01:00" level=info msg="migrate: executing pre migrations"
time="2022-12-02T10:28:52+01:00" level=info msg="migrate: executing main migrations"
time="2022-12-02T10:28:53+01:00" level=info msg="webdav: /originals/ enabled, waiting for requests"
time="2022-12-02T10:28:53+01:00" level=info msg="webdav: /import/ enabled, waiting for requests"
time="2022-12-02T10:28:53+01:00" level=info msg="server: tls disabled"
time="2022-12-02T10:28:53+01:00" level=info msg="server: listening on <IP_ADDRESS>:2341 [6.820632ms]"
[10:28:54] INFO: App launched
[02/Dec/2022:12:06:33 +0100] 307 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET / HTTP/1.1 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
[02/Dec/2022:12:06:34 +0100] 307 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET / HTTP/1.1 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
[02/Dec/2022:12:11:42 +0100] 307 <IP_ADDRESS>, <IP_ADDRESS>(<IP_ADDRESS>) GET / HTTP/1.1 (Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)

I have a similar problem, I can access via port but not via Ingress.
Did you try accessing it via ip:port?

Hi, I'll check thanks

Alas photoprism has updated its app in a way that seems incompatible with ingress. No promises of fix.

A potential cause is gzip compression. Any idea how to disable this in photoprism ?


UDOO Bluetooth periodically switches off

This has been observed a few times by both @sboettcher and us. Looks like UDOO Bluetooth connection switches off without any clear cause (for e.g. it has worked for periods of upto 15 days without issue).
A potential workaround may be to have a service monitor Bluetooth and restar it, as the UDOOs are rooted this should be possible @yatharthranjan.

Yes turning on bluetooth automatically should be fairly easy to implement but its not good practice to do it without asking the user. So if there is no solution then this can be done. What do you say @sboettcher and @afolarin ?

Indeed, it can be implemented inside UDOO in a separate app, but the current app will always request the permission. The app can avoid requesting the permission if such a service is running. That would need to be a configurable setting that also affects radar-commons-android

@blootsvoets @yatharthranjan agree. We would only want this behaviour in the UDOO version, not the general pRMT. If there is any user requirements, we should have device disconnection monitor functionality fixed RADAR-CNS/RADAR-Backend#37 (hopefully this will reduce the data loss window for a range of these disconnection issues).

I agree it is a UDOO only problem. However I think the actual problem (for now) is that the E4 is disconnected, which has to be solved via hands-on anyway. And so far I think this issue does not occur often enough to warrant large-scale revisions to the code. But if it is possible to do this quickly it might be worthwhile to implement this in a separate branch.

ok agree. Let's test the alerting/notifier, I think this adequately solves a range of these sporadic problems


Fix wrong file extension of GitHub action

Changes
Merge requirement checklist

[ ] Unit tests added/updated
[ ] CHANGELOG.md file updated for non-trivial changes
[ ] Changes in public API reviewed (if applicable)

 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.


Feature request: Adapt the page so we could use curl

Hello, I can only open issue , as we talked in discord about this  ,There are now multiple pixel art converter for wled  and out of those we see this to be most promising due to how fast you are doing the changes . The aim is simple ( or we thought ) just use curl to manipulate the page , passing all parameters as it is done with wled api already .   We are using this source https://curl.se/docs/httpscripting.html and we are really beginners in http scripting as we learn with students on the way ( we are also trying with micro-python )  .
This example curl "http://www.example.com/when/junk.cgi?birthyear=1905&press=OK"  is so simple but really not that easy to do unless we modify the source which is easier said then done .
Might be you could just given us tips on how to script that from our side if the page cant be simplified any further to accept curl in a simple way ( if the name of each selector is clear to us then I think doable )   . example from node red using your page

Hello, I can only open issue , as we talked in discord about this ,There are now multiple pixel art converter for wled and out of those we see this to be most promising due to how fast you are doing the changes . The aim is simple ( or we thought ) just use curl to manipulate the page , passing all parameters as it is done with wled api already . We are using this source https://curl.se/docs/httpscripting.html and we are really beginners in http scripting as we learn with students on the way ( we are also trying with micro-python ) .
This example curl "http://www.example.com/when/junk.cgi?birthyear=1905&press=OK" is so simple but really not that easy to do unless we modify the source which is easier said then done .
Might be you could just given us tips on how to script that from our side if the page cant be simplified any further to accept curl in a simple way ( if the name of each selector is clear to us then I think doable ) . example from node red using your page

I think we got it! 😍


ServerAdministrator can't save perc-ds.properties

Describe the bug
The serveradmin tool deletes the copy of the jetty/base/perc-ds.properties after attempting to overwrite it as shown in the server log:
2023-02-01 14:38:08,019 ERROR [com.percussion.utils.container.adapters.JettyDatasourceConfigurationAdapter] Error saving jetty datasource file: D:\Perc81Test\jetty\base\etc\perc-ds.properties C:sun.nio.fs.WindowsException:L:83
2023-02-01 14:38:08,034 INFO  [com.percussion.ObjectStore] Locking server configuration for 30 minutes
2023-02-01 14:38:08,034 INFO  [com.percussion.ObjectStore] Locking server configuration for 30 minutes
2023-02-01 14:38:08,034 ERROR [com.percussion.utils.container.adapters.JettyDatasourceConfigurationAdapter] Error saving jetty datasource file: D:\Perc81Test\jetty\base\etc\perc-ds.properties C:sun.nio.fs.WindowsException:L:83
2023-02-01 14:38:08,050 INFO  [com.percussion.ObjectStore] Locking server configuration for 30 minutes
2023-02-01 14:38:08,050 INFO  [com.percussion.ObjectStore] Locking server configuration for 30 minutes
2023-02-01 14:38:08,081 INFO  [com.percussion.ObjectStore] Locking server configuration for 30 minutes
2023-02-01 14:38:08,081 INFO  [com.percussion.ObjectStore] Locking server configuration for 30 minutes
2023-02-01 14:38:08,097 INFO  [com.percussion.ObjectStore] Unlocking server configuration.
It will also change the server-beans.xml which causes the latest startup errors in the attached log:
server.log
Altered server-beans.xml
server-beans-altered.txt
Original server-beans.xml
server-beans.txt

@sonyDeswal The perc-ds.properties is saved correctly on another instance (not ts-trees6).  But the server-beans.xml is still corrupted after using the serveradmin tool - here is the server log after using it.
Uploading server.log…


i want to know how to get a distance and angle from Laser Sensor

Hi, i'm a university student to research in the laboratory from Korea.
I bought  360 Laser Distance Sensor LDS-01 from ROBOTIS company.
I had question about the laser sensor, and i asked to the company. But they want to tell i ask to you.
So, my question is that 10x10 Matrix is shown from matlab/simulink through the Sensor.
But i want to know a distance and angle from the Sensor. I don't know understand the 10x10 Matrix's mean. Please can you teach me about solution as soon as possibe. Thank you.

This issue will be closed since there were no actions for a while.
You can reopen this issue to show this issue to the users whenever.
Thanks. :)


Full Screen Video not full screen until it loops.

I've got a video that I've made a fullscreen video within a container.
Our team has recently upgraded to "react-native": "0.37.0" and this bug appeared after.
jsx
<Video
    source={video}
    resizeMode="cover"
    repeat
    style={styles.video}
/>

styles
    container: {
        flex: 1,
        justifyContent: 'flex-end',
    },
    video: {
        position: 'absolute',
        top: 0,
        left: 0,
        right: 0,
        bottom: 0,
        backgroundColor: '#000',
    },

What happens is the video has a small bit of what appears to be margin of about 10px or so around the left and right edges. After the video loops through once, the video does an animation as it stretches to fill the background space.
Any ideas where to start hunting for this?

I got this too. Any solution?

i don't undestand, using "muted" makes this bug to disappear? i tried but it doesn't change anything on my app

Opened a PR (#1730) for full-screen support in Android Exoplayer.


Overcommit's precommit hook fumbles deleted/renamed files.

overcommit 0.47.0
This commit:
Changes to be committed:
  (use "git reset HEAD <file>..."
Failures:

  1) Test selection mapper generates mapping counts
     Failure/Error:
    ...
     # ./shared/rake/test/test_selection_mapper_spec.rb:354:in `block (2 levels) in <top (required)>'

Finished in 0.85755 seconds (files took 1.59 seconds to load)
141 examples, 1 failure

Failed examples:

rspec ./shared/rake/test/test_selection_mapper_spec.rb:343 # Test selection mapper generates mapping counts

I've just encountered this again. Renamed files are still showing up in two places:

as an old version of the file under the old name - as an untracked file, and
as the latest version of the file under the new name.

Obviously, check-in triggers should filter out untracked files anyway, and we're doing that now - fixing a typo in our script - but it's still rather confusing.

Thanks for the report. Can you clarify which hook was demonstrating this behavior?
Furthermore, can you confirm the version of git and overcommit you are currently using? (since it's been a while since you originally opened)

I'll add onto this @sds since the conversation stopped. It's any hook that uses applicable_files, which is pretty much all of them.
Put simply, applicable_files is including deleted files. So when you are using the JsonSyntax linter for example, it will try to open a deleted file and raise an error like so:
No such file or directory @ rb_sysopen - ~/sandbox/DELETE_ME.json
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook/pre_commit/json_syntax.rb:11:in `read'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook/pre_commit/json_syntax.rb:11:in `block in run'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook/pre_commit/json_syntax.rb:9:in `each'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook/pre_commit/json_syntax.rb:9:in `run'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook/base.rb:47:in `block in run_and_transform'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/utils.rb:260:in `with_environment'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook/base.rb:47:in `run_and_transform'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook_runner.rb:161:in `run_hook'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook_runner.rb:97:in `block in consume'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook_runner.rb:94:in `loop'
~/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/overcommit-0.58.0/lib/overcommit/hook_runner.rb:94:in `consume'

I'm using Git 2.34.0 and Overcommit 0.58.0.

Ahh, correction!


Portal app: overview page first pass

Portal app: overview page. This is the logged-in homepage of the wallet/portal, at /assets/overview. All links are stubs currently, and styling is unfinished.
Adds Kernel colors to the app's tailwind config.
Small component architecture changes, including renaming JSX files from .js to .jsx, and adding an app-wide Page component that contains the navbar, sidebar, and footer.

Thanks @rorysaur. The build failure is my bad.
We have to patch a couple libraries we're using for the Projects app to make them compatible with the build step and I did not add it to the testing workflow.
Can you update your branch and pull in the last commit to see if this fixes it?
Thanks!


Adminer-Dracula-Theme

New Theme?
Oh yes!
First, Good morning / Good afternoon / Good night ;)
I am proposing to submit a new topic to the Adminer,
Adminer is a Database management in a single PHP file, a great alternative to phpMyAdmin.
Lately I've been using it through a docker container and their default theme is eye-popping! LOL!
Look:

So I customized it using the dracula color palette, see how it turned out.

Hope you like it!
Link to: adminer-dracula-theme
Dracula is Awsome!
Bye =D

Hey @douglasdamasio!
I'm glad to see that you created a theme for Adminer! I used this app a while ago and it looks much better now with Dracula colors ;)
Are you interested in transferring your repository to the official organization (https://github.com/dracula)? You'll continue maintaining this project, the only difference is that we can make it more visible and include it on the site (https://draculatheme.com).
I just sent you an invite to join the organization. If you accept, you'll be able to transfer the repo and we can continue with adding to the site.
Thanks for building it!

Wow it's amazing @Zeno !!
I am very happy with this news and also happy to be able to be part of this project that I admire a lot.
I'll transfer the project!
Congrats for us!

@zenorocha https://github.com/dracula/adminer-dracula-theme

It's live! https://draculatheme.com/adminer 🎉 🎉 🎉


Adding other NPC quests? (Kenneth, Nepheli)

Are you taking contributions to adding more questlines for this? I figure it would be easy enough to transcribe the stuff from the wiki as people discover it into this tool. It's really awesome, thanks!

Yes contributions are welcome. Feel free to fork this project and submit a pull request.
The data for this is located here
Each data file has the structure of
{
    id: "insert GUID here",
    name: "Insert Name Here",
    requirements: [
      {
        id: "insert GUID here",
        description: "Describe requirement here",
      },
      ...
    ]
},

Currently I generally try to summarize quest requirements in my own words from watching youtube videos on the quest line. I try to limit the amount of spoilers as hard as that is. I don't really go into a lot of detail as to describe everything you need to do for a requirement like how to find someone or the path you need to go step by step to get to the place you need to go. This checklist currently is just to help you keep your progress with quests. It shouldn't be a game guide.
But all that being said if you wish to contribute just give it your best judgement and I'll make any required last minute changes.
Thank you!

It shouldn't be a game guide.

Gotcha, so it sounds like general rules of thumb are:

no specifics (coordinates, directions, etc)
describe steps as events as simply as possible

If I make a PR we can workshop how much is too much detail in the comments then

Yep you got it perfectly!
Some things I forgot to mention is just how I try to write certain actions the same generally. That way actions are generally treated with the same directions.
interacting with characters I use "Talk to (x)"
killing a boss I use "Defeat (x)"
if there is dialogue options I use "Select the "(x)" dialogue option."
if grace sites are very close by then I generally include "at the (x) grace".
If you could write things that way I would greatly appreciate it. Thank you!
Also you don't need to include GUIDs if you find yourself doing a lot to generate them. I have an addon in VSCode that I can just general them all at once so you can leave them as id: "" and I'll add them myself once the PR is merged.


Fix code scanning alert - Clear text storage of sensitive information

Tracking issue for:

[ ] https://github.com/VeeamHub/veeam-healthcheck/security/code-scanning/1

fixed in commit:
https://github.com/VeeamHub/veeam-healthcheck/commit/d13caf20a8cad8d91ba94473f427e4a22829de14


Miner not running

I injected into nslookup and i turned off stealth... No nslookup in task manager... same with monero miner... Seems to start the exe but injection doesnt seem to happen

Even after the 'Start Delay' has gone by? Can you try building it with SilentETHMiner v1.3.2 and see if it works?

And if your connection settings are wrong it will close down, can you screenshot the main page so I can see if everything is right?

Tested with these for 1.3.3 and 1.3.2

I also tried x for password

Don't use SSL on nanopool, you need to specify a certification manually, use normal stratum and eth-eu1.nanopool.org:9999 and leave the password blank.

will try

Works, nslookup starts up but even with stealth gpu is 50-100% active

After some time it hides... But there is a big delay between opening task manager and setting itself to inactivity.... process hacker shows 0% gpu at all times

Could i maybe send you both of my builds so you can test if they work fine?

GPU should always use 0% GPU load, Ethereum GPU mining only uses the memory clock (can't really by seen since it's not a resource per say) and VRAM (GPU memory, the only thing that really can be seen).

Could you test them both if i attach wetransfer link with files? no watchdog... just if they are running fine

Sure

https://we.tl/t-oNVLV3qziD

Both your miners work correctly, although I should say that ETH Idle mining isn't usually required since it's really difficult to find the GPU miner even if you only have 'Stealth' enabled due to it only using the VRAM. The reason to use Idle mining is if you want to free up the VRAM while the computer is in use.in case you need it for something else.

How come nslookup takes 100% of gpu in task manager?

Hmm interesting, it shouldn't really show anything and I haven't seen any usage in any of the computer I've tested on or helped with. Do you use some sort of Windows Insider version?

Just regular windows 10 that came with my asus. I have defender turned off... if i have idle and stealth off then it hides but not always... after hiding it then doesnt display any hashrate on nanopool when i check adress

Yes of course when it hides it pauses the miner so it won't mine anything. But that's weird that you see that in the Task Manager, what GPU do you have?

Gtx 1050ti

GTX 1050TI 8GB?

4gb

Well then you can't even really mine Ethereum with it due to the requirements Ethereum has https://github.com/UnamSanctam/SilentETHMiner#requirements, do you mine some other Ethash coin?

I see but i remember that i used to mine eth with this gpu 2018/2019... okay the important thing is that miner works well on other pcs

Yes the Ethereum DAG size increases every 30 blocks that is added to the network, https://crypt0.zone/dag-file-size/ETH/12239533. Your miner should work fine on other systems that meet the requirements.

Okay thanks


Ignore url()s import?

Is there a way I can tell sass-loader to ignore urls() states so that it doesn't try to import them?
@font-face {
font-family:'Myriad Set Pro';
font-style:normal;
font-weight:100;
src:url("../fonts/MYRIADPRO-REGULAR.OTF") format("OTF"), url("/resources/fonts/MYRIADPRO-REGULAR.OTF") format("truetype");
*src:url('');
}
ERROR in ./resources/fonts/MYRIADPRO-REGULAR.OTF
Module parse failed: /~/Developer/Project/resources/fonts/MYRIADPRO-REGULAR.OTF Line 1: Unexpected token ILLEGAL

Afaik libsass doesn't touch urls(). This error is probably caused by the css-loader.
The webpack-way of doing this is to configure the file-loader or url-loader for these binary files.
If you're really sure that webpack shouldn't manage these assets, you can use root urls (= urls starting with a /) to signalize the css-loader, that it shouldn't touch them.


Update set of available tool versions

Introduce kustomize version 5.0.2, and make that the default version. Remove version 4.5.5.
Accommodate kubernetes-sigs/kustomize#4999 by relocating the extracted Helm chart in the unit test data, placing the directory one level deeper within a new containing directory distinguishing the files for each version.
Introduce Helm version 3.11.3, and make that the default version. Remove version 3.9.2.

Perhaps while you are here you can update the bazelversion to 6.1.1

Perhaps while you are here you can update the bazelversion to 6.1.1

I'll do that the next time through, which will likely be for the next Helm release for which they've published a candidate.

See #14 for the next update.


Define schemas in origin-js

@crazybuster Mentioned a good point. Currently we have some schemas defined in public/schemas. These should actually be located in origin-js so that other dapps have access to them and so that origin-js can reference the same schemas for validation.
Because origin-js is a dependency, we can still reference them from origin-js.

like this ?
const { originSchemas } from 'origin'

handleSchemaSelection() {
  this.setState({
    selectedSchema: originSchemas[this.state.selectedSchemaType],
    schemaFetched: true,
    step: this.STEP.DETAILS
  })
  window.scrollTo(0, 0)
}


[stable/jenkins] add example for EmptyDir volume

What this PR does / why we need it:
In #14372 the question has been raised how to configure EmptyDir volumes for agents. This adds the necessary steps as an example within values.yaml
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #14372

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @maorfr

/retest
/lgtm


Video upload on youtube/drive/dropbox

Hi Mathew!
This is a fantastic tool and we really enjoy it.
We are now evaluating the possibility to add the option to automatically upload the video to youtube (as not listed or public) or anything else and copy the link when the video is saved.
Like this the solution will remain free of use and it would be easier to share the content with everyone has the link.
I know there are API ready for the scope, please let us know your thought.

Although, uploading to YouTube is already supported,
automatically uploading and getting the link like when uploading to Imgur seems nice to me.
I've currently many other features and bug fixes to work on, so, can't give this a high priority right now.
But, will do it when I get the time.


byte type is recognized as string

I have [FromForm, Required] byte licenseZone parameter
And it's recognized as string

Please check out the swagger spec for standard types http://swagger.io/specification/.  byte is serialized as a string with a 'format' of byte. What are you seeing in your swagger.json?
I dont think json even has a byte value for swagger to use other than big64

This seems correct to me. You're describing a JSON API and JSON does not have a type "byte". As per JSONSchema, a field can be of type null, string, boolean, number, array or object.

Thanks, @erendrake. That is interesting decision.
OK, @domaindrivendev, is there a mechanism to override a time? Or IOperationFilter is my choice for this task, isn't it?

I'm closing this issue as, according to the Swagger spec., bytes should be described as type=string and format=byte which is exactly what SB is doing.


Rename AnyEraInEon to EraInEon

Changelog
- description: |
    Rename `AnyEraInEon` to `EraInEon`
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  - improvement    # QoL changes e.g. refactoring
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context
This simplifies the type name.  The Any prefix is not needed to understand what the type does.
Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] The change log section in the PR description has been filled in
[ ] New tests are added if needed and existing tests are updated.  These may include:

golden tests
property tests
round trip tests
integration tests
See Running tests for more details

[ ] The version bounds in .cabal files are updated
[ ] CI passes. See note on CI.  The following CI checks are required:

[ ] Code is linted with hlint.  See .github/workflows/check-hlint.yml to get the hlint version
[ ] Code is formatted with stylish-haskell.  See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
[ ] Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7

[ ] Self-reviewed the diff

Okay.  Making the call to merge since I'm leaning towards the change and have the casting vote.


Adding gtfs rt

Added GTFS realtime endpoints and modified to conform to the latest DB schema.
Closes https://github.com/MobilityData/mobility-feed-api/issues/11

@davidgamez  Please confirm that the changes in enum are OK with openapi-generator

@davidgamez Please confirm that the changes in enum are OK with openapi-generator

Sorry for the late response. Changes look good on the generated code.


Namespaces / autoloading?

src/Bar.php
namespace My;

class Bar extends \My\Some\Foo
{
  public function doSomething()
  {
  }
}

src/Some/Foo.php
namespace My\Some;

class Foo
{
    public function doNothing()
    {
    }
}

D:\Projects\TestProject>phpunit-skelgen --test -- My\Bar src/Bar.php
PHPUnit Skeleton Generator 1.1.0 by Sebastian Bergmann.

PHP Fatal error:  Class 'My\Some\Foo' not found in D:\Projects\TestProject\src\Bar.php on line 5

Skeleton Generator seems to parse the PHP file (and obviously, without autoloader, it cannot resolve its dependencies), when it should simply generate a test class for it. Netbeans developer says: "No bootstrap (autoload) is needed since phpunit-skelgen generates tests based on tokens (of source class) so it cannot fail with message "Cannot load class
XY"." (http://netbeans.org/bugzilla/show_bug.cgi?id=207627).
So now I'm not sure - is that Skeleton Generator problem or I should use bootstrap every time when running Skeleton Generator? (it works perfectly in that case).

Use the --bootstrap switch for this.

I just hit the same problem and the --bootstrap suggestion solved it for me. Perhaps it was the windows drive-path or the quotes or the .cache file confusing it?
(In linux) I ran:
phpunit-skelgen --bootstrap boot/strap.php --test -- "\Scipilot\Foo\Model\Bar" src/Model/Bar.php
where boot/strap.php contains a require "vendor/autoload.php" for my PSR4 library and this solved the dependency issue.


VokoscreenNG application file is incorrect

VokoscreenNG application file is incorrect, it points to /usr/bin/vokoscreenng instead of the name without any path.
Notify maintainers
@shamilton

This is not required if #219070 gets merged.


Directory creation not working in Linux

When the app creates the files it doesn't create a proper directory, it just generates individual files with the names of the paths they are supposed to be in,names such as "Project\app\src\main\AndroidManifest.xml".
Edit: I used the latest release phar file. I think latest changes in your code are not reflected in your latest release.

@corvalanlara let me fix it by this evening (GMT)

@corvalanlara please check the latest release, actually I'm using Windows, so can't test it locally.
Regards

Now it works!


Enhancement: Add Scrutinizer badges

This PR

[x] cherry-picks 1f14a2f15f302d4e304b8fe27fb8ecdd6a1ef686
[x] wraps the badges
[x] references the master branch

Related to #491.
:information_desk_person: It seems that we already have Scrutinizer up and running, why not show the badges already?
Before

After

@localheinz :+1:

Thank you, @Ocramius!


Property not found from subclass - how to annotate?

How to annotate the following to work without errors?
/* @flow */

class A {
  x():A {
    return this;
  }
}

class B extends A {
  y():B {
    return this;
  }
}

var w = new B();

w.x().y();

It gives the error: Property not found in A
Try it only: https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVBjGBDAzrsAQTAG9UwwAPACgEoAuYsiigJwFMAXAV1YDswnABYBLXAG5yYAL6pZmHPjAAhMO0qd2fACYEmUgJ516q5iw49+g0RKmz5AN2yswSALxg+7JMrqTUCAB0NLSBRrT+QA
Please correct my code and give me a running example of it.

Use this as a return type.
Can't find docs about it, here are some examples.

Use this as a return type

I wouldn't recommend it, it's very unsafe

I wouldn't recommend it, it's very unsafe

I'm now aware of any known unsoundness here. Can you expand on this?

@samwgoldman https://github.com/facebook/flow/issues/2998, although is not as bad as I thought

@agentcooper thanks, that works
hopefully the documentation for flow may be optimized with more examples like this in the future


Caption template has "Associate Division" hardcoded -- this seems like it should be "Housing Division" but may depend on circuit?

Removed Associate Division.  Should we ask if there is some way to tell whether a court has a housing division?

Return to Associate Division, per Terry on Teams


[channelmod] catchup feature

catchup feature - ability to catchup on a mirror in a channel, this can be used in case bot was down.
Syntax: ^channelmod catchup channelid startat [endat] if endat is omitted then it just catches up to present.
This should be gated to people with the permission, which should be managed through, drumroll, gadmin!!!!!!!!! (default it to false)

Closed by #18


DynaSim as Matlab Package

Put everything inside a folder +ds.
All functions need to be namespaced with ds., unless you import the package.

started new branch iss144_ds_package


Dockered sickbeard timing out with /etc/hosts name resolutions

Running with this:
/usr/bin/docker run -it --link sabnzbdplus:sabnzbdplus --name sickbeard \
  --restart no --rm -h sickbeard -p <IP_ADDRESS>:8081:8081 -v /data:/data \
  -v /etc/localtime:/etc/localtime:ro -v /opt/docker/sickbeard:/config \
  timhaak/sickbeard /bin/bash

root@sickbeard:/# cat /etc/hosts
<IP_ADDRESS>     sickbeard
<IP_ADDRESS>       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
<IP_ADDRESS>     sabnzbdplus

root@sickbeard:/# ping sabnzbdplus
PING sabnzbdplus (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from sabnzbdplus (<IP_ADDRESS>): icmp_seq=1 ttl=64 time=0.099 ms
^C
--- sabnzbdplus ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.099/0.099/0.099/0.000 ms

root@sickbeard:/# (echo 'import urllib'; \
  echo 'if urllib.urlopen("http://sabnzbdplus:8080"):'; \
  echo '  print "Success"') | \
  python
Success

But when I put http://sabnzbdplus:8080 in the sickbeard sabnzbdplus host field, it never completes, doesn't log anything, and sits there.  If I use the IP of that container, it's fine.  I suppose that means I either need to statically assign the IP to the container (which seems to be impossible with docker), or I need to get this DNS resolution working somehow.
Any ideas?

If I use a shorter name than sabnzbdplus (sab, for example) this works fine.  Interesting.

Interesting which version of docker are you using ?

1.5.  I think it's actually an issue with sickbeard as ping, etc all worked with the longer hostname.  Maybe its python/urllib, but when I tried by hand it was fine as you can see above.


Select wrong roles on user grant for granted project

Describe the bug
If I grant a project to another organisation, the organisation should only be allowed to choose the given roles to users.
On create user grant this works correctly. On update I am able to choose from all roles on the project, not from the project grant.

I could not reproduce this issue, and will close it


Fix need to rotate android device to landscape to scan 1D barcodes, also fix focus and auto focus not being implemented

Simple fix using android ImageAnalysis Builder to auto-rotate images if needed.
https://developer.android.com/reference/androidx/camera/core/ImageAnalysis.Builder#setOutputImageRotationEnabled(boolean)
Implement Focus and AutoFocus via TimerTask

Looks like a nice start, i need to take a closer look :)

Can this get merged please?

Can this please be merged? I've been messing with this, and only after looking at the code here, realised that it isn't working because the Focus and AutoFocus are silently unimplemented on Android!

@Captnwalker1 The indentation looks wrong wonky on Github. You might want to run the file through a formatter.

Will anyone re-work this PR as @Ghostbird requested? I need the fix for the barcode so we won't need to rotate the device in order to scan a simple barcode.

After I get some obligations off my plate, if this is still has no movement, I may take a look at it and give it a shot. However, if someone else wants to take it, please do.

+1


For frame [velodyne] does not exist

Fill-out only one section depending on whether you are reporting a bug or a new feature.
Bug
in RViz reports:
1:[velodyne] does not exist
2:Parameter [robot_description] does not exist and was not found by searchParameter.
Expected Behavior
in Rviz should be a car
Actual Behavior
there is no car
Steps to Reproduce the Problem

I followed the Autoware install guide and then the quick start, but I got the RViz without a car on it just like the guide video on youtube. And the map does not move at all.

Specifications

Ubuntu version: 16.0.4
ROS version: kinetic
Autoware branch:Master

New Feature
Describe where the new feature request comes from. Add a high-level diagram of how the new feature should work.

i have the same problem!

Was this ever solved?

@Jaskaran-Singh-Sodhi This is a very old issue. If you are having a similar one, please post a question on ROS Answers (where we handle support requests).


Update scala-library to 2.12.14

Updates org.scala-lang:scala-library from 2.12.11 to 2.12.14.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.12.11).
You might want to review and update them manually.
.github/workflows/ci.yaml
.github/workflows/release.yaml

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, semver-patch, old-version-remains

Superseded by #155.


What is the roadmap?

Can you briefly introduce the technology roadmap? I hope to understand your ideas and help you develop this project.

Hi @ZhiXiao-Lin. Thanks for asking.
This project is at this point a PoC level. The idea was to check how feasible it would be to build a tool that can create OCI images without any containerization infrastructure, similar to google/ko, but without building of the binaries. In that way, Ocilot could serve as an image building tool for various languages.
That PoC phase went well. I was able to fetch end extract OCI images. Adding files on top of the image, and pushing it back, seems easy and straightforward - just a matter of spending some hours on development. However, the PoC had an additional target of checking how feasible it would be to package Ocilot parts as wasm modules, so they can be executed from within embedded wasmtime (implements the emerging WASI specification). Running wasm modules on embedded wasmtime, would allow building language-specific build tools like:

Maven & Gradle plugins (Java)
Rake tasks (Ruby)
NPM scripts (JavaScript)
Setuptools plugins (Python)
Mage tasks (Go)
.NET tools (.NET)
Cargo plugin (Rust) - in this case embedding of wasmtime would not be required as code can be used directly.

Other languages could follow, or use ocilot binary directly.
The intention was that above plugins would only have minimal amounts of code. I image only platform-specific code be there, as interfaces to communicate with Ocilot could be generated from Protobuf files.
Starting this PoC, I was aware that WASI is in active development, and it is lacking a crucial networking extension. Without the networking, it's impossible for wasm module to connect to remote OCI registry. That's why I intentionally have split the implementation to couple of modules, so at least the parts of the Ocilot could be reused.
However, it turns out that without ocilot-oci as wasm module, the cost of reimplementing it in  language specific way would be unjustifiable. Also, apart from the needed WASI networking proposal, I think this will need async-await support as well.
Taking all the above into consideration, I decided it's too early to fully pursuit all of those projects goals. Completing basic implementation in Rust would be beneficial still, as it will allow the people to use this as a binary. At the same time, it would allow me to track progress of WASI, having a real-world application that I like to embed as wasm.
To summarize. I plan to finish basic implementation in Rust, but it's not a huge priority for me at this point.
Roughly, the implementation will need the following:

building OCI image layer on top of extracted image
multi arch support - fetch images for specified archs, and build for each one of them, add manifest list
proper listing of built images, clearing, proper caching of downloads
publishing of images
reading Docker config.json file.


Use bootstrap columns for glossary terms index

Coverage: 93.524%. Remained the same when pulling 73e6d8796d7b3e6c124b24edcbff83524c395121 on nimmo-glossary-terms into 9ce4fb90381b0d507997d107a712e14ec9d12271 on main.


How to spawn entity from handler?

You can add a new entity through Insert event in a system. See https://docs.rs/evenio/latest/evenio/tutorial/ch04_entities_and_components/index.html#bundling-components

You can spawn an entity from a handler by using the Sender::spawn method.


Update etcdadm provider tags

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks!


The "vendor" for the plugin is different in VST3 and AU

In VST3 it shows up under "Paul Ferrand", while the AU version shows up under "Sfzt".

f2f37d73b040856e91260034a17ef9d221cd8dc5 should make all of these show up under "SFZTools" now.


How to iterate over cookies of SignedJar?

The SignedJar doesn't have iteration methods. How to iterate over cookies in this case?

@XX you probably have retrieved SignedJar from CookieJar, which become a parent for retrieved jar. Changes to retrieved jar are actually done on parent jar, so you can iterate over parent's delta to get the cookies of SignedJar

In master, you can now do:
// assuming `parent` is the parent cookie jar:
for cookie in parent.iter().filter_map(|c| SignedJar::verify(c.clone()).ok()) { .. }


Support Transformers >= 4.22

Background

The directory structure where  pre-trained models are downloaded has been changed with transformers 4.22
While the models files directly are downloaded into the cache directory in older versions, with version 4.22 transformers uses complex directory structure.
We need to upload this directory to bucket as we downloaded.
In order to complete this issue,  the ticket https://github.com/exasol/bucketfs-python/issues/1 must be done.

Acceptance Criteria

switched to upload_directory method in bucketfs-utils
update toml file with `transformers="^4.22"'

pay attention that newer versions install nvidia modules which increases SLC size ~2GB

Needs another review from Marlene.


ZEPPELIN-1293. Livy Interpreter: Automatically attach or create to a new session

What is this PR for?
By default, livy session will expire after one hour. This PR would create session automatically for user if session is expired, and would also display the session expire information in frontend. The expire message would only display at the first time of session recreation, after that the message won't be displayed.
What type of PR is it?
[Improvement ]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1293

How should this be tested?
Tested manually.

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@prabhjyotsingh @felixcheung Please help review.

@felixcheung I have addressed the comments and also fix one bug in LivySparkSQLInterpreter, and update the screenshot of testing in PR description.

Tested locally, looks good.

LGTM.
what is the bug in LivySparkSQLInterpreter - should we have a JIRA for it?

The bug in LivySparkSQLInterpreter is caused by this PR. LivySparkSQLInterpreter delegate LivySparkInterpreter to generate InterpreterResult and then convert it to table type. So here since we make it as multiple InterpreterResult, we should only convert the InterpreterMessage with text type that is for sql output.

ping @felixcheung any more comments ?

nope,
merging if no more comment

merging if no more comment

@felixcheung @minahlee Could any of you help to merge it into branch-0.7 as well ? Since this is only livy interpreter specific, so I don't think it would affect the 0.7 release.

@felixcheung @minahlee , Sorry my mistake, I has been merged into branch-0.7. @minahlee I notice you make the jira fixversion as 0.8, I add 0.7 as well.


Tooltip not working on disabled elements

Describe the bug
I want to add a tooltip that shows why a particular UI component is disabled, so the user can take action and fill some missing information. I tried following the example in the documentation (https://docs.marimo.io/api/markdown.html#tooltips), but found that it only works as long as the element is enabled.
Environment
{
"marimo": "0.9.1",
"OS": "Windows",
"OS Version": "11",
"Processor": "Intel64 Family 6 Model 126 Stepping 5, GenuineIntel",
"Python Version": "3.12.2",
"Binaries": {
"Browser": "129.0.6668.60",
"Node": "v20.14.0"
},
"Dependencies": {
"click": "8.1.7",
"importlib-resources": "missing",
"jedi": "0.19.1",
"markdown": "3.6",
"pygments": "2.17.2",
"pymdown-extensions": "10.7.1",
"ruff": "0.5.2",
"starlette": "0.37.2",
"tomlkit": "0.12.4",
"typing-extensions": "4.9.0",
"uvicorn": "0.29.0",
"websockets": "11.0.3"
},
"Optional Dependencies": {
"pandas": "2.2.2"
}
}
Code to reproduce
Here's an example to reproduce the issue.
import marimo

__generated_with = "0.9.1"
app = marimo.App(width="medium")

@app.cell
def __():
    import marimo as mo
    return (mo,)

@app.cell
def __(mo):
    button_enabled=mo.ui.button(
        label="
This is enabled, and will show tooltip
", disabled=False
    )
    button_enabled
    return (button_enabled,)

@app.cell
def __(mo):
    button_disabled=mo.ui.button(
        label="
This is disabled, but will not show tooltip
", disabled=True
    )
    button_disabled
    return (button_disabled,)

if __name__ == "__main__":
    app.run()

We disable pointer events https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events when elements are disabled, I can see what ARIA best practices are.

In the meantime, you can do something like this:
mo.md(rf"""
{mo.ui.button(disabled=True)}
""").left()

That's a neat trick. Thanks!


CAMEL-12233: spring-boot: add threadNamePattern property

I'll merge ASAP

Thanks for the reviews guys!
@oscerd Thanks, but that should not be necessary, I can merge the pull request myself.

Ah yeah :-D
Il 10 feb 2018 12:55, "Pascal Schumacher"<EMAIL_ADDRESS>ha
scritto:

Thanks for the reviews guys!
@oscerd https://github.com/oscerd Thanks, but that should not be
necessary, I can merge the pull request myself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/camel/pull/2217#issuecomment-364646465, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AE3r1_adnh4ZZ_XiABVtasQKgrM_y_r0ks5tTYPIgaJpZM4SANT9
.


Assessment

Adds Assessment widget
Adds Assessment recipe

Adding a wait to merge label to this. I will review it in more detail tomorrow.

Closing because SurveyJS has been integrated with VueForms