S.filter not checking if second argument implements Monoid

When I call:
S.filter(x=>x>2, S.Right(1))

I expect to see:
Uncaught TypeError: Type-class constraint violation

filter :: (Applicative f, Foldable f, Monoid f) => (a -> Boolean) -> f a -> f a
                                      ^^^^^^^^                       ^^^
                                                                      2

1)  Right(1) :: Either ??? Number, Either ??? FiniteNumber, Either ??? NonZeroFiniteNumber, Either ??? Integer, Either ??? ValidNumber

‘filter’ requires ‘f’ to satisfy the Monoid type-class constraint; the value at position 2 does not.

But instead I see:
Uncaught TypeError: Cannot read property '1' of null

This also happens w/ S.empty

This is a problem with sanctuary-type-classes. Specifically getBoundMethod.
I can fix and submit a PR referencing this issue, or open a new issue there.

I can fix and submit a PR referencing this issue

That would be fantastic!

Even after submitting the PR. I'd like to keep this open until we bump the version on sanctuary-type-classes and update the dependency.


Extract status page templates to files

What this PR does:
Instead of having a const with a huge string, now we have .gohtml files that are properly understood by the IDEs (at least by Goland) and we embed them into global string vars using the //go:embed directive.
Also standarized how both status pages templates for ring and memberlist are initialized.
Which issue(s) this PR fixes:
Cleaning up for https://github.com/grafana/dskit/issues/148
Checklist

[ ] Tests updated
[ ] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX] (not needed since this only changes unexported vars)

❤ go:embed still feels like cheating, it's so nice to have that in the language.


Recursive function call when trying to execute macro as GM

Hi there! I'm having an issue where macro executions as a GM (invoked by player or by GM) are causing the call stack size to be reached. With some breakpoint debugging, I've narrowed this down to an issue with either Advanced Macros or libWrapper, but since I'm not sure exactly which module is the issue, I'll be creating issues in both to track this issue.
This has been tested with only the 3 following modules active:
Advanced Macros v2.0.0
libWrapper v<IP_ADDRESS>
socketlib v1.0.13

To reproduce, I have a macro named Print-Args which simply prints to the console the scope variable

The permission on this macro for all users is Observer
From the developer console I run the following command:
await(game.macros.getName("Print-Args").execute({}))

This returns the following stack trace:

It seems as though the macro execution recursively invokes the hook defined here. Certainly this is not the expected behavior - which is to execute the macro locally for the GM user.
This is only an issue when the macro is set to execute as GM - it executes successfully when "Execute for Specific User" is set to None.

Referencing issue within Advanced Macros here

Sorry - meant to create this issue in libWrapper, feel free to close if this issue doesn't seem to originate from socketlib!


Added tutorial for users.

Added iPython notebook tutorial for user (and for code review).

Coverage remained the same at 89.514% when pulling 0200170bcfe834be5152f875fa59030ab54219cd on hsim13372:tutorial into 8d4958c8d376a687a9768a842b5cfa262a2c8959 on cs207-group11:master.


[MM-20901] E2E tests for history arrows, channel switcher and new channel dropdown

Summary
E2E tests for the new sidebar functionality.
I wasn't able to create one to test the history arrows, as they are specific to the desktop app and Cypress doesn't seem to have a reliable way to test the desktop app.
Ticket Link
https://mattermost.atlassian.net/browse/MM-20901

/update-branch

/update-branch


ADD: Penalty POST Endpoint + Database Table

GIVEN: I’m logged into the application as a scorekeeper and I’m actively scoring a game.
WHEN: A player commits a penalty
THEN: I want to be able to store all the information regarding the penalty.
Acceptance Criteria

Database table exists for Penalty

Inherit from DBModel
A foreign key back to the player committing the penalty will be stored in the database
A foreign key back to the game in which the penalty was created will be stored in the database
The period number that the penalty was committed will be stored in the database

Will need to check OT rules here

A foreign key to the team that committed the penalty
A foreign key to the scorekeeper / user that is inputting the data is stored in the database (will be set on the CreatedBy (if it exists)
A foreign key to the penalty type stored in the database (DEPENDS ON PenaltyType issue)
Duration (if penalty times are NOT standard to each penalty type and can differ this will need to be stored here, otherwise it can be stored on penalty type
Time at which the penalty occurred

Time can optionally be passed in, otherwise now is used (for active scorekeeping)
Time in seconds since period (game?) started

API endpoint to POST data for a new penalty with it’s associated data
Test exists for testing POST endpoint to Penalty
Documentation exists and you can actively test the POST endpoint for Penalty

Documentation / Notes

Need to store all data needed for Penalty Summary section of this page

https://www.ecclesicehockey.com/game/show/42280852?subseason=922116&referrer=8386970

Blocked by #20

PR: https://github.com/tannerwheeler/powerplay-backend-stats/pull/2


warning: failed to mlock NNNNNN-byte buffer (after previously locking 0 bytes): Cannot allocate memory

I'm getting the following output when running the web server from the git clone:
llama.cpp: loading model from ./vendor/llama.cpp/models/7B/ggml-model-q4_0.bin
llama_model_load_internal: format     = ggjt v2 (latest)
llama_model_load_internal: n_vocab    = 32000
llama_model_load_internal: n_ctx      = 2048
llama_model_load_internal: n_embd     = 4096
llama_model_load_internal: n_mult     = 256
llama_model_load_internal: n_head     = 32
llama_model_load_internal: n_layer    = 32
llama_model_load_internal: n_rot      = 128
llama_model_load_internal: ftype      = 2 (mostly Q4_0)
llama_model_load_internal: n_ff       = 11008
llama_model_load_internal: n_parts    = 1
llama_model_load_internal: model size = 7B
llama_model_load_internal: ggml ctx size = 4017.34 MB
llama_model_load_internal: mem required  = 5809.34 MB (+<PHONE_NUMBER>7986.00 MB per state)
warning: failed to mlock<PHONE_NUMBER>-byte buffer (after previously locking 0 bytes): Cannot allocate memory
Try increasing RLIMIT_MLOCK ('ulimit -l' as root).

I manually built the libllama.so file and dumped it into the directory where it checks for it. I tried building it both following #30 and also with make libllama.so, both maybe as expected give the same result. However oddly enough, the pip install seems to work fine (not sure what it's doing differently) and gives the same "normal" ctx size (around 70KB) as running the model directly within vendor/llama.cpp and the -n 128 suggested for testing. Any suggestions for how to get a working libllama.so would be greatly appreciated.

Is this an enhancement request?
Working fine with a 13B model and a 11GB GPU. Increasing n_ctx increases the memory requirements noticeably:
llama_model_load_internal: format     = ggjt v2 (latest)
llama_model_load_internal: n_vocab    = 32000
llama_model_load_internal: n_ctx      = 8196
llama_model_load_internal: n_embd     = 5120
llama_model_load_internal: n_mult     = 256
llama_model_load_internal: n_head     = 40
llama_model_load_internal: n_layer    = 40
llama_model_load_internal: n_rot      = 128
llama_model_load_internal: ftype      = 9 (mostly Q5_1)
llama_model_load_internal: n_ff       = 13824
llama_model_load_internal: n_parts    = 1
llama_model_load_internal: model size = 13B
llama_model_load_internal: ggml ctx size =  90.75 KB
llama_model_load_internal: mem required  = 11359.05 MB (+ 1608.00 MB per state)
....................................................................................................
llama_model_load_internal: [cublas] offloading 40 layers to GPU
llama_model_load_internal: [cublas] offloading output layer to GPU
llama_model_load_internal: [cublas] total VRAM used: 9192 MB
llama_init_from_file: kv self size  = 6403.12 MB
AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI =
```0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 1 | VSX = 0 |

Ahh, saw the error. Here's the fix, which is not directly related to n_ctx. With mlock enabled you are hitting the default mlock memory limits for your Linux distro. Here's a fix:
ulimit -l unlimited && python3 main.py
There is a system-wide ulimit.conf file which varies in location depending on the distro.

#171

Ahh, saw the error. If you format your screen output and refer to the actual error in your issue description as per the template it helps people understand your issue easier.
Here's the fix, which is not directly related to n_ctx. With mlock enabled you are hitting the default mlock memory limits for your Linux distro:
ulimit -l unlimited && python3 llama_cpp.server
There is a system-wide ulimit.conf file which varies in location depending on the distro.

In the issue mentioned, they pasted an image of the output and still have a ctx of around 70KB and a correspondingly much smaller mem required than “+<PHONE_NUMBER>7986.00 MB per state”. It lines up with what I observed running the llama.cpp version on its own vs the parameters that were somehow saved into the .so. If I’m interpreting that correctly I don’t think I would ever be able to get enough memory to run this even if I disabled mlock with those requirements, and worry for my computer if I tried 😅.

In the issue mentioned, they pasted an image of the output and still have a ctx of around 70KB and a correspondingly much smaller mem required than “+<PHONE_NUMBER>7986.00 MB per state”. It lines up with what I observed running the llama.cpp version on its own vs the parameters that were somehow saved into the .so. If I’m interpreting that correctly I don’t think I would ever be able to get enough memory to run this even if I disabled mlock with those requirements, and worry for my computer if I trie

17592185987986.00 MB (17.6 exabytes) is clearly a bug. mlock just forces the memory allocated to lllama.cpp to not be swapped out. This is approx. how much memory you need:

Model
Original size
Quantized size (4-bit)

7B
13 GB
4GB

13B
24 GB
8 GB

30B
60 GB
20GB

65B
120 GB
39 GB

From llama.ccp CPU memory / disk reqs
You can adjust n_gpu_layers to fill your GPU with as many layers as you have VRAM available.

Thanks, so as I understand it the n_gpu_layers will limit the amount of swap used to the associated VRAM amount? Just trying to make sure I'm not about to blow anything out.

In the issue mentioned, they pasted an image of the output and still have a ctx of around 70KB and a correspondingly much smaller mem required than “+<PHONE_NUMBER>7986.00 MB per state”. It lines up with what I observed running the llama.cpp version on its own vs the parameters that were somehow saved into the .so. If I’m interpreting that correctly I don’t think I would ever be able to get enough memory to run this even if I disabled mlock with those requirements, and worry for my computer if I trie

17592185987986.00 MB (17.6 exabytes) is clearly a bug. mlock just forces the memory allocated to lllama.cpp to not be swapped out. This is approx. how much memory you need:
Model	Original size	Quantized size (4-bit)
7B	13 GB	4 GB
13B	24 GB	8 GB
30B	60 GB	20 GB
65B	120 GB	39 GB
From llama.ccp CPU memory / disk reqs
You can adjust n_gpu_layers to fill your GPU with as many layers as you have VRAM available.

Actually now that I think of it though, isn't it kind of odd that swap is not needed in some cases then? I ran all testing on the same system, so my impression is that the same swap limits would be imposed.

Generally you don't want the OS to swap the model out, but it may try to given the large memory footprint. mlock can be used to explicitly request the OS not to swap it out.
The VRAM usage is AFAIK independent of the mlock behaviour. In my experience the n_ctx size uses a set amount of VRAM. Whatever is left over can be allocated to n_gpu_layers. You'll want to leave some MB free for minor VRAM growth, although #223 indicates that there's a bug in llama.cpp where VRAM isn't freed even if you force python to garbage collect the model instance.

llama_context struct changed in llama.cpp, updating your llama-cpp-python to current main should fix it.

Okay, I managed to get it working now. Thanks again!

Okay, I managed to get it working now. Thanks again!

@AnonymousAmalgrams  What did you do?

I just updated the repo… but there are probably a lot of other random things that can cause this problem.


expose rawParse to use minimist/commander

Vorpal could expose rawParse(process.argv, { command: true|false}) to run a string through minimist or commander. This may be a special case.
I have an existing app, it's just using minimist for cli arguments in the usual form (app.js --arg items), and I'm working on the interactive CLI via vorpal. Trying to reduce redundancy when I can.
I am still working out how best to switch between command line (single commands) and interactive command line. But that's a different issue.

You mean in addition to vorpal.parse? I suppose I could literally map it to minimist if that helps.

That's the idea, you'd map to minimist by default, with an optional second argument that'd run commander.js parse -- which would use your vorpal command list to return an object. Both are meant to be maps over to minimist/commander just in case it's needed.
Related to using this: on vorpal.parse -- how do I detect whether or not a command was found? Is there a default callback, like parse(argv, notFoundFn)?

It is meant to do exactly what you app does if you run it first. So it would technically display the help command.
Check out the .catch command (it's new, maybe I didn't document it yet): here's an example I pulled out of wat, which im working on:

  vorpal
    .catch('[commands...]')
    .option('-d, --detail', 'View detailed markdown on item.')
    .option('-i, --install', 'View installation instructions.')
    .autocompletion(function (text, iteration, cb) {
      const self = this;
      const index = parent.clerk.indexer.index();
      let result = util.autocomplete(text, iteration, index, function (word, options) {
        const res = self.match(word, options);
        return res;
      });
      if (_.isArray(result)) {
        result.sort();
      }
      cb(undefined, result);
    })
    .action(function (args, cb) {
      const self = this;

      args = args || {};
      args.options = args.options || {};

      // Handle humans.
      if (String(args.commands[0]).toLowerCase() === 'wat') {
        args.commands.shift();
      }

       // ...

      cb();
    });

On the parse, I think im gonna do this:
vorpal.parse(process.argv, { use: 'minimist' });
vorpal.parse(process.argv, { use: 'commander' });

I like it.

:)
Does the catch thing make sense?

Yes, it makes sense, does just what I want.

Perfect.

@Downchuck Added this. Coming out in a release today.


Performance improvement on large amount of items

Codecov Report

Merging #6 (bfa77ff) into master (01fc479) will increase coverage by 0.57%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage   33.75%   34.33%   +0.57%
==========================================
  Files          20       21       +1
  Lines        1576     1599      +23
==========================================
+ Hits          532      549      +17
- Misses       1044     1050       +6

Impacted Files
Coverage Δ

ChatLayout/Classes/Core/Model/LayoutModel.swift
75.64% <72.00%> (-2.94%)
:arrow_down:

ChatLayout/Classes/Core/Model/ModelState.swift
100.00% <100.00%> (ø)

...hatLayout/Classes/Core/Model/StateController.swift
77.55% <100.00%> (+0.15%)
:arrow_up:

ChatLayout/Classes/Core/Model/ItemPath.swift
100.00% <0.00%> (ø)

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 01fc479...77fd246. Read the comment docs.


Call tf.lite.Interpreter.interpreter.invoke() makes program crash

1. System information

OS Platform and Distribution (Linux Ubuntu 16.04): Ubuntu 18.04
TensorFlow installation (pip package or built from source): pip install
TensorFlow library (version, if pip package or github SHA, if built from source): tensorflow==2.3.2

2. Code
import numpy as np
import tensorflow as tf

class Tester(tf.Module):
    def __init__(self):
        super(Tester, self).__init__()

    @tf.function(input_signature=[tf.TensorSpec(shape=[100], dtype=tf.float32)])
    def test(self, x):
        # return tf.reshape(x, [10, -1])
        return tf.signal.rfft(x, [512])

model = Tester()
concrete_func = model.test.get_concrete_function()
converter = tf.lite.TFLiteConverter.from_concrete_functions([concrete_func])
# converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir='saved_models/pb/model')
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.experimental_new_converter = True
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
tflite = converter.convert()

TFLITE_FILE_PATH = 'content/tester.tflite'
with open(TFLITE_FILE_PATH, 'wb') as f:
    f.write(tflite)

# Load the TFLite model and allocate tensors.
# interpreter = tf.lite.Interpreter(model_path="content/test_variable.tflite")
interpreter = tf.lite.Interpreter(model_content=tflite)
interpreter.allocate_tensors()

# Get input and output tensors.
input_details = interpreter.get_input_details()
output_details = interpreter.get_output_details()

# Test the model on random input data.
input_shape = input_details[0]['shape']
input_data = np.array(np.random.random_sample(input_shape), dtype=np.float32)
interpreter.set_tensor(input_details[0]['index'], input_data)

interpreter.invoke()

# The function `get_tensor()` returns a copy of the tensor data.
# Use `tensor()` in order to get a pointer to the tensor.
output_data = interpreter.get_tensor(output_details[0]['index'])
print(output_data)

3. Failure after conversion
Model conversion successful, but invoke() makes program crash with error msg:
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

In the above simple program, if test function return tf.signal.rfft(x, [512]), program crash, if test function return tf.reshape(x, [10, -1]), it works fine.
The saved tflite model which return tf.signal.rfft(x, [512]) is sharing with url:
https://drive.google.com/file/d/1LY3h4MHIwGGi63TyWsNta6vNKluIdi38/view?usp=sharing
Can anyone help me?

@zhangguanqun
Can you please refer to similar issues and let us know if it helps: #32492, #34574, link

@Saduf2019
Thanks reply.
I tried above three issues you mentioned, and I'm sure I don't have these problems, all the programs works fine on my computer.

UPDATE
In python crash log from ubutun system, there is:
Title
    python3.8 crashed with SIGSEGV in tflite::FlexDelegate::CopyFromBufferHandle()

StacktraceTop
    tflite::FlexDelegate::CopyFromBufferHandle(TfLiteContext*, int, TfLiteTensor*)() from /home/zhangguanqun/venv_tf_2.3.2/lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so

CopyFromBufferHandle() makes crash.

Could you try conversion and model inference run with the more recent TF version? For example, TF 2.4 or tf-nightly?

@abattery Thanks, it works fine on TF 2.4.1 and TF-nightly (2.5.0-dev20210210), but why not works on TF 2.3.X?

@zhangguanqun We have improved the TFLite conversion pipelines and kernel implementations. Looks like the related issue around the PAD op had been fixed between TF 2.3 and TF 2.4.

Closing this issue since the problem has gone at the newer TF versions.


CARDS-2021: PREMs: Automatically delete submitted survey responses older than one year

Rebased and addressed most of the comments except query optimisation.
Not tested yet, needs instructions.


Re-open of Android README.md should link to top level of English FAQ #1050

Where to find the issue
Previous issue https://github.com/corona-warn-app/cwa-app-android/issues/1050 referred to
https://github.com/corona-warn-app/cwa-app-android/blob/dev/README.md (which no longer exists)
now the default is master not dev, so the reference is to
https://github.com/corona-warn-app/cwa-app-android/blob/master/README.md instead and where the issue has re-appeared.
Last sentence of first paragraph.
Describe the issue
"Visit our FAQ page for more information and common issues" links to https://www.coronawarn.app/de/faq/#android_location
Since the README.md contents and project working language is English, the README.md should link to the English language version of the FAQ.
The link should be to the top level of the FAQ, not to the specific issue at anchor #android_location .
Suggested change
Change the link from https://www.coronawarn.app/de/faq/#android_location to https://www.coronawarn.app/en/faq/
Additional comments
This issue was supposed to be fixed by https://github.com/corona-warn-app/cwa-app-android/pull/1049
It seems something went wrong or got lost as dev changed to master.

Internal Tracking ID: EXPOSUREAPP-2894

Hey @MikeMcC399,
I am sorry to hear that the previous change didn't make it to production.
I have created a new Jira Ticket EXPOSUREAPP-2894
Best regards,
SG
Corona-Warn-App Open Source Team


Make sure all pip dependencies are updated

It turns out ansible pip state: latest does not update package dependencies. To make sure every pyff deploy uses the most recent version of packages, a seperate pip install -U on outdated packages needs to be performed.

How does this relate to #132?

It doens't, except that it's the same change for a different role?

Superseded by https://github.com/SURFscz/SCZ-deploy/pull/135


feat: implement opcodeAssertions method in CairoVM

Description
To enhance the security measures within our runInstruction method in the CairoVM structure, we aim to implement a dedicated opcodeAssertions method. This method will handle the validation of specific instructions, ensuring the reliability and safety of our virtual machine implementation.
The proposed opcodeAssertions method will meticulously scrutinize various opcode types and their corresponding operands, verifying their adherence to predefined rules. By introducing this method, our goal is to effectively identify and respond to potential errors or inconsistencies within the instruction set, proactively mitigating runtime issues.
References

Reference to the Rust implementation: Rust CairoVM Implementation
Reference to the Python implementation: Python Cairo VM Implementation

Please assign this to me


Do not show draft content

Check published-status before displaying content on templates. At least in theme-index-page unpublished content is visible.

Fixed in a3c86f0548e84807439a1bcac77ad9098a1b24fa


Add a vertical bar to the sessions view range selection

Mousing over a session time/count is sometimes pretty difficult.  Can you add a vertical one pixel line that follows the mouse just like you have on the stats view?

They are highlighted now, reopen with more info


Don't show initial file dialog after copying a model

[#162464150]

@pjanik I updated the code to fix the merge conflict with master.


Add feature to set datetime object as value for gauge collector

Was working on project where the value of my gauge was to be a datetime. No built in features. This is simple update and has been tested in production to work well.

Thank you for the contribution! Couldn't this be done with .set(dt.timestamp()) though? I think the reason we don't have this is that is not much harder to write and keeps our interface simple with only taking floats.

When working with grafana for visuailzations they expect milliseconds rather than epoch seconds. So you have to multiply by 1000. in this case we drop decimals and make an integer. If using grafana and want to sort or visualize events the best way is to set the gauge value as the timestamp of the event.
I understand a case against merging if it can be confusing. However it will be useful for some people.


[Feature request]  api that accepts a file ( .vue, .ts, .js, .tsx...) and return if it is a component or no.

vue-component-meta is a tool that enables the extraction of metadata, such as props, slots, events, etc., from a file, regardless of whether the file is a component or not. While .vue files are compiled as components, .js and .ts files may not export any component.
In a Storybook application, vue-component-meta can be useful for extracting metadata from component files. However, the current implementation only allows filtering of .vue files, assuming they are components. To extract metadata from .ts, .js, .tsx, and .jsx files, a new API is needed to filter only the files that are components (SFC, options API components, functional components, etc.).
Similarly, in other contexts such as a UI library, vue-component-meta can be useful for code analytics, such as counting the number of components and their types. The new API that filters only component files would be beneficial in this context as well. Overall, vue-component-meta has several potential use cases where the ability to extract metadata from a variety of file types is necessary.

@johnsoncodehk Amazing my final implementation in Storybook gives, https://stackblitz.com/~/github.com/chakAs3/vue3-storybook-custom-render.
checkout this if you have any feedback, and really thank you for the amazing tooling that makes Vue a great ecosystem that can impact other great tools like storybook


Rancher is missing emptyDir from volume types

This is the 2.7 issue related to https://github.com/rancher/dashboard/issues/7533

Verified on v2.7-head Commit ID: c35f112
The Empty Dir option is appearing as expected in the volume type selector, and you can successfully create an Empty Dir volume.


VMIs Stuck in Scheduled, but accessible through ssh

/kind bug
There seems to be an issue with the latest versions of Kubevirt ever since version 0.29.0 where our VMIs get stuck in 'Scheduled' phase after a while. When we're on version 0.28.0 it doesn't happen. The odd thing is even though the VMIs report to be in Scheduled state, they could still be accessed using the SSH service for that VM. This is an issue for us since we can't access the VMs through console or VNC.
I've also noticed this happens only when we deploy more than one VMs but with pod affinity so that they all go on the same nodes. When doing them individually, it goes through Running state ok. I wonder if it's timing out after a while and not requerying for state after a while?
Our VMs are a bit on the heavier side, where we've seen them come up after 4-5+minutes depending on how many we have already running on the same node.
What you expected to happen:
VMIs eventually going from Scheduled to Running state after a while.
How to reproduce it (as minimally and precisely as possible):

Kubevirt v0.29.0+ (still happening on 0.31.0)
Deploy One VMI for a big VM (Full Ubuntu 16.04 with GUI in our case), and another VMI (doesn't have to be a big image), but having a pod affinity to connect to the same node as the first.

We've seen it work ok more when there's no VMIs deployed on the same node, the more you deploy, the more frequent it's going to happen. In our case, we've seen it happen as early as the second set of VMs deployed
Anything else we need to know?:
VMI Describe messages
│   Type     Reason            Age                From                       Message                                                                                │
│   ----     ------            ----               ----                       -------                                                                                │
│   Normal   SuccessfulCreate  30m                virtualmachine-controller  Created virtual machine pod virt-launcher-vr3668mtlms-gateway-m2j87                      │
│   Warning  SyncFailed        27m (x7 over 29m)  virt-handler, kuberack3    unknown error encountered sending command SyncVMI: rpc error: code = DeadlineExceeded de │
│ sc = context deadline exceeded                                                                                │
│   Normal   Created           27m (x4 over 27m)  virt-handler, kuberack3    VirtualMachineInstance defined.

POD Log for the VM that's stuck
p":"2020-07-23T21:29:24.428966Z"}
{"component":"virt-launcher","level":"info","msg":"Domain name event: default_vr3668mtlms-gateway","pos":"client.go:322","timestamp":"2020-07-23T21:29:24.429014Z"}
{"component":"virt-launcher","level":"info","msg":"kubevirt domain status: Running(1):Unknown(1)","pos":"client.go:241","timestamp":"2020-07-23T21:29:24.430210Z"}
{"component":"virt-launcher","level":"info","msg":"7) OSINFO IN EVENT CALLBACK: \u003cnil\u003e","pos":"client.go:263","timestamp":"2020-07-23T21:29:24.430238Z"}
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:114","reason":"context deadline exceeded","timestamp":"2020-07-23T21:29:26.430373Z"}
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:114","reason":"context deadline exceeded","timestamp":"2020-07-23T21:29:30.430652Z"}
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:114","reason":"context deadline exceeded","timestamp":"2020-07-23T21:29:34.430666Z"}
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:114","reason":"context deadline exceeded","timestamp":"2020-07-23T21:29:38.430735Z"}
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:114","reason":"context deadline exceeded","timestamp":"2020-07-23T21:29:42.430685Z"}
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:114","reason":"context deadline exceeded","timestamp":"2020-07-23T21:29:46.430640Z"}
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:114","reason":"context deadline exceeded","timestamp":"2020-07-23T21:29:48.430818Z"}
{"component":"virt-launcher","level":"error","msg":"Could not send domain notify event.","pos":"client.go:277","reason":"timed out waiting for the condition","timestamp":"2020-07-23T21:29:48.430867Z"}
{"component":"virt-launcher","level":"info","msg":"Domain name event: default_vr3668mtlms-gateway","pos":"client.go:322","timestamp":"2020-07-23T21:29:48.430913Z"}

Environment:

KubeVirt version (use virtctl version): 0.31.0
Kubernetes version (use kubectl version): 1.15.0
VM or VMI specifications:

First VM (Ubuntu 16.04 Full w/GUI)
Second VM (could be any) with PodAffinity to attach to the same node as the first

Cloud provider or hardware configuration:

Bare metal Ubuntu 16.04 nodes. 8GB Ram, 6 Cores CPU

OS (e.g. from /etc/os-release):

NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Kernel (e.g. uname -a):
Linux kuberack1 4.15.0-111-generic #112-Ubuntu SMP Thu Jul 9 20:32:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

@MarkSpencerTan thanks for the report. Could share virt-handler logs of that node? Maybe we see there something.

Thanks @rmohr! here's a gist of the logs:
https://gist.github.com/MarkSpencerTan/58423c8df3b4368cae33b7ea0131e23e
The VMI in question here is called vr3668sean-gateway

@MarkSpencerTan which version are you running on? I have the suspicion that this could be fixed by #3520 which should be part of 0.30.5 and 0.31.0.

@rmohr , we're running it on v0.31.0 at the moment with the same issues still

@MarkSpencerTan thanks,
so this is really weird:
{"component":"virt-handler","kind":"VirtualMachineInstance","level":"error","msg":"Updating the VirtualMachineInstance status failed.","name":"vr3668sean-mikrotik","namespace":"default","pos":"vm.go:1193","reason":"Timeout: request did not complete within requested timeout 30s","timestamp":"2020-07-27T22:26:27.797802Z","uid":"59ae7126-46ee-41cd-8caf-fe082859d5dc"}

It looks like virt-handler has properly working watches established to the apiserver, but it can't post anything to the apiserver anymore. This line is the reason why the status is not updated. virt-handler sees that it should update the status to Running, but it can't. It tries over and over with a back-off but fails always.
Could you check the apiserver logs from kubernetes? Maybe there is a hint on why it is stuck. Also the pod network may have issues. Can you verify if your CNI provider is healthy?

Hi,
@rmohr - I believe I am seeing a similar issue. I have been using kubevirt v0.24.0 for a while and when trying to upgrade to v0.35.0, I noticed that there is a huge delay from the time VM is scheduled to the time VM is Running.
The main bottleneck seems to be after connecting to libvirt daemon, there are failures to notify domain sock and eventually the libvirt connection is lost, a new libvirt connection is established. So between the initial connection to libvirt and marking as ready, there is close to ~90 sec
On the virt-launcher pod's compute container
{"component":"virt-launcher","level":"info","msg":"Connected to libvirt daemon","pos":"libvirt.go:396","timestamp":"2020-12-17T19:00:02.473460Z"}
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:116","reason":"context deadline exceeded","timestamp":"2020-12-17T19:00:04.474206Z"}
...
{"component":"virt-launcher","level":"info","msg":"failed to dial notify socket: /var/run/kubevirt/domain-notify-pipe.sock","pos":"client.go:116","reason":"context deadline exceeded","timestamp":"2020-12-17T19:01:20.481461Z"}
{"component":"virt-launcher","level":"error","msg":"Connection to libvirt lost","pos":"libvirt.go:276","timestamp":"2020-12-17T19:01:22.475879Z"}
{"component":"virt-launcher","level":"info","msg":"Established new Libvirt Connection","pos":"libvirt.go:301","timestamp":"2020-12-17T19:01:32.478175Z"}
{"component":"virt-launcher","level":"info","msg":"Marked as ready","pos":"virt-launcher.go:74","timestamp":"2020-12-17T19:01:38.483314Z"}

virt-launcher logs : https://gist.github.com/sseetharaman6/7f098b2a3ea54b0b47cfdc245a3c447d
virt-handler logs: https://gist.github.com/sseetharaman6/b11ef5af0a2fee5e99f845ad46b79aa8
Let me know if you need any other data.

@sseetharaman6 a separate issue would probably make sense. It really looks unrelated. Do I understand this right, that you are using a prestart hook? We changed some readiness logic here: https://github.com/kubevirt/kubevirt/pull/3946 maybe this has unwanted side effects to sidcar hooks.

In case it helps, while running the multi sriov POC it happened
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/822/rehearsal-pull-kubevirt-e2e-kind-1.17-sriov/1348156475482050563
assuming its not due to the POC, nor cross talk hopefully, but because of the stress the POC does on the machine.
The counter part jobs which ran on the same time finished successfully
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/821/rehearsal-pull-kubevirt-e2e-kind-1.17-sriov/1348156475482050561
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/822/rehearsal-check-up-kind-1.17-sriov/1348156475482050562
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/821/rehearsal-check-up-kind-1.17-sriov/1348156475482050560

In case it helps, while running the multi sriov POC it happened
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/822/rehearsal-pull-kubevirt-e2e-kind-1.17-sriov/1348156475482050563
assuming its not due to the POC, nor cross talk hopefully, but because of the stress the POC does on the machine.
The counter part jobs which ran on the same time finished successfully
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/821/rehearsal-pull-kubevirt-e2e-kind-1.17-sriov/1348156475482050561
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/822/rehearsal-check-up-kind-1.17-sriov/1348156475482050562
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/821/rehearsal-check-up-kind-1.17-sriov/1348156475482050560


Include UTF-8

Hi everybody, I have a problem with all the themes in general but I has been using this theme and can't change now. For me and a lot of people we don't speak english, so we write different and we use special character like ñ, í, ú, ó among others.
All my code is defined in spanish so if i declare a class i don't write "signal" y write "señal" becouse its akward for me and my coworkers when we mix english with spanish so here is the think. The request its include the "ñ" in particular as a valid syntaxt and not exclude it from the grammar if this is UTF-8. I check the Atom code and the "ñ" and the other letters after it are excluded from the span so the char and the rest of the word are a "non word character" and atom only give us the option to exclude in the "non word characters input" from the editor but it not gives the option to include it. Sorry if I am wrong, maybe its an Atom problem and not depends from the theme but I hope this can be more inclusive to other languajes.
Note: The grammar in Atom its already utf-8.

Atom itself supports UTF-8 and a wide variety of other encodings. It sounds like what you're looking for is for the identifier rules in the Python grammar to support the full range of Unicode characters, as specified in Python v3.0 and above. For that, a change would need to be made to the underlying grammar definition. Once that is done, then the language-python package could be updated with the new definition.
For your reference, I've opened an issue on the grammar repository for this. You may want to subscribe there for updates.
Because this isn't an issue with Atom itself but with a dependency, I'm going to close this issue.


Setup under gnome

I like the Gnome environment better than KDE (especially after manjaro developers decided to roll out the absolutely unstable KDE plasma 6, which had broken monitor switching, into a stable branch). Could you tell me how to configure gamescope-session under gnome? And what about system upgrades? Is it possible to make the steam update center work with pacman or pamac?

Thank you for reaching out. I have tested this on Fedora under GDM and Gnome, and I'm pleased to say this works. The README has been updated so that it is not directly specific to SDDM and KDE Plasma.
As for system upgrades, it might be possible but is a bit more tricky to set up (especially when trying to invoke updates using elevated privileges). A separate ticket will be raised for this but this might take a while to implement. For now, the recommended workaround is to run the updates manually.


Cannot hide actions with navigation placement

Problem description
Setting visible to false for actions with placement="navigation" does not have any effect.
Environment

Tabris.js version: 2.9, 3.3
OS: iOS, Android

Code snippet
Used navigationview-action-placement.jsx as a template:
import {Action, NavigationView, contentView, device} from 'tabris';

const navigationAction = <Action placement='navigation' image={getImage('close')}/>;
const settingsAction = <Action placement='default' image={getImage('settings')}/>;
const overflowAction = <Action placement='overflow' title='Share'/>;
contentView.append(
  <NavigationView stretch>
    {navigationAction}
    {settingsAction}
    {overflowAction}
  </NavigationView>
);

setTimeout(() => {
  navigationAction.visible = false;
  settingsAction.visible = false;
  overflowAction.visible = false;
}, 2000);

function getImage(image) {
  return 'resources/' + image + (device.platform === 'iOS'<EMAIL_ADDRESS>: '-white-24dp@3x.png');
}

Bug is no longer reproducible in 3.x. Closing.


Easi 2264/multiselect update

EASI-2264
Changes and Description
This PR is updating MINT's multiselect combobox from EASI's component

Updated multiselect combobox to use react-select for better accessibility
Updated cypress and unit tests

How to test this change

Use any multiselect component on any of the forms
Test accessibility by using keyboard to navigate/select/remove

PR Author Review Checklist

[ ] Met the ticket's acceptance criteria, or will meet them in a subsequent PR.
[ ] Added or updated tests for backend resolvers or other functions as needed.
[ ] Added or updated client tests for new components, parent components, functions, or e2e tests as necessary.
[ ] Tested user-facing changes with voice-over and the rotor menu

PR Reviewer Guidelines

It's best to pull the branch locally and test it, rather than just looking at the code online!
Check that all code is adequately covered by tests - if it isn't feel free to suggest the addition of tests.
Always make comments, even if it's minor, or if you don't understand why something was done.

Merged in main, didn't get that error.  Should be good to go


Demo sites non functional

Both demo sites are non functional. http://noty.azurewebsites.net/ seems to have reverted to the initial setup and http://toastr.azurewebsites.net/ is an error page

I think currently azure Linux app service does not support aspnetcore 3.0 yet.
Get Outlook for iOShttps://aka.ms/o0ukef

बाट: Brandon G<EMAIL_ADDRESS>पठाइयो: Sunday, September 29, 2019 4:56:33 AM
प्रापक: nabinked/NToastNotify<EMAIL_ADDRESS>बोधार्थ: Subscribed<EMAIL_ADDRESS>विषय: [nabinked/NToastNotify] Demo sites non functional (#95)
Both demo sites are non functional. http://noty.azurewebsites.net/https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnoty.azurewebsites.net%2F&data=02|01||d5a87eb95aa14ef8f2db08d744459570|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637052937963469651&sdata=SBCImFjVbBVEVDFZuTcXOhDN2X%2FhmjrJ91aJqCJ1LxE%3D&reserved=0 seems to have reverted the the base code and http://toastr.azurewebsites.net/https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftoastr.azurewebsites.net%2F&data=02|01||d5a87eb95aa14ef8f2db08d744459570|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637052937963479656&sdata=Q8K7LallzjELhXOoSP7N2%2B8Yiz6GgjvzSDQ8gQD6Kuk%3D&reserved=0 is an error page
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnabinked%2FNToastNotify%2Fissues%2F95%3Femail_source%3Dnotifications%26email_token%3DAB2YVC26QIR7C5ZL52TSD7LQL6SGDA5CNFSM4I3PI4R2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOKPMQQ&data=02|01||d5a87eb95aa14ef8f2db08d744459570|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637052937963489667&sdata=tLE5eeFjwN4bqxAYPONW3FqV9FkMs6GSkDctkOxRS9A%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB2YVC2ZU76YXKC4TJFMNZLQL6SGDANCNFSM4I3PI4RQ&data=02|01||d5a87eb95aa14ef8f2db08d744459570|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637052937963499678&sdata=uBSRt3py7wdMm3lvS0S8thCjvBhJCEStz2RU%2BXA4z6Y%3D&reserved=0.

fixed by #99


auto-LIMIT doesn't work for Google Spanner driver

Description
My settings:

DBBeaver loads data using LIMIT 200 by default, but that doesn't apply when I'm using ordering by any of the columns. Even if I have all the checkboxes in the settings enabled.

As a workaround I'm using SQL Query editor, but having it as working UI would be cool.
Was looking for some answers here https://github.com/dbeaver/dbeaver/issues/18302 and https://github.com/dbeaver/dbeaver/issues/9905, but no luck (+ all the related topics as well)
This might be related to specific Google Spanner driver, so even if not a fix, but just an answer about root of the issue - would help me
DBeaver Version
Community Edition Version <IP_ADDRESS>310081633
Operating System
macOs Sonoma Version 14.3.1
Database and driver
Database: Google Cloud Spanner (Database Dialect: Google Standard SQL)
Driver: Google Cloud Spanner 2.7.4 [com.google.cloud:google-cloud-spanner-jdbc:RELEASE]
Steps to reproduce
1. Set up the connection to remote Google Cloud Spanner

2. Make settings that should using LIMIT by default

3. Using UI try to order by one of the columns (I've been trying with datetime format one)

4. Check Transaction Log, no Limit is applied

Additional context
No tunnels, SSH or anything else to establish the connection.
Seems size is defined on the client side, ignoring settings

Confirmed, thank you for report


Refactor: Re enable and fix Ruff's PTH Check

What type of PR is this? (check all applicable)

[X] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Checklist

[X] Code follows style guide (ruff)
[ ] Tests added
[ ] Documented the changes

thanks for your PR - tbh i'm not a huge fan of pathlib, not sure we should bother with this one


fix: If loading a certain namespace fails, only attempt to retrieve t…

…he corresponding namespace from the backup instead of attempting to retrieve all namespaces from the backup

Summary by CodeRabbit

Refactor

Improved the synchronization of Apollo configurations by refining argument usage in the configuration loading process.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.138%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1290

Relevant Lines:
1740

💛  - Coveralls


Update aider

update to latest version and use python 3.12 (better for the cache, no need to rebuild a bunch of dependencies)
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368639

x86_64-darwin

:white_check_mark: 3 packages built:

aider-chat
aider-chat.dist
vimPlugins.aider-nvim

I'm getting a failure on latest unstable, since this PR builds, I'll merge.


ubigraph not available

Looks like UbiGraph is defunct.. E.g. no downloads available at http://ubietylab.net/ubigraph/content/Downloads/index.php..

Yup :(

Please. Can someone publish a server build or source code?


Added  to .nuspec

Fixes https://github.com/ericjaystevens/chocolatey-Veeam-Endpoint-Backup-FREE/issues/5

A appreciate you work, the last time it went through moderation on this I received the following comment from the moderators.

You have a missing dependency on dotnet4.5.2, please add that package as a dependency and ask for an exemption again.

So I think we have to actually add the dotnet dependency, not just document it to have it posted on chocolatey.org. So i will accept your merge request but add the dependency, and resubmit chocolatey.org


NoxUri Implementation added

System.Uri is sufficient for us. Just marked as ValueObject

@fkucuk update to the main branch state and y can merge this PR thanks


fix: remove background from checkbox/toggle

If the checkbox is used on a container with a background that is different than white, the whole input gets a white background with i-bg-$color-checkbox-background. Not needed anymore, gone in Vue. Forgot to remove it from here

Before
After


Resource limits

Codecov Report

Merging #457 into master will decrease coverage by 0.26%.
The diff coverage is 70.00%.

@@            Coverage Diff             @@
##           master     #457      +/-   ##
==========================================
- Coverage   91.03%   90.76%   -0.27%
==========================================
  Files          46       46
  Lines        2988     2946      -42
==========================================
- Hits         2720     2674      -46
- Misses        268      272       +4

Impacted Files
Coverage Δ

django_q/conf.py
73.21% <55.55%> (-1.55%)
:arrow_down:

django_q/cluster.py
91.47% <75.00%> (-0.36%)
:arrow_down:

django_q/__init__.py
100.00% <100.00%> (+28.57%)
:arrow_up:

django_q/admin.py
98.14% <100.00%> (-0.04%)
:arrow_down:

django_q/models.py
98.18% <100.00%> (-0.04%)
:arrow_down:

django_q/tests/test_brokers.py
71.26% <0.00%> (-0.44%)
:arrow_down:

django_q/humanhash.py
93.33% <0.00%> (-0.22%)
:arrow_down:

django_q/queues.py
96.42% <0.00%> (-0.13%)
:arrow_down:

django_q/brokers/__init__.py
94.25% <0.00%> (-0.07%)
:arrow_down:

... and 8 more

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 e0beb50...9946a1a. Read the comment docs.


Untradeable items bank value

Currently untraceable items eg charged dfs do not attribute to bank value

Iirc i believe @deathbeam was working on this

Duplicate of #1045


Please mention the Projection of DEM image

@silburt @cczhu I downloaded 16-Bit GeoTiff image of Mars from USGS Mola Blended Global DEM and also downloaded Mars Crater Catalog by Stuart Robbins
I tried to combine both by using Input_data_gen.py. I downloaded the image in simple cylindrical projection with Lattitude/Longitude limits as +-180/+-90. So, I changed the limits and the radius but the generated masks are all wrong. I couldn't identify what's going wrong after debugging the code for hours.

@Prabhat-IIT DeepMoon assumes the DEM is a Plate Carree (i.e. simple cylindrical) projection.  I'm not sure I understand what you mean by the generated masks being wrong.  Are the generated images and masks themselves fine, but there's just no correlation between the craters in the image and rings in the mask?  If so, have you checked whether this is a mismatch between the DEM and crater catalog by plotting the craters on top of the DEM (eg. using cartopy)?


Does Docusaurus support Analytics

🚀 Feature
Is it possible to track visits with Docusaurus 2.0? I want to know the statistics like:

How many hits per day?
What contents are people visiting?
Any kind of analytics report based on the timeline?
Location-based tracking?

Have you read the Contributing Guidelines on issues?
Yes
Motivation
It will be important to know what kind of content readers love to read.

Look like Google Analytics plugin is already available.

Look like Google Analytics plugin is already available.


subTask collapse issue when the subtask is in greater amount.

The issue is when we collapse the project and the subProject is in greater amount then it crashes
also when we add the subtask of our previos Project then it will not show below to the related project

Hi @jaffery0011,
I cannot reproduce this issue. Could you please share an example?

Hello @MaTeMaTuK
Please visit the link below and collapse the project in the graph
https://gantt-graph.vercel.app/


Set variable option

If possible, there should be an option to put cell contents to variable.
e.g. -v
%%stan -v model_code
....

Does this work? setattr(model_code, cell)

Thanks.The model code is already stored in _stan_vars['stan_code']. Is there a need to specify a new object again?

My idea was that it would be more explicit.

Thanks for feedback. I am refactoring some code including stan pygments lexer to have a pretty HTML output. I will include your other requests too..

I have added support for -v . But it returns an object rather than a string. You can access model_code from the object name you can specify. Pls take a look at revised README and let me know of issues


[api] finalize icon property of the language contribution point

As implemented by #14662 and #118846 (PR)
Language contributors can define an icon for the language.
{
  "contributes": {
    "languages": [
      {
        "id": "latex",
        // ...
        "icon": {
          "light": "./icons/latex-light.png",
          "dark": "./icons/latex-dark.png"
        }
      }
  ]

The icon is used by file icon themes as fallback if they don't have an icon for the language.

the file icon theme defines at least one file icon (not just a generic icon for all files such as the Minimal theme)
-> default language icons do not show in file icon themes like Minimal or None
the file icon theme does not define a specific icon for the language
icons defined for file extensions or file names always win against the language icon (no change)
file icon themes can override this default behavior by defining showLanguageModeIcons: true|false in the theme file.

showLanguageModeIcons: true shows the default language icons even if the theme does not specify a file icon
showLanguageModeIcons: false prevents that default language icons are used.

My language supports multiple types of file extensions, and it would be nice to have a different icon for each. Is that possible?

@LadyCailin No, we just allow to set a single language icon.


I can't play mp3 file on real devices (iPhone and Android devices)

Hi,
I am trying to simple app to play mp3 files on real devices (iPhone and Android device) but it gives error code 1 (errorOBJ.code=1  ) but when I run the code on Android emulator it works fine.
For real device test I use:

PC with Windows 10
phonegap on iPhone is version 1.7.1
phonegap on Android device is 1.7.1

Below is a snippet of the javascript code I used.
document.addEventListener("deviceready", mediaAPI, false);

function mediaAPI() {

    $(function(){

	// Create simple media...

        var sourceToPlay;

        if( device.platform === 'Android' ) {
            sourceToPlay = '/android_asset/www/desert.mp3';
        } else {
            sourceToPlay = 'desert.mp3';
        }

        function mediaStatus(status){

            $('#Duration').html(  Math.floor( media.getDuration() ) );

            if(status === 0){
                $('#MediaOutput').html('Sorry no media!');
            }

            if(status === 1){
                $('#MediaOutput').html('Loading...');
            }

            if(status === 2){
                $('#MediaOutput').html('Playing...');
            }

            if(status === 3){
                $('#MediaOutput').html('Paused...');
            }

            if(status === 4){
                $('#MediaOutput').html('Stopped!');
            }

        }

        function mediaError(errorOBJ){
            $('#MediaOutput').html('There was a problem. Error code '+ errorOBJ.code );
        }

        var media = new Media( sourceToPlay, null, mediaError, mediaStatus );

        // Playback Controls...

    	$('#mediaPlay').on('touchend',function(){
    		media.play();
    	});

	});

}

Dears @phonegap can anybody help me in the issue above

Dears @devgeeks @surajpindoria
Please advice on the issue above

Hi @abdallah-amoudi,
Sorry for the non-response on this issue, have a few different things on my plate right now. Will try get around to this today or tomorrow.

Hi @abdallah-amoudi
This is an issue with paths in the PhoneGap Developer App. When you phonegap serve your app, it loads your content from somewhere different to where the developer app itself is loaded from.
Your code as it is written should work fine when the app is compiled "for real"... i.e.: phonegap run ios, phonegap build ios, etc.
However, paths in the developer app are not as straight forward...
A possible workaround would be to use a function to get the correct path just while working with the developer app, then remove that function when compiling for an actual device.
function getPhoneGapPath() {
   var path = window.location.pathname;
   path = path.substr( path, path.length - 10 );
   return path;
};

We are working on coming up with a better solution, so hopefully a coming update will make that workaround unnecessary.
Let me know if this helps at all...


Testing api

How will I test this API? Any test-net/test coin or sandbox access?

Please use dogecoin or speedcoin for testing - https://gourl.io/api-php.html#testing

Please use dogecoin or speedcoin for testing - https://gourl.io/api-php.html#testing


Stylus, Windows 10, left click and viewport rotation Gizmo not working

Godot version
v4.2.rc1
System information
Windows 10.0.19045
Issue description
There are 2 main issues when using a stylus in windows 10 that I have noticed:

the viewport rotation gizmo goes crazy when we try to use it

the buttons and the items in the menu lists cannot be clicked

Note that these issues are not happening in 3.5, although I seem to remember the viewport rotation gizmo suffered this issue in 3.0.
Note that the issue 2) is solved when disabling Windows Ink.
The hardware used is an XP Pen 16TP 4k.
I took some videos here, so you can better see what is happening:
https://github.com/godotengine/godot/assets/10520249/80654547-e7b2-4939-9d77-a71a58dcfc6b
https://github.com/godotengine/godot/assets/10520249/a2893e43-3bf0-4297-a7ce-ae531774c995
Steps to reproduce

install a xp pen tablet
try to use the viewport rotation gizmo, or try to use the menus (e.g Editor -> Editor Settings...)
enjoy the 🪲

Minimal reproduction project
Default project
EDIT: I've made it! I downloaded Handbrake and .NET and got to resize the videos!

the viewport rotation gizmo goes crazy when we try to use it

The 3D editor supports touchscreen events for navigation, but it's only enabled on mobile platforms by default. It also won't handle pen events as these are separate events, and the exact UX should be different from a touch screen.

Hello! This bug has nothing to do with touchscreen. Pen tablets work rather like a mouse in terms of UX, and don't need a separate UX.
When the pen touches the Viewport Rotation Gizmo, the camera aligns with the world Y axis and starts to rotate very fast. In 3.5, the pen was working as expected. So I believe there was some support.
I tried the Viewport Navigation Gizmo, just to see, and it also does not work with the pen. When using the rotatiom controller, the cursor get stuck to the left of the circle, causing the camera to progressively align with Y, and rotate very fast. See below:
https://github.com/godotengine/godot/assets/10520249/b0dd7778-443b-436c-8054-9322c1b8884b

Hello, I tested it with Windows 11 and Godot 4.2.x and 4.3 dev 5 and the Viewport Rotation Gizmo is now working at intended with a pen tablet.
However, the left click is still not working in the menus. I will open a different issue for it.


terraform wrapper appears to use wrong logic when reporting active terraform version

If I attempt:
$ ./terraform config 0.9.9
On a host where terraform is not in the path / installed I receive:
`./terraform: line 32: terraform: command not found
Currently configured image tag is: .`
$ which terraform /usr/bin/which: no terraform in (/home/ec2-user/.nvm/versions/node/v6.14.3/bin:/usr/local/rvm/gems/ruby-2.4.1/bin:/usr/local/rvm/gems/ruby-2.4.1@global/bin:/usr/local/rvm/rubies/ruby-2.4.1/bin:/usr/local/bin:/bin:/usr/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/aws/bin:/usr/local/rvm/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin:/home/ec2-user/.local/bin:/home/ec2-user/bin)
however the container version selection appears to work as intended:

Unable to find image 'hashicorp/terraform:0.9.9' locally

0.9.9: Pulling from hashicorp/terraform

627beaf3eaaf: Pull complete

d12aa8c6f04e: Pull complete

Digest: sha256:b3da8c0116ef7536178f7ffd82175bbc656a340aed921f754aebfb66cc853fea

Status: Downloaded newer image for hashicorp/terraform:0.9.9

Terraform v0.9.9

Your version of Terraform is out of date! The latest version

is 0.11.7. You can update by downloading from www.terraform.io

It seems that https://github.com/ghpua/terraform-eks/blob/cd75c3f7ee70017b7485591fd7e565b962b4223b/terraform#L32
Is querying the terraform version found on the path (if any) instead of the version in the container.
I wonder if this the most desirable resolution is for this line to be removed, and the following line adapted thus:
printf "Currently configured image tag is: $TERRAFORM_IMAGE_GIVEN_TAG.\n"
alternatively both lines replaced with something like:
		TERRAFORM_IMAGE=$(cat "$TF_CONF" | grep TERRAFORM_IMAGE | cut -d "=" -f2) 		docker run -it --rm \ 			-v "$PWD":"$PWD" \ 			-v ~/.ssh:/root/.ssh \ 			-v ~/.aws:/root/.aws \ 			--workdir="$PWD" \ 			"$TERRAFORM_IMAGE" \ 			"version" 		;;

I realised chmod +x ./terraform && sudo mv ./terraform /usr/local/bin eliminates that error, so perhaps it is just a missing instruction from the readme?

@ghpua Thanks for reporting the missing steps. I just updated prerequisites section to include Terraform. Instructions on how to deploy EKS cluster into an existing VPC is also yet to be added. I plan to update readme soon. Please report if you encounter any other issues. PR is also very welcome!

hi @yamaszone
I needed to put something together for a demo, so in the first instance I've captured a bunch of commits in https://github.com/ghpua/terraform-eks/tree/customisations
Some comments about those:

I've removed some functionality for my own purposes (bastion, existing vpc) it's hopefully obvious I won't be attempting pull requests for that :)
I'm away for a few days, but afterwards I'd be happy to work through some pull requests so you have something easier to digest. Below are some things that exist in that repo/branch; it would be interesting to understand which are more applicable / important for your usecase:

rename autoscaling group to ensure uniqueness between clusters https://github.com/ghpua/terraform-eks/commit/8748098787d1c82aa37ca8d0d6170096045b2044
refactoring to follow convention of splitting vars/outputs from each module main tf file https://github.com/ghpua/terraform-eks/commit/7b75e940012f32456028044061fc3ac57ab26409 https://github.com/ghpua/terraform-eks/commit/efea32bc362ce6c11ef38c0627e82e803465f53c
use terraform workspace construct to facilitate cluster name / environment / aws region injection, and remove hardcoding of us-west-2 (this branch can successfully deploy into us-east-1 as well) https://github.com/ghpua/terraform-eks/commit/32bfb66f29acd37043d40961f2cd02db0ad8d310 https://github.com/ghpua/terraform-eks/commit/9990ee4cb3210a49963ed1140dbaa0ce58ab9d59 https://github.com/ghpua/terraform-eks/commit/748353fb3ccd516ee6f351190ef79219624a967e
expose additional vars - https://github.com/ghpua/terraform-eks/commit/9990ee4cb3210a49963ed1140dbaa0ce58ab9d59
add links regarding cni/pod count restrictions https://github.com/ghpua/terraform-eks/commit/b24e707f7b7bafaa774e5c270994c57d6ef9c909
fix an issue where subsequent runs of terraform after the first one remove tags needed for k8s load balancer integration https://github.com/ghpua/terraform-eks/commit/90d0798b877ae5de172e221e20477c71e404b9da
handle eks capacity issue in us-east-1a (this is the name of the az in my test account) without hardcoding az's in other regions https://github.com/ghpua/terraform-eks/commit/92f3532417df0c34091d5c7684e69c4e4c35580e

I also made a variation of the readme for my demo, but possibly the Cloud9 parts are interesting too https://github.com/ghpua/terraform-eks/blob/customisations/README.md

@ghpua It's been a bit hectic on my end. Thanks for sending a summary of your commits. I will definitely review them and cherry-pick as needed. Currently I am focusing on deploying EKS cluster in an existing VPC leveraging an upstream community modules. I am keeping this work separate into existing-vpc but may want to reuse them to replace EKS module. I will start versioning this repo so that changes are more easily consumable.


Preserve timestamps

Currently available version does not preserve timestamps.

General-purpose archive format should store timestamps. This is basic usability feature, expected to be there to begin with

I'm not sure of what to say about my "use case." Archiving? I always count on timestamps in all my backups. It's very important to keep tabs on what copy is newer than the others. All archive formats I've ever used support that.


feat: switch to Debian and support ARM

This has been tested on AWS Gravitron2 instances running Kubernetes. I
have switched the upstream image tage to one which supports ARM
architecture and did some minor refactoring of the Dockerfile to keep
the size low.
Signed-off-by: Chris Gianelloni<EMAIL_ADDRESS>

Thank you very much for the contrib @wolf31o2
We'll take a look in the coming days and give you some feedback

Hi @wolf31o2
Having an ARM compatible image is just amazing! Thank you very much for your contribution.
We were testing the proposed docker changes with all the LEC functionalities. We found some errors with the activities/stream feature. The problem was already solved in the main branch.
There are 2 options:

You could update the PR and solve the conflict (ignore our dockerfile), or
We can introduce the changes

We would love to have your contribution recognized by Github as it should be, so ideally we would like to follow 1).

Brilliant! Committing now. Thanks,


Error when trying to add SSH Key

Gogs version:  <IP_ADDRESS>8
Git version: 2.7.4
Operating system: Ubuntu 16.04 LTS
Database:

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[x] Yes
[ ] No
[ ] Not relevant

Upon trying to add an SSH key to my account I'm met with this error:

Sorry, we're not able to verify your SSH key: extractTypeFromBase64Key: invalid key format: not enough length<PHONE_NUMBER>

What type of key is this? RSA, EHDC, etc.?

RSA

Can’t replicate. Tried on gogs.io, and my own instance, and it just works. Maybe problems with copy and paste? Missing characters? It is the public SSH key which you are adding, correct?

Oh, I was supposed to add my public key? 🤣
I'll give that a shot.


Awake is causing PC to shutdown when

Microsoft PowerToys version
0.43.0
Running as admin

[X] Yes

Area(s) with issue?
Awake
Steps to reproduce
if Awake is running (in passive mode), trying to set the PC to sleep would cause the PC to shutdown instead.
✔ Expected Behavior
Allow PC to go to sleep (since it is in passive mode)
❌ Actual Behavior
PC shutsdown
Other Software
No response

@d-a-i-m-a-j-i-n this should not be the case, as Awake is not interfering with any power settings on the machine in the slightest, and should not affect how the computer handles sleep vs. shutdown.
Can you please try to disable Awake and try to reproduce the behavior? Do the same with PowerToys as a whole as well.

this is very strange. just like the mechanic you take the car to so he can hear the weird sounds it makes, and suddenly it doesn't. so i tested it for couple of days in different settings and it didn't happen again - although it did few time and forced the system to restart in spite of open applications. oh well, hopefully i doesn't at all. thanks!

@crutkas FYI, I am closing this issue per customer input.


feat: genome resources management

Is your feature request related to a problem? Please describe.
The issue is how to provide genome availability and compatibility with specific versions and organisms
Describe the solution you'd like
Implementation in config/genome_resources.py
The user should be able to :

set default genome resources for a given organism and either
choose to always download latest ENSEMBL resources for every sample or
download only missing genome resources not configured in 1. or
never download any resources (app will stop if resources are not available for one or more samples)

Additional context
ensembl rest resources: https://rest.ensembl.org/

https://git.scicore.unibas.ch/zavolan_group/pipelines/zarp/-/issues/133

Note that in the samples table paths to genome and annotation files have to be in the format /path/to/ORGANISM/gene_annotations.gtf (or genome.fa), where ORGANISM has to be exactly the same as the short_name for library source returned by htsinfer. (Or the htsinfer short name has to be replaced in the samples table;)

This was addressed with #61


Environment Variables not being set for Stacks

Bug description
When deploying a new Stack in Portainer, the containers don't have any variables passed to them but when deployed via docker stack deploy it works perfectly.
Expected behavior
Containers to have variables set
Steps to reproduce the issue:

Go to Stacks
Click on Add Stack
Add Environment Variables
Deploy the stack
See error

Technical details:

Portainer version: 1.21.0
Docker version (managed by Portainer):
Platform (windows/linux): Linux
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer):

curl -L https://downloads.portainer.io/portainer-agent-stack.yml -o portainer-agent-stack.yml
docker stack deploy --compose-file=portainer-agent-stack.yml portainer

Browser:
Google Chrome Version 75.0.3770.142 (Official Build) (64-bit)

Additional context
This was tested via both putting the compose file in the editor and using a Github repo

I confirm I have this problem too.
The portainer-agent-stack.yml contains commented lines in the agent environment section, the empty environment: confuses the yml parser, it thinks its an empty string, which, docker stack deploy says, is not allowed in environment:
...
services:
  agent:
    image: portainer/agent
    environment:
      # AGENT_PORT: 9001
      # LOG_LEVEL: debug
...

Quick update: Issue is still occurring on 1.22.2

Hi there @pierredavidbelanger, the official Portainer agent stack file has been updated to remove the un-needed environment variables so there should be no issues.

@bsquidwrd I was not able to reproduce this, what docker version are you using & can you post the logs of Portainer?

Same issue.

Portainer 1.22.0
Docker API version 1.40
Docker engine 19.03.5
I need to set environment for every service in the stack editor, environment variables doesn't seem to work

@Cinezaster are you using docker swarm or standalone (non-swarm) ?

@itsconquest  we use docker swarm

Hi there @Cinezaster ,
I have been unable to reproduce this with the exact same Docker, Docker API and Portainer versions as you. Are you doing anything different to me?
Here is how I tested:

Deploy a simple nginx service via stack with an env var set

Confirm that the env var is set on service and container

Using your test method @itsconquest works perfectly, but I am still having issues with my stack recognizing the environment variables being set. However, if I change the command to something like echo $test and no restart policy, it works just fine.
This has got me thinking it's the code inside of the containers for my swarm that are having the issue. I will do a new test once I am home to double check my code.

@itsconquest I now understand why this was not working. I assumed wrongly that using the form Environment Variables the variables would be set for every service like a sort of global env variable.
We did not add the
environment:
   - test=${test}

part.

@bsquidwrd ok, if you are still having issues I am happy to help debug.
Also @Cinezaster maybe this means there needs to be a clearer UI here. Easiest thing I can think of is a a description under the Environment title or a tool-tip such as Define your environment variables here for substitution into your yml file

I think I'm having the same issue as @Cinezaster but if not, I will be sure to check back in.
Thank you very much for your patience and help @itsconquest

@itsconquest
I think a tooltip with an example would help. Or a link to a page with some explanation, would be helpful.
Thx

@bsquidwrd has your issue been resolved?

My apologies, yes this has been resolved.

I have same issue.
If I do:
environment:
      - SSH_PASSWORD={$SSH_PASSWORD}

Then the environment var will be null.  If I do:
environment:
      - SSH_PASSWORD=pass123

Then it works fine


🚀 Feature: Improve error message "expected undefined to not equal undefined"

Is your feature request related to a problem or a nice-to-have?? Please describe.
The error message is simply not helpful:
 AssertionError: expected undefined to not equal undefined

How would something ever be unequal to itself?
Describe the solution you'd like
I'd like to read something like this
 AssertionError: expected value to not equal undefined
 AssertionError: value is undefined

Describe alternatives you've considered
The workaround would be to use a custom error message, but I'd say the default should be usable already.
Additional context
None.

Could you please post a full reproduction showing how that error message was generated? It's not clear from just the brief plain text issue what libraries, if any, went into it. Does that error message even come from Mocha?

would then mean it's from Chai

Precisely 🙂.
Closing out as not having a reproduction - but if you or anybody has one that shows Mocha giving an error message that should be improved, please do file a new issue with one of our new issue templates. They'll prompt for the info we need to triage. Thanks!


DataverseFileInfo endpoint should return dataset_schema_info and file_schema_info

Serializer should have these two fields added as read only

(closed, already in place)


Add npm install instructions to chatbot quick start

Add npm install instructions to chatbot quick start, followed the paradigm set by step 2 of todo list copilot and textarea autocomplete.
Before

After

Thanks for this @jamari-morrison


Fix circular reference

util.js should not require Color from color.js which requires util.js
This breaks esm packages, and probably other as well.
Fixes #137

Let me know if you want it resolved differently. I went for the most obvious path.

Hey, thank you for working on this!
I'm trying to figure out what the problem is, since color.js works fine when the browser resolves the dependency tree. Is this a bug in Rollup?

@LeaVerou I'll explain this as best I can because I'm not quite sure how your site loads up the lib and from what of the various builds it uses, so I'll speak specifically on the esm issue as you should be able to easily inspect this locally and see what I am referring to.
Description of Issue
Without this patch, you can look at the compiled esm module and inspect the source. util.js does not include color.js, but references Color. While rollup is building this, because util.js does not import color.js, it thinks that the Color in util.js is different than the one in color.js.
So, when Rollup compiles it all into one package, the util.js reference gets named Color (probably because it is resolved first in the package) and the actual Color object gets named as Color$1:
function parseCoord(coord) {
	if (coord.indexOf(".") > 0) {
		// Reduce a coordinate of a certain color space until the color is in gamut
		let [spaceId, coordName] = coord.split(".");
		let space = Color.space(spaceId);

		if (!(coordName in space.coords)) {
			throw new ReferenceError(`Color space "${space.name}" has no "${coordName}" coordinate.`);
		}

		return [space, coordName];
	}
}

class Color$1 {
	// Signatures:
	// new Color(stringToParse)
	// new Color(otherColor)
	// new Color(coords, alpha) // defaults to sRGB
	// new Color(CSS variable [, root])
	constructor (...args) {
		let str, color;

		// new Color(color)
		// new Color({spaceId, coords})
		// new Color({space, coords})
		if (args[0] && typeof args[0] === "object" && (args[0].space || args[0].spaceId) && args[0].coords) {
			color = args[0];
		}

This is why Color is not defined, the Color object is now compiled as Color$1.
Verification
I was able to verify this behavior locally first by inspection, and then I created a simple HTML file that included the local esm file (disable CORS so I could test it), and the old esm file would throw an error in the console due to this undefined Color reference.
After applying the patch, and doing the same as above, I was able to verify the issue was resolved. And I was able to inspect the esm module and see that it was, indeed, using the exact same reference now.
Possible Resolution

Have util.js import color.js. This is a bit 🤮 as we are creating a circular dependency. You will get warnings in the build about this, but, this could work, I believe. This was not my first choice, but IIRC, it does work and is a viable solution.
Or, as I have done, you can move parseCoords into color.js, the only place it is used, and it is only used once. I did not see it documented publicly either, so it doesn't affect the "publicly" documented API.
I assume the logic could be absorbed directly into the function that calls it. It is literally only called in one place.

There may be other solutions. My curiosity got the better of me which is why I dug a bit deeper. I was able to at least isolate the issue quicker than I thought. I really only considered the three above options and then settled on number two, though maybe three would be cleaner.
I figured there was a good possibility that there would be a discussion on this, so I didn't worry about the "best solution" as much as presenting "a solution". I figured it was possible you had some other ideas on how to approach it. At the very least, this PR makes the root of the issue well known 🙂.

I actually found a way that is probably preferable.  The code can actually remain the same, you just need to import color,js into util.js and ignore the circular dependency. Then it all resolves as expected.
It seems to be the way to work around this behavior of rollup. For more info, see here: https://github.com/rollup/rollup/issues/1089.

I guess I should've mentioned, I've updated the pull request to utilize the circular import.

Thank you so much! Merging


Last operation always shows delete in progress

Issue
cf service shows last operation as delete in progress even when response from broker to delete request was 500
Steps to Reproduce
cf ds <instance-name>
From broker send response code 500
Expected result
I was expecting status to become delete failed rather than delete in progress. As mentioned in service broker api

Responses with any other status code will be interpreted as a failure and the service instance will remain in the marketplace database

Is there something I'm missing here.
Current result
cf service shows last operation as delete in progress

Hi @amitmalav,
I have just tried to reproduce your problem and do not see the same behaviour.
With a service broker that is configured to return a 500 error for the DELETE request is correctly shows delete failed
> cf ds service-instance -f

Deleting service service-instance in org dev / space dev as admin...
FAILED
Server error, status code: 502, error code: 10001, message: Service instance service-instance: Service broker error: Error mode enabled (servererror)

> cf service
Getting services in org dev / space dev as admin...

name               service           plan     bound apps   last operation
service-instance   overview-broker   simple                delete failed

Is your broker returning 202 (accepted) for the actual delete request and 500 for subsequent last_operation poll requests?
If that is the case then it is correct for CC to show delete in progress as CC will retry polling last_operation when it encounters a 500 until the max polling interval is reached see this part of the spec

Responses with any other status code SHOULD be interpreted as an error or invalid response. The Platform SHOULD continue polling until the Service Broker returns a valid response or the maximum polling duration is reached.

Hi @Samze ,
Our services are synchronous in nature and they send 200 for a successful creation/deletion. In this case, it sent a 500 for the actual delete response. We do not see any last operation call also thereafter, which is how it should be. But the instance remains in "delete in progress" state and any subsequent operation on it fails with the error "Server error, status code: 409, error code: 60016, message: An operation for service instance sf_redis is in progress"

Interesting @subhankarc, thanks for your reply.
Could you provide an example of this occurring in the CLI (in the same way I did above) so I can see the error message returned by CloudController on the delete?
Additionally could you provide the output of cf curl /v2/info so we can have a look at what version you are running?
Thanks,
Sam

Hey @amitmalav @subhankarc Is this still a problem for you? We looked into this but couldn't reproduce it (see @Samze's comment above). Thanks


InternalServerError at the deployment with azuredeploy.json

Hello everyone.
When I deploy with the template "azure/arm/azuredeploy.json",
all of "microsoft.insights/metricAlerts" resources are not created by InternalServerError.
The status mesage in the Operation details pane is as follows:
{
"status": "Failed",
"error": {
"code": "Add or Update Resourcetype microsoft.containerservice__managedclusters__device__host__Microsoft.ResourceId in MdmAcount: CUSTOMMETRIC_2dbc4fe3-6578-46fc-8823-4d9a5dd5a80f_JapanEast failed",
"message": "There was a problem with the server. Please try again in a few minutes. Activity ID: 5e33eab3-d813-40ee-9026-b01aa379185c."
}
}
By deleting all "microsoft.insights/metricAlerts" type from azuredeploy.json, the deployment is successful.
How can I deploy with the original ARM template?

For the time being, I would like to set these metric alerts manually.
If someone find the way to correct the internal server errors, please let me know.

Hello @naoki4
Im out of office at the moment, so cannot check what the response from MSFT is when deployed. In the azuredeploy.json you are free to customize to suit your reqs so you can pull them out and set the alerts manually. I'll have a look at the deploy when Im back and post an update - it's likely a version update that'll need to be done
Cheers
Josh

Hello @naoki4 This should be sorted, the only thing I had to update in the template was the aks version. Can confirm the current template works fine


Conversation: What telemetry should we collect?

@zootella mentioned in the last Dat meeting that we should have a conversation about:

What kind of telemetry info should we collect?
How to do we make sure that that telemetry info is informative while not leaking any sensitive info?
Should (and if so how) should we make the collected data available?

We currently have very rudimentary telemetry in the daemon, but we haven't yet had a conversation about exactly what things would both be appropriate to collect and useful for future optimization.
Currently we're reporting:

The hashed daemon token (to track anonymized identity across restarts).
The total number of hypercores that the corestore has in memory.
The total number of peers that the swarm networker is connected to.

Ideally, we want to collect things like latency numbers as well, and perhaps other network-related stats.
What do y'all think? @mafintosh @pfrazee

Lots to dig into here, the only observation I have right now is anomaly stats might be useful, things like “an operation took long under X condition.”

Seeing the histogram of how long operations take would be really interesting @pfrazee
Telemetry can be useful at every level of the stack, I think, including all the way on the top: At the product level where the user clicks to complete a task and then waits and gets (or doesn't get) the desired result. How long did they wait for the result to start? to complete? What percent of the time does the user cancel or exit before a success or failure?
We're not at all interested in the behavior of our users or details about their data (Unlike all the big centralized platforms). To collect stats with minimal privacy impact we could have nodes report:

hashes of IPs and other unique or potentially identifying information instead of the actual identifiers
large buckets of values (<100ms, <1s, <10s, <1m, <10m, longer) rather than exact values
aggregate counts of things rather than details of individual things

A goal at this super high level would be to measure how well the technology works deployed, as real people and apps use it, with their real data and imperfect consumer hardware and internet connections. It would be great to be able to track user success version to version (Upgrade now: we're measuring dat: links load twice as reliably as before!) Changes beyond our control on the public internet will affect these metrics also, but that's not a bad thing: If some sudden or gradual external change (with a large ISP, with a Windows Update), makes things start working twice or half as well, that's something we should know about.

Is the client reachable (to establish if hole-punching is working for everyone) – if not then find its public IP but include the IP’s ASN in the report not the IP itself. I’m thinking this will identify potential CG-NAT issues.
Does the client have a global-scoped IPv6 address (to establish if the future is now)
Uptime.

Thanks all --  at the end of the day, we decided to drop the telemetry a few weeks back when the daemon moved out of the "beta" stage. Ultimately we'd prefer it to be opt-in, but in that case collecting large-scale stats (like IPv6 addresses @da2x) wouldn't make much sense, as we wouldn't get a large-scale picture.
Instead we've opted to ensure we don't log any keys in ~/.hyperdrive/log.json, so that we can collect those as necessary to fix issues. We're also periodically logging perf-related stats now, which will be useful for debugging. We're hoping certain aggregate stats can be pulled directly from the DHT (like an approximate DHT size).
@zootella Strongly agree with your last point, that we do need a way to measure if sudden/gradual changes have negative effects. Think for now we'll just rely on users opening issues, while making sure that the log files give us the info we need. Given that, I'll update the issue title to be "Which stats should we be logging?" as the suggestions here are equally relevant.


ValueError: Less than 10 cells in a group!

My cell numbers is each group are more than 10 cells and I still get the error
ERROR @server: Traceback (most recent call last):
ValueError: Less than 10 cells in a group!

there is no any combined groups

I cannot reproduce this on our datasets, I assume you cannot share the data. Thus, could you please check a few things on the browser console (chrome: right click anywhere on the page, select 'inspect', select 'console' tab on the new opened side window).

DEGselCells()[1].length
Object.keys(getCells(null,true))
getCells(null,true)["celllist1"].length
getCells(null,true)["celllist2"].length

Thank you!

1- 0
2-Uncaught ReferenceError: getCells is not defined
at :1:8
3-VM429:1 Uncaught ReferenceError: getCells is not defined
at :1:1
4- Uncaught ReferenceError: getCells is not defined
at :1:1

Something is not correct, maybe you want to pull the latest version, or reinstall. you can test on our example instance: https://cellxgenevip-ms.bxgenomics.com/
If only one cell group was select on the cellxgene main window

Object.keys(getCells(null,true))
["celllist1"]0: "celllist1"
If two groups
Object.keys(getCells(null,true))
(2) ["celllist1", "celllist2"]

If the latest version didn't fix this, please feel free to reopen the issue.
Thanks.


Close previous conn when switching to new conn.

This is a different attempt at
https://github.com/livekit/server-sdk-go/pull/350. Feels a bit cleaner, i. e. if the internal conn atomic.Value is replaced, the previous conn is closed before doing that.

This seems to fix the cloud-ingress restart issue.


fix ZKServer startup error

delete duplicate startLocalZkServer

Codecov Report

Merging #2062 into dev will increase coverage by 2.29%.
The diff coverage is 62.59%.

@@             Coverage Diff              @@
##                dev    #2062      +/-   ##
============================================
+ Coverage     30.84%   33.13%   +2.29%
- Complexity     1382     1552     +170
============================================
  Files           294      313      +19
  Lines         15022    15529     +507
  Branches       1810     1886      +76
============================================
+ Hits           4633     5145     +512
+ Misses         9930     9854      -76
- Partials        459      530      +71

Impacted Files
Coverage Δ
Complexity Δ

...er/server/worker/task/AbstractCommandExecutor.java
40.1% <0%> (ø)
14 <0> (ø)
:arrow_down:

...common/utils/placeholder/TimePlaceholderUtils.java
4.56% <0%> (ø)
3 <0> (ø)
:arrow_down:

...dolphinscheduler/api/service/ResourcesService.java
79.66% <0%> (ø)
67 <0> (ø)
:arrow_down:

...hinscheduler/common/utils/TaskParametersUtils.java
70% <0%> (-7.78%)
11 <0> (ø)

...er/server/master/runner/MasterSchedulerThread.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...e/dolphinscheduler/common/model/DependentItem.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...lphinscheduler/server/worker/task/TaskManager.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ler/common/utils/placeholder/PlaceholderUtils.java
66.66% <0%> (ø)
3 <0> (ø)
:arrow_down:

.../dolphinscheduler/common/utils/ParameterUtils.java
57.57% <0%> (ø)
13 <0> (ø)
:arrow_down:

.../dolphinscheduler/api/service/ExecutorService.java
31.87% <0%> (ø)
16 <0> (ø)
:arrow_down:

... and 56 more

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 34e0a66...d0f0ed4. Read the comment docs.


Refactor PVPlant/DetailedPVPlant

Refactor PVPlant/DetailedPVPlant
This PR refactors the solar plant classes and their interfaces, adds new tests, and updates their documentation.
Related issue
resolves #212
resolves #213
Impacted areas of the software

Updates PVPlant and DetailedPVPlant to use attrs dataclasses
Introduces new config dataclasses, PVConfig and DetailedPVConfig, to more explicitly define the interfaces for these classes
Creates new tests for basic functionality of these classes, test_pv_source.py and test_detailed_pv_plant.py
Updates the documentation

Adds relevant missing classes as well as the new ones
Updates configuration to use Google format and infer type annotations
Reorganizes to make the doc files (and generated doc builds) more easily navigable

Additional supporting information
Test results, if applicable
None

This will be merged via refactor-sim-2 branch


Fixing email wording

Sending out messages to prod people for attendance figures, came up with a stronger wording - please check that it's OK.

@maneesha could you please review this PR? I'm hoping to release v1.1 soon. Thanks.


Not compatible with Windicss

Pls make it compatible with Windicss

I'll check it out and see what I can do 👍


DynamboDb ignores new property in Entity when using Streams

We had issue where a new Entity property was being missed from the DBStream New_Image event record. We couldn't understand why this occurred and the resolution we ended up using was to drop the database table and recreate it. However in production this wouldn't be a good outcome.
Any guidance to why this occurred and how to avoid it? FYI...Our solution is a .NET 6 code base using Servleress Framework for the deployment model.

Hello harrypooni-118 is this question related to any specific example on this repository or are you asking guidance to understand your specific situation with your code?


Configuration Cache not working with wasm distribution

Describe the bug
With the new wasm task, the distribution task is not compatible with configuration cache
Affected platforms

Web (K/Wasm) - Canvas based API

Versions

Kotlin version*: 1.9.x
Compose Multiplatform version*: 1.6.dev versions (tested with the latest snapshot 1.6.0-dev1369)

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Clone https://github.com/Kotlin/kotlin-wasm-examples
cd compose-imageviewer
./gradlew wasmJsBrowserDistribution --configuration-cache

Expected behavior
No configuration cache errors are thrown
See the attached config cache report
ccache.html.zip

Also happening with 1.6.0-beta01

The fix is expected to be in kotlin 2.0.0-Beta4 - https://youtrack.jetbrains.com/issue/KT-64851

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Master

Count ways to reach nth stair

Mitanshilodha

@all-contributors please add @Mitanshilodha for his/her code


WIP: start adding header logic

 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.

Coverage decreased (-0.2%) to 70.26% when pulling 78c970f9ee0793e21cdc0f73a283f8aee1938f25 on ss/header_support into e811869743d957a30b52e0291a359bd1ea16039c on master.

@mfateev added a bunch more tests and responded to comments..


modularize iota

add a iota-cats-free module and split off the cats-free related code
consider splitting all FunctionK code into a iota-cats module

Addressed in #20


Remove localizedName

[x] I have read the Contributor Guide

Removed a useless line from the publiccode.yml file. @giux78

grazie mille!!!! 🎉


jitsi : Depends: libavfilter6 but it is not installable

Description
I'm trying to install Jitsi unstable on Debian but if fails due to unmet dependencies:
# apt install jitsi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jitsi : Depends: libavfilter6 but it is not installable or
                  libavfilter-extra6 but it is not installable or
                  libavfilter-ffmpeg5 but it is not installable
E: Unable to correct problems, you have held broken packages.

Possible Solution
Support libavfilter7

Environment details
Debian 10.0 (Buster)
Jitsi 2.11.5623-1

Although I am just an external contributor like you, thank you for reporting this issue! Please, mark issue #620 for notification so you get the latest updates on it.