Window swallowing seem to stop working on  v0.41.1.

Bug or Regression?
Regression
System Info and Version
 System/Version info
Hyprland, built from branch  at commit 9e781040d9067c2711ec2e9f5b47b76ef70762b3  (props: bump version to 0.41.1).
Date: Thu Jun 13 09:54:06 2024
Tag: v0.41.1, commits: 4818

flags: (if any)

System Information:
System name: Linux
Node name: karim-pc
Release: 6.9.4-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Wed, 12 Jun 2024 20:17:17 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 510 [8086:1906] (rev 07) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/karim/.config/hypr/hyprland.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,1366x768@60.05900,0x0,1
# monitor=DP-2,1366x768@59.79000,1366x0,1

# workspace=1, monitor:eDP-1,default:true
# workspace=2, monitor:eDP-1
# workspace=3, monitor:eDP-1
# workspace=4, monitor:eDP-1
# workspace=5, monitor:eDP-1

# workspace=6, monitor:DP-2,default:true
# workspace=7, monitor:DP-2
# workspace=8, monitor:DP-2
# workspace=9, monitor:DP-2
# workspace=10, monitor:DP-2

# Window Rules
windowrule = workspace 1 silent,firefox
windowrule = workspace 10 silent,workspace10
windowrule = workspace special silent,^(Neorg)$

# custom classes to attach window to workspace
windowrulev2 = workspace 3 silent,class:^(wp-3)$
windowrulev2 = workspace 4 silent,class:^(wp-4)$
windowrulev2 = workspace 5 silent,class:^(wp-5)$
windowrulev2 = workspace 6 silent,class:^(wp-6)$

# firefox Picture-in-Picture
windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = pin,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = suppressevent[fullscreen],class:^(firefox)$,title:^(Picture-in-Picture)$
# firefox figma micro indicator
windowrulev2 = suppressevent[fullscreen],class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
windowrulev2 = float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$

windowrulev2 = float,class:^(Neorg)$

# Telegram media viewer
windowrulev2 = fullscreen,class:^(org.telegram.desktop)$,title:^(Media viewer)$
windowrulev2 = workspace unset,class:^(org.telegram.desktop)$,title:^(Media viewer)$
windowrulev2 = monitor 1,class:^(org.telegram.desktop)$,title:^(Media viewer)$

# common modals
windowrule = float,title:^(Open)$
windowrule = float,title:^(Choose Files)$
windowrule = float,title:^(Save As)$
windowrule = float,title:^(Confirm to replace files)$
windowrule = float,title:^(File Operation Progress)$
windowrulev2 = float,class:^(google-chrome)$,title:^(Open Files)$
windowrulev2 = float,class:^(google-chrome)$,title:^(Open File)$

windowrulev2 = dimaround,class:^(jetbrains-phpstorm)$,title:^(License )
windowrulev2 = float,class:^(jetbrains-phpstorm)$,title:^(License )
windowrulev2 = center,class:^(jetbrains-phpstorm)$,title:^(License )

# window rules to prevent screen from turning off
windowrule = idleinhibit fullscreen,firefox
windowrule = idleinhibit fullscreen,mpv

# Execute apps at launch
exec-once = hyprpaper
exec-once = hypridle
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = dunst
exec-once = ~/.config/hypr/xdg.sh >> .cache/xdg.sh.log 2>&1
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = ~/.config/hypr/start-in-tray.sh
exec-once = wl-paste -t text --watch clipman store --no-persist
exec-once = foot -a "Neorg" -D "$HOME/Documents/notes/" -e nvim -c "Neorg index"
# exec-once = syncthing --no-browser

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
  kb_layout = us,ara
  kb_variant =
  kb_model =
  kb_options = grp:alt_shift_toggle,caps:swapescape
  kb_rules =

  follow_mouse = 1

  touchpad {
    natural_scroll = true
  }

  sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

general {
  # See https://wiki.hyprland.org/Configuring/Variables/ for more

  gaps_in = 0
  gaps_out = 0
  border_size = 2
  col.active_border = rgba(458588ff) rgba(83a598ff) 45deg
  col.inactive_border = rgba(1d2021ff)

  layout = master
}

decoration {
  # See https://wiki.hyprland.org/Configuring/Variables/ for more

  rounding = 0

  drop_shadow = false
  shadow_range = 4
  shadow_render_power = 3
  col.shadow = rgba(1a1a1aee)

  blur {
    enabled = false
  }
}

animations {
  first_launch_animation = false
  enabled = false
  animation=global,1,5,default
}

dwindle {
  # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
  pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  preserve_split = true # you probably want this
  no_gaps_when_only = 1
}

master {
  # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
  orientation = right
  mfact = 0.5
  no_gaps_when_only = 1
  new_on_top = true
}

gestures {
  # See https://wiki.hyprland.org/Configuring/Variables/ for more
  workspace_swipe = on
  workspace_swipe_invert = true
  workspace_swipe_cancel_ratio = 0.1
}

misc {
  disable_hyprland_logo = true
  disable_splash_rendering = true
  enable_swallow = true
  swallow_regex = ^(yazi)$
  allow_session_lock_restore = true
  new_window_takes_over_fullscreen = 2
}

# Bindings
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

bind = $mainMod, Return, exec, foot
bind = $mainMod, C, killactive,
bind = $mainMod, Space, togglefloating,
bind = $mainMod, D, exec, bemenu-run -p "Run:"
bind = $mainMod, F, fullscreen
bind = $mainMod, V, fullscreen ,1

# bind = $mainMod, B, pseudo, # dwindle
# bind = $mainMod SHIFT, J, togglesplit, # dwindle

bind = $mainMod ,B, exec, pkill -USR1 waybar

# Move focus
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d

bind = $mainMod ALT, H, movewindow, l
bind = $mainMod ALT, L, movewindow, r
bind = $mainMod ALT, K, movewindow, u
bind = $mainMod ALT, J, movewindow, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

bind=$mainMod SHIFT,S,movetoworkspace,special
bind=$mainMod,S,togglespecialworkspace,

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# notification control
binde = $mainMod, o, exec, dunstctl history-pop
binde = $mainMod, i, exec, dunstctl close

# next workspace on monitor
bind = $mainMod, n, workspace, m+1
bind = $mainMod, p, workspace, m-1

# lock
bind = CONTROL_ALT, L, exec, loginctl lock-session

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

bind = SHIFT, Print, exec, grimblast copysave screen
bind = , Print, exec, grimblast copysave area
bind = $mainMod SHIFT, C, exec, clipman pick -t bemenu

bind = $mainMod, E, exec, foot -a "yazi" -T "yazi" -e "yazi"

# fn buttons
binde=,XF86AudioLowerVolume,  exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
binde=,XF86AudioRaiseVolume,  exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -l 1.0
bind =,XF86AudioMute,         exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind =,XF86AudioMicMute,      exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
binde=,XF86MonBrightnessUp,   exec, brightnessctl s 10%+
binde=,XF86MonBrightnessDown, exec, brightnessctl s 10%-
bind =,XF86AudioPlay,         exec, playerctl play-pause
bind =,XF86AudioPrev,         exec, playerctl previous
bind =,XF86AudioNext,         exec, playerctl next

# mouse side buttons
bind=,mouse:275,exec,wl-copy $(wl-paste -p) # copy selected text
bind=,mouse:276,exec,wtype -M ctrl -M shift v -m ctrl -m shift # paste by Ctrl+Shift+v

# resize submap (mode)
bind=$mainMod,R,submap,Resize
submap=Resize
binde=,L,resizeactive,40 0
binde=,H,resizeactive,-40 0
binde=,K,resizeactive,0 -40
binde=,J,resizeactive,0 40
bind=,escape,submap,reset
bind=,Return,submap,reset
submap=reset

# exit mode
bind=$mainMod,escape,exec,hyprctl dispatch submap Logout; notify-send -a Hyprland -t 3500 $'\ne - exit\n\nr - reboot\n\ns - suspend\n\nS - poweroff\n\nl - lock' -i /usr/share/icons/breeze-dark/actions/32/system-suspend.svg
submap=Logout
bindr =,E,exec,~/.config/hypr/exit.sh &
bindr =,S,exec,hyprctl dispatch submap reset && systemctl suspend
bindr =,R,exec,systemctl reboot
bindr =SHIFT,S,exec,systemctl poweroff -i
bindr =,L,exec,hyprctl dispatch submap reset && loginctl lock-session
bindr=,escape,submap,reset
bind=,Return,submap,reset
submap=reset

======Config-End========

Description
Since  i updated to 0.41 window swallowing seem to stop working. I use this to open yazi with the yazi as the app id `foot -a "yazi" -T "yazi" -e "yazi". however the terminal won't swallow. in the earlier versions it was working fine.
How to reproduce

enable swallowing with a regex (in my case i use ^(yazi)$).
Open a window with a matching id.
see that the window terminal wont swallow.

Crash reports, logs, images, videos
No response

https://github.com/hyprwm/Hyprland/issues/5487

Good work guys thatnks. i'll close it as complete.


Shapefile path added through add_geometry not read when no rasters are provided

Description

This is an odd one: If the exclusion container only has geometries specified as a string but no rasters through add_raster, the shapefiles are not read in.
Expected Behavior

excluder.add_geometry(str) should read file str into geopandas dataframe/series
Actual Behavior

Somewhere iteration over the string characters (see error message) not list of paths.
Not ok:
excluder = atlite.ExclusionContainer(crs=3035, res=250)
shapes = regions.geometry.to_crs(excluder.crs)
excluder.add_geometry(NATURA_SHP)
masked, transform = shape_availability(shapes, excluder)

Also not ok:
excluder = atlite.ExclusionContainer(crs=3035, res=250)
shapes = regions.geometry.to_crs(excluder.crs)
excluder.add_geometry(NATURA_SHP)
excluder.add_geometry(EEZ, invert=True)
masked, transform = shape_availability(shapes, excluder)

Ok:
excluder = atlite.ExclusionContainer(crs=3035, res=250)
shapes = regions.geometry.to_crs(excluder.crs)
excluder.add_geometry(NATURA_SHP)
excluder.add_raster(CORINE, codes=[1], invert=True, crs=3035)
masked, transform = shape_availability(shapes, excluder)

Error Message

/home/fneum/miniconda3/envs/pypsa-eur/lib/python3.9/site-packages/rasterio/features.py:318: ShapeSkipWarning: Invalid or empty shape . at index 0 will not be rasterized.
  warnings.warn('Invalid or empty shape {} at index {} will not be rasterized.'.format(geom, index), ShapeSkipWarning)
/home/fneum/miniconda3/envs/pypsa-eur/lib/python3.9/site-packages/rasterio/features.py:318: ShapeSkipWarning: Invalid or empty shape . at index 1 will not be rasterized.
  warnings.warn('Invalid or empty shape {} at index {} will not be rasterized.'.format(geom, index), ShapeSkipWarning)
/home/fneum/miniconda3/envs/pypsa-eur/lib/python3.9/site-packages/rasterio/features.py:318: ShapeSkipWarning: Invalid or empty shape / at index 2 will not be rasterized.
  warnings.warn('Invalid or empty shape {} at index {} will not be rasterized.'.format(geom, index), ShapeSkipWarning)
/home/fneum/miniconda3/envs/pypsa-eur/lib/python3.9/site-packages/rasterio/features.py:318: ShapeSkipWarning: Invalid or empty shape . at index 3 will not be rasterized.
  warnings.warn('Invalid or empty shape {} at index {} will not be rasterized.'.format(geom, index), ShapeSkipWarning)
/home/fneum/miniconda3/envs/pypsa-eur/lib/python3.9/site-packages/rasterio/features.py:318: ShapeSkipWarning: Invalid or empty shape . at index 4 will not be rasterized.
  warnings.warn('Invalid or empty shape {} at index {} will not be rasterized.'.format(geom, index), ShapeSkipWarning)
/home/fneum/miniconda3/envs/pypsa-eur/lib/python3.9/site-packages/rasterio/features.py:318: ShapeSkipWarning: Invalid or empty shape / at index 5 will not be rasterized.

Your Environment

The atlite version used:
How you installed atlite (conda, pip or github):
Operating System:
My environment:
(output of `conda list`)
    ```

    ```

Can cofirm. Fixing it now.


Error running dbt docs generate with Federated Query database

I'm trying to run dbt docs generate with Federated Query data using the Redshift Connector and it returns the following error:
[0m15:45:16.272788 [debug] [ThreadPool]: Acquiring new athena connection 'awsdatacatalog.information_schema'
[0m15:45:16.273878 [debug] [ThreadPool]: Acquiring new athena connection 'redshiftCatalog_dev.information_schema'
[0m15:45:16.274842 [debug] [ThreadPool]: Opening a new connection, currently in state init
[0m15:45:16.275793 [debug] [ThreadPool]: Opening a new connection, currently in state init
[0m15:45:17.416799 [debug] [ThreadPool]: On redshiftCatalog_dev.information_schema: Close
[0m15:45:17.419386 [warn ] [MainThread]: Encountered an error while generating catalog: 'catalog-id'
[0m15:45:20.555092 [debug] [ThreadPool]: On awsdatacatalog.information_schema: Close
[0m15:45:20.707223 [error] [MainThread]: dbt encountered 1 failure while writing the catalog
[0m15:45:20.709353 [info ] [MainThread]: Catalog written to /app/target/catalog.json

I'm aware of #247 but believe this is an issue with using non-glue data catalogs.
The catalog file and html are generated and aparently look fine, but the error is returned nonetheless.

👋🏻 Hello
I will have to check I am not sure Federated Query databases are supported for the moment. I know that shared glue catalogs are supported. We will have to check.


Optimising css and better organisation throughout the app

We should not write CSS using style={}
We could either write CSS in js using a third-party library like emotion-js or styled-components
or we can write traditional CSS using .css or .scss file. for this approach, we can have a better folder structure like
components/
DispalyCard

displaycard.js
displaycard.css
Footer
footer.js
footer.css

@garimasingh128 can you pls let me know what CSS approach we need in this project?

@garimasingh128 can you pls let me know what CSS approach we need in this project?

You need to separate the CSS defined in the components into seperate JS and CSS files.
For ex:
you will create a folder in components:
DisplayCard
|- DisplayCard.js
|- DisplayCard.css
Like this for every component.

You need to separate the CSS defined in the components into seperate JS and CSS files.
For ex:
you will create a folder in components:
DisplayCard
|- DisplayCard.js
|- DisplayCard.css
Like this for every component.

Can I work on this ? I'm quite new to the open source project but I will try my best 😀

Can I work on this ? I'm quite new to the open source project but I will try my best 😀

All the best buddy

All the best buddy

Please review my PR 😄

Please review my PR 😄

Please review my PR #113

Please review my PR #113


Pin networkx <3 for rubinenv v4.0.5

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Gotta undo the fortran version bumps from the rerender.  (We shouldn't rerender v4...)

Reverted Fortran versions


Ember 2.12.0 testing

I just upgraded an app to 2.12.0 (from 2.11.3) and now all of my tests that cover services using ember-storage are failing. However, the addon still works, there just seems to be an incompatibility with ember's test practices.
The real question: is this addon still supported, or is it officially no longer maintained? I can make assumptions by the lack of updates, but I guess I would like an official message.

I'm still using this addon but I haven't upgraded to 2.12 yet nor encountered bugs that need fixed so that's why there's been no activity. I'm happy to accept patches or give collaborator access to you if you like.

@jerel ok great! I'm actually looking into it now. I think the solution will be to only run JSON.stringify if the object to be saved is a string. It looks like the new version of ember is trying to pass in a default container, which is an object, and causes stringify fail.
I was thinking just a simple test on setUnknownProperty, like this:
setUnknownProperty(k, value) {
    let key = this._prefix(k),
        type = this.get('type');

    if(Ember.isNone(value)) {
      delete storage[type][key];
    } else if(typeof(value) === 'string'){
      storage[type][key] = JSON.stringify(value);
    }
    this.notifyPropertyChange(k);
    return value;
  },


github sync

test(Core): Add a test that shows that "expression has changed" works.

😢 https://travis-ci.org/dart-lang/angular/jobs/335893845#L710


Fix to github action

Expanded the github action to run on pull requests.

Looks good to me, thanks!


Develop script TestPageLabel.cs and UnnecessarySymbolsValidation.cs

Testcase:
Unnecessary symbols - Develop script TestPageLabel.cs and UnnecessarySymbolsValidation.cs.
Design:

Create a browser instance;
Fetch all unnecessary symbols;
Fetch all p tags content to store in a list. Use regular expressions to find matching target symbols;
Fetch all table content to store in a list. Use regular expressions to find the occurrence of unnecessary symbols between two closing tags.
Fetch all code content to store in a list. Use regular expressions to find matching target symbols.(This is a newly added method that searches for unnecessary symbols in the "code" contents.）
Log the error message in the report, need engineer's manual check.

Result:
link1: https://learn.microsoft.com/en-us/python/api/azure-functions-durable/azure.durable_functions.models.tokensource.tokensource?view=azure-python

link2: https://learn.microsoft.com/en-us/python/api/azure-functions-durable/azure.durable_functions.tasks?view=azure-python#azure-durable-functions-tasks-call-sub-orchestrator-task

link3: https://learn.microsoft.com/en-us/python/api/azure-eventgrid/azure.eventgrid.models.acknowledgeresult?view=azure-python

@zedy-wj and @v-xuto for notification.

@zedy-wj I have updated, please review.

@v-xuto - Design has changed:

Fetch all code content to store in a list. Use regular expressions to find matching target symbols.(This is a newly added method that searches for unnecessary symbols in the "code" contents.）

Please review it, thanks.


#6784: [1.10.x] Fixes distributed lock record creation issue if already exists.

Fixes #6784

@sebastienros
Done with only one flush() if more than one record is deleted (normally not normal).
I've seen another little use case, the lock is based on the machine name, so if a node acquire a lock for e.g 30 minutes, then stops running, then restarts with another machine name, then itself and all other nodes have to wait.
Maybe not so important, but i had this use case on my local where after restarting the machine name has been changed: e.g EVOLUTIVE:7384, then EVOLUTIVE:9256.
Best.

But maybe not so important because this is the goal to delete records which are expired, because thay have not been deleted by their owners...
Maybe good when safely terminate the app to delete lock records of the current machine.


[The Grid] Misspelling in documentation

How to reproduce this bug:

Step one
Read the docs (:

What should happen:
Collapse/Uncollapse Rows
The .collapse class lets you remove column gutters (padding).
There are times when you won't want each media query to be collapsed or uncollapsed. In this case, use the media query size you want and collapse or uncollapse and add that to your row element. Example shows no gutter at LARGE media size and then adds the gutter to columns at medium.

    Removes gutter at large media query

    Removes gutter at large media query

What happened instead:
Collapse/Uncollapse Rows
The .collapse class lets you remove column gutters (padding).
There are times when you won't want each media query to be collapsed or uncollapsed. In this case, use the media query size you want and collapse or uncollapse and add that to your row element. Example shows no gutter at SMALL media size and then adds the gutter to columns at medium.

    Removes gutter at large media query

    Removes gutter at large media query

Foundation Version(s) you are using:
6.4.3 documentation

Thanks! https://github.com/zurb/foundation-sites/commit/eaa79c89a8c5dc89f8fa1e6916ce5dea6cc55866


Helper: function to access data pids documented by a metadata pid

This issue makes some assumptions about the model that we are going to use to do data quality checks (namely that we'll be starting from a metadata pid). If we are going to use this model we need a way to get a list of data pids for a given metadata pid.
The easiest option is probably a Solr query, eg:
https://arcticdata.io/metacat/d1/mn/v2/query/solr/?q=id:doi\:10.18739/A2TH8BP4V&fl=documents
Function will take the sysmeta from the metadata doc, use the pid and authoritativeMemberNode to construct the query, and return a list of pids

In our "big data" scenarios, where a dataset may contain e.g. a million data files, a 'solr' or other query is likely the only way we'll have to get the full list. When we implement support for non-ORE package membership, we should ahve a paging API for gettting package members and their metadata (which also will be used by the UI for paging through dataset display listings). So, TBD but I think you're heading in the right direction here.

a preliminary version is checked in, get_data_pids(identifier, auth_node). It's basically just a wrapper around a dataone::query call


Change placeholder "Enter your phone number"?

Hi, thanks for your plugin,)
Would be fine to add placeholder and label props for choise, like as https://vuetifyjs.com/ru/components/text-fields

you can just write

Thanks, @ATselikovSnp

Thanks, @ATselikovSnp
You have right, in new plugin version we can change placeholder, I uses old version 1.3.9,
but in new version 2.0 not uses keyboard filter, how it's do that in old version

@VIMHaos what is the "keyboard filter" you are talking about? would you like to give me more details?

Hi, @iamstevendao
Try input text to field not number, in old version this blocked

I still had this error problem, using props placeholder is not working for me..
anyway how to use inputOptions.placeholder in my component ?
Thank you

I still had this error problem, using props placeholder is not working for me..
anyway how to use inputOptions.placeholder in my component ?
Thank you

@fbtwitter Can you reproduce it anywhere?

@fbtwitter Can you reproduce it anywhere?

I still had this problem, where the placholder props won't running reactive as well.. until i tried to refresh the page.
those newer version are great.. hopefully the documentation for trying the new version updated sooner..

I still had this problem, where the placholder props won't running reactive as well.. until i tried to refresh the page.
those newer version are great.. hopefully the documentation for trying the new version updated sooner..

@fbtwitter it should be working on v5.0.3

@fbtwitter it should be working on v5.0.3

@constagorgan the prop is inputOptions.placeholder, not placeholder.

@constagorgan the prop is inputOptions.placeholder, not placeholder.

Thanks for your quick reply @iamstevendao, and please excuse my lack of attention. I didn't notice that the prop name changed in the recent versions.
It works perfectly fine with inputOptions 😃
In case someone else needs more details, I'll leave this here:
<template>
  ...
  <vue-tel-input v-model="..."
                 @onInput="..."
                 :inputOptions="options"">
  </vue-tel-input>
</template>
<script>
  ...
  data() {
    return {
      options: { placeholder: "Some placeholder" }
    }
  }
  ...
</script>

Result:

Thanks for your quick reply @iamstevendao, and please excuse my lack of attention. I didn't notice that the prop name changed in the recent versions.
It works perfectly fine with inputOptions 😃
In case someone else needs more details, I'll leave this here:
<template>
  ...
  <vue-tel-input v-model="..."
                 @onInput="..."
                 :inputOptions="options"">
  </vue-tel-input>
</template>
<script>
  ...
  data() {
    return {
      options: { placeholder: "Some placeholder" }
    }
  }
  ...
</script>

Result:

@constagorgan it's cool ✌

@constagorgan it's cool ✌

@constagorgan  Hi, I try to followed your example but Im getting inputoptions=[object Object ] instead. Thanks.
<vue-tel-input
   :only-countries="codigos_paises"
   :valid-characters-only="true"
   :inputOptions="tel_options"
   enabled-country-code
   @input="onInput"  />

var app = new Vue ({
        el: '#page',
        data: {
                tel_options: {
                        'placeholder': "Ingrese su número de telefóno"
                },
.....

Hi @arieltoledo, sorry for getting back to you just now. In case you're still struggling with this problem:
Could you please try rewriting your JS like:
var app = new Vue ({
  el: '#page',
  data() {
    return {
      tel_options: {
        'placeholder': "Ingrese su número de telefóno"
      }
    }
  }
...

@constagorgan Thanks, changing Vue versión and rewriting the code to worked.

Is there no way to add a red asterisk at the end of the placeholder?


catch exception by const reference

Fix #1845

Can one of the admins verify this patch with one of the following commands:

"jenkins test please" for a one time test run
"ok to test" to accept latest and future commits on this pull request for testing
"add to whitelist" to add the author to the whitelist

ok to test


expose map_rect from math

Summary:
Expose the serial map_rect function defined here and make the parser take care of the special handling of the user function.
Description:
The Stan function will have the signature as defined in the referred issue above. As additional complication we will have to pass the user function (the respective generated functor objected) as template argument to the map_rect function.
Reproducible Steps:
NA
Current Output:
NA
Expected Output:
NA
Additional Information:
Provide any additional information here.
Current Version:
v2.17.0

Thanks for creating the issue and assigning it to me---this bit's easy.


[CI Problem] Build failure

Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking.  You are always welcomed to post on the forum first :smile_cat:
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
Branch/PR Failing
https://github.com/apache/tvm/commit/6ed3ab3e33f8eafa4acaf53b7a671831de7587e9
Jenkins Link
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/main/3609/pipeline
Flakiness
No

same issue as #11862


⚠ ClamAV has degraded performance

In f0698d5, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 85 ms

Resolved: ClamAV performance has improved in f0a4bf9.


Local pull request success status testing

Docs Build status updates of commit f0bf5d3:
:clock10: Pending: waiting for processors (8 builds ahead of you)
:warning: Docs Build is busy, currently there are 8 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

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

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

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.


Calibrating L2/R2 on Jdm-030

Hello,
First of all thanks for this awesome tool that saves us.
I had a couple of JDM 055 boards and one JDM 001 board which I successfully calibrated their L2/R2 in past.
That is why I went ahead and set the device changes as permanent and calibrated the triggers for my JDM 030.
The values got stuck to 0.85 for left and 0.65 for right triggers. No matter how many times I try to calibrate, it gets stuck as like this.
I try to press ever so lightly to increase these values but no matter what I do, even if I don't press the triggers, it just keeps getting stuck to these values. Any suggestions that I can do to fix it?

Were there any issues with the triggers before calibration?  I've had controllers with trigger issues where it was a physical problem.  In my case, the plastic firm with the carbon traces had some of the traces damaged.  Replacement parts are cheap from e.g. MobileSentrix (I think it was about 1 dollar for the part for my controller).

As you have pointed out qwertychouskie, it turned out that it was due to cheap spare parts. I tried swapping them with my other spare parts gamepad and it worked better which in turn I could finish the calibration correctly. It is for jdm 055 therefore didn't fit correctly but it is well enough to point out what is really wrong.
I'll replace the film and rubber contacts anyway.
Interesting part was it was working good before the calibration, after calibration it got stuck with a lover value.
In conclusion
1- Always try temporary calibration first and make it permanent if it succeeds.
2-If the calibration is not working properly, the rubber or contact film might be damaged or low quality.
Thanks a lot.


feat: allow multiple eligibility policies with the same group

Issue #, if available: #39 #196
Description of changes:
Added the functionality to create multiple eligibility policies with the same group.
Technical changes:
V1.1.1: eligibility policies use the groupID as an unique identifier.
Unique identifier is now an uuidv4 instead of the groupID. The newly introduced entityID behaves now as the former unique identifier and references a group used by the eligibility policy.
This implementation is a breaking change as it does not migrate any eligibility policies of an existing deployment into the new data structure.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hit this limitation today with user entity types, and realized the same thing applies for groups too. Would love to see this merged in a future iteration. Even if it is a breaking change, it would make the tool more useful

I do see one issue with the approach in this PR, in that you could have overlapping policies for the same accounts / OUs if the only check is for the UUID. You'd want to prevent two policies for the same user+account combinations. I haven't looked through the code enough yet to see how this is handled when one group has a policy that overlaps with a user's directly assigned policy

Same here, I would love to see this limitation removed.

You'd want to prevent two policies for the same user+account combinations.

I still see a use case for having two policies with the same user(or group)+account combinations: defining different settings to different permission sets.
For instance, I want to set approval to "required" only for the administrator access, but the readonly access can be automatically granted for the same user/group on the same account.

I do see one issue with the approach in this PR, in that you could have overlapping policies for the same accounts / OUs if the only check is for the UUID. You'd want to prevent two policies for the same user+account combinations. I haven't looked through the code enough yet to see how this is handled when one group has a policy that overlaps with a user's directly assigned policy

I'd consider some checks in the frontend when creating a request as affected. For example the calculation in src/components/Request.js::getDuration() might resolve to a wrong value if multiple policies offer the same account id for a request - if i understood the procedure correctly. Really would appreciate someone else have a look at it.
There is no real solution i can think of but have an semi-hidden "advanced settings" tab which allows the user to select a specific policy to be taken into account when requesting access. However, this would require power users to understand the policies...

UPDATE
I wanted to give an update on this pull request.
There is still no timeline for when this feature will be implemented into AWS TEAM. One reason being the breaking change nature of this pull request and the lack of not having a technical migration process implemented within this pull request.

Still interesting

i'd be fine with a breaking change. easy enough to re-create the policies.


RHIROS-715 add contextual filters on log records

Codecov Report
Attention: 18 lines in your changes are missing coverage. Please review.

Files
Coverage Δ

ros/processor/insights_engine_consumer.py
72.64% <100.00%> (+0.71%)
:arrow_up:

ros/processor/inventory_events_consumer.py
44.66% <25.00%> (-1.34%)
:arrow_down:

ros/lib/cw_logging.py
39.13% <25.00%> (-10.87%)
:arrow_down:

:loudspeaker: Thoughts on this report? Let us know!.

@r14chandra - could you please rebase the pull-request?


Fully adversarial training

Before I try it myself, I wanted to ask if you tried training the network without finetuning and starting from scratch with a fully adversarial training. Is that too hard to train? Did you try some other conditional GAN flavors?

Ping @f90

Sorry for the late reply I didn't realise you have to watch your OWN repositories for changes to be messaged to you by mail!
Yes I tried training from scratch, but then you don't get enough stability, at least when you use the normal GAN or other variants that are not super heavily stabilised already. Also training tends to take longer to converge.
In the end I found the Wasserstein GAN to be the most stable, so I figure with a bit of tweaking it should be possible to train it in a fully adversarial way, without needing pretraining or other things (like the guys that did SVSGAN), but still... It can be tricky, be aware! But hey, maybe you get something good working, it's possible since we didn't actually focus on that setting in our paper, we wanted to explore how we can use the GAN for semi-supervised/unsupervised training with unpaired data, so the MSE is a natural solution for the paired data and also stabilises training a lot, so we didn't have to worry so much about GAN stability anymore.
Good luck :)
Daniel


Sub-Grid Retrieval in Python

Hello!
I am using OpenVDB as a back-end for a 3D mapping solution for Robotics. I am using the Python API for this first prototype (following the docs here). I can successfully import the modules, insert data into grids, and so on.
However, one of my current requirements is that I am able to retrieve a sub-grid to feed to other modules via some inter-process communication facilities we're using. At this point, I am doing this in a wildly, abhorrently inefficient manner that looks something like this:
old_accessor = grid.getAccessor()
new_acccessor = new_grid.getAccessor()

for item in grid.iterOnValues():
	i, j, k = item.min
	val = item.value
	if point_min[0] < i < point_max[0] and point_min[1] < j < point_max[1] and point_min[2] < k < point_max[2]:
		new_acccessor.setValueOn((i,j,k), val)

return new_grid

As you can imagine, the run times of this are unacceptable.
Now, the issue:

Is there any facilities, like the tools mentioned in the documentation that are only available in C++, to tackle this problem, that are available in the Python API?
If not, where should I start in order to implement them/make them available from the C++ API (and thus contribute a bit back to the project)?

All the best, and thanks in advance,
Gonçalo.

Hello @pcucka!
Thanks for the tip. I re-implemented my "clipping" function, which now looks something like this
dims = [point_max[i]-point_min[i] for i, _ in enumerate(point_min)]
array = np.ndarray(dims, float)
array.fill(new_grid.background)
grid.copyToArray(array, ijk=point_min)

new_grid.copyFromArray(array, ijk=point_min)

return new_grid

I still need to run some tests to make sure I'm not corrupting or losing data on the way, but my preliminary results are showing that not only is the data okay, but that a speedup of 1000 times (!) is consistently achieved (across a few thousand runs) for float grids with some 15 million active voxels.
Thank you very much for the prompt reply! I'll certainly pay more attention to the "working with arrays" section on the docs :)


Interesting behavior with metadata queries

Interesting Behavior
Notice the results produced by the following snippet.
itouch foo
imeta add -d foo alice jones
imeta add -C . bob jones
imeta add -C . job developer
iquery "select META_COLL_ATTR_NAME" | jq
[
  [
    "bob"
  ],
  [
    "job"
  ],
  [
    ""    <------ Look suspicious?
  ]
]

Here's the SQL that produced this result.
SELECT DISTINCT
    mmc.meta_attr_name
FROM
    R_COLL_MAIN t0
    INNER JOIN R_OBJT_ACCESS pcoa ON t0.coll_id = pcoa.object_id
    INNER JOIN R_TOKN_MAIN pct ON pcoa.access_type_id = pct.token_id
    INNER JOIN R_USER_MAIN pcu ON pcoa.user_id = pcu.user_id
    LEFT JOIN R_OBJT_METAMAP ommc ON t0.coll_id = ommc.object_id
    LEFT JOIN R_META_MAIN mmc ON ommc.meta_id = mmc.meta_id
WHERE
    pcoa.access_type_id >= 1000 FETCH FIRST 16 ROWS ONLY

Turns out the results are correct due to the left joins. This query will produce empty strings for ALL collections that do NOT have metadata attached to them.
Solution
To exclude these rows, you must filter the results using a condition like so.
iquery "select META_COLL_ATTR_NAME where META_COLL_ATTR_NAME is not null" | jq
[
  [
    "bob"
  ],
  [
    "job"
  ]
]

Thoughts
This was surprising at first glance, but the behavior is explained due to the SQL.
This does not limit a user's ability to use GenQuery2, it simply means users have to get use to the behavior and learn how to use it appropriately. Also, documentation will help with understanding.
Overall, the behavior is acceptable IMO.

yes, this feels like a documentation exercise.    with the increased expressiveness of genquery2, this feels acceptable to me too.
think of a section name to describe this 'new' behavior...

We can also add options that instruct the parser to use inner joins. Inner joins remove the need to add a filtering condition, but at the cost of only allowing users to query metadata for one type of entity in iRODS.

One of the greatest limitations of GenQuery1 is the lack of ability to return rows that don't match ALL the things requested (and lack of OR support... which is related...).    This documentation and filtering capabilities open up more possibilities, but users will need to have somewhere to go to see lots of examples.
A home for lots of examples would be nice.   Maybe that's just docs.irods.org in the end...

Sure. A page/section in the docs sounds like the right approach.


PFX passowrd

Hi,
I have successfully created a SAN cert using manual method and I was able to obtain the certificate using the advanced options. I have a pfx file but I don't know the default password, or I don't know how to extract a temporary passowrd that's in encrypted format in
Settings.json is as shown below:
"Store": {
"DefaultCertificateStore": null,
"DefaultCentralSslStore": null,
"DefaultCentralSslPfxPassword": null,
"DefaultPemFilesPath": null
}
and renewalfile has got the password protected LONG string
PfxPasswordProtected:"enc-long string"
Pls, I'm desperately trying to make it work, I appreciate your help.

The password you're looking for is probably listed in the renewal details wacs lists:


Update Prisma type DateTime from "Datetime" to "DateTime"

Describe this PR
DateTime type is written as 'Datetime '
Changes

Changed it to 'DateTime'

What issue does this fix?
I haven't found issues related to this

Great catch, thanks so much @neicore ! We really appreciate your help.


QASM 2 and 3 exporters do not handle parameterised gates correctly

Environment

Qiskit Terra version: 0.19.dev @ 2c402dd5c
Python version: any
Operating system: any

What is happening?
The QASM3 exporter (and the QASM2 exporter) does not handle arbitrary parameterised gates correctly.  It emits a gate definition which includes parameters in the signature, but hardcodes them in the body to the first instance of the gate it found.  This is because there's currently no way in Terra to get from a gate with its parameters assigned back to the fully parameterised version.
How can we reproduce the issue?
In [1]: import qiskit.qasm3
   ...: qc = qiskit.QuantumCircuit(2, 2)
   ...: qc.rzx(0.2, 0, 1)
   ...: qc.rzx(0.3, 0, 1)
   ...:
   ...: print(qiskit.qasm3.dumps(qc))
OPENQASM 3;
include "stdgates.inc";
gate rzx(_gate_p_0) _gate_q_0, _gate_q_1 {
  h _gate_q_1;
  cx _gate_q_0, _gate_q_1;
  rz(0.2) _gate_q_1;
  cx _gate_q_0, _gate_q_1;
  h _gate_q_1;
}
bit[2] c;
qubit[2] _all_qubits;
let q = _all_qubits[0:1];
rzx(0.2) q[0], q[1];
rzx(0.3) q[0], q[1];

The two rzx calls have different parameters, but the parameter is hardcoded to 0.2 in the actual definition.
What should happen?
A full fix of this issue will have the rz line in the rzx gate definition use the gate parameter.
Any suggestions?
As a temporary measure before the 0.19 release, we can hack the exporter to always output a new declaration for each instance of every gate that is not in the include files.  This is pretty awful, and the output QASM won't correctly represent the structure of the program with re-used gates, but it will at least produce the correct behaviour.

I've changed the milestone here to 0.20.0 as the workaround for 0.19.0 has merged and the proper fix will be for the next release.

Changing the milestone to 0.21 because this issue is tied to work in #7624, which also got shifted.

This was fixed on the OpenQASM 2 side by #9953 (for Qiskit standard-library gates), and will be fixed in the same manner for OpenQASM 3 by #12776.
There's still a problem with non-standard-library gates whose definitions have bound parameters, but that's generally a problem in Qiskit's data model.


Update Semantic Versioning

Details
Updates version based on semantic versioning: 'MAJOR', 'MINOR', 'PATCH' and 'BUILD'.
Fixes
Refers to the issue: https://github.com/Expensify/Expensify.cash/issues/1572

I have read the CLA Document and I hereby sign the CLA

Hi @FredericoGauz, thanks for putting this together. As you're already aware, I've made substantial updates to the bumpVersion action in the last couple days. Fortunately, the Javascript is a lot more simple than it was before. Since you're working on this file, I'll summarize the main changes that were made:

Instead of relying on the react-native-version package and a postversion hook, we're updating the native versions ourselves.
Instead of trying to run npm version, then catching an error, then fetching tags to determine the new version, we're just fetching tags to determine the new version up-front.
We also decided to not handle the race conditions that can occur in the javascript, instead, we're setting up a queuing system for the workflow using the softprops/turnstyle action that will eliminate the need for any kind of looping in this Javascript action.
We are also no longer relying on the npm version command to commit the version updates and create a tag. Instead, this action simply edits the relevant files, and outputs the new version. Then we commit the changes and create the tag in the workflow using shell commands.

Because of all those changes, you'll need to revisit this PR and update it. I'll also review it and let you know if I have any thoughts so far.

Also, it looks like you either forgot to re-run npm run gh-actions-build and commit the changes in .github/bumpVersion/index.js, or there is some aspect of the new code that isn't playing nicely with ncc.

I couldn't make npm run gh-actions-build  work on my environment so I was running ncc directly in the actions folder and then adding the warning manually. Do you have any idea of what might be making them unsync?

I couldn't make npm run gh-actions-build work on my environment so I was running ncc directly in the actions folder and then adding the warning manually. Do you have any idea of what might be making them unsync?

Not sure - why wasn't npm run gh-actions-build working for you?

Maybe you need to run sudo chmod u+x ./.github/scripts/buildActions.sh to make the script executable?

Also, IIRC you need to run npm run gh-actions-build from the project root for it to work

Hum... that might be the issue since I am not using Linux, therefore the versions (webpack like import variable numbers) might be getting different. I tried running ncc build .github\actions\bumpVersion\bumpVersion.js -o .github\actions\bumpVersion from root + adding the notice. If it still doesn't work I have something else to try.

since I am not using Linux

We use macOS fyi

Expensify engineers use macOS fyi

I see, since I can't test on a macOS, would it be possible for one of the engineers to run the gh-actions-build command with my changes to see if that's the issue? I would really appreciate.

would it be possible for one of the engineers to run the gh-actions-build command with my changes to see if that's the issue

Let me look into this (not entirely sure because you're working from a fork). I sort of doubt that's the issue because we run the command locally on macOS, and then Github re-runs the command on ubuntu to check for a diff. Since ncc uses Node.js and webpack it shouldn't really be a platform issue.

I checked out this PR, re-ran npm run gh-actions-build and then ./.github/scripts/verifyActions.sh and I saw the same diff. Not too sure what's causing this. We'll need to look into it.

I checked out this PR, re-ran npm run gh-actions-build and then ./.github/scripts/verifyActions.sh and I saw the same diff. Not too sure what's causing this. We'll need to look into it.

Thank you, now we know it is not that. Ok!

I checked out this PR, re-ran npm run gh-actions-build and then ./.github/scripts/verifyActions.sh and I saw the same diff. Not too sure what's causing this. We'll need to look into it.

Actually, I reread your comment and if I understood right you ran both build and verify actions in your machine right? Does it mean that the command from  verifyAction.sh in your machine is giving a different result then your direct run of npm run gh-actions-build?

Then a long diff w/ only differences in require numbers:

And it fails because of a non-empty diff.

Does it mean that the command from verifyAction.sh in your machine is giving a different result then your direct run of npm run gh-actions-build?

Yeah, I think this means that for some reason ncc is producing different output every time. We definitely want to get to the bottom of this, because the Verify Github Action Builds has been a pretty useful deterrent for human error in forgetting to rebuild the actions so far.

What does your git status show? Does index.js appears as changed?
If that is the case it would indicate that indeed this is about different environments.
Following that, would you kindly stage and commit the modified file to my branch? If that makes the test pass (or at least confirm my assumption that the commands are giving different results depending on the environment) it would then be necessary for the test itself to account for a possible difference in the numbers generated by webpack/ncc.

If that is the case it would indicate that indeed this is about different environments

I'm not sure that's the case. Can you:

Locally run ./.github/scripts/verifyActions.sh, see if there's a diff
Re-run npm run gh-actions-build, see if index.js has changed
Repeat step 1, see if there's a diff

What does your git status show? Does index.js appears as changed?
If that is the case it would indicate that indeed this is about different environments.
Following that, would you kindly stage and commit the modified file to my branch? If that makes the test pass (or at least confirm my assumption that the commands are giving different results depending on the environment) it would then be necessary for the test itself to account for a possible difference in the numbers generated by webpack/ncc.

This comment was about your screens.

If that is the case it would indicate that indeed this is about different environments

I'm not sure that's the case. Can you:

Locally run ./.github/scripts/verifyActions.sh, see if there's a diff
Re-run npm run gh-actions-build, see if index.js has changed
Repeat step 1, see if there's a diff

Nothing change in my machine.
Do you think you would be able to do these after rebuilding index.js?

What does your git status show? Does index.js appears as changed?
Following that, would you kindly stage and commit the modified file to my branch? If that makes the test pass (or at least confirm my assumption that the commands are giving different results depending on the environment) it would then be necessary for the test itself to account for a possible difference in the numbers generated by webpack/ncc.

Yep, it shows it as changed. But that doesn't explain why I'm seeing a diff when running ./.github/scripts/verifyActions.sh after rebuilding the actions locally.

I'm going to ask a coworker to rebuild the actions on their mac and then push them to this PR to see if that resolves it. I can't do it myself because then I wouldn't be able to approve and merge this PR (not allowed to approve a PR a committed code to).

If it is a platform difference, you could maybe rebuild the github actions in an ubuntu VM? If you're used to using Docker it would be pretty easy to spin up an ubuntu instance, clone the repo inside the container, checkout your branch, and re-run the build command from there. I say ubuntu because that's what it builds on in the Github runner.
That's what any of our contributors that use windows machines would probably have to do going forward anyways...

I'm going to ask a coworker to rebuild the actions on their mac and then push them to this PR to see if that resolves it. I can't do it myself because then I wouldn't be able to approve and merge this PR (not allowed to approve a PR a committed code to).

Ok, thanks. There reason is that the verify action bash script simply run ncc build {action_name} -o . (adapted to the path you are running it) and then run git diff --exit-code to see if there was any change generated between what was pushed to the repository and what was generated by ncc.
The fact that you 'had' a issue after I correctly compiled and committed the code shows that there was a difference between the code build in your machine and the code generated in mine machine.
If we were testing that. The bash script would have done it's job well!
However, I believe it was a false positive because it is not really testing if someone forgot to build but just that there was something different in the generated files. =)

In the meantime, you can:

Resolve the merge conflicts
Maybe and set up an ubuntu vm using a technology of your choosing (I recommend Docker) to see if that resolves the build errors you're seeing.

Okay @AndrewGable checked out your branch, re-ran npm run gh-actions-build, and created a duplicate PR. As you can see, the Verify Github Action Builds action passed in that PR, which confirms your suspicion that this is a platform difference.

So for the time being you'll need to rebuild the actions in an ubuntu VM.

Or you might also be able to try cloning your fork/branch in here, rebuilding the actions, and the copy/pasting .github/actions/bumpVersion/index.js. Not 100% sure that's using Linux and not windows-server, but maybe worth a shot

Hi @roryabraham @AndrewGable,
To make sure it would have the greatest chance of working I:
Spun a new Ubuntu 18.04.5 LTS server in the cloud
Installed nvm with Node Version: v14.16.0
Cloned my repository, installed libs and run npm run gh-actions-build
Copied the generated file to my machine and committed it to my fork (because of the setting for verified commit)
I hope that it is now what you are looking for!

Hi @FredericoGauz, thanks for doing that! Sorry that you had to, but it seems it resolved the failing check! We'll add something to our README so future contributors know that they'll have to recompile Github Actions on a unix machine.

Hi @roryabraham,
I guess I did the changes requested. The await use is not coming from my file but rather from the compiled code (you can check if you run a Find in Files check into the project.
Let me know how can I be of further use.
Fred

I think I managed to make all the changes (except the brackets because I was not sure it was really intended). Let me know if I can be of further help.

Hi @roryabraham, thank you for reviewing this changes again.

Missed this change again.
I don`t know what is happening but it looks like we are checking a different version. I have seen your mention of this line in a few times ago but I thought it was just a mistake because of so many comments.

