No way to override/hide the text "Expandable Buttons"

With expandable rows, the row header column header says "Expandable Buttons".  I have glanced at the code and guess that the name "expandableButtons" gets converted to that text by some auto-formatting logic.
Either way, I'd like to be able to replace/remove it -- it's a little awkward and will never really be visible since the width of the column won't ever show it all.  Being able to provide a custom header would be nice, but simply providing text for the column title would be fine.

Also when i am exporting to PDF then there is blank columns in front of it for expandableButtons. How can i hide that

The exporting I can fix - there is a property to set on the expandable column def, which was added in #2453.  I can probably do something with the header text if I try too.

Header text was already set to '', I've suppressed the expandable column in exports.


Intersection bug

Hello! The library does not position the element correctly when there are two adjacent children, and one of them has no children, and the other has more than 3.
As a result, one of the children overlaps the lines of the second when using "elbow" pathFunc,
here is an example: https://codesandbox.io/p/sandbox/bug-report-lj7dfn

hello. i have same problem. can you help us?


a dump file update enhancement suggestion

Unfortunately, I cannot access thepiratebay.org directly - I have to use either a VPN addon in my Firefox web browser, which fails to download the dump file after several megabytes, or a DNS server, and even then thepiratebay.org server often gives error, and I can only access the site's latest snapshot provided by "Cloudflare's Always Online™ technology", but downloading the dump file is istill impossible.
I think OfflineBay could be a good alternative for such cases as well if it automatically attempted to connect to mirror sites and even, as a last resort, provided the latest dump file hosted directly in this project repository.
I hope you can implement this suggestion as it would be a real relief to many users, I guess.
Thanks a lot.

This will not happen because I've already provided an easy option to run mirrors. It's up to enthusiastic users to run mirrors. Program already supports auto updates of dump. Let's not compromise the value and availability of the program by adding "Nasties" to the repo. Thanks for the suggestion. Keep 'em coming. Closing the issue.


Add the biogo project

BioGo is to my knowledge the most well-known bioinformatics library (collection) for Go.

LGTM. Thanks!


sw_lokey / sw_hikey specs coherency issue

The page describing sw_lokey, sw_hikey opcode (http://sfzformat.com/opcodes/sw_lokey) says "This affects sw_last keyswitches only, and sw_down keyswitches can be outside of this range..". However the page describing sw_down opcode
says "Enables the region to play if the key equal to sw_down value is depressed. Key has to be in the range specified by sw_lokey and sw_hikey.".
This leads to a coherency issue. Please, does anyone would give explanations ?

Will check that and correct... I probably got sw_down and sw_previous mixed up somewhere.

Fixed now - please take a look if it makes sense now. The sw_down page was correct, and the actual behavior is implementation-dependent. I got sw_down and sw_previous mixed up in the sw_lokey and sw_hikey pages, so those are now updated.


added chef_client.cron.weekday parameter

Sorry, no tests for my trivial change as I could not wait several hours until Vagrant finishes downloading its kitchen.

Rebased and merged.


fatal error: 'utility' file not found, node-gyp rebuild is failing

1 warning and 1 error generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/name/.nvm/versions/node/v6.9.5/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 19.2.0
gyp ERR! command "/Users/name/.nvm/versions/node/v6.9.5/bin/node" "/Users/name/.nvm/versions/node/v6.9.5/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/name/projects/project/node_modules/contextify
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v6.1.0
gyp ERR! not ok
npm ERR! Darwin 19.2.0
npm ERR! argv "/Users/name/.nvm/versions/node/v6.9.5/bin/node" "/Users/name/.nvm/versions/node/v6.9.5/bin/npm" "install"<EMAIL_ADDRESS>npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/name/projects/myproject/npm-debug.log

My osx version: 10.15.2
I have tried as mentioned in this also: https://github.com/ProjectOpenSea/opensea-creatures/issues/5#issuecomment-458894627

I don't see the error in here, perhaps you missed pasting something in. Regardless, two things stand out here: (1) you're using a very old version of Node.js and you really should update because we can't continue providing support for versions of Node.js that are no longer maintained and addon authors are in the same boat (the oldest supported version of Node.js today is 10) and (2) 'contextify' was moved in to Node core even longer ago, so whatever you're trying to build must be quite old and probably needs to be updated to use newer Node.js and newer APIs. As you can see, it hasn't been touched in some time and is both archived and carries a disclaimer: https://github.com/brianmcd/contextify


WIP: feat(schema): Allow multiple types for Returns decorator ...

... resulting in a oneOf schema
Information

Type
Breaking change

Feature
No 🙏

Usage example
Example to use your feature and to improve the documentation after merging your PR:
class ClassA {}
class ClassB {}

class Controller {
        @(Returns(200, [ClassA, ClassB]))
        @Get("/1")
        method1() {
            // ...
        }

        @(Returns(200, Array).OneOf(ClassA, ClassB))
        @Get("/2")
        method2() {
            // ...
        }
}

⏬
{
  oneOf: [
    {
      $ref: "#/components/schemas/ClassA",
    },
    {
      $ref: "#/components/schemas/ClassB",
    },
  ];
}

or
{
  type: "array",
  items: {
    oneOf: [
      {
        $ref: "#/components/schemas/ClassA",
      },
      {
        $ref: "#/components/schemas/ClassB",
      },
    ],
  },
}

Todos
⚠ looks like it is not working with Groups and I could need some help on that ⚠

[ ] Tests
[ ] Coverage
[ ] Example
[ ] Documentation

Hello @ochrstn
thanks for the PR. I know OneOf/AllOf/AnyOf doesn't works with Groups usage actually. I'll create PR to fix that, independently of this PR ;)

This PR #1671 should solve your issue with OneOf :)

/rebase

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.719%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4229

Relevant Lines:
4237

💛  - Coveralls

Thanks @ochrstn ;)

:tada: This PR is included in version 6.94.0 :tada:
The release is available on:

v6.94.0
GitHub release

Your semantic-release bot :package::rocket:


continue opt175b download from the latest available file

Patch Description
Add script to continue the download after the latest available opt175b file in the case of an internet issue or interruption.
Testing steps
The following cases are tested:

file does not exist.
file exist with zero byte in case of running the script without internet.

related request #288

What's the reason for committing a new script instead of modifying metaseq/scripts/download_opt175b.sh ?

@suchenzang, to keep the choice of downloading everything from scratch if needed or using the new script to download from the last point. For any reason, if you want to merge it? I can do it. Otherwise, we can keep both options.

Got it - yes, it would be cleaner to control through a flag from one file. And update documentation accordingly to highlight the two use-cases / ways to invoke the script (download from scratch vs from last saved).

ok sure will do it.

There are two parameters at the moment $1 mandatory for presigned_url and $2 optional for the directory.
The available options to add a third optional parameter:

Option1: keep the mandatory parameter $1 and add flags for both optional parameters regardless of the order. (-d for directory -c for checkpoint).
Option2: move the directory parameter to $3 and use $2 for the checkpoint flag.
Option3: use $3 for the checkpoint flag and keep $2 for the directory. The issue of this option, the directory, should always be mentioned before the flag.

@suchenzang kindly advise which option is more suitable to start the implementation.

@Barqawiz Option 1! Thanks for adding flags - it's definitely better than positional args :)

@suchenzang the merge is ready for your review.
The expected format, -c means continue download:
bash ./download_opt175b.sh "<presigned_url_given_in_email>" -d "" -c
Also I added a validation if the user did not enter the presigned_url.


Rundown migrations(currently on hold)

Update migrations to use universal oracle v2.
Minor fixes.

This pr is currently on hold.

Deprecated.


Preload context to avoid remote loading

Loading a local version of the context is recommended for several
reasons.

It reduces test run time from 53 seconds to less than a second.
It ensures that our hard-coded URIs are in sync with the used context.
It guards us against network errors and downtime of the DFC website.

The first two commits are just to get the CI environment running as in the previous PR.

Added via the code generator.


[#noissue] fix testcase compatibility for java8

Test failed on java8

Codecov Report

Merging #2786 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2786      +/-   ##
==========================================
+ Coverage   40.73%   40.75%   +0.02%
==========================================
  Files        1773     1773
  Lines       61115    61115
  Branches     8586     8586
==========================================
+ Hits        24893    24909      +16
+ Misses      36222    36206      -16

Impacted Files
Coverage Δ

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
81.43% <0%> (ø)
:arrow_up:

.../profiler/sender/StandbySpanStreamDataStorage.java
81.35% <0%> (+1.69%)
:arrow_up:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
82.85% <0%> (+5.71%)
:arrow_up:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
78.31% <0%> (+7.22%)
:arrow_up:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
83.33% <0%> (+11.11%)
:arrow_up:

...npoint/rpc/server/SimpleServerMessageListener.java
100% <0%> (+20%)
:arrow_up:

.../com/navercorp/pinpoint/rpc/packet/PongPacket.java
71.42% <0%> (+21.42%)
:arrow_up:

Continue to review full report at Codecov.

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


NERDTreeFind fails with vim-startify

Description
:NERDTreeFind prints this error when used with vim-startify. My guess is this is related.

Possible related, because it's working fine with not exisiting/written files:
https://github.com/scrooloose/nerdtree/pull/1043

I'm actually also getting this issue but without vim-startify.

@willfindlay What's in your buffer when this issue occurs?


Support for Jakarta APIs v6

Describe the bug
This is not a bug :)
I see the library here intends to use the javax namespace in various areas, in particular inside the RequestSigning class. This of course causes NoClassDefFoundError type of errors for Jakarta v6 since APIs have moved onto the jakarta namespace.
Is Jakarta v6 something you might be interested to support and handle perhaps in 7.4.0?
To Reproduce
var client = VonageClient.builder()
            .apiKey(vonage.getApiToken())
            .apiSecret(vonage.getApiSecret())
            .signatureSecret(vonage.getSignatureSecret())
            .httpConfig(HttpConfig.defaultConfig())
            .applicationId(vonage.getApplicationId())
            .hashType(HashUtil.HashType.valueOf(vonage.getHashType()))
            .build();

Expected behavior
Avoid NoClassDefFoundError errors where the SDK here is able to properly support jakarta APIs v6.
Screenshots
Error logs:
java.lang.NoClassDefFoundError: javax/servlet/ServletInputStream
	at com.vonage.client.auth.SignatureAuthMethod.apply(SignatureAuthMethod.java:43)
	at com.vonage.client.AbstractMethod.applyAuth(AbstractMethod.java:111)
	at com.vonage.client.AbstractMethod.execute(AbstractMethod.java:71)
	at com.vonage.client.sms.SmsClient.submitMessage(SmsClient.java:62)

Vonage SDK Version

Version: 7.3.0

Java SDK Version

Version: 17

Proxy Server Used

[ ] Yes
[X] No

Context
I would like to try out this SDK inside a Spring Boot 3.1.x application w/ Apache Tomcat 10, which only do support Jakarta v6.

Thank you for raising this. The only issue I can see is that Jakarta 6 requires Java 11. To ensure the widest compatibility, we want to support Java 8 for as long as possible. I'm open to suggestions for workarounds. One of these would be to remove the dependency on javax.servlet altogether.

Thanks much!
I agree that removing the dependency altogether would be ideal. Some in-between compromises could also be to perhaps separate support for javax and jakarta into separate modules and let the developer choose, or, programmatically determine which API is on the classpath and dynamically instantiate and use that instead. (Though admittedly, both of these solutions seem like they would be a lot more work than just dropping the dependency, and feel like they might be worse than the problem! )

I've deprecated it and made it an optional compileOnly dependency, so hopefully that helps. In the next major version the dependency will probably be removed altogether. 7.4.0 has just been released so give it a try :)

At any rate, I'll keep an eye out for the next major release. As long as statements such as import javax.servlet.http.HttpServletRequest; exist, I will run into the same problem. Thank you for taking care of this scenario so far!


Using paddle ocr backend instead of tesseract for hi_res models

Hello,
Is there a way to use paddle ocr backend instead of tessearct? I actually want to speed up things for table extraction and noticed that the main bottleneck is ocr. I actually have a gpu and want to maximise its usage. What is the recommended to approach this?

Hi there!
We currently don't support paddle in our hosted API but you can run API with paddle locally if you are not using Apple M1/M2 chip (if you are using M1 chip, please install paddle and set env in your dockerfile)

First you need to install paddle inside your environment:

pip install paddepaddle-gpu
pip install "unstructured.PaddleOCR"

then you can run api locally with

export TABLE_OCR=paddle
make run-web-app

Thank you, I will try this out. What would you recommend for speeding things up where table extraction and using hi_res models is always there? We have a gpu actually and can use it.

For speed, actually tesseract is the best option we have. I did some OCR speed comparison and paddle gpu is still 5x slower than tesseract, but the quality might be improved on paddle.

Interesting, I also tested a 75 page pdf with ocr backends and paddle was 5-6x faster. Also there is this while setting ENTIRE_PAGE_OCR to paddle.
AssertionError: param lang must in dict_keys(['ch', 'en', 'korean', 'japan', 'chinese_cht', 'ta', 'te', 'ka', 'latin', 'arabic', 'cyrillic', 'devanagari']), but got eng

Interesting, I also tested a 75 page pdf with ocr backends and paddle was 5-6x faster.

Oh thanks for letting me know this! i  didn't investigate speed with large pdf file, so i will take a look in the future.

Tried setting the ocr_languages param to 'en' but didn't work

yep sorry about that the lang parameter should be fixed for paddle. here is the PR for a quick workaround: https://github.com/Unstructured-IO/unstructured-inference/pull/226

Thanks for the quick fix! Appreciate it

Hey @yuming-long, I tried your fork and I am getting this error now. Any help would be appreciated.
OSError: image file is truncated (4699 bytes not processed)
2023-09-22 19:13:12,423 unstructured_api ERROR image file is truncated (4699 bytes not processed)

I won't be able to share the pdf due to compliance but I was able to track the bug. I think unstructured inference creates images on disk in the /tmp and doesn't clean it if the request fails. So the space got quickly filled up due to many failed requests. Thanks.

gotcha, thanks for sharing this! and I will make follow up ticket to address to tmp disk issue.

Hi @yuming-long, just wanted to ask a follow-up question. I am currently working on improving the inference where table extraction is necessary for large pdfs. I noticed when we specify strategy as hi_res and pdf_infer_table_structure as true, it ocrs the whole pdf instead of using pdfminer on pages which do not contain tables. Do you think a first stage classifier can be included to identify pages of interest (which contain, tables, figures, etc.) and pages that do not? We can then split the pdf and speed up inference a lot

Hi @jashdalvi. We have thought about similar ideas to run some pages in hi_res when some elements like tables are present. Nevertheless, we need to explore more the tradeoff between adding an extra processing block to the pipeline for this logic (like the classifier), and parsing the whole page content in hi_res. For your purpose, you could easily add the classifier idea to the pipeline and run each page with the correspondent strategy fast|hi_res. This could perhaps be an optional parameter to the partition.auto method (we need to think it through). We will be very interested indeed in a PR profiling such a change (how much time per page, integration to classify multiple pages in parallel, model dependencies the model needs, hopefully proposals for deployment, etc).

Thanks, @LaverdeS for the response. I will definitely take a look at this.

Hi there! We currently don't support paddle in our hosted API but you can run API with paddle locally if you are not using Apple M1/M2 chip (paddle don't support gpu on M1 arch)

First you need to install paddle inside your environment:

pip install paddepaddle-gpu
pip install "unstructured.PaddleOCR"

then you can run api locally with

export TABLE_OCR=paddle
make run-web-app

i've tried this, but still ask me to provide tesseract
{
	"detail": "tesseract is not installed or it's not in your PATH. See README file for more information."
}

@yuming-long
set OCR_AGENT to paddle seems work, but scan doesn't recognize chinese
export OCR_AGENT=paddle

uvicorn prepline_general.api.app:app \
	--log-config logger_config.yaml \
        --host <IP_ADDRESS>

[
	{
		"type": "Title",
		"element_id": "773ef9304b1ee1c86f364509168b904e",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"page_number": 1
		},
		"text": "PSXHEI"
	},
	{
		"type": "Title",
		"element_id": "8ec3a0daaaae3adab5f3389ce6f481b6",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"page_number": 1
		},
		"text": "Ctrl+N Ctrl+O Ctrl+W Ctrl+Alt+C"
	},
	{
		"type": "Title",
		"element_id": "7533d693bbcc387df4ab73bb3bbc1d86",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"page_number": 1
		},
		"text": "Ctrl+S Ctrl+Shift+C Ctrl+Q Ctrl+Alt+I"
	},
	{
		"type": "Title",
		"element_id": "6775b9287a22fea0565de69e11603ec9",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"page_number": 1
		},
		"text": "iRH"
	},
	{
		"type": "Table",
		"element_id": "c2eb50055c1fa94047651abb32e4e466",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"parent_id": "6775b9287a22fea0565de69e11603ec9",
			"page_number": 1
		},
		"text": "Ctrl+X ggtj] Ctrt+J Ctrl+Z 6R- Ctrl+Enter Ctrl+Shift+Z #* Ctrl+D Ctrt+T Ctrl+Alt+Z Shift+F5 Ctrl+B Shift+F6 Ctrl+G Ctrl+Shift+I Ctrt+Shift+G Ctrt+E Alt+Delete Ctrl+Delete Ctrt+; Ctrl+R RT/TR Ctr+Shift+U Ctrt+\" Ctrl+Tab Ctrl+U itHX Ctr+Alt+Shift+S 7web1It Ctrl+L EPT Ctr+Alt+Shift+EE"
	},
	{
		"type": "Title",
		"element_id": "e6c26b08351a084655419ddf723ab894",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"page_number": 1
		},
		"text": "Ctrl+M"
	},
	{
		"type": "Title",
		"element_id": "fedb545e8656e30bad07e0d298036410",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"page_number": 1
		},
		"text": "Ctrl+1"
	},
	{
		"type": "UncategorizedText",
		"element_id": "334359b90efed75da5f0ada1d5e6b256",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"parent_id": "fedb545e8656e30bad07e0d298036410",
			"page_number": 1
		},
		"text": "#"
	},
	{
		"type": "Title",
		"element_id": "6c4dbc3cc01d72eb484648bdbc558181",
		"metadata": {
			"filename": "x.jpg",
			"filetype": "image/jpeg",
			"page_number": 1
		},
		"text": "Ps Photoshop"
	}
]

what is lang code to pass?

Hi there!
We currently don't support language mapping for paddle and the only option for paddle language is en (English) from list of supported language for paddle, so we won't be able to pass the language code for Chinese to paddle in your case.
However, I can show you a temporarily trick to pass the language parameter to paddle:

find the location of the unstructured package, you can find it with:

import unstructured
unstructured.__file__

find the file for default lang parameter setting for paddle: https://github.com/Unstructured-IO/unstructured/blob/main/unstructured/partition/utils/ocr_models/paddle_ocr.py#L7
in your case you can change the en default to ch, which is for Chinese and English

Hope this helps. I am sorry for the inconvenience, and in the meantime, I will raise the need for paddle language parameter to the team.

if use docer , can do like this:

create a shell named paddle.sh:#!/bin/sh
set -e

# check paddle install , the docker images is wolfi and python version is 3.11
if ! python3.11 -c "import paddle" &> /dev/null; then
    echo "Installing paddle..."
    # install unstructured.paddleocr need add build-base and python-3.11-dev
    apk update && apk add --no-cache build-base python-3.11-dev
    pip install paddlepaddle
    pip install unstructured.paddleocr
else
    echo "paddle is already installed."
fi

# run dockerfile'e entrypoint
sh scripts/app-start.sh

change the docker-compose.yml:services:
  unstructured:
    image: downloads.unstructured.io/unstructured-io/unstructured-api:latest
    restart: always
    ports:
      - "8000:8000"
    environment:
      #- HF_ENDPOINT=https://hf-mirror.com # if you need huggingface mirror
      - OCR_AGENT=unstructured.partition.utils.ocr_models.paddle_ocr.OCRAgentPaddle # new version not `paddle` but this
    volumes:
      - ./volumes/unstructured/data:/app/data
      - ./volumes/unstructured/paddle.sh:/paddle.sh # paddle.sh mapping
    entrypoint: ["/bin/sh", "/paddle.sh"] # run the paddle.sh
    user: root # if run `apk add` ,nee root permission

