When org.gradle.caching=true is used in gradle.properties, the cache from Gradle User Home grows indefinitely as the number of CIs grows

Using org.gradle.caching=true in gradle.properties will cause the cache from Gradle User Home to grow indefinitely as the number of CIs grows, possibly exceeding the maximum size of the cache allowed by Github Actions.
like
Entry: Gradle User Home
    Requested Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-93312a07143c9f7eb998fe6b007c7ba7c3b1209a
    Restored  Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-7e6e1f6f1434a2358bc56b6663957bf3f56cf3a1
              Size: 184 MB (192907747 B)
              (Entry restored: partial match found)
    Saved     Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-93312a07143c9f7eb998fe6b007c7ba7c3b1209a
              Size: 282 MB (295406751 B)
              (Entry saved)

Entry: Gradle User Home
    Requested Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-fbafadfd98a3507d4feb7d1e20591b545d2e49de
    Restored  Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-93312a07143c9f7eb998fe6b007c7ba7c3b1209a
              Size: 282 MB (295406751 B)
              (Entry restored: partial match found)
    Saved     Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-fbafadfd98a3507d4feb7d1e20591b545d2e49de
              Size: 382 MB (401055907 B)
              (Entry saved)

Entry: Gradle User Home
    Requested Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-c8dab6a88fa7175b254d3f475c959a7c6d3eba96
    Restored  Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-fbafadfd98a3507d4feb7d1e20591b545d2e49de
              Size: 382 MB (401055907 B)
              (Entry restored: partial match found)
    Saved     Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-c8dab6a88fa7175b254d3f475c959a7c6d3eba96
              Size: 394 MB (413234758 B)
              (Entry saved)

Entry: Gradle User Home
    Requested Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-0190fc07bdc74289a4e16d53fb045e16d9ba81a3
    Restored  Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-c8dab6a88fa7175b254d3f475c959a7c6d3eba96
              Size: 394 MB (413234758 B)
              (Entry restored: partial match found)
    Saved     Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-0190fc07bdc74289a4e16d53fb045e16d9ba81a3
              Size: 415 MB (435415277 B)
              (Entry saved)

Entry: Gradle User Home
    Requested Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-a17b2544947fe6842b298e3da8d4565095e58c3b
    Restored  Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-0190fc07bdc74289a4e16d53fb045e16d9ba81a3
              Size: 415 MB (435415277 B)
              (Entry restored: partial match found)
    Saved     Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-a17b2544947fe6842b298e3da8d4565095e58c3b
              Size: 428 MB (449304561 B)
              (Entry saved)

Entry: Gradle User Home
    Requested Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-f4826ea727387f366d979df17de9e244564a40e5
    Restored  Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-a17b2544947fe6842b298e3da8d4565095e58c3b
              Size: 428 MB (449304561 B)
              (Entry restored: partial match found)
    Saved     Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-f4826ea727387f366d979df17de9e244564a40e5
              Size: 442 MB (463148968 B)
              (Entry saved)

Entry: Gradle User Home
    Requested Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-a0fe6f0d7d1f0bfe5073f3d475a5d93e4888b65e
    Restored  Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-f4826ea727387f366d979df17de9e244564a40e5
              Size: 442 MB (463148968 B)
              (Entry restored: partial match found)
    Saved     Key : v6-gradle|Linux|linux[37a6259cc0c1dae299a7866489dff0bd]-a0fe6f0d7d1f0bfe5073f3d475a5d93e4888b65e
              Size: 442 MB (463150433 B)
              (Entry saved)

You're correct: Unused build cache entries are only removed by Gradle after 7 days, and this action doesn't do anything special to force the cleanup of these unused files in the Gradle User Home before saving it to the GitHub Actions cache.
Since Gradle doesn't currently provide any proper mechanism to force this cleanup, I have implemented experimental support by setting various file timestamps in this PR. I hope to soon merge that PR as an opt-in feature.

Closing as superseded by #406


feat: add native ad

resolve #26
iOS

android

@amondnet - We appreciate your PR, however, we will only support manual native ads integration method (Android docs, iOS docs) as opposed to the template integration method (Android docs, iOS docs), which we've added support here: https://github.com/AppLovin/AppLovin-MAX-Flutter/pull/96.


Fix double cancellation behavior and a timer leaked on the runloop

Coverage increased (+0.01%) when pulling af09c994af185327e141f374559f67d2e3d5ce72 on double-cancellation into 00417efecbac89986fead6ad807a4f42540ec86f on master.


Update Sphincs Example.ipynb

The signature and the message values were swapped on sphincs.verify()

Thanks for you report, I have indeed swapped the signature and the message during the class merging. But the function sphincs.verify() is defined as: verify(self, sig, m, pk) and works with m the message and sig the signature. You might have mistaken this function with sphincs.spx_verify() defined as spx_verify(self, m, sig, public_key) which is not supposed to be used by the user. For more clarity I might then change the former function with the same order.


(hack) Add YAML plan 'prompt' step

This adds a new YAML plan prompt step, which can be used to prompt the
user for input.

YAML plan prompt step
YAML plans now support a prompt step, which can be used to prompt
the user for input.

Blocked by #2713 and #2714

Sweet I think this is ready for a rebase-arooni

Oh woops - it looks like there's an extra Add default values commit.


Issues getting the bot to work initially

Please tick all applicable boxes.

[x] I am using Python 3.5 or higher (run python --version on the command line)
[x] I have followed the official guides to install the bot for my system
[x] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[x] The latest master version (1.9.7)
[ ] The latest review version

What type of issue are you creating?

[ ] Bug
[ ] Feature request
[x] Question

Description of issue
I have two issues, issue 1

and issue 2

Both still happen when running as an admin, not entirely sure what I've done wrong
Log file
Please attach your MusicBot log file (located at logs/musicbot.log) to this issue. You can do so by dragging and dropping the file here. If you do not include your log file, you WILL be asked to provide one.
musicbot.log

Run the update file

O wait didn't see the second screenshot, please uninstall python 3.7 and install 3.5.4

that worked perfectly, thanks!


Tracking PR (don't merge) - Modularize Tests

@jonathanong Hm so, modifying the things w/ context's tests seems to mess things up w/ Travis (in a way that's really hard to debug- see build error)... but not w/ npm test on my local.
Your tests failed earlier when mine didn't so if you don't mind, could you run it again to see what the result is on this commit 7968d3c? I'll try to make some assumptions from there to figure out what's wrong.

