[BUG] UI not refreshing when cluster members are added or removed

Rancher v2.6.3
To Reproduce

Navigate to Cluster -> Explore -> RBAC -> Cluster Members
Remove a member (Context Menu -> Delete)
Notice that the resource remains stuck in Removing state
While keeping this browser session open, login with another user account in a different browser
Add a member to the cluster in the second browser session
Notice that the new member is not dynamically displayed in the first browser session (browser refresh required)

Expected Result
UI should be refreshed when resources are added or removed.

I wonder if this issue could be caused by Chrome not updating pages properly when self-signed certs are used. See Jason's comment https://github.com/rancher/dashboard/issues/3936#issuecomment-1022772061

Note Cluster Members is now under the 'Cluster' menu item

Shavin and I spent ages looking into this - there is something strange in here that is going to take longer to get to the bottom of.

@gaktive Pushing out to 2.7.0

Nancy fixed a similar-sounding issue https://github.com/rancher/dashboard/issues/5497 with this PR - https://github.com/rancher/ui/pull/4824 Maybe a similar change would be needed here.

Steps to Reproduce:
Rancher Version : v2.6.7

Create a RKE1 cluster
Cluster explorer -> Cluster Members
Add couple of users on the same screen
Delete a Member and check if the user is deleted from the list without a screen refresh
Add a User from a different screen and check if the added user is listing on the screen without a refresh

Actual:
UI is not refreshed and the deleted user is not removed from the list and newly added user is not added to the list in the same screen without a screen refresh


types(reactivity): improve PropertyKey

Thanks for the PR but I don't think this is necessary. A union literal is more straightforward in my opinion.

Thanks for the PR but I don't think this is necessary. A union literal is more straightforward in my opinion.

Yeah, but the number type is missing here~ The PropertyKey built-in type contains number、string、symbol


Examples for image sequence/video

Hello,
Do you have examples of integrating this on image sequences?
I am trying to get rid of ConvLSTM's for encoding sequence of images and AxialAttention may be a good starting point.
Do you have an exmaple/notebook that I could look to integrate this on my type of data?
Thank you for this amazing work.
Thomas

@tcapelle Hello Thomas! I have an example for video, which is images in a sequence, in the readme!


Update example config

What does this PR do?

Add spec.yaml files for kubernetes_state and kubelet checks
Update conf files accordingly

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

I think, you unintentionally removed join_standard_tags from kubernetes_state/data/conf.yaml.example, referenced in the documentation.

@fdc-liebreich sorry about that, thanks for reporting!


[SPARK-12520] [PySpark] Correct Descriptions and Add Use Cases in Equi-Join

After reading the JIRA https://issues.apache.org/jira/browse/SPARK-12520, I double checked the code.
For example, users can do the Equi-Join like
df.join(df2, 'name', 'outer').select('name', 'height').collect()

There exists a bug in 1.5 and 1.4. The code just ignores the third parameter (join type) users pass. However, the join type we called is Inner, even if the user-specified type is the other type (e.g., Outer).
After a PR: https://github.com/apache/spark/pull/8600, the 1.6 does not have such an issue, but the description has not been updated.

Plan to submit another PR to fix 1.5 and issue an error message if users specify a non-inner join type when using Equi-Join.

Test build #48327 has started for PR 10477 at commit 2923182.

Test build #48327 has finished for PR 10477 at commit 2923182.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48327/
Test PASSed.

Merged build finished. Test PASSed.

@davies @JoshRosen Could you check if this PR is appropriate? Thanks!

LGTM, merging into master and 1.6 (for doc). I think it's fine to not fix 1.5 branch, until some one hit it, because we may not have a new release for 1.5 branch.

Thank you!


Service Internal Traffic Policy

I am running K8S v1.23 to benefit from the internalTrafficPolicy feature. The goal is using "cluster" policy for the internal traffic and "local" policy for the external traffic. This should basically be possible even before v1.23 but anyway:
I am initiating traffic from a K8S pod to another pod on the same K8S cluster.
According to:
https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
The "internal" traffic here refers to traffic originated from Pods in the current cluster.
The documentation does not mention any other criteria, does it?
The traffic originated from the K8S pod goes to a K8S service that is assigned an external IP. The K8S pod originating the traffic is using the external IP as the destination IP. The NodePort service type is used to allow the externalTrafficPolicy parameter to be defined but the traffic always goes to the external IP and the service port, and NEVER to the node IP and the node port.
spec:
  clusterIP: <IP_ADDRESS>
  clusterIPs:
    - <IP_ADDRESS>
  externalIPs:
    - <IP_ADDRESS>
  externalTrafficPolicy: Local
  internalTrafficPolicy: Cluster
  ipFamilies:
    - IPv4
  ipFamilyPolicy: SingleStack
  ports:
    - appProtocol: https
      name: proxy
      nodePort: 30823
      port: 443
      protocol: TCP
      targetPort: 8084
  selector:
    app.kubernetes.io/instance: hsr-ipx
  sessionAffinity: None
  type: NodePort
status:
  loadBalancer: {}

Calico IPPool is defined for the external IP CIDR to disable SNAT for the traffic routed internally.
For the external traffic (originated from a Cumulus BGP router deployed outside the K8S cluster), Calico CNI is used to advertise routes to the external IPs via the K8S nodes. The externalTrafficPolicy setting is observed and works as expected.
The problem:
I still believe to see the "local" policy applied to the traffic originated from the K8S pod that should only apply for traffic NOT originated from Pods in the current cluster. I am using kube-proxy in IPVS mode with strict ARP enabled (necessary so that the external BGP router is not receiving routes from the Calico CNI advertising all K8S nodes; instead, only the K8S nodes the endpoints are scheduled on are included in the route advertisement).
Either my observation is wrong, or the documentation is wrong, or something else is wrong.
Could you please clarify? Thanks a lot!

A few ideas:

We could move some of this information into https://kubernetes.io/docs/reference/networking/virtual-ips/
We could widen https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/ to cover internal and external traffic policies
We could edit https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/ https://kubernetes.io/docs/reference/networking/virtual-ips/

Service Internal Traffic Policy is not used when externalTrafficPolicy is set to Local on a Service. It is possible to use both features in the same cluster on different Services, just not on the same Service.

from https://v1-23.docs.kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
:information_source: this looks relevant.


[FEATURE]: Board Settings Permissions

Summary
The Board Settings only can be updated for a specific users/roles:

Team Admin
Stakeholders
The user who created the board

User story it relates to
#144
Motivation
Give the right permissions to the users can edit the board settings.

Note:
return this.boardModel
	.findOneAndUpdate(
		{
			_id: boardId,
			createdBy: userId
		},
		{
			...boardData,
			maxVotes:
			Number(boardData.maxVotes) < Number(currentVotes?.maxVotes) &&
			currentVotes?.totalUsedVotes !== 0
				? currentVotes?.maxVotes
				: boardData.maxVotes
		},
		{
			new: true
		}
	)
	.lean()
	.exec();

1)
The findOneAndUpdate method use the boardId and userId to retrieve the board, validating if the userId it's equals to createdBy id stored on database.
2)
Now it's necessary validate the role of the user, and not only see if the createdBy it's equals to userId.


Scala 3 regression from Scala 2.13 expected a term symbol but received val

ScalaMock Version (e.g. 3.5.0)
6.0.0-M1
Scala Version (e.g. 2.12)
3.3.0
Runtime (JVM or JS)
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-120.04)
Please describe the expected behavior of the issue
This code should compile, it compiles with Scala 2.13. Strange thing is that there are used 2 features  (a default value and a type parameter), when used separately it works, when used together it fails.

This will help us a lot in diagnosing the problem and work on a fix.
If the issue is more complex or requires configuration, please provide a link to a project on Github that reproduces the issue.

trait Foo1 {
  def foo[T](unit: Int): Unit
}

trait Foo2 {
  def foo(unit: Int = 5): Unit
}

trait Foo3{
  def foo[T](unit: Int = 5): Unit
}

test("should compile and works 1") {
  assertCompiles {
    "val foo = mock[Foo1]"
  }
}

test("should compile and works 2") {
  assertCompiles {
    "val foo = mock[Foo2]"
  }
}

test("should compile but fails") {
  assertCompiles {
    "val foo = mock[Foo3]"
  }
}

On it

Fix in 6.0.0-M2


Where is version <IP_ADDRESS>-win81 (29211)?

File: docker-for-windows/release-notes.md

On the page, beneath "Docker Community Edition <IP_ADDRESS>-win81 2018-12-07"


Abnormal memory consumption after trace_tracy feature is enabled.

Bevy version
0.12.1 on crates.io
Relevant system information
rustc 1.74.1 (a28077b28 2023-12-04)
What you did
Playing around my simple demo and my computer get slower and slower.
What went wrong
Bevy takes up much memory.
Additional information
System

Memory:

Demo Structure:

Cargo.toml (the one in the root folder)
[workspace]
resolver = "2"
members = ["cosmos"]

Cargo.toml (the one in the cosmos folder)
[package]
name = "untitled_cosmos"
version = "0.1.0"
edition = "2021"

[dependencies]
bevy = { version = "0.12.1", default-features = false, features = [
    "bevy_asset",
    "bevy_winit",
    "bevy_core_pipeline",
    "bevy_render",
    "bevy_sprite",
    "bevy_text",
    "bevy_ui",
    "multi-threaded",
    "png",
    "bevy_gizmos",
    "default_font",
    "trace_tracy",
] }
# untitled_lib = { path = "../lib" } // this lib folder was deleted to test if the problem is from here. And the answer seems to be no.

main.rs
use bevy::{
    app::{App, PluginGroup},
    window::{PresentMode, Window, WindowPlugin},
    DefaultPlugins,
};

fn main() {
    App::new().add_plugins((DefaultPlugins,)).run();
}

Not only this simple demo(as well as its release build), but also the examples in my own crate will take up crazy amount of memory. I know this is probably not related my code, but in case you want to try the example I said: https://github.com/443eb9/bevy_entitiles/blob/master/examples/basic.rs
What makes this issue more confusing is that after I created another brand new project, it only takes up 90mb and won't increase.


Update credential_phishing_docusign_embedded_image_lure.yml

I have added the typical German attack vocabulary. This way, German attacks are also recognised.

Love this, thanks @padey! I added comments containing the english translation.

@morriscode - thanks, will add this comments next time. :)


borderBottomLeftRadius et. al. produce blurry corners on iOS

It seems that when specifying some, but not all of borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius and borderTopRightRadius, you can end up with some strange effects in the other corners.

See this rnplay or code snippet:
'use strict';

var React = require('react-native');
var {
  AppRegistry,
  StyleSheet,
  Text,
  View,
} = React;

var SampleApp = React.createClass({
  render: function() {
    return (
      <View style={styles.container}>
        <View style={styles.box} />
      </View>
    );
  }
});

var styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: 'white',
  },
  box: {
    borderWidth: 1,
    borderColor: 'black',

    width: 150,
    height: 150,

    borderBottomLeftRadius: 10,
  },
});

AppRegistry.registerComponent('SampleApp', () => SampleApp);

react-native 0.28.0
Seems to occur on iOS, but not on Android
Am I doing something wrong, or is this a bug?

Looks like a bug, I actually hit this problem too.

For me this happens on a real device but doesn't happen on the simulator.

I can't reproduce this (tried Simulator and a couple real devices).

Seems to only happen on non retina devices, I can reproduce it using the original code sample on an iPod Touch. I can also reproduce the bug by setting the scale of the simulator to 50%.

I tested this, and it only appears when the screen's resolution is too low. Is this significant? I think most device from now on will have high resolution, so this wouldn't be an issue.

for me happen on real device: iphone 6 plus

Merge #10823 and #11897 into this one?
Minimal reproduction on RNPlay: https://rnplay.org/apps/Cl4tGg

happen on react-native 0.42.3 & iphone6 plus

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.


Is NoSQL DBMS a Replacement for Relational Database Management System?

this closes #6043
Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

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

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[ ] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #issue-number

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Hey @Greggmun ,
Thanks for submitting this PR.
Your PR has entered our reviewing queue. Please wait until a peer-reviewer pings you with the changes to be made.
Meanwhile, we suggest you to go through other approved PRs/published articles to see if you have missed out anything, which might avoid a potential PR closure.
Thanks.

Hi @Greggmun
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept. Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content. Be sure to see our resources page to see more info on plagiarism and what is considered as such.
New Scan 5_48 PM Copyleaks Report.pdf

@LinusMuema
I see the similarity score is 2.2% from the report you've attached. What similarity score do you normally accept.

Hi @Greggmun
Sorry about that I had confused your articled with another that had a similar score but had one sentence that matched another article.
I can see yours was a description that brought about that. It's okay to proceed.

@Greggmun good article. The tone of the article is great. The contrast between the two DBMS is well done. However, I suggest doing a Grammarly check, then pinging me once the changes are done.

@collins-a This article should have been closed if it needed more revisions

@Greggmun
Good afternoon and thank you for submitting your topic suggestion. Not a problem but it seems that this PR is still quite a bit aways from being completed.
In an effort to be fair to our larger EngEd community as a rule of thumb - we can only accept content (pull requests) that are complete and fully polished articles/tutorial - meaning they are ready to be published.
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) - this allows all revisions to be done on your forked personal repo.

Hi @collins-a
Kindly reopen this PR so that I can upload an updated version.

Hi @collins-a Kindly reopen this PR so that I can upload an updated version.

Hello @Greggmun, you shall have to submit a duplicate PR with the changes then ping me for a review.


would it be possible to add consistent copyright headers to the code?