new verison OCR_AGENT


fix: avoid nameclashes by considering the filepath

Signed-off-by: Nico Braun<EMAIL_ADDRESS>fix: kpt#3758

Imo, this implementation is pretty hacky. There is probably a better way.


Consolidate step.invoke logic

Since step.invoke and step.invoke_by_id do literally the same thing but with a different function signature, they should share the same logic.
I also renamed FunctionOpts.id to FunctionOpts.fully_qualified_id to make its purpose more obvious. Added FunctionOpts.local_id since this was necessary for accessing the local ID within step.invoke

Is removing id a break? Minor bump?

It's internal only. We don't export FunctionOpts and we assign its object to a private field (_opts)


When is the new release planned for?

Hello, sorry to ask here but didn't find a result for this question.
Is there an ETA for the new LightGBM release? Or a place to get that information?
Basically I'm using maven in Java to get the latest LightGBM release of Nov 2019 (2.3.150).
However there are many critical bugfixes merged in the master branch that I depend on.
Is there a way to fetch a more recent build? Or when is there going to be a new release?
Thank you for your time.

Hey @AlbertoEAF !
Please refer to https://github.com/microsoft/LightGBM/issues/2820#issuecomment-596857585.
We have even more breaking changes in the master and should wait for the feedback from early adopters.

Thank you @StrikerRUS :)


(maybe) improve explanation of different builds

Please preview your modification locally first. (You can also see the rendered version here.)

Please preview your modification locally first. (You can also see the rendered version here.)

Thank you! I previewed it in GitHub, maybe here is some differences between the render engines, I will check it.

Would you care to explain the improvement(s)?

@phanan Oh, thanks.
When I saw this doc, I was confused, though I'm familiar with Vue for three year use.
I guess it's just because of the old document structure didn't take into account the various builds that were added later.
The best solution is to show this naming rule: vue(.runtime if no need for compiler)(.umd-use|.esm-use|.cjs-pack|esm-pack)(.min if production).js, but this need react rich HTML to support, I think.
Since that's not supported, I tried to understand the builds deeper -- what does these builds built for, not just the tech differences.
I think there are two major category, directly use and for bundlers. Under that, there are the minor tech different builds, which is more understandable. So I changed the explanation.
However, since you still need to explain after reading the rendered version (old and new), I may have failed. :)


Draw on image looks pixelated when zoomed in

Im using an image with a resolution of 2113 by 2248 and it looks absolutely unreadable when i zoom in.
Issue doesnt exist anywhere else outside this app.
Also, the zoom isnt using the screen's center as the point to zoom but the image's center, so when i try to zoom in it moves 'my view' of the image closer to the center of the image.
Also also, the app lags really bad. Its running at like 15-20 FPS.

the zoom isnt using the screen's center as the point to zoom but the image's center
I know about this one, and cant easily fix because zooming leads to an library

Draw on image looks pixelated when zoomed in
Ofc because you are drawing on raster image, which consists of pixels

Also also, the app lags really bad. Its running at like 15-20 FPS.
Everywhere or just in drawing? As possible solution you can disable shadows in app settings

You are drawing on it, pixels visible, i see no problem, if pixelation occurs somewhere else, this is due to optimisation

You are drawing on it, pixels visible, i see no problem, if pixelation occurs somewhere else, this is due to optimisation

Just because the end result doesnt come up overly pixelated doesnt mean that it should look like this while its being edited.
What if someone needs the precision its taking away from them? In fact, i do, because i need to be able to read the damn text to know what im drawing over......

More zoom more pixels visible, isn't it?


[Bug]: Render problem

Steps to reproduce
Their was always render problem, its in the viewmodel dont know how to fix. please help. Thanks.
Expected behaviour
Good
Actual behaviour
Good
Device name
Pixel 5
Android version
Android 8.0
Myne version
4.3.0
Device logs
No response
Additional information
No response

Expected behaviour
Good

Actual behaviour
Good

What?! Sorry, but what's the problem then?

Their was always render problem, its in the viewmodel dont know how to fix

What does that even mean? I'm not an all-knowing, omniscient figure who can read your mind to figure out the exact problem you're facing if you don't provide the slightest clue about it..
Closing. Feel free to reopen once you provide enough details, as it's a completely pointless issue in its current form.


Compiler error after including pod_reflection.hpp

Create a new C++ console application. Target latest. Build with Visual Studio 2017 (v141).
1>..\pod_reflection.hpp(202): error C2760: syntax error: unexpected token ')', expected 'expression'
1>..\pod_reflection.hpp(202): note: This diagnostic occurred in the compiler generated function 'const out &refl_traits<POD,types_map,divisor,predict>::get(const POD &)'
1>..\pod_reflection.hpp(205): note: see reference to class template instantiation 'refl_traits<POD,types_map,divisor,predict>' being compiled

@ScottHutchinson I've created new API. The old one may be found with tag old_api. Now example and tests compile with MinGW64 and MSVC.

@ScottHutchinson I've created new API. The old one may be found with tag old_api. Now example and tests compile with MinGW64 and MSVC.


Django 1.11 SetUpClass error in FastFixtureTestCase:  AttributeError: 'module' object has no attribute 'enter_transaction_management'

I am using django 1.11 and django-nose==1.4.5.  This is how my base test case class looks like:
class BaseTestCase(FastFixtureTestCase):

   @classmethod
    def setUpClass(cls):
        from django.db import transaction
        for db in cls._databases():
            transaction.enter_transaction_management(using=db)
            transaction.managed(True, using=db)

        cls._fixture_setup()

But getting SetUpClass error in FastFixtureTestCase:  AttributeError: 'module' object has no attribute 'enter_transaction_management'. I have seen similar issue: https://github.com/django-nose/django-nose/issues/226. Is it fixed?

No, issue #226 is not fixed.  You could try the code in PR #258, which would give us some confirmation that the fix works.

@jwhitlock @bennylope  I have gone through the code in #258 but, he is entirely removing for loop with transaction management. I am wondered how does this solves the problem. Don't we need transaction entirely for setting up FastfixtureTestCase ???

I have tried the code in #258 and it gets me past the AttributeError: 'module' object has no attribute 'enter_transaction_management' issue. However, now all tests error with:
$ python ./manage.py test my.tests.test_module  --settings=test_settings --processes 2
nosetests my.tests.test_module --cover-erase --cover-package=utils,2 --processes 2 --verbosity=1
Creating test database for alias 'default'...
EEEEEEEEEE
======================================================================
ERROR: My test's doc string
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/henrylongmore/.venv/myproject/lib/python2.7/site-packages/django/test/testcases.py", line 209, in __call__
    self._pre_setup()
  File "/Users/henrylongmore/.venv/myproject/lib/python2.7/site-packages/django_nose/testcases.py", line 123, in _pre_setup
    from django.contrib.sites.models import Site
  File "/Users/henrylongmore/.venv/myproject/lib/python2.7/site-packages/django/contrib/sites/models.py", line 84, in <module>
    class Site(models.Model):
  File "/Users/henrylongmore/.venv/myproject/lib/python2.7/site-packages/django/db/models/base.py", line 118, in __new__
    "INSTALLED_APPS." % (module, name)
RuntimeError: Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.


Search returns broken links

A search for “Hive” on https://docs.stackable.tech/home/stable/index.html the first entry isn’t clickable.

Hi!
This is a tricky one. It actually is clickable, but it is linking to the page you're currently on (the landing page). If you search while being on a different page, it will bring you to the landingpage.

Ah yes, I see. I just didn't scroll down far enough to notice that the Hive docs are linked from that page.
Suggest to just close this issue.

Yes, an anchor would be good, as there will be others confused by this. I'll leave this ticket open

The sub heading on the main page is made with an HTML tag:
++++

Apache Hive

++++

The Apache Hive data warehouse software facilitates reading, writing, and managing large datasets residing in distributed storage using SQL. We support the Hive Metastore.

xref:hive::index.adoc[Read more]

I think this is why there is no anchor? If we click the search, we jump to an anchor undefined. I suspect that setting an anchor on the heading might solve the problem.

This is a bug, so I don't think there is more refinement to be done. I've updated the issue description with expected behavior and an acceptance criterium

Commits cherry picked to:

https://github.com/stackabletech/documentation/tree/release/22.06
https://github.com/stackabletech/documentation/tree/release/22.09


Activate LLVM tests for Windows in CI

@Anton-4, no rush with this but I think we might need to update something on the CI machine for this, or potentially look at optimising things if the tests are too large/slow etc.

Hmm, do you think the test failure will be fixed by updating a dependency @lukewilliamboswell?


Fix compilation failures on Go 1.11

Compilation failed;
windows\process.go:124: Wrapf format %s has arg s of wrong type github.com/containerd/containerd/runtime.Status
windows\task.go:287: Wrapf format %d has arg id of wrong type string
windows\task.go:300: Wrapf format %d has arg t.id of wrong type string

LGTM

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2487   +/-   ##
=======================================
  Coverage   44.76%   44.76%
=======================================
  Files          93       93
  Lines        9555     9555
=======================================
  Hits         4277     4277
  Misses       4585     4585
  Partials      693      693

Flag
Coverage Δ

#linux
48.98% <ø> (ø)
:arrow_up:

#windows
41.04% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Emoji is not entered after entering text in user copy area.

The purpose of this program was to save all data in the textbox when the clicked emoji was entered into the textbox, and the user wanted to copy it after entering the textbox.
However, when text was entered into the textbox, a bug occurred in which the emoji could not be entered into the textbox.

It has been modified so that letters cannot be entered in the copy area.


Instrument fetch API

[x] Investigate PerformanceResourceTiming
[x] Avoid duplicate spans when fetch is a polyfill
[x] Remove domain from the url if on the same origin
[x] Implement promise based instrumentation
[x] Refactor XHR instrumentation
[x] Add tests

awesome @jahtalab !


Cookie rejected

