Video files do not get processed

Hi
I encounter an issue when trying to upload a new video file, it seems to never get out of the processing state.
I have followed the troubleshooting guide on video file issues

I have checked my logs on sidekiq and I can see the file is uploaded to zenencoder
I see from the logs that the file gets processed by zenencoder and from zenencoders dashboard I can see the request is processed correctly.
I see that the file is capture with the new url in the DB.

In the pageflow editor, the file just stays in processing state and never completes.

So files stay pending even if you reload the editor? I'd take a closer look at the logs of the PollZencoderJob. Once Zencoder reports success, the job moves on to thumbnail processing. This can fail if, for example, ImageMagick has not been installed. The error then causes files to remain in the processing state.

Hey Tim, thanks for the response. I checked the install of ImageMagick and it is installed on the system. I had a look at the logs for PollZencoderJob and this is what I see:
[ActiveJob] [Pageflow::SubmitFileToZencoderJob] [9d624b7e-3a9b-42ec-9af2-55e538e46ca4] Enqueued Pageflow::PollZencoderJob (Job ID: e6f9c130-057b-4ebf-b4fc-19542930ea95) to Resque(resizing) with arguments: #<GlobalID:0x0055c5db788c40 @uri=#<URI::GID gid://storytelling/Pageflow::VideoFile/13>>, {}
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95] Performing Pageflow::PollZencoderJob (Job ID: e6f9c130-057b-4ebf-b4fc-19542930ea95) from Resque(resizing) with arguments: #<GlobalID:0x0055c5dc1a8590 @uri=#<URI::GID gid://storytelling/Pageflow::VideoFile/13>>, {}
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95] perform for Pageflow::VideoFile 13
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95]    (0.2ms)  BEGIN
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95]   ↳ /home/ubuntu/pageflow/app/jobs/pageflow/poll_zencoder_job.rb:18
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95]   Pageflow::VideoFile Update (0.4ms)  UPDATE pageflow_video_files SET encoding_progress = 0.0, updated_at = '2020-05-13 08:04:01' WHERE pageflow_video_files.id = 13
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95]   ↳ /home/ubuntu/pageflow/app/jobs/pageflow/poll_zencoder_job.rb:18
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95]    (1.9ms)  COMMIT
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95]   ↳ /home/ubuntu/pageflow/app/jobs/pageflow/poll_zencoder_job.rb:18
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95] result pending for Pageflow::VideoFile 13
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95] Enqueued Pageflow::PollZencoderJob (Job ID: bb3f7403-75fd-4313-bb0c-bc9964f9749d) to Resque(resizing) at 2020-05-13 08:04:03 UTC with arguments: #<GlobalID:0x0055c5dbea3bb0 @uri=#<URI::GID gid://storytelling/Pageflow::VideoFile/13>>, {}
[ActiveJob] [Pageflow::PollZencoderJob] [e6f9c130-057b-4ebf-b4fc-19542930ea95] Performed Pageflow::PollZencoderJob (Job ID: e6f9c130-057b-4ebf-b4fc-19542930ea95) from Resque(resizing) in 949.47ms

This looks normal. The job polled Zencoder and updated the video file with a progress of zero percent. Is this the only job of this kind you see? Maybe there is something wrong with the job scheduler? In its default setup Pageflow uses Resque scheduler to perform jobs after a delay. When a video file is pending the job is enqueued to check again after a couple of seconds.

The PollZencoderJob only everyone runs once and never updates the progress. Im running the default Resque setup with Redis. What job should run after PollZencoderJob?

Is the resque:scheduler rake task running? The PollZencoderJob should enqueue itself to run again after 5 seconds or so if the file is still pending.

Awesome, that was the issue. I had restarted my server and the resque:scheduler job had not come up again. Thanks for all the help.

Glad we figured it out! :tada:


Bug & Feature in ContextAwareRandomizer class

Feature Request (see comment below in getRandomValue()):
import org.jeasy.random.*;
import org.jeasy.random.api.*;
import org.junit.*;
import java.lang.annotation.*;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

public class Tester {

    private static EasyRandom easyRandom;

    @Before
    public void setup() {
        EasyRandomParameters parameters = new EasyRandomParameters()
                .randomize(FieldPredicates.isAnnotatedWith(ExampleAnnotation.class), new CustomRandomizerContext());
        easyRandom = new EasyRandom(parameters);
    }

    @Test
    public void test() {
        A a = easyRandom.nextObject(A.class);
    }

    static class CustomRandomizerContext implements ContextAwareRandomizer<D> {

        RandomizerContext context;

        @Override
        public void setRandomizerContext(RandomizerContext context) {
            this.context = context;
        }

        @Override
        public D getRandomValue() {
            /*
             Problem: want to access "some value" (see below) of annotation here; need a reference to Field (like below) of the object, or to the enclosing object B b.
            */
            D d = new D();
            d.value = context.getField().getAnnotation(ExampleAnnotation.class).value();
            return d;
        }
    }

    static class A {
        private B b;
    }

    static class B {
        private C c;

        @ExampleAnnotation("some value")
        private D d;
    }

    static class C {
    }

    static class D {
        private String name;
    }

    @Target({FIELD})
    @Retention(RUNTIME)
    @Documented
    public @interface ExampleAnnotation {
        String value();
    }
}

Bug found in RandomizerContext.getCurrentObject(), where not always referencing the current object.

Since getCurrentObject() implementation in RandomizationContext returns randomizedObject, and this variable is only assigned in setRandomizedObject(), which is only called from doPopulateBean(), but not in all cases. So the correct way to do implement getCurrentObject() would be to use stack in RandomizationContext, and to retrieve the last element from the stack in the case where there are elements, or if the stack is empty, to return the root element.

I pushed 2 commits to address these 2 respective issues: branch in my fork.

In regards to the bug
I was able to reproduce the issue. Indeed, RandomizationContext#getCurrentObject is incorrect in the above case, it returns an instance of C where it should return an instance of the enclosing B.
@nrenzoni Your fix LGTM  so I applied it. The credit goes to you so thank you! I added you to the contributors list. The fix is deployed in 4.1.0-SNAPSHOT if you want to give it a try already. I will release 4.1.0 in the next few days.
In regards to the requested feature
The requested feature asks to expose the current Field in the context. I believe this is not required now that the bug is fixed and we can correctly access to the enclosing object.

need a reference to Field (like below) of the object, or to the enclosing object B b.

The combination of the full path to the current field (in dotted notation) + the enclosing object is enough to get the field. An example based on the requirement above can be found here. It requires to extract the field name from the full path but that is not an issue IMO.

Thank you for taking care of this @benas


Avoid hidden state in artifacts branch

Something is wrong with the artifacts branch since the caching was introduced. The output is the old one again because it is build with Julia 1.5. See, for example, https://github.com/TuringLang/TuringTutorials/blob/artifacts/markdown/06-infinite-mixture-model/06_infinite-mixture-model.md.
To solve this and some other problems with the output, the code now explicitly copies all the files it needs and puts everything as one orphaned commit into the branch. Now, the output will either work or it won't, because the hidden state is avoided. This makes verifying correctness and debugging much easier.
I guess that one day the CI functionality will work flawlessly :stuck_out_tongue:. Till that time, I'll keep sending in PRs :stuck_out_tongue_closed_eyes:.
This PR needs a thorough review. I'm not so sharp anymore today

Aight let's give it a shot!

Thanks @cpfiffer! It broke, I see. I'll look at it tomorrow :+1: It didn't push anything, so it's not a priority to fix it now.


senec-collector hang up

Tonight the first time the senec-collector stopped working. (Synology / Docker) Solectrus 0.7.7
The container was still up and running but no values are send to the InfluxDB any longer. After restart of the collector container everything was fine again. The log of the container didn't show entries.
2023-02-03T06:32:03.781560362Z,stdout,Successfully pushed record to InfluxDB
2023-02-03T06:32:02.700521174Z,stdout,"Got record #1 from SENEC at <IP_ADDRESS>: Inverter 0 W, House

2023-02-03T06:32:01.287215096Z,stdout,"Pushing to InfluxDB at http://influxdb:8086, bucket my-solectrus-bucket"
2023-02-03T06:32:01.287178405Z,stdout,Pulling from SENEC at <IP_ADDRESS> every 5 seconds

2023-02-03T06:32:01.287142777Z,stdout,Using Ruby 3.1.3 on platform x86_64-linux-musl
2023-02-03T06:32:01.287066316Z,stdout,"Copyright (c) 2020,2022 Georg Ledermann, released under the MIT License"
2023-02-03T06:32:01.286986197Z,stdout,https://github.com/solectrus/senec-collector
2023-02-03T06:32:01.286459460Z,stdout,SENEC collector for SOLECTRUS
2023-02-03T00:18:05.534552184Z,stdout,Successfully pushed record to InfluxDB

2023-02-03T00:18:05.420491819Z,stdout,"Got record #173942 from SENEC at <IP_ADDRESS>: Inverter 0 W, House 255 W, 2023-02-03 00:18:06 +0000"

2023-02-03T00:18:00.391848261Z,stdout,"Got record #173941 from SENEC at <IP_ADDRESS>: Inverter 0 W, House 256 W, 2023-02-03 00:18:01 +0000"

Hm, interesting, I have not seen something like that with my installation.
You have collected 173942 records without restarting the container. Based on the 5-second interval, that's 173942 * 5 / 60 / 60 / 24 = 10 days. That is not so much, IMHO. I also use a Synology, but the container is restarted more often because the image is updated regularly (using Watchtower).
Maybe a memory leak? I will take a closer look at this.

you're right. I only restart the container when an update is available. I do it manually by using the update hint at the solectrus version showing on the web page.

Note that the Dashboard app (ghcr.io/solectrus/solectrus) and the senec-collector (ghcr.io/solectrus/senec-collector) are different Docker images which are released and updated separately. The update notification in the Dashboard UI does not check the senec-collector.
Back to the problem: There appears to be a memory leak, as the memory consumption is continuously increasing over time (according to docker stats). However, I have not found the cause yet. I will continue to keep an eye on this.

Can confirm the issue in the current version 0.6.0. Had recorded from 2023-02-12T11:52:00 until 2023-02-21T21:43:00 in a 2 second interval resulting in 233235 records until it hang up without notice

Current state: There is hope :-)
Today I rewrote large parts of the collector (two threads communicating via a queue, great fun!) - and it seems to me that the memory leak is fixed. I will monitor this for a few days before releasing a new version.

Just released v0.7.0 of the senec-collector, which now no longer consumes all the memory. After two weeks on my Raspberry, the memory consumption is still below 30MB (reported by docker stats).
This should be worth an upgrade, @iot-sle and @alexdetsch!

Seems to be fixed successfully. Closing.


Add Transaction (CA) feature/integration tests

Description
We need to have a set of tests covering the behavior and functionality using various (Behave) scenarios around Enrollment.
In particular, with a focus on the Transaction CA (TCA) functionality of Membership Services.
Motivation
At this point, even a small number of positive- and negative- flows will go a long way, both for development, testing but also as an easy way for new users to learn about Hyperledger fabric and its capabilities.
Context
Membership Services end-to-end integration tests. A sub-task of 1575

I spoke with @JonathanLevi  and I'll take this one on

@mastersingh24 Thanks.  @srderson can you please add a behave label to track all the issues involving behave work?
Thanks.


Typo in data-dependent-conditional-execution docs

Is your feature request related to a problem? Please describe.
The second code block in the data-dependent-conditional-execution docs is confusing, and I think it is because there might be a typo
Describe the solution you'd like
The potential typo occurs in the middle block, where checkpoint attributes are being used.
# a target rule to define the desired final output
rule all:
    input:
        "aggregated.txt"

# the checkpoint that shall trigger re-evaluation of the DAG
# an number of file is created in a defined directory
checkpoint somestep:
    output:
        directory("my_directory/")
    shell:
        "mkdir my_directory/;"
        "for i in 1 2 3; do touch $i.txt; done"

# input function for rule aggregate, return paths to all files produced by the checkpoint 'somestep'
def aggregate_input(wildcards):

Next is the line that I think may have a typo:
    checkpoint_output = checkpoints.export_sequences.get(**wildcards).output[0]

It asks for the export_sequences attribute of checkpoints, which is not explained anywhere else in the docs. If I am understanding the section correctly, it should instead be asking for the somestep attribute which refers to the somestep checkpoint.
    checkpoint_output = checkpoints.somestep.get(**wildcards).output[0]

    return expand("my_directory/{i}.txt",
                  i=glob_wildcards(os.path.join(checkpoint_output, "{i}.txt")).i)

rule aggregate:
    input:
        aggregate_input
    output:
        "aggegated.txt"
    shell:
        "cat {input} > {output}"

Describe alternatives you've considered
The export_sequences attribute of checkpoints is a fixed attribute that is explained nowhere else in the docs and is supposed to be used in exactly the same way as in this example.
Additional context
I read the docs and couldn't tell if I understood them correctly.
The only options for opening an issue were bug and feature request, so I decided to open the latter. The sensible thing would be to run the code and see if it runs, but it's late so I may try that tomorrow.

@johanneskoester I think this is fixed in the latest docs and can be closed


Add separators between shacl violation messages

I get this as a result of a SHACL validation without linebreaks:
IRI for dataid:Dataset must match /USER/GROUP/ARTIFACT/VERSION#Dataset , |USER|>3IRI for dataid:Part must match /USER/GROUP/ARTIFACT/VERSION#PART , |USER|>3, PART != "Dataset"A dataid:Part MUST have exactly one dataid:file of type IRIRequired property dataid:formatExtension MUST occur exactly once AND have xsd:string as valueA dataid:Part MUST have exactly one dataid:format of type xsd:string AND should not inlcude a '.' in front"@en ; xsd:string as value Required property dataid:compression MUST occur exactly once AND have xsd:string as value AND should not inlcude a '.' in front Required property dataid:sha256sum MUST occur exactly once AND have xsd:string as value AND match pattern ^[a-f0-9]{64}$Required property dct:modified MUST occur exactly once AND have xsd:dateTime as valueRequired property dataid:version MUST occur exactly once AND be of type IRI /USER/GROUP/ARTIFACT/VERSION , |USER|>3Required property dataid:artifact MUST occur exactly once AND be of type IRI AND must match /USER/GROUP/ARTIFACT , |USER|>3A dataid:Part MUST have exactly one dcat:downloadURL of type IRI

needs separators
Might also be resolvable with https://github.com/dbpedia/gstore/issues/14

added


Use per-release URLs in GH env UI when publishing to the PyPI

This essentially, makes the UI nicer in a few places with a clickable link to the released version being presented in the web interface of GitHub.

Thanks! I had been looking into how to use that feature but hasn't figured it out yet.

No problem :) I wondered into that file by accident so I figured I'd send an example.
FWIW my PyPUG guide shows a simplified URL (unversioned) example but I normally render-in the version too, when it's known: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/.

One place where there link will appear is https://github.com/pallets/flask/deployments/publish and the other is the graph on the workflow run summary pages like https://github.com/pallets/flask/actions/runs/7769383805 (in the box representing the job where the environment is applied).


HardwareLinks: Sipeed Licheepi 4a Risc-v Th1520 Linux Sbc Development Board

Vendors:
| Sipeed Licheepi 4a Risc-v Th1520 Linux Sbc Development Board - Demo Board - AliExpress | (H/W) $179.00 16GB/256GB |
Articles:
| LicheePi 4A RISC-V SBC gets 16GB/128GB version, metal enclosure, 10.1-inch display, and more accessories - CNX Software |

#1714 closes #1713


Event search by location

Add event search similar to user search which, among other filters, allows to filter by area.
Addresses #3989
Backend checklist

[x] Formatted my code by running ruff check --select I --fix . && ruff check . && ruff format . in app/backend
[x] Added tests for any new code or added a regression test if fixing a bug
[x] All tests pass
[x] Run the backend locally and it works
[x] Added migrations if there are any database changes, rebased onto develop if necessary for linear migration history

@aapeliv Added the following filters, have a look again. But should be fairly complete now :)
  oneof online_status {
    bool only_online = 12;
    bool only_offline = 13;
  }

  // all false => everything
  bool subscribed = 14;
  bool attending = 15;
  bool organizing = 16;
  // include events in the user's communities
  bool my_communities = 17;


Incorrect decompile of test and jle combo

Describe the bug
TEST       EAX ,EAX
JLE        LAB_004bf245
Decompiles to "if (uVar4 != 0xffffffe0) {"
Expected behavior
Should decompile to "if ((int)uVar4 <= 0) {"
Screenshots

Attachments
func_dec_debug2_xml.txt
Environment:

OS: Windows 10
Java Version: 11.0.6
Ghidra Version: 9.1.1

Why has this been mis-labelled as invalid?

Ghidra's doing the right thing here. Since uVar4 can only take one of two possible values from the expression just above it, "uVar4 == 0xffffffe0" is 100% equivalent to "(int)uVar4 <= 0", and simpler.
If you want Ghidra to interpret uVar4 as signed, you need to change the variable's type yourself.


Possible Enhancement Suggestion

Hello Fragjacker,
Great work on creating the DoW Mod Manager however may I made a suggestion for how to improve the launcher. I'd like to see an option for " -noprecachemodels " be added as a checkbox, as well as the possibility of porting the "Reveal Random Races" patch from DoW Online since that can be pretty useful to see for creating game plans while it's loading. It'd also be great if you could add in the Mono Framework for those who play on Linux, since the rise of the Linux Handhelds is a vital step forward for us linux gamers.
Thanks and keep up the amazing work,
Uri-Yuan
EDIT - 19/09/2024: I finally have managed to get the launcher running on Linux with Wine, however without the "-noprecachemodels" function the game fails to load properly, therefore having to launch without the launcher so I can run this command.

And/or least make it possible to add your own command line arguments using the mod manager would be handy too I reckon.


Social Cards Prep / on Job Index & Posters

Adds a social card template to the platform that can be added to any page that uses the base layout. These will be added to pages as needed - the homepages will get them when the new homepage designs go live.

Reopen if/when the project team wants to move forward on this.


Unable to Set Bucket Size for Bladebit

Not sure if this is not implemented or I just can't figure out how to set the variable but it would be nice to be able to set the bucket size when using the Bladebit plotter. In the newer versions it mentions that best results are when buckets=64 for diskplot plus >98gb ram usage.
I've tried adding the following under the bladebit config and when saving the plotter config get errors
-b: 64
-b 64
b: 64
b: 64
buckets: 64
buckets 64
n_buckets: 64
n_buckets 64

Good suggestion.  I've improved the passthru for the --buckets parameter, by allowing a diskplot_buckets: 265 setting under bladebit plotter configuration on the "Settings | Plotting" page.  Now available in the development stream of Machinaris.

Now available in version of 0.8.6 of Machinaris. Thanks!


Replace asserts in _verify_deployed_contract()

with if statements.
This is a part of https://github.com/raiden-network/raiden-contracts/issues/847.
I'm expecting a Codecov failure, and I'll add tests.

if receipt['contractAddress'] != contracts[contract_name]['address']:

This one is hard to break.  When I set a wrong value in contracts[contract_name]['address'], an earlier check about the onchain code fails.

But, I should be able to split away a function that takes a receipt and contracts, so I can touch the case.

Thank you!


chore(deps): upgrade trufflehog to 3.85.0

Description
This PR upgrades trufflesecurity/trufflehog action to v3.85.0
Checklist

[ ] README.md has been updated or is not required
[ ] push trigger tests
[ ] manual release test
[ ] automated releaes test
[ ] pull request trigger tests
[ ] schedule trigger tests
[ ] workflow errors/warnings reviewed and addressed

Testing done
https://github.com/splunk/splunk-add-on-for-cisco-meraki/actions/runs/12201434038/job/34039826531?pr=491

:tada: This PR is included in version 4.18.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How do i install microsoft office on kali linux

How do i install microsoft office on kali linux --- all i can see is Libre office, will it work for camelishing?

Unfortunately... Microsoft Windows Supported.

not supported? will the alternate libre office work?

No. Please set for Microsoft Office.


CloudBee Jenkins have 4 segment version

Add one more version segment since Cloudbee have 4 segment version: https://docs.cloudbees.com/docs/cloudbees-jenkins-platform-release-notes/latest/

Thanks for yours two PR!
This package supports Python 3.5 so please rewrite it, also it would be nice to write some unit tests here.

Thanks for yours two PR!
This package supports Python 3.5 so please rewrite it, also it would be nice to write some unit tests here.

I think having a method to make NamedTuple is an elegant way for Python 3.5. Another way was to use __new__ as mentioned here: https://github.com/python/mypy/issues/2683

Any idea on why is coverall failing?

Any idea on why is coverall failing?

It's strange, it fails time to time, I will look on it later, but I could accept PR without it, other is okay, and coverage from master after merge also will be okay.

Fixed in https://github.com/pbelskiy/aiojenkins/releases/tag/v0.7.7


Use jacoco-android plugin

Current coverage is 53.33%

Merging #29 into master will not affect coverage as of 0b0a0a0

@@            master     #29   diff @@
======================================
  Files           11      11
  Stmts          195     195
  Branches        16      16
  Methods          0       0
======================================
  Hit            104     104
  Partial          7       7
  Missed          84      84

Review entire Coverage Diff as of 0b0a0a0

Uncovered Suggestions

+3.08% via ...LayoutViewPager.java#26...31
+2.56% via ...ew/ToolbarUtils.java#16...20
+2.56% via ...LayoutViewPager.java#38...42
See 7 more...

Powered by Codecov. Updated on successful CI builds.

+1


MatMulValCKKS Takes Significant Amount of Memory/Time During Decrypt

Version Information (Put N/A for  Not Applicable)

Software
Version(s)

Linux
Ubuntu 20.04.1

Git
2.25.1

CMake
3.13.3

Compiler (GCC, Clang, etc.)
gcc 9.3.0-17

GLIBC (ldd)
2.31-0ubuntu9

Doxygen
N/A

HEBench Frontend
v0.5.1-beta*

HEBench API Bridge
v0.5.1-beta

Reference Backend
dev (2775191)

*Issue also present in anticipated v0.6.0-beta release (bd7f856)
Describe the bug
Running on 36c72t ICX Machine
When running MatMulValCKKS with "large" input sizes 8192x100x10, the memory and performance behavior drastically changes as the pipeline gets to the decryption step. Referring to the following step in the pipeline:
https://github.com/hebench/backend-cpu-palisade/blob/cb191ebd67306d89e582d3f80b218f37eacb9878/src/benchmarks/ckks/palisade_ckks_matmultval_benchmark.cpp#L357
Note that the same step in the bfv version of MatMulVal is similar (if not the same):
https://github.com/hebench/backend-cpu-palisade/blob/cb191ebd67306d89e582d3f80b218f37eacb9878/src/benchmarks/bfv/palisade_bfv_matmultval_benchmark.cpp#L356
Max memory usage at each primary steps (BFV included for reference) (8192x100x10):
BFV:

Warmup = 34.82 GB
Operate = 65.54 GB
Decrypt = 80.89 GB

CKKS:

Warmup = 22.53 GB
Operate = 43.01 GB
Decrypt = 491.52 GB (killed)

Killed due to oom_repear e.g. Out of Memory
Memory was bound to single socket
Tested with 256x100x10 = 17.41 GB
256*32 = 8192 so 17.41 * 32 = 557 GB?
Removed memory binding (didn't crash) = Max Usage of 586.75 GB

To Reproduce
Steps to reproduce the behavior:

Clone Backend (either development or main)
Potentially temporarily add Multithreading to decrypt step if taking too long just to get it to complete (#pragma omp parallel for above outer decrypt loop here: https://github.com/hebench/backend-cpu-palisade/blob/27751918ec31c22c816b8c13cd80947d9a557655/src/benchmarks/ckks/palisade_ckks_matmultval_benchmark.cpp#L365). Though be aware some instability may be introduced by adding MT to decrypt or encrypt steps.
Create Build Directory and CMake config & Build with:
cmake -DCMAKE_INSTALL_PREFIX=./ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-9 -DCMAKE_C_COMPILER=gcc-9 .. && make -j install
Run with attached configuration file (change to .yml): matmul-val-ckks-8192x100x10.txt
./bin/test_harness -b  ./libhebench_palisade_backend.so --config_file matmul-val-ckks-8192x100x10.yml

Expected behavior
Test completes with a relative increase of memory usage.
Screenshots
N/A
Additional context
N/A

Similar issue with element-wise workloads:

palisade-no-dot-no-mat-no-lri (just ele) ( 210.25 GB | 17 Minutes)

Closing due to expected behavior for Key Switching Technique used


Unsupervised Machine Learning with PyCaret

This fixes #3147
Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

@erixbiz
Good afternoon and thank you for submitting your topic suggestion.
Your PR has been entered into our queue and should be reviewed (for approval) as soon as a peer reviewer is finished reviewing the ones in the queue before it.

Hello, @mercymeave I have added the image with the right dimensions,
Thanks

plagiarism check done

Great work 🚀 @francis966 @mercymeave
Please go over the change I made and make sure you check the images paths and the author's file in your future reviews @mercymeave


Clarification: Annotations vs Qualifiers

Description
In most use cases, CDI qualifiers are applied using annotations. However, it's possible in CDI extensions to apply qualifiers to beans without adding annotations. In the example below, there are no annotations on the bean but it is qualified with Readiness.
// @Observes AfterBeanDiscovery event
event.addBean()
  .types(HealthCheck.class)
  .qualifiers(new ReadinessAnnotation())
  .scope(ApplicationScoped.class)
  .produceWith(obj -> {
    return new CustomHealthCheck();
  });

If an implementation were using the ProcessBean event to detect this bean, then processBean.getAnnotated() would not contain annotations but processBean.getBean().getQualifiers() would include the readiness qualifier.
When reading the spec, I'm not certain if beans defined in this way must/may be included in the health check endpoints. This statement from the spec leads me to think it's optional.

Any enabled bean with a bean of type org.eclipse.microprofile.health.HealthCheck and @Liveness, @Readiness, or @Startup qualifier can be used as health check procedure.

However, other areas of the spec speak very directly about requiring one of the annotations.

A HealthCheck procedure with none of the above annotations is not an active procedure and should be ignored.

I'm not really sure where beans like the one above fit into the specification. Does the spec intend for these to be used or are they outside the scope of the specification? I appreciate any guidance the community can provide.

Technically, CDI internally stores Beans, and these can be created from a managed bean (class with or without annotations), from a producer (@Produces annotated method) or by directly adding those Bean instances.
There should not be any difference, although a couple of imperfections in the CDI prevent code such as libraries to easily support everything.
Just a few examples:

https://www.eclipse.org/lists/cdi-dev/msg00131.html
https://github.com/eclipse-ee4j/cdi/issues/459

In this case I guess the TCK should contain Beans added directly (or using the configurator, as shown in your example), so implementations can take this into account.

If the project committers (which I'm not) agree that would certainly be a good idea. If it's not too much work I would just do the PR. I certainly think it's a good idea. Other specs could use this too in their TCKs.

@ghunteranderson for the readiness, liveness or stantup to be picked up, the class should be a CDI bean. The annoations are just qualifier not stereotype. Maybe in the future releases, these annotations should be updated to be stereotype with ApplicationScoped as the scope. @xstefank @pgunapal what do you think?

I am personally not against such a test but I must mention that some implementations, e.g. Quarkus, don't support CDI portable extensions. So such TCK test will be explicitly excluded from our certifications. Personally, I would prefer to wait for the build-compatible extensions API that will come with CDI Lite and Jakarta 10 to avoid such problems.

I was pointed to https://github.com/eclipse/microprofile-fault-tolerance/pull/596 for what I now agree that such test will be testing a CDI behavior, not MP Health. I also found out that the CDI Lite will no longer contain Portable Extensions, only Build compatible extensions so if we move to allow MP implementation to implement Jakarta CDI Lite, which I suppose is planned for the June release, this test will need to be removed.

In my opinion, if the specification contains unclear text, such as text that refers to annotations when it should refer to qualifiers (or qualifier annotations), that text should be fixed. That said, text such as

Any enabled bean with a bean of type org.eclipse.microprofile.health.HealthCheck and @Liveness, @Readiness, or @Startup qualifier can be used as health check procedure.

is pretty clear to me in that a synthetic bean that has the correct bean type and a qualifier is included.


Use existing checksum files for validation

Signed-off-by: Brad Beck<EMAIL_ADDRESS>

What if we have the files in our repo, instead of curling them from upstream. We could even maintain them as a vendor file. That gets us to two sources of truth (this repo and the external one) instead of pulling from the same one twice.


Cannot bind argument to parameter 'Path' because it is null

Hi,
I ran the create parent disk script and got this error message at the end.

Hmm, did you use the latest scripts? Never happened to me. I had some issues few commits ago, but should be fixed. Can you send me log to<EMAIL_ADDRESS>

I just tested it, seems fine

CreateParentDisks.txt

Dev branch seems fine also
CreateParentDisks.txt

I have same issue

That's weird - nanoserver vhd is created and core not. What about DC - that one is created? Just trying to figure out what might be wrong.

Can you please attach log?

Btw. Install.wim exists under sources on your server media? (maybe there is install.esd instead). I did not check eval media for some time

Log says it could not find install.wim. Can you check your iso? After you selected it, it was mounted to d:
Cannot find path 'D:\sources\install.wim' because it does not exist.
At G:\scripts\tools\convert-windowsimage.ps1:184 char:39

There is no install.wim there. but there is install.swm. Is it the same one ?

Weird. Where did you get the media from? Ill ask my colleague who owns convert-windowsimage if we can handle this format.

I got it in my company's file server. I will ask for other one I try again. Thank you

Hi Jaromir,
The issue i had was as a result of the fact that i used the windows server
iso i downloaded sometime last year, after downloading a fresh one it
worked and i have been able to start the DC although i still got the
attached error.
Regards
Ademola
On Sat, Jul 1, 2017 at 5:56 PM, Jaromir Kaspar<EMAIL_ADDRESS>wrote:

Hmm, did you use the latest scripts? Never happened to me. I had some
issues few commits ago, but should be fixed. Can you send me log to
<EMAIL_ADDRESS>—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/ws2016lab/issues/43#issuecomment-312443213,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUJVDJ4GJZluIXsMW-TdimgPF-TkCfezks5sJnpIgaJpZM4OKGvl
.

Folks, thanks for heads up! I'll modify the scripts with check, if wim exists. Evan media should contain just install.wim. If you run into any other issues, please let me know. Or if you would like to see some features. If you have any question, just ping me on my mail or here.

I committed fix dev branch https://github.com/Microsoft/ws2016lab/blob/dev/scripts.zip . It will tell you, that script did not find install.wim and that you should use different media.
THX! and let me know if anything else!


Ctrl+K,Ctrl+D moves } back in .razor file

having a razor file with a code like this:
@code {
    private void init()
    {
        var gopt = new Foo();

        gopt.Bars = new[] {
            new Bar()
            {
                Name = "1"
            },
        }; // this line will be moved back by Ctrl+K, Ctrl+D format
 //after KD format it will be like this:
 // }; // in the same vertical line as the '}' for the `init` method
    }

    public class Foo
    {
        public IEnumerable<Bar> Bars { get; set; }
    }

    public class Bar
    {
        public string Name { get; set; }
    }
}

Formatting will move the closing } for the array initializer to the same vertical line as ending } for the init method.

Confirmed this repros in 17.4 Preview <whatever we're currently on>

17.4 was released today. :smile:


prog: speed up resource ctors detection

When we build a list of resource constructors we over and over iterate through
all types in a syscall to find resource types. Speed it up by iterating only
once to build a list of resource types each syscall can produce and then reuse
it. This significantly speeds up syz-exeprog startup time on Raspberry Pi Zero.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@aa4feb0). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master     #983   +/-   ##
=========================================
  Coverage          ?   67.71%
=========================================
  Files             ?      114
  Lines             ?    20181
  Branches          ?        0
=========================================
  Hits              ?    13665
  Misses            ?     5876
  Partials          ?      640

Impacted Files
Coverage Δ

prog/target.go
55.39% <100%> (ø)

prog/resources.go
93.22% <100%> (ø)

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 aa4feb0...bb108d9. Read the comment docs.

PTAL


Section Select

As someone using an app on Japanese Incarceration
I want to be able to easily navigate between each scene
so that I can go nyoooooooomm through the app
Acceptance Criteria

[x] User should be able to traverse between the before, during, and after sections in the app
[x] User should be able to access this under the hamburger icon

Tasks

[x] Use the ChangeScene script to allow for quick navigation
[x] Extend the dropdown menu options to include before, during, and after

Prerequisites

[x] We have the needed functions in ChangeScene
[x] We have the dropdown prefab PACKED in each scene it is used

asdfgn yeah its done


Overlapping arrows and xlabels

Is it somehow possible to prevent the arrows to cross an external label?

This is a dot question and is not specific to this library. Maybe ask stackoverflow.
Or maybe using EndLabel.head or EndLabel.tail could help.


Typo fix in README.md file

Typo fix in README.md file.

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


Code fails noImplicitAny check under <IP_ADDRESS>

This code used to compile without error under 1.0:
module M {

        export interface T<A> {
            get(): A;
        }

        export function ap<A, B>(f: T<(a: A) => B>, x: T<A>): T<B> {
            return {
                get: () => f.get()(x.get())
            };
        }

        export function map<A, B>(f: (a: A) => B, x: T<A>): T<B> {
            return {
                get: () => f(x.get())
            };
        }

        var x: T<number> = {
            get: () => 0
        };

        var test = ap(ap(map((a: number) => (b: number) => (c: number) => {
                return { a: a, b: b, c: c };
            }, x), x), x);
}

However, under 1.1, I get the following error:
(23,37): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.

I don't see any reason why any subexpression of test should have an inferred type of any.

is this by design too?
function apply<a, r>(value: a, map: (value: a) => r): r {
	return map(value);
}
function id<a>(value: a) { return value; }
var yay = apply(() => ({ x: 0 }), id); // () => any <--- ????

I will let Fred Brooks know that developer time is completely fungible and that it would be plausible to take the intern off his summer project to redesign how generic type inference works.

I will let Fred Brooks know that developer time is completely fungible and that it would be plausible to take the intern off his summer project to redesign how generic type inference works.

What is this in response to?

Aleksey's comment that we should change this instead of doing abstract

sarcasm, i has it too
seriously, why do new controversial OOP features take precedence over not
working inference let alone anything that supports coding in functional
style?
On Jun 28, 2015 6:20 PM, "Ryan Cavanaugh"<EMAIL_ADDRESS>wrote:

Aleksey's comment that we should change this instead of doing abstract
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript/issues/833#issuecomment-116355290
.

It's not a matter of precedence.
Choosing not to do abstract will not a) make fixing this any easier or b) free up any resources that are capable of fixing this problem.

@aleksey-bykov In addition to what's been covered, don't think we haven't spent a lot of time talking about generic type inference over the years. It's not like where inference is now is as far as we thought about it and we just punted on thinking about going any deeper. We'll continually re-evaluate what is and isn't feasible in that part of the system over time, but as Ryan notes, it's not as simple as just choosing to do x instead of y.

Good to know. Thank you
On Jun 29, 2015 3:43 PM, "Dan Quirk"<EMAIL_ADDRESS>wrote:

@aleksey-bykov https://github.com/aleksey-bykov In addition to what's
been covered, don't think we haven't spent a lot of time talking about
generic type inference over the years. It's not like where inference is now
is as far as we thought about it and we just punted on thinking about going
any deeper. We'll continually re-evaluate what is and isn't feasible in
that part of the system over time, but as Ryan notes, it's not as simple as
just choosing to do x instead of y.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript/issues/833#issuecomment-116813864
.


Local html file can't be loaded.

We are upgrading from cordova-plugin-wkwebview-engine version 1.1.4 to cordova-plugin-ionic-webview 2.5.1
In version 1.1.4, we are using the file protocol to display the local html files.
Using localhost to host files is something that we would like to avoid because our app is generally running under a corporate VPN that by default limits non-standard port access.
After upgrading to 2.5.1, we found that loading a local html page is no longer possible.

can you provide a bit more detail about how you load the local pages?

We have a class that extends CDVViewController.
in the viewDidLoad function, we are passing the path of the local file to the super.startPage property.
We also do the following:
[wkwebview.configuration.preferences setValue:@TRUE forKey:@"allowFileAccessFromFileURLs"];

What do you think about my pull request #396 ?

I've closed it.
If you don't want to use localhost, you can use WKBind preference and set it to <IP_ADDRESS>, that should fix the VPN problems.
We can look into respecting the startPage to use the scheme or web server serving from that folder instead of from the default one, but we won't consider using file scheme again because it causes problems.
Can you provide a sample app that we can use to test the startPage development?

If I use <IP_ADDRESS>, won't the default port of 8080 still be applied?
Localhost isn't really an issue, the issue is using a non-standard port.
We are trying to avoid using non-standard port because it is not feasible to have every customer open a port when they use the software.
I'll see if I can put together a sample app.

Ah, sorry, most people with VPN issues were related to the localhost word, not to the ports.
You can change the port with WKPort preference.

According to this line, if WKPort is not set in the config, it would default to 8080
https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/2.x/src/ios/CDVWKWebViewEngine.m#L219
But if I set it, then it would be a non-standard port.
Maybe I can set a standard port of 80? Would that interfere with anything else?

Yeah, that should work.

Here's a repo that reproduces the issue:
https://github.com/george-lin/sample-cordova-project
All you need to do to build the project should be cordova platform add ios
Thank you for looking into this issue.

Have you had a chance to look into reproducing the issue?
Is there anything that we can do to help with expediting this process?
Thanks


fix: view sync between a visible and a hidden view

Implemented changes
This adds a small fix when syncing two views: for some reason, when syncing two views and the "receiving" one is not visible (and thus its view is not initially visible and usually defaults to 0 zoom if nothing else is defined), it "forces" its zoom onto the "giving" one (if no explicit zoom is set there as well). To mitigate this, when the "receiving" one is hidden and the "giving" one has no zoom set, it syncs the "other way round" in order for this zoom reset not to happen.
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] All checks have passed
[x] The PR title follows conventional commit style and reflects the type of change (major/minor/patch, breaking)
[x] The PR title describes the change within this element (each merged PR equals one entry in the element's changelog!)

The original behaviour is kind of expected, for ol technically there isn't a giving or receiving view, just 2 maps with the same view. Without a rendered container ol doesn't know how to calculate the zoom correctly.
I suppose you are hiding the map with display: none; (or not rendering the element at all)? If you just use visibility: hidden; it should work fine, if you want to keep a "master-slave" relation then this solution is fine as well

Did you manage to reproduce this in a vanilla ol setup? I can't quite reproduce this exact behavior...
Generally I suppose the current solution would be better than checking for the visibility-attribute, since the container could be 0x0 px for some reason, probably creating the same problem, but weird either way. Reversing the view-sync could potentially be dangerous because of other view-properties like extent or rotation


Added User Info endpoint

Trying to respect @ericchiang s proposal as best I could, I re-implemented the user info endpoint. It should work with all the connectors and was successfully tested with LDAP and OIDC connectors.

The AccessToken is filled with Claims, Connector Data and ConnectorID from the AuthCode.
It is then Serialized and sent to the user
The user may, then, do a request to dex's User Info endpoint using this token.

By default, when dex gets a /userinfo request, the token is deserialized, the Claims originally copied from AuthCode are extracted from it and sent back to the user as the User Info response payload.
This should work for all the connectors and was tested with the LDAP and OIDC connectors.
If the connector used to authenticate the user implements the GetUserInfo interface, then the responsibility of generating the User Info payload is delegated to it.
This is the case of the Oidc connector.
It uses the real AccessToken, previously stored as a field in the ConnectorData, to forward a genuine /userinfo request to the original IdP.
The Claims extracted from the AuthCode are used to generate the initial user info payload object, and this object is extended with whatever claims are returned by the original IdP.
Please, let me know if there is anything that can be improved.

OMG, can't wait for it to be merged :)

Good to know there are more people interested in this, @redbaron !
Perhaps you could try out the latest Dex code from that repo I requested the merge from and see if you have any issues with it.
This would probably save @ericchiang and @rithujohn191 some time and, possibly, speed up their reaction to the PR.

No user info endpoint should depend on the backing connector (https://github.com/coreos/dex/issues/376#issuecomment-339720659). We already have the username and groups to fill in the id_token, we should reuse that information to handle the userinfo endpoint.

Thank you for your comment @ericchiang !
I made sure that the default behavior of the userinfo endpoint is to simply return the claims like you mentioned. The same clames that were already stored in the id_token (username, email, groups).
The only deviation from this behavior, is in case you are working with the OIDC connector, in which case Dex will try to get additional claims from the actual /userinfo endpoint in the original IdP.
This makes it possible for anyone using Dex to possibly expect richer user information returned by Oidc providers connected to Dex.

What additional work does this PR need to pass review? Looking to help. We're trying to use dex as an generic oauth source for use with grafana, but grafana expects the /userinfo endpoint to exist.

Hello,
Is there any chance that this PR would be merged?

Hi,
How's it going?
Is there anything I can do to help me merge this PR?

ETA on the PR merge? This is quite important for Mozilla's OIDC plugin as well.

@ericchiang I could take a second look at this PR and get it merged if you don't have the time to review it.

@rithujohn191 please feel free :)

Will need to resolve conflicts, but it looks good.

How's this progressing? I want to add this to AWS Cognito to support LinkedIn, but I am pretty sure Cognito expects a userinfo endpoint given how it describes the auth flow.


Palladium Rifts by Grinning Gecko v1.3

Changes / Comments

Adds roll templates for damage, casting spell, and using psionic.
Adds optional successtext to skill roll template.
Add Break Fall to bonuses.
Move Modern Strike: Pulse to Strike: Single bonus.
Added Migrate button instead of auto-migrating on sheet load.
Output PPE/ISP/MDC to chat when an amount is deducted from the sheet using the action buttons.

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.

Yes

[x] Is this a bug fix?

No

[x] Does this add functional enhancements (new features or extending existing features) ?

Yes, a bit.

[x] Does this add or change functional aesthetics (such as layout or color scheme) ?

No

[x] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?

No change of attributes.

[x] If this is a new sheet, did you follow Building Character Sheets standards ?

Not a new sheet.

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Multiple Different TV Shows/Movies are Grouping Together

Happening on multiple episodes and movies.

Are you using the last version of jellyfin? Check the TMDB Id for those movies

I have the same issue. Specifically, Ghost In The Shell 1995 (9323) and Ghost In The Shell 2017 (315837), which are different movies and different TMDB entries, get grouped together. I can't find a way to keep them apart.
I have multiple versions of both, if that makes any difference.
Using latest stable version of Jellyfin (10.9.11).


adding global doesn't automatically flush to engine.cfg and is confusing.

open the project settings
go to autoload
add an autoload
press play
you it won't work.
you have to manually go and save the project settings

Heh, so many issues refer to this one :laughing:

this one is still so popular. :smile:


Some code cleanup + add a missing @inbounds

Most changes are aesthetic and less code.
Only adding a few @inbounds is possibly the important changes.

Thanks! I wonder how much difference the @inbounds makes...


Web app support

This might end up being a meta-issue to track individual issues, depending on the scope of work. But we'd need to make sure we have GNOME Software with all the correct flags enabled, plus metadata for web apps for GNOME Software (like we have in Endless OS) at the very least.

Some more info here from our research: https://github.com/ublue-os/bluefin/issues/43
We have a ublue-os COPR, and hoping we can get gnome-software with the right flags in there when we can.

You can use gnome-software from the ublue copr: https://github.com/ublue-os/bluefin/issues/43#issuecomment-1579339125

Thanks for your help on this Kyle! It's landed on the image now, no idea how to use it but I guess we'll find out!


ES Module import error

Environment: Node v14
There is an import error after upgrading to v4.
ERROR: : Must use import to load ES Module.
Screenshot is also attached for reference:

Please read the release notes.

You can use the previous version of the package:
npm install<EMAIL_ADDRESS>


Mythos event in unspecified location

Description of Problem or Question
In the feedback of a player after playing the scenario 'disturbance at the docks' he/she left the comment:
one mythos event did not specify a location (downed electrical wires)
In that scenario only 'standard' mythos events are used so i assume this is a bug.
Valkyrie Version
2.2.04
Attach Save, Quest or Scenario
Disturbance at the Docs

I had the same feedback on a scenario, that electrical cables event seems to be made as classified.

We would need to identify the event to understand what is the problem exactly.
I found those 3 events in the import :
MONSTER_MIGO_ATTACK_11,"The alien creature flutters into the air, leveling a weapon that seems part trumpet, part tangle of electrical wires, in your direction (; 2). If you pass, you roll nimbly aside as the weapon fires.

EVIL_ELECTRICITY_02,"The electrical wires near you overload, bursting apart in a cascade of sparks (; 3)! If you pass, you stomp out every spark as soon as it falls, hurrying so much that an old wound opens; flip 1 Damage faceup. If you fail, the sparks quickly ignite a true blaze, leaving you dumbfounded at the dangerous power housed in those wires; place Fire in your space."

STORY_ELECTRICAL_FIRE_2_BOAT,"The ticking coming from the bedroom stops, there is a second-long pause, and then a spray of sparks showers the bedroom. The bedding and furniture in the bedroom catch fire, and before long, the entire room is ablaze. Discard the Search token in the bedroom and place Fire in each space in the {0}. Then each investigator in the {0} suffers 2 facedown Damage."

Nothing obvious though

The first seems to be related to the attack of a Migo and there is no reference to a room.
The second looks more like a Mythos event but there is nothing wriong with that description. the only location reference is 'your space' which is clear enough (to me).
The third one is more suspicious because it has the {0} drop-in roomname  reference. Extremely weird if it triggered in 'disturbance at the docks'. There is no bedroom in the docks and from the looks of the description ID, this event is used on a boat story. There is also no boat in 'disturbance....'


When I type the command in chat, it just says "Incorrect type value" and i'm not sure where i went wrong. I followed all the steps

Hello @TheAaronator, can you please post the link you use (without the pass for security reason) ?
Thanks in advance.


Added TypeScript 2 example project

I've added a partial typings for Objection and an example project that consumes the typings in the PR to address #102. I've got a solid 3 weeks of experience with TypeScript at this point, so temper expectations accordingly.
This PR compiles and runs successfully on node v6.8.0 on linux and win10.
As this typing is self-contained in the examples directory, you can merge this PR and not adversely impact anyone except others that are interested in pushing forward high-quality typings for Objection.
Remaining tasks:

[ ] Finish strongly-typing typings/objection/index.d.ts (most references to "any" should be examined to see if there is a better type to use).
[ ] Add the "noImplicitAny": true option to tsconfig.json and address any issues from tsc
[ ] Submit this to DefinitelyTyped .
[ ] Remove the typings directory and add the new types to examples/express-ts/package.json.

Coverage remained the same at 97.036% when pulling 071693f9e962d3424474dc5b5357f702c30c228c on mceachen:typescript-example into 9f771e245489771abc3cd81d5c1aea5f023e34a8 on Vincit:master.

Thanks @mceachen
How is bindKnex() intended to be used with these type defs?

@drew-r that's a mistake--I misread the API guideline, and it should return a typeof Model (or in this case, typeof T, but that doesn't look like it's supported.
I'll look into it a more tomorrow.

I fixed it and a few other things, whats the best way to get them merged?

@drew-r where's your diff or branch?

I believe subclasses are properly handed in 0bcad79 now, so Model types are ready.
QueryBuilder is still a WIP. I'll submit another diff finishing that work soon.

Coverage remained the same at 97.036% when pulling 0bcad797f975f090bebdae5c909247ba8fcb5a1a on mceachen:typescript-example into 9f771e245489771abc3cd81d5c1aea5f023e34a8 on Vincit:master.

Coverage remained the same at 97.036% when pulling 1d782b4ad451de409c68ae8358a00bdd4549fee9 on mceachen:typescript-example into 9f771e245489771abc3cd81d5c1aea5f023e34a8 on Vincit:master.

Coverage remained the same at 97.036% when pulling 2ce51915fcbb85b53598027b5f260467e9fabebc on mceachen:typescript-example into 9f771e245489771abc3cd81d5c1aea5f023e34a8 on Vincit:master.

Coverage remained the same at 97.036% when pulling 2ce51915fcbb85b53598027b5f260467e9fabebc on mceachen:typescript-example into 9f771e245489771abc3cd81d5c1aea5f023e34a8 on Vincit:master.

Coverage remained the same at 97.036% when pulling 2ce51915fcbb85b53598027b5f260467e9fabebc on mceachen:typescript-example into 9f771e245489771abc3cd81d5c1aea5f023e34a8 on Vincit:master.

Coverage remained the same at 97.036% when pulling 9bb032a3d687386d89a80754b945be0fda3d8e42 on mceachen:typescript-example into 9f771e245489771abc3cd81d5c1aea5f023e34a8 on Vincit:master.

Coverage decreased (-0.003%) to 97.033% when pulling 39a081bb804205bf483b41c422d1d6abef99c0ab on mceachen:typescript-example into 9f771e245489771abc3cd81d5c1aea5f023e34a8 on Vincit:master.

@mceachen I wonder is there a way to have QueryBuilder return Promises that are typed to the model?
I played around with a QueryBuilder<T> and a query(this: T): QueryBuilder<T> but it kind of breaks down when you have to start subclassing models for example with bindKnex, as this: T is a typeof Model rather than Model. Any ideas?

@drew-r I played with that a bit, but because you can make queries that
return partial models,  model unions, and even arbitrary columns, that
discouraged me from pushing forward with that idea.
If there was a query builder with a much simpler interface, I think that'd
be great. The current query builder would presumably then subclass and
extend this strongly typed query builder.
@elhigu is there anything else I can do to get this PR merged? Thanks for
your prior review!

A simple solution is type the return function:
export async function list(churchId: number): Promise<Informative[]> {
  return await Informative.query().where({ churchId });
}

export async function insert(informative: IInformative): Promise<Informative> {
  return await Informative.query().insert(informative);
}

Works like a charm ;)

thanks both.
@mceachen that makes perfect sense.
While I have your ear so to speak, do you see an elegant way to expose the static properties defined on Model classes when using bindKnex()?

@mceachen all good, let us know about Definedlytyped stuff how it goes 👍

Aand thanks! I look forward to test these in our own project which we've been writing with typescript :)

Also there are a few edits that need to be made... query() needs an
optional transaction parameter, transaction itself needs to be exported
additionally as a namespace with the static Transaction.start() relocated
and exported within.
fromJson options are optional also I believe.
Sorry I would put a patch together but restricted to mobile right now
On 12 Nov 2016 12:05 a.m., "Mikael Lepistö"<EMAIL_ADDRESS>wrote:

@mceachen https://github.com/mceachen all good, let us know about
Definedlytyped stuff how it goes 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Vincit/objection.js/pull/239#issuecomment-260084052,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADtixvPViClWeGTwiNamPIJX2bAjT7b0ks5q9QKugaJpZM4Kp77N
.

Ah OK, I'll make a new pr with those changes, and link to the definitely
typed pr, too.

@drew-r just created #246 to address your comments.

I would like to see these submitted to Definitely Typed to make them easier to use. Is that still on the radar @mceachen?
Thanks for doing the work and adding these.

I had one more set of changes before I wanted to submit to DT, which are here: #254. I'll reference the DT PR here when I post it.

@Amerzel In reading the best-practices from DefinitelyTyped, they recommend the library self-host typings. See #255 which moves the types from the example and into the objection module proper.

@mceachen,
That makes sense. There's pluses and minuses to doing it that way. It makes it really easy to use the types but adds a bit more work for the library maintainers. They would be expected to maintain and update the typings as new features are added to the library. If the maintainers don't use TypeScript having the typings self hosted adds some additional work that they may not care about or want to maintain.
James

