Extracting pulse width

The pulse width is potentially a useful parameter to extract from the waveform. A longer pulse width may suggest a time-extended Cherenkov emission, potentially from a shower with heavy progenitors (e.g. iron showers). We may therefore wish to include the extraction of the pulse width as part of the ImageExtractor (much in the same way as charge and pulse time is extracted), and include it in the DL1 container.
The difficulty with this exercise is to do this in an efficient way, so as to not heavily impact the runtime of the ImageExtractor algorithms. This is likely to need the use of the numba package.

Yes, this is a good idea. The pulse can be fully defined by peak, width, risetime, and falltime, so it could be useful to compute all of them here (we did this in VERITAS, at least for testing).
note that the width can be defined in many ways as well - is it the width at 50% of the peak?  A few time measurements are useful:

t_thresh: time the pulse first crosses a user-defined threshold for peak-detection (useful to measuring time jitter)
t_50 [leading, trailing]: time position at 50% of the pulse on the leading-edge or trailing edge
t_90 [leading, trailing]: time position at 90% of pulse for leading and trailing edges
t_10 [leading, trailing]: time position at 10% of pulse for leading and trailing edges

Then

width = t_50[1] - t_50[0]. (1=trailing edge, 0=leading edge)
rise_time = t_90[0] - t_10[0]
fall_time = t_10[1] - t_90[1]

so the main function needed is one that finds the time in the waveform where the value of the waveform crosses a threshold, either forward (from start of search window) or backward (from end of search window). That allows you to calculate all of these times.
Something like:
def find_waveform_time(waveform, threshold, forward=True):
   ...

t_50_0 = find_waveform_time(waveform, peak/2.0, forward=True)
t_50_1 = find_waveform_time(waveform, peak/2.0, forward=False)

where the return values are the time for each pixel in the image.

I had a much-less-than-perfect algorithm to extract the FWHM and rise time of the pulse implemented a while ago in CHECLabPy. It uses numba, but it still impacted the event processing speed enough that I avoided using it.
https://github.com/sstcam/CHECLabPy/blob/master/CHECLabPy/waveform_reducers/timing.py
It could be a useful resource though.

The simplest method is just this, but not sure how efficient it is:
@njit  # to avoid intermediate value
def find_waveform_time(waveform, threshold):
    """ returns sample number of first time waveform crosses threshold """
    return np.argmax(waveform > threshold, axis=1)

Is numba really make a single call to a numpy method faster?

That would also encounter problems for thresholds close to the baseline - you would get the first sample that meets the condition, not necessarily the one closest to the pulse (which is more likely to be correct)

It works fine as long as the threshold is not too close to the noise.  For the width, it's ok - if the pulse is in the noise, then width will be crazy values, but you can filter them out.  You could of course pass only the part of the waveform near the pulse, if you have a good estimate of that window.

Is numba really make a single call to a numpy method faster?

probably not needed, but it avoids a temporary being created for the X>Y operation.

probably not needed, but it avoids a temporary being created for the X>Y operation.

ah, that's nice

That would also encounter problems for thresholds close to the noise - you would get the first sample > that meets the condition, not necessarily the one closest to the pulse (which is more likely to be correct)

I think most of the time, you'd only look at width, rise_time, and fall_time values for pixels that have a strong signal or pass cleaning later, so I think it's ok to not be perfect here. Denoising comes later.

The only thing is that this is only sample-accurate. If you want better accuracy, you would need to use a resampled image or do a spline, which probably would be quite a bit slower.

A simple interpolation could also be sufficient, right?

I guess you could do that with numpy as well, once you have the sample-accurate version, just do a linear interpolation between sample and sample-1. Not sure it makes much of a difference, though, so might not be needed.


Icons: Add paging and scrolling icons

This change: (check at least one)

[x] Adds a new feature
[ ] Fixes a bug
[ ] Improves maintainability
[ ] Improves documentation
[ ] Is a release activity

Is this a breaking change? (check one)

[ ] Yes
[x] No

Is the: (complete all)

[x] Title of this pull request clear, concise, and indicative of the issue number it addresses, if any?
[x] Test suite(s) passing?
[x] Code coverage maximal?
[x] Changeset added?
[ ] Component status page up to date?

What does this change address?
Add paging and scrolling icons
How does this change work?
Add paging and scrolling svg
Additional context
Add any other context here.

@drewgingerich the SVGs lack the wrapping <svg> tag because that is added programmatically, mainly for consistency of viewBox and possibly a couple of other attributes IIRC.

@mariadevadoss you can also add yourself to the contributors list if you so wish!


add moto coverage + refactoring of coverage docs generation

This PR:

adds retrieval of the moto-test artifacts and includes the metrics collected in the coverage-overview.
moves the coverage-creation script into docs repo, so we can remove the localstack dependency

we do rely on the content of implementation_coverage_full.csv (downloaded from circleci) to build the general model of available services/operations and then map the test results accordingly
renamed the raw-metrics data to include the information about the test-source
for now: add a different symbol to the tests that are only moto-tested

adds a script to retrieve the correct github artifacts

Up until now we used the gh run download --repo localstack/localstack-ext -n parity-metric-ext-raw command, which would presumably download the latest artifact (from any branch).
With the script, we try to download the latest artifact from the branch we are interested in (usually master), and if there is no artifact (because build steps have been skipped), we search for the related workflow that caused the skipping and try to download the artifacts from there.

open TODOs:

[x] change branch-name and worflow name for the moto artifact after we merged https://github.com/localstack/localstack-moto-test-coverage/pull/1

latest run with resources from feature branch can be found here https://github.com/localstack/docs/pull/479

[x] run the action to build docs again, to verify that the outcome is correct

Discussion
Do we want to use a different symbol to indicate a test have been covered by moto, vs. covered by our internal integration tests? /cc @HarshCasper @whummer @dominikschubert
In this PR I proposed:

✨ to indicate covered by our integration test suite
💫 to indicate covered by moto test suite

since this has been open for two week, i merged it now. if you have any comments @HarshCasper , please feel free to put an issue in the backlog so we can address it in a second iteration.


More blog typical elements, pivot navigation

I added lists, sub headings, and a footer to the post sample. Also, the layout now includes a pivot-like navigation known from the Windows Phone.

Pull request can't be auto-merged, I'll create a new one.


Binary download method not working

Using the command sudo curl https://raw.githubusercontent.com/ncarlier/webhookd/master/install.sh | bash gives an error eventually:

Downloading https://github.com/ncarlier/webhookd/releases/download/v1.6.1/webhookd-linux-armv6l.tgz to /tmp/webhookd-linux-armv6l.tgz ...

curl: (22) The requested URL returned error: 404 Not Found
error: Unable to download binary for your architecture.

The page isn't there. Is this just something on my end?

Hello, the script is a very (too) simple helper to automate downloading of pre-built binaries. You can find all pre-built binaries here: https://github.com/ncarlier/webhookd/releases/tag/v1.6.1
For your Raspberry, the best option is maybe to build and install the binary using go get. Or maybe try to manualy get the ARM binary (not tested on RPI): https://github.com/ncarlier/webhookd/releases/download/v1.6.1/webhookd-linux-arm.tgz

Alright, thanks.
My knowledge on binaries isn't too great, but I'll give it a try.
I love the idea by the way. Very cool!


Bengali font does not render properly

Issue Summary
I've tried this link to view a latex equation. Which does not render properly, it rendered like this, but it should render like this.
I've also tried using MathJax version 3 by using below cdn, same things also happen there.
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async<EMAIL_ADDRESS>
The latex was: \frac{CC{l}_{4}\ সাদা}{পানিতে}
Steps to Reproduce:

Use above mentioned CDN.
Render "\frac{CC{l}_{4}\ সাদা}{পানিতে}" this latex.

Technical details:

MathJax Version: 3
Client OS: Windows 10
Browser: Firefox, Chrome, Microsoft Edge
Bengali Software: Avro  Version: 5.6.0
Bengali Font: Siyam-Rupali

I've not used any MathJax configuration, default configuration was used and loading MathJax via
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async<EMAIL_ADDRESS>

You should use
\frac{CC{l}_{4}\text{ সাদা}}{\text{পানিতে}}

to have the Bengali treated as text rather than math, and use the configuration
MathJax = {
  chtml: {
    mtextInheritFont: true
  }
};

so that the surrounding text font is used for the contents of \text{}.   That should do it.

It works, Thanks a lot.

Great, glad it worked.


[Tokenomics] SettleSessionAccounting first implementation (emissions=burn)

Summary
Implement SettleSessionAccounting where emissions=burn.
Issue

#243

Type of change
Select one or more:

[x] New feature, functionality or library
[ ] Bug fix
[ ] Code health or cleanup
[ ] Documentation
[ ] Other (specify)

Testing

[x] Run all unit tests: make go_develop_and_test
[ ] Run E2E tests locally: make test_e2e
[ ] Run E2E tests on DevNet: Add the devnet-test-e2e label to the PR. This is VERY expensive, only do it after all the reviews are complete.

Sanity Checklist

[x] I have tested my changes using the available tooling
[ ] I have performed a self-review of my own code
[ ] I have commented my code, updated documentation and left TODOs throughout the codebase

@bryanchriswhite @h5law I left a couple TODO_IN_THIS_PR, but it's ready to get a first round of review in parallel.


Allow custom plugins that don't execute anything

This can be quite useful to simply add a button to the bar that executes some script on click, for example to control a mediaplayer.

Thanks! yup nice idea!


[BUG] thematicBreakPlugin doesn't work

[x] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
[x] I have read the documentation and cannot find an answer.

Describe the bug
thematicBreakPlugin doesn't work. When I type --- nothing happens.
To Reproduce
Follow the getting started documentation
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 22.04
Chrome

"use client";
// InitializedMDXEditor.tsx
import {
  headingsPlugin,
  listsPlugin,
  markdownShortcutPlugin,
  MDXEditor,
  quotePlugin,
  thematicBreakPlugin,
  type MDXEditorMethods,
  type MDXEditorProps,
} from "@mdxeditor/editor";
import type { ForwardedRef } from "react";

// Only import this to the next file
export default function InitializedMDXEditor({
  editorRef,
  ...props
}: { editorRef: ForwardedRef<MDXEditorMethods> | null } & MDXEditorProps) {
  return (
    <MDXEditor
      plugins={[
        // Example Plugin Usage
        headingsPlugin(),
        listsPlugin(),
        quotePlugin(),
        thematicBreakPlugin(),
        markdownShortcutPlugin(),
      ]}
      {...props}
      ref={editorRef}
    />
  );
}