Maybe I am doing something wrong but in the files I am editing these lines are different:

let semanticVersionLevel = core.getInput('SEMVER_LEVEL', {require: true});
if (!semanticVersionLevel || !_.find(versionUpdater.SEMANTIC_VERSION_LEVELS, v => v === semanticVersionLevel)) {
(I changed the SEMANTIC_VERSION_LEVELS later, but the _.find and lack of comment were already there)

I am sorry if it is on my end. But l found it so strange I double checked this in my branch:
https://github.com/GauzStudio/Expensify.cash/blob/fred-update-semantic-versioning/.github/actions/bumpVersion/bumpVersion.js
And they are just like in my editor and different from what you are seeing (it looks like).

2.3.9-${versionUpdater.maxIncrements},
2.3.9-${versionUpdater.MAX_INCREMENTS},

Really sorry about these mistakes. I usually use typescript and these problems pop up instantly, I should have been more careful. This is the same for JSDocs. I have been in quite a hurry these days, I had more time and carefully took a look on all the changes. Apart from this one that our files seem to be out of sync for some reason (or I might be looking at the wrong place, I don't know...)
Let me know if you think that there is room for improvement.

Nice, looks like this worked as expected.


Update index.html with 88x31 + url/name change

added 88x31 button and changed the url (the old works and forwards to the new one) and changed the name (but not 'id', yet)

nice! thanks :  )


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Hugging Face models without tokenizer.model file

Hey, @b4rtaz! First of all, thanks for this amazing work! I've been exploring the functionalities of distributed llama for a while and all works great when I run your pre-converted models downloaded from https://huggingface.co/b4rtaz on my 8x raspberry pi 4 Gb cluster.
The problem is when I try to convert and run models from HF myself. Even though your instructions state that there should be a tokenizer.model file in the HF model folder, I've noticed that many HF models don't come with such file (for example: https://huggingface.co/Dogge/llama-3-70B-instruct-uncensored). Even though this model doesn't have a tokenizer.model file, I've succeeded in generating a dllama_model.m and a dllama_tokenizer.t files from it, using your Python scripts. Nevertheless, I can't get the model to run. Distributed llama just throws a "Killed" and "terminate called after throwing an instance of 'ReadSocketException'" error.
Is the problem the abscence of the tokenizer.model file? If so, is it possible to generate it?
I'm sorry if this is a newbie question, but I am, indeed, a newbie in LLM/AI stuff. I'd really apreciatte if you could point out what I am doing wrong.

Hello, I'm not sure if I understand. The model that you paste has the tokenizer here. The convert-tokenizer-hf.py file supports two types of tokenizer files, one of them is tokenizer.json format. So it may work correctly.

Nevertheless, I can't get the model to run. Distributed llama just throws a "Killed" and "terminate called after throwing an instance of 'ReadSocketException'" error.

Are you trying to run 70B on 8x Raspberry Pi 4GB devices? This gives 32 GB of RAM. Llama 2 70B Q40 is 36.98 GB model, so I think your setup may have too less RAM.

Hello, I'm not sure if I understand. The model that you pasted has the tokenizer here. The convert-tokenizer-hf.py file supports two types of tokenizer files, one of them is tokenizer.json format. So it may work correctly.

I guess I misunderstood the instructions to convert an HF model to Distributed Llama format (https://github.com/b4rtaz/distributed-llama/blob/main/docs/HUGGINGFACE.md). And, as I couldn't get the converted model to run, I thought the problem was that maybe the model should contain both tokenizer.model and tokenizer.json files. But I see my mistake now.

Are you trying to run 70B on 8x Raspberry Pi 4GB devices? This gives 32 GB of RAM. Llama 2 70B Q40 is 36.98 GB model, so I think your setup may have too less RAM.

And, yes, although I'm actually running a raspberry pi 4B cluster with one 8 Gb unit and seven 4 Gb units (I made a mistake in the previous cluster description), I now understand it still has not enough RAM for a 70B model. I've just successfully converted and ran a smaller model from HF, so the problem with the previous model must really have been the lack of RAM.
So, thanks for your time and thanks again for this great project!


Stream input from remote track

Receive RTP from WebRTC remote track, decode, process (by Audio/VideoTransform), and encode.
This realizes tiling (or picture-in-picture) of multiple streams into one stream, and audio mixing.

As a driver package, having a static image source (as a background image) may be enough.
Picture-in-picture VideoTransform and mixer AudioTransform are required.


Add a new label to Kubefed Controller Custom Metrics

What would you like to be added: Would like to add a new label to the Kubefed Controller custom metrics. The label would be cluster  .
Why is this needed: This will help greatly during any troubleshooting and investigation work if members clusters are having problems that are registered with the given Kubefed Controller. At the moment metrics without the label cluster just has one value for all member clusters that are registered, and as a result, knowing what the health is of each one or reconciling stats is impossible.
Currently only kubefedClusterTotal metric has cluster label while others e.g. clusterHealthStatusDuration metric does not, so the metric type will also need to change to a NewHistogramVec .
Thanks
Nitin

/kind feature

/remove-lifecycle stale

/remove-lifecycle stale

I do think that's a good idea and I'm curious about which of the metrics would you like to add the cluster label?

Hi @zqzten,
Thanks for taking time to have a read at this.
So at the moment, I only had the following in mind as they can provide vital information on the health of a cluster, i.e. if the cluster is in poor health, having reconcile issues etc... Also this is a good one stop shop to give the platform team an oversight on how all clusters are behaving on one page, esp for alerting. So kill 2 birds with stone.

cluster_health_status_duration_seconds
cluster_client_connection_duration_seconds
reconcile_federated_resources_duration_seconds

Only issue of not having it for all metrics is the cardinality, as we have seen previously that the more members, the more metrics is created and will take a long time to generate and retrieve and the payload can exceed 10'sMBs. So similar to this issue.
So for the above, only concern as its buckets, it would multiply by a lot unless there was an alternative solution?
Let me know your thoughts around this.
Thanks

@nitinatgh Thanks for giving information on this. The cardinality is indeed a problem when you extend metrics with cluster label, I cannot think of an ultimate solution for now, but I think we can mitigate it by limiting its usage to as less metrics as we use and make sure these metrics do not have another labels whose values could grow large (such as resource type).
As for the cluster health, we can break down to these three questions:
Is my cluster healthy/ready?
This is simple as we have kubefedClusterTotal to show current state of all the clusters.
Is there a latency between KubeFed and my cluster?
This can be addressed by adding cluster label to clusterHealthStatusDuration. Since it has no other label currently, I would think it applicable. The only problem is that its current value is not that accurate because it also count the time used by KubeFed to update KubeFedCluster status. Maybe we should adjust this a little.
Is KubeFed successfully creating/updating/deleting resources in my cluster?
Currenlty we have no metrics for this one, so I would suggest to add a new counter dispatchOperationTotal with label cluster, action and result (success or fail) which can be easily tracked in dispatcher. Since it's a counter (not histogram), I would also think it applicable.
I think above metrics are sufficient for finding problem clusters quickly, WDYT?

Project is to be archived - closing all issues and PRs
see https://github.com/kubernetes/org/issues/4122 and https://groups.google.com/d/msgid/kubernetes-sig-multicluster/9f8d81d1-07d1-4985-a7bf-d76197deb971n%40googlegroups.com
for details
/close


Allow commiters to merge any PR after CI is green

I sometimes have the case where I approve a PR but would like to wait for CI checks to be green before actually merging. What happens then is that I leave the tab open and return to it some time later but that can sometimes be weeks or even months when it should have been merged after an hour or so.
Would this be in scope for the merge bot?

https://github.com/NixOS/rfcs/pull/172

+1 for the merge queue, I believe we have a similar thing in Nixos-hardware already.
I try to "approve PRs" before merging, so I could get back after CI passes green. But sometimes PRs fall through the cracks despite being approved by a commiter.

A while ago I attempted to implement this functionality in nixpkgs using GitHub actions: https://github.com/NixOS/nixpkgs/pull/261800
Unfortunately I got stuck, but maybe this can give some insights for a new implementation in nixpkgs-merge-bot.

So apparently our docs need to be better. Currently if you use the merge bot it waits for all checks to pass and then merges the pr.
It only skips Darwin tests because the ci for that is sometimes broken

Oh, and it works on any PR?

I think, it does by-name checks. But we can probably remove this restrictions for committers.

It does by-name checks and checks whether the invoking person is listed as the maintainer of the package. But currently if CI is not green, it errors out, providing no merge queue functionality.

It does by-name checks and checks whether the invoking person is listed as the maintainer of the package.

Disabling those two checks if the invoker is a committer is basically the core of this feature request.

But currently if CI is not green, it errors out, providing no merge queue functionality.

That would/should be expected behaviour.

It probably needs a proper database at this point.

@JohnRTitor It provides  an error message, that it will try again later. Or is this not working for some reason?

@JohnRTitor It provides an error message, that it will try again later. Or is this not working for some reason?

It does not suppress by name checks for commiters I am afraid. https://github.com/NixOS/nixpkgs/pull/333074#issuecomment-2284277610

The existing GitHub feature would not work for us, because it only looks at required checks, and most (all?) CI checks in Nixpkgs are not required.  It would be non-trivial to make them required, because sometimes there's a legitimate need for them to be bypassed — we'd have to see if we could make permissions more widely available to be able to do that than they currently are.  (I think it's currently restricted to org owners, which would absolutely not be enough since there's not a lot of overlap between org owners and the most active Nixpkgs committers.)

Several issues tied to ofborg CI should also be addressed for this auto-merge feature to be a QoL boost:

Don't merge if ofborg eval has not been run. This happens from time to time, or is at least slow to trigger, especially on automatic backport PRs
If the darwin builders don't return within a week we can assume it may have dropped the queue.
Don't wait around for queued darwin builds that are not meta.available
Common darwin ofborg failures like out-of-disk, socket read/write error, or inability to build the deps of passthru'd nixosTests should also be detected and ignored.

Don't wait around for queued darwin builds that are not meta.available

Some of the common failures happen on Linux too.

@pbsds

We wait for ofboarg eval and checks. We do not wait on anything darwin related as those fail to often.


Vulkan Bgfx in SDL

Hi , I am a very beginner to this. how to use Bgfx Vulkan Backend in SDL. any samples or documents would be nice.
Thank you

Create an SDL window, and pass the required handles to bgfx platform data; then you should be good to go. https://github.com/bkaradzic/bgfx/blob/master/examples/common/entry/entry_sdl.cpp#L42-L104
I wrote this helper function:
static void setup_bgfx_platform_data(bgfx::PlatformData &pd,
                                     const SDL_SysWMinfo &wmi) {
    switch (wmi.subsystem) {
        case SDL_SYSWM_UNKNOWN: abort();

#if defined(SDL_VIDEO_DRIVER_X11)
        case SDL_SYSWM_X11:
            pd.ndt = wmi.info.x11.display;
            pd.nwh = (void *)(uintptr_t)wmi.info.x11.window;
            break;
#endif

#if defined(SDL_VIDEO_DRIVER_WAYLAND)
        case SDL_SYSWM_WAYLAND:
            pd.ndt = wmi.info.wl.display;
            pd.nwh = wmi.info.wl.surface;
            break;
#endif

#if defined(SDL_VIDEO_DRIVER_MIR)
        case SDL_SYSWM_MIR:
            pd.ndt = wmi.info.mir.connection;
            pd.nwh = wmi.info.mir.surface;
            break;
#endif

#if defined(SDL_VIDEO_DRIVER_COCOA)
        case SDL_SYSWM_COCOA:
            pd.ndt = NULL;
            pd.nwh = wmi.info.cocoa.window;
            break;
#endif

#if defined(SDL_VIDEO_DRIVER_UIKIT)
        case SDL_SYSWM_UIKIT:
            pd.ndt = NULL;
            pd.nwh = wmi.info.uikit.window;
            break;
#endif

#if defined(SDL_VIDEO_DRIVER_WINDOWS)
        case SDL_SYSWM_WINDOWS:
            pd.ndt = NULL;
            pd.nwh = wmi.info.win.window;
            break;
#endif

#if defined(SDL_VIDEO_DRIVER_WINRT)
        case SDL_SYSWM_WINRT:
            pd.ndt = NULL;
            pd.nwh = wmi.info.winrt.window;
            break;
#endif

#if defined(SDL_VIDEO_DRIVER_VIVANTE)
        case SDL_SYSWM_VIVANTE:
            pd.ndt = wmi.info.vivante.display;
            pd.nwh = wmi.info.vivante.window;
            break;
#endif

        default: spdlog::critical("Unknown Window system."); std::abort();
    }
    pd.context = NULL;
    pd.backBuffer = NULL;
    pd.backBufferDS = NULL;
}

If you generate project files with --with-sdl you'll use this SDL code: https://github.com/bkaradzic/bgfx/blob/master/examples/common/entry/entry_sdl.cpp
It demonstrates how to use SDL for windowing and input, and bgfx for rendering (regardless of rendering API used).


nixos/bash: Use escapeShellArg for shell aliases

This patch uses the library function lib.escapeShellArg to improve the handling of shell aliases in the NixOS module bash, copying the corresponding change made to the zsh module in commit 1e211a70cbdaf230a18ea4cb67a959039d5c2ddb (for which GitHub pull request #47471 was filed).
This patch resolves GitHub issue #16973.
This change presumably also should be copied to the fish module, but I don't know fish syntax so that won't be done by me.
Motivation for this change
See issue ticket #16973.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Thanks for fixing that :)


@orta => Updates existing artworks sold status

I realize that I made an error on this pull request. Artworks that were sold when the app first sync'd would be marked as sold, but artworks that were updated after the first sync would not.
I don't think it needs a changelog entry since we've not released since the PR was merged. My bad for not thinking of this scenario at the time.

Looks legit to me. Presuming CI fails.


Window does not utilize extra space left by hidden menu bar

This might be hard to implement as the menu bar can come back if you mouse to the top, and that might then reduce the space and trigger a resize. Here is an image of what the behavior looks like:

There is no way for us to know if the menubar is visible or not depending on where the mouse location is. We do however autodetect the state state of the setting Automatically hide and show the menubar, and in this case we do not leave space for the menubar.
If you have changed this setting in system preferences while chunkwm is running, you can run chunkc tiling::desktop --toggle offset twice to force an update of the screen region.

That was it. I just needed to restart the application. Thank you!


Create a Contract Object with ABI [APE-709]

Overview
With the web3.py library, I usually construct a Contract object this way:
pool_instance = web3.eth.contract(address=pool_address, abi=pool_abi)

But with ape, I have to rely on Etherscan API to load up the similar Contract object:
$ export ETHERSCAN_API_KEY=xxx

from ape import Contract
pool_instance = Contract(pool_address)

I would like to avoid API calls to external services.
Specification
Something like this is good:
from ape import Contract
pool_instance = Contract(pool_address, pool_abi)

Or add a way to convert web3.py's Contract object to ape's Contract object:
from ape import Contract
pool_instance = web3.eth.contract(address=pool_address, abi=pool_abi)
ape_pool_instance = Contract(pool_instance)

You can actually pass an arbitrary ABI to it today, but you have to wrap it as a ethpm_types.ContractType object first
Easiest way to do this is
ct = ContractType.parse_obj({"abi": my_abi})
c = Contract(address, ct)

Completed by https://github.com/ApeWorX/ape/pull/1635


TOOLS-2812 add hosts and policy helpers

Moved tls, hosts, and policy logic from the uda to the common library. I assume this is a good way to go, considering that this library is currently a collection of helpers to make interacting with the go-client easier from a cmd line application.
I also added some unit tests (mostly around tls) that used to be covered by QE e2e tests in the uda.

Codecov Report
Attention: 20 lines in your changes are missing coverage. Please review.

Comparison is base (301eecd) 67.93% compared to head (ab81c4e) 75.57%.

Files
Patch %
Lines

client/config.go
84.04%
10 Missing and 5 partials :warning:

client/host.go
90.00%
2 Missing and 1 partial :warning:

client/tls.go
88.88%
1 Missing :warning:

flags/flags.go
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   67.93%   75.57%   +7.64%
==========================================
  Files          13       16       +3
  Lines         686      782      +96
==========================================
+ Hits          466      591     +125
+ Misses        204      169      -35
- Partials       16       22       +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use of _G is discouraged

This library is using a global variable declaration, which is discouraged. I'm using the penlight library which uses this as a dependency, and this is polluting logs with
2019/07/16 13:36:26 [warn] 6089#19728145: *2 [lua] _G write guard:12: writing a global lua variable ('lfs') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables

More information can be found on https://github.com/openresty/lua-nginx-module/issues/1558

Yes, we are aware. But this is kept around for backwards compatibility. A gazillion scripts out there depend on lfs and assume that it sets the global so we can't remove it. When we release LuaFileSystem 2.0 (no ETA at this point), we will remove the global.


Test: Allow to enable semantic highlighting for a language

Refs: #101292

[x] anyOS @isidorn

Complexity: 2

Verify:

check out the semantic highlight sample: https://github.com/microsoft/vscode-extension-samples/blob/master/semantic-tokens-sample
add the following to the package.json

     "[semanticLanguage]": {
        "editor.semanticHighlighting.enabled": true
      }

run the extension, open the sample/sample.semanticLanguage from the sample repo
verify with the Developer: Inspect Editor Tokens and Scopes that semantic highlighting is available for all themes, built-in and custom
set

"editor.semanticTokenColorCustomizations": {
	"enabled": false; // disable for all themes
}

verify that semantic highlighting is still available

Works well.


update to manifest and release notes for 2018.2 beta 2

Going ahead and merging the release note updates to dev.


feat(go/adbc/driver/flightsql): change parallelization of DoGet

Assume data may be ordered in absence of an explicit server-sent indicator.
Fixes #385.

Still needs a unit test.

Tests added, fixed some other bugs found via go test -count!

Made the buffer configurable, fixed a test suite issue, and applied the suggestions - thanks!


ability to customize logs and moon entries? (suggestion)

so we can justify balance choices made using LQ through lore entries (would be nice)
especially if i want to implement a bug as a feature this would allow me to put it somewhere in the game (like a planet that you have to pay to get to but you can't be in orbit so you have to pay again for every run) or a late game moon that you rebalanced when it was meant to be a mid game moon (so also the ability to customize risk tiers and stuff)

The logs and moon entries is quite out of the way for this mod, since those are more or less cosmetic changes that don't affect the base game.  I can try to add an option to modify some lore/additional settings, but it would not be a high priority task.

Thanks!

at the very least if we can change risk tiers to whatever we like that'd be amazing


record resume error: no reset time

System Info
- `lerobot` version: 0.1.0
- Platform: Linux-5.15.0-125-generic-x86_64-with-glibc2.31
- Python version: 3.10.15
- Huggingface_hub version: 0.26.3
- Dataset version: 3.1.0
- Numpy version: 1.26.4
- PyTorch version (GPU?): 2.5.1+cu124 (True)
- Cuda version: 12040
- Using GPU in script?: yes

Information

[X] One of the scripts in the examples/ folder of LeRobot
[ ] My own task or dataset (give details below)

Reproduction
When using the resume parameter, the reset time is skipped when the number of episodes that have been recorded in the dataset is greater than the total number, in this code(control_robot.py 305)
        if not events["stop_recording"] and (
            (dataset.num_episodes < num_episodes - 1) or events["rerecord_episode"]
        ):
            log_say("Reset the environment", play_sounds)
            reset_environment(robot, events, reset_time_s)

because the inital is set as no episodes recorded , in control_robot.py 275
recorded_episodes = 0

Expected behavior
just change recorded_episodes = dataset.num_episodes, and it does no change to normal record

thanks, i didn't even realized it


feat: improves client side setup

This PR improves the installation client side setup for all frontend options
References
https://github.com/inertiajs/inertiajs.com/pull/338
https://inertia-rails.onrender.com/installation/client-side.html#install-dependencies

Great addition! Do you plan to update vue & svelte installation instructions in this PR as well?

@skryukov Yes I can do that, let's change this PR to Draft

@skryukov I was thinking if is worth to add the import React in the inertia.jsx entrypoints. If we do not use React vite plugin will break the page.

I was thinking if is worth to add the import React in the inertia.jsx entrypoints. If we do not use React vite plugin will break the page.

The generator and docs are using a simple .js and not .jsx entrypoint. Does that change the requirement for import React?


Fix class collision "PageNotFound" error

Description
#2958 allowed more robust testing for fallback paths on exception display, but the use of extract() caused a collision in some cases between the actual file to include and the variable $file to display. This PR sets a more unique name of the include path to avoid collision.
Checklist:

[X] Securely signed commits
[X] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
n/a User guide updated
[X] Conforms to style guide

@MGatner I've made the PR at #3076

Ah geez you completely solved this already and I didn’t notice it! Thanks for the PR, will merge.


rclone copy fails on path with accented character

Issue:
rclone seems to fail on a path with an accented character. The path in question is: F:/Projects/ÉmiliePoster/, however rclone can't seem to find it and lists it as F:/Projects/├ëmiliePoster/
I have tried with the flag --local-no-unicode-normalization on and off.
Setup:
OS: Windows 10
rclone: 3.17
localhddenc refers to a local external drive remote that works for everything else ATM.
Log:
C:\Users\DanDi\Documents\MyCustomApps\rclone\scripts>rclone copy "F:/Projects/├ëmiliePoster/emilie poster danse original.psd" "localhddenc:i:/backup/Projects/├ëmiliePoster/emilie poster danse original.psd" --local-no-unicode-normalization --stats 30s --transfers 32 -v
2017/09/04 20:51:55 INFO  : Encrypted drive 'localhddenc:i:/backup/Projects/├ëmiliePoster/emilie poster danse original.psd': Modify window is 100ns
2017/09/04 20:51:55 INFO  : Encrypted drive 'localhddenc:i:/backup/Projects/├ëmiliePoster/emilie poster danse original.psd': Waiting for checks to finish
2017/09/04 20:51:55 INFO  : Encrypted drive 'localhddenc:i:/backup/Projects/├ëmiliePoster/emilie poster danse original.psd': Waiting for transfers to finish
2017/09/04 20:51:55 ERROR : Attempt 1/3 failed with 0 errors and: error reading source directory "": directory not found
2017/09/04 20:51:55 INFO  : Encrypted drive 'localhddenc:i:/backup/Projects/├ëmiliePoster/emilie poster danse original.psd': Waiting for checks to finish
2017/09/04 20:51:55 INFO  : Encrypted drive 'localhddenc:i:/backup/Projects/├ëmiliePoster/emilie poster danse original.psd': Waiting for transfers to finish
2017/09/04 20:51:55 ERROR : Attempt 2/3 failed with 0 errors and: error reading source directory "": directory not found
2017/09/04 20:51:55 INFO  : Encrypted drive 'localhddenc:i:/backup/Projects/├ëmiliePoster/emilie poster danse original.psd': Waiting for checks to finish
2017/09/04 20:51:55 INFO  : Encrypted drive 'localhddenc:i:/backup/Projects/├ëmiliePoster/emilie poster danse original.psd': Waiting for transfers to finish
2017/09/04 20:51:55 ERROR : Attempt 3/3 failed with 0 errors and: error reading source directory "": directory not found
2017/09/04 20:51:55 Failed to copy: error reading source directory "": directory not found
Command copy and pasted from my .bat file:
rclone copy "F:/Projects/ÉmiliePoster/emilie poster danse original.psd" "localhddenc:i:/backup/Projects/ÉmiliePoster/emilie poster danse original.psd" --local-no-unicode-normalization --stats 30s --transfers 32 -v

Hrm... just dawned on me, this might be due to either the command line window or my script perhaps? I commented out the line (ie. rem rclone ...), the command still gets outputed and the accented problem shows up there too.
Notepad is set to write UTF-8 ATM.

My bad. That was the issue.
My .bat file now has chcp 65001 to start off. This works.


fix(pipeline): Fix type annotations on pipeline next parameter

fixes #265

Sweet. Please merge at will.


Releasing a key also counts as an interaction

I found that building and executing this code
use press_btn_continue::wait;

fn main() {
    println!("1");
    wait("...\n").unwrap();
    println!("2");
    wait("...\n").unwrap();
    println!("3");
    wait("...\n").unwrap();
}

The following occurs:

prints "1", as expected
user presses a key, as expected
prints "2", as expected
user releases key, expected
prints "3", unexpected - it should not continue, and instead should wait for a key to be pressed again

As a bonus, if this wait for the key to be released before continuing, then that would stop the program from zooming by when the user holds down a key.

This is probably because a new version (0.2.0, I suppose) hasn't been published yet since my last PR. Would you like to do it? @cfsamson

@yescallop I was sure I published it, but I must have forgotten to bump the version number, so it failed the publish without me noticing. Thanks for the heads-up. It's fixed now.


Validate ref

Issue #, if available:
#23
Description of changes:
Everit validates $ref values, when a Schema is created using SchemaLoader$load().
This change adds loading resource definition as a schema with ResourceDefinitionSchema and JSON schema registered as meta-schemas. Unit tests show that invalid references cause SchemaLoader to throw a ValidationException.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

this shares history with #68 - need to get that merged first. i've already closed #72 , because three dependent PRs is definitely too much. if you want to leave this one open for review, you'll have to get #68 merged first, and then merge master into this PR. do not rebase if people have already reviewed, it breaks links between comments and code because history is rewritten on rebase.


Search all

@Zaubeerer @greywidget project becoming more interesting. First added caching: https://github.com/PyBites-Open-Source/search/pull/17 and now the search all - this PR - is really fast and useful:

Hey @Zaubeerer, nope I think we're good, thanks for reviewing.


fix(windows): fix shjs commands for windows

Prefix shjs commands withnode  for Windows, since Windows doesn't use shebangs.
Blocks #297

@ariporad I think it's ok to merge this with the broken tests, since it fixes one of them (and then #297) should be safe to merge.

LGTM!


Dataset info

…the dataset with the help of statistical analysis and visualization techniques of the features of the dataset.
Issue no.
#108
Description
The provided code is a Python script that performs basic Exploratory Data Analysis (EDA) on a dataset. Here's a brief description of what the code does:
Load the Dataset:
The script begins by loading a dataset from a CSV file. You need to replace 'your_dataset.csv' with the actual path to your dataset file.
EDA and Visualization:
It then performs EDA, which involves exploring the dataset to understand its characteristics.
In this example, it creates a scatter plot using two features, 'feature1' and 'feature2,' from the dataset. This scatter plot visualizes the relationship between these two features.
The script sets labels for the x and y axes and adds a title to the plot.
After creating the plot, it displays it using plt.show().
Calculate Basic Statistics:
The script calculates basic statistics for numeric columns in the dataset using the describe() method. These statistics include measures like mean, standard deviation, minimum, maximum, and quartiles.
It prints these basic statistics to the console.
Important Note:
The script is a template and needs to be adapted to your specific dataset. You should replace 'your_dataset.csv' with the actual path to your dataset and select the relevant features and visualizations based on your dataset's content and analysis goals.
Screenshots (if applicable)

Checklist
Please review and check the following before submitting your pull request:

[x] I have followed the project's coding conventions and guidelines
[x] I have tested my changes thoroughly
[x] I have added/updated relevant documentation
[x] My code follows best practices and is easy to understand
[x] I have added necessary test cases (if applicable)
[x] All existing tests are passing
[x] My changes do not introduce any new warnings or errors

Is it only for CSV?


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #435 (c054b3a) into main (6f6a266) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #435   +/-   ##
=======================================
  Coverage   95.69%   95.69%
=======================================
  Files           1        1
  Lines         395      395
  Branches       53       53
=======================================
  Hits          378      378
  Misses         17       17

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


custom image failing to build; unable to find ublue-os-wallpapers rpm?

I setup my own custom image at https://github.com/miabbott/ublue-meatwad-rh from the startingpoint repo.
I started to see build failures when looking for the ublue-os-wallpapers rpm:
STEP 7/12: COPY --from=ghcr.io/ublue-os/bling:latest /rpms/ublue-os-wallpapers-0.1-1.fc38.noarch.rpm /tmp/ublue-os-wallpapers-0.1-1.fc38.noarch.rpm
Trying to pull ghcr.io/ublue-os/bling:latest...
Getting image source signatures
Copying blob sha256:b618d45305bbf642e97930409992b734e11ba0ff9478708a86b438c25ebace95
Copying blob sha256:b618d45305bbf642e97930409992b734e11ba0ff9478708a86b438c25ebace95
Copying config sha256:349df4fd0d391e651fc84b63a26ae5056495fe037483dc15d3f92a4e73cabd45
Writing manifest to image destination
Storing signatures
error building at STEP "COPY --from=ghcr.io/ublue-os/bling:latest /rpms/ublue-os-wallpapers-0.1-1.fc38.noarch.rpm /tmp/ublue-os-wallpapers-0.1-1.fc38.noarch.rpm": checking on sources under "/home/runner/.local/share/containers/storage/overlay/f23d28d0a0d814a69655ba493b01b120f3d91caf32e4187595e999eef29a9a4d/merged": copier: stat: "/rpms/ublue-os-wallpapers-0.1-1.fc38.noarch.rpm": no such file or directory
time="2023-11-13T15:06:00Z" level=error msg="exit status 125"
Error: Error: buildah exited with code 125

I tried updating my fork, per the syncing instructions, but the build failure persists.
Any ideas?

I could just remove ublue-os-wallpapers from the recipe, but at least wanted to highlight this issue to see if it is a larger problem.

Huh....looks like the rebase part of the sync instructions aren't working as expected for me, so my live branch is still not up-to-date.
Will investigate further...

Oh, I think I am running into https://universal-blue.org/blog/2023/09/02/startingpoint-rewrite-heads-up-what-you-need-to-know/

Recreated my repo based on the guidance from the blog and I can build successfully again.


[BUG] Issues with trailing whitespace?

Describe the bug
When it is attempted to write a new review comment in the note it does not work if the question part has a trailing whitespace.
The console prints out a
[error] updateQuestionText: Text not found: SOMETEXT

Code origin of the problem: When the new question/note text is generated in updateQuestionText noteText and originalText are not the same  because the trailing whitespace of the question in originalText is stripped away, but this is not the case in noteText.

To Reproduce
When reviewing the following note, no review comment will be set and a [error] updateQuestionText will be generated.

Note that after #test is a trailing whitespace

Some Filename
#review #test
?
This is the answer

Expected behavior
The expected behavior is that the question part can contain a trailing whitespace since it is very easy to forget a whitespace. You've also mentioned whitespace handling in the comments here, so I do not know if your format allows to be more flexible in that regard.
Versions (please complete the following information):

On all platforms

Hi @biocarl thanks for letting us know.
what version of the plug-in are you using?
The code was made tolerant of trailing spaces recently, but perhaps there is still an issue.
I couldn't reproduce. I copied your example above with the trailing space:

But after reviewing, the note is updated correctly:

Cheers
Ronny

Hey Ronny, thank you for your quick reply!
More details

the #review tag is the flashcard tag
This is comparing noteText with originalText (when processed by the MultiLineTextFinder::findAndReplace function)

[log] Character 1: 'S' and 'S' are equal
[log] Character 2: 'o' and 'o' are equal
[log] Character 3: 'm' and 'm' are equal
[log] Character 4: 'e' and 'e' are equal
[log] Character 5: ' ' and ' ' are equal
[log] Character 6: 'F' and 'F' are equal
[log] Character 7: 'i' and 'i' are equal
[log] Character 8: 'l' and 'l' are equal
[log] Character 9: 'e' and 'e' are equal
[log] Character 10: 'n' and 'n' are equal
[log] Character 11: 'a' and 'a' are equal
[log] Character 12: 'm' and 'm' are equal
[log] Character 13: 'e' and 'e' are equal
[log] Character 14: '\n' and '\n' are equal
[log] Character 15: '#' and '#' are equal
[log] Character 16: 'r' and 'r' are equal
[log] Character 17: 'e' and 'e' are equal
[log] Character 18: 'v' and 'v' are equal
[log] Character 19: 'i' and 'i' are equal
[log] Character 20: 'e' and 'e' are equal
[log] Character 21: 'w' and 'w' are equal
[log] Character 22: ' ' and ' ' are equal
[log] Character 23: '#' and '#' are equal
[log] Character 24: 't' and 't' are equal
[log] Character 25: 'e' and 'e' are equal
[log] Character 26: 's' and 's' are equal
[log] Character 27: 't' and 't' are equal
[log] Character 28: ' ' and '\n' are NOT equal
[log] Character 29: '\n' and '?' are NOT equal
[log] Character 30: '?' and '\n' are NOT equal
[log] Character 31: '\n' and 'T' are NOT equal

Version

It worked before I updated so one of the last updates broke existing behavior :(
Currently I have the most up to date version

It does not work on both Android / an Mac Desktop App

Do you want me provide you with additional details?
Awesome plugin btw!! 🎊👍

Hi @biocarl , thanks for the info.
There is some info at https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/828#issuecomment-1876941800 that helped @michail-sygk to fix https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/828.
Are you able to debug into MultiLineTextFinder.find which should be tolerant of leading and trailing whitespace?
If not, I'll send through a debug version that logs all relevant info to the console.
Cheers
Ronny

@ronzulu, also debugged MultilineTextFinder.find and it is the same problem as in https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/830
With all this trimming logic the whitespace is also trimmed from the original note. In my case, after appending the review comment the whitespace after the #review is trimmed. But for me at least that is fine ✌
Hope we get https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/830 into the release soon!
Thanks for your support 👍
Cheers, Carl


Fix UTF-8 validation in static checks

Use isutf8 instead of recode to detect invalid UTF-8 sequences.
The previous use of recode depended on the default charset set to UTF-8 in the environment, which was not necessarily true if the workflow was executed on a local machine. It also did a complete copy of all source files to temporary files, even if the files were valid. The new version with isutf8 only checks the file validity in place and outputs an error message if there are any
violations. On my machine the new version finishes in ~20 seconds while the old version took ~50 seconds.
Also the PR adds the necessary dependencies to run the static checks locally
using act (https://github.com/nektos/act) with the Medium size image.

Thanks!

Thanks, looks like a good improvement.

The previous use of recode depended on the default charset set to UTF-8 in the environment, which was not necessarily true if the workflow was executed on a local machine.

Are you sure? UTF-8 is specified right there in the command.

Yes, but according to the documentation when specified like that, recode will do a UTF-8 -> CHAR conversion, where CHAR is the default charset in the environment (specified by for example the LANG or LC_CTYPE or DEFAULT_CHARSET or other environment variables).


Not Support In typescript file

in index.tsx
import Readme from './Readme.mdx'

and the lint told me
Cannot find module './Readme.mdx' or its corresponding type declarations.ts(2307)

Could you share more about your setup? Your Vite configuration, project structure, or ideally steps to reproduce the error.

@silvenon Thank you for your reply
here you can get the project
https://github.com/boswellgao/vite-react-live-preview

The problem is with TypeScript, not vite-plugin-mdx. Vite only compiles away TypeScript, it doesn't do any type checking. One way to solve your problem is to add a common type definition for all your *.mdx files:
declare module '*.mdx' {
  let MDXComponent: (props: Record<string, unknown>) => JSX.Element
  export default MDXComponent
}

If you need to be more specific about a particular *.mdx, add a .d.ts file with the same name.

@silvenon  Thanks. you are right,it's typescript proplem
TypeScript support for .mdx file extensions


Update hardware-environment.md

supplement procedures of building java environment

JDK is not part of the hardware environment


[BUG] Fails to recognize README on some repos

Describe the bug
Stethoscope fails to recognize the README file sometimes. It will show a score which means it was found in some way, but the checklist shows "does not exist".
example repo:
https://github.com/plotly/plotly.js

Seeing this fail on my https://github.com/catppuccin/github-file-explorer-icons repository as well. Might want to look into using https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-a-repository-readme to let GitHub do the README detecting for you? 404s if there isn't one, returns the size and content in JSON if there is one.


Cannot download the dataset

Thanks for this wonderful repo!
However, I can not download the dataset by running bash scripts/download_assets.sh.
The error is as follows:

Start downloading...
Traceback (most recent call last):
File "download_assets.py", line 61, in
main(args)
File "download_assets.py", line 49, in main
download_file(url + file_name, file_path)
File "download_assets.py", line 29, in download_file
r.raise_for_status()
File "/root/miniconda3/lib/python3.8/site-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://slurm-ord.s3.amazonaws.com/datasets/imagenet_256_latent_lmdb/train/data.mdb

Could you please try to solve this issue? Thanks!

Please see #13 for updated links.


When attempting to subscribe other user to issue report why access denied

Fix #18090
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

we don't have i18n on the API (yet). Part of the basic stuff to do it would be to be inspired by models.TranslatableMessage and the models/migrations/base/Messenger interface. If we made our errors translatable messages or implement something like: type ToMessenger interface {   ToMessenger(messenger Messenger) } where ToMessenger would simply call messenger(formatCode, args...) with format codes for our errors.


Build Error

I got this error when trying to build my project with this package.
Unity Version: 2020.3.5f1
Library\PackageCache\com.loophouse.scriptable-states@6e87c29b57\Runtime\ScriptableState.cs(3,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)

Screenshot:

I'll mak a quick fix here for you. It seems UnityEditorInternal no longer exists on 2020.3. I'll remove it and launch a hotfix.

Release v0.3.1 is available, just let me know if it works

Yes removing it fix it, thanks


Fix: Fix Variable Description Typo for var.use_fullname

what

Fix variable description typo introduced in #35 for var.use_fullname

why

Minor typo (unmatched right bracket).

references

#35

/test all