Hi,
I'm checking in a copy of Python-Markdown into the Chromium code base, because we want to have a tool that we can use to locally render MD for our documentation, and Python-Markdown works great for this.
(see https://codereview.chromium.org/1392733002/ if you're curious).
Chromium has a process by which we check to make sure that all of the third-party code we include has appropriate licensing clauses, and while the BSD licensing for Python-Markdown is quite clear (thanks!) the info is annotated a bit inconsistently from file to file.
Would it be possible for you to adopt a consistent copyright or license clause across all of the files so that we can programmatically scan them?

Can you give me some examples of inconsistency? There is the LICENSE.md file and of course the separate license in markdown/serializers.py (which we cannot change as it is for borrowed code from ElementTree). There are no other licenses that I recall. So I guess its not clear to me what the problem is.

Oh, sorry, I think I got confused because the markdown/extensions/.py all contain the "All changes Copyright ..." and "License: [BSD]" lines, but the markdown/.py files don't seem to contain any license or copyright notices at all, apart from init.py.
Would you have any desire to add the "License: [BSD]" line to the other markdown/*.py files?


Moving planet animation added:

Title and Issue number

I have added the project .Can it be merged now?
Close #4731

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[] I have commented my code, particularly in hard-to-understand areas
[] I have created a helpful and easy to understand README.md

@MohitGupta121 ,@TusharKesarwani Please review my PR.


Create a rukpak WG under the OLM project umbrella

Investigate whether we should create a sub-WG under OLM's project umbrella that's dedicated towards the rukpak component.
It looks like this is already possible looking at the WG's listed in the [o-f/community repository])https://github.com/operator-framework/community) and could help prevent the standard OLM WG meetings from being more cluttered with topics over time.

I'm not super convinced that this is the direction we should take soon. If we look at rukpak as OLM v2, and we answer issues in the community with "we will fix this in the new APIs", referring to v2, then I think it's ok to discuss rukpak and v2 issues in our existing community. If in some meeting we discuss mainly the new APIs and projects like rukpak and depster then I think that's fine.
It's also worth noting that our active community is really small at the moment, there's no need to fragment it. Maybe once we have a large base of rukpak users, and it becomes apparent rukpak is its own community, then maybe the separate wg will naturally make sense.

Yep - definitely agree with the current state of the project. In any case, it still felt worth creating a tracking ticket while we continue to iterate upstream.


Reconsider design of the Label component

We have received multiple requests related to enhancing the Label component. These include:

Supporting colored labels.
Better differentiate labels from buttons.

This epic is intended to encompass these issues and determine a design direction for rethinking labels.

Concept from topology effort:

Per discussions with @LHinson and @mceledonia , updates to labels should be considered as a part of general visual updates to be scheduled for mid-2020. Going to pull this back into the design backlog for now. @rachael-phillips FYI.


folder_block_manager: don't make a gcop with revision of 0

If getUnreferencedBlocks doesn't find any revisions that are old enough to garbage collect, then stop QR.  Also skip over any bad GCOps made before this bug was fixed.
Issue: KBFS-3839

Merging with known CI flake (I didn't rebase onto the skip yet).


 However, it does not (always).
ctr images export --help implies that, by default, the command does not export the layers for all platforms. However, ctr images import --help suggests that it also doesn't import the layers for all platforms, which seems to me like an implicit --platform=<current_platform>?
$ ctr images export --help
NAME:
   ctr images export - Export images
[ ... ]
OPTIONS:
[ ... ]
   --platform value          Pull content from a specific platform
   --all-platforms           Exports content from all platforms
[ ... ]

$ ctr images import  --help
NAME:
   ctr images import - Import images
[ ... ]
OPTIONS:
   --all-platforms            Imports content for all platforms, false by default
   --platform value           Imports content for specific platform
[ ... ]

Steps to reproduce the issue
$ ctr images pull docker.io/library/busybox:latest
$ctr images export out.tar docker.io/library/busybox:latest
$ ctr images import out.tar
ctr: content digest sha256:b67a20380506da97caef06b5c957d548fe854443c773b0e3d0e21313190beec9: not found
$ ctr images import out.tar  --platform=linux/amd64
unpacking docker.io/library/busybox:latest (sha256:c3839dd800b9eb7603340509769c43e146a74c63dca3045a8e7dc8ee07e53966)...done

One must specify the --platform option for this to work, and the error message when it does not is anything but helpful to figure out the solution.
Describe the results you received and expected
I expect that ctr images import-ing an archive exported with ctr images export works with symmetrical flags in any case (here: no --platform on either side).
What version of containerd are you using?
containerd github.com/containerd/containerd 1.7.2
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

Hi! I'm a UT Austin CS student working on a final project in my virtualization course where we have to contribute to an open source project. I was wondering I could get this issue assigned to me?

@ja-pavi Done

Same issue here, I export and then import and got error says that content not found.
However, I cannot figure out what exactly is missing.


UnsatisfiedLinkError: 'boolean ai.djl.pytorch.jni.PyTorchLibrary.torchIsContiguous(long)'

Description
I am using:
ai.djl.pytorch:pytorch-engine:0.28.0-SNAPSHOT
ai.djl.pytorch:pytorch-jni:2.2.2-0.28.0-SNAPSHOT
ai.djl.pytorch:pytorch-native-cpu:2.2.2:linux-x86_64
My program has started to just fail given an update from snapshot.  This seems related to this PR: https://github.com/deepjavalibrary/djl/pull/3137 which has added a method to PyTorchLibrary.torchIsContiguous() which was merged recently.
java.lang.UnsatisfiedLinkError: 'boolean ai.djl.pytorch.jni.PyTorchLibrary.torchIsContiguous(long)'
        at ai.djl.pytorch.jni.PyTorchLibrary.torchIsContiguous(Native Method) ~[pytorch-engine-0.28.0-SNAPSHOT.jar:?]
        at ai.djl.pytorch.jni.JniUtils.getByteBuffer(JniUtils.java:1682) ~[pytorch-engine-0.28.0-SNAPSHOT.jar:?]
        at ai.djl.pytorch.engine.PtNDArray.toByteBuffer(PtNDArray.java:233) ~[pytorch-engine-0.28.0-SNAPSHOT.jar:?]
        at ai.djl.ndarray.NDArray.toFloatArray(NDArray.java:277) ~[api-0.28.0-SNAPSHOT.jar:?]
...
        at ai.djl.inference.Predictor.batchPredict(Predictor.java:190) ~[api-0.28.0-SNAPSHOT.jar:?]
        at ai.djl.inference.Predictor.predict(Predictor.java:132) ~[api-0.28.0-SNAPSHOT.jar:?]

I suspect this is related to what GitHub actions have run and perhaps what is still pending?  I thought I'd report it just in case.
Is there a way to order the actions to prevent this from happening in the future?

There a some jni code change recently. Please remove cache and refresh the dependencies

My apologies.. I had an errand PYTORCH_LIBRARY_PATH setting in place pointing to an older version.  Once that was removed all looked fine again.
I read 0.28.0 is planned to be released sometime in May?  Is that looking likely?  I'll hoping to move off snapshots soon.. :)


Unable to start up kinematic. No space left on device (28)

While running some commands in my container, Kinematic crashed. After trying to start up Kinematic again I get the following error:
(electron) ipc module is deprecated. Use require("electron").ipcMain instead.
(electron) loadUrl is deprecated. Use loadURL instead.
2016-01-13 07:47:10.075 Electron[729:25094] Persistent UI failed to open file file:///Users/jkris/Library/Saved%20Application%20State/com.electron.kitematic_(beta).savedState/window_2.data: No space left on device (28)

I'm on a MacBook Pro OSX v10.11.2

is your disk full?

I still have plenty of space on my disk

on your actual HD - but the VirtualBox hdd may be full.
Can you run the following and paste the output here:
df -h
and
docker-machine ssh default df -h

df -h
Filesystem      Size   Used  Avail Capacity  iused   ifree %iused  Mounted on
/dev/disk1     112Gi   86Gi   25Gi    78% 22668104 6655158   77%   /
devfs          180Ki  180Ki    0Bi   100%      624       0  100%   /dev
map -hosts       0Bi    0Bi    0Bi   100%        0       0  100%   /net
map auto_home    0Bi    0Bi    0Bi   100%        0       0  100%   /home

docker-machine ssh default df -h
Filesystem                Size      Used Available Use% Mounted on
tmpfs                     1.8G    123.8M      1.6G   7% /
tmpfs                  1001.3M         0   1001.3M   0% /dev/shm
/dev/sda1                18.2G     13.9G      3.3G  81% /mnt/sda1
cgroup                 1001.3M         0   1001.3M   0% /sys/fs/cgroup
none                    111.9G     86.5G     25.4G  77% /Users
/dev/sda1                18.2G     13.9G      3.3G  81% /mnt/sda1/var/lib/docker/aufs

Would you mind trying to install the latest Docker Toolbox as we recently made some changes.
Your disk isn't full, but looks to only have 3.3GB left - If you tried to download a large image, it's possible that the above error would've been triggered.

I was able to reproduce this issue. When you have many downloaded images, the docker VM hdd gets full. You should probably display a notice in the UI, or increase silently the docker VM HDD.

@sadortun Increasing the VM isn't such an easy thing to do - We did however add some info in the wiki:
https://github.com/docker/kitematic/wiki/Common-Issues-and-Fixes#running-out-of-space

Would it be possible to display a warning message in the UI ?
The only side effect i had was a error while performing an ALTER TABLE in mysql.
ERROR 1878 (HY000): Temporary file write failure in mysql

Having a notice in the UI would probably saved my hours of investigation ....

@sadortun We would need to catch the error when any container operations are made. It's doable but not high on the priority list - If you'd like open a new Issue with a title that starts with Feature proposal:  and I'll add the proper labels to it, so that we get around to implementing it in the future


As an admin I'd like to see how users have answered a specific question

For example, looking at some stats at how users have answered a specific question in their certificate, and then be able to view a certificate.
Specific use case:

for "What kind of release is this?" how many certificates are associated with each answer?
then, can I get links to those certificates, so I can explore those that are "an ongoing release of a series of related datasets"

This will be addressed when we allow the data dump of all the certificates published as open data for everyone to analyse.
See #1184


Add nominee: openHAB

@Melodie97 the CI seems to be failing. Verify all the tests pass locally before pushing to Github:

npm test
npm run check
npm run lint
npm run order

To fix a failing CI test use the corresponding commands:

npm run check:fix
npm run lint:fix
npm run order:fix

ok thank you @nathanbaleeta, but I ran these commands locally and they are all throwing errors, and the fix commands aren't working

Can you pls send me a valid JSON schema so I can make the changes manually seeing as the tests are not working

ok thank you @nathanbaleeta, but I ran these commands locally and they are all throwing errors, and the fix commands aren't working

@Melodie97 resolved failing CI tests in commit 3052a1d. Looks like the file was corrupted so I deleted it and started again with a fresh copy and that's how I managed to fix it. It doesn't happen all the time so don't give it much attention, this was just a one time hack.

ok thank you @nathanbaleeta, but I ran these commands locally and they are all throwing errors, and the fix commands aren't working

@Melodie97 resolved failing CI tests in commit 3052a1d. Looks like the file was corrupted so I deleted it and started again with a fresh copy and that's how I managed to fix it. It doesn't happen all the time so don't give it much attention, this was just a one time hack.

Ok thanks a lot @nathanbaleeta

@Melodie97 This repository contains the documentation for openHAB not software as such.


[stdlib] Update documentation in Codable.swift

Remove documentation comments which can be inherited.
Reapply documentation revisions from commit 781f6326bd9932356086874baa12c812d100565e.
Update overview documentation of keyed containers.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please test Windows platform

@natecook1000 Please could you tell me how I can verify these changes?
I tried comparing .doccarchive contents, but the generated JSON files have unsorted keys, so I can't easily check for differences.
I also manually checked the generated pages for missing documentation. (The only thing I noticed is that the CodingKeyRepresentable requirements are undocumented.)

I added a filter to the FileMerge app settings, to sort the JSON keys:
/usr/bin/plutil -convert json -o - -r -- $(FILE)

But there were still some differences due to unsorted arrays.

To generate the .doccarchive, I was using a SwiftPM package containing Codable.swift, an implementation of _internalInvariant, and some unsafe flags for -define-availability macros.
An alternative for previewing stdlib docs might be the recently merged swiftlang/swift#76152.


olca v0.0.11 not supported

The latest release of olca is not supported at this time

see also https://github.com/USEPA/LCIAformatter/issues/65

With https://github.com/GreenDelta/olca-ipc.py/pull/19, it should be possible to use the latest olca-ipc as python 3.9 is no longer a requirement.


Snake case error

I write in both python and C, my problem is in python i use camel case variables and functions names, then it fills my error tab with each function name and variable name not being snake case. How can i fix this?
In python i am using pylint, if that have anything to say?

Find out what checker produces those errors and configure it accordingly.  Syntastic doesn't care about the contents of your files, it just runs third-party linters and shows you the results in a window.  It's up to you to configure said linters to give you useful results.

Hey, thanks for replying. I am using pylint, and how to i configure it?

You can tell syntastic to pass options to pylint on the command line (see :h syntastic-config-makeprg and :h syntastic-debug), or you can pass options in a pylintrc.  Beyond that, perhaps consider reading pylint's manual?


Update imports for Rancher Components

Summary
This updates all imports for Rancher Components to use the scoped @rancher/components npm package instead of the @components alias. We do this to encourage clean separation between Rancher Components, Shell, and other packages. This change also allows us to develop and release Rancher Components without affecting Rancher Dashboard development.
closes #5935
closes #7160

Occurred changes and/or fixed issues

Update import statements to target @rancher/components
Remove unused instances of @components alias

Technical notes summary

Areas or cases that should be tested

Anything component or page that includes a

Badge State
Banner
Card
Checkbox
Labeled Input
Radio Group
Text Area
Toggle Switch
Labeled Tooltip

Epinio, Harvester, and Rancher Shell should also be tested for regressions
Areas which could experience regressions

I noticed some whitespace regressions in

cypress/e2e/po/components/checkbox-input.po.ts
cypress/e2e/po/components/labeled-input.po.ts
shell/components/tests/CruResource.test.ts

There were no observable visual changes in the associated components that these tests address. It looks like there's some sort of webpack config that was preserving whitespace in Rancher Dashboard and I'm not so sure if we want to retain this behavior.
Screenshot/Video

@mantis-toboggan-md I'm requesting your review so that we could validate that Harvester is still functioning properly
@richard-cox I'm requesting the same as above but for Epinio
@nwmac @cnotv I'm looking for feedback on the rest of the changes represented here 😁
Let me know if I've missed an important component/area so that I can get the proper person involved to verify and regress this change.

@rak-phillip does this solve the issue with the alias import for Jest and Cypress? #7160

Yes, we have a closing tag for this issue in the PR description 😁

Are development procedure changed since we are using now a pointed version, e.g. we need to run and link the local build when developing? If yes, this would require documentation to be clear for people how to proceed.

This is a good point, I can work on updating development docs.

PS: There's some components which are going to be merged after the tech-debt, so if you are fine with that, it may be worthy to wait for that rebase. At least for the trivial cases where you are not mentioned sweat_smile

We will rebase as needed to incorporate changes 🙂

I tried to run the project with the library and it seems work fine.
We should consider excluding from hot reloading the folder or we can simply wait to detach it into another repository, as currently it reload the whole app on file changes without produce actual changes.
Another point to remind is the styling of some components are set global inside the shell/assets/styles, which we may want to move within the library itself or at least plan it, since they may affect more components. Currently in the configuration I can see only the variables and mixins.
I tried to use yarn link and yarn link "@rancher/components", then written changes but I must have been failing something as I see nothing change 😬

@scures can you validate and regress this PR against Epinio?

Haven't had a chance to look through this, can we pause until Monday? There needs to be something in place to address broken drone builds when components change, either by process or automation

I understand that this is a potentially destructive change. This is why I have requested a review from a large pool. We haven't merged after a single approval and I don't anticipate that we merge before this PR has received a thorough review from key members of the team.
With that said, I would like to continue collecting feedback from others until you get time to review. I would like identify and address any potential regressions if any arise.
@richard-cox

@rak-phillip I want to take a second look installing everything, as it must be an issue from my side. Yesterday I realized to have been installing packages in ./shell, which forced the app to use old libraries (e.g. rancher/icons) and did not allow me to see changes. This is planned to be added in the troubleshooting section https://github.com/rancher/dashboard/issues/7464

I'm a little nervous making changes to pkg/harvester, given that this is now the legacy version that won't go through any testing for a while. It's unavoidable though, if the changes here don't happen it's totally broken.

Are we actively using the pkg/harvester code in master? I thought we were pulling the already-built 1.0.3 plugin from the CDN...so the only time we'd be building a new version is when we're intentionally patching (and therefore actually testing) the legacy plugin

@rak-phillip I got the same error of the build on E2E when I try to build the library.

@rak-phillip I got the same error of the build on E2E when I try to build the library.

@cnotv yes, I should have called this out in a comment, this wasn't an issue before performing a rebase.
You are seeing this error because DraggableZone requires an update. I linked issue #7567 and raised PR #7567 to address.

Waiting for #7611 to merge. This will allow us to work with updated imports in storybook without the needs of workarounds.

I have been finally able to update the components, prior manually set the library version and the dependency version to the same value. Personally further investigations to simplify the process may be done in a separated issue, but some notes about this written in bold are definitely required.

I have been finally able to update the components, prior manually set the library version and the dependency version to the same value. Personally further investigations to simplify the process may be done in a separated issue, but some notes about this written in bold are definitely required.

Please contribute to the Rancher Components docs with improvements based off your experience 🙂
https://github.com/rancher/dashboard/tree/master/pkg/rancher-components#developing-and-debugging

closing as stale


Added playbar dialog mode support

This PR adds dialog mode for Sonos players that support this feature. Dialog mode will make dialogue easier to hear, which can be especially useful during action movies.
https://sonos.custhelp.com/app/answers/detail/a_id/1959/~/improving-speech-clarity-and-night-time-listening-through-the-playbar

Coverage decreased (-0.7%) to 57.278% when pulling 1ac7b318526eafcab3177dae0908c3948ef079e6 on christiandt:add-dialog-mode into 14063b1ea29e29d51999d04591bc41565495040f on SoCo:master.

@christiandt - another good addition - same issue I think as in 421
Cheers Daivd

Coverage decreased (-0.6%) to 57.387% when pulling 9a5438a6b037a4d9a0228fc4a4db1ee42bee97e6 on christiandt:add-dialog-mode into 14063b1ea29e29d51999d04591bc41565495040f on SoCo:master.

@christiandt agree with @DPH. Same feedback as for #421.
If you make those adjustments this is good to go.

Coverage increased (+1.7%) to 59.683% when pulling 9e24cd0091dd0153516b92c599c5a4d1c2a018aa on christiandt:add-dialog-mode into 14063b1ea29e29d51999d04591bc41565495040f on SoCo:master.

@KennethNielsen All adjustments requested in #421 are now made here as well.

Coverage increased (+1.7%) to 59.683% when pulling d185f00d0bfa7e7c3a82c56ae26761e4cdd8e861 on christiandt:add-dialog-mode into 14063b1ea29e29d51999d04591bc41565495040f on SoCo:master.

Coverage increased (+1.7%) to 59.683% when pulling a2e0b3cca9118c12635f04651850bf1ff104c84a on christiandt:add-dialog-mode into 14063b1ea29e29d51999d04591bc41565495040f on SoCo:master.

Coverage decreased (-0.2%) to 59.683% when pulling 1db675b3d71f2fc1f9ae11554c7ce8a21802a728 on christiandt:add-dialog-mode into 43b1fadee59b70b9fdedfbc2b27e26739eb4c73a on SoCo:master.

Coverage decreased (-0.2%) to 59.683% when pulling 1db675b3d71f2fc1f9ae11554c7ce8a21802a728 on christiandt:add-dialog-mode into 43b1fadee59b70b9fdedfbc2b27e26739eb4c73a on SoCo:master.

Changes requested in #421 are implemented here as well, so should be ready for merge now :)

@christiandt merged. Thanks for your contribution.
Can you add a note about the change to the release notes issue for the next release (#440)


RNodeConf doesn't download .version file for --fw-version

RNodeConf doesn't appear to download or otherwise generate the .zip.version file when downloading for --fw-version and thus fails out when trying to install legacy versions.

Support for downloading and flashing older versions is currently incomplete, and (regrettably) needs to be handled manually, by placing files in the correct directories.
Unfortunately I will not have time to complete implementation of this feature within the foreseeable future.
With more and more boards and variants available, a more complete overhaul of the install system would be a welcome improvement, along with the ability to add custom repositories, so that different people could host their own firmware variants as well.
I'm going to close this for now, since I can't prioritise working on it, but a community effort to create a better install / bootstrap system would definitely be a good way forward!


Add projectCode in t_ds_process_instance and t_ds_task_instance to avoid join

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report

Merging #13284 (354b75c) into dev (fd3afd8) will decrease coverage by 0.06%.
The diff coverage is 48.21%.

:exclamation: Current head 354b75c differs from pull request most recent head 03cea56. Consider uploading reports for the commit 03cea56 to get more accurate results

@@             Coverage Diff              @@
##                dev   #13284      +/-   ##
============================================
- Coverage     39.53%   39.46%   -0.07%
+ Complexity     4289     4283       -6
============================================
  Files          1072     1072
  Lines         40534    40499      -35
  Branches       4663     4641      -22
============================================
- Hits          16024    15984      -40
- Misses        22728    22734       +6
+ Partials       1782     1781       -1

Impacted Files
Coverage Δ

...e/dolphinscheduler/dao/entity/ProcessInstance.java
0.00% <ø> (ø)

...ache/dolphinscheduler/dao/entity/TaskInstance.java
45.45% <ø> (ø)

...duler/dao/repository/impl/TaskInstanceDaoImpl.java
2.89% <0.00%> (-0.05%)
:arrow_down:

...erver/master/runner/StreamTaskExecuteRunnable.java
0.00% <0.00%> (ø)

.../server/master/runner/WorkflowExecuteRunnable.java
10.22% <0.00%> (-0.02%)
:arrow_down:

...heduler/api/service/impl/SchedulerServiceImpl.java
26.50% <16.66%> (-0.27%)
:arrow_down:

...r/api/service/impl/ProcessInstanceServiceImpl.java
63.13% <40.00%> (-1.44%)
:arrow_down:

...uler/api/service/impl/TaskInstanceServiceImpl.java
56.69% <80.00%> (-3.46%)
:arrow_down:

...nscheduler/api/controller/SchedulerController.java
83.33% <100.00%> (ø)

...heduler/api/controller/TaskInstanceController.java
45.45% <100.00%> (ø)

... and 29 more

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


drivers/spi/spi_bitbang: Add private data on spi_bitbang

Summary
Add private data for spi_bitbang low-level driver to add an instance specific private data.
And add spi_destroy_bitbang() to clean up a driver instance.
Impact
only spi_bitbang
Testing
local test with spresense board

@SPRESENSE Please add to the summary what is this for?


Fix false positive validation result on form submission with AutovalidateMode.onUnfocus

Fixes #159378
Resolved an issue where focused TextFormField was bypassed during form validation
when using AutovalidateMode.onUnfocus on mobile devices. Validation is now correctly
triggered for all fields, including those that are focused.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@Mairramer quick heads-up that we've got a merge conflict now.


[Candidate 1v1 Storm Surge ZH v1] Building a Supply Center at the bottom Supply Dock is a bit more difficult than at the top

Observed behavior
Building a Supply Center at the bottom Supply Dock is a bit more difficult than at the top.  It is possible with a bit more trying, but not as easy as it is at the top.
Expected behavior
Building a Supply Center at the bottom Supply Dock is as easy as it is at the top.
Screenshots
Less room to build

More room to build

fixed by smoothing

Can confirm its fixed as per Dominators post. I played around with both spots and gave the bottom spot more space by moving the supply dock and player spot a bit up.
It is super simple to build a supply center on the bottom now. Top spot still has way more space, but that should be no issue. If it is, the top spot can be made a bit smaller by adding more water to it
I would call this fixed


Why installing Flutter is such a pain?

When I run flutter doctor I get the following:
[!] Android toolchain - develop for Android devices (Android SDK version 27.0.3)
✗ Flutter requires Android SDK 28 and the Android BuildTools 28.0.3
To update using sdkmanager, run:
"/Users/azamsharp/Library/Android/sdk/tools/bin/sdkmanager"
"platforms;android-28" "build-tools;28.0.3"
or visit https://flutter.dev/setup/#android-setup for detailed
instructions.
! Some Android licenses not accepted.  To resolve this, run: flutter doctor
--android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 10.2)
✗ Verify that all connected devices have been paired with this computer in
Xcode.
If all devices have been paired, libimobiledevice and ideviceinstaller may
require updating.
To update with Brew, run:
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
[!] Android Studio (version 3.3)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (2 available)
Even if I follow the steps above it does not work and does not install anything. Are there future plans for making this installation easier.

Another issue: Hot reload is not working... When I save the changes in Atom editor.. nothing happens.

Another issue: Hot reload is not working... When I save the changes in Atom editor.. nothing happens.

I might be wrong, but I don't think hot reload works on Atom that way. I recommend you using Intellij IDE (or Android Studio) or Visual Studio code.
You can also do the hot reload on the terminal by pressing 'r' and hot restart by pressing 'shift + r'.

Also, is there any documentation on setting up the PATH for base_profile file.

PS: I believe the main point of hot reloading is to update and refresh the screen once the user saves the code. If I have to type "r" in the terminal that beats the whole purpose.

PS: I believe the main point of hot reloading is to update and refresh the screen once the user saves the code. If I have to type "r" in the terminal that beats the whole purpose.

Yes, and the hot reload is working just like you said. Just use VS Code or Intellij and everything will be fine.

Thanks! The PATH is not working though and the instructions on Flutter
website are minimal as usual.
On Tue, May 14, 2019 at 1:52 PM Daniel Oliveira<EMAIL_ADDRESS>wrote:

PS: I believe the main point of hot reloading is to update and refresh the
screen once the user saves the code. If I have to type "r" in the terminal
that beats the whole purpose.
Yes, and the hot reload is working just like you said. Just use VS Code or
Intellij and everything will be fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/32705?email_source=notifications&email_token=AAAEBXGQMLMEYJK55D4U6PDPVMC53A5CNFSM4HM4NSJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVMNZSI#issuecomment-492362953,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAEBXH7W7SOLHB5NTEMAR3PVMC53ANCNFSM4HM4NSJQ
.

--
Mohammad Azam
MVP (Most Valuable Professional)
www.highoncoding.com
www.azamsharp.com
Check out my iPhone apps at http://www.azamsharp.com

Thanks! The PATH is not working though and the instructions on Flutter website are minimal as usual.
…
On Tue, May 14, 2019 at 1:52 PM Daniel Oliveira @.***> wrote: PS: I believe the main point of hot reloading is to update and refresh the screen once the user saves the code. If I have to type "r" in the terminal that beats the whole purpose. Yes, and the hot reload is working just like you said. Just use VS Code or Intellij and everything will be fine. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#32705?email_source=notifications&email_token=AAAEBXGQMLMEYJK55D4U6PDPVMC53A5CNFSM4HM4NSJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVMNZSI#issuecomment-492362953>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAEBXH7W7SOLHB5NTEMAR3PVMC53ANCNFSM4HM4NSJQ .
-- Mohammad Azam MVP (Most Valuable Professional) www.highoncoding.com www.azamsharp.com Check out my iPhone apps at http://www.azamsharp.com

My friend, I was able to make flutter working properly just following the docs. Every dev on my company also did the same, the docs are fine.
If you have any question, I am sure someone has already asked for it on stack overflow.

flutter is the easiest to install.

When I save the changes in Atom editor.. nothing happens.

FWIW - I don't think the Atom plugin has been supported (or updated) for some time:
https://github.com/dart-atom/atom-flutter#status---discontinued


"timeout waiting for initial target"

I get this error when I do a pool.Allocate():
timeout waiting for initial target

dataDirPath := "userDirs/" + strings.Replace(machine.IP, ".", "_", -1) + "/" + machine.Port
// create chrome instance
opts := []runner.CommandLineOption{
runner.HeadlessPathPort("/usr/bin/chromium", 9000+id),
runner.Flag("disable-gpu", true),
runner.Flag("no-first-run", true),
runner.Flag("no-default-browser-check", true),
runner.Flag("no-sandbox", true),
runner.Proxy("socks5://" + machine.IP + ":" + machine.Port),
runner.UserAgent(machine.UserAgent),
runner.UserDataDir(dataDirPath),
}

mutex.Lock()
pool := bc.pool
ctxt := bc.ctxt
mutex.Unlock()

 c, err := pool.Allocate(ctxt, opts...)

if err != nil {
return nil, err
}

Here bc is a global struct with the pool handle.
What could be wrong?
Chromium version: Chromium 67.0.3396.79 Arch Linux

This tends to be because there's an issue running Chrome. Arguably chromedp could give a better error message, but Chrome also makes that kind of difficult.
I'd suggest running the chrome command that chromedp executes, and seeing what its result is. It's probably erroring almost immediately, which is something I too encountered recently.

Also see https://github.com/chromedp/chromedp/issues/153.

I got no response, so I assume this is no longer a problem. If it is, feel free to reopen or open a new issue.


Nightly builds failing for a few months

What happened:
Dear authors and/or contributors (cc'ing @jukent @anissa111  and @kafitzgerald), the nightly builds of this cookbook have been failing for the last few months.
Could you please have a look at it?
Minimal Complete Verifiable Example:
Latest nightly build as of the creation of this issue.
Anything else we need to know?:
If you think it is due to Pythia infrastructure or something else other than the cookbook itself, please let us know.

Thanks for the note.  These aren't something I get notifications for.
It looks like there's an error coming from an xarray resampling operation (so likely not Pythia infra):

relevant portion of the log
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[4], line 3
      1 # Change hourly data to monthly
      2 era5 = era5.rename({'initial_time0_hours': 'time'}) # Changing dimension name for convenience
----> 3 era5_resampled = era5.resample(time='MS',loffset='15D').mean() # loffsest to set resampling to the center of each month as in CMIP5 data
      5 era5_resampled

File ~/miniconda3/envs/cookbook-dev/lib/python3.11/site-packages/xarray/util/deprecation_helpers.py:118, in _deprecate_positional_args.<locals>._decorator.<locals>.inner(*args, **kwargs)
    114     kwargs.update({name: arg for name, arg in zip_args})
    [116](https://github.com/ProjectPythia/advanced-viz-cookbook/actions/runs/11378416921/job/31654159314#step:20:117)     return func(*args[:-n_extra_args], **kwargs)
--> [118](https://github.com/ProjectPythia/advanced-viz-cookbook/actions/runs/11378416921/job/31654159314#step:20:119) return func(*args,**kwargs)

File ~/miniconda3/envs/cookbook-dev/lib/python3.11/site-packages/xarray/core/dataset.py:10782, in Dataset.resample(self, indexer, skipna, closed, label, offset, origin, restore_coord_dims, **indexer_kwargs)
  10726 """Returns a Resample object for performing resampling operations.
  10727
  10728 Handles both downsampling and upsampling. The resampled
   (...)
  10778 .. [1] http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases
  10779 """
  10780 from xarray.core.resample import DatasetResample
> 10782 return self._resample(
  10783 resample_cls=DatasetResample,
  10784 indexer=indexer,
  10785 skipna=skipna,
  10786 closed=closed,
  10787 label=label,
  10788 offset=offset,
  10789 origin=origin,
  10790 restore_coord_dims=restore_coord_dims,
  10791 **indexer_kwargs,
  10792 )

File ~/miniconda3/envs/cookbook-dev/lib/python3.11/site-packages/xarray/core/common.py:1070, in DataWithCoords._resample(self, resample_cls, indexer, skipna, closed, label, offset, origin, restore_coord_dims, **indexer_kwargs)
   1068 indexer = either_dict_or_kwargs(indexer, indexer_kwargs, "resample")
   1069 if len(indexer) != 1:
-> 1070     raise ValueError("Resampling only supported along single dimensions.")
   1071 dim, freq = next(iter(indexer.items()))
   1073 dim_name: Hashable = dim

ValueError: Resampling only supported along single dimensions.

From the last nightly logs that passed on July 29 to the first nightly logs that failed on July 30, this is what changed.
old.txt -> new.txt
New packages: xorg-libxxf86vm

Removed packages:

Updated packages:
gstreamer: 1.24.5 -> 1.24.6
xarray: 2024.6.0 -> 2024.7.0
gst-plugins-base: 1.24.5 -> 1.24.6

From the breaking changes section of xarray's 2024.07.0 release notes, it seems like the loffset removal might be what we need to address here.


[stable/airflow]: allow subPath to be specified for DAG and log volumes + docs

What this PR does / why we need it:
The change allows a subPath to be specified on a volume mount used for DAGs and/or logs. This is useful when using a large shared volume, e.g. Amazon EFS, where there might be multiple users of the volume. The PR fixes a missing environment variable to change base_log_folder.
It also documents in README.md how to configure a single volume for both logs and DAGs.
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

Hi @gsemet and @maver1ck. Here's another small PR to look at when you have time. Rebased onto latest and with version bumped.

Look great, it covers logs and requirements.txt mount. I think we can merge it before #12803 and rebase this one, or perhaps completely discard it, since tonmy opinion, you cover with your PR the same usecase, isn’t it?

ok you can rebase and update this PR when you are ready :)

@gsemet now that #12803 has been merged, I've tweaked this PR to be compatible, so that logsPersistence.subPath is also added to the workers as per . The only material change was line 118 in statefulsets-workers.yaml. Also bumped the version and rebased it on to latest.

expecting the release!

Another problem I found is:
Airflow internally tries to create a latest folder linking to the latest log folder in the logs folder.
But the shared logs folder created with ReadWriteMany accessMode doesn't support this.
volumeClaimTemplates within StatefulSet may could help.

/lgtm
Great team work :)

@gsemet thanks for merging! Agreed, good team work :)

Airflow internally tries to create a latest folder linking to the latest log folder in the logs folder.

@will-beta yes, something creates a symlink /usr/local/airflow/efs/logs/scheduler/latest that points to a non-existent /usr/local/airflow/logs/scheduler/YYYY-MM-DD in the old logs folder. I thought setting the missing AIRFLOW__CORE__BASE_LOG_FOLDER environment variable would fix it, but it's still there. I wonder if it has something to do with airflow.cfg never being updated withing the puckel Docker image (seems by design) and a sub-process is using that instead of the environment variable? I'll investigate further and clean this up in a subsequent PR, thanks for reminding me.

But the shared logs folder created with ReadWriteMany accessMode doesn't support this.

Actually, at least for me using Amazon EFS it does support the symlink:
airflow@infra-airflow-web-9d45954fd-nm4wq:~/efs/logs/scheduler$ ln -sf /usr/local/airflow/logs/scheduler/2019-05-30 latest airflow@infra-airflow-web-9d45954fd-nm4wq:~/efs/logs/scheduler$ ls -la total 16 drwxr-sr-x 3 airflow 2000 6144 May 30 15:45 . drwxrws--x 4 root    2000 6144 May 20 18:30 .. drwxr-sr-x 2 airflow 2000 6144 May 20 17:07 2019-05-20 lrwxrwxrwx 1 airflow 2000   44 May 30 15:45 latest -> /usr/local/airflow/logs/scheduler/2019-05-30 airflow@infra-airflow-web-9d45954fd-nm4wq:~/efs/logs/scheduler$
... it's just that the symlink is originally created to point at the wrong place.

I should point out that despite the above, the PR does work: task logs are written correctly to the new directory by the worker and they're accessible via the UI. There's just this extra process creating the daily directories and symlink in the old place, which seems superfluous to needs and is simply messy. Seems to have been a pre-existing issue when changing the logs path, but I will investigate.

@will-beta I found a list of all the log paths in airflow_local_settings.py and indeed there appear to be two extra config variables we should set when changing the log directory: scheduler.child_process_log_directory; and core.dag_processor_manager_log_location. The latter one doesn't even exist in the distributed airflow.cfg, but it is in default_airflow.cfg and set to {AIRFLOW_HOME}/logs/dag_processor_manager/dag_processor_manager.log by default.
I'll test after setting these and submit a new PR to get them all aligned when logs.path is set in the values file.

@will-beta fix is in #14339

@JonnyIncognito Thanks a lot for replies and great work!

@JonnyIncognito I'm using Azure Storage File Share, and still getting the following logs of the airflow scheduler:
[2019-05-31 04:21:35,074] {{jobs.py:1559}} INFO - Harvesting DAG parsing results
[2019-05-31 04:21:35,918] {{file_processor_handler.py:127}} WARNING - OSError while attempting to symlink the latest log directory
[2019-05-31 04:21:35,920] {{file_processor_handler.py:127}} WARNING - OSError while attempting to symlink the latest log directory

By logging into the container and trying to create a symbolic link, I got the following error messages:
airflow@airflow-scheduler-54dd4c9f86-k4777:~/logs/scheduler$ ln -sf 2019-05-31 latest
ln: failed to create symbolic link 'latest': Operation not supported

Wondering why Amazon EFS supports the symlink.

@will-beta I'm not familiar with Microsoft AFS and haven't tried it myself, but a quick search for the specifications shows that AFS presents itself over the SMB protocol but doesn't support the full spec, including lack of support for "soft links" as per Features Not Supported By the Azure File Service.
On the other hand, Amazon EFS presents itself over the NFS protocol and does support symlinks.
Although the README.md for this Helm Chart recommends Microsoft AFS as an option, it seems that in reality Airflow won't work 100% with it. You could search through the Airflow source-code to find out the implications of not being able to create the "latest" symlink, it's possible that it doesn't have much impact but I'm not sure (e.g. perhaps the symlink is an optimisation and Airflow could fall back to a directory scan if it's not present).

Thanks for the reply!
I'm also not familiar with Amazon EFS and not able to try it.
I'm not sure the soft link still works when airflow allows multiple scheduler instance running to increase the scheduling performance in the future.
So I suppose the StatefulSet & VolumeClaimTemplate may be the best solution.

I recommend to update our README about this azure limitation and how to work around it. It could be misleading for new people arriving, and seeing airflow and azure are compatible while it lacks some of the feature available elsewhere.
Also, that’s a bummer to not support symblinks...

Tried the latest released Apache official apache/airflow container instead of puckle/docker-airflow?

@will-beta I haven't tried the official container before. You can see in the puckel one's Dockerfile that it doesn't do much other than install Airflow via pip, but the official one uses the much newer and not-yet-released Airflow 2.0. Suspect the Helm Chart would need some tweaking to make it work.


[2.0] Backport public cloud support to 2.x

Includes applicable commits/code from the following PRs:

#403 Inject cloud framework
#406 Consistent representation of public cloud instance types
#438 Adapt velum to build a cluster in EC2
#449 Azure integration
#488 Public Cloud fixes

 [Public Cloud] https://github.com/kubic-project/velum/pull/467

I added the cherry-pick references, @MaximilianMeister . Please be aware there were adaptations along with the backport (e.g. back to the old external pillar implementation) .

Fixed a misnamed pillar in 8a186f5.

I've moved this PR from release-2.0 to release-2.1. We're still getting that branch setup, so please ignore the CI fail for now - the Build Service hasn't built the images we need for CI yet..

@bear454 If you have tested this and it's working fine feel free to merge.


What about elm-syntax?

https://github.com/stil4m/elm-syntax
https://package.elm-lang.org/packages/stil4m/elm-syntax/latest/Elm-Writer#writeFile
writeFile :
    { moduleDefinition : Node Module
    , imports : List (Node Import)
    , declarations : List (Node Declaration)
    , comments : List (Node Comment)
    } -> Writer

oh it is used under the hood


Master

Finalized functionality and responsiveness of contactus.html

Finalized functionality and responsiveness of contactus.html

Finalized functionality and responsiveness of contactus.html


Changed read call to be iterative not recursive.

Using an SSL socket on Android causes a StackOverflowException when reading a large message.
This change gets rid of the recursive read, and switches it to an iterative version, avoiding the unnecessary stack growth.

Hello @cbinners,
I think your pull request is not working correctly!
Have you testet your changes?
I am stuck in an infinite loop.
Greetings
marci4


Incorrect description in the example of post-circumfix ([ ]) operator

The problem
In the doc for the postcirumfix operator [ ] the second example is wrong:
# The output will be (almost) the same if we attempt to flatten it using | a. k. a. the flattener, which puts it in a list context:
say .perl for | 3,2,[1,0]; # OUTPUT: «3␤2␤[1, 0]␤»

Here [1, 0] is not itemized since we are creating a List instead of an Array; it has nothing to do with the | operator, which creates a Slip that flattens in list context (but it still won't flatten an itemized member).
So, the example produces the same output if we just do:
say .perl for 3,2,[1,0]; # OUTPUT: «3␤2␤[1, 0]␤»

but it gives the same itemized $[1,0] even if we use | on the array:
say .perl for | [3,2,[1,0]]; # OUTPUT: «3␤2␤$[1, 0]␤»

Suggestions
Maybe don't talk about the second example at all? Or show how one can flatten an Array with nested List / Array if that's what we want to show:
say .perl for [3,2,[1,0]]>>.List.flat; # OUTPUT: «3␤2␤1␤0␤»

Well, in the context of that operator I'm not sure the suggestion will fit. But will have a look anyway and try to fix it. Thanks for the report.

I'd say, remove the whole second example.  It is only confusing.

Please reopen / revert if disagree: I'm only trying to get some action on issues  :-)

@lizmat Don't even need to mention that, it's how this repo works by default.


Custom blacklist

Make option to make a black list of words so much more songs will be identified.
I'm talking about abillity to let words like "-lyrics", "-live " ("-" all the text before it is vissible for scrobbler, and "" is opposite) , "-cover" be invissible for scrobbler.
(via L.FM private message by n3L1)

Can close; this is accomplished on a connector level. E.g. https://github.com/david-sabata/web-scrobbler/blob/cb11bddbf46476b2bda379bcbdcb30eb5e03da59/connectors/v2/youtube.js#L62-L84

@david-sabata Can close; this is accomplished on a connector level. E.g. https://github.com/david-sabata/web-scrobbler/blob/cb11bddbf46476b2bda379bcbdcb30eb5e03da59/connectors/v2/youtube.js#L62-L84


use global variables pipeline for aggregate-reports.yml

https://github.com/Azure/azure-sdk-for-js/blob/master/eng/pipelines/aggregate-reports.yml#L21
Variables like these - node version, vmImage etc should be pulled in from https://github.com/Azure/azure-sdk-for-js/blob/master/eng/pipelines/templates/variables/globals.yml.
May need an update to the template to pull the variables from globals.yml

https://github.com/Azure/azure-sdk-for-js/blob/master/eng/pipelines/aggregate-reports.yml#L21 Examples like these  - node version, vmImage etc should be pulled in from https://github.com/Azure/azure-sdk-for-js/blob/master/eng/pipelines/templates/variables/globals.yml

Pretty sure this is obsolete now.


Markdown as raw string to fix latex

This fixes the latex errors. As an example try this:
# %% [markdown]
"""
$$
\Delta G = \Delta\sigma \frac{a}{b}
$$
"""

I summited this through the web interface, it might require updating the tests.

I'll update the tests later.


在哪里修改上拉下拉样式

Mint UI version
Device model

Reproduction Link

What is Expected?
What is actually happening?

#678 自身知识缺陷不在issue回答。


Synchronizing fails when triggered manually from the accounts page

When I hit the "synchronize" button inside the settings page, I get a prompt informing me that all favorites added before logging in would be overwritten. When I hit OK, I receive a message saying "Synchronizing failed" and my favorites from my HN account (note that while I have a new account, I do have unsynced favorites). Here is a screenshot.
This has been happening all day yesterday. However, when I opened the app this morning, my favorites did populate. So, it seems like it's only the manual sync that seems to be a problem.

Hey. Glider doesn't perform any automatic synchronization (from the Hacker News server to the app), so if you do see a populated favorites page, I'm guessing those were successfully processed during your manual attempts. Is it a complete list, or do you have multiple pages of favorites and/or upvotes in your profile and is only some of it synchronized?
There's no official API to retrieve favorites and upvotes, so Glider scrapes the website to do so. I've seen the website return a HTTP 503 error with the message "Sorry, we're not able to serve your requests this quickly." when quickly trying to quickly load several pages. I'm planning on adding a retry mechanism that should at least back off for a bit on this specific error, and may also help to alleviate other issues.

I'm considering this fixed with 27a3426727a9bf8b266a0e5aa3989e7730abb825. Feel free to let me know if it's still broken in the upcoming release.

I haven't seen any update on the play store today but favorites (from the website) don't update when I pull down to refresh the page. Also, neither my favorites nor my comments don't sync either when I hit the synchronize button the account page.

Yeah, the update was in review for a while but should be available now. For the record, refreshing the favorites page doesn't actually pull new favorites from the website, it just refreshes the favorites that are stored locally.


v0.05  [UPDATE] enemy, player script (baby jorsh)

this is a commit made for baby Jorsh, lets make things better with merge 😘


[Npm] Adds sqlite data backend

What does this PR do?
This adds,

sqlite backend support.

Type of change

[x] Updated dependencies
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How should this be tested?

[ ] Existing unit tests

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code and corrected any misspellings
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Thanks @mghwaz, this would be great. I think the TypeORM models could be shared unless sqlite has major differences.

Closing in lieu of https://github.com/boxyhq/jackson/pull/2729


184 add function call to drawknee when draw button is clicked

This task took me about 30 minutes to complete. The function was pretty straightforward, the only thing that took some time was contemplating removing the draw button after pressing or not


Task 3

This Pull Request is for Task 3 and Task 4
For Task 3 : I have used Date Time variable and have Learned how to use that.
For Task 4 : I have learned how to use sequence and flowchart, Also used If Else Case in Sequence and used Flow Decision in Flowchart.

@vipulraina
Task -3 & 4
code verified. provide a annotations and comments for tasks its helps future reference of code.


chore(error_handlers): define response message for trace method 405 error status code

Summary
When nginx blocks request with trace method from client, it hits the default error message in kong which is "The upstream server responded with 405", it is a little ambiguous. Actually the request doesn't reach upstream.
Define  a detail message "Method not allowed" for 405 status code.

@liverpool8056 Could you add a test case for this PR?

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

@dndx So sorrrrrrry for missing test case, and thank you for helping me to correct it, I added the test case in the new commit.

Should we add an entry in changelog?

Due to PR #9513, we should rebase the PR and change the index from string to number.

@chronolaw already done

pinging @fffonion for merge.


Updated serial protocol

What's returned by GS also changed, is it parsed by the UI only?

The only return type changed is the ON/OFF from the status, and yes, I just forward it to the UI @diegomedina248 or @martinosimani should update that on the frontend


[REVIEW]

Portfolio link
https://eddbrown.vercel.app/
GitHub Repo Link
https://github.com/TalentedBlu123/My-portfolio

Why can't I get the invitation?


crypto: update narwhal pointer

update narwhal pointer till this lands: https://github.com/MystenLabs/narwhal/pull/541

@joyqvq when you revisit this, it would be nice to update to the commit hash created by https://github.com/MystenLabs/narwhal/pull/546


SPIFFS PANIC'ED event called  (IDFGH-551)

The SPIFFS doesnt work inside a secodary task, if SPIFFS are called from a task it deploy a guru panic'ed event. Tried everything to solve but was same result.
Can use the spiffs example and just move inside a task within a task and it will fire a exception.

@filzek Hi, could you please supply information requested in the issue template? In particular, IDF version, crash logs (preferrably decoded using IDF Monitor), code to reproduce the issue. Thanks.


Add check for VecGeom being built as static library

@stognini discovered (and @drbenmorgan confirmed) that AdePT requires VecGeom to be built as static to link correctly. This PR adds a small configure-time check to ensure this is the case. If it fails, it prints a message:
CMake Error at CMakeLists.txt:65 (message):
  AdePT requires VecGeom to be built a static library, but it is of type
  'SHARED_LIBRARY'

@phsft-bot build

Thanks @drbenmorgan !

@agheata, the Jenkins CI doesn't seem to have triggered. Is there a command/permissions I'm missing to activate this?

No, it should trigger automatically


StdInjector does not open

Hello, when I launch StdInjector it doesn't open, it closes directly.

Have you placed it in SourceFilmmaker\game\bin along with stdpath.dll?

no I just realized my mistake sorry

it doesn't matter I can't compile

Are you using stdinjector as studiomdl in crowbar?

It works!


Incorrect module type detection in files with side-effect imports

Describe the bug
Hello!
We use async boundary pattern in our application entry point for correct Module Federation works, and have one-liner entry point with side-effect import - import('./bootstrap')
Configuration - SWC parameter isModule: 'unknown'
Also, we have a custom SWC plugin with visit_mut_module usage.
After switching to SWC transpiler, I noticed that plugin logic from visit_mut_module not running for this entry.
Looks like SWC detect that this file is not a ES Module.
Input code
import('./bootstrap')

Config
`isModule: 'unknown'` is used

Playground link
https://play.swc.rs/?version=1.3.27&code=H4sIAAAAAAAAA8vMLcgvKtFQSitW0rTm5eLlSs7PKy5RKEkFErYKicWVeckKGpoKtnYK1bXWAPgg1uMtAAAA&config=H4sIAAAAAAAAA1WPMQ6DMAxFd06BPHdth56gSw8RUYPSBieyjQpC3J0EElq2%2BL%2Bf7%2B%2B5qmt4SwP3eo7POATDgnzMUZGJ1IxRAZ0CSsM2KFwKVUmoNU5wk5adAI6KTMY90AVkiR7lATNUwx1qikS55ixw3guWrKz1lmw7%2FbdpfB8YRc7GZDXUOTx3qXIf6P1r2GC%2BMl2yr7%2FBz1SWHcFg5Vl%2BwkAf8l%2BCalkBb%2BJADDYBAAA%3D
SWC Info output
No response
Expected behavior
SWC parse this input and detect that is ES module
Actual behavior
No response
Version
1.3.62
Additional context
No response

FYI, it is valid to use dynamic import in CommonJS. Check it: https://nodejs.org/api/modules.html?hightlight=import#enabling
You can add export {} to keep the ESM context.

FYI, it is valid to use dynamic import in CommonJS. Check it: https://nodejs.org/api/modules.html?hightlight=import#enabling
You can add export {} to keep the ESM context.

Good point, thanks!
Reasonable enough to close the issue)


bloomfilter add a addAll function

Sometimes we want to add a lot of object. add function is inefficient. So I add this function.
this close #3094

Did you check it in Redis cluster?

@mrniko Not yet.

@mrniko What problems may arise with this pr in redis cluster?

CROSSLOT errors

@mrniko addAll function is similar with add function. I think CROSSLOST error will not happen.

@mrniko What do you think? Please review it.


Re-introduce support for Absolute URLs

I understand that on the upgrade from canvas to sharp, support was lost for Absolute URLs.
When targeting version 1.0.3 of this package, the following works without issue.
const avgColor = await getAverageColor("https://raw.githubusercontent.com/fast-average-color/fast-average-color/master/img/title.png");

However, updating to 2.0.0, this is no longer possible, and produces the following error.
[Error: Input file is missing]

Please restore this functionality, or provide migration steps so that this is still possible through fast-average-color-node as it once was.
Also see: #7

v2.2.0


Index page pretty

This is @glasnt's actual code, not mine in the middle of a refactor.

I was happy to merge https://github.com/bulletproofnetworks/pigeonhole/pull/17, just wanted to address complexity and get feedback from you. Merge when ready @glasnt, you've adjusted the bits I mentioned in https://github.com/bulletproofnetworks/pigeonhole/pull/17 :+1:

I was happy to merge #17, just wanted to address complexity and get feedback from you

Fair enough.  I'm not happy merging #17 yet, but hope to fix this up soon.


Correction for raw affiliation OpenAQ, Washington, USA

Correction needed for raw affiliation OpenAQ, Washington, USA
raw_affiliation_name: OpenAQ, Washington, USA
new_rors:
previous_rors: 04kb0nk47
works_examples: W3207011924
contact: 3fcc036e805a3f1a5f23c813d13f73bc:59defbfb582bb2 @ air.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


typeahead focus will re-trigger in some time.

Hi,
When I select a value from typeahead and click the next field, typeahead field is re-focusing again automatically (cursor jumping) due to timeout functionality. When I check the codes, timeout function can be removed from focus-out functions because "$rootScope:inprog" issue is not raised if timeout is removed. Appreciate for your help.
  //return focus to the input element if a match was selected via a mouse click event
  // use timeout to avoid $rootScope:inprog error
  if (scope.$eval(attrs.typeaheadFocusOnSelect) !== false) {
    $timeout(function() { element[0].focus(); }, 0, false);
  }

I just use "element[0].focus();" and it works with no issue.

Closing this as this project is no longer being maintained, per the README and the ISSUE_TEMPLATE.


The & combinator don't work in some circumstances

While the & combinator is cool, there are some cases where I get the Syntax Error. Here they are:

.class + &;
.class > &;
.class ~ &;

Since .class & works, I think that those combinations must work too, it would be really useful.

There is a compilation error by using the lessc compiler in the following case. Not sure if I interpret your issue incorrectly in the case it already defines the issue I just noticed (...).
.Foo()
{
  bar &
  {
    color: orange;
  }
}
#Test { .Foo(); }

Having the { directly after bar & on the same line removes the syntax error. Not using the & or directly adding text after the & removes the error as well:
.Foo()
{
  bar & ok
  {
    color: orange;
  }
}
#Test { .Foo(); }

Bottom line seems that an & at the end of a line always causes a syntax error. When it's not, the expected results are generated:
bar #Test {
  color: orange;
}
/* -------------- */
bar #Test ok {
  color: orange;
}