@Amerzel yep, we've discussed about it a bit in gitter chat. The same amount of maintenance work is in both options: Someone has to update typings when new APIs are released, if there is no one who is committed to keep them updated for releases, then we can just drop the support.
Good thing is that if we keep typings in the same repo, it is easy to keep versions synched that correct version of typings comes directly with the certain library version (I suppose that definitely typed has also mechanism for it, but to me keeping everything in the same repo feels easier).

Sounds great. I'm glad it was discussed. Keeping everything in the same repo is definitely easier :)


'met' not working

Hey, just tried using the code snippets but when typing "met" as per your gif it doesn't give any options.

Never mind, I see you have to install a separate snippet tool.


VRS-1032 mocks are ordered by wildcard (*) params number in order to …

…give more priority to the more restrictive mocks since order is not guaranteed when iterating over a map

Let's talk about this on Monday if you want, I don't know if it's the best approach (I'm not a go expert) but it fixes the problem I was having.
The problem was that the mocks where not checked always in the same order because in go when iterating over a map with a range loop, the iteration order is not specified and is not guaranteed.
(See section "Iteration order" -> https://blog.golang.org/go-maps-in-action)
Since I have the following mocks and the first one is more restrictive than the second one, I need to guarantee that the fist one will be checked first. Example: if I have username=bdvr-full and password=bdvr-full, the 1st one must be checked first because if the 2nd one is checked first, the API will be called (it proxies the request).
1st one)
request:   method: POST   path: /papipay/user/memberData   body: username=bdvr-full&password=bdvr-full&ip=*
2nd one)
request:   method: POST   path: /papipay/user/memberData   body: username=*&password=*&ip=*

@estermaja-teamcmp This change seems incompatible with the priority feature:
https://github.com/jmartin82/mmock/blob/d8a4a433f79ca90e33c75279fcc96d6f25de41eb/definition/mock.go#L37
https://github.com/jmartin82/mmock/blob/6fd01b5b43a4b074cbff4ed8cbd0e882647ee546/definition/mapping.go#L117

@jmartin82 I'll try this feature, didn't know about it. Thanks


README.md

@annieM459 It looks like you have merged main with your branch instead of the other way around. When you create a pull request, make sure that your branch is on the right, and the arrow is pointing towards main. I'm about to post a video showing how to do this, so check it out if you're not sure what I'm talking about! I will merge this one anyway, no harm in being up to date! (but you should have permission to do this too.)


angularjs issue with setTimeout and link function directive

Hi all, i'm facing this issue.Trying to catch my translation from "intro" l.65 actually everything work fine
but the problem is using setTimeout to wait 1s is not the best. I'm  supposed to use link in the directive below but i don't know how after reading the docs i still not understand. Your help will be great. Thanks

Sorry, but I don't get it. Where is the angular-translate code?

yes exactly pour everything is working perfectly when i put the setTimeout from l.60 to 68 and wait 1s.it seems that link function is executed at the end of directive but i don't know how to remove the setTimeout and use link function instead

Could you setup a Plunker where some angular-translate code / calls are visible or used? Otherwise I don't know what we should/could help here...  or I'm just not getting it... :-)

the project is too big, but you can see here my module the directive i created to handle my translations normally i should be more clear. i'm using introjs framework to describe my webpage  and translations appear in the tooltip when i put the setTimeout it's working but not when i remove it

this is my angular translate. i'm calling an api to retrieve dynamically the current language
it's work pour the problem is i'm obliged to delay my function in order to see my translation

here 's my translation

I'm also not getting it. However, when working with setTimeout() or DOM directly you will have issues with AngularJS always. That's because no implicit $scope.$apply()will be performed (AngularJS basics). Ideally, you would use $timeout() instead of setTimeout().

Closed due inactivity.


Add typing for steps/discover/init.py

Ok, @thrix, changed StepData to tmt.steps.StepData and tmt.base.Test to tmt.Test for consistency.

@janhavlin same problem with required runtime import

Not sure how to fix the errors. Can anyone help me with that please?


Call options are not documented and non-obvious

On https://googleapis.dev/nodejs/tasks/latest/v2.CloudTasksClient.html#createTask, what are options?
Following the link to https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html is of no help either.
I'd like to know what they mean and what are the defaults.
It seems timeout is in milliseconds. I've seen this fail a few times so I am somewhat confident that this is what it is.
However, couple more things:

it seems to be a "connect" timeout not the timeout for the creating task operation. I've seen the operation succeed in tail-cases after 10 seconds when my time out is 100 milliseconds.

Not sure what maxRetries is -- changing it has any effect if timeout fails. I'd have thought it would retry the configured number of times.

Hey @jayp 👋 we're in the process of converting this library to TypeScript, which should help a ton with regards to documenting these available options.

Even after the Typescript migration, these settings and their interactions and their defaults are non-obvious. This file seems to contain the defaults for the retry config, but there are other options (like maxRetries that don't seem to have defaults and isn't even present in the code for this repo).
I think the real issue is that Google is relying on autodoc generation for everything but the overview page, so all these config settings etc are being pulled in from proto annotations from a library that is shared with lots of other GRPC APIs, not just tasks.
Cloud Tasks Team, plz don't let your reliance on autodocs prevent you from writing good docs :)

Can someone point me to the right documentation for call options? There are so many flags and parameters, I am not sure which properties are meant for which.
Anyone?

Same, we need to add specific Retry options but we are not sure where to set those.


Nightly Builds and release for Opensearch Benchmark Tool

Is your feature request related to a problem? Please describe.
Currently for any feature that is getting added in OpenSearch Benchmarks we need to wait for release so that OSB can be install it via pip.
Example: https://anaconda.org/pytorch/faiss-gpu
Describe the solution you'd like
In general python packages have nightly build which can be installed via different channel of the conda or pips.
Describe alternatives you've considered
Alternative, checking out the local code and building the code is an alternative. But this works for people who can build it from source. But it adds pain as I need git and other dependencies to build and run.
Additional context
NA

Since nightly runs depends on public opensearch benchmark release, we have to either release more often to have this available in nightly run script or there will be lag in adding new nightly runs which depends on feature that are unreleased in OSB. Publishing osb to pip repository weekly or frequently, and consume that from nightly run will improve developer experience. @bbarani Can this be prioritized? Thanks

We should be enabling nightly OSB builds and/or automated builds on PR merge shortly.  This work is in progress.


Actualize 'selected' attribute on Select All action.

If some option not selected before calling 'selectAll' action, click on the some option not working properly. It detects actual selected items by calling jQuery this.$element.val() method which ignore 'selected' property state.

Setting the selected attribute is only necessary when pre-selecting options on page load. I'd prefer not to have to set it unless necessary, as it could be a potential performance hit. If you can elaborate on the advantages of this PR I may consider it.


Dace fv3core feature backport Part 1: Variable K offsets

Description
This is the first in a series dependent PR's for backporting features implemented during the work on DaCe orchestration of fv3core.
This PR introduces

support for Variable K offsets in the DaCe backend.
Various smaller changes including bug fixes that are preparatory work for later PR's such as Regions

bors try

bors try

bors try-
bors try

@twicki Thanks for the review. I have fixed the failing GPU test and addressed addressed your comments. Please give this another look.

bors try

bors try

bors try


Add support for JWT authentication

Closes https://github.com/crate/crate/issues/14238
Supersedes https://github.com/crate/crate/pull/15640 (each commit here has changes related to comments in the old PR)
First commit is combination of https://github.com/crate/crate/pull/15515 and part of https://github.com/crate/crate/pull/15562 (another part is exposure of props in sys.users table)
Other commits pretty much 1:1 to already reviewed PR-s.

Error:  Failures:
Error:    RoleManagementIntegrationTest.testAlterNonExistingUserThrowsException:206 [Expected an exception with errorCode 40410 but NullPointerException has a different code]
expected: 40410
 but was: 5000

will take another look

pushed a fixup.


suggestion: Add the Option of "Finish the task, even if a track is missing"

Firt of all, a huge tank you Bazzu85 for this tool, is very helpfull.
In my case there is an option tha i wish that you add it, if it´s possible.
the option of "Finish the task, even if a track is missing"
I have found some errors "open file error" in the task list, not finding a certain subtitle.
I made a model with:
Title.mp4
1 Video Tracks
2 Audio Tracks
Title.es.srt
Title.en.srt
Title.pt.srt
Title.es.forced.srt
Title.any.srt
but some titles have some of the tracks, but not all.
And on that occasion the error appears when executing the task
Once again, thank you for your time

Hi, thanks for your feedback and suggestions!
Unfortunately the error is from mkvmerge.exe and cannot be avoided.
If I can suggest you a flow:

give all the files to MkvmergeBatcher using the model with all external files
when done delete/move away the original files that are correctly muxed
give the remaining original files to MkvmergeBatcher with a more congruent model and repeat

Hope this can help.


Question about "immutable/chunks" logs

The logs show records like
2024-05-30 14:29:00,630 - (hooks) - INFO - [GET] - /_app/immutable/nodes/33.d1a587dd.js
2024-05-30 14:29:00,641 - (hooks) - INFO - [GET] - /_app/immutable/chunks/taskStores.e8636c18.js
2024-05-30 14:29:00,645 - (hooks) - INFO - [GET] - /v2/tasks
2024-05-30 14:29:00,646 - (hooks) - INFO - [GET] - /_app/immutable/chunks/TasksTable.194b98d0.js

@zonia3000 could you explain briefly what they represent?
I guess they are expected, since those are INFO logs - is there any situation where this kind of logs require some further check?

This is very weird and should not happen.
The _app folder is one of the folders generated by npm build, in particular inside build/client. Svelte build process splits the code in multiple chunks to improve performance. So, those paths are just client side JavaScript file that are loaded by the browser.
The fact that the browser is loading these files is correct. What is wrong is that we are seeing these logs from the hooks component.
Indeed, according to Svelte Kit documentation, static files like these should not be handled by hooks:

Requests for static assets — which includes pages that were already prerendered — are not handled by SvelteKit.

The fact that we are seeing those logs implies that we are running hooks logic for all the static files and we don't want that.
I'm not able to reproduce this. Can you provide some additional information like Node version and how the app was started?

Is this happening also in a new anonymous window?
A possible simple explanation: the browser had cached an old page version and is referencing old chunks that doesn't exist anymore. In that case the path is not recognized as a valid chunk and may hit the hooks component.

Can you provide some additional information like Node version and how the app was started?

Sure.
It's fractal-web 1.1.0, with node v16.20.0. I fetched from the github release as in
#!/bin/bash

FRACTAL_WEB_VERSION=1.1.0
NODE_MAJOR_VERSION=16

