rna-transcription: don't transcribe both ways

I can't remember the history of this, but we ended up with a weird non-biological thing in the RNA transcription exercise, where some test suites also have tests for transcribing from RNA back to DNA. This makes no sense.
If this track does have tests for the reverse transcription, we should remove them, and also simplify the reference solution to match.
If this track doesn't have any tests for RNA->DNA transcription, then this issue can be closed.
See https://github.com/exercism/x-common/issues/148

Haskell is good; https://github.com/exercism/xhaskell/blob/master/exercises/rna-transcription/rna-transcription_test.hs imports and tests only a toRNA function, and there is no toDNA in sight.

Thanks.


README updates

Fixes from https://github.com/form3tech-oss/f1/pull/12
Additional updates inspired by https://github.com/form3tech/k6-tests/pull/182

Maybe we need a picture or two? or possibly https://asciinema.org/ cast of f1 chart & a quick f1 run?


Update Kubernetes to v1.7.0

@mumoshu already have a dev cluster running Kubernetes v1.7.0 deployed using kube-aws and didn't find any issue yet. Of course it will be nice to enable some features, like secret encryption, but at compatibility level, looks fine.

@camilb Thank you very much for the helpful info 👍 Good to know there's no huge compatibility issues 😄

@camilb Did you also update heapster from v1.3.0 to v.1.4.0?
If so, have you also observed that heapster-nanny is consistently failing due to https://github.com/kubernetes-incubator/kube-aws/pull/746#issuecomment-313323840?

@mumoshu, no, still running v1.3.0.

I suspect kube-aws support for Kubelet TLS Bootstrapping won't work with Kubernetes 1.7 as --insecure-experimental-approve-all-kubelet-csrs-for-group flag is now no-op. Seems easy enough to fix though.

@danielfm Thanks for the info 👍
I'm still in process of catching up but according to https://kubernetes.io/docs/admin/kubelet-tls-bootstrapping/#approval-controller, we now need to create roles and role bindings to enable controller-manager to auto-approve csrs?

@mumoshu Yes, I think it's just a matter of defining the right roles and bindings. We could keep the --insecure-experimental-approve-all-kubelet-csrs-for-group flag for now for backward compatibility.

Closing this via #746. Please see #721 to fix the TLS bootstrapping feature after the k8s update.


MarkwonInlineParserPlugin is not thread-safe

Markwon version: 4.6.2

Please specify expected/actual behavior

I expect that parallel calls toMarkdown on the same Markwon instance with MarkwonInlineParserPlugin will produce a deterministic result. In fact, I get errors related to incorrect parsing (my links in [text](link) format are not parsing correctly).

Please specify conditions/steps to reproduce (layout, code, markdown used, etc)

Although I'm using different code in my android app, I've sketched an example that reproduces the problem:
        val input = "[Link text Here](https://link-url-here.org)"

        val markwon = Markwon.builder(application)
            .usePlugin(MarkwonInlineParserPlugin.create(MarkwonInlineParser.factoryBuilderNoDefaults()).apply {
                factoryBuilder()
                    .referencesEnabled(true)
                    .addInlineProcessor(OpenBracketInlineProcessor())
                    .addInlineProcessor(CloseBracketInlineProcessor())
            }).build()

        with(CoroutineScope(Dispatchers.IO)) {
            repeat(5) {
                launch {
                    Timber.tag("MarkwonInstance").w("$it: ${markwon.toMarkdown(input).toHtml()}")
                }
            }
        }

output:
 4:
[Link text Here](https://link-url-here.org)

 0:
[Link text Here]

 3:
[Link text Here]

 1:
]

 2:
[Link text HereLink text Here

I suspect this doesn't work correctly for all *Processors with MarkwonInlineParser.

Hello @CRaFT4ik ,
well, true, markwon is not thread safe. It was not intended to be shared between multiple threads, as there is some internal state involved during parsing in some plugins. Normally, you would need create an instance of Markwon when you need it without sharing it


WEB RTC for multi-user edition

The idea is in the title :)

But... That's awesome :)
I was anticipating very hard concurency situations but if we considere live multi user edition, it would be a very nice addition but also we could simplify backend merges!


Enterprise quant has problem

InferDataType Failed. Expected kFloat16, but got kInt8
ERROR [2024-06-20 17:46:58] /root/picasso/韩昊天/onediff/src/onediff/infer_compiler/oneflow/utils.py:23 - Exception in forward: e=RuntimeError('InferDataType Failed. Expected kFloat16, but got kInt8\n  File "oneflow/core/framework/op_interpreter/op_interpreter_util.cpp", line 144, in Dispatchoneflow::one::Tensor\n    Dispatch(op_expr, inputs, ctx)\n  File "oneflow/core/framework/op_interpreter/op_interpreter_util.cpp", line 135, in Dispatchoneflow::one::TensorTuple\n    Dispatch(op_expr, inputs, outputs.get(), ctx)\n  File "oneflow/core/framework/op_interpreter/op_interpreter.cpp", line 103, in Apply\n    internal_->Apply(op_expr, inputs, outputs, ctx)\n  File "oneflow/core/framework/op_interpreter/lazy_op_interpreter.cpp", line 856, in ApplyImpl\n    infer_ctx->AddAndInferGlobalOp(*op_conf)\n  File "oneflow/core/job/job_build_and_infer_ctx.cpp", line 573, in AddAndInferOp\n    op->InferLogicalOutBlobDescsIf()\n  File "oneflow/core/operator/operator.cpp", line 329, in InferLogicalOutBlobDescsIf\n    InferLogicalOutBlobDescs(BlobDesc4BnInOp, *JUST(GetOpParallelDesc()))\n  File "oneflow/core/operator/user_op.cpp", line 772, in InferLogicalOutBlobDescs\n    val_->data_type_infer_fn(&infer_ctx)\n  File "oneflow/user/ops/fused_matmul_bias_op.cpp", line 66, in InferDataType4MatmulBias\n    CHECK_EQ_OR_RETURN(in_desc.data_type(), first_in_desc.data_type())\nError Type: oneflow.ErrorProto.check_failed_error')

What example are you running with?
It seems a fp16 pipeline is running with int8.

@CuddleSabe

too old to follow, feel free to reopen it.


[SUPPORT]Failed to create a table

@leesf  Use the Master branch code build. Spark SQL Creates a hudi table. The table directory is empty without hudI metadata files。

@YannByron : can you please check this one as well.
CC @xushiyan

@melin would you please show your spark version and the code snippet to reproduce?

@melin would you please show your spark version and the code snippet to reproduce?

Spark 3.2
create table bigdata.test_hudi_dt (
    id int comment '',
    name string comment '',
    price double comment '',
    ds string comment ''
) USING hudi
PARTITIONED BY (ds)
OPTIONS (primaryKey = 'id', type = 'cow', preCombineField='ds');

@melin you need also to set spark.sql.catalog.spark_catalog to org.apache.spark.sql.hudi.catalog.HoodieCatalog before you open a spark session, 'cause that the master branch has supported spark DatasourceV2.

@YannByron @leesf thanks for clarifying.
@melin were you able to get this fixed using the advised?

It's now running，Thanks you
If Spark is running on YARN, how can I globally specify hive MetaStore Server parameters and synchronize metadata。
Support for adding hudi parameters to SparkConf? Example: the spark hudi. Xx. Xx = test


As a human, i do a lot of typos. We should add tests to prevent them and other errors.

For functions and mixins.

https://github.com/oddbird/true#usage
Articles:

https://seesparkbox.com/foundry/how_and_why_we_unit_test_our_sass
https://itnext.io/setting-up-sass-unit-testing-in-your-project-b683a2e8ac03

Example on how to setup with jest

🤚


Pytest-watch will not exit with Ctrl+C (sometimes)

Ubuntu 18.04
pytest-watch==4.2.0
pytest==5.1.2

Seemingly randomly at times I cannot exit ptw using Ctrl+C in the terminal. I then need to killall ptw to exit it.
Has anyone else experienced this issue?

For anyone else seeing this bug, you can just use 'entr' instead of pytest-watch which doesn't suffer from this issue:
sudo apt install entr

find . -name '*.py' | entr pytest tests/test_something.py


Add support for passing options to kernel::loadModule()

Because of the missing reset_required=0 the module loading in Kernel doesnt work without reboot.
https://github.com/VILLASframework/node/blob/5f44e16ced1ed7dda03e271e538984903e1eb075/common/lib/kernel/kernel.cpp#L142C1-L149C48

This is not a bug, but requires and enhancement to load_module(). We should allow passing additional module options to it. Maybe as a vararg function, which we simple pass through?


Disabled/restricted shell access does not produce human-readable error message in pdfTeX

I tried compiling the following document with pdfTeX:
% (file name: test.tex)
\documentclass{article}
\usepackage{markdown}
\begin{document}

Using inline markdown:

\begin{markdown}

Hello World.

\end{markdown}
\end{document}

The result was an emergency stop and the error message displayed below. It compiles just fine with LuaTeX.
System information: I am using TeX Live 2023 (installed yesterday, October 22) on Windows 10. I got the same error message with TeX Live 2022, which was why I installed the 2023 version yesterday.
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex 2023.10.22)  23 OCT 2023 10:31
entering extended mode
 restricted \write18 enabled.

...

! I can't find file `"|texlua ./test.markdown.lua"'.
<to be read again>
                   \scan_stop:
l.13 \end{markdown}

...

[...] perhaps the error message could be made more clear?
—originally posted by @sorsted in https://github.com/Witiko/markdown/issues/365.

It definitely should, thanks for bringing this to our attention. Currently, the execution of Lua code and all error handling is delegated to the lt3luabridge package, which uses the \sys_get_shell:nnNTF expl3 function in pdfTeX to determine whether the shell is available and to either use the shell or report an error:
\msg_new:nnnn
  { luabridge }
  { level-disabled }
  {
    Shell~escape~seems~to~be~disabled
  }
  {
    You~may~need~to~run~TeX~with~the~--shell-escape~or~the~
    --enable-write18~flag,~or~write~shell_escape=t~in~the~texmf.cnf~file.
  }

However, from your report it seems that the function \sys_get_shell:nnNTF fails to properly handle the case where the shell escape is disabled/restricted and does not produce a human-readable error.
—originally posted by @witiko in https://github.com/Witiko/markdown/issues/365.