Waymo pretrain

Is there a pretrained model for waymo pilliar

please send me an email with informations described here https://github.com/tianweiy/CenterPoint/blob/master/configs/waymo/README.md#waymo-3d-detection

Hi, @tianweiy
I have sent the relevant documentation to your MIT email address to prove that I agree with the rules for the use of the waymo dataset, but have not yet received a reply, and I wonder if it is the email that is being filed in the spam folder.
I'd like a copy of your .pth file to learn your excellent algorithms.
Sincerest thanks!
Look forward to your reply!


DraggableScrollableActuator and GestureDetector is not working with showModalBottomSheet

I am building application with bottom sheet and want to do some nice animations and hide some elements when bottom sheet is expanding but i cannot controll it. I tired out all possible ways of manipulating it and nothing works.
I have tried put GestureDetector in multiple places (i thought maybe i could controll it through it but events are not fired)
Is there a way how to get gesture deltaY and apply it to sheet position?
class DraggableBottomSheet {
  static late BuildContext _draggableSheetContext;
  static late double _minExtent;
  static late double _maxExtent;
  static late void Function(void Function()) _setState;

  static bool _isExpanded = false;
  static late double _initialExtent;

  static Future<T> open<T>({
    required BuildContext context,
    required Widget child,
    Future<T> Function()? onCloseCallback,
    Future<T> Function()? onCloseButtonClick,
    Function(DragUpdateDetails)? onVerticalDragUpdate,
    bool isDismissible = true,
    Color backgroundColor = CustomColors.veryLightGrey,
    double initialChildSize = 0.4,
    double minChildSize = 0.1,
    double maxChildSize = 0.9,
    double horizontalPadding = 15,
  }) async {
    _minExtent = minChildSize;
    _maxExtent = maxChildSize;
    _initialExtent = initialChildSize;

    await showModalBottomSheet<T>(
        context: context,
        isScrollControlled: true,
        enableDrag: false,
        isDismissible: isDismissible,
        backgroundColor: backgroundColor,
        shape: const RoundedRectangleBorder(
          borderRadius: BorderRadius.vertical(top: Radius.circular(10)),
        ),
        builder: (BuildContext bc) {
          return WillPopScope(
            onWillPop: () => Future.value(isDismissible),
            child: GestureDetector(
                onTap: toggleSheet,
                onVerticalDragStart: (details) {
                  print('onVerticalDragStart');
                },
                onVerticalDragUpdate: (details) {
                  if (onVerticalDragUpdate != null) {
                    onVerticalDragUpdate(details);
                  }
                  print('onVerticalDragUpdate');
                },
                child: StatefulBuilder(builder: (context, setStateInner) {
                  _setState = setStateInner;
                  return DraggableScrollableActuator(
                    child: DraggableScrollableSheet(
                        initialChildSize: _initialExtent,
                        minChildSize: _minExtent,
                        maxChildSize: _maxExtent,
                        expand: false,
                        builder: (dContext, scrollController) {
                          _draggableSheetContext = dContext;

                          return SingleChildScrollView(
                            controller: scrollController,
                            child: Stack(clipBehavior: Clip.none, children: [
                              Column(
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: <Widget>[
                                  const SizedBox(
                                      height: 30,
                                      child: Align(
                                          alignment: Alignment.topCenter,
                                          child: Icon(
                                            Icons.drag_handle,
                                            color: CustomColors.pageGrey300,
                                            size: 32,
                                          ))),
                                  Container(
                                      padding: EdgeInsets.symmetric(horizontal: horizontalPadding),
                                      width: MediaQuery.of(context).size.width,
                                      child: SafeArea(child: child))
                                ],
                              ),

                            ]),
                          );
                        }),
                  );
                })),
          );
        });

    return onCloseCallback != null ? await onCloseCallback() : true as FutureOr<T>;
  }