wget -qO- "https://github.com/fractal-analytics-platform/fractal-web/releases/download/v${FRACTAL_WEB_VERSION}/node-${NODE_MAJOR_VERSION}-fractal-web-v${FRACTAL_WEB_VERSION}.tar.gz" | tar

and then ran
#!/bin/bash

# fractal-web variables
export FRACTAL_SERVER_HOST=http://subdomain.example.org:8001
export<EMAIL_ADDRESS>export PUBLIC_OAUTH_CLIENT_NAME=
export AUTH_COOKIE_DOMAIN=subdomain.example.org
export LOG_FILE=logs/fractal-web.log

# node variables
export PORT=5175
export ORIGIN=https://subdomain.example.org
export PROTOCOL_HEADER=x-forwarded-proto  # TODO: is this needed?
export HOST_HEADER=x-forwarded-host       # TODO: is this needed?

node build/

and here is a bit more context for the logs
2024-05-30 13:11:50,662 - (hooks) - INFO - [GET] - /
2024-05-30 13:12:00,158 - (hooks) - INFO - [POST] - /auth/login
2024-05-30 13:12:00,440 - (hooks) - INFO - [GET] - /v2/projects
2024-05-30 13:12:03,052 - (hooks) - INFO - [GET] - /v2/admin/jobs
2024-05-30 13:12:07,324 - (hooks) - INFO - [GET] - /api/admin/v2/job
2024-05-30 13:12:34,482 - (hooks) - INFO - [GET] - /v1/admin/jobs
2024-05-30 13:12:35,735 - (hooks) - INFO - [GET] - /api/admin/v1/job
2024-05-30 13:12:44,980 - (hooks) - INFO - [GET] - /api/admin/v1/job
2024-05-30 14:29:00,630 - (hooks) - INFO - [GET] - /_app/immutable/nodes/33.d1a587dd.js
2024-05-30 14:29:00,641 - (hooks) - INFO - [GET] - /_app/immutable/chunks/taskStores.e8636c18.js
2024-05-30 14:29:00,645 - (hooks) - INFO - [GET] - /v2/tasks
2024-05-30 14:29:00,646 - (hooks) - INFO - [GET] - /_app/immutable/chunks/TasksTable.194b98d0.js
2024-05-30 14:29:00,765 - (hooks) - INFO - [GET] - /v2/tasks
2024-05-30 14:29:01,090 - (hooks) - INFO - [GET] - /api/v2/task/collect/6
2024-05-30 14:29:01,091 - (hooks) - INFO - [GET] - /api/v2/task/collect/8
2024-05-30 14:29:01,096 - (hooks) - INFO - [GET] - /api/v2/task/collect/9
2024-05-31 07:22:40,249 - (hooks) - INFO - [GET] - /
2024-05-31 07:22:40,290 - (hooks) - INFO - [GET] - /
2024-05-31 07:22:42,842 - (hooks) - INFO - [GET] - /v2/admin/jobs
2024-05-31 07:22:46,245 - (hooks) - INFO - [GET] - /api/admin/v2/job
2024-05-31 07:22:54,962 - (hooks) - INFO - [GET] - /v2/admin/jobs
2024-05-31 07:22:58,041 - (hooks) - INFO - [GET] - /api/admin/v2/job
2024-05-31 07:23:03,179 - (hooks) - INFO - [GET] - /v1/admin/jobs
2024-05-31 07:23:04,215 - (hooks) - INFO - [GET] - /api/admin/v1/job
2024-05-31 07:23:15,309 - (hooks) - INFO - [GET] - /api/admin/v1/job/1655
2024-05-31 07:23:20,261 - (hooks) - INFO - [GET] - /v1/jobs

As discussed, it's likely a browser cache issue.
In any case, I'll add the following at the beginning of hooks.server.js to prevent hooks logic being accidentally executed in these situations:
if (event.url.pathname.startsWith('/_app')) {
  await resolve(event);
}


Add Taxfyle to showcase.js (Apple "Best New App")

Update to showcase.js
I asked Brent via twitter before submitting.

Looks like CI is failing, will have to wait for that to be resolved before we can merge this!

Trying a rebuild, if it doesn't go through can you please rebase @kwcto? Sorry for this!

@facebook-github-bot shipit


regarding run_sample.py

can you please tell me what is the goal of run_sample.py ?

After obtaining an initial seed by obtain_CAM_masking.py, we refine the initial seed by IRN, which is realized by run_sample.py. Please refer to IRN for more details.

Thanks

@jbeomlee93  I am really enjoying your work.
can you please clarify the following concepts as well for me?
can you please tell me what the following funtions do and what is their purposes?
in misc/torchutils.py I see thre functions gap2d ,gap2d_pos, and gsp2d. but I dont understand what is the goal of them.
Thanks a lot

'gap' and 'gsp' denote global average pooling and global sum pooling respectively.
They are used for computing logit values:
https://github.com/jbeomlee93/AdvCAM/blob/fa08f0ad4c1f764f3ccaf36883c0ae43342d34c5/net/resnet50_cam.py#L37
or, computing CAMs:
https://github.com/jbeomlee93/AdvCAM/blob/fa08f0ad4c1f764f3ccaf36883c0ae43342d34c5/gradCAM.py#L90
For more details, please refer to the formulation of CAM and Grad-CAM.
Thanks


DB Sync keeps choking on migration-4-0001-20200702.sql

OS
Your OS: Ubuntu 20.04
Versions
The db-sync version (eg cardano-db-sync --version): <IP_ADDRESS>
PostgreSQL version: 14.5
Build/Install Method
The method you use to build or install cardano-db-sync: Dockerfile
Run method
The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none): Docker
Additional context
Postgres config:

shared_buffers = 8GB
work_mem = 2GB
maintenance_work_mem = 4GB
max_wal_size = 16GB
min_wal_size = 4GB
wal_level = minimal
max_wal_senders = 0
wal_buffers = 16GB

Server:

AMD Ryzen 9 5950X (32) @ 3.400GHz
128GB RAM
2x 1.92TB Gen 4 NMVe datacenter edition (RAID1)

Problem Report
I'm setting up a new db-sync instance. It's fully synced, but now it keeps on crashing on the same migration (index for address in tx_out):
Running : migration-1-0000-20190730.sql
 init
------

(1 row)

Running : migration-4-0001-20200702.sql
psql:/nix/store/8karnsk27jxnp00r94zkzvjsrx34s0b9-schema/migration-4-0001-20200702.sql:3: server closed the connection unexpectedly
	This probably means the server terminated abnormally
	before or while processing the request.
psql:/nix/store/8karnsk27jxnp00r94zkzvjsrx34s0b9-schema/migration-4-0001-20200702.sql:3: connection to server was lost
ExitFailure 2

I'm using the same Postgres config modifications as with previous instances and never had this issue.  Should I adjust the settings?

Is you postgres server running? Also are you running db-sync with --force-indexes?
This index creation takes normally quite some time
CREATE INDEX IF NOT EXISTS idx_tx_out_address ON tx_out USING hash (address);
You could try to stop db-sync, delete this line from the schema file in question migration-4-0001-20200702.sql and start again.

Is you postgres server running?

Yes, it's managed by Docker Swarm, and it's running as it should. It exists on that migration after a bit under 3 hours of execution.

Also are you running db-sync with --force-indexes?

No. db-sync just is just continuing its default procedure. No special flags.

This index creation takes normally quite some time

Yeah, I remember from previous syncs. Hashing ~196 million records is a lot. 🙂

You could try to stop db-sync, delete this line from the schema file in question migration-4-0001-20200702.sql and start again.

I'll try that next time it fails. I've pushed maintenance_work_mem and shared_buffers to 16GB now, and it just crossed 3h of execution time, which I haven't seen before.
I was thinking. Would it be a good idea to create this index at the start of the sync? I mean, for the next instance I set up of course.

Just crashed again. I'm going to try without that particular index. But I'll need it eventually because I use it a lot.

I was thinking. Would it be a good idea to create this index at the start of the sync? I mean, for the next instance I set up of course.

Yes this is possible, you can add it to a new phase 3 file.
Have you monitored the thread doing the work? What is you max_parallel_maintenance_workers?

Executing it in the container worked. It's up and running now. So it should have been something in the internal connection between containers. But it worked before on the same machine with the same setup. So something is different. Maybe it's good to move this particular migration to stage 3 anyway?

What is you max_parallel_maintenance_workers?

That's at the default value now (2, I believe).
Now that it's running, what do you advise for the postgres config?

shared_buffers = 8GB
work_mem = 2GB
maintenance_work_mem = 4GB
max_wal_size = 16GB
min_wal_size = 4GB
wal_level = minimal
max_wal_senders = 0
wal_buffers = 16GB


Same situation

The problem
2 Home-Assistant Systems are involved. The other are informed not updating from 4.2.7 -> 4.2.8.
I hope for a quick fix.
Thanks
What version of Cloudflared has the issue?
4.2.8
What was the last working version of Cloudflared?
4.2.7
What type of installation are you running?
Home Assistant OS
Add-on YAML Configuration
No response
Anything in the logs that might be useful for us?
No response
Steps to reproduce the issue
Hostname with small characters and a point. xxxxxxxxxx.work / xxxxxxx-xxxxx.work
Additional information
No response

Experiencing the same issue :)

Duplicate of #500 and #501

Thanks for raining this and sorry for this bug. I have reverted to the old regex with addition of äöüß, so it should work in the next release.
Can you please share your domain name layout, so I can check why the suggested regex was not working for you and come up with a more elegant solution?

Should be fixed in 4.2.9, please check and confirm

I have to be honest: no idea why this did not work. I checked with multiple domains, plus it was working for me in the Edge release with multiple subdomains, also no issues from other edge users for a day.
Anyways, again sorry, will look into it in detail


docker-in-docker: buildx release not found

Hi,
There is a temporary problem with buildx where the tag for v0.10.5 was pushed, but the corresponding release was not.

As a result, this line is failing:
https://github.com/devcontainers/features/blob/b48d8700ffe5c0b363c9e8706ba2c1601a2bb94f/src/docker-in-docker/install.sh#L323
Logs:
#0 21.79 (*) Installing buildx 0.10.5...
#0 21.79 --2023-05-22 21:46:46--  https://github.com/docker/buildx/releases/download/v0.10.5/buildx-v0.10.5.linux-amd64
#0 21.80 Resolving github.com (github.com)... <IP_ADDRESS>
#0 21.80 Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
#0 21.86 HTTP request sent, awaiting response... 404 Not Found
#0 22.04 2023-05-22 21:46:46 ERROR 404: Not Found.
#0 22.04
#0 22.04 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.