I opened a ticket upstream in https://github.com/latex3/latex3/issues/1339. This is likely not a bug but the intended behavior, because expl3 cannot handle the case, where shell access is restricted and the shell command is not allowed.


Adjust Quickstart steps for on-prem installation.

The on-prem Quickstart is telling you to start by SSH'ing to the
device, but you need to start by flashing it, as for Hosted Mender.
Signed-off-by: Kristian Amlie<EMAIL_ADDRESS>

Cherry-picked to 2.4.x as well.


Can not disconnect in android 9

In android 9 when you click on disconnect button, the app will toast "disconnected" and notification icon will disappear but vpn connection will still remain

Same here, disconnect doesn't work. Auto connect seems not working too.
Also, I can't find app on Play Store.

Same here.

Same here. This issue is affecting the 'auto reconnect' feature because we need manually disconnect and 'forget' the vpn connection before to reconnect.

I was able to fix this issue by updating the BusyBox binaries in the assets directory to a newer version:
Binaries
Source Code
Additionally, in the VPNService file the VPN interface has to be set to null after closing. I will open a pull request soon.
Disconnect works fine now (on Android 9), auto connect still seems to have another issue.

I was able to fix this issue by updating the BusyBox binaries in the assets directory to a newer version:
Binaries
Source Code
Additionally, in the VPNService file the VPN interface has to be set to null after closing. I will open a pull request soon.
Disconnect works fine now (on Android 9), auto connect still seems to have another issue.

Thank you so much!


zipformer and SSL feature adaptation

I was wondering if zipformer has any specific modules or functions designed for fbank features? I’m using pretrained wav2vec2.0 representations as input for zipformer training, but I’m having trouble with the model’s loss not converging well. I’m following the librispeech/zipformer recipe, but when I used the same representations with librispeech/pruned_transducer_stateless7, it converged just fine. I noticed the main difference between these recipes is the zipformer encoder. Is there something specifically designed for fbank features in librispeech/zipformer that could be causing this?

What do you mean by not converging well? Is it having poor WERs?

My model's loss is quite high, fluctuating around 2.0, and it hasn’t decreased much. The WER is also high.

this is my models loss

This is strange. I have trained the SSL features from HuBERT / WavLM using Zipformer recipe, it converges well.

The frame rate of wav2vec2.0 is 50Hz? And the Fbank is 100Hz. Maybe you can simply interpolate it into 100Hz or remove the downsampling in the subsampling.py.

If it's the latest zipformer recipe you can also try adding the option warmup_start=0.1 to the initializer of Eden (the scheduler), this sometimes helps in case of divergence; or reduce the learning rate (e.g. .045 to .035)

I am not using the latest version of Zipformer. And, I use the final layer representation of a pretrained wav2vec2.0 model, interpolate it linearly to 100 Hz, then use a linear layer to align the number of channels to 80, and finally apply layer normalization before passing it to Zipformer. I had to adjust the base learning rate to 0.0035 to address the gradient vanishing problem, which is quite strange.


Is the ffmpeg echo on iOS devices fixed yet?

Just tested the output of this script on iOS and I can confirm there is still an echo when playing with the defaulted audio track. Is there a fix for this yet?  I recently converted a ton of videos with this and stupidly just got around to testing iOS now.

I've done some further research on FFMPEG and i learned this:

"you can do ffmpeg -map"
"suppose you do ffmpeg -i input and you see Stream 0:0, video. Stream 0:1, audio, 5.1. Stream 0:2, audio, stereo. You can do ffmpeg -i input -map 0:0 -map 0:1 to deselect the second audio stream (when you transcode it that is)

Is this a fix for the issue that users are having? If so, how can it be added to the mp4_automator script?

@drazin : It's possible that you've got multiple enabled audio tracks. ffmpeg has had a long standing bug where all the audio tracks are set to "default" and on some devices, they play simultaneously.
That would sound like an echo.
See here: https://trac.ffmpeg.org/ticket/3622
and here: https://trac.ffmpeg.org/ticket/1174
My fix is to build a patched ffmpeg which doesn't exhibit this problem using this patch:
https://gist.github.com/outlyer/4a88f1adb7f895b93fd9

I'm not savvy enough to figure out how to apply that patch. Any info on how I apply it? I'm in Windows.

Would kill to see a windows build of that patched exe posted. :)

I actually really would too, building FFMPEG from source for windows is a huge headache

I have a patched windows exe if you want. I built it from ffmpeg-3.0.2 source. It's just lacking h265 (it has h264) support. I'll try to add the h265 support.
@outlyer : you can also modify @mshiggins code to add the -disposition option to specify that the first audio track is default. Then you don't have to build ffmpeg from scratch. That's what I did. The code is here

Can you make a pull request for the disposition code changes you made? Would be awesome to have a fix for this bug
Sent from my iPhone

On Jun 1, 2016, at 01:38, phtagn<EMAIL_ADDRESS>wrote:
I have a patched windows exe if you want. I built it from ffmpeg-3.0.2 source. It's just lacking h265 (it has h264) support. I'll try to add the h265 support.
@outlyer : you can also modify @mshiggins sicode to add the -disposition option to specify that the first audio track is default. Then you don't have to build ffmpeg from scratch. That's what I did. The code is here
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I did the pull request. Kind regards.

Already merged. Strong work. Much appreciated.
Sent from my iPhone

On Jun 3, 2016, at 16:24, phtagn<EMAIL_ADDRESS>wrote:
I did the pull request. Kind regards.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Cheers all around!! Thanks for fixing this.

I did an update on my cloned repo but I don't see the changes. And I still the pull request open. What am I doing wrong?

Whoops looks like the merge didn't go through. Fixed it now. Could have sworn I confirmed it earlier.
Sent from my iPhone

On Jun 3, 2016, at 23:16, astrodad<EMAIL_ADDRESS>wrote:
I did an update on my cloned repo but I don't see the changes. And I still the pull request open. What am I doing wrong?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Cool thanks. I see it now. I'll test this afternoon!

On Jun 4, 2016, at 11:44 AM, Michael Higgins<EMAIL_ADDRESS>wrote:
Whoops looks like the merge didn't go through. Fixed it now. Could have sworn I confirmed it earlier.
Sent from my iPhone

On Jun 3, 2016, at 23:16, astrodad<EMAIL_ADDRESS>wrote:
I did an update on my cloned repo but I don't see the changes. And I still the pull request open. What am I doing wrong?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


[libxslt,libpq] Fix misc issues

libxslt
Fixes libname in the installed pc files for msvc triplets.
libpq
Fixes feature zstd pulling in lz4 libs.
https://github.com/microsoft/vcpkg/commit/da1fc661a00c895bc7ec8621fbbfdc53f581a89a fixes #31242 (to be tested).
https://github.com/microsoft/vcpkg/commit/29a66aebaeed8a11ca7758cfcaabd44de461202d fixes #30327 (to be tested).
https://github.com/microsoft/vcpkg/commit/a4e83a522d5b2d6e9fbe869f41f85f15b8528680 fixes #30099.
Fixes building the programs (libpq[client]) with all possible features enabled.
Fixes building libpq[python] on static non-msvc triplets using pkg-config.
Establishes consistency between msvc and non-msvc triplets by always installing libecpg.
Fixes race conditions in non-msvc builds
Cleanup.
Notes

uwp is unsupported upstream. Unchanged.
arm64-windows is unsupported upstream. Patches were extended. I don't know if the binaries were healthy before this PR, withouth the spin_delay patch, and I'm unable to test if they are healthy now.
Alternative (seriously): Drop patched-in arm64-windows support. Affects downstream ports (e.g. gdal).
*-windows-static-* is unsupported upstream. Patches were extended. I don't know if the binaries were healthy before this PR, e.g. without dllexport/dllimport changes. Maybe this was subject to feature configuration. At least the client programs build now, with all possible features enabled.
The msvc builds don't provide exported configurations (pkgconfig). This can cause downstream ports (e.g gdal) to fail because they are unaware of the full set of transitive link libraries pulled in via optional features.
Not a regression and out of scope for this PR.
On windows, building the programs (libpq[client]) suffers from https://github.com/microsoft/vcpkg/issues/29139. Not a regression.

Checklist

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@LilyWangLL No longer https://github.com/microsoft/vcpkg/labels/category%3Acommunity-triplet.

Features passed with following triplets:
x86-windows
x64-windows
x64-windows-static


netbird show routes per peer

Hi @moserpjm,
I added a column routes to the "Connection Status" page.

I had to manually copy it from an OPNsense box and forgot an else {} while typing - good morning ☕😴


Turnip Pricing

Ability to share turnip pricing, maybe even calculate how much they can potentially sell for during the week.

If you're looking for inspiration on where to go with this, my Discord is currently resorting to a fancy spreadsheet to track prices and predictions across the server. Would love it if users could report this data and see the server-wide projections in Discord:

Do you mind sharing a copy of the sheet? Just so I can play around with the math behind it?

I didn't implement the turnip logic on the spreadsheet, I forked it from someone else and just added the summary page. I can't find the original just now, but here's a copy of mine.
It's based on the same code as all the other turnip trackers out there, (e.g. https://github.com/mikebryant/ac-nh-turnip-prices) which all trace back to this gist: https://gist.github.com/Treeki/85be14d297c80c8b3c0a76375743325b

Than is Chris, I'll have a play around with it tonight and see if I can implement something.


composite id: how to handle them

hi,
from what I've seen bookshelf does not support composite keys yet, I would like to know if there are examples of how to behave in the event that you have a table with a composite key.
I just need to map the model in a simple way, to be able to work.
or there are some others tricks?

The project leadership of Bookshelf recently changed. In an effort to advance the project we close all issues older than one year.
If you think this issue needs to be re-evaluated please post a comment on why this is still important and we will re-open it.
We also started an open discussion about the future of Bookshelf.js here https://github.com/bookshelf/bookshelf/issues/1600. Feel free to drop by and give us your opinion.
Let's make Bookshelf great again


buildah rmi issue fails on private repository using image id

