Upgrade to .NET Core 3.0 preview 9

.NET Core 3.0 preview 9 has released, please upgrade packages version to 3.0 preview 9.
Thanks.

Upgraded it via #https://github.com/VahidN/EFSecondLevelCache.Core/commit/40c622fb558998ad54d417f7fa89c5e07fa03e81


Add FIPS to code coverage

Fix #2029.
Signed-off-by: Steven Bellock<EMAIL_ADDRESS>

@jyao1 @Wenxing-hou You can view the FIPS code coverage at https://steven-bellock.github.io/libspdm/coverage_log/library/spdm_crypt_lib/fips/


[#1] Added packages.irods.org to Dockerfiles

iRODS runner images launch with the minimum version of iRODS client/server packages installed.

Ubuntu 16: v4.2.2
Centos 7: v4.2.0

i like it - please to #

Added #


MINOR: Use jps cmd to find out the pid of TransactionalMessageCopier

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

In some environments, existing cmd is failing to compute the pid of the process.
Used jps cmd to to get the pid.
test run:  https://jenkins.confluent.io/job/system-test-kafka-branch-builder/2618/console


Fix the ruby/romaji position x position calculation in the PositionTextBuilder.

todo:

[ ] Fix the issue by adding the extra offset.
[ ] Add the yo to the TestSceneLyricSpriteTextCharacterPosition for testing the offset issue.

Use temp way to fix that.


[coverage] Ignore compiler_crashers for coverage tests

What's in this pull request?
Ignores compiler_crashers when profiling coverage.

Compiler crashers should not count for coverage; it's not well known which parts of the compiler each of them touches, nor do we intend to use those tests to find that out.
The compiler crashers run very quickly and fill up disk space before the merger has time to merge them. This is a stopgap solution until we can have lit communicate with the merger better, or until LLVM can handle in-process merging.

Resolved bug number: N/A

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci please test

@gribozavr I reworked how I detect and keep track of crashes; that should address the concerns you had. Thanks for the fresh set of eyes!

This makes a lot of sense to me, LGTM!

@swift-ci please test

@swift-CI please Python lint


Could not support deploy existing image which comes from self-signed certificate image registry

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes/No)? Yes

CRC version
Put the output of crc version
crc version: 1.3.0+918756b
OpenShift version: 4.2.10 (embedded in binary)
CRC status
Put the output of crc status
CRC VM:          Running
OpenShift:       Running (v4.2.10)
Disk Usage:      13.23GB of 32.2GB (Inside the CRC VM)
Cache Usage:     13.75GB
Cache Directory: /home/fwang/.crc/cache
CRC config
Put the output of crc config view

http-proxy                            : http://<IP_ADDRESS>:8118
https-proxy                           : http://<IP_ADDRESS>:8118
no-proxy                              : <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADD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_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,localhost,.cluster.local,.svc,.crc.testing,.apps-crc.testing

Host Operating System
Put the output of cat /etc/os-release in case of Linux
NAME="Red Hat Enterprise Linux"
VERSION="8.0 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.0"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.0 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.0:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.0
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.0"
Steps to reproduce

Login web console at https://console-openshift-console.apps-crc.testing/
Switch to Developer console
Select Deploy an existing image from an image registry
Input an image URL which is hosted by self-signed certificate image regisry, for example registry.example.com/springboot-helloworld:v1.0, the page will show "Could not load image metadata" message, which means not support self-signed certificate image registry

Expected
Support deploy existing image from an self-signed certificate image registry
Actual
Logs
You can start crc with crc start --log-level debug to collect logs.
Please consider posting this on http://gist.github.com/ and post the link in the issue.

@mransonwang You need to create a pull secret for pulling an image from the private registry https://docs.openshift.com/container-platform/4.2/openshift_images/managing-images/using-image-pull-secrets.html#images-allow-pods-to-reference-images-from-secure-registries_using-image-pull-secrets , let us know if that helps.

@mransonwang You need to create a pull secret for pulling an image from the private registry https://docs.openshift.com/container-platform/4.2/openshift_images/managing-images/using-image-pull-secrets.html#images-allow-pods-to-reference-images-from-secure-registries_using-image-pull-secrets , let us know if that helps.

Actually there's no secret in the private registry, the registry just uses a self-signed certificate to provide https access, no other authentication mechanism. I could use podman pull command with no secret to pull the image successfully.


Hosting the site and database

Determining the best platform to hos our site on has been more difficult than anticipated.

Mitigation strategy: Currently we are working towards using Heroku to deploy our site. At the same time we are investigating the option of hosting on the SECS server, as well as possibly hosting locally on an old laptop.


XenForo Editor boxes are broken.

Firefox Stable 64.0 64-bit
Windows 7 (Have tested on Windows 10 too)
There is an issue with the Chucklefish Forums editor boxes, this seems to be the case for all XenForo sites.
Basically, go to a XenForo based forums, and hit reply to a topic or sumbit a new topic, and you can see the Message box seems to have a back background with black text.