This is now resolved but it took about 5 hours for the release to catch up.

Thanks for reporting the issue.
We should add some fallback to older releases if the latest tag does not exist or add a similar logic to https://github.com/devcontainers/features/pull/318

Same is occuring with v0.11.0
The issue is on the devcontainer feature, using the tags to assume that the tarball is available is a bad process as it can leads to such error.
The devcontainer feature should allow us to control the version of buildx or use the latest tarball available (not the latest tag).

I think I may be seeing the same issue? I'm trying to use docker-in-docker in a dev container on GitHub Codespaces today, and getting:
2023-06-15 00:01:44.309Z: #20 7.281 Err:5 https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm Release
#20 7.281   404  Not Found [IP: <IP_ADDRESS> 443]
#20 7.295 Reading package lists...2023-06-15 00:01:44.760Z:
#20 7.754 E: The repository 'https://packages.microsoft.com/repos/microsoft-debian-bookworm-prod bookworm Release' does not have a Release file.
#20 7.755 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.
2023-06-15 00:01:44.812Z: #20 ERROR: executor failed running [/bin/sh -c chmod -R 0755 /tmp/dev-container-features/docker-in-docker_1 && cd /tmp/dev-container-features/docker-in-docker_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh]: exit code: 100
------
 > [dev_containers_target_stage 5/5] RUN chmod -R 0755 /tmp/dev-container-features/docker-in-docker_1 && cd /tmp/dev-container-features/docker-in-docker_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh:
------
executor failed running [/bin/sh -c chmod -R 0755 /tmp/dev-container-features/docker-in-docker_1 && cd /tmp/dev-container-features/docker-in-docker_1 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh]: exit code: 100
2023-06-15 00:01:44.814Z: ERROR: Service 'app' failed to build : Build failed

The issue is on the devcontainer feature, using the tags to assume that the tarball is available is a bad process as it can leads to such error.

Hi @hpe-ykoehler  👋
I totally agree with change, and we are aware of this problem and have this item added to the backlog. However, very busy with other items.
We appreciate contributions from the community, if you are interested and willing to open a PR with the changes, we will be glad. I can help review and provide any other support/guidance if needed.

Hi @pamelafox 👋
I wonder if Microsoft repos have added support for docker-in-docker for debian:bookworm. Have you looked at https://github.com/devcontainers/images/issues/607 ? Switching the image to use debian:bullseye should help in the meanwhile.

From the buildx side, they recommended using the GitHub release API.  Now that is not something I am familiar with, maybe supporting a version instead of a boolean is more in my league.  Will see if I can find some time.

This is happening again, DinD is looking for v0.12.0 and v0.11.2 is the latest release on github.

Raised draft PR #869

[!IMPORTANT]
PR #869 was merged.

Closing as completed with https://github.com/devcontainers/features/pull/869


Narrative (generator) content not showing ("St Paul")

“St Paul” content is empty when the remote Postgres DB is exported locally across all generator entries. Why is it not showing?
In the Admin Dashboard, for the "Description" box and "St Paul" box,  the placeholder lorem ipsum content appears perfectly in db.sqlite3 in both. But on Heroku with Postgres, only the "Description" box content appears while the "St Paul" box content is absent (even though both are clearly showing in the Admin Dashboard). It's strange.

I just realized that I haven't actually entered the St Paul content into the DB. Ha! What an oversight on my part! The issue is resolved (no issue even to begin with).


Allow prod and staging smoke tests to record screenshots

Allow prod and staging smoke tests to record screenshots on failure

Checklist:

[ ] Have you documented your changes in the pull request description?
[ ] Does the change present any security considerations?
[ ] Is any gem functionality overloaded? Eg: Devise controller methods being overloaded.
[ ] Has acceptance criteria been tested by a peer?
[ ] Has the CHANGELOG been updated? (If change is worth telling users about.)

General testing (author)

[ ] Test without JavaScript
[ ] Test on small screen

Accessibility testing (author)

[ ] Works keyboard only
[ ] Tested with one screen reader
[ ] Zoom page to 400% - content still visible
[ ] Disable CSS - does content make sense and appear in a logical order?

Codecov Report

Merging #1607 (a82bf82) into master (72c5fb2) will decrease coverage by 0.01%.
The diff coverage is n/a.

:exclamation: Current head a82bf82 differs from pull request most recent head e376637. Consider uploading reports for the commit e376637 to get more accurate results

@@            Coverage Diff             @@
##           master    #1607      +/-   ##
==========================================
- Coverage   89.74%   89.72%   -0.02%
==========================================
  Files         388      388
  Lines        8325     8325
  Branches     1218     1218
==========================================
- Hits         7471     7470       -1
- Misses        679      680       +1
  Partials      175      175

Impacted Files
Coverage Δ

app/decorators/product_decorator.rb
91.48% <0.00%> (-4.26%)
:arrow_down:

app/forms/product_form.rb
98.50% <0.00%> (+1.49%)
:arrow_up:

Continue to review full report at Codecov.

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


chore(tangle-dapp): Payouts rework

Summary of changes

[x] Use latest @polkadot/api and @polkadot/types.
[x] Update payouts hook to incorporate latest runtime changes related to staking pallet.
[x] Improve performance of the payouts hook.
[x] Remove Payout Status column and add Remaining Time column.
[x] Increase page limit of validator selection table in nomination flow to 20.
[x] Fix incorrect active/nomination data display.
[x] Fix Actual Staked percentage data display.
[x] Fix Self Staked and Effective Amount Staked in validator tables.

Proposed area of change
Put an x in the boxes that apply.

[ ] apps/bridge-dapp
[ ] apps/hubble-stats
[ ] apps/stats-dapp
[x] apps/tangle-dapp
[ ] apps/testnet-leaderboard
[ ] apps/faucet
[ ] apps/zk-explorer
[ ] libs/webb-ui-components

Screen Recording
https://github.com/webb-tools/webb-dapp/assets/53374218/21c73282-92c0-4103-b520-9517f0f41052

Fixed Actual Staked % and Active/Nomination

Nominator Stats Container

Nominator Stats Container

Payouts Table

Nominations Table

Awaiting Rewards Status


graphite-web blank after upgrade from 0.9.15 to 1.0.2

What you attempted: I attempted to upgrade Graphite components from 0.9.15 to 1.0.2
Expected Result: graphite web interface would continue to function normally.
Witnessed Result: graphite web interface is reachable but the home page body is blank.
System Details
OS / Version: Centos 7.2.1511
Python Version: 2.7.5
Django Version (a frequent cause of issues): 1.8.18 (used as I had even more issues with 1.9. release notes said it is supported http://graphite.readthedocs.io/en/latest/releases/1_0_2.html
Graphite Component Versions:
carbon==1.0.2
graphite-web==1.0.2
whisper==1.0.2
Things tried: Cleared browser cache, tried Firefox and Chrome, tried 1.1.2. Same issue. I don't see any errors in graphite-web-error.log.
If I revert back to 0.9.15, the web interface works fine. For my graphite.db upgrade I have to use:
PYTHONPATH=/opt/graphite/webapp django-admin.py migrate --settings=graphite.settings
Using the --run-syncdb flag gives out:
django-admin.py migrate: error: unrecognized arguments: --run-syncdb
Whisper and Carbon appear to be functioning normally.
I do use the puppet-graphite forge module to do the configuration, but not sure where else to look without any errors. Thanks!

In order: Events screen, Dashboard Screen, and Home Page

Have you created the static content? Alternatively use Python Whitenoise (see examples/example-graphite-vhost.conf)
PYTHONPATH=/opt/graphite/webapp/ /usr/lib/python2.7/site-packages/django/bin/django-admin.py collectstatic --noinput --settings=graphite.settings
The folder /opt/graphite/static has to be accessible by apache.

Thank you! I attempted the command, but it didn't work. Ensured permissions were proper on /opt/graphite/static for apache to read it. Suspect a config option somewhere isn't set properly to tell Apache to look there.
I ran pip install whitenoise based on a comment in example-graphite-vhost.conf and now the webpage loads as expected. Appreciate it!

Just out of interest, is PYTHONPATH=/opt/graphite/webapp django-admin.py collectstatic --noinput --settings=graphite.settings?
The command I gave to you specified the location of django to where it would be, if installed with pip. As you used the django-admin.py in your question succesfully, it probably will work without a location.

Yes, PYTHONPATH=/opt/graphite/webapp django-admin.py collectstatic --noinput --settings=graphite.settings works just the same as the one you provided. Creates and populates a folder called static in /opt/graphite.


stdc++fs no longer needed with gcc>9.1

Hi, I am updating flatpak package and freedesktop runtime comes with gcc 10.3, it would be great if you make linking with stdc++fs conditional.
https://github.com/dfranx/SHADERed/blob/3535b674eb03d27e7f8a0eef8bea41ec14eccc84/CMakeLists.txt#L231
https://github.com/flathub/org.shadered.SHADERed/pull/10
https://stackoverflow.com/questions/62468531
/linking-to-stdcfs-with-c20-still-necessary-when-using-filesystem

It would be great if you add variable. Thank you!

Done (forgot to mention the issue in the commit message though).
Thanks for updating SHADERed flatpak once again! 😀


⚠ Bofrost.fr has degraded performance

In 6261b5f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 833 ms

Resolved: Bofrost.fr performance has improved in 92cc720 after 6 minutes.


feat(regl-renderer): refactored and corrected conversions of solids to entities, supporting HUGE solids

These changes enhance / correct the conversion of solids to visual entities, allowing HUGE solids to be rendered properly.
NOTE: There's a simple example in the linked issue, but beware... it may crash the graphics card when executed in order versions.
There are additional changes to the demo applications in order to improve documentation.
All Submissions:

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[X] Does your submission pass tests?

I threw everything that I have at these changes, including previous tests, my designs, etc.

@SimonClark please review.
there's some big refactoring of code, so it may be better just to read through the new code. all comments welcome.
FYI, there's still more to do to improve performance, etc.


Proposition of new approach how to handle exceptions in the GetResponseAsync() Method

The proposition how to handle exceptions in the GetResponseAsync() Method
Please look at it, give your thought and I hope I could start to replace the old way for getting a response in existing methods

@bkowalczyk88 Did you still want to work on implementing the changes?


chore(main): release 0.6.4

:robot: I have created a release beep boop
0.6.4 (2024-03-18)
Bug Fixes

neo4j admin import relationship labels (83342e9)
node/rel neo4j admin import command (d1d828e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/socialgene/sgpy/releases/tag/v0.6.4 :sunflower: