'CONTACT US' header of the contact us form not visible

Describe the bug
The 'CONTACT US' header is not visible because of its color'.
To Reproduce
Steps to reproduce the behavior:

Go to website
Click on 'Contact Us'

Expected behavior
A change in its font color to black or to the accent color of the webpage would make it visible.
Screenshots
Screenshot
Desktop (please complete the following information):

OS: Windows
Browser: Chrome

Additional context
I would love to be assigned to this issue.

I would love to be assigned to this issue, Thank you

I'm eager to contribute to PetMe , and after exploring the issues, I'm interested in working on #1378 : 'contact us' header of the contact us form not visible.


HDFS-16458. [SPS]: Fix bug for unit test of reconfiguring SPS mode

JIRA: HDFS-16458.
I resubmitted a PR, because the previous PR #3998 forgot to set the issue ID.
TestNameNodeReconfigure#verifySPSEnabled was compared with itself(isSPSRunning) at assertEquals.
In addition, after an internal SPS has been removed, spsService daemon will not start within StoragePolicySatisfyManager. I think the relevant code can be removed to simplify the code.
IMO, after reconfig SPS mode, we just need to confirm whether the mode is correct and whether spsManager is NULL.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  3s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m  9s

trunk passed

+1 :green_heart:
compile
1m 33s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
1m 21s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m  0s

trunk passed

+1 :green_heart:
mvnsite
1m 28s

trunk passed

+1 :green_heart:
javadoc
1m  3s

trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 32s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 23s

trunk passed

+1 :green_heart:
shadedclient
26m  8s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 19s

the patch passed

+1 :green_heart:
compile
1m 24s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
1m 24s

the patch passed

+1 :green_heart:
compile
1m 14s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
1m 14s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 54s

the patch passed

+1 :green_heart:
mvnsite
1m 20s

the patch passed

+1 :green_heart:
javadoc
0m 55s

the patch passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 29s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 26s

the patch passed

+1 :green_heart:
shadedclient
25m 39s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
369m  4s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 39s

The patch does not generate ASF License warnings.

478m 25s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4041/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4041

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 3a83241c502a 4.15.0-166-generic #174-Ubuntu SMP Wed Dec 8 19:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 0470bc99eec3b2b715ce7737f533b2ff1c984cac

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4041/1/testReport/

Max. process+thread count
2130 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4041/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@tomscut Thanks for your contribution. Merged


change bolt:// to neo4j://

https://github.com/neo4j-partners/amazon-cloud-formation-neo4j/blob/52e0c4e02868539bfcb53d664fb74fe3136729ae/marketplace/neo4j.template.yaml#L796
neo4j seems to be a more general way to state this.

https://github.com/neo4j-partners/amazon-cloud-formation-neo4j/pull/47


✏ [TASK]: Add tests to make sure the container service is actually running

Task Description
Prior to #67, the container service wasn't actually working, but we had no idea. We could alleviate this with some kind of testing to check for a ping from the docker service, and even upload a sample image. An example of which can be seen here https://github.com/UCL-MIRSG/UCLH-MPBE-SRR-XNAT/blob/15d77eb2d203e898685f11b2cf6bf1cabed9fa46/.github/workflows/playbooks.yml#L74-L100
### Related Work Items

Yeah this would be a good first step. Ideally we'd have integration tests to create an XNAT project, upload some DICOM image, and run a container on them (this would also check the path translation between the web and container service is set up correctly)


🐛 Permissions don't update for external changes

What's happening?
The permission hooks (e.g. useCameraPermission()) don't listen for external changes, for example in device settings like suggested in the documentation via the Linking API. Therefore, using hasPermission will not reliably inform the app without the hook being reloaded.
Reproduceable Code
const [hasPermission, requestPermission] = useCameraPermission();

const [isExplicitlyDenied, setIsExplicitlyDenied] = useState<boolean>(false);

return (
    <>
        {hasPermission ? (
            <Text>Permission Granted</Text>
        ) : (
            <Pressable onPress={async () => {
                if(isExplicitlyDenied) Linking.openSettings();
                else {
                    const permissionGranted = await requestPermission();
                    if(!permissionGranted) setIsExplicitlyDenied(true);
                }
            }}>Ask permission to use the camera</Pressable>
        )}
    </>
)

/**
Actions: In runtime, press the `<Pressable>` component and deny access to the camera when prompted. Press the `<Pressable>` component again and change the `Camera` permission in the opened settings to a variant of "Allow". Return to the app, and the `<Pressable>` component will still be visible, despite the permission being granted.
**/

Relevant log output
// N/A

Camera Device
// N/A

Device
Google Pixel 8 Pro
VisionCamera Version
3.8.0
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Doesn't the app restart itself when permissions change externally? At least that's how it works on iOS

Seems only to restart if the permissions change from allowed -> denied. The app doesn't restart when it goes from denied -> allowed on Android

Well that's weird again. I don't see any Java/Kotlin API to listen to such changes though?

Modifying the hooks with this workaround would appear to work:
export function useCameraPermission(): PermissionState {

    const [hasPermission, setHasPermission] = useState(() => Camera.getCameraPermissionStatus() === "granted");

    const requestPermission = useCallback(async () => {
        const result = await Camera.requestCameraPermission();
        return result === "granted";
    }, []);

    // Listen for changes in the app state and use this to recheck permissions
    useEffect(() => {

        const subscription = AppState.addEventListener("change", (nextAppState) => {
            setHasPermission(Camera.getCameraPermissionStatus() === "granted");
        });

        return () => {
            subscription.remove();
        };

    }, []);

    return {
        hasPermission,
        requestPermission
    };
}

As an additional observation, the app state changes when the request prompt appears, so it would seem you can also rely on the event listener to update the hasPermission state, without also having to do this in request?

Yea that is indeed a good workaround. Maybe we can even add this to the repo? Can you create a PR?

created a PR: https://github.com/mrousavy/react-native-vision-camera/pull/2420

Great. Thanks Marc. Apologies, I was trying to test the solution on iOS too before creating a PR but having build issues. Glad this has been fixed!


Detect removed youtube video

For example: https://www.youtube.com/watch?v=J0JhMt4MtLw will return Could not find <title> tag for url, but it should instead detect that the video was removed and say so.

done in 5e966783b0de65579d8454ac6e254f58a82e55ff


documentation for usual macros

resolves #1132

removed repeat_str helper as it's now part of std
added docstrings for usual macros and test utils
added allow(dead_code) in tests/utils.rs to reduce warnings when testing individual utilities

I've stated repeatedly that some macros/methods treat paths as relative to a unique test directory, since some tests seem to have been written with the assumption that the test directory was shared across tests.

Wahou, it is rare to see such PR, many thanks :)


StandaloneWindows64 file increase and game problem

Firstly, I want to start by saying that perhaps this is not the appropriate place to make this type of announcement.
But I'm wanting to translate an indie game using UEBEA, but when I open the .bundle with all the necessary files I need to do the translation. When I open the correct file, export what I need, change the file I want and then import and save the .bundle, the file ends up increasing from 32kb to 70kb, when I start the game, it ends up freezing the game and making it impossible to do anything, having to close the game again and open it to give the same problem.
By the way, I read about addressables but I didn't understand how it works, I ended up downloading the CRC tool and I didn't understand how it works, a better guide in the future, maybe?

The size increase is normal because while editing, the bundle is decomposed until you use the compress option in the main window. As for addressables tools, if you look at the first issue in that repo, there is a video someone made of you need help with the command line tool. In the future, this will be automatic.


Confusion about the post-processing in lite_flow_net.py

Hi,
I noticed that you add some post-processing in the forward() function of LiteFlowNet:
        for i in flows:
            flows[i] = flows[i] * (20.0 * (0.5 ** (i-1)))
            # _, _, out_h, out_w = flows[i].shape
            # flows[i] = torch.nn.functional.interpolate(input=flows[i], size=(raw_h, raw_w), mode='bilinear', align_corners=False)
            # flows[i][:, 0, :, :] *= float(raw_w) / float(out_w)
            # flows[i][:, 1, :, :] *= float(raw_h) / float(out_h)

Why is this necessary? 20 seems to be a strange number  and I am confused a little bit .

sorry for late reply, it is taken from this re-implementation.
https://github.com/sniklaus/pytorch-liteflownet


Set publisher

I asked ANB whether they would like to become a GBIF publisher.
Their choice could take a while of course. I asked to Dimi today and it seems that we can still publish this dataset as a INBO dataset if we are ready to publish this dataset. Changing publisher has no influence on occurrenceID and datasetID.

Although ANB is still not an official publisher on GBIF, i set 'ANB' as rightsHolder and institutionCode in the event core. @peterdesmet: do I right?

rightsHolder: yes
institutionCode: debatable, but I guess yes

Thanks.

ANB is a publisher now: https://www.gbif.org/publisher/d2b220bd-5701-4fe4-ba06-a1e3fc6288fe


upgrade to tcgc 0.44.2

adopt built-in type breaking change
adopt create sdk context async breaking change

see: https://github.com/Azure/typespec-azure/pull/1237

wait for https://github.com/Azure/typespec-azure/pull/1251 merge to mitigate the multi-part breaking change.


Update to gradle 8.10

This updates the main branch and should illustrate that #202 is not just an main-eisop issue.

Looks like a build cycle?

#202 was fixed by https://github.com/jspecify/jspecify/pull/609.


Configure LSP

How can i add my language's intelisense ? i want to configure NeoVim for JavaScript but i don't find any instructions on how should i add code completion support.

Currently, the LSP related settings reside in https://github.com/jdhao/nvim-config/blob/master/lua/config/lsp.lua. You can check how I set it up for other language servers to get an idea.


(docs) Add available values for options to configuration references

This adds 'Available values' to the configuration reference pages for
every option that has a restricted list of available values, which is
indicated by the presence of the :enum key in the configuration
options hash.
!no-release-note

CLA signed by all contributors.


Check IHttpMaxRequestBodySizeFeature.IsReadOnly

@halter73,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


[MODULE] - Emotionality detection

Please describe the module you would like to add to bricks
This module takes a string input and tokenizes it using LeXmo package, sums up the number of words for that associate for each emotion, and return a dictionary of the text and emotions weights.
Do you already have an implementation?
If so, please share it here. For instance:
import nltk
nltk.download('punkt')
from nltk import word_tokenize
from nltk.stem.snowball import SnowballStemmer
from LeXmo import LeXmo

text = "As Harry went inside the Chamber of Secrets, he discovered the Basilisk's layer. Before him stood Tom Riddle, with his wand. Harry was numb for a second as if he had seen a ghost. Moments later the giant snake attacked Harry but fortunately, Harry dodged and ran into one of the sewer lines while the serpent followed. The Basilisk couldn't be killed with bare hands but only with a worthy weapon. After killing the snake with the Gryffindor sword, Harry killed Tom by forging the Basilisk's tooth through his diary where the spirit of Tom resided."

emo = LeXmo.LeXmo(text)
emo.pop('text', None)
emo = max(emo, key=emo.get)
print(emo)

Additional context
This module requires LeXmo package which can be installed using pip install LeXmo if running on the local machine.

I tested the module. I the refinery it cannot detect emotionality (e.g. in "I am so happy", "sad and tired" etc.). In common testing we got following result:
"Oh my goodness it was the best evening ever, hype!" has emotion: anticipation
Isn't it only anticipation, if it did not happen yet? Or am I wrong? :D
All in all sometimes not om point.
Do we want to try and improve it? :)

@SvenjaKern Good catch! The LeXmo library is not perfect and I doubt it is even maintained. We should implement a model like this for emotionality detection then: https://huggingface.co/j-hartmann/emotion-english-distilroberta-base


No debuginfo generated for buffer references

In HLSL, using the vk::BufferPointer syntax/, I don't see any debug info emitted for buffer pointer struct members when using the -g3 options. There's no OpDebugTypePointer for the buffer reference and no OpDebugTypeStruct for the struct being pointed to, and indeed I don't see any code in slang to emit the OpDebugTypePointer instruction. With GLSL the layout(buffer_reference) syntax doesn't seem to supported at all.

Currently pointers are emitted as normal 64bit integers in our debug info because we weren't sure if the downstream tools supported OpDebugTypePointer. We can added this if required.

Also our GLSL support is experimental and is provided only to help developers transition from existing/legacy GLSL codebase. The GLSL support isn't meant to be complete or kept up-to-date with the GLSL spec.

I have been having troubles while making a simple repro case.
It turned out that slangc is crashing on my repro cases.
The crash is caused by a stack overflow while calling "isSimpleDataType()" recursively forever.
I am debugging the problem.

I like to leave an update.
I believe I fixed the crashing issue I mentioned on my previous comment.
It had something to do with the nature of recursiveness of memory pointer.
When there is a member variable whose type is a pointer to the struct it belongs to, it will look like the following.
struct Data
{
    float value;
    Data *next;
};

When we visit "Data", it iterates all members one by one.
When it encounter a pointer, it, kind of, dereferences the pointer in an attempt to figure out what kind of struct it is.
Then it iterates all members and encounter the pointer again and it recursively repeated until it ran out of the stack memory.
I believe I have a fix for this.
The next problem I am dealing with has a similar nature.
If a given struct is like the following, its SPIR-V code will look like the one shown below,
struct Data
{
    float4 value;
};

%1 = DebugTypeBasic "float" ... // define "float"
%2 = DebugTypeVector %1 "4" ... // define "vector<float,4>"
%3 = DebugTypeMember "value" %2 ... // define "vector<float,4> value" as a member variable
%4 = DebugTypeComposite "Data" ... %3 // define "Data" with a member variable defined in %3.

When I have a pointer as a member, it changes to the following,
struct Data
{
    float4 value;
    Data *next;
};

%1 = DebugTypeBasic "float" ... // define "float"
%2 = DebugTypeVector %1 "4" ... // define "vector<float,4>".
%3 = DebugTypeMember "value" %2 ... // define "vector<float,4> value" as a member variable.
%4 = DebugTypeComposite "Data" ... %3 // define "Data" with a member variable defined in %3.
%5 = DebugTypePointer %4 // define a pointer type, "Data*" using "%4".
%6 = DebugTypeMember "next" %5 // define "Data* next" as a member variable.
%7 = DebugTypeComposite "Data" ... %3 %6// define "Data" with member variables defined in %3 and %6.

In this case, however, "%4" should go away, because it conflicts with "%7".
But "%4" is needed to define the pointer type at "%5".
The thing I need to figure out is how to do some kind of forward declaration of the type "Data" before DebugTypePointer.
When I asked chatGPU, the answer was
forward declare Data: Create a placeholder for Data without defining its members initially

I will try if it works.

Thank you for the reply.
When I tried with spirv-as.exe, it looked like working, but the pointer might be pointing to a wrong struct in that case.
The document says the following about "member" in DebugTypeComposite but I am not sure what it means...

Members must be the s of DebugTypeMember, DebugFunction, or DebugTypeInheritance. This could be a forward reference.

If forward-declaration is not possible, I will skip this specific case and focus more on other pointer types that don't require a forward-declaration.

It looks like DebugTypePointer  works only for DebugTypeBasic and it doesn't work for DebugTypeComposite.
When I tried, glslangValidator.exe gave me an error saying the DebugTypePointer requires DebugTypeBasic.

I have something to clarify.
I found that "DebugTypeXXX" like DebugTypeBasic or DebugTypeMember are emitted only when the shader creates an object for the struct.
If a struct is used only as a pointer, "DebugTypeXXX" are not emitted.
The following example shows the problem.
RWStructuredBuffer<float> outputBuffer;

struct LinkedNode
{
    float value;
    float *pValue;
    LinkedNode *pNext;
};

float test(LinkedNode *pNode)
{
    LinkedNode *pNodeNext = pNode->pNext;
    return *(pNode->pValue) + pNodeNext->value;
}

cbuffer Constants
{
    LinkedNode *head;
};

[numthreads(1,1,1)]
void computeMain()
{
    LinkedNode node; // <== THIS IS REQUIRED TO EMIT DebugTypeXXX FOR LinkedNode
    outputBuffer[0] = test(head);
}

When I create a dummy variable, "node", it emites "DebugTypeXXX".
But without the variable, it doesn't emit any of "DebugTypeXXX", although it emits "DebugValue".
@csyonghe , is this an expected behavior?

This is intended, because the only case it make sense to have a DebugValue inst is when the user is changing the value for a variable.
The user can only inspect values of variables inside debugger, so it doesn't make sense to create DebugValue for temporary values that is not visible from the debugger.

It seems like there was a misunderstand.
DebugValue are emitted properly.
But "DebugTypeXXX" are not emitted until the struct is used to create an object.
My question is when a struct is used as a pointer, shouldn't it still emit information about the struct?
  MyStruct obj; // <== this triggers the emitting DebugTypeXXX for the struct and member variables.
  MyStruct* obj; // <== This doesn't trigger it, but I think it should.

In your second case, because the debug type for obj is just uint64, there is no need to represent LinkedNode in the debug type hierarchy, right? Since there are no debugValue insts that sets a value of LInkedNode type, we shouldn't be generating the DebugType for LinkedNode.

I see.
Thanks for clarifying it.


Spelling error in the instructions

Describe your problem and how to reproduce it:
You said 'LocalStartegy' instead of 'LocalStrategy'
Add a Link to the page with the problem:
https://www.freecodecamp.org/learn/information-security-and-quality-assurance/advanced-node-and-express/authentication-strategies

Tell us about your browser and operating system:

Browser Name:
Browser Version:
Operating System:

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

I'll take it up.


Order Details: Move Back/Cancel/Return row to bottom

For Order Details page, the mission was to add Cancel/Return actions but not make them prominent.  Currently they are very prominent when you get to order details.
Two changes Miguel and I agreed on:

Move the order actions (cx-order-details-actions) to the bottom
The Cancel and Return buttons, don't make them primary (so they appear white I think)

Reasoning:
For doing (1), this is the simplest option given we we are trying to release an RC asap. "Back" is a process button (to go back to order listing) but cancel/return buttons are not - they should have been separated, but we're looking at "least change" because of time.
For (2), the buttons that initiate a cancel or return can appear at the same time. However, neither button is a primary action (unlike Check Out on Cart page). I'd rather these be links even but we're trying to keep changes to a minimum.
Current visual with Sparta styling (Calydon looks better :)

sample data PR is this: https://github.tools.sap/cx-commerce/spartacussampledataaddon/pull/56