When an image is created on a private repository in docker.io and an image is created from it, you can not remove the image using buildah by passing the imageID to the 'buildah rmi' command.  However it does succeed if you use the Image Name of the image rather than its ID.  Test snippet below.
buildah images
IMAGE ID     IMAGE NAME
IMAGE ID             IMAGE NAME                                               CREATED AT             SIZE
2a6c6a8e8a0c         docker.io/library/fedora:latest                          Jun 30, 2017 19:24     220.2 MB
a222d5fe42fc         docker.io/tomsweeneyredhat/testing:first                 Jul 13, 2017 19:16     244.8 MB
buildah rmi a222d5fe42fc
ERRO[0000] reference "[overlay@/var/lib/containers/storage]docker.io/library/a222d5fe42fc:latest" does not resolve to an image ID
ERRO[0000] could not get image "a222d5fe42fc": error parsing "@a222d5fe42fc" as a storage image reference: invalid checksum digest length
buildah rmi docker.io/tomsweeneyredhat/testing:first
untagged: docker.io/tomsweeneyredhat/testing:first
a222d5fe42fc72bdd5d334d247e32254b63c29edea4427a8b2ee7e8983495407
buildah rmi docker.io/tomsweeneyredhat/testing:first
untagged: docker.io/tomsweeneyredhat/testing:first
a222d5fe42fc72bdd5d334d247e32254b63c29edea4427a8b2ee7e8983495407

Tom have you investigated why this happens?

@TomSweeneyRedHat Is this still happening?

Still happening.  I talked to Nalin about it and was under the impression that he'd a handle on it so I didn't poke further.  I can take a look if you @nalind would like.

Most of our handling of truncated IDs should get fixed by updates to containers/image that let it recognize images by truncated ID, but we can work around that not being there yet in #211.

@TomSweeneyRedHat Looks like this is fixed.  Ok to close?

This error has gotten slightly better.  Now I'm just seeing the first error, but the image is getting removed.
[root@localhost buildah]# buildah images
IMAGE ID             IMAGE NAME                                               CREATED AT             SIZE
449c3bbf3106         docker.io/kubernetes/pause:latest                        Jul 19, 2014 07:02     241 KB
67cbc7d7ad9f                                                                  Sep 21, 2017 21:01     26.23 MB
67cbc7d7ad9f         <none>                                                   Sep 21, 2017 21:01     26.23 MB
e12e873ea4d7         docker.io/library/redis:alpine                           Sep 21, 2017 21:01     26.23 MB
5d393c629a58         docker.io/library/fedora:latest                          Sep 15, 2017 23:28     220.4 MB
3468107a4544                                                                  Sep 13, 2017 14:32     3.784 MB
3468107a4544         <none>                                                   Sep 13, 2017 14:32     3.784 MB
94c325a8c1ad                                                                  Sep 13, 2017 14:32     3.784 MB
94c325a8c1ad         <none>                                                   Sep 13, 2017 14:32     3.784 MB
992c9f17da52                                                                  Sep 13, 2017 14:32     3.784 MB
992c9f17da52         <none>                                                   Sep 13, 2017 14:32     3.784 MB
ef6f7979f0e2         docker.io/library/alpine:latest                          Sep 13, 2017 14:32     3.784 MB
d65df6a58621         docker.io/library/fedora:25                              Sep 15, 2017 23:28     221.7 MB
d4187eb83f07         docker.io/library/fedora:26                              Sep 15, 2017 23:28     220.4 MB
474787f66921         docker.io/tomsweeneyredhat/testing:first                 Jul 12, 2017 16:57     244.8 MB

[root@localhost buildah]# buildah rmi 474787f66921
ERRO[0000] reference "[overlay@/var/lib/containers/storage+/var/run/containers/storage]docker.io/library/474787f66921:latest" does not resolve to an image ID
474787f66921d65424b1fe47c886fc6995135ab417bf82d8501120be22822d18

But he image is removed despite the error.
[root@localhost buildah]# buildah images
IMAGE ID             IMAGE NAME                                               CREATED AT             SIZE
449c3bbf3106         docker.io/kubernetes/pause:latest                        Jul 19, 2014 07:02     241 KB
67cbc7d7ad9f                                                                  Sep 21, 2017 21:01     26.23 MB
67cbc7d7ad9f         <none>                                                   Sep 21, 2017 21:01     26.23 MB
e12e873ea4d7         docker.io/library/redis:alpine                           Sep 21, 2017 21:01     26.23 MB
5d393c629a58         docker.io/library/fedora:latest                          Sep 15, 2017 23:28     220.4 MB
3468107a4544                                                                  Sep 13, 2017 14:32     3.784 MB
3468107a4544         <none>                                                   Sep 13, 2017 14:32     3.784 MB
94c325a8c1ad                                                                  Sep 13, 2017 14:32     3.784 MB
94c325a8c1ad         <none>                                                   Sep 13, 2017 14:32     3.784 MB
992c9f17da52                                                                  Sep 13, 2017 14:32     3.784 MB
992c9f17da52         <none>                                                   Sep 13, 2017 14:32     3.784 MB
ef6f7979f0e2         docker.io/library/alpine:latest                          Sep 13, 2017 14:32     3.784 MB
d65df6a58621         docker.io/library/fedora:25                              Sep 15, 2017 23:28     221.7 MB
d4187eb83f07         docker.io/library/fedora:26                              Sep 15, 2017 23:28     220.4 MB

I'd say keep it open for now.


Warning when I register PostgreSQL's json(b) converters

2021-02-15 21:38:28.453  WARN 5473 --- [           main] o.s.data.convert.CustomConversions       : Registering converter from class org.postgresql.util.PGobject to class name.nkonev.jdbc.repository.CustomerData as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
2021-02-15 21:38:28.453  WARN 5473 --- [           main] o.s.data.convert.CustomConversions       : Registering converter from class name.nkonev.jdbc.repository.CustomerData to class org.postgresql.util.PGobject as writing converter although it doesn't convert to a store-supported type! You might want to check your annotation setup at the converter implementation.

Reproducer

Classes like PGobject that come with the Postgres driver are currently not recognised as supported datatypes.


To what extent are psychology experiments affected by (dis)engagement states?

Now: MSc thesis Lorenzo van Hoorde, https://github.com/LorenzovHoorde/2024_human-engagement_HMM


Deploy image without tag

Hi, folks
I'm testing Shipyard and I have a doubt. When I deploy an image (e.g. ubuntu) without tag I can see this:

After finished these processes I can see a lot of ubuntu images. Why? Should  Shipyard/Citadel download only the latest tag?

Hmm perhaps it's a bug.  I would recommend to check the "swarm-v3" branch
as that is where the development has continued.  We are no longer
developing citadel.  Swarm v3 is planned to be merged hopefully soon.  You
can see testing docs at http://v3-docs.shipyard-project.com/.
On Tue, Aug 25, 2015 at 2:01 PM, José Guilherme Vanz <
<EMAIL_ADDRESS>wrote:

Hi, folks
I'm testing Shipyard and I have a doubt. When I deploy an image (e.g.
ubuntu) without tag I can see this:
[image: docker_img]
https://cloud.githubusercontent.com/assets/1514798/9474962/87788116-4b18-11e5-9f4a-ba1162c6ee5b.png
After finished these processes I can see a lot of ubuntu images. Why?
Should citadel download only the latest tags?
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/583.

Nice! Do you have some ideia when the version 3 will be released? What are missing?

Hi!
I'm trying to build the Shipyard but I have some issues in the process. I have tried to build using the

I'm trying to build the Shipyard swarn-v3 but it is not working for me. I have tried to build using the script/build script. But when the script try to run the container to build the Shipyard some issues with godeps occurs. See:

PS: I also tried to run make build inside controller directory. But the same problem occurs... Am I missing something important?

Hmm that should work.  I will take a look.  In the meantime, try http://v3-docs.shipyard-project.com/docs/quickstart/ -- that should get you a working instance.
FYI I'm planning to release v3 sometime next week.

Ok. Thank you ;)


Attributed Intrinsic

Overview
This PR fixes the decoding of unkeyed single value elements that contain attributes as reported in #12
Example
<?xml version="1.0" encoding="UTF-8"?>
<foo id="123">456</foo>

private struct Foo: Codable, DynamicNodeEncoding {
    let id: String
    let value: String

    enum CodingKeys: String, CodingKey {
        case id
        case value
        // case value = "" would also work
    }

    static func nodeEncoding(forKey key: CodingKey) -> XMLEncoder.NodeEncoding {
        switch key {
        case CodingKeys.id:
            return .attribute
        default:
            return .element
        }
    }
}

Previously this XML example would fail to decode. This PR allows two different methods of decoding discussed in usage.
Usage
This PR will support decoding the example XML in two cases as long as the prerequisite cases are matched.
Preqreuqisits

No keyed child elements exist
Any keyed child nodes are supported Attribute types and are indicated to decode as such

Supported cases

An instance var with the key value of any decodable type.
An instance var of any key that has a Decoding key of String value "value" or "".

The decoder will look for the case where an element was keyed with either "value" or "", but not both, and only one of those values (ie; no other keyed elements). It will automatically find the correct value based on the CodingKey supplied.
Other considerations
The choice to decode as either "value" or "" keys was purely to try to support the inverse to XML version which would only work if an instance var specifically has a CodingKey with associated value type String that returns an empty string, if PR #70 is commited as-is, which adds XML coding support for unkeyed attributed value elements.
The 'value' variant was added as a simpler means to support decoding a nested unkeyed element without having to provide custom CodingKey enum for a struct. Something needed to be provided since Swift doesn't have empty string iVars let "" : String, isn't a valid iVar token for example, so value was chosen as a logical default.
Notes
This PR is an extension of #70 , though it could be recoded to work off of master. The last commit in this PR is the only commit specific to this feature, though #70 provides the inverse solution of creating XML from an attributed value wrapping struct.
Coding and decoding unit tests of String and Int values are included.

It's incredibly difficult to find the failing error i the Travis logs. I'd suggest turning off the verbosity, and if linting is going to be a failure it might be faster to incorporate it as a pre-commit hook or use Danger or something that's faster than a full travis build for non-compilation related failures.

Thanks @JoeMatt, I've fixed SwiftFormat complaints and also merged master after #70 was merged. This still causes KeyedTests and UnkeyedTests to fail though

@MaxDesiatov Interesting, I don't think they were failing on my branch. I'll try to take a look this week. I'm moving this code into my own SOAP Swift Coding library that depends on XMLCoder so I'll have to fix any issues that arise. I'll push up fixes as I find them.

@JoeMatt while I've tried to remove that DynamicNodeEncoding extension in one of the commits, I did have to add it back to make all of the tests success before merging #70. The extension is also available in the corresponding branch of this PR, so doesn't look like that's the reason