You checked the "I've searched for similar issues" checkbox, but there's already literally the same issue:
https://github.com/mdx-editor/editor/issues/572


EnvelopesApi.getDocument() returns the document string with 'undefined' prepended

After upgrading to v7.0.1, we saw that our document strings have undefined prepended.

We were upgrading from 6.3.0

Hello @ebarr006
Thank you very much for sharing this information, is it possible that you can attach the logs when you perform this action?
https://support.docusign.com/guides/ndse-user-guide-api-request-logging
Regards,
Eric | Docusign

Hi @ebarr006,
I am a part of Developer Experience team within Docusign and currently looking into this issue. We have identified the problem on our end and will be pushing a patch soon for the same.
Thank You.

in addition to the 'undefined' prefix, i also noticed that bytes with the high order bit seem to all be "\xfd" values.  here's a dump of the first several bytes of the getDocument response as well as the first part of the same document that was downloaded via the web interface:
00000000  75 6e 64 65 66 69 6e 65  64 25 50 44 46 2d 31 2e  |undefined%PDF-1.|
00000010  37 0a 25 fd fd fd fd 0a  39 20 30 20 6f 62 6a 0a  |7.%.....9 0 obj.|
00000020  3c 3c 2f 4c 65 6e 67 74  68 20 34 3e 3e 73 74 72  |<</Length 4>>str|
00000030  65 61 6d 0a 0a 20 71 20  0a 65 6e 64 73 74 72 65  |eam.. q .endstre|
from the web interface:
00000000: 25 50 44 46 2d 31 2e 37 0a 25 fb fc fd fe 0a 39  :%PDF-1.7.%.....9:
00000010: 20 30 20 6f 62 6a 0a 3c 3c 2f 4c 65 6e 67 74 68  : 0 obj.<</Length:
00000020: 20 34 3e 3e 73 74 72 65 61 6d 0a 0a 20 71 20 0a  : 4>>stream.. q .:
00000030: 65 6e 64 73 74 72 65 61 6d 0a 65 6e 64 6f 62 6a  :endstream.endobj:
note that the 'fd fd fd fd' in the first dump at offset 103 should be 'fb fc fd fe' as shown in the second dump at offset 0a.  this happens to all bytes with the high order bit set.

@garg-mudit Any updates on the fix for this? We just recently ran into this issue after upgrading to v7.0.1. It's a critical issue for us.

Hi @gsf4726 ,
The fix has been made internally and will hopefully be released by the end of  this week.
Thank You.

Hi @ebarr006, @mmccarl, @gsf4726 ,
A new patch version 7.0.2 was released for fixing the issue. Please try it out. In case the issue still persists, then please feel free to mention the same here and I will try my best to get the same resolved by EOW.

much better!  i now get a valid pdf.
i noticed that when i request a specific document id, the size of the file i get is a few bytes larger than when i request 'combined'.  there are a bunch of differences in the files, but still i get only one pdf file when requesting 'combined' whereas the web interface gives a zip file when 'all' is selected.
could you give me a description of the differences between the web results and using 'combined' and also the differences between 'combined' vs a specific documentId?  (note: the envelope i'm testing with has only one document).

Hi @mmccarl ,

i noticed that when i request a specific document id, the size of the file i get is a few bytes larger than when i request 'combined'.

I might need to look into this part. I will get back to you on this once I have more info.

there are a bunch of differences in the files, but still i get only one pdf file when requesting 'combined' whereas the web interface gives a zip file when 'all' is selected.

In short, we can use different values of documentId while request a document to fetch different format among other things.
Please have a look at this blog to get more idea on this.

Hope that answers your question. Please let us know if you have any other doubts/issues while integrating with Docusign. We are happy to help.
Thank You.

thank you.  i think the blog post describes what i want to do.
it would be nice if the reference page had more information such as allowed values for parameters (in the models) and usage rules (for the methods).

Hi @mmccarl,
Thank you for suggesting the reference pages enhancement. I'll pass your feedback to the eSign Core API team to enhance the description.
Since the issue is resolved on your end, I will close the ticket. If the problem persists, please feel free to reopen the ticket or create a new one. We're always here to help.
Thank You.


Add configurable tenant ID

When authenticating against a SQL database using MSI if the the user exists in a different tenant to the resource then authentication will fail as GetAccessTokenAsync will assume the resource is in the same tenant as the user.
GetAccessTokenAsync takes an optional tenantId parameter that I have added to the sink options to allow it to be passed through.
On a related note I think azureServiceTokenProviderResource can only ever be https://database.windows.net/ given this sink will only ever need to authenticate against a SQL resource so this could probably be stored as a constant and removed from the sink options.
            // Initialize serilog logger
            Log.Logger = new LoggerConfiguration()
                 .WriteTo.Console(Serilog.Events.LogEventLevel.Debug)
                 .WriteTo.MSSqlServer(
                    Environment.GetEnvironmentVariable("LogConnection"),
                    sinkOptions: new MSSqlServerSinkOptions()
                    {
                        TableName = "_Log",
                        UseAzureManagedIdentity = true,
                        AzureServiceTokenProviderResource = "https://database.windows.net/",
                        AzureTenantId = Environment.GetEnvironmentVariable("AZURE_TENANT_ID")
                    },
                    columnOptions: columnOptions,
                    restrictedToMinimumLevel: Serilog.Events.LogEventLevel.Debug
                    )
                 .MinimumLevel.Debug()
                 .Enrich.FromLogContext()
                 .CreateLogger();

Hi @mattosaurus!
Thank you for the contribution. It is indeed a very valuable addition. Having the app and the db in different tenants might not be the usual case but it will definitely be the case sometimes.
The changes look good and I will be happy to accept your PR. But I have one more thing i would like to ask. Could you please also update the README.md to reflect the canges and if possible also add a unit test.
Thanks a bunch!

Hi, I've made your suggested changes. The only test I could think to add was to check the value is correctly set in the configuration but let me know if you can think of any additional tests that should be added.

Thank you for the documentation and the test. I will add more tests later if I can think of some.
I have not time and capacity to test your changes, but I trust you for that part. :) The code looks good, so I'll merge the PR.
Thanks for the contribution! 👍


Upgrade pulldown-cmark to 0.11

This pull request upgrades pulldown-cmark to 0.11 so that other projects using newer pulldown-cmark can have one less dependency.

Thanks a lot, this looks great!


Consider supporting CTRL+D to close the REPL

Many REPLs (Ruby, Haskell) can be terminated with CTRL+D. It would be nice if Java-REPL could be stopped the same way.

+1

+1
ctrl-d issues an end-of-transmission character, and is therefor used as a shortcut to exit, ctrl-c on the other hand issues an end-of-text character and should terminate the current input, not the program itself :)

+1

:+1:

+1

1

+1


Add line highlighting for current execution line and breakpoints

I am new to sublime text, so this maybe straight forward for the veterans, but is there a way to update the theme to highlight the current execution line and the line with configured breakpoints.
Thanks in advance.

I think that this is supposed to happen based on seeing some demos, but my current execution line does not show up either, nor does the viewport scroll with execution.
i run:

OSX yosemite
ST3, build 3083
installed this via wbonds package manager
running over a vagrant machine, per instructions here

as you can see, my vagrant apache is sending debug goodness back to sublime, but the UI doesn't appear to be adjusting accordingly.  tips would be great!

I have the same issue. I also don't see breakpoints indicated visually.

https://github.com/martomo/SublimeTextXdebug/issues/115
reading this post, I found the solution to this issue.
In my case I am debugging a command line script, , so I Map the server like this:
Local mapped drive "r:/" mapped to "\RemoteServer/scripts"
when I changed my path_mapping to :
"path_mapping": {
"/scripts": "r:"
},
then the current line and little arrow started to show as I stepped (ctrl_shift_f7) thru the code.
https://github.com/martomo/SublimeTextXdebug/issues/115

I'm posting this in here because I ran into the same issue as @cdaringe  with having Xdebug not showing up visually correct in a Vagrant environment.
The issue was having Symbolic Links in the path_mapping.
I had it this way:
"path_mapping": {
"/var/www/html" : "/path/on/host/machine"
}
Given that "/var/www/html" is a Symbolic Link to /vagrant, then the path_mapping should look like:
"path_mapping" : {
"/vagrant": "/path/on/host/machine"
}


More information citation on Rig Optimizer

What does the rig Optimizer come from? How is implemented? Is there any code available for the rig optimizer? Will it be a component? Where can we learn more about Mesh to Rig optimizer ?

https://pubmed.ncbi.nlm.nih.gov/28113940/


[Feature]: Documentation on the ML model

Guidelines

[X] I agree to follow this project's Contributing Guidelines.

Description
Reviewer said: To be clear, I'm not necessarily advocating for this as an addition to the GUI - the reason I brought it up was more around trying to figure out the value proposition of the UI itself and whether it was providing something that couldn't be done in a simpler way, and it sounds like the UI is important to make CV tools accessible to researchers. Integration with programable interfaces could still be valuable though (at the very least, I'd imagine it would be a good idea for the model to be available directly and not just via UI).
Problem
Some people likely want to use the model without the tool.
Proposed Solution
Add documentation about how to use the model without the tool or at least where it is.
Alternatives Considered
Assume people find the ML without documentation.

I think this should be part of a much longer-term vision for the tool. Closing for now and will let reviewers know this isn't intended at this time.


support automatic mirroring of super-hot items to multiple processes

supports automatic mirroring of super-hot items to multiple processes. This prevents memcached hot spotting where a machine's CPU and/or NIC are overloaded by very popular keys/values.

The readme for groupcache has this as one of the primary benefits. Our usage patterns are such that there will likely be rotating super hot keys as we process various groups of data. We would want to run this in embedded library mode, and there's no guarantee that subsequent requests will hit the same server. Is this something olric can/could support?

If I understand your case correctly, this feature can be implemented as client-side caching. It is doable but it requires a significant amount of engineering time and should wait for a new release.

Client-side caching is a cool feature, but I don't think it's specifically what I'm talking about here, it's more tied to the ReplicaCount. In our use case, we have a handful of very popular keys, basically a long-tail distribution. What groupcache does is detect which keys those are, and keeps those keys on every member to avoid needing to use the network and hot-spotting the member with those keys.

We currently have handled this by just hardcoding a local Go map that deploys with each service and checking that before hitting olric. It would be nice to have olric handle it by default. The two ways I can see it happening, which could either happen separately or both at the same time:

automatically increase replica count for specific keys based on access patterns
allow for pre-seeding the cache with specific values known to be hot


Fix PACK schema retrival

Warn about missing noNamespaceSchemaLocation attribute
Warn about missing schemaVersion attribute
Skip using empty schema url for download
Use githubusercontent.com for raw file download

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

Files
Coverage Δ

gen-pack
56.81% <100.00%> (+1.21%)
:arrow_up:

:loudspeaker: Thoughts on this report? Let us know!


Login and Signup Functionality

Feature Request
Problem Description
The login and signup functionality is currently not working as intended. Users are unable to sign up for new accounts, and existing users cannot log in successfully. This issue is preventing users from accessing the application's features and content, leading to frustration and an inability to use the platform effectively.
Desired Solution
We need a robust solution that allows users to sign up for new accounts securely and log in successfully. The signup process should collect necessary information from users, such as username, email, and password, and store it securely. The login process should authenticate users based on their credentials and grant them access to the application's features upon successful verification.
Additional Context
Currently, when users attempt to sign up or log in, they encounter errors or unexpected behavior. It's crucial to address this issue promptly to ensure a smooth user experience and enable users to make the most of the application's functionality. Any updates or improvements to the login and signup processes should prioritize security, usability, and reliability.

Hi, MentorI would want to work under Gssoc 24 on this issue. Could you please give me this?

hello I already solved this issue along with many issues related to Authentication and I want you to close all these issues under my name, please

I already solved this issue please assign me this and check my pull request and it will merge for sure.... check this pull request #295


feat(BindingEngine): option controlling AccessMember assign behavior

fixes #205

How does this look (aside from needing tests)? Can anyone think of a better name for the option?
Public API is the options property on the binding engine instance.

@jdanyow Should we log something if the settings is "false" but the instance doesn't exist?

Tough call- I think some people (myself included) would think we should log when the object is automatically created as opposed to when assignment is skipped. There are developers on both sides of this issue.  Here's an example of the most common way this issue crops up: https://gist.run/?id=73ef440e9efde8b164ca

I suppose we could also have a logging setting. What do you think?

@jdanyow Where are we at on this also considering the binding behavior idea.

closing- this is not up to date with the current plan outlined in https://github.com/aurelia/binding/issues/205


Argument parsing

Hi.
Your library is very cool. I'm using it in my hobby project in ESP-IDF. Can you solve somehow the quoted arguments?

mycmd "this is my arg" 123
//---
//command is mycmd, first arg is "this is my arg" and other is 123.

This would be nice.

Hi!
Thanks for your feedback. I'll think about it and will try to add this feature, it doesn't seem very hard to add.

Quoted args now supported with latest commit. Checkout readme for examples on how they work.

Looks GOOD!!!!!!  Thanks!


[UX]: Support data visualization of Runs' components

Description
In Pipeline phase 2, we will support more info and tabs for Run component right side drawer. Those info include: Input/Output artifacts under Input/Output tab, tags include Data visualization,Events, ML metadata.
Reference to requirement 4 of this doc:
Pipeline phase 2
Goals

Research on what types of the data does the data scientist need, what are the usage of them and connections between the data.
Design the information layout, data visualization and interactions based on the research to meet user needs.
Review of design within stakeholders. Iteration based on feedbacks.

Expected Output
Design mockups that are reviewed and implementable.
Related Issues
No response
Completed artifacts
No response

Recreated as https://issues.redhat.com/browse/RHOAIUX-12


How to use this Library to pass audio to AWS Transcribe?

I'm trying to read audio stream that is triggered from Chime meeting. I'm trying to use this library to read the stream and convert to pcm  and send it to AWS Stream Transcribe. Has anyone had success using this library to pass the audio to AWS Transcribe?

+1
Did you figure it out?


⚠ SceneTime has degraded performance

In 74356a6, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1291 ms

Resolved: SceneTime performance has improved in ff962e6 after 6 minutes.


arm-elf-gcc from Homebrew and APT doesn't work.

Invalid firmware images are generated from the stock toolchains installed by these package managers.

I believe we've fixed this issue by fixing some flags in the makefile. I think it was this commit. I've had a bunch of people successfully build and flash the atsam4s firmware in the past week, so I'm going to mark this as resolved.


Hiding columns on small screens in Bootstrap 4

Hiding columns on small screens is hard and inconsistent in Bootstrap 4 compared to Bootstrap 3 because 1) you have to use "d-" classes and 2) mix them with "col-" classes.
In Bootstrap 3, I could do like this (verbose example):

		Hide me on small screens

		Only show me on small screens

As I understand, the .hidden-* classes were removed because they conflicted with jQuery's $(...).hide() and $(...).show() methods.
To overcome this, I suggest a new grid column that is easier to comprehend and does not conflict with jQuery:

.col-xs-0 (same as .hidden-xs in BS3)
.col-sm-0
.col-md-0
.col-lg-0
.col-sm-0

So I can do:

		HIDE ME ON SMALL SCREENS.
		Show me on larger screens.

		SHOW ME ON SMALL SCREENS.
		Show me on larger screens.

See also:

Bootstrap 4: Grid system
Overhaul responsive, display, and visibility utilities #22113
StackOverflow: bootstrap 4 responsive utilities visible / hidden xs sm lg not working
Bootstrap 4 Hidden & Visible: How Responsive Display Works in Bootstrap 4 Beta

No plans to add more .col classes here. Display utilities are the way to go.

@Glideh only this last method worked for me using BS4 latest version for now :)
thanks

How do I use the new classes when I need to show one image for larger screens and other for small screens?
Earlier I used the following:

-->
          -->

Actually not sure we need the col-xs-12, I think it does not exist anymore and so will not have any effect.

Bootstrap, et al, really was so much more elegant in ver 3 :(

@Glideh that works, thank you

So, to answer the question, we have to do:

        HIDE ME ON SMALL SCREENS.
        Show me on larger screens.

        SHOW ME ON SMALL SCREENS.
        Show me on larger screens.

Don't hesitate to tell me if I'm wrong

Hello, It's working for me but there is another issue. The issue is when using the d-none the width of row is reduced.


Explore adding 'toggle inlay hints' keybinding

Right now inlay hints are either on or off. However I believe VS lets you keep hints disabled normally and then peek at them as needed by holding down a key (ctrl + alt I believe): https://github.com/dotnet/roslyn/pull/48479
We should explore something similar for VS Code

then peek at them as needed by holding down a key

Afaik there is two modes: inline hints that always show in-between characters and overlay hints which are ephemeral and on top of characters. Extensions/providers would need to know what they are supposed to return and the current API design would need a separate provider for that

I'd like overlay hints specifically so I don't need to reorient myself when all the code shifts around.

I like that second option, though I'd expect it to closely follow hovers instead (for consistency)?

@misolori I just moved the inlays to above and then added a border, so it fits fine imo. We wouldn't want the regular hover's border/shadow here anyway since we want them to be compact.

I'm happy to work on this. But I might need some suggestions.

are ephemeral and on top of characters

@jrieken
What should we do if the hints text is longer/shorter than the original code who has been overlay?
And we may still need a key binding for editor that just toggle the inlay hints feature event there's overlay hints?

It would be nice to have hotkeys to temporarily disable hints. I often work in an editor with a small window width and they sometimes get in the way.

Exploring some ephemeral mode which shows inlay hints only while pressing and holding Crl+Alt. Tho, using two buttons make the link and context menu gesture quite hard...
https://user-images.githubusercontent.com/1794099/149188169-068b9bf9-0f86-4743-8901-3176a6408498.mov
@Tyriar I am not convinced that the overlay-inlay is a good solution. What do you do when those overlap source that you want to see. Think of two function calls with argument - the lower hints will overlay the upper functions arguments

@jrieken would we ever have an option where holding the keyboard shortcut for +3s would do this ephemeral mode and if you were to quickly press them then they would just toggle them on/off normally?

@jrieken I think there's 2 overlap problems:

Overlapping code: The smaller text size was one way of combating hiding relevant code, but since it's so easy to show/hide you could release and hit ctrl+alt or whatever it is to view read them if you need to.
Overlapping other hints: I'm not sure how much of a problem this would be in practice, at least using the inlay config in vscode right now there aren't that many hints. This could also not be that bad as generally my variable names are fairly verbose. One idea is to ensure the symbol the cursor is on is in the foreground, and hovering another one would cause it to go to the foreground.

The main problem that idea was meant to solve was to prevent code jumping around so much. Consider the amount your eyes need to move to see the type for the third foo and back again:

+1 for this.
Showing Inlay hint everywhere will make the code line so long and annoy the users. So the language extensions have to expose several settings to let users turn off the hint when they don't want then for some scenarios.
If there is a easy way to toggle the inlay hints, no matter for a key binding or a UI button, etc... , it will mitigate the issue a lot.

We got enough requests that we added a "toggle inlay hints" command to vscode-clangd, so people can easily bind it to a key.
It's a bit odd because this is toggling editor.inlayHints.enabled which we don't own. It'd be nice if VSCode offered this command itself.
(Overlay hints sound really interesting, but inlay hints are here now and a convenient toggle seems useful regardless)

I have pushed a change that add a new editor.inlayHints.toggle options. When set to show inlay hints are hidden by default and they only show when holding ctrl+alt. When set to hide inlay hints are shown by default and they hide when holding ctrl+alt. When unset inlay hints show as they do today

So long as I can change its keybinding, I use ctrl+alt chords for sub-word navigation and it would be annoying if the inlay hints kept popping up when I did.

@jrieken Did you see this? See implementation in https://github.com/microsoft/vscode/pull/48023/files. Is there any limitation to making it a keybinding? I think ReSharper just uses Ctrl if you're open to an alternative.

Is there any limitation to making this a keybinding? I think ReSharper just uses Ctrl if you're open to an alternative.

Yeah, there are actually limitations that prevent us from making this freely configurable. Tho, this isn't a conflict in the classic sense and normal keybindings still work. Inlay hints just observe the pressed/held state but don't consume a key event meaning you can still use ctrl+alt for sub-word navigation - tho with the annoyance that inlay hints toggle

tho with the annoyance that inlay hints toggle

Precisely. It's either a deterrent from using subword navigation or your toggle. Advocating because they're both useful features! Ctrl alone is reserved for context changing (switching spaces, Mission Control, etc. on Mac). I guess it'd need debounced or maybe there's another free combo.


Revision 1 - Configure channel permissions

Superseded by https://github.com/status-im/help.status.im/issues/449


kvdb: migrate data between different backends

Adds a new lndinit binary with the sub command migrate-db that allows migrating state between the different supported DB backends.
See the migration guide in the last commit for more information on how to use the tool.

@guggero, remember to re-request review from reviewers for your latest update

!lightninglabs-deploy mute 2022-Feb-01

@guggero, remember to re-request review from reviewers when ready

!lightninglabs-deploy mute

Is this safe to use for an existing bolt lnd installation?

No, this hasn't been tested sufficiently and isn't recommended to be used (which is also the main reason for this not to be merged yet).

Hey there,
I've compiled this code and tried to test it out on one of our regtest nodes. However I've failed to do a migration due to the fact that the current channeldb version is already 27, while this version of lndinit is still compiled with channeldb version 23.
2022-07-04 11:47:10.431 LNDINIT: Checking tombstone marker on source DB
2022-07-04 11:47:10.431 LNDINIT: Checking DB version of source DB
2022-07-04 11:47:10.432 LNDINIT: Runtime error: refusing to migrate source database with version 27 while latest known DB version is 23; please upgrade the DB before using the data migration tool

I'd love to test out the migration (on regtest) if these dependencies could be brought up-to-date.

This is now just basic refactoring code, I think we can review and merge, @bhandras.


docs: add Reward Gateway to README

corrects https://github.com/apache/incubator-superset/pull/8533

Note: Reward gateway site has an invalid certificate, Common Name (CN)	*.genetex.com

LGTM


Slide Layer Showing Before Menu Disappears

hi! I need help with this, when I perform a segue to view controllers which don't do a request to my server, the Menu works great, but a segue to a more complex view controller, the Menu disappears before the requested view covers all the screen.
Thank you!

Please answer me :sob:

I just realized that this code from AMSlideMenuMAinViewController.h:
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(self.closeAnimationDuration * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
self.leftMenu.view.hidden = YES;
});
isn't working as expected, I just commented it and all is working fine.

Hmm. very strange.
Ok, thank you for suggestion.

Same problems and found the same place as @at90vader .
Without comment "self.leftMenu.view.hidden = YES;", it only working fine on simulators.
Why do we need to hide left menu at that time @arturdev ?

@trungnguyen1791 because of this: #43

@arturdev is there any other workaround than modifying the source files?


Add more possible paths for ECS binary

Fixes error when vendor/bin/ecs is not symlinked into vendor/symplify/easy-coding-standard/bin/ecs but its source is copied.

This needs to be fixed in all bin files in Symplify.
Also, it might be better just to merge required files to bin file. No autoload.php (confusing name) and other one. My origin idea was to separate them to smaller parts so it's easier to naviage through them, but mostly adds extra work, not being cost-effective enough.
What do you think?

Also, it might be better just to merge required files to bin file. No autoload.php (confusing name) and other one. My origin idea was to separate them to smaller parts so it's easier to naviage through them, but mostly adds extra work, not being cost-effective enough.

Uhh, i am not sure i understand what do you mean 😸 is there any example or code sample you could provide pls?

Move content of those 2 files to bin/ecs file

I see!! Yeah that would solve the problem. I have seen this pattern in other OS libraries, like phpunit. it is part of the file itself, for example:
foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
    if (file_exists($file)) {
        define('PHPUNIT_COMPOSER_INSTALL', $file);

        break;
    }
}

Great. Can you update the PR?

Resolved in #1541


fix: icon and text padding on bottom tabs

This PR resolves https://www.notion.so/artsy/Padding-below-tab-icons-seems-be-too-small-in-small-iphones-13bcab0764a080e793fdfc23a799a144?pvs=4
Description
This PR fixes an issue with the bottom tabs icons being too close to the text

Before
After

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

fix icon and text padding on bottom tabs on new navigation - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (fix icon and text padding on bottom tabs on new navigation - mounir - MounirDhahri)

  Generated by :no_entry_sign: dangerJS against 52ea8336972fc58bcee3438ec9e0581f5579551e


libcanberra-gtk-module on Ubuntu

Oni Version: 0.3.4
Neovim Version (Linux only): 0.2.2
Operating System: Ubuntu 18.04
Describe your issue
After successful installation, including apt install -f, Oni complains about  libcanberra-gtk-module. This can be installed easily and should probably be a dependency (perhaps a "recommends").
Expected behaviour
Installation of Oni on LTS Ubuntu followed by apt install -f should result in a fully-configured Oni with all dependencies installed.
Actual behaviour
$ oni init.vim
Gtk-Message: 12:17:06.515: Failed to load module "canberra-gtk-module"

(Oni still appears to run successfully)
Steps to reproduce
Install Oni on Ubuntu via the deb (see above)

I believe this is in the installation notes:
https://github.com/onivim/oni/wiki/Installation-Guide#linux

Unless there's any way whe can fix the deb package rasily I suggest following the tutorial and closing this.


Syntax is not working

I have this in a build.yml file that is being run:
steps:

bash: |
echo "Hello world running in directory $PWD"
script: npm run build
script: npm run test

And I'm getting this error

build.yml (Line: 4, Col: 3, Idx: 76) - (Line: 4, Col: 3, Idx: 76): While parsing a block collection, did not find expected '-' indicator.
As helpful as that error message is, I am stumped.  I am using this Document's syntax.

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

ID: 797838e7-f32b-868e-8766-8d96973bf18f
Version Independent ID: 20c9e62d-56ec-f5a0-c3f9-6f72bf96252e
Content: Cross-platform scripting - Azure Pipelines
Content Source: docs/pipelines/scripts/cross-platform-scripting.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Could you please point to the example in the doc that shows the pattern that's not working for you?

 YAML is (highly) whitespace sensitive per its spec. The - characters need to be either at the same level as steps or indented by 2 spaces.
# Either this:
steps:
- bash: |
    echo "Hello world running in directory $PWD"
- script: npm run build
- script: npm run test

# Or this:
steps:
  - bash: |
      echo "Hello world running in directory $PWD"
  - script: npm run build
  - script: npm run test


JSON-LD template for dams

Of interest to @mikejohnson51 and ORNL/Hydrosource

should be developed as part of internetofwater/geoconnex.us#11

In lite of recent developments. @dblodgett-usgs, you and I should do this. I imagine its basically the same as the surface feature thing you did already, but add some reference to impounded water body . We also still need to to draft something for parameter/period of record

90% of it is the hydrologic location that we already have in the wiki. The hydroLocationType would be "dam" per: https://docs.opengeospatial.org/is/14-111r6/14-111r6.html#_the_river_referencing_model
Do we have waterbodies / reservoirs to point to? If we do, then starting to link some of that stuff with the storage model would be appropriate, but I don't know how much content we can muster? https://docs.opengeospatial.org/is/14-111r6/14-111r6.html#_the_storage_model
Note that in the storage model, the waterbody is where you would put stuff like bathymetry or a polygon for a shoreline. The reservoir is where you would be stuff like operating rules or storage curves.

fair enough. ORNL has linked ~1300 hydropower dams to nhd waterbodies. https://hydrosource.ornl.gov/dataset/hydropower-infrastructure-lakes-reservoirs-and-rivers-HILARRI


sample: point to new Node.js DevFile sample

I've created a Node.js DevFile Sample that the Node.js team will maintain at https://github.com/nodeshift-starters/devfile-sample. We'd like to control the content of the Node.js sample so it can be aligned with our reference architecture for Node.js.
I do not know how to test that the DevFile Sample we've created conforms to the expected specification to enable it to be shown as a sample in the DevFile UI. I tried to infer what was necessary from https://github.com/redhat-developer/devfile-sample (e.g. Dockerfile, and alpha.build-dockerfile: Dockerfile attributes in the DevFile).

https://github.com/nodeshift-starters/devfile-sample/blob/main/devfile.yaml
https://github.com/nodeshift-starters/devfile-sample/blob/main/Dockerfile

Please review/let me know how I can test this.

/ok-to-test

@maysunfaisal Can you also test this out in the dev console scenario to make it is good for the ODC 4.8 sample support?

I'm looking at this right now


Update env.j2

Jinja converts boolean values to "True" and "False," which php doesn't like. This converts those values to values php will interpret as booleans.

Testing:
development.yml
true_text: true
false_text: false
true_numeric: 1
false_numeric: 0

Give me (.env):
FALSE_TEXT=False
TRUE_TEXT=True
TRUE_NUMERIC=1
FALSE_NUMERIC=0

Which are loaded in PHP (var_dumping) with dotenv 1.x:
string(4) "True"
string(5) "False"
string(1) "1"
string(0) ""

With dotenv 2.x
string(4) "True"
string(5) "False"
string(1) "1"
string(1) "0"

I don't see problem on my end with the way the variable are loaded, unless I'm mistaken. But I think I will prepare a PR for Bedrock to use Dotenv v2.
Ansible version:
ansible <IP_ADDRESS>
  configured module search path = None

getenv always returns a string anyway. So you'd need to check the variable contents if its True or 1. Is that correct @nathanielks?

Hmmmm. The method I'm using at the moment is actually setting values in an ini using their env syntax:

some_value = ${SOME_ENV}

The value derived from that, if its True, is a string. If its 1, its interpolated as a Boolean.
—
Sent from Mailbox
On Mon, Jun 29, 2015 at 7:33 PM, Scott Walkinshaw
<EMAIL_ADDRESS>wrote:

getenv always returns a string anyway. So you'd need to check the variable contents if its True or 1. Is that correct @nathanielks?
Reply to this email directly or view it on GitHub:
https://github.com/roots/bedrock-ansible/pull/254#issuecomment-116888009

@nathanielks but is that because of the context you're using it in? Since PHP does a lot of auto coercion.
Because http://php.net/manual/en/function.getenv.php says string

Interesting but doesn't matter right now:

template code now retains types for bools and Numbers instead of turning them into strings If you need the old behaviour, quote the value and it will get passed around as a string