This is done. It should now look like this:


Notebook Status Checker

Add check for if notebook cells have executed and fail the build. Closes #308

ping @dopplershift


Error connecting to Remote VM with Windows vscode. [Could not fetch remote environment]

Error connecting to Remote VM with Windows vscode.
[Could not fetch remote environment]
[Failed to connect to the remote extension host server (Error: WebSocket close with status code 1006)]

How did you connect to the remote VM? With the Remote-SSH extension?

Yes. With Remote-Ssh on vscode


Add ability to track browser errors

A recent incident on Finder Frontend saw the filters on search pages malfunctioning due to an error loading an asset file (which hadn't been uploaded correctly). We could write a specific e2e test exercising the filters, but ideally this functionality should already be tested extensively in the app's own integration/system tests.
Instead, this adds a helper to enhance a test suite by keeping track of console errors, Javascript exceptions, and network issues, which should be able to catch many sources of unexpected failures in our frontend code.

Add trackBrowserErrors helper library
Use trackBrowserErrors in the Finder Frontend e2e tests to begin with (possibly with a view to other apps opting in to this behaviour too)

In the browser console

As part of the Playwright test

Thanks @csutter for looking at this!

We could write a specific e2e test exercising the filters, but ideally this functionality should already be tested extensively in the app's own integration/system tests.

Why not have this as a E2E/smoke test? Sounds like important user functionality that would be good to validate.
We really shouldn't have assertions for testing non-user functionality. They aren't testing what we actually care about. Testing JS/console failures have in the past been a source of flakey-ness and don't always correlate broken user functionality.

@csutter wondering if you're still working on this or can this PR be closed?


Initial add...

@arschles can you double check this to make sure I didn't mess anything up in this import...
@mbohlool sorry this is kind of a messy first checkin, we'd already started iterating in my repo...

@arschles comments addressed please re-check.
Thanks!

@brendanburns LGTM
I commented on a change, but as I said in there I'm happy to do it as a follow-up

Merging this, @arschles it would be great if you could do the change.


feat: add RightMark Join

Which issue does this PR close?

Closes #13138 .
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@eejbyfeldt Just leaving it as a draft for now, if you have any pointers feel free to add on.

I think the logic here:
https://github.com/jonathanc-n/datafusion/blob/feac9714a172fd7dd96c18b724363bdad8e0d155/datafusion/physical-plan/src/joins/utils.rs#L1289-L1290
is probably not correct when there is both LeftMark and RightMark. For RightMark I would expect us to to need to compute::is_not_null(build_indices) instead. So we might need to pass the join_type to that function in order to implement that.
I also suspect we might need do more changes in adjust_indices_by_join_type. I don't think we can just do the same as JoinType::Right when we have multiple matches. The Right will for that case produce multiple rows per row from the right side, while the RightMark should follow similar logic to the RightSemi where we remove duplicates. But of course we need the unmatched rows like the Right join so we might need our own adjustment logic.


[ADD] Support for KFAC with type-2 Fisher

Resolves #49.
Note: I can't immediately see anymore why the implementation for CrossEntropyLoss works like this, will have to think about it, but should be correct.

I decided to start a section 'Internals' in the documentation which explains the tricky parts in math and also contains links to derivations. This might be useful for others who are interested in extending this library, or learning more about the details of each curvature approximation.
I have worked on this topic for quite a bit, so it would be great to get feedback if it is comprehensible.
You can take a look here.


Change Repeating Testimonials to Unique Entries

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Hey @anuragverma108
Currently, the testimonials section on our website contains repeating entries, which negatively impacts user experience and credibility. We need to update this section to ensure each testimonial is unique and accurately reflects the diverse feedback from our users.
Issue:
https://github.com/anuragverma108/SwapReads/assets/159511364/1360b14e-b2c9-47e4-8043-8e31e3a403a2
I would like to remove multiple repeating entries like the prem sampath and Aron Loes repeated twice and to create the unique ones.
please add the gssoc labels and I would like to work on it under GSSOC'24. Thank you!!
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Is there an existing issue for this?

[x]  I have searched the existing issues

What happened?
Hey @anuragverma108
Currently, the testimonials section on our website contains repeating entries, which negatively impacts user experience and credibility. We need to update this section to ensure each testimonial is unique and accurately reflects the diverse feedback from our users.
Issue:
SwapReads.-.Google.Chrome.2024-05-30.22-19-41.mp4
I would like to remove multiple repeating entries like the prem sampath and Aron Loes repeated twice and to create the unique ones.
please add the gssoc labels and I would like to work on it under GSSOC'24. Thank you!!
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I'm a GSSOC'24 contributor
[x]  I want to work on this issue

Assigned!
Make sure to attach before & after screenshots in your PR and include the issue number.
Also, please star the repo before working on it. Happy open-source contributing!


KYLIN-3857 Disable quote when needed

add quote for create table ddl
add switch for turn off quote

Can one of the admins verify this patch?

Pull Request Test Coverage Report for Build 4218

17 of 45 (37.78%)  changed or added relevant lines in 10 files are covered.
7 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.002%) to 26.945%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java
1
2
50.0%

core-metadata/src/main/java/org/apache/kylin/metadata/model/TableRef.java
0
1
0.0%

core-metadata/src/main/java/org/apache/kylin/source/adhocquery/HivePushDownConverter.java
0
1
0.0%

core-job/src/main/java/org/apache/kylin/job/util/FlatTableSqlQuoteUtils.java
4
8
50.0%

source-hive/src/main/java/org/apache/kylin/source/hive/GarbageCollectionStep.java
0
6
0.0%

source-hive/src/main/java/org/apache/kylin/source/hive/HiveInputBase.java
6
12
50.0%

core-job/src/main/java/org/apache/kylin/job/JoinedFlatTable.java
0
9
0.0%

Files with Coverage Reduction
New Missed Lines
%

source-hive/src/main/java/org/apache/kylin/source/hive/GarbageCollectionStep.java
1
0.0%

core-metadata/src/main/java/org/apache/kylin/metadata/model/TableRef.java
1
54.55%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java
5
77.81%

Totals

Change from base Build 4216:
0.002%

Covered Lines:
18963

Relevant Lines:
70377

💛  - Coveralls

Codecov Report

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

@@            Coverage Diff            @@
##             master     #507   +/-   ##
=========================================
  Coverage          ?   24.46%
  Complexity        ?     5029
=========================================
  Files             ?     1161
  Lines             ?    70377
  Branches          ?    10017
=========================================
  Hits              ?    17221
  Misses            ?    51418
  Partials          ?     1738

Impacted Files
Coverage Δ
Complexity Δ

...kylin/source/adhocquery/HivePushDownConverter.java
65.51% <0%> (ø)
16 <0> (?)

...pache/kylin/source/hive/GarbageCollectionStep.java
0% <0%> (ø)
0 <0> (?)

...java/org/apache/kylin/metadata/model/TableRef.java
50% <0%> (ø)
11 <0> (?)

...ain/java/org/apache/kylin/job/JoinedFlatTable.java
0% <0%> (ø)
0 <0> (?)

...pache/kylin/source/datagen/ModelDataGenerator.java
89.3% <100%> (ø)
53 <1> (?)

...a/org/apache/kylin/common/util/HiveCmdBuilder.java
82.19% <100%> (ø)
12 <0> (?)

...in/sdk/datasource/framework/conv/SqlConverter.java
90.62% <100%> (ø)
7 <3> (?)

.../apache/kylin/job/util/FlatTableSqlQuoteUtils.java
21.81% <37.5%> (ø)
10 <2> (?)

...va/org/apache/kylin/source/hive/HiveInputBase.java
12.97% <41.66%> (ø)
4 <0> (?)

.../java/org/apache/kylin/common/KylinConfigBase.java
14.14% <50%> (ø)
42 <1> (?)

Continue to review full report at Codecov.

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

Local CI Test passed.


Support ancestor rules

Support situations like nested media queries or atrule nesting.
Resolves #32

Codecov Report

Merging #33 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #33   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines          64     67    +3
=====================================
+ Hits           64     67    +3

Impacted Files
Coverage Δ

src/visitor.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Hi @jonathantneal,
thanks for the PR!


[BUG] Data loss on doing K3s upgrade with drain

Describe the bug
Data from the mount point in pod disappear after upgrading the K3s from v1.20.4+k3s1 to v1.21.5+k3s1
To Reproduce
Steps to reproduce the behavior:

Create a K3s set up v1.20.4+k3s1 in Rancher v2.6-head
Deploy Longhorn v1.1.2
create some workload using https://raw.githubusercontent.com/longhorn/longhorn/master/examples/rwx/rwx-nginx-deployment.yaml and https://raw.githubusercontent.com/longhorn/longhorn/master/examples/statefulset.yaml
Write some data in pods
Upgrade the K3s cluster with drain enabled to v1.21.5+k3s1 using Rancher v2.6-head.
Verify the data in the pod. They are gone.

Expected behavior
Data should not be gone.
Log or Support bundle
longhorn-support-bundle_25ad5751-a0e7-4d63-9b5d-622fecfde6f4_2021-11-30T20-01-30Z.zip
Pod - web-0, web-1 and rwx pods
Volume name - pvc-0dcdf8a3-8ffc-4307-9c14-6fe8866705b7, pvc-6f1026b3-c52b-4ea0-af87-5ab6814a7990, pvc-a7a51754-ebc0-4a2e-bd89-7dc955205f2d
Environment

Longhorn version: v1.1.2
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): Catalog app
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: imported K3s v1.20.13+k3s1 on Rancher v2.6-head

Number of management node in the cluster: 1
Number of worker node in the cluster: 3 (including the master node)

Node config

OS type and version: Ubuntu 20.04

Additional context
Cluster was upgraded twice from v1.20.13+k3s1 to v1.21.4+k3s1, where the data was lost from pod: web-0,  volume: pvc-0dcdf8a3-8ffc-4307-9c14-6fe8866705b7 and  pod: rwx, volume: pvc-a7a51754-ebc0-4a2e-bd89-7dc955205f2d
When upgraded from v1.21.4+k3s1 to v1.21.5+k3s1 data lost from pod: web-1, volume: pvc-6f1026b3-c52b-4ea0-af87-5ab6814a7990 and pod: rwx, volume: pvc-a7a51754-ebc0-4a2e-bd89-7dc955205f2d

Sorry, I was looking at the wrong mount point. Closing it. This is working fine.
Thanks @PhanLe1010


docs: Remove traces of AB3 from README

This commit removes the traces of AB3 in README that was pointed out in the cs2103 tracker.

Sui

We might need to remove the reference to AB3 in the acknowledgement as well, we can come back to this if the tracker does not update still.

We might need to remove the reference to AB3 in the acknowledgement as well, we can come back to this if the tracker does not update still.

The other groups did the same I think


[WIP] Refactor/cleanup

This will fix  #171.


Type PencilmarkGrid

Introduce type PencilmarkGrid to allow user creating a sudoku grid.

I'll use another way to implement this.


Update to discord.js 14

I'm using discord.js v14 for my bot, but this seems to only work on v13 and v12.

I will add suport for discord.js v14 as soon as I can, you can check out on progress here https://github.com/Rei-x/discord-speech-recognition/pull/37


config: Removed exposing unnecessary routes.

Disables hub/index to be accessible in the doctor app. Fixes #347

Deliberating accessing this route will yield 404 now and ask if user wants to return home.


[New Port Request]

Library name:
SoapySDR
Library description:
SoapySDR is general software defined radio.
That works universally accross all RF platforms.
Hacker RF , LimeSDR , Ettus etc....
Source repository URL:
https://github.com/pothosware/SoapySDR
Project homepage (if different from the source repository):
https://github.com/pothosware/SoapySDR/wiki

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.

#39729


Allow paging configurability to AWSCodePipelineWidget component to enable pagination of CodePipeline stages

Hello,
Thank you to the team for creating a great plugin.
When a CodePipeline has many stages, the height of the AWSCodePipelineWidget component is challenging to manage in the grid - demonstrated below.
I've created this issue to add a paging configuration to AWSCodePipelineWidget component, allowing pagination of CodePipeline stages.
Thank you.

We have started a new project to better scale our efforts regarding Backstage plugins. The functionality in this repository is being migrated. If this issue is still relevant please create a new issue in this repository:
https://github.com/awslabs/backstage-plugins-for-aws


[Mac]: Python server unable to be built with Pyinstaller

Attempting to run python-onefile-build fails to output anything on Mac.
Below is the output to the terminal until an exit code is thrown:
1495 INFO: PyInstaller: 4.7
1495 INFO: Python: 3.9.7 (conda)
1528 INFO: Platform: macOS-10.16-x86_64-i386-64bit
1529 INFO: wrote /Users/garrettflynn/Documents/Github/nwb-guide/app.spec
1561 INFO: UPX is not available.
1562 INFO: Removing temporary files and cleaning cache in /Users/garrettflynn/Library/Application Support/pyinstaller
1570 INFO: Extending PYTHONPATH with paths
['/Users/garrettflynn/Documents/Github/nwb-guide/pyflask']
2821 INFO: checking Analysis
2821 INFO: Building Analysis because Analysis-00.toc is non existent
2821 INFO: Initializing module dependency graph...
2825 INFO: Caching module graph hooks...
2834 WARNING: Several hooks defined for module 'numpy'. Please take care they do not conflict.
2846 INFO: Analyzing base_library.zip ...
5322 INFO: Processing pre-find module path hook distutils from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/pre_find_module_path/hook-distutils.py'.
5455 INFO: distutils: retargeting to non-venv dir '/opt/anaconda3/envs/env-electron-python/lib/python3.9'
8663 INFO: Caching module dependency graph...
8815 INFO: running Analysis Analysis-00.toc
8827 INFO: Analyzing /Users/garrettflynn/Documents/Github/nwb-guide/pyflask/app.py
13879 INFO: Processing pre-safe import module hook six.moves from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-six.moves.py'.
14659 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/pre_safe_import_module/hook-urllib3.packages.six.moves.py'.
19687 INFO: Processing pre-find module path hook site from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/pre_find_module_path/hook-site.py'.
19688 INFO: site: retargeting to fake-dir '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/fake-modules'
43074 INFO: Processing pre-safe import module hook win32com from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/pre_safe_import_module/hook-win32com.py'.
56327 INFO: Processing module hooks...
56327 INFO: Loading module hook 'hook-py.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
56376 INFO: Loading module hook 'hook-numcodecs.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
56378 INFO: Loading module hook 'hook-jinja2.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
56380 INFO: Loading module hook 'hook-boto3.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
57163 INFO: Loading module hook 'hook-appdirs.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
57182 INFO: Loading module hook 'hook-h5py.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
57185 INFO: Loading module hook 'hook-jsonschema.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
57203 INFO: Loading module hook 'hook-pydantic.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
58210 INFO: Loading module hook 'hook-certifi.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
58214 INFO: Loading module hook 'hook-pytest.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
58417 INFO: Loading module hook 'hook-openpyxl.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
58486 INFO: Loading module hook 'hook-lxml.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
59053 INFO: Loading module hook 'hook-lxml.etree.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
59055 INFO: Loading module hook 'hook-flask_restx.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
59068 INFO: Loading module hook 'hook-botocore.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
59895 INFO: Loading module hook 'hook-Cryptodome.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
59908 INFO: Loading module hook 'hook-numpy.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/numpy/_pyinstaller'...
59959 WARNING: Conda distribution 'numpy', dependency of 'numpy', was not found. If you installed this distribution with pip then you may ignore this warning.
59993 INFO: Import to be excluded not found: 'f2py'
60027 INFO: Loading module hook 'hook-scipy.linalg.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
60031 INFO: Loading module hook 'hook-sqlite3.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
60103 INFO: Loading module hook 'hook-pkg_resources.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
61250 WARNING: Hidden import "pkg_resources.py2_warn" not found!
61250 WARNING: Hidden import "pkg_resources.markers" not found!
61261 INFO: Loading module hook 'hook-pandas.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
63876 INFO: Loading module hook 'hook-scipy.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
63879 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
63881 INFO: Loading module hook 'hook-scipy.special._ufuncs.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
63883 INFO: Loading module hook 'hook-pytz.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
63992 INFO: Loading module hook 'hook-lib2to3.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
64040 INFO: Loading module hook 'hook-_tkinter.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
64312 INFO: checking Tree
64313 INFO: Building Tree because Tree-00.toc is non existent
64313 INFO: Building Tree Tree-00.toc
64344 INFO: checking Tree
64344 INFO: Building Tree because Tree-01.toc is non existent
64344 INFO: Building Tree Tree-01.toc
64428 INFO: checking Tree
64429 INFO: Building Tree because Tree-02.toc is non existent
64429 INFO: Building Tree Tree-02.toc
64431 INFO: Loading module hook 'hook-scipy.spatial.transform.rotation.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
64493 INFO: Loading module hook 'hook-encodings.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
64577 INFO: Loading module hook 'hook-PIL.ImageFilter.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
64595 INFO: Loading module hook 'hook-distutils.util.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
64603 INFO: Loading module hook 'hook-keyring.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
64846 INFO: Loading module hook 'hook-pandas.io.formats.style.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
64853 INFO: Loading module hook 'hook-pandas.plotting.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
65025 INFO: Loading module hook 'hook-scipy.sparse.csgraph.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
65029 INFO: Loading module hook 'hook-PIL.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
65063 INFO: Loading module hook 'hook-setuptools.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
66618 INFO: Loading module hook 'hook-importlib_resources.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
66628 WARNING: Hidden import "importlib_resources.trees" not found!
66630 INFO: Loading module hook 'hook-zope.interface.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
66652 INFO: Loading module hook 'hook-gevent.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
Traceback (most recent call last):
  File "<string>", line 21, in walk_packages
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/gevent/testing/__init__.py", line 169, in <module>
    from unittest import mock
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/unittest/mock.py", line 26, in <module>
    import asyncio
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/asyncio/__init__.py", line 8, in <module>
    from .base_events import *
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/asyncio/base_events.py", line 18, in <module>
    import concurrent.futures
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/concurrent/futures/__init__.py", line 8, in <module>
    from concurrent.futures._base import (FIRST_COMPLETED,
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/concurrent/futures/_base.py", line 357
    raise type(self._exception), self._exception, self._traceback
                               ^
SyntaxError: invalid syntax
collect_submodules: failed to import 'gevent.testing'!
67680 INFO: Determining a mapping of distributions to packages...
82072 WARNING: Unable to find package for requirement zope.event from package gevent.
82072 WARNING: Unable to find package for requirement zope.interface from package gevent.
82072 INFO: Packages required by gevent:
['setuptools', 'greenlet']
83386 INFO: Loading module hook 'hook-matplotlib.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
83855 INFO: Loading module hook 'hook-xml.dom.domreg.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
83856 INFO: Loading module hook 'hook-PIL.Image.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
84216 INFO: Loading module hook 'hook-scipy.special._ellip_harm_2.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
84217 INFO: Loading module hook 'hook-scipy.io.matlab.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
84218 INFO: Loading module hook 'hook-packaging.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
84219 INFO: Loading module hook 'hook-pickle.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
84240 INFO: Loading module hook 'hook-matplotlib.backends.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
84952 INFO:   Matplotlib backend "GTK3Agg": ignored
    The GTK3 backends require PyGObject
85227 INFO:   Matplotlib backend "GTK3Cairo": ignored
    cairo backend requires that pycairo>=1.14.0 or cairocffi is installed
85627 INFO:   Matplotlib backend "GTK4Agg": ignored
    The GTK4 backends require PyGObject
85946 INFO:   Matplotlib backend "GTK4Cairo": ignored
    cairo backend requires that pycairo>=1.14.0 or cairocffi is installed
86702 INFO:   Matplotlib backend "MacOSX": added
86997 INFO:   Matplotlib backend "nbAgg": ignored
    No module named 'ipykernel'
87283 INFO:   Matplotlib backend "QtAgg": ignored
    Failed to import any of the following Qt binding modules: PyQt6, PySide6, PyQt5, PySide2
87563 INFO:   Matplotlib backend "QtCairo": ignored
    cairo backend requires that pycairo>=1.14.0 or cairocffi is installed
87835 INFO:   Matplotlib backend "Qt5Agg": ignored
    Failed to import any of the following Qt binding modules: PyQt6, PySide6, PyQt5, PySide2
88116 INFO:   Matplotlib backend "Qt5Cairo": ignored
    cairo backend requires that pycairo>=1.14.0 or cairocffi is installed
88761 INFO:   Matplotlib backend "TkAgg": added
89192 INFO:   Matplotlib backend "TkCairo": ignored
    cairo backend requires that pycairo>=1.14.0 or cairocffi is installed
89478 INFO:   Matplotlib backend "WebAgg": ignored
    Traceback (most recent call last):
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/matplotlib/backends/backend_webagg.py", line 27, in <module>
    import tornado
ModuleNotFoundError: No module named 'tornado'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 12, in <module>
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/matplotlib/backends/backend_webagg.py", line 29, in <module>
    raise RuntimeError("The WebAgg backend requires Tornado.") from err
RuntimeError: The WebAgg backend requires Tornado.
89860 INFO:   Matplotlib backend "WX": ignored
    No module named 'wx'
90134 INFO:   Matplotlib backend "WXAgg": ignored
    No module named 'wx'
90405 INFO:   Matplotlib backend "WXCairo": ignored
    No module named 'wx'
90823 INFO:   Matplotlib backend "agg": added
91089 INFO:   Matplotlib backend "cairo": ignored
    cairo backend requires that pycairo>=1.14.0 or cairocffi is installed
91942 INFO:   Matplotlib backend "pdf": added
92615 INFO:   Matplotlib backend "pgf": added
93695 INFO:   Matplotlib backend "ps": added
94141 INFO:   Matplotlib backend "svg": added
94783 INFO:   Matplotlib backend "template": added
98282 INFO: Loading module hook 'hook-importlib_metadata.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98284 INFO: Loading module hook 'hook-heapq.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98302 INFO: Loading module hook 'hook-scipy.stats._stats.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98304 INFO: Loading module hook 'hook-difflib.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98322 INFO: Loading module hook 'hook-multiprocessing.util.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98347 INFO: Loading module hook 'hook-sysconfig.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98359 INFO: Loading module hook 'hook-xml.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98361 INFO: Loading module hook 'hook-distutils.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98364 INFO: Loading module hook 'hook-numpy._pytesttester.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98377 INFO: Loading module hook 'hook-lxml.objectify.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
98382 INFO: Loading module hook 'hook-lxml.isoschematron.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/_pyinstaller_hooks_contrib/hooks/stdhooks'...
98391 INFO: Loading module hook 'hook-PIL.SpiderImagePlugin.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
98704 INFO: Loading module hook 'hook-setuptools.msvc.py' from '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks'...
99001 INFO: Looking for ctypes DLLs
99055 WARNING: Library user32 required via ctypes not found
99114 WARNING: Library msvcrt required via ctypes not found
99269 INFO: Analyzing run-time hooks ...
99299 INFO: Including run-time hook '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgutil.py'
99302 INFO: Including run-time hook '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py'
99305 INFO: Including run-time hook '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_inspect.py'
99307 INFO: Including run-time hook '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth__tkinter.py'
99309 INFO: Including run-time hook '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_pkgres.py'
99315 INFO: Including run-time hook '/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/hooks/rthooks/pyi_rth_mplconfig.py'
99400 INFO: Looking for dynamic libraries
Traceback (most recent call last):
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/__main__.py", line 134, in <module>
    run()
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/__main__.py", line 124, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/__main__.py", line 58, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 782, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 714, in build
    exec(code, spec_namespace)
  File "/Users/garrettflynn/Documents/Github/nwb-guide/app.spec", line 7, in <module>
    a = Analysis(['pyflask/app.py'],
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 277, in __init__
    self.__postinit__()
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/datastruct.py", line 155, in __postinit__
    self.assemble()
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 494, in assemble
    self.binaries.extend(bindepend.Dependencies(self.binaries, redirects=self.binding_redirects))
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/depend/bindepend.py", line 210, in Dependencies
    for lib, npth in selectImports(pth, xtrapath):
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/depend/bindepend.py", line 462, in selectImports
    dlls = getImports(pth)
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/depend/bindepend.py", line 703, in getImports
    return _getImports_macholib(pth)
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/depend/bindepend.py", line 603, in _getImports_macholib
    m = MachO(pth)
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/macholib/MachO.py", line 122, in __init__
    self.load(fp)
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/macholib/MachO.py", line 137, in load
    self.load_header(fh, 0, size)
  File "/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/macholib/MachO.py", line 171, in load_header
    raise ValueError("Unknown Mach-O header: 0x%08x in %r" % (header, fh))
ValueError: Unknown Mach-O header: 0x7f454c46 in <_io.BufferedReader name='/opt/anaconda3/envs/env-electron-python/lib/python3.9/site-packages/sonpy/linux/sonpy.so'>

looks like we just need to list tornado as a Python dependency

Ran again after installing tornado, but it still breaks at that last ValueError

On my M1 I get
For npm run python-onefile-build:

35759 WARNING: lipo command (['lipo', '-thin', 'arm64', '/Users/codybaker/Library/Application Support/pyinstaller/bincache00_py39_64bit/arm64/adhoc/no-entitlements/Cryptodome/PublicKey/_x25519.abi3.so', '-output', '/Users/codybaker/Library/Application Support/pyinstaller/bincache00_py39_64bit/arm64/adhoc/no-entitlements/Cryptodome/PublicKey/_x25519.abi3.so']) failed with error code 1!
stdout: ''
stderr: 'xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun\n'
Traceback (most recent call last):
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/__main__.py", line 134, in <module>
    run()
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/__main__.py", line 124, in run
    run_build(pyi_config, spec_file, **vars(args))
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/__main__.py", line 58, in run_build
    PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 782, in main
    build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 714, in build
    exec(code, spec_namespace)
  File "/Users/codybaker/nwb-guide/app.spec", line 23, in <module>
    exe = EXE(pyz,
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/api.py", line 489, in __init__
    self.pkg = PKG(
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/api.py", line 204, in __init__
    self.__postinit__()
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/datastruct.py", line 155, in __postinit__
    self.assemble()
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/api.py", line 267, in assemble
    fnm = checkCache(
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/building/utils.py", line 360, in checkCache
    osxutils.binary_to_target_arch(cachedfile, target_arch, display_name=fnm)
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/utils/osx.py", line 300, in binary_to_target_arch
    convert_binary_to_thin_arch(filename, target_arch)
  File "/Users/codybaker/miniconda3/envs/env-electron-python/lib/python3.9/site-packages/PyInstaller/utils/osx.py", line 281, in convert_binary_to_thin_arch
    raise SystemError("lipo failure!")
SystemError: lipo failure!

and with npm run build-mac

Done notarizing com.catalystneuro.nwbguide
  • building        target=DMG arch=arm64 file=dist/NeuroConv-0.0.1-arm64.dmg
  • building        target=macOS zip arch=arm64 file=dist/NeuroConv-0.0.1-arm64-mac.zip
  • building embedded block map  file=dist/NeuroConv-0.0.1-arm64-mac.zip
  ⨯ Exit code: ENOENT. spawn /usr/bin/python ENOENT  stackTrace=
                                                                 Error: Exit code: ENOENT. spawn /usr/bin/python ENOENT
                                                                     at /Users/codybaker/GitHub/nwb-guide/node_modules/builder-util/src/util.ts:129:16
                                                                     at exithandler (node:child_process:406:5)
                                                                     at ChildProcess.errorhandler (node:child_process:418:5)
                                                                     at ChildProcess.emit (node:events:526:28)
                                                                     at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
                                                                     at onErrorNT (node:internal/child_process:478:16)
                                                                     at processTicksAndRejections (node:internal/process/task_queues:83:21)

Windows build worked fine for me though

I got past the error by installing some packages from conda-forge instead of building them locally which resulted in architecture mismatches. I can build the app but when I run it, I get:
❯ /Users/rly/Documents/NWB/nwb-guide/pyflaskdist/app ; exit;
Traceback (most recent call last):
  File "app.py", line 8, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "namespaces/__init__.py", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "namespaces/configureNamespaces.py", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "flask_restx/__init__.py", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "flask_restx/reqparse.py", line 15, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "flask_restx/model.py", line 13, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "jsonschema/__init__.py", line 17, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "jsonschema/validators.py", line 19, in <module>
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "PyInstaller/loader/pyimod02_importers.py", line 385, in exec_module
  File "jsonschema_specifications/__init__.py", line 11, in <module>
  File "referencing/_core.py", line 297, in __rmatmul__
  File "jsonschema_specifications/_core.py", line 27, in _schemas
  File "pathlib.py", line 1017, in iterdir
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/cp/nh4x2lls1qq03jh58crvh8t00000gp/T/_MEILQEzPe/jsonschema_specifications/schemas'
[649] Failed to execute script 'app' due to unhandled exception!

The latest versions of jsonschema and jsonschema_specifications are installed. I think the path to the .json files in jsonschema_specifications/schemas/ needs to be included. @CodyCBakerPhD @garrettmflynn have you seen this issue in the other OS builds?

Regarding the sonpy error:
sonpy is a package to read CED / Spike2 files in Python. It is closed-source and officially distributed in compiled form by CED. It is released on PyPI, but is restricted to Python 3.9 or earlier (to be specific, the latest version is restricted to Python 3.9 only, but older versions work on Python 3.7 and 3.8). Neuroconv accounts for this -- if the user is running Python 3.10+ and tries to convert Spike2 data, they will get an error. sonpy also does not run on Apple Silicon. Related discussion: https://github.com/NeurodataWithoutBorders/nwb-guide/pull/244
On Python 3.9 on macOS x86, it runs fine. On this system, for some reason, the .../linux/sonpy.so file within the sonpy package cannot be read by pyinstaller, resulting in the error in the first post. My guess is that this file was built for linux, but we are building for macs (it lives in .../linux/sonpy.so next to a separate .../darwin/sonpy.so for macs). Pyinstaller tries to read all *.so files and trips up because of that. #353 supports that theory -- deleting that file on mac builds allows the build to complete.
We should reach out to CED and see if they can release wheels for Python 3.10 and Python 3.11 so that we are not locked to Python 3.9, and also wheel for Python 3.9-3.11 for arm64.
For macos arm64 builds, I need to pip uninstall sonpy to build the distributable locally. Otherwise I get the error:
PyInstaller.utils.osx.IncompatibleBinaryArchError: /Users/rly/mambaforge/envs/nwb-guide/lib/python3.9/site-packages/sonpy/darwin/sonpy.so is incompatible with target arch arm64 (has arch: x86_64)!


feat: add 'add team entry' cmd, basic database features

sean won't let me create new branch so im pull req into master for now, this is actually supposed to go into a new branch will do that as soon as sean responds

lol can't even label this pull req :/


Add reminder to upload logs as Jira attachments

Clusters don't remain on prod for too long - users reset them after a
while, or they get garbage collected. Sometimes the cluster on prod
has logs we don't have in Installation logs - if that's the case,
we should upload those logs as Jira attachments as soon as possible,
while we have that data.
This commit adds a bold red reminder under the cluster on prod link to
remind triagers to do that

/cc @mkowalski

/hold because @mkowalski feels strongly about being verbose in these so I need to wait for his opinion


Shape of color temperature curve

If I got this right then color temperature curve used by this component looks like half sine wave (max. color temperature reacher only for a short period of time). Any change this could be controlled somehow? I would like color temperature curve to look more like brightness curve looks like (kind of square wave with smoothened rise and fall). Perhaps adding optional configuration options like rise time and fall time?
For background info; I am ATM using flux component and hacked functionality like this into it (actually I set dawn, sunrise, sunset and dusk times and color temperatures and color temperature will only change between dawn-sunrise and sunset-dusk). I have found this to be superior compared to out-of-the-box flux and if I got this right out-of-the-box adaptive-lighting. I live in northern countries and during winter I get very little real sunlight so this may affect on one's experience what is good curve and what is not.
I thought about creating pull request for my flux modifications but looks like this adaptive-lighting is superior in every way so ditched the idea...

What you suggest seems reasonable. Could you share your flux edits somewhere such that I can take a look at the code?

Perhaps adding optional configuration options like rise time and fall time

This isn't possible now, but I will consider doing this.

My customized flux can be found from:
https://github.com/jarpatus/core/blob/dev/homeassistant/components/flux/switch.py
Disclaimer: I am no python developer nor home assistant developer, so take this with grain of salt.

This would be great.
Maybe set a time frame in which temperature is not affected (for instance from sunrise to 1 hour before sunset).
Afterall, talking about circadian rithms, once sun has risen, it doesn't make sense to don't have a cold/blue light once sun has risen. It doesn't have to be gradually increased.
My proposal would be to have a few time ranges where you can set the start and end time.

TRANSIENT TO DAY LIGHT. From warm to cold. For instance, you can set to zero this transient to day light, thus making it instant, or define it.
DAY LIGHT. During this period colour temperature and brightness remain equal, no changes are made.
TRANSIENT TO DAY LIGHT: Same as transient to day light but from cold to warm.
NIGHT LIGHT: Same as day light. During this period colour temperature and brightness remain equal, no changes are made.

More control over the color and temperature curves would be great.
My use case is that in winter I don't want to follow sunrise/sunset. I would rather my circadian rhythm followed a standard working day (100% blue and bright 9am till 5.30) even though it gets dark before 5.30.

Hey @jarpatus, @jd1900, @euinor,
I feel like that's a duplicate of #100 and #131 - do you agree?

@RubenKelevra at least #100, if implemented, would be superset of this one (if you can manually set color temperatures for each start times so you can shape your curve as you wish). So yeah I agree!

@RubenKelevra at least #100, if implemented, would be superset of this one (if you can manually set color temperatures for each start times so you can shape your curve as you wish). So yeah I agree!

Okay, no that's not the case.
I feel like #100 only covers that we have like a natural and a synthetic curve for the color temperature. :)

@sstarcher wrote:

I'm in a similar position where I want the morning light to not really follow the sun and to instead lock my circadian rhythm in to help wake me up before work.

Well, that's a time shift of the sunrise, which you can do right now. Just go to the settings and select a different time for the sunrise.

This very much interests me and if we can define an acceptable way to implement this I would be happy to add this feature.

Well, while I can see that some might think that this is what's the solution I doubt that there are many people willing to either create hundreds of points on a LUT or have the formula to do the same to define their own color temperatures.
I think what people really want is that the current functionality works better, closer to reality.
While custom color curves might be a feature in the future I think it's best to keep this to PRs to the project, to ship the work to other users as well.
Additionally many users might just have different lights, so their perceptions of how the program is currently working is different. That's why it's important to have color temperature as well brightness corrections (https://github.com/basnijholt/adaptive-lighting/issues/124).

It makes sense to reexamine this decision after version 2.0 release

And to be clear on my point.  I don't want "sunrise".  I want 100% or near 100% brightness first thing in the morning and a lowering to sunset in the evening.  For helping you wake up you are better with extra brightness in the morning to set your clock.

Was about to create an issue for this. At the moment, with max kelvin set to 4000 (I don't want the light to get any cooler), the lights are too warm at 6:30am compared to the sunlight. Ideally, I'd like them to either match or be cooler than sunlight for those murky winter days to come. From what I see, customizing the shape of the color and brightness curves would allow me to do just that.

+1
Apple HomeKit adaptive lighting works in a similar way as discussed in this thread. In another issue, I described in more detail my observation of Apple HomeKit adaptive lighting, and also attached a curve graph and text data.

The brightness graph has a few different algorithms one can choose from (default, linear, tanh). If the same options were implemented for color temperature, that seems like it would fulfill this request. (I came here assuming that it did, as I want to change the color temp only during my artificial sunrise/sunset. I can currently do this with the native Hue automations, but I just started migrating everything to HA.)


Lean Kata not showing up in Kata search by language

Lean versions are currently available for Multiply, Theorem proving hello world and Multiples of 3, you say?; however, when I search Kata by language = Lean, the only Kata that is displayed is Multiply. Furthermore, I've noticed that Multiply got bumped after accepting a Lean translation but not the other two.

Codewar's search index sometimes fails to update. I just manually triggered reindexing for those and it's now showing up.


Consolidate YAML files [part-13]

This PR deals with YAML files referenced by the following two topics:

concepts:object management
concepts:service networking

When scanning references to the YAML files to be moved, some trivial
editings were applied to the markdown files. None of this editing should
break the build or ruin the doc otherwise.

Links to previews:

https://deploy-preview-9377--kubernetes-io-master-staging.netlify.com/docs/concepts/overview/object-management-kubectl/declarative-config/
https://deploy-preview-9377--kubernetes-io-master-staging.netlify.com/docs/concepts/overview/working-with-objects/kubernetes-objects/
https://deploy-preview-9377--kubernetes-io-master-staging.netlify.com/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
https://deploy-preview-9377--kubernetes-io-master-staging.netlify.com/docs/concepts/services-networking/connect-applications-service/
https://deploy-preview-9377--kubernetes-io-master-staging.netlify.com/docs/concepts/services-networking/dns-pod-service/
https://deploy-preview-9377--kubernetes-io-master-staging.netlify.com/docs/concepts/services-networking/ingress/

@tengqm I was trying to fix a merge conflict in examples_test.go, and I got the file messed up. I've seen this type of error before, but I've never understood it. Can you see what's wrong? And can you fix the merge conflict? Thanks.
test/examples_test.go:563:3: missing ',' before newline in composite literal
test/examples_test.go:566:14: missing ',' in composite literal
test/examples_test.go:570:3: missing ',' before newline in composite literal
test/examples_test.go:573:4: missing ',' before newline in composite literal
test/examples_test.go:575:69: missing ',' before newline in composite literal
test/examples_test.go:577:11: missing ',' in composite literal
test/examples_test.go:578:2: expected operand, found 'for'
test/examples_test.go:584:4: missing ',' in composite literal
test/examples_test.go:585:7: missing ',' in composite literal
test/examples_test.go:586:5: expected operand, found 'if'
test/examples_test.go:587:6: expected operand, found 'if'

@steveperry-53 I'm onto it.

/approve
/lgtm


Request for alternative syntax to improve auto-complete experience

Consider the following import statement:
import { int, float } from '../lang';

With auto-suggest I need to start this by typing:
import {} from '../lang';

Then I can go back inside the {} and get auto-suggestions.
It would be very nice if TypeScript supported an alternate syntax for the same expression that was more conducive to auto-complete features.
For example:
import from '../lang' { int, float };

This doesn't introduce any confusion or ambiguity about the meaning of the expression, either to the transpiler or the human reader, yet it provides a time-saving experience to the author when taking advantage of auto-complete features.  I can now simply type the expression naturally from left to right, and get auto-suggestions/completions for both the from '...' and {}.
There are other cases where an alternate syntax would be beneficial.  I will update this issue as I compile a list.  Hopefully others will comment with suggestions as well.

You're right that this is an awkward piece of syntax for tooling, but new alternate syntax is not the solution you want here. There is a simple and easy solution that doesn't require altering the language and diverging from ES6 syntax though: code snippets. It would look sort of like this:

When you type 'imp' you should get a completion that is a snippet for the right import syntax. After committing the snippet (via enter, tab, space, etc) the cursor should be placed on the RHS to type the actual module name. After committing that text (via enter or tab) the cursor jumps back to the import names where you now can get completion suggestions since the module name has been written.

This is a good example of the difference between the developer mindset and
the designer mindset.
The developer comes up with a technology solution that assists the user in
adapting to the product.
The designer aims to adapt the technology to the natural processes of the
user.
In this case the target users are themselves developers, so you might think
it's not a big deal. However, it actually results in one decision, from a
developer mindset, sending the message to thousands of other developers
that this mindset is the best way to address the user experience.
I'm sure we could debate this until we are old and grey, but consider the
difference between the user satisfaction numbers of iPhones vs Android
phones. Which of the user experiences is driven almost entirely from the
designer mindset? (Yeah, I know, TypeScript is a Microsoft project...
That's why I left them out of the analogy)
I'll add the disclaimer that I've spent my entire career as a designer who
every once in a while learns a new development technology in order to get a
PoC in front of clients or investors. I do recognize the progress being
made in making it quick and relatively painless to develop robust and
impressive solutions, however I remain constantly reminded that the
industry is still driven by the notion that code in hand is more valuable
than taking the time to understand who the code is being written for.
Take my opinions with as many grains of salt necessary. It's my intention
for this to be constructive as opposed to insulting.
On Monday, March 16, 2015, Dan Quirk<EMAIL_ADDRESS>wrote:

You're right that this is an awkward piece of syntax for tooling, but new
alternate syntax is not the solution you want here. There is a simple and
easy solution that doesn't require altering the language and diverging from
ES6 syntax though: code snippets. It would look sort of like this:
[image: importsnippet]
https://cloud.githubusercontent.com/assets/7121557/6675184/1c9ed450-cbdc-11e4-9906-d314542de565.gif
When you type 'imp' you should get a completion that is a snippet for the
right import syntax. After committing the snippet (via enter, tab, space,
etc) the cursor should be placed on the RHS to type the actual module name.
After committing that text (via enter or tab) the cursor jumps back to the
import names where you now can get completion suggestions since the module
name has been written.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript/issues/2371#issuecomment-81905846
.

--
Greg Dorval

Senior Data Architect* at NAV Canada http://www.navcanada.ca
<EMAIL_ADDRESS>Phone:<PHONE_NUMBER>
Skype: greg.dorval
BBM PIN: 54BB8FAF

https://plus.google.com/+GregDorval https://twitter.com/gregdorval
https://twitter.com/gregdorval
http://navcanada.ca
https://twitter.com/gregdorval https://plus.google.com/+GregDorval/posts
http://ca.linkedin.com/in/gregdorval
https://mail.google.com/mail/u/0/greg.dorval

We, and especially I, most definitely take the user experience seriously. You'll find more than a few comments from me throughout our issue tracker on where we're failing on that front (whether in the language itself or in the tooling) and what must be fixed. In this case you're simply not understanding the true costs and trade offs of the two proposed solutions. We cannot change the ES6 module syntax, that ship has sailed, it is not under our control, we can only provide another piece of input to the larger committee (which we have/did/do). We have to accept that the majority of future JavaScript brought to TypeScript will use this syntax that you do not like (for the record, I do not like it either, it clearly was designed without prioritizing the tooling related featured). So even if we take your proposed solution, the majority of people will not be able to benefit from it because they have tons of existing code that uses the JavaScript style and will want to remain consistent. On the other hand, by introducing our own syntax we risk future incompatibilities with JavaScript if they ever do change/augment their syntax, we require JavaScript developers to learn a new syntax, and we diverge further from JavaScript. This actually makes the user experience worse by having two pieces of different syntax that do identical things (particularly the initial on boarding experience for new TypeScript users), which is precisely why most languages try to avoid doing that sort of thing.
We very rarely alter expression level syntax like you're proposing, and that's for good reasons, not because we don't prioritize the quality of the user experience. TypeScript is intended to be a typed superset of JavaScript. If we repeatedly alter expression level syntax for relatively minor gains then we will fail to maintain that design and end up with a very different language that simply compiles to JavaScript. The proposal I've shown above is exactly the type of UX developers are used to in a variety of different IDEs in order to speed up writing out boilerplate code. Snippets like this have been a frequently requested feature in TypeScript specifically since we didn't support them as well as other Visual Studio languages and other editors.
We are not an iPhone app. We cannot simply make changes and break that functionality later if we decide we don't like it. Likewise any change we make today risks making any future designs harder for ourselves if we use up the valuable, limited design space that syntax and semantics affords us. The language decisions we make we live with forever and impact our future decisions forever.
Yes, in an ideal world the ES6 syntax would be closer to what you're proposing and autocomplete would 'just work' without any extra tooling support. In reality we have to work with what's there and the snippet experience I showed above is a pretty solid solution that you'll find is actually quite natural and does not require any significant change in workflow or mental model.

See also #2370 for discussions of how no one really likes the ES6 module import/export syntax. It's frustrating for us, too.
The whole problem of how syntax influences tooling is one the team is intimately aware of -- one reason C# LINQ syntax moved the from clause to the front of the expression (rather than in the middle like SQL or Python does) was so that the tooling experience could be great. It's just a trade-off TypeScript has to make in order to be more JavaScript and less its own language by itself.

I completely understand that we don't operate in an ideal world where we
have the freedom to always do things the way we would like.  I didn't mean
to imply that any of the TypeScript team or contributors are not
considering the user experience or make any kind of less intelligent
decisions than I could or would.  My reply did sound pretty critical and I
apologize for that.  I understand that we all have to work within the
constraints of legacy systems, standards and mindsets; even as we strive
for delivering a better experience.  Throughout my 17 years designing
software, every end product has always been a slight (or sometimes
significant) bastardization of my design, always due to various
constraints.   The good news is that the degree of bastardization has been
diminishing, which is a good indication of progress.
So let me take this opportunity to commend the TypeScript team for making
significant progress in helping people like me achieve our design &
development goals faster, cheaper and with significantly fewer bugs.
My comments may come across as harsh or abrasive but please know that I am
very grateful for the work that everyone in the open source community
continues to put in.
I'd rather be part of the solution than the guy standing on the sideline
complaining yet doing nothing about it.  As I learn and work on
implementing my designs with these new technologies I'd like to contribute
back to the community any way I can.
Greg Dorval

Senior Data Architect* at NAV Canada http://www.navcanada.ca
<EMAIL_ADDRESS>Phone:<PHONE_NUMBER>
Skype: greg.dorval
BBM PIN: 54BB8FAF

https://plus.google.com/+GregDorval https://twitter.com/gregdorval
https://twitter.com/gregdorval
http://navcanada.ca
https://twitter.com/gregdorval https://plus.google.com/+GregDorval/posts
http://ca.linkedin.com/in/gregdorval
https://mail.google.com/mail/u/0/greg.dorval
On 17 March 2015 at 11:09, Ryan Cavanaugh<EMAIL_ADDRESS>wrote:

See also #2370 https://github.com/Microsoft/TypeScript/issues/2370 for
discussions of how no one really likes the ES6 module import/export syntax.
It's frustrating for us, too.
The whole problem of how syntax influences tooling is one the team is
intimately aware of -- one reason C# LINQ syntax moved the from clause to
the front of the expression (rather than in the middle like SQL or Python
does) was so that the tooling experience could be great. It's just a
trade-off TypeScript has to make in order to be more JavaScript and less
its own language by itself.
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript/issues/2371#issuecomment-82398661
.

@danquirk, is anything being done about #312?

I don't know where it currently lies in our scheduled work but it is definitely not forgotten about. The import one in particular was the first thing I thought about when shown a demo of typing the ES6 module syntax.

It would be nicer to have it sooner than later - especially as people start converting from the legacy import statements to the new syntax.


Warning when using Nuxt

Hi, I'm using Nuxt 2.0 and I had been using vue-tel-input since version 2.0.10 without any problem. But recently I updated it to version 2.0.18 and it started to throw the following warning:
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

As far as I know, it is an issue with webpack itself but is there something I can do?

Might be because of updating serve package in 458c8b230e48e9e3f18c9864e3fe088aa40da08c?
Do you have an easy way to reproduce your issue? I will make some tests.

Just import it as show in the examples, it will throw the warning. Thanks for the help 😄

I'm running nuxt 2 and it's working for me, are you sure your setup is right?

My setup is the following one:
I have my plugin declared in my puglin folder ~/plugins/vue-tel-input.js:

Then I have it declared in my ~/nuxt.config.js

Finally I use it in my component:

As I said before, this worked totally fine until the update of the library. I used nuxt 2 too by te way.
Thanks for the help 😄

@roeeyn We changed the way we built in bbadda59b1628145d17169f9352c358abcf4a6c1. Can you update to the newest version and see if it's still happening?

I think it should be fixed in the same way with #105. Feel free to re-open if it still happens to you.


extraContent not working as expected

UnoCSS version
0.50.6
Describe the bug
I'm using extraContent, but it isn't working as expected:
In the monorepo, I have a package. This package uses another package with Vue & unoCSS components.
To get the styles from the other package, I use the extraContent property that points to the (custom) npm-module.
The thing is, when I go to the @unocss/vite source-code and I comment the following out (function setupExtraContent):
if (!filter(code, file)) {
  return;
}

Everything works as expected, when this check is removed. I can not find any info on what this does?
What am I doing wrong? Is this a bug?
Reproduction
Pretty hard to reproduce. I have a monorepo with multiple custom npm-packages. These files are also build to .js-files.
See the following code that is being build (and where I want to search for classes):
return t.icon && (console.log("Trying to load", t.icon), r()), {
      classes: g(() => ({
        "font-bold rounded-full outline-none focus-visible:ring-2 ring-blue-500 disabled:cursor-not-allowed font-heading": !0,
        "bg-ct-blue-500 px-4 text-white hover:bg-ct-blue-600 active:bg-ct-blue-400 active:text-ct-blue-600 disabled:bg-ct-black-500 disabled:text-ct-black-700 py-2 px-6": t.style === "primary",
        "bg-ct-black-200 px-4 text-ct-blue-500 active:bg-ct-blue-400 active:text-ct-blue-600 hover:bg-ct-blue-200 focus-visible:bg-white disabled:bg-ct-black-300 disabled:text-ct-black-700 py-2 px-6": t.style === "secondary",
        "bg-transparent px-4 text-ct-blue-500 hover:text-ct-blue-600 active:text-ct-blue-600 disabled:text-ct-black-300 py-2 px-6": t.style === "tertiary",
        "bg-transparent text-black hover:bg-ct-black-200 @dark:hover:bg-ct-black-800 active:bg-transparent disabled:text-ct-black-300 p-4 @dark:text-white": t.style === "icon",
        "bg-ct-red-500 px-4 hover:bg-ct-red-600 active:bg-ct-red-400 active:text-ct-red-500 disabled:bg-ct-red-300 disabled:text-ct-red-400 py-2 px-6": t.style === "destructive primary",
        "bg-transparent px-4 text-ct-red-500 hover:text-ct-red-600 active:text-ct-red-600 disabled:text-ct-red-400 py-2 px-6": t.style === "destructive tertiary"
      })),
      onClick() {
        o("click");
      },
      Icon: e
    };

I use the extraContent like:
extraContent: {
  filesystem<EMAIL_ADDRESS>},

System Info
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

JS files are not processed by default.
https://github.com/unocss/unocss/blob/224f90fd9bd11ea74fa1aaba1d80f8ece69d8da2/packages/shared-integration/src/defaults.ts#L5
You can configure this option:
include: [
  /\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/,
  /@creative-therapy/
],
extraContent: {
  filesystem<EMAIL_ADDRESS>},

Adding JS files to original filter would have been slow down your build process too much. This configuration whilelisting your projects name.


Question about "padding" in pool and conv function

Hi, this is not an issue but a question:
watching your code i wanna ask you why you pass padding = VALID when you call function here
and in your definition of that function you pass padding = SAME
Same thing about conv
Thanks for the huge work.
Hope you can solve my doubt

Good question! This is more a kind of artifact in this code. I copied the layer helper functions from another project and didn't remove this default input setting.
But to be clear: The padding = 'SAME' in the definition of the layer functions is just used as default value if you aren't passing a padding argument when you call the function. Since I always explicitly write padding = 'VALID' when I call one of the layer functions, the default setting is ignored.
For this repository it isn't the most beautiful way, better would be maybe to set VALID as input and don't pass any argument on function call or don't set any default. But yeah...as I said, this is more due to my lazy copy and paste ;)

@kratzert Thank you for the answer ;)


Possible bug or java compatibility issue in AAGUID comparison

I really appreciate the creation and maintenance of this library! I am using it in a Java implementation but ran into an issue in AttestationValidator.kt verifyAuthenticatorData: the "AAGUID does match neither" exception is being thrown. I find that the values being compared are similar to: expected=12300456-4242-1234-1464-6571236c6f70 and actual=12300456-4242-1234-1400-000000000000 (not the real values).
Observe that the first 16-bytes of the two values are equivalent, as expected. But, the comparison is on the whole 36-bytes on this line: authenticatorData.attestedCredentialData.aaguid != appleAppAttestEnvironment.aaguid.
The comment on Extensions.kt ByteArray.toUUID() function agrees with the Apple documentation "Create a UUID from a [ByteArray] of a length no more than 16 bytes, padded with zeros, if necessary." So, the intention is clear. But, my implementation shows that the actual UUID is padded with zeroes but the expected AAGUID is not padded with zeroes, so the comparison fails.
I patched the library to compare only the first 16-bytes and that makes my attestations work! So, I am pleased about that.
But, do you think the root cause is because I am using the library from Java? What is the proper way to fix it?

Sorry for not coming back to you earlier. I am, however, unable to reproduce your issue. To make sure the code produces the correct AAGUIDs, I added an additional test in #30.
Feel free to add additional information and I'll try to figure out what's going on.

Feel free to reopen if necessary.

One of my prod envs (but not all) gives same.
But i'm failing to reproduce locally too yet.

oh, sorry, abort mission - attestation object was for PRODUCTION, but server env expected DEVELOPMENT, not the same issue.


Document and cover supported Kubernetes versions

# TODO: Document which versions we support and cover them.

Yes, please create an issue for it. I'm not sure what range of k8s versions we support.
Originally posted by @cognifloyd in https://github.com/StackStorm/stackstorm-k8s/issues/341#issuecomment-1358827972

Kubernetes release information is here.
At the time of this comment:

The Kubernetes project maintains release branches for the most recent three minor releases (1.26, 1.25, 1.24).

Closed by #346.


Menu Loop

When I press Enter to start playing, it loops back to the menu.

Could you add it to the prebuilt ISO? I don't have a Linux machine, so I don't think I can build it...

Unfortunately I don't have a Linux machine available right now either.

I'm gonna try it with Cygwin, I will get back to you when I am done. (If it even works)


Enhance multipart handling

Starlite currently uses the Starlette built-in multipart handling, which is somewhat limited. @adriangb has proposed to enhance this by supporting different encodings and data.

Linking #8 since it is related.
Starlette does support receiving forms with different encodings in the parts. It's just that it gives you everything as an UploadFile or a string. So this framework would have to build on top of that and e.g. parse the string into JSON -> into a Pydantic model, or parse the string into a Form, etc.

Why not implement this? What are the cons?

@adriangb - so, whats the status of this? do you intend to add a PR addressing this?
As far as I am concerned it shouldn't be a problem to resolve this using typing data. Namely, the data should be parsed into python based on the encoding, and then transformed into the data type set by the user.

There were some parts of this that were not clear to me w.r.t the syntax, how deeply you want to support this, etc. It seems like you're moving pretty fast and already implemented something in #23, so I'll go ahead and close this issue. Thanks!