Falco starts but nothing happens

Describe the bug
I managed to run falco on openshift (not so easy if you try to push it with a least privileged argo instance xD), the problem is it seems stuck at launch, maybe I failed something somewhere, but I got no real state of what's going wrong there :/
How to reproduce it
Installed latest falco on openshift with the latest falco helm chart, here the falco values:

falco:

  image:
    pullPolicy: *pullPolicy
    pullSecrets: []
    registry: *registry
    repository: falcosecurity/falco
    tag: 0.32.2-slim # tried non slim version as well

  driver:
    enabled: true
    kind: "module"
    loader:
      enabled: true
      initContainer:
        enabled: true
        image:
          pullPolicy: *pullPolicy
          registry: *registry
          repository: falcosecurity/falco-driver-loader
          tag: 0.32.2
        args:
          - "--compile"

  auditLog:
    enabled: true

  falco:
    load_plugins: [json, k8saudit]
    watch_config_files: true
    rules_file:
      - /etc/falco/falco_rules.yaml
      - /etc/falco/falco_rules.local.yaml
      - /etc/falco/k8s_audit_rules.yaml
    json_output: true
    log_level: debug
    priority: debug

    stdout_output:
      enabled: true

  http_output: # enable for sidekick
    enabled: true

  scc: # true here enabled creation of Security Context Constraints in Openshift
    create: false #manually created for testing purpose (can't give the rights to argo for this)

  serviceAccount:
    create: true

And here the falco output:
Fri Aug 19 14:48:01 2022: Falco version 0.32.2
Fri Aug 19 14:48:01 2022: Falco initialized with configuration file /etc/falco/falco.yaml
Fri Aug 19 14:48:01 2022: Loading plugin (k8saudit) from file /usr/share/falco/plugins/libk8saudit.so
Fri Aug 19 14:48:01 2022: Loading plugin (json) from file /usr/share/falco/plugins/libjson.so
Fri Aug 19 14:48:01 2022: Configured rules filenames:
Fri Aug 19 14:48:01 2022: /etc/falco/falco_rules.yaml
Fri Aug 19 14:48:01 2022: /etc/falco/falco_rules.local.yaml
Fri Aug 19 14:48:01 2022: /etc/falco/k8s_audit_rules.yaml
Fri Aug 19 14:48:01 2022: Loading rules from file /etc/falco/falco_rules.yaml:
Fri Aug 19 14:48:02 2022: Loading rules from file /etc/falco/falco_rules.local.yaml:
Fri Aug 19 14:48:02 2022: Loading rules from file /etc/falco/k8s_audit_rules.yaml:
Fri Aug 19 14:48:02 2022: Watching /etc/falco/falco.yaml
Fri Aug 19 14:48:02 2022: Watching /etc/falco/falco_rules.yaml.
Fri Aug 19 14:48:02 2022: Watching /etc/falco/falco_rules.local.yaml.
Fri Aug 19 14:48:02 2022: Watching /etc/falco/k8s_audit_rules.yaml.
Fri Aug 19 14:48:02 2022: Starting internal webserver, listening on port 8765

Then nothing more :/
Expected behaviour
Events logged by falco
Environment

Falco version:
0.32.2
System info:
rhcos 4.18.x
Cloud provider or hardware configuration:
OS:
rhcos
Kernel:
4.18.x
Installation method:
helm chart + argo

Additional context
Openshift cluster:

The security context constraints was manually added for testing purpose
Machine config with kernel-devel added for kernel module building purpose

Hi @Diliz,
since falco 0.32.0 the kubernetes audit events support has been refactored to become a plugin. One thing that changed is that syscalls and k8s audit events sources cannot be active at the same time anymore. I think this is the issue why you are not seeing the syscalls events in the falco output since falco loads the k8s audit plugin. At the time being you need to run two different falco instances: one for the syscalls and the other one for the k8s audit events.

Agree with @alacuku. We expect to restore running both in the same Falco instance in the near future.

Hello!
Thanks for the replies!
I actually tried to stop split my falco deployment in 2, one for syscalls and one for k8s audit events, but still no events detected, nothing happens, I dunno what's wrong here, got no errors nor clues about what's going on there

Your k8saudit-only setup seems to be working fine, you've only issue with the syscall-only one. That seems fine to me as well, but you need to prevent it from loading the /etc/falco/k8s_audit_rules.yaml ruleset. The error codes are indicating that the /etc/falco/k8s_audit_rules.yaml ruleset requires the json plugin and it is not loaded (because you don't need it). This should solve your issue.

Hello,
It's stuck there for the k8s only one, even with the falco event generator (which is in loop mode) + manually triggerred events that should be monitored by falco :/
Weird for the json plugin, I'll check it tomorrow, but I'm pretty sure I added it before retrying it.
Thanks for the support 👍

Wanted to bump this issue. I also am having issues with getting the k8s-audit plugin up and working. The examples shown in the post from @alacuku has some good documentation for kOps, but not much else.
I had Falco running for syscalls just fine. Beautifully even. But when I attempt to convert it to k8s-audit, when I attempt restarting my api server with the appropriate webhook configured, the API Server never comes up. I'm assuming this may be an authentication issue, but when attempting to pass falco and approved key and cert I generated just for it, it still doesn't work.
It would seem to me that a change of this magnitude some come with some documentation along with it. I've met quite a few organizations which have also struggled with this change since v0.32.0.

Hi @BicycleWalrus, sorry to hear you are struggling to set up Flaco with k8s audit enabled.
It seems that the api-server is not able to reach the Falco instance. In the webhook configuration:
apiVersion: v1
kind: Config
clusters:
- cluster:
    server: http://<IP_ADDRESS>:8765/k8s-audit # IP Address is the Service ClusterIP
  name: falco
contexts:
- context:
    cluster: falco
    user: ""
  name: default-context
current-context: default-context
preferences: {}
users: []

the ClusterIP is used to contact the Falco instance. Have you checked that the api-server is able to reach the falco instance using that address? Furthermore, it seems that the port  8765 configured in the webhook is different from the default one of the falco configured by the chart 9765. Please be sure that the port and cluster ip address configured in the webhook match the ones configured for falco.
If for some reason the api-server is not able to reach falco over the ClusterIP you can use the following server address: http://localhost:30007/k8s-audit. If you are asking why that address the answer is clear if you check how we configured the values.yaml file of the helm chart:
driver:
  enabled: false

collectors:
  enabled: false

controller:
  kind: deployment

services:
  - name: k8saudit-webhook
    type: NodePort
    ports:
      - port: 9765 # See plugin open_params
        nodePort: 30007
        protocol: TCP

falco:
  rulesFile:
    - /etc/falco/k8s_audit_rules.yaml
    - /etc/falco/rules.d
  plugins:
    - name: k8saudit
      library_path: libk8saudit.so
      init_config:
        ""
        # maxEventBytes: 1048576
        # sslCertificate: /etc/falco/falco.pem
      open_params: "http://:9765/k8s-audit"
    - name: json
      library_path: libjson.so
      init_config: ""
  load_plugins: [k8saudit, json]

It configures a service of type NodePort for falco reachable at the nodePort 30007. If the nodePort 30007 is not available in your cluster then change it and remember to set the new values in the server address in the webhook configuration.

The documentation with appropriate guidance to get it working is not available, thus rendering the product 'unavailable'.

This is likely the real issue and I apologize for that.

I'm honestly mystified about this change. Falco was a very stable product, but ... it seems v0.32.0 broke it.

Plugins introduced new challenges and we had to change some assumptions in the Falco architecture. Anyway, I'm pretty sure the real issue is that we lack proper documentation.
@BicycleWalrus if you have any feedback on how we can improve that please share. For example, would a blog post have helped in such a case?
cc @falcosecurity/falco-maintainers

@BicycleWalrus thanks for your feedback.
I think the problem is in the documentation because I'm confident the k8saudit plugin works. The helm chart setup should work too, but perhaps some issue is hidden in the configuration, and we are not seeing it. AFAIK, also CKS is not up-to-date with the latest Falco version.
Anyhow, let's try to solve this issue. I want to help. Before debugging it, I want to add a bit of context and what changed with 0.32. Hoping that can clarify and also help to find a solution.
Before and after Falco 0.32

Falco 0.31.1
Falco 0.32.2

Required chart ver
v1.18.6
v2.0.17

Container image
falcosecurity/falco
falcosecurity/falco-no-driver

Chart AuditSink support
yes, used by defult
no

Multi-source (syscalls + k8saudit)
yes
no

Deploy kind
DaemonSet
Deployment

K8s audit support
built-in
plugin

K8s audit enabled by default
yes
no (k8saudit plugin must be configured)