Any news here? I'm definitely interesting in using this to support AppStore Connect uploading.

A few days I’ll be back on this. Need to fix something in another dependency of my app first.

I'm testing / fixing a case where the attributes are enums with associated values that can be reduced to a simple box.
Also, it's ready when it's ready, no need to keep posting for updates. Subscribe to the issue to get notified on updates.

Thanks @JoeMatt, no worries! I was thinking if I should pick up the branch myself, I wonder if any of the commenters were interested in contributing or planning their own work around this given that it's a pressing issue. Please let me know if there is any way I can help.

hm, most of the linter warnings reported by @houndci-bot are not valid, it probably didn't pick up the actual config. Sorry about that, it was setup just recently. I'll resolve irrelevant warnings

also, merged master, maybe that'll make it pick up the correct config

@MaxDesiatov I have one more thing I'm working on. Doesn't need to be in this PR.
It's when an enum is the attribute that should be decoded as a simple type, string etc.
example:
    <number type="unit">A201</number>

   public enum PostingType : Equatable, Codable {
        private enum CodingKeys: String, CodingKey {
            case unit
            case resno
        }

        public init(from decoder: Decoder) throws {
            let values = try decoder.container(keyedBy: CodingKeys.self)
            if let unit = try values.decodeIfPresent(String.self, forKey: .unit) {
                self = .unit(unit)
                return
            } else {
                let resno = try values.decode(String.self, forKey: .resno)
                self = .resno(resno)
                return
            }
        }

        public func encode(to encoder: Encoder) throws {
            var container = encoder.container(keyedBy: CodingKeys.self)
            switch self {
            case .unit(let unit):
                try container.encode(unit, forKey: .unit)
            case .resno(let resno):
                try container.encode(resno, forKey: .resno)
            }
        }

        case unit(String)
        case resno(String)
    }

    public struct PostingNumber : VendorDataProtocol, DynamicNodeEncoding {

        public let type : PostingType

        public init(type: PostingType) {
            self.type = type
        }

        enum CodingKeys : String, CodingKey {
            case type
            case typeValue = ""
        }

        public static func nodeEncoding(forKey key: CodingKey) -> XMLEncoder.NodeEncoding {
            switch key {
            case PostingNumber.CodingKeys.type: return .attribute
            default: return .element
            }
        }

        public init(from decoder: Decoder) throws {
            let container = try decoder.container(keyedBy: CodingKeys.self)

            let type = try container.decodeIfPresent(PostingType.self, forKey: .type)
            let typeArray = try container.decodeIfPresent([PostingType].self, forKey: .type) // Deal with the double value of type as attribute and element
            if let type = type {
                self.type = type
            } else if let typeArray = typeArray, let first = typeArray.first {
                self.type = first
            } else {
                throw DecodingError.keyNotFound(CodingKeys.type, DecodingError.Context.init(codingPath: decoder.codingPath, debugDescription: "Missing type"))
            }
        }

        public func encode(to encoder: Encoder) throws {
            var container = encoder.container(keyedBy: CodingKeys.self)
            switch type {
            case .unit(let unit):
                try container.encode("unit", forKey: .type)
                try container.encode(unit, forKey: .typeValue)
            case .resno(let resno):
                try container.encode("resno", forKey: .type)
                try container.encode(resno, forKey: .typeValue)
            }
        }
    }

looks like all checks pass, thank you very much @JoeMat! I'll review this in the next few days

I pushed one more commit which is the codable test for associated type unkeyed intrinsics.
The decoding I couldn't get to work. Requires more knowledge of the decoding code. I tried adding deifference decoders with code like ``

Cool, thanks a lot @MaxDesiatov .
Sorry for leaving in those prints. I have a habit of putting them everywhere in my unit tests but in my local setup, they get shuffled to a console logging app.
XMLCoder is really coming along!
If I see anything else in my code that could be of use I'll definitely make more PRs.


save different sets of filters as profiles

Maybe also add pre-made filters aka cars. If someone selects an Ioniq it only shows CCS, Type2, CEE and the normal household plug. And for people who use multiple cars it would be great to add these cars to favorites.

Not sure if we should pre-built profiles for different cars, because this also depends on which adapters you have (at least for the AC plugs). But if this is implemented you can definitely add different filter profiles for multiple cars.

Yeah, true.

Gesendet: Freitag, 22. Mai 2020 um 20:32 Uhr
Von: "Johan von Forstner"<EMAIL_ADDRESS>An: "johan12345/EVMap"<EMAIL_ADDRESS>Cc: "Niklas Ruby"<EMAIL_ADDRESS>"Comment"<EMAIL_ADDRESS>Betreff: Re: [johan12345/EVMap] save different sets of filters as profiles (#16)

Not sure if we should pre-built profiles for different cars, because this also depends on which adapters you have (at least for the AC plugs). But if this is implemented you can definitely add different filter profiles for multiple cars.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


fontconfig: build manpages, install them in bin output

Motivation for this change
Generate manpages for fontconfig and install them in the bin output.
Closes #103695 .
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

@vcunat agreed. I removed section 3.


bolt 11 payment addr + single shot mpp for SendPayment

In this PR, we make single-shot MPP payments the default payment type in lnd, and marks a major milestone in our long series of PRs preparing us for multi-path payments.
Notable changes

Invoices generated by lnd will:

Advertise optional support for TLV onions (var_onion_optin) and payment address (option_payment_addr).
Include a random 32-byte payment address.

Paying such an invoice via Lightning.SendPayment or RouterRPC.SendPayment will:

allow the router to determine support for MPP records using threaded feature vector state.
include the new MPP record in the final hop's payload if both the above options are supported, which includes the payment address from the invoice.

Fixes a bug that would prevent us from not being able to send custom records to unadvertised nodes

By upgrading to this payment type, lnd senders and receivers are offered increased protection from payment sniping and against probing attacks on the receiver. In the future both features will be made mandatory, entirely disabling support for the legacy payment style.
Depends on:

[x] #3685
[x] #3693
[x] #3802
[x] #3825
[x] #3834

To show you what I am up to with checking the max routing info size: https://github.com/lightningnetwork/lnd/pull/3841
The idea of constructing route.Hop objects while searching looks good to me and could also allow us to get rid of the somewhat artificial split between pathfinding and route construction.

I'll investigate how much effort it would be to decouple the new tests from the test graph

Great commit structure, makes even a massive PR like this manageable to review 👍


Power From Beyond - Temple Quest Marker Missing

PFBFix.zip
The temple quest marker is missing in Power From Beyond missions in the v0.0.3 of SFCP.

Details
The 2nd target in objective 10 in the Freeform quests is pointing to the incorrect quest. Fix attached.

Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
Have several PFB quests in your log

This issue shouldn't be closed, since it's still not resolved.


HDFS-16945 . RBF: add RouterSecurityAuditLogger for router security manager

Description of PR
HDFS-16945
we should add audit log for router security manager for  token APIs. For examples,

2023-03-02 20:53:02,712 INFO org.apache.hadoop.hdfs.server.federation.router.security.RouterSecurityManager.audit: allowed=true ugi=hadoop ip=localhost/<IP_ADDRESS> cmd=getDelegationToken toeknId=HDFS_DELEGATION_TOKEN token 18359 for hadoop with renewer hadoop proto=webhdfs

How was this patch tested?
add testRouterSecurityAuditLog
For code changes:
add RouterSecurityAuditLogger

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 56s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 11s

trunk passed

+1 :green_heart:
compile
0m 45s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 42s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
checkstyle
0m 36s

trunk passed

+1 :green_heart:
mvnsite
0m 47s

trunk passed

+1 :green_heart:
javadoc
0m 51s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 57s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m 34s

trunk passed

+1 :green_heart:
shadedclient
20m 50s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 35s

the patch passed

+1 :green_heart:
compile
0m 38s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 38s

the patch passed

+1 :green_heart:
compile
0m 32s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
javac
0m 32s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 19s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs-rbf.txt
hadoop-hdfs-project/hadoop-hdfs-rbf: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

+1 :green_heart:
mvnsite
0m 36s

the patch passed

+1 :green_heart:
javadoc
0m 34s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 52s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m 19s

the patch passed

+1 :green_heart:
shadedclient
20m 18s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
21m 53s

hadoop-hdfs-rbf in the patch passed.

-1 :x:
asflicense
0m 39s
/results-asflicense.txt
The patch generated 1 ASF License warnings.

117m 17s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5468/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5468

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 36c7a91cf992 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 059c6555842eb11bbb2f90c91d4d507c58e6ef21

Default Java
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5468/1/testReport/

Max. process+thread count
2806 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5468/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

这是自动回复邮件。来件已接收，谢谢。

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 18s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
44m 41s

trunk passed

+1 :green_heart:
compile
0m 46s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
0m 42s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
checkstyle
0m 33s

trunk passed

+1 :green_heart:
mvnsite
0m 46s

trunk passed

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
1m  5s

trunk passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m 42s

trunk passed

+1 :green_heart:
shadedclient
23m 48s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 37s

the patch passed

+1 :green_heart:
compile
0m 37s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
0m 37s

the patch passed

+1 :green_heart:
compile
0m 34s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
javac
0m 34s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 38s

the patch passed

+1 :green_heart:
javadoc
0m 35s

the patch passed with JDK Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 54s

the patch passed with JDK Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

+1 :green_heart:
spotbugs
1m 30s

the patch passed

+1 :green_heart:
shadedclient
23m 55s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
23m  1s

hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

131m  4s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5468/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5468

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 7534e81a60aa 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / bc47cf6e258b58b7cb8cd5a0cdef20eaa5563f3a

Default Java
Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.18+10-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u362-ga-0ubuntu1~20.04.1-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5468/2/testReport/

Max. process+thread count
2913 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5468/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Allow specifying differential_expression '__up' and '__down' suffixes

differential_expression needs to have options to specify what the '__up' and '__down' suffixes should be for the signatures that are generated with a default of '__Up' and '__Down'.  Lowercase looks sloppy.

Added up_suffix and down_suffix


JSLint spacing requirements for Javascript Switch/Case Conditionals

Brackets is set up to indent the switch/case conditionals differently than what JSLint expects.  It would really help to have the indentation match JSLint when JSLint is enabled.  Developers won't have to keep going back to fix the indentation to make JSLint happy.

I received this bug through codetriage.com.
I have not been able to reproduce the issue with a recent version of Brackets: both Brackets and jslint.com are happy with my switch statement formatting.
I am using 1.9.0-17312 I can only imagine that this bug has been corrected since Oct 2015.
ex:
var value = 0;
switch (value) {
case 0:
    console.log("Zero");
    break;
case 1:
    console.log("One");
    break;
default:
    console.log("Other");
}


fix(runtime-core): add FULL_PROPS patch flags when cloned vnode has…

… NEED_PATCH patch flags
fix #1665
Bug Reson
The patch flags of div.container is changed by cloneVnode(NEED_PATCH -> BAIL). Caused the children diff and mount the children twice.

I realized we should avoid using bail flags since it affects how children are handled. See 6390ddfb


API Optimisation and enhancement

Description of the Problem / Feature

Calls to create draft, get node draft manifest and show nodes are slow and sometimes cause the tests to crash/fail

Explanation of the solution

Remove database calls for nodes in repo service
In /createDraft cache draft node metadata for a minute to serve hot calls (non-blocking)
Refactor nodes#show controller and optimize calls for retrieving draft manifest
Refactor reposervice to pass documentId to getDraftDocument and getDraftManifest methods
In Repo server, fast track calls togetLatestNodeManifest by attempting to use documentId query if found and fallback to uuid if not
All calls to getDraftManifest() within the app are automatically optimized
Optimize retrieveTree api by switching getLatestManifestFromNode in favor of showNodeDraftManifest
Implement a new nodeManager function showNodeDraftManifest that optimizes request for draft manifest by using cached data if request is hot i.e <30 secs after node creation (hopefully tests calls benefits form this, falls back to RepoService node is cold > 30 secs and falls back to pulling data from ipfs using node cid.

@hubsmoke wanna review this before I merge? I'd like to test today


Switch to kubernetes.core collection

The kubernetes.core is the new name of the community.kubernetes ansible collection. community.kubernetes has been deprecated.

Failed task due to dependency
task path: /home/dciteam/github/ansible-collection-redhatci-ocp-pr214-f98402886fdf982349374f2a2ea1edcb/collections/ansible_collections/redhatci/ocp/roles/catalog_source/tasks/main.yml:14
fatal: [jumphost]: FAILED! => {"changed": false, "msg": "kubernetes >= 12.0.0 is required"}

The challenge is that python-kubernetes it's provided through EPEL:
$ sudo dnf list python3-kubernetes --showduplicates |head
Updating Subscription Management repositories.
Last metadata expiration check: 0:31:20 ago on Fri 15 Mar 2024 06:00:07 PM CDT.
Installed Packages
python3-kubernetes.noarch                  1:11.0.0-6.el8                  @epel
Available Packages
python3-kubernetes.noarch                  1:11.0.0-6.el8                  epel

And the latest version is 11.0: https://src.fedoraproject.org/rpms/python-kubernetes

kubernetes >= 12.0.0 is required

ok I requested to create our own python-kubernetes package in https://softwarefactory-project.io/r/c/config/+/31126

ad43f916-be93-4f41-a7ec-bf8e95c6df60/jobStates

This error is expected as is a run in the app-agent with TNF and the test does not install python libraries. But the change will be validated with libvirt (IPI) (dci-openshift-agent) and the control plane example (dci-openshift-app-agent)

I was not expecting this issue, the logs show the right kubernetes python lib was installed:
+ pip install -U -I -r ansible-collection-redhatci-ocp/requirements.txt
Collecting kubernetes==25.3.0
  Using cached kubernetes-25.3.0-py2.py3-none-any.whl (1.4 MB)
Collecting requests
  Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting requests-oauthlib
  Downloading requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB)
Collecting certifi>=14.05.14
  Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
Collecting python-dateutil>=2.5.3
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Collecting google-auth>=1.0.1
  Using cached google_auth-2.22.0-py2.py3-none-any.whl (181 kB)
Collecting websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0
  Using cached websocket_client-1.3.1-py3-none-any.whl (54 kB)
Collecting six>=1.9.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting urllib3>=1.24.2
  Using cached urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
Collecting setuptools>=21.0.0
  Using cached setuptools-59.6.0-py3-none-any.whl (952 kB)
Collecting pyyaml>=5.4.1
  Using cached PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (677 kB)
Collecting pyasn1-modules>=0.2.1
  Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
Collecting cachetools<6.0,>=2.0.0
  Using cached cachetools-4.2.4-py3-none-any.whl (10 kB)
Collecting rsa<5,>=3.1.4
  Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.6-py3-none-any.whl (61 kB)
Collecting charset-normalizer~=2.0.0
  Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting oauthlib>=3.0.0
  Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Collecting pyasn1<0.6.0,>=0.4.6
  Using cached pyasn1-0.5.1-py2.py3-none-any.whl (84 kB)
Installing collected packages: urllib3, pyasn1, idna, charset-normalizer, certifi, six, rsa, requests, pyasn1-modules, oauthlib, cachetools, websocket-client, setuptools, requests-oauthlib, pyyaml, python-dateutil, google-auth, kubernetes
Successfully installed cachetools-4.2.4 certifi-2024.2.2 charset-normalizer-2.0.12 google-auth-2.22.0 idna-3.6 kubernetes-25.3.0 oauthlib-3.2.2 pyasn1-0.5.1 pyasn1-modules-0.3.0 python-dateutil-2.9.0.post0 pyyaml-6.0.1 requests-2.27.1 requests-oauthlib-2.0.0 rsa-4.9 setuptools-59.6.0 six-1.16.0 urllib3-1.26.18 websocket-client-1.3.1

But after the installation a failure was found as the task was not able to use the virtualenv set in the test
TASK [redhatci.ocp.oc_setup : Set htpasswd config secret in openshift] *********
task path: /var/lib/dci-openshift-agent/github/ansible-collection-redhatci-ocp-pr214-62107c45b693ca38948675dd589efe18/collections/ansible_collections/redhatci/ocp/roles/oc_setup/tasks/main.yml:40
fatal: [localhost]: FAILED! => {"changed": false, "msg": "kubernetes >= 12.0.0 is required"}

I'm running a test from https://softwarefactory-project.io/r/c/dci-openshift-agent/+/31071 because those changes were not pulled in here.


Force chunk preloading on enable

This pull request will allow users to configure Preload chunks feature to allow loading every chunk in the render distance on recording start. I called it Force preload chunks, but if you want to, you can rename both of those config options to be more semantic and clear.
P.S.: how do you test these SRG named reflection in Eclipse? I had to look up the names in order to make it work in Eclipse first, and then change it back to SRG.

You can adjust your reflection code to look for both the unobfuscated and the obfuscated mapping, so that it also becomes compatible with unit testing in your dev environment.
But I, personally, test it by hand: Compile and load it up on my actual minecraft installation. It takes some time this way, but you keep your code clean and avoid the sometimes ridiculous amount of mocking. Let me tell you something: I have never unit tested any of my forge mods.
If you are used to programming with the Bukkit API you can basically forget unit testing, it should be better with Forge, but I didn't try...

@daipenger oh, I see, thanks for sharing your experience! :)
I haven't unit tested my mods either. Minecraft code is way too coupled with networking, rendering and Forge hooks, it's impossible to have clean unit tests. Anyways, unit tests are great for testing logic of your code (parsing, data processing, aggregation, etc.), it's not convenient for visuals, audio and such.


When will the dataset be released? Thanks!

It will be this week or last week!
Thank you for waiting.
The dataset is in tar-compressed webdataset format and should be very easily accessible using the huggingface datasets library.

Hello!
Any news with respect to the release of your dataset? It'd be really helpful to have it as soon as possible.
Thanks!
++
David.

Data is still being uploaded. However, because the data capacity is very
large (terabytes), it takes longer than expected and will end soon.
2023년 12월 14일 (목) 00:14, David Picard @.***>님이 작성:

Hello!
Any news with respect to the release of your dataset? It'd be really
helpful to have it as soon as possible.
Thanks!
++
David.
—
Reply to this email directly, view it on GitHub
https://github.com/navervision/CompoDiff/issues/5#issuecomment-1854106424,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFB3KQJ62GKCZCET6GGFHHTYJHA35AVCNFSM6AAAAABAAP5EMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUGEYDMNBSGQ
.
You are receiving this because you commented.Message ID:
@.***>

@Pefect96 @davidpicard
Thank you for your patience!
SynthTriplets18M is now hosted at https://huggingface.co/datasets/navervision/SynthTriplets18M
We plan to document how to use SynthTriplets18M in the README either today or tomorrow.
Feel free to either wait or check it out right away.

Thank you!


32-bit Source Engine games can't load their own files

Describe the bug
32-bit Source Engine games can't load their own files. This manifests as the games either never loading their main menu (in the case of Counter-Strike: Source) or showing an unusual loading screen that never progresses (as in the case of Left 4 Dead 2). 64-bit Source Engine games (Team Fortress 2) are unaffected.
The in-game console will show errors saying that assets could not be found. I have validated that these assets are present and valid within the games installation.
See https://github.com/ValveSoftware/Source-1-Games/issues/6030.
This occurs with the native and Proton versions of the game.
Steps To Reproduce
Steps to reproduce the behavior:

Start a 32-bit Source Engine game
Observe endless loading screen

Expected behavior
32-bit Source Engine games can be played.
Screenshots
Unusual Left 4 Dead 2 loading screen:

