bundle exec rake db:create fails database access the first time

I am still new to Huginn and Ruby. I followed the novice start guild. Installed a mysql server and after
bundle exec rake db:create
i have to type my password (shown on console) but it does not use it.
bundle exec rake db:create
Access denied for user 'root'@'localhost' (using password: NO)Please provide the root password for your mysql installation
>password
Mysql2::Error: Can't create database 'huginn_development'; database exists: CREATE DATABASE `huginn_development` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `query'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `block in execute'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
/var/lib/gems/1.9.1/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `execute'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/mysql2_adapter.rb:228:in `execute'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:371:in `create_database'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/mysql_database_tasks.rb:28:in `rescue in create'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/mysql_database_tasks.rb:15:in `create'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:88:in `create'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:102:in `block in create_current'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:225:in `block in each_current_configuration'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:224:in `each'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:224:in `each_current_configuration'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:101:in `create_current'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/railties/databases.rake:17:in `block (2 levels) in <top (required)>'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "reconnect"=>true, "database"=>"huginn_development", "pool"=>5, "username"=>"root", "password"=>nil, "host"=>nil, "port"=>nil, "socket"=>"/var/run/mysqld/mysqld.sock"}
Access denied for user 'root'@'localhost' (using password: NO)Please provide the root password for your mysql installation
>password
Mysql2::Error: Can't create database 'huginn_test'; database exists: CREATE DATABASE `huginn_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `query'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `block in execute'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
/var/lib/gems/1.9.1/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `execute'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/mysql2_adapter.rb:228:in `execute'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:371:in `create_database'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/mysql_database_tasks.rb:28:in `rescue in create'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/mysql_database_tasks.rb:15:in `create'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:88:in `create'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:102:in `block in create_current'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:225:in `block in each_current_configuration'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:224:in `each'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:224:in `each_current_configuration'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/tasks/database_tasks.rb:101:in `create_current'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/railties/databases.rake:17:in `block (2 levels) in <top (required)>'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/1.9.1/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "reconnect"=>true, "database"=>"huginn_test", "pool"=>5, "username"=>"root", "password"=>nil, "socket"=>"/var/run/mysqld/mysqld.sock", "port"=>nil}

password is the password of the db.
What am i doing wrong here?

Looks like you already ran the command and so the db already exists?
Mysql2::Error: Can't create database 'huginn_development'; database exists: CREATE DATABASE `huginn_development` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`

Thanks for the respone, i think it was late for me.
But the part that got me confused.
user@huginn:~/huginn$ bundle exec rake db:create
Access denied for user 'root'@'localhost' (using password: NO)Please provide the root password for your mysql installation
>password
Access denied for user 'root'@'localhost' (using password: NO)Please provide the root password for your mysql installation
>password

I had to type the password two times. Without any conformation it was successful..

Next step:
user@huginn:~/huginn$ bundle exec rake db:migrate
rake aborted!
Mysql2::Error: Access denied for user 'root'@'localhost' (using password: NO)
/var/lib/gems/1.9.1/gems/mysql2-0.3.16/lib/mysql2/client.rb:70:in `connect'
/var/lib/gems/1.9.1/gems/mysql2-0.3.16/lib/mysql2/client.rb:70:in `initialize'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:435:in `new_connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:445:in `checkout_new_connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `acquire_connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:351:in `block in checkout'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:350:in `checkout'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:541:in `retrieve_connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_handling.rb:113:in `retrieve_connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/connection_handling.rb:87:in `connection'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/migration.rb:909:in `initialize'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/migration.rb:807:in `new'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/migration.rb:807:in `up'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/migration.rb:785:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-4.1.8/lib/active_record/railties/databases.rake:34:in `block (2 levels) in <top (required)>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

I think i have to put my MySQL password somewhere. But thats missing in the guild i think. (Or i am still not awake ;))

I clearly wasn't awake when i tried it. I have to change the mysql password in the .env file. (maybe at it as a note) Also the script asking for the password is a bit confusing. It should complain about it not being set in the config.

Glad you got it figured out!

thanks @cantino the same problem happen with me.


parser+typechecker: Accept fat arrow with explicit return type

Now Jakt accepts specifying a return type explicitly for functions using a fat arrow to declare their block as a single expression with
a return, and makes sure that the type of the expression matches with the explicit type:
class S {
  function get_secret() -> i32 => "World"
}

would result in a Type mismatch error with i32 and String, but
function secret() -> i32 => 42

won't throw any errors.
Works for both methods and standalone functions.
Will close #331.

Seems like we could also have a test where the parse succeeds instead of fails :)

I'll create a .out file as well with a sample output from a sample program that uses this syntax then

Thanks! <3


[FLINK-6598][table]Remove useless param rowRelDataType of DataStreamGroupAggregate

This PR only remove useless param rowRelDataType of DataStreamGroupAggregate.

[x] General

The pull request references the related JIRA issue ("[FLINK-6598][table] Fix DataStreamGroupAggregateRule and DataStreamGroupWindowAggregateRule matches error.")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

+1 to merge


Suggestions for Impact YAML Specification

I have included the changes as a YAML file itself.
There is a schema generated using the YAML.

Adds an optional field called "tags", and it can be used to isolate resources
Removes "params" from root of the node, since it does not provide any value.
Adds an optional field called "setup", it has fields & values as an array, it is used to setup the model.
Updates the telemetry field, "metric", "unit" are required.  "data" or "path" and "mappings" can be included in telemetry.

mappings allow customization of the order of fields in a csv document.
data should feature timestamp and duration of measurement and the value.
metric required always and they define which metric is being measured, eg: cpu, ram, water.
unit denotes the scale of metric or a percentage

Example Model
$schema: "./impact-yaml-schema.json"
name: sample-app
components:
  - name: app-server
    tags: # common tags for identifying the resource
      - name: model
        value: boavizta
        description: description
    model: # so we know which IMP to use to calculate this node
      path: com.boavizta.ComponentPlugin
      setup:
        - name: componentType
          value: cpu
        - name: name
          value: Intel Xeon Platinum 8272CL
        - name: core_units
          value: 2
        - name: location
          value: USA
    telemetry:
      metric: cpu
      unit: percentage
      data:
        - timestamp: 2020-01-01T00:00:00.000Z
          duration: 1h
          value: 18.392
  - name: db-server
    tags: # common tags for identifying the resource
      - name: model
        value: boavizta
        description: description
    model: # so we know which IMP to use to calculate this node
      path: com.boavizta.ComponentPlugin
      setup:
        - name: componentType
          value: cpu
        - name: name
          value: Intel SP8160
        - name: core_units
          value: 2
        - name: location
          value: USA
    telemetry:
      metric: cpu
      unit: percentage
      data:
        - timestamp: 2020-01-01T00:00:00.000Z
          duration: 1h
          value: 10

Looks good

Test update

@gnanakeethan note, I've merged what makes sense long term to this PR: https://github.com/Green-Software-Foundation/carbon-ql/pull/63
This PR won't get merged and we'll close it out once the other gets merged, if there is a proposal to a change to the actual YAML it should be made to the spec that wat we can see what's being proposed we change (see #68 to see what I mean)

@jawache  So if we want to propose changes, are you suggesting that we put in our comments in #63 or put it in here in this PR ?


LSP: collect #[test] functions and display a run button in editor

Might be worth looking at the method that was added in #3152 for populating our HashMap of runnables with these test methods.

We should do this as a prerequisite: https://github.com/FuelLabs/sway/issues/3693


Boxes get duplicated when dragging too fast