Listening ports (default)
8765 (for both k8saudit and healthz endpoint)
9765 (for the k8saudit) / 8765 (only for healthz endpoint)

Service kind (default)
ClusterIP
NodePort

Important notes:

Configuration settings to enable k8s audit are completely different between 0.31 and 0.32
Old blog posts and previous documentation won't work with Falco 0.32

Webhook configuration caveats
kube-apiserver --audit-policy-file
If the flag is omitted, no events are logged. (see https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/#audit-policy).
This is a common mistake since this configuration was not required for the dynamic webhook (AuditSink), IIRC. It's mandatory now. It's particularly important because, depending on the policy file content, you may or not receive some kind of audit event.
kube-apiserver --audit-webhook-config-file
The webhook config file should be:
apiVersion: v1
kind: Config
clusters:
  - name: # name of your cluster here
    cluster:
      server: # webhook URL, see below
contexts:
  - context:
      cluster: # name of your cluster here
      user: ""
    name: default-context
current-context: default-context
preferences: {}
users: []

Now, assuming no SSL (so http://) and a NodePort configured in this way:
    type: NodePort
    ports:
      - port: 9765 # This must match the plugin open_params value
        nodePort: 30007
        protocol: TCP

There're two alternatives for server::

Using the ClusterIP: http://<ClusterIP>:9765/k8s-audit
This is the common configuration. One caveat is that the ClusterIP is not known before starting the kube-apiserver. So one has to start the kube-apiserver, get the ClusterIP, then modify the audit webhook confing file and restart the kube-apiserver. Also, DNS can't be used.

Using the local port: http://localhost:30007/k8s-audit
This has the advantage that the URL is known before starting the kube-apiserver. Since the nodePort will be available on all nodes, it will be available also in the kube-apiserver's node. So one can use localhost or the node IP (using the node IP may be mandatory depending on the K8s configuration).

Using NodePort is preferable for the simplicity of the configuration.
Troubleshooting
Is the Falco webhook listening?
Yes, if the Falco start-up log include:
Loading plugin (k8saudit) from file /usr/share/falco/plugins/libk8saudit.so
Is the Falco webhook reachable?
Try curl http://<ClusterIP>:9765/k8s-audit.
If you make a GET request, it will reply with GET method not allowed.
Is the API server sending events?
Check the kube-apiserver logs, for example:
k --namespace kube-system logs -f kube-apiserver-kind-control-plane

Audit Log messages and errors should be reported.
Falco output may be buffered
In such case, events may appear only after a while.
Try tty: true.
Repro
If all tips above have not worked, we need a repro. In particular, we need:

Exact version of the Falco Helm chart
Helm values used (please use helm get values falco)
Contents of the policy file and the webhook config file
Kubernetes version

And any other details (i.e., any customization) you believe can be relevant.
If you can't publicly share some info, you can contact me via DM on Kubernetes Slack (if that works for you).

Excellent! Will work this today, and should have at least the results of the attempt with this information, if nots steps to reproduce.
Thanks!

Hello,
The above configuration is for cluster setup by using kubeadm. What about when using EKS?  How to make sure api server  is sending the event to falco webhook?
Followed the configuration given in https://github.com/falcosecurity/charts/blob/master/falco/values-k8saudit.yaml but it is not working and i dont see any logs coming in falco pods.
I am able to send the syscall events to falco but k8s-event is not coming.
Kindly guide me if i need to do the extra configurations or point me to the docs using which i can make it work.
Environment
EKS 1.21
falco version 0.32.2
Falco logs stuck it here.

cc @leogr @alacuku

cc @jasondellaluce

Great!! We will wait for it to be present in the helm charts.
Thanks a lot!!

not sure if anyone managed to get the k8saudit plugin work, I've struggled since day1 with the deployment.
I also posted the question on stackoverflow to look for help.
https://stackoverflow.com/questions/73301538/falco-couldnt-get-in-datasource-k8s-audit-in-falcosidekick-ui-after-deploy-fal/74003029#74003029
Yesterday i found this issue, it's exactly the same with my problem.
I went through the comments from @leogr  https://github.com/falcosecurity/falco/issues/2172#issuecomment-1249101560
tired both options of the server for webhook, neither works for me, i also followed the troubleshooting suggestion to check my deployment, all looks good.
and as I mentioned in my question, there is no data dump from port 9765, only the health check from port 8765, is it correct?
$tcpdump -i cali2b1a048d315
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on cali2b1a048d315, link-type EN10MB (Ethernet), capture size 262144 bytes
09:46:47.206455 IP node1.52642 > <IP_ADDRESS>.8765: Flags [S], seq<PHONE_NUMBER>, win 62370, options [mss 8910,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 10], length 0
09:46:47.206483 IP <IP_ADDRESS>.8765 > node1.52642: Flags [S.], seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 62286, options [mss 8910,sackOK,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>,nop,wscale 10], length 0
09:46:47.206501 IP node1.52642 > <IP_ADDRESS>.8765: Flags [.], ack 1, win 61, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
09:46:47.206528 IP node1.52644 > <IP_ADDRESS>.8765: Flags [S], seq<PHONE_NUMBER>, win 62370, options [mss 8910,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 10], length 0

Just to make clear, I still haven't gotten the K8s Audit plugin to work.
On Mon, Oct 10, 2022, 2:12 AM CindyLizi @.***> wrote:

not sure if anyone managed to get the k8saudit plugin work, I've struggled
since day1 with the deployment.
I also posted the question on stackoverflow to look for help.
https://stackoverflow.com/questions/73301538/falco-couldnt-get-in-datasource-k8s-audit-in-falcosidekick-ui-after-deploy-fal/74003029#74003029
Yesterday i found this issue, it's exactly the same with my problem.
I went through the comments from @leogr https://github.com/leogr #2172
(comment)
https://github.com/falcosecurity/falco/issues/2172#issuecomment-1249101560
tired both options of the server for webhook, neither works for me, i also
followed the troubleshooting suggestion to check my deployment, all looks
good.
and as I mentioned in my question, there is no data dump from port 9765,
only the health check from port 8765, is it correct?
$tcpdump -i cali2b1a048d315
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on cali2b1a048d315, link-type EN10MB (Ethernet), capture size 262144 bytes
09:46:47.206455 IP node1.52642 > <IP_ADDRESS>.8765: Flags [S], seq<PHONE_NUMBER>, win 62370, options [mss 8910,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 10], length 0
09:46:47.206483 IP <IP_ADDRESS>.8765 > node1.52642: Flags [S.], seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 62286, options [mss 8910,sackOK,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>,nop,wscale 10], length 0
09:46:47.206501 IP node1.52642 > <IP_ADDRESS>.8765: Flags [.], ack 1, win 61, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
09:46:47.206528 IP node1.52644 > <IP_ADDRESS>.8765: Flags [S], seq<PHONE_NUMBER>, win 62370, options [mss 8910,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 10], length 0
—
Reply to this email directly, view it on GitHub
https://github.com/falcosecurity/falco/issues/2172#issuecomment-1272826859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHVVAC6IE64AFMEOPI7WRGLWCOXWVANCNFSM57GPMN5Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

I also posted the question on stackoverflow to look for help. https://stackoverflow.com/questions/73301538/falco-couldnt-get-in-datasource-k8s-audit-in-falcosidekick-ui-after-deploy-fal/74003029#74003029

The answer in StackOverflow seems correct to me. You should use port 9765.

Yesterday i found this issue, it's exactly the same with my problem, it's great that @leogr provided the detail information, it will be better if such information could be found from https://github.com/falcosecurity/charts/tree/master/falco#kubernetes-audit-log

Totally agree. I've opened an issue to track this :point_right: https://github.com/falcosecurity/charts/issues/410

I went through the comments from @leogr #2172 (comment) tired both options of the server for webhook, neither works for me, i also followed the troubleshooting suggestion to check my deployment, all looks good.
and as I mentioned in my question, there is no data dump from port 9765, only the health check from port 8765, is it correct?

Note that if you don't receive any data on port 9765, the issue is not in the Falco configuration but in how the Kubernetes Audig Log webhook backend is configured.

and does falcosidekick UI support the k8saudit plugin? need any update to adopt it?

Falcosedikick just consumes Falco's output. If you get k8sudit alerts work in Falco, you should see them in falcosidekick UI too.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Hey folks,
Is this still an issue?

Yes, I'm still having issues, can I contact you by slack?

Sure. I'll be happy to help. Just consider that we are currently very busy with the upcoming release.

Sure. I'll be happy to help. Just consider that we are currently very busy with the upcoming release.
I have a question, i nthe deamonset I have to leave the driver's flag set to false if I use a plugin(k8saudit). But if is set to false my 2 container don't have logs, if I set the flag to true the container generate the logs but I'm not sure that are ok k8s. Seems that the 2 container watch the same things, when they should control or syscall or k8s audit

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


CDATA tags crashes parser

I'm porting DAV4jvm to Java >= 9 using ktxml (it used to use xpp3 which isn't compatible with Java 9's new modules system), and one of the tests there failed because MiniXmlPullParser threw an IndexOutOfBounds exception when parsing:
<test><![CDATA[Test 1</test><test><garbage/>Test 2]]></test>

This wasn't something I could fix there, so I tested a simpler CDATA tag:
<text><![CDATA[Hello World]]></text>

When this also failed I dug into the ktxml code and figured out that peekType() was peek()ing too far ahead sometimes and causing problems, as well as not handling CDATA attributes.

Thanks for the report & fix!


OpenJDK 8 broken font rendering e.g. for Google font "Great Vibes"

Platform: Debian GNU/Linux 9.9 (stretch), Ubuntu 18.04, Arch Linux
Architecture: amd64
Please see the following images for Google font "Great Vibes":
OpenJDK 8 broken font redering:

OracleJDK 8, OpenJDK 10, 11, 13 correct font rendering:

Example code:
Wrong rendering not visible:
javax.swing.JButton button = new javax.swing.JButton("Open");
java.awt.Font font = new java.awt.Font("Great Vibes", Font.PLAIN, 64);
button.setFont(font);

Wrong rendering visible:
javax.swing.JButton button = new javax.swing.JButton("Open");
java.awt.Font font = new java.awt.Font("Great Vibes", Font.PLAIN, 128);
button.setFont(font);

As it turns out, it is related to the font version we are using.
broken font version:

correct font version downloaded from here

https://github.com/corretto/corretto-8/issues/176

@karianna why you closed this issue?

@BuZZ-dEE - I think I interpreted your previous message incorrectly!  I thought you fixed it by a 3rd party upgrade of a font library.

This is to do with the fact that we don't ship Marlin renderer in jdk8 (Azul and Oracle do) This is expected behaviour and is not a bug. There are already multiple issues in this repo about this. Please follow https://github.com/AdoptOpenJDK/openjdk-build/issues/1119 for updates. Closing

@gdams Are you sure, that this problem has to do with Marlin renderer? I tried to use Marlin-renderer <IP_ADDRESS>:
java -Xbootclasspath/a:${PATH_TO_MARLIN}/marlin-X.Y.Z-Unsafe.jar \
     -Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine \
     ...

and the problems still exists:
FontRederingErrorDemo.zip

Backport of 8057986: freetype code to get glyph outline does not handle initial control point properly #183
https://github.com/corretto/corretto-8/pull/183


Add support for Android setNotificationResponsiveness

Fixes https://github.com/Basel-525k/geofence_foreground_service/issues/7.
I wasn't sure how the Constants.swift file interacts with private enum CodingKeys; could you check if I got that part correct please?

Thanks for the PR, the code looks clean and the changes are well written.
Above is my only comment of the PR, other than that all looks good
Thanks again 🙏

I've made the default value of this new field null so that we are future-proofing incase Android decides to change the default value (from zero to something else). I've also added explicit buttons to the example app to exercise cases of using this field vs. not. And these are WAI in an emulator evironment.


fix two cropping issues

Issue number 1:

When your backend supports cropping and the image needed a resize, we were sending the non-resized image to be displayed

Issue number 2:

When your backend didn't support cropping and we handled it, the crop-cache file paths would be overridden, so we were always displaying the most recently cached cropped image under the assumption that they were all different versions that we had cached.  Simply put, all the cache keys were pointing to the same file path

For images relating to these issues, see conversation in #42
I've also moved some logic around, now we don't do anything with crop-caching if the backend supports cropping

Amazing work, thank you!


Lint-rule: prevent property has same name with the model name

.Net and python cannot support the property has the same name as the model name. see following example:
model Message {
  message: string;
}

Dotnet will generate as
public partial class Message
{
    public string Message { get; set; }
}

This leads to error

error CS0542: 'Message': member names cannot be the same as their enclosing type

Can we add a lint-rule for cadl that it is not allowed to define a property has the same name as the model name?

@chunyu3 Can you please open shis in the cadl-azure repo?  https://github.com/Azure/cadl-azure/issues

Closign as duplicate of: https://github.com/Azure/cadl-azure/issues/2185


Arc-SaaS: Issues related to arc-saas tenant onboarding

Describe the bug
Following issues:
1.Incorrect provisioning status - for successful provision tenant correct status is not shown .
2. app plane migration user seed - migration issue on app plane side
3. After tenant is successfully onboarded , mail is not sent
4. company name is going as username but username should be key
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Closing as fixed..!


Corrupt files?

My bot stopped working all of a sudden.
After logging in successfully, this is the message I keep getting in my terminal
Anyone has a clue?
Traceback (most recent call last):
File "pokecli.py", line 494, in
main()
File "pokecli.py", line 62, in main
bot.start()
File "/Users/User1/PokemonGo-Bot/pokemongo_bot/init.py", line 54, in start
self._setup_api()
File "/Users/User1/PokemonGo-Bot/pokemongo_bot/init.py", line 289, in _setup_api
self.update_inventory()
File "/Users/User1/PokemonGo-Bot/pokemongo_bot/init.py", line 397, in update_inventory
if {"item_id", "count"}.issubset(set(item_info.keys())):
AttributeError: 'NoneType' object has no attribute 'keys'
PokeBot crashed with exit code 1.  Respawning..

Same error here with latest code
Git commit : a7523a1ef9064e2470be69fb1a73a2bbbfa75373

Broken with #1587 at a7523a1

Ah, an issue was submitted already. Yeah, got this as well.

just checked error occurs after the "refactor" commit. Commit eac7989d41cca4ee0289304f5b4b903e9ca4b6f3 is fine.

test latest dev now, I fixed.


Fix find command bug

Fixed find command bug where program only returns events which full name "matches" the keyword instead of "containing" the keyword
Contributes to #201

LGTM 👍


Implement a way for finding an appropriate response to return when receiving a mock request

Currently, we're retrieving the mocked response based on the lowest status code. We need to provide a mechanism to select the appropriate response when there are multiple responses for the operation.

We can get as inspiration what https://microcks.io/ does.


Multiple uses of a condition break the display of radio buttons

Reproduction
https://formkit.link/2e71f739b570c5e5f32ec2a59abdcb0d
Describe the bug
I have come across a strange bug, which appears when I use the same conditional multiple times when there's a radio input present.
In the example, you can see that if you select 'test 1' in the dropdown the radio buttons do not render.
If you uncomment out line 31 it all works - it's worth noting this is nothing to do with the comment, if you remove line 31 all together the issue still occurs. I have just left it there to demonstrate when it is present it seems to work.
Environment
• OS: OSX
• Browser chrome

I believe in this case you just need to add some keys to those conditional inputs:
https://formkit.link/9eab1686c0c4f2d89199a550ff75cb64

Thanks for this!
Just so I'm clear - do you have anywhere in the docs with info about the usage of id , name and key as I'm a bit unsure of the purpose of each of them? We've been using name for all other conditionals, which still works as expected. Is the key only required in these situations where conditions exist in repeaters?

The props table which includes id and name are included on every input’s documentation page:

The key thing is not related to FormKit, this is actually a Vue primitive, but you can read more about it here: https://vuejs.org/api/built-in-special-attributes.html#key
We'd like to add better root node support for the inputs which should make the key necessary in fewer circumstances, but for now it is often required when conditionally swapping between two structures (see #528).
Good luck! 👍

Hello @justin-schroeder
I've faced a similar problem and fixed it by adding keys, thanks.
Would it be nice to let formkit generate the keys automatically?
Reproduction:
https://formkit.link/0c24f3580753ffc9f29dd6ae60d48dc2

Yes, that would be nice, we have an issue open to track that. Unfortunately it requires some changes to how schema is parsed. You can track: #407

Ok, thanks @justin-schroeder


More upgrade fixes from production run

Found that we weren't passing env details into the upgrade roles
Fixed up confusion about novncproxy and where it should run
Caught a regression with vnc keymap.

👍

retest


Clicking on any saved options will open a new tab

What does this PR do?
Whenever we click on a saved scrroll, instead of redirecting it to the destination it will now open a new tab with the required destination.
I'm not sure if this change is really required, but it's a small change so I considered working on it.

Nice catch

@all-contributors please add abstrekt for code


Cannot build image without internet access

Hello,
I've configured dockerfile-maven:1.4.0 via my POM and everything is working fine until I'm trying to work offline. In order to build the project and the image I use mvn package and receive the following output:
docker-offline.txt
Is there a way I can build my images without internet connection?
Also, is there a way I can have the newly created image automagically tagged as latest?

You can set pullNewerImage to false in the plugin configuration, but note that that will only be useful if the image trying to be pulled already exists in your local docker cache.
https://github.com/spotify/dockerfile-maven/blob/49782a201fae60d05f49897280770e73202cd59a/plugin/src/main/java/com/spotify/plugin/dockerfile/BuildMojo.java#L77-L81


Added Name page to request a TRN journey

Context
We’re building an interim solution that replaces Galaxkey for requesting a TRN for NPQ participants.
Changes proposed in this pull request
Add a name page (following the Request a TRN designs in Figma) under /request-trn/name
When a non-empty full name is entered and Continue is clicked, store the name & previous name on the FormFlow instance and redirect to /request-trn/date-of-birth(a new page).
If no name is entered show an error Enter your name.
If the ‘Do you have a previous name’ question is not answered, show an error Tell us if you have a previous name.
If ‘Yes’ is answered to the ‘Do you have a previous name' but no previous name is entered, show an error 'Tell us your previous name’.
If the email question has not yet been answered, redirect to /request-trn/email.
Guidance to review
new page in journey + tests
Checklist

[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Get a TRN - name page


[Feat request] Support different root element

Currently the lib decide about what is the root element to use for the query see this line.
The issue with this approach, is that sometimes the elements we want to query are rendered outside of this "root" element, E.g: Modals, popovers and portals in general that are attached to the document.body.
I don't see any way to work around this issue with the current implementation, so I'm suggesting an additional API that will allow consumers to pass a root element:
For example:
pseudo: {
  root: document.body, // <- new API
  hover: '.my-tooltip'
}

This can be done in the applyParameter function, we just need to take in account the root parameter and have a fallback to whatever we have today in case the consumer didn't pass it.
  const {root = rootElement, ...parameters} = parameter // <- get the root param with a fallback and also filter it out from the rest of the parameters (i.e states).

  Object.entries(parameters || {}).forEach(_ref => {
    let [state, value] = _ref;

    if (typeof value === "boolean") {
      // default API - applying pseudo class to root element.
      add(root, value && state);
    } else if (typeof value === "string") {
        // explicit selectors API - applying pseudo class to a specific element
        root.querySelectorAll(value).forEach(el => add(el, state));

    } else if (Array.isArray(value)) {
      // explicit selectors API - we have an array (of strings) recursively handle each one
      value.forEach(sel => root.querySelectorAll(sel).forEach(el => add(el, state)));
    }
  });

@ghengeveld  WDYT?

@ghengeveld Would appreciate you take on this :)

Seems reasonable.
@thafryer Should we schedule this?

@sag1v Feel free to go ahead and open a PR!

Please change it to rootElement though, so it's more clear an element is expected (not a CSS selector).

@thafryer @ghengeveld see #65 PR

@thafryer @ghengeveld Hi, any chance we can move forward with this?


When used PageView to contain UiKitView in non-full screen iOS, sliding effect will failure after open iOS menu from bottom

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
Please check this demo:
https://github.com/EchoPuda/test_UiKitView
...

Please check this video:
5A8C980B2DDA7FAD4844E54AE2B8CE9B.mp4.zip
Expected results:
Sliding smooth
Actual results:
Sliding effect failure

Logs

Analyzing test_bug...
No issues found! (ran in 5.3s)

[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.6 19G2021, locale zh-Hans-CN)
    • Flutter version 1.22.1 at /Users/zhengjiaming/Flutter1.20.2/flutter
    • Framework revision f30b7f4db9 (3 weeks ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/zhengjiaming/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • ANDROID_HOME = /Users/zhengjiaming/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] VS Code (version 1.48.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • MI CC 9 (mobile) • fd28aa76                                 • android-arm64 • Android 10 (API 29)
    • iPhone8 (mobile) • a444c48371fcf8a3e5f47122eb79237a6100adcd • ios           • iOS 13.7

! Doctor found issues in 1 category.

@EchoPuda
I cloned your repo and tried to run on iPhone, but getting below build errors:
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    error: /Users/dhs/Documents/NCFlutter/test_UiKitView/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')
    error: /Users/dhs/Documents/NCFlutter/test_UiKitView/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')
    error: /Users/dhs/Documents/NCFlutter/test_UiKitView/ios/Flutter/Debug.xcconfig:1: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths (in target 'Runner' from project 'Runner')

Could not build the precompiled application for the device.

Can you check again if the project in github is workable to be cloned and run ?
Thanks.

Hi @EchoPuda
Closing see my comment, please file an issue only for sliding effect bug  https://github.com/flutter/flutter/issues/68777#issuecomment-717294216
Thank you

Hi @TahaTesser
Please open this issue, this issue is only for sliding effect bug.

Hi @darshankawar
I can run the project without problem.
Please flutter clean,  pod install and rebuild again.
This is a new project that only edits main.dart and iOS Runner. Nothing has changed in the environment.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.7 19H2, locale zh-Hans-CN)
    • Flutter version 1.22.1 at /Users/zhengjiaming/Flutter1.20.2/flutter
    • Framework revision f30b7f4db9 (3 weeks ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/zhengjiaming/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • ANDROID_HOME = /Users/zhengjiaming/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] VS Code (version 1.48.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • MI CC 9 (mobile) • fd28aa76                                 • android-arm64 • Android 10 (API 29)
    • iPhone  8 (mobile)    • 9033a062e625d053ce704353877e78d8f20adf43 • ios           • iOS 14.0.1

! Doctor found issues in 1 category.

@EchoPuda

Hi @EchoPuda
I can reproduce the issue on non-fullscreen ios, it doesn't reproduce on XR, it has to be ios manu from the bottom to break the scrolling animation
Code Sample
https://github.com/EchoPuda/test_UiKitView

Fullscreen
Non-fullscreen

iphone_xr.MOV.zip
iphone_8.zip

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale en-GB)
    • Flutter version 1.22.2 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 84f3d28555 (2 weeks ago), 2020-10-15 16:26:19 -0700
    • Engine revision b8752bbfff
    • Dart version 2.10.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.10.0.rc.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.1

[✓] Connected device (2 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios • iOS
      14.1
    • iPhone 8 (mobile)      • 47C5D3B7-4866-4424-A24D-2740575AB02D • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Mac OS X 10.15.7 19H2 x86_64,
    locale en-GB)
    • Flutter version 1.23.0-18.1.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 198df796aa (2 weeks ago), 2020-10-15 12:04:33 -0700
    • Engine revision 1d12d82d9c
    • Dart version 2.11.0 (build 2.11.0-213.1.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.10.0.rc.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.1

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios
      • iOS 14.1
    • iPhone 8 (mobile)      • 47C5D3B7-4866-4424-A24D-2740575AB02D • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)
    • Web Server (web)       • web-server                           •
      web-javascript • Flutter Tools
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 86.0.4240.111

• No issues found!

[✓] Flutter (Channel master, 1.24.0-4.0.pre.165, on Mac OS X 10.15.7 19H2
    darwin-x64, locale en-GB)
    • Flutter version 1.24.0-4.0.pre.165 at /Users/tahatesser/Code/flutter_master
    • Framework revision e444b1e3fa (8 hours ago), 2020-10-30 00:41:52 -0400
    • Engine revision 99cc50dfff
    • Dart version 2.11.0 (build 2.11.0-266.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.10.0.rc.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.50.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.1

[✓] Connected device (5 available)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E            • ios
      • iOS 14.1
    • iPhone 8 (mobile)      • 47C5D3B7-4866-4424-A24D-2740575AB02D • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-1 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64
      • Mac OS X 10.15.7 19H2 darwin-x64
    • Web Server (web)       • web-server                           •
      web-javascript • Flutter Tools
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 86.0.4240.111

• No issues found!

Hi @TahaTesser
Yeah, that only happens when using UiKitView. And I found that It will recover after other operations, such as switching pages, switching front and back.

I also found that the scrolling animation breaks when I use the "Home Indicator" to toggle the application back and forth.
I noticed this on the iPhone 12Pro.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.1, on Mac OS X 10.15.7 19H2, locale zh-Hans-CN)
    • Flutter version 1.22.1 at /Users/zhengjiaming/Flutter1.20.2/flutter
    • Framework revision f30b7f4db9 (5 weeks ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/zhengjiaming/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • ANDROID_HOME = /Users/zhengjiaming/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] VS Code (version 1.48.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • MI CC 9 (mobile) • fd28aa76                  • android-arm64 • Android 10 (API 29)
    • iPhone 12 (mobile)    • 00008101-000A60261E89003A • ios           • iOS 14.2

! Doctor found issues in 1 category.

@EchoPuda I re-visited the issue, checked it on my device iPhone 7, iOS 15.8 but couldn't see the issue. It seems to be fixed on the latest Flutter versions. Please check the demo below:

Demo
https://github.com/flutter/flutter/assets/104349824/29617ac7-1291-4fbf-b02a-9d176d0a111f

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.5, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.5 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (25 hours ago), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.87.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

[✓] Connected device (3 available)
    • Pixel 7 (mobile) • 2B171FDH20084L • android-arm64  • Android 14 (API 34)
    • macOS (desktop)  • macos          • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome         • web-javascript • Google Chrome 123.0.6312.86

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.22.0-3.0.pre.23, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.0-3.0.pre.23 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e6f078fff5 (22 minutes ago), 2024-04-03 04:39:46 +0200
    • Engine revision bb4ec2d7eb
    • Dart version 3.5.0 (build 3.5.0-7.0.dev)
    • DevTools version 2.34.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.87.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 123.0.6312.87
    ! Error: Browsing on the local area network for iPad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

I will close this as fixed. If you still experience this on your device and on the latest Flutter version, please write in comments. Thanks!


Visible error messages are not shown at forms

The same happens with success, warning and info messages.
jsfiddle
The .ui.form .error.message { display: none } css rule has more importance than .ui.message.visible { display: block }
I don't know if this is intended or not, but I think .visible messages should always be visible

Yeah. I think the counterpoint is using !important; confuses people who try to hide with $('.message').hide(); and find that it doesn't work.
Most likely the "best" solution is something like what's done with button loading. Maxing out the specificity without using important, ala .ui.visible.visible.visible.visible.visible.message. If only there was a way to specify css selector specificty ala z-index...

Fixed in next

someting interesting

Release a couple hours ago


BerkeleyDB to Redis migration

This pull request is a simple implementation of the frontier component using Redis instead of BerkeleyDB if there's some interest in crawler4j backed by Redis

Let me understand as I don't know redis.
For this to work, should I install a Redis server somewhere ?
Why did you change to Redis in the first place ? - did you encounter any problem with the current internal DB ? - did Redis perform better in terms of memory or something ?

Right, you need to start a Redis server.
No issues detected with the internal DB, the idea is not really to move crawler4j to Redis but to initiate support of multiple datastore. (I have a client with existing infrastructure requiring to use internal tools like Redis)

In this form it can't be integrated into the core of crawler4j as we aim
crawler4j for the simple users which don't want to fuss with it, just to
have an instant tool for crawling.
For the more advanced users which have many demands there are several other
crawlers out there like solr-lucene, elastic search, storm crawler and lots
of others.
But this is Yasser's call, which might find it useful to integrate a redis
DB if it was optional, and the default remained as it is - but again this
is Yasser's call.
Anyway, thank you for your contribution, I am sure that even as it is many
will do find it useful
On Fri, Jul 15, 2016 at 6:19 PM, christophe-pietquin <
<EMAIL_ADDRESS>wrote:

Right, you need to start a Redis server.
No issues detected with the internal DB, the idea is not really to move
crawler4j to Redis but to initiate support of multiple datastore. (I have a
client with existing infrastructure requiring to use internal tools like
Redis)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yasserg/crawler4j/pull/145#issuecomment-232981460,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABrbW1RVrPryCbHklLEjYqfdnheY1PxTks5qV6T1gaJpZM4JNcpn
.

@Chaiavi  Am little curious to know, that BerkeleyDB falls under  GPL license, where in crawler4j is Apache 2.0.   Please help me in understanding usage of it.

Ohh, I am not sure.
I don't really understand the licensing issue, as I never went into it
understanding the licenses differences.
There might be a problem here, though I am sure BerkleyDB won't sue us
So, in short, I am totally not the person to answer that  :-)
On Wed, Nov 30, 2016 at 8:45 AM, manojchandar<EMAIL_ADDRESS>wrote:

@Chaiavi https://github.com/Chaiavi Am little curious to know, that
BerkeleyDB falls under GPL license, where in crawler4j is Apache 2.0.
Please help me in understanding usage of it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yasserg/crawler4j/pull/145#issuecomment-263796659,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABrbW8i8tXhJeLJgeWQp0borY3jYYc2kks5rDRuDgaJpZM4JNcpn
.

Maybe it would be beneficial to provide interfaces for the db-specific classes and then provide the implementation via separate maven modules in order to allow quick exchange of the implementation to use.
Any ideas @s17t @yasserg @Chaiavi ?

Maybe it would be beneficial to provide interfaces for the db-specific

@rzo1 this is the way to go. I would like to drain the pull requests queue a little bit more and write some test around the current Frontier part before that. I've added stuffs that should make easier to write test (see WireMock, Spock and the Groovy compiler for the src/test/groovy folder).

@s17t Yes. We should indeed go for a better test-coverage before working on this core part.

Agreed.
Stage 1: Add tests
Stage 2: Extract interface while still using the same implementation
(Berkly)
Stage 3: Change internal DB which will implement the same interface while
providing Profiling statistics which show the better performance of the new
DB.
Each one of the steps is beneficial for the projects even if the following
steps won't be yet implemented
On Fri, Dec 16, 2016 at 10:16 AM, rz<EMAIL_ADDRESS>wrote:

@s17t https://github.com/s17t Yes. We should indeed go for a better
test-coverage before working on this core part.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yasserg/crawler4j/pull/145#issuecomment-267540831,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABrbW3U0liB5VrlSASz0pl2kbiX6uSpsks5rIkj2gaJpZM4JNcpn
.


[Intel-MKL] Support for N-D Transpose using MKL-DNN

This PR adds support for N dimensional transpose using MKL-DNN.
Since MKL-DNN requires exception support enabled for compilation,
we create a new build rule for mkl_transpose_op, and thus the related
changes in other build files. Also, since we can eliminate MKL binary
blob for Transpose, we add corresponding preprocessor macros around
transpose code.

Nagging Assignee @caisq: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@nhasabni Thanks for your patience. Attempting to merge now.


Update ads-extension-telemetry

Minor update to fix withConnectionInfo and add withServerInfo.
Also changed provider property name in core to match the name in the object and what the extension telemetry was sending.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.008%) to 41.986%

Files with Coverage Reduction
New Missed Lines
%

src/sql/platform/telemetry/common/adsTelemetryService.ts
2
10.81%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
28795

Relevant Lines:
63695

💛  - Coveralls


[NEW ALGORITHM] SUM TREE

Name:
[NEW ALGORITHM]  Given a binary tree, the task is to check if it is a Sum Tree. A Sum Tree is a Binary Tree where the value of a node is equal to the sum of the nodes present in its left subtree and right subtree. An empty tree is Sum Tree and the sum of an empty tree can be considered as 0. A leaf node is also considered a Sum Tree.

About:
Implementation of binary tree
Input:
The nodes of the tree.
Output:
True or False ( Based on calculating the value of child nodes and parent node)
Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

Additional Information
Please assign me this issue I want to work on this,

Please assign me this issue I want to work on this

@shuvojitss assigned


Upgrade carto/torque.js dependencies to enable image filters

That will allow to start rendering heatmaps servers side with torque

Ref https://github.com/CartoDB/cartodb/issues/2384


fix: iOS app crash caused by the request operation canceling

Summary:

Currently we observed many iOS app crashes caused by the [RCTFileRequestHanlder invalidate] method, just as the below screenshot.

Changelog:

[IOS] [FIXED] - app crash caused by the [RCTFileRequestHanlder invalidate] method
Test Plan:

I am not able to reproduce this issue locally either, so the changes in this PR are totally from my inference, I am not sure if it really makes sense, so please help take a deeper look, thanks.

@mojodna @jsierles @augustl Could you help take a look at this PR? Thanks.

@zhouzh1 hi! Out of curiosity, why did you tag me in this PR? I keep getting tagged in React Native PRs for some reason, and I'm not sure why :)

Hey @augustl, sorry, I thought you're a memeber of the react-native dev team, because your id was displayed in the hint list when I was typing the @ char in the comment box. 😸

@cipolleschi Put more information here for your reference.

I only observed this crash in production by sentry, have not seen it in dev.
According the sentry breadcrumbs, seems that most of the events happened after the app was pushed to the background state.
You can see the relevant error messages that we collected by sentry on the below screenshot.

Posted a complete crash report.
79c34beca2e542da9ab6df2ad54ec60d-symbolicated.crash.zip

@zhouzh1, this diff assumes that the crash occurs because file reader invalidation should occur on the main thread. Have we validated that assumption? If not, we should! If so, then, why not just just surgically modify the file reader as opposed to the bridge? As it stands, your changes will cause a lot of code to execute on the main thread, which could have significant perf implications.

@RSNara As you can see from the code and the above conversation with @cipolleschi , there is already a RCTAssertMainQueue() invocation in the start of the invalidation, that means the original intention is just needing the code running on the main queue? Just exactly because of accidentally the official dev team didn't notice the RCTAssertMainQueue won't take effect in release build on most of the cases (it's just my guess and inference, if the dev team knew that and did it intentionally, please ignore).

@zhouzh1, this diff assumes that the crash occurs because file reader invalidation should occur on the main thread. Have we validated that assumption? If not, we should! If so, then, why not just just surgically modify the file reader as opposed to the bridge? As it stands, your changes will cause a lot of code to execute on the main thread, which could have significant perf implications.

@RSNara As you can see from the code and the above conversation with @cipolleschi , there is already a RCTAssertMainQueue() invocation in the start of the invalidation, that means the original intention is exactly needing the corresponding code running on the main queue? Just exactly because of accidentally the official dev team didn't notice the RCTAssertMainQueue won't take effect in release build on most of the cases (it's just my guess and inference, if the dev team knew that and did it intentionally, please ignore).

I just took a look!
RCTCxxBridge invalidate should only ever be called from RCTBridge invalidate. And RCTBridge invalidate schedules RCTCxxBridge invalidate on the main thread:
https://github.com/facebook/react-native/blob/main/packages/react-native/React/Base/RCTBridge.mm?fbclid=IwZXh0bgNhZW0CMTEAAR0vNpP3fC5jmfsIbD3EGeU8ynLhumgdGU2JgStLpsMNIT8VNT9PqeT3N2I_aem__qaj5Hd0GAQmvSVLs7dQZA#L368
So, it's very curious that you're running into this issue. Could it be that in your code, you're relying on the dealloc method of RCTBridge? And that just synchronously deallocates the RCTCxxBridge on the current (i.e: potentially non-main) thread?

@zhouzh1, this diff assumes that the crash occurs because file reader invalidation should occur on the main thread. Have we validated that assumption? If not, we should! If so, then, why not just just surgically modify the file reader as opposed to the bridge? As it stands, your changes will cause a lot of code to execute on the main thread, which could have significant perf implications.

@RSNara As you can see from the code and the above conversation with @cipolleschi , there is already a RCTAssertMainQueue() invocation in the start of the invalidation, that means the original intention is exactly needing the corresponding code running on the main queue? Just exactly because of accidentally the official dev team didn't notice the RCTAssertMainQueue won't take effect in release build on most of the cases (it's just my guess and inference, if the dev team knew that and did it intentionally, please ignore).

I just took a look!
RCTCxxBridge invalidate should only ever be called from RCTBridge. And RCTBridge invalidate and reload (but not dealloc) schedules RCTCxxBridge invalidate on the main thread:
https://github.com/facebook/react-native/blob/main/packages/react-native/React/Base/RCTBridge.mm?fbclid=IwZXh0bgNhZW0CMTEAAR0vNpP3fC5jmfsIbD3EGeU8ynLhumgdGU2JgStLpsMNIT8VNT9PqeT3N2I_aem__qaj5Hd0GAQmvSVLs7dQZA#L368
So, it's very curious that you're running into this issue. Could it be that in your code, you're relying on the dealloc method of RCTBridge? And that just synchronously deallocates the RCTCxxBridge on the current (i.e: potentially non-main) thread?

Your curiosity is mine as well. Before I submitted this PR, I was also suspecting if there is a certain place in my code or 3rd-party library code where the RCTBridge or the RCTCxxBridge deallocation is invoked explicitly, but I didn't manage to find it. However anyway, we always need to ensure the RCTCxxBridge invalidation to be run on the main thread, is it right? If so, it makes sense to wrap it with the RCTExecuteOnMainQueue?

@zhouzh1 is your app using Expo? I wonder if Expo does something under the hood to try and manage the lifecycle of the Bridge. Similarly, there might be libraries that attempt to do the same. If they connect some private API like the reload one to some JS function, it might happen that the invalidation process starts from the JS Thread instead of from the main one. 🤔
This is an hypothesis that we need to validate, thought.. It would be helpful to know what dependencies are you using. Also, are you using any crash reporting solution like Sentry? those product usually allow you to leave breadcrumbs that can be used to investigate crashes. What was the user doing in the app when the crash occurred? What was the last action issued?

@zhouzh1 is your app using Expo? I wonder if Expo does something under the hood to try and manage the lifecycle of the Bridge. Similarly, there might be libraries that attempt to do the same. If they connect some private API like the reload one to some JS function, it might happen that the invalidation process starts from the JS Thread instead of from the main one. 🤔
This is an hypothesis that we need to validate, thought.. It would be helpful to know what dependencies are you using. Also, are you using any crash reporting solution like Sentry? those product usually allow you to leave breadcrumbs that can be used to investigate crashes. What was the user doing in the app when the crash occurred? What was the last action issued?

Yes, our app is using the expo and many of its associated libraries (e.g. the expo-updates, expo-camera, and so on), I think what you said above makes sense.
According to the Sentry breadcrumbs we collected, I found most of the crash events occurring after the app was pushed to the background state, and meanwhile, there were some requests in pending.

@cipolleschi  Any ideas about the above information I provided?

It partially makes sense. Moving an app to background triggers the events on the main thread. So the whole invalidation should already happen in the right thread.
But from your stack trace, the invalidation seems to arrive from a different thread. That's what we do not understand.
Also, the purpose of the invalidation and requestCancelling, is exactly to avoid those kind of crashes... As soon as the app goes in background, the operation are cancelled and they should not be executed... :/

Any chance that you can try and prepare a repro using this template, so that we can investigate this problem with more ease?

@cipolleschi Unfortunately we haven't managed to reproduce it...😂, but from what you said, seems that as long as we can ensure that the invalidation process only happens on the main thread, we can certainly avoid those crashes, is it right?

I was investigating this a little bit more, and I found that when the app is reloaded (pressing r on Metro):

we are already on the main thread
we call [RCTBridge invalidate]. This function jumps asynchronously to the main queue.
That function then calls [RCTCxxBridge invalidate] that performs all the invalidation code.

In your crash, there could be some piece of code that calls directly [RCTCxxBridge invalidate] without passing for the RCTBridge instance. The problem might probably be in Expo, at this point. I looked at all the React Native call to invalidate, and aside those two, none other call directly go to the Bridge.

@zhouzh1 Any chance you can share the package.json with the dependencies you have in your project? This might help to trim down to the possible issues.

Posted a complete crash report. 79c34beca2e542da9ab6df2ad54ec60d-symbolicated.crash.zip

also would be good to share all threads' stacktrace from sentry if available. this crash log does not have symbolicated stacktrace. it looks like the crash happens when reloading the app. do you use Updates.reloadAsync() or any other reload code in your app?


tests:kernel: added tests for v1.8

Added kernel test cases for v1.8
Jira: ZEP-948
Jira: ZEP-1631
Signed-off-by: Sharron LIU<EMAIL_ADDRESS>

@sharronliu you probably want to squash the commit about timeslice into 1 commit and force push to your branch.

@Anas, I re-ordered these two commits (git rebase -i) and get the earlier one updated. Thanks.


I need to support video audio css font svg ... support, but only png jpg need to auto resize.

I need able to define a custom query params with resize rules, such as '?thumbnail'  the thumbnail is define to 480x480 max width x or max height.

I need able to upload other file by same api.

Able to get files list by bucket and key prefix (scope). 'uploads.soopro.net/user/uploads/....filekey...' etc. then I can list and batch delete by user/uploads/ to clean the 'folder'.

Only resize png jpg, jpeg, maybe bmp gif tiff. otherwise return the original even the resize mark is given.   xxxx.mp4?thumbnail will same as xxxx.mp4 etc.,

Upload with bucket/key, the key can be a path like 'user/app/uploads' etc.,

When update a file with same key pair, will effect immediately (with out cdn, this is very important).

And I need it this asap.... less play more work!!!

I saw there is table and key support, but I might still need a bucket so separate different domain.
suck as themes.soopro.net uploads.soopro.net.
they can be different application to be deploy.


React: eventManager listens to all children

Related issue: #3389
In v7, the eventManager only listens to mouse events on the <canvas>, not the children of <DeckGL>. After this PR, all events inside the deckgl-wrapper are captured.
Change List

Use the optional props.parent as eventManager's root element. parent, if supplied, is already used as the container for auto-created canvas.
Remove the old CSS hack pointerEvents: none; for React children
Fix a bug introduced in #3870 - mutating deck.viewState may break viewManager's detection of viewport change.
Fix using react-map-gl NavigationControl with auto-controller (missing viewId when calling onViewStateChange).

Coverage increased (+0.01%) to 83.096% when pulling 5c4382a963dd3f8d1dc4f27a6f56bb38389d8f58 on x/events into 742cff9b1e82429c0da7f4d8f923bc9d19a8fb89 on master.


v1 hacking: hardware and software

Placeholder for a v1 discussion, spinning out of #12.

Fred, @fbretmount, posted:

@kruton , I'm trying to replicate your findings on a first generation feeder. If I followed you correctly, point mqtt-a01.arrowconnect.io to a machine on your local network (I use pihole and love it!). Start a mosquitto broker on that machine and the feeder should start publishing messages to that broker?
If so, I've spent some time on it and it seems gen 1 is not mqtt-aware :-(

kruton:

@fbretmounet do you have any pictures of the electronics on the V1 feeder? It seemed like all the smarts may have been in the bowl.

fred:

@kruton , yes it is under the bowl. I took the attached pictures when I opened it a few weeks ago. Let me know if you want more pictures!

kruton

Looks like this might be a design based on electricimp imp003. Are there any pictures of the overall board? I'd be more interested to see if there are pads to connect debug cables as mentioned in their documentation.

The other chip is a flash part.
It looks like electricimp has a lot of repositories on GitHub which has all the parts for implementing a server and communicating via their optical BlinkUp system.

fbret

Here are picture of the top of the board and a picture of the back only showing test pads. I did not find obvious jtag or serial pads. I did not find standard debug documentation from electricimp. :-(
https://developer.electricimp.com/hardware/imp/imp003pinmux suggests quite a few different combinations for serial... I guess I could try every one of them...

me

When the gen1 discussion came up in the past, it sounded like the Imp was shipped in "production mode", locking down a lot of the debugging and such.

fbret

I hate it when manufacturers do it right! The alternative is to rebuild my own board :-(

@brbeaird

Such a bummer.  Honestly hate the idea of just chucking the whole
thing into the trash, but I don't know what else I'd do with it. I already
bought a PetKit feeder, which seems to do the job just as well.

kruton

I don't know what the V1 looks like on the network. I would suggest trying to do packet captures of what it's sending across the network (or trying to send now that PetNet's domains are defunct).

It looks like the V1 has an open pad for a micro USB on the back. Has anyone messed with that?

If anyone on the dev team needs a petnet v1 for this task, I have an extra in San Francisco.

hi everyone,
i've been 'in transit' for the past 7 months, so only seeing this repo now, and I'm on the eve of getting my gen1 back in my hands (it's been in storage/on a ship since Sept2020), and am open to helping get this project working on gen1 hardware.
the possibility of developing an alt MCU/wifi board (a replacement for the Imp) is not out of the question for me, nor even replacing the entire electronics; i'm already in the early stages of re-braining one of the 'Wopet' feeders with a Particle Boron, because its non-IoT UI is horrid, like programming an 80s VCR.  but it's mechanics are shitty, compared to the Petnet gen1's mechanics which seem pretty reliable and long-lived to me (opinions about gen2's mechanics seem to vary quite a lot!), so it may be a better use of my time to target new hardware to gen1/gen2 Petnet instead of the Wopet...
so, are there any other developments re gen1 I should be aware of?  given a new brain, is there much interest in getting gen1 working with this repo that you know of? (i only just discovered this repo, so I'll have a poke around some more).

@techydude I'm about to start the process of just replacing the board, and am happy to help. I have limited experience with PCD design, or even better, if we can just drop in a ESP8266 or similar.
My goal would be to capitalize on all the hard work done here with the app if possible.

@dorfman2 Thanks for replying!
Since my 1st post, I've proceeded on the assumption (from other's investigation above) that the electricIMP on the Gen1 is locked & not reprogrammable, though not confirmed this myself.
I've looked at the Gen1's mechanics and the electrical peripherals, and discovered they're almost identical to the cheaper/nastier WoPet I was originally targeting with a new brain/PCB (tho of course the PetNet has no UI other than the manual dispense button with 2-colour LEDs, whereas the WoPet has an LCD + buttons).
Better yet, I think it will be possible to make 1 PCB design with 'snap-off' section(s) that will allow that 1 PCB to fit either PetNet gen1 (no LCD or buttons fitted), or the WoPet (with LCD & buttons fitted).  So that's my plan at this point.  I hope to tackle that over the coming month.  Of course I'll be posting it here on GitHub so others can make it if they wish.  Whether I go as far as having a batch made and selling them (e.g. Tindie) depends on demand, and so far you're the only one who's replied :-), and admittedly the PetNet Angst was a 2020 thing, so I might've missed the wave there, who knows...
And also I've no idea if anyone's interested in new hardware for the PetNet Gen-2?  It's great that this repo will work with Ben-2's firmware as-is, but there's not much room for modification.  I'd need a few photos & dimensions of the Gen2 board to work out if I can kill 3 first with 1 PCB... ;)
Anyhoo, I was planning to use a Particle.io Argon board (wifi + BT; BT likely not needed), as the Particle cloud can be used for dead easy firmware updates without needing to add any of one's own infrastructure, whilst still having an open LAN/internet connection for accessing application support (i.e. via this repo).  But I'm also OK with putting in an ESP32 variant, if there was a decent reliable OTA-firmware-update mech available?  I'm not up-to-date on that scene, so open to suggestions!

@techydude Sound fine to me! My background is a bit more on the DIY hardware side, so this sounds more refined that my solution of stick a Raspberry Pi in it. Are you on the Tedder slack to talk about this further?

@dorfman2  I'm not currently in the slack, but happy to join if someone can send me an invite<EMAIL_ADDRESS>


🎮 Game Request
"TetraFall: The Block Stacking Challenge" is an addictive and fast-paced puzzle game inspired by the classic game of Tetris.  With its intuitive gameplay and increasing difficulty, TetraFall offers hours of fun and challenges for players of all ages.
Point down the features
The game will be created using HTML,CSS and javascript
Blocks will be falling from the top and the whole game will work as a standard Tetris falling block game.
 Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


WebPaint is searching for Maintainers!

This issue was created by Maintainers Wanted :nerd_face:
Support us by leaving a star on Github! :star2:
WebPaint is searching for new Maintainers! :man_technologist: :mailbox_with_mail:
Do you use WebPaint personally or at work and would like this project to be further developed and improved?
Or are you already a contributor and ready to take the next step to becoming a maintainer?
If you are interested, comment here below on this issue :point_down: or drop me a message on Twitter! :raised_hands:

hi @flxwu
i love it
how can i help and contribute ?
my email =><EMAIL_ADDRESS>

@flxwu I would like to become the maintainer and I will host WebPaint online. my Email is Nolan at Nolanperry.rocks I hope to make this something that can be used in Schools


Fix integration tests with testRequires(c, Network)

It seems http://hub.docker.com is not accessible anymore, so switching to https://hub.docker.com for testRequires(c, Network). Actually http://hub.docker.com redirect to https://hub.docker.com/... but doing a wget http://hub.docker.com waits for ever :sweat:.
Let see if it's actually working on Janky and others it does :sweat_smile:.
Wondering if we should check something else than https://hub.docker.com. And I'm not sure this change should even be needed, expect if we really want to use https:// instead of http://.
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

LGTM

@LK4D4 I was wondering if you should add a timeout too on this get, just to make sure it does not wait for ever :sweat: ?

@vdemeester yeah, maybe

@LK4D4 ok so I have a code that will do that, but … The way TestRequirement is implemented, there is no "error", so it will skip the test, and thus making a potential failure harder to detect (as the build will be ok in the end).
It's probably outside the scope of this PR but maybe we should have make it so a TestRequirement could return an error in those kind of test. WDYT ?

@vdemeester maybe it can call just fatal?

@LK4D4 or yeah, it could panic and thus break the build.. did not think of that :sweat_smile:.

@LK4D4 It's done, to test it, use http://hub.docker.com. I've set the timeout to 15s because it felt long enough.

/cc @jfrazelle @icecrime

LGTM


Issue 248: Add package workflow diagram to readme

Hmm, this rendered not the way I see in the README on the pkgdown. Not sure why. Maybe the svg?

Looks better now with png. Proposing we make this change for now, and maybe eventually move to a mermaid diagram.


TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

My linux information : Linux vmi2096352.contaboserver.net 5.15.0-128-generic #138-Ubuntu SMP Sat Nov 30 22:28:23 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
HOW TO SOLVE THIS ERROR ?

I am facing the same issue, have you found a solution?

Same issue, but only on android. Network manager on Manjaro works like a charm


I am stuck while installing aws-amplify/cli

can any one help me in fixing this issue. really quick

ERROR LOG
2019-09-25T21_04_22_588Z-debug.log

@Muazzamkhan95 What's the node version you're running?

@Muazzamkhan95 What's the node version you're running?

v10.15.3

@kaustavghosh06

Can you try running npm install -g @aws-amplify/cli --unsafe-perm=true --allow and let me know if you see any errors?

@Muazzamkhan95 I was able to successfully install the CLI in windows - on powershell just right now

Thanks @kaustavghosh06  these extra flags worked


Add an example of generalized packing

This revision demonstrates how the generalized packing transformation is a one-size fits all implementation
for tiling linalg ops of rank N to linalg ops of higher rank.
The tensor.pack / tensor.unpack representation allows us to complete our panoply of composable linalg transformations.
Now, one can either:

lower a linalg op to loops and use classical loop-based tiling techniques (e.g. Allen&Kennedy, polyhdral/affine etc)
tile an N-D linalg op to N-D loops surrounding an N-D linalg op. This often preserves the name of the linalg op and is at the basis of the TilingInterface.
(this PR) tile an N-D linalg op to a 2*N-D linalg.generic. This step requires that the tile dimensions divide the problem dimension. tensor.pack / tensor.unpack provide this guarantee.

Step 3. can easily be adapted to produce a new named op (e.g. mmt4d) when relevant, the point of this PR is to demonstrate generality.
This is related to discussion #12075.
An additional pattern is added to convert tensor.pack/unpack to linalg_ext.pack/unpack until IREE adopts the upstream variants.
With this, it is possible to form dispatch regions without failing to lower.
One thing to note in the IREE pass pipeline is that the InterchangeGenericOps breaks the normalization property of the packing.
This can be recovered after the fact but it would be better to disable in such cases if possible.
At this time, iree-compile fails on the iree_linalg_ext ops as it wants statically allocated buffers to be hoisted to the top of the function.
Both these issues can be left for a followup investigation.

@MaheshRavishankar please note the following 2 issues that I mentioned in #12075:

iree-compile fails on the preprocessed IR with a static buffer allocation hoisting that is not at the top-level of the function. Tangentially, how is this expected to work when we have the magic multi-versioning switch inside the kernel? Alloca maxsize and slice into it ?

Yeah... without that we have stack overflows on different OSs.

the InterchangeGenericOps pass seems to apply quite liberally and still triggers the normalization breaking of the generic.

Yeah that should be made more restricted.... you can file a bug, must be a simple fix....

Please lmk if these are relevant issues that deserve their own bugs.
Thanks!


typescript fails to compile

Error in MidiConvert.d.sts (7,2): error TS1036: Statements are not allowed in ambient contexts
removing semi-colons from the export declarations fixes the issue for me. using "typescript": "^2.3.4".

Can someone please fix this? This issue is still a problem (^0.4.1).

@oli-ver
i've fixed it in a pull request here that i'm starting to expect will never get reviewed or merged: https://github.com/Tonejs/MidiConvert/pull/39
so, one option would be to pull this commit into your own fork and use that (that's what i was doing for a while).
another option, if possible for your project,  is actually never importing the main library at all. i removed the calls to import * as MidiConvert from 'midiconvert', and instead imported methods i needed directly (like import {midiToPitch} from 'midiconvert/src/Util'). this seemed to prevent the TS compiler from trying to handle anything in MidiConvert.

merged! sorry for the delay

@tambien @kn0ll
Not sure what the issue is still but when I clone this project, there are no semi-colons (yay).
When I install this package as a dependency to another project, however, src/MidiConvert.d.ts contains the semi-colons (nooo...)
What is the issue? Perhaps, despite being merged, the package version hasn't been advanced? The guy above reported this happening at 0.4.1. Then you merged. But we're still at 0.4.1.

just published again


Tag skiping

Is there any way to skip some playbook tags? For example, I don't want the tags "never" and "always" to get into the documentation. everyone knows their meaning

I guess the Issue is related to ansible-doctor and not ansible-later?


Mount command failed, status: Failure, The volume is existed and is attached

While upgrading / rolling update on the deployment, the system tries to create new pod, attach and then shutdown old pods. In this process, new replica sets are unable to attach to volume because old ones are already attached.
Error :
MountVolume.SetUp failed for volume "myservice-db" : mount command failed, status: Failure, reason: myservice-db is existed and is attached

I just realize you can use statefulset instead of deployment, which is aware of the different PVCs associated with the pods. And it will do the right thing - stop the old one, then start the new one with the same volume.


Allow for certain unit scopes to be ignored

E.g.if you're developing for the VCL then you probably don't need anything in the FMX scope to be displayed.
One possible solution:
Allow user to create a blacklist of scope names and ignore any search results within blacklisted scopes. This could be done either by entering wild cards or by selecting from a (hierarchical) check list. Allow such a list to be edited or deleted at any time.
Store the list with the mapping data.

How about having a shortcut method to selectively show and hide FMX or VCL unit names. That would probably be the best use case for ignoring certain scopes.


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20230121171613142 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20230121171613142 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 42.033%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
28604

Relevant Lines:
63211

💛  - Coveralls


/bin/bash: jest: command not found

None of the vim-test commands work unless the test files are located in the test folder. If I want to execute tests in any random subdirectory in the project, vim-test says
:TestFile
jest src/item.test.js
/bin/bash: jest: command not found

shell returned 127

Press ENTER or type command to continue

I have no idea where does it get this jest from, the only dependency I have installed is mocha. I don't have jest installed anywhere on my computer.
The README file says vim-test is supposed to 'automagically detect' javascript test framework by reading package.json.
When I run npm test mocha finds the item.test.js file and runs the test.
Project tree (node_modules exists, simply not included here in the tree)
├── package.json
└── src
    └── item.test.js

1 directory, 2 files

package.json
  "name": "vimtest",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "mocha --recursive src/**/*.test.js"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "mocha": "^3.5.0"
  }
}

item.test.js
const assert = require('assert');

describe('item', () => {
   it('should pass', () => {
      assert.strictEqual(true, false, 'true !== false');
   });
});

Is there something blatantly obvious here that I'm missing?

Thank you for the detailed report. Let me try recreating the bug on my machine and I'll get back to you.

@codeinabox I think the following logic that all JavaScript runners is not entirely correct: https://github.com/janko-m/vim-test/blob/374218018c133077b899246878879de7e49a2427/autoload/test/javascript/jest.vim#L5-L8
Specifically, the !empty(test#javascript#{runner}#executable()) condition isn't correct, because it will always evaluate to true,

I am happy to raise a PR for this as I recently had a problem with runner detection.

@codeinabox @Akhetopnu So, https://github.com/janko-m/vim-test/pull/214 was merged, which means that now, instead of having a random JS runner activated, test.vim will return the correct "Not a test file" error.
However, your original problem was that the test files that you're running don't match the default test.vim's Mocha runner pattern. You can easily fix that by changing the file pattern (you can put it in your .vimrc):
let g:test#javascript#mocha#file_pattern = '\v\.test\.js$'


Feat/persist order

This drives the order forward.
The order lifecylcle for happy path scenarios should be complete with this PR.
Note that this also updates some parts of the position lifecycle, as we now have an order that we can retrieve data from for the position.
We also handle order failure scenarios before the execution of the DLC protocol; failure scenarios (e.g. reject) after protocol execution are not handled yet. I would do that on top of this work, because it will touch how we query the dlc manager for dlcs.

Notes on the lifecylcle:

We currently assume that there can only be one Order in execution in the app. If one Order is being executed the next Order has to wait until the first one finished.
We don't retry anything. If we fail when triggering the trade setup we always just set the Order to Failed (with a failure reason) and the user would have to try again.
A position is only created /update only once a (new) DLC exists; this is when the Order lifecycle ends in a happy path scenario (the order is in final state Filled then). Note that we don't create a position prior to having a DLC - this is something that always bugged me in ItchySats. I think we finally achieve that the position is bound to the existence of the DLC :)

The structure of "which handler calls which other handler" (i.e. position::handler and order::handler) and the responsibilities for handling errors might need another iteration. I basically just plugged this together to see it work and would gradually make it better now.

Opening this PR because it's basically done - I will test by clicking through the UI after lunch, so there might be some minor changes pushed on top. The overall approach should not change anymore.

bors r+