Additional context
Forcing Left 4 Dead 2 to load into a specific map as part of its launch arguments will work, but no audio assets will be loaded and attempting to change audio settings will cause the pause menu to become invisible. The in-game console will show that the audio assets could not be loaded.
This bug also affected NixOS 23.11.
Notify maintainers
@jagajaga @jonringer
Metadata
[adamc@desktop:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.11-xanmod1, NixOS, 24.05 (Uakari), 24.05.20240530.d24e7fd`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos-24.05"`
 - nixpkgs: `/nix/store/i3nnamjy3zl9qx90wfsxq3zqdw2q3l50-source`

Add a :+1: reaction to issues you find important.

Which filesystem are you using?

bcachefs

bcachefs

bcachefs still has known issues with most steam games. Last I tested HL1 still crashes on boot.

For anyone who comes across this issue, https://github.com/koverstreet/bcachefs/issues/175 and https://github.com/koverstreet/bcachefs/issues/650 appear to be related


[Feature Request] Create setting to disable CompoundFile usage

Is your feature request related to a problem? Please describe
At the moment this is impossible to choose whether we want our indices to use a compound file and the InternalEngine automatically set that to "true", see here for reference.
Avoiding the compound file can sometime be important for debugging purposes when a customer is trying to look at the Lucene files structure to determine for any issues, or alternatively in cases where we want to change codec and expose the OpenSearch Lucene index files in a snapshot to be read by a different system.
For example we might want to convert our doc values or StoredDocs to Parquet and read those from snapshot later by leveraging Apache Spark.
Describe the solution you'd like
Allow to set the "useCompoundFile" format via a setting.
Related component
Indexing
Describe alternatives you've considered
NA
Additional context
No response

[Triage - attendees 1 2 3 4 5 6 7 8]
@samuel-oci Thanks for creating this issue, thanks for creating a pull request!


auto import not working

Environment data

Pylance version: v2024.8.1
OS and version: WSL
Python version (& distribution if applicable, e.g. Anaconda):  poetry 3.11.8

settings.json
{
    "terminal.integrated.defaultProfile.windows": "Git Bash",
    "terminal.integrated.persistentSessionReviveProcess": "never",
    "terminal.integrated.enablePersistentSessions": false,
    "files.eol": "\n",
    "[python]": {
        "diffEditor.ignoreTrimWhitespace": false,
        "editor.formatOnType": true,
        "editor.wordBasedSuggestions": "off",
        "editor.formatOnSave": true,
        "editor.defaultFormatter": "ms-python.black-formatter",
        "editor.codeActionsOnSave": {
            "source.organizeImports": "explicit"
        }
    },
    "python.analysis.packageIndexDepths": [
        {
            "name": "sqlalchemy",
            "depth": 3,
            "includeAllSymbols": true,
        },
    ],
    "python.analysis.indexing": true,
    "python.analysis.autoImportCompletions": true,
    "python.analysis.autoSearchPaths": true,
    "python.analysis.importFormat": "absolute",
    "python.analysis.inlayHints.variableTypes": false,
    "python.analysis.inlayHints.functionReturnTypes": false,
    "python.testing.autoTestDiscoverOnSaveEnabled": true,
    "workbench.colorTheme": "Default High Contrast",
    "search.exclude": {
        ".idea": true,
        // ".venv": true,
        "poetry.lock": true
    },
    "editor.rulers": [
        120
    ],
    // formatter
    "pylint.args": [
        "--max-line-length=120",
        "--disable=C0114, C0115, C0116, W0105, C0200, E1101, E1121, C0103, W0621, W1203",
    ],
    "mypy-type-checker.args": [
        "--allow_redefinition"
    ],
    "black-formatter.importStrategy": "fromEnvironment",
    "black-formatter.args": [
        "--line-length=120"
    ],
    "notebook.formatOnCellExecution": true,
    // "flake8.importStrategy": "fromEnvironment",
    // "flake8.args": [
    //     "--config-toml=pyproject.toml"
    // ],
    "python.terminal.activateEnvInCurrentTerminal": true,
    "remote.autoForwardPortsSource": "hybrid",
    "workbench.editor.editorActionsLocation": "titleBar",
    "isort.importStrategy": "fromEnvironment",
    "isort.args": [
        "--profile",
        "black"
    ],
    "editor.defaultFormatter": "ms-python.black-formatter",
    "update.mode": "none",
    "extensions.autoUpdate": false,
    "editor.minimap.enabled": false,
    "explorer.compactFolders": false,
    "python.analysis.diagnosticMode": "workspace",
    "python.analysis.inlayHints.pytestParameters": true,
    "notebook.output.textLineLimit": 100,
    "files.autoSave": "onFocusChange",
    "debugpy.debugJustMyCode": false,
    "editor.formatOnSave": true,
    "notebook.formatOnSave.enabled": true,
    "[markdown]": {
        "diffEditor.ignoreTrimWhitespace": true
    },
    "jupyter.askForKernelRestart": false,
    "jupyter.debugJustMyCode": false,
    "[jsonc]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },
    "editor.stickyScroll.enabled": false,
    "files.insertFinalNewline": true,
}

what symbol are you looking for?

The variable in the other module - uuid_pk. It's not working because of this code here:
https://github.com/microsoft/pyright/blob/49235d38ba73200c014b1ae5b2617f1d67321352/packages/pyright-internal/src/languageService/autoImporter.ts#L467
Which looks like we only include 'CONSTANTS' as imports for variables.

this is by design then. auto import only suggests variables in __all__ unless it is from stub file.

But why do we not include other variables? I couldn't find anything that indicates these are considered 'private'. Private is only for variables with _ or __.

we already tried to include locals and back off since it includes too much stuff. python doesn't have accessibility mechanism and nobody uses _ for variables to indicates it is private at the top level. see any of our repro steps usual put in the issue. none of them are supposed to be public but none of them uses _.
our escape patch is __all__ for regular python file. if the variable is intended to be used in other module, it should be explicitly added to __all__ otherwise, we won't expose it to add/auto import

one thing we have we didn't have before is new search import code action and add import ordering with MRU, so, one thing we could do is exposing variables in search code action and add import with lowest priority?
I believe auto import should be left as it is.

@olegkorshunov that said, where is this uuid_pk defined? it would help for us to understand the usage case?

@olegkorshunov that said, where is this uuid_pk defined? it would help for us to understand the usage case?
here my project structure
app/db/custom_types.py: uuid_pk

I trying it to auto import in wallet.py
- app
    - __init__.py
    - db
       - __init__.py
       - custom_types.py.py
       - wallet.py
       ...
     ...
...

the


Add additional analyses

Add additional analyses, where it makes sense:

Clustering
Feature selection (PLS-DA)
Correlation analysis
Regression/random forest
PCA

Future work


Support multiple entries for lib mode

Any updates?

Also interested.

@polRk @thednp This feature is available in v1.7. I'm giving it a try right now in one of my projects.
@qmhc I'm seeing some weird generation in some edge cases though, If insertTypesEntry is enabled, and the entry name doesn't end in index, it generates a file for that entry, matching the entry name, but without any file extension. Besides that, it works as expected and generates the correct types.


Occtype Editor UI changes

We want to add child occtype elements to the tree just like we do every other child element. Remove the occtype group combobox from the UI. The user will now be editing one occtype element at a time (normal right click menu item). Add name and description fields to the top of the occtype editor.

This work is completed and has been merged into main.

confirmed


Add :emphasize-lines: bits to our code snippets in the docs

I think we've got this just about everywhere, with the exception of the cards section that is still in development. We're close.

I got these in the docs block. Feeling okay about it but I best we missed one or two spots.


⚠ GitLab Server has degraded performance

In de1164a, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11003 ms

Resolved: GitLab Server performance has improved in 6eb51c8.


Customize fields in quickview

As discussed in this thread, it would be good to be able to configure the shown fields in quickview. This used to be possible in older versions. It can still be achived with the api but a dropdown menu, like in the explore-page is missing.

That screenshot looks like a browser-only patch, which is not an option with  annotators who are not developers :)
Would there be a patch directly in the frontend code to achieve the same and could you point out the proper file/location?

No, you have to call PATCH /api/views?.... only once on your admin side.

Since 1.4.1 you can customize columns in UI.


Will WinUI 3.0 ever support unpackaged apps?

Hello -
From what I am seeing, there seem to be no formal plans to support unpackaged apps.
This proposal addresses that: Proposal: Deploy WinUI 3 runtime using Framework Packages for Packaged and Unpackaged apps #2767.
Can anybody tell me if there are plans for WinUI 3.0 .NET support to be part of standard Windows updates (which would seem to obviate the need for packaging WinUI 3.0 apps)?
Thanks very much.

@ryandemopoulos and @MikeHillberg FYI

I have wondered the same but I assume so given the WinUI Library Roadmap released since you asked your question, although this will apparently be a post-3.0 release.

I tried to figure out what the plan is nowadays, just to find out that it's been deprioritized and postponed to the very least release 3.1
I'm not entirely sure what alternate reality Microsoft is living in, but one thing I don't see is an abundance of WinRT WinUI apps in the wild. And I can tell you at least one reason why, and that's the lack of unpackaged apps. Endless requests for this go back to the release of Windows 8.
Personally I have to start a bunch of new applications, and I was wanting to advocate going .NET 5.0 and WinUI 3.0, but need the ability to deploy them unpackaged. Now that it's been "deprioritized", again I suppose, I'm just throwing the towel on this and might as well considering going with the grain and go with Node.js and all that.

I tried to figure out what the plan is nowadays, just to find out that it's been deprioritized and postponed to the very least release 3.1
I'm not entirely sure what alternate reality Microsoft is living in, but one thing I don't see is an abundance of WinRT WinUI apps in the wild. And I can tell you at least one reason why, and that's the lack of unpackaged apps. Endless requests for this go back to the release of Windows 8.
Personally I have to start a bunch of new applications, and I was wanting to advocate going .NET 5.0 and WinUI 3.0, but need the ability to deploy them unpackaged. Now that it's been "deprioritized", again I suppose, I'm just throwing the towel on this and might as well considering going with the grain and go with Node.js and all that.

Unpackaged support remains something we intend on adding.  As @jonasnordlund pointed out, we expect to add this post-3.0--probably later this year alongside full Islands support.  That's the soonest we'd be able to introduce it, given the other priorities we're working on now.
Happy to answer any additional question you have; I'll close this Issue for now since I think the original question has been answered.

Unpackaged support remains something we intend on adding.  As @jonasnordlund pointed out, we expect to add this post-3.0--probably later this year alongside full Islands support.  That's the soonest we'd be able to introduce it, given the other priorities we're working on now.
Happy to answer any additional question you have; I'll close this Issue for now since I think the original question has been answered.

Thanks for the responses, all.  For now, I'm going with WPF + xaml islands.

Thanks for the responses, all.  For now, I'm going with WPF + xaml islands.


Use double quotes when using -p flag

I'm trying to convert EML file to JSON using the -p flag, but the printed output uses single quotes which makes the JSON document invalid.
Error: Parse error on line 2:
{'attachments': [],
-^
Expecting 'STRING', '}', got 'undefined'

If I edit the file and change surrounding quotes to double quotes, it can parse the JSON document correctly. Is there any workaround?

The -p output is NOT json. It's pretty print from Python: https://docs.python.org/2/library/pprint.html


Little issue in UI

In the Alarm page, when you delete an alarm, you need to refresh the page to see the alarm disappear.
You've probably forgotten to remove the alarm from the angular array once deleted ? I've not read the code.

Sorry for the delay!
It works for me... It takes a little time but it works :) Can you try it again?


Zeva - Update backend image and dependencies

Update the backend base image to the latest version
Update the dependencies according to the GitHub reports.

Recommend to use node:20.18.0-bookworm-slim as frontend base image.

Recommend to use python:3.12.0-slim-bookworm as backend base image


How to add Twitter/Slack tutorial?

I already added my Slack "bot" token, but it's not auto updating on my slack.

@ShaneAbara how can u set up the time to restart ?


Shang-Chi and The Legend of The Ten Rings Certificate Does Not work

Clicking to claim certificate leads to a page not found at the following URL.
https://makecode.com/not-found/HEAD/static/skillmap/certificates/sc-cert-comp.pdf.pdf

This is fixed now. Please retry by refreshing the page @RamenJunkie.

Also thanks a lot for the report.


lens on startup always asks for login

Describe the bug
whenever lens is started up there is an annoying window that first pops up asking the user to log in
even for those users who do not have accounts.
even after dismissing the window i see the ads. this is somewhat better as i can select my desired clusters (as opposed to the log in screen)
however, this does not take us to the "home" screen. there is an icon which looks like a house and it is the home screen which is actually the catalog. this too is much better than the unneeded log in screen on startup

There is a toggle preference (in Lens 5.4) for showing that login popup on startup.

thank you!


Add warning/errors for non-annotated fields

I renamed keep_untouched to non_field_types as I feel this is more descriptive. (See the minor doc updates.)
Open to changing the logic here, and adding unit tests to ensure any scenarios we can think of are handled properly.

please review


Upgrade remaining production EC2 instances from t2 from t3

-hcommons-prod-proxy-0
-hcommons-prod-hc-idp
-hcommons-prod-registry
Steps:
-Stop the instance.
-Use CloudShell to run this command to enable ENA:
aws ec2 modify-instance-attribute --instance-id  --ena-support
-Upgrade the instance
-Start the instance

hcommons-prod-idp has to wait because it does not have an Elastic IP address, but a plain public IP that will change after the instance reboots.

Upgraded hcommons-prod-proxy-0 to t3.medium.
Renamed to hcommons-prod-proxy.

Upgraded hcommons-prod-registry to t3.medium.

Allocated a new Elastic IP to hcommons-prod-hc-idp.
Tested it and it works fine.
Upgraded instance from t2.small to t3.small.


Package name is prefixed in front of the existing package name

When the project is populated from the quickstart, the name defined within the UI screen is prefixed. See hereafter
Wizard package name defined : io.demo.vertx.rest
Generated package name : io.demo.vertx.rest.org.jboss.obsidian.quickstart

Fixed


AddHandler with lambda

Summary
Explain how to use AddHandler with a lambda.
Fixes #31428

Hi @marc-chevalier
I've read the changes, and they look great. I can't merge this PR yet, because of the CI failure on the samples. (These older samples were imported from an internal system, and were built using an internal tool).
If you add a default vbproj file to the folder with the sample, that should address the issue. Then, I'll merge this.

I have very little practical knowledge of VB. Could you point me to some doc about how to do that, or such an example, please?

Hi @marc-chevalier
I apologize, I didn't look as closely as I should have at the build report.  This one does have a project, but needs to use Visual Studio to build it.  (By default, we use the command line build option).
In the folder with the code, we need to add a snippets5000.json file with the following content:
{
    "host": "visualstudio"
}

Then, the build should succeed.

Looks like I missed something.


Offline Documentation Generation

Hello,
I have been scrolling through the issues and have (surprisingly) not found this addressed. Is there no means to generate the documentation without deployment? Understandable if not/there are limitations, but it would be significantly more convenient.

+1
While I'm still concern 100% offline might not be feasible... is there a way to quickly upload just the API Gateway resources? This way we can generate quickly the documentation (even if it is online, the whole sls deploy process can take up to 10 minutes). Looking forward for a way to quickly generating the docs (particularly verifying it is correct)

This surprised me as well. Has anyone found a workaround at least?

+1

+1


Out-of-box experience (OOBE)

Description of the new feature/enhancement
We should create some kind of GUI experience that helps first-run users get set up with their terminal and also demo some of our favorite features.
Proposed technical implementation details (optional)
PowerToys has implemented something similar that we can take a look at for inspiration.

You could also make use of the Teaching Tip control, to display prompts on first use for the app UI


QUESTION:Chinese Logged As Unicode char

when I use net.logstash.logback.encoder.LogstashEncoder output chinese chars to log file, they always change to unicode char, like \u5FAE\u670D\u52A1\u51FA\u9519\uFF0C\u8BF7,
I've tried config charset=utf-8 whin LogstashEncoder, but it's not working,
Could someone tell me what can i do? thank you!
my logback.xml:
<appender name="stash" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
      <level>info</level>
    </filter>
    <file>${catalina.home}/logs/sublogs/development.log</file>
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <fileNamePattern>${catalina.home}/logs/sublogs/development.log.%d{yyyy-MM-dd}</fileNamePattern>
      <maxHistory>30</maxHistory>
    </rollingPolicy>
    <encoder class="net.logstash.logback.encoder.LogstashEncoder">
          <charset>UTF-8</charset>
    </encoder>
</appender>

UTF-8 is used by default.  However, the jackson option for escaping non-ascii characters is also enabled by default.
You can override this behavior by creating class that a implements JsonFactoryDecorator and disables that option like this:
import net.logstash.logback.decorate.JsonFactoryDecorator;

public class NoEscapingJsonFactoryDecorator implements JsonFactoryDecorator {
    @Override
    public MappingJsonFactory decorate(MappingJsonFactory factory) {
        return (MappingJsonFactory) factory.disable(JsonGenerator.Feature.ESCAPE_NON_ASCII);
    }
}

Then configure the LogstashEncoder to use NoEscapingJsonFactoryDecorator like this
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
  <jsonFactoryDecorator class="your.package.NoEscapingJsonFactoryDecorator"/>
</encoder>

thanks

#261 will disable ESCAPE_NON_ASCII by default


build(deps): bump all golang dependencies

manually run:
go get -u
go mod tidy

Looks maybe like issue in dagger? No idea.

go get -u without a package (aka updating all of them) is prone to cause issues because it will update the indirect deps as well regardless of which version was pulled in by the direct deps. If the indirect ones get too new their API might change and therefore break code in the direct deps. I always refrain from a global go get -u and rather just call it only on the direct deps.

Fair enough. I was just too lazy to debug #482, so I wanted to try this approach just in case it would work.

Closed in favor of #482


scrollbar is too  narrow

Issue Type: Feature Request
scrollbar is too  narrow，my mouse  is too hard to click，can I adjust it's height or width ？
VS Code version: Code 1.39.1 (88f15d17dca836346e787762685a40bb5cce75a8, 2019-10-10T23:31:28.683Z)
OS version: Windows_NT x64 10.0.18362

You can zoom in if that helps. You could also use the minimap which acts as a wide scrollbar. You can also use a mousewheel or the keyboard to scroll.


GetDls Master - XCX fix, TP res

XCX add skell view res, remove small res scaling for better compatibility
TP, res commit

any reason as to why this was closed? if it was due to not being merged, i was waiting until the contrasty stuff for TP was finished lol


Min and Max functions omit an item when passed a generator

The Min and Max functions do not contain the correct number of arguments when passed a generator object.  They consistently cut off the first item in the generator.
Reproducible Example
import cpmpy as cp

x = range(3)
space = [cp.boolvar(3) for _ in x]
sum_list = [cp.sum(space[i]) for i in x]
max_list = cp.max(sum_list)
assert len(max_list.args) == 3
sum_generator = (cp.sum(space[i]) for i in x)
max_generator = cp.max(sum_generator)
assert len(max_generator.args) == 3, max_generator.args

>>> AssertionError: [sum([BV3, BV4, BV5]), sum([BV6, BV7, BV8])]

Version 0.9.21

Updated to 0.9.23 and problem is resolved.
Fixed by 26bc446d1433a6fc3dc5cda31d98bfee7152c060


Updating the changeset list when the changeset gets modified

We might need to do a cross store update for these kind of cases.

This was fixed in #67


Add Yakuake to terminal emulation

I second its addition. It's great for always-running terminals programs in the background.

Closing due to inactivity.


Interaction between Or and Many

When the first branch of Or matches a zero-length input, the second option is tried anyway.
http://stackoverflow.com/questions/31381923/sprache-monadic-parser-or-and-many-semantics

file Parse.cs line 423/424, there is a test if (fr.Remainder.Equals(i)). If the first parser matches the empty string it still invokes the second parser

This is: https://github.com/sprache/Sprache/blob/master/src/Sprache/Parse.cs#L423
I believe this is probably erroneous, but Or is quite fundamental so more eyes on this would be appreciated if possible.
A workaround in the meantime is to reorder Or branches if possible.

Uncertain about changing this and its impact on existing parsers, happy to reopen if anyone has the time to dig in deeper here.


Bug: wizard doesn't work if git doesn't have email or name set

to reproduce:

unset name and email from git config
run wizard
give project name
wizard exits without explaination

expected behaviour:
ask for email and name and set this with git config for the local repo or at least an error message

Thanks for reporting. This should be fixed in 04c99e58e05cf163eebdd17d7dff870657b4b118


Flush Connections option ineffective

Bug Description
conntrack v1.4.7 (conntrack-tools): 0 flow entries have been deleted.

conntrack seems to not delete any entries where in fact there are some
Steps to Reproduce
run with --steal
Backtrace
No response
Relevant Logs
No response
Your operating system and version
macOS
Local process
any-tcp
Local process version
No response
Additional Info
No response

This was a regression, and it was fixed. During the testing we found out that it some scenarios, it still doesn't apply.
My suspicion is it depends on the networking of the cluster - if there are rules to drop connections that are not tracked. In some of the cases we've seen it doesn't work but we've lived so far with it, so I think we should wait before trying to add another measure - see that it affects more people then do it.
According to online forums and docs, the nat table that we use affects only new flows, hence we need to flush. The reason the session stays open is that there are no rules in the filter table that drops connections that aren't tracked.


