Can't use cursor inside Deskpad display

Symptom: when I click or type inside the deskpad window, the click is registered in the real display, not inside the app open in deskpad.
I've managed to move windows into Deskpad monitor using Rectangles features to move windows to other screen. But when the window/app is inside Deskpad I can't reach it using mouse or keyboard.
I'm not sure if this is related to MacOs or Deskpad.

Make sure to check out where your DeskPad display is arranged via the systems Settings app. Moving the mouse over in that direction moved it onto the virtual DeskPad display, just like it would with a real monitor 🙂

This request is addressed in https://github.com/Stengo/DeskPad/pull/16.
While the pull request is accepted, you can test the features in https://github.com/EarlOrlando/DeskPad/tree/earl/new_features.

Resolved via https://github.com/Stengo/DeskPad/pull/16 🎉


PULSAR_MEM variable doesn't set limits for bookie

Describe the bug
I found that changing PULSAR_MEM variable for bookkeeper which can be found in values.yaml file doesn't change memory params of bookie at least for pulsar v2.9.4
Some investigation shows that in version 2.6.x bin/pulsar script had this line
OPTS="$OPTS $PULSAR_EXTRA_OPTS $PULSAR_MEM $PULSAR_GC"

from version 2.7.x till 2.9.x it has this:
if [ $COMMAND == "bookie" ]; then
  # Pass BOOKIE_EXTRA_OPTS option defined in bkenv.sh
  OPTS="$OPTS $BOOKIE_EXTRA_OPTS"
else
  OPTS="$OPTS $PULSAR_EXTRA_OPTS $PULSAR_MEM $PULSAR_GC"
fi

and versions 2.10.x - 2.11.x has this:
if [ $COMMAND == "bookie" ]; then
  # Pass BOOKIE_EXTRA_OPTS option defined in bkenv.sh
  OPTS="$OPTS $BOOKIE_MEM $BOOKIE_GC $BOOKIE_GC_LOG $BOOKIE_EXTRA_OPTS"
else
  OPTS="$OPTS $PULSAR_MEM $PULSAR_GC $PULSAR_GC_LOG $PULSAR_EXTRA_OPTS"
fi

I think it could be changed to BOOKIE_MEM with some comment about earlier versions

PULSAR_MEM has been supported for a very long time as a fallback. There's no need to do anything. Old version of Pulsar aren't supported anyways. There are severe known security issues and that's a clear reason to upgrade to supported versions. Supported versions: https://pulsar.apache.org/contribute/release-policy/#supported-versions

@lhotari https://github.com/apache/pulsar-helm-chart/blob/4daf6d88a2417668fadfb6638145b13bbe08122c/charts/pulsar/values.yaml#L587 - if it's not supported then why it's still there?


Countless git sign-in prompts during sleep

Issue Type: Bug

Checkout a private git repo into a folder on your machine.
Change the password or clear your credentials so that the next git operation you want to perform will ask you to sign-in.
Open the folder in vscode.
Vscode will automatically attempt to do "git fetch" and ask for your credentials using "Git Credential Manager for Windows". Ignore the prompt.
Put your computer to sleep.

Expected Vscode stops asking for git credentials until you explicitely perform a git related operation.
Actual You have a hundred more popup windows opened, all asking for the credentials to the remote. See screenshots below.