Dec 05, 2018 6:39:27 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies WARNING: Cookie rejected [sessionid="""", version:0, domain:.i.instagram.com, path:/, expiry:Wed Dec 31 19:00:00 EST 1969] Illegal 'domain' attribute ".i.instagram.com". Domain of origin: "www.instagram.com"
Getting this error while trying to connect to instagram login page.(http://www.instagram.com/accounts/login/)

Can you please provide some more details; at least some code to reproduce your problem.

No more details, will close this.


(change-detection) C:\Users\Administrator\ChangeFormer>pip install -r requirements.txt ERROR: Invalid requirement: '_libgcc_mutex=0.1=main' (from line 16 of requirements.txt) Hint: = is not a valid operator. Did you mean == ?

When i am running the pip install -r requirements.txt command on Anaconda Prompt, I am facing errors like ERROR: Invalid requirement: '_libgcc_mutex=0.1=main' (from line 4 of requirements.txt)
Hint: = is not a valid operator. Did you mean == ?
Then I updated it with new version of requirements.txt after running the command I got the errors:
ERROR: Invalid requirement: '_libgcc_mutex=0.1=main' (from line 16 of requirements.txt)
Hint: = is not a valid operator. Did you mean == ?

@ayshaashra thanks for your question.
I think this is happening because you are installing it with pip (the provided requirement file is not compatible with pip).
Try installing requirements.txt with conda as follows (see setting-up-conda-environement):
conda create --name ChangeFormer --file requirements.txt
conda activate ChangeFormer

Thanks.

Please guide me should I use the requirements.txt or the "Updated Requirement file". As I try with both files of requirement but do not able to solve it, I am running it on the Anacoda Prompt. Everything before is properly running but this command is not running, I have checked the relevant post also and tried it by adding == instead of = sign

conda install --file requirements.txt
Yes this is working thank you

Great!


Add some methods for the cell

I am going to add some methods to ModelSystem and/or Cell/AtomicCell to make our lives easier during parsing:

from_ase(): right now we have to_ase, but we can define the "from" one.
get_atom_symbols(): this one is to pass the AtomsState(chemical_symbol) information to a flat list (as it was originally in the schema).

@ndaelman-hu @EBB2675 please, feel free to suggest other methods that you think might be interesting as well

okay, thx for the heads-up! maybe some ideas will come when reviewing the draft

get_atom_symbols(): this one is to pass the AtomsState(chemical_symbol) information to a flat list (as it was originally in the schema).

So you mean that the function returns list[str]?

okay, thx for the heads-up! maybe some ideas will come when reviewing the draft

get_atom_symbols(): this one is to pass the AtomsState(chemical_symbol) information to a flat list (as it was originally in the schema).

So you mean that the function returns list[str]?

yeah


-XX:MinRAMPercentage in Keycloak JVM memory settings doesn't come into play until the pods have less than 200 MB memory

Describe the bug
-XX:MinRAMPercentage in Keycloak JVM memory settings doesn't come into play until the pods have less than 200 MB memory
Version
Keycloak 24
Expected behavior
We need to suggest a JVM option only if this will be impacting majority of the use cases for Keycloak deployments.
Actual behavior
-XX:MinRAMPercentage in Keycloak JVM memory settings doesn't come into play until the pods have less than 200 MB memory.
How to Reproduce?
No response
Anything else?
https://www.baeldung.com/java-jvm-parameters-rampercentage

Do you suggest removing the option? Where we would then document how to set it for deployments with less memory?
Also, if you suggest removing that option we should move this issue to the main Keycloak repository.


Make food delivery boy page

Create food delivery boy page from scratch
Include

Home
About us
Sign up
Login page

Home page will be the landing page ( make it as attractive as it can be )
About us page will  include some static data and images
Sign up and Login page will be made using PHP, MySQL

@Suju2001 feel free raise a PR!

Hey

Sure


zilencer: Log, and drop, duplicated rows from remote servers.

Needs tests still.
Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

This lgtm, but I might put some of the context (including upstream link) in the commit message for the second commit into a code comment.

Merged, thanks @alexmv!


Make sure extension is linked with $ICU_LIBS

When I tried building this extension with Postgres.app, it failed to link:
Undefined symbols for architecture x86_64:
  "_u_charName_62", referenced from:
      _icu_char_name in icu_ext.o
(...)

The problem seems to be that the -licui18n -licuuc linker flags were missing, so the extension was not linked with ICU.
The fix was to make sure the extension is linked with $ICU_LIBS

It appears not to be necessary on Linux/gcc, but it doesn't hurt either. Thanks for the report and patch!


Is there anywhere that we can watch tennis tournaments?

What I found works most of the time is to find a channel that is airing that match and google (better yet duckduckgo) [channel name] live streaming or something along the lines. This generally also gives you a better quality.


modem: hl7800: Add callbacks for sleep IO

Allows mapping of sleep signals to user accessible test points on the development board.

This PR depends on https://github.com/zephyrproject-rtos/zephyr/pull/42595. Will rebase when that PR is settled.

@carlescufi help merge?


Relative paths in dependencies

... should be treated as relative to the folder containing the deps file.

Fixed on main.


Parse Filter Schema Definitions to React Filter Panel Components

With #3983 @norbert-mieczkowski-codilime added the filtering side panel to the new UI.
With #4162 @timizuoebideri1 extended the Dynamic Filter form to fully emit JSON representation of the fields, lookup types, and field definitions.
In this story should preset in the filtering side panel the choice dropdown of:

Which field would you like to filter on
Which lookup expression would you like to choose that's available for the field chosen above
Present an input box to enter values to filter on

We will create a separate story to map the output of #4162 to each different field type (multi-choice select, dropdown, text input similar to #2381)

Carved from #2806, Related (and blocked by): #3582
Context:

[ ] The model field to filter field mapping at BaseFilterSet.FILTER_DEFAULTS needs to also include the correct UI widget types in the extra for the filter mapping

[x] Prototype a JSON representation of the FilterSet to see if we can get away of needing widgets at all for the new UI. JSON Schema would be a good place to start/model from
[x] Serve the above representation on the UI API by some convention to the react UI, Ask for a model and get it's filters and their classes and args. We likely will need to advance it to allow for plugin views which define their own filterset (so maybe the view may need to hint that it needs a different filterset than the default one by the model).
[ ] Build the filterset => widget logic in the React UI, similar to what has been done here: https://github.com/nautobot/nautobot/blob/0fffa8ee6d4168fdb11b27019e500e0e1ef9fc1c/nautobot/utilities/utils.py#L866, but in React

This Story:
Addresses that last point which is taking the schema and rendering the components it in the UI.

Please add your planning poker estimate with Zenhub @jathanism

@norbert-mieczkowski-codilime for the final input field I think it would be valuable to start with

https://github.com/csandman/chakra-react-select
https://github.com/JedWatson/react-select

Yeah, I already implemented react-select in Nautobot UI https://github.com/nautobot/nautobot-ui/tree/develop/src/components/ReactSelect. Regarding chakra-react-select, the library history shows that it has rather rare maintenance cycles and inactive community, so I decided not to use it.

We have https://github.com/nautobot/nautobot/issues/4462 which will take this the rest of the way. Implemented a majority of this in #4434


The result of u1,u2,u3,u4,u5 is always higher than 1.5

Hi all, I used the output https://www.dropbox.com/s/zc6o1d8rqq28vci/data.zip?dl=1 and follow the inference instruction at steps_of_inference.md. But after running inference with te_label_phn.npy and te_feat.npy of the librispeech output I downloaded before, the result is weird. I checked the min value of each tensor from u1 to u5, but their mean values are always higher than 1.5 which is very high and unexpected because there are bad pronunciation examples inside speechocean762 dataset.
For example, min value of u1 is 1.5474397 and max value of u1 is 1.7969123.
I used this inference code:
`import torch
import sys
import os
sys.path.append(os.path.abspath('../src/'))
from models import GOPT
gopt = GOPT(embed_dim=24, num_heads=1, depth=3, input_dim=84)
gopt = torch.nn.DataParallel(gopt)
sd = torch.load('gopt_librispeech/best_audio_model.pth', map_location='cpu')
gopt.load_state_dict(sd, strict=True)
import numpy as np
input_feat = np.load("te_feat.npy")
input_phn = np.load("te_label_phn.npy")
gopt = gopt.float()
gopt.eval()
with torch.no_grad():
t_input_feat = torch.from_numpy(input_feat[:,:,:])
t_phn = torch.from_numpy(input_phn[:,:,0])
u1, u2, u3, u4, u5, p, w1, w2, w3 = gopt(t_input_feat.float(),t_phn.float())`

Hey! Have you solved the issue?

Hi, do you try some sentences with totally wrong pronunciation？


Followups and Windows support for  --feature=bundled-sqlcipher

There are a few follow-ups from adding "bundled" support for SQLcipher in #860. Most of these are not urgent, although windows support would be nice (until then, rusqlite users wanting to use SQLcipher on windows should link explicitly. I know this is kind of a pain).

[ ] Windows support for bundled-sqlcipher: This is probably mostly done, if you pass in explicit OPENSSL_DIR (or OPENSSL_INCLUDE_DIR + OPENSSL_LIB_DIR).

That is, I suspect it might already work, but need to be tested in CI.
For that, https://github.com/sfackler/rust-openssl/blob/ae494ccdeb0c7197fea9cb84a41ea554cb9abd7a/.github/workflows/ci.yml#L78-L109 is probably more or less what we want to do (note: this could also help get the last of our CI off appveyor!).
In an ideal world, SQLcipher would have win32 crypto support.... The other crypto backends aren't that involved, so maybe this is worth poking at if wrangling OpenSSL on windows sucks too much.

[ ] Windows support for bundled-sqlcipher-vendored-openssl: This seems pretty tricky for me to implement, since I get a inscrutable IO error partway through building OpenSSL on my windows machine.

I get the same error for https://github.com/alexcrichton/openssl-src-rs/tree/master/testcrate too though, so it might just be that machine
I convinced @BlackHoleFox to try it and they got the buiild to succeed a linker error, likely because https://github.com/rusqlite/rusqlite/blob/8770e7d4433de942122d37f073dd80519a8d67c0/libsqlite3-sys/build.rs#L184 is not the right library name on windows
Note that https://github.com/alexcrichton/openssl-src-rs/issues/82 might be a problem? Or maybe openssl-sys fixes it for us. Who knows (hopefully whoever ends up solving this task in the future!)

[ ] Make openssl-sys do more of this work for us, if possible.

We reimplement a lot of logic for locating and linking OpenSSL and such.
I highly suspect we're doing a lot of this the hard way, and should just be pulling openssl-sys conditionally, and then with the same conditional, putting a extern crate openssl_sys inside libsqlite3_sys. As it is, we reimplement what feels like a suspicious amount of its logic.

[ ] Simplify features somehow?

The configuration surface of libsqlite3-sys is kind of a nightmare disaster, since so many features are used for build settings.
Some of this was used to keep my life easy when I worked on https://github.com/mozilla/application-services, but I don't work on that now (although I still have fond feelings for several people who do), and they're moving away from SQLcipher anyway.
That's to say, in the near-ish future, perhaps it wouldn't be so bad if --features="bundled sqlcipher" (currently ignores bundled and emits a warning nobody can see) replaced --features="bundled-sqlcipher". Who knows.

[x] Document license situation when bundling sqlcipher (#965)

Forgot to do this before merging.

Hey!  Has any of this been resolved?

any update on this? enabled bundled-sqlcipher, downloaded openssl with choco, and set $env:OPENSSL_DIR to C:\Program Files\OpenSSL-Win64 (the install location) and for some reason, im getting errors with unresolved externals:
  = note: liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol RAND_bytes referenced in function sqlcipher_openssl_random
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol RAND_add referenced in function sqlcipher_openssl_add_random
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol OBJ_nid2sn referenced in function sqlcipher_openssl_get_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_MD_size referenced in function sqlcipher_openssl_get_hmac_sz
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CIPHER_nid referenced in function sqlcipher_openssl_get_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CIPHER_block_size referenced in function sqlcipher_openssl_get_block_sz
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CIPHER_key_length referenced in function sqlcipher_openssl_get_key_sz
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CIPHER_iv_length referenced in function sqlcipher_openssl_get_iv_sz
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CipherInit_ex referenced in function sqlcipher_openssl_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CipherUpdate referenced in function sqlcipher_openssl_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CipherFinal_ex referenced in function sqlcipher_openssl_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_new referenced in function sqlcipher_openssl_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_free referenced in function sqlcipher_openssl_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_CIPHER_CTX_set_padding referenced in function sqlcipher_openssl_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_sha1 referenced in function sqlcipher_openssl_get_hmac_sz
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_sha256 referenced in function sqlcipher_openssl_get_hmac_sz
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_sha512 referenced in function sqlcipher_openssl_get_hmac_sz
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol EVP_aes_256_cbc referenced in function sqlcipher_openssl_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol PKCS5_PBKDF2_HMAC referenced in function sqlcipher_openssl_kdf
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol HMAC_CTX_new referenced in function sqlcipher_openssl_hmac
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol HMAC_CTX_free referenced in function sqlcipher_openssl_hmac
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol HMAC_Init_ex referenced in function sqlcipher_openssl_hmac
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol HMAC_Update referenced in function sqlcipher_openssl_hmac
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol HMAC_Final referenced in function sqlcipher_openssl_hmac
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol ERR_get_error referenced in function sqlcipher_openssl_cipher
          liblibsqlite3_sys-108d85dd81712993.rlib(sqlite3.o) : error LNK2019: unresolved external symbol ERR_error_string referenced in function sqlcipher_openssl_cipher
          ```

Would love to see encrypted SQLite support in downstream libraries of rusqlite like Prisma!

Does windows support bundled-sqlcipher now?
I saw this PR https://github.com/rusqlite/rusqlite/pull/1271
But I am still getting   = note: LINK : fatal error LNK1181: cannot open input file 'libcrypto.lib' after setting OPENSSL_DIR


Failed to load plugin promise: Cannot find module 'eslint-plugin-promise'

Hi I'm getting this error in Visual Studio Code. However I see this module is available in node_modules locally as well as globally along with eslint. linting is not working in my editor, may be because of this.
Error:
Failed to load plugin promise: Cannot find module 'eslint-plugin-promise'

If you have installed eslint-plugin-promise globally and locally, then I'm not sure what could cause this error. It sounds like a bug in your editor integration.
I think you'll have a better shot at getting help if you open an issue there: https://github.com/chenxsan/vscode-standardjs

Actually, looks like Issues are disabled on that repo (because that's the default for GitHub forks). cc @chenxsan -- any ideas about this issue?

npm i eslint --save-dev
npm install eslint-plugin-promise --save-dev


Add link to home page on the documentation sidebar

After merging #65 and #62, the sidebar looks like

So if you click on the "Adding New Notebooks" link, there isn't an easy way to return to the homepage.

Clicking on the logo does take you back, but I agree that that's not clear - @anissa111 do you know the syntax to set this up?

I think this was resolved, so I will close the issue.


Generic deserialization for all types.

@point-source As you correctly pointed out, the possibility to generically deserialize any object is one important feature of the package, since it is (as far as I know) unique to this package.
Unfortunately with the current prerelease, this gets less straightforward to do:
To take your example, with v1 this was as easy as:
T deserialize<T>(String value) {
  return Mapper.fromJson<T>(value);
}

This worked, because only a single file was generated and Mapper included all models throughout the project. With v2, each library containing annotated models will have its own generated file and separate <ClassName>Mappers.
While the underlying api still exists through <ClassName>Mapper.container, this only works with the types directly related to the mapper, e.g.:
// Suppose we have:

class A {
  final B b;
}

class B {}

class C {}

// Then

T deserialize<T>(String value) {
  // This only works when T is A, B or a core Dart type, but not C
  return AMapper.container.fromJson<T>(value);
}

// Needed to explicitly link all types
final combinedContainer = MapperContainer()..linkAll([AMapper.container, CMapper.container]);

T deserialize2<T>(String value) {
  // This works with T being both A, B or C
  return combinedContainer.fromJson<T>(value);
}

This linking process can get pretty bloated with a large project and lots of models.
I'm yet to decide on a way how to better support this in v2. Therefore I'm happy about feedback or ideas regarding this.

For context, may I ask what the advantage of the new system is over the old one? What drove this change in the first place? Maybe then I can better conceptualize a balanced trade-off.

Yes this was a rather difficult decision. Reasons for switching are:

When starting, this is an easier setup (no build.yaml needed)
Generated code is more closely related to where it is defined (no generation-dump in a single file)
Some people got confused that annotated models which are not imported in the entrypoint have no code generated. This can't happen anymore.
Generally the part structure is way more common and popular for dart packages. This itself is no quality reason, but devs are more familiar with it and don't need to think about a new setup. The fact that dart_mappable worked different before often lead to confusion.
A small factor is also the augmentation and metaprogramming feature on the horizon, which will be a lot easier to upgrade to with the new structure.

This all can be summarized as "making the package simpler, less confusing and more familiar to work with".

If that's the case, any reason the package can't just automatically generate a combined container for convenience?

Any suggestions how that could look like?

I guess I figured that since it knows of all the mappers it is creating during generation, it can create this part automatically:
// Needed to explicitly link all types
final combinedContainer = MapperContainer()..linkAll([AMapper.container, CMapper.container]);

More generally though, here are my thoughts on the points you outlined above:

When starting, this is an easier setup (no build.yaml needed)

True, but this only needs to be learned once for this package and this isn't the only one that requires a build.yaml.

Generated code is more closely related to where it is defined (no generation-dump in a single file)

I can see how this might ease some ocd but I'm not as clear on how it practically affects the design or development speed

Some people got confused that annotated models which are not imported in the entrypoint have no code generated. This can't happen anymore.

I agree, this is confusing and eliminating this is a welcome improvement. I don't know enough about the build system to understand the possible ways to workaround that but perhaps there's a way to provide a warning at the very least? (non-issue for now obviously)

Generally the part structure is way more common and popular for dart packages. This itself is no quality reason, but devs are more familiar with it and don't need to think about a new setup. The fact that dart_mappable worked different before often lead to confusion.

It's true that the part system is somewhat common. However, I hate it. It feels like boilerplate every time though I must admit that my own feature requests (poly copywith) have already increased the boilerplate in this package beyond the original magic you had worked out.
Still, it doesn't help that the IDE can't properly suggest / autocomplete the part line and fails to update it when refactoring file structures / names. The part line is one of the most manual and tedious chores that I encounter when using generators. I loved that this package avoided it and I hope it starts a new trend.
The way I am thinking about this, I would rather learn that a specific package (like dart_mappable) requires me to create a build.yaml file than have to remember and maintain part directives in every file that has a class definition.
Furthermore, the build.yaml as it relates to dart_mappable is identical for all my projects. I know that's not always the case but it likely is. I can easily include it in a template project or automated scaffolding system. The part directive, not as much.
As a compromise, maybe the first time dart_mappable generator is run, it can create a basic default build.yaml if one doesn't exist? I know the build_runner is pretty restricted in what it is allowed to do so maybe this isn't feasible but I figure it's worth the mention and thought.

A small factor is also the augmentation and metaprogramming feature on the horizon, which will be a lot easier to upgrade to with the new structure.

I don't know enough about the upcoming feature to understand which of my opinions/suggestions is compatible vs incompatible with this so I'll take your word for it. I'm very excited about those upcoming features though.
As always, this is merely a dump of my reaction to the latest changes. You of course have final say and I'll continue to use the package regardless. Just providing my perspective as a heavy user of it in case it helps. Thank you for your efforts.

Thanks, I really value this kind of feedback.
Most of what you said regarding the part and build system I too see that way. Which was also the reason I made this package initially the way it is different to other codegen packages.
Part of me hates that I made the decision to change it because it feels so uninnovative and backwards. But I still think its the better way to go and just hope metaprogramming will not take too long. The builder system just really limits what one can do.
But enough meta talk.
Thinking about the part files and needing to explicitly list all mappers to combine into one: Currently in most of my projects where I use this package I end up with something around having one 'models.dart' file which is set as the entrypoint in the build.yaml and which imports all models in my project and exports the generated file. Or better yet in a feature based architecture I have one of those files for each feature. Creating and maintaining this isn't really less work or nicer than doing the part files. I think the charm of this is once you have set this up, you don't need to think about 'generated code', because you just import the file where the model is defined and it works.
Back to the issue at hand, I will try something tomorrow to generate this.

Btw was it clear where to find and how to read the documentation, now that it is separated from the readme? I think this topics feature from dartdoc is pretty new and cool, but not many people know about it.

Btw was it clear where to find and how to read the documentation, now that it is separated from the readme? I think this topics feature from dartdoc is pretty new and cool, but not many people know about it.

Okay thanks for calling that out. I actually didn't fully realize what was happening there. I looked at the docs and thought it was plenty clear but it did throw me off that it seemed more formatted / designed that the usual pub.dev api docs. I didn't quite process immediately that the left side had turned into "topics" instead of an auto-generated list like we normally see.
It was a subtle change in a way but overall feels pretty easy to use so I'm in favor of it personally. I don't like maintaining giant markdown files anyway. Over time, the more uniform package docs get, the easier they will all be to read and process.

Also, on further inspection of the new syntax and boilerplate, I noticed this:
  // optional: links deserialization factories from the generated [PersonMapper] class
  static final fromMap = PersonMapper.fromMap;
  static final fromJson = PersonMapper.fromJson;

The removal of these lines from every class was another big improvement over freezed in my opinion. When I first read the "NO nasty boilerplate code" selling point of the package, my very first thoughts were:

The class-specific mixin that freezed requires
The private constructor that freezed optionally requires (but in practice, commonly requires and I always forget)
The redirected serialization factories

We lost the first point when poly copywith was added but that felt like enough value for a one-of-a-kind feature that stands to allow massive code reduction across the project due to generics.
It currently feels dangerously close to losing the third point. Overall, I'm just wanting to make sure that this package isn't drifting so syntactically close to freezed that it loses it's obvious superiority for a newcomer comparing code examples between the two.
For me personally, the copyWith and generic deserializer are the big wins that keep me here but for many, I suspect it's worth a lot to write less on basic data classes.
If you can get the generic deserializer to be easy enough, it will hopefully reduce the need for those optional factories.

These will definitely stay optional and are just some syntactic sugar I wanted to point out.

Btw check out https://github.com/schultek/dart_mappable/tree/main/examples/json_serializable_compare

Would you be looking for something that just knows all models inside the project or something more fine-grained like everything that is imported (as before) or even everything in a subdirectory?
Everything would be possible and even a flag to define different 'discovery modes', but I'm thinking about what would be the most appropriate way that also fits in with the new system.
It would probably something be like a new file myfile.container.dart that exposes a single myContainer variable. But it has to be a standalone library and not a part file when it should be independent from what the defining myfile.dart imports.

So far, something that knows all models would be great. Even if that includes imported packages. I have yet to encounter a situation where mappable knew a model that it shouldn't have.

Implemented here: https://pub.dev/documentation/dart_mappable/2.0.0-dev.10/topics/Generics-topic.html

Looks great! I'll give it a test asap. Thank you for the quick turnaround!

You can just put it in the main.dart file, doesn't matter if its a dart or flutter project.

Do I still need to have a library directive or do I annotate the main function or something?
Most flutter projects don't have a library directive as far as I know. So just making sure I understand correctly

You need a library directive, but it can be anything you want.

Sounds good. Regarding the build.yaml, since some global params are in there (such as snakeCase), does it make sense to include createCombinedContainer as well? Or are you trying to deprecate build.yaml altogether?

It would be difficult because of build runners limitations. I would like to avoid it when posible.

Hi @schultek, is this resolved via library containers?
E.g is possible to do something like this
libContainer.fromValue<CustomList<CustomGenericClass<MyModel>>>(dynamic_value);

Yes

This is now resolved in the v3 release.


Can't get both incoming and outgoing call graph's

I see I am able to get incoming call graph for few functions but for few functions I couldn't get it. But regarding outgoing call graph, I am not able to get it for any function.
I am using visual studio code in ubuntu 20.

please check #1 #7 #11

@PrakashK94 Can you select "Show call hierarchy" on the function context menu and share the output? The output of this native VSCode API is used to draw the graphs. If the result is also inconsistent it probably means that VSCode doesn't fully support the language that you are using or is unable to correlate the functions for some configuration reason.


Change getty.deserialize parameter order

Have deserializer come before T.

T should come before deserializer since 1) it's more relevant (to deserialize, you absolutely need a type to deserialize to) and 2) it's cleaner aesthetically speaking. If serializeWith follows with the same convention, then serializer and visitor come after the value being serialized, which looks nice and is easy to read.


perf(loop): use is_http_subsystem

Small optimization for #9

_G.ngx.config.subsystem was used to test log level, this PR can not pass these cases.
We may do it later.


Can someone paste the conf.js file with internet explorer as browsername

Hi All,
About to run my protractor scripts on IE, downloaded the IE driver, but not able to set the required config in conf.js,
thanks in advance,
Mahesh

@elgalu - great post on configuring protractor against IE11. I do have a question on step 7. Where do you find the host file on your machine? Can I get a better path to /etc/hosts ?

Linux or OSX: /etc/hosts
Windows: %SystemRoot%\system32\drivers\etc\hosts

Hi @elgalu  I tried the technique you had provided for running a protractor test from a MAC to a Windows VM, specifically to run it on IE 11.
I ended up getting the following:
Jiangs-iMac:ui_automation_test Venkata$ protractor conf.js
Using the selenium server at http://ie11.dev:4444/wd/hub
[launcher] Running 1 instances of WebDriver
/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:145
callback(new Error(message));
^
Error: ETIMEDOUT connect ETIMEDOUT
at ClientRequest. (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:145:16)
at ClientRequest.emit (events.js:107:17)
at Socket.socketErrorListener (_http_client.js:271:9)
at Socket.emit (events.js:107:17)
at net.js:459:14
at process.tickCallback (node.js:355:11)
From: Task: WebDriver.createSession()
at Function.webdriver.WebDriver.acquireSession (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:155:22)
at Function.webdriver.WebDriver.createSession (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:129:30)
at [object Object].Builder.build (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/builder.js:416:22)
at [object Object].DriverProvider.getNewDriver (/usr/local/lib/node_modules/protractor/lib/driverProviders/driverProvider.js:38:7)
at [object Object].Runner.createBrowser (/usr/local/lib/node_modules/protractor/lib/runner.js:180:37)
at /usr/local/lib/node_modules/protractor/lib/runner.js:268:21
at _fulfilled (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:797:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:826:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:759:13)
at /usr/local/lib/node_modules/protractor/node_modules/q/q.js:573:44
[launcher] Process exited with error code 1
It basically halts for about 10 seconds and then gives me the above error, message.
Any help would be awesome.

Venks88 I get a similar error, do you remember how to manage it?
thanks in advance

exports.config = {
defaultTimeoutInterval: 100000
}

Hello ,
I am using Protractor and trying to  run in IE Browsers
code
exports.config = {
capabilities: {
'browserName': 'internet explorer',
'platform': 'ANY',
'version': '11'
},
};
and I am not left with any errors but  IE  browser is not now running  , can any 1 help

@here anyone is having the options/capabilities for IE, Please paste here.
I tried 'ignoreZoomSetting': true, which is not working.

You can try with  'ignoreProtectedModeSettings': true,


Linux: File extensions are not adding when saving filters

When choosing e.g. npz file format, *.npz should be added automatically when the extension is missing - under Windows this works but not under Linux.

fixed in 0.1b9


Issue 5: Add created date/update date etc

Exposed creation_date, created_by, update_date, updated_by through the rest web services. No changes in the UI yet.

Looks good


Add design: Ibex (200T)

This design appears to have been added but is not running on CI for some reason? (The CI is downloading the 200T package.)

@acomodi -- What is the status here?

From https://colab.sandbox.google.com/drive/1Ny5OZ06R1KVjDykrAQbR0vTsTyiTT1Q7?usp=sharing#scrollTo=5so_LYXKqvjT it looks like a200t / nexys-video has landed as it appears to be running on Murax and Ibex is running on a35t?

This design has been added.

This design has been added.


WIP: Adding anchors to documentation

This is a WIP PR for adding anchors to the Gitea documentation via a combination of Hugo shortcodes and the Hugo anchorize function on section headers.

The above image shows the new anchors, however it also highlights a question I had.
Do we want double anchors like above, where the h1 header is immediately followed by an h2 header and thus we get two anchors with no "real" content between them, or should just sections followed by "real" content be anchored?
Since this PR touches a lot of files, here's the relevant code snippet.
Shortcode for h1:
{{ $anchorized := anchorize .Inner }}

	#
	{{ .Inner }}

Which is then used like this:
{{% h1 %}}Frequently Asked Questions{{% /h1 %}}

And "Frequently Asked Questions" is passed to the shortcode as the .Inner variable.
Resolves #7083

As I already noted in #7083, https://gohugo.io has anchors but they use raw Markdown headers.
Here's the page: https://gohugo.io/templates/introduction/#basic-syntax
Here's its source: https://raw.githubusercontent.com/gohugoio/hugo/master/docs/content/en/templates/introduction.md
### Basic Syntax is just an ordinary level-3 header understood by any Markdown parser, including GitHub preview of Markdown files. What you're doing here is highly Hugo-specific and those {{% /h1 %}} look just awful to me :(
The question is: how https://gohugo.io and other random Hugo-generated sites I looked at (http://forestry.io, for example) achieve this. All their source is available on GitHub, so it definitely should be there.

I'll take a look later, but I believe they do some magic. I agree the shortcodes look bad comparatively, though.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@59e6a7b). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #7143   +/-   ##
=========================================
  Coverage          ?   41.58%
=========================================
  Files             ?      446
  Lines             ?    60848
  Branches          ?        0
=========================================
  Hits              ?    25305
  Misses            ?    32261
  Partials          ?     3282

Continue to review full report at Codecov.

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

Magic isn't the right word for it, however it's important to note that this functionality is not supported by Hugo out of the box.
They are using JS to achieve this
I think that will look much nicer than the shortcodes, so I will close this PR and look into adding something similar.


Various improvements to dice-bag

This PR contains various improvements to Dice-Bag. Listed Below:

Added support for processing failure number
Added support for "keep lowest"
Added support for indefinite explode and single reroll support
Track reroll count

Sorry this took so longer. I've had some updates I've been meaning to make, but real life got in the way.


Add changelog for the v1.0.0 release

What this PR does / why we need it:
Add changelog for the v1.0.0 release.
Does this PR introduce a user-facing change?:
NONE

/assign @kron4eg
/hold

/retest

/cherry-pick release/v1.0

@kron4eg PTAL again

/hold cancel


Is file only from latest release served?

Download file from the latest release in the given repo

Does it means that downside is that url always points to a latest release files? And no way to download file from previous release?

Yes. Currently, only the latest release is support. It should be fairly simple to add an optional release tag name in the download routes. I can work on that when I get time. Pull requests also welcome. Thanks.

Sorry, I didn't mean to close this.


Edits to TFF header menu

[ ] change header menu to:

Who We Are (links to threefold.me/team)

Our Philosophy (links to threefold.me/why)

What Is ThreeFold? (links to threefold.me/what-is-threefold)

Ecosystem (links to threefold.me/ecosystem)

Info (see https://github.com/threefoldfoundation/www_tfgrid/issues/49)

Need to switch the order of Our Philosophy and Who We Are and then add the Info dropdown menu

Move the header menu up about 10px to remove space between logo and menu

Move the ThreeFold Foundation logo up to be in line with the hamburger menu (about 10-12px)

Please change "INFO" on header menu to "Info" (only 1st letter capital) and then this can be marked as complete and closed

Per new changes from KDS, please remove INFO and the submenu from the header — then this can be closed again

done


[Reviewed] [Gamepad] Add behaviors for platformer characters and top-down movement

Examples

https://github.com/GDevelopApp/GDevelop-examples/pull/415
https://github.com/GDevelopApp/GDevelop-examples/pull/414

The list of inputs is limited, we can't put the triggers LT BR RT RB. You should put all the keys.

I was in the Platformer behavior, and I saw this What is the propertie here?
I use the webapp, maybe it's not a version that is not update to date for testing?

I recommend to use groups, because what mean Use left stick I don't know what it refer, the group name helps:

I started from the wrong version 😭

I tested the last commit on both example.


*: refine member/tso/adapter logs

What problem does this PR solve?
Part of #2704.
What is changed and how it works?
This PR refines logs in member/tso/adapter packages
Check List

Tests

Unit test

Related changes

Need to cherry-pick to the release branch

Release note

/run-all-tests

/merge

/run-cherry-picker


Fallback to ipv4, if ipv6 connection fails

There is an issue when we have a resolver, that resolves both ipv6 and ipv4, but a Redis server only listens on ipv4.
You would have this issue inside docker containers and on Circle CI.
Fixes gen_tcp:connect({0,0,0,0,0,0,0,1}, 6379, []) -> {error,eaddrnotavail} error for some environments.

Alternatively, gen_tcp:connect(Addr, Port, []) would work too, if we pass DNS address as an argument. We don't need to have resolving logic on the erlang side.

would create PR to wooga instead...


Create a guide to Familiarize yourself with ancillary technologies with reference materials

Overview
Many beginner open-source contributors are interested in contributing to the Keptn organization. However, a minimal roadmap to learn ancillary technologies is crucial for beginners.
This document can work as the entry point for beginner Keptn contributors.
We can list the ancillary technologies with some reference material so that anyone can start learning the keptn tech stack right away :100:
Intended outcome
Multiple documents containing the list to reference learning materials.
Features
A list of technologies that need to be covered (should be extended)

[ ] Kubernetes
[ ] Git Practices
[ ] Golang
[ ] Helm

Good idea, I see this living at the beginning of any "wanting to contribute?" document.
I don't think we even necessarily need to create content - most of this will already exist several times over across the internet. The page can just link out to "recommended content".
The effort involved for the maintainer of this content would be to ensure that the links remain current, best-of-breed and always follow current best practices.
I assume you are comfortable with volunteering to maintain this section @sudiptob2
Perhaps start by collating a set of materials for each section you've listed and raise a PR to add them to CONTRIBUTING.MD
Also tagging @StackScribe in case there's a better way here or this should actually form a "proper" page on the website.

@agardnerIT
Yes definitely, I was collating some materials for myself as I am a complete beginner in keptn. When I saw there are other beginners like me and wanted to start contributing to Keptn I shared them in the slack chat (also in this comment). While in conversation with @StackScribe the idea just popped out.
:heavy_check_mark:  I completely agree that instead of creating new content for supporting technologies, we can simply collate and maintain relevant references.
:heavy_check_mark:  I am eager to volunteer for this task and would appreciate the collaboration with senior maintainers, as I am still learning myself.

Fixed in #795


Describe Property|CFC#update(Transformer) in release notes

Issue: https://github.com/gradle/gradle/issues/27227

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


v2.3.2 pulsar-admin CLI return HTTP 502 Bad Gateway

v2.3.2 pulsar-admin persistent peek-messages options or pulsar-admin topics peek-messages options
return 502 Bad Gateway
why?

@yingziyu007 Are you using Pulsar proxy? If so, can you check the log of Pulsar proxy to see if there are any error messages?

@yingziyu007 Are you using Pulsar proxy? If so, can you check the log of Pulsar proxy to see if there are any error messages?
There is no error messages. And deploying pulsar-admin by "apache-pulsar-2.3.2\deployment\kubernetes\generic\admin.yaml".

09:33:10.147 [pulsar-discovery-io-2-1] INFO  org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:56840] New connection opened 09:33:10.148 [pulsar-discovery-io-2-1] INFO  org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:56840] complete connection, init proxy handler. authenticated with none role null, hasProxyToBrokerUrl: false 09:33:10.149 [pulsar-discovery-io-2-1] WARN  org.apache.pulsar.client.impl.ConnectionPool - Failed to open connection to <IP_ADDRESS>:6650 : io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /<IP_ADDRESS>:6650 09:33:10.150 [pulsar-discovery-io-2-1] INFO  org.apache.pulsar.client.impl.PulsarClientImpl - Client closing. URL: pulsar://proxy-ff85bffd-f2cxw:6650/ 09:33:10.150 [pulsar-discovery-io-2-1] INFO  org.apache.pulsar.proxy.server.ProxyConnectionPool - Closing ProxyConnectionPool. 09:33:10.150 [pulsar-discovery-io-2-1] INFO  org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:56840] Connection closed 09:33:20.733 [pulsar-discovery-io-2-1] INFO  org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:57036] New connection opened 09:33:20.734 [pulsar-discovery-io-2-1] INFO  org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:57036] complete connection, init proxy handler. authenticated with none role null, hasProxyToBrokerUrl: false 09:33:20.735 [pulsar-discovery-io-2-1] INFO  org.apache.pulsar.client.impl.ConnectionPool - [[id: 0x520d4a52, L:/<IP_ADDRESS>:36928 - R:<IP_ADDRESS>/<IP_ADDRESS>:6650]] Connected to server 09:38:48.132 [JettyHttpClient@7a904f32-scheduler] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [28/Jun/2020:09:38:33 +0000] "GET /admin/v2/persistent/public/default HTTP/1.1" 502 0 "-" "Pulsar-Java-v2.4.0" 15003 10:08:12.074 [main-SendThread(zookeeper:2181)] INFO  org.apache.zookeeper.ClientCnxn - Unable to read additional data from server sessionid 0x103dafadeb30009, likely server has closed socket, closing socket connection and attempting reconnect 10:08:12.175 [main-EventThread] WARN  org.apache.pulsar.zookeeper.ZookeeperClientFactoryImpl - Unexpected ZK event received: WatchedEvent state:Disconnected type:None path:null 10:08:13.569 [main-SendThread(zookeeper:2181)] INFO  org.apache.zookeeper.ClientCnxn - Opening socket connection to server zookeeper/<IP_ADDRESS>:2181. Will not attempt to authenticate using SASL (unknown error) 10:08:13.570 [main-SendThread(zookeeper:2181)] INFO  org.apache.zookeeper.ClientCnxn - Socket connection established to zookeeper/<IP_ADDRESS>:2181, initiating session 10:08:13.571 [main-SendThread(zookeeper:2181)] INFO  org.apache.zookeeper.ClientCnxn - Session establishment complete on server zookeeper/<IP_ADDRESS>:2181, sessionid = 0x103dafadeb30009, negotiated timeout = 30000 00:21:39.984 [pulsar-external-web-4-7] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [29/Jun/2020:00:21:39 +0000] "GET /admin/v2/persistent/public/default/createUser/subscription/ssdc-datasycn/position/1 HTTP/1.1" 502 0 "-" "Pulsar-Java-v2.4.0" 4 00:21:57.603 [pulsar-external-web-4-7] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [29/Jun/2020:00:21:57 +0000] "GET /admin/v2/persistent/public/default/createUser/internalStats HTTP/1.1" 200 16978 "-" "Pulsar-Java-v2.4.0" 24 00:22:53.889 [JettyHttpClient@7a904f32-scheduler] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [29/Jun/2020:00:22:38 +0000] "GET /admin/v2/persistent/public/default/createUser/subscription/ssdc-datasycn/position/1 HTTP/1.1" 502 0 "-" "Pulsar-Java-v2.4.0" 15004 00:28:30.695 [pulsar-external-web-4-1] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [29/Jun/2020:00:28:30 +0000] "GET /admin/v2/persistent/public/default/createUser/subscription/ssdc-datasycn/position/1 HTTP/1.1" 502 0 "-" "Pulsar-Java-v2.4.0" 5 01:12:38.818 [pulsar-external-web-4-1] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [29/Jun/2020:01:12:38 +0000] "GET /admin/v2/persistent/public/default/createUser/internalStats HTTP/1.1" 200 16978 "-" "Pulsar-Java-v2.4.0" 201

There is no error messages. And deploying pulsar-admin by "apache-pulsar-2.3.2\deployment\kubernetes\generic\admin.yaml".
09:33:10.147 [pulsar-discovery-io-2-1] INFO   org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:56840]  New connection opened 09:33:10.148 [pulsar-discovery-io-2-1] INFO   org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:56840]  complete connection, init proxy handler. authenticated with none role  null, hasProxyToBrokerUrl: false 09:33:10.149 [pulsar-discovery-io-2-1]  WARN  org.apache.pulsar.client.impl.ConnectionPool - Failed to open  connection to <IP_ADDRESS>:6650 :  io.netty.channel.AbstractChannel$AnnotatedConnectException:  syscall:getsockopt(..) failed: Connection refused: /<IP_ADDRESS>:6650  09:33:10.150 [pulsar-discovery-io-2-1] INFO   org.apache.pulsar.client.impl.PulsarClientImpl - Client closing. URL:  pulsar://proxy-ff85bffd-f2cxw:6650/ 09:33:10.150  [pulsar-discovery-io-2-1] INFO   org.apache.pulsar.proxy.server.ProxyConnectionPool - Closing  ProxyConnectionPool. 09:33:10.150 [pulsar-discovery-io-2-1] INFO   org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:56840]  Connection closed 09:33:20.733 [pulsar-discovery-io-2-1] INFO   org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:57036]  New connection opened 09:33:20.734 [pulsar-discovery-io-2-1] INFO   org.apache.pulsar.proxy.server.ProxyConnection - [/<IP_ADDRESS>:57036]  complete connection, init proxy handler. authenticated with none role  null, hasProxyToBrokerUrl: false 09:33:20.735 [pulsar-discovery-io-2-1]  INFO  org.apache.pulsar.client.impl.ConnectionPool - [[id: 0x520d4a52,  L:/<IP_ADDRESS>:36928 - R:<IP_ADDRESS>/<IP_ADDRESS>:6650]] Connected to  server 09:38:48.132 [JettyHttpClient@7a904f32-scheduler] INFO   org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - -  [28/Jun/2020:09:38:33 +0000] "GET /admin/v2/persistent/public/default  HTTP/1.1" 502 0 "-" "Pulsar-Java-v2.4.0" 15003 10:08:12.074  [main-SendThread(zookeeper:2181)] INFO  org.apache.zookeeper.ClientCnxn -  Unable to read additional data from server sessionid 0x103dafadeb30009,  likely server has closed socket, closing socket connection and  attempting reconnect 10:08:12.175 [main-EventThread] WARN   org.apache.pulsar.zookeeper.ZookeeperClientFactoryImpl - Unexpected ZK  event received: WatchedEvent state:Disconnected type:None path:null  10:08:13.569 [main-SendThread(zookeeper:2181)] INFO   org.apache.zookeeper.ClientCnxn - Opening socket connection to server  zookeeper/<IP_ADDRESS>:2181. Will not attempt to authenticate using SASL  (unknown error) 10:08:13.570 [main-SendThread(zookeeper:2181)] INFO   org.apache.zookeeper.ClientCnxn - Socket connection established to  zookeeper/<IP_ADDRESS>:2181, initiating session 10:08:13.571  [main-SendThread(zookeeper:2181)] INFO  org.apache.zookeeper.ClientCnxn -  Session establishment complete on server zookeeper/<IP_ADDRESS>:2181,  sessionid = 0x103dafadeb30009, negotiated timeout = 30000 00:21:39.984  [pulsar-external-web-4-7] INFO  org.eclipse.jetty.server.RequestLog -  <IP_ADDRESS> - - [29/Jun/2020:00:21:39 +0000] "GET  /admin/v2/persistent/public/default/createUser/subscription/ssdc-datasycn/position/1  HTTP/1.1" 502 0 "-" "Pulsar-Java-v2.4.0" 4 00:21:57.603  [pulsar-external-web-4-7] INFO  org.eclipse.jetty.server.RequestLog -  <IP_ADDRESS> - - [29/Jun/2020:00:21:57 +0000] "GET  /admin/v2/persistent/public/default/createUser/internalStats HTTP/1.1"  200 16978 "-" "Pulsar-Java-v2.4.0" 24 00:22:53.889  [JettyHttpClient@7a904f32-scheduler] INFO   org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - -  [29/Jun/2020:00:22:38 +0000] "GET  /admin/v2/persistent/public/default/createUser/subscription/ssdc-datasycn/position/1  HTTP/1.1" 502 0 "-" "Pulsar-Java-v2.4.0" 15004 00:28:30.695  [pulsar-external-web-4-1] INFO  org.eclipse.jetty.server.RequestLog -  <IP_ADDRESS> - - [29/Jun/2020:00:28:30 +0000] "GET  /admin/v2/persistent/public/default/createUser/subscription/ssdc-datasycn/position/1  HTTP/1.1" 502 0 "-" "Pulsar-Java-v2.4.0" 5 01:12:38.818  [pulsar-external-web-4-1] INFO  org.eclipse.jetty.server.RequestLog -  <IP_ADDRESS> - - [29/Jun/2020:01:12:38 +0000] "GET  /admin/v2/persistent/public/default/createUser/internalStats HTTP/1.1"  200 16978 "-" "Pulsar-Java-v2.4.0" 201
------------------ 原始邮件 ------------------
发件人: "Sijie<EMAIL_ADDRESS>发送时间: 2020年6月29日(星期一) 上午10:17
收件人<EMAIL_ADDRESS>抄送: "汤宗任"<tangzr2019<EMAIL_ADDRESS>主题: Re: [apache/pulsar] v2.3.2 pulsar-admin CLI return HTTP 502 Bad Gateway (#7382)
@yingziyu007 Are you using Pulsar proxy? If so, can you check the log of Pulsar proxy to see if there are any error messages?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@yingziyu007 have you tried a newer version of pulsar like 2.5.2 or 2.6.0?

Duplicate to https://github.com/apache/pulsar/issues/7423.
Closed as stale. Feel free to open a new issue if it's still relevant for maintained versions.


[#420] - Fix wrong query generation for cases when a subquery is the reason for joins on outer levels

Description

The issue is quite simple, when a subquery contains an expression like shown in the test OUTER(contacts.id), which involves a relation, the paginated query is wrong. The problem is that the join node contacts does not have the clause dependency on the parent queries clause. I fixed this by doing the implicit join with the parent JoinVisitor.
Related Issue

#420
Motivation and Context

Merged d4d52b83f0e2a3b839b427be35456456b87ee471


Uploading mat4 as vertex attribute

I was following the instancing example for veldrid, and I was wondering if it would be faster to calculate the transform in CPU instead of GPU, but when I tried to implement it I realized VertexElementFormat doesn't support Matrix4, and uniforms aren't viable in this case.
Is there a reason for this not being supported? Am I always supposed to do the transform in GPU, no matter how many vertices my mesh may have?

Vertex elements can't be Matrix4x4's because it's not uniformly supported by the various graphics API's in the background, although it could perhaps be emulated to some degree if it was valuable enough. However, you still have a couple of options if you actually want to try something like this:

Pass the matrix separately as 4 Vector4 attributes (1 for each row of the matrix) and then put them back together in the shader.
Rather than use a uniform buffer, you could use a Structured Buffer, which can store a large number of matrices. You would index into this buffer using the instance ID.

Alright, I'll give this a try, thx!


Add links to netkans

It's handy to be able to jump to the main netkan entry for a package, so this change makes the package names into links.
(It would be even nicer to have a link to the package's page on SpaceDock or GitHub depending on the download host site, but that would require quite a lot more parsing than is currently done.)

This is great!


add the ability for the wizard to work on raspbian

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 64.273%

Files with Coverage Reduction
New Missed Lines
%

pkg/acquisition/modules/cloudwatch/cloudwatch.go
4
83.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
4886

Relevant Lines:
7602

💛  - Coveralls


404 Error at /authors/

Hello,
First off great theme! Thanks for all the hard work.
I am just having trouble getting my theme to show the authors page you have in the demo theme. Currently I have one author and I have added that author to a post.
If I add a a menu link to /authors/ it gives me a 404.
Thanks!

Just need the documentation :)

How did you solve this @BraydenGirard ?

@xiaobaz please check this out: https://github.com/eddiesigner/liebling/wiki/How-to-enable-the-Authors-page


Question about ordered remove

I wanted to remove an element without perturbing the order of the remaining elements, and used something like the code below. Is there a better way than this? (In my case it is not really that important, this works just fine for me.)
type Map = IndexMap<K, V>;
fn remove_ordered(m: &mut Map, key: &K) -> Option<V> {
    let (index, _key, val) = m.swap_remove_full(key)?;
    if index < m.len() {
        let tail = m.len() - index - 1;
        let mut stack = Vec::with_capacity(tail);
        for _ in 0..tail {
            stack.push(m.pop().expect("disappearing elements"));
        }
        let (last_key, last_val) = m.pop().expect("disappearing elements");
        m.extend(stack.into_iter().rev());
        m.insert(last_key, last_val);
    }
    Some(val)
}

Having an order-preserving remove is all that's stopping me from using this crate right now, would be perfect if that gets added!

@cuviper Hi,
Do order-preserving remove feature already added or not yet please ?
If not, is there any faster alternative function to preserve the orders ?


Training using strong-labeled data

Hi, thank you for sharing this!
Have you tried training the network with "strong"-labeled annotation data, i.e. feeding onset and offset information alongside the label into the network? Does the architecture allow this and if so, what changes would be necessary to do this?
Any help is greatly appreciated

Thanks for the interest, leanderme. The architecture as it is cannot learn with strongly labelled data. An intermediate stage of the network computes block-level predictions, but these predictions are then aggregated to give a single prediction.
To train with strong labelled data, you could remove the final aggregation stage. The ground truth labels of the blocks would be based on the onset and offset times, e.g. if (A, 0s, 1s) is a sound event and a block is 100 ms in length, the first 10 blocks should be labelled with class 'A'. To get onset and offset times during inference, you would then do the conversion in the opposite direction. The code for the latter is already available (see inference.py).
In this architecture, the final feature map has shape 30x8x64, so a block, corresponding to a 1x8x64 slice, is ~333 ms in duration. You may want to increase the granularity by not pooling the time dimension or introducing an upsampling stage.