Ok I just figured out how to fix it.
On line 3355 of the userContent.css (mine is modified so I am not sure if it's the same default), in the section titled "Dark 'About' Pages" change both parameters on the @-moz-document from url to domain. I have seen nothing wrong with the other pages and it seems to work just fine,
Example:
/* ##### DARK 'ABOUT' PAGES ##################### */
@-moz-document domain('about:blank'), domain('about:newtab') {
	body {
		background-color: #383838 !important;
	}
}

Hi @thakyZ - the code listed is not part of ShadowFox; you must have included it from somewhere else.


Fix region parameter

There is an error for region parameter. I realized recently.
Could you please release a npm update after the merge?
Thank you.

Hi @sinankeskin,
I merged your PR and release a patch version. It has other fixes.
Best regards,
Daniel.

Really appreciated. Thank you so much.


[SPARK-44025][SQL] Fix CSV Table Read Error with CharType(length) column

What changes were proposed in this pull request?
The pr aims to fix CSV Table Read Error with CharType(length) column.
Why are the changes needed?
Fix bug as follows:

CREATE TABLE csv_bug (name STRING, age INT, job CHAR(4)) USING CSV OPTIONS ('header' = 'true', 'sep' = ';') LOCATION "/opt/spark/examples/src/main/resources/people.csv";
SELECT * FROM csv_bug;
ERROR Executor: Exception in task 0.0 in stage 0.0 (TID 0)
java.lang.IllegalArgumentException: requirement failed: requiredSchema (structname:string,age:int,job:string) should be the subset of dataSchema (structname:string,age:int,job:string).

Does this PR introduce any user-facing change?
No.
How was this patch tested?

Pass GA.
Add new UT.

cc @wangyum FYI

also cc @yaooqinn

According to my investigation, CHAR_VARCHAR_TYPE_STRING_METADATA_KEY was removed from the LogicalRelation according to the ApplyCharTypePadding rule, and the logic is as follows:
https://github.com/apache/spark/blob/703e819510a72f4da76b2ac0a384eb74bf03f4c0/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/ApplyCharTypePadding.scala#L56-L58


add redirect from harp.gl/examples

This enables https://harp.gl/examples to redirect to examples page

Can you also add redirect for docs?

Added docs


Release/2.13.0

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.00%. Comparing base (eb6c153) to head (7c4b3d9).
Report is 7 commits behind head on feature/debug_incident_27794_2.13.

Additional details and impacted files
@@                          Coverage Diff                          @@
##           feature/debug_incident_27794_2.13    #2245      +/-   ##
=====================================================================
- Coverage                              70.14%   70.00%   -0.14%
=====================================================================
  Files                                    727      727
  Lines                                  27051    27036      -15
  Branches                                4558     4557       -1
=====================================================================
- Hits                                   18973    18924      -49
- Misses                                  6816     6837      +21
- Partials                                1262     1275      +13

Files with missing lines
Coverage Δ

...id/core/internal/data/upload/DataOkHttpUploader.kt
89.36% <100.00%> (-1.36%)
:arrow_down:

.../android/core/internal/data/upload/UploadStatus.kt
88.46% <ø> (ø)

.../android/core/internal/data/upload/UploadWorker.kt
73.68% <100.00%> (-12.80%)
:arrow_down:

...dog/android/core/internal/metrics/RemovalReason.kt
91.67% <100.00%> (ø)

... and 26 files with indirect coverage changes


Removing recipes that are not needed anymore in our custom recipe.

We started the work of contributing recipes back to Spack a few months ago, so it is time to remove some of them from our deployment.

@dipietrantonio , we have contributed these recipes to the spack develop branch and for the upcoming deployment we are going to use spackv0.20.0 which was released before we contributed our recipes. Do you think this will pose any issues while installing these packages?


Enqueue volume for replica-auto-balance on node change

https://github.com/longhorn/longhorn/issues/3649

Test result - https://ci.longhorn.io/job/private/job/longhorn-tests-regression/724/

We need to backport to 1.2.x.

Are we adding node informer to volume controller on 1.2.x?
It seems resync had been reverted - https://github.com/longhorn/longhorn-manager/pull/1221

We need to backport to 1.2.x.

Are we adding node informer to volume controller on 1.2.x? It seems resync had been reverted - #1221 and also discussed in #1219 (comment).

Nope, this is new code, so we don't need to backport.


localStorage is not available in Chrome packaged apps

In Chrome packaged apps "deprecate" generates an error message:
"window.localStorage is not available in packaged apps. Use chrome.storage.local instead."
I created a simple example based on the official 'hello world' example
https://github.com/pmorjan/chrome-app-samples/commit/fc8a3b257339c5538c32c7e42094f3028c865910
Thanks

this is absolute nonsense, sorry for that

@pmorjan How did you work around the error message from packaged apps?


Add task to refresh test results

Reverted this. In retrospect not sure if it is needed due to the android plugin for gradle. Will look into it further


Question on inserting an image to an existing paragraph

Hello! I found the library useful but there's a question on image inserting.
document.AddPicture  is an available method but when I use it, it wil create a new paragraph. If there's any way to insert an inline image to an existing paragraph?
Thanks for the help!

There is no direct API for it at the moment. But i can look into it. Can you provide example docx file?

example docx.docx
Sure! Thanks a lot for your help!

You can use the version v0.1.5 (or above) and use the following code:
	// Add in existing paragraph
	p := document.AddParagraph("Hello ")
	p.AddPicture("gopher.png", units.Inch(1), units.Inch(1))


Update framework.md

Some typos in the Upfront filtering section I think, in framework.md

Thanks for the correction.


[ja] replaced {{< codenew ... >}} with {{% codenew ... %}}

This is a continuation of PR https://github.com/kubernetes/website/pull/42180 (Replace {{< codenew ... >}} with {{% codenew ... %}})
Fixes https://github.com/kubernetes/website/issues/42179 (Copy To Clipboard breaks YAML format)

/assign @inductor @nasa9084

/approve
Thanks!


Set subcommand

Closes #154

@peb-adr Please test this. Maybe you like some other kind of output. Please do not hesitate to make suggestions.
Open important point: At the moment I restrict the valid actions only in the tool but not inside the manage service server part. An attacker who is able to break our manage service password secret thing and therefor has access to the manage server (but not to the full stack) can call any action the backend provides with any content. Is this an important security issue? @ostcar What do you think?

Sorry for the late review. We had much going on last week :P
I have a few points:
input formatting
I'm testing openslides set organization payload.yml using a payload file like this for it to work:
- id: 1
  limit_of_meetings: 42

which at first I think is quite odd. I did not expect to have to define the array within the yaml.
But I'm realizing it's probably even be better to have it like this, as you're able to update multiple models at once.
However it should be documented (probably with a short example in the Readme.md) what the expected input format is.
Also I was a bit concerned with the uniformity of the get and set commands.
get will output data in JSON format as provided by the datastore.
But I just learned that JSON seems to also be valid YAML. So you can uniformly use json when typing and use YAML for file input, which is fine imo.
exit codes
On success i get 130 as exit code, which doesn't seem right.
I'd expect 0 here.
Also (and this might be worth a seperate issue, but maybe you can implement it altogether):
It would be nice - for any sub command that calls the backend - to have it exit with 2 when there are migrations necessary.

Please test again. It is strange. I can not reproduce the error any more and I can not see it in the code. Nevertheless I saw the 130 once or twice but now I do not see it again.

@normanjaeckel
Ok so I tested updating various fields of the organization and meetings and it works great!
So from my point you can merge.

Ok, sorry for changing my mind again. But I'm noticing some inconsistencies now, which I think we should address.
So now we have two different commands which should have similar syntax in order to be usable intuitively.
Examples:
openslides set meeting payload.yml
openslides set meeting - <<< '[{ "id": 12, "name": "cool meeting" }]'

openslides create-user -f payload.yml

And I must say I personally like the approach I first proposed in #154 more. I.e. using a -f flag when providing a yaml file and otherwise providing the payload as a simple string. So the above examples would become:
openslides set meeting '[{ "id": 12, "name": "cool meeting" }]'
openslides set meeting -f payload.yml

openslides create-user -f payload.yml
# possible (low-prio) extension of 'create-user' to accept payload not only from file
openslides create-user '{ "username": "max", "default_password": "asdf" }'

I think this would be much cleaner. Also to me it seems this is the more usable and widely used form of providing input, instead of having to pipe a string into openslides's stdin.
@normanjaeckel , @gsiv opinions?

Ok, I merge this and then try to change the command's syntax.


Update openapi.yaml

You cannot have a path parameter and not have it required

I would recommend that you run your yaml through some tooling ahead of committing it.


Investigate under what circumstances FFT3D can be replaced with DFTTest

FFT3D is prone to all kinds of artifacting and is almost certainly slower than https://github.com/AmusementClub/vs-dfttest2
FFT3D: https://slow.pics/c/zgSUR8pL
DFTTest: https://slow.pics/c/8UjslLye

For what functions, exactly?

For what functions, exactly?

Many functions that use MVTools will use some kind of prefilter before calculating motion vectors, FFT3D was a popular choice. Some of the advanced features may not have been used and/or could be replaced with other filters.

Another thing I'll note is that I find modern versions of dfttest (like dfttest2) are pretty fast, often 2x faster than FFT3D. So faster speeds with higher quality is pretty win-win.
But, the sigma values for fft3dfilter vs dfttest are quite different for similar levels of smoothing. For instance, sigma 8-9 in fft3dfilter is ~100 in dfttest. There might be a more accurate math for calculating it, but it's certainly not 1:1.
Another thing worth noting - the effect of bit depth, sigma and fft3dfilter implementations matter.
As part of my work on the TemporalDegrain2 port, I noticed that neo_fft3d seems to scale sigma based on the bit depth. Meaning that sigma=10 looks the same for 8 bit content and 16 bit content. However, the "old" fft3dfilter (not neo) does not inherently scale this bit depth, so it needs to be done manually. Specifically it needs to be scaled like so: sigma * (1 << bitDepth - 8), so for sigma=10 to have the same effect 16-bit content, it looks like 10 * 256.
I'll be compensating for this in my TemporalDegrain2 port (which is complete, but just needs some small refactoring), but figured I'd mention it here as well.

But, the sigma values for fft3dfilter vs dfttest are quite different for similar levels of smoothing. For instance, sigma 8-9 in fft3dfilter is ~100 in dfttest. There might be a more accurate math for calculating it, but it's certainly not 1:1.

This is unfortunately quite common between various noise reduction filters (though, really, only a select few filters are commonly being used). I suppose in theory we could measure some samples with PSNR or something and get a rough approximation of the offset between sigmas.
Generally I find most DFTTest favorable overall, it has a good speed:quality ratio and has few downsides compared to other options;
NLMeans will ghost easily at high strengths (can be offset with mvtools compensation but that's just more cpu cycles)
FFT3D filter is slower as you have stated and, aside from perhaps some advanced usage, offers few benefits
BM3D has better quality than all the aforementioned but at a significant compute cost, ridiculous for pre-filtering IMO.

I have limited insight. What I do have is that the the sigma(2,3,4) parameters correspond with lower and lower frequencies. Since video noise is usually high frequency, it makes sense to have the highest sigma at the highest frequencies, and then to scale it down on lower frequencies.
This is the same approach we take with dfttest with the slocation parameter, although that parameter is a lot more powerful.

Stale


[Submit TX UI] Suggestions applied

Preview is available here:http://laboratory-pr1201.previews.kube001.services.stellar-ops.com/


Consensus Tweaks

Just a few changes, but felt like making a PR because it's the type of thing I'm going to keep doing.
Mostly, I'm just trying to keep the line count on my PRs small.

david tried to make a small PR
It's not very effective...

Mutex stuff should be fixed now. No more race conditions, no more deadlock.
... I think... but I'm also pretty sure the testing is comprehensive enough right now to catch most of the problems.


Expanding label width in TableViewCell to prevent attributedText from getting cut off

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
Addressing #1057.
The width of the label frame in TableViewCell is determined by our String extension preferredSize(), which chooses the minimum value between a given available text width and the width of the text's font. However, with the addition of the .attributedText support, we need to make sure we are accommodating for any other label attributes to prevent the label from being cut off.
Verification
Made sure that this changed fixed any cut-off scenarios and prevented any visual regressions.

Before
After

Pull request checklist
This PR has considered:

[ ] Light and Dark appearances
[ ] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[ ] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[ ] SwiftUI consumption (validation or new demo scenarios needed)
[ ] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

@sophialee0416 can you update the image?

also worth testing larger text scaling

@sophialee0416 can you update the image?

With the larger text examples? Or other updates?

@sophialee0416 can you update the image?

With the larger text examples? Or other updates?

i meant dynmaic text


Reload configuration based on config file

airy config reload
This command updates config maps based on airy.yml

This is done. Works with
airy config apply

This is done. Works with
airy config apply


Loader idea: integration with Atlassian Confluence and Jira

Isn't this done, with the confluence loader?

closed
Jira: https://llamahub.ai/l/jira
Confluence: https://llamahub.ai/l/confluence


Backend - Tag Options API

Tag options API should be implement to allow user search wiki tags while creating post or interest area.
It should take a searchKey and return a list of related wiki tag objects.

PR #363 .

API has been implemented.

API documentation has been updated. (See this API in Postman Collection)


cache & wal disk usage

Hi,
I'm testing UtahFS on Ubuntu.
I uploaded a 1.2GB directory, and it seems UtahFS stores the data twice on local device.
I have a ".utahfs" directory in $HOME, and "cache" + "wal" files are 1.2GB both !
florent@FloTux:~$ ls -alh .utahfs/
total 2,4G
drwxr--r--  2 florent florent 4,0K juin  12 17:31 .
drwxr----- 52 florent florent  24K juin  15 11:19 ..
-rw-r--r--  1 florent florent 1,2G juin  12 17:31 cache
-rw-r--r--  1 florent florent  19M juin  12 17:31 metadata
-rwxr--r--  1 florent florent  139 juin  15 03:17 pin.json
-rw-r--r--  1 florent florent 1,2G juin  12 17:31 wal

It's a huge loss of storage space. The goal is to store data on a S3 provider, not to store data twice on local disk !
How to resolve this issue ?
Thank you.
Florent

The WAL stores data temporarily while it's being uploaded to the remote storage provider, and over time it will drain. However, you won't necessarily get that space back because sqlite3 won't re-compact the database automatically. The max size of the WAL is controlled by the max-wal-size config setting which defaults to 128*1024 blocks, meaning you'd expect it to not get larger than ~2.2GB.
If this is too large for you, you can set the max-wal-size setting to something smaller and vacuum the database (after first turning off UtahFS):
$ sqlite3
SQLite version 3.28.0 2019-04-15 14:49:49
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .open .utahfs/wal
sqlite> VACUUM;
sqlite> ^D
$

The purpose of the cache on the other hand, is indeed to store at least one copy of your data locally for faster access. The max size of the cache is controlled by the disk-cache-size config setting which defaults to 3200*1024 blocks, meaning you'd expect it to not get larger than 107.4GB.
If this is too large for you, you can set it to something smaller (or -1 to disable) and vacuum the cache in the same way as the WAL.

Thanks for bringing these issues up, I've been meaning to write an "Advanced Configuration" document that discusses these sorts of things.

Additionally, I reduced the client-side default max cache size to 320*1024 (so a max of ~11GB).


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 102 ms

Resolved: ClamAV performance has improved in b6cc9aa after 5 minutes.


Bluetooth: Settings does not support external backends that are not in handle order

Symptom
On an implementation using an external settings backend, some subscriptions may end up incorrectly loaded.
Cause
The default Zephyr backend saves CCC settings using the ccc_set function in gatt.c. This saves the settings by iterating over the service table in handle order using the subroutine bt_gatt_foreach_attr. This adds an additional unspecified feature to the stored data that it is in handle order.
When the settings are loaded back using ccc_load, these values are read back with an assumption that the data is stored in this handle order. A subscription out of handle order will be dismissed with the debug message "Unable to restore CCC: handle [] cannot be found."
The issue here is that Zephyr supports reading from an external backend that may or may not be in handle order, yet does not process out-of-handle order correctly.
Issue seen
We operate an external backend and we found that a lot of our subscriptions vanished on a reboot. This came from the fact that as our storing did not have a notion of handle order, a number of subscription services came in unsupported order and therefore were not loaded.
Impact
We lose subscription settings. A lot of phones will attempt to compensate, but it is not a nice way to treat our central.
Proposals
We would like to request that when an external backend is read into Zephyr, a function is implemented that sorts the incoming data in handle order.
We are unable to estimate the exact consequences of removing the handle check in ccc_load, and we are therefore not keen on suggesting doing this.
It would be possible to not do anything whatsoever, but in this case, we would suggest an explicit requirement somewhere indicating that what is passed into gatt.c must necessarily be in handle order.

@daee-demant the settings maintainer, @de-nordic, is very busy at the moment. Could you or anyone at Oticon propose a Pull Request to fix this?

@carlescufi We are in no way opposed to doing it here, but we are also under a heavy load right now, so it might be a while before we can get around to it. It's unlikely to happen within the next two months. Just so you know.

Sounds good, this is not a high-priority issue in principle so it can wait.

This might be a more general problem, if I understand it correctly there is some assumption that the written data will be read back in a certain order. This is not guaranteed in e.g. nvs and might also lead to problems when using nvs as a backend.

@daee-demant will you create a PR, and request comments from @de-nordic ?

I do not think this is problem with settings here. Settings  may change order of info written to flash while running garbage collection.  Not trying to hijack the thread, just curious how it works. It doesn't seem to be much documented, I could only find this

while running garbage collection

Settings have garbage collection? Not trying to hijack the thread, just curious how it works. It doesn't seem to be much documented, I could only find this

Settings makes sure that it keeps a copy of each of the items that are stored in the backend, this is either done by the backend itsself (nvs) or by copying when a certain limit is reached (filesystem backend) or when a new sector is needed (fcb backend). While doing this there is no guarantee that the order of entries is maintained (a old sector might only contain a part of the entries, and copying them will move the starting entries to the "end" of the storage).

I do not think this is problem with settings here.

Right, I guess the problem is not with the settings system itself, but with the way the Zephyr GATT module restores the CCC settings, i.e. incorrectly assuming that they arrive from the backend in a certain order.

Yes, it's not just GATT. For the whole Bluetooth stack we misunderstood (perhaps because of misleading API) how the settings subsystem works.
The only thing it is is a key-value store. That's it. It doesn't guarantee the order of reading nor writing.
But the API strongly hints that it has "namespaces" or that it is filesystem-like, by giving examples of keys as paths: ie. id/serial from the first paragraphs in the doc.
Someone not reading carefully - bt maintainers in that case, myself included - might see this and think that it saves and restores per-directory, and assume that it would store (and restore) the individual keys in-order. But settings makes no such promises in its API.
So the solution is either a new settings-like subsystem, this time with atomic multi-key save & restore, or a data format change for which the migration code will have to be included. That new format would write all related settings (e.g. for an identity or for a paired device) into a single kv pair.
If we do end up making a new settings-like subsystem, my wishlist would also include the ability to delete a key while loading/restoring, and a safe-write system where if there is a failure to write the whole atomic group (e.g. power loss), then the previous value is restored.

@daee-demant are you fine with this? https://github.com/zephyrproject-rtos/zephyr/pull/63057
We also don't have time to prioritize working on a big settings rework.

@daee-demant is on vacation, but yes I think we are fine for now with the note in the documentation requiring the backend to restore items in handle order - assuming "handle" means CCC attribute handle and doesn't apply to other types of items. We'd have trouble doing anything more general than that, though, e.g. restoring items in the order they were saved.


Rejig the Python copy commands

A small change to func.py can peturb a potentially larger layer
containing required libraries; shift the copy around to avoid this.
Add /function to the PYTHONPATH - this permits adding small sets of
other modules in a cheap & cheerful fashion alongside the func.py
The results here from a build are
/function/func.py & co.
/python/required-libraries
... the base image ...

as opposed to
/python/required-libraries
/function/func.py & co.
... the base image ...

Verified this works locally. I think it solves the current issues that users are having without introducing significant future issues.


'await using' normative changes

This is the companion PR to microsoft/TypeScript#58624.

@DanielRosenwasser, we will probably want to ship a new tslib when we ship the RC.

This feels like a patch change. Any strong calls for this to be a minor version rev?

There's no api change, and while there is a behavior change it is one intended for correctness, so I'd say patch is fine.


Made width/height important to ensure correct width/height when body overflow:hidden is applied.

Made width/height important to ensure correct width/height when body overflow:hidden is applied.

NIce catch. Can you make this change in the jquery.ui.less file? Otherwise it'll get overwritten when the files are compiled again

Good point =D yeah, I'll take care of that today

Thanks!
On Jan 6, 2012, at 12:19 PM, Korvin<EMAIL_ADDRESS>wrote:

Good point =D yeah, I'll take care of that today

Reply to this email directly or view it on GitHub:
https://github.com/concrete5/concrete5/pull/407#issuecomment-3387585


file generation is not deterministic

Currently file_descriptor_proto_data varies for every build even if the source file is not changed. This is not friendly for keeping built files in VCS.

I think it it varies when different versions of protoc are invoked (which pass slightly different data to protoc plugin), and output is not changed when protoc version is the same.
rust-protobuf codegen can normalize data before generating file_descriptor_proto_data, e. g. drop unknown fields data or drop fields which are not used in reflection.

FYI, there's WIP pure-rust code generator which should be completely deterministic, because it doesn't rely on external programs.
So I'm closing the issue now.

Closing due to inactivity.


XSpear computer hanged.

so i ran this command :
xspear -u "http://testphp.vulnweb.com/listproducts.php?cat=123" -v 1
my pc slowed down and finally hanged!

Hi @jepunband
Thank you for reporting,
Xspear also uses the selenium drive, which consumes a lot of resources.
First, I think we should adjust the thread(default 10) to the minimum.
$ xspear -u "http://testphp.vulnweb.com/listproducts.php?cat=123" -v 1 -t 1

If it's an issue not a performance issue, but an issue at a specific option, please tell me.


Copy the installation approach used by the echo-kernel example

https://github.com/jupyter/echo_kernel/blob/master/echo_kernel/install.py

Fixed in ad472e074830c4105f4da609f327ec737f09416c


Website is down?

When I try to go to the website, it says "PR_END_OF_FILE_ERROR" in Firefox.

Hey! Website is up as far as I can see. Please double-check your network configuration (especially any proxy settings, etc) and try again.


Clicking string in debugger get stuck with "unexpected identifier" error

VSCode Version: 1.4.0
OS Version: Windows 10 pro

Steps to Reproduce:

Debug an (in my case nodeJS) app and trigger a breakpoint
Click on a string value in Variables > Local, such that you can edit or select it's contents
Click away having not made any modification to the variables content
Get irritated by the unexpected identifier error that stops you doing anything else ...

fyi @weinand

This problem occurs if the value of a string contains an escaped string delimiter (single or double quote) character:
var a = "hello\"world";
var b = 'hello\'world';
var c = 'hello\"world';
``


Fix flakiness in stream tests

These tests were a bit flaky because they were asserting DOM changes that can happen asynchronously.
Changing the assertions so we wait until the change happens fixes the flakiness.
Also, introduce waitUntilText to wait until some text appears in the page.

Hey @afcapel and @kevinmcconnell, any chance you can rebase or squash merge the pull requests? I feel like the commit history otherwise gets really hard to parse and follow. Thank you!


Issue with connecting to microsoft sql server from camel-k

Hi Team,
I am facing issue while connecting to mssql from camel-k,  Here I have taken a sample select query to fetch data from database but every time I am getting error as shown below
code:

Command I am using to execute the code
kamel run SelectQuery.java --dev -p
quarkus.datasource.camel.db-kind=sqlserver -p
quarkus.datasource.camel.jdbc.url=jdbc:sqlserver://localhost:1433/College -p
quarkus.datasource.camel.username=sa -p
quarkus.datasource.camel.password=***** -p
mvn:com.microsoft.sqlserver:mssql-jdbc:12.2.0.jre11**
Error:

### Please let me know if I am missing something or doing something wrong. Thanks.

If you're deploying on a cloud provider, using localhost to point the sqlserver will never work.

Yes. You need to review this property quarkus.datasource.camel.jdbc.url=jdbc:sqlserver://localhost:1433/College and change localhost value with the service location where your database is exposed. As an example, feel free to refer the PostgreSQL example to understand how to configure SQLServer to expose a service: https://github.com/apache/camel-k-examples/tree/main/generic-examples/databases

Yes, I have tried with exposed ip address (ex: quarkus.datasource.camel.jdbc.url=jdbc:sqlserver://<IP_ADDRESS>:1433/College) and I verified ip address by connecting it to DBeaver Application to access the database, It is connected and able to run commands also, but when tried from camel-k, It is showing same issue as mentioned above.
Do I need to add any dependencies otherthan mentioned?

According to the Quarkus documentation, database kind has to be mssql: https://es.quarkus.io/guides/datasource -  also, verify that the driver you're providing is the one containing the expected Quarkus extensions, it seems to me that the one you've provided is not a "Quark-ified" one. Unfortunately we cannot give you that much support here about these kind of problems, we don't have enough experience for that.

Hi @oscerd , I have gone through kamelet links that you shared, I'm able to understand but is there any reference page that I can refer and implement in my java code using kamelet. The above code is working fine for oracle DB and mysql DB but not for mssql.

My suggestion is to set the url like it is done in the kamelet and use the driver for mssql from quarkus. You need to add the driver jar yourself for license reason

The problem is resolved after including "ex: mvn:io.quarkus:quarkus-jdbc-mssql:3.1.1.Final" dependency in the command. Thank you for your valuable suggestion.


Unexpected end of JSON input

`
SyntaxError
Unexpected end of JSON input
λ() node_modules/bunrest/src/server/server.ts:240:47
    searchParams.forEach((v, k) => {
      newReq.query[k] = v;
    });

    // append body
    const body: { [key: string]: any } = await req.json();
    /*                                        ^ happened here */

Stack trace:

  λ()          node_modules/bunrest/src/server/server.ts:240:47
  `bunRequest` node_modules/bunrest/src/server/server.ts:222:27
  λ()          node_modules/bunrest/src/server/server.ts:132:38
  `fetch`      node_modules/bunrest/src/server/server.ts:131:33

Info:

bun v1.0.0
wsl #1 SMP Fri Jan 27 02:56:13 UTC 2023 (x64)
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/116.0.1938.76
Pathname: /

`

#18 I would upload the new version to npm soon.
A quick fix will be change your dependency to git
dependencies: {   bunrest: https://github.com/lau1944/bunrest.git }

@drescamarian Done. Seems like a json parsing issue.


New feature : Custom stroke thickness

For now stroke thickness is hardcoded to 1px.
Bring ability to make it bigger (for any tool: stroke, pen, rect, circle, etc).

Dupe of #258. Closing


Support for llama-cpp-python webserver API

Problem Description
I would like to utilize my already set up llama-cpp-python webservers for this program using a provider.
llama-cpp-python offers a web server which aims to act as a drop-in replacement for the OpenAI API. This allows you to use llama.cpp compatible models with any OpenAI compatible client (language libraries, services, etc).
To install the server package and get started:
pip install llama-cpp-python[server]
export MODEL=./models/7B/ggml-model.bin
python3 -m llama_cpp.server
Navigate to http://localhost:8000/docs to see the OpenAPI documentation.
The current llamacppapi provider does not seem to support the webserver.
Proposed Solution
Update the script to allow the use of the external server provided by llama-cpp-python.
Which has: /v1/chat/completions or /v1/completions
Alternatives Considered
No response
Additional Context
No response
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

Can you put it on some doc, howto local model with llama cpp python and agixt?
I'll fix the provider for you.

You are rAI, an expert at answering the users question.  Use available context help answer the users questions.
USER: hi
2023-06-01 11:46:21,521 | INFO | TOKENS: 30
2023-06-01 11:46:21,521 | INFO | Retrying in 10 seconds...
2023-06-01 11:46:31,531 | INFO | KWARGS: {}
2023-06-01 11:46:31,538 | INFO | FORMATTED PROMPT: None.
You are rAI, an expert at answering the users question.  Use available context help answer the users questions.
USER: hi
2023-06-01 11:46:31,539 | INFO | Error: HTTPConnectionPool(host='localhost', port=8099): Max retries exceeded with url: /completion (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7f40b66ce0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2023-06-01 11:46:31,539 | INFO | PROMPT CONTENT: None.
You are rAI, an expert at answering the users question.  Use available context help answer the users questions.
USER: hi
2023-06-01 11:46:31,539 | INFO | TOKENS: 30
2023-06-01 11:46:31,539 | INFO | Retrying in 10 seconds...

USER: hi
2023-06-01 11:54:09,083 | INFO | Error: HTTPConnectionPool(host='<IP_ADDRESS>', port=8099): Max retries exceeded with url: /completion (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f7ed85e4640>: Failed to establish a new connection: [Errno 111] Connection refused'))
2023-06-01 11:54:09,083 | INFO | PROMPT CONTENT: None.
You are rAI, an expert at answering the users question.  Use available context help answer the users questions.
USER: hi
2023-06-01 11:54:09,083 | INFO | TOKENS: 30
2023-06-01 11:54:09,083 | INFO | Failed to get a response 5 times in a row.
2023-06-01 11:54:09,083 | INFO | Response: None
2023-06-01 11:54:09,083 | INFO | Response: None
2023-06-01 11:54:09,083 | INFO | Response: None
2023-06-01 11:54:09,083 | INFO | Response: None
2023-06-01 11:54:29,866 | INFO | loaded in 0 embeddings
2023-06-01 11:54:29,867 | INFO | loaded in 0 collections
2023-06-01 11:54:29,972 | INFO | loaded in 0 embeddings
2023-06-01 11:54:29,973 | INFO | loaded in 0 collections
2023-06-01 11:54:48,175 | INFO | loaded in 0 embeddings
2023-06-01 11:54:48,175 | INFO | loaded in 0 collections
2023-06-01 11:54:54,986 | INFO | loaded in 0 embeddings
2023-06-01 11:54:55,000 | INFO | loaded in 0 collections
2023-06-01 11:54:55,002 | INFO | loaded in 0 embeddings
2023-06-01 11:54:55,003 | INFO | loaded in 0 collections
2023-06-01 11:54:58,770 | INFO | loaded in 0 embeddings
2023-06-01 11:54:58,770 | INFO | loaded in 0 collections
2023-06-01 11:54:59,609 | INFO | KWARGS: {}
2023-06-01 11:54:59,923 | INFO | FORMATTED PROMPT: None.
You are rAI, an expert at answering the users question.  Use available context help answer the users questions.

!
2023-06-01 11:54:59,925 | INFO | Error: 'content'
2023-06-01 11:54:59,925 | INFO | PROMPT CONTENT: None.
You are rAI, an expert at answering the users question.  Use available context help answer the users questions.

!
2023-06-01 11:54:59,925 | INFO | TOKENS: 31
2023-06-01 11:54:59,925 | INFO | Retrying in 10 seconds...
2023-06-01 11:55:09,935 | INFO | KWARGS: {}
2023-06-01 11:55:09,942 | INFO | FORMATTED PROMPT: None.
You are rAI, an expert at answering the users question.  Use available context help answer the users questions.

!
2023-06-01 11:55:09,944 | INFO | Error: 'content'
2023-06-01 11:55:09,944 | INFO | PROMPT CONTENT: None.
You are rAI, an expert at answering the users question.  Use available context help answer the users questions.

!
2023-06-01 11:55:09,944 | INFO | TOKENS: 31
2023-06-01 11:55:09,944 | INFO | Retrying in 10 seconds...

It seems to be using the /completion endpoint which does not exist.

@snxraven Please check if it works after josh's latest fixes.

I have made some edits to allow it to work in my current install:
import requests
import random

class LlamacppapiProvider:
    def __init__(
        self,
        AI_PROVIDER_URI: str = "http://localhost:8000",
        MAX_TOKENS: int = 2048,
        AI_TEMPERATURE: float = 0.7,
        AI_MODEL: str = "default",
        STOP_SEQUENCE: str = "</s>",
        **kwargs,
    ):
        self.AI_PROVIDER_URI = AI_PROVIDER_URI
        self.AI_TEMPERATURE = AI_TEMPERATURE
        self.MAX_TOKENS = MAX_TOKENS
        self.AI_MODEL = AI_MODEL
        self.STOP_SEQUENCE = STOP_SEQUENCE
        self.MAX_TOKENS = int(self.MAX_TOKENS)

    def instruct(self, prompt, tokens: int = 0):
        params = {
            "prompt": prompt,
            "temperature": float(self.AI_TEMPERATURE),
            "stop": self.STOP_SEQUENCE,
            "seed": random.randint(1,<PHONE_NUMBER>),
        }
        response = requests.post(f"{self.AI_PROVIDER_URI}/v1/completions", json=params)
        data = response.json()
        print(data)
        choices = data["choices"]
        if choices:
            return choices[0]["text"]
        return None

This gets the following output:
2023-06-04 16:06:50,475 | INFO | KWARGS: {}
{'prompt': 'None.\nYou are rAI, an expert at answering the users question.  Use available context help answer the users questions.\n\nUSER: hello\n', 'temperature': 0.7, 'stop': '', 'seed': 436854190}
2023-06-04 16:06:50,789 | INFO | FORMATTED PROMPT: None.
You are rAI, an expert at answering the users question.  Use available context help answer the users questions.
USER: hello
{'id': 'cmpl-e47e536a-bba0-4d8b-83f3-bbe42e12e7bf', 'object': 'text_completion', 'created':<PHONE_NUMBER>, 'model': './models/ggml-vicuna-7b-1.1-q4_0.bin', 'choices': [{'text': '', 'index': 0, 'logprobs': None, 'finish_reason': 'stop'}], 'usage': {'prompt_tokens': 33, 'completion_tokens': 1, 'total_tokens': 34}}
2023-06-04 16:06:51,657 | INFO | Response:

However, no matter the prompt, I am unable to get any output within choices[0]["text"]
Output from my llama-cpp-python server:
Llama.generate: prefix-match hit
llama_print_timings:        load time =  3435.48 ms
llama_print_timings:      sample time =     0.46 ms /     1 runs   (    0.46 ms per token)
llama_print_timings: prompt eval time =   335.02 ms /     2 tokens (  167.51 ms per token)
llama_print_timings:        eval time =     0.00 ms /     1 runs   (    0.00 ms per token)
llama_print_timings:       total time =   338.87 ms
Llama._create_completion: cache save
Llama.save_state: saving 279527468 bytes of llama state
INFO:     <IP_ADDRESS>:59218 - "POST /v1/completions HTTP/1.1" 200 OK

Current Agent settings:

This is the currently working test provider I got working today, it most likely needs to be cleaned and worked out better lol
import requests

class LlamacppapiProvider:
    def __init__(
        self,
        AI_PROVIDER_URI: str = "http://<IP_ADDRESS>:8000",
        MAX_TOKENS: int = 2048,
        AI_TEMPERATURE: float = 0.7,
        AI_MODEL: str = "default",
        STOP_SEQUENCE: str = "###"
        **kwargs,
    ):
        self.AI_PROVIDER_URI = AI_PROVIDER_URI
        self.AI_TEMPERATURE = AI_TEMPERATURE
        self.MAX_TOKENS = MAX_TOKENS
        self.AI_MODEL = AI_MODEL
        self.STOP_SEQUENCE = STOP_SEQUENCE
        self.MAX_TOKENS = int(self.MAX_TOKENS)

    def instruct(self, prompt, tokens: int = 0):
        prompt = prompt.replace('None.\n', '')
        prompt = prompt.replace('USER:', '### Response:')
        prompt = prompt.replace('  ', '\n')
        prompt = "\n\n### Instructions:\n" + prompt
        params = {
            "prompt": prompt,
            "temperature": float(self.AI_TEMPERATURE),
            "repeat_penalty": 1,
            "stop": self.STOP_SEQUENCE,
        }
        print(params)
        response = requests.post(f"{self.AI_PROVIDER_URI}/v1/completions", json=params)
        data = response.json()
        print(data)
        choices = data["choices"]
        if choices:
            return choices[0]["text"]
        return None
        ```

        I can confirm the above code is working

Thanks! Modified the llamacpp api module with those changes.


[Bug] Allow wxSHAPED and proportion==1 together [sf#241]

Reported by udifuchs on 2018-03-09 03:06 UTC
I have a widget that contains a panel that should always be square. so I enable wxSHAPED. I also want the label to the right to be flushed to the right, so I set proportion to 1. wxPython allows this, but wxGlade does not allow this.
Attached is a sample test to demonstrate this. When you open the file in wxglade it resets porportion to 0. So you need to go to the 'square_panel' widget properties and in Layouts change porportion to 1. This seems to disable wxSHAPE, but I guess that this is another bug, because in the preview window the square_panel stays square.
It is a small bug, but I see no reason to disallow the combination of wxSHAPED and porportion != 0.

Commented by udifuchs on 2018-03-09 04:19 UTC
Disregard this bug report. I now see that wxSHAPED and porportion != 0 leads to an error message "Shaped item, non-zero proportion in wxSizerItem::InformFirstDirection()".
I'm not sure why I didn't see this message before. I'm also not sure that this message makes sense, but since this is how wxWidgets behaves, wxGlade should follow suit.

Updated by dschwertberger on 2018-03-09 20:53 UTC

status: open --> closed
assigned_to: Dietmar Schwertberger


fix(Var-CI): Remove the Var-CI bot integration

The bot has been annoying lately with more false positives recently.
We have already manged to reduce the noise on the issue tracker by switching help issue to
forum.
This change removes the bot.
/cc @BerkeleyTrue please remove the same on their dashboard if need be as well, and/or delete any hooks that might be present.

Also just to note that the bot is no longer actively maintained as seen on their tracker.

@raisedadead Can you link to the issue tracker?

Well it's not said so by them, but I am guessing by looking at the activity on the tracker
https://github.com/VarCI/support/issues

Well, it looks like I can't even log into their dashboard either.

Yeah, that should suffice, I think. As long as the bot does not receive events we should be good.


How to get contract B's code hash in contract A?

contract A will interface with contract B
when contract B changed source, and published a new contract
How to discover this event in contract A?
Is check contract B's code hash in each interface a solution?
or  Is there a better solution?
thanks

There's no way to get the code hash inside the contract. However you can use cleos to get it offchain.

will it be supported in the future?


[2.5] update  go1.18

Signed-off-by: Anxhela<EMAIL_ADDRESS>Related Issue:  stolostron/backlog#24212
Description of changes

/test all


[Feature - UI] Support launching single tasks

Motivation: Why do you think this is important?
Single tasks are becoming first-class citizens. Just like how people can launch workflows, they should be able to launch tasks using the single tasks launch API.
Flyte component

[ ] Overall
[ ] Flyte Setup and Installation scripts
[ ] Flyte Documentation
[ ] Flyte communication (slack/email etc)
[ ] FlytePropeller
[ ] FlyteIDL (Flyte specification language)
[ ] Flytekit (Python SDK)
[ ] FlyteAdmin (Control Plane service)
[ ] FlytePlugins
[ ] DataCatalog
[ ] FlyteStdlib (common libraries)
[X] FlyteConsole (UI)
[ ] Other

Additional context
Assumption: we will be able to use most of the UI components already developed for the launch form. If this is not the case, we should re-evaluate the priority of this work.

@EngHabu Do we have endpoints for launching a single task yet? If not, is there an issue tracking that work?

Yes, @katrogan can provide information about this.

yep it's completed end to end and docs are here: https://github.com/lyft/flyte/blob/master/rsts/user/features/single_task_execution.rst
for the UI to trigger a single task execution you'll want to reference task rather than a launch plan in the create execution request spec. (we haven't rolled out renaming the field)

Implemented by lyft/flyteconsole#103
Available in flyteconsole v0.13.0


Send an email alert when a panellist changes their email address or phone number

This task was orginally part of feedback jac-uk/panellists#15 but has been separated out as it warrants it's own ticket.
Original request is as follows:
Send an email alert to<EMAIL_ADDRESS>when panellists edit their details - if possible of the format: 'Panellist X has changed their email address/phone number to xxx'
To enable this we will need to:

[ ] Decide where to store the email (or emails) which should be alerted. Some options are:

In settings collection along with commissioners and other email contacts
Add a new permission (e.g. receiveAlertsPanellistChanges) such that any user with this permission receives the email alert

[ ] Update/create background function for onUpdatePanellist and ensure email alerts are sent only when fullName and email fields are changed in the panellists collection.
[ ] Restrict, if possible, so that emails are only sent when the changes have been made by a panellist (not by admin users)
[ ] Perhaps restrict the frequency of emails to one in any 24 hour period (just in case the user makes multiple changes). See other email alerts (e.g. application submitted) for the 'timestamp pattern' used in those scenarios.

Hey team! Please add your planning poker estimate with Zenhub @drieJAC @HalcyonJAC @tomlovesgithub


Update log-effect-fs2 to 0.8.0

Updates io.laserdisc:log-effect-fs2 from 0.7.0 to 0.8.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "io.laserdisc", artifactId = "log-effect-fs2" }]

labels: semver-minor

Codecov Report

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

@@           Coverage Diff           @@
##           master     #120   +/-   ##
=======================================
  Coverage   37.27%   37.27%
=======================================
  Files          32       32
  Lines         947      947
  Branches       10       10
=======================================
  Hits          353      353
  Misses        594      594

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 d056991...78c1835. Read the comment docs.


Separate the UI into its own project

The UI is combined with the backend logic right now. This should be separated out.

Delivered to master.
I made a separate CryptoRetrieverUi project and reorganized the folders a bit. The Libraries folder is now at the root and used by both projects. I implemented a Filters.cs to get the list of potential filters so that CryptoRetriever doesn't need to depend on CryptoRetrieverUi. Other than that, the port was straightforward. The only annoying thing is to get a Point class that uses Doubles and not Integers, I needed to make the UseWPF project property true even in the non-UI project. It's very useful to be able to use this Point class since all the transformation APIs also use it.
Commit
commit ac60bcc1c34c6289fb087961d310e82f45db7690
Author: Alex Hunt<EMAIL_ADDRESS>Date:   Tue May 31 15:55:04 2022 -0400
Issue83: Made a separate CryptoRetrieverUi project and separated it out.

Testing

Make sure the project builds and runs
Check that previous strategies get the same results for the same datasets.
Check that strategies and filters load properly with the same settings.


Fix hover text on phone view.

shrink the project details margin and font size for small views.

Fixed


Fix Ansible cluster prepare script

Description of the change
Fixes Ansible cluster prepare script
Benefits
Ansible works again
Possible drawbacks
none
Applicable issues
None, no issue opened

fixes #

Additional information
n/a

Good eye, thanks!


Birl appropriate for benchmarking?

Hey there!
I'm doing some very basic benchmarking with the following
fn time(name: String, f: fn() -> a) -> a {
  let start = birl.now()
  let x = f()
  let end = birl.now()
  let difference = birl.difference(end, start) |> duration.blur_to(duration.MilliSecond)
  io.println(name <> " took: " <> int.to_string(difference) <> "ms")
  x
}

which I use like
let parallel_freq = time("parallel", fn() { parallel_letter_frequency(workload, 200_000) })

My question is

Is using Birl for benchmarking this way appropriate and
Would a more general timer function be a useful addition?

Hi
The Time type has a monotonic_time field which is an option but it exists if the Time value is created using e.g. now. And when using difference, if for both Time values the monotonic_time field is Some, that's the difference you'll get. So what you're doing should be fine!
As for the timer function, do mean something like your time function?

If you're looking for benchmarking, also try out the Glychee package for Gleam!

Is this issue concluded? Can I close it?

Yes!


Port ArrayPosition and ArrayPositions to functions-array subcrate

Is your feature request related to a problem or challenge?
ArrayPosition and ArrayPositions functions need to be ported to new functions-array subcreate in terms of https://github.com/apache/arrow-datafusion/issues/9285.
Describe the solution you'd like
Port ArrayPosition and ArrayPositions to functions-array subcrate
Describe alternatives you've considered
No response
Additional context
No response

take


RTF/Speed measurements

Thank you very much for your work and for the code! Have you measured the inference speed? How well does it compare to the speed of other models? Could you please add those results either here or to an updated version of your paper?

+1


Request: public renderPlain() for debugging/testing Plain Text Output of Markdown Mailables

a public ->renderPlain() or ->renderText() method would be a nice addition to Mailable
it would be nice if we could get the output of buildMarkdownView > buildMarkdownText for debugging / testing against the the Plain Text output of Markdown Mailables.
currently, I have to either send it to mailtrap/mailcatcher to debug the non-html version, or I have to fully Send the Email and then use the withSwiftMessage callback to pull out the rendered plain text. Which works fine, but we like to display email previews in our CMS and sending an email every time someone clicks for the plain text preview seems like overkill.
->withSwiftMessage(function ($message) use (&$plain_text_output) {
  $plain_text_output = $message->getChildren()[0]->getBody();
});

am I missing something obvious?

Heya, thanks for submitting this.
This seems like a feature request or an improvement. It's best to post these at the laravel/ideas repository to get support for your idea. After that you may send a PR to the framework. Please only use this issue tracker to report bugs and issues with the framework.
Thanks!


[Fix #10890] Fix an error for Layout/BlockEndNewline when multi-lineblocks with lambda literals

Fix: #10890
Replace this text with a summary of the changes in your PR.
The more detailed you are, the better.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[ ] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Wait this was already fixed :grin: #10878.

Oh. It was good. I forgot to bring it up to date. Is the test code also redundant? If it looks good to add, I will send a PR for the test enhancement.

I didn’t add a test specifically for lambdas so you could if you want.


Implement direct connections in the client

Make use of functions already present in Crust (prepare_connection_info and connect) and attempt to connect directly or with the use of IGD.
Wait for all connections results before sending a log to the proxy (i.e. if we collected hole punching results first then wait for direct conn. result, or vice versa).
THIS IS WRONG (don't do this pls): ~Do not attempt direct connections if we detected that UPnP is not available and the IP address is not global.~
Make sure the NAT traversal features of Crust are turned off (which is the default case).
If peer ip is local at the just log Local <-> Local instead of IPs for TCP direct connection result. If global then do the usual  <->  (just like what you do for the holepunch success result).

Tested & implemented successfully


0.4.4 is tagged to the wrong commit

It's tagged to fb901271a1486786961854039931950b708de950 but it should be cff1a0a4478c17d4f970d133c06abbf6945b6a5e

@audreyfeldroy any update on this?

@pydanny

and just hit this, doing RPMs for ansible molecule

@pydanny @audreyfeldroy Can you please do something about this? Just doing a patch level release would already help.
From a downstream perspective this is problematic (I'm packaging this project for Arch Linux), as packagers rely on the tag/auto-generated tarballs.

@dvzrv Thanks for the ping, working to get @mxmehl back involved.
If he's moved onto other things, I'll try to find time this week to work on it.


06/17/2018 21:48 : Create Pull Request for branch master -> prTesting1_2018061721

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

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


[WIP] add support for Meter width units

I can see now how it would be nicer to keep the units along with distances in Stops - thanks for figuring out that edge case with the last Frame in meters. Now I think it makes more sense to store a sequence of values with units in Stops. May also make sense to separate the "value-with-unit" type into its own file.
The behavior seems to be correct, so for the sake of enabling work on the eraser-map style we can merge this now (with the test styles reverted) and I may return to this soon :)

Ok wait - I am no longer convinced that this behaves 100% correctly. With the test styles provided, I'm seeing a discontinuity in width of highway outlines between zooms 15 and 16

@blair1618,  indeed there were two bugs ..
For the stops I think it would make sense to store the change to the next stop, i.e. exp2(upper->key - lower->key) - 1.0, instead of introducing width units. But we can decide that later


libmupdf version bump

Note: the new third_party/lcms include is not used to link to lcms.
@ras0219-msft
If you have a minute to spare, could you tell me why it's preferable to maintain a separate build system that uses cmakelists instead of upgrading the provided vcproj (with devenv /upgrade) and using msbuild?  (ref: pull/1950 - my original portfile which was rejected for being msbuild based).  You have some insight on this topic I am lacking because to me, it's a lot more work.  For example for this version change, I had to create a patch to fix some includes in some c files, which took a while.
Meanwhile, running devenv /upgrade on platform/win32/libmupdf.vcproj and tweaking the AdditionalIncludeDirectories took very little work.  (somehow msbuild makes up for missing includes).
Using the library creator's provided build system rather than writing our own seems to me less risky.
I have always thought that a difference of opinion in how something should be done is always the result of one of the 2 parties having some information that the other does not.  If you have a minute to spare to educate me, I am all ears.

Thanks for the PR! It looks like GitHub exploded a bit when I merged to master, so sorry for any trouble that caused on your side :(

If you have a minute to spare, could you tell me why it's preferable to maintain a separate build system that uses cmakelists instead of upgrading the provided vcproj (with devenv /upgrade) and using msbuild?

First, thank you for asking so professionally -- I really appreciate it! I'll also apologize in advance for the wall of text.
I have prepared a branch for what it would look like to use MSBuild [1]. In terms of raw, local maintainability, the CMake approach takes ~30 lines in the portfile and ~45 lines in the rewritten buildsystem. In the MSBuild approach, the portfile takes ~100 lines (assuming no patches). This isn't a perfect measurement by any means, but it gives us an initial benchmark for the complexity, which seems to slightly favor the rewrite. Additionally, while subjective, I find the actual code in the MSBuild variant to be harder to understand, with more details that could go wrong.
Next is the immediately available flexibility in build configurations. The CMake variant can build DLLs, static libs that dynamic link the CRT, AND static libs that static link the CRT. The MSBuild variant can only build static libs that static link the CRT. This means that it can't work out-of-the-box for a new user (vcpkg install libmupdf) because the default in VS is to dynamic link the CRT and your program will fail to link (or worse) if you try to mix those settings. The CMake variant also gives us quite a fighting chance (with no changes!) at supporting ARM/ARM64 in the future as long as there isn't anything explicitly tied to x86 in the code. The MSBuild variant will at the minimum require patching in support for the platform. Same goes for UWP and any other platforms we might want to support in the future.
Then, there is the case of the internal copies of third party dependencies. As you already know, one of the reasons the MSBuild solution is so easy to get working initially is because there are copies of all the dependencies' source code in the repo. This means that the built libmupdf will at best be overbuilding dependencies if you choose to also use freetype elsewhere in your program. The average case is that you get failures at link time (ODR violation) due to multiple symbol definitions because libmupdf will bring its own copy of FT_GlyphSlot_Own_Bitmap, a function owned by freetype. The worst case is that you get random runtime failures in production because the linker resolved the previous conflict in an unfortunate way.
The worst case above is made infinitely more likely in the case of LCMS2, which libmupdf has hard-forked. From the documentation[2]:

Every API function (or at least those that might allocate) now takes
a cmsContext pointer.

Because these are C libraries this means that while the symbol name is the same, the ABI is completely incompatible and is guaranteed to cause crashes at runtime that are a nightmare to debug. This means there is no safe way to consume the upstream lcms2 AND libmupdf in the same application if you use the vendored copy (which the existing MSBuild does).
Due to these ABI issues, we would certainly need to opt it out of our MSBuild automatic linking. Any project that wants to use it would be barred from using a huge number of other libraries in our catalog (because of ODR violations).
There's also the issue that the copies of dependencies inside it can't be separately updated, which almost certainly means unpatched security vulnerabilities (a huge deal in a pdf processing library!).
It's totally possible to write an application that doesn't hit any of the above problems -- if all you need is static linking the CRT, and you don't ever load untrusted PDFs, and you don't want to use Qt/POCO/OpenCV/harfbuzz/freetype/glfw3/vtk/itk/curl/openssl/etc, then the MSBuild solution works great! In Vcpkg, we want to build an ecosystem of libraries that work well together. You shouldn't have to choose between libmupdf and Qt -- if you want to make a great application with them together, we want to help!
[1] https://github.com/Microsoft/vcpkg/tree/dev/roschuma/libmupdf-msbuild
[2] https://github.com/ArtifexSoftware/thirdparty-lcms2/blob/1079c80803b51d0ea50b80ebb9920aa1da467cc0/doc/WhyThisFork.txt

Thank you so much!  That is incredibly generous on your part.    From the little I do know however, you have convinced me that the effort is well worth it, especially in situations where third party libraries are involved.
Not that I haven't taken what you said to heart, but it did get me thinking on the new csproj file format that is supposed to be a lot simpler.  I will need to take a look at that as well.


Initialize TIKI SDK in Flutter

As a developer, I need to initialize Dart native TIKI SDK to be used in Flutter.
Acceptance criteria:
1 - Integration test with TIKI SDK initialization.


Improve ImportableModuleFilter

Add sys.builtin_module_names to the initial sets, to skip running imp.find_module for these names which we know will succeed.
Check that the given name is a valid module name with a cheap string check, before trying to run the more expensive imp.find_module().
Close the file returned by imp.find_module() to avoid this resource warning:

/.../site-packages/sphinxcontrib/spelling/filters.py:187: ResourceWarning: unclosed file <_io.TextIOWrapper name='/.../site-packages/decorator.py' mode='r' encoding='utf-8'>
  imp.find_module(word)
ResourceWarning: Enable tracemalloc to get the object allocation traceback

This takes about 0.5s off the 7.5s time to spell check my current project (30k words).
Profiling shows the time spent in find_module is still the longest time though - down from 31% to 26%.


Add test coverage report for pull requests

This should be useful to spot lack of coverage on new code.
Set the threshold around 90-95% if possible.

The commit missed the issue number. PR: https://github.com/srodrigo/anime-suupu/pull/65


Create scheduler.md

Trying out what it's like to use a markdown file + github editor + pull requests to evolve a design document. Also, I'd like to capture some notes about the scheduler design, since it gets revisited often.

Adding a new commit to the PR via the editor seems to work ok.


client version checking

have the python, r, and javascript clients check their version against the current running version on the API server, and print a message informing the user that an update is available that may include fixes or new functionality.
a downside to this is that the version number is incremented MUCH more frequently than changes are made to the client code, so we may often be prompting updates that are pointless.

somewhat related to #1296

We can probably pretty safely ignore this for the R client since it is on the chopping block in https://github.com/cmu-delphi/delphi-epidata/issues/1377 , and ignore the js client as well because it never seemed to really get much (if any!) use.
For the python client, we should make #1431 a prerequisite for this issue.
It would also make sense to do the conditional PyPI release suggested in #1296 and then check the version through pypi.org instead of using our version endpoint:
import requests
requests.get('https://pypi.org/pypi/delphi-epidata/json').json()['info']['version'] # => '4.1.20'


polygon editor touch not working

I am using wrld3d map which is based on leaflet.js . i want to draw polygon in wrld3d it works fine on computer with mouse but it is not working on touch devices AS in leaflet.js map polgon editor works fine on touch devices . i am not a big developer please help me in this regard

This should be resolved as of<EMAIL_ADDRESS>


Re-create study setup

Since the pre-study revealed that the automatic tracking on Android is rather unstable and tends to stop after approx. 1 day (see https://github.com/sitcomlab/simport-learning-app/issues/233) and the UI state of the tracking button does also not seem to reflect the current tracking state (see https://github.com/sitcomlab/simport-learning-app/issues/234).
To reproduce the issue and get a better understanding of what might went wrong, each team member should try to re-recreate the study setup:

install the app from the study1 branch that is distributed via the Google Play Store.
start the tracking, de-activate energy saving settings for this app and allow background tracking
make an entry to the journal every evening for seven days and observe if location has actually been updated during that day on the map
export your diary

The tracking active notification text is unclear.  Could be shortened?

Button to show location / hide location in map view has unclear wording. Should be zoom in to your current location ?
Debug information screen is empty?

looking at the example map for the first time produces an empty map as loading takes some time

First conclusion of my tests

Tracking needs to be restarted after approx. 3 days on both devices (see below)
seems to stop after being longer in one place -> home or work location

Nexus 5:

25.09. - 29.09 (Sunday to Thursday)
location stuck on home location on Wednesday morning, one restart needed -> needed to hit stop button multiple times until it actually stopped (at least UI wise)

Galaxy:

25.09. - 29.09 (Sunday to Thursday)
tracking has stopped on Wednesday night -> ride to work and everything afterwards not recorded

On my phone with battery optimization turned off, tracking works until a) either the phone has very low battery or b) it shuts off due to low power. In case a), the tracking stops but the button still shows it as running. In case b), the tracking stops and the button correctly shows it as stopped.

Tracking worked from 6.10.-9.10. no location recorded on 10.10. In app overview it says "Dein Standortverlauf" 5 Tage - so it seems at least the day counter is running.

Let's see if the old or the new library (see here: https://github.com/sitcomlab/simport-learning-app/issues/239) performs better, then.


ACL firewall manager fix/improvement

Describe your changes
Fix the issue with rule squashing, it contained an issue when calculating the total amount of IPs in the Peer map (doesn't include offline peers). That is why squashing did not work.
Also, this commit changes the rules apply behavior. Instead policy:

Apply all rules from the network map
Remove all previously applied rules.
We do:
Apply only new rules
Remove outdated rules

Why the first variant was implemented: when you have a drop policy it is important in which order your rules are and you need a totally clean previous state to apply the new. But in the release, we didn't include a drop policy so we can do this improvement.
Issue ticket number and link
Checklist

[x] Is it a bug fix
[ ] Is a typo/documentation fix
[ ] Is a feature enhancement
[x] It is a refactor
[ ] Created tests that fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Testes on systems with iptables and nftables showed a great increase in performance.


Make cookie encoding conform better to RFC 6265

Applies two changes to cookie encoding in strict mode:

ClientCookieEncoder will sort cookies in decreasing order of path length.
ServerCookieEncoder will only send one cookie of a given name (arbitrarily chosen as the last cookie set with the given name, ignoring path -- which cookie to send in the case of multiple cookies with the same name is not specified in the spec).

(Please double-check everything looks right, I admittedly have not tested this, as I don't have the bandwith right now to figure out how to build and incorporate a modified version of Netty into my project.)

@lukehutch let me know once this is ready for review and once you have fixed all checkstyle-errors.

Side comment: what Netty still lacks on the client side is a cookie jar. Maybe I'll someday find time to contribute one out of Gatling's one (it's in Scala).

@lukehutch Being curious: did you actually encountered a server that would break when the client doesn't order cookies this way?

@lukehutch It seems I was still commenting while you were updating your PR, so some of my comments got "hidden". Did you get them?

@lukehutch Arghhh, I just received your comments by email, but I can't find them on Github?! So I can't reply on the spot.
Regarding the if (c == null) break;, I realize that something that was inherited from the previous implementation. I don't get it either and I think it should be turned into just skipping it. Nice catch.

Yes, I unfolded all your hidden comments. I'll remove the if (c == null) break; code then, I don't think it makes sense to have it there. Will check in another version with array sorting soon.

PS @normanmaurer / @slandelle major apologies for the crummy quality of the initial PR -- this started out as what I thought would be a minor change, so I was just typing code into github in my browser. I have the code building and the tests running in Eclipse now -- please excuse the initial laziness!

@slandelle, please take another look.

@lukehutch You really must add tests demonstrating path ordering and cookie dedup.

@slandelle I did add tests for both of these already -- they should be in the same PR as of the second commit. (In the client case, I modified a test so that it passes with the correct ordering; in the server case I added two new tests.)

I don't understand the last failure -- What can cause a 403 Forbidden when applying a patch?

@lukehutch I think it is not related but some issue with github. Can you please just squash all your commits into one with the proper commit message ?

@normanmaurer: Sorry, git n00b here. I tried to do this using the rebase
suggestion in http://stackoverflow.com/a/30227725/3950982 (see
commit e2962d376bc9902c5dcb5d5f3238d256b5630ae5), but I'm not sure if it
worked. Let me know if I need to do something different.
On Thu, Nov 26, 2015 at 3:45 AM, Norman Maurer<EMAIL_ADDRESS>wrote:

@lukehutch https://github.com/lukehutch I think it is not related but
some issue with github. Can you please just squash all your commits into
one with the proper commit message ?
—
Reply to this email directly or view it on GitHub
https://github.com/netty/netty/pull/4515#issuecomment-159892099.

@lukehutch usually you do git rebase -i HEAD^^^^^^ (use as much ^ as commits you want to squash) and then just replace pick with f for these that you want to merge in the previous commit.

git rebase -i HEAD~numberOfCommit
change pick into r for commits you want to rename and f for commits you want to fix up
then git push origin branchName -f

@lukehutch Could you also fix the PR name, please? That's not RFC6295 but RFC6265 ;-)

@normanmaurer OK, I collapsed the PR down to one request, sorry for the commit spam.
@slandelle I added fast paths for single-element arrays/lists/Iterables, and fixed the PR name.
Please take another look. Thanks for all the good feedback.

@lukehutch @normanmaurer that was fun :)

@lukehutch sorry for be a PITA but two last things. Could you please alter the commit message to match our commit template:
http://netty.io/wiki/writing-a-commit-message.html
You can do this by using:
git commit --amend

Then do a force push again via:
git push -f origin branchName

After that please sign our ICLA:
http://netty.io/s/icla
After both things are done I will cherry-pick the change.  Thanks again for all your effort!

@slandelle I added fast paths for the case of one cookie to the server code too, PTAL. (The code is pretty straightforward, except in the case of Iterable, which is a little more complex.)
@normanmaurer I altered the commit message into the requested format, and signed the ICLA.
Thanks guys for your patience and feedback!

(Just made a couple of last minor changes -- improved a variable name and fixed a comment. I think I'm done with the patch now, unless you have other suggestions or requests.)

Also, I see that the milestone is set to 4.0.34.Final, but this patch is against HEAD, which I assume is 5.0. Do I need to also prep a patch for the 4.0 branch, or will you do that?

@lukehutch Norman will cherry-pick on the different branches

Cherry-picked into 4.0 (4154ea08f9293bdd6eca6bbb3c7d9c649c08c1c8), 4.1 (4978266d52a90252ae00b40894a4398292830d7f) and master (13af429e150ee62808541f2b1e8143c54f64d0ad)

@lukehutch thanks for the PR... @slandelle thanks for review

Thank you @normanmaurer and @slandelle for all your feedback, and sorry for the bumpy ride, it was a good learning experience!

@lukehutch @normanmaurer Thank you. That's how open source should work :)


NtWriteVirtualMemory x86 - not working

does not want to work in any NtWriteVirtualMemory x86
NtReadVirtualMemory works good

If you're certain NtReadVirtualMemory works fine, why would you think something is wrong with NtWriteVirtualMemory? Did you check the NTSTATUS of each syscall? Seems like whatever you're trying to write to isn't writeable. So you might need to use NtProtectVirtualMemory before NtWriteVirtualMemory. You could also try using WriteVirtualMemory which removes and restores the protection automatically.

If you're certain NtReadVirtualMemory works fine, why would you think something is wrong with NtWriteVirtualMemory? Did you check the NTSTATUS of each syscall? Seems like whatever you're trying to write to isn't writeable. So you might need to use NtProtectVirtualMemory before NtWriteVirtualMemory. You could also try using WriteProcessMemory which removes and restores the protection internally.

You are right, write protection has been set, thank you for the prompt response!


refactor: rename "blob_gas_price" to "blob_base_fee"

Motivation
According to https://github.com/paradigmxyz/reth/issues/6330, blob_gas_price should renamed to blob_base_fee.

Solution
A minor update.

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Breaking changes

@mattsse PTAL

@mattsse is this still being considered?

the spec is blobGasPrice, which is in line with other *Price fields of the receipt, so we can close this


bazel-watcher: fix darwin build

https://hydra.nixos.org/build/274346443/log/tail
ZHF: #352882

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[X] 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.

@ofborg build bazel-watcher bazel-watcher.passthru.tests

To fix tests following should help
diff --git a/pkgs/development/tools/bazel-watcher/default.nix b/pkgs/development/tools/bazel-watcher/default.nix
index 70c20550ec6c..429d5a7a051d 100644
--- a/pkgs/development/tools/bazel-watcher/default.nix
+++ b/pkgs/development/tools/bazel-watcher/default.nix
@@ -30,7 +30,7 @@ buildGoModule rec {
   subPackages = [ "cmd/ibazel" ];

   passthru = {
-    tests.version = testers.testVersion { package = bazel-watcher; };
+    tests.version = testers.testVersion { package = bazel-watcher; command = "ibazel version"; };
   };

   meta = with lib; {

@ofborg build bazel-watcher bazel-watcher.passthru.tests


Scroll box widget

Adding a very simple ScrollBox widget

(also the bar disappear if there is no content clipped) (Color scheme not up to date, the new one is lighter)
At the moment, the ScrollBar is being recalculated every frame.
It's far from being efficient, but I don't know how to react to UI being resized.
I recon we could refresh on scroll and windows resizing event, but there's still cases were it might break (e.g pane_layout resize)
The point of this PR is mainly to have a unique implementation, that everyone can use now

Reopening, with a cleaned history, but it's the same

Bevy recently gained some built-in support for scrolling. See Overflow::scroll_y() and ScrollPosition. We can make use of that here :)

Actually this is not ready yet :D
While changing the spawn method to allow creating child into the ScrollBoxNode (content) (🤔 I should rename that)
I stumble upon couple of issues:
1- it scroll no matter where the cursor is. And adding an Active tag on over/out is tricky because the ScrollBox is beneath other UI element
2- Doesn't support multi ScrollBar, (crash)
So I'm gonna keep improving this when I got more time and let you know when it's done :)

Features

no more crashes 🤞
Work in X/Y/Both axis
Use Overflow and ScrollPosition
Scroll bar doesn't disappear anymore if the size of the content is too small (query conflict)
Shift key + scroll, scroll the ScrollBox horizontally

Notes
The scroll bar handle aren't yet draggable
Scroll bar handle are still recalculated every frame (Update)

@Atlas16A You can merge it now, ain't perfect but the most important is there
Allow people to create scrollable content without having to do it themselves

@Atlas16A I recon you can merge it now, ain't perfect but the most important is there Allow people to create scrollable content without having to do it themselves

I really want this


Union not auto-fixed when inside generic

from typing import List, Union

stuff = List[Union[str, int]]

pyproject.toml config:
[tool.ruff]
target-version = "py311"
line-length = 100

select = [
    "I",  # isort
    "C4", # flake8-comprehensions
    "UP", # pyupgrade
    "F",  # pyflakes
    "E",  # pycodestyle
]
ignore = [
    "E501",  # line too long, handled by black
    "C401",  # generator syntax for sets vs always force set comprehension
    "PLC0414",  # allow explicit re-exports using 'as' without forcing __all__
]

Running ruff --fix test.py on this produces:
from typing import Union

stuff = list[Union[str, int]]

So the List -> list is good, but I would expect to autofix to:
stuff = list[str | int]

Current ruff --version is ruff 0.0.239.

Just as a sanity check, I confirmed this is autofixed correctly:
from typing import Union

another: Union[str, int] = "hello"

is autofixed to:
another: str | int = "hello"

This was changed intentionally but I have to look back to remember why. Maybe we're being overly timid.

#1563 was the relevant PR.

Nice! Great fix!


Postgres Account specifically for deleting stuff

I guess this implies having

One programmatic account for oSparc
One account for manually viewing the DB
One account for manually deleting/modifying the DB

Suggested by @sanderegg

wontfix


Fix cast AIOB error

Original row.set(row.fieldCount(), targetDataType, null); will surely cause AIOB error since row.fieldCount() number is out of bound.

This change is

Need add this to integration test case.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Checking that first letter is a character.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

Updated validations.py python script.
Pull request for lab 4

@googlebot I signed it!


proxy.golang.org: pulling @master through proxy does not update @latest for some time

What version of Go are you using (go version)?

$ go version
go version devel +1cd724acb6 Tue Feb 18 20:21:35 2020 +0000 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/tmp/tmp.C9u9E1WtXh/bin"
GOCACHE="/home/myitcv/.cache/go-build"
GOENV="/home/myitcv/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/tmp/tmp.mUJezyZXP9"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/myitcv/gos"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/tmp/tmp.C9u9E1WtXh/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build018847515=/tmp/go-build -gno-record-gcc-switches"

What did you do?
As of:
$ date
Sun 23 Feb 20:12:11 GMT 2020

github.com/myitcvscratch/main2@latest resolves to v0.0.0-20200223195030-0e559444dd31 whereas github.com/myitcvscratch/main2@master resolves to v0.0.0-20200223200030-a2adf1d5f0a7
According to the docs on proxy.golang.org (which match my understanding), after a minute the cache should have expired to update @latest, but I did not see this.
Only some time (I checked 15 mins) later did @latest update.
Was I just being too impatient here, has the cache time increased, or was there an issue?
cc @heschik @hyangah

From proxy.golang.org:

I committed a new change (or released a new version) to a repository, why isn't it showing up when I run go get -u or go list -m --versions?
In order to improve our services' caching and serving latencies, new versions may not show up right away. If you want new code to be immediately available in the mirror, then first make sure there is a semantically versioned tag for this revision in the underlying source repository. Then explicitly request that version via go get module@version. After one minute for caches to expire, the go command will see that tagged version. If this doesn't work for you, please file an issue.

The synchronization you're talking about only works for semantic versions, because you can't tell whether a pseudoversion is a valid @latest by looking at it. We had a go command feature to do that but it was too expensive so we reverted it.

We had a go command feature to do that but it was too expensive so we reverted it.

Ah thank you. I had missed/forgotten about this revert. Thanks for clarifying.
I don't think there's anything else to investigate here therefore, so I'll close.


Use favicon.ico as default icon

At the moment the icon property has to be set for the notification to show. A sensible default value would be favicon.ico.

Nice idea. I'll take a look at that but will only have time next week.

check version 1.0.6 which has your requested default.
Hope it works good for you.
//defaults the notification icon to the website favicon.ico
if (!options.icon) {
  options.icon = document.location.protocol + '//' + document.location.host + '/favicon.ico';
}

Excellent. Thanks!


终端窗口出现字符不可见

终端里只能显示部分字符

Same issue. I have installed the iOS 15 beta, I don't know if it depends on this.

https://testflight.apple.com/join/EgZ8sE2P


New project structure and build scripts (#11)

Remake of #11

This PR while OK, cannot be merged because the images are built in an internal Azure Pipelines infrastructure that needs to be updated, then tested with these changes.

@brunoborges - will need a rebase

@brunoborges - do you want to rebase or drop this PR?