On the homepage, I repeatedly dragged the purple box downwards very quickly and released my mouse. Eventually, this occurred

When in this state, some boxes that I dragged only had the black outline visible, and the entire box was transparent. When I released the box, sometimes it would "go back" to where it was supposed to go (since it was in an invalid are) and sometimes it just stayed there. I did this several times, and ended up with this:

I then scrolled up to the top of the homepage (without refreshing) and got this (the boxes seemed to be fixed to the web page when I was scrolling up and down)

I'm using the latest version of google chrome at the time of this writing, and am using Windows 10 with all updates installed.

This effect happened to me all over the place without even trying on Firefox Nightly, Windows 10, Surface Book (using touch). Often even tapping on a thing would be enough to break it.

I get this too on Chrome and Safari (both mobile).
Happens when I drag and drop outside of the target area too fast repeatedly

Windows 10, Chrome 61, drag and dropped with touch screen.

In case it helps, I have the same issue with this codepen example (which was provided in issue #36).

Tested on Firefox and Chrome, both on desktop (Windows).

Can I confirm this is only on touch? Because this one of the known issues and I have created an official issue for tracking it: https://github.com/Shopify/draggable/issues/40
I will close this issue for now. Feel free to re-open this issue if this happened with mouse events too  👍

In my case it happens with mouse events.

My original issue occurred with mouse events on my laptop.

Alright, could you guys provide some more information? E.g Operating System + version,  Browser + version.
I will start investigating then 👍

@Decagon but is it a touch screen device?

Alright, could you guys provide some more information? E.g Operating System + version, Browser + version.

I've just seen this issue happened with: "Chromium Version 61.0.3163.79 (Build officiel) Built on Ubuntu , running on Ubuntu 16.04 (64 bits)"
And at work it was on Windows 10 with Firefox developper and Google Chrome Canary. Sorry, I don't have access to exact versions now.
One more thougth: it seems to happen when I try to drag some element while some text is selected. See:

Hope this helps!

Same bug on iOS 11.0.1 iPhone 8+

Same thing happened to me on MacOS, Chrome Canary using mouse events.
I agree with nnodot, it happens when text is selected when dragging.

@alexplusde Nah, it's just an old MacBook Pro running Windows, so no touchscreen.
My operating system is Windows 10 (up to date as of October 8th, 2017) and I'm running Google Chrome 61.0.3163.100 (Official Build) (64-bit) (cohort: Stable).

The touch issues are fixed on the v1.0.0-beta.2 branch. I will close this issue once we release beta.2
@nnodot This may actually be a different error, which should also be fixed with the beta.2 branch. Here the commit that fixed the text selection issue: https://github.com/Shopify/draggable/commit/08ab17b8c360243800b68c127be90963a3c757e2
It's a temporary change, but should fix the current issues with text selection.

We just released a new beta (v1.0.0-beta.2), which should address most of the issues reported here. Please comment or re-open if issues persist


vainfo failed to initialize (__clock_nanosleep)

Describe the bug
I'm trying to make vainfo works by trying different nixos configurations. For the moment I was unable and when I test vainfo by running it it fails with a strange undefined symbol __clock_nanosleep.
To Reproduce
Steps to reproduce the behavior:
With configuration.nix
# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  # Use the systemd-boot EFI boot loader.
  boot.blacklistedKernelModules = [ "psmouse" ];
  boot.loader.systemd-boot.enable = true;
  boot.loader.systemd-boot.consoleMode = "1";
  boot.loader.efi.canTouchEfiVariables = true;
  boot.kernel.sysctl = {
     "vm.swappiness" = 1;
  };

  boot.initrd.luks.devices = {
    root = {
      device = "/dev/disk/by-uuid/45567b35-2fe8-4771-8139-5188b4fb5c6c";
      preLVM = true;
      allowDiscards = true;
    };
  };

  boot.kernelPackages = pkgs.linuxPackages_latest;

  console.earlySetup = true;

  fonts.fonts = with pkgs; [
     source-code-pro
     terminus_font
  ];
  fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];

  networking.hostName = "Something"; # Define your hostname.
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.

  # The global useDHCP flag is deprecated, therefore explicitly set to false here.
  # Per-interface useDHCP will be mandatory in the future, so this generated config
  # replicates the default behaviour.
  networking.useDHCP = false;
  networking.networkmanager.enable = true;

  # Configure network proxy if necessary
  # networking.proxy.default = "http://user:password@proxy:port/";
  # networking.proxy.noProxy = "<IP_ADDRESS>,localhost,internal.domain";

  nixpkgs.config = {
      allowUnfree = true;
      packageOverrides = pkgs: {
	vaapiIntel = pkgs.vaapiIntel.override {
            enableHybridCodec = true;
        };
      };
  };
  # Select internationalisation properties.
  # i18n.defaultLocale = "en_US.UTF-8";
  # console = {
  #   font = "Lat2-Terminus16";
  #   keyMap = "us";
  # };

  # Set your time zone.
  time.timeZone = "America/Argentina/Buenos_Aires";

  # List packages installed in system profile. To search, run:
  # $ nix search wget
  # environment.systemPackages = with pkgs; [
  #   wget vim
  # ];
  environment.systemPackages = with pkgs; [ xorg.xbacklight ];
  environment.variables = {
     GDK_SCALE = "2";
     GDK_DPI_SCALE = "0.5";
     QT_AUTO_SCREEN_SCALE_FACTOR = "1";
  };
  environment.sessionVariables.LIBVA_DRIVER_NAME = "iHD";

  # Some programs need SUID wrappers, can be configured further or are
  # started in user sessions.
  # programs.mtr.enable = true;
  # programs.gnupg.agent = {
  #   enable = true;
  #   enableSSHSupport = true;
  #   pinentryFlavor = "gnome3";
  # };

  # List services that you want to enable:
  # Enable the OpenSSH daemon.
  # services.openssh.enable = true;

  # Open ports in the firewall.
  # networking.firewall.allowedTCPPorts = [ ... ];
  # networking.firewall.allowedUDPPorts = [ ... ];
  # Or disable the firewall altogether.
  # networking.firewall.enable = false;

  # Enable CUPS to print documents.
  # services.printing.enable = true;

  # Enable sound.
  # sound.enable = true;
  # hardware.pulseaudio.enable = true;
  hardware.pulseaudio.enable = true;

  hardware.cpu.intel.updateMicrocode = config.hardware.enableRedistributableFirmware;

  hardware.opengl = {
     enable = true;
     driSupport = true;
     driSupport32Bit = true;
     s3tcSupport = true;
     package = (pkgs.mesa.override {
         galliumDrivers = [ "auto" "iris" ];
     }).drivers;
     extraPackages = with pkgs; [
        vaapiIntel
        vaapiVdpau
	      libvdpau-va-gl
        intel-media-driver
     ];
  };
  # Enable the X11 windowing system.
  # services.xserver.enable = true;
  # services.xserver.layout = "us";
  # services.xserver.xkbOptions = "eurosign:e";

  # Enable touchpad support.
  # services.xserver.libinput.enable = true;
  services.fstrim.enable = true;
  services.tlp.enable = true;
  # Enable the KDE Desktop Environment.
  # services.xserver.displayManager.sddm.enable = true;
  # services.xserver.desktopManager.plasma5.enable = true;
  services.xserver = {
    enable = true;
    layout = "us";
    dpi = 192;
    libinput = {
       enable = true;
       naturalScrolling = true;
    };
    videoDrivers = [ "intel" ];
    windowManager.qtile = {
       enable = true;
    };
    windowManager.xmonad = {
       enable = true;
       enableContribAndExtras = true;
       extraPackages = haskellPackages: [
       	haskellPackages.xmonad-contrib
	      haskellPackages.xmonad-extras
	      haskellPackages.xmonad
       ];
    };
    displayManager = {
        lightdm = {
           enable = true;
	   greeters.gtk.cursorTheme = {
	       name = "Vanilla-DMZ";
	       package = pkgs.vanilla-dmz;
	       size = 64;
	   };
        };
	defaultSession = "none+qtile";
	sessionCommands = ''
	    xrdb "${pkgs.writeText "xrdb.conf" ''
               URxvt.font:		xft:Source Code Pro:size=14
	    ''}"
	'';
    };
  };

  services.thermald.enable = true;
  # Define a user account. Don't forget to set a password with ‘passwd’.
  # users.users.jane = {
  #   isNormalUser = true;
  #   extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
  # };
  users.users.nixosUser = {
    isNormalUser = true;
    home = "/home/nixosUser";
    description = "Nixos User";
    extraGroups = [ "wheel" "networkmanager" "video"  ];
  };

  # This value determines the NixOS release from which the default
  # settings for stateful data, like file locations and database versions
  # on your system were taken. It‘s perfectly fine and recommended to leave
  # this value at the release version of the first install of this system.
  # Before changing this value read the documentation for this option
  # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
  system.stateVersion = "20.03"; # Did you read the comment?

}

