can't get calico-kubernetes to work on AWS

Hi all,
Great stuff happing here. Unfortunately I can't get the combination of calico-kubernetes and kubernetes-1.1.0-alpha1 to work on AWS
Yes, AWS, so I run my configuration with this address pool:
etcdctl get /calico/v1/ipam/v4/pool/<IP_ADDRESS>-16
{"masquerade": true, "cidr": "<IP_ADDRESS>/16", "ipip": "tunl0"}

I started out with small experiment using plain docker containers on a AWS cluster: got that to work! So then I tried to get the following setup to work:

kubernetes master (kubernetes 1.1.0-alpha1 + calico-docker 0.6.0)
2x kubernetes nodes (kubernetes 1.1.0-alpha1 + calico-docker 0.6.0)

I launched a replica controller with 2 replicas. Pods get successfully deployed to both nodes and the ip-addresses assigned are in the range associated with the docker bridge on both nodes.
However I can't ping one container from the other. So something is going in the communication.
What does my setup look like?
kubernetes master
    - name: calico-node.service
      runtime: true
      command: start
      content: |
        [Unit]
        Description=Start Calico on this node
        Requires=docker.service
        Requires=network-online.target
        After=docker.service
        After=network-online.target
        [Service]
        User=root
        PermissionsStartOnly=true
        ExecStartPre=-/usr/bin/wget -N -P "/home/core" "https://github.com/projectcalico/calico-docker/releases/download/v0.6.0/calicoctl"
        ExecStartPre=-/usr/bin/chmod +x /home/core/calicoctl
        ExecStart=/home/core/calico-node.sh $private_ipv4 <IP_ADDRESS>:2379
        RemainAfterExit=yes
        Type=oneshot

...

write_files:
  - path: /home/core/calico-node.sh
    owner: root
    permissions: 0755
    content: |
      #! /usr/bin/bash
      # Usage: calico-node.sh <node ip> <etcd authority>
      # Install necessary kernel modules
      sudo modprobe xt_set
      sudo modprobe ip6_tables
      sudo /home/core/calicoctl checksystem --fix

      sudo ETCD_AUTHORITY=$2 /home/core/calicoctl node --ip=$1

nodes/minions:
    - name: cbr0.netdev
      command: start
      content: |
        [NetDev]
        Name=cbr0
        Kind=bridge

    - name: cbr0.network
      command: start
      content: |
        [Match]
        Name=cbr0

        [Network]
        Address=<IP_ADDRESS>

    - name: docker.service
      drop-ins:
        - name: 50-calico-kubernetes.conf
          content: |
            [Service]
            Environment=DOCKER_OPTS='--bridge=cbr0 --iptables=false --ip-masq=false'

    - name: calico-node.service
      runtime: true
      command: start
      content: |
        [Unit]
        Description=Start Calico on this node
        Requires=docker.service
        Requires=network-online.target
        After=docker.service
        After=network-online.target
        [Service]
        User=root
        PermissionsStartOnly=true
        ExecStartPre=-/usr/bin/wget -N -P "/home/core" "https://github.com/projectcalico/calico-docker/releases/download/v0.6.0/calicoctl"
        ExecStartPre=-/usr/bin/chmod +x /home/core/calicoctl
        ExecStart=/home/core/calico-node.sh $private_ipv4 <IP_ADDRESS>:2379
        RemainAfterExit=yes
        Type=oneshot

    - name: kubelet.service
      enable: true
      content: |
        [Unit]
        After=download-kubernetes.service
        ConditionFileIsExecutable=/opt/kubernetes/server/bin/kubelet
        Description=Kubernetes Kubelet
        Documentation=https://github.com/GoogleCloudPlatform/kubernetes
        Wants=download-kubernetes.service
        [Service]
        ExecStartPre=/bin/mkdir -p /etc/kubernetes/manifests/
        ExecStart=/opt/kubernetes/server/bin/kubelet \
            --address=<IP_ADDRESS> \
            --port=10250 \
            --hostname_override=%H \
            --api_servers=http://<k8-master-ip-address>:8080 \
            --logtostderr=true \
            --config=/etc/kubernetes/manifests/ \
            --network_plugin=calico \
            --network_plugin_dir=/etc/kubelet-plugins
        Restart=always
        RestartSec=10
        [Install]
        WantedBy=kubernetes-minion.target

    - name: proxy.service
      enable: true
      content: |
        [Unit]
        After=download-kubernetes.service
        ConditionFileIsExecutable=/opt/kubernetes/server/bin/kube-proxy
        Description=Kubernetes Proxy
        Documentation=https://github.com/GoogleCloudPlatform/kubernetes
        Wants=download-kubernetes.service
        [Service]
        ExecStart=/opt/kubernetes/server/bin/kube-proxy \
             --master=http://<IP_ADDRESS>:8080 \
             --legacy-userspace-proxy=false \
             --logtostderr=true
        Restart=always
        RestartSec=10
        [Install]
        WantedBy=kubernetes-minion.target

...

write_files:
  - path: /home/core/calico-node.sh
    owner: root
    permissions: 0755
    content: |
      #! /usr/bin/bash
      # Usage: calico-node.sh <node ip> <etcd authority>
      # Install necessary kernel modules
      sudo modprobe xt_set
      sudo modprobe ip6_tables
      sudo /home/core/calicoctl checksystem --fix

      sudo ETCD_AUTHORITY=$2 /home/core/calicoctl node --ip=$1 --kubernetes

tunnel0 devices are created on the host machines. If I try to ping one container from the other it fails.
Looking at the data in etcd it appears as if there are no security policies created at all, which is not what I would expect.
Just to make sure that the calico network does work basically, I created a simple setup with 2 containers on both nodes, launched without kubernetes but by hand. Exactly like the Docker with Calico networking tutorial: https://github.com/projectcalico/calico-docker/blob/master/docs/getting-started/default-networking/Demonstration.md
These 2 plain containers can ping each other.
It wouldn't surprise if I made a configuration error but it is hard to debug which :-)

@arjanschaaf can you try restarting kubelet with the --v=5 flag (to make network plugin logs visible) and post the output from the kubelet logs from creating a new pod? (This log sequence should start with "Executing Calico pod-creation hook").
Can you also paste the output of the the following commands on one of your nodes, after creating your pod:
calicoctl endpoint show --detailed
calicoctl profile show --detailed

Along with the pod id & name.

@Symmetric I've started the kubelet with --v=5 but I don't see the log sequence you mentioned:
I0925 07:59:08.590663    2597 config.go:252] Setting pods for source api
I0925 07:59:08.590838    2597 config.go:190] Receiving a new pod "todo-release-152-i9dms_default"
I0925 07:59:08.590883    2597 kubelet.go:1777] SyncLoop (ADD): "todo-release-152-i9dms_default"
I0925 07:59:08.591246    2597 kubelet.go:1266] Not generating pod status for new pod "todo-release-152-i9dms_default"
I0925 07:59:08.591265    2597 manager.go:1531] Syncing Pod &{TypeMeta:{Kind: APIVersion:} ObjectMeta:{Name:todo-release-152-i9dms GenerateName:todo-release-152- Namespace:default SelfLink:/api/v1/namespaces/default/pods/todo-release-152-i9dms UID:4cbea23b-635b-11e5-979e-026ce7f32415 ResourceVersion:18423 Generation:0 CreationTimestamp:2015-09-25 07:59:08 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[XXXXXX
I0925 07:59:08.591458    2597 manager.go:1551] Need to restart pod infra container for "todo-release-152-i9dms_default" because it is not found
I0925 07:59:08.591542    2597 manager.go:1570] Container {Name:todo Image:aws-rti-docker-registry.amdatu.com:5000/amdatu/todo:prod-release-152 Command:[] Args:[] WorkingDir: Ports:[{Name: HostPort:0 ContainerPort:8080 Protocol:TCP HostIP:}] Env:[XXXXXXXX
I0925 07:59:08.591608    2597 manager.go:1661] Got container changes for pod "todo-release-152-i9dms_default": {StartInfraContainer:true InfraContainerId: ContainersToStart:map[0:{}] ContainersToKeep:map[]}
I0925 07:59:08.591639    2597 manager.go:1667] Killing Infra Container for "todo-release-152-i9dms_default", will start new one
I0925 07:59:08.591647    2597 manager.go:1700] Creating pod infra container for "todo-release-152-i9dms_default"
I0925 07:59:08.596182    2597 provider.go:91] Refreshing cache for provider: *credentialprovider.defaultDockerConfigProvider
I0925 07:59:08.596196    2597 config.go:74] looking for .dockercfg at /var/lib/kubelet/.dockercfg
I0925 07:59:08.596238    2597 config.go:74] looking for .dockercfg at /.dockercfg
I0925 07:59:08.596258    2597 config.go:74] looking for .dockercfg at /.dockercfg
I0925 07:59:08.596267    2597 config.go:74] looking for .dockercfg at /.dockercfg
I0925 07:59:08.596279    2597 provider.go:71] Unable to parse Docker config file: couldn't find valid .dockercfg after checking in [/var/lib/kubelet   /]
I0925 07:59:08.596292    2597 docker.go:156] Pulling image gcr.io/google_containers/pause:0.8.0 without credentials
I0925 07:59:08.596393    2597 server.go:638] Event(api.ObjectReference{Kind:"Pod", Namespace:"default", Name:"todo-release-152-i9dms", UID:"4cbea23b-635b-11e5-979e-026ce7f32415", APIVersion:"v1", ResourceVersion:"18423", FieldPath:"implicitly required container POD"}): reason: 'pulling' Pulling image "gcr.io/google_containers/pause:0.8.0"
I0925 07:59:08.667875    2597 status_manager.go:199] Status for pod "todo-release-152-i9dms_default" updated successfully

calicoctl endpoint show --detailed
+----------+-----------------+-------------+-------------+-----------+-----+----------+-------+
| Hostname | Orchestrator ID | Workload ID | Endpoint ID | Addresses | MAC | Profiles | State |
+----------+-----------------+-------------+-------------+-----------+-----+----------+-------+
+----------+-----------------+-------------+-------------+-----------+-----+----------+-------+

calicoctl profile show --detailed
+------+------+-----------------+-------------+-------------+-------+
| Name | Host | Orchestrator ID | Workload ID | Endpoint ID | State |
+------+------+-----------------+-------------+-------------+-------+
+------+------+-----------------+-------------+-------------+-------+

Looks as if the calico hook is never executed?

Can you post the full kubelet.log contents to a gist and link here? It does look like we're not being called; there may be another error elsewhere.
Your kubelet args look correct, so we should be calling the plugin. If you want to dig on your end, I'd look for log containing these lines:
Init 'exec' network plugin output:
exec plugin
SetUpPod

These all occur before the plugin is loaded (I'm particularly interested in whether the plugin gets through the Init step).

So, looking at the logs myself I found one problem. I didn't configure the environment variables for the kubelet process correctly as describe here:
Fixed the env variables ETCD_AUTHORITY, CALICOCTL_PATH & KUBE_API_ROOT
but the log still contains errors like:
E0925 18:08:09.351112     966 manager.go:322] NetworkPlugin calico failed on the status hook for pod 'wordpress-s1h0y' - invalid character 'U' looking for beginning of value

Here is the complete log: https://gist.github.com/arjanschaaf/4383fd61e0442aff0083

That log is a red herring -- the Status hook was introduced later, so a failure there is ignored.
Looking at the log for SetUpPod (Sep 25 18:08:09), I see an HTTP error -- requests.exceptions.InvalidSchema: No connection adapters were found for '<IP_ADDRESS>:8080/api/v1/pods'.
The KUBE_API_ROOT must include the transport type, so it should be
http://<IP_ADDRESS>:8080/api/v1/
^^^^^^^

That's a docs bug; I'll clarify the doc that you were following.
Can you try again with the full URL in the KUBE_API_ROOT?

yes, that looks a lot better!


Possibly compromised installer available via Homebrew

The following GitHub issue on installing Flutter via Homebrew is having references to a possibly insecure third party repository for installing Flutter for Chinese users.
https://github.com/flutter/flutter/issues/14050
Please look into this.

CC @xster

You'd have to be more specific. Flutter never published any homebrew formulae for Flutter.

@xster I was about to attempt to install Flutter via the brew formula recommended as in the following comment. However, I had a look at the brew tap available on the repository recommended.
https://github.com/flutter/flutter/issues/14050#issuecomment-473217774
It appears to talk to an unknown server and make IP address based lookups and serves a different Flutter distribution with geographical discriminations.
I ended up writing my own that cloned directly from Git.
Having the earlier comment on Flutter issues for Homebrew exposes potential Flutter developers to unknown risk.

@xster I was about to attempt to install Flutter via the brew formula recommended as in the following comment. However, I had a look at the brew tap available on the repository recommended.
https://github.com/flutter/flutter/issues/14050#issuecomment-473217774
It appears to talk to an unknown server and make IP address based lookups and serves a different Flutter distribution with geographical discriminations.
I ended up writing my own that cloned directly from Git.
Having the earlier comment on Flutter issues for Homebrew exposes potential Flutter developers to unknown risk.

@xster if you guys could just release the official homebrew tap as you alluded to here that would be great - this seems to be in demand.

@bhagyas
if your ip located at China, it will download flutter from https://flutter-io.cn
which is an official trusted mirror
see this:  https://flutter.dev/community/china

Its not clear to me what the difference is between this issue and #14050. Likewise as @xster pointed out, we do not currently provide a homebrew distribution


AOT build of ng2-tag-input library fails, but works with Webpack and Angular cli

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

Current behavior

Hi all,
i tried to include the library ng2-tag-input. Unfortunately, the AOT build fails.
[11:24:46] Error on fetch for ng2-tag-input/dist/modules/components/icon.js at file:///C:/Dev/my_project_angular2/node_modules/ng2-tag-input/dist/modules/components/icon.js
        Loading ng2-tag-input/dist/modules/ng2-tag-input.module.js
        Loading dist\tmp\app\app.module.ngfactory.js
        Loading dist\tmp\app\main-prod.js
        Error: ENOENT: no such file or directory, open 'C:\Dev\my_project_angular2\node_modules\ng2-tag-input\dist\modules\components\icon.js'
    at Error (native)
[11:24:46] 'build.prod.aot' errored after 1.43 min
[11:24:46] Error in plugin 'run-sequence(build.bundles.app.aot)'
Message:
    Error on fetch for ng2-tag-input/dist/modules/components/icon.js at file:///C:/Dev/my_project_angular2/node_modules/ng2-tag-input/dist/modules/components/icon.js
        Loading ng2-tag-input/dist/modules/ng2-tag-input.module.js
        Loading dist\tmp\app\app.module.ngfactory.js
        Loading dist\tmp\app\main-prod.js
        ENOENT: no such file or directory, open 'C:\Dev\my_project_angular2\node_modules\ng2-tag-input\dist\modules\components\icon.js'
Details:
    originalErr: Error: ENOENT: no such file or directory, open 'C:\Dev\my_project_angular2\node_modules\ng2-tag-input\dist\modules\components\icon.js'
Stack:
Error on fetch for ng2-tag-input/dist/modules/components/icon.js at file:///C:/Dev/my_project_angular2/node_modules/ng2-tag-input/dist/modules/components/icon.js
        Loading ng2-tag-input/dist/modules/ng2-tag-input.module.js
        Loading dist\tmp\app\app.module.ngfactory.js
        Loading dist\tmp\app\main-prod.js
        Error: ENOENT: no such file or directory, open 'C:\Dev\my_project_angular2\node_modules\ng2-tag-input\dist\modules\components\icon.js'
    at Error (native)

Did anyone figure out a solution so far?
@Gbuomprisco suggested to ask here since Webpack and Angular cli works.
He suggested in his repo to use the following SystemJS config:
// packages object
{
    'ng2-tag-input': {
        main: 'dist/ng2-tag-input.bundle.js',
        format: 'cjs',
    },
    'ng2-material-dropdown': {
        defaultExtension: 'js',
        main: 'dist/ng2-dropdown.bundle.js',
        format: 'cjs',
    },
    'ng2-tag-input/modules/components/tag-input.template.html': {
        defaultJSExtension: false
    }
    // rest of the configuration
};

Expected behavior**

gulp build.prod.aot builds without any errors.
Minimal reproduction of the problem with instructions

npm install ng2-tag-input --save
My SystemJS config in the app.config.ts looks like the following:
    // NG2-TAG-INPUT
    additionalPackages.push({
      name: 'ng2-tag-input',
      path: `${this.NPM_BASE}ng2-tag-input/dist/ng2-tag-input.bundle.js`,
      packageMeta: {
        main: 'dist/ng2-tag-input.bundle.js',
        format: 'cjs'
      }
    });

    // NG2-MATERIAL-DROPDOWN
    additionalPackages.push({
      name: 'ng2-material-dropdown',
      path: `${this.NPM_BASE}ng2-material-dropdown/dist/ng2-dropdown.bundle.js`,
      packageMeta: {
        defaultExtension: 'js',
        main: 'dist/ng2-material.bundle.js',
        format: 'cjs'
      }
    });

I also tried to add the template as he suggested, even if it seems very strange to link a HTML file in the SystemJS:
    additionalPackages.push({
      name: 'ng2-tag-input/modules/components/tag-input.template.html',
      packageMeta: {
        defaultJSExtension: false
      }
    });

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Windows 10.0.15063, Webstorm x64 (latest version)
Also tested with Ubuntu Xenial and Webstorm 64 bit

Angular Seed Version: 23b0515

Node: node --version = v6.9.1

For support requests you can use gitter or take a look at project's the wiki page in order to get more complete idea on how the it works.

@mgechev  There is nothing in the project wiki that helps with that problem. It's more about using barrel imports with SystemJS. Would open again the discussion how to improve the usage of systemjs within the seed.

Updated app.component.ts with:
import { Component } from '@angular/core';
import { Config } from './shared/config/env.config';
import './operators';

import * as foo from 'ng2-tag-input';

console.log(foo);

/**
 * This class represents the main application component.
 */
@Component({
  moduleId: module.id,
  selector: 'sd-app',
  templateUrl: 'app.component.html',
  styleUrls: ['app.component.css'],
})
export class AppComponent {
  constructor() {
    console.log('Environment config', Config);
  }
}

and run npm run build.prod.rollup.aot. Everything worked out-of-the-box. You can try using Rollup as bundler in this case.

Why would you import in app.component.ts?
Don't we need to import in the module for selector resolution?
It still fails for me, also with rollup build resulting in:
app.js?1493025985090:15 Uncaught TypeError: Cannot read property 'TagInputComponent' of undefined
at app.js?1493025985090:15
at t (app.js?1493025985090:1)
at app.js?1493025985090:14
at app.js?1493025985090:17
but I have imported the module in app.module.ts as i don't see how it should work in component.
You can check it here: https://github.com/ZuSe/angular2-seed
However, still the question is how we can deal with nested barrel imports in the seed project :(

The import above only aims to verify if the application can be successfully bundled (i.e. the path to ng2-tag-input is successfully resolved). I the logs I'm getting an object with the exported properties from the package.

I am facing build failure when trying with: ng build --aot
The error which I am getting is as follows:
`ERROR in Error: Template parse errors:
Can't bind to 'readOnly' since it isn't a known property of 'tag'. ("eyDown)="handleKeydown($event, item)"
[attr.tabindex]="readonly ? -1 : 0"
[ERROR ->][readonly]="readonly"
[template]="!!hasCustomTemplate() ? templates.first : undefined"
"): TagInputComponent@14:13
Can't bind to 'template' since it isn't a known property of 'tag'. ("
[attr.tabindex]="readonly ? -1 : 0"
[readonly]="readonly"
[ERROR ->][template]="!!hasCustomTemplate() ? templates.first : undefined"
[model]="item">
"): TagInputComponent@15:13
Can't bind to 'model' since it isn't a known property of 'tag'. ("eadonly"
[template]="!!hasCustomTemplate() ? templates.first : undefined"
[ERROR ->][model]="item">

"): TagInputComponent@16:13
'tag' is not a known element:

If 'tag' is an Angular component, then verify that it is part of this module.
If 'tag' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the<EMAIL_ADDRESS>of this component to suppress this message. ("

     [ERROR ->]
 at process._tickCallback (internal/process/next_tick.js:169:7)`

Please help me how to resolve this.


crash when going into background

I'm seeing this crash from crashlytics when users are going into the background.
Leanplum SDK: 2.0.3
Xcode: 9.1
Frequency: ~20 crashes per day
Looks possibly to coincide with our upgrade to Xcode9.1

From Xcode:

it looks like we were having these crashes before but they weren't symbolicating correctly/showing up in fabric -here is what showed prior to Xcode9.1 in the Xcode crash dashboard - not much info there:

it looks like we were having crashes before but they weren't symbolicating correctly/showing up in fabric -here is what showed prior to Xcode9.1 in the Xcode crash dashboard - not much info there:

2.0.4 should handle this exception. Please update it and reopen if it is not resolved.

ok we'll try it out.

Are you able to reproduce this inside Xcode?

no, but it looks like this is fixe in 2.0.4


RN version mismatch in Expo 38

Hey,
when using Expo 38 I am getting
console.error: React Native version mismatch.

JavaScript version: 0.61.5
Native version: 0.62.2

This is caused because Dripsy uses older RN version than Expo.
Can you please bump RN version to 0.62.2?
Or is there some other way to avoid this error?
Thanks

Sorry, my bad, Expo configuration was broken.
It is working now.


Client connector refactoring

Refactoring of the client connector API for future usage

This change is

Coverage decreased (-0.5%) to 67.019% when pulling faf62dcfb6228c1d97671bdc25b638310a4211a8 on client-execution-refactoring into b80b7be3df695e11e96f22345a71109948655034 on master.


Darken font to increase legibility

Coverage remained the same at 76.111% when pulling f77695bf4ca1201b7a065af0eaf34b985928692e on eatonphil:master into 3faba8eafd3201e9feb26a04a583c7d0779a8cd3 on linode:master.


Margins around content node download buttons are inconsistent

The download buttons for content nodes appear to have no bottom margin. As a result, they sometimes appear too close to the bottom edge of each content card:

Bottom margins look fine. The part missing is to center the label with the button. Will open follow up ticket.


"TypeError: this is not a typed array" Error on compilation

index.js
setInterval(function () { 	console.log("Empty test") },3000);
Output in pkg
`><EMAIL_ADDRESS>
Targets not specified. Assuming:
node4-linux-x64, node4-macos-x64, node4-win-x64
Error! TypeError: this is not a typed array.
at Function.from (native)
at exports.default (/usr/local/lib/node_modules/pkg/lib-es5/packer.js:59:67)
at _callee3$ (/usr/local/lib/node_modules/pkg/lib-es5/index.js:765:45)
at tryCatch (/usr/local/lib/node_modules/pkg/node_modules/regenerator-runtime/runtime.js:65:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/pkg/node_modules/regenerator-runtime/runtime.js:303:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/pkg/node_modules/regenerator-runtime/runtime.js:117:21)
at step (/usr/local/lib/node_modules/pkg/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /usr/local/lib/node_modules/pkg/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at run (/usr/local/lib/node_modules/pkg/node_modules/core-js/library/modules/es6.promise.js:66:22)
at /usr/local/lib/node_modules/pkg/node_modules/core-js/library/modules/es6.promise.js:79:30
`

I've just installed pkg and it dosen't seems to work.

You have too old version of pkg. Please update to at least 4.8.4


Printouts to console only after module restart

Describe the bug
For some reason, the printouts to console (issued by PX4_WARN, PX4_INFO or PX4_ERR) don't show if the module is started from the airframe startup file. If I want to see the printouts I have to manually stop the module and start it again through the console.
To Reproduce
Create a custom module printing something out.
Put my_module start to the airframe startup file.
See no printouts.
Stop and start the module through the Mavlink console in QGC.
See printouts.
Expected behavior
I suppose one puts the printouts to the code for reason, and having to restart the module annihilates the benefits of starting it automatically through the startup script. Moreover, if you realise you forgot to restart it once you are already in the air, it may be too late.
Drone info
px4_fmu-v5, 1.9.0 fw
Additional context
If I remember right this feature was added somewhere along the 1.8 and 1.9 transition.

If you give this a try with master (soon to be v1.10.0) you'll be able to get this output via dmesg.

To get the printfs you need to use either a debug proble (see https://dev.px4.io/master/en/debug/system_console.html) or use dmesg. I don't think this is easily doable otherwise.


Feat: Add "Website Visitor" Widget in Footer

Describe the feature
The current website does not display the number of visitors it has received, which could be useful for tracking engagement and performance metrics.
I would like to add a "Website Visitor" widget in the footer of the website that shows the number of visitors so far. This widget will update in real-time or upon page refresh to provide an accurate count of the total visitors.
This feature will enhance user engagement by providing visible visitor statistics and can be a useful metric for site administrators to track traffic.
Add ScreenShots
Preview of proposed Website Visitor widget:

Please assign this issue to me under the gssoc label
Record

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

@rohitinu6 nice you can work on it but list some good designs.

Sure sir @Satyam1923

@rohitinu6  can i work on it?? 😂

@Satyam1923 ,
I would like to work on this if the current assigned one is not active i think

@rohitinu6 would you like to pass this opportunity ??

@rohitinu6 any updates?

@Satyam1923 working on it, will make a pr by this week.

@rohitinu6 any updates.?


ci: fix staging publish

Current dependencies on/for this PR:

main

PR #2530   👈

This comment was auto-generated by Graphite.


C:\VSO\src>git count-objects -v -H
count: 200
size: 1.85 MiB
in-pack: 5194573
packs: 15
size-pack: 3.10 GiB
prune-packable: 0
garbage: 0
size-garbage: 0 bytes

@scottboehmer FYI.


PowerToys Run disables itself

Microsoft PowerToys version
0.37.2
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
The Run function stopped working, and everytime I try to turn it back on, it disables itself.
I did record my screen with issue happening. After I closed the window around 0:09, I did try to use the set shortcut, but it didn't work.
(As the video is over 10MB, I've uploaded it to my gdrive)
https://drive.google.com/file/d/1MAPc9QuPGQtLxApqJPJiKbEzBlSnj_Wa/view?usp=sharing
✔ Expected Behavior
Run was working before as intended, but I can't seem to turn it back on.
❌ Actual Behavior
Run function don't work and it turns itself off.
Other Software
No response

@PaiCthulhu
Right-click on the PowerToys icon in the tray menu and select Report Bug

Drag and drop report into a GitHub comment.

@mykhailopylyp Ok, there you go
PowerToysReport_2021-05-28-09-29-22.zip

Looks like the same root cause as https://github.com/microsoft/PowerToys/issues/10400.

Thank you! Sorry for the trouble, it is indeed because the shortcut was set with the "Run this program as an administrator" and after disabling it, and reopening the program, it worked back again!
Again, thanks for your time!


Why your Attention impl use kv dimention dim_head instead of inner_dim?

self.to_kv = nn.Linear(dim, dim_head * 2, bias = False)
# expected
self.to_kv = nn.Linear(dim, inner_dim * 2, bias = False)

Is this a trick? or bug?

@Earthson i was using the one key-value head from this paper, but most models these days are moving towards grouped query attention (> 1 kv head), so let's just go with the full set of heads for now


Created LICENSE file (MIT)

package.json indicates that this project is licensed under the terms of the MIT license, but there was no LICENSE file included with the project, so I've added one for formality/completeness/making corporate people happy.

Thank you 👍

Thanks


Wayfinding help and support links to Tlon public notifications

Describe the bug, optionally with screenshots
When already a member of Tlon Public, clicking Help and Support in the Wayfinding bug menu you navigate to to the notifications screen for Tlon Publoc
Expected behavior
You should be invited to join Tlon Public if not already a member, and dropped in to the support channel if already a member.
Additional context:

self-hosted planet
chrome on iOS

This is a good idea, but we don't really have a way for group admins to say "always show this screen by default". Should we? Otherwise we're going to be hardcoding this for just tlon public somewhere.


[Triton] Add auto filling config.pbtxt from template files.

This PR:

Add wenetspeech transducer stateless 5 support (using tokens.txt rather than bpe.model)
Add a bash script build.sh to auto generate config files.
Update export_onnx.py to save the model specific information for build.sh (encoder_dim, layers, left context etc.)
Create config.pbtxt.template files, which could be modified via build.sh to generate config.pbtxt
Change submodules name: conformer_transducer -> transducer, greedy_search -> scorer (Next PR Would unify the fast beam search and greedy search repo in scorer.)
Optimize model_repo_offline/scorer/1/model.py to reduce H2D, D2H copy

@csukuangfj  @wd929  Would you mind checking it, thanks.

We'd better add some details about differences between Chinese and English models in README? e.g. the differences of the tokenizers?

We'd better add some details about differences between Chinese and English models in README? e.g. the differences of the tokenizers?

Yes. I think the differences mainly come from pruned_transducer_stateless3 and pruned_transducer_stateless5. For different languages, the tokenizer_file is the only difference. I think maybe we could split this README.md into mutliple files: e.g. sherpa/triton/docs/client.md, sherpa/triton/docs/server.md, sherpa/triton/docs/benchmark.md as the current README.md is too large to read.
What's your opinion about location of this docs directory, sherpa/triton/docs/.md or sherpa/docs/source/triton/.rst, @csukuangfj ?

We have

https://github.com/k2-fsa/sherpa/tree/master/docs/source/ncnn
https://github.com/k2-fsa/sherpa/tree/master/docs/source/onnx

I suggest that you can add docs/source/triton.
Please remember to also update
https://github.com/k2-fsa/sherpa/blob/master/docs/source/index.rst

Please refer to
https://github.com/k2-fsa/sherpa/tree/master/docs
for how to build the documentation. You can visualize it locally.

Please refer to https://github.com/k2-fsa/sherpa/tree/master/docs for how to build the documentation. You can visualize it locally.

I add the triton docs. Would you mind reviewing the updates? @csukuangfj

Thanks! Let me have a look.

Thanks! Looks great to me.

By the way, the doc is available at
https://k2-fsa.github.io/sherpa/triton/overview.html


feat(api): Allow user specified multi-channel control

overview
This is a feature added in for deck calibration check. You can now specify the channel in which you want to control the multi-channel with. In example, you might want to pick up a tip with only the 8th channel of the pipette (one closest to the front) and perform some actions with that. This feature is only available in API V2.4 and higher.
changelog

Add in another critical point Enum class specifically for multichannel pipettes
Add in some helper methods on the enum class to determine the correct offset for the pipette and the number of channels being used.
Pass in the new critical point enum both for instrument_context.py and session.py in the deck calibration check session

review requests
Should we document this as a feature, or let it fly under the radar until we feel comfortable releasing it?
Here is a protocol for testing:
metadata={"apiLevel": "2.4"}

def run(ctx):
    # mod = ctx.load_module('magnetic module', 1)
    tc_lw = ctx.load_labware('corning_96_wellplate_360ul_flat', 6)
    tiprack = ctx.load_labware('opentrons_96_tiprack_300ul', 4)
    pip = ctx.load_instrument('p300_multi_gen2', 'left', tip_racks=[tiprack])
    # tiprack2 = ctx.load_labware('opentrons_96_tiprack_1000ul', 5)
    # pip2 = ctx.load_instrument('p1000_single_gen2', 'right', tip_racks=[tiprack2])

    slot_11_lw = ctx.load_labware('corning_96_wellplate_360ul_flat', 2)

    pip.default_channel = '7'
    pip.pick_up_tip()
    ctx.comment(f"{pip.default_channel}")
    pip.transfer(200, slot_11_lw['A1'], tc_lw['A4'], new_tip='never')
    pip.touch_tip(tc_lw['A12'])
    pip.return_tip()
    ctx.pause()

    # pip.default_channel = '2'
    pip.pick_up_tip()
    ctx.comment(f"{pip.default_channel}")
    pip.touch_tip(slot_11_lw['A1'])
    ctx.pause()
    pip.touch_tip(slot_11_lw['A2'])
    pip.return_tip()

risk assessment
Low/Medium. There were some small changes made in instrument context that should be fairly low risk. We should test the following:

[ ] Single-Channels still behave as normal. Attempts to setting the default_channel should result in an error when uploaded to the app
[ ] Multi-channels without setting default_channel still behave as normal (i.e. tip tracking still works, and it moves to all locations with the back nozzle over Row A of the labware)
[ ] Setting default_channel to 8 -> 1 results in the pipette moving channels from the front of the robot to the back of the robot respectively
[ ] Multi-Channel tip tracking still works as expected when using this new setting. So, if you are moving channel 8 around, the robot should first pick up a tip from A1 then move to B1 etc.

Closing in favor of two things:

First implementing deck cal check using the FRONT_NOZZLE critical point
Working on a separate PR that generalizes all the channels of a multi-channel pipette utilizing some of the suggestions in this PR.


Clean

Option to clean up all branches/PRs created by the renovate account?

If I were testing renovate, a clean feature would be useful to quickly reset a repository, by removing all branches and pull requests created by renovate, so that I could quickly tweak and retest renovate configuration options.

The main worry I had with this one was:

The identity used for renovate is being used by a "real" user too
We accidentally close some "real" PRs too

I guess though that this is an edge case and there would be little harm in writing a simple version of clean that closes any PR created by the renovate user and removes all branches.

I would be concerned about closing pull requests opened by a real user as well.
Could clean close pull requests and branches matching the pattern used by renovate?

Renovate now cleans up any orphan PRs or branches that shouldn't be there. I won't implement any further explicit clean


The scroll button in the middle of the mouse over the minimap to scroll faster than the code page

Issue Type: Feature Request
The middle mouse button over the minimap takes the same time that scrolling the code page.
Please change the scroll button in the middle of the mouse over the minimap to scroll faster than the code page. Times faster.
VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:38:50.094Z)
OS version: Linux x64 5.8.0-44-generic snap

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Add non-generic GetExports/GetExportedValues methods to ExportProvider

Closes #137

Codecov Report

Merging #143 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #143     +/-   ##
=========================================
+ Coverage   86.84%   86.95%   +0.1%
=========================================
  Files          68       68
  Lines        5634     5642      +8
  Branches      994      995      +1
=========================================
+ Hits         4893     4906     +13
+ Misses        556      551      -5
  Partials      185      185

Impacted Files
Coverage Δ

...crosoft.VisualStudio.Composition/ExportProvider.cs
96.15% <100%> (+0.98%)
:arrow_up:

Continue to review full report at Codecov.

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


New package: PlotlySave v0.1.2

Registering package: PlotlySave
Repository: https://github.com/hhaensel/PlotlySave.jl
Created by: @hhaensel
Version: v0.1.2
Commit: 74ee279aeff17e5530851809ff565c15af18c4ac
Git reference: HEAD
Description: Provide PlotlyBase together with a save() function independently of PlotlyJS

can be aborted, new version v0.1.4 currently being registered.


Default feed icon for left side of timeline

For when there’s no feed icon.

I implemented this using the color hash and a globe.  The globe can be replaced with any template image in Assets.


[BUG] PDFs being treated as images

Environmental Info:
I have tested this on darwin and linux.
clembookair:clemenko Desktop $ uname -a
Darwin clembookair.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:16:46 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8112 arm64

Hauler Version: 1.0.7
Describe the Bug:
Loading an pdf as a file is handled as an image. Hauler then serves it out as an image.
Steps to Reproduce:
Use
apiVersion: content.hauler.cattle.io/v1alpha1
kind: Files
metadata:
  name: rancher-files
spec:
  files:
  - path: https://rfed.io/Carbide_Provisioning_docs.pdf

clembookair:clemenko Desktop $ hauler store sync -f pdf_not_image.yaml
2024-08-15 22:00:43 INF syncing [content.hauler.cattle.io/v1alpha1, Kind=Files] to store
2024-08-15 22:00:43 INF adding 'file' [https://rfed.io/Carbide_Provisioning_docs.pdf] to the store as [hauler/carbide_provisioning_docs.pdf:latest]
2024-08-15 22:00:44 INF successfully added 'file' [hauler/carbide_provisioning_docs.pdf:latest]

clembookair:clemenko Desktop $ hauler store info
+---------------------------------------------+------+----------+----------+-------+
| REFERENCE                                   | TYPE | PLATFORM | # LAYERS | SIZE  |
+---------------------------------------------+------+----------+----------+-------+
| hauler/carbide_provisioning_docs.pdf:latest | file | -        |        1 | 153 B |
+---------------------------------------------+------+----------+----------+-------+
|                                                                  TOTAL   | 153 B |
+---------------------------------------------+------+----------+----------+-------+

clembookair:clemenko Desktop $ hauler store serve registry
2024-08-15 22:00:59 INF hauler/carbide_provisioning_docs.pdf:latest
2024-08-15 22:00:59 INF 2024/08/15 22:00:59 existing manifest: latest@sha256:99840916342bf2227de67b583873d2805b7ac34f241f0ec56f65914b800a05d3
2024-08-15 22:00:59 INF copied artifacts to [<IP_ADDRESS>:63557]
2024-08-15 22:00:59 INF starting registry on port [5000]
WARN[0001] No HTTP secret provided - generated random secret. This may cause problems with uploads if multiple registries are behind a load-balancer. To provide a shared secret, fill in http.secret in the configuration file or set the REGISTRY_HTTP_SECRET environment variable.  go.version=go1.21.12 version=v3.0.0+unknown
INFO[0001] redis not configured                          go.version=go1.21.12 version=v3.0.0+unknown
INFO[0001] Starting upload purge in 12m0s                go.version=go1.21.12 version=v3.0.0+unknown
INFO[0001] using inmemory blob descriptor cache          go.version=go1.21.12 version=v3.0.0+unknown
INFO[0001] listening on [::]:5000                        go.version=go1.21.12 version=v3.0.0+unknown

Expected Behavior:
Not to serve the pdf as an image.
Actual Behavior:
Serve the pdf as a file only.
Additional Context:

Closing due to the intended functionality that all content within hauler is an oci artifact.
Users are able to use any type of content within hauler and transport via any oci capable tool or workflow.

May want to reconsider this since both the hauler store server registry and hauler store serve fileserver functions copy the file out of the store and into the respective directory. This is causing extra disk space AND confusion. There is ZERO reason to actually serve "files" out like this. Why not create a filter to open serve charts and images?


Add files via upload

Your checklist for this pull request
Author name
Author:
VoidDevX1

About your game
What is your game about?
This is a RAGE game. You play as a dragon/serpent. If the fireball is in collision with the boxes they both
get destroyed. If you reach the end(green box) you progress to the next level.
Also if you mess up in a level you can't reset, you have to reset the entire game.

One more there are intentional bugs to make it harder you have to somehow
solve the bug in a creative way.
This game requires MULTIPLE playthroughs to beat!
To make this game a tad bit easier, if you die the level resets not the game.
But if really can't beat a level just change the level through the code.
If you somehow beat the game try SPEEDRUNNING it!
NOTE: THIS GAME IS POSSIBLE TO BEAT just requires alot of thinking and luck :D

How do you play your game?
WASD to move the dragon/serpent
IJKL to move the fireballs

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

What has happened here, why is there a deployment failure with Vercel for my Pull Request.

This is an interesting concept for a game, and it was pretty fun to play- nice job!
If you're a teenager, you can request a free Sprig console at this link and join our online Slack community to chat with other people making Sprig games.


The adapters should send the same messages as the reindexer

[ ] Calm adapter
[ ] METS adapter
[ ] Sierra adapter
[x] Miro adapter (no-op, it only ever gets reindexed)

Done.


Is there a limit placed on the number constraints placed?

I have applied the nurse scheduling example to a real scenario with around 31 nurses for one month scheduling. Since the nurses have annual leaves, I use Model.Add to place constraints so that work duties will not be assigned to those period. Yet when I work up to 56 requests ( i.e. placing 168 constraint as one days have 3 shifts ), I received an error when running
EvaluateLinearExpression
value += coef * solution.solution[expr.Index()]
IndexError: list index (0) out of range
If I reduce the number of requests and hence constraints, the program then works back to normal.

I find out that the error is due to that no solution is available. When I eliminate or reduce constraints of other types, the error does not reappear.


move docs to root of repo

don't merge; gonna test docs building on this PR first

@gatesn updated docs to be a proper workspace package.


Fix Android build parameters error

Changes

Closes https://github.com/game-ci/unity-builder/issues/334

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

Codecov Report

Merging #335 (a2fab94) into main (a6ebcb5) will increase coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #335      +/-   ##
==========================================
+ Coverage   45.06%   45.15%   +0.09%
==========================================
  Files          51       51
  Lines        1478     1475       -3
  Branches      240      219      -21
==========================================
  Hits          666      666
+ Misses        808      805       -3
  Partials        4        4

Impacted Files
Coverage Δ

src/model/image-environment-factory.ts
13.33% <ø> (+2.22%)
:arrow_up:


Adding unit tests to cover nil pointer cases of Include()

Signed-off-by: Lalatendu Mohanty<EMAIL_ADDRESS>

/test unit

/lgtm


[WIP] Add plagiarism check

Added a plagiarism check script, to be used with this script
This is a work in progress. WIll need advice on how to organise the files.

Pull Request Test Coverage Report for Build 1786

19 of 23 (82.61%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.4%) to 98.079%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/cadet/jobs/autograder/plagiarism_checker.ex
14
18
77.78%

Totals

Change from base Build 1785:
-0.4%

Covered Lines:
817

Relevant Lines:
833

💛  - Coveralls

Also, travis seems to fail because environment is not set. Please resolve this as well

Actually @juxd do you have access to push branch to this repo? We use the branch workflow so it'd be better if you can push this as a branch instead of in your own fork.

Will transfer this to a branch within this repo.

Better make a new PR so I can easily check out without adding another remote

moved to #276


Can't build this

I tried the instructions and got this:
make setup
go get -u \
		github.com/Masterminds/glide \
		gopkg.in/alecthomas/gometalinter.v2 \
		github.com/onsi/ginkgo/ginkgo
glide install
make: glide: No such file or directory
make: *** [setup] Error 1

Any ideas? Can you set up CI?

I assume I just need to define $GOPATH - I'm just starting my Go journey.
Let's make it easy to stand up for people who don't know the first thing about Go :-)

Just saw you have set up CI - maybe add a banner in README :-)

Auhh. You need to add $GOPATH/bin to your path, I'll add a note about that.

Can you please review the current CONTRIBUTING.md?

@aslakhellesoy have you been able to build this? I just got it working again after the rename

I get this error with make spec:
make spec
go install
main.go:3:8: cannot find package "github.com/cucumber/cucumber-engine" in any of:
	/usr/local/Cellar/go/1.10.3/libexec/src/github.com/cucumber/cucumber-engine (from $GOROOT)
	/Users/aslakhellesoy/go/src/github.com/cucumber/cucumber-engine (from $GOPATH)
make: *** [build] Error 1

My GOPATH=/Users/aslakhellesoy/go
I tried ln -s $(pwd) ${GOPATH}/src/github.com/cucumber/cucumber-engine, but then got this error:
make spec
go install
main.go:3:8: import "github.com/cucumber/cucumber-engine" is a program, not an importable package
make: *** [build] Error 1

I removed the symlink. Are there any other steps I'm missing?

I got it to build! I missed that I had to clone it into the ${GOPATH}/src/github.com/cucumber/cucumber-engine directory :-)


Improve development workflow

Developing new features sometimes requires modifying azsearchstore. It would be good to sort out how we do local development across the projects. There should probably be a development sample that consumes local builds of both azsearchstore and azsearch.js locally.
I should create some tests for azsearch.js
It would be good to setup continuous integration for checkins that run linting, build on a clean environment, and run a set of tests.

Closing for now. I think we can defer having an environment to develop both projects simultaneously for now. A combination of CI and tests should be fine for now.


Add My Username @rohitverse

Related issue
Please Add My Username @rohitverse

What changes does this PR do?
Screenshots (If any)
Questions

Please Merge this Pull Request

Please Merge this Pull Request

wait for maintainers review after that your PR will get merged
kindly wait for sometime

Closed


Support querySelectorAll

On the browser we can do new DOMParser().parseFromString('').querySelectorAll, it would be nice to have it too

@mebibou  looks like this repo has not been updated over 3 years, any other option do you find?

https://www.npmjs.com/package/jsdom
Use jsdom to solve the problem


State corruption when closing the Wallet process (using Node bindings)

Bug description
If you close the application while syncing (either awaiting or in the background) it sometimes corrupts the stronghold state making it unusable.
Rust version
Which version of Rust are you running?

Rust version: 1.50.0 nightly

Version
Which version of the library are you using?

Version number, commit, or branch: The latest in develop

Hardware specification
What hardware are you using?

Operating system: Arch Linux
RAM: 32 GB
Cores: 8/16
Device: Desktop

Steps To reproduce the bug
Explain how the maintainer can reproduce the bug.

Initialize a wallet
Call the sync function
While the sync function is executing CTRL+C
Try to start the wallet again, you might have to repeat 2 and 3 a couple of times because it depends on timing.

Expected behaviour
State should never be corrupted by termination of the process, should use something like a write-ahead-log.
Actual behaviour
It breaks
Errors
(node:737825) UnhandledPromiseRejectionWarning: Error: internal error in Neon module: called `Result::unwrap()` on an `Err` value: unable to decrypt the snapshot Caused by:     Snapshot Error: `Snapshot is not valid or encrypted`     at run (/home/dave/iota/faucet/faucet.js:12:13)     at Object.<anonymous> (/home/dave/iota/faucet/faucet.js:73:1)     at Module._compile (internal/modules/cjs/loader.js:1137:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)     at Module.load (internal/modules/cjs/loader.js:985:32)     at Function.Module._load (internal/modules/cjs/loader.js:878:14)     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)     at internal/main/run_main_module.js:17:47

Thanks for the report @fijter - I think I identified one of the underlying causes of the general 'slowness' of the snapshot writing mechanism and that is that we are always recreating the boxing key on every update, which for obvious reasons has to take linear time in order to beat offline attacks. This is only one part of the issue, the other is the fact that we want to avoid corruption at all costs. We are investigating.

On a sidenote, it might also be worth your while to catch the ctrl-c and use a timeout to allow stronghold to finish its work before exiting. But this doesn't change the validity of the concern.

In our call just now, we have identified an approach that should resolve this issue. Write to a temp file, mv to proper filename

PR Opened by @rootmos
https://github.com/iotaledger/stronghold.rs/pull/70

This has been resolved. Please reopen if the issue reappears.


Sensor range not working

When trying to use the sensor block and changing the range it'll only detect entities directly in front of it.
Eg: Go to detect Players mode, set range to "Area 5" and stand three blocks in-front. No redstone signal. 2 blocks? Nope. One block, output!
Using Rf tools: 1.10-5.11
Strangely it detects blocks further than 1 block away...

Will fix this for next release


Need Three.js version

I desperately need a real time fur for the three.js version. Could you please provide me with one? Thank you very much

If you are asking for a version based on the Three Js fw you have it here: https://github.com/AEspinosaDev/ThreeJS-RealTimeFur-SEDDI
Thre problem is, it wont work as is, due to be using a modified three js version, and sadly, i dont have the rights to share that version. So you would have to install a standard three js version and change the the imports of three js in every file. Furthermore, you should need to take out the part of the code related to the combing functionality, as is using the transform feedback functionality of WebGl as base, something standard three js doesnt support.


all-contributors-cli added to package.json

Hey @Razdeep changes seems good.
Can you squash the commits, then I will merge the PR

LGTM, thanks for the good work :smiley:


Replace convention based approach in metadata modules

Currently metadata modules (implementations of IMetadataModule) are resolved through a convention based approach, but I've seen feedback from a few parties that this is a bit crap. It's not kind to refactoring, and it's not entirely obvious what's going on.
I think a better approach would be to allow IMetadataModule implementations to decide whether they can provide metadata for a given INancyModule by adding the following method to the IMetadataModule interface:
/// <summary>
/// Returns a value indicating whether the <see cref="IMetadataModule"/> provides metadata for the given <see cref="INancyModule"/>.
/// </summary>
/// <param name="module">The Nancy module.</param>
/// <returns>True if the <see cref="IMetadataModule"/> provides metadata for the given <see cref="INancyModule"/>, otherwise false.</returns>
bool CanDescribe(INancyModule module);

This change would go hand-in-hand with removing the convention based approach, which would make this a breaking change.
I'm opening this issue to discuss the idea before I open a PR.

Closing this with @liddellj blessing :grin:


Use npm scripts instead of Gulp

Gulp is a big dependency and takes a while to install... but it doesn't add any features this project really needs.

Oh, this was already done!


Send non-target extra variables to Listener's asyncMethod

#2411
Proposed Changes

Created extraVars array in Orchid\Screen\Layouts\Listener and added it to variables in build method
Edited listener.stub to generate the extraVars array when executing orchid:listener command
Added extraVars as data-listener-extra-vars in the listener.blade.php template
Created get extraVars method in listener_controller.js for merging extraVars and targets arrays in render method
Recompiled modified package assets

@tabuna Sorry i'd just like to point out a minor thing that I missed: I should have renamed the closure's parameter in $this->variables['extraVars'] = collect($this->extraVars)->map(function ($target) { (in Orchid\Screen\Layouts\Listener, line 71) from target to extraVar, but I didn't notice it at the time; if you'd like I can add another commit to take care of it.


broadcom-wl-dkms

Project description
The broadcom-wl-dkms driver provides the wl module needed by BCM4xxx wifi chips, usually on Macbooks.
Metadata

homepage URL:  https://github.com/UnitedRPMs/broadcom-wl-dkms
source URL: https://github.com/UnitedRPMs/broadcom-wl-dkms
license: mit, bsd, gpl2+ , ...
platforms: unix, linux

Is this not already provided by the broadcom-sta package?

On my Macbook Pro 2013 it is

Personally I have had a lot of trouble with broadcom-sta and it doesn't seem to work for BCM4360, if you have a solution please tell me tho

Just converted my 2009 Macbook from Arch. Its wifi was working fine for years with broadcom-wl-dkms, not working with:
boot = {
    kernelModules = [ "kvm-intel" "wl" "b43" ];
    extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
};

The respective wpa_supplicant journald entry is spammed with CTRL-EVENT-SCAN-FAILED ret=-22 retry=1.
$ sudo dmesg | grep -i wireless
[   19.357094] eth0: Broadcom BCM432b 802.11 Hybrid Wireless Controller <IP_ADDRESS>1 (r587334)

Hi @n8henrie
I was having the same message spammed as well. I switched from wpa_supplicant to network manager and now it seems to work.
boot = {
    kernelModules = [ "kvm-intel" "wl" ];
    extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
};

networking.wireless.enable = false;
networking.networkmanager.enable = true;

I'm not entirely sure why this worked for me, since networkmanager uses wpa_supplicant under the hood. Also, I think it started working when I toggled 'flight mode' in Gnome.
Hopefully this helps!

Thanks for the heads up!
For no reason in particular I'm not a huge fan of NetworkManager, but I tried it and had the same experience -- it worked well. That made me curious, so I tinkered a bit today and was able to get things working well by removing extraModulePackages = [config.boot.kernelPackages.broadcom_sta];, so the relevant parts of my config are currently:
networking = {
    wireless.enable = true;
    enableB43Firmware = true;
};
boot.kernelModules = ["kvm-intel" "wl" "b43"];

Also, as @ReplayCoding mentioned, I looked into things and it looks like nixpkgs already has basically the same patches as broadcom-wl-dkms.
For example, here is the source from the broadcom-wl-dkms arch package I had previously been using: https://github.com/archlinux/svntogit-community/tree/packages/broadcom-wl-dkms/trunk (the repo linked by OP looks like it's actually outdated compared to this).
Compare those patches to https://github.com/NixOS/nixpkgs/tree/master/pkgs/os-specific/linux/broadcom-sta -- the commits there even reference broadcom-wl-dkms: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/broadcom-sta/linux-6.1.patch
So in short, I think @johnk1917 can close this issue, as the package he's requesting is already implemented AFAIK.

Thanks for the heads up!
For no reason in particular I'm not a huge fan of NetworkManager, but I tried it and had the same experience -- it worked well. That made me curious, so I tinkered a bit today and was able to get things working well by removing extraModulePackages = [config.boot.kernelPackages.broadcom_sta];, so the relevant parts of my config are currently:
networking = {
    wireless.enable = true;
    enableB43Firmware = true;
};
boot.kernelModules = ["kvm-intel" "wl" "b43"];

Also, as @ReplayCoding mentioned, I looked into things and it looks like nixpkgs already has basically the same patches as broadcom-wl-dkms.
For example, here is the source from the broadcom-wl-dkms arch package I had previously been using: https://github.com/archlinux/svntogit-community/tree/packages/broadcom-wl-dkms/trunk (the repo linked by OP looks like it's actually outdated compared to this).
Compare those patches to https://github.com/NixOS/nixpkgs/tree/master/pkgs/os-specific/linux/broadcom-sta -- the commits there even reference broadcom-wl-dkms: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/broadcom-sta/linux-6.1.patch
So in short, I think @johnk1917 can close this issue, as the package he's requesting is already implemented AFAIK.

Right now I'm trying to get BCM4360 (PCI card) working with wpa_supplicant with no success.
With config you provided ip doesn't ouput card at all.

@MrFoxPro  interesting. I'm over my depth, but interesting that we have different kernel drivers / modules in use:
$ sudo lspci -vnn -d 14e4:
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
	Subsystem: Apple Inc. AirPort Extreme [106b:008d]
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Memory at d3200000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel
	Capabilities: [160] Device Serial Number e9-1d-08-ff-ff-df-00-26
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb

@MrFoxPro interesting. I'm over my depth, but interesting that we have different kernel drivers / modules in use:
$ sudo lspci -vnn -d 14e4:
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b] (rev 01)
	Subsystem: Apple Inc. AirPort Extreme [106b:008d]
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Memory at d3200000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel
	Capabilities: [160] Device Serial Number e9-1d-08-ff-ff-df-00-26
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: b43-pci-bridge
	Kernel modules: ssb

Possibly hardware is different, I have PCI card with this chip, and I guess you are using macbook

Maybe this thread might help: https://discourse.nixos.org/t/wifi-problems-only-after-installation/27969

I'm still looking for a solution on my old iMac. I have submitted a PR #1089 against NixOS/nixos-hardware to add the iMac, I also added a note regarding the Wifi, feel free to suggest how this could be fixed.
https://github.com/NixOS/nixos-hardware/pull/1089/files#diff-231006c10f2e66f60c4759c2119ae62af862441062d69a1170b7d4d4cb14e207R22


use correct text for reprompts

@binspeak Changes have been pushed up with recent update. Closing this PR since it's out-of-date.


CoSim client implemented as a Container

Do you have refence doc or examples for a CoSim client implemented as a Docker container? The docker container, containing a CoSim client, would then connect to the CoSim server via TCP and operate as normal.

@timrulebosch We have no immediate plans to provide a docker container, since it would be trivial. The CoSim client only connects via TCP to a CoSim server running inside of dSPACE VEOS.
We do however provide a reference doc and examples for running dSPACE VEOS in docker containers. Currently, we support Windows and Linux dockers. Please refer to the official dSPACE VEOS documentation.


chore: remove unused result

Quick change that removes unnecessary result.

Merge activity

Nov 29, 2:35 PM EST: A user started a stack merge that includes this pull request via Graphite.


First Android app: Android Basics with Compose Instruction Don't Work

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-first-app?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-2%3F_gl%3D1*depfek*_up*MQ..%26gclid%3DCj0KCQjwurS3BhCGARIsADdUH50iFxPUUQ5dGtWRCgjSmGEpU_-4uvD98Oou2m2lvyLpg_Mx0DbCr1EaAvznEALw_wcB%26gclsrc%3Daw.ds%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-first-app&_gl=1*1mf7tc5*_up*MQ..&gclid=Cj0KCQjwurS3BhCGARIsADdUH50iFxPUUQ5dGtWRCgjSmGEpU_-4uvD98Oou2m2lvyLpg_Mx0DbCr1EaAvznEALw_wcB&gclsrc=aw.ds#4
In which task and step of the codelab can this issue be found?
"To surround the text with a Surface, highlight the line of text, press (Alt+Enter for Windows or Option+Enter on Mac), and then select Surround with widget."
Describe the problem
Following the instructions, the wrong window opens, something about creating a new scratch file
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

When I pasted the URL, I could not add the following information
Android Studio Koala Feature Drop | 2024.1.2 Patch 1
Running device Pixel 3a API 34 extension level 7 x86_64

The correct window opened when I was trying to capturing the wrong window
?????????


Add k8s 1.25.14

Updates

K8s: v1.25.14

Issue

https://github.com/rancher/rancher/issues/42812
https://github.com/rancher/rancher/issues/42813

@jiaqiluo Could you please approve the PR so that we can merge it and tag?


mirror k8s v1.13.10 and v1.12.10

https://github.com/kubernetes/kops/blob/74abdfc58e4477413ce876b8cf2a830ea599832d/channels/stable#L45-L50

according to this article
• Kubernetes v1.13.10 is recommended for 1.13 at this moment.


Failed to refresh Docker

Describe the bug
after upgrade to 0.6.0:

To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, attach log files by opening the OrbStack menu and clicking “Show Logs”, or email them for privacy.
time="04-03 16:20:16" level=info msg="configuring VM"
time="04-03 16:20:16" level=info msg="forwarding SSH agent" sock=/private/tmp/com.apple.launchd.iX4e16Lguc/Listeners
time="04-03 16:20:16" level=info msg="starting VM"
time="04-03 16:20:16" level=info msg="using proxy: socks" host=<IP_ADDRESS> port=7890
time="04-03 16:20:16" level=info msg="starting host services"
time="04-03 16:20:16" level=info msg="waiting for VM to start"
time="04-03 16:20:16" level=info msg="[VM] starting"
time="04-03 16:20:16" level=info msg="[VM] started"
time="04-03 16:20:17" level=error msg="host-unix forward: dial failed" addr="{1 <IP_ADDRESS> 2375}" error="connect tcp <IP_ADDRESS>:2375: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-unix forward: dial failed" addr="{1 <IP_ADDRESS> 2375}" error="connect tcp <IP_ADDRESS>:2375: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=error msg="host-tcp forward: dial failed" addr="{1 <IP_ADDRESS> 8000}" error="connect tcp <IP_ADDRESS>:8000: connection was refused"
time="04-03 16:20:17" level=info msg="data ready"
time="04-03 16:20:17" level=info msg="Mounting NFS..."
time="04-03 16:20:17" level=info msg="data ready"
time="04-03 16:20:17" level=error msg="host-vsock forward: dial failed" error="Error Domain=NSPOSIXErrorDomain Code=54 \"Connection reset by peer\""
time="04-03 16:20:19" level=error msg="NFS mount failed" error="mount nfs: mount(): connection reset by peer"
time="04-03 16:20:20" level=info msg="Mounting NFS..."
time="04-03 16:20:20" level=info msg="NFS mounted"
time="04-03 16:21:30" level=info msg="using proxy: none"
time="04-03 16:24:02" level=info msg="using proxy: socks" host=<IP_ADDRESS> port=7890

Info report

OrbStack info:
  Version: 0.6.0 (60000)
  Commit: 785d7b9f634db63606f646784737f27a376775e0 (v0.6.0)

System info:
  macOS: 13.3 (22E252)
  CPU: arm64, 8 cores
  CPU model: Apple M1

Additional context
I guess this is related to the automatic system proxy settings, but I don't need orbstack to automatically set the system proxy. Is there any way to turn off this feature? I'll have to stick with version 0.5.0 until this bug is fixed.

Can you share the output of orb logs -a docker? Does this happen consistently or was it only on startup?  Does docker ps work?

Also please attach console.log.
This issue isn't related to proxies. I hadn't thought of cases where you don't need OrbStack to follow the system proxy, but the next version will allow orb config set network_proxy none.

Can you share the output of orb logs -a docker? Does this happen consistently or was it only on startup? Does docker ps work?

orb logs -a docker:

Runtime:
ctr<PHONE_NUMBER>2017.545 NOTICE   conf - ../src/ctr/conf.c:ctr_setup:4511 - The container "01GQQVF6C60000000000DOCKER" is set up
ctr<PHONE_NUMBER>2017.546 NOTICE   utils - ../src/ctr/utils.c:ctr_drop_groups:1367 - Dropped supplimentary groups
ctr<PHONE_NUMBER>2017.546 NOTICE   start - ../src/ctr/start.c:start:2194 - Exec'ing "/usr/bin/docker-init"
ctr<PHONE_NUMBER>2017.547 NOTICE   start - ../src/ctr/start.c:post_start:2205 - Started "/usr/bin/docker-init" with pid "853"
ctr<PHONE_NUMBER>2017.556 WARN     attach - ../src/ctr/attach.c:get_attach_context:478 - No security context received
ctr<PHONE_NUMBER>2017.558 NOTICE   utils - ../src/ctr/utils.c:ctr_drop_groups:1367 - Dropped supplimentary groups
ctr<PHONE_NUMBER>2017.558 NOTICE   utils - ../src/ctr/utils.c:ctr_switch_uid_gid:1343 - Switched to gid 0
ctr<PHONE_NUMBER>2017.558 NOTICE   utils - ../src/ctr/utils.c:ctr_switch_uid_gid:1352 - Switched to uid 0

Console:
INFO[2023-04-03T08:20:17.662148583Z] Starting up
WARN[2023-04-03T08:20:17.663395833Z] could not change group /var/run/docker.sock to docker: group docker not found
INFO[2023-04-03T08:20:17.665013292Z] libcontainerd: started new containerd process  pid=34
INFO[2023-04-03T08:20:17.665101667Z] [core] [Channel #1] Channel created           module=grpc
INFO[2023-04-03T08:20:17.665121708Z] [core] [Channel #1] original dial target is: "unix:///var/run/docker/containerd/containerd.sock"  module=grpc
INFO[2023-04-03T08:20:17.665142625Z] [core] [Channel #1] parsed dial target is: {Scheme:unix Authority: Endpoint:var/run/docker/containerd/containerd.sock URL:{Scheme:unix Opaque: User: Host: Path:/var/run/docker/containerd/containerd.sock RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}  module=grpc
INFO[2023-04-03T08:20:17.665148375Z] [core] [Channel #1] Channel authority set to "localhost"  module=grpc
INFO[2023-04-03T08:20:17.666627833Z] [core] [Channel #1] Resolver state updated: {
  "Addresses": [
    {
      "Addr": "/var/run/docker/containerd/containerd.sock",
      "ServerName": "",
      "Attributes": {},
      "BalancerAttributes": null,
      "Type": 0,
      "Metadata": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)  module=grpc
INFO[2023-04-03T08:20:17.666688667Z] [core] [Channel #1] Channel switches to new LB policy "pick_first"  module=grpc
INFO[2023-04-03T08:20:17.666965333Z] [core] [Channel #1 SubChannel #2] Subchannel created  module=grpc
INFO[2023-04-03T08:20:17.666988750Z] [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to CONNECTING  module=grpc
INFO[2023-04-03T08:20:17.667012417Z] [core] [Channel #1 SubChannel #2] Subchannel picks a new address "/var/run/docker/containerd/containerd.sock" to connect  module=grpc
INFO[2023-04-03T08:20:17.667105375Z] [core] [Channel #1] Channel Connectivity change to CONNECTING  module=grpc
INFO[2023-04-03T08:20:17.718671292Z] starting containerd                           revision=1fbd70374134b891f97ce19c70b6e50c7b9f4e0d version=v1.7.0
INFO[2023-04-03T08:20:17.727398667Z] loading plugin "io.containerd.snapshotter.v1.aufs"...  type=io.containerd.snapshotter.v1
INFO[2023-04-03T08:20:17.728209625Z] skip loading plugin "io.containerd.snapshotter.v1.aufs"...  error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1
INFO[2023-04-03T08:20:17.728227417Z] loading plugin "io.containerd.snapshotter.v1.btrfs"...  type=io.containerd.snapshotter.v1
INFO[2023-04-03T08:20:17.728361500Z] loading plugin "io.containerd.content.v1.content"...  type=io.containerd.content.v1
INFO[2023-04-03T08:20:17.728379375Z] loading plugin "io.containerd.snapshotter.v1.native"...  type=io.containerd.snapshotter.v1
INFO[2023-04-03T08:20:17.728398542Z] loading plugin "io.containerd.snapshotter.v1.overlayfs"...  type=io.containerd.snapshotter.v1
INFO[2023-04-03T08:20:17.728474000Z] loading plugin "io.containerd.snapshotter.v1.devmapper"...  type=io.containerd.snapshotter.v1
WARN[2023-04-03T08:20:17.728486792Z] failed to load plugin io.containerd.snapshotter.v1.devmapper  error="devmapper not configured"
INFO[2023-04-03T08:20:17.728497542Z] loading plugin "io.containerd.snapshotter.v1.zfs"...  type=io.containerd.snapshotter.v1
INFO[2023-04-03T08:20:17.728574292Z] skip loading plugin "io.containerd.snapshotter.v1.zfs"...  error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
INFO[2023-04-03T08:20:17.728584958Z] loading plugin "io.containerd.metadata.v1.bolt"...  type=io.containerd.metadata.v1
WARN[2023-04-03T08:20:17.728594792Z] could not use snapshotter devmapper in metadata plugin  error="devmapper not configured"
INFO[2023-04-03T08:20:17.728603000Z] metadata content store policy set             policy=shared
INFO[2023-04-03T08:20:17.729663917Z] loading plugin "io.containerd.differ.v1.walking"...  type=io.containerd.differ.v1
INFO[2023-04-03T08:20:17.729677833Z] loading plugin "io.containerd.event.v1.exchange"...  type=io.containerd.event.v1
INFO[2023-04-03T08:20:17.729683458Z] loading plugin "io.containerd.gc.v1.scheduler"...  type=io.containerd.gc.v1
INFO[2023-04-03T08:20:17.729708417Z] loading plugin "io.containerd.lease.v1.manager"...  type=io.containerd.lease.v1
INFO[2023-04-03T08:20:17.729722583Z] loading plugin "io.containerd.nri.v1.nri"...  type=io.containerd.nri.v1
INFO[2023-04-03T08:20:17.729727958Z] NRI interface is disabled by configuration.
INFO[2023-04-03T08:20:17.729732250Z] loading plugin "io.containerd.runtime.v2.task"...  type=io.containerd.runtime.v2
INFO[2023-04-03T08:20:17.729764333Z] loading plugin "io.containerd.runtime.v2.shim"...  type=io.containerd.runtime.v2
INFO[2023-04-03T08:20:17.729779792Z] loading plugin "io.containerd.sandbox.store.v1.local"...  type=io.containerd.sandbox.store.v1
INFO[2023-04-03T08:20:17.729786167Z] loading plugin "io.containerd.sandbox.controller.v1.local"...  type=io.containerd.sandbox.controller.v1
INFO[2023-04-03T08:20:17.729795708Z] loading plugin "io.containerd.streaming.v1.manager"...  type=io.containerd.streaming.v1
INFO[2023-04-03T08:20:17.729802958Z] loading plugin "io.containerd.service.v1.introspection-service"...  type=io.containerd.service.v1
INFO[2023-04-03T08:20:17.729811042Z] loading plugin "io.containerd.service.v1.containers-service"...  type=io.containerd.service.v1
INFO[2023-04-03T08:20:17.729829417Z] loading plugin "io.containerd.service.v1.content-service"...  type=io.containerd.service.v1
INFO[2023-04-03T08:20:17.729841500Z] loading plugin "io.containerd.service.v1.diff-service"...  type=io.containerd.service.v1
INFO[2023-04-03T08:20:17.729852125Z] loading plugin "io.containerd.service.v1.images-service"...  type=io.containerd.service.v1
INFO[2023-04-03T08:20:17.729864042Z] loading plugin "io.containerd.service.v1.namespaces-service"...  type=io.containerd.service.v1
INFO[2023-04-03T08:20:17.729879917Z] loading plugin "io.containerd.service.v1.snapshots-service"...  type=io.containerd.service.v1
INFO[2023-04-03T08:20:17.729889375Z] loading plugin "io.containerd.runtime.v1.linux"...  type=io.containerd.runtime.v1
INFO[2023-04-03T08:20:17.729919417Z] loading plugin "io.containerd.monitor.v1.cgroups"...  type=io.containerd.monitor.v1
INFO[2023-04-03T08:20:17.730331917Z] loading plugin "io.containerd.service.v1.tasks-service"...  type=io.containerd.service.v1
INFO[2023-04-03T08:20:17.730362583Z] loading plugin "io.containerd.grpc.v1.introspection"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730375875Z] loading plugin "io.containerd.transfer.v1.local"...  type=io.containerd.transfer.v1
INFO[2023-04-03T08:20:17.730388333Z] loading plugin "io.containerd.internal.v1.restart"...  type=io.containerd.internal.v1
INFO[2023-04-03T08:20:17.730670542Z] loading plugin "io.containerd.grpc.v1.containers"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730682042Z] loading plugin "io.containerd.grpc.v1.content"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730687792Z] loading plugin "io.containerd.grpc.v1.diff"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730696083Z] loading plugin "io.containerd.grpc.v1.events"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730705333Z] loading plugin "io.containerd.grpc.v1.healthcheck"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730714292Z] loading plugin "io.containerd.grpc.v1.images"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730727292Z] loading plugin "io.containerd.grpc.v1.leases"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730739167Z] loading plugin "io.containerd.grpc.v1.namespaces"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730745500Z] loading plugin "io.containerd.internal.v1.opt"...  type=io.containerd.internal.v1
INFO[2023-04-03T08:20:17.730782792Z] loading plugin "io.containerd.grpc.v1.sandbox-controllers"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730799833Z] loading plugin "io.containerd.grpc.v1.sandboxes"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730813917Z] loading plugin "io.containerd.grpc.v1.snapshots"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730825458Z] loading plugin "io.containerd.grpc.v1.streaming"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730834125Z] loading plugin "io.containerd.grpc.v1.tasks"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730840458Z] loading plugin "io.containerd.grpc.v1.transfer"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730846167Z] loading plugin "io.containerd.grpc.v1.version"...  type=io.containerd.grpc.v1
INFO[2023-04-03T08:20:17.730850917Z] loading plugin "io.containerd.tracing.processor.v1.otlp"...  type=io.containerd.tracing.processor.v1
INFO[2023-04-03T08:20:17.730857417Z] skip loading plugin "io.containerd.tracing.processor.v1.otlp"...  error="no OpenTelemetry endpoint: skip plugin" type=io.containerd.tracing.processor.v1
INFO[2023-04-03T08:20:17.730866167Z] loading plugin "io.containerd.internal.v1.tracing"...  type=io.containerd.internal.v1
INFO[2023-04-03T08:20:17.730872708Z] skipping tracing processor initialization (no tracing plugin)  error="no OpenTelemetry endpoint: skip plugin"
INFO[2023-04-03T08:20:17.731501000Z] serving...                                    address=/var/run/docker/containerd/containerd-debug.sock
INFO[2023-04-03T08:20:17.731646000Z] serving...                                    address=/var/run/docker/containerd/containerd.sock.ttrpc
INFO[2023-04-03T08:20:17.731779083Z] serving...                                    address=/var/run/docker/containerd/containerd.sock
INFO[2023-04-03T08:20:17.731795750Z] containerd successfully booted in 0.014127s
INFO[2023-04-03T08:20:17.742202792Z] [core] [Channel #1 SubChannel #2] Subchannel Connectivity change to READY  module=grpc
INFO[2023-04-03T08:20:17.742243958Z] [core] [Channel #1] Channel Connectivity change to READY  module=grpc
INFO[2023-04-03T08:20:17.745652375Z] [core] [Channel #4] Channel created           module=grpc
INFO[2023-04-03T08:20:17.745667792Z] [core] [Channel #4] original dial target is: "unix:///var/run/docker/containerd/containerd.sock"  module=grpc
INFO[2023-04-03T08:20:17.745679083Z] [core] [Channel #4] parsed dial target is: {Scheme:unix Authority: Endpoint:var/run/docker/containerd/containerd.sock URL:{Scheme:unix Opaque: User: Host: Path:/var/run/docker/containerd/containerd.sock RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}  module=grpc
INFO[2023-04-03T08:20:17.745693083Z] [core] [Channel #4] Channel authority set to "localhost"  module=grpc
INFO[2023-04-03T08:20:17.745719917Z] [core] [Channel #4] Resolver state updated: {
  "Addresses": [
    {
      "Addr": "/var/run/docker/containerd/containerd.sock",
      "ServerName": "",
      "Attributes": {},
      "BalancerAttributes": null,
      "Type": 0,
      "Metadata": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)  module=grpc
INFO[2023-04-03T08:20:17.745746458Z] [core] [Channel #4] Channel switches to new LB policy "pick_first"  module=grpc
INFO[2023-04-03T08:20:17.745770750Z] [core] [Channel #4 SubChannel #5] Subchannel created  module=grpc
INFO[2023-04-03T08:20:17.745790708Z] [core] [Channel #4 SubChannel #5] Subchannel Connectivity change to CONNECTING  module=grpc
INFO[2023-04-03T08:20:17.745804042Z] [core] [Channel #4 SubChannel #5] Subchannel picks a new address "/var/run/docker/containerd/containerd.sock" to connect  module=grpc
INFO[2023-04-03T08:20:17.745820208Z] [core] [Channel #4] Channel Connectivity change to CONNECTING  module=grpc
INFO[2023-04-03T08:20:17.746018792Z] [core] [Channel #4 SubChannel #5] Subchannel Connectivity change to READY  module=grpc
INFO[2023-04-03T08:20:17.746039792Z] [core] [Channel #4] Channel Connectivity change to READY  module=grpc
INFO[2023-04-03T08:20:17.746685500Z] [core] [Channel #7] Channel created           module=grpc
INFO[2023-04-03T08:20:17.746700750Z] [core] [Channel #7] original dial target is: "unix:///var/run/docker/containerd/containerd.sock"  module=grpc
INFO[2023-04-03T08:20:17.746718500Z] [core] [Channel #7] parsed dial target is: {Scheme:unix Authority: Endpoint:var/run/docker/containerd/containerd.sock URL:{Scheme:unix Opaque: User: Host: Path:/var/run/docker/containerd/containerd.sock RawPath: OmitHost:false ForceQuery:false RawQuery: Fragment: RawFragment:}}  module=grpc
INFO[2023-04-03T08:20:17.746723208Z] [core] [Channel #7] Channel authority set to "localhost"  module=grpc
INFO[2023-04-03T08:20:17.746748292Z] [core] [Channel #7] Resolver state updated: {
  "Addresses": [
    {
      "Addr": "/var/run/docker/containerd/containerd.sock",
      "ServerName": "",
      "Attributes": {},
      "BalancerAttributes": null,
      "Type": 0,
      "Metadata": null
    }
  ],
  "ServiceConfig": null,
  "Attributes": null
} (resolver returned new addresses)  module=grpc
INFO[2023-04-03T08:20:17.746762333Z] [core] [Channel #7] Channel switches to new LB policy "pick_first"  module=grpc
INFO[2023-04-03T08:20:17.746782833Z] [core] [Channel #7 SubChannel #8] Subchannel created  module=grpc
INFO[2023-04-03T08:20:17.746819750Z] [core] [Channel #7 SubChannel #8] Subchannel Connectivity change to CONNECTING  module=grpc
INFO[2023-04-03T08:20:17.746841208Z] [core] [Channel #7 SubChannel #8] Subchannel picks a new address "/var/run/docker/containerd/containerd.sock" to connect  module=grpc
INFO[2023-04-03T08:20:17.746853333Z] [core] [Channel #7] Channel Connectivity change to CONNECTING  module=grpc
INFO[2023-04-03T08:20:17.747095750Z] [core] [Channel #7 SubChannel #8] Subchannel Connectivity change to READY  module=grpc
INFO[2023-04-03T08:20:17.747107333Z] [core] [Channel #7] Channel Connectivity change to READY  module=grpc
INFO[2023-04-03T08:20:17.747667250Z] [graphdriver] trying configured driver: overlay2
INFO[2023-04-03T08:20:17.804652083Z] Loading containers: start.
ERRO[2023-04-03T08:20:17.818623458Z] Could not add route to IPv6 network fd00:30:32::1/64 via device docker0: network is down
INFO[2023-04-03T08:20:17.842159375Z] Default bridge (docker0) is assigned with an IP address <IP_ADDRESS>/16. Daemon option --bip can be used to set a preferred IP address
INFO[2023-04-03T08:20:17.857497458Z] Loading containers: done.
INFO[2023-04-03T08:20:17.897678375Z] Docker daemon                                 commit=219f21bf07502b447095649b5a2764661737f164 graphdriver=overlay2 version=23.0.2
INFO[2023-04-03T08:20:17.897957875Z] Daemon has completed initialization
INFO[2023-04-03T08:20:18.079158375Z] [core] [Server #10] Server created            module=grpc
INFO[2023-04-03T08:20:18.082993167Z] API listen on /var/run/docker.sock

It happens only on startup
It doesn't, seems blocked

Also please attach console.log.
This issue isn't related to proxies. I hadn't thought of cases where you don't need OrbStack to follow the system proxy, but the next version will allow orb config set network_proxy none.

console.log
And where can I download 0.5.0 back?

Thanks. Does the issue persist after restarting OrbStack?
The last version is v0.5.2: https://cdn-updates.orbstack.dev/arm64/OrbStack_v0.5.2_1012_arm64.dmg

Thanks. Does the issue persist after restarting OrbStack fully (i.e. clicking the power button)?
The last version is v0.5.2: https://cdn-updates.orbstack.dev/arm64/OrbStack_v0.5.2_1012_arm64.dmg

Thanks. Does the issue persist after restarting OrbStack fully (i.e. clicking the power button)?
The last version is v0.5.2: https://cdn-updates.orbstack.dev/arm64/OrbStack_v0.5.2_1012_arm64.dmg

Restart orbstack works!

Strange, but glad to hear that it works. Will look into it.

Actually, I think this is a duplicate of #100 so closing in favor of that.


Label on Hover for NavBar

Current Navbar

When user hover over any icon (on medium or bigger sized devices only) then a small textbox appear which describes that icon.

Icon Labels: [Favorites, Notifications, Credits, Profile] in order.

Label should look something like this

@Ishwarendra Please assign me this issue.

One issue at one time @Nikhil7174. Already assigned #133

@Ishwarendra Can you please tell how to access the page where this navbar is present. I have setup both frontend and backend but cannot find this navbar

You have to login to see this navbar.

@Ishwarendra can I work on this issue?

Yes @Nikhil7174 .. assigned!


Issue146 Codecov

Resolves #146

Used the tutorial below:
https://medium.com/flutter-community/how-to-actually-get-test-coverage-for-your-flutter-applications-f881c0ae8155

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@38d844a). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 6eb9e60 differs from pull request most recent head a54d789. Consider uploading reports for the commit a54d789 to get more accurate results

@@           Coverage Diff           @@
##             main     #156   +/-   ##
=======================================
  Coverage        ?   84.67%
=======================================
  Files           ?       80
  Lines           ?     2395
  Branches        ?        0
=======================================
  Hits            ?     2028
  Misses          ?      367
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

If the target branch actually has the previous codecov results:

I don't think I can setup the checks for this repo because of access rights.
@alexeyinkin do you have access to the codecov dashboard for this repo?
https://app.codecov.io/gh
Login here with github.
Access right are also needed to get the badge:
https://docs.codecov.com/docs/github-3-customizing-codecov#add-the-codecov-badge


Testable 1855 enable save functionality on edit branching page

Fix JS to create BranchAnswer components on page load.
The lack of created components also had a visual impact, which means this...

...is now corrected to look like this:

Closing due to issue with characters added to branch name creating a "Name too long error (limit 63)"
Renaming and will open new PR.


HHH-18784 TableMigrator shouldn't alter column length if length is not explicitly-set

[Please describe here what your change is about]

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

https://hibernate.atlassian.net/browse/HHH-18784

@gavinking WDYT?

@gavinking WDYT?

I'm not sure I agree with the concept.
We don't recommend running TableMigrator on your production database, so it's a tool mainly for use in more development-oriented contexts.
In that context I would say it would be annoying if adding @Column(length=20) to my entity would not result in any change.
But, well, this merits further discussion.

@gavinking WDYT?

I'm not sure I agree with the concept.
We don't recommend running TableMigrator on your production database, so it's a tool mainly for use in more development-oriented contexts.
In that context I would say it would be annoying if adding @Column(length=20) to my entity would not result in any change.
But, well, this merits further discussion.

It's annoying development too, It's kind of regression because I can do that in early version.

I don't see how it can be annoying in development. Why would you want to develop against a schema that disagrees with what you have explicitly specified in your mapping annotations?
If there is disagreement there, I would want to know about it!

I don't see how it can be annoying in development. Why would you want to develop against a schema that disagrees with what you have explicitly specified in your mapping annotations?
If there is disagreement there, I would want to know about it!

I didn’t specify @Column explicitly, the length defaults to 255

I don't see how it can be annoying in development. Why would you want to develop against a schema that disagrees with what you have explicitly specified in your mapping annotations?
If there is disagreement there, I would want to know about it!

I didn’t specify @Column explicitly, the length defaults to 255

Perhaps we should check the required length is default length

Yeah, I was wondering that too.
Actually, @sebersole, I believe we now have ways to distinguish an unset/defaulted length from an explicitly-set length=255, is that right?

Perhaps we should check the required length is default length

Yeah, I was wondering that too.
Actually, @sebersole, I believe we now have ways to distinguish an unset/defaulted length from an explicitly-set length=255, is that right?

@gavinking  Please review the updated PR, column will not be modified if @Column is not explicitly-set, but there is no way to distinguish between @Column and @Column(length=255).

there is no way to distinguish between @Column and @Column(length=255).

I believe that Steve now has a way to do that in hibernate-models.

there is no way to distinguish between @column and @column(length=255).

I believe that Steve now has a way to do that in hibernate-models.

I inspected org.hibernate.boot.models.annotations.internal.ColumnJpaAnnotation, I don't think hibernate-models can handle this currently, It should retain a map of explicit attributes.

I believe that Steve now has a way to do that in hibernate-models.

No, I initially did when using Jandex (which does understand this distinction).  But everyone else disagreed with that so I rempoved it.

Well, OK, then, given that we can't distinguish an explicit length=255, I guess I'm just -1 on making this change.

It should retain a map of explicit attributes.

The problem is the same.  We don't know which values are explicit (again, unless using Jandex).  Java makes default and eplicit  values indistinguishable.

Rejecting this one

Rejecting this one

I think this PR is worthy to merge, It distinguish @Column present or not at least.

@quaff We never treat a missing annotation as different to a missing annotation member for the JPA mapping annotations.

@quaff We never treat a missing annotation as different to a missing annotation member for the JPA mapping annotations.

I agree that, but I'm requesting special treat for schema migration here, the unit tests in this PR should pass.

And that's precisely the sort of ad hoc hacked-in special case which I'm thoroughly against. How am I supposed to explain to a user that "oh, it behaves one way with the @Column annotation but a different way without it", even though the actual inferred schema is identical. That's terrible. There's no way the user would expect that behavior.
Again, schema migration is a limited tool with very limited capabilities, which is supposed to assist at development time. It's not a replacement for something like Flyway or whatever, and we've never promoted it as such.


[Feature]: Update the life system design

👉 Please confirm the following

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I checked the current issues for duplicate features.

🤔 Is your proposal related to a problem?
No response
😍 Describe the solution you'd like
So far, the display of the number of lives remaining looks like this:

it might be better to have hearts instead :

Example of the above asset :
https://github.com/AlmasB/FXGLGames/blob/master/SpaceInvaders/src/main/resources/assets/textures/life.png
👍 Describe alternatives you've considered
No response
✍ Additional context
No response

Hi, I'd like to give this issue a go. Is it still open?

Hi @ValerieRossDEV yep of course, go ahead 🙂

Hi, still need help on this issue?

Hi @andresmc98 yeah the issue is still open, you can work on it :) Thanks

You can help to solve this PR : https://github.com/dylan-power/dinosaur-exploder/pull/72
There is an issue on it, so it can be cool if you can work from the work of @ValerieRossDEV.

You can help to solve this PR : https://github.com/dylan-power/dinosaur-exploder/pull/72 @andresmc98
There is an issue on it, so it can be cool if you can work from the work of @ValerieRossDEV.

Hi, uh, I actually developed the heart system in a different way and only now I realized that there's already a different code/PR for that purpose. I am new to open source and github altogether, so naturally I missed out the issues section.
Will you like to take a look at my code? or Should I commit the changes?
Will be waiting for your feedback!

Hi @Dedmondium thank you so much for your contribution. Open a Pull Request, and i'll check ! There is an old PR about this issue that just doesn't work so if everything is working for you, i'll approve it. Thanks 😎 Welcome to the world of contribution !


[BEAM-9739] Retry SpannerIO write on Schema change

Spanner aborts all transactions in flight when there is a schema change and returns an Aborted Exception. The client is expected to retry the transaction silently.
This patch retries the commit on Aborted Exception
R: @nielm @chamikaramj

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Run Java PostCommit

LGTM (assuming post-commits pass!)

 I see one LGTM. Is this ready to be merged?

Yeah. Merging.


Modify build_system's prepare stage to allow for custom sysroot source path

This change allows users to specify a custom directory from which to copy the sysroot source code instead of being forced to use the rust-src provided with the rustup toolchain. The path is passed to --sysroot-source during the prepare stage, like so:
./y.sh prepare --sysroot-source /path/to/custom/source

This removes a pain point for using rustc_codegen_gcc while creating and testing support for new platforms with architectures without LLVM support.

@darcagn: I would say: choose the approach that is the most convenient to you since you're the main user of this new flag.

Thanks for your contribution!


make sampling rate from mumble ruby configurable

make sampling rate from mumble ruby configurable
default 48000 if no value is in the config ...

That is no good idea. Opus codec is optimized for 48kHz AND mumble request this sample rate.
I've not tested 44.1 kHz, maybe some clients run with it, there is no guarantee that it works for all.
It does not make sense to feed the server with stereo data because the clients it will not decode. Mono audio is due to the positional audio in part because several stereo signals can be only with some assumptions (stereo-bias) very cost intense calculated into a virtual space.


search: support filters (faceting)

Zenodo supports aggregations (done), filters, post_filters (done). Filters are left to support.
Question:
What is the use case for filtering? It seems to be used for communities, but it is unclear to me what the general problem it is trying to solve.

To be clear the filter search option that was in invenio-records-rest is not supported in invenio-records-resources right now. Communities were using it at some point. The communities team knows more about whether this is still necessary.


New AIML Lab: Deploying Llama2 Chatbot using Ray Serve on Amazon EKS

What this PR does / why we need it:
The purpose of this lab is to teach customers about deploying large language models on Amazon EKS.
In particular, this lab will focus on launching Llama2 chatbot using Ray Serve.
Which issue(s) this PR fixes:
This is the second PR for the lab. There will be more future edits made.
Fixes #
Quality checks

[ ] My content adheres to the style guidelines
[ ] I ran make test module="<module>" it was successful (see https://github.com/aws-samples/eks-workshop-v2/blob/main/docs/automated_tests.md)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@natmhnty tests appear to be passing now, we should go be good to merge! are there any other changes you were planning to make?