  static void toggleSheet() {
    print('toggleSheet');
    _setState(() {
      _initialExtent = _isExpanded ? _minExtent : _maxExtent;
      _isExpanded = !_isExpanded;
    });
    DraggableScrollableActuator.reset(_draggableSheetContext);
  }
}

usage:

DraggableBottomSheet.open(
        context: context,
        child: ListView.builder(
                itemCount: 5,
                shrinkWrap: true,
                itemBuilder: (BuildContext context, int index) {
                  return Text('hello');
                },
              )),
        backgroundColor: Colors.white,
        horizontalPadding: 0,
        initialChildSize: 0.5,
        minChildSize: 0.5,
      );

toggle can be tested with:
DraggableBottomSheet.toggleSheet();

or pressing button inside panel

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6.1 20G224 darwin-x64, locale
en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.63.1)
[✓] Connected device (2 available)
• No issues found!

Hi @vytautas-pranskunas- here's a discussion about draggableScrollablesheet https://github.com/flutter/flutter/issues/45009, have you also tried using a Listener instead?
Let me know if any of these work for you.

@mamuseferha I was able to do it with NotificationListiner + rxdart. However changing bottom sheet position with DraggableScrollableActuator.reset and StateBuilder is not stright forward and causes a lot of headache because

First i need to wrap everything in StatefulBuilder or user StatefullWidget
I need to update initialChildSize with setState and
I need to call DraggableScrollableActuator.reset