and hardware-configuration.nix
# Do not modify this file!  It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations.  Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:

{
  imports =
    [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
    ];

  boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
  boot.initrd.kernelModules = [ "dm-snapshot" ];
  boot.kernelModules = [ "kvm-intel" "i915" "acpi_call" ];
  boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];

  fileSystems."/" =
    { device = "/dev/disk/by-uuid/e9e12f45-d405-4c51-bb78-355ea23a0bbf";
      fsType = "btrfs";
    };

  fileSystems."/boot" =
    { device = "/dev/disk/by-uuid/6A41-F3D5";
      fsType = "vfat";
    };

  fileSystems."/home" =
    { device = "/dev/disk/by-uuid/ab775374-8087-4d5f-91a4-a76396522bc8";
      fsType = "btrfs";
    };

  swapDevices =
    [ { device = "/dev/disk/by-uuid/6999f033-0314-4a7b-b9a3-c794f3a6589b"; }
    ];

  nix.maxJobs = lib.mkDefault 8;
  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
  # High-DPI console
  console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u32n.psf.gz";
}

nixos-rebuild test
nix-shell -p libva-utils --run vainfo

Expected behavior
libva info: VA-API version 1.8.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /run/opengl-driver/lib/dri/iHD_drv_video.so
libva error: dlopen of /run/opengl-driver/lib/dri/iHD_drv_video.so failed: /nix/store/xg6ilb9g9zhi2zg1dpi4zcp288rhnvns-glibc-2.30/lib/librt.so.1: undefined symbol: __clock_nanosleep, version GLIBC_PRIVATE
libva info: Trying to open /usr/lib/dri/iHD_drv_video.so
libva info: Trying to open /usr/lib32/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

Additional context
I'm running Nixos 20.03 (with Linux 5.7.15) in a Dell XPS 13 dev edition 2020 (9300) that has Ice Lake i7-1065g7 and Iris Plus Graphics.

See https://github.com/NixOS/nixpkgs/issues/94315#issuecomment-673402072, this should be another instance of that problem (e.g. if you've installed libva-utils from another channel or via nix-env).


Setup docs on readthedocs

This PR sets up the readthedocs integration.
You can view the build here

Looks good to me.
One little thing that might not so relevant. I think now it should be zampy /home/username/path_to_file/simple_recipe.yml  instead of the following (after you address Sarah's comment):
https://github.com/EcoExtreML/zampy/blob/60d07be93e0b4f24f45b2b614ad800b8b2ce2db7/docs/using_zampy.md?plain=1#L46

Thanks for noticing this!


feat: add [gitlab]-helper for encapsulate docs and err

re https://github.com/badges/shields/issues/8077#issuecomment-1207597218 https://github.com/badges/shields/pull/8166#discussion_r939465622

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @sunny0826!

  Generated by :no_entry_sign: dangerJS against ceb387892f99aa03a31fbc64e866c8c0f9e3af96

Thank you for following up on this! Would you mind rebasing and ensuring this gets applied to some of the newer classes too? (e.g. merge requests)

Thank you for following up on this! Would you mind rebasing and ensuring this gets applied to some of the newer classes too? (e.g. merge requests)

Of course.

One thing that's a little tricky with this is that we have some example badge listings that support the custom instance query parameter, and some that do not. We currently have the docs for those examples structured in such a way to reflect that (i.e. the custom instance doc info is conditionally presented), but as currently structured, that would go away and the custom instance docs would be mentioned for all badge examples, regardless of whether that example permitted a custom instance.
I think we need to find a way to address this, either by adding the custom instance query parameter on all examples, or by maintaining the current conditional behavior.
Also, I think we can clean up some of these by defining locals in one place/globally and then reusing. That should help avoid a lot of the repeated concatenation we currently have, e.g. documentation: documentation + more,

One thing that's a little tricky with this is that we have some example badge listings that support the custom instance query parameter, and some that do not. We currently have the docs for those examples structured in such a way to reflect that (i.e. the custom instance doc info is conditionally presented), but as currently structured, that would go away and the custom instance docs would be mentioned for all badge examples, regardless of whether that example permitted a custom instance.
I think we need to find a way to address this, either by adding the custom instance query parameter on all examples, or by maintaining the current conditional behavior.
Also, I think we can clean up some of these by defining locals in one place/globally and then reusing. That should help avoid a lot of the repeated concatenation we currently have, e.g. documentation: documentation + more,

True, but there are already a lot of examples, and if we add the custom instance example, the number will double.
Also, Do you construct such a function in gitlab-helper.js? I don't feel like this is an elegant way to write, any better suggestions?
function docsMessageFor(more=''){
  return documentation + more
}

One thing that's a little tricky with this is that we have some example badge listings that support the custom instance query parameter, and some that do not. We currently have the docs for those examples structured in such a way to reflect that (i.e. the custom instance doc info is conditionally presented), but as currently structured, that would go away and the custom instance docs would be mentioned for all badge examples, regardless of whether that example permitted a custom instance.
I think we need to find a way to address this, either by adding the custom instance query parameter on all examples, or by maintaining the current conditional behavior.
Also, I think we can clean up some of these by defining locals in one place/globally and then reusing. That should help avoid a lot of the repeated concatenation we currently have, e.g. documentation: documentation + more,

True, but there are already a lot of examples, and if we add the custom instance example, the number will double.
Also, Do you construct such a function in gitlab-helper.js? I don't feel like this is an elegant way to write, any better suggestions?
function docsMessageFor(more=''){
  return documentation + more
}

Sorry but I'm not following. All I'm suggesting is that you create a constant global (or multiple globals as needed) that has the combined docs, and then just reuse that global in all the relevant examples.
I.e.
const foo = bar + barfoo

....
{
  docs: foo,
},
...
{
  docs: foo,
}

instead of having that bar + barfoo concatenation in multiple places


[Automation] Generate Fluent Lite from storagecache#package-2023-01

[Automation] Generate Fluent Lite from storagecache#package-2023-01

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-storagecache


Invalid Access Token when retrieving patient data but after successfully getting a new token

I am using Postman and I am finally able to successfully get an access token, when I click 'get new access token' in postman it open a popup window with login UI. I login and then it shows me the patient picker UI. I select a patient and then click next and proceed forward and finally postman shows it successfully obtain an access token. I save the token and use it as a bearer token to make a GET request {{API_URL}}/Patient/:id
the patient id in the params is whatever came prefilled in postman, I assume it is the id of one of the demo patients added 207f22d6-8b09-4310-b2da-b9076b8ee5a7
But instead of getting back the fhir patient record I get "Invalid Access Token"

But I just got the token from the server, and immediately try to use it but it says invalid access token. The same thing happen for the other postman requests even the one to search patients, all of them return invalid access token. But postman successfully gets the access token so I am not sure what this is due too.
Here are the logs for the fhir service showing the 401 error
{
    "authorizer.claims.sub": "-",
    "error.message": "-",
    "extendedRequestId": "eO1fCHBLvHcFjZA=",
    "httpMethod": "GET",
    "identity.sourceIp": "<IP_ADDRESS>",
    "integration.error": "-",
    "integration.integrationStatus": "200",
    "integration.latency": "35",
    "integration.requestId": "d49c36f8-5ab9-467e-bc59-b4c1f8faeff2",
    "integration.status": "401",
    "path": "/dev/Patient/207f22d6-8b09-4310-b2da-b9076b8ee5a7",
    "requestId": "e0f5c1d8-07bd-4520-b18b-324b1e7dbf1c",
    "responseLatency": "39",
    "responseLength": "367",
    "stage": "dev",
    "status": "401"
}

I am not sure what I am doing wrong here but it seems like I get a new access token and the fhir server thinks its invalid because its not checking the token with the right idp? I am not sure what do you think? Any help is greatly appreciated thank you!

2023-01-05T04:01:58.571Z	ERROR	UnauthorizedError: Invalid access token
    at decodeJwtToken (/var/task/src/index.js:116952:15)
    at verifyJwtToken (/var/task/src/index.js:116958:32)
    at SMARTHandler.verifyAccessToken (/var/task/src/index.js:116573:80)
    at /var/task/src/index.js:128302:75
    at Layer.handle [as handle_request] (/var/task/src/index.js:125691:5)
    at trim_prefix (/var/task/src/index.js:125012:13)
    at /var/task/src/index.js:124970:9
    at Function.process_params (/var/task/src/index.js:125030:12)
    at next (/var/task/src/index.js:124964:10)
    at setContentTypeMiddleware (/var/task/src/index.js:141488:9) {
  isUnauthorizedError: true

Yeah that's correct- the FHIR service essentially needs to be configured to trust the tokens that you're sending along.  Which FHIR service are you using?

AWS Fhir Works which then recommended the Okta Smart Auth Framework - https://github.com/awslabs/fhir-works-on-aws-deployment/tree/smart-mainline
I am using the smart-mainline deployment too.
issuer - https://dev-XXXXXXXX.okta.com/oauth2/default
OAuth2 API - ttps://dev-XXXXXXXX.okta.com/oauth2/default/
patientPicker Endpoint - https://abcdefghi.execute-api.us-west-2.amazonaws.com/dev
I deployed with those endpoint as properties. I thought it should be connected with that and I can't seem to narrow in on why its not working with the logs.

Ok great- I figured that might be but wanted to be sure.  There's really 2 things that could be going on:
1- It doesn't like the signature, issuer or audience of the token.  It seems like you have that configured correctly though.
2- You don't have the proper scopes requested, or the proper patient id claim isn't in the token.
Can you take your access token, paste it into https://jwt.io, and then post the decoded output here? I can take a look at it and see if I see anything unexpected. There could be a patient ID in the token, so if there is,  please abstract that!

@dancinnamon-okta here is the decoded output
{
  "ver": 1,
  "jti": "AT.-Y5vMg5GNWtdYbDxUBRTJrtFWRIM8NeIc0G-Iplz7Uo",
  "iss": "https://dev-51546937.okta.com/oauth2/default",
  "aud": "https://https://y8a36jamwj.execute-api.us-west-2.amazonaws.com/dev",
  "iat":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "cid": "0oa7np1kcyGGtfbvq5d7",
  "uid": "00u7jqg7vgStkWbn35d7",
  "scp": [
    "fhirUser",
    "patient/*.*",
    "launch/patient",
    "user/*.*",
    "patient_selection",
    "openid",
    "profile"
  ],
  "auth_time":<PHONE_NUMBER>,
  "sub"<EMAIL_ADDRESS>  "launch_response_patient": "3758",
  "valid_consent": "true",
  "fhirUser": "Patient/null"
}

is it the fhirUser type?

I am guessing it is the fhirUser type being 'Patient/null' seems incorrect. I have to investigate why is it sending that parameter as the fhir user.

Oh nice- so yeah i actually don't think that's it (although I agree that's not what it should be).  I think more likely it's the value of "launch_response_patient".  The authorization within fhirWorks does look at that value and ensure that you're only requesting data related to that patient (as it should if you have a patient/* scope).
The "3758" value is a faked-out patient ID that exists in the public hapi.fhir.org server.  I have it hard-coded in the mock-patient-service.js file.  For testing purposes, you should take the full FHIR URL of a real patient in your FHIR server, and update that file with that value.  So the value of launch_response_patient should be something like: https://https://y8a36jamwj.execute-api.us-west-2.amazonaws.com/dev/Patient/XXXX

"launch_response_patient": "3758",
that parameter right now is just a number, are you saying that instead of the number it should be a full url  like
https://y8a36jamwj.execute-api.us-west-2.amazonaws.com/dev/Patient/XXXX](https://https//y8a36jamwj.execute-api.us-west-2.amazonaws.com/dev/Patient/XXXX
and replace the XXXX with a real patient_id from the fhir server?

Yes that's correct.

currently the only data I have in the fhir-works server that I setup is the demo data that came with the server.
taking a look at the mock patient js file
// Mock patient access service.
// Just returns a list of sample patients for display in the custom consent patient picker.
// In a real implementation, this service would make an API call to an internal fine grained authorization service.
module.exports.mockPatientServiceHandler = async () => {
	return [
		//From Okta test set
		{patient_id: '3758', patient_name: 'Abraham Murphy (32)'},
		{patient_id: '35128', patient_name: 'Carlos Stehr (54)'},
		{patient_id: '5050', patient_name: 'Albert Walter (Deceased)'}

		//From hapi.fhir.org test set
		//{patient_id: '1440422', patient_name: 'Samuel Ortiz (31)'},
		//{patient_id: '92e12467-e074-4349-a6d4-e88be191b39b', patient_name: 'Amberly Bahringer (65)'},
		//{patient_id: 'c769110f-4d4e-4375-a706-c5d78f729544', patient_name: 'Jann Ferry (63)'}

		//From aws test set
		//{patient_id: 'Patient/57ca5687-e198-4b36-9a44-e9460debc611', patient_name: 'Sherlock Holmes (31) (reference)'},
		//{patient_id: 'https://yourFHIRserver.com/Patient/81f65d61-8f91-4472-b668-0efc0aceb0f2', patient_name: 'Mycroft Holmes (38) (full url)'},
		//{patient_id: 'Patient/7f344d58-113d-45aa-88cf-c74d8e925d1d', patient_name: 'John Watson (34) (reference)'},
		//{patient_id: 'https://fake.ehr.com/Patient/external', patient_name: '	Sir Arthur Conan Doyle (68) (external patient)'},
	]
}

I can see that there are different patients for okta and aws fhir-works.
But that confuses me because I thought Okta smart auth shows a patient picker with patients from the fhir server? Then you select which patient you want to access the record and it gives you a token to access that patient.
So whichever patients shows in the patient picker, they should exist on the fhir server is that correct or no?
From the mock file it seems like different mock patient data with different IDs are in Okta and in the Fhir-works server though is that correct? But the patient_id in okta should correspond to the patient_id for the record in the fhir server yes?
My goal is to have this all working as a proof of concept first by requesting a token, using the patient picker, then use the token to get the patient record from the fhir server is the goal using the test data for now.
I am very close just need to connect these last few pieces. How do you recommend proceeding, should I edit the file above changing the patient_id: to the full url you mentioned above for testing purposes and deploy?
I am confused though, shouldn't the patient picker show the patients that exist in the fhir server? If not then where does Okta store a list of patience and those patientID need to be kept in sync with fhir server?
I don't understand how that could work, I thought Okta will retrieve the list of patience from the fhir server, and ask you which record you want access too in the patient picker? Provided that the account you are logging in from has authorization to access any patient record like a physician.

Actually I see that the patient is also a user with the role of patient and so Okta knows all the users that are patients without having to query the fhir server. that is how the patient picker works.
now I have to align the patients in Okta, and the patients in the Fhir server so it is all cohesive with the correct patient Ids.
also it seems like the patient_id must be kept in sync between Okta and the Fhir server
Okta should have all the corresponding patient_id's of all patients that exist on the fhir server correct? Otherwise Okta will not be able to grant access to a patient_id that exists in the fhir server but not associated with any user in Okta

Ok I fixed couple things and now trying to make a POST request to create a new patient on the fhir server and I don't get invalid access token anymore which is good but I get a new error:
Requester's identity is in the incorrect format
not sure what it is referring to?

Ok I fixed couple things and now trying to make a POST request to create a new patient on the fhir server and I don't get invalid access token anymore which is good but I get a new error:
Requester's identity is in the incorrect format
not sure what it is referring to?

https://github.com/oktadev/okta-smartfhir-docs/issues/9

Hey- Just wanted to respond to some of your comments on here to hopefully provide clarity.  By the way, I do believe the error you're having now is related to item #1.
There are really 2 identities at play here:
1- The fhirUser attribute.  This is most definitely the person at the screen logging in.  This user will always be within Okta, and it'd be recommended to have the user's fhirUser ID as an Okta profile attribute (that was the intention of the "patient_id" attribute from the instructions).  Depending upon your architecture, this would likely just be filled out as part of the registration process when the user creates their new account (the registration process would need to do a match of some sort, and fill in the fhirUser attribute on the user's Okta profile when creating.
The actual value of this can vary based on your architecture- it could be a patient ID, a practitioner ID, Person ID etc.
Note: I would like to update the setup instructions, because the setup instructions assume the user is a "patient", so that's why I call the attribute "patient_id" when that's not necessarily accurate for everyone.
2- The patient selected on the patient picker.  These IDs are not necessarily within Okta. For example, you could have access to a newborn infant patient record.  That newborn infant will not have a user within Okta.  The intention is that, instead of calling the "mock patient service" that you make a real FHIR call, look-up in a real database, etc- the patients the user has access to and display them on the screen.
So I hope that clarifies things a little.  Since I've written the instructions I've definitely learned some new things about the format of the fields- so I am in an effort right now to update this repository to help clarify some of these things.

@dancinnamon-okta this made sense thank you

@dancinnamon-okta Hey I deployed the project using the new automated script and it works nicely. Although I am glad I went through the manual setup initially to learn how everything works, but now if I need to redeploy it is really nice to have that script it makes things a lot easier.
I do have a question though. I have everything working so far integrating Smart Auth with the Fhir Works on AWS server. But now I want to replace the mock_patient_service with the real API call to the Fhir server.
But I am confused about how that call is made from within the Smart server itself. I can use http fetch to make the call to the fhir server {{API_URL}}/Patient route but what about authorization, the Fhir server is likely to just reject the request isn't it? Any advice on more specifically how to make the fetch request and what properties need to be included in the request to make it work?

Awesome- thanks for the feedback on the automated script! I can definitely see a "chicken/egg" issue here because we need patient data... in the middle of authorizing to get patient data.
A few options for you:
1- You could have a "backend" FHIR API that is purpose built for this use case, and this could trust the normal OAuth2 token minted for the patient picker app.  The OAuth2 access token that is minted for the patient picker is a full-blown access token complete with user context- but it only currently has a few default openid connect scopes (openid, email, profile).
A minor variation of this is perhaps you don't have a "backend" API, but instead you could add an additional scope to the patient picker access token, and have special treatment in the FHIRWorks SMART authorizer to allow it to make a very narrow set of FHIR queries.
2- You could set up a client_credentials flow application in Okta, and create/allow the system/Patient.read scope on that.  The patient picker app could then request that token as a "machine to machine" token that it could use to invoke the existing AWS FHIRWorks FHIR API when pulling the patient list.
3- You could bypass FHIR altogether, and have the patient picker connect directly to some backend database to get this data.
Would be great to hear your thoughts on this!

@dancinnamon-okta
When I updated the code to try and make API call from patient picker everything broke. And then I reverted back and I get this error
(db0bec11-aabe-4cf6-acdc-056d0f19a24d) Endpoint response body before transformations: {
"errorType": "TypeError",
"errorMessage": "Signed cookie string must be provided.",
"trace": [
"TypeError: Signed cookie string must be provided.",
"    at Object.exports.unsign (/var/task/node_modules/cookie-signature/index.js:37:39)",
"    at Object.module.exports.getHandler (/var/task/lib/patient_picker.js:21:36)",
"    at Runtime.module.exports.patientPickerGetHandler [as handler] (/var/task/aws/patient_picker.js:5:41)",
"    at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"
]
}
It is so hard to keep this running. Maybe it is me but way to fragile

@dancinnamon-okta I deleted and redeployed the entire instance followed all the setup and I am still getting
(db0bec11-aabe-4cf6-acdc-056d0f19a24d) Endpoint response body before transformations: {
"errorType": "TypeError",
"errorMessage": "Signed cookie string must be provided.",
"trace": [
"TypeError: Signed cookie string must be provided.",
"    at Object.exports.unsign (/var/task/node_modules/cookie-signature/index.js:37:39)",
"    at Object.module.exports.getHandler (/var/task/lib/patient_picker.js:21:36)",
"    at Runtime.module.exports.patientPickerGetHandler [as handler] (/var/task/aws/patient_picker.js:5:41)",
"    at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"
]
}
This is bad, I have no idea what this error is, no way to fix it no insight just totally blocked

This is the cookie value in the request. How did it get so messed up just by running serverless deploy again?
t=default; DT=DI1wiwllI3QQTCSpOdxKIZhzQ; enduser_version=2; okta_user_lang=en; pickerAuthzState=null; origRequest=null; okta-oauth-redirect-params={"responseType":"code","state":"Ruks7Qz0BZ8i7Zb72XQ5fdAx80fQZ6hJPqIxPi4xY2altdyl0hA2F2Y4GnA8pExI","nonce":"n9bYRD1sraN9Oh6HeBUTkCenjhGAOZ3KwhCbxN1KsLylgC10IbJ2So400cFZPYMn","scopes":["openid","profile","email","okta.users.read.self","okta.users.manage.self","okta.internal.enduser.read","okta.internal.enduser.manage"],"clientId":"okta.2b1959c8-bcc0-56eb-a589-cfcfb7422f26","urls":{"issuer":"https://smartauth.visiontree.ninja","authorizeUrl":"https://smartauth.visiontree.ninja/oauth2/v1/authorize","userinfoUrl":"https://smartauth.visiontree.ninja/oauth2/v1/userinfo","tokenUrl":"https://smartauth.visiontree.ninja/oauth2/v1/token","revokeUrl":"https://smartauth.visiontree.ninja/oauth2/v1/revoke","logoutUrl":"https://smartauth.visiontree.ninja/oauth2/v1/logout"},"ignoreSignature":false}; okta-oauth-nonce=n9bYRD1sraN9Oh6HeBUTkCenjhGAOZ3KwhCbxN1KsLylgC10IbJ2So400cFZPYMn; okta-oauth-state=Ruks7Qz0BZ8i7Zb72XQ5fdAx80fQZ6hJPqIxPi4xY2altdyl0hA2F2Y4GnA8pExI; JSESSIONID=809372A577540E0C56062296C08EA468

I deleted the entire deployment and redeployed and get the same error. wow, i had it all working and now i can for the life of me get it to work anymore. It is done, i have no idea what to do

@dancinnamon-okta no worries I was just in frustrated mood don't mind me :) But I figured out the issue was overall that the patient authorization proxy doesn't work for some reason. Like what I try to use it Okta immediately redirects to 404. And so I am not sure why because I examined and everything seems to be setup ok its just that the proxy just doesn't work. And you kind of need the proxy because the authorize endpoint it /v1/smart/authorize while the token url is without the /smart/ and so you can't really enter a base oauth2 url to run the https://inferno.healthit.gov/ tests. So I modified the .well-known/smart-configuiration endpoint to have a hardcoded authorize and token endpoint. Eventually I would like to figure out why the patient_authorization proxy is not working. I have a feeling it might have something to do with Okta not recognizing the proxy and displaying a 404 or something because of the custom domain. Just a hunch but not really sure.


json comment has red color

Hello,
if I put in file comment then it set wrong bg color

In theme "Solarize" it works bg is none at least

I know that is not standard "allowed comments in json"
Q it is possible fix it?
Bruno

Please see the discussion over at atom/language-json#28 and atom/language-json#29 regarding comments in JSON.


security_monkey should (at least offer an option to) not use logging.handlers.RotatingFileHandler

Justification: I want to log to stdout / stderr (I'm running in Docker and these streams will be captured by my orchestration infrastructure); but RollingFileHandler tries and fails to seek on the "files" it logs to, leading to failures:
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "/usr/lib/python2.7/logging/handlers.py", line 157, in shouldRollover
    self.stream.seek(0, 2)  #due to non-posix-compliant Windows feature
IOError: [Errno 29] Illegal seek
Logged from file scheduler.py, line 574
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "/usr/lib/python2.7/logging/handlers.py", line 157, in shouldRollover
    self.stream.seek(0, 2)  #due to non-posix-compliant Windows feature
IOError: [Errno 29] Illegal seek
Logged from file scheduler.py, line 579
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "/usr/lib/python2.7/logging/handlers.py", line 157, in shouldRollover
    self.stream.seek(0, 2)  #due to non-posix-compliant Windows feature
IOError: [Errno 29] Illegal seek
Logged from file scheduler.py, line 595
Traceback (most recent call last):
  File "/usr/lib/python2.7/logging/handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "/usr/lib/python2.7/logging/handlers.py", line 157, in shouldRollover
    self.stream.seek(0, 2)  #due to non-posix-compliant Windows feature
IOError: [Errno 29] Illegal seek
Logged from file scheduler.py, line 606
INFO:apscheduler.scheduler:Scheduler has been shut down

I would expect that a regular FileHandler would work with /dev/stdout as the "file"; alternatively, a configuration option to simply log to stdout and/or stderr in lieu of file logging would address this for me.

n.b., reading the indicated line numbers in apscheduler/scheduler.py makes it clear that scheduler is operating nominally; starting, finding no jobs, and exiting. So this isn't a huge issue or anything, but I'd like ot be able to get valid logging nonetheless.

Hey @pdbogen - Any interest in supplying a pull request?  I agree with your solution and have seen this problem before.


fix(query): make show series exact cardinality count only distinct series

Closes #14386
Wrote this fix last week after discussions in storage re cardinality.
Adds a distinct call to the rewritten queries for SHOW SERIES EXACT CARDINALITY and SHOW SERIES CARDINALITY FROM <measurement>.
See updated unit tests for the exact rewrites.
This is the most straightforward fix to the current cardinality bug on 1.x tsi1, in which series keys are counted more than once if they are duplicated across shards. The only series cardinality query which is not affected by the bug is SHOW SERIES CARDINALITY (run across an entire database) since it is not rewritten and does bitmap level calculations or HLL if on a cluster.
It is now confirmed that the cardinality bugs were behind https://github.com/influxdata/EAR/issues/992, so I want to continue the conversation and work towards a fix to avoid future customer confusion in this area.
@stuartcarnie has mentioned that this change would likely cause a decrease in the performance of the affected queries. There could certainly be a more performant solution, and I would appreciate any suggestions!

[ ] CHANGELOG.md updated with a link to the PR (not the Issue)
[x] Well-formatted commit messages
[x] Rebased/mergeable
[ ] Tests pass

@adamperlin this needs to be back ported to 1.7 branch if it's reviewed and accepted.

Hi, I encountered this show series exact cardinality bug in version 1.4. The number returned by show series exact cardinality is bigger than the number of rows printed by show series.
Since version 1.4 supports show series exact cardinality clause, does this pr also fix version 1.4?


Translating

Hi, I'd like to translate your wonderful calendar for my french web-site, but I can't find where do all strings like 'June', Jully' or 'Today' come from, could you please give me some nice indication?

Hi @jeanbmnn ! Thanks for checking out react-kronos.
Translation and other locale settings are set using moment. For example:
<Kronos
  date={this.state.datetime}
  onChange={this.onChange}
  options={{ locale: { lang: 'fr' }, settings: { /* other moment settings */} }}
/>

You can also configure moment by importing it first and setting the locale there:
moment.locale('fr') See here
These approaches make it much easier so that you don't have to do all the translation yourself.

Thank very much! It works well! However, the first day of the week was set to Sunday, so I put here the code needed to change it back to Monday, found here: https://stackoverflow.com/questions/18875649/moment-js-starting-the-week-on-monday-with-isoweekday/18875953#
import 'moment/locale/fr'
moment.locale('fr')

var myIsoWeekDay = 1; // say our weeks start on tuesday, for monday you would type 1, etc.

var startOfPeriod = moment("2013-06-23T00:00:00");

// how many days do we have to substract?
var daysToSubtract = moment(startOfPeriod).isoWeekday() >= myIsoWeekDay ?
    moment(startOfPeriod).isoWeekday() - myIsoWeekDay :
    7 + moment(startOfPeriod).isoWeekday() - myIsoWeekDay;

// subtract days from start of period
var begin = moment(startOfPeriod).subtract('d', daysToSubtract);

    // We begin on the start of the first week.
    // Mon Tues Wed Thur Fri Sat Sun
    // 20  21   22  23   24  25  26
    begin = moment(startOfPeriod).isoWeekday(1);

You save me lot of time!

I agree, Monday is definitely the start of the week, not Sunday :)
Glad I could help.


cask: audit for correct signing of pkg installers

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

This should extend our auditing to the last remaining signed artifact

Review period will end on 2023-02-22 at 15:50:17 UTC.

Thanks again @SMillerDev!

Review period skipped due to critical label.


Fix the example in the zip_dicts doc-string

The doc-string currently says zip_dicts() returns tuples of the form (key, val1, val2, ...), but it actually returns tuples of the form (key, (val1, val2, ...)).

Thanks


Do not create jobs for closed branches in mercurial

Hi,
I am running jenkins-makejobs-hg using the basic instructions, but it seems to be creating new jobs for branches that are already closed. I am also running multiple instances of jenkins-makejobs-hg so I am setting cleanup : false.  Is there a way to configure it such that it only creates jobs for mercurial branches that are not closed?
Thank you so much!

Hello @qatesterforever,
I'm afraid this is the only available behaviour at the moment. Listing only open branches is easy to do with a local repository, but I haven't found a way to do it with remote mercurial repositories. As soon as I figure it out, I'll add something like a list-closed: true to the config file.
In the meantime, you can just remove the -c flag from hg.py/hg_branch_iter_local() if you're using a local repository.
Kind regards,
Georgi

Ok great thank you for your quick response.  I'll try your recommendation with a local repo as soon as I can and post my findings.

No problem. I added the list-closed option in 0f92ba46cf0c3505e550903a6f2919cbea231d4a, with a warning that it works only for local repositories.

I upgraded and set the list-closed=false and it is still processing closed branches.
These are my settings:
repo: file:///var/lib/jenkins/<my_repo>
#-----------------------------------------------------------------------------
Process closed branches. Note that this works only for local repositories at
the moment. Defaults to 'true'.
list-closed: false

Actually I take my last comment back.  I was using the wrong repo setting format.  Once I set my repo setting like this "repo: /var/lib/jenkins/<my_repo>" the list-closed option was respected.
Thank you for the fix!

I'm glad it works.


upgrade: ignore not found error in es instance deletion

Signed-off-by: Jeeva Kandasamy<EMAIL_ADDRESS>Which problem is this PR solving?

Fixes: #1916

Short description of the changes

ignores resource not found error

Is this PR related to the changes done in #1913?

@iblancasa yes, thanks! I close this


Firefox Compatibility

General Information

[x] Bug
[ ] Improvement
[ ] Feature
[ ] Other

Description
Wasm-worker won't start in Firefox. Shows error messages.

Steps to reproduce

Clone this example repo to local
Run yarn
Run yarn run serve to start server
Open Firefox and open url http://localhost:1234
Press F12 to see the error messages

Versions

wasm-worker: 0.3.1

Hi @togekk,
thank you for opening this issue with the example repo and for your intereste in this project. I really appreciate it! 😄
I've just published a new version of wasm-worker that solves this problem. Just try to update to version 0.3.2.
Let me know if it works fine and I can close this issue!

Everything looks perfect now! Thanks :D


removePathAccents not work for some characters đ

What version of Hugo are you using (hugo version)?

hugo v0.119.0

Does this issue reproduce with the latest release?
Characters "đ" are not changed to "d" if removePathAccents: true and urlize tags.

The character đ does not have a path accent; it is not a composite character. You want transliteration.
Closing as duplicate of https://github.com/gohugoio/hugo/issues/9134.

transliteratePaths = true
Characters "đ" are not changed to "d" if transliteratePaths : true and urlize tags.
DefaultContentLanguage = "vi"

@dhngroup
#9134 is a proposal; it has not been implemented. That's why the issue is open.


Suggestion for an additional Light Theme

I like to have the color scheme to be light but the workspace itself should be dark.
Here is a screenshot from my current setup of Material Theme Light for color scheme and Material Theme (normal) for statusbar/activitybar.

Material Theme provide a full-ui experience as the original one for Sublime Text. You can override the workbench colors by yourself with the settings. Check this reference:
https://code.visualstudio.com/docs/getstarted/theme-color-reference


redirect_uri is ignored

I have a small issue. I have developed a Slack bot using BotKit and it was working fine
Now suddenly it does not accept any new team. From my investigation, i can see that whenever I remove the redirect_uri from my "add slack" button uri it start to work and accept new teams normally. But when I return the redirect_uri back in my url it does not do anything.
I checked my Slack bot application configuration and I can see that the redirect_uri is configured there and accessible
Here is what happens in details:

I click on "Add Slack" button: https://slack.com/oauth/authorize?&client_id=1111.222&scope=bot&state=dXNlcklkLjE0M&redirect_uri=http://www.google.com/
I get the Add bot screen from Slack, I click on Authorize button
I get a success code and I can see that the redirect URI that I have specified is loaded in the browser.
When I check my bot logs on the server, I can see that the "create_bot" event was not captured and no slack team.
Now if I try to go through this process again with removing the redirect_uri like this: https://slack.com/oauth/authorize?&client_id=1111.222&scope=bot&state=dXNlcklkLjE0M i start to see that the create_bot event is created and a new slack team is added successfully.

I am not sure what is the problem with the redirect_uri.
I have update botkit to version 0.5.8 and previously it was 0.5.2. Above behavior happens on both versions.
Any thoughts?

By the way, I have tried to encode the URI as well. Still the same behavior


[HOLD for payment 2023-09-06] [$1000] Android - Error attempting to download an attachment

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open a random report and send an attachment (image, video, etc).
If it's an image, click on the image, and when the image opens in full view, click on the download button. If it's a video or a different type of attachment, directly click the download button.
Observe the error, and the attachment doesn't download.

Expected Result:
The attachment downloads successfully to the device without an error.
Actual Result:
An error appears, and the attachment does not get downloaded to device.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: v1.3.55-4
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/115492554/a807a33e-08c6-43ab-ba13-12a97ac5bba5
https://github.com/Expensify/App/assets/115492554/0b03a8dc-2777-46d2-9d32-118275e6ee1f
Expensify/Expensify Issue URL:
Issue reported by: @NajiNazzal
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691506774751679
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ea72aefb3af1826d
Upwork Job ID:<PHONE_NUMBER>381872128
Last Price Increase: 2023-08-18
Automatic offers:

dukenv0307 | Contributor | 26261011

Confirmed in browserstack

not overdue - I'm reviewing proposals right now

I wasn't able to reproduce this issue - I've tried Pixel 5 with Android 11 and Pixel 6 Pro with Android 12 (both emulators). On what devices did you test it?

@burczu I used Samsung M 52/ Android 13 and it's still reproducible for me
https://github.com/Expensify/App/assets/115492554/b97b9574-fd18-432c-aa52-53817637b5fd

@burczu I think it happens on samsung phones which you can't emulate on andriod studio

Thanks @izarutskaya and @rayane-djouah - I'll give your configs a try.

Ok, I was able to reproduce it with Pixel 3a with Android API 34, Android 14 as @rayane-djouah suggested. I'll try with Android 13 too, to dispel @AmjedNazzal doubts. Thanks

Hmm... @AmjedNazzal was right here - it is not reproducible on Pixel 3a with Android 13 🤔 I've also tried on Galaxy Nexus with Android 13 which is available in Android Studio and it is also not reproducible...
@garrettmknight I've wrote that you've confirmed it on BrowserStack - on what device and with which Android?

@burczu I don't think the galaxy nexus would be helpful here. If I'm to guess, the issue is probably occurring because of samsung one ui since it's involved in apps interactions with the native system. We should probably run and test dev on physical samsung phones.

Tested on a Galaxy S22 v12.0 in browserstack.

@aimane-chnaif Yes, thank you - I think your help will be invaluable here. Would you like to just take it over from me?

Thanks, makes sense to me! 👍

Please use this to filter
https://stackoverflow.com/a/64021421

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[x]  [@burczu] The PR that introduced the bug has been identified. Link to the PR: n/a
[x]  [@burczu] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: n/a
[x]  [@burczu] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: n/a
[x]  [@burczu] Determine if we should create a regression test for this bug.
[x]  [@burczu] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[ ]  [@garrettmknight] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

Payment tomorrow!

Summary of payments:

urgency bonus?
Reporter: @NajiNazzal - $250
Contributor: @dukenv0307  - $1500 paid via Upwork
Contributor+: N/A

Upwork Job: https://www.upwork.com/jobs/~01ea72aefb3af1826d

@NajiNazzal I just sent you an offer in Upwork. Accept and I'll pay this out.

Paid and done!

Ah, missed that here. Let me spin up a contract, but in the future, make sure you're assigned to the issue!

Offer sent: https://www.upwork.com/nx/wm/pre-hire/c/8577561/offer/26607572

Looks like it was accepted, closing this out!

cc


More lenient handling of empty Maven modules

:scroll: Description
Maven allows for empty modules to exist, e.g. you can have a Maven module without any Java sources in it.
This is especially common in multi-module projects, where the root module has no sources at all, but only contains children modules; thus the root module does not contain the src/main/java directory.
Our use case
Maven supports inheritance of plugins, that is in multi-module project you can declare a plugin (using <plugins><plugin> .... </plugins>) in the root pom.xml and then this definition will be inherited by all children modules. This would allow us to declare the Sentry plugin only once in the root pom.xml, and have it be inherited in all children.
However, this does not work, because our root pom.xml is an empty module without Java sources, and currently Sentry plugin fails in these circumstances.
:bulb: Motivation and Context
Allow more convenient use of Sentry plugin in multi-module Maven deployments.
:green_heart: How did you test it?
🔧 Manually tested -> works as expected with a multi-module projects
:pencil: Checklist

[ ] I reviewed the submitted code
[ ] I added tests to verify the changes
[ ] I updated the docs if needed
[x] No breaking changes

:crystal_ball: Next steps

Thanks for the PR @nikita2206 I'm still occupied with preparing another release of the Java SDK but am planning to take a look at this PR soon - sorry for the wait.

Thank you all!


CP-Original to CP-Sat conversion

Hi,
I've just started with CP and CP SAT development. I am trying to convert crew.cs example from CP to CP-SAT. I understand CP model, but have problems with CP-SAT:
// this is classic CP
// number of working persons
IntVar[] nw = new IntVar[num_persons];
for(int p = 0; p < num_persons; p++) {
IntVar[] tmp = new IntVar[num_flights];
for(int f = 0; f < num_flights; f++) {
tmp[f] = crew[f,p];
}
nw[p] = tmp.Sum() > 0;
}
solver.Add(nw.Sum() == num_working);
In CP CP.IntVar is easily assignable from expression: nw[p] = tmp.Sum() > 0;
In CP-SAT I can't do that since can't convert BoundIntegerExpression to Sat.IntVar.
How should I approach this?

https://github.com/google/or-tools/blob/stable/ortools/sat/doc/channeling.md
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 8 avr. 2019 à 20:36, sprytnylisek<EMAIL_ADDRESS>a
écrit :

Hi,
I've just started with CP and CP SAT development. I am trying to convert
crew.cs example from CP to CP-SAT. I understand CP model, but have problems
with CP-SAT:
// this is classic CP
// number of working persons
IntVar[] nw = new IntVar[num_persons];
for(int p = 0; p < num_persons; p++) {
IntVar[] tmp = new IntVar[num_flights];
for(int f = 0; f < num_flights; f++) {
tmp[f] = crew[f,p];
}
nw[p] = tmp.Sum() > 0;
}
solver.Add(nw.Sum() == num_working);
In CP CP.IntVar is easily assignable from expression: nw[p] = tmp.Sum() >
0;
In CP-SAT I can't do that since can't convert BoundIntegerExpression to
Sat.IntVar.
How should I approach this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1178, or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17Y4T3BCHynqrQCZc871fiCC_YIoYks5ve4wygaJpZM4ci10I
.

Thank you


Add this repo to chriskempson/base16

Thanks for the config in this repo! I just used it and can finally see all the text on the status bar again.
Is there any reason this repo is not listed on https://github.com/chriskempson/base16 yet?  Listing it would make it easier to find. I'm happy to raise the PR for you if you'd like.

@Nielius the community wants to move the base16* projects forward, but the initial creator of base16 has acted in a way that shows they aren't interested: https://github.com/tinted-theming/home/issues/51, so the new home, which this project is listed on, is https://github.com/tinted-theming/home


Does not start on Mac Os Catalina 10.15.7

Azure Data Studio Version:
OS Version:
Mac Os 10.15.7
Steps to Reproduce:

1.Download
2.Double click Azure Data Studio - Insiders.app

Does this issue occur when all extensions are disabled?: Yes/No

Process:               Electron [40112]
Path:                  /Applications/azure/*/Azure Data Studio - Insiders.app/Contents/MacOS/Electron
Identifier:            com.azuredatastudio.oss.insiders
Version:               1.40.0-insider (1.40.0-insider)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Electron [40112]
User ID:               501
Date/Time:             2022-10-03 15:09:24.857 -0400
OS Version:            Mac OS X 10.15.7 (19H15)
Report Version:        12
Anonymous UUID:        4B34D88E-D53E-2788-7EEF-F0428653CC65
Sleep/Wake UUID:       E5F4D11D-D4BB-4D58-A9D1-0783201892D2
Time Awake Since Boot: 200000 seconds
Time Since Wake:       16000 seconds
System Integrity Protection: enabled
Crashed Thread:        0
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
Termination Reason:    DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
Referenced from: /Applications/azure/*/Azure Data Studio - Insiders.app/Contents/MacOS/Electron
Reason: no suitable image found.  Did find:
/Applications/azure/datastudio/Azure Data Studio - Insiders.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
/Applications/azure/datastudio/Azure Data Studio - Insiders.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1
Binary Images:
0x106a14000 -        0x106a63fcf +com.azuredatastudio.oss.insiders (1.40.0-insider - 1.40.0-insider)  /Applications/azure/*/Azure Data Studio - Insiders.app/Contents/MacOS/Electron
0x10eec7000 -        0x10ef58f47  dyld (750.6) <1D318D60-C9B0-3511-BE9C-82AFD2EF930D> /usr/lib/dyld
Model: MacBookPro11,5, BootROM <IP_ADDRESS>.0, 4 processors, Quad-Core Intel Core i7, 2.8 GHz, 16 GB, SMC 2.30f2
Graphics: kHW_AMDRadeonR9M370XItem, AMD Radeon R9 M370X, spdisplays_pcie_device, 2 GB
Graphics: kHW_IntelIrisProItem, Intel Iris Pro, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (<IP_ADDRESS> AirPortDriverBrcmNIC-1615.2)
Bluetooth: Version 7.0.6f7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM1024G, 1 TB
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller

@mchern do you know if this is a new error from a recent build?  I'm not sure the team has a machine with this particular macOS version.  I confirmed the latest build is working with the current macOS version.
@alanrenmsft any ideas about this issue?

@mchern I found a similar issue in VSCode repository: https://github.com/microsoft/vscode/issues/110761, how did you exactract the azure data studio archive? does it help if you follow the instructions in the vscode issue?

closing since there haven't been any other reports of this.