VS Code version: Code 1.55.0 (c185983a683d14c396952dd432459097bc7f757f, 2021-03-30T16:01:55.261Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.92GB (3.88GB free)

Process Argv
--crash-reporter-id d7fcc2be-3d86-4881-998d-ee0fdb096f17

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

xml
Dot
2.5.1

vscode-drawio
hed
1.4.0

csharp
ms-
1.23.11

remote-wsl
ms-
0.54.6

partial-diff
ryu
1.4.2

A/B Experiments
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt875:30259475
vspre833cf:30267465
vshan820cf:30276953
vscus158cf:30286554

Sounds like an issue with git.autoFetch

I wouldn't know as I haven't been using VSCode for development recently.

@bekir-ozturk, thanks for getting back to me on this. I will go ahead and close this issue for now, but in case you are still able to reproduce the problem please feel free to reopen it.


/movies doesn't load.

/movies doesn't load.  No SQL error when I run Update-Database I get       No migrations were applied. The database is already up to date. No migrations were applied. The database is already up to date. Done.  but  http://localhost:port/movies doesn't load.  the root page loads and works fine

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

ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
Content: Add a model to a Razor Pages app in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/model.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

I've redone the steps. Shut down VS and restarted it.  Checked all my files and migrations.  not sure how to continue

@rtrunkhill  try downloading the completed app and running it. That should help you find the mistake you made.

A.Make sure the dbset is define and initial properly
B.if you only have one or two migrations try to delete him (include the snapshot) then create and update again.

Thank, Still no idea what went wrong.  I just deleted the project and
started all over.  works fine now
On Tue, Jun 26, 2018 at 12:34 PM shlomitubul<EMAIL_ADDRESS>wrote:

A.Make sure the dbset is define and initial properly
B.if you only have one or two migrations try to delete him (include the
snapshot) then create and update again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/Docs/issues/7305#issuecomment-400435933, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbYZ8i25RqPnwBsYdUh04yL-nrNu7ci7ks5uAozfgaJpZM4U4ZQW
.

This should not be marked as "closed".
I'm having the same problem, and the solution is not here.

There are lots of ways to make mistakes and have that problem. We have lots of customers confirming that the code works.

i have found the solution while scaffolding the project, the scaffolding was unable to find the Movies folder. Change it to below. Use backslash instead of forward slash. Before excuting the below command, you may want to create a Movies folder first inside your Pages folder. I am using VS code.
dotnet aspnet-codegenerator razorpage -m Movie -dc RazorPagesMovieContext -udl -outDir Pages/Movies --referenceScriptLibraries

i have found the solution while scaffolding the project, the scaffolding was unable to find the Movies folder. Change it to below. Use backslash instead of forward slash. Before excuting the below command, you may want to create a Movies folder first inside your Pages folder. I am using VS code.
dotnet aspnet-codegenerator razorpage -m Movie -dc RazorPagesMovieContext -udl -outDir Pages/Movies --referenceScriptLibraries

It worked for me


Spellchecker in the editor

Not sure if it's a feature of AvalonEditor? Hope so, given that it's available in WPF TextBox natively. Hope it's just a switch we need to flick...

Ping @andrewtobin, but I think it ISNT. We'll need a hidden textbox, the forward spelling mistakes, maybe.
Sent from my Windows Phone

From: IanRandall
Sent: 11/01/2012 10:19 AM
To: Paul Jenkins
Subject: [DownmarkerWPF] Spellchecker in the editor (#51)
Not sure if it's a feature of AvalonEditor? Hope so, given that it's available in WPF TextBox natively. Hope it's just a switch we need to flick...

Reply to this email directly or view it on GitHub:
https://github.com/Code52/DownmarkerWPF/issues/51

http://community.sharpdevelop.net/forums/p/14310/38086.aspx
Arse

The editor is derived from Control, not TextBox, so thatd be why. We might be able to hook into Fx spell checking...would have to decompile text box ;)
Sent from my Windows Phone

From: IanRandall
Sent: 11/01/2012 10:38 AM
To: Paul Jenkins
Subject: Re: [DownmarkerWPF] Spellchecker in the editor (#51)
http://community.sharpdevelop.net/forums/p/14310/38086.aspx
Arse

Reply to this email directly or view it on GitHub:
https://github.com/Code52/DownmarkerWPF/issues/51#issuecomment-3439392

+1

Fixed in pull request #89


Update apiDocSnippets.json

fixed snippets for next rows (should be with comment symbol)

@myaxt merge it please ...
without these changes I have add symbol "*" every time, when multi-line were added


build: add OpenShift docker image

Codecov Report

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

@@           Coverage Diff           @@
##           master     #513   +/-   ##
=======================================
  Coverage   53.46%   53.46%
=======================================
  Files          97       97
  Lines        3675     3675
=======================================
  Hits         1965     1965
  Misses       1362     1362
  Partials      348      348

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 fa24754...2ce51b4. Read the comment docs.

There's no Go 1.14 UBI image yet, so we'll need to wait until that's released.
https://catalog.redhat.com/software/containers/ubi8/go-toolset/5ce8713aac3db925c03774d1?container-tabs=gti


Add log yarn, remove some line, what is covered by other line

ah yeah i think I started with certain build files and then went to all. thx

I think that you don't need some file in .gitignore, please clean them (you use some file in react-native,...etc, but you removed that feature)
Thanks.


Samsung Glaxy Tablet Crash: divide by zero excetpion in native-lib.cpp

Describe the bug
On Samsung Glaxy Tablet, it just crashed as didide by zero. but on huawei p40 phone is ok.
Expected behavior
No Crash
Smartphone (please complete the following information):

Device: Samsung Galaxy Tablet
OS: 10.0
Version Amplituda-2.1.1

Additional context
log shows preferred_frames_per_second is zero(line 397), so I add extra condition in if case(line 387):

and log shows processAudio with param Compress.NONE:

Any news?


Add app insights key to docs build pipeline

The app insights instrumentation key was not added to the CI pipeline when we moved the website publishing to ADO from GitHub actions back in May. The variable has already been added to the CI/CD config, so this change just outputs the value for debugging purposes.

Thanks @sonalivdeshpande !


feat(api-gateway): adding route53 to pocket api gateway construct.

Goal

setup route 53 for api gateway

Ticket: https://getpocket.atlassian.net/browse/INFRA-192

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Docker-compose build failes

Hi there,
i just tried to update the container by pulling updates from the repository and docker-compose build it new.
i do get some ssl_version errors. any idea what this can be?
rouserot@raspiHome:/home/user/EbayKleinanzeigenCrawler# docker-compose build
Traceback (most recent call last):
  File "/usr/local/bin/docker-compose", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/dist-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/usr/local/lib/python3.9/dist-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
  File "/usr/local/lib/python3.9/dist-packages/compose/cli/command.py", line 60, in project_from_options
    return get_project(
  File "/usr/local/lib/python3.9/dist-packages/compose/cli/command.py", line 152, in get_project
    client = get_client(
  File "/usr/local/lib/python3.9/dist-packages/compose/cli/docker_client.py", line 41, in get_client
    client = docker_client(
  File "/usr/local/lib/python3.9/dist-packages/compose/cli/docker_client.py", line 124, in docker_client
    kwargs = kwargs_from_env(environment=environment, ssl_version=tls_version)
TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
root@raspiHome:/home/user/EbayKleinanzeigenCrawler# TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
^C
root@raspiHome:/home/user/EbayKleinanzeigenCrawler# TypeError: kwargs_from_env() got an unexpected keyword argument 'ssl_version'
^C
root@raspiHome:/home/user/EbayKleinanzeigenCrawler# pip install docker-compose
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: docker-compose in /usr/local/lib/python3.9/dist-packages (1.29.2)
Requirement already satisfied: requests<3,>=2.20.0 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (2.31.0)
Requirement already satisfied: texttable<2,>=0.9.0 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (1.7.0)
Requirement already satisfied: PyYAML<6,>=3.10 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (5.4.1)
Requirement already satisfied: docker[ssh]>=5 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (7.1.0)
Requirement already satisfied: python-dotenv<1,>=0.13.0 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (0.21.1)
Requirement already satisfied: jsonschema<4,>=2.5.1 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (3.2.0)
Requirement already satisfied: distro<2,>=1.5.0 in /usr/lib/python3/dist-packages (from docker-compose) (1.5.0)
Requirement already satisfied: dockerpty<1,>=0.4.1 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (0.4.1)
Requirement already satisfied: websocket-client<1,>=0.32.0 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (0.59.0)
Requirement already satisfied: docopt<1,>=0.6.1 in /usr/local/lib/python3.9/dist-packages (from docker-compose) (0.6.2)
Requirement already satisfied: urllib3>=1.26.0 in /usr/local/lib/python3.9/dist-packages (from docker[ssh]>=5->docker-compose) (1.26.16)
Requirement already satisfied: paramiko>=2.4.3 in /usr/local/lib/python3.9/dist-packages (from docker[ssh]>=5->docker-compose) (3.5.0)
Requirement already satisfied: six>=1.3.0 in /usr/lib/python3/dist-packages (from dockerpty<1,>=0.4.1->docker-compose) (1.16.0)
Requirement already satisfied: attrs>=17.4.0 in /usr/local/lib/python3.9/dist-packages (from jsonschema<4,>=2.5.1->docker-compose) (24.2.0)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from jsonschema<4,>=2.5.1->docker-compose) (52.0.0)
Requirement already satisfied: pyrsistent>=0.14.0 in /usr/local/lib/python3.9/dist-packages (from jsonschema<4,>=2.5.1->docker-compose) (0.20.0)
Requirement already satisfied: cryptography>=3.3 in /usr/local/lib/python3.9/dist-packages (from paramiko>=2.4.3->docker[ssh]>=5->docker-compose) (41.0.7)
Requirement already satisfied: pynacl>=1.5 in /usr/local/lib/python3.9/dist-packages (from paramiko>=2.4.3->docker[ssh]>=5->docker-compose) (1.5.0)
Requirement already satisfied: bcrypt>=3.2 in /usr/local/lib/python3.9/dist-packages (from paramiko>=2.4.3->docker[ssh]>=5->docker-compose) (4.2.0)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.9/dist-packages (from cryptography>=3.3->paramiko>=2.4.3->docker[ssh]>=5->docker-compose) (1.16.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.9/dist-packages (from cffi>=1.12->cryptography>=3.3->paramiko>=2.4.3->docker[ssh]>=5->docker-compose) (2.21)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.9/dist-packages (from requests<3,>=2.20.0->docker-compose) (3.3.2)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests<3,>=2.20.0->docker-compose) (2022.12.7)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests<3,>=2.20.0->docker-compose) (2.10)

root@raspiHome:/home/user/EbayKleinanzeigenCrawler# docker-compose --version
docker-compose version 1.29.2, build unknown

root@raspiHome:/home/user/EbayKleinanzeigenCrawler# python --version
Python 3.9.2
root@raspiHome:/home/user/EbayKleinanzeigenCrawler# git pull
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.

These errors are related to Docker, not the Crawler. No idea there. I'd recommend the official installation method instead of pip.
Configure your git with 'git config pull.rebase false' and the other warning will disappear.


Document guidance for deciding at which layer a piece of logic should go

As discussed with @DominicOram , it would be nice to have a flowchart-style set of rules to decide whether a piece of logic should go into EPICS, ophyd-async, or Bluesky
Something like this:

If the logic only affects one device, is simple, won't change often, and/or is useful for scientists to be able to run outside of bluesky, it should go in EPICS

If it only affects one device, and the logic is complicated, and it may need occasional changes and enhancements, it should go in ophyd-async. For this statement, where we have composite ophyd-async devices, we can treat the top level device and everything beneath it as 'one device'

If it affects multiple devices, and/or if the logic is tied to the experiment where changes are required often, it should go in Bluesky.

Tagging a few people who may have thoughts:
@callumforrester @abbiemery @coretl
Acceptance Criteria

A set of rules to determine where logic should go is agreed upon and documented

I like this, my only question is how strict to make it? Do we want a prescriptive flowchart, a set of approximate guidelines, or somewhere in-between?

Approximate guidelines I think is fine. We're never going to be able to police something that's very strict

I think where you say ophyd-async in the above do you actually mean dodal @olliesilvester?

Yeah, I really mean creating the devices using the ophyd-async library, rather than putting it into the repo


ADR 028 for using Shield Advanced

PR Checklist

[x] If you are proposing a new decision record document, used the right template for that
- (ADR, decision-record, engagement, research)
[x] Set yourself as the Assignee
[x] Tag anyone you would like to review, or @forms-design or @forms-devs
[x] Fill in the template below

What
Add a new ADR capturing the context, decision, and pros/cons of using AWS Shield Advanced in our infrastructure.
I've written a sparse ADR because I'm conscious this is a security-related decision on a public-facing repo.
If we feel it's sensible and secure for me to go into further detail about consequences and/or implementation I'm happy to do so.
How to review
Describe the steps required to test the changes.

Semantic: Do you agree with the changes? What's the balance between security and context?
Syntactic: Spelling, grammar, etc.

Who can review
Anyone except @sarahseewhy (me) because I worked on it.

👍 looks good and I think sensible for a public facing repo
There seem to be a couple of commits that don't belong to this PR

Thanks!
I'm also a bit perplexed by the other commits. I'm trying to figure out how this happened, whether I made a mistake while branching from main or whether we were all working on the same branch by accident 🤷

There seem to be a couple of commits that don't belong to this PR

I'm still unsure how this happened. The changes proposed in the service-map file were already on the main branch. Perhaps the file was edited in the UI and it somehow got included in my PR?
I dropped the commits and the file is no longer part of the PR nor are the commits.


Fix shader function calls being assignable

Added a check in ShaderLanguage::_validate_operator to make sure the item being assigned is either a member or variable.
Fixes #10589

Need to revert this as it introduced regressions in the shader language, see #10687.
I'll reopen the original issue, the idea is still good but a better fix needs to be worked on.


Unhandled rejection: TypeError:The object does not support the replace

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: IE 11.0.9600.18816
Operating system and its version: Windows 7 64 bits
PDF.js version: PDF.js v1.9.426 (build: 2558a58d)
Is a browser extension: no

And I'm using base64 stream, and transcoding(var array = new Uint8Array(new ArrayBuffer(rawLength));)
var base64 = atob("${base64}");
function base64ToUint8Array(base64) {
var raw = base64;
var uint8Array = new Uint8Array(new ArrayBuffer(raw.length));
for(var i = 0; i < raw.length; i++) {
uint8Array[i] = raw.charCodeAt(i);
}
return uint8Array;
}
Its works OK IN Chrome  and FF but under IE browser, An error:'Unhandled rejection: TypeError:The object does not support the "replace" property or method'
What went wrong? (add screenshot)

It looks like this bug is in the URL polyfill.

I have been investigated but don't find a the solution,
There is some workaround?

It would be most helpful if you, as requested in both ISSUE_TEMPLATE.md and CONTRIBUTING.md, published a complete example online. Please keep in mind that only code snippets aren't that helpful, since it doesn't provide a complete picture of the issue.

Here are a complete example on line with the same pdf used on the demo; https://mozilla.github.io/pdf.js/web/viewer.html
This example searchs on the back-end the pdf. The back-end returns base64 to the view.
http://<IP_ADDRESS>/fd-js/?c=XPQxmJ3MhgpClF1DRcBLdA2
The view convert base64ToUint8Array and set de DEFAULT_URL = base64ToUint8Array(base64);
I hope you can help me. Thanks.

It appears that you've attempted to put a Uint8array into the DEFAULT_URL constant in the default viewer. That one can only hold a string containing a URL, which explains why things break; and please note that a Uint8array really cannot be considered to be a URL.
For information about how you can (programmatically) open a file in the default viewer, please refer to https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#file.
Closing as answered.

I changed the official demo
pdf.js
row:13764
// According to your url operation.
//url  = encodeURI(url);
url = decodeURI(url);
and changed  the official demo
viewer.js
row:1996
if (file && JSON.stringify(file).lastIndexOf('file:', 0) === 0)
can solve this issue


[FLINK-23864][docs] Add pulsar connector document

What is the purpose of the change
Add document for new flink-connnector-pulsar.
Brief change log

Add new config option document.
Add a new connector document.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@infoverload could you please take a look at the English documentation?
@LB-Yu could you please look at the Chinese documentation?


Temporary workaround for loading best model at end with DeepSpeed

What does this PR do?

Loading the best model at the end of training with --load_best_model_at_end fails with the current version of Habana DeepSpeed (0.6.1, see https://github.com/huggingface/transformers/issues/17114).
This PR brings a temporary workaround where the best model at the end of training is loaded as a regular PyTorch model and not as a DeepSpeed engine. This should not be an issue since the best model is loaded for inference only and ZeRO-3 has not been validated yet (see here) while ZeRO-1/2 are useful for training only.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Improvements in pymysql snippet and datetime snippet additon

Improve pymysql Database class to run multiple SQL queries in a single TCP connection
Included datetime snippets form timezone conversion

ok take your time 😀

Any Updates ?


HADOOP-17454. [s3a] Disable bucket existence check - set fs.s3a.bucket.probe to 0

Also fixes HADOOP-16995. ITestS3AConfiguration proxy tests failures when bucket probes == 0
The improvement should include the fix, ebcause the test would fail by default otherwise.
 Do update the release notes though, to say "you'll get told of missing/unreadable bucket on first operation against it".
Test failure is going to be related to directory marker retention and/or metric counting.
Could you file a JIRA, assign to me and include the specific test settings you were using?

+1. Do update the release notes though, to say "you'll get told of missing/unreadable bucket on first operation against it".
Test failure is going to be related to directory marker retention and/or metric counting.
Could you file a JIRA, assign to me and include the specific test settings you were using?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  8s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
markdownlint
0m  1s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m  7s

trunk passed

+1 :green_heart:
compile
0m 45s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
compile
0m 38s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
checkstyle
0m 30s

trunk passed

+1 :green_heart:
mvnsite
0m 45s

trunk passed

+1 :green_heart:
shadedclient
16m 25s

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

+1 :green_heart:
javadoc
0m 25s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
0m 33s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+0 :ok:
spotbugs
1m  6s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m  4s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 37s

the patch passed

+1 :green_heart:
compile
0m 35s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javac
0m 35s

the patch passed

+1 :green_heart:
compile
0m 29s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
javac
0m 29s

the patch passed

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
15m  4s

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

+1 :green_heart:
javadoc
0m 19s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
0m 27s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
findbugs
1m  5s

the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 35s

hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 33s

The patch does not generate ASF License warnings.

79m  5s

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle markdownlint

uname
Linux 5faf99842e38 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2b4febcf576

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

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

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

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

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

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  8s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
markdownlint
0m  1s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
33m  7s

trunk passed

+1 :green_heart:
compile
0m 45s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
compile
0m 38s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
checkstyle
0m 30s

trunk passed

+1 :green_heart:
mvnsite
0m 45s

trunk passed

+1 :green_heart:
shadedclient
16m 25s

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

+1 :green_heart:
javadoc
0m 25s

trunk passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
0m 33s

trunk passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+0 :ok:
spotbugs
1m  6s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m  4s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 37s

the patch passed

+1 :green_heart:
compile
0m 35s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javac
0m 35s

the patch passed

+1 :green_heart:
compile
0m 29s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
javac
0m 29s

the patch passed

+1 :green_heart:
checkstyle
0m 19s

the patch passed

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
15m  4s

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

+1 :green_heart:
javadoc
0m 19s

the patch passed with JDK Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04

+1 :green_heart:
javadoc
0m 27s

the patch passed with JDK Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

+1 :green_heart:
findbugs
1m  5s

the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 35s

hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 33s

The patch does not generate ASF License warnings.

79m  5s

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle markdownlint

uname
Linux 5faf99842e38 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2b4febcf576

Default Java
Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-<IP_ADDRESS>+1-Ubuntu-0ubuntu1.18.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_275-8u275-b01-0ubuntu1~18.04-b01

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

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

modules
C: hadoop-tools/hadoop-aws U: hadoop-tools/hadoop-aws

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

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

thanks Steve. created https://issues.apache.org/jira/browse/HADOOP-17455
please check the release notes for this issue on jira- I think I filled it the right way

thanks Steve. created https://issues.apache.org/jira/browse/HADOOP-17455
please check the release notes for this issue on jira- I think I filled it the right way

We changed the default behaviour of bucket probe from 2 to 0 which was present from long time. Won't this cause problem for the downstream components which used to expect this exception ?
Good that we have added the release notes. Thanks Gabor.

We changed the default behaviour of bucket probe from 2 to 0 which was present from long time. Won't this cause problem for the downstream components which used to expect this exception ?
Good that we have added the release notes. Thanks Gabor.


Update slots.md

Summary
Fix bug in docs for passthrough renders_many slot call. Needed a block argument instead of parameter argument.

@joelhawksley I looked at this one with @ollie-nye just now. This section of the docs uses passthrough slots declared with renders_many :posts, but passing arguments to the slot doesn't change the output. Passing a block does, though.


Add url inside notifications payloads

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


Cut and paste multiple folders broken

Description
When multiple folders are cut to paste into another folder, it does not work. With only one selected folder it works.
Expected
If several folders are cut to paste them, they should be moved.
Actual
Nothing at all.
Info:

OS: Docker
Browser Firefox
Database SQLite
Papermerge Version 2.0.0.rc43

Ahh sorry, not cut and paste folders are broken! Select multiple folders and move them per drag&drop didn't work.

hey man, drag & drop is not yet implemented. I agree it would be great to have it, but it will takes time :)

OK thanks for clarification!


Remove dead code

This pull request removes about 8,000 lines of dead code in support of #504.
Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock
[ ] Style conformance: stylish-haskell

@virgil-serbanuta During standup @traiansf told me this would be OK to remove, but now I wonder why given your comment on #504 (which I had not seen yet).

Well, as I said in the meeting, the proof assistant can be used to check ML proofs.  However (1) it will take a long time until we get to generate anything we would need to check, as proofs are not on our critical path anymore; (2) the proof system itself changed at least twice since there hasn't been any work on this part of the code, and might change in the future; and (3) if we will build an interactive theorem prover, it will be more likely be built around the things we're currently developing, as the REPL; moreover, as a proof checker, it might be worthwhile to be a project on its own.  Hence, I'm ok for us to tag it for future reference and remove it from our current master.

If Traian says it's ok to tag+remove, then I won't object.


Action d/c + backwards motion F/T doesn't include the cursor in the range

To Reproduce
Given the line: an example, which shows the issue#
If I run: $dF,
I obtain: an example#
I expected: an example
Just like: 0f,d$ gives me: an example and not: an example,
Environment

vim-8.2.2489
Arch Linux
Alacritty

F if an exclusive motion, so it does not include the last character

The F motion is |exclusive|, as said under :help F. At :help exclusive I read:
When exclusive, the last character towards the end of the buffer is not included. Linewise motions always include the start and end position.
When moving leftwards as with F, "the last character towards the end ofthe buffer" is IIUC the one the cursor starts from, i.e. in your case the # sign.
The $ motion, OTOH, is |inclusive|.
The result might be different if you make sure that 'selection' is set to inclusive then use vF,d instead of dF, (untested).
Best regards,
Tony.


segmentation fault on step 'BUILDING SDK'

Hi,
I'm trying to build AVS SDK on a Raspberry Pi and I get a segmentation fault at BUILDING SDK step.
I'm following the current Raspberry tutorial
What is the expected behavior?
The SDK should be building itself
What behavior are you observing?
I get the following error, right after the setp.sh script starts step 'BUILDING SDK'
==============> BUILDING SDK ==============

setup.sh : ligne 215 : 12521 Erreur de segmentation  cmake "$SOURCE_PATH/avs-device-sdk" "${CMAKE_PLATFORM_SPECIFIC[@]}" -DGSTREAMER_MEDIA_PLAYER=ON -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH="$THIRD_PARTY_PATH/portaudio/lib/.libs/libportaudio.$LIB_SUFFIX" -DPORTAUDIO_INCLUDE_DIR="$THIRD_PARTY_PATH/portaudio/include" -DCMAKE_BUILD_TYPE=DEBUG

Provide the steps to reproduce the issue, if applicable:
I followed the instructions detailed in the tutorial. I'm at the step :

Run the setup script with your configuration as an argument:
sudo bash setup.sh config.txt

Tell us about your environment:
Raspberry Pi 2 model B
running Raspbian GNU/Linux 9 (stretch)
audio soundcard : cirrus logic (wolfson)
I'm driving my Raspberry through ssh connection (the raspberry is in headless mode)
Thank you for your help.

Hi @corentoulf,
Thanks for moving your issue to this forum. Can you please provide the full output for the setup.sh execution? Can you also execute the commands below starting from the folder where you downloaded the setup.sh script and provide the output?
ls
cd build/
ls
cmake ../avs-device-sdk --debug-output \
    -DSENSORY_KEY_WORD_DETECTOR=ON \
    -DSENSORY_KEY_WORD_DETECTOR_LIB_PATH=../third-party/alexa-rpi/lib/libsnsr.a \
    -DSENSORY_KEY_WORD_DETECTOR_INCLUDE_DIR=../third-party/alexa-rpi/include \
    -DGSTREAMER_MEDIA_PLAYER=ON -DPORTAUDIO=ON \
    -DPORTAUDIO_LIB_PATH="../third-party/portaudio/lib/.libs/libportaudio.a" \
    -DPORTAUDIO_INCLUDE_DIR="../third-party/portaudio/include" \
    -DCMAKE_BUILD_TYPE=DEBUG

Thanks

Hi @celinval ,
Here is the complete output of setup.sh followed by the commands you asked me to execute.
I precise that I commented the cloning part in setup.sh cause I already cloned it before.
avs-sdk-build.txt
Thank your for your help

That's interesting. May I ask you which cmake version are you using?
Can you please rerun cmake using the command below to see if we can get a bit more information?
cmake ../avs-device-sdk --trace \
    -DSENSORY_KEY_WORD_DETECTOR=ON \
    -DSENSORY_KEY_WORD_DETECTOR_LIB_PATH=../third-party/alexa-rpi/lib/libsnsr.a \
    -DSENSORY_KEY_WORD_DETECTOR_INCLUDE_DIR=../third-party/alexa-rpi/include \
    -DGSTREAMER_MEDIA_PLAYER=ON -DPORTAUDIO=ON \
    -DPORTAUDIO_LIB_PATH="../third-party/portaudio/lib/.libs/libportaudio.a" \
    -DPORTAUDIO_INCLUDE_DIR="../third-party/portaudio/include" \
    -DCMAKE_BUILD_TYPE=DEBUG

Thanks!

@celinval,
I decided to start on a fresh install of Raspbian Stretch as I was not able to obtain better results today.
It solved the issue.
The upgrade process from Jessie to Stretch may have break things somewhere...
Anyway, thank your for your quick support.


feat/alternative docker compose

Making docker-compose files with and without tunnels
(I do think it's worth double-checking the ports on alice and bob. There looks like a lot of instances intentionally matching with the ports 3001, but it looks like in other instances alice should be 3001 and bob should be 3002.)

Nice work!


Errors when using webpack/Typescript

I hit 2 errors in my project where we use webpack/Typescript.
(Note: I'm using the library in a web page)
The first error happened when building my project,
ERROR in ./~/pptxgenjs/dist/pptxgen.js

Module not found: Error: Cannot resolve module 'fs' in c:\myproj\node_modules\pptxgenjs\dist
 @ ./~/pptxgenjs/dist/pptxgen.js 2536:10-23

ERROR in ./~/image-size/lib/index.js

Module not found: Error: Cannot resolve module 'fs' in c:\myproj\node_modules\image-size\lib
 @ ./~/image-size/lib/index.js 3:9-22

ERROR in ./~/image-size/lib/types/tiff.js

Module not found: Error: Cannot resolve module 'fs' in c:\myproj\node_modules\image-size\lib\types
 @ ./~/image-size/lib/types/tiff.js 6:9-22

By referring to this post, I put the workaround in my webpack config
node: {         fs: "empty"     }
Then I hit another error when running my page in browser
Uncaught (in promise) TypeError: callback is not a function     at eval (eval at <anonymous> (main.js:8466), <anonymous>:193:104)
It comes from this line of code in pptxgen.js
zip.generateAsync({type:'nodebuffer'}).then(function(content){ fs.writeFile(strExportName, content, callback(strExportName)); });
So, I comment it out as the following to bypass the error
/*
if ( NODEJS ) {
	zip.generateAsync({type:'nodebuffer'}).then(function(content){ fs.writeFile(strExportName, content, callback(strExportName)); });
}
else { */
	zip.generateAsync({type:'blob'}).then(function(content){ writeFileToBrowser(strExportName, content, callback); });
// }

Is there any way I can resolve the second error without changing PptxGenJS code?

Hi @Vivihung ,
Thanks for reporting this.  The callback issue affects Node.js as well as webpack.
Please try your build again with the newest codebase and let me know how it goes.

Thanks for the quick fix!
Could you please release 1.4.0 to npm so my project can consume it?

Hi @Vivihung ,
Version 1.4.0 has been released to NPM.
Please let me know if you have any further issues.

Hi @gitbrent ,
After updating to angular 6, I'm having 'Error: Cannot resolve module 'fs' in multiple file in the image-size and pptxgenjs modules.
It seems like the new Angular 6 doesn't inject module fs anymore which might cause this problem. Is there a way to work around this?
Thanks

Hi @HoangLong93
What version of PptxgenJS are you using?
PptxGenJS = require("pptxgenjs");
var pptx = new PptxGenJS();
console.log(pptx.version);

Have the same issue as @HoangLong93
Version - 2.1.0.
Mistakes:

Can't resolve 'fs'
Can't resolve 'path'
Can't resolve 'stream'

Will be great, if it is a work around.
Thanks.

Hi @gitbrent ,
Yes I'm using v2.1 also.
Thanks

Okay, thanks for checking.
Version 2.2.0 has the newest Node-detection code that fixes these unresolved libraries.
It'll be released this weekend...

Hi @gitbrent ,
I just update to the new version 2.2.0, however I still see the same error with Angular 6. Can you have a look?
ERROR in ./node_modules/image-size/lib/index.js
Module not found: Error: Can't resolve 'fs'
ERROR in ./node_modules/image-size/lib/types/tiff.js
Module not found: Error: Can't resolve 'fs'
ERROR in ./node_modules/image-size/lib/index.js
Module not found: Error: Can't resolve 'path'
ERROR in ./node_modules/jszip/lib/readable-stream-browser.js
Module not found: Error: Can't resolve 'stream'
Failed to compile.
Thanks for your help

@gitbrent , well that's unfortunate.
Thanks for your effort and info. I'll try to find a way to work around it then.
Best,

@HoangLong93
Please let me know what you find - i'd like to be able to have the library work with Angular (and create some sort of guide).

Hi. I think I'm having a relate issue.
I ran npm install pptxgenjs, then I tried following the library integration example here:
https://gitbrent.github.io/PptxGenJS/docs/integration.html#angular-example
I just created a new TS file with just the example code in it. I import it into one of my component.ts files and try to call the generatePPT function, and I get the following messages:
ERROR in ./node_modules/image-size/lib/index.js
Module not found: Error: Can't resolve 'fs' in 'C:\Users\user\Documents\angularApps\playground\value-added-selling\node_modules\image-size\lib'
ERROR in ./node_modules/image-size/lib/types/tiff.js
Module not found: Error: Can't resolve 'fs' in 'C:\Users\user\Documents\angularApps\playground\value-added-selling\node_modules\image-size\lib\types'
ERROR in ./node_modules/image-size/lib/index.js
Module not found: Error: Can't resolve 'path' in 'C:\Users\user\Documents\angularApps\playground\value-added-selling\node_modules\image-size\lib'
ERROR in ./node_modules/jszip/lib/readable-stream-browser.js
Module not found: Error: Can't resolve 'stream' in 'C:\Users\user\Documents\angularApps\playground\value-added-selling\node_modules\jszip\lib'

Ok. I managed to get it to work.  Couple of things I did:
Module not found: Error: Can't resolve 'stream' in 'C:\Users\user\Documents\angularApps\playground\value-added-selling\node_modules\jszip\lib'
in angular cli, I ran npm i stream.
To resolve
ERROR in ./node_modules/image-size/lib/index.js
Module not found: Error: Can't resolve 'fs' in 'C:\Users\user\Documents\angularApps\playground\value-added-selling\node_modules\image-size\lib'
ERROR in ./node_modules/image-size/lib/types/tiff.js
Module not found: Error: Can't resolve 'fs' in 'C:\Users\user\Documents\angularApps\playground\value-added-selling\node_modules\image-size\lib\types'
ERROR in ./node_modules/image-size/lib/index.js
Module not found: Error: Can't resolve 'path' in 'C:\Users\user\Documents\angularApps\playground\value-added-selling\node_modules\image-size\lib'
ERROR in ./node_modules/jszip/lib/readable-stream-browser.js
Added the following to the image-size/package.json file
browser": {
    "fs": false,
    "path": false,
    "os": false
  }

To resolve the warning I received for not being able to find fs in pptxgenjs, I added the code above to the pptxgenjs/package.json file as well
To resolve the issue with "require," I followed these steps:
https://stackoverflow.com/questions/31173738/typescript-getting-error-ts2304-cannot-find-name-require
Now the following seems to work as intended:
var PptxGenJS = require('pptxgenjs');
const pptx = new PptxGenJS();

pptx.setBrowser(true);

export function generatePPT() {
    const slide = pptx.addNewSlide();
    const opts = { x: 1.0, y: 1.0, font_size: 42, color: '00FF00' };
    slide.addText('Hello World!', opts);
    pptx.save();
}

Thanks @jcanaan88 .
I've added the browser element to the package.json and i've made several other changes to Node detection lately, so i'm hopeful this issue will improve shortly.


giant memory usage overhead on leader when recovering progress of dead follower(40x)

It brings more memory pressure than https://github.com/coreos/etcd/issues/2657 (20x)
1. start a 3-member cluster
2. keep writing 200k 128-byte keys to leader randomly for several mins
3. leader uses 700mb+ RES
4. kill one follower
5. keep writing single 128-byte keys to leader randomly, and wait for ~1min
6. leader uses 1128mb RES (actual data is 128b*200k=25MB)

The overhead is around 40x

I think this should be more clear... The reason is that leader is keeping a pointer to the old snapshot for the follower, since our snapshot is not MVCC. It is not caused by the death of the follower, but caused by the snapshot sending.

@yichengq Also I cannot reproduce this. If I put 200k 128-byte into 3 member etcd, the memory usage would be more than 500MB (not 300MB).

@xiang90 That one is restarted from a 3-member cluster with 200k keys in the store.
Another instruction that bootstraps a brand-new cluster:

start a 3-member cluster
keep writing 200k 128-byte keys to leader randomly for several mins
leader uses 700mb+ RES
keep writing 200k 128-byte keys to leader randomly, and wait for ~1min
leader uses 1128mb RES

@yichengq Can you update the issue to
1. start a 3-member cluster
2. keep writing 200k 128-byte keys to leader randomly for several mins
3. leader uses 700mb+ RES
4. keep writing 200k 128-byte keys to leader randomly, and wait for ~1min
5. leader uses 1128mb RES

This is more clear.

We might be affecting this as one of our primary etcd instances take around 2 GiB of RES memory when the actual amount of stored data is just about 100 KiB.

@garo Could you share anything special that happenes, the log of etcd instance and the size of snapshot under $data_dir/member/snap with us?

@yichengq The snap dir size is 24 MiB. I was using 2.0.5 previously and I've just upgraded to 2.0.9 to see if the problem persist so I don't have the logs anymore. Will update later.

@garo Our testing is done at master branch, and it is 40x. We are wondering how it performs on 2.0.9 too and i will measure/confirm the number tomorrow.
Does your cluster have a dead member? Does it have many watch op on it?
Please open a new issue if you have more data.

@garo  @yichengq  have any progress? I'm interested in the data.

@heyitsanthony Probably we can test this for v3 storage again? I assume the memory pressure for leader would be much lower as we do not do any copy while sending snapshot.

Ran the benchmark on 3 nodes with V3.
Initialization: 18MB RSS
200K 128-byte keys loaded: 159MB RSS (followers 156MB); took about a minute and a half on laptop
Minute of random updates to keys after killing follower: 174MB RSS (follower 167MB)
Overall, looks good.

@yichengq @heyitsanthony Closing this since v3 looks good and we are not going to improve v2 store.


Test run 1

bot bench -v UPSTREAM_MERGE=n $ all

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2756861

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2756862

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2758272

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2758273


add from/to range arguments to Rows() call

Overview
This PR adds from and to arguments to the Rows() call.
If the field specified is type time, then the from and to
can be used to restrict the results.
Fixes #1783
Pull request checklist

[x] I have read the contributing guide.
[x] I have agreed to the Contributor License Agreement.
[x] I have updated the documentation.
[x] I have resolved any merge conflicts.
[x] I have included tests that cover my changes.
[x] All new and existing tests pass.

Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

[ ] Ensure that any changes to external docs have been included in this pull request.
[ ] If the changes require that minor/major versions need to be updated, tag the PR appropriately.
[ ] Ensure the new code is properly commented and follows Idiomatic Go.
[ ] Check that tests have been written and that they cover the new functionality.
[ ] Run tests and ensure they pass.
[ ] Build and run the code, performing any applicable integration testing.

@jaffee I had to add another commit to fix the docs since we changed the logic.


Add Licence metadata to Nuget Package

Some firms use automatic systems to check OSS package licences for regulatory audits etc.
licenceUrl is depreciated as of nuget 4.9.0 replaced by licence. https://docs.microsoft.com/en-us/nuget/reference/nuspec#licenseurl
The licence metadata makes it easier for automated systems to audit OSS packages.
Also updated URLs to reflect username change

Thanks.


Add support for vmdk

Requires: https://github.com/osbuild/images/pull/504

We want to support people trying this out on e.g. VSphere as that is a popular environment.

LGTM

You need to update the README.md file as well.

PR#504 has landed now, was this the only thing that kept it in draft?

With the code here now, --type ova built but in digging in a bit more (I was not very familiar with ova format) I now realize from a glance at the code it's a tarball around 3 files.  And the export was broken (I think I saw there was an .ovf file and missed that we needed `.ova), with this on top
diff --git a/bib/cmd/bootc-image-builder/main.go b/bib/cmd/bootc-image-builder/main.go
index 66b1c9d..1aefe2f 100644
--- a/bib/cmd/bootc-image-builder/main.go
+++ b/bib/cmd/bootc-image-builder/main.go
@@ -291,7 +291,7 @@ func cmdBuild(cmd *cobra.Command, args []string) error {
        case "vmdk":
                exports = []string{"vmdk"}
        case "ova":
-               exports = []string{"ova"}
+               exports = []string{"archive"}
        case "anaconda-iso", "iso":
                exports = []string{"bootiso"}
        default:

I now get:
org.osbuild.tar: 2871a252794ddcd301cee5e92cb2de773756ea32f859d14a365b6d3ab0e18ce7 {
  "filename": "disk.ova",
  "format": "ustar",
  "paths": [
    "disk.ovf",
    "disk.mf",
    "disk.vmdk"
  ]
}
tar: disk.ovf: Cannot stat: No such file or directory
tar: disk.mf: Cannot stat: No such file or directory
tar: disk.vmdk: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

Any tips on that?

Well in the interest of forward progress I dropped the ova bits for now, so just vmdk.

Alternatively, we can rename the image type to just vsphere to make it very explicit and make bib well-aligned with the rest of Image Builder portfolio.

Hmm...it's tricky because in theory vmdk and ova are standards that apply outside vsphere too; according to wikipedia they're also used by e.g. virtualbox.


2.3.5 User Feature #5

Search and filter system for all resource requests.

Reviewed and Completed on Time: 27/1/2023


Fix error suppressor context detection for PHP 8

Description of the change
I upgraded PHP and Rollber client then too many errors are reported. I'm using @ operator.
PHP 8 changed error_reporting() return value when it used with @.
https://www.php.net/manual/en/language.operators.errorcontrol.php
<?php
function f() {
    echo error_reporting(), PHP_EOL;
}

error_reporting (E_ALL);
f();    // -1
@f();   // PHP7:0 / PHP8:4437

Type of change

[x] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Maintenance
[ ] New release

Related issues

Shortcut stories and GitHub issues (delete irrelevant)

Fix [SC-]
Fix #1

Checklists
Development

[x] Lint rules pass locally
[x] The code changed/added as part of this pull request has been covered with tests
[x] All tests related to the changed code pass in development

Code review

[ ] This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
[ ] "Ready for review" label attached to the PR and reviewers assigned
[ ] Issue from task tracker has a link to this pull request
[ ] Changes have been reviewed by at least one other engineer

Hi @danielmorell @cyrusradfar @tanakahisateru
I'm looking forward to this fix, so i want to add some context here.
Some laravel cli commands (like route:clear, config:clear) use @unlink under the hood without checking file's presence. After migrating our Laravel applications on php 8.1 from 7.4, we started getting rollbar notifications like E_WARNING: unlink(/path-to-project/bootstrap/cache/config.php): No such file or directory.
As errors are suppressed, these notifications are considered as "false-positive"
Since route:cache, config:cache commands call underlying *:clear commands, we get them each time a Laravel app is deployed.

Hi @dimkax94, thank you for the extra insight. That helps make the case for this a little clearer.


Support for a custom base url

Useful for https://www.hipchat.com/server

Thanks for contributing! This is great :)
Few minor changes, but overall looks good to me. Once you’ve updated I’ll merge.

@andybons I think I covered everything.


runInLinuxVM: fix for structured attrs

Closes #334705
Addresses #205690
The main issue was that the output variable (i.e. $out and friends) didn't exist. I figured the easiest way to add those is to source stdenv here. Given that we build another derivation in this builder, it's pretty likely that stdenv gets pulled already, so I don't expect a real overhead here.
Also, this mounts /build into the VM: this is required to make sure .attrs.json & .attrs.sh are available. Dropped the mount of xchg into /tmp now since it's also part of /build.
cc @ShamrockLee

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks for the review, squashed the changes into the previous commit.

appimage.tests.image-hello-cowsay breaks after this commit, as $out is no longer occupied by runInLinuxVM during preVM, and the rm "$out" line fails.
It's a good change since $out is no longer arbitrarily occupied. Still, it needs a release note entry because of its backward incompatibility.
I should have tested apptainer.tests.image-hello-cowsay before approving this PR. That's my fault.

In addition, the disk creation functionality with preVM seems to break when __structuredAttrs = true.

This doesn't look like "$out is empty".

It's not ""$out" is empty", but ""$out" does not exist". (Here, "$out" is /nix/store/7nwhbfr8kvc6rvhbq0xzx2xnz4d9przd-apptainer-image-hello-cowsay.sif)

Ah ok, misunderstood. So it's this removed line that broke it?
mkdir -p -m 0700 $out

I think so.
It's a good change, as most people would rm $out when using it, but we must address the backward incompatibility.

Is it used more often outside of nixpkgs?

A search across GitHub could answer that.
Do you know how to exclude forked repositories from the GitHub code search result?

I don't know how to exclude forks, but I browsed through the results and randomly picked uses of runInLinuxVM. From what I can see nobody assumes that $out will be created for them - many have mkdir -p $out in their preVM script. Of course, in the preVM script $out was not created previously, yet. So anyone doing magic there needs to create it anyway.
I didn't see anyone removing the existing $out.

I see. Thank you for checking it out.

In addition, the disk creation functionality with preVM seems to break when __structuredAttrs = true.

I think that's because of this:
  createEmptyImage = {
    # Disk image size in MiB
    size,
    # Name that will be written to ${destination}/nix-support/full-name
    fullName,
    # Where to write the image files, defaulting to $out
    destination ? "$out"
  }: ''
    mkdir -p ${destination}
    diskImage=${destination}/disk-image.qcow2
    ${qemu}/bin/qemu-img create -f qcow2 $diskImage "${toString size}M"

    mkdir ${destination}/nix-support
    echo "${fullName}" > ${destination}/nix-support/full-name
  '';

This needs $out to be defined.
With my proposal in #354535 (comment) we removed the mkdir line, but also the loading of attrs at the beginning of vmRunCommand, assuming that $out was not needed anymore. We failed to see that eval "$preVM" could do anything, including depending on $out.
So I guess we should add those lines back:
    vmRunCommand = qemuCommand: writeText "vm-run" ''
+    if [ -f "''${NIX_ATTRS_SH_FILE-}" ]; then
+      source "$NIX_ATTRS_SH_FILE"
+    fi
+    source $stdenv/setup

WDYT?

If it is needed to make preVM work, adding them back is sensible.

This broke systemd-boot tests, and probably all tests built with disk images.

Thanks for tracking it down, was busy investigating a production issue at work.
Can try to find out what went wrong with the hwclock invocation this ~afternoon.
I think this might be a channel-blocker, so I guess if I don't get to a solution quickly, I'd temporarily remove the set -euo pipefail.

I'm not 100% that hwclock command is even needed anymore. The commit that added it is over 10 years old and doesn't provide an explanation for why it's there other than a bug in an ancient version of qemu.


Kd/improve solver

Please fix test coverage.

I have removed many tested functions (with tests), hence the coverage has fallen. I have added some new tests in contractions. Nevertheless there is no tests in cuda, detailed_mps, and some tested are needed in utils. I am not qualified there

What is the purpose of detaied_mps? Other files you mentioned have no effect on the coverage change as their coverage didn't change.

I see now, you asked to store somewhere the old (my) mps implementation. I did not noticed it has an impact to the coveralls. Where shall I move it, benchamrks?

Or remove from repo?

As far as I remebmer this implementation has a slightly different idea than ours, I would store it in someplace.

done


Disabled command

Adding in the CommandOptions a property disabled as Boolean, false by default.
It can be used to restrict a command (for example adding in the default message event that only the owner can use (yes it's look like ownerOnly but for a disable [command] command it look more logic to change a property like that)

You could also unload the commands and use an array of their names to keep track of which are disabled.

Yes but I mean : when you're creating a command you want that only the devs can use it.
But if we use the OwnerOnly Tag, using an help command on this command that give informations like if it's owner only etc can't know if it's a command disabled or a full time OwnerOnly

You can also do this with what I said before.
Also : In v3 all commands will have to be subclasses of the Command class, so you could add the property to some commands and check when required if the property exists and is set to true for example.

Close the issue if my response resolves your suggestion ^^

Re-open if you want to discuss more about this.


Update cct.py

Correct spelling 'of'

@googlebot I signed it!

Thanks for the PR! Please replicate the change in the md and ipynb files.

Hello! I have made the changes in the respective files. Please accept the changes
Thank you

Thanks for the update. Please bring all of the 3 changes in a single PR.

Thanks for the update. Please bring all of the 3 changes in a single PR.

Hello, I have made the changes in all the 3 files in a single PR
Thank you!


Plugin not recognizing class functions properly?

Hello, I apologize if the following issue has been already mentioned somewhere. I've been searching through the results, however none of them fully described a problem nor any solution helped.
First of all, I have three files (plus a batch script to run the code) of the following contents:
main.lua
local Car = require("Car")

---@type Car
_MyCar = Car()

print(_MyCar:getEngineRunning())
_MyCar:ignite(true)
print(_MyCar:getEngineRunning())

Car.lua
---@class Car

local class = require "class"
local Car = class:derive("Car")

function Car:new()
	self.engineRunning = false
end

--- Ignites this car.
---@param parameter boolean: A dummy parameter which has absolutely no use.
function Car:ignite(parameter)
	self.engineRunning = true
end

--- Returns `true` if this car's engine is running.
function Car:getEngineRunning()
	return self.engineRunning
end

return Car

class.lua: a straight up copy of this file: https://github.com/bncastle/love2d-tutorial/blob/Episode4/class.lua
Brief description so it's not that dry.
Car.lua defines a Car class which contains simple functions involving altering its state.
main.lua creates an object of type Car and does stuff on it.
And class.lua is just an OOP juice.
After opening these in Visual Studio Code, main.lua gives warnings:

It seems that it can't find a class associated with that variable, despite giving it a ---@type indicator.
I'd expect it to look something like that, along with proper autocompletion:

Now, is this my omission, is it a bug, or is it a thing that is just not implemented? Or maybe something else? I'd be glad to provide more information if needed, or tell me what I need to change/fix.
Thank you in advance!

---@class is simply misplaced
local class = require "class"
---@class Car
---@overload fun():Car 'to make the class callable'
local Car = class:derive("Car")

function Car:new()
	self.engineRunning = false
end

--- Ignites this car.
---@param parameter boolean: A dummy parameter which has absolutely no use.
function Car:ignite(parameter)
	self.engineRunning = true
end

--- Returns `true` if this car's engine is running.
function Car:getEngineRunning()
	return self.engineRunning
end

return Car

It's working now. Thank you so much!


Fix a couple of issues that happened this morning

Basically, it has two fixes:

the backticks coming from markdown should be escaped with a "", otherwise the shell will try to run what's inside
if the target directory doesn't exist, the folder structure is created in the current directory, which maybe is not what you intended to do. This creates the target folder if it doesn't exist.

and an improvement:

instead of using a long multiline comment and echo, use cat and a heredoc.

Now it's good, I think.

you think? :p


Bulk edit, fixing column header missing errors #9 32122

Docs Build status updates of commit 02b845e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/web-service-reference/data-base64binary.md
:white_check_mark:Succeeded
View

docs/web-service-reference/getclientintent.md
:white_check_mark:Succeeded
View

docs/web-service-reference/middlename.md
:white_check_mark:Succeeded
View

docs/web-service-reference/movefolderresponse.md
:white_check_mark:Succeeded
View

docs/web-service-reference/moveitem.md
:white_check_mark:Succeeded
View

docs/web-service-reference/otheraddresses.md
:white_check_mark:Succeeded
View

docs/web-service-reference/owalink.md
:white_check_mark:Succeeded
View

docs/web-service-reference/people.md
:white_check_mark:Succeeded
View

docs/web-service-reference/referenceid.md
:white_check_mark:Succeeded
View

docs/web-service-reference/relevancescore.md
:white_check_mark:Succeeded
View

docs/web-service-reference/restrictedgroupsids.md
:white_check_mark:Succeeded
View

docs/web-service-reference/retentionid.md
:white_check_mark:Succeeded
View

docs/web-service-reference/rmstemplateid.md
:white_check_mark:Succeeded
View

docs/web-service-reference/rootfolder-finditemresponsemessage.md
:white_check_mark:Succeeded
View

docs/web-service-reference/setclientextension.md
:white_check_mark:Succeeded
View

docs/web-service-reference/setclientextensionresponsemessage.md
:white_check_mark:Succeeded
View

docs/web-service-reference/setholdonmailboxes.md
:white_check_mark:Succeeded
View

docs/web-service-reference/sharepointsiteurl.md
:white_check_mark:Succeeded
View

docs/web-service-reference/sipresponsetext.md
:white_check_mark:Succeeded
View

docs/web-service-reference/smtpaddress.md
:white_check_mark:Succeeded
View

docs/web-service-reference/starttimeinminutes.md
:white_check_mark:Succeeded
View

docs/web-service-reference/suggestionarray.md
:white_check_mark:Succeeded
View

docs/web-service-reference/suggestiondayresult.md
:white_check_mark:Succeeded
View

docs/web-service-reference/suppressreadreceipt.md
:white_check_mark:Succeeded
View

docs/web-service-reference/syncstate-ex15websvcsotherref.md
:white_check_mark:Succeeded
View

docs/web-service-reference/time.md
:white_check_mark:Succeeded
View

docs/web-service-reference/timeoffset.md
:white_check_mark:Succeeded
View

docs/web-service-reference/unknownentries.md
:white_check_mark:Succeeded
View

docs/web-service-reference/workingperiod.md
:white_check_mark:Succeeded
View

docs/web-service-reference/yomilastname.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[stable/wordpress] Fixes template reference in tls-secrets.yaml

Is this a new chart
No

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Fixes template reference in tls-secrets.yaml. Template reference was missing wordpress. prefix, which was causing chart to fail when TLS secrets were specified.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

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

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

Thanks for this, @MikeLarah. LGTM.
Please, merge this @carrodher.

/ok-to-test
/lgtm

A new chart version appeared in the meantime, please, can you bump again the version? CI/CD is failing because of that:
I1108 08:22:02.472] Error linting and installing charts: Error processing charts
I1108 08:22:02.472] ------------------------------------------------------------------------------------------------------------------------
I1108 08:22:02.473]  ✖ wordpress => (version: "7.6.6", path: "stable/wordpress") > Chart version not ok. Needs a version bump!
I1108 08:22:02.473] ------------------------------------------------------------------------------------------------------------------------

Chart version bumped to 7.6.7

/lgtm


Add Go 1.1 package http

This UA should be almost dead.
Since 2015, the Go UA is "Go-http-client/1.1" see https://go-review.googlesource.com/c/go/+/9385
We alreay have Go-http-client in crawler-user-agents

OK. I can't found the issue in our Sentry, but I've created the similar PR in April 2018, as you can see. So…
OK, I'm closing this until next time.


with_structured_output is not working

I am trying to use with_structured_output referencing the examples in the function's doc strings:
import os
from langchain_core.pydantic_v1 import BaseModel, Field
from langchain_ibm import ChatWatsonx

class AnswerWithJustification(BaseModel):
    answer: str = Field(description="The answer to the query")
    justification: str = Field(description="The justification to the answer")

if __name__ == "__main__":
    llm = ChatWatsonx(
        model_id="mistralai/mixtral-8x7b-instruct-v01",
        url=os.environ["WX_ENDPOINT"],
        project_id=os.environ["WX_PROJECT_ID"],
    )
    structured_llm = llm.with_structured_output(
        AnswerWithJustification,
        include_raw=True
    )

    generated = structured_llm.invoke("What weighs more a pound of bricks or a pound of feathers")

But the output is not expected:
{'raw': AIMessage(content='\n\n```json\n{\n    "type": "function",\n    "function":', response_metadata={'token_usage': {'generated_token_count': 20, 'input_token_count': 546}, 'model_name': 'mistralai/mixtral-8x7b-instruct-v01', 'system_fingerprint': '', 'finish_reason': 'max_tokens'}, id='run-055ce84e-02ea-4283-87a5-e11f8440f407-0', usage_metadata={'input_tokens': 546, 'output_tokens': 20, 'total_tokens': 566}), 'parsed': None, 'parsing_error': None}

Please help advise, thank you in advance!

Issue was resolved by redefining max_new_tokens:
from ibm_watson_machine_learning.metanames import GenTextParamsMetaNames as GenParams

llm_params = {
        GenParams.MAX_NEW_TOKENS: 1000,
    }

    llm = ChatWatsonx(
        model_id="mistralai/mixtral-8x7b-instruct-v01",
        url=os.environ["WX_ENDPOINT"],
        project_id=os.environ["WX_PROJECT_ID"],
        params = llm_params


Missing poetry command

After running the poetry command following the steps to reproduce this project from Readme. This command is failing.
poetry poe build_wasm

Poe => poetry poe build_basic && poetry poe build_simd && poetry poe build_threads && poetry poe build_simd_threads
Poe the Poet - A task runner that works well with poetry.
version 0.27.0

Error: Unrecognised task 'build_basic'

USAGE
  poetry poe [-h] [-v | -q] [-C PATH] [--ansi | --no-ansi] task [task arguments]

GLOBAL OPTIONS
  -h, --help            Show this help page and exit
  --version             Print the version and exit
  -v, --verbose         Increase command output (repeatable)
  -q, --quiet           Decrease command output (repeatable)
  -d, --dry-run         Print the task contents but don't actually run it
  -C PATH, --directory PATH
                        Specify where to find the pyproject.toml
  --ansi                Force enable ANSI output
  --no-ansi             Force disable ANSI output

CONFIGURED TASKS
  watch
  build
  server
  build_basic_wasm
GLOBAL OPTIONS
  -h, --help            Show this help page and exit
  --version             Print the version and exit
  -v, --verbose         Increase command output (repeatable)
  -q, --quiet           Decrease command output (repeatable)
  -d, --dry-run         Print the task contents but don't actually run it
  -C PATH, --directory PATH
                        Specify where to find the pyproject.toml
  --ansi                Force enable ANSI output
  --no-ansi             Force disable ANSI output

CONFIGURED TASKS
  watch
  build
  server
  build_basic_wasm
  --version             Print the version and exit
  -v, --verbose         Increase command output (repeatable)
  -q, --quiet           Decrease command output (repeatable)
  -d, --dry-run         Print the task contents but don't actually run it
  -C PATH, --directory PATH
                        Specify where to find the pyproject.toml
  --ansi                Force enable ANSI output
  --no-ansi             Force disable ANSI output

CONFIGURED TASKS
  watch
  build
  server
  build_basic_wasm
  -d, --dry-run         Print the task contents but don't actually run it
  -C PATH, --directory PATH
                        Specify where to find the pyproject.toml
  --ansi                Force enable ANSI output
  --no-ansi             Force disable ANSI output

CONFIGURED TASKS
  watch
  build
  server
  build_basic_wasm
                        Specify where to find the pyproject.toml
  --ansi                Force enable ANSI output
  --no-ansi             Force disable ANSI output

CONFIGURED TASKS
  watch
  build
  server
  build_basic_wasm
  --no-ansi             Force disable ANSI output

CONFIGURED TASKS
  watch
  build
  server
  build_basic_wasm
CONFIGURED TASKS
  watch
  build
  server
  build_basic_wasm
  build_simd_wasm
  server
  build_basic_wasm
  build_simd_wasm
  build_simd_wasm
  build_threads_wasm
  build_simd_threads_wasm
  build_threads_wasm
  build_simd_threads_wasm
  build_wasm
  build_wasm

Hi Shreshtth. You can fix this issue by changing build_basic on line 59 in pyproject.toml to build_basic_wasm.
I will not be updating the repository for the time being due to technical debt that has accumulated and the antiquity of the project.

Hello author, I was wondering if I could get your camera internal parameter matrix. Specifically, it refers to the characteristic parameters of different depth cameras. Thank you.

Hi Cain925.
I am afraid I was not the one who collected the images, but rather I used ones from https://lab.osai.ai/.


[Suggestion] Make the search bar accessible from anywhere on the page

You guys have really user-friendly documentation and search, but at the moment the user needs to scroll to the top of the page every time they want to search for something.
I believe it would be a meaningful UX improvement if the user could search from anywhere on the page.
Making the header fixed so it always stays in view is one possible solution.

I think this could be a good change. 👍  I may not have time to implement it right away, but a PR would be welcome and I can check it out.

This is live now :+1:


Make future proceedings stand alone (trac ticket 3147)

Robert says:

Please look at https://trac.ietf.org/trac/ietfdb/ticket/3147 and see if you think there's enough information to convey what's wanted.
We can have a short call with the secretariat to flesh things out more if we need it.
I hinted at some of the new modelling I'd expect in the initial description - I think the first step of this is to sketch out what we think the model changes ought to be.

Fixed by #43


Tackle pnpm:generate warning by updating @polkadot/ui-keyring`

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

What's new?

[x] PR closes #2694

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged the recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

warning and error message comes from @polkadot/ui-keyring, so I updated the package

Build time: 6m 3s. Total deploy time: 6m 7s

why it's taking so long 👀

lets investigate here https://github.com/kodadot/nft-gallery/issues/2696
hopefully, errors will be tackled on CF as well, will merge and check

deploying well!
13:06:54.437	Initializing build environment. This may take up to a few minutes to complete
13:06:56.727	Success: Finished initializing build environment
13:06:56.727	Cloning repository...
13:06:58.862	Success: Finished cloning repository files
13:06:59.139	Installing dependencies
13:06:59.151	Python version set to 2.7
13:07:01.432	Attempting node version '16' from .node-version
13:07:03.172	Downloading and installing node v16.14.2...
13:07:03.658	Downloading https://nodejs.org/dist/v16.14.2/node-v16.14.2-linux-x64.tar.xz...
13:07:04.075	Computing checksum with sha256sum
13:07:04.213	Checksums matched!
13:07:08.693	Now using node v16.14.2 (npm v8.5.0)
13:07:09.278	Started restoring cached build plugins
13:07:09.294	Finished restoring cached build plugins
13:07:10.013	Attempting ruby version 2.7.1, read from environment
13:07:15.923	Using ruby version 2.7.1
13:07:16.292	Using PHP version 5.6
13:07:16.476	5.2 is already installed.
13:07:16.505	Using Swift version 5.2
13:07:16.506	Started restoring cached node modules
13:07:16.527	Finished restoring cached node modules
13:07:17.008	Installing NPM modules using NPM version 8.5.0
13:07:17.792	8.5.0
13:07:17.799	NPM modules installed
13:07:18.233	Installing Hugo 0.54.0
13:07:18.928	Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
13:07:18.933	Started restoring cached go cache
13:07:18.956	Finished restoring cached go cache
13:07:19.119	go version go1.14.4 linux/amd64
13:07:19.141	go version go1.14.4 linux/amd64
13:07:19.145	Installing missing commands
13:07:19.146	Verify run directory
13:07:19.146	Executing user command: npm run generate:pnpm
13:07:19.619
13:07:19.620	><EMAIL_ADDRESS>generate:pnpm
13:07:19.620	> npx pnpm i --store=node_modules/.pnpm-store && npx pnpm generate
13:07:19.620
13:07:20.289	npm WARN exec The following package was not found and will be installed: pnpm
13:07:21.636	Lockfile is up-to-date, resolution step is skipped
13:07:22.333	Packages: +2797
13:07:22.333	++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13:07:22.769	Progress: resolved 0, reused 0, downloaded 1, added 0
13:07:22.949	Packages are hard linked from the content-addressable store to the virtual store.
13:07:22.949	  Content-addressable store is at: /opt/buildhome/repo/node_modules/.pnpm-store/v3
13:07:22.949	  Virtual store is at:             node_modules/.pnpm
13:07:23.770	Progress: resolved 0, reused 0, downloaded 35, added 26
13:07:24.772	Progress: resolved 0, reused 0, downloaded 62, added 53
13:07:25.771	Progress: resolved 0, reused 0, downloaded 123, added 107
13:07:26.771	Progress: resolved 0, reused 0, downloaded 164, added 143
13:07:27.773	Progress: resolved 0, reused 0, downloaded 180, added 156
13:07:28.773	Progress: resolved 0, reused 0, downloaded 195, added 166
13:07:29.778	Progress: resolved 0, reused 0, downloaded 213, added 240
13:07:30.808	Progress: resolved 0, reused 0, downloaded 263, added 307
13:07:31.809	Progress: resolved 0, reused 0, downloaded 281, added 329
13:07:32.810	Progress: resolved 0, reused 0, downloaded 362, added 416
13:07:33.810	Progress: resolved 0, reused 0, downloaded 465, added 526
13:07:34.810	Progress: resolved 0, reused 0, downloaded 547, added 638
13:07:35.811	Progress: resolved 0, reused 0, downloaded 651, added 755
13:07:36.812	Progress: resolved 0, reused 0, downloaded 764, added 856
13:07:37.814	Progress: resolved 0, reused 0, downloaded 798, added 898
13:07:38.821	Progress: resolved 0, reused 0, downloaded 875, added 1009
13:07:39.821	Progress: resolved 0, reused 0, downloaded 994, added 1142
13:07:40.822	Progress: resolved 0, reused 0, downloaded 1139, added 1332
13:07:41.822	Progress: resolved 0, reused 0, downloaded 1298, added 1534
13:07:42.822	Progress: resolved 0, reused 0, downloaded 1407, added 1682
13:07:43.822	Progress: resolved 0, reused 0, downloaded 1578, added 1907
13:07:44.823	Progress: resolved 0, reused 0, downloaded 1736, added 2109
13:07:45.826	Progress: resolved 0, reused 0, downloaded 1909, added 2328
13:07:46.826	Progress: resolved 0, reused 0, downloaded 2082, added 2533
13:07:47.828	Progress: resolved 0, reused 0, downloaded 2166, added 2745
13:07:48.830	Progress: resolved 0, reused 0, downloaded 2186, added 2792
13:07:49.829	Progress: resolved 0, reused 0, downloaded 2188, added 2794
13:07:50.790	.../fontawesome-common-types postinstall$ node attribution.js
13:07:50.853	Progress: resolved 0, reused 0, downloaded 2189, added 2797, done
13:07:50.862	node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
13:07:50.863	node_modules/core-js-pure postinstall$ node -e "try{require('./postinstall')}catch(e){}"
13:07:50.961	.../fontawesome-common-types postinstall: Font Awesome Free 0.2.36 by @fontawesome - https://fontawesome.com
13:07:50.962	.../fontawesome-common-types postinstall: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13:07:50.966	node_modules/core-js postinstall: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
13:07:50.966	node_modules/core-js postinstall: The project needs your help! Please consider supporting of core-js:
13:07:50.966	node_modules/core-js postinstall: > https://opencollective.com/core-js
13:07:50.966	node_modules/core-js postinstall: > https://patreon.com/zloirock
13:07:50.967	node_modules/core-js postinstall: > https://paypal.me/zloirock
13:07:50.967	node_modules/core-js postinstall: > bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz
13:07:50.967	node_modules/core-js postinstall: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
13:07:50.967	.../fontawesome-common-types postinstall: Done
13:07:50.969	node_modules/core-js postinstall: Done
13:07:50.975	node_modules/@apollo/protobufjs postinstall$ node scripts/postinstall
13:07:51.015	node_modules/core-js-pure postinstall: Done
13:07:51.024	node_modules/es5-ext postinstall$ node -e "try{require('./_postinstall')}catch(e){}"
13:07:51.068	node_modules/@apollo/protobufjs postinstall: Done
13:07:51.077	node_modules/bufferutil install$ node-gyp-build
13:07:51.112	node_modules/vuex-module-decorators postinstall$ node -e "try{require('./postinstall')}catch(e){}"
13:07:51.163	node_modules/es5-ext postinstall: Done
13:07:51.182	node_modules/nodemon postinstall$ node bin/postinstall || exit 0
13:07:51.242	node_modules/vuex-module-decorators postinstall: Done
13:07:51.251	node_modules/utf-8-validate install$ node-gyp-build
13:07:51.309	node_modules/yarn preinstall$ :; (node ./preinstall.js > /dev/null 2>&1 || true)
13:07:51.384	node_modules/nodemon postinstall: Love nodemon? You can now support the project via the open collective:
13:07:51.385	node_modules/nodemon postinstall:  > https://opencollective.com/nodemon/donate
13:07:51.386	node_modules/bufferutil install: Done
13:07:51.393	node_modules/nodemon postinstall: Done
13:07:51.422	node_modules/yarn preinstall: Done
13:07:51.531	node_modules/utf-8-validate install: Done
13:07:51.542	.../@fortawesome/fontawesome-svg-core postinstall$ node attribution.js
13:07:51.542	.../@fortawesome/free-brands-svg-icons postinstall$ node attribution.js
13:07:51.543	.../@fortawesome/free-solid-svg-icons postinstall$ node attribution.js
13:07:51.544	.../@fortawesome/free-regular-svg-icons postinstall$ node attribution.js
13:07:51.672	.../@fortawesome/fontawesome-svg-core postinstall: Font Awesome Free 1.2.36 by @fontawesome - https://fontawesome.com
13:07:51.672	.../@fortawesome/fontawesome-svg-core postinstall: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13:07:51.673	.../@fortawesome/free-brands-svg-icons postinstall: Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
13:07:51.673	.../@fortawesome/free-brands-svg-icons postinstall: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13:07:51.675	.../@fortawesome/free-brands-svg-icons postinstall: Done
13:07:51.676	.../@fortawesome/fontawesome-svg-core postinstall: Done
13:07:51.683	node_modules/esbuild postinstall$ node install.js
13:07:51.720	.../@fortawesome/free-solid-svg-icons postinstall: Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
13:07:51.721	.../@fortawesome/free-solid-svg-icons postinstall: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13:07:51.725	.../@fortawesome/free-solid-svg-icons postinstall: Done
13:07:51.743	.../@fortawesome/free-regular-svg-icons postinstall: Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
13:07:51.743	.../@fortawesome/free-regular-svg-icons postinstall: License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13:07:51.746	.../@fortawesome/free-regular-svg-icons postinstall: Done
13:07:51.814	node_modules/esbuild postinstall: Done
13:07:51.842	node_modules/cypress postinstall$ node index.js --exec install
13:07:52.559	node_modules/cypress postinstall: Installing Cypress (version: 9.5.2)
13:07:52.561	node_modules/cypress postinstall: [STARTED] Task without title.
13:07:55.367	node_modules/cypress postinstall: [SUCCESS] Task without title.
13:07:55.367	node_modules/cypress postinstall: [STARTED] Task without title.
13:08:09.751	node_modules/cypress postinstall: [SUCCESS] Task without title.
13:08:09.752	node_modules/cypress postinstall: [STARTED] Task without title.
13:08:09.778	node_modules/cypress postinstall: [SUCCESS] Task without title.
13:08:10.781	node_modules/cypress postinstall: You can now open Cypress by running: node_modules/.bin/cypress open
13:08:10.781	node_modules/cypress postinstall: https://on.cypress.io/installing-cypress
13:08:10.799	node_modules/cypress postinstall: Done
13:08:10.818	node_modules/nuxt-edge postinstall$ opencollective || exit 0
13:08:11.128	node_modules/nuxt-edge postinstall:
13:08:11.129	node_modules/nuxt-edge postinstall:                                      :-:
13:08:11.129	node_modules/nuxt-edge postinstall:                                    .==-+:
13:08:11.129	node_modules/nuxt-edge postinstall:                                   .==. :+- .-=-
13:08:11.129	node_modules/nuxt-edge postinstall:                                  .==.   :==++-+=.
13:08:11.129	node_modules/nuxt-edge postinstall:                                 :==.     -**: :+=.
13:08:11.129	node_modules/nuxt-edge postinstall:                                :+-      :*+++. .++.
13:08:11.129	node_modules/nuxt-edge postinstall:                               :+-      -*= .++: .=+.
13:08:11.130	node_modules/nuxt-edge postinstall:                              -+:      =*-   .+*: .=+:
13:08:11.130	node_modules/nuxt-edge postinstall:                             -+:     .=*-     .=*-  =+:
13:08:11.130	node_modules/nuxt-edge postinstall:                           .==:     .+*:        -*-  -+-
13:08:11.130	node_modules/nuxt-edge postinstall:                          .=+:.....:+*-.........:=*=..=*-
13:08:11.130	node_modules/nuxt-edge postinstall:                          .-=------=++============++====:
13:08:11.130	node_modules/nuxt-edge postinstall:
13:08:11.131	node_modules/nuxt-edge postinstall:                           Thanks for installing nuxtjs
13:08:11.131	node_modules/nuxt-edge postinstall:                  Please consider donating to our open collective
13:08:11.131	node_modules/nuxt-edge postinstall:                         to help us maintain this package.
13:08:11.131	node_modules/nuxt-edge postinstall:
13:08:11.131	node_modules/nuxt-edge postinstall:                             Number of contributors: 0
13:08:11.131	node_modules/nuxt-edge postinstall:                               Number of backers: 471
13:08:11.142	node_modules/nuxt-edge postinstall:                               Annual budget: $65,268
13:08:11.142	node_modules/nuxt-edge postinstall:                              Current balance: $9,881
13:08:11.142	node_modules/nuxt-edge postinstall:
13:08:11.142	node_modules/nuxt-edge postinstall:                  Donate: https://opencollective.com/nuxtjs/donate
13:08:11.142	node_modules/nuxt-edge postinstall:
13:08:11.149	node_modules/nuxt-edge postinstall: Done
13:08:11.808
13:08:11.811
13:08:11.811	><EMAIL_ADDRESS>prepare /opt/buildhome/repo
13:08:11.811	> husky install
13:08:11.811
13:08:11.973	husky - Git hooks installed
13:08:15.736
13:08:15.736	><EMAIL_ADDRESS>generate /opt/buildhome/repo
13:08:15.736	> nuxi generate
13:08:15.736
13:08:15.871	Nuxt CLI v3.0.0-27470397.9ebea90
13:10:09.655	Finished
13:10:09.655	Note: No functions dir at /functions found.


Fix complex spread props breaking (#329)

Fixing issue #329.
TODO:

[X] Add test cases for this.props.foo
[X] Unlimited length MemberExpressions

I think I got it all, but if there is anything else I can change, just let me know :)

@pudility awesome, thank you again for contributing!

@giuseppeg No problem, thanks for all the mentoring.


preFlush: PreFlushEventArgs should contain the entity being flushed

I'm working on a small library and found myself in need of the entity that is being flushed within the preFlush event.  This should be part of the PreFlushEventArgs object in my opinion.
<?php
// UnitOfWork.php
// ...
public function commit($entity = null)
    {
        // Raise preFlush
        if ($this->evm->hasListeners(Events::preFlush)) {
            $this->evm->dispatchEvent(Events::preFlush, new PreFlushEventArgs($this->em, $entity));
        }
// ...

Any thoughts on this?

The preFlush event occurs before the changes are computed in the UnitOfWork. At this point, the UnitOfWork is not aware which entities should be flushed (the $entity parameter is optional).
Cant you use the onFlush event?

Yes it does occur before but the commit function "knows" whether a specific or any altered entity should be updated. Unfortunately i cannot use the onFlush event as my library does some preprocessing before any change-sets are calculated.
It just seems that the preFlush event should be aware of the $entity argument being passed into the method. I mean without it there is very little use for the event... or at least I cannot think of any uses.

see #5848

Closing as duplicate.


Data is not inserted into database.

vistors table is empty at every time

Yes, it is because the addition of the record depends on the business logic which is subjective depending on the use case. You can also see that I have mentioned here to include the separate fields for custom purpose.
It is just a barebone project with no assumptions.
I intend to add the CRUD functionality and other things, but I am currently onto something else so wouldn't be able to do it any time soon.


Backend -Discussion-Forum-Post-Admin-App - Sprint 2

https://github.com/ALCOpenSource/Mentor-Management-System-Team-6/issues/15
https://github.com/ALCOpenSource/Mentor-Management-System-Team-6/issues/16
Create Discussion
Edit/Update Discussion
List Discussions Forum
Fetch Discussions Forum

@Albert-Byrone, please can you close this? talk with @Munalula-Sikazwe. He is doing something similar so that we don't have replication of tasks like the previous time.

@askinss
@Albert-Byrone
I'm currently working on the messages task .


Radar chart to support showLabelBackdrop in global config

closed #5291

My concern with this is that now we need to keep these options in sync with https://github.com/chartjs/Chart.js/blob/master/src/scales/scale.radialLinear.js#L29

I agree with @etimberg and I don't think we actually need to duplicate these entries: when trying to globally set defaults using Chart.defaults.radar.scale.ticks.showLabelBackdrop, the problem is that the ticks object doesn't exist, not because of showLabelBackdrop.
But IMO, the proper way to change defaults is using our merge helper:
Chart.helpers.merge(Chart.defaults.radar, {
   scale: {
      ticks: {
         showLabelBackdrop: true
      }
   }
})

Thanks guys for the feedback. I will try the helpers function to solve the problem that I have.
My first instinct was that this setting can be set at the global scale setting (not Chart.defaults.global but Chart.defaults.scale). However, it seems that this doesn't work and I noticed that we have radar at the global level as well.

Guys. I'll close this as it's not a big issue and workaround works fine. Thanks for your suggestion.


Console usage on Windows / WLS2

Hey guys, I was trying to use the console on Windows 11 and have some issues with it. I hope you can provide some guidance as I have no clue, why it behaves like it does.

I was testing it on Windows directly: I started my stack using npm start. It was giving me some URL to the console.
https://console.sst.dev/sst-test/dev/local?_port=13558.
Using Firefox, loading the Console in the browser works, but when navigating the console, e.g. clicking the Cognito link, the URL param _port=13558 is getting lost, because the app is doing a full page refresh. In the dev tools' console, I can see it is having issues connecting to "ws://localhost:13557/". Using Google Chrome, the apps does not do any full page refreshes and therefore continues to work as expected.

I was trying the same within WSL (Ubuntu), but neither in Chrome nor in Firefox I was able to access the Console. Both browsers log the same error: WebSocket connection to 'ws://localhost:13557/' failed:.
I guess I am missing some port forwarding from Windows to WSL2 (Ubuntu). But trying to add this using netsh interface portproxy add v4tov4 listenport=13557 listenaddress=<IP_ADDRESS> connectport=13557 connectaddress=<IP_ADDRESS>; did not work. I have also added an incoming rule for port 13557 in Windows Defender Firewall, but until now, I was not able to get the Console working.

Is there some way to set a different port for the Console?
Can somebody provide some guidance on how to use this within WSL2?
Or maybe share some ideas on how I can track down, why it is not working?
Thanks in advance!
Stefan

Bump, Console isn't working on Windows 10 with WSL either

@stefanullinger Would you be able to share how you get it working here? As we do not have access to the discord channel.

For everyone not having access to discord:
To get the SST console running, I followed the mkcert instructions here: https://github.com/microsoft/WSL/issues/3161#issuecomment-888992389 ... and then removed the two pem files from the .sst directory as Dan mentioned here: https://discordapp.com/channels/983865673656705025/990989982799900792/996023493491687424

dax — 11.07.2022 14:01
Can you uninstal mkcert and delete the two cert files in the .SST folder

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble