[Bug]: DNS issue on egress node

Description
I try to use egress with cilium. However the egress node seems to have a DNS issue and therefore is not able to pull the cilium pod (see screenshots).
This might be the same as discussed here: https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/discussions/830.
Unfortunately, this discussion doesn't make it clear how to resolve this.
Thank you for your help.
Kube.tf file
locals {
  # First and foremost set your Hetzner API token here. It can be found in your Project > Security > API Token (Read & Write is required).
  hcloud_token = "********"
  cluster_ipv4_cidr = "<IP_ADDRESS>/16"
}

module "kube-hetzner" {
  providers = {
    hcloud = hcloud
  }
  version = "v2.9.3"
  hcloud_token = local.hcloud_token
  source = "kube-hetzner/kube-hetzner/hcloud"
  ssh_public_key = file("****************")
  ssh_private_key = file("****************")
  network_region = "eu-central"
  control_plane_nodepools = [
    {
      name        = "control-plane-fsn1",
      server_type = "cx21",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 2
    }
  ]
  agent_nodepools = [
    {
      name        = "agent-middle",
      server_type = "cx31",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 0
    },
    {
      name        = "agent-large",
      server_type = "cx51",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 0
    },
    {
      name        = "agent-middle-large",
      server_type = "cx41",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 0
    },
    {
      name        = "egress-pool",
      server_type = "cx21",
      location    = "fsn1",
      labels = [
        "node.kubernetes.io/role=egress"
      ],
      taints = [
        "node.kubernetes.io/role=egress:NoSchedule"
      ],
      floating_ip = true
      count = 1
      },
  ]
  extra_firewall_rules = [
    {
      description     = "For outgoing."
      direction       = "out"
      protocol        = "tcp"
      port            = "any"
      source_ips      = []
      destination_ips = ["<IP_ADDRESS>/0", "::/0"]
    },
    {
      description     = "For metrics on 30007."
      direction       = "in"
      protocol        = "tcp"
      port            = "30007"
      source_ips      = ["<IP_ADDRESS>/0", "::/0"]
      destination_ips = []
    },
  ]
  network_ipv4_cidr = "<IP_ADDRESS>/12"
  cluster_ipv4_cidr = local.cluster_ipv4_cidr
  disable_hetzner_csi = true
  automatically_upgrade_k3s = false
  automatically_upgrade_os = false
  cni_plugin = "cilium"
  cilium_egress_gateway_enabled = true
  enable_cert_manager= "true"
  cluster_name = "app-scaler"
  allow_scheduling_on_control_plane = false
  autoscaler_nodepools = [
    {
      name        = "auto-scaler"
      server_type = "cx41"
      location    = "fsn1"
      min_nodes   = 1
      max_nodes   = 10
    }
  ]
}

provider "hcloud" {
  token = local.hcloud_token
}

terraform {
  required_version = ">= 1.5.0"
  required_providers {
    hcloud = {
      source  = "hetznercloud/hcloud"
      version = ">= 1.44.1"
    }
  }
}

output "kubeconfig" {
  value     = module.kube-hetzner.kubeconfig
  sensitive = true
}

Screenshots

Platform
Linux

@zypriafl  Please see the debug section in the readme and do some tests at the node and cluster level, also look at the cilium logs, see the cilium example in the examples section also in the readme.
@M4t7e  Any ideas on this DNS failure for an Egress node?

Could it be some kind of deadlock. "NetworkPluginNotReady: cni plugin not initialized" because cilium container cannot be pulled because then again Network is not ready?

@zypriafl You are affected by the infamous Iranian IPs blocks (at least percieved as such) that are blocked from pulling from GCR and every service that depend on that. So two solutions:
Ether use k3s_registries to proxy all container pull requests to another unblocked registry, or and probably the easiest solution.
Cordon the node, and brutally delete it with hcloud server delete xxx, that will free up its IP, then with hcloud also, or the UI register a floating IP (just temporarily), it will assign the liberated IP. They terraform again for terraform to deploy the missing node with a new IP, then release the reserved IP that is not blocked from GCR.
The latter trick is a 5 minutes op and should work! Good luck.

It looks like the node itself has no working DNS...
Regarding #830: This is not the valid anymore. Now Cilium CNI is not limited to a single interface and it detects the needed interfaces automatically. This is mandatory for BPF based NAT scenarios.
@zypriafl Can you execute the following commands in bash and provide me the output please? Just copy & paste all of it and hit enter.
set -o xtrace
ip a show eth0
ip a show eth1
nmcli device show eth0
nmcli device show eth1
ip route
ip route get <IP_ADDRESS>
ping -c 5 <IP_ADDRESS>
cat /etc/resolv.conf
cat /etc/NetworkManager/conf.d/dns.conf
dig google.com @<IP_ADDRESS> +short
dig google.com @<IP_ADDRESS> +short
dig google.com @2a01:4ff:ff00::add:1 +short
dig google.com @2a01:4ff:ff00::add:2 +short
dig google.com @<IP_ADDRESS> +short
dig google.com @<IP_ADDRESS> +short
dig google.com @<IP_ADDRESS> +short
curl -v google.com
set +o xtrace

thanks @M4t7e, here are the outputs:
app-scaler-egress-pool-nfe:~ # set -o xtrace
+ set -o xtrace
app-scaler-egress-pool-nfe:~ # ip a show eth0
+ ip --color=auto a show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 96:00:02:b7:b2:4f brd ff:ff:ff:ff:ff:ff
    altname enp0s3
    altname ens3
    inet <IP_ADDRESS>/32 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 scope global noprefixroute eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::352f:e891:5704:18f9/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
app-scaler-egress-pool-nfe:~ # ip a show eth1
+ ip --color=auto a show eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 86:00:00:67:45:19 brd ff:ff:ff:ff:ff:ff
    altname enp0s10
    altname ens10
    inet <IP_ADDRESS>/32 scope global dynamic noprefixroute eth1
       valid_lft 86233sec preferred_lft 86233sec
    inet6 fe80::b3a2:e260:cd40:5d04/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
app-scaler-egress-pool-nfe:~ # nmcli device show eth0
+ nmcli device show eth0
GENERAL.DEVICE:                         eth0
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         96:00:02:B7:B2:4F
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     eth0
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/4
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         <IP_ADDRESS>/32
IP4.ADDRESS[2]:                         <IP_ADDRESS>/32
IP4.GATEWAY:                            <IP_ADDRESS>
IP4.ROUTE[1]:                           dst = <IP_ADDRESS>/32, nh = <IP_ADDRESS>, mt = 20100
IP4.ROUTE[2]:                           dst = <IP_ADDRESS>/0, nh = <IP_ADDRESS>, mt = 20100
IP6.ADDRESS[1]:                         fe80::352f:e891:5704:18f9/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 1024
app-scaler-egress-pool-nfe:~ # cli device show eth1
+ cli device show eth1
-bash: cli: command not found
app-scaler-egress-pool-nfe:~ # ip route
+ ip --color=auto route
default via <IP_ADDRESS> dev eth0 proto static metric 20100
default via <IP_ADDRESS> dev eth1 proto dhcp src <IP_ADDRESS> metric 20101
<IP_ADDRESS>/12 via <IP_ADDRESS> dev eth1 proto dhcp src <IP_ADDRESS> metric 101
<IP_ADDRESS> dev eth1 proto dhcp scope link src <IP_ADDRESS> metric 101
<IP_ADDRESS> dev eth0 proto static scope link metric 20100
app-scaler-egress-pool-nfe:~ # ip route get <IP_ADDRESS>
+ ip --color=auto route get <IP_ADDRESS>
<IP_ADDRESS> via <IP_ADDRESS> dev eth0 src <IP_ADDRESS> uid 0
    cache
app-scaler-egress-pool-nfe:~ # ping -c 5 <IP_ADDRESS>
+ ping -c 5 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=55 time=6.61 ms

64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=55 time=6.45 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=55 time=5.64 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=55 time=5.73 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=55 time=5.84 ms

--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 5.638/6.055/6.608/0.396 ms
app-scaler-egress-pool-nfe:~ # cat /etc/resolv.conf
+ cat /etc/resolv.conf
# Generated by NetworkManager
app-scaler-egress-pool-nfe:~ # cat /etc/NetworkManager/conf.d/dns.conf
+ cat /etc/NetworkManager/conf.d/dns.conf
cat: /etc/NetworkManager/conf.d/dns.conf: No such file or directory
app-scaler-egress-pool-nfe:~ # dig google.com @<IP_ADDRESS> +short
+ dig google.com @<IP_ADDRESS> +short
<IP_ADDRESS>
app-scaler-egress-pool-nfe:~ # dig google.com @<IP_ADDRESS> +short
+ dig google.com @<IP_ADDRESS> +short
<IP_ADDRESS>
app-scaler-egress-pool-nfe:~ # dig google.com @2a01:4ff:ff00::add:1 +short
+ dig google.com @2a01:4ff:ff00::add:1 +short
;; UDP setup with 2a01:4ff:ff00::add:1#53(2a01:4ff:ff00::add:1) for google.com failed: network unreachable.
;; UDP setup with 2a01:4ff:ff00::add:1#53(2a01:4ff:ff00::add:1) for google.com failed: network unreachable.
;; UDP setup with 2a01:4ff:ff00::add:1#53(2a01:4ff:ff00::add:1) for google.com failed: network unreachable.
app-scaler-egress-pool-nfe:~ # dig google.com @2a01:4ff:ff00::add:2 +short
+ dig google.com @2a01:4ff:ff00::add:2 +short
;; UDP setup with 2a01:4ff:ff00::add:2#53(2a01:4ff:ff00::add:2) for google.com failed: network unreachable.
;; UDP setup with 2a01:4ff:ff00::add:2#53(2a01:4ff:ff00::add:2) for google.com failed: network unreachable.
;; UDP setup with 2a01:4ff:ff00::add:2#53(2a01:4ff:ff00::add:2) for google.com failed: network unreachable.
app-scaler-egress-pool-nfe:~ # dig google.com @<IP_ADDRESS> +short
+ dig google.com @<IP_ADDRESS> +short
<IP_ADDRESS>
app-scaler-egress-pool-nfe:~ # dig google.com @<IP_ADDRESS> +short
+ dig google.com @<IP_ADDRESS> +short
<IP_ADDRESS>
app-scaler-egress-pool-nfe:~ # dig google.com @<IP_ADDRESS> +short
+ dig google.com @<IP_ADDRESS> +short
<IP_ADDRESS>
app-scaler-egress-pool-nfe:~ # curl -v google.com
+ curl -v google.com
* Could not resolve host: google.com
* Closing connection 0
curl: (6) Could not resolve host: google.com
app-scaler-egress-pool-nfe:~ # set +o xtrace
+ set +o xtrace
app-scaler-egress-pool-nfe:~ #

@mysticaltech the issue persists even with another IP.

Thx for the output @zypriafl
That's strange, you have no DNS Servers configured as far as I can see. Was that a fresh server installation or is there some history for that node?
Please reboot the node and try to reach google.com again. If that does not help, please destroy and redeploy the node again or try to configure the DNS servers explicitly in kube.tf with either dns_servers = ["<IP_ADDRESS>", "<IP_ADDRESS>", "<IP_ADDRESS>"] (CloudFlare, Google & Quad9) or dns_servers = ["<IP_ADDRESS>", "<IP_ADDRESS>"] (Hetzner DNS).
Btw, it looks like your IPv6 configuration is not okay. You have no public routable IPv6 addresses on your egress node. Nowadays operating systems usually prefer IPv6 over IPv4. But this only explains why you can't resolve DNS records via IPv6.

The node was fresh created. Setting the DNS server explictly in kube.tf fixed it and the cilium inage can now be pulled:
dns_servers = ["<IP_ADDRESS>", "<IP_ADDRESS>", "<IP_ADDRESS>"]

@mysticaltech maybe we have here an unfortunate combination... My theory:
If a floating IP is used, ipv4.method manual disables DHCP for IPv4 entirely and therefore also obtaining IPv4 DNS servers:
https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/blob/9bf9edc1a579c097b10954ddab2d5a5aea7067e4/agents.tf#L210-L215
If IPv6 is enabled, it can solve the problem, because you still have the possibility to use DNS via IPv6. But here IPv6 was not working either. This needs to be tested, but so far this is the only explanation I have.
Solution can be explicit pre-configuration of DNS servers in variables.tf with Hetzner Resolvers:

<IP_ADDRESS>
<IP_ADDRESS>
2a01:4ff:ff00::add:1
2a01:4ff:ff00::add:2

Then we have full redundancy without depending on NetworkManager + DHCP

@M4t7e  It makes sense, let's add those default DNS resolvers, will do tomorrow but don't hesitate to PR 🙏


Display navigation directions from MapBox

Display navigation directions from MapBox
But the route/navigation line doesn't work..
Can some one help for this?

I'm not sure, but I would say that Mapbox probably does not like Maplibre GL JS fork of Mapbox GL JS that is used in Traccar. I would try with this: https://github.com/maplibre/maplibre-gl-directions As it supports "Mapbox Directions API" and OSRM - so I think it would be a good fit.
Not sure what @tananaev thinks about this feature, but I would be interested in it - if it would be based on maplibre-gl-directions, so I can use OSRM for it (or something else that is open or has configurable backends).

Definitely want to see a flexible solution. Ideally we support a large number of providers.

@jinzo I noticed the solution you thought of but it doesn't cover me, basically I want to see how long time it will take the vehicle to arrive at a specific destination but in the code i tried to generate it doesn't show the route/navigation line like in mapbox demo https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-directions/
@tananaev can you help in some way?

What's the goal here? If you just want a custom implementation just for yourself, this is not the right place. If you want to contribute something, we have discuss it first and it has to be flexible enough.

@tananaev I'm here to contribute.. the solution proposed by @jinzo I think it does not help and does not cover my reasoning.
my rationale is : with left click a select some vehicle and right click on map select the destination it will end the car and see how many hours it takes for it to reach the destination.
I am offering an unfinished code that can be used by many maps besides mapbox, if you have something better to recommend it would be appreciated

@RafailStratiotis maplibre-gl-directions is probably an old(er) fork of mapbox-gl-directions (that also offers some nice controls), but I would say that there are high chance that the low level controls/code is there.
Points where I would start:

https://maplibre.org/maplibre-gl-directions/#/examples/mapbox-directions-api-and-congestions
https://github.com/maplibre/maplibre-gl-directions/blob/53e93ef28cd5726f19cf7c7681f24e929d3cbb17/src/directions/main.ts#L22
I did a quick check and both examples do the exactly same request, also getting the same data (namely duration field). You just need to figure out how to access that from the MapLibreGlDirections - currently I don't have more time to dig into this.

My point being, that it's probably a lot more feasible to make this work with maplibre-gl-directions than to get mapbox-gl-directions working with Traccar (without substantial fork).


removed contents relevant to membership benefit

The suggested changes should be able to close #581

As @rkdarst sent #583, I am not sure if this PR #584 makes sense (as it is a branch made based on the main before #583 is merged). So please take the suggested changes and how to do them so that it won't make any conflicts with #583. Thanks :)

I will deal with the conflicts. Thank you for writing this!


Errors i latest HA

Hi. Yesterday i see that in logs HA i have an error from solaredge. It show this:
Ten błąd pochodzi z niestandardowej integracji.

Logger: custom_components.solaredge_modbus_multi
Source: helpers/update_coordinator.py:168
Integration: SolarEdge Modbus Multi Device (documentation, issues)
First occurred: 04:05:20 (1 occurrences)
Last logged: 04:05:20

Error fetching SolarEdge Coordinator data: Update failed: Modbus Error: [Input/Output] [Errno 104] Connection reset by peer

and
Logger: pymodbus.client.tcp
Source: /usr/local/lib/python3.10/site-packages/pymodbus/client/tcp.py:203
First occurred: 04:05:28 (5 occurrences)
Last logged: 04:05:54

Connection to (<IP_ADDRESS>, 1502) failed: timed out
Connection to (<IP_ADDRESS>, 1502) failed: [Errno 111] Connection refused

I have installed latest Home Assistant Core 2023.1.4 and integration version: 2.2.9

This is not a bug, if you have questions create a discussion.


Dockerize development

Added scripts based on docker to launch a development environment or directly running the tests with docker
Scripts accepts image name as parameter for launching with Py35, Py36, or Pypy3
Docker is based on Debian image as the only limitation to work
Some artwork tip :)

I reused a well-tested scripts we used for a long time at my team, happy to share if you consider this tools like Docker. If you feel like having this kind of scripts are interesting and accepting PRs then I would add more tools for deployment using uWSGI, Gunicorn, Uvicorn, etc. as a real production env.
I leave a couple of screenshots of what the tool does ;)
Launch a 30 seconds repeatable development environment
Script: ./docker/development/run_development.sh [image_name]

Launch a 90 seconds repeatable tests run
Script: ./docker/tests/run_tests.sh  [image_name]

Heya! Great PR, all nice and clean, but I'm going to take a pass on docker for now.


Multiprocessing not working with TRPO

Vectorized environments do not seem to be supported for TRPO anymore, despite what is currently stated in the documentation.
When trying to train with a SubprocVecEnv I get this error:

Error: the model requires a non vectorized environment or a single vectorized environment

because requires_vec_env is set to False in the initialization of TRPO:
super(TRPO, self).__init__(policy=policy, env=env, verbose=verbose, requires_vec_env=False,
                           _init_setup_model=_init_setup_model, policy_kwargs=policy_kwargs)

I tried to change the source and set requires_vec_env=True, but now I get shape mismatch errors from Tensorflow. Is this a bug or is multiprocessing not supported for TRPO anymore? The bug can be reproduced with all environments as far as I have seen.
Code example
def init_env(seed=0):
    def _init():
        env = gym.make('CartPole-v1')
        env.seed(seed)
        return env
    return _init

def main():
    n_workers = 8
    env = SubprocVecEnv([init_env(seed=42 + i) for i in range(n_workers)])
    model = TRPO(MlpPolicy, env)
    model.learn()

System Info

Ubuntu 16.04
Python 3.6.7
stable-baselines installed via pip
tensorflow 1.12.0
gym 0.10.9
mpi4py 3.0.0

Oh I see. I'm not familiar with MPI so I must have missed that. Thank you!

Could you use MPI for multiprocessing of TRPO?  Thanks!

@yjc765
You can execute this script example (trpo_multi.py) with MPI to use multiprocessing with TRPO as follows:
import gym
from stable_baselines.common.policies import MlpPolicy
from stable_baselines import TRPO

env = gym.make('CartPole-v1')
model = TRPO(MlpPolicy, env, verbose=1)
model.learn(total_timesteps=25000)

Execute with 8 processes:
mpirun -np 8 python trpo_multi.py

Hope this helps.


Impliment in Kendo Mobile

Hi,
I am using Telerik Icenium , i tried this pushPlugin it was working in my app,but now due to change in GCM to FCM i am trying to use "v2.0.0-rc2" , i am getting the error
"Uncaught ReferenceError: module is not defined"
"Uncaught TypeError: PushNotification.init is not a function" any suggestion would help me

@Nagaraj007 Sorry, you'll need to open an issue with Telerik. I don't have the setup or bandwidth to support it.

@mac thanks! i ll check through it


Invalid URL in GitHub project sidebar: http://c9s.github.com/r3/bench.html

Looking at https://github.com/c9s/r3 , the project description part has a URL of http://c9s.github.com/r3/bench.html , which is invalid and will return 404. The correct URL is  http://c9s.github.io/r3/bench.html .

solved, thanks


Module.globalPaths weirdness?

There is currently no API for modifying the load path, unless there's code somewhere in atom-shell itself that i'm missing. If someone could clarify this for me I would greatly appreciate it.
From an init.coffee in atom/common/lib:
# Add common/api/lib to module search paths.
globalPaths = Module.globalPaths
globalPaths.push path.join(process.resourcesPath, 'atom', 'common', 'api', 'lib')

Nothing in Module or in the require logic makes use of Module.globalPaths. It's just a copy of the path list as it is after Module._initPaths is run, entirely for introspection purposes. Take a look at this part of module.js from node:
  modulePaths = paths;

  // clone as a read-only copy, for introspection.
  Module.globalPaths = modulePaths.slice(0);
};

The actual modulePaths variable is hidden behind a closure, and nothing in Module allows for its modification except _initPaths (to pull in process.env['NODE_PATH']).
Humor me, I'm new to atom-shell and have yet to acquaint myself with everything. :heart:

Ignore me, I missed that atom-shell is using a modified version of module.js to achieve this.


Toast not showing on iphone 6s Safari

Hello,
I just checked the demo with my iphone 6s using the safari browser and upon clicking the button nothing happens.
Everything works when using the chrome browser.
Is there a solution to this?

I just tried it on Safari, on iOS. Works correctly.
What version of iOS?

Browser Stack also shows no problems.

I have iOS 9.3.4(13G35).
I just found out the iOS adblocker "Blockr" is blocking this script so it didn't work because of that.


Store did

need to create a separate branch to be able to resolve the conflicts

:tada: This PR is included in version 0.3.18 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


npm could not be found in any version

Problem 1
- The requested package npm-assets/gulp-uglify could not be found in any version, there may be a typo in the package name.
"npm-assets/gulp-uglify": "1.4.2",
"npm-assets/minimist": "1.2.0",
"npm-assets/gulp-rename": "1.2.2",
"npm-assets/gulp-css": "0.1.0"
how to fix it?

I was careless


How can I decrease the vertical space between cells?

Hi,
How can I decrease the vertical space between cells?
Thanks

added configuration: TLPhotosPickerConfigure
    public var minimumLineSpacing: CGFloat = 5
    public var minimumInteritemSpacing: CGFloat = 5

@JulienLevallois


Highlight days

Can we have a highlight modifier class on .sx__month-grid-day(month view) and .sx__time-grid-day(week view) elements?

I don't understand completely. Could you share an image of what you mean, or try to elaborate the thought?

Sorry that I wasn't clear enough.
I want to highlight the selected date in the month and week view.
I am doing it custom currently by adding a CSS class to the selected day, but it's a hackish solution. I am adding setTimeouts because the markup is not ready as soon as the selected date updates.


Please add lslidar_01b to document index for kinetic

I have successfully merged lslidar_01b to rosdistro, but I check the page of wiki.ros.org/lslidar_01b still has not change which no package summary, according to the introduction of wiki that it will be grabbed from package.xml of lslidar_01b, please add lslidar_01b to document index for kinetic, thank you

It looks like it is there: http://wiki.ros.org/lslidar_01b .  I'm going to close this.

This is a lidar driver of our company's products for ros, Could you add lslidar_01b document index for kinetic?  we will continue to supplement the wiki page

It looks like it is there: http://wiki.ros.org/lslidar_01b . I'm going to close this.

This is a lidar driver of our company's products for ros, Could you add lslidar_01b document index for kinetic?  we will continue to supplement the wiki page


Cursor change pointer icon after move_to()

Hi,
thanks developers for this library!
I'm using emunium on windows desktop to click some popups.
The move_to() or click_at() methods seems to work and until the targhet position is reached all work fine.
After when the user take control moving the mouse again suddently the mouse pointer change from arrow pointer (default) to hand pointer. That's very odd and only stopping the script the original pointer come back.
This behaviour make's emunium useless for me because i need to mantain the script running while i'm working.
Can you help me?

Sorry, solved by myself, wasn't a emunium problem. All fine! Delete the post! :)


iOS: Undefined is not an object (evaluating 'dtlsInfo.fingerprintHashFunction') queuedCreateOffer

I've pointed SimpleDemo at another site with WebRTC (which uses peer.js) and am getting this error in the Javascript console.
Undefined is not an object (evaluating 'dtlsInfo.fingerprintHashFunction') queuedCreateOffer (anonymous function)

@stefhak any ideas?

Any update on what might be causing this? Is there any more data I can provide you which may be useful?

+1


Showing classes from indirectly referenced packages in .NET Core - broken "facade"

This question has spurred decent amount of interest on StackOverflow, but I didn't get any answer to it, so I will submit it as an issue here. I am not sure if this is related to .NET Core or to Visual Studio itself, but nevertheless I would appreciate help on this.
Link to original SO post
I am trying to implement basic UoW/Repository pattern with ASP.NET/Entity Framework Core and I have encountered very troubling behavior.
My solution consists of 4 projects in total.
.DAL project, where my entity classes are defined and where my DbContext is defined:
public class Product
{
    public int Id { get; set; }
    public string Name { get; set; }
}

public class ApplicationDbContext : DbContext
{
    public DbSet<Product> Products { get; set; }
}

.Facade project, where my IUnitOfWork and IProductRepository are defined:
public interface IUnitOfWork
{
    IProductRepository Products { get; }
}

public interface IProductRepository
{
    string GetName(int id);
}

.Facade.EF project, where my Facade is implemented with EF:
public class UnitOfWork : IUnitOfWork
{
    private ApplicationDbContext _context;
    public IProductRepository Products { get; private set; }

    internal ApplicationDbContext Context { get { return _context; } }

    public UnitOfWork()
    {
        _context = new ApplicationDbContext();
        Products = new ProductRepository(this);
    }
}

public class ProductRepository : IProductRepository
{
    private ApplicationDbContext _context;
    public ProductRepository(UnitOfWork uow)
    {
        _context = uow.Context;
    }
    public string GetName(int id)
    {
        return _context.Products
            .Where(x => x.Id == id)
            .Select(x => x.Name)
            .FirstOrDefault();
    }
}

.DemoApp project where my application code should be. This project should only know about UnitOfWork and UserRepository and not about ApplicationDbContext class.

.DAL references Entity Framework 6.1.3.

.Facade does not reference anything.

.Facade.EF references .DAL project, .Facade project and Entity Framework 6.1.3.

.DemoApp references Facade and Facade.EF but NOT Entity Framework 6.1.3. NOR .DAL project. Even though EF assemblies are added to my bin folder on build, EF is not directly referenced by this project.

With .NET Framework 4.6.x., if I try try to code against ApplicationDbContext in DemoApp, it tells me that class is not defined and is not providing me any usings to be added which is expected behavior.

If I attempt to do the same with .NET Core 1.0 RC2 (with Entity Framework Core 1.0 RC2), ApplicationDbContext is accessible from .DemoApp without adding direct reference to .DAL project which completely destroys my attempt to hide implementation details.

.DAL project is not directly referenced by .DemoApp project - why am I allowed to see classes from it there?
Is this expected behavior?
Is there a way to make .NET Core projects to have the same behavior as .NET Framework 4.6.x projects?

@atuzovic can you please reopen this issue on aspnet/Tooling? We will take if from there. Thanks!

Your project is being referenced indirectly, this is as designed. What you can do is right-click the project in the middle and select "Edit", then find the relevant  node and include the XML attribute PrivateAssets="All"


[Feature Request]

I wonder if it would be possible to get shared private channels, akin to the 'Restricted' mode in the old TE/TD tesseracts, so that players can share channels between each other but not with the public.
In the same way that CoFH did it, it would just be a case of maintaining a list of people who can see those channels.

Thank you for your suggestion. It has been added to our list or possible enhancement.
This ticket will be closed because we want the list of open tickets to reflect known issues.

Thanks, is there a place we can view the current list of possible enhancements?

https://github.com/SleepyTrousers/EnderIO/labels/Suggestion


Fabs support

http://nd2.godesign.ch/examples/elements/buttons.html
Fabs are not support?

This is how you can create a FAB-Button:

Or do you think about the FAB-Positioning?

Yes, I want to FAB-Positioning.
Like right and bottom.

I've closed this and created a new ticket with this "enhancement-request"
https://github.com/godesign/nativeDroid2/issues/10


Unable to input Chinese punctuation and Emoji

Environment
Windows build number: 19042.746
Windows Terminal version: 1.6.10272.0

Steps to reproduce
Use Windows Terminal, config commandline or input command 'ssh name@IP',unable to input Chinese punctuation,but WSL/CMD/PowerShell no problem
This is ssh,unable to input Chinese punctuation and Emoji,but can input Chinese words.

This is wsl,can input Chinese punctuation/Chinese words/Emoji.

This is PowerShell ,can input Chinese punctuation/Chinese words.

more
On the CMD client/PowerShell client/Git Bash use ssh,can input Chinese punctuation/Chinese words.

Expected behavior
Can input Chinese punctuation
Actual behavior
Unable to input Chinese punctuation

I think this is one of those issues that are caused by openSSH-portable.

I'm using 19042.746 and I can confirm this issue.
I think this is one of those issues that are caused by openssh-portable.

Thinks!You are right. After  ssh upgraded, the problem was solved.
But I don't know why the CMD client/PowerShell client/Git Bash doesn't have a problem


Uncaught Error: ENOENT: no such file or directory, lstat '~/Downloads/PHPMailer-master/src'

[Enter steps to reproduce:]

...
...

Atom: 1.33.0 x64
Electron: 2.0.11
OS: Mac OS X 10.14.2
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat '/Users/***/Downloads/PHPMailer-master/src'
At fs.js:1661

Error: ENOENT: no such file or directory, lstat '/Users/***/Downloads/PHPMailer-master/src'
    at Proxy.realpathSync (fs.js:1661:15)
    at Proxy.fs.realpathSync (ELECTRON_ASAR.js:336:29)
    at TreeView.t.exports.TreeView.moveEntry (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:916550)
    at TreeView.t.exports.TreeView.onDrop (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:922434)
    at HTMLDivElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:896215)

Commands
     -2:29.6.0 tree-view:add-folder (span.name.icon.icon-file-directory)
     -2:20.1.0 core:confirm (input.hidden-input)

Non-Core Packages
pigments 0.40.2

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/tree-view/issues/1282 so you can subscribe there for updates if you'd like.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Add snoRNA_gene subtypes

What is this request referring to?
Please add additional child terms to snoRNA_gene (SO:0001267) to match subtypes that already exist in other SO branches.
snoRNA_gene (SO:0001267) currently has only one child, scaRNA_gene. In contrast, snoRNA (SO:0000275) also has C_D_box_snoRNA (SO:0000593) and H_ACA_box_snoRNA (SO:0000594) as children, while snoRNA_encoding (SO:0000578) has H_ACA_box_snoRNA_encoding (SO:0000608) and C_D_box_snoRNA_encoding (SO:0000585) as children.
What is the name you would like SO to give the term?
C_D_box_snoRNA_gene
H_ACA_box_snoRNA_gene
What is the definition that you would like for this term?
A gene that encodes a C/D box snoRNA.
A gene that encodes a H/ACA box snoRNA.
Parent Term
Please put these under snoRNA_gene (SO:0001267)
Relevant Publications
PMID: 12457565
PMID: 22065625

I went ahead and took care of this as part of Issue #519, but I did add the publications you just cited to C_D_box_snoRNA_gene and H_ACA_box_snoRNA_gene as part of this request.


Format the Chr function and link to Character Sets

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Language-Reference-VBA/articles/chr-function.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Language-Reference-VBA/articles/chr-function.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

All content in this repository has been migrated to a new repository (https://github.com/MicrosoftDocs/VBA-Docs). The changes in this PR have been applied in the new repository, so this PR is being closed. The changes will be published to the live docs soon. Thank you for your contribution!


Support for role-based access to payload?

Is there support for role-based access where only some Auth.js users (like with a role of admin) have access to the Payload admin portal?
Following the same example in the docs, if the users collection is extended with a role field, can this be configured such that only user?.roles?.includes("admin") has access to the payload admin portal?  Or is this possibly be configuring a different collection for users and admins?
Is this possible today or would it require a modification to this plugin?

@nathanclevenger you can create infinite authentication collections (admins, customers, ...)  just by adding auth: true in the collection config.
Then, in the Payload Config, you define the slug of the collection that you want to be used to log in to the Admin dashboard: { admin: { user: "auth-enabled-collection-slug", ... } ... }

Is there support for role-based access where only some Auth.js users (like with a role of admin) have access to the Payload admin portal?
Following the same example in the docs, if the users collection is extended with a role field, can this be configured such that only user?.roles?.includes("admin") has access to the payload admin portal? Or is this possibly be configuring a different collection for users and admins?
Is this possible today or would it require a modification to this plugin?

Yes, exactly, @xfloor is right. you can create as many auth collections as you like.
You also have the option of restricting access to the admin portal. See the payload docs here.
Just create a collection called users and add an access controll check for admin. For example:
const Users: CollectionConfig = {
  slug: "users",
  access: {
    admin: ({ req: { user } }) => {
      return user?.roles?.includes("admin") ?? false;
    },
  },
  fields: []
};

Thanks @xfloor and @CrawlerCode!  I knew that you could create multiple user collections, and handle access at the collection level, but I had missed the option to control access at the admin level ... which is exactly what we needed.
Really appreciate it!


Create 0000-01-02-jackwillrawl.md

my slide for github introduciton
step 6 completed

Enjoyed this introduction a lot.


test(menu): fix test failures against Angular 4.2

Fixes a couple of menu unit tests that were failing against Angular 4.2.2.

This seems to be the only place where it was happening, though. Perhaps we overlooked it?

I'm starting to think it's a bug because we import NoopAnimationModule and Angular's delegation to the animation driver for removal is not removing the element. Stepping through the animation code now.

I suspect
https://github.com/angular/angular/blob/6ca46929fa26468f179196979b5f77a48f79991f/packages/animations/browser/src/render/transition_animation_engine.ts#L299-L299

Any update on this / on the path forward?


Deprecate NuGet packages

Mark 3 NuGet packages as deprecated in the CSV file. They're already marked as such on nuget.org.

@mario-guerra The reasoning is these are ancient packages with more modern replacements. They should've been deprecated long ago. For example, wastorage.redist was last updated in August 2015.


Beacon detected but uniqueID and Battery level is null (old or new chips of Kontakt beacons)

Hi guys,
I am experiencing a strange issue with an Android device. the device is Samsung Galaxy A52s 5G running Android 13 and  Samsung s21 running Android 13. Beacon is a Kontakt beacon.
The beacon has been detected, but the value for uniqueID and Battery are null, please see the screenshot below.
the major, minor, uuid are all correctly detected.

I created a simple app to verify this issue, I followed the readme file.
Start a new React Native TypeScript project (npx react-native init BeaconTest --template react-native-template-typescript)
then I replace the content of App.tsx with the Android example code below.
https://github.com/Driversnote-Dev/react-native-kontaktio/blob/master/Example/src/Example.android.tsx
I have also added permission checks for ACCESS_FINE_LOCATION, BLUETOOTH_SCAN, BLUETOOTH_CONNECT
Here is the permission section of my manifest file.
(I am trying to find the issue seems particularly for Android 13, not 100% sure if other Android versions also have this issue)
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />

<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />

part of the android\build.gradle
ext {
    buildToolsVersion = "31.0.0"
    minSdkVersion = 21
    compileSdkVersion = 31
    targetSdkVersion = 31

    if (System.properties['os.arch'] == "aarch64") {
        // For M1 Users we need to use the NDK 24 which added support for aarch64
        ndkVersion = "24.0.8215888"
    } else {
        // Otherwise we default to the side-by-side NDK version from AGP.
        ndkVersion = "21.4.7075529"
    }
}

I added a line to display the detected beacon objects on the screen:
stringify: {JSON.stringify(beacon)}
from the screenshot, you can see the value for uniqueID and Battery are null.
What do you think guys? What could be wrong? Any permission not granted to allow the library to acquire the Kontakt exclusive values? or the Kontakt library needs an update? in this file android/app/build.gradle I tried to change the implementation "io.kontakt.mvn:sdk:7.0.6" to be implementation "io.kontakt.mvn:sdk:<IP_ADDRESS>", seems no different.
Has anyone seen a similar issue before, please help! or please point me to a possible direction to dig more...
Thanks!

ok, finally, I found the reason and the solution.
For Android, Kontakt uses different methods for new and old chips.
For beacons made with nrf 51 the old chip, the beacon event listener(e.g. beaconDidAppear) is still working and able to get the uniqueId and battery level, but for beacons made with new nrf 52 chip, you will have to listen to the profile related events(e.g. profileDidAppear) to get the uniqueId and battery level.
For iOS, you can still use the discovery events(e.g. didDiscoverDevices) to get the uniqueId and battery level for both old and new chips.
Reference:
https://github.com/kontaktio/kontakt-android-sdk/issues/193

Close it as the issue is fixed.


validation performance

excellent work！
i have a question.
How to evaluate the performance of the validation set？
evaluation is performed on point clouds after grid sampling or Upsampling the predicted results to the original point cloud？

Yes, an explanation is available here (https://github.com/Pointcept/Pointcept?tab=readme-ov-file#testing)


fix(@angular-devkit/build-angular): update webpack-dev-middleware to 7.4.2

This update contains a fix for Error: Cannot set headers after they are sent to the client. See: https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md#742-2024-08-21
Closes #28331

@alan-agius4  Thanks!


Remove multi-download compatibility overrides

These overrides were added to work around the ksp_version mixed with ksp_version_(min|max) errors in KSP-CKAN/KSP2-NetKAN#125.
They're no longer needed after KSP-CKAN/CKAN#3991.

The error is because SPARKTechnologies depends on a version of LuxsFlamesandOrnaments that had to be frozen in KSP-CKAN/KSP2-CKAN-meta#6. Everything else looks fine.


Fixing the docfx.json file to add author back to a group in github.

Docs Build status updates of commit d966be8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

documentation/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Service Load Balancer Static IP with Terraform

Is there a way to assign a Static IP to a Service Load Balancer using Terraform?

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

ID: 7179d4ae-db6e-7f7c-a855-db0e0475dae9
Version Independent ID: 1a6fa0e8-e175-ae4d-a9d6-d170255a598e
Content: Use a static IP address with the Azure Kubernetes Service (AKS) load balancer
Content Source: articles/aks/static-ip.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Thanks for the question! We are investigating and will update you shortly.

@iakko I am not finding any docs explicitly that show you how to do it. We do have some docs on creating AKS using Terraform some of which go over assigning IP addresses
https://docs.microsoft.com/en-us/azure/terraform/terraform-create-k8s-cluster-with-tf-and-aks
https://docs.microsoft.com/en-us/azure/terraform/terraform-create-vm-cluster-module
You also have the terraform doc on how to create a public IP address
https://www.terraform.io/docs/providers/azurerm/r/public_ip.html
@iainfoulds @TomArcher Would either of you have anything to add? I see @TomArcher you are the owner of the AKS terrafom docs so you might have a better idea

@MicahMcKittrick-MSFT I'm still on TF :) I've emailed the engineering team and have asked that they reply to this issue.

@TomArcher any luck with the engineering team on this one?

@TomArcher I will assign this to you while you wait to hear back from the engineering team.

@TomArcher Did your hear back on this one? I don't know if it's possible to currently do this with Terraform, as it's not strictly an Azure operation here. To create the Kubernetes service load balancer, you interact with the Kubernetes API itself. On the backend, an Azure load balancer is created, but the examples @MicahMcKittrick-MSFT correctly links to in terms of assigning a static address use regular YAML definitions that then created the load balancer service with kubectl.

@iakko Per the Terraform PM, you can set a static IP in a loadbalancer using the following Azure provider: https://www.terraform.io/docs/providers/azurerm/r/loadbalancer.html

Does this answer your question?

@iakko I know you ran into this problem long ago, but I wanted to verify that the link I provided addresses the issue.

Tom, thanks a lot for the response. I have zero time to test it in the next couple of day, I'll try to give it a try next week. Sorry about this.

@iakko Not a problem at all! We value the feedback.

@iakko Should we close the Issue, or do you need additional time to test?


Add Nested Function Support In SELECT Clause

Description
Syntax: nested( [field} | [field,path] )
Nested function allows the query of nested types of an index. The path parameter is determined dynamically if not provided by the user, and the output query should be identical assuming the user input the correct parameter values. The condition parameter is not supported when the nested function is used in the SELECT clause. Nested types structure is flattened making the full path of an object the key, and the object it refers to the value. Wildcard support will be added in a follow up PR along with Support for push down with relevance based search functions.
   Sample input=
   keys = ['comments.likes']
   row = comments: {
   likes: 2
   }
   output =
   flattenedRow = {comment.likes: 2}

Example Queries
Simple nested query, array of message.info is flattened into two rows.
SELECT nested(message.info) FROM nested_objects;
After flattening notice comment.data has repeating ab
SELECT nested(message.info), nested(comment.data) FROM nested_objects;
someField is of type object
SELECT nested(message.info), someField FROM nested_objects;
To Do

nested function nested in other function call (Not currently supported in legacy)

Not Supported

Using condition parameter in the SELECT clause.

Changes from Legacy Functionality

Nested function does not support condition parameter in SELECT clause.
Updated partiql.rst to handle object arrays same as V2 engine.

Issues Resolved

1111
1277
1489

Check List

[x] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[x] New functionality has been documented.

[x] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1490 (4982979) into main (23cc0f6) will increase coverage by 0.03%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main    #1490      +/-   ##
============================================
+ Coverage     98.46%   98.50%   +0.03%
- Complexity     3869     3964      +95
============================================
  Files           345      351       +6
  Lines          9603     9845     +242
  Branches        616      653      +37
============================================
+ Hits           9456     9698     +242
  Misses          142      142
  Partials          5        5

Flag
Coverage Δ

sql-engine
98.50% <100.00%> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...rg/opensearch/sql/analysis/ExpressionAnalyzer.java
100.00% <ø> (ø)

...ch/sql/planner/optimizer/LogicalPlanOptimizer.java
100.00% <ø> (ø)

...ain/java/org/opensearch/sql/analysis/Analyzer.java
100.00% <100.00%> (ø)

...va/org/opensearch/sql/analysis/NestedAnalyzer.java
100.00% <100.00%> (ø)

...c/main/java/org/opensearch/sql/expression/DSL.java
100.00% <100.00%> (ø)

...opensearch/sql/expression/ReferenceExpression.java
100.00% <100.00%> (ø)

...h/sql/expression/function/BuiltinFunctionName.java
100.00% <100.00%> (ø)

...ql/expression/function/NestedFunctionResolver.java
100.00% <100.00%> (ø)

...h/sql/expression/function/OpenSearchFunctions.java
100.00% <100.00%> (ø)

...ensearch/sql/expression/nested/NestedFunction.java
100.00% <100.00%> (ø)

... and 19 more

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

Meanwhile could you double check if the logical and physical operator is generic and extensible enough:

Later can we expose this capability to PPL? I see there are SPL functions for JSON and MultiValue too.
Does the physical operator has anything specific to OpenSearch? Does it work for any Struct field no matter where it comes from?

Meanwhile could you double check if the logical and physical operator is generic and extensible enough:

Later can we expose this capability to PPL? I see there are SPL commands for JSON, MultiValue and flatten too.
Does the physical operator has anything specific to OpenSearch? Does it work for any Struct or Struct Array field no matter where it comes from? ex. Prometheus, CloudWatch etc.

I think the physical operator should work well with exposing functionality in PPL. The functionality is generic and should be able to handle Struct and Arrays fields from other datasources. More investigation will be needed later but the code is generic that porting shouldn't be too difficult.


Use Calver ?

I'm thinking we could use CalVer, as this package may reflect changes in url through time,
thus the time of package publication has more impact than it's actual version.
There are multiple proposition below please vote with 👍 👎

There is also semi-calver: major.YYYYMMDD.patch.

YEAR.MM.DD

Although, I'm skeptical of the likely hood of multiple release per-day (worst case we steal tomorrows date) so major.YYMM.DD would be my vote.


Ability to edit when expression from keybindings editor

Ability to edit when expression from keybindings editor

Verify following

Added an action Change When Expression to the context menu of a keybinding entry
You can add/update/remove the when expression


Show current selected wallet on UI, switch if another wallet is selected

Modified the state management of the wallet selector
Changed how we export the state in src/state/State.ts
Created two methods getState() which gets the current state and updateState() which updates the state.
Added a global function on window object window.updateWalletSelector as a way to notify the Modal.tsx when the state has been changed, and then in the Modal.tsx we can use the current state in the React realm.
Modified all the old references of State module and replaced them with the getState() method.


next.js example update

It's not a bug, I just want to notify that I'm trying to update the Next.js  example
The example required some refactors because it was based on an older version of next-shared-cache and it was not working as reported on this related issue
I tried my best to replicate your example.
If you have any additional comments or feedback it would be appreciated.
Thanks for all your hard work.

Hello @mauroaccornero! You are absolutely right; the example definitely needs some work. I will make sure to address it soon.

Hey @mauroaccornero! Thank you for updating the example in the Next.js repo! I'm so glad the community helps me maintain the @neshca/cache-handler.

Hey @mauroaccornero! Thank you for updating the example in the Next.js repo! I'm so glad the community helps me maintain the @neshca/cache-handler.


Fullstack module

How can we make vuesion the rails for vue.js?
vision:

additional module that enables a Nest.js within a vuesion mono repo
Nest.js set up includes: generators, DB for local dev and config set up for prod, GQL support and DB migrations

Done in the new version


policy: symlink default policy to /run/peerpod

Since policy is provisioned by initdata to /run/peerpod/policy.rego we need to point the symlink to that file.
In case no init-data is provided allow-all.rego is copied by systemd to /run/peerpod/policy.rego

Hey @mkulke, FYI Paul and I feel into this trap with the mkosi image. If you don't specific the initdata annotation with the policy then /run/peerpod/policy.rego doesn't exist and there the kata-agent fails badly. I'm wondering if we could have some fall back to prevent this and pick up the allow-all.rego in that case?

interesting, isn't the src/cloud-api-adaptor/podvm/files/etc/tmpfiles.d/policy.conf directive copying  /etc/kata-opa/allow-all.rego to /run/peerpod/policy.rego anyway? If not, then there's a bug. i'll take a look

FYI I've opened https://github.com/confidential-containers/cloud-api-adaptor/issues/2041 to track this.


Small Gap with MaxGap

Description
For the particular example below, MaxGap is not returning the maximum possible gap. Instead, it is returning a smaller gap. If min_classical_gap is set to a value that is slightly larger than this smaller gap, the solver immediately fails at the first solver.solve(..) in generation.py. (i.e. The gap size is not even searched as the min_classical_gap is considered to be too large.)
To Reproduce
min_classical_gap = 3
decision_variables = ['a', 'b']
configurations = {(1, -1): -2.5,
                  (-1, 1): -2.5,
                  (-1, -1): 0.5}
graph = nx.complete_graph(decision_variables + ['c'])

linear_energy_ranges = {v: (-2, 2) for v in graph}
quadratic_energy_ranges = {(u, v): (-1, 1) for u, v in graph.edges}

# a function from MaxGap's unit tests, `test_generation.py`
self.generate_and_check(graph, configurations, decision_variables,
                        linear_energy_ranges,
                        quadratic_energy_ranges,
                        min_classical_gap)

Expected behavior
Expected at least a gap of 4 because ..
objective = 2*a + 2*b -2*c + 0.5*a*b + a*c + b*c

 a   b   c   objective
+1  +1  +1   4.5
+1  +1  -1   4.5
+1  -1  +1  -2.5    <--
+1  -1  -1   1.5
-1  +1  +1  -2.5    <--
-1  +1  -1   1.5
-1  -1  +1   -7.5
-1  -1  -1   0.5    <--

Should also add checks to make sure that the gap is greater than or equal to the expected gap (i.e. a known answer).
Currently in the MaxGap unit tests, "[t]he gap is checked for whether it obeys the min classical gap constraint, and whether it is the largest gap for a given BQM. However, this gap may not necessarily be the largest gap for the given set of constraints (i.e. configurations, energy ranges), and this is not checked for in this function." (taken from the docstring that I wrote for generate_and_check(..)).

The Expected Behaviour section is incorrect. For each type of spin configuration, we are only interested in the MINIMUM objective value. Specifically, for the spins a=-1, b=-1
 a   b   c   objective
..
-1  -1  +1   -7.5    <== THIS IS THE VALUE THAT GETS SELECTED/CHECKED AGAINST
-1  -1  -1   0.5    <-- This is an excited state for a=-1, b=-1

Since 0.5 is an excited state for a=-1, b=-1 for this objective function, this objective function is NOT a valid solution. Hence, this issue is not a bug report.
PR #91 has unit tests that will show that the concerns raised in this issue are not necessary.


Merging react-native-network-info with react-native-netinfo

As commented here: https://github.com/react-native-community/react-native-netinfo/issues/52#issuecomment-527646754 by @mikehardy, these two libraries seem like an API surface area duplication and potential to perhaps have multiple active maintainers in one repo?
Is there any possibility of merging both repositories, @pusherman and @matt-oakes, into one so we get the best of them?

👋 I would be really happy to merge these two libraries together.
@pusherman Let me know if you would also be happy to collaborate and we can talk about how this would work in practice.

awsome merge
I would like to help you too

Yeah, me too!

@matt-oakes  please begin and tell us what to do

Hey @matt-oakes, I think merging the two may make sense. I'll shoot you an email using the email address from your website.  We can update this thread once we have a plan.

@pusherman or @matt-oakes any news?

@pusherman I’ve not heard from you yet. Feel free to get in touch if you’re still interested in this

Hey @matt-oakes I sent an email to the email on your website<EMAIL_ADDRESS>on Oct 1st.  I'll resent it now.  Let me know if you don't get it or if there's a better email address to reach you at.

Ping.

@pusherman or @matt-oakes, any news?

@Rapsssito - I did talk with @matt-oakes about this.  The plan is to open up a PR on the react-native-netinfo side that merges in the functionality from this library.  I have not had time to get started on it yet but if anyone else here wants to give it a go-- that's the direction we will head.

@pusherman, glad to hear that! Could you open a WIP PR over react-native-netinfo and refer to this issue?
I will close the issue once the PR is created.

This would be a great help, we recently tried to implement react-native-network-info to try to get default gateway address but had to retreat to react-native-netinfo after running into some issues. Would be wonderful to have the best of both worlds!


Discord and Slack crash if a gnome notification of theirs is clicked

Describe the bug
Discord and Slack crash if a gnome notification of theirs is clicked
Steps To Reproduce
Steps to reproduce the behavior:

Have discord or slack open in GNOME
Receive a message that generates a notification
Click it
...
Crash!

Expected behavior
The application should navigate to the correct page from the notification (like it used to), not crash.
Additional context
This happens on my NixOS system (chronos) specified by this flake: https://github.com/Sciencentistguy/nixfiles/tree/95e28f80e7df5b8c01e376d9305ad56b4895e974
This is not the first commit that exhibits this bug, but I do not currently have the time to bisect for it.
Notify maintainers
GNOME:

@NixOS/gnome

Discord:

@ldesgoui
@MP2E
@devins2518

Slack:

@mmahut
@maxeaubrey

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.39, NixOS, 22.05 (Quokka), 22.05.20220518.52dc75a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/etc/nix/path/nixpkgs`

Could you get stack trace by running coredumpctl gdb after the crash and entering bt full there?

Fair chance it's this fixed libnotify issue: https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/26 which was merged in #172287 and is now in the unstable branches.


Replace hasunits with hasunit

Codecov Report

Merging #42 (c2d1028) into master (0c9b070) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   84.50%   84.48%   -0.03%
==========================================
  Files          21       21
  Lines         723      722       -1
==========================================
- Hits          611      610       -1
  Misses        112      112

Impacted Files
Coverage Δ

src/grids/units.jl
100.00% <100.00%> (ø)

src/grids/utils.jl
100.00% <100.00%> (ø)

src/recipes/abstractplotting.jl
98.71% <100.00%> (ø)

src/recipes/plot.jl
87.80% <100.00%> (ø)

src/recipes/typerecipes.jl
76.47% <100.00%> (ø)

src/units.jl
92.30% <100.00%> (+0.30%)
:arrow_up:

src/utils.jl
88.00% <100.00%> (ø)

src/vector.jl
85.91% <0.00%> (-0.20%)
:arrow_down:

src/subset/downsample.jl
100.00% <0.00%> (ø)

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 fe23967...c2d1028. Read the comment docs.


Improve the way sessions/unlock/local works

When I'm having a field, e.g. 'mining', already unlocked, calling sessions/unlock/local with another field set to 'true', e.g. staking=true and 'mining' field omitted (undefined as in Javascript) makes that 'mining' field locked again. I expected the behavior being as follow: any field set as 'true' should be unlocked, any field set as 'false' should be locked, and any other fields which are omitted or set as 'undefined' should stay as-is

Good catch, had a caching issue. It's fixed now (75b1e58fc6e85dd037aac5c202e8113ab9ca3d82)


Fix some links to new resource docs

We recently changed some of the anchor ids on the resource docs. This updates links to use the new anchors.
We should wait to merge this until after all the resource docs have been regenerated.

I just merged the PR that regenerates resource docs for all the providers. I'll go ahead and merge this.


Skype Option Missing from Toolkit

Good evening
the option to add skype to an office install is now missing from the toolkit?
is this by design or is this coming back please?
Thank you

closing, same as thread #179


Make use of activationCommands

This will cause Atom to wait with the package activation until one of the commands is executed. This is turn will reduce the startup time.

Thanks for this! Great job :) 👍


Does bloomd have problems with more than 1 billion entries?

What are the limits for the number of elements i can add into bloomd?

@posix4e Realistically memory is the upper bound for bloomd! If you had a beefy machine you should be able to have a filter of size 1B.


ChatSDK.thread().createThread is creating duplicate threads

Is the bug present in the demo Chat SDK project?
Yes

What modifications have you made to the Chat SDK?
Pointed to my personal Firebase console

Android Version:
Matches the Demo

Steps taken to reproduce the problem:
Simply call ChatSDK.thread().createThread(name, users) multiple times for the same list of users  without sending any messages and you will notice multiple threads will get created in the firebase database.

Expected result:
Similar to iOS, it is expected to have the same empty thread (0 messages) that was created the first time to be reused the second time we call ChatSDK.thread().createThread(name, users)

Actual result:
Check screenshot

Comments:

This issue is addressed by https://github.com/chat-sdk/chat-sdk-android/pull/419

This issue has been resolved by this PR #419


feat(*): status for following users/starring repos

Issue #159

[x] Add Starred status below Stars on repo screen
[x] Add Following status below Following on user screen

Preview

Can make a smaller font? And/or make a clarification like in Twitter, i.e. instead of "following" show "follows you", if he follows you? Similarly do in "Following", but there will be "following you" if you follow him?

Can I give any suggest  for following @lex111 ??

@andrewda sure, I'll update my branch and add to watcher as well
@lex111

Can I edit following, and starring style, for more looks good? @reyhansofian

oh wait, I'm still working on it @sasongkoadi
I'll let you know when it's pushed 😄

Updated User Status

Updated Repo Status

@sasongkoadi please let me know if you're still want to add something to this PR

Added 'Follows You' Status

@reyhansofian It looks cool indeed! :+1: Although I'm not sure if this fits into the design, I would add an top margin before the statuses. Because of the rounded corners, it looks like buttons, although they are not them, can they be removed? In any case, thank you, what other ideas, how should be these statuses look like?

@lex111 ah you're right! it need to some margin on the top. I'll fix that! Regarding the statuses style, what about make it looks like a label? Just like what Twitter did

@andrewda will update soon!

@reyhansofian Yea that'd look good. I think you could also try reducing the padding within the label to make it look less like a button.

@andrewda OK, will do!

@lex111 @andrewda updated! please check 😄 let me know if the statuses border still doesn't make sense and we can remove it

@reyhansofian not bad! One clarification: will the width of the status increase with the change in the text? Simply in English it looks good, but there will be other languages, and the length will differ and then how will the statuses be displayed, I mean the word breaks is there?

@lex111 yeah, it will break into newline. I'm not sure how to do that in RN tho 😞

Then everything is fine? I just thought that there would be no breaks. Although it was cool if the width of the block expanded, or increase more it, than now, do you think?

if you're okay with current approach (break into new line instead of expand the container width), then everything is fine 😄 I'll try to make it expanded by tomorrow.

I do not know for sure, but what think @andrewda @housseindjirdeh?

Not sure. I think I kinda prefer expanding the width, but either way works.

@machour @andrewda added French translation and activate fallback for translation. please check it out

thanks guys! 👍


Joe/create table

Implement changes needed to match updates in Validator v2 branch
Note: Since these changes also reflect the incoming changes to the Smart Contract in eth-tableland, the workflow tests aren't going to pass.

@carsonfarmer in regard to

This looks great. Do you want to get this merged before we actually publish the sth-tableland client? It'd be nice to wait for that, just so we can actually run CI properly here.

I was thinking we would merge this to the v2 branch only, with the thought being if you are running the v2 version of the validator and eth-tableland you can make sure everything is working together.  Does that make sense?

totally makes sense, yup! do you intend to publish the v2 stuff to npm under the "next" tag or anything like that?

totally makes sense, yup! do you intend to publish the v2 stuff to npm under the "next" tag or anything like that?

If you think that makes sense, it sounds good to me!  I don't think I have permission to publish, but if we published eth-tableland "next" tag, we could get the github workflow tests passing again.

Totally, yup. So tag me when you have that repo updated and ready for a "next" release and we can walk through it together. Because I think it makes sense for at least @joewagner and @awmuncy to also be able to publish releases for eth-tablealnd and js-tableland.


Can we use this library in a Visual Basic (vb.NET framework 4.8) Windows Forms Project

Yes, it supports .NET FX 4.8.


Update router yml to use wss instead of ws

Fixes: #1132

Testing this now; thanks for working on this.


Prevent upgrading hypershift clusters

Signed-off-by: Feng Xiang<EMAIL_ADDRESS>For 2.6, we won't be able to add Hypershift cluster creation support to the UI but users can still create them from the CLI which will allow the clusters to show up in the cluster table. Upgrade is currently not supported for Hypershift clusters so we want to disable that option.

Add isHostedCluster to cluster definition. HostedCluster is what we call Hypershift clusters
Prevent the upgrade option from displaying for Hypershift clusters

/lgtm


Lifecycle event name changed

Several lifecycle event names for deploy plugin have been renamed in the latest version of Serverless. Here's the fix.

Thank you I spotted this a few minutes ago as well. Version<EMAIL_ADDRESS>should already be on npm with the fix!


Guard call

Add option --guard-call as an alternative implementation of the link-time optimization --substitute-monomorph
The idea is to have the standard VFT call guarded by a symbol when the call is monomorphic.
So the sequence is independent of any client and is roughly
if SYMBOL != null then
   SYMBOL(ARGS)
else
   (SELF->VFT[COLOR])(ARGS)
end

where the value of the SYMBOL is set for each specific program at link-time: null when the call is polymorphic and the address of the single target when the call is monomorphic.
Benches show that, on my computer, there is from 0% to 10% in loss so this alternative implementation is pure overcost :)
Still keep it because, I coded it and works, and it may worth something on other architectures.
The benchs shows some quick results:

first (sc, red) is default
second (sl, green) is --substitute-monomorph, the previous impl
third (gc, blue) is `--guard-call``, the new one
last (cd, purple) is --direct-call-monomorph0, the optimal with direct calls directly inserted in a global way

Even if the result is deceiving, the PR does some cleanup and refactorization, so we got that goin for us,  which is nice.

+1 once the option is properly named and documented

The option is temporary, I have a wip to do that but it is more work than expected. I can still move the doc and rename the option but I need some name suggestions.

You can let this as this if it's to be removed in further PRs

+1

+1, ça peut toujours servir dans des benchs ou des papiers...


Fix g++ issue with building bpftrace

I keep getting this error when building bpftrace:
bpftrace.cpp:1620:33: sorry, unimplemented: non-trivial designated initializers not supported
It has something to do with the construct not implemented in my g++
compiler. The compiler version is 7. Let us just use simple
initialization code for the struct to make it work for everyone.
Related stackoverflow discussion:
https://stackoverflow.com/questions/31215971/non-trivial-designated-initializers-not-supported/45387695
Signed-off-by: Joel Fernandes (Google<EMAIL_ADDRESS>

Yeah, designated initializer support in C++ is pretty bad. I think GCC 8 has better support.

Closed in favor of #847


nixos/etcd: Fix mapping of clientCertAuth option

Description of changes
The clientCertAuth option must be mapped to the etcd environment variable ETCD_CLIENT_CERT_AUTH and the peerClientCertAuth option to ETCD_PEER_CLIENT_CERT_AUTH.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

This broke the etcd-cluster test, fixed in https://github.com/NixOS/nixpkgs/pull/233726.


Add Prometheus ServiceMonitor endpoints relabeling

Hi,
This PR adds labeling support for ServiceMonitor endpoints. Those labels end up on the jobs/targets, and can be used to group jobs. E.g. can add a department & team label:
kuberhealthy:
  prometheus:
    enabled: true
    serviceMonitor:
      enabled: true
      endpoints:
        relabelings:
          - targetLabel: department
            replacement: "Foo"
          - targetLabel: team
            replacement: "Bar"

This can then be used in Grafana dashboards to group jobs by labels (or add variables to filter):
group by(job) (up{team="Foo"})

This looks helpful.  Thanks for the contribution.  Sorry for the merge delays!


Works with a virtual list?

Hi @janosh, thanks for making this!
Have you ever tried implementing this with a virtual list library, to make a kind of scrollable "infinite-bricks" UI? I was wondering if you can recommend one that integrates well.
I'm checking v1ack's svelte-virtual-scroll-list but it seems its items handling may interfere.

I remember looking into infinite scrolling at one point. I played around with sveltejs/svelte-virtual-list and Skayo/svelte-tiny-virtual-list a bit. Didn't get very far on a grid or bricks layout before I ran out of time though. This issue and this one are somewhat related.
If you do get something working, definitely report back and share it!

Working on it 💪


Unable to create a Spark cluster in Databricks using Trial Free Subscription

I am unable to create a Spark cluster within a Databricks Workspace using a Free Trial subscription.

I encounter an error during the cluster creation using the minimum core setting, and following the tutorial at the Create a Spark cluster in Databricks step.

I read the error and went to the link to request a quota increase.  However, it appear that Free Trial subscription are not permitted to increase quotas.

Free Trial subscriptions are NOT eligible for quota increase.  A disclaimer that this tutorial cannot be carried out using a Free Trial Subscription should be made.

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

ID: d863ab39-0b6a-eb81-9dde-5eb25b46cc33
Version Independent ID: 655abadf-5f9e-a65b-0109-c5166f956c4d
Content: Tutorial: Perform ETL operations using Azure Databricks
Content Source: articles/azure-databricks/databricks-extract-load-sql-data-warehouse.md
Service: azure-databricks
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

I'm not sure why this is closed, because documentation still tells me I should be able to do this.
I'm following https://docs.azuredatabricks.net/getting-started/try-databricks.html, which eventually gets me here https://docs.azuredatabricks.net/getting-started/quick-start.html#step-2-create-a-cluster
However, I am unable to spin up a cluster due to the same quota restrictions:
Cloud Provider Launch Failure: A cloud provider error was encountered while setting up the cluster. See the Databricks guide for more information.
Azure error code: OperationNotAllowed
Azure error message: Operation results in exceeding quota limits of Core. Maximum allowed: 4, Current in use: 4, Additional requested: 4. Please read more about quota increase at https://aka.ms/ProdportalCRP/?#create/Microsoft.Support/Parameters/{"subId":"412a8b51-469a-4805-acca-d9b067ea90d7","pesId":"15621","supportTopicId":"32447...

@johnq3 How long has your Databricks environment been deployed at the Trial (Premium - 14-Days Free DBUs) free service tier? Also, if you find a way to lower the consumption of the services in the cluster, you might be able to get past the limitation. This doesn't mean there isn't something wrong.
The link provided will allow you to open a support request.

@Mike-Ubezzi-MSFT the issue still exists. I spinned up my free account today. Then followed the exact same steps mentioned by Johnq3 and optroodt from the documentation. But ended up with the cluster creation issue.  today is the first day for the ADB Premium trail workspace I spinned up. However, it dont work.

i'm using Trial (Premium - 14-Days Free DBUs) and the error persist

@lucasasterio25 @das-kaustav Did you switch your account to Pay-as-you-Go? (Link)

To use a free account to create the Azure Databricks cluster, before creating the cluster, go to your profile and change your subscription to pay-as-you-go. For more information, see Azure free account.

Thanks @Mike-Ubezzi-MSFT

@Mike-Ubezzi-MSFT I have upgraded my Free Azure trial to Pay-as-you-Go with the thought I can start my training on Databricks. But it is still unfortunate that even after the same I cannot create ADB cluster with default settings. I get the same errors as explained above. I went ahead and tried raising a support ticket, and to my surprise, I cant; because it still says my subscription is a Free trial and will only change to pay-as-you-Go after the free period is over. That means the Credit will get forfeited and I have to wait for 1 month. Hence neither can I raise a support query with the accounts team, nor can I create the Cluster and initiate the training.

I am having the same problem. I am half way through my 30 day free trial, and I am following the free tutorials where all exercises should be able to be done. This message about switching to pay-as-you-go doesn't make sense, as the comment above says, that is something that you only want to do at the end of the free trial. There are no options on the list to allow 2 x 2core, all of them assume you'll be able to set up 2 x 4 core and it fails the quota. Can you please give a solution, as it stops anyone doing the Databricks learning paths. thanks

@das-kaustav @mellondongit Thank you for the additional details. Do you have a Subscription ID with your Free Trial? If there is a Subscription ID you can send me? Send an email to AzCommunity and instructions will be returned to have this specific scenario handled so you can actually navigate through and complete the tutorial.

@Mike-Ubezzi-MSFT I am facing the same issue as @das-kaustav and @mellondongit. I am halfway through the free training and also halfway through my free subscription period. As advised in your earlier posts I have upgraded to Pay-as-you-go and I still find errors !! Let me know where to send the subscription ID.

@NayanShetty Please click-on and send your Subscription ID to AzCommunity and I will get you the next steps. Thanks!

@Mike-Ubezzi-MSFT I am also facing the same issue and also sent my Subscription ID to AzCommunity.
Please check and suggest me for further steps. Thanks!

@pradeepkaja  The solution you may have received from Azure Support would look something like the below. If Azure Support did not return a solution or for others who are looking for the solution to this issue, it is as follows:

Create a free subscription
Remove the spending limit (steps here) to allow quota request.
Request quota increase.
Make sure to stop the subscription after the $200 credit runs out or you will be billed.

The credit should last the customer about 200 cluster (3*DS3 v2) hours if they do not spend on DBU during the trial period.

@pradeepkaja The solution you may have received from Azure Support would look something like the below. If Azure Support did not return a solution or for others who are looking for the solution to this issue, it is as follows:

Create a free subscription
Remove the spending limit (steps here) to allow quota request.
Request quota increase.
Make sure to stop the subscription after the $200 credit runs out or you will be billed.

The credit should last the customer about 200 cluster (3*DS3 v2) hours if they do not spend on DBU during the trial period.

As per Azure docs - Free Trial subscriptions aren't eligible for limit or quota increases. If you have a Free Trial subscription, you can upgrade to a Pay-As-You-Go subscription.

Hi can you please refund my account it's an emergency

From: valentinadeshko<EMAIL_ADDRESS>Sent: Tuesday, August 20, 2019 7:18 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Unable to create a Spark cluster in Databricks using Trial Free Subscription (#23045)
@pradeepkajahttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpradeepkaja&data=02|01||2d5f8e9c5ea34da0ffe008d725602e27|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637018967321940405&sdata=NFlObEvAMo7ocwi0znoelurUery4GFT7aYenJ2zidWw%3D&reserved=0 The solution you may have received from Azure Support would look something like the below. If Azure Support did not return a solution or for others who are looking for the solution to this issue, it is as follows:

Create a free subscription
Remove the spending limit (steps herehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fbilling%2Fbilling-spending-limit%23remove-the-spending-limit-in-account-center&data=02|01||2d5f8e9c5ea34da0ffe008d725602e27|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637018967321950410&sdata=X5cU0lzkALq%2FzSSTze5pIiky2%2BrFwcG8e14x20GeNxM%3D&reserved=0) to allow quota request.
Request quota increase.
Make sure to stop the subscription after the $200 credit runs out or you will be billed.

The credit should last the customer about 200 cluster (3*DS3 v2) hours if they do not spend on DBU during the trial period.
As per Azure docs - Free Trial subscriptions aren't eligible for limit or quota increases. If you have a Free Trial subscription, you can upgrade to a Pay-As-You-Go subscription.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F23045%3Femail_source%3Dnotifications%26email_token%3DACAVNMF7Q3SDZJXMSPE4HZTQFPHJXA5CNFSM4GRWONT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4V53GA%23issuecomment-522968472&data=02|01||2d5f8e9c5ea34da0ffe008d725602e27|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637018967321950410&sdata=yOE696W9p5IdfvttoaMsBuY2TDhcmLo5OD%2BOXQ5DHes%3D&reserved=0, or mute the threadhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACAVNMBETIAVS7PFG2QXSSTQFPHJXANCNFSM4GRWONTQ&data=02|01||2d5f8e9c5ea34da0ffe008d725602e27|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637018967321960420&sdata=kcfP4jJa68ykFodDJY6qV8PpQcpcHIAavKKstmbHsX4%3D&reserved=0.

@valentinadeshko @xtianus79 You may refer the important note mentioned in the document.
This tutorial cannot be carried out using Azure Free Trial Subscription. If you have a free account, go to your profile and change your subscription to pay-as-you-go.  Then, remove the spending limit, and request a quota increase for vCPUs in your region. When you create your Azure Databricks workspace, you can select the Trial (Premium - 14-Days Free DBUs) pricing tier to give the workspace access to free Premium Azure Databricks DBUs for 14 days.

It has been 9 months and this bug is still there. This is radiculas.

Problem still there. I also upgraded to pay as you go and still cannot start a cluster. Makes absolutely no sense to have a free training that A, is not free, and B, requires so much work and bug fixing to complete.

Hi @rachelkberryman - Once you've upgraded to pay-as-you-go, you need to remove the spending limit and request a quota increase. Do you still receive an error after you complete those steps? If so, can you please tell me what error you're seeing?
Azure Databricks is not one of the free services you can use with a trial subscription, but a new Azure subscription comes with a $200 credit, and Azure Databricks has a 14-day free trial for Premium.

I have checked and have no spending limit. I believe I have requested a quota increase but am not sure it worked- can you please send me the correct documentation on how to do this?
Thank you very much.
Rachel

On Nov 6, 2019, at 4:12 PM, Mary McCready<EMAIL_ADDRESS>wrote:

Hi @rachelkberryman - Once you've upgraded to pay-as-you-go, you need to remove the spending limit and request a quota increase. Do you still receive an error after you complete those steps? If so, can you please tell me what error you're seeing?
Azure Databricks is not one of the free services you can use with a trial subscription, but a new Azure subscription comes with a $200 credit, and Azure Databricks has a 14-day free trial for Premium.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@rachelkberryman  - Here are the instructions for quota increase requests: https://docs.microsoft.com/azure/azure-supportability/regional-quota-requests

Its sad to see that nothing was done about this issue. It isn't easy at all to complete the learning path for databricks with such pitfalls.

@jessebenson Not sure what additional messaging we can add to this tutorial to help you be successful. If you have suggestions, please do let us know so that we can improve the overall experience. Thank you!

I changed my subscription to pay-as-you-go and I still face the same issue even though I disabled enable scaling option.

Thanks for these posts,  I'm sorry y'all had to go through these under Azure.
I encountered the same issue, and decided to look for alternative options.
I did a bit of research and created an free account under https://community.cloud.databricks.com/.  I was able to create an account, create and spin up a cluster in under 5 minutes, import the notebook per the training exercises and was able to run the cells in the notebook.
All the best
Dexter

End of Sept. 2020 - the issue still exists.  I can't start any cluster with the free trial account. Not even the most basic one.

This still issue still persists. I have a pay as you go account and this it wont allow me to create a cluster

@kokaloki You can leverage single node cluster for testing.
A Single Node cluster is a cluster consisting of a Spark driver and no Spark workers. Such clusters support Spark jobs and all Spark data sources, including Delta Lake. In contrast, Standard clusters require at least one Spark worker to run Spark jobs.
Reference: https://docs.microsoft.com/en-us/azure/databricks/clusters/single-node
Hope this helps.

I am working with an Azure for Students account and it is not able to change the account to pay-as-you-go. What's the work around for this?

@shellysolomonwang In the subscription overview, click Upgrade subscription button in the command bar. If you don't see the upgrade subscription button, click on the upgrade banner at the top of the page.

Reference: Upgrade your Azure free account or Azure for Students Starter account.
Hope this helps.

There's no such thing as an upgrade button/banner whatsoever

I can't find an upgrade button/banner https://github.com/MicrosoftDocs/azure-docs/issues/67482


[CRITICAL] [Camera] Unable to find any valuable Camera provider.

Versions

Python: Python 3.7.4 (32-bit) & (64-bit)
OS: Windows 10
Kivy:1.11.
Kivy installation method: https://kivy.org/doc/stable/installation/installation-windows.html

Description
I have written a GUI program in Kivy, moving from Tkinter, however all of the weeks hard work will go to waste if I can't export as an exe file.
I am trying to use PyInstaller as it is the recommended method, after failing with py2exe and cx_Freeze the issue is, PyInstaller or Kivy is importing modules such as "picamera" I do not have, but I clearly am not using as application works fine from PyCharm and VSCode
Code and Logs
[INFO   ] [Python      ] Interpreter at "c:\users\ed\appdata\local\programs\python\python37-32\python.exe"
INFO:kivy:[Python      ] Interpreter at "c:\users\ed\appdata\local\programs\python\python37-32\python.exe"
[INFO   ] [Audio       ] Providers: audio_sdl2 (audio_ffpyplayer ignored)
INFO:kivy:[Audio       ] Providers: audio_sdl2 (audio_ffpyplayer ignored)
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
INFO:kivy:[Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[CRITICAL] [Camera      ] Unable to find any valuable Camera provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
picamera - ModuleNotFoundError: No module named 'picamera'
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\camera\camera_picamera.py", line 18, in <module>
    from picamera import PiCamera

gi - ModuleNotFoundError: No module named 'gi'
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\camera\camera_gi.py", line 10, in <module>
    from gi.repository import Gst

opencv - ModuleNotFoundError: No module named 'cv2'
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\camera\camera_opencv.py", line 48, in <module>
    import cv2

CRITICAL:kivy:[Camera      ] Unable to find any valuable Camera provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and
re-run your app to identify potential causes
picamera - ModuleNotFoundError: No module named 'picamera'
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\camera\camera_picamera.py", line 18, in <module>
    from picamera import PiCamera

gi - ModuleNotFoundError: No module named 'gi'
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\camera\camera_gi.py", line 10, in <module>
    from gi.repository import Gst

opencv - ModuleNotFoundError: No module named 'cv2'
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\__init__.py", line 63, in core_select_lib
    fromlist=[modulename], level=0)
  File "c:\users\ed\appdata\local\programs\python\python37-32\lib\site-packages\kivy\core\camera\camera_opencv.py", line 48, in <module>
    import cv2

[INFO   ] [Clipboard   ] Provider: winctypes
INFO:kivy:[Clipboard   ] Provider: winctypes
[INFO   ] [Factory     ] 184 symbols loaded
INFO:kivy:[Factory     ] 184 symbols loaded

If this is a PyInstaller issue, I will happily close this and move to the PyInstaller page, however, some guidance from people who have created exe files from their Kivy files would be great.

Have you already solved this problem?

@Juggernoobs Have you already solved this problem?


⚠ AnimeBytes has degraded performance

In ab1a640, AnimeBytes ($AB) experienced degraded performance:

HTTP code: 200
Response time: 3590 ms

Resolved: AnimeBytes performance has improved in ac8d904.


didchangeapplifecycle not working with android quick settings

The didchangeapplifecycle does not detect the android quicksetting menu being dragged down.
It should interrupt the app and pause it but it does nothing. Switching via the button to another app does trigger the lifecycle but the quicksettings menu should behave the same way.

Hi @nicolasvahidzein, please provide a minimal, reproducible example and the output of flutter doctor -v.

[√] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.10586], locale en-US)
• Flutter version 2.10.3 at C:\Flutter\live
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7e9793dee1 (4 months ago), 2022-03-02 11:23:12 -0600
• Engine revision bd539267b4
• Dart version 2.16.1
• DevTools version 2.9.2
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Android\SDK
• Platform android-31, build-tools 30.0.2
• ANDROID_HOME = C:\Android\SDK
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
[√] VS Code (version 1.68.0)
• VS Code at C:\Users\Nicolas Zein\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.42.0
[√] VS Code (version 1.69.0-insider)
• VS Code at C:\Users\Nicolas Zein\AppData\Local\Programs\Microsoft VS Code Insiders
• Flutter extension version 3.42.0
[√] Connected device (2 available)
• SM M305F (mobile) • 5200c783423086e7 • android-arm64 • Android 10 (API 29)
• Windows (desktop) • windows          • windows-x64   • Microsoft Windows [Version 10.0.10586]
[√] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.

https://wetransfer.com/downloads/3d6df250dffcc08c4de6be3b0e517daa20220617132522/a2b5390da018ec9a5fc4f3a3c8beec9220220617132522/1e3fa4
Here is the reproducible code sample.

Hello. I see your using an older release of flutter 2.10.3. Please upgrade to 3.0.2 and confirm if this is still reproducible

I can't upgrade now i am deploying on 4 platforms and can't risk it. You have the right version obviously, can you please run it as you requested the reproducible code sample?
Thanks.

@exaby73 Hello Nabeel. Where you able to run it?

The docs of didChangeAppLifecycleState does not specify anything to do with the quick settings. This method is specifically to detect when the system puts the app in the background or returns the app to the foreground. This does not seem like a bug to me, but rather intended behavior, therefore I am closing this issue. If you disagree, please comment and we can discuss further.

Ok fair enough Nabeel but then how can we detect when the GPS sensor is turned off from the quicksettings menu and force the flutter app to do a checking of the state of the GPS sensor?

You might be able to use the sensors_plus package for this.

It's not a package issue, it's a Flutter issue, we need to be alerted when the user left the app to make a change and upon return trigger a check. I am using the permissions packages which works great. The issue is the trigger not the sensor itself.
PS: Sensorplus does not have the GPS sensor in it's list.

I'm not sure really... you an try asking this question on Stack Overflow and/or https://www.reddit.com/r/flutterhelp/


Context menu is mouse event 2

Security Insights

Error scanning for security relevant changes

Error scanning for potential secrets

Error scanning for cfn validation issues

Action Items

Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

Security Insights

Error scanning for security relevant changes

Error scanning for potential secrets

Error scanning for cfn validation issues

Action Items

Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

Public API Changes
No changes to the public API found for commit 37b9c83d51fe1f561efd27dc332ba721c8144f09
Showing results for 37b9c83d51fe1f561efd27dc332ba721c8144f09

Powered by semver-audit-service. Please report any problems by filing an issue.
Reported by the dart semver audit client 2.2.0
Browse public API.

Public API Changes
No changes to the public API found for commit 37b9c83d51fe1f561efd27dc332ba721c8144f09
Showing results for 37b9c83d51fe1f561efd27dc332ba721c8144f09

Powered by semver-audit-service. Please report any problems by filing an issue.
Reported by the dart semver audit client 2.2.0
Browse public API.


Support remove_widget() on MDSwitch

Description of the problem
Similar to #1646, when trying to clear MDSwitch widget an exception is raised.
Describe the algorithm of actions that leads to the problem
Calling clear_widgets() on MDSwitch raises an exception.
Reproducing the problem
from kivy.lang import Builder
from kivy.uix.boxlayout import BoxLayout
from kivymd.app import MDApp

KV = '''
<MyView>:

    MDBoxLayout:
        orientation: 'vertical'

        Button:
            text: "Remove icon"
            on_release: root.remove()

        MDSwitch:
            id: switch
            active: True
            icon_active: "check"

MDScreen:

    MDBoxLayout:
        id: content

        MyView:
'''

class MyView(BoxLayout):
    _trailing_icon = None

    def remove(self):
        self.ids.switch.clear_widgets()
        # OR
        #thumb = self.ids.switch.ids.thumb
        #thumb.parent.remove_widget(thumb)

class Example(MDApp):

    def build(self):
        return Builder.load_string(KV)

Example().run()

Screenshots of the problem
N/A
Description of Changes
New condition added to avoid  AttributeError: 'NoneType' object has no attribute 'disabled'
Screenshots of the solution to the problem
N/A
Code for testing new changes
Same code below.

Hello @HeaTTheatR
I've made the change to the PR. Anything else need my attention to get this PR merged ?


Fix #8218 - save_avatar uses the incorrect ccm_token

This PR fixes (#8218) the save_avatar not using the ccm_token supplied in the query string.
Essentially /ccm/assets/localization/dropzone/js adds ccm_token to the parameters by default and this causes issues with the validation
I've also added error handling and logging if anything goes wrong with the avatar upload. It will now display an error message if the token is invalid or something goes wrong during upload and will also reset the visuals to the previous source.
I've updated the controller a bit but i'm not sure if we need save_thumb anymore but i've kept it for bc (if people are using a custom pages)

Fantastic.  This kills this bug then as well...  https://www.concrete5.org/developers/bugs/8-5-0/profile-picture-not-saving.  Manually upgraded 8.5.2 to 8.5.3a1 and all is well!


Move Known Issues info and link to it from doc file

#8401

Deploy preview for docsdocker ready!
Built with commit 5c3982f87971cdc1f786a2e41c543f289aba768b
https://deploy-preview-8435--docsdocker.netlify.com