Hm so even with const context = require('.') swapped out for const context = require('./index.js'); across test/context/*.js and require('../context') swapped w/ const context = require('../context/index.js') throughout test/, Travis seems to fail on first request (via make test-travis) so I don't think it's any issue of mismatching process.cwd() w/ shorthand '.' path in Node.

yeah super weird... not sure what's going on. after a few tries, it starting working locally for me too, but not test-travis. might be some coverage thing that's going on.

@jonathanong lol yeah, all up to the last commit, it didn't work on first try for me either w/ npm test. then, i changed some things and tried again... and boom, it started working. then, i started questioning how those changes made it work but couldn't get it back to failing with npm test and w/ make test-travis the error is vague... failing on first req.

@jonathanong passing! @ljharb helped me nail it in IRC. we were making tests run test/context/index.js since that was previously not in the context/ dir https://github.com/tejasmanohar/koa/blob/modularize_tests/Makefile#L8
after realizing that test/context.js is not actually a test... i decided to retract the commit and push back to my branch. travis now passes everything fine. i put the context file in helpers/ dir instead. sorry for force push there... shouldn't have done that.
anyways- thoughts on new layout?

:+1: i will try to look at this tomorrow!

nocie


Taiwan is not a Country

Bug Report
Steps
A clear and concise description of steps to reproduce the problem.
Expected Result
The result that you expected.
Actual Result
The actual result that happened 💣
Version
x.y.z
Testcase

We use Semantic UI CSS to get values (https://semantic-ui.com/elements/flag.html), once it will be updated we will make same changes. There are similar discussion: https://github.com/Semantic-Org/Semantic-UI/issues/4849
You can create this issue in the main repo.


Video Tutorial

when you get time, can you upload video tutorial on implementing this project.

i finally applied it so now don't need


Fix illegal access warning when running gradle -version

Well, it only fixes a tiny part of the problem, but the part that most people complained about. See my comment on #6725


Benchmark to run all included named controls only once

Is your feature request related to a problem? Please describe.
I want to use this mod to scan a multitude of AWS accounts and post-process the results with my custom tools.
Currently, I would have to run all benchmarks (as I would not assume to have all included queries inside a specific one) or do some scripting around that. Running all benchmarks creates a deeply nested file (JSON in my case) which is hard to parse.
Describe the solution you'd like
I would like a "benchmark" grouping all the controls, resulting in coverage of included controls and a shallow report (ideally 1 layer, no nesting).  I do not need any tags or docs for my task, as this is supplied on another level.
Ideally, steampipe check benchmark.aws_all_controls --export account.json  or something like that
Describe alternatives you've considered

Executed all benchmarks and did some serious JSONPath wrangling (maintenance issue)
Checking if the conformance_pack can be used standalone (did not find a way)
Thinking about if I should script creating a temporary benchmark on top of checked-out code (feels dirty)

Additional context
This is part of a multi-tool aggregation of security posture, which enriches the results with more metadata and expert feedback.

@tecracer-theinen If I understand correctly, is your main request around producing a smaller/more focused output? Do any of the other output formats work well for where you're exporting the data to, or is JSON the best form?
@judell I know you have done some experimentation with local mods in terms of grouping benchmarks/controls from a mod into a custom benchmark structure. Do you think something like that could work well here?

@tecracer-theinen  As you mentioned, you could create a benchmark for this with a script. The introspection tables make this fairly simple, something like:
controls=$(steampipe query "select resource_name from steampipe_control" --output csv --header=false)

echo benchmark \"all_controls\" {
echo  title         = \"All AWS Compliance Controls\"
echo  children = [

for c in $controls; do
  echo control.$c,
done

echo   ]
echo }

@tecracer-theinen Another option might be to create a custom output format?  https://steampipe.io/docs/develop/writing-control-output-templates

@tecracer-theinen perhaps also of interest: if you run all controls once you will wind up running some queries more than once since controls belonging to different benchmarks may share a common underlying query.
Here's a way to deduplicate:
with controls as (
  select
    (regexp_matches(source_definition, 'query\.([^\.]+)'))[1] as query,
    resource_name as control
  from
    steampipe_control
  order by
    query
)
select distinct on (query)
  'steampipe check control.' || control as check_command
from
  controls

Without the distinct on (query) you get 467 commands, with it you get 245.

Not to hijack, but may be better / simpler to use the steampipe_reference table instead of parsing the source_definition:
 select distinct on (r.reference_to)
    c.resource_name
  from steampipe_control as c
  left join steampipe_reference as r
    on concat('control.',c.resource_name) = r.reference_from
  where
    reference_to like 'query.%'

Hi @tecracer-theinen , we currently don't have any plans to introduce a way to run all unique controls only once. I believe the solutions that @judell and @johnsmyth have provided should help with your use case though. If you have any other questions, please let us know in this issue, or in a new one. Thanks!


Are the 6k action words available?

I wonder if the 6k actions are available. Thank you

We require an internal discussion to make a decision. We will provide you with an update shortly.


Retire unneeded check for alloca.h

Portable usage of alloca(3) requires <stdlib.h>.
Currently there are no users in CoreRT.

LGTM


Support aeson's omitNothingFields

Hi @carymrobbins! Is there a chance you would look at this PR?

Yes, ideally I'll be able to release it today.

Great!


Decode Actors for SWADE

The Core SWADE system (swade) in Foundry VTT has packs named:
action-cards
edges
hindrances
skills
The SWADE Core Ruleset Premium module (swade-core-rules) as packs named:
swade-bestiary
swade-edges
swade-equipment
swade-hindrances
swade-macros
swade-powers
swade-rules
swade-skills
swade-tables
swade-vehicles
Both use the the sample template, %userdata%systems/swade/template.json
Note that "Adventure Edition" is a purchasable option for Hero Lab.

Implemented for the HL basic Savage Worlds game system on 0.5.0
It has not tested with the Adventure Edition add-on since I don't own it (yet).


Reverse-Routing – Index Urls of entities

In the readme the urlis mentioned in the attributesToIndex
attributesToIndex = {"name", "description", "url"},

Is there any generator for reverse-routing a url?
I didn't find a way to do this and don't want to inject the container or something into my entities for that.

@psren No there is no way to do that automatically. You need to have a custom method method getUrl on your model and index it in Algolia


Refactor pages to be testable

Describe what needs to be refactored
The files in the pages directory must be refactored to be more easily unit testable. This means breaking larger widgets into smaller widgets where possible and exposing Firebase instances to test them with mocks.
Suggest possible ways in which the project could be refactored
We will need to break widgets down into testable units. We will also need to expose any API that must be mocked.
Additional information

[x] start_page
[ ] login_page
[ ] master_page
[ ] signup_page
[ ] user_calendar_page
[ ] user_screen
[ ] user_splash_screen
[x] group_page
[ ] forgot_password_state
[ ] forgot_password_page
[ ] calendar_page

pages are ready to test


Unraid

Feature Description
Is there any chance you can add this to unraid or advise how? I would love to use this app.
Solution you would like
No response
Alternatives you have considered
The alternative is FMD2 download but it stalls all the time and can never use it.
Additional context
No response

I don't have any experience with unraid. Any help would be appreciated.

Unraid in a nutshell:
https://en.wikipedia.org/wiki/Unraid

It's actually not too difficult with the Unraid Docker Compose Manager (Plugin).
See here: https://forums.unraid.net/topic/114415-plugin-docker-compose-manager/
General usage: https://docs.ibracorp.io/docker-compose/docker-compose-for-unraid
Only minimal configuration changes are required:
Install the Docker Compose Manager on Unraid. After the install, navigate to the "Plugins" tab on your Unraid host > Click on the icon on the left of the Compose.Manager > Hit "Add new stack" > Give it a name (e.g. Kaizoku) > Click ok > Now click on the cog to the left of the name you gave the stack > Click edit stack > Click compose file > Copy and paste it and then change the relevant parts if necessary.
Note: You can also provide the variables via an env file but for simplicity’s sake I kept it in one file here. See the comments below for some changes.
version: '3'
volumes:
db:
redis:
services:
app:
container_name: kaizoku
image: ghcr.io/oae/kaizoku:latest
environment:
- DATABASE_URL=postgresql://kaizoku:kaizoku@db:5432/kaizoku
- KAIZOKU_PORT=3000
- REDIS_HOST=redis
- REDIS_PORT=6379
# Set Unraid permissions here
- PUID=99
# Set Unraid permissions here
- PGID=100
# Set your timezone here
- TZ=Europe/Istanbul
volumes:
# Define the location of your library
- /mnt/user/data/:/data
# Define the location for the config files
- /mnt/cache/appdata/kaizoku:/config
# Define the location for the logs. I use a subfolder within the share above
- /mnt/cache/appdata/kaizoku/logs:/logs
depends_on:
db:
condition: service_healthy
ports:
- '3000:3000'
redis:
image: redis:7-alpine
volumes:
# Define the location on the Unraid host
- /mnt/cache/appdata/kaizoku_redis:/data
db:
image: postgres:alpine
restart: unless-stopped
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U kaizoku']
interval: 5s
timeout: 5s
retries: 5
environment:
- POSTGRES_USER=kaizoku
- POSTGRES_DB=kaizoku
- POSTGRES_PASSWORD=kaizoku
volumes:
# Define the location on the Unraid host
- /mnt/cache/appdata/kaizoku_pgdata/data/:/var/lib/postgresql/data
After everything looks good hit "Save Changes". On the next window "Edit Stack UI Labels" just click ok. Click "Compose up" next to your stack. Wait until all containers are pulled and close when the window shows "Connection Close" in the middle. Be patient as it takes some time until everything is ready. Change to the Docker tab on your Unraid host. You should three new containers.
Navigate to the IP:3000 (as shown under port mappings for the kaizoku docker) in a browser and you should be able to access the webui. Finally, you have to update the stack via the Plugins > Compose.Manager Icon > "Update Stack" Button.

When you first start, you create a library. You need to give /data as the path. Chapters are downloaded to this path. If it is empty, there may be a permission issue

When you first start, you create a library. You need to give /data as the path. Chapters are downloaded to this path. If it is empty, there may be a permission issue

Thanks for the quick reply. Yeah, I was just about to change my comment as I figured it out. Was using a wrong path there. Thanks anyway and great work!

Making this available for Unraid via Community Applications would be neat, but since kaizoku doesn't run AIO, it wouldn't actually be a simple 1 click install for Unraid users like they are used to as you'd have to configure a postgres and redis docker too.
Could always make 3 apps available with all the settings ready to go for kaizoku, postgres and redis though.
Anyway, for anyone wondering how to set this up on Unraid, here's screenshots for my current setup:
Postgres:

Redis:

Kaizoku:

For the Kaizoku container, the full path I use for DATABASE_URL is: postgresql://kaizoku:kaizoku@<IP_ADDRESS>:5432/kaizoku but this can vary based on how you do your networking.

Making this available for Unraid via Community Applications would be neat, but since kaizoku doesn't run AIO, it wouldn't actually be a simple 1 click install for Unraid users like they are used to as you'd have to configure a postgres and redis docker too. Could always make 3 apps available with all the settings ready to go for kaizoku, postgres and redis though.
Anyway, for anyone wondering how to set this up on Unraid, here's screenshots for my current setup: Postgres:  Redis:  Kaizoku:  For the Kaizoku container, the full path I use for DATABASE_URL is: postgresql://kaizoku:kaizoku@<IP_ADDRESS>:5432/kaizoku but this can vary based on how you do your networking.

Also really nice! Thanks. I've started downloading some mangas and it seems to inflate my docker image. Checking the container size on the Unraid Docker tab shows that it is indeed the kaizoku docker (not the db or redis) that is increasing. It has grown to over 12GB. Did you experience the same? I'm not sure what I've mapped incorrectly but something seems to write in the docker image.
@oae Is the growth of the docker image expected to some degree? I've looked at the bull backend and the job queues and was wondering whether this information is taking up some or most of this space? I also can't clear the queues since hitting the "Clean all" buttons on the FAILED and COMPLETED tabs on the Bull Dashboard only shows me an internal server error. Interestingly, I can clear individual jobs over the icon on the right side of a job. Any idea what is happening there?

Yeah mine is sitting at 9.97GB.
This is due to this folder inside the docker: /tmp/rod/user-data
I have no idea what this folder is, and I've not mounted it anywhere as I'm scared of breaking things.
My only theory is that it is some cache directory for headless chromium, but that is just pure guesswork. It isn't the mangal cache at least.

Mine is at 552MB. I don't know why it is getting too big. But I believe you can remove it. I have recreated my container many times, this didn't cause any problems.

Making this available for Unraid via Community Applications would be neat, but since kaizoku doesn't run AIO, it wouldn't actually be a simple 1 click install for Unraid users like they are used to as you'd have to configure a postgres and redis docker too. Could always make 3 apps available with all the settings ready to go for kaizoku, postgres and redis though.
Anyway, for anyone wondering how to set this up on Unraid, here's screenshots for my current setup: Postgres:  Redis:  Kaizoku:  For the Kaizoku container, the full path I use for DATABASE_URL is: postgresql://kaizoku:kaizoku@<IP_ADDRESS>:5432/kaizoku but this can vary based on how you do your networking.

I have followed your guide and when i click the webui i get refused to connect?

I got it to work but it's not let me save any of my settings when I change them?

Sounds like a mapping/permission problem. Have you tried restarting the container and applying the settings then?
FYI have you checked the permissions of your kaizokua folder in Unraid (mnt/user/appdata/kaizoku)? I'm using it with the top level folder (kaizoku) belonging to the user/owner nobody and the following permissions drwxr-xr-x  (chmod 755). The same goes for the owner/permission settings for the subfolders (.config, .cache, logs, tmp; not .pki which also belongs to nobody but uses drwx------).

I got it to work but it's not let me save any of my settings when I change them?

Sounds like a mapping/permission problem. Have you tried restarting the container and applying the settings then?
FYI have you checked the permissions of your kaizokua folder in Unraid (mnt/user/appdata/kaizoku)? I'm using it with the top level folder (kaizoku) belonging to the user/owner nobody and the following permissions drwxr-xr-x (chmod 755). The same goes for the owner/permission settings for the subfolders (.config, .cache, logs, tmp; not .pki which also belongs to nobody but uses drwx------).

question, all i did was change the network. Now when i restart the container. nothing will save. is that still a permission issue?

You should set up your library as instructed here https://github.com/oae/kaizoku/issues/38#issuecomment-1325247969


refactor: archiver store & synch

Please read contributing guidelines and remove this line.

Benchmark results
Metrics with a significant change:

node_database_size_in_bytes (10): 3,576,728 (-33%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit fd1f619f and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
221,004
866,288
3,446,312

l1_rollup_execution_gas
934,148
3,968,762
24,789,848

l2_block_processing_time_in_ms
1,381 (-10%)
5,112 (-1%)
20,450 (-4%)

note_successful_decrypting_time_in_ms
315 (-8%)
951 (-1%)
3,466 (-1%)

note_trial_decrypting_time_in_ms
22.5 (-57%)
76.2 (-17%)
142 (+1%)

l2_block_building_time_in_ms
14,866 (-1%)
59,050 (-1%)
237,267

l2_block_rollup_simulation_time_in_ms
10,488 (-1%)
41,626 (-1%)
168,159

l2_block_public_tx_process_time_in_ms
4,342 (-1%)
17,256
68,832 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,059 (-1%)
28,542 (-2%)

note_history_successful_decrypting_time_in_ms
2,224 (-3%)
4,336 (-5%)

note_history_trial_decrypting_time_in_ms
127 (-19%)
179 (-20%)

node_database_size_in_bytes
3,528,995 (-3%)
:warning: 3,576,728 (-33%)

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
212 (-1%)
44,681
25,561

private-kernel-ordering
165 (-1%)
43,753
14,809

base-rollup
1,064
128,338
881

root-rollup
80.4 (-2%)
4,088
709

private-kernel-inner
292
71,208
25,561

public-kernel-private-input
205
31,863
25,561

public-kernel-non-first-iteration
203
31,905
25,561

merge-rollup
8.28 (-1%)
2,608
881

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
8192 leaves

batch_insert_into_append_only_tree_ms
11.1
16.1 (-4%)
13.8 (-1%)
17.9 (-1%)
23.8
49.9 (-1%)
76.7 (-1%)
241 (-1%)
473
915
3,547 (-1%)

batch_insert_into_indexed_tree_ms
N/A
N/A
N/A
63.7 (-3%)
N/A
59.3 (-2%)
112 (+1%)
359 (-1%)
737
1,405 (-1%)
5,553 (-1%)

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,455
32,224

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
388 (+3%)
1,084

Metric
1 public data writes

tx_sequencer_processing_time_ms
535


Fail to create image xrv9k 7.10.1

Tried creating a docker image based on xrv9k-fullk9-x-7.10.1.qcow2 and I'm getting the following below. Could you help me with this ?
~/vrnetlab/xrv9k$ make docker-image
for IMAGE in xrv9k-fullk9-x-7.10.1.qcow2; do \
        echo "Making $IMAGE"; \
        make IMAGE=$IMAGE docker-build; \
done
Making xrv9k-fullk9-x-7.10.1.qcow2
make[1]: Entering directory '/home/ismael/vrnetlab/xrv9k'
rm -f docker/*.qcow2* docker/*.tgz* docker/*.vmdk* docker/*.iso
ERROR: Incorrect version string (xrv9k-fullk9-x-7.10.1.qcow2). The regexp for extracting version information is likely incorrect, check the regexp in the Makefile or open an issue at https://github.com/plajjan/vrnetlab/issues/new including the image file name you are using.
make[1]: *** [../makefile.include:25: docker-build-common] Error 1
make[1]: Leaving directory '/home/ismael/vrnetlab/xrv9k'
make: *** [../makefile.include:9: docker-image] Error 2

Yeah, bad regexp. It's because of the 10 in 7.10.1. Current regex only allows single digits. I wrote a patch, see #333.


Publish to HACS

Please publish your work to hacs
https://hacs.xyz/
I had to search using google and github search engine to find your project, which is annoying. (In other words, sangat leceh)
By publishing to HACS you will get better discovery and easy installation, management and updates for the end user as i will always search HACS first when I want to add something to my Home Assistant. I already manually added the Jakim API to my own HA setup and created my own sensors and automations, so I don't need to use your addon anymore but it was a lot of work. If only I found your addon earlier I would have saved a lot of time testing and troubleshooting.
Not everyone in Malaysia uses Facebook, so i can't get my information from other Malaysians.

Salam,
Thank you for your feedback. As you've pointed to publish at HACS for discovery and installation, unfortunately it will unlikely to happened as this is not a custom integration addon. It is a YAML template that heavily uses Jinja and I have made it so it is very easy to install (with zero changes required to the template YAML). I'm sure you're able to tell the differences 😉
I can assure you that this ~addon~ template is not just published on Facebook, but also to other social media such as ~twitter~ X as well as video guide on YouTube. Some even reached out on Instagram (non-Malaysians) to seek guidance on how to use the template. We also have a telegram group should you consider joining ~ HA Malaysia
Perhaps if you insist in using HACS, I have published an AppDaemon App there. But it will not include automations or media player selections etc. Only prayer time sensors that are automatically created based on all available person entities in your HA. It will change the prayer time according to the GPS location of the person (as long as it is still within Malaysia).
If you keen to try, add this as your custom repo in HACS zubir2k/HomeAssistantEsolatGPS
Thanks again for your time and may this template be beneficial to those who find it useful. Insha'Allah.


edits

can we add new densblock and aslo can do edits in models like if we want to add like this
{ "name": "dense0/conv4/pointwise_filter", "shape": [1, 1, 32, 32], "dtype": "float32", "quantization": { "dtype": "uint8", "scale": 0.010322785377502442, "min": -1.4658355236053466 } },
or this
{ "name": "dense4/conv1/pointwise_filter", "shape": [1, 1, 512, 512], "dtype": "float32", "quantization": { "dtype": "uint8", "scale": 0.010322785377502442, "min": -1.4658355236053466 } },
here i want to add denseblock and conv when i add its shows me error...

Hi, Can you write the error context?

Hi, Can you write the error context?

Oh, I understood finally. this library is using tenserflow.js and TensorFlow needs parameters for that.
You are not passing enough parameters to TensorFlow. Visit this link ...
https://stackoverflow.com/questions/61381112/uncaught-error-based-on-the-provided-shape-1024-3-the-tensor-should-have-30


Add TravisCI and coveralls integration

Copied with love from uberalls

@sandlerben

Is this to be expected?

lgtm


Cooperating with ConnectionEvents and publish limit publishing own events

Feature request:
If I publish my own events, and ConnectionEvents happens to also be publishing at the same time, then we could easily hit the publish limit. This is likely if the modem is being powered off and both ConnectionEvents and my own code are buffering events while offline.
It would be easy to cooperate with ConnectionEvents if the 3 guard conditions at the top of ConnectionEvents::loop where exposed as a method, something along the lines of ConnectionEvents::canPublish(). And to complete the circle there'd also have to be ConnectionEvents::published() which set connectionEventLastSent.

Good idea. I exposed canPublish() and publishedCompleted() in version 0.2.3.


setAudioStreamType Deprecated since API 26

https://github.com/zmxv/react-native-sound/blob/c7e933c184fed13b857e9e29da172341cbf6fcc1/android/src/main/java/com/zmxv/RNSound/RNSoundModule.java#L96

Hi, is there any fox to this? We cannot compile our app in 0.60  due to this. Thanks!

Any update on this issue?


How to use as a base image?

I'm trying to use this as a base image, and set different databases and users in my Dockerfile, but am having trouble accessing the files in mounted as VOLUME. Here's what I have:
Dockerfile
FROM postgres
VOLUME /var/lib/postgresql/data
ADD setup_db.sh /code/
RUN /code/setup_db.sh

setup_db.sh
#!/bin/bash

gosu postgres postgres
createdb mydb
# createuser myrole
# postgres stop

But when I try to build my image I get:
$ docker build --tag="pgdock" .
Sending build context to Docker daemon 17.92 kB
Sending build context to Docker daemon
Step 0 : FROM postgres
 ---> 2f007d4a5aa5
Step 1 : VOLUME /var/lib/postgresql/data
 ---> Using cache
 ---> ccfab417f4c2
Step 2 : RUN ls -l /var/lib/postgresql/data/
 ---> Using cache
 ---> c1194d442777
Step 3 : ADD setup_db.sh /code/
 ---> Using cache
 ---> d50b814fb7f9
Step 4 : RUN /code/setup_db.sh
 ---> Running in 233e6b4fe77b
postgres cannot access the server configuration file "/var/lib/postgresql/data/postgresql.conf": No such file or directory
createdb: could not connect to database template1: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
2014/08/24 15:39:35 The command [/bin/sh -c /code/setup_db.sh] returned a non-zero code: 1

Any advice?

The original issue here has been fixed.  (There could be documentation improvements for something like importing a pg_dump file, but that would be a separate issue.)


Prefer instances with declared tests to minimise #runs

@mpolden please review and merge.

(Eliminated a single system test run in the unit test :p)


evenBetterErrorMessages

This function allows you to write more specific messages.
validate: {
  failAction: Relish({
    messages: {
      'email': {
        email: 'Something...',
        min: 'Something with a {limit}...'
      }
    }
  }).failAction,
  payload: {

  }
}

Coverage decreased (-3.3%) to 96.739% when pulling 611cb2fe940b61c8f69b0892eeac4f7c4b8aa23c on marekkobida:master into 637ed9be9972ac27a42f26dfca93078146161bf4 on dialexa:master.


Use IPFS Repo

Following up on https://github.com/vijayee/ipfs-merkle-dag/pull/1

got a chance to continue working on this on the plane, still adding more stuff :) Also, confirmed with @whyrusleeping and the methods for addRecursive and removeRecursive are indeed deprecated in go-ipfs


Change pip install target to "tensorflow>=1.7" from "tensorflow --pre".

PiperOrigin-RevId: 193180815

Ignoring CLA since this is authored by tensorflow hub authors.


MM-19308 Fixed date wrapping

Summary
Updated the displayName to check for the reply button and bot tag. If seen the displayName container is set from 60% to 55% to allow for the extra space.
Ticket Link
https://mattermost.atlassian.net/browse/MM-19308
Checklist

[ ] Has UI changes - displayName container width goes from 60% to 55%

Device Information
This PR was tested on:
iPhone X 12.4 (Simulator)
iPhone Xs Max 12.3
Screenshots

Tested and looks good, except for one: on landscape, the display name is truncated even though there is enough space to fully render it (same case when viewed as flagged post).

Hey @saturninoabril, this was the current functionality beforehand. Should I update this item to adjust the landscape also? Here is a screenshot of landscape without my changes:

@imisshtml Thanks for checking.  I filed a separate ticket to address it - https://mattermost.atlassian.net/browse/MM-19708.  I'm good as is.

Closing and reopening the PR to re-trigger the build

Build is passing but with the previous job.


Pyinfra docs have examples with the wrong key name for ssh connector

Describe the bug
The examples at the top of the page for the @ssh connector documentation list the key name "ssh_username", but the documentation below that list "ssh_user" as the paramater to set to change the SSH user name. It would seem that "ssh_user" is the correct key name, per testing on my own setup.
To Reproduce
Visit documentation page for SSH connector, mismatch between examples and list of various key names that can be concfigured.
Expected behavior
Examples should list "ssh_name" instead of "ssh_username"

Nice catch @format997, updated to the correct ssh_user in https://github.com/pyinfra-dev/pyinfra/commit/00cefb06f458c6068c6e8ee43de0cda0c0c1cb4e.


Workflow edit to include validation set i.e. How to plot validation loss?

Hi there,
Thanks for an awesome framework!
The mmdetection documentation states that in order to get the validation loss during training, the workflow needs to include ('val', 1), as shown below:

However, when I try and train a model with this updated workflow I get the following error:
---> TypeError: forward_train() missing 2 required positional arguments: 'gt_bboxes' and 'gt_labels' .
A number of other issues have noted the same problem, these include:
#7871
#171
#271
#5694
#1093
Here is the config I am using: config (2).txt
Below is a screenshot of the error printout.

Any assistance would be greatly appreciated.
Many thanks,
David

Solved. Follow #7971 for the solution


typo

<3 love this idea <3

@lustig-bakkt beautiful. Also can you DM me your account number on Slack with a link to this PR? Every accepted PR gets rewarded coins 👍

@lustig-bakkt beautiful. Also can you DM me your account number on Slack with a link to this PR? Every accepted PR gets rewarded coins 👍

This PR doesn't deserve any coins! I'm just OCD about typos.
Rather than that, do you think you could take a peek at knophy? It's a project whose goals are very similar to yours, except directed more towards content aggregation in general. It's goal is to create a platform where creators AND consumers of content earn money for the content they take part in without ads, paywalls, subscriptions, or micropayments. I think it will also solve some of the crazy polarization on the Interwebs. I definitely think our visions align. Either way, glad to have you back. As many, you were an inspiration for me - even with your silly variable names 😜
I'd love to chat if you're interested. If not, no worries and thanks for putting together such a cool project!
Best,
Michael Lustig


Remove the requirement of docker

Describe the proposed feature and how it helps to overcome a problem or limitation
Remove the requirement of docker in our hosting guide.
Other information about your context or usecase.
Some members of our community use Windows and WSL2 was painful to install.
If known, describe how your proposal will work, with code, pseudo-code, mock-ups, or diagrams
Shift our development practices to avoid docker:

Avoid WSL2 on Windows 11
Avoid docker on Rocky Linux 8
Avoid docker on the Mac

Provide a single archive that allows the use of V-Sekai Uro, V-Sekai Godot Engine server and V-Sekai Godot Engine client.
Shift deployment to native technologies like systemd, launchd and Windows services.
Anything else
None.

Postponing.


is_valid does not allow lvalue references

https://github.com/mat007/turtle/blob/e92f52821da312c5e30b447c8046893e576aefca/include/turtle/detail/expectation_template.hpp#L207 makes it impossible to have functions taking e.g. const Foo& as this fails with
error: non-const lvalue reference to type '::boost::rv<const Foo&>' cannot bind to a value of unrelated type 'const Foo'
I guess that should just be regular params as per the signature?

Hi,
Do you have a sample code which fails? What compiler are you using?

Just mock a function bool handle(const Foo&) and pass it a reference (lvalue). Using C++98 obviously
But to be exact the code is invalid if I did not misunderstood it. Assume the above function as virtual in a base class (or just that this has to be mocked). Then the mock macro will create a wrapper handle_moc(const Foo& t){ ...; ...->is_valid(boost::forward<const Foo&>(t)); ...} and that is_valid is defined as is_valid(Foo&& a).
As can be seen is_valid only takes rvalue references although it should simply take whatever the mocked function takes. I even think the forward call is wrong:

handle(const Foo&) -> forwarded as const Foo&
handle(Foo&&) -> forwarded as Foo&&
handle(Foo) -> forwarded as Foo&&

Hence you are passing an instance (copy) as an rvalue, so consumers could move from it effectively destroying it. As only internal functions are called, this should not be a problem as they don't make use of that, but what if any of those internal functions decides to do valueCopy(forward(value)) and value is a smart pointer/vector...?
A possible bug is e.g. here: Values are forwarded to is_valid(https://github.com/mat007/turtle/blob/e92f52821da312c5e30b447c8046893e576aefca/include/turtle/detail/function_impl_template.hpp#L219)  and then again to functor if present (https://github.com/mat007/turtle/blob/e92f52821da312c5e30b447c8046893e576aefca/include/turtle/detail/function_impl_template.hpp#L239). Hence the 2nd call might receive a moved-from value!

This is even worse than I thought. There are many forward and move calls in there and I think almost all of them are wrong.
From my understanding:

The mocked function signature should match exactly the real function signature
Arguments processed from there shall be passed by reference only (either const, or non-const ref depending in const-ness of the param)
Only valid move would be the capture/receive function

Note that this happens in the is_valid call and hence will make a passed functor fail here https://github.com/mat007/turtle/blob/e92f52821da312c5e30b447c8046893e576aefca/include/turtle/detail/function_impl_template.hpp#L238
Hence the is_valid should NEVER alter its arguments and only receive them by const-ref
The capturing should happen in the functor instead

Thanks for diving into this @Flamefire !
I don't really mind deprecating support for 'old' stuff if this makes things simpler.
I honestly don't know if anyone still uses all that Boost move emulation, my take would be that it was merely during the transition phase when we played with move when it was first introduced…
Today if someone really wants move support they'll likely upgrade their compiler to at least C++11 instead of bothering with a partial move emulation.
So 1. looks appealing and simpler than 2. right?

The problem is that the current code is most likely not correct and definitely wrong in 1 place (possible use of moved from /forwarded value) so one need to (partially) do 2 anyway. Maybe correct usage of the types/moves already solved this problem too.

Would be a quick(er) fix but would prevent usage if e.g. boost::unique_ptr as rvalue in interfaces. Not sure if this is possible anyway

@mat007 I solved this in #59 now with a combination of both. All boost 1.58 tests pass in C++11 and 98 now. Need the singleton to pass for boost master but I assume it would.


Fix 5 min guide with respect to @njit decl.

As title. @njit was not used in the introduction, but it's such
a commonly used alias is should be defined on the first page!

Codecov Report

Merging #3526 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3526      +/-   ##
==========================================
- Coverage   80.69%   80.69%   -0.01%
==========================================
  Files         393      393
  Lines       80167    80167
  Branches     9121     9121
==========================================
- Hits        64694    64691       -3
- Misses      14056    14058       +2
- Partials     1417     1418       +1


resolves #299 Finish updating snapshot pipeline

#299

Updated to make snapshot publishing happen on a schedule OR manual dispatch instead of every push/commit to dev. This way renovate updates don't spam the github runners.


Bugfix: Guest Image

这个 PR 实现什么功能/修复什么问题:
'auto_start' 参数被PerformSaveGuestImage拦截了，没有传递给GuestSaveGuestImageTask。
是否需要 backport 到之前的 release 分支:
-release/2.12

/area region
/cc @wanyaoqi

Codecov Report

Merging #3507 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #3507      +/-   ##
=========================================
- Coverage    6.98%   6.98%   -0.01%
=========================================
  Files         498     498
  Lines       83164   83166       +2
=========================================
- Hits         5809    5807       -2
- Misses      76861   76864       +3
- Partials      494     495       +1

Flag
Coverage Δ

#aFlag
6.98% <0%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/guest_actions.go
0% <0%> (ø)
:arrow_up:

pkg/appsrv/response.go
66.15% <0%> (-3.08%)
:arrow_down:

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 1f61162...5e0ae98. Read the comment docs.

/lgtm
/approve


Opportunities are now full screen

Possible this happened when we merged the stretch panel on the index page?
E.g.
https://micro-acquisition.alpha.canada.ca/2021/05/24/wcag-21-implications-for-the-gc-and-wet-boew.html

Fixed.


Multiple minus operator precedence

console.log((6 - 4) - 2 === 0)
console.log(6 - (4 - 2) === 0)
The above two statements are compiled to coffee script as the same statements.  However the first should return true while the second should not.

good catch

Should land in 2.0.1 this week-ish. For now: js2.coffee/master


PhobosDBCheckpoint::EventsAPI

There does not seem to be an EventsAPI checked in or did I miss something?

It requires, at least, version 0.3.0  of phobos_db_checkpoint
https://github.com/klarna/phobos_db_checkpoint/blob/master/lib/phobos_db_checkpoint/events_api.rb
gemspec is wrong, it should require phobos_db_checkpoint

Closed, fixed in v0.3.0


Simple XSD entry for

This will enable IntelliSense autocompletion for this attribute when
editing project files in Visual Studio. Closes #1923.

@AndyGerlicher any idea why WriteLinesWriteOnlyWhenDifferentTest would fail? https://ci2.dot.net/job/Microsoft_msbuild/job/master/job/innerloop_Windows_NT_CoreCLR_prtest/4/testReport/junit/Microsoft.Build.UnitTests/ReadLinesFromFile_Tests/WriteLinesWriteOnlyWhenDifferentTest/

@dotnet-bot test Windows_NT Build for CoreCLR please


🧑🎨  Create Technical Design for GitHub Collaborators

👀 Purpose

To agree on a technical design for GitHub Collaborators

✅ Definition of Done

[ ] Agreed on a technical design for GitHub Collaborators that will meet the requirements (see below)

📓 Notes

Agreed Value Statement of GitHub Collaborators:

Periodic reviews of outside collaborators by a named, MoJ Civil Servant to increase security posture by ensuring third-party contributors still require access to MoJ code

Features:

Required:

Invite new collaborators to a repository
Have a named MoJ Civil Servant to periodically review the outside collaborator access
Remove collaborators x months after their last review date

Nice to have:

Add new collaborator via Issue Template in GitHub
Notify named MoJ Civil Servant that they need to review an outside collaborator before they expire
Allow flexible periods for a next review
Allow for reasons a collaborator needs access

Don't have:

Escalate requestor permissions within GitHub i.e. requestor cannot request access to collaborator access to a repository where they are not an admin
Enforce our code state to live state i.e. this is primarily an onboarding tool, not a live reflection of the live state

We also should consider options for collaborators that may not include a technical redesign, such as leaving the system as is, turning off the system, delegating administration etc.

🆙 Update

Created an Options Paper for GitHub Collaborators
Discussed as a team and agreed to delegate this responsibility to repository admins, and ultimately retire our current service
I have created two additional tickets to further this work: #5097 and #5098

👀 Remaining Work

All done 🥳


feat(Order/Interval/Finset/Nat): Icc_insert_succ_left, Icc_insert_succ_right

Add two more lemmas about inserting an element just before or after an interal in ℕ:
lemma Icc_insert_succ_left (h : a ≤ b) : insert a (Icc (a + 1) b) = Icc a b := by

lemma Icc_insert_succ_right (h : a ≤ b + 1) : insert (b + 1) (Icc a b) = Icc a (b + 1) := by

Thanks!
bors merge


Update workflow

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


VisualScript purpose might be misleading

https://github.com/Vivraan/godot-lang-support/blob/2fccfb9d68f47472cdbbbe7da0c3f25e50cd6019/README.md#L32
See my comment in https://github.com/godotengine/godot/issues/30915#issuecomment-664016434.
Compare reduz response:

Unlike Unreal, this is more meant as a complement to programmers, so game designers, level designers, etc. can work more easily.

I'm not quite sure about this statement, but I kind of doubt for this opinion to be outdated even in 2020.
The thing is that 99% of people do think VisualScript is indended for non-programmers in spite of this. So I'd just combine the two statements perhaps, because by now the community's effort is to make it easy-to-use even for non-programmers?
There are certainly engines which target "no coding required" philosophy, better than Godot IMO, of course they're more limited in comparison.

Just omitting the "non-programmers" part should do I guess.

I also added a summary of what I read in the thread you shared.

I think this should do it, closing but up for discussion of course, if you like. 🙂


impl sqlx::postgres::PgHasArrayType

This impl is necessary to use CompactString in newtypes

The failing check doesn't seem to relate to the changes

Ooof sorry this was missing, thank you for the PR!


The bot insults himself when added to a group

It was hilarious :smile:

Ahaha :joy:

Is this a feature or a bug? ;)

@rnestler and I agree that this is a feature :smile:


MQTT refactor and documentation

This PR follows #449 .
I've tried to change the minimum but make it a bit more consistent. This is a breaking change that will probably require a v2, but also the previous PR was breaking so I think it doesn't make much difference.
Now I have documented all the messages sent and received. The Home Assistant ones are not much documented as I'm not familiar with that. If @xyzroe wants to add something there it's more than welcome. Also a test on that side would be nice to see if anything broke.
With this only two topics remain (apart the HA ones): /send and /cmd. esp-rfid reads on /cmd and writes on /send. Not sure how idiomatic this is, but I tried to preserve some existing behaviour while giving a bit of consistency. If you have suggestions I'm more than welcome to change things.
Apart from removing duplication, the biggest changes are:

there's only one command to get the users, there were two before, but doing exactly the same thing
the name of the command to get the user is now getuserlist instead of getuser
the log messages now use hostname instead of door to specify esp-rfid hostname

I have a couple more PRs to send in the next few days, then I'm preparing all the changelog/docs to release a v2, which hopefully should come very soon! :)

The door opening command should be in the form '{cmd:''opendoor'',doorip:''<IP_ADDRESS>''}' in the current version, the control from the home assistant does not work, the rest seems to be in order

@matjack1 You are doing a good job that should be done.
I'm sorry I can't help you with this now.
Good luck and thank you for your work!


pre-trained models?

I am training the model on a new dataset. Would be great if I can fine-tune. Will pre-trained models be released?
Thanks.

@Spandan-Madan
I have upload some pretrained checkponints here.


Update commons-pool2 to version 2.4.3

https://issues.apache.org/jira/browse/POOL-303 is released and should fix #1158

@HeartSaVioR @marcosnils PTAL
PS: I'm not sure about milestone.

I'd rather avoiding dependency upgrade in bugfix version, but if it is necessary for fixing the bug, I'm OK with that.

Merged into master, 2.10, 2.9.

@sazzad16 @HeartSaVioR
Although I've already used Jedis2.9 with commons-pool 2.4.3 for standalone master/slave Redis in production environment,
I met another kind of connection stuck issue due to regression by POOL-303.
When the master node is down and many app. threads try JedisPool#getResource,
each thread waits in GenericObjectPool#borrowObject forever until pool is free.
There commons-pool's maxWaitMillis or Jedis's (connection/so)timeout have no effect.
That's why last invalid getResource takes too long time to abort the process.
I reported on commons-pool side at POOL-347.
Anyway, commons-pool 2.4.3 may relieve #1158 certainly but it makes behavior worse in master down.
I recommend to rollback this commit or wait for fixed 2.6.x for safe Jedis 2.9.1 release.


Unable to publish Node Azure Bot from Bot Framework Composer

Hi Team,
We have created a Node Azure bot and unable to publish in azure.. Please help on this.
"{"name":"DEPLOY_ZIP_ERROR","message":"There was a problem publishing bot assets (zip deploy). {\"stack\":\"Error: write EPIPE\\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:87:16)\",\"message\":\"write EPIPE\",\"code\":\"EPIPE\",\"config\":{}}","stack":"Error\n    at new CustomizeError (/Applications/Bot Framework Composer.app/Contents/Resources/app.asar.unpacked/extensions/azurePublish/dist/extension.js:276418:25)\n    at createCustomizeError (/Applications/Bot Framework Composer.app/Contents/Resources/app.asar.unpacked/extensions/azurePublish/dist/extension.js:276423:10)\n    at BotProjectDeploy.deployZip (/Applications/Bot Framework Composer.app/Contents/Resources/app.asar.unpacked/extensions/azurePublish/dist/extension.js:276954:13)"}"

"DEPLOY_ZIP_ERROR - There was a problem publishing bot assets (zip deploy). {"stack":"Error: write EPIPE\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:87:16)","message":"write EPIPE","code":"EPIPE","config":{}}"

Thanks,
Prashant

@pckyn,  could you please create an issue in Composer repo directly? https://github.com/microsoft/BotFramework-Composer/issues


runtime: namespace SmallVectorImpl for inline namespace

This adjusts the use of SmallVectorImpl to allow the runtime to use
inline namespaces for its local copy of LLVMSupport.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @mikeash @jckarter

@swift-ci please test

Instead of using an inline namespace, can we alter the Swift versions of these templates to live in the swift namespace rather than llvm?

The inline namespace is a prefix of __swift::__runtime::.  So the final qualified name is __swift::__runtime::llvm::ArrayRef etc.  The reason for the inline namespace is to avoid change all the sites.  This becomes more useful for the shared headers across the compiler and the runtime, where the namespace is going to remain llvm:: (unless we completely fork LLVM).

Going to merge this for now; if I've misunderstood what you were recommending, I can do the changes in a follow up.

"Change all the sites" is what I was trying to suggest. How prevalent do the affected types show up in shared runtime/compiler code? I'd be concerned about divergent behavior between Swift and LLVM causing really subtle hard-to-track-down problems. When we've vendored LLVM templates previously like TrailingObjects, we've intentionally re-namespaced them to make the distinction clear.


removes unused parameter to avoid compiler warning

Removes the name of unused parameter "bytes_transferred" to avoid compiler warnings.
Related issue #2152

Thank you!
On Sat, 27 Feb 2021 at 11:26, KnoerleMan<EMAIL_ADDRESS>wrote:

Removes the name of unused parameter "bytes_transferred" to avoid compiler
warnings.
Related issue #2152 https://github.com/boostorg/beast/issues/2152
You can view, comment on, or merge this pull request online at:
https://github.com/boostorg/beast/pull/2174
Commit Summary

removes unused parameter to avoid compiler warning

File Changes

M include/boost/beast/websocket/impl/ssl.hpp
https://github.com/boostorg/beast/pull/2174/files#diff-21bdb6926741f68c3ecfb56dc280206023f7ff9f2aef3fc73977c5b2473db31c
(2)

Patch Links:

https://github.com/boostorg/beast/pull/2174.patch
https://github.com/boostorg/beast/pull/2174.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/boostorg/beast/pull/2174, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHOZSJCHTPKIM6MVSRGB2TTBDCEJANCNFSM4YJZUVVA
.

--
Richard Hodges
<EMAIL_ADDRESS>office: +442032898513
home: +376841522
mobile: +376380212

Thanks for the PR. Community contributions are very much appreciated.
I have taken your commit, fixed the compile error and merged into version 308.
You are credited.
R


test(client): remove mirror

dart test, either in flutter or web browser, does not support mirror,
see https://github.com/dart-lang/sdk/issues/30538 and
https://github.com/flutter/flutter/issues/1150.
Using Directory.current.path might still be problematic for web browser later on,
but now let's focus on flutter only.

@HofmannZ lack of pubspec.lock seems to be breaking CI

closing in favor of #323 .


No support for ubuntu jammy in charmhub

Hello Everyone,
Is it possible to upload a new version of the ubuntu charm to charmhub?, ideally to latest/stable, but latest/edge would work for me as well, since at the moment it's not possible to deploy this charm on jammy.
Thanks,

@freyes, though not recommended, you can use --force to workaround the series mismatch:
$ juju version
2.9.33-ubuntu-amd64

$ juju deploy ubuntu --series jammy
ERROR series "jammy" not supported by charm, supported series are: focal, bionic, xenial, trusty, precise, groovy, disco, cosmic, artful, vivid. Use --force to deploy the charm anyway.

$ juju deploy ubuntu --series jammy --force
Located charm "ubuntu" in charm-hub, revision 19
Deploying "ubuntu" from charm-hub charm "ubuntu", revision 19 in channel stable on jammy

$ juju run --unit ubuntu/0 -- cat /etc/issue
Ubuntu 22.04 LTS \n \l

$ juju status ubuntu
Model   Controller     Cloud/Region   Version   SLA          Timestamp
ubuntu  aws-us-east-1  aws/us-east-1  <IP_ADDRESS>  unsupported  10:17:04-05:00

App     Version  Status  Scale  Charm   Channel  Rev  Exposed  Message
ubuntu  22.04    active      1  ubuntu  stable    19  no

Unit       Workload  Agent  Machine  Public address  Ports  Message
ubuntu/0*  active    idle   0        <IP_ADDRESS>

I'll see if i can get the ubuntu charm updated for official support, but hopefully the above workaround is useful until then.

@kwmonroe the charm should already support jammy per https://github.com/juju-solutions/charm-ubuntu/pull/41, just that that version hasn't been released yet I think.

released.  big ups to @addyess.


Differences between Invoke-RestMethod and browser fetch api

First, congratulations for this project. Very impressive indeed.
I was thinking what's the difference between the Invoke-RestMethod and fetch api running on browser. I'm trying to use fetch to get a valid token without success. Do you have any idea about this?

I can't help with fetch API as it isn't something I've used, but I can give you a high level overview of what my Get-AuthenticationToken function is doing to request a token which may make it easier for you to translate to what you want.

Make a GET request to:
https://ca.account.sony.com/api/authz/v3/oauth/authorize?access_type=offline&client_id=ac8d161a-d966-4728-b0ea-ffec22f69edc&redirect_uri=com.playstation.PlayStationApp%3A%2F%2Fredirect&response_type=code&scope=psn%3Amobile.v1%20psn%3Aclientapp
You include your npsso code in the cookie header of the request

You should get a 302 Moved Temporarily response. If successful within the headers of this response is a location item which will include code=v3....

Make a application/x-www-form-urlencoded POST request to:
https://ca.account.sony.com/api/authz/v3/oauth/token
In the body you include as form data:

code="v3..." (taken from step 2)
redirect_uri="com.playstation.PlayStationApp://redirect"
grant_type="authorization_code"
token_format="jwt"

You must also include authorization in the header "Basic YWM4ZDE2MWEtZDk2Ni00NzI4LWIwZWEtZmZlYzIyZjY5ZWRjOkRFaXhFcVhYQ2RYZHdqMHY="

The content of the response you get will include the access token.

I'll try to translate in javascript code. Didn't have free time yet. Thanks a lot!

When I try to make a get request using fetch API, It shows the following message:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://m.np.playstation.net/api/...
(Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
When I use Invoke-WebRequest the CORS header isn't necessary. Any suggestion?

YWM4ZDE2MWEtZDk2Ni00NzI4LWIwZWEtZmZlYzIyZjY5ZWRjOkRFaXhFcVhYQ2RYZHdqMHY= is base64-decoded into ac8d161a-d966-4728-b0ea-ffec22f69edc:DEixEqXXCdXdwj0v which in Basic Auth is typically in a username:password format.
What is client ID ac8d161a-d966-4728-b0ea-ffec22f69edc, and why is this the password? Was this header sniffed from a network request?


After logging out, the device is still in the pushed devices list

In the global settings page, the pushed devices list still contains the logged out devices.
I don't know if it is a server or a client issue.

I have the same behaviour with the IOS clients.

I don't reproduce it anymore.
I checked that the unregister requests were properly done (they were).


Not authorized to execute command. Restart and I do not get the error

I am getting the following error:
invalidResponse([{"ok":0.0,"errmsg":"not authorized on kitespotter to execute command { find: \"_Session\", filter: { _session_token: \"r:fe2fbc.....e9\" }, skip: 0, limit: 1, batchSize: 100 }","code":13}])
I usually get it once the server has run for a couple of hours. If I restart the server, then everything is back to normal.
Initially though it is a connection problem so I added a check where it is connected. The following is the code that creates the connection to mlab:
    var server: Server {
        if let server = self._server, server.isConnected {
            return server
        }
        Log.warning("Reconnecting to mongo")
        do {
            let newServer = try self.newServer()
            self._server = newServer
            return newServer
        } catch {
            exit(1)
        }
    }

    private var _server: Server?

    func newServer() throws -> Server {
        let server: Server!

        do {
            server = try Server(mongoURL: self.uri)
        } catch {
            // Unable to connect
            Log.error("MongoDB is not available on the given host and port")
            throw Error.mongoConnection
        }
        return server
    }

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

What version of MongoKitten and MongoDB are you running? I haven't seen this in MongoKitten so far. Many people run this without issues.

I am using the following version of MongoKitten, which should be the latest
Resolving https://github.com/OpenKitten/MongoKitten.git at 3.2.2
MongoDB. I use hosted mlab and the version is the following:
mongod version: 3.2.11 (MMAPv1)
On Thu, Apr 6, 2017 at 8:14 AM Joannis Orlandos<EMAIL_ADDRESS>wrote:

What version of MongoKitten and MongoDB are you running? I haven't seen
this in MongoKitten so far. Many people run this without issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenKitten/MongoKitten/issues/105#issuecomment-292170217,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACzasfS0W-Tf9bS6p4HmcXI75IU27XtBks5rtOUdgaJpZM4M0uHI
.

--
Pantelis Zirinis
www.paz-labs.com
27 Old Gloucester Street
London WC1N 3AX
United Kingdom
Tel: +44<PHONE_NUMBER> / +306945540033
E-mail<EMAIL_ADDRESS>Facebook: http://www.facebook.com/PAZLabs

Do you have slack or a method of chatting? This is strange

yes I do. my slack is zirinisp
On Thu, Apr 6, 2017 at 11:07 AM Joannis Orlandos<EMAIL_ADDRESS>wrote:

Do you have slack or a method of chatting? This is strange
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenKitten/MongoKitten/issues/105#issuecomment-292223332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACzasVaycQqdHlGegJB8D4agu5M-T7DBks5rtQ2lgaJpZM4M0uHI
.

--
Pantelis Zirinis
www.paz-labs.com
27 Old Gloucester Street
London WC1N 3AX
United Kingdom
Tel: +44<PHONE_NUMBER> / +306945540033
E-mail<EMAIL_ADDRESS>Facebook: http://www.facebook.com/PAZLabs

We figured out the connection is being closed after a while by the cloud. Working on automatic timeouts now.

Does this work as expected in MK4 now?

I have not done extensive testing, but so far had no problems.
On Sun, May 21, 2017 at 12:06 PM Joannis Orlandos<EMAIL_ADDRESS>wrote:

Does this work as expected in MK4 now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenKitten/MongoKitten/issues/105#issuecomment-302949372,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACzasWBQOWTmdTSlvpiq4Bl3_unkTWvZks5r8G75gaJpZM4M0uHI
.

--
Pantelis Zirinis
www.paz-labs.com
27 Old Gloucester Street
London WC1N 3AX
United Kingdom
Tel: +44<PHONE_NUMBER> / +306945540033
E-mail<EMAIL_ADDRESS>Facebook: http://www.facebook.com/PAZLabs

Can I close this issue, for now?

Yes I believe you can safely close it. If I see it happen again, I will
update the issue.
Thank you very much for your help.
On Sun, May 21, 2017 at 4:29 PM Joannis Orlandos<EMAIL_ADDRESS>wrote:

Can I close this issue, for now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenKitten/MongoKitten/issues/105#issuecomment-302964562,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACzasUAbT1xuUm81loUt35ymizFflnuwks5r8KyygaJpZM4M0uHI
.

--
Pantelis Zirinis
www.paz-labs.com
27 Old Gloucester Street
London WC1N 3AX
United Kingdom
Tel: +44<PHONE_NUMBER> / +306945540033
E-mail<EMAIL_ADDRESS>Facebook: http://www.facebook.com/PAZLabs


Make staged joins mandatory

Added missing change for commit 1 and 2 regarding mandatory staged joins.
@marianoguerra This breaks your tutorial video, as make devrel-cluster-plan and make devrel-cluster-commit are now mandatory (should be mandatory before, but was not). I'll merge and release v0.10.0 once you're ready.
This doesnt' prevent the gossip protocol to rejoin a ring, autojoin is still possible internally.

No problem, merge it so I can do the new video/guides with this release.
I still have to do the elixir one, so it's better to use this release for all of them.


Focus Dimming applied to diff view when editor is excluded

Hi,
when I diff a file, focus dimming is applied to the editor even if I chose "Everything but Editor and Terminal".
Thanks.

Fixed in the new version 2.0.2.

Thank you very much


Implement WG config support for wg-quick

wg-quick has to run as root to support boringtun and routing directives but it used iptables fwmarks to tag packets. The support is missing here, as well as for the Table config directive.
Re: https://manpages.debian.org/unstable/wireguard-tools/wg-quick.8.en.html

Fixed by https://github.com/blackmesalab/fireguard/pull/16

Fixed by https://github.com/blackmesalab/fireguard/pull/16

Resolved

Resolved


Inference

Thanks for your innovation and hard work for this project. It is insightful and impactful. Also thanks for citing our work on ChatEL and EntGPT.
I have some questions on the entity-disambiguation, entity-linking and mention-detection inference. I am trying to obtain the direct inference results for some benchmarks but found it difficult to use OneGen to do that. I see someone asked similar questions on https://github.com/zjunlp/OneGen/issues/5. But it requires the entity candidates as part of input.
To my understanding, OneGen can obtain entity linking results directly with inherent entity dictionaries stored as cached entity embeddings. Could you provide the processed evaluation dataset file (such as KORE50) and direct inference code for obtaining the results for ED, MD, and EL ?
Thanks very much in advance.

Hi,
Thank you for your kind words and for your interest in our project!
You can download the evaluation dataset eval_data.tar.gz through this link. Additionally, you can find the inference code provided in the scripts/eval_el.sh, which should guide you in obtaining the necessary results.
Please feel free to reach out if you have any more questions or need further assistance.

hi buddy, do you have any further issues?

yes, can you provide the code to obtain these datasets from original formats?

Hello, sorry for the delayed response. The relevant code is quite complex and involves different runtime environments. For entity candidate construction, we provided a detailed explanation in Appendix H.2 of our paper, which you can refer to for reproducing this part.
The purpose of constructing the entity pool in our work is to ensure that the pool is sufficiently large and contains challenging negative samples. To the best of my knowledge, baseline methods for the Entity Disambiguation task typically perform recall first using certain methods and then scoring. In contrast, our method directly scores across the whole pool. Moreover, as shown in Table 12, we experimented with the recall method provided by ReFinED, and our approach still outperforms ReFinED.
If you have any further questions, please let me know :)

Thanks for the response, i do understand the entity pool from OneGen; and entity ground truth and entity candidates generated from OneGen are going to be complicated. Those issues are existing for the entire Entity Linking community.


Use libp2p ed25519, not RSA

I'd suggest not going with RSA, and instead go with ed25519. One reason is efficiency. The other reason is that ed25519 pubkeys are much smaller and can be inlined in the peer ID. Using RSA creates a level of indirection where the peer ID contains the hash of the pubkey. This is generally awkward work with, and especially costly for example in the context of a DHT where an additional lookup must be performed to fetch the pubkey.
cc @zscole who apparently did some libp2p benchmarking using RSA

Within our tests, we actually used ed25519 for peer identity. Although we're only just beginning to touch the surface of our research and testing efforts, based on our initial findings, it appears to have resulted in a significant amount of overhead, but we weren't specifically evaluating this implementation, so I don't have enough data to provide anything conclusive at this time. Either way, ed25519 should technically be faster and more secure than RSA.
This is something we can easily target and benchmark in future test series though. I'm currently working on designing the next test phase, so I'll keep this in mind and design a test case around it if the results would be of value. If anyone has any suggestions or ideas as to the specifics of what we should focus on, please feel free to share. You can also open a PR in our p2p test repo.

we actually used ed25519 for peer identity

Oh great :)

it appears to have resulted in a significant amount of overhead

Looking forward to reading your final report!


MacOS Mojave: The text in the editor is dimmed / hard to read.

I know this OS was just released as a developer beta. So that is why I am reporting this so it can be properly dealt with as most of us are developers. This is going to make a lot of developers uneasy about installing this OS unless this is fixed.
Description
The code within Atom using MacOS Mojave is very dim, stylesheet and syntax theme, UI theme do not effect the dim of the editor text.
Steps to Reproduce

Install Macos Mojave
Open Atom

Expected behavior: Readable text
Actual behavior: Code within Atom is very hard to read within the editor.
Reproduces how often: 100%
Versions
1.27.2
Using the default "Light" theme

Using Atom One Dark

Note: The actual text appearing on screen is "dimmer" than what these snapshots look like
This does not look theme related . Almost as if the text itself is just "dim" / "opacity"

Are you seeing similar rendering issues in Chrome on macOS Mojave on any specific websites?

@atom/maintainers My hunch is that this might have something to do with GPU rendering; there's been some fairly significant changes to Metal in macOS Mojave. I haven't had time to install the beta yet, but I'm guessing this will affect all Electron apps, potentially even Chrome/Chromium.
/cc @atom/electron-maintainers

@timothymarois Could you try 1.28.0-beta3 also? There was a change to Chromium that affects UI colors, I'm curious to see if you get different results.
@thomasjo's idea sounds pretty likely to be true, I'll talk to the Electron folks and see if they're aware of it.

@thomasjo I haven't noticed any differences within Chrome itself, or specific websites. So far its only Atom which has the issue. I will check other Electron apps and see if the issue persist.
@daviwil I have just tried the Atom Beta and the issue still there.

Yeah, so far it looks like its just Atom that is affected (from what I can see so far with Electron apps).

@thomasjo My hunch is that this might have something to do with GPU rendering

Yeah, might be.
The text also looks really thin (for macOS) and based on the screenshot ☝ above https://github.com/atom/atom/issues/17486#issue-330509576, there is no sub-pixel antialiasing:

No sub-pixel antialiasing
With sub-pixel antialiasing

Only grey scale
has red/orange and blue edges

Just saw VS Code's issue about Mojave's font rendering: https://github.com/Microsoft/vscode/issues/51132. The removal of sub-pixel antialiasing might be intentional, see this tweet.

}

Should do the trick 👍

This is also reported in Visual Studio Code: https://github.com/Microsoft/vscode/issues/51132 and could be related.

@mdeboer -webkit-font-smoothing: subpixel-antialiased; doesn't do the trick for me (Atom 1.28.0 x64)

It seems Apple released further updates to UI font smoothing in Mojave Beta 4. The fonts now look bolder and are easier to read.

Thanks for the update @vinkla 😀
It sounds then like this has been fixed. Because of that, I'm going to close this issue. If anyone has any other concerns or questions. Please let us know and we can revisit :+1:

It seems Apple have reverted their changes in beta 5 and the fonts now look thinner again.
https://github.com/Microsoft/vscode/issues/51132#issuecomment-408998612

Seems like this might be worth reopening. As of the latest Mojave dev beta (11 I think?) this is what Atom looks like compared to Sublime:

The defaults command posted in the VSCode issue (defaults -currentHost write -globalDomain AppleFontSmoothing -int 2) doesn't do a whole lot of good either.

Agreed. Atom's editor with default settings looks pretty rough on non-Retina monitors after the Mojave update. I've tried increasing the font-weight property and setting -webkit-font-smoothing: subpixel-antialiased. These fixes help to some degree but don't restore the original clarity of the text, especially in panes or in the tree view.

The problem still appears on MacOS Mojave public release (9/24). Please reopen.

Hey folks, could you try running this command and then restart Atom:
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO

Hat tip to @alexanderyakusik in this comment for this possible fix!

That seems to have done it! Thanks so much for forwarding the fix along!
Before

After

@daviwil Your command worked for me thank you! I couldn't stand the super thin text, not even my custom font packages where working, now they are.

@daviwil legend! That worked perfectly, I was beginning to start pulling my hair out over this and downgrade back to High Sierra

The "fix" above looks like a global config change, rather than a fix for Atom? It doesn't resolve anything given the potential impact on other apps, surely?

Yes, this is a global configuration change that effectively reverts a change that Apple made to font rendering which makes fonts look very thin on non-Retina displays.  This change has affected other Electron-based apps like VS Code, so until there's a general solution for all Electron apps, this workaround will have to suffice.
I'd love to know if anyone has noticed any negative effects to the fonts in native macOS applications after running this command and rebooting their machine!

try increasing font-weight it worked for me .. just add
atom-text-editor {
      font-weight: bold;
     // the rest of your styles
}

in your style sheet

For what it's worth, I'm finding this issue present on both retina and non-retina screens with Atom. I've tried a handful of other apps with the smoothing enabled and disabled and while I can see minor changes in some, Atom is drastically different.

Just going to leave this here: https://ahmadawais.com/fix-macos-mojave-font-rendering-issue/

If you don't want to mess with global config just install:
https://github.com/braver/fonts
And change as per your liking. I'm currently using office code pro light.

I've created a FAQ for this on Discuss, the official Atom message board,

Increasing font size could help.

There is an open PR at electron which eventually will fix this.
See: https://github.com/electron/electron/pull/15007

Does anyone know if this has been fixed? I restored back to MacOS High Sierra since I don't have time to deal with these changes. Apple has released the MacOs Mojave update. But I am very skeptical. Can anyone confirm its been resolved?

I never had any trouble to begin with on retina screens. You can simply adjust your stylesheet and set the font-weight to your liking.
Also see: https://github.com/atom/atom/issues/17486#issuecomment-424140110
Imho you can safely update to Mojave.

@timothymarois Please see the FAQ

@daviwil thanks! Work perfectly!

I don’t think it is backported yet, is it?
On Wed 21. Nov 2018 at 17:27, dalDevelo<EMAIL_ADDRESS>wrote:

@cebor https://github.com/cebor. As per my comment in
electron/electron#15007 https://github.com/electron/electron/pull/15007,
this doesn't look to be fixed in electron 4 yet either, unfortunately.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/17486#issuecomment-440727298, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABgMuJ_16IJRN1vLFpKyJrjDKFQwj_Wbks5uxX8IgaJpZM4UfcuT
.

Apparently not 🤦🏻♂
Oh well, at the very least, this has highlighted a big blackspot in my understanding of how GIT works. Back to reading for me 🙄


Manifest.webmanifest Failed to load resource: the server responded with a status of 401

There is an issue when one initially loads the app with Google Chrome browser. When reloading the app the manifest file is loaded correctly.
Either there is an error in the console:
GET https://beta.singa.com/manifest.webmanifest 401 (Unauthorized)
manifest.webmanifest:1 Manifest: Line: 1, column: 1, Syntax error.

Or the manifest.webmanifest contents is this:

<title>401 Authorization Required</title>

401 Authorization Required

nginx/1.25.3

Using:
@vite-pwa/nuxt: v.0.1.1
vite-plugin-pwa: v0.16.6
nuxt: v3.8.0
Google Chrome: v118.0.5993.117
OS: MacOS 14.0 (23A344)

your site returns 401 for any request

https://vite-pwa-org.netlify.app/guide/faq.html#web-app-manifest-and-401-status-code-unauthorized


funds correction

My account was Not compromised, as noted below. Please correct the amount of MYX or the equivalent deposit of BTC back into my account. You can see my deposits in my deposit history.
"Important Notice:
You are one of the users whose balance was affected by the bug in the system and therefore got 0.xxxxxx BTC.
To correct your balance we deducted: 0.xxxxxxxx BTC and xxx.xxx00000 MYX (equivalently to missing BTC amount based on MYX price = 0.xxxxxx BTC). "
Username GTC
Thank you,
GTC

Did you get BTC credited by mistake from the bug?
If you did and you subsequently bought MYX with those funds the 'team' took back the current BTC value that you were credited for... and because MYX has dropped in price it means they took more MYX than you would have bought..
I don't agree with this at all, but I'm fairly sure that is the method of reallocating funds.
It is basically a case of: the bug in our system is going to cost you... not us

I personally cannot.. I'm no authority on the matter.
The @monyxcoin guy is very helpful when errors like this have arisen. Hopefully he comes and helps you out


Getting Error while Starting Sparksession

Hello, I am trying to create new streamlit app on HuggingFace by using pyspark in it.
I've created app.py file, requirement.txt file and I run a basic streamlit app without pyspark and it worked seamlessly.
However, problem starts when I add the following line spark = SparkSession.builder.appName("appName").getOrCreate() to start sparksession, I got an error like following:
 Exception: Java gateway process exited before sending its port number
The content of requirements.txt file:
streamlit
pyspark==3.1.2
spark-nlp==3.3.2

If Anyone worked with pyspark on hf can help me I would be appreciate!

What do you usually need as system dependencies to run this?

On my local, I have streamlit, pyspark and spark-nlp installed, to start SparkSession I have jdk version 10.0.1 . And my apps run seamlessly. However, in Huggingface space even though I've defined all dependencies in requirements.txt file, it returns java error. I don't know what should I do for jdk for HF space.

To clarify the issue, let me explain step by step.
The content of my app like following:
import streamlit as st
import sparknlp
from sparknlp.base import *
from sparknlp.annotator import *
from pyspark.sql import functions as F
from pyspark.sql.functions import col, when, count, isnan
from pyspark.ml import Pipeline

st.write("Sparknlp Version: " + sparknlp.version())

My streamlit app works seamlessly so far and types the version of sparknlp properly.  However, when I start SparkSession like following:
spark= sparknlp.start()
or like:
ss = SparkSession.builder.appName('first_draft').getOrCreate()
app returns the error as Exception: Java gateway process exited before sending its port number
content of my requirements.txt is still like following:
streamlit
pyspark==3.1.2
spark-nlp==3.3.2

yes, the base image for Spaces does not include Java, but you can add system dependencies through a packages.txt (cc @cbensimon @nateraw)
See here for instance default-jdk to install Java: https://huggingface.co/spaces/elonmuskceo/sparknlp/blob/main/packages.txt (I don't remember if it's documented but base image for Spaces is currently Debian Buster, cc @osanseviero)
Then I can successfully instantiate a sparknlp.start() object, see resulting space: https://huggingface.co/spaces/elonmuskceo/sparknlp
Hope this helps. Out of curiosity can you share your Space here?


Request video in use_user_media

Prior to #183, UseUserMediaOptions.video defaulted to true. Now that it has a more predictable default false, use_user_media without options does not open either a video or audio stream. I set video to true in use_user_media to restore the prior behavior.

Thanks for the thought you put into this! However the call to a function without the with_options suffix should always be the same as calling with default options.
Maybe in this case we should always require options?

Always requiring options would match the underlying behavior of .getUserMedia(). It looks like {audio: false, video: false} will always fail.

The js *Use libs default both, video and audio, to true as we had before. And nobody complained 😀.
I think I'm going to revert to this.

Implemented in<PHONE_NUMBER>24aeab2beff792482806e8c52a6821


typo

README.md:
http: --> https:

Good point. It's just a typo, so I fixed and merged it. Thanks!


doc: add sections in readme

This renames the package name to @pipcook/datacook, adds examples.

@risenW @steveoni I have created a team @imgcook/data-scientist and invited you, feel free to join us in this way :)

Ping @WenheLI @steveoni :)


[Discussion] How do i exactly use the F parameter to change the frequency cutoff to be higher?

Hi there. admittedly i am a novice user when it comes to commmand-line interfaces. I have learned what i can through the manual and youtube videos, but one issue i am having that i cant get my head around is how to set the frequency cutoff to be higher, so far i have been able to set it to 16kHz (using  spleeter:2stem-16kHz ) but i cannot say the same for anything higher (for which i believe requires usage of the F parameter). i mainly want to be able to set it to 20kHz and 22kHz. as mentioned earlier, ive learned what i can through the wiki e.g setting F=2048. but i dont know how to implement this into a command. could someone give me an example?

The answer is in the FAQ -- "Why are there no high frequencies in the generated output files ?"
You can edit the .json files that are located on your computer, location depends on which method you used for installation.  There are .json files for every syntax 2stems.json - 2stems-16kHz.json etc. You need to edit these files manually and change the "F" value manually to a maximum of 2028 or less. F=1535 (16kHz) - F=2048 (22kHz)
More on:
https://github.com/deezer/spleeter/wiki/5.-FAQ#why-are-there-no-high-frequencies-in-the-generated-output-files-

@Smopraq Hi,i have seen the 5.-FAQ,but i still can't understand what's the relation between F and the cutoff frequency,is there a formula between this two.

@Smopraq Hi,i have seen the 5.-FAQ,but i still can't understand what's the relation between F and the cutoff frequency,is there a formula between this two.
i figure out the relationship:(fs/2)/fft_length*F


Make font size of error overlay configurable

Is your proposal related to a problem?

The error overlay font size is too small  for some people
Describe the solution you'd like

It would be good if it could be configurable
Describe alternatives you've considered

None
Additional context

None

How about we change it to 0.7rem so it scales with the users' font size. Want to send a PR?

@andreyvolokitin @ianschmitz I submitted a PR，which makes fontsize larger for error overlay
before

after

#7800

@ianschmitz the thing is that user styles are also applied to the developed project itself, and it needs to be developed with default user styles (at least for some time)
@lxfriday a hard coded font size is limited in a way that it can't satisfy all users, some of them want small font to allow more errors to fit into the screen (I thinks that's why it was set to 11px in the first place). Others want it to be easily readable on a big screen (and in case of vision problems)

@ianschmitz the thing is that user styles are also applied to the developed project itself, and it needs to be developed with default user styles (at least for some time)

Can you explain what you mean? I don't quite follow.

The user styles which are set through browser settings will as well be applied to the page which is currently developed in the browser (along with the error overlay). This can be undesirable because generally you need to develop in default browser mode (so without increased zoom or user styles applied) in order to see and control how the page design looks with default settings

Does it make any sense? I think it might be appropriate to incorporate this into theming side, because a standalone font size setting might be a "wrong" solution, despite of being easier. How hard it could be to incorporate some degree of custom theming where font size setting could reside? (even if this setting would be an only available setting for the time being). If my proposal makes sense I can investigate, and maybe do a PR (though I'm not familiar with react ecosystem yet)

Also, if the overlay itself could be labeled with some ID or class then it could be possible to target it via user styles and it might make everything easier... Then the rem solution would be ideal, I actually wanted to go that route initially but found out that overlay can't be distinguished/identified for separate styling


Fixes a lot of clippy errors (lints) and does reformat the files according to Rust style guides

Hey!
I've ran cargo clippy on the code and fixed almost all of the issues. They are actually split into separate commits, making it easier for you to take a look at them. Clippy reported a bug here. grid is a reference and calling drop on references is no-op. You need to call it on the real object. Taking a closer look it seems that you drop the TileGrid that is stored inside the GRIDS Mutex. Isn't it just enough to simply remove the element from the GRIDS vector and leave it there?
Generally speaking, you do not really use std::mem::drop in "normal" Rust code. But given that you interact with native using winapi, as long as you use their API and do not write custom wrappers, Rust will actually take care of dropping everything. Meaning that you shouldn't ever need to call it by yourself.
Another catch that I didn't fix is the WORK_MODE Mutex. A Mutex with a bool value can just be replaced with an AtomicBool in almost all cases.
The last commits are so large because I ran cargo fmt, a tool that formats your source code automatically. It doesn't change any logic inside the files, so you don't have to worry about bugs or stuff. It's just styling.
Given that the value isn't dropped as you might have thought this might actually be the cause for the lag over time, allocating more and more RAM. I am however not sure here and it might be worth to monitor the program and resource usage. Maybe introduce a debug key stroke that prints the length of the GRIDS vector and see if it cleans up properly.
The code is good for your first project. But it is quite obvious that you didn't have used Rust for along time. Which means, more practice :p

You better just squash the changes if you decide to merge, else the git history will get cluttered a lot. Just call the commit refactor: fix clippy warnings or something like that. :)

Thank you!
This was definitely needed!

Taking a closer look it seems that you drop the TileGrid that is stored inside the GRIDS Mutex. Isn't it just enough to simply remove the element from the GRIDS vector and leave it there?

I don't really want to remove the grid from the vector I just tried to somehow resolve the deadlock that happens when you remove the drop statements. Do you have any general advise for such cases?

Another catch that I didn't fix is the WORK_MODE Mutex. A Mutex with a bool value can just be replaced with an AtomicBool in almost all cases.

Does this have any significant impact? If not then I will just create an issue with low priority for simplifying the Mutex usage.

Does this have any significant impact? If not then I will just create an issue with low priority for simplifying the Mutex usage.

No, it shouldn't. Clippy even mentioned it as a fix :)

I don't really want to remove the grid from the vector I just tried to somehow resolve the deadlock that happens when you remove the drop statements. Do you have any general advise for such cases?

What exactly deadlocks in your case? A little bit more insight might be good before I throw out some potential solutions :D

I first lock the GRIDS Mutex here to get the current grid then I call the change_workspace function which also needs to know about the current grid and it locks the Mutex here.

Do you also know about a way to put the common functionality
let mut grids = GRIDS.lock().unwrap();
let grid = grids
    .iter_mut()
    .find(|g| g.id == id)
    .unwrap();

into a function? I tried to refactor this code before, but it looks like there is no way to set the lifetime of the lock?
This is how I would refactor this into a function:
fn get_grid(id: i32) -> Option<&mut TileGrid> {
    let mut grids = GRIDS.lock().unwrap();

    grids
        .iter_mut()
        .find(|g| g.id == id)
}

I first lock the GRIDS Mutex here to get the current grid then I call the change_workspace function which also needs to know about the current grid and it locks the Mutex here.

Gotcha.  That way, it can read the current value.

into a function? I tried to refactor this code before, but it looks like there is no way to set the lifetime of the lock?

I don't think that this works. You are creating a reference inside the function (by accessing the lock) of the Vec and returning an element of it. The value would probably go out of scope after the function returns.
Maybe something simple like this should be fine:
pub fn change_workspace(id: i32, grids: &mut Vec<TileGrid>) -> Result<(), util::WinApiResultError> {
    // ...
}

// how to call
let mut grids = GRIDS.lock().unwrap();
change_workspace(0, &grids);

Thank you!


add bandit, a security linter

See https://github.com/PyCQA/bandit.

Codecov Report
Base: 50.63% // Head: 49.78% // Decreases project coverage by -0.84% :warning:

Coverage data is based on head (60d5fe5) compared to base (42d5525).
Patch coverage: 28.57% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
- Coverage   50.63%   49.78%   -0.85%
==========================================
  Files           2        2
  Lines         237      237
  Branches       36       36
==========================================
- Hits          120      118       -2
- Misses        116      118       +2
  Partials        1        1

Impacted Files
Coverage Δ

src/iterative_telemetry/__init__.py
43.47% <28.57%> (ø)

tests/test_user_id.py
93.33% <0.00%> (-6.67%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Backport HSEARCH-3252 to branch 5.10 - Avoid using _JAVA_OPTIONS in Travis builds

https://hibernate.atlassian.net//browse/HSEARCH-3252
Port of #1719 , which should be merged first.

Approved in https://github.com/hibernate/hibernate-search-6-poc/pull/92.
Fixed the typo and merged.


feat: add plugin-demo

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

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

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
1308

Relevant Lines:
1969

💛  - Coveralls


Custom composer Task Collides with Castor’s Internal Composer Task

When trying to make a smart castor composer task that will proxy the command to the composer executable:
#[AsTask(name: 'composer',  description: 'Execute composer command.')]
function task_composer(#[AsRawTokens] array $rawTokens): void
{
    run(...composer($rawTokens));
}

It seems to be intercepted by the existing composer task from castor:
Composer could not find the config file: /project_path/castor.composer.json
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage

However they seem to be properly registered as separated tasks:
Available commands:
  ci                       Run CI pipeline
  completion               Dump the shell completion script
  composer                 Execute composer command.
  console                  Execute Symfony console commands within the application context.
  console-xdebug           Execute Symfony console commands within the application context.
  db-reset                 Reset the database by dropping the existing schema, creating a new one, and initializing it.
  db-update                Update the existing schema.
  db-validate              Validate the database schema, without checking for synchronicity.
  decrypt                  Decrypt a specified encrypted file, removing the .encrypted extension from the output.
  decrypt-string           Decrypt a given encrypted string using the application's encryption key.
  down                     [stop] Stop and remove all running Docker containers, cleaning up the environment.
  encrypt                  Encrypt the contents of a specified file, saving the result with a .encrypted extension.
  encrypt-string           Encrypt a given string using the application's encryption key.
  generate-encryption-key  Generate a new encryption key for use with the application's encryption services.
  help                     Display help for a command
  list                     List commands
  php
  phpcs                    Analyze PHP code for coding standard violations using PHP CodeSniffer in dry-run mode, without making changes.
  phpcs-fix                Run PHP CodeSniffer to automatically fix coding standard violations in PHP code.
  phpstan                  Perform static analysis on PHP code using PHPStan to identify potential errors and improve code quality.
  phpstan-baseline         Generate a baseline for PHPStan to ignore existing errors, focusing on new issues in future analyses.
  rector                   Run Rector to refactor code using rector.php as the configuration file.
  restart                  Start the Docker containers, ensuring all necessary services are running, and install PHP dependencies using Composer.
  start                    [up] Start the Docker containers, ensuring all necessary services are running, and install PHP dependencies using Composer.
  tests                    Execute the PHPUnit test suite to ensure all unit tests pass and the application behaves as expected.
 castor
  castor:composer          [composer] Interact with built-in Composer for castor

Thanks for the report, it'll be fixed in the next release


[HUDI-734] Fix error: cannot create directory ‘test-content’: File exists

What is the purpose of the pull request
The mkdir: cannot create directory ‘test-content’: File exists error affact \cp -rf ... command.
https://travis-ci.org/github/apache/incubator-hudi/builds/666647086

Brief change log

Add -p option

Verify this pull request
This pull request is a trivial rework without any test coverage.
Committer checklist

[X] Has a corresponding JIRA in PR title & commit

[X] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

hi @leesf, this bug causes travis didn't push build content to test-content.