Possible Memory Leak

Hello --
Though I have successfully installed this plugin in the past, I'm now getting an error message and a white screen after installation. I tried reinstalling and am still getting the error. I'm wondering if you have any idea what could be causing this. Thanks.
Error:
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /var/www/html/omeka/application/libraries/Zend/Ldap.php on line 151

Unfortunately, this is going to be a hard problem to track down. The plugin may not be using an unreasonable amount of memory, but some other code may have already nearly exhausted the memory limit before the plugin requested that 130Kb. It would of just been the straw that broke the camel's back.
Your memory limit seems sufficiently large. Does your Omeka installation use any other plugins? Are you using a custom theme? You may want to try disabling those to see if it resolves the problem. If so, then try adding them back one-by-one to track down which may be causing the problem.
You could also try reporting memory_get_usage(true) from some of the PHP code to try narrowing down where memory usage is excessively growing.


auto detects bads

https://gist.github.com/dengemann/5f110ad4a82757f398ed
could be start

Closing on favor of #1737 .


Fix AttributeErrors caused by iterating past the last child tag and missing parts of speech.

Before this patch, looking up the following words in the Russian language caused either an exception or missing definitions:

не
вставка
первый
можно

Some of this was caused by missing parts of speech. In other cases, gathering etymologies or related words would iterate past the last tag in a subtree, causing e.g. parent_tag to become None and causing parent_tag.find_all() to be an AttributeError.

Thanks for adding the parts of speech and null checks! I'll merge this soon along with a test

I am still finding a few missing parts of speech - I'll update this PR and make it a non-draft once I am finished.

Sure, sounds good to me. Thanks again! 🙂

Okay, should be good now. The changes in the second commit make these words work correctly:

нибудь
горящий
проникновение

In particular, "проникновение" has etymology as a subheading of the definition, which is why I added the is_subheading logic.

Awesome, thanks for finishing this up! Let's hope this doesn't affect any existing functionality. I'll take a while to check this out as I'm on vacation.

@abendebury Have you tested out your changes on some of the sample words you mentioned? I get an error while trying it out
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...\wiktionaryparser.py", line 273, in fetch
    return self.get_word_data(language.lower())
  File "...\wiktionaryparser.py", line 131, in get_word_data
    json_obj_list = self.map_to_object(word_data)
  File "...\wiktionaryparser.py", line 253, in map_to_object
    or is_subheading(current_etymology, definition_index):
  File "...\wiktionaryparser.py", line 24, in is_subheading
    child_headings = child.split(".")
AttributeError: 'tuple' object has no attribute 'split'

Which word caused the error?

Tried to fetch вставка

Sorry about that, looks like I forgot to include a change. Should be good now.

@abendebury no problem. So fetching вставка works now but it returns an empty list. I suppose that's not the expected behavior? Also current tests are failing with these changes. You can run python setup.py test to run the tests

I can't reproduce the empty list behavior. Here's what I see:
$ python
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wiktionaryparser
>>> p = wiktionaryparser.WiktionaryParser()
>>> p.fetch("вставка", "russian")
[{'etymology': 'вставля́ть\xa0impf (vstavljátʹ), вста́вить\xa0pf (vstávitʹ)\n', 'definitions': [{'partOfSpeech': 'noun', 'text': ['вста́вка • (vstávka)\xa0f\xa0inan (genitive вста́вки, nominative plural вста́вки, genitive plural вста́вок)', 'setting in, fixing; framing; mounting; insertion, inset'], 'relatedWords': [], 'examples': []}], 'pronunciations': {'text': [], 'audio': []}}]

As for tests failing, they seem to be already failing in master.
(venv) (buster)alexei@localhost:~/WiktionaryParser$ git status
HEAD detached at origin/master
nothing to commit, working tree clean
(venv) (buster)alexei@localhost:~/WiktionaryParser$ git log -n 1
commit f34286cc1a5600fe12c09874470faf665e156dda (HEAD, origin/master, origin/HEAD)
Merge: 85b96c8 bddbfa8
Author: Suyash Behera<EMAIL_ADDRESS>Date:   Wed Jun 26 09:45:32 2019 +0530

    Merge pull request #51 from flowgunso/feature--reference-the-license

    Reference the license
(venv) (buster)alexei@localhost:~/WiktionaryParser$ python setup.py test
WARNING: '' not a valid package name; please use only .-separated package names in setup.py
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing wiktionaryparser.egg-info/PKG-INFO
writing dependency_links to wiktionaryparser.egg-info/dependency_links.txt
writing requirements to wiktionaryparser.egg-info/requires.txt
writing top-level names to wiktionaryparser.egg-info/top_level.txt
reading manifest file 'wiktionaryparser.egg-info/SOURCES.txt'
writing manifest file 'wiktionaryparser.egg-info/SOURCES.txt'
running build_ext
test_multiple_languages (tests.test.TestParser) ... Testing "grapple" in English
FAIL

======================================================================
FAIL: test_multiple_languages (tests.test.TestParser)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/alexei/WiktionaryParser/tests/test.py", line 24, in test_multiple_languages
    self.assertEqual(DeepDiff(parsed_word, sample_output[lang][word], ignore_order=True), {})
AssertionError: {'iterable_item_added': {'root[0]': {'defi[5509 chars]]}}}} != {}

----------------------------------------------------------------------
Ran 1 test in 1.594s

FAILED (failures=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=0 failures=1>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=0 failures=1>

Whoops my bad, I was checking without switching the language. So running parser.fetch('вставка', 'russian') works but the English words are failing (like parser.fetch('test'))
>>> b = a.fetch('test', 'english')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...\wiktionaryparser.py", line 273, in fetch
    return self.get_word_data(language.lower())
  File "...\wiktionaryparser.py", line 131, in get_word_data
    json_obj_list = self.map_to_object(word_data)
  File "...\wiktionaryparser.py", line 253, in map_to_object
    or is_subheading(current_etymology, definition_index):
  File "...\wiktionaryparser.py", line 24, in is_subheading
    child_headings = child.split(".")
AttributeError: 'tuple' object has no attribute 'split'

As for the failing tests, I see some of the pages have updated pronunciations which have text containing a deprecation warning( like here) that's causing the JSON assertions to fail. Thanks for pointing this out! I'll probably have to rebase the test file or add some logic to remove the deprecation warnings from the text

Based on the second to last line in the stack trace it looks like you are using a version before my latest commit (7a674e5, above). Here's what I'm seeing:
(venv) (buster)alexei@localhost:~/wp2$ python
Python 3.7.3 (default, Apr  3 2019, 05:39:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wiktionaryparser
>>> p = wiktionaryparser.WiktionaryParser()
>>> p.fetch("test")
[{'etymology': 'From Middle English test, teste, borrowed from Old French test, teste (“an earthen vessel, especially a pot in which metals were tried”), from Latin testum (“the lid of an earthen vessel, an earthen vessel, an earthen pot”), from *terstus, past participle of the root *tersa (“dry land”). See terra, thirst.\n', 'definitions': [{'partOfSpeech': 'noun', 'text': ['test (plural tests)', 'A challenge, trial.', 'A cupel or cupelling hearth in which precious metals are melted for trial and refinement.', '(academia) An examination, given often during the academic term.', 'A session in which a product or piece of equipment is examined under everyday or extreme conditions to evaluate its durability, etc.', '(cricket, normally “Test”) A Test match.', '(marine biology) The external calciferous shell, or endoskeleton, of an echinoderm, e.g. sand dollars and sea urchins.', '(botany) Testa; seed coat.', '(obsolete) Judgment; distinction; discrimination.'], 'relatedWords': [{'relationshipType': 'synonyms', 'words': ['(challenge, trial): See Thesaurus:test', '(academics: examination): examination, quiz']}, {'relationshipType': 'antonyms', 'words': ['(academics: examination): recess']}, {'relationshipType': 'hyponyms', 'words': ['acid test', 'babysitter test', 'blood test', 'duck test', 'field test', 'flame test', 'inkblot test', 'litmus test', 'multiple-choice test', 'nose test', 'Rorschach test', 'single-choice test', 'smell test', 'smoke test', 'sniff test', 'software test', 'stress test']}], 'examples': ['Numerous experimental tests and other observations have been offered in favor of animal mind reading, and although many scientists are skeptical, others assert that humans are not the only species capable of representing what others do and don’t perceive and know.', 'Who would excel, when few can make a test / Betwixt indifferent writing and the best?']}, {'partOfSpeech': 'verb', 'text': ['test (third-person singular simple present tests, present participle testing, simple past and past participle tested)', 'To challenge.', 'To refine (gold, silver, etc.) in a test or cupel; to subject to cupellation.', 'To put to the proof; to prove the truth, genuineness, or quality of by experiment, or by some principle or standard; to try.', '(academics) To administer or assign an examination, often given during the academic term, to (somebody).', 'To place a product or piece of equipment under everyday and/or extreme conditions and examine it for its durability, etc.', '(copulative) To be shown to be by test.', '(chemistry) To examine or try, as by the use of some reagent.'], 'relatedWords': [], 'examples': ['Climbing the mountain tested our stamina.', 'to test the soundness of a principle; to test the validity of an argument', 'Experience is the surest standard by which to test the real tendency of the existing constitution.', 'Similar studies of rats have employed four different intracranial resorbable, slow sustained release systems—\xa0[…]. Such a slow-release device containing angiogenic factors could be placed on the pia mater covering the cerebral cortex and tested in persons with senile dementia in long term studies.', 'He tested positive for cancer.', 'It is probable that children who test above 180 IQ are actually present in our juvenile population in greater frequency than at the rate of one in a million.', 'to test a solution by litmus paper']}], 'pronunciations': {'t--snip--
>>> p.fetch("вставка", "russian")
[{'etymology': 'вставля́ть\xa0impf (vstavljátʹ), вста́вить\xa0pf (vstávitʹ)\n', 'definitions': [{'partOfSpeech': 'noun', 'text': ['вста́вка • (vstávka)\xa0f\xa0inan (genitive вста́вки, nominative plural вста́вки, genitive plural вста́вок)', 'setting in, fixing; framing; mounting; insertion, inset'], 'relatedWords': [], 'examples': []}], 'pronunciations': {'text': [], 'audio': []}}]

Ah right, I did have your latest commit but there was a conflicting local change. I'll merge this now. Thanks!