problems here

I cannot call DraggableScrollableActuator.reset stright after because setState need some time to rerender and set new initialChildSize so calling DraggableScrollableActuator.reset is not giving any effect as well as Future.delayed(const Duration.zero, () => DraggableScrollableActuator.reset(context)). So I have to call it after some time - I am calling it after 100 ms...
Because of this from time to time I am getting strange error which I cannot figure out why:

flutter: #27     SchedulerBinding._handleDrawFrame
package:flutter/…/scheduler/binding.dart:996
flutter: #31     _invoke (dart:ui/hooks.dart:166:10)
flutter: #32     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:270:5)
flutter: #33     _drawFrame (dart:ui/hooks.dart:129:31)
flutter: (elided 3 frames from dart:async)
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: Null check operator used on a null value

No animations - if i call DraggableScrollableActuator.reset it jumops stright away to the point :(

Would you be able to help me to solve this error?
p.s. I feel like this should be more stright forward because now it feels like hacking...

Hi @vytautas-pranskunas-
Can you please provide a minimal complete reproducible code sample that captures these issues as well as your flutter doctor -v?
Thank you

@mamuseferha sure. Before that - would you tell me why DraggableScrollableController has not been implemented as done here:
https://gist.github.com/caseycrogers/c972511cb8a9d0d29b594dc4bb3c1b35

@vytautas-pranskunas- Looks like a pull request has been recently merged for this https://github.com/flutter/flutter/pull/92440 and introduces animateTo and jumpTo.
Please upgrade to the latest master channel to check this out, you can also refer to the pull request for more information and questions.
I'll go ahead and close this now.
Thank you.

@mamuseferha thats why i had this question because I have upgradet to 2.8 and those commands are not there :( anyway I have solved my problem with 2.8 fix snap.


App crashes sometimes

Hello,
Sometimes i get this error on these lines :
java.lang.OutOfMemoryError:
at mypackageId.Events$2.setImageForPosition (Unknown Source)
at com.synnapps.carouselview.CarouselView$CarouselPagerAdapter.instantiateItem (Unknown Source)
How can I solve this issue?

Without knowing the line where the exception happened, version of the library, and other details of your implementation is hard to provide a better answer.
You might have too many images, or too big images, or both, or an flawed recursive code in a loop, or just enough images, that in edge cases in low-end old phones can lead to a lack of RAM.
OutOfMemoryError can be caused by a lot of factors.


Track which quads are visited during validation

Provide a way to know which quads were visited during the validation process.

The idea I proposed would to add an option to return [] sh:severity sh:Info results for every visited location in the data graph.
Might get quite verbose though


Reindent lines in 1.9 – feedback

VSCode 1.9 introduced initial support for line indenting as per the release notes, I think it's this commit: https://github.com/Microsoft/vscode/commit/be1b5f75161a30dd63316b832067b41d2caec0b3. I'm very interested in this feature, big 👍 for bringing it into VSCode.
Here is some initial feedback:

I tried for a couple of file formats, it only worked for TypeScript and not e.g., for JSON or PHP.
Formatting (Alt+Shift+F) can already do indentation better than the new implementation, maybe it could be used as a fallback if the language doesn't have proper indentation rules.
If I read the code correctly, it re-indents the whole file. It should respect my selection. For example, if I have only 10 lines selected, it should re-indent those. If I don't have any selection, it should do the whole file.
The command is currently editor.action.reindentlines, proper casing would be editor.action.reindentLines.

@borekb thanks for your detailed feedback!

The command is currently editor.action.reindentlines, proper casing would be editor.action.reindentLines

Yes it should be improved

If I read the code correctly, it re-indents the whole file. It should respect my selection. For example, if I have only 10 lines selected, it should re-indent those. If I don't have any selection, it should do the whole file.

The reason that right now we don't support Reindent in ranges is that we have some issues with boundaries in embedded-language files. Some of them are just TextMate Grammar issues but I'm sure if that can fix all. Once that issue is addressed, I think it's easy to support reindent in ranges/selection. And then Reindent when paste/moveLines/etc.

I tried for a couple of file formats, it only worked for TypeScript and not e.g., for JSON or PHP.

It's on the plan, adding Indentation Rules to most languages we support

Formatting (Alt+Shift+F) can already do indentation better than the new implementation, maybe it could be used as a fallback if the language doesn't have proper indentation rules.

Nice idea! I'm thinking about a similar solution like running formatting on indentation characters and see what's the proper edits a formatter would provide. That means we run format on leading whitespaces instead of whole lines but there might be performance hit while handling large files.

Really appreciate your feedback! Feedback and PRz are always welcome.

That means we run format on leading whitespaces instead of whole lines

Exactly, that's how I think about "reindenting" as a user. Technically, the two commands (formatting vs. indenting) should probably share the same logic.

Did some basic investigation on this and I found that leveraging formatter to do indent is kind of ideal as formatters' behaviors are not predictable. Take below code as example
foo() {
var a;
  }

I obverse following:

Format selection on leading whitepsaces doesn't work
Format   } works
Format v on the second line doesn't work
Format var a; on the second line works

You can see that TypeScript formatter has no idea about adjusting the indentation if don't select any thing, even though it supports Format Selection.
We may need other ways to handle it as we can't force formatters to take care of indentation always. But it might be a good idea to allow formatters to provide a separate function about indentation adjustment. Any thoughts @mjbvz ?

Any news on this?

@borekb sorry I don't have time working on this issue this iteration but it's on my radar, I received similar issues or feedback on this every other day

FWIW: This feature is a life-saver for me. As much as I appreciate js-beautify, it seems that it cannot be told not to mess with my white-space. Trying to format something like this:
let aha          = 7;
let badahabadaha = 9;

mangles it, by trimming the white space in front of  '= 7;' and thus looses the '=' alignment! Big deal and I just don't see a way to turn this behavior off.
Reindent Lines seems to do whatever most other editors do, so this is the cure for me. But it is very important to have a version that works on the current selection only!

The title is modified to one good idea proposed above: when there is a good formatter registered for a language, we should probably use the formatter other than regex based indentation rules.

The title is modified to one good idea proposed above: when there is a good formatter registered for a language, we should probably use the formatter other than regex based indentation rules.

@rebornix  A user of the vscode-R extension pointed out that the R formatter relies on the code being parseable. This means that Format Selection won't fix indentation if the selection only contains part of a for loop, for example. My understanding is that Reindent Selected Lines should still work in this case, because it uses simpler regex-based rules. So perhaps Reindent Selected Lines should use regex-based indentation rules, even if Reindent Lines uses the registered formatter? Or perhaps indentation should have its own LSP command, which the language server can implement or not?
(Reindent Selected Lines isn't working at all at the moment for R, but that's a separate issue.)