That's for Ansible 2.0 in development

@nathanielks I did some tests:
env:
  foo1: true
  foo2: True
  foo3: 1
  foo4: 0
  foo5: 'true'

var_dump(getenv('FOO1'));
var_dump(getenv('FOO2'));
var_dump(getenv('FOO3'));
var_dump(getenv('FOO4'));
var_dump(getenv('FOO5'));
var_dump(getenv('FOO6'));

Results in:
string(4) "True"
string(4) "True"
string(1) "1"
string(0) ""
string(4) "true"
string(4) "True"

Going to close this since tests that both myself and @louim did show that PHP always loads env vars as strings.

:+1:


Make hamburger menu happen earlier in order to stop navigation button s from getting pushed below the header

Thought this was fixed previously however it looks like it still happens when the validation utility button is enabled. Bumping collapse point again.

Ah interesting, apparently the screen size when running in travis CI is smaller and thus it can't find the navigation bar. I am going to tweak the window size unless there are any objections


多机分布式训练，加载模型，报a leaf Variable that requires grad is being used in an in-place operation错误

使用deepspeed 多机分布式训练，加载opt-1.3b 模型的时候，报a leaf Variable that requires grad is being used in an in-place operation错误

colorful: Traceback (most recent call last):
colorful:   File "/home/vocust001/lujun/DeepSpeed-Chat/training/main_sup.py", line 339, in
colorful:     main()
colorful:   File "/home/vocust001/lujun/DeepSpeed-Chat/training/main_sup.py", line 286, in main
colorful:     model, optimizer, _, lr_scheduler = deepspeed.initialize(
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/init.py", line 156, in initialize
colorful:     engine = DeepSpeedEngine(args=args,
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 286, in init
colorful:     self._configure_distributed_model(model)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1087, in _configure_distributed_model
colorful:     self._broadcast_model()
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1017, in _broadcast_model
colorful:     dist.broadcast(p, groups._get_broadcast_src_rank(), group=self.data_parallel_group)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/comm/comm.py", line 120, in log_wrapper
colorful:     return func(*args, **kwargs)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/comm/comm.py", line 217, in broadcast
colorful:     return cdb.broadcast(tensor=tensor, src=src, group=group, async_op=async_op)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/comm/torch.py", line 81, in broadcast
colorful:     return torch.distributed.broadcast(tensor=tensor, src=src, group=group, async_op=async_op)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/torch/distributed/distributed_c10d.py", line 1201, in broadcast
colorful:     work.wait()
colorful: RuntimeError: a leaf Variable that requires grad is being used in an in-place operation.

colorful: Traceback (most recent call last):
colorful:   File "DeepSpeed-Chat/training/main_sup.py", line 339, in
colorful:     main()
colorful:   File "DeepSpeed-Chat/training/main_sup.py", line 286, in main
colorful:     model, optimizer, _, lr_scheduler = deepspeed.initialize(
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/init.py", line 156, in initialize
colorful:     engine = DeepSpeedEngine(args=args,
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 286, in init
colorful:     self._configure_distributed_model(model)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1087, in _configure_distributed_model
colorful:     self._broadcast_model()
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/runtime/engine.py", line 1017, in _broadcast_model
colorful:     dist.broadcast(p, groups._get_broadcast_src_rank(), group=self.data_parallel_group)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/comm/comm.py", line 120, in log_wrapper
colorful:     return func(*args, **kwargs)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/comm/comm.py", line 217, in broadcast
colorful:     return cdb.broadcast(tensor=tensor, src=src, group=group, async_op=async_op)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/deepspeed/comm/torch.py", line 81, in broadcast
colorful:     return torch.distributed.broadcast(tensor=tensor, src=src, group=group, async_op=async_op)
colorful:   File "/home/vocust001/miniconda3/envs/ldm/lib/python3.9/site-packages/torch/distributed/distributed_c10d.py", line 1201, in broadcast
colorful:     work.wait()
colorful: RuntimeError: a leaf Variable that requires grad is being used in an in-place operation.

+1


Display how many blocks remain for recovery

Not displayed in Home screen nor in Settings/recovery (here 2 blocks before first recovery path enabled)

Don't we already have an issue for this?

Also this information is already available in the coins' details, i don't think we should show it everywhere.

Maybe we could give the possibility to be redirected directly to the "coins" page for more details (if the user is not aware of what such page is for).

Yes, I tend to agree with a Coin view redirection, because each coin has different lock.
I agree with the fact that the information isn't really helpful currently, the way it's phrased. We should just say "Move your coins to keep the timelock active "refresh"" or something better.


Error while adding cluster(s): User Exec command "aws" not found on host. Please ensure binary is found in PATH or use absolute path to binary in Kubeconfig

Describe the bug
I'm trying to add a CLUSTER to my LENS, but I'm having this error, even though I have AWS in PATH, as shown in the images below:

When I try add cluster, I get this error:
"Error while adding cluster(s): User Exec command "aws" not found on host. Please ensure binary is found in PATH or use absolute path to binary in Kubeconfig"
But I checked my PATH and my KUBECTL and is there:

To Reproduce

I Install the program (.exe) fresh install in the standard folrder.
Open Lens
Click on ADD CLUTER
Try to save

Expected behavior
Cluster added
Screenshots

AWS is working fine.
Kubectl too.
Environment (please complete the following information):

Lens Version: I tried 4.1.2 , 4.1.3 , 4.1.4.
OS: Windows 10
Installation method (e.g. snap or AppImage in Linux): .EXE File.

Logs:
I cann't found that logs.
Kubeconfig:

Additional context
I will tell you, step by step what I DO:

I create a config with that command:

Second I selected:

Then I go to Lens do add CLUSTER and a I get this error:

I tried to use kubectl in terminal do bring to me some information, and is working fine. The problem is in LENS program.
Please someone can help me.
Thanks.

There's no way to INJECT values that I can tell with Lens, so there can be these issues:

it aws is bootstraps from pyenv environment (or other python version manager), then it will not be able to pick up aws without loading the pyenv environment.
if aws command to get a token for access to EKS cluster requires a particular AWS_PROFILE, such as mycompany-prod, then thsi will fail.

Does it work if you use the absolute path to aws in your kubeconfig?

There's no way to INJECT values that I can tell with Lens, so there can be these issues:

it aws is bootstraps from pyenv environment (or other python version manager), then it will not be able to pick up aws without loading the pyenv environment.  Even if the full path is used, the python environment that aws needs may not be there.
if aws command to get a token for access to EKS cluster requires a particular AWS_PROFILE, such as mycompany-prod, then this will fail.

It's not the case, because we not using aws with pyenv .
And EKS cluster no requires a particular AWS_PROFILE .

Does it work if you use the absolute path to aws in your kubeconfig?

I tried use absolute PATH in kubeconfig too. Not working at all.
And I tried using absolute PATH in aws too, not working too.

About Logs, I found that In logs, is that an error?

I see this same problem on linux. I have installed aws via brew.
$ echo $PATH
/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:...

$ which aws
/home/linuxbrew/.linuxbrew/bin/aws

On Windows, assuming you have a default AWS profile configured, use the absolute path of the aws.exe in your .kube config like:
command: "C:\\Program Files\\Amazon\\AWSCLIV2\\aws.exe"

@jim-docker Can you please help me how to resolve this issue?
@leandroholanda Was your issue resolved? If yes how? Can you please assist me?
Thanks,
Sanjay

@sanjaykulkarni04 have you tried the absolute path workaround suggested above? Meanwhile we'll try to investigate further for 5.0.0

@sanjaykulkarni04 have you tried the absolute path workaround suggested above? Meanwhile we'll try to investigate further for 5.0.0

@jim-docker Yes, already tried. But no luck
Thanks,
Sanjay

@jim-docker and @team after installing latest updates my issue has been resolved. Thank you so much.
Regards,
Sanjay


Translate to PT-BR

Hi, it's possible implement translation to Portuguese-Brazilian? I would like to help.

Most of the GUI text is defined directly in the Python code which makes maintaining multiple translations very difficult. I am planning to port the entire GUI for this project from PyQt to React/Electron and then would look at implementing support for more languages (possibly with i18next).
I am open to suggestions on how to architect things during the rewrite to properly support translations. If anyone has advice about this or examples of open source projects to look at that support multiple languages, that would be helpful.


bug(mat-tab-group): inner div cannot cover 100% of viewport, on iphone

Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
StackBlitz to reproduce:
https://stackblitz.com/edit/components-issue-dssxxk
or
https://stackblitz.com/edit/angular-3qr9lv
Attention - this will reproduce only on iOS (e.g. iPhone) with both Chrome and Safari.
On Android it works perfectly.
On computer with Chrome and F12 on - it works perfectly.
Steps to reproduce:

Create mat-tab-group with few mat-tab children.
Inside one of the children, set a div with 100% height, 100% width, fixed position, with top, right equal to zero and a high z-index. Also, set it with a background-color (e.g. blue) to easily reproduce the behavior.

Expected Behavior
What behavior were you expecting to see?
The created div should cover ALL viewport (top to bottom, right to left), including the mat-tab, mat-tab-group and any other components on the HTML page (e.g. navbar etc.)
In other words - all screen will be blue.
Actual Behavior
What behavior did you actually see?
The created div covers the entire page, but you cannot see it, although it has a blue background, the blue color appears only within the mat-tab. above the mat-tab it doesn't show the blue background, yet it covers the elements (e.g. if you have a button above the mat-tab-group, you cannot click it)
Environment

Angular: 8
CDK/Material: 8
Browser(s): chrome, safari
Operating System (e.g. Windows, macOS, Ubuntu): iOS

This sounds like some kind of browser rendering bug. It might be worth trying to add transform: translateZ(0) to your element.

Hi, thanks for the input.
I have tried to add the code you mentioned on my DIV, it didn't work...
I did, however, found a workaround. It appears the mat-tab's overflow is causing this issue. I found the workaround here on GitHub (https://github.com/angular/components/issues/16283) and gave it a try:
.tab-custom-overflow .mat-tab-body-wrapper,     .tab-custom-overflow .mat-tab-body-active,     .tab-custom-overflow .mat-tab-body-content {         overflow: visible !important;     }
it appears to be working. Still:

Why it works perfectly on Chrome on desktop and Android devices, without this workaround?
This is a workaround. Not a solution. As a result, the tab animation doesn't look good.

Thanks


Scale-up goes all the way to 100% immediately after upgrade from 4.5.0 to 5.3.1

I have my ASG set to max capacity 2, minimum 0.
Previously, when a build came in, the desired capacity for the stack would be set to 1; now, it increases to 1 and then again to 2 before the first job starts.
ASG Timeline:

It seems the stack only waited 10s after the 0 -> 1 increase to go 1 -> 2.
Build timeline:
2021-05-17 03:12:16 UTC Running global environment hook
2021-05-17 03:12:31 UTC | 2021-05-17 03:12:31 INFO   Successfully uploaded and parsed pipeline config

According to the buildkite UI, the job only waited 1m19s.
Non-sensitive params as follows:
AgentsPerInstance 15  -
ArtifactsBucket - -
AssociatePublicIpAddress  true  -
AuthorizedUsersUrl  - -
AvailabilityZones - -
BuildkiteAdditionalSudoPermissions  - -
BuildkiteAgentExperiments ansi-timestamps,git-mirrors,resolve-commit-after-checkout,normalised-upload-paths -
BuildkiteAgentRelease stable  -
BuildkiteAgentTags  - -
BuildkiteAgentTimestampLines  true  -
BuildkiteAgentTokenParameterStoreKMSKey - -
BuildkiteAgentTokenParameterStorePath - -
BuildkiteQueue  default -
BuildkiteTerminateInstanceAfterJob  false -
BuildkiteWindowsAdministrator true  -
CostAllocationTagName aws:createdBy -
CostAllocationTagValue  buildkite-elastic-ci-stack-for-aws  -
ECRAccessPolicy full  -
EnableAgentGitMirrorsExperiment true  -
EnableCostAllocationTags  false -
EnableDockerExperimental  false -
EnableDockerLoginPlugin true  -
EnableDockerUserNamespaceRemap  false -
EnableECRPlugin true  -
EnableSecretsPlugin true  -
IMDSv2Tokens  optional  -
ImageId - -
ImageIdParameter  - -
InstanceCreationTimeout PT5M  -
InstanceOperatingSystem linux -
InstanceRoleName  - -
InstanceRolePermissionsBoundaryARN  - -
InstanceType  c5.9xlarge  -
ManagedPolicyARN  - -
MaxSize 2 -
MinSize 0 -
OnDemandPercentage  0 -
RootVolumeName  /dev/xvda -
RootVolumeSize  80  -
RootVolumeType  gp3 -
ScaleInIdlePeriod 120 -
ScaleOutFactor  0.4 -
ScaleOutForWaitingJobs  false -
SecurityGroupId - -
SpotPrice 1.30  -
Subnets - -
VpcId -

Hi Daniel,
Are you able to check if 5.2.0 has the same issue?
I suspect it won't, and that what you're seeing is the anti-stall behavior
we added in 5.3.0. Possibly a bug in said behaviour.
On Mon, 17 May 2021, 13:14 Daniel Heath, @.***> wrote:

I have my ASG set to max capacity 2, minimum 0.
Previously, when a build came in, the desired capacity for the stack would
be set to 1; now, it jumps straight to 2.
Non-sensitive params as follows:
AgentsPerInstance 15  -
ArtifactsBucket - -
AssociatePublicIpAddress  true  -
AuthorizedUsersUrl  - -
AvailabilityZones - -
BuildkiteAdditionalSudoPermissions  - -
BuildkiteAgentExperiments ansi-timestamps,git-mirrors,resolve-commit-after-checkout,normalised-upload-paths -
BuildkiteAgentRelease stable  -
BuildkiteAgentTags  - -
BuildkiteAgentTimestampLines  true  -
BuildkiteAgentTokenParameterStoreKMSKey - -
BuildkiteAgentTokenParameterStorePath - -
BuildkiteQueue  default -
BuildkiteTerminateInstanceAfterJob  false -
BuildkiteWindowsAdministrator true  -
CostAllocationTagName aws:createdBy -
CostAllocationTagValue  buildkite-elastic-ci-stack-for-aws  -
ECRAccessPolicy full  -
EnableAgentGitMirrorsExperiment true  -
EnableCostAllocationTags  false -
EnableDockerExperimental  false -
EnableDockerLoginPlugin true  -
EnableDockerUserNamespaceRemap  false -
EnableECRPlugin true  -
EnableSecretsPlugin true  -
IMDSv2Tokens  optional  -
ImageId - -
ImageIdParameter  - -
InstanceCreationTimeout PT5M  -
InstanceOperatingSystem linux -
InstanceRoleName  - -
InstanceRolePermissionsBoundaryARN  - -
InstanceType  c5.9xlarge  -
ManagedPolicyARN  - -
MaxSize 2 -
MinSize 0 -
OnDemandPercentage  0 -
RootVolumeName  /dev/xvda -
RootVolumeSize  80  -
RootVolumeType  gp3 -
ScaleInIdlePeriod 120 -
ScaleOutFactor  0.4 -
ScaleOutForWaitingJobs  false -
SecurityGroupId - -
SpotPrice 1.30  -
Subnets - -
VpcId -
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/buildkite/elastic-ci-stack-for-aws/issues/847, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAB7RESWIOYW4DQICK2XZTTOCCZXANCNFSM447SFI5A
.

I'm not likely to look too soon, as it's not costing a fortune right now.

no worries.
@dbaggerman - do you think this could be the changes in https://github.com/buildkite/buildkite-agent-scaler/pull/40 ?

It's certainly possible. Now that you mention it, I had meant to look into how long it takes between changing the DesiredCount number and actually seeing an instance in a pending state in the list.
If the new instance isn't in the ASG instance list by the time the next time round the polling loop, then it won't count the pending agents to the anticipated total. That might cause it to jump in and increment the desired count again in an attempt to compensate.

So I have experienced similar... I've set the ASG min to 0 and max to 3.
I'll post the lambda logs when I next dig, but, something like the following is happening

Job Gets Queued
Instance starts due to the agent-scaler
about 10s later a second instance starts, also due to the scaler must think nothing has happened? But in the same run?
Then the next time the function runs, it scales again, pushing this up to 3 instances.

This is happening across all our stacks. But it's like the scaler can't detect that it's just scaled an ASG.

We're impacted by this as well. We have a min of 1, max of 50. When a new job comes in, it doesn't schedule on the 1 available agent, but instead waits until the ASG scales to 50. Then the job runs and the ASG scales back down to 1.

Thanks for your patience folks - we've released 5.3.2 which we believe fixes this issue :heart:

🥳


python312Packages.cohere: 5.11.0 -> 5.11.1

Things done
Changelog: https://github.com/cohere-ai/cohere-python/releases/tag/5.11.1
cc @natsukium

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

x86_64-linux

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

aarch64-linux

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

x86_64-darwin

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

aarch64-darwin

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

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

x86_64-linux

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

aarch64-linux

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

x86_64-darwin

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist

aarch64-darwin

:white_check_mark: 8 packages built:

python311Packages.cohere
python311Packages.cohere.dist
python311Packages.llmx
python311Packages.llmx.dist
python312Packages.cohere
python312Packages.cohere.dist
python312Packages.llmx
python312Packages.llmx.dist


⚠ Bofrost.de has degraded performance

In ac3f95e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1346 ms

Resolved: Bofrost.de performance has improved in 612ecf9 after 26 minutes.


Add an option to strip prefix from document paths

Right now I'm working on an example site for NextJS that has a content directory for all content and then individual directories for different content types (docs, blog, etc.). A pretty common use. One issue I'm running into is that working with path prefixes (/docs, /blog, etc.) leads to some subtle difficulties. To give an example, I have a /pages/docs/[slug].tsx file for fetching specific docs. The slug in that case ends up being about, installation, etc., but the corresponding paths those slugs should match is /docs/about, /docs/installation. Here's how I'm currently doing that:
const getDoc = (slug: string): Doc | undefined => {
  return allDocs.find(doc => doc._raw.flattenedPath === `docs/`${slug}`);
}

Now, this isn't super tricky, of course, but personally I would much prefer to be able to strip the prefix so that I could just do this:
return allDocs.find(doc => doc._raw.flattenedPath === slug);

A config for that could look something like this:
export const Doc = defineDocumentType(() => ({
  name: "Doc",
  filePathPattern: "**/*.md",
  prefix: "docs", // New parameter
  fields: {
    title: {
      type: "string",
      description: "The title of the doc",
      required: true,
    }
  },
}));

export default makeSource({
  contentDirPath: "content",
  documentTypes: [Doc],
});

With this configuration, CL would know to look for Docs inside of content/docs but would produce JSON like this for the Doc in content/docs/about.md:
{
  "title": "About",
  "body": {
    "raw": "\nHere is some info about  the project.",
    "html": "
Here is some info about the project.
"
  },
  "_id": "about.md",
  "_raw": {
    "sourceFilePath": "about.md",
    "sourceFileName": "about.md",
    "sourceFileDir": "docs",
    "contentType": "markdown",
    "flattenedPath": "about"
  },
  "type": "Doc",
  "path": "/about"
}

One of the benefits would be that it'd be easier to write generic logic for content types. So the getDoc function above could become this:
const getDocument = <T extends DocumentGen>(items: T[], slug: string): T | undefined => {
  return items.find(doc => doc._raw.flattenedPath === slug);
}

// Use for docs, blog posts, etc.

And this could be used in any pages/{type}/[slug].tsx without the query logic needing to "know" about the content directory structure. A small quality of life thing, perhaps, but to me this seems more intuitive.

Thanks a lot for suggesting this feature. My general preference is to keep the API surface as minimal as possible and be rather conservative in terms of adding more configuration options.
What you're describing should already be possible by using a computed field. Did you consider the following?
export const Doc = defineDocumentType(() => ({
  name: "Doc",
  filePathPattern: "**/*.md",
  fields: {
    title: {
      type: "string",
      description: "The title of the doc",
      required: true,
    }
  },
  computedFields: {
    slug: {  type: 'string', resolve: (doc) => doc.raw._id.replace(/^docs\//, '') },
  },
}));

export default makeSource({
  contentDirPath: "content",
  documentTypes: [Doc],
});

@schickling 100% agreed that this is unnecessary and already possible under current constraints. I did it a little bit differently for the sake of avoiding the regex:
path: {
  type: "string",
  resolve: (doc: LocalDocument) => `/${doc._raw.flattenedPath}`,
}


Unexpected ServerNotFound while validating the request in Flask

I am running my Flask app (v1.1.1) in local and and the follow path is available:
http://localhost:5000/api/v1/bookings/
and i am actually targetting it via Postman and it is working.
I am using flask blueprint to register the endpoint. For completenss here some spippet of the code.
...
bp_booking = Blueprint('booking', 'booking')
app.register_blueprint(bp_booking, url_prefix='/api/v1/bookings')
...
@bp_booking.route('/', methods=['POST'])
def create():
    user_uuid = g.requestor_uuid
...

I want to add on top swagger validation and so i decided to use openapi-core.
Here a sample of the swagger ( it is valid)
openapi: 3.0.1
info:
  title: Office API
  version: 1.0.0
servers:
- url: https://localhost/v1/api
- url: http://localhost/v1/api
paths:
  /bookings/:
...
     post:
...

I want so to add the swagger validation and when I code  the in my @app.before_request (I put the init for the spec and validator just for the sake of test in the same callback):
@app.before_request
def before_request_func():
    app.logger.info("START: before_request")
    # validate rq...

    from openapi_core.validation.request.validators import RequestValidator
    from openapi_core.contrib.flask import FlaskOpenAPIRequest
    from openapi_core import create_spec

    spec_dict = spec_dict_from_file('api/api3.yaml')
    app.logger.info("Build RequestValidator")
    validator = RequestValidator(create_spec(spec_dict))

    app.logger.info("Build FlaskOpenAPIRequest")
    openapi_request = FlaskOpenAPIRequest(request)

    app.logger.info("Validate")
    result = validator._validate_parameters(openapi_request)
    app.logger.info("List errors")
    app.logger.error(result.errors)

    app.logger.info("END: before_request")

I got the following error
INFO:app:START: before_request
INFO:app:Build RequestValidator
INFO:app:Build FlaskOpenAPIRequest
INFO:app:Validate
INFO:app:List errors
ERROR:app:[**ServerNotFound**(url='http://localhost:5000/api/v1/bookings/')]
INFO:app:END: before_request

Why is openapi-core not capable to find the server difitiotion?
Is the url (http://localhost:5000/api/v1/bookings/) is the one coming form the request or the one build form the swagger?
Does the error means the two does not match?
Some req:

Flask==1.1.1
openapi-core==0.13.4

Thanks.

I made a mistake in the swagger definition. There no issue in the lib.

I made a mistake in the swagger definition. There no issue in the lib.


Can't find the light if firewall started

Hi guys, As title, when the firewalld service stop that the lights will be found
System is centos8, which ports will be use?

Hello, for homebridge in general you will need udp/5353 used for avahi/bonjour, whatever port you configure in config.json as bridge.port, in the example config.json it's tcp/51828 and for the plugin specifically udp/1982 used for multicast communication with the lamps.


Add mc-sgx-sync crate

Current dependencies on/for this PR:

main

PR #14

PR #13

PR #15

PR #22

PR #24

PR #30

PR #31

PR #32

Codecov Report

Merging #35 (7c3ce9a) into nick/thread-panicking (6204553) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@                    Coverage Diff                    @@
##           nick/thread-panicking      #35      +/-   ##
=========================================================
+ Coverage                  92.70%   92.73%   +0.03%
=========================================================
  Files                          7        8       +1
  Lines                        233      234       +1
=========================================================
+ Hits                         216      217       +1
  Misses                        17       17

Impacted Files
Coverage Δ

sync/src/lib.rs
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

⏳ This pull request is set to merge as part of a Graphite merge job
Stack job ID: HgREqLwB7JxPkCuBxNeY.
See details on graphite.dev

@varsha888 bumping you for review since I needed to restack after your review


The editor is not refreshed automatically when running 'Promote Snapshot' for blobs/HNS blobs

Storage Explorer Version: 1.22.0-dev
Build Number: 20211011.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Big Sur 11.6
Architecture: ia32\x64
How Found: From running test cases
Regression From: Previous release (1.21.2)
Steps to Reproduce

Make sure the setting 'Auto-refresh on change' is checked.
Expand one storage account -> Blob Containers.
Create a blob container -> Upload one block blob.
Change the content of the blob then save it -> Select 'Snapshot original blob and then upload' -> Click 'Apply'.
Click 'Manage History -> Manage Snapshots' -> Promote the snapshot.
Check whether the editor is refreshed automatically.

Expected Experience
The editor is refreshed automatically.
Actual Experience
The editor is not refreshed automatically.
Additional Context
There is no refresh prompt when running 'Promote Snapshot' without checking the setting 'Auto-refresh on change'.

More Info:
The tags and properties of the base blob are updated automatically after running 'Promote Snapshot' with/without checking the setting 'Auto-refresh on change'.


ValueError trying to access missing inputGroup or ouputGroup on intermediateExchange

OS: Linux
Python version: 3.10
Project version: 3.1.0
I'm trying to check if intermediate exchange has inputGroup by intermediate_exchange.inputGroup is not None and get following:
ValueError: invalid literal for int() with base 10: ''

Since IntermediateExchange can have either inputGroup or outputGroup, but not both, one of the two groups would be missing. For me, using pyecospold, the way to check this would be to check that either inputGroup or outputGroup is not None. In my opinion, pyecospold should handle the absence of the element in this context.

@demianruban thanks for raising this.
Generic attributes group and groupStr has been added in v3.2.0 through b4fcafd to ElementaryExchange and IntermediateExchange, now available on PyPi.


Add x-hub-signature Header Verification to HTTP Requests

If an incoming HTTP request has the x-hub-signature header set and the HUB_SECRET environment variable is set, verify that the signature is valid.
An invalid signature will not be processed as an error will be thrown from the middleware.
If either the HUB_SECRET environment variable isn't set or the x-hub-signature header wasn't present in the request, then verification will be bypassed. However, req.hubVerified will be undefined.
Any script that wants to ensure only verified requests will be processed can do so like this:
module.exports = (robot) ->
  robot.router.post "/some/url",
                    robot.requireHubSignature,
                    fn

The version of express must also be updated so that it includes the latest connect middleware that provides the verification capability.

This pull request is quite stale, so I'm going to close it. Better GitHub integration is on the roadmap, so we'll definitely be revisiting this when work on that begins.


Fix bundle config

Background
Without specifying output.library the bundle pollutes the global scope by adding all exports as global variables.

Coverage remained the same at 83.091% when pulling ad47aeb205a7cc7e9de164d96451cd00cebc4ccc on x/library-target into 287cc5d42206e776e6141a43c8bbc3d3cab05b52 on master.


add max values of both distributions on y axis for feature-list-view

red and grey histograms don't have the same max value, and y-axis should capture it.
Before:

After:

 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.


Keeping basic-api up to date?

Hi @bertho-zero! Firstly, thank you. I am very glad that you are continuing to maintain this repo! :)
I am wondering if you are planning to keep the basic-api branch also upto date with the package updates, etc? I noticed that you have updated happypack, babel, react-hot-loader on master, but not on basic-api.
FWIW, I would like to put in a vote in favor of it. Unfortunately, I can't use feathers, passport, etc and therefore your basic-api branch is super helpful. Having that updated as well, might help a bunch of us :)
Thank you!

I will not continue to maintain the 'basic-api' branch, the front and back parts will separate easily.
I will not keep the yeoman plugin either.
These 2 parties multiply the working time, and I have almost no time to take care of this repo so it becomes complicated.


Feature/UserInput submission UI

Description
I decided to submit this PR as a draft since it might benefit from merging after ticket #86 is merged with dev and the new UserInput routes are in place. The only feature missing for this ticket is functionality that sends the user's input to the backend via the new routes.
Fixes #108
Type of change

[x] ✨  New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Ran it on localhost to compare with our figma design
Checklist:

[x] I have performed a self-review of my own code.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.
[ ] I have reviewed the Security Best Practices Document.
[ ] I have followed the Naming Conventions Guide for my changes.
[ ] I have ensured that my pull request title is descriptive.

Additional Information:
Currently using localStorage to store the checkbox's "checked" state in the browser. This is a temporary solution since I imagine we would want to store that state in a user's session after we have auth set up.

@lomeintheory Will you please link this PR to the corresponding issue and make sure the issue is assigned to you?
In the PR description, where you see "Fixes #..." you can delete the "(issue)" and start typing the issue number. You should see a list of matching issues pop up and you can select the right one.

@lomeintheory I know you've already resolved a bunch of comments on this PR but I think there is more to do.
@ChTiSh

Here we have three interactive elements; text input, checkbox input, and button.
For each element we should account for active, focused, and hover states. For checkbox input we should account for checked and unchecked styling. For text input we should account for error state / input active and error state / input inactive. We should also style the cursor. For button, disabled style should probably affect background color as well as / instead of foreground color, and hover should not make it disappear.
As all of these are intended to be modular components used throughout the site, I think it would be worth the effort to define all of their states and styles in Figma.
Let me know how we should resolve this. Throw it all in one new issue for a future sprint? Multiple issues? Keep in mind, just because someone built it up this far does not mean the same person needs to make the additional changes.

I would vote for issuing new different issues for modular reusable components. I will work on updating the figma and issuing the tickets. It might make sense to issue the tickets in this sprint as the input edit/update could use it.

@lomeintheory I know you've already resolved a bunch of comments on this PR but I think there is more to do. @ChTiSh

Here we have three interactive elements; text input, checkbox input, and button. For each element we should account for active, focused, and hover states. For checkbox input we should account for checked and unchecked styling. For text input we should account for error state / input active and error state / input inactive. We should also style the cursor. For button, disabled style should probably affect background color as well as / instead of foreground color, and hover should not make it disappear.
As all of these are intended to be modular components used throughout the site, I think it would be worth the effort to define all of their states and styles in Figma.
Let me know how we should resolve this. Throw it all in one new issue for a future sprint? Multiple issues? Keep in mind, just because someone built it up this far does not mean the same person needs to make the additional changes.

I think we talked about getting this PR merged to get a basic working input bar on our dev branch, so I definitely have no problem working more on the styling. @ChTiSh I'll make a new ticket for this and assign it to myself. End of the week so I have more time for Linkta.

kbox input, and button.

I was going to create a ticket for this but looks like you already 😅

Haha, I created some drafts as placeholders, feel free to convert them to issues, edit/add anything.


micro-optimise is_null

Micro-optimization to replace is_null($x) with null === $x. Removed a fragment where a if-statement was repeated.
Not that either is slow but the function call is about 14 times slower adding usually adding up over a request.

thanks ;)


Min Target: 10240

The Hololens Emulator will not be listed as a debug/deploy target if you set the Target Min Version above Windows 10 (10.0; Build 10240).  It is frustrating when features are hidden and no reason is shown.
Thanks to this thread for the info: https://forums.hololens.com/discussion/292/hololens-emulator-not-appearing-as-a-debug-target

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

ID: 0051f2fd-9bcd-7eb8-48f0-b8b170d42a49
Version Independent ID: 2c1a0a2b-6a3f-1a1d-caf1-4a06caf5411b
Content: Using the HoloLens emulator - Mixed Reality
Content Source: mixed-reality-docs/using-the-hololens-emulator.md
Service: unspecified
Product: windows
GitHub Login: @JonMLyons
Microsoft Alias: jlyons

@jfoshee thanks for flagging this! I'm looking into it with the emulator lead to understand why this is and if it's intentional.

In chatting with @JonMLyons, this is an expected behavior (though we understand why it's frustrating). We're passing that feedback along to the Visual Studio team.

By the way, just wanted to add this follow-up: it seems like it's an intentional choice by the Visual Studio team to hide emulator targets that don't match the project's UWP version (vs. showing them, but having them disabled or something like that). The VS team said the best way to tell them that this isn't desirable is to report it as an issue at this site, and then get it upvoted. They need to see how many customers agree with your frustration and would want it changed. We still passed along the feedback internally, but loud customer voice is the best way to enact change!


update to opensuse 13.2

because mirror doesn't exist anymore

@schaefi can you take a look at this PR, the image is used just by your dice tool AFAIK.
I think it would be nice to upgrade to 42.2 and also to set you ( @schaefi ) as MAINTAINER of it.

Hmm, no I think that is not one of mine. For dice I'm using this image:

https://hub.docker.com/r/opensuse/dice

The corresponding buildservice project building the image which then gets uploaded to dockerhub is here:

https://build.opensuse.org/package/show/Virtualization:Appliances:Images/dice-image-docker

This is also already based on Tumbleweed
So I'm sorry the image I use is not based on the mentioned Dockerfile

I guess derived_images/kiwi is an orphaned space in this git repo, at least I do not use it

Closing the PR, I just removed this image.


netbsd.libedit: fix build

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I don't really understand how this is rebuild-0...

I don't really understand how this is rebuild-0...

I think it's because netbsd at the top level isn't marked recurseIntoAttrs?

Ah, yes, makes sense :)


Unable to open cheat sheet on Ubuntu 22.10

Running the command cursorless cheat sheet will make Firefox try to open the generated cheat sheet file. However, in more recent versions of Ubuntu, Firefox will be unable to open this file due to being run as a snap package, which disallows it from opening files within hidden directories.
When Firefox fails to open the cheat sheet, it presents the user with a page stating the following:

Access to the file was denied
The file at /home/rykarn/.cursorless/cheatsheet/index.html is not readable.
It may have been removed, moved, or file permissions may be preventing access.

Stackoverflow explanation
snapd issue
By changing src/cheatsheet/cheat_cheet.py, line 48 to use the directory ~/cursorless/cheatsheet instead of ~/.cursorless/cheatsheet, the cursorless cheat sheet makes Firefox successfully show the cheat sheet page on my system.
From the linked discussion on snapd it seems that this problem is not present in the current LTS version of Ubuntu, but it will likely start manifesting more often once people upgrade to later versions of it.

Ugh. We moved it there because we thought that'd work for snaps.
Are there docs on what is allowed?

This is what I am able to find in the snapcraft docs: https://snapcraft.io/docs/home-interface

The home interface allows access to non-hidden files owned by the user in the user’s home ($HOME) directory where a user normally stores their personal files and documents.

So maybe having the option to pollute the home directory with a non-hidden cursorless directory could be a workaround.

Perhaps we should shove it in the Documents directory? We'd have to work out what that is though since that's user-configurable.

Another solution that we talked about is to have a setting for where the cheat sheet should be located, but if this will hit all ubuntu  users in the future a more robust solution is to be preferred.

Can it be within a hidden directory within documents directory?  I guess we could just make it non-hidden in documents directory if not 🤷♂

I can give it a go later today to see if a hidden directory in documents would work (if I remember to).

Using~/Documents/.cursorless/cheatsheet as the cheatsheet directory actually did work! Firefox made no complaint and was able to open it.
I changed line 48 to this:
        cheatsheet_out_dir = Path.home() / "Documents" / ".cursorless" / "cheatsheet"

Nice!
PR created #1273


Can't run nvm use 14.19.0

I already installed node 16.13.2
and I newly install node 14.19.0 using nvm install 14
but when I try to switch nvm use 14.19.0
it has error
exit status 5: Access is denied.

Do you have an idea?

have you tried it with administrator privileges?

Per @subhanjanOps 's suggetion, see here:
https://github.com/coreybutler/nvm-windows/issues/767

Also see https://github.com/coreybutler/nvm-windows/wiki/Common-Issues#permissions-exit-1-exit-5-access-denied-exit-145


Not receiving from any RF remote

Hey everyone,
So my last project was to do what is described on this brush bruh automation video(albeit with rf shades instead of plugs):
https://www.youtube.com/watch?v=5UUazFbK-Hg&t
However, when I get to "sniffing" the codes from my rf remote, it doesn't really work. I press the button on my controller while running the rfrx.py/RFSniffer/rpi-rf_receive(Sniffs on GPIO 27) script and nothing happens, it does record some random codes, but they're not the ones being sent from my remote
When I deploy codes from my transmitter, however, it does seem to be receiving them on the rfrx.py/RFSniffer/rpi-rf_receive script, which leads me to believe it's working properly.
http://imgur.com/a/DnfgD
This is how I have the pi wired:
http://imgur.com/a/mTQHE
and one of the controllers I'm trying to emulate:
http://imgur.com/a/f87PL
I've already tried everything I could think so without much success, so if anyone has any guidance I'd appreciate it!
Also just realized that if I send through the transmitter a code 10 digits long, it won't show on the receiving side

@Cloudore did you solve it ? Same problem for me now ^^

Yes, did so using this instead https://github.com/jderehag/rpi-rfsniffer.
Worked properly. Do mind that one is used differently, you record and play the RF codes. So I made a bash script that executed the command "rfsniffer play x" and then made a .php that said "execute bash script x", that allowed me to create a web interface for my rf controlled devices. Make sure apache has the proper permissions to run a bash script if you do go the way I did.


Navbar in dark mode

We're looking for someone interested in implementing a dark mode for our website's navbar.
Anyone interested?

Yes I am interested.

Go ahead @anshu-ee-21

@anshu-ee-21
Could you please provide an update on the current status of the assigned task?

Yes @Prajwal0225, I have worked upon it. Do I raise a PR?

Raise a PR

Hello! I'm interested in working on this task. I have experience with web development , and I'm eager to contribute. Please consider assigning this to me, and I'll get started right away. Thanks! I will make a worthful contribution.


ㅌㄹㅇㄹㅇㄴㅁㄹㅇ

Environment

Minimal Mistakes version:
Ruby gem or remote theme version:
Jekyll version:
Git repository URL:
GitHub Pages hosted (if yes provide URL to site):
Operating system:

Expected behavior

Steps to reproduce the behavior

Other

???


Fix msmbuilder test

This really should be fixed or removed instead of relying on msmbuilder not being installed so it gets skipped

I'll work on a PR for this.

fixed in https://github.com/msmbuilder/osprey/pull/115


PoC - Execute Cronjob for execution ID

As a Spar Application ETL Process I want The ETL Process to be executed at hourly basis. So That The application will be updated with the most recent changes from Oracle Database and send necessary data to update Oracle database
Additional Context

ETL Process already exists, but currently it is being executed at deployment level. We need to enable the Cron Jobs in the Openshift platform to run a instance of ETL Tool.
We may want to have more than 1 CronJob running at same time (for example a different instance running to grab data from Oracle to Postgres and another for Postgres to Oracle). So, each CronJob execution can have different EXECUTION_IDs (configured in the environment variable) being executed in different periods of time.
The ETL deployment process may execute a Health Check (env var TEST_MODE=1). The execution (env var TEST_MODE=0) will be only run by CronJobs.

Acceptance Criteria

[ ] Given (ETL Tool being deployed), When (it is deployed by Github CI/CD), Then (it will execute a HEALTH Check - TEST_MODE=1)
[ ] Given (ETL Tool being deployed), When (it is deployed by Github CI/CD), Then (it should update the source code being executed by CronJob instances)
[ ]  Given (ETL Tool already working fine in local Dev tests), When (it will be executed and tested in Openshift Test environment), Then (it needs to create a Cronjob - 1 hourly daily to EXECUTION_ID = 0)

Definition of Done

[ ] Ready to Demo in Sprint Review
[ ] Github actions updated to provide deployment features (Health check and Openshift Cronjob updates)
[ ] Documentation and/or scientific documentation exists and can be found
[ ] Peer Reviewed by 2 people on the team
[ ] Manual testing of all PRs in Dev and Prod
[ ] Merged

EXECUTION_ID already handled.


Fix capitalization of projectName in Nix flake

buildIdris was looking for LSP-lib.ipkg, which does not exist.
This fixes #4.

Great, that was quick!
Now flake.lock at https://github.com/idris-community/idris2-lsp should probably be updated.
Help, my home-manager config is dying without a working idris2-lsp :cry:

Can do. https://github.com/idris-community/idris2-lsp/pull/211 @phijor
I'll merge that as soon as a build finishes on my machine.


[NEW-FEATURE] Update to sld v2.0.5

sld in v2.0.5 provides considerable perfomance improvements, delta download, and improved access over OPCUA and WebAPI.
We will need to align with some breaking changes

[ ] pragmas are now required for members to be published on the comm interface

/cib

Branch 263-_NEW-FEATURE_Update_to_sld_v2_0_5 created!


Print global ASN rather than blank

Fixes #1271

LGTM assuming you have tested the output since templating can be weird sometimes, and I can't tell by just looking at the code. :)

Yup I tested.   The default value appears in parens, whereas the configured value appears normally.