build: Fix compiling with GCC 11

Currently (a8dbc010c57d1fc655ad8325e7f685954b950acc), building the qt package in depends with GCC 11 fails:
$ gcc --version
gcc (Ubuntu 11.1.0-1ubuntu1~21.04) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ make -C depends qt
...
In file included from ../../include/QtQml/5.12.11/QtQml/private/qv4propertykey_p.h:1,
                 from ../../include/QtQml/5.12.11/QtQml/private/../../../../../src/qml/jsruntime/qv4internalclass_p.h:56,
                 from ../../include/QtQml/5.12.11/QtQml/private/qv4internalclass_p.h:1,
                 from ../qml/jsruntime/qv4value_p.h:59,
                 from ../qml/jsruntime/qv4managed_p.h:54,
                 from ../qml/jsruntime/qv4engine_p.h:54,
                 from ../qml/jsruntime/qv4engine.cpp:39:
../../include/QtQml/5.12.11/QtQml/private/../../../../../src/qml/jsruntime/qv4propertykey_p.h: In member function ‘uint QV4::PropertyKey::asArrayIndex() const’:
../../include/QtQml/5.12.11/QtQml/private/../../../../../src/qml/jsruntime/qv4propertykey_p.h:116:73: error: ‘numeric_limits’ is not a member of ‘std’
  116 |     uint asArrayIndex() const { return (isManaged() || val == 0) ? std::numeric_limits<uint>::max() : static_cast<uint>(val & 0xffffffff); }
      |                                                                         ^~~~~~~~~~~~~~
../../include/QtQml/5.12.11/QtQml/private/../../../../../src/qml/jsruntime/qv4propertykey_p.h:116:92: error: expected primary-expression before ‘>’ token
  116 |     uint asArrayIndex() const { return (isManaged() || val == 0) ? std::numeric_limits<uint>::max() : static_cast<uint>(val & 0xffffffff); }
      |                                                                                ^
../../include/QtQml/5.12.11/QtQml/private/../../../../../src/qml/jsruntime/qv4propertykey_p.h:116:95: error: ‘::max’ has not been declared; did you mean ‘std::max’?
  116 |     uint asArrayIndex() const { return (isManaged() || val == 0) ? std::numeric_limits<uint>::max() : static_cast<uint>(val & 0xffffffff); }
      |                                                                                ^~~
      |                                                                                std::max

This is similar to the https://github.com/bitcoin/bitcoin/pull/22186.

Effectively dropped in #121.


Unsupported OS arch: x86

I get this error while trying to run/package my app under a 32bit jvm (windows).
Are there any plans to support 32bit JVMs or is that out of the question?

32-bit Windows is not supported and unlikely will

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


.with_buffers are really work?

I use torch.nn.utils.prune to pruning model, and it generates a mask buffer. However, when I use make_functional_with_buffers,  the error is RuntimeError: Only Tensors created explicitly by the user (graph leaves) support the deepcopy protocol at the moment.  Is it because of the use of deepcopy, or am I missing something?
My test code as follows:
import torch
import torch.nn as nn
from torch.nn.utils.prune import l1_unstructured
from functorch import make_functional_with_buffers

m = nn.Linear(100,100)
l1_unstructured(m, 'weight', amount=0.5)
print(m.weight_mask.is_leaf)
func, params, buffers = make_functional_with_buffers(m)

Pls, help!

I remove-register_buffer like this
prune.remove(m, 'weight')
m.register_buffer('weight_mask', mask)

It worked, but I don't understand why?

I have a basic question: When we use .make_functional_with_buffers or .make_functional to extract func and params, can we also associate and copy the execution of ._forward_pre_hooks in module?

I'm not sure -- does _forward_pre_hooks get copied by deepcopy?
In general functorch doesn't work very well with module hooks at the moment


Update UG

Codecov Report

Merging #86 (6522c65) into master (7052a62) will increase coverage by 0.44%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #86      +/-   ##
============================================
+ Coverage     63.49%   63.93%   +0.44%
- Complexity      410      417       +7
============================================
  Files            83       84       +1
  Lines          1397     1442      +45
  Branches        133      140       +7
============================================
+ Hits            887      922      +35
- Misses          469      477       +8
- Partials         41       43       +2

Impacted Files
Coverage Δ

src/main/java/manageezpz/MainApp.java
0.00% <0.00%> (ø)

...c/main/java/manageezpz/model/task/Description.java
70.00% <0.00%> (ø)

...zpz/logic/parser/AddDeadlineTaskCommandParser.java
0.00% <0.00%> (ø)

src/main/java/manageezpz/model/task/Time.java
33.33% <0.00%> (ø)

.../main/java/manageezpz/logic/parser/ParserUtil.java
57.57% <0.00%> (+1.69%)
:arrow_up:

.../main/java/manageezpz/storage/JsonAdaptedTask.java
47.50% <0.00%> (+2.04%)
:arrow_up:

src/main/java/manageezpz/model/task/Task.java
76.66% <0.00%> (+3.33%)
:arrow_up:

src/main/java/manageezpz/model/task/Date.java
33.33% <0.00%> (+33.33%)
:arrow_up:

src/main/java/manageezpz/model/task/Event.java
50.00% <0.00%> (+50.00%)
:arrow_up:

src/main/java/manageezpz/model/task/Deadline.java
55.55% <0.00%> (+55.55%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


wip-segmentio-auth. added segmentio auth handling. Updated segment.io…

added segmentio auth handling.
Updated segment.io API methods to version 2.
Added version validation on request handling.

Looks like Travis failed because the code is using some new Java 8 packages. Is there an equivalent Java 7 implementation?

I have replaced the jdk8 Base64 decoder with one from jdk7. Could you pls trigger travis build one more time?
Thanks

any updates?

@k4hoo is this still active? Can we resolve or is there more work here?

@pferrel actually i don't remember why it wasn't merged. may be @k4hoo will have some comments.

last time i tried there was error when run "data/test-segmentio.sh". Please see my last comment in https://github.com/PredictionIO/PredictionIO/pull/120/files  - "I got this "name" missing error. is it expected that we should reject this data?"
Other than that, I think it's ready to merge but looks like there is conflict now.

@pferrel @k4hoo fixed test-segmentio.sh test.

Have code conflict now and planning a 0.9.5 release. @mkorolyov do you have time to look at this?

@mkorolyov I can't merge until the conflicts are resolved

deferring until v0.9.6

thanks @mkorolyov


Mapping for TS incremental selection doesn't work

Describe the bug
A clear and concise description of what the bug is.
It doesn't seem like the default keybinds in init.lua works for scope_incremental and node_decremental
  incremental_selection = {
    enable = true,
    keymaps = {
      init_selection = '<c-space>',
      node_incremental = '<c-space>',
      scope_incremental = '<c-s>',
      node_decremental = '<c-backspace>',
    },
  },

To Reproduce
Steps to reproduce the behavior:
Just install... node_incremental works great, but scope_incremental does nothing, and node_decremental just acts like <BS>.
Desktop (please complete the following information):

OS: macOS
Terminal: wezterm

** Neovim Version **

Output of running :version from inside of neovim:

NVIM v0.8.2

It doesn't work for me either.
I'm on a Windows, and I've tried the mapping on Powershell + Wezterm and on cmd.exe.
:checkhealth gives me this output:
nvim-treesitter: require("nvim-treesitter.health").check()
========================================================================
## Installation
  - WARNING: `tree-sitter` executable not found (parser generator, only needed for :TSInstallFromGrammar, not required for :TSInstall)
  - OK: `node` found v14.17.4 (only needed for :TSInstallFromGrammar)
  - OK: `git` executable found.
  - OK: `gcc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
...

Mapping it to a different key works however.

This is a terminal problem -- I actually changed it to Alt-Backspace anyway now though. So that should work for people (but you can also just change if your terminal doesn't support it)


Client is not defined. & Json position 0

Describe the bug
I think nothing can describe it better than the screenshot
First error was on startup
To Reproduce
Setup the bot with MongooseDB 6.0
use ticket setup command
Expected behavior
No errors?
Ticket message should be sent
Screenshots

If possible

NodeJS version: 16.10.0
Bot version: 4.2.3 with some translation to my purposes

Additional context
My fork

Between this two messages i only restarted the bot. Maybe some NPM packages changed because i did no changes on the code itself. i also checked the package versions you provided and used for the project.

JSON Error occured because of VSCode backed up a package-lock.json. ----solved.
The ticket bug i still have also the /ticket limit 1 does not work.

i used client.user.AvatarURL() where no client was defined!


Enhance the responsive documentation

Make sure to explain responsiveness limitations with CANVAS elements and how to correctly setup a responsive chart using a dedicated and relatively positioned div wrapper.
Enhances #2958

This still improvements.


Update BIOS configuration

[x] Add info BIOS settings from CSIT testbed T22
[x] Gain access to m2.xlarge.x86 Packet BIOS
[x] Add info from Packet system
[x] Add suggested changes for BIOS

[ ] review suggestions. add additional, if needed

[ ] Determine which systems to update (Eg. all or only packet generators)
[ ] Update systems with all changes

CSIT T22 Supermicro BIOS settings:

Boot Feature

  |  Quiet Boot                                [Enabled]               |Boot option                  |
  |                                                                    |                             |
  |  Option ROM Messages                       [Force BIOS]            |                             |
  |  Bootup NumLock State                      [On]                    |                             |
  |  Wait For "F1" If Error                    [Enabled]               |                             |
  |  INT19 Trap Response                       [Immediate]             |                             |
  |  Re-try Boot                               [Disabled]              |                             |
  |  Install Windows 7 USB support             [Disabled]              |                             |
  |  Port 61h Bit-4 Emulation                  [Disabled]              |                             |
  |                                                                    |                             |
  |  Power Configuration                                               |                             |
  |  Watch Dog Function                        [Disabled]              |                             |
  |  Restore on AC Power Loss                  [Last State]            |                             |
  |  Power Button Function                     [Instant Off]           |                             |
  |  Throttle on Power Fail                    [Disabled]              |                             |

CPU Configuration

  |  Processor Configuration                                           |Enables Hyper Threading      |
  |  --------------------------------------------------                |(Software Method to          |
  |  Processor BSP Revision                    50654 - SKX H0          |Enable/Disable Logical       |
  |  Processor Socket                          CPU1      |  CPU2       |Processor threads.           |
  |  Processor ID                              00050654* |  000506...  |                             |
  |  Processor Frequency                       2.500GHz  |  2.500GHz   |                             |
  |  Processor Max Ratio                            19H  |  19H        |                             |
  |  Processor Min Ratio                            0AH  |  0AH        |                             |
  |  Microcode Revision                        02000030                |                             |
  |  L1 Cache RAM                                  64KB  |      64KB   |                             |
  |  L2 Cache RAM                                1024KB  |    1024KB   |                             |
  |  L3 Cache RAM                               39424KB  |   39424KB   |                             |
  |  Processor 0 Version                                               |                             |
  |  Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz                      |                             |
  |  Processor 1 Version                                               |                             |
  |  Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz                      |                             |
  |                                                                    |                             |
  |  Hyper-Threading [ALL]                     [Enable]                |                             |
  |  Core Disable Bitmap(Hex)                  0                       |                             |
  |  Execute Disable Bit                       [Enable]                |                             |
  |  Intel Virtualization Technology           [Enable]                |                             |
  |  PPIN Control                              [Unlock/Enable]         |                             |
  |  Hardware Prefetcher                       [Enable]                |                             |
  |  Adjacent Cache Prefetch                   [Enable]                |                             |
  |  DCU Streamer Prefetcher                   [Enable]                |                             |
  |  DCU IP Prefetcher                         [Enable]                |                             |
  |  LLC Prefetch                              [Disable]               |                             |
  |  Extended APIC                             [Disable]               |                             |
  |  AES-NI                                    [Enable]                |                             |
  |> Advanced Power Management Configuration                           |                             |

Advanced Power Management Configuration

  |  Advanced Power Management Configuration                           |Switch CPU Power Management  |
  |  --------------------------------------------------                |profile                      |
  |  Power Technology                          [Custom]                |                             |
  |  Power Performance Tuning                  [BIOS Controls EPB]     |                             |
  |  ENERGY_PERF_BIAS_CFG mode                 [Maximum Performance]   |                             |
  |> CPU P State Control                                               |                             |
  |> Hardware PM State Control                                         |                             |
  |> CPU C State Control                                               |                             |
  |> Package C State Control                                           |                             |
  |> CPU T State Control                                               |                             |

CPU P State Control

  |  CPU P State Control                                               |Enable/Disable EIST          |
  |                                                                    |(P-States)                   |
  |  SpeedStep (Pstates)                       [Disable]               |                             |
  |  EIST PSD Function                         [HW_ALL]                |                             |

Hardware PM State Control

  |  Hardware PM State Control                                         |Disable: Hardware chooses a  |
  |                                                                    |P-state based on OS Request  |
  |  Hardware P-States                         [Disable]               |(Legacy P-States)            |
  |                                                                    |Native Mode:Hardware         |
  |                                                                    |chooses a P-state based on   |
  |                                                                    |OS guidance                  |
  |                                                                    |Out of Band Mode:Hardware    |
  |                                                                    |autonomously chooses a       |
  |                                                                    |P-state (no OS guidance)     |

CPU C State Control

  |  CPU C State Control                                               |Autonomous Core C-State      |
  |                                                                    |Control                      |
  |  Autonomous Core C-State                   [Disable]               |                             |
  |  CPU C6 report                             [Disable]               |                             |
  |  Enhanced Halt State (C1E)                 [Disable]               |                             |

Package C State Control

  |  Package C State Control                                           |Package C State limit        |
  |                                                                    |                             |
  |  Package C State                           [C0/C1 state]           |                             |

CPU T State Control

  |  CPU T State Control                                               |Enable/Disable Software      |
  |                                                                    |Controlled T-States          |
  |  Software Controlled T-States              [Disable]               |                             |

Chipset Configuration

  |  WARNING: Setting wrong values in below sections may cause         |North Bridge Parameters      |
  |           system to malfunction.                                   |                             |
  |> North Bridge                                                      |                             |
  |> South Bridge                                                      |                             |

North Bridge

  |> UPI Configuration                                                 |Displays and provides        |
  |> Memory Configuration                                              |option to change the UPI     |
  |> IIO Configuration                                                 |Settings                     |

UPI Configuration

  |  UPI Configuration                                                 |Choose Topology Precedence   |
  |  --------------------------------------------------                |to degrade features if       |
  |  Number of CPU                             2                       |system options are in        |
  |  Number of Active UPI Link                 3                       |conflict or choose Feature   |
  |  Current UPI Link Speed                    Fast                    |Precedence to degrade        |
  |  Current UPI Link Frequency                10.4 GT/s               |topology if system options   |
  |  UPI Global MMIO Low Base / Limit          90000000 / FBFFFFFF     |are in conflict.             |
  |  UPI Global MMIO High Base / Limit<PHONE_NUMBER>000000 / ...  |                             |
  |  UPI Pci-e Configuration Base / Size       80000000 / 10000000     |                             |
  |  Degrade Precedence                        [Topology Precedence]   |                             |
  |  Link L0p Enable                           [Disable]               |                             |
  |  Link L1 Enable                            [Disable]               |                             |
  |  IO Directory Cache (IODC)                 [Auto]                  |                             |
  |  SNC                                       [Disable]               |                             |
  |  XPT Prefetch                              [Disable]               |                             |
  |  KTI Prefetch                              [Enable]                |                             |
  |  Local/Remote Threshold                    [Auto]                  |                             |
  |  Stale AtoS                                [Disable]               |                             |
  |  LLC dead line alloc                       [Enable]                |                             |
  |  Isoc Mode                                 [Auto]                  |                             |

Memory Configuration

  |                                                                    |POR - Enforces Plan Of       |
  |  --------------------------------------------------                |Record restrictions for      |
  |  Integrated Memory Controller (iMC)                                |DDR4 frequency and voltage   |
  |  --------------------------------------------------                |programming. Disable -       |
  |                                                                    |Disables this feature.       |
  |  Enforce POR                               [Disable]               |                             |
  |  Memory Frequency                          [2666]                  |                             |
  |  Data Scrambling for NVMDIMM               [Auto]                  |                             |
  |  Data Scrambling for DDR4                  [Auto]                  |                             |
  |  tCCD_L Relaxation                         [Auto]                  |                             |
  |  Memory tRWSR Relaxation                   [Enable]                |                             |
  |  2X REFRESH                                [Auto]                  |                             |
  |  Page Policy                               [Auto]                  |                             |
  |  IMC Interleaving                          [2-way Interleave]      |                             |
  |> Memory Topology                                                   |                             |
  |> Memory RAS Configuration                                          |                             |

IIO Configuration

  |  IIO Configuration                                                 |Expose IIO DFX devices and   |
  |  --------------------------------------------------                |other CPU devices like PMON  |
  |                                                                    |                             |
  |  EV DFX Features                           [Disable]               |                             |
  |> CPU1 Configuration                                                |                             |
  |> CPU2 Configuration                                                |                             |
  |> IOAT Configuration                                                |                             |
  |> Intel. VT for Directed I/O (VT-d)                                 |                             |
  |> Intel. VMD technology                                             |                             |
  |                                                                    |                             |
  |   IIO-PCIE Express Global Options                                  |                             |
  |  ========================================                          |                             |
  |  PCI-E Completion Timeout Disable          [No]                    |                             |

CPU1 Configuration

  |  IOU0 (IIO PCIe Br1)                       [Auto]                  |Selects PCIe port            |
  |  IOU1 (IIO PCIe Br2)                       [Auto]                  |Bifurcation for selected     |
  |  IOU2 (IIO PCIe Br3)                       [Auto]                  |slot(s)                      |
  |> CPU1 SLOT2 PCI-E 3.0 X16                                          |                             |
  |> CPU1 SLOT4 PCI-E 3.0 X16                                          |                             |
  |> CPU1 SLOT9 PCI-E 3.0 X16                                          |                             |

CPU2 Configuration

  |  IOU0 (IIO PCIe Br1)                       [Auto]                  |Selects PCIe port            |
  |  IOU1 (IIO PCIe Br2)                       [Auto]                  |Bifurcation for selected     |
  |  IOU2 (IIO PCIe Br3)                       [Auto]                  |slot(s)                      |
  |> CPU2 SLOT6 PCI-E 3.0 X16                                          |                             |
  |> CPU2 SLOT8 PCI-E 3.0 X16                                          |                             |
  |> CPU2 SLOT10 PCI-E 3.0 X16                                         |                             |

South Bridge

  |                                                                    |Enables Legacy USB support.  |
  |  USB Module Version                        17                      |AUTO option disables legacy  |
  |                                                                    |support if no USB devices    |
  |  USB Devices:                                                      |are connected. DISABLE       |
  |        1 Keyboard, 1 Mouse, 1 Hub                                  |option will keep USB         |
  |                                                                    |devices available only for   |
  |  Legacy USB Support                        [Enabled]               |EFI applications.            |
  |  XHCI Hand-off                             [Disabled]              |                             |
  |  Port 60/64 Emulation                      [Enabled]               |                             |
  |  PCIe PLL SSC                              [Disable]               |                             |
  |  Real USB Wake Up                          [Enabled]               |                             |
  |  Front USB Wake Up                         [Enabled]               |                             |
  |                                                                    |                             |
  |  Azalia                                    [Auto]                  |                             |
  |    Azalia PME Enable                       [Disabled]              |                             |

PCIe/PCI/PnP Configuration

  |  PCI Bus Driver Version                    A5.01.12                |Enables or Disables 64bit    |
  |                                                                    |capable Devices to be        |
  |  PCI Devices Common Settings:                                      |Decoded in Above 4G Address  |
  |  Above 4G Decoding                         [Enabled]               |Space (Only if System        |
  |  SR-IOV Support                            [Enabled]               |Supports 64 bit PCI          |
  |  MMIO High Base                            [56T]                   |Decoding).                   |
  |  MMIO High Granularity Size                [256G]                  |                             |
  |  Maximum Read Request                      [Auto]                  |                             |
  |  MMCFG Base                                [2G]                    |                             |
  |  NVMe Firmware Source                      [Vendor Defined Fi...]  |                             |
  |  VGA Priority                              [Onboard]               |                             |
  |  CPU1 SLOT2 PCI-E 3.0 X16 OPROM            [Legacy]                |                             |
  |  CPU1 SLOT4 PCI-E 3.0 X16 OPROM            [Legacy]                |                             |
  |  CPU2 SLOT6 PCI-E 3.0 X16 OPROM            [Legacy]                |                             |
  |  CPU2 SLOT8 PCI-E 3.0 X16 OPROM            [Legacy]                |                             |
  |  CPU1 SLOT9 PCI-E 3.0 X16 OPROM            [Legacy]                |                             |
  |  CPU2 SLOT10 PCI-E 3.0 X16 OPROM           [Legacy]                |                             |
  |  CPU2 SLOT11 PCI-E 3.0 X4(IN X8) OPROM     [Legacy]                |                             |
  |  M.2 CONNECTOR OPROM                       [Legacy]                |                             |
  |  Onboard LAN1 Option ROM                   [Legacy]                |                             |
  |  Onboard LAN2 Option ROM                   [Disabled]              |                             |
  |  Onboard Video Option ROM                  [Legacy]                |                             |
  |> Network Stack Configuration                                       |                             |

ACPI Settings

  |  ACPI Settings                                                     |Enable or Disable Non        |
  |                                                                    |uniform Memory Access        |
  |  NUMA                                      [Enabled]               |(NUMA).                      |
  |  WHEA Support                              [Enabled]               |                             |
  |  High Precision Event Timer                [Enabled]               |                             |
  |  ACPI Sleep State                          [S3 (Suspend to RAM)]   |                             |

CSIT-TB22 has these additional params configured as GRUB cmdline:
nmi_watchdog=0 audit=0 nosoftlockup processor.max_cstate=1 intel_idle.max_cstate=1 hpet=disable tsc=reliable mce=off

Captured settings for BIOS of quadtestb-09:
packetnet-quadtestb-09-orig.log
Suggesting following changes:
Sub NUMA Cluster                                      <Disabled>      to <Enabled> to skip interleaving of cores
System Profile                                        <Performance> to <Custom> to allow override Turbo Boost                                           <Enabled> to <Disable>

@michaelspedersen, @mackonstan, please review and add suggestions/thumbs up for changes.
We can push these to all of the reserved instances after @pmikus does a test later today.

Output of jitter tool from quadtestb-09 / <IP_ADDRESS>
root@pktgen1:~/pma_tools/jitter# sudo chrt 5 taskset -c 2 ./jitter -i 30
Linux Jitter testing program version 1.9
Iterations=30
The pragram will execute a dummy function 80000 times
Display is updated every 20000 displayUpdate intervals
Thread affinity will be set to core_id:1
Timings are in CPU Core cycles
Inst_Min:    Minimum Excution time during the display update interval(default is ~1 second)
Inst_Max:    Maximum Excution time during the display update interval(default is ~1 second)
Inst_jitter: Jitter in the Excution time during rhe display update interval. This is the value of interest
last_Exec:   The Excution time of last iteration just before the display update
Abs_Min:     Absolute Minimum Excution time since the program started or statistics were reset
Abs_Max:     Absolute Maximum Excution time since the program started or statistics were reset
tmp:         Cumulative value calcualted by the dummy function
Interval:    Time interval between the display updates in Core Cycles
Sample No:   Sample number

   Inst_Min   Inst_Max   Inst_jitter last_Exec  Abs_min    Abs_max      tmp       Interval     Sample No
    160022     171618      11596     160024     160022     171618<PHONE_NUMBER><PHONE_NUMBER>          1
    160022     187496      27474     160026     160022     187496<PHONE_NUMBER><PHONE_NUMBER>          2
    160022     187496      27474     160024     160022     187496     654311424<PHONE_NUMBER>          3
    160022     187538      27516     160026     160022     187538     117440512<PHONE_NUMBER>          4
    160022     187508      27486     160024     160022     187538<PHONE_NUMBER><PHONE_NUMBER>          5
    160022     187538      27516     160026     160022     187538<PHONE_NUMBER><PHONE_NUMBER>          6
    160022     187522      27500     160024     160022     187538<PHONE_NUMBER><PHONE_NUMBER>          7
    160022     187470      27448     160024     160022     187538<PHONE_NUMBER><PHONE_NUMBER>          8
    160022     187480      27458     160024     160022     187538<PHONE_NUMBER><PHONE_NUMBER>          9
    160022     187436      27414     160024     160022     187538<PHONE_NUMBER><PHONE_NUMBER>         10
    160022     187484      27462     160024     160022     187538     654311424<PHONE_NUMBER>         11
    160022     195316      35294     160024     160022     195316     117440512<PHONE_NUMBER>         12
    160022     187538      27516     160026     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         13
    160022     194592      34570     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         14
    160022     187480      27458     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         15
    160022     187424      27402     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         16
    160022     187450      27428     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         17
    160022     187360      27338     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         18
    160022     187538      27516     160026     160022     195316     654311424<PHONE_NUMBER>         19
    160022     187480      27458     160024     160022     195316     117440512<PHONE_NUMBER>         20
    160022     187476      27454     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         21
    160022     187472      27450     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         22
    160022     187274      27252     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         23
    160022     194882      34860     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         24
    160022     187450      27428     167298     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         25
    160022     187472      27450     160026     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         26
    160022     187418      27396     160024     160022     195316     654311424<PHONE_NUMBER>         27
    160022     187268      27246     160024     160022     195316     117440512<PHONE_NUMBER>         28
    160022     187406      27384     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         29
    160022     187484      27462     160024     160022     195316<PHONE_NUMBER><PHONE_NUMBER>         30

MLC outputs from: quadtestb-09 / <IP_ADDRESS>
root@pktgen1:~/mlc/Linux# sudo ./mlc --bandwidth_matrix
Intel(R) Memory Latency Checker - v3.5
Command line parameters: --bandwidth_matrix

Using buffer size of 100.000MB/thread for reads and an additional 100.000MB/thread for writes
Measuring Memory Bandwidths between nodes within system
Bandwidths are in MB/sec (1 MB/sec = 1,000,000 Bytes/sec)
Using all the threads from each core if Hyper-threading is enabled
Using Read-only traffic type
                Numa node
Numa node            0       1
       0        90935.7 34457.4
       1        34387.1 90870.6

root@pktgen1:~/mlc/Linux# sudo ./mlc --peak_injection_bandwidth
Intel(R) Memory Latency Checker - v3.5
Command line parameters: --peak_injection_bandwidth

Using buffer size of 100.000MB/thread for reads and an additional 100.000MB/thread for writes

Measuring Peak Injection Memory Bandwidths for the system
Bandwidths are in MB/sec (1 MB/sec = 1,000,000 Bytes/sec)
Using all the threads from each core if Hyper-threading is enabled
Using traffic with the following read-write ratios
ALL Reads        :      181223.5
3:1 Reads-Writes :      172511.5
2:1 Reads-Writes :      172197.1
1:1 Reads-Writes :      174143.7
Stream-triad like:      147942.5

root@pktgen1:~/mlc/Linux# sudo ./mlc --max_bandwidth
Intel(R) Memory Latency Checker - v3.5
Command line parameters: --max_bandwidth

Using buffer size of 100.000MB/thread for reads and an additional 100.000MB/thread for writes

Measuring Maximum Memory Bandwidths for the system
Will take several minutes to complete as multiple injection rates will be tried to get the best bandwidth
Bandwidths are in MB/sec (1 MB/sec = 1,000,000 Bytes/sec)
Using all the threads from each core if Hyper-threading is enabled
Using traffic with the following read-write ratios
ALL Reads        :      181234.72
3:1 Reads-Writes :      172514.62
2:1 Reads-Writes :      172199.79
1:1 Reads-Writes :      174149.04
Stream-triad like:      156520.52

root@pktgen1:~/mlc/Linux# sudo ./mlc --latency_matrix
Intel(R) Memory Latency Checker - v3.5
Command line parameters: --latency_matrix

Using buffer size of 2000.000MB
Measuring idle latencies (in ns)...
                Numa node
Numa node            0       1
       0          97.8   149.6
       1         148.9    97.4

root@pktgen1:~/mlc/Linux# sudo ./mlc --idle_latency
Intel(R) Memory Latency Checker - v3.5
Command line parameters: --idle_latency

Using buffer size of 2000.000MB
Each iteration took 207.7 core clocks ( 94.6    ns)

root@pktgen1:~/mlc/Linux# sudo ./mlc --loaded_latency
Intel(R) Memory Latency Checker - v3.5
Command line parameters: --loaded_latency

Using buffer size of 100.000MB/thread for reads and an additional 100.000MB/thread for writes

Measuring Loaded Latencies for the system
Using all the threads from each core if Hyper-threading is enabled
Using Read-only traffic type
Inject  Latency Bandwidth
Delay   (ns)    MB/sec
==========================
 00000  165.74   181527.9
 00002  165.72   181528.4
 00008  165.76   181522.3
 00015  164.76   181423.2
 00050  161.03   180458.6
 00100  108.67   110777.2
 00200  102.06    70278.9
 00300  100.32    48476.8
 00400   99.69    37009.2
 00500   99.34    29971.8
 00700   98.45    21790.0
 01000   97.24    15553.0
 01300   96.92    12157.7
 01700   96.71     9479.6
 02500   96.40     6681.5
 03500   96.09     4973.7
 05000   95.76     3688.4
 09000   94.86     2354.8
 20000   93.39     1442.0

root@pktgen1:~/mlc/Linux# sudo ./mlc --c2c_latency
Intel(R) Memory Latency Checker - v3.5
Command line parameters: --c2c_latency

Measuring cache-to-cache transfer latency (in ns)...
Local Socket L2->L2 HIT  latency        56.0
Local Socket L2->L2 HITM latency        56.1
Remote Socket L2->L2 HITM latency (data address homed in writer socket)
                        Reader Numa Node
Writer Numa Node     0       1
            0        -   119.0
            1    120.1       -
Remote Socket L2->L2 HITM latency (data address homed in reader socket)
                        Reader Numa Node
Writer Numa Node     0       1
            0        -   194.1
            1    194.0       -

root@pktgen1:~# uname -a
Linux pktgen1 4.4.0-134-generic #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

root@pktgen1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:        16.04
Codename:       xenial

CPU detail
root@pktgen1:~# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                56
On-line CPU(s) list:   0-55
Thread(s) per core:    2
Core(s) per socket:    14
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Gold 5120 CPU @ 2.20GHz
Stepping:              4
CPU MHz:               2194.944
BogoMIPS:              4391.31
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              19712K
NUMA node0 CPU(s):     0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54
NUMA node1 CPU(s):     1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fx
sr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology n
onstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_
1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb invpcid_single
 intel_pt ssbd ibrs ibpb stibp kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi
2 erms invpcid rtm cqm mpx avx512f rdseed adx smap clflushopt clwb avx512cd xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_
llc cqm_mbm_total cqm_mbm_local dtherm arat pln pts flush_l1d

DMIdecode:
Handle 0x1100, DMI type 17, 40 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 32 GB
        Form Factor: DIMM
        Set: 1
        Locator: A1
        Bank Locator: Not Specified
        Type: DDR4
        Type Detail: Synchronous Registered (Buffered)
        Speed: 2666 MHz
        Manufacturer: 00AD00B300AD
        Serial Number: 11AE6708
        Asset Tag: 01174251
        Part Number: HMA84GR7AFR4N-VK
        Rank: 2
        Configured Clock Speed: 2400 MHz
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V

Just reviewed the situation with @pmikus and identified following reasons behind calibration data discrepancy vs. FD.io CSIT-18.10:

Gold Skylake 5120 2.2 GHz vs. Platinum 8180 2.5 GHz.
DRAM sticks DDR4 2666 MHz, but clocked at 2400 MHz vs. DDR4 2666 MHz.
Ubuntu 16.04 kernel 4.4.0 vs. Ubuntu 18.04 kernel 4.15.0.

@pmikus adjusted identified BIOS parameters, and about to adjust grub parameters.

Captured settings for BIOS of quadtestb-09:
packetnet-quadtestb-09-orig.log
Suggesting following changes:
Sub NUMA Cluster <Disabled>  to <Enabled> to skip interleaving of cores
System Profile <Performance> to <Custom> to allow override Turbo Boost <Enabled> to <Disable>

ok so small problem...when I follow these changes along with the others (Im assuming its the sub numa cluster change)  the output looks different enough that I can only imagine the grub will have to change
basically doubles the number of nodes..

ok current state of quad1-4
this results in them all looking like the above

Calibration data.
quad1-calib.log
quad2-calib.log
quad3-calib.log
quad4-calib.log


Initialization sometimes causes exponential scaling in runtime

See the original issue: https://github.com/biaslab/MultiAgentTrajectoryPlanning/issues/4
When increasing the loopyness in the model, the complexity scales very badly. Some messages are computed way more frequently, leading to large runtimes.

Fixed in #354


Kastone remove azure

quickly taking out the azure portion of terrarium. We can add more instructions later.

This is super funky.  I think it's b/c I forked the original microsoft/Web-Dev-For-Beginners repo a week or so ago not the frontendfoxes/school-curriculum repo(which also is a fork of microsoft/Web-Dev-For-Beginners) one to fix a quiz. Now it seems my PR to frontendfoxes/school-curriculum also contains all commits in microsoft, essentially trying to SYNC the frontendfoxes repo with the microsoft one.


WIP: Add Initial Project Files

Adds README.rst and copy project files from Slicer SALT module for ITK external module implementation. Also adds a basic test to verify we can define a filter object.
Checks are currently failing due to CMake build errors. PR will be marked as ready for review when checks are passing.

Created predecessor PR 3 introducing base files and Github Actions checks for assistance in verifying and debugging issues.

This builds locally for me on Windows.

Thanks @dzenanz . In that case the continued issues I'm seeing may be local. @thewtex could you give me repo permissions to set up CI for comparison?

It looks like I am also able to build on Ubuntu locally with tests passing successfully. Will be interested to see whether this is a Windows-specific issue or a local environment problem.

It works on Windows, too:
1>------ Build started: Project: RUN_TESTS, Configuration: RelWithDebInfo x64 ------
1>Test project M:/CDev/ITKMesh3DProcrustesAlignFilter-19
1>    Start 1: Mesh3DProcrustesAlignFilterKWStyleTest
1>1/3 Test #1: Mesh3DProcrustesAlignFilterKWStyleTest ......***Failed    0.03 sec
1>    Start 2: Mesh3DProcrustesAlignFilterInDoxygenGroup
1>2/3 Test #2: Mesh3DProcrustesAlignFilterInDoxygenGroup ...   Passed    0.06 sec
1>    Start 3: itkMesh3DProcrustesAlignFilterTest
1>3/3 Test #3: itkMesh3DProcrustesAlignFilterTest ..........   Passed    0.04 sec
1>
1>67% tests passed, 1 tests failed out of 3

Got it. Any ideas on what might factor into the local issue I'm having? I've tried rebuilding both ITK and the module itself. I'll switch to Ubuntu for now but am concerned about running into this again in the future.

Try building in a new directory. When doing incremental builds and cleans, cruft tends to accumulate over time.

Marking as ready for review following squash. Prior to squash all checks are passing on tbirdso/ITKMesh3DProcrustesAlignFilter. It looks like remaining issues are localized entirely within my Windows environment and should not block review/merge at this time.

Per @dzenanz 's advice, rebuilding both ITK and the external module from scratch has resolved the build issue on my side. Should be good to go.


PHP bundle

Adopted changes which made in LinksService to other interfaces. Now all interfaces look familiar.

Also added AbstractService class & used D.R.Y.

Looks good to me! If no one has an opinion otherwise in the next day, I'll merge it in.

How about this pull request? Will it be accepted? :)

Sorry -- I had forgotten about this! It looks good to me, and no one objected, so consider it merged. Thanks!


When importing, check file extension.

CHV imports should require .CHV
Excel imports should require .xlsx
CSV imports should ask if the extension isn't one of .csv  or  .txt  although it probably ought not refuse to take something else.

yep will do

fixed. It only allows you select files that match the file extension that you selected


ModuleNotFoundError: No module named 'pointgroup_ops'

Thank you for your great work !
When I tried to run somme pointcept code I get the error below from the code named point_group_v1m1_base.py :
from pointgroup_ops import ballquery_batch_p, bfs_cluster
ModuleNotFoundError: No module named 'pointgroup_ops'
I tried to run these commands, but this don't work :

cd Pointcept/libs
cd pointgroups_ops
python setup.py install

Thank's in advance.

Hi @hpc100. I face the same error. But I noticed this error has been issued, but still no solution.

Hi, check README here. It can not be installed by simply python setup.py install.

Thank's for the link. It works well !


fix: enable webhooks by default

Fixes #N/A
Description
Fixes an issue where k8s expects a conversion webhook is enabled (but it isn't) due to applying CRDs from the repo but the webhook.
How was this change tested?
Make presubmit.
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

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

Totals

Change from base Build<PHONE_NUMBER>0:
0.01%

Covered Lines:
5842

Relevant Lines:
7476

💛  - Coveralls


Markdown text is not rendered as italic

But it works in GitHub.

I'm not sure, but isn't italics with underscores GitHub flavored markdown instead of regular markdown?
Showdown.js is configured to parse regular markdown. However, you can simply change it to render GitHub flavored markdown instead by adding
converter.setFlavor('github');

in main.js after line 24.

Single underscores should produce the <em> ... </em> span element in standard Markdown, which is usually rendered as italic.

Showdown is already setup for single underscores or single asterisks to produce  tag.


Sync 1 component by providing name of the installed component

Right now, syncing functionality is provided by schema component name.
While it's a great solution for local schemas, where we know exactly what is the name of the schema.
But when adding and installing components from storyblok-components or other components repositories, where the component consist of few schemas, we don;t know what are the exact names of schema names.
so we need something like that:
sb-mig sync components @storyblok-components/some-component-name --ext

https://github.com/sb-mig/sb-mig/pull/114 PR fixes it. Now you can sync your installed components from node_modules like that:
sb-mig sync components @storyblok-components/simple-text-block --ext --packageName

--packageName is boolean, which tells sb-mig to search for schemas with package name.
So, now if some package will have more than one schema, you don't need to know the name of it, just a package name itself.


.Net: Add support for custom authentication provider for OpenAPI

Motivation and Context

Why is this change required? This change adds support for other authentication methods defined in OpenAPI specs.
What problem does it solve? Some APIs use other authentication methods that define a value in a custom header. As an example, many PlayFab APIs are authenticated using secret key or user token in a custom header. The current authentication providers are not sufficient for onboarding these APIs as skills.
What scenario does it contribute to? This change will enable APIs using custom header authentication to onboard their OpenAPI specs as skills in Semantic Kernel.
If it fixes an open issue, please link to the issue here.

Description

This change adds a new OpenAPI authentication provider that enables specifying a custom header to supply the authentication key or value.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

@gitri-ms This is related to work you did in the past. Adding you as a reviewer.

I believe one can already do this by passing in an HttpClient with the DefaultHeaders populated, which is our recommended approach for similar situations across SK. (We're trying to reduce the number of routes we provide to do things that are already doable via common dotnet patterns, or can be added as extensions, to reduce the surface and complexity of the SDK)
@SergeyMenshykh can you please confirm, and take a look at the PR and the needs it addresses?


Docker 1.10 support?

Has anyone tested rancher with Docker 1.10?

Testing it now, seems like everything is fine. No problems so far.

@ibuildthecloud runs Docker from master regularly and we test RC releases to make sure they will work (both in general and with Rancher).

Awesome, good to hear


Hotkeys for FancyZone Layouts

At the moment we press a shortcut to open the FancyZones settings to set our Layout. But after we initially created our Layouts we don't want to always go to settings (altough it can be opened by hotkeys), it would be nice to just configure hotkeys for different layouts in its settings menu.

Duplicate of #1411


Security / Prompt user to confirm the signing of a message

Current Behaviour
Scenario: Sign message can happen in the background without user being prompted
	Given I am on a webln enabled page "https://webln.dev/#/api/sign-message"
	And the page has previously been granted access to the extension
	When I click sign message
	Then the message is signed

Expected Behaviour
Scenario: Confirm a sign message request
	Given I am on a webln enabled page "https://webln.dev/#/api/sign-message"
	And the page has previously been granted access to the extension
	When I click sign message
	And I see the message in a prompt from the extension
	And I can click "Sign this message"
	Then the signed message is inputted into the text field

Scenario: Deny sign message request
	Given I am on a webln enabled page "https://webln.dev/#/api/sign-message"
	And the page has previously been granted access to the extension
	When I click sign message
	And I see the message in a prompt from the extension
	And I can click "Cancel"
	Then the website does not get the signed message

Thanks for raising this. Same goes actually for the makeInvoice calls.
Do you think we should always prompt the user? or should we also have some kind of "allowance" for this? (as we do for payments and lnurl-auth)

While there are options some sites give when logging in to state how long the session should be kept for (remember me) I think LNURL-Auth is similar to the webln.requestProvider(). It's part of the "connect" flow so only needs to happen once unless the user disables / logs out of the site explicitly OR the extension is locked.
From my understanding even without auth, once webln has been enabled for the publisher the site would be able to request payments. So my rationale is that once the extension is unlocked, we can assume auth I granted (access to provider, and LNURL-Auth).
For signMessage() I see this as a follow-up authorisation/verification request so we should go with the tightest security so it is explicit to the user what data is being signed. Same would apply for makeInvoice(). Then adjust as we understand the usage of this functionality.
Explicit signMessage also helps us train user behavior and understanding of keys which I think would be important in this new ecosystem.

Looking ahead we can adjust the initial connect modal to show these options

[ ] Allow signing message in the background
[ ] Allow invoice creation
[ ] Remember me

There is now a prompt for signMessage calls but we do not yet have the option to remember the decision.


refactor: optimised Interview Feedback added fixes

Feature description
optimised Interview Feedback added fixes
Output screenshots (optional)
https://www.youtube.com/watch?v=5JTVUsLjm3M
Areas affected and ensured
Interview
Interview Round
Interview Feedback
Is there any existing behaviour change of other features due to this code change?
No
Was this feature tested on the browsers?

Chrome

We need questions as well in the popup, right, @SherinKR?


Pygame_GUI on a Raspberry Pi Zero2 without desktop cannot find default font

I have a simple GUI app running on a Raspberry Pi Zero 2 with desktop which runs well but I would like to drop the desktop since it uses resources which are in short supply on the Zero2. (only 0.5GB memory in particular).   Pygame itself seems to run successfully without the desktop provided that SDL2 is installed. However, as soon as the Pygame_GUI manager is invoked, the script errors with:
Traceback (most recent call last):
File "/home/dickh/test.py", line 10, in
manager = pygame_gui.UIManager((480,320))
File "/usr/local/lib/python3.9/dist-packages/pygame_gui-0.6.12-py3.9.egg/pygame_gui/ui_manager.py", line 70, in init
self.ui_theme = self.create_new_theme(theme_path)
File "/usr/local/lib/python3.9/dist-packages/pygame_gui-0.6.12-py3.9.egg/pygame_gui/ui_manager.py", line 117, in create_new_theme
theme = UIAppearanceTheme(self.resource_loader, self._locale)
File "/usr/local/lib/python3.9/dist-packages/pygame_gui-0.6.12-py3.9.egg/pygame_gui/core/ui_appearance_theme.py", line 62, in init
self.font_dict = UIFontDictionary(self._resource_loader, locale)
File "/usr/local/lib/python3.9/dist-packages/pygame_gui-0.6.12-py3.9.egg/pygame_gui/core/ui_font_dictionary.py", line 190, in init
self._load_default_font(self.default_font)
File "/usr/local/lib/python3.9/dist-packages/pygame_gui-0.6.12-py3.9.egg/pygame_gui/core/ui_font_dictionary.py", line 222, in _load_default_font
raise error
FileNotFoundError: Unable to load resource with path: pygame_gui.data.NotoSans-Regular.ttf
The above was obtained running a minimal script:
import pygame
import pygame_gui
pygame.init()
screen = pygame.display.set_mode([480,320])
manager = pygame_gui.UIManager((480,320))
pygame.display.set_caption("My Board")
exit = False
while not exit:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            exit = True
    pygame.display.update()

I have checked the install directories and all of the font files appear to be in the right place. For some reason this Pygame_GUI installation cannot find them.  I initially installed v0.6.0 using PIP and have since tried installing 0.6.12 from source with the same result.

OS: Raspbian GNU/Linux 11 (bullseye)
Kernel: Linux 6.1.21-v7+
Architecture: arm 32bit

Pygame GUI version 0.6.12

Pygame-ce 2.5.0

SDL 2.0.14

Python 3.9.2)

From what I understand SDL itself isn't running well without a desktop on Raspberry Pi at the minute - which is likely to be the root of the problem. The font file is presumably still where it normally is, I expect this error is a result of something cascading from deep in SDL, up through pygame and this is just the final error you are seeing. I would try loading font files with normal pygame code and see if you still get errors.
AFAICT there is nothing I can do about this in Pygame GUI itself, as you said it works fine on raspberry pi with the desktop.
I'll leave this open for now in case you have resolved it or can pin it down further, but I expect I will have to close this here.

@dickh768 @MyreMylar
I'm getting this same issue on a Pi3 in Bullseye with desktop installed.
Raspbian GNU/Linux 11 (bullseye)
32bit
Pygame-ce 2.5.2
SDL 2.0.14
Python 3.9.2
Pygame GUI 0.6.12
Is there a way we could set what the default font is?  or set the font location?
Wondering what a work around might be?


Add GPU support to the smithsonian hub

In https://2i2c.freshdesk.com/a/tickets/948, the smithsonian hub champion requests the following:

We add GPU support to the hub
GPU profiles should allow users to choose between the pangeo ml notebook (named tensorflow2 for clarity) and pytorch notebook
These GPU profiles should be restricted only to specific teams.

I'll ask which teams should get access to these.
I asked for a deadline but haven't heard back.

I requested a quota increase of 16!

Well, I asked for quota increase in the wrong region again. Asked for it in the right region this time.


New '--add-captures' option

Hello,
This one adds a new '--add-captures' option to include stdout, stderr and root logger messages in the Test Execution comment. This is useful in some context where a test is printing information or warning messages that are interesting to keep in the Test Execution details.
Regards,
Ronan

Hi,
I have just resolved the conflict on merge in test_help_message function.

Thanks for contributing to this repo.


IPv6 support?

Summary
Started with some issues on 0.9.x resolving upstream host names.
After updating to 0.10.1 I hit the 'Error: Invalid configuration, no dns servers found' error.
Reading the doc it looks like only IPv4 is supported.
Also tried to explicitly configuring an (IPv6) resolver but got an error suggesting IPv4.
Is IPv6 supported at all by Kong?
Additional Details & Logs

Kong version ($ kong version)
0.10.1
Kong debug-level startup logs ($ kong start --vv)
2017/04/02 11:44:38 [verbose] Kong: 0.10.1
2017/04/02 11:44:38 [debug] ngx_lua: 10007
2017/04/02 11:44:38 [debug] nginx: 1011002
2017/04/02 11:44:38 [debug] Lua: LuaJIT 2.1.0-beta2
2017/04/02 11:44:38 [verbose] reading config file at /etc/kong/kong.conf
Error:
/usr/local/share/lua/5.1/kong/cmd/start.lua:10: dns_resolver must be a comma separated list in the form of IPv4 or IPv4:port, got '2001:4860:4860::8888'
stack traceback:
[C]: in function 'assert'
/usr/local/share/lua/5.1/kong/cmd/start.lua:10: in function 'cmd_exec'
/usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:88>
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/kong/cmd/init.lua:88: in function </usr/local/share/lua/5.1/kong/cmd/init.lua:45>
/usr/local/bin/kong:5: in function 'file_gen'
init_worker_by_lua:38: in function <init_worker_by_lua:36>
[C]: in function 'pcall'
init_worker_by_lua:45: in function <init_worker_by_lua:43>
Kong error logs (<KONG_PREFIX>/logs/error.log)
Kong configuration (registered APIs/Plugins & configuration file)
Operating System
CentOS Linux release 7.3.1611 (Core)

Many places it isn't but I just released lua-resty-mediador that I hope we can use in many places to replace lua-resty-iputils, but for whole IPv6 support, we need to do a bit more research.

+1 for the full support of IPv6...

Guys, not having proper IPv6 support can be a problem blocking deployment of Kong. In two weeks or so I'll be evaluating Kong to see whether it can be utilised in my organisation. Due to cost issues with public IPv4 addresses and desire to simplify network management, some of our server environments are IPv6 only now. I guess I am not the only one going this way 😉. Just saying...

@rkujawa,
I made a quick review to codebase, and it seems these are the few places where IPv6 is not supported right now:
IPv6 not supported areas

dns_resolver (@Tieske knows about the complexity of getting this to work?)
cluster_listen (@thibaultcha, do you remember the reason we only accept IPv4 here?)
ip-restriction plugin (this we can easily fix just be replacing lua-resty-iputils with lua-resty-mediador)

So I think that everything else will just happily work with both IPv4 and IPv6.

@bungle The resolver should be IPv6 already, what's missing is configuring it. The config properties only allow IPv4 entries.

I think that everything else will just happily work with both IPv4 and IPv6.

My concern here is effort required for testing with IPv6...

@Tieske
I suppose you are referring to the fact that IPv6 is completely broken on Travis, while you are using Travis to run tests? It's perma-disabled even on loopback interfaces. That's an issue I ran into myself. Unfortunately, Travis devs are not even willing to talk about it (all the issues touching IPv6 are closed and locked immediately, like that solves the problem, duh).
[rant]
On a side note, IPv6 is now supported in Amazon EC2 virtual private cloud instances. Besides, it is offered by many minor cloud and VPS providers (Brightbox, Mythic Beasts, OVH etc.). So it's not like it's some super bleeding edge technology. At @osec-pl we even have native IPv6+IPv4 dual stack network in the whole office.
[/rant]

@rkujawa indeed that is one part, the other being that all core functionality of Kong must be tested against both IP families, so lots of extra test cases.

@rkujawa indeed that is one part, the other being that all core functionality of Kong must be tested against both IP families, so lots of extra test cases.

While such a test environment would eventually be nice, I'm not sure we absolutely need it given that the moving parts implicating DNS resolution are tested separately already (and might sometimes be used atomically from each other as well).
Assuming:

OpenResty is compiled with ipv6 support and such support is tested in cosockets

resty-cli allows resolving with ipv6

The Nginx DNS resolver does not contain the ipv6=off option

Serf supports ipv6 values

The Kong DNS resolver/balancer accepts both ipv4 and ipv6 and is tested as such

The Kong properties accept both ipv4/ipv6 and are tested as such

and 3. are already done. I think that 4 and 5. are as well, with a lower level of confidence. What would be missing here would be 6.

What should probably be done as well to support cases where Nginx was compiled with ipv6 but those ar enot supported on the network in use, is adding a property in kong.conf to disable ipv6 altogether (since recent version of Nginx do not support the --without-ipv6 flag anymore), the same way the Nginx resolver does. (At least, for as long as we need our custom Lua-land resolver and Serf).
Anything missing in there implicating DNS resolutions?

correct 5. does already have IPv6

In case you are after some more data points our internal network is ipv6 only. I'm just deploying a testing release of a new product and it didn't occur to me that Kong wouldn't support ipv6. I know I should have checked but it is 2017 ;)

Hello,
Is there any news on the ipv6 support ?
Thanks :pray: !

we have the same problems with the balancer. Many of our upstream api servers are ipv6 only, so the dns_resolver is not capable of resolving AAAA for ipv6 only addresses.

I just built kong (v1.4) on k8s(v1.11), but I also encountered problems with DNS resolution. The specific error message is as follows:
2018/11/12 09:23:05 [error] 55#0: *80510 [lua] balancer.lua:806: execute(): [dns] dns client error: 101 empty record received. Tried: (short)org:(na) - cache-miss
org.etu-staging.svc.cluster.local.:33 - cache-miss/scheduled/querying/1:org.etu-staging.svc.cluster.local removed/33:org.etu-staging.svc.cluster.local removed/dns client error: 101 empty record received
org.svc.cluster.local.:33 - cache-miss/scheduled/querying/dns server error: 3 name error
org.cluster.local.:33 - cache-miss/scheduled/querying/dns server error: 3 name error
org.localdomain:33 - cache-miss/scheduled/querying/dns server error: 3 name error
org.pek3.qingcloud.com:33 - cache-miss/scheduled/querying/dns server error: 3 name error
org:33 - cache-miss/scheduled/querying/dns client error: 101 empty record received
org.etu-staging.svc.cluster.local.:1 - cache-miss/scheduled/querying/1:org.etu-staging.svc.cluster.local removed/dns client error: 101 empty record received
org.svc.cluster.local.:1 - cache-miss/scheduled/querying/dns server error: 3 name error
org.cluster.local.:1 - cache-miss/scheduled/querying/dns server error: 3 name error
org.localdomain:1 - cache-miss/scheduled/querying/dns server error: 3 name error
org.pek3.qingcloud.com:1 - cache-miss/scheduled/querying/dns server error: 3 name error
org:1 - cache-miss/scheduled/querying/dns client error: 101 empty record received
org.etu-staging.svc.cluster.local.:5 - cache-miss/scheduled/querying/dns client error: 101 empty record received
org.svc.cluster.local.:5 - cache-miss/scheduled/querying/dns server error: 3 name error
org.cluster.local.:5 - cache-miss/scheduled/querying/dns server error: 3 name error
org.localdomain:5 - cache-miss/scheduled/querying/dns server error: 3 name error
org.pek3.qingcloud.com:5 - cache-miss/scheduled/querying/dns server error: 3 name error
org:5 - cache-miss/scheduled/querying/dns client error: 101 empty record received
, client: <IP_ADDRESS>, server: kong, request: "GET /org/api/v1/user HTTP/1.0", host: "api-test.etutech.com"
<IP_ADDRESS> - - [12/Nov/2018:09:23:05 +0000] "GET /org/api/v1/user HTTP/1.0" 503 37 "-" "PostmanRuntime/7.3.0"
<IP_ADDRESS> - - [12/Nov/2018:09:27:21 +0000] "GET /routes? HTTP/1.1" 200 370 "-" "-"
<IP_ADDRESS> - - [12/Nov/2018:09:27:21 +0000] "GET /services/fb1514f2-19ce-4ebd-842b-8e013dac8580 HTTP/1.1" 200 227 "-" "-"

Is this error also a support issue for IPv6? If this is the case, I would like to ask what is the progress of IPv6 support now.
Thanks !

@wq7 from the logs it shows that it tries to query for 33, 1, 5 type records, respectively SRV, A, CNAME. Apparently it cannot resolve the name, since it gets a "3 name error" response from the dns server.
Please note: kong contacted the dns server, submitted the query, got a response. So every thing (from Kong perspective) works. It's just that the name server apparently doesn't have a record for those names.
If your enviornment is IPv6 only, then it makes sense, since Kong doesn't support it.

@Tieske
Thank you for your reply.
Today I entered the docker container and used the dig command to get the following result:
root@kong-rc-78db95869-2g64z:/# dig org.etu-staging.svc.cluster.local. SRV

; <<>> DiG 9.9.5-9+deb8u16-Debian <<>> org.etu-staging.svc.cluster.local.  IN	SRV

;; ANSWER SECTION:
org.etu-staging.svc.cluster.local. 5 IN	SRV	0 100 80 org.etu-staging.svc.cluster.local.

;; ADDITIONAL SECTION:
org.etu-staging.svc.cluster.local. 5 IN	A	<IP_ADDRESS>

;; Query time: 6 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Tue Nov 13 17:55:14 CST 2018
;; MSG SIZE  rcvd: 197

root@kong-rc-78db95869-2g64z:/# dig org.etu-staging.svc.cluster.local. A

; <<>> DiG 9.9.5-9+deb8u16-Debian <<>> org.etu-staging.svc.cluster.local.   CNAME

; <<>> DiG 9.9.5-9+deb8u16-Debian <<>> org.etu-staging.svc.cluster.local.  IN	CNAME

;; AUTHORITY SECTION:
cluster.local.		30	IN	SOA	ns.dns.cluster.local. hostmaster.cluster.local.<PHONE_NUMBER> 7200 1800 86400 30

;; Query time: 1 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Tue Nov 13 17:55:30 CST 2018
;; MSG SIZE  rcvd: 155

Find the SRV and A type addresses of the org.etu-staging.svc.cluster.local domain name that can be found.
I deployed kong in the k8s cluster. Is the problem I encountered related to the DNS of k8s?

@Tieske
I just tried to modify the kong's service and changed the host from org to org.etu-staging.svc.cluster.local. The problem is solved and the API can be accessed normally.
Previous service:
{
   "next":null,
   "data":[
      {
         "host":"org",
         "created_at":1542011318,
         "connect_timeout":60000,
         "id":"fb1514f2-19ce-4ebd-842b-8e013dac8580",
         "protocol":"http",
         "name":"org",
         "read_timeout":60000,
         "port":80,
         "path":null,
         "updated_at":1542101743,
         "retries":2,
         "write_timeout":60000
      }
   ]
}

Current service:
{
   "next":null,
   "data":[
      {
         "host":"org.etu-staging.svc.cluster.local",
         "created_at":1542011318,
         "connect_timeout":60000,
         "id":"fb1514f2-19ce-4ebd-842b-8e013dac8580",
         "protocol":"http",
         "name":"org",
         "read_timeout":60000,
         "port":80,
         "path":null,
         "updated_at":1542101743,
         "retries":2,
         "write_timeout":60000
      }
   ]
}

@wq7 have you tried the hostname without the trailing dot?

@Tieske
root@kong-rc-78db95869-2g64z:/# dig org

; <<>> DiG 9.9.5-9+deb8u16-Debian <<>> org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28222
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;org.				IN	A

;; AUTHORITY SECTION:
org.			30	IN	SOA	a0.org.afilias-nst.info. noc.afilias-nst.info.<PHONE_NUMBER> 1800 900<PHONE_NUMBER>0

;; Query time: 386 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Tue Nov 13 20:28:22 CST 2018
;; MSG SIZE  rcvd: 114

The above is the result of dig org.
Short name in k8s may not find DNS, it should be just an alias name.
Here are the results of ping:
root@kong-rc-78db95869-2g64z:/# ping org
PING org.etu-staging.svc.cluster.local (<IP_ADDRESS>): 56 data bytes

The DNS system will never answer a query for "org" name, this is by design. Use fully qualified host names when querying DNS. This issue has nothing to do with IPv6.

@rkujawa
Yes, now I figured it out, my judgment was wrong before, I can use it after modifying the host of kong's service.
Thanks ！

As we now mostly support ipv6 with most notable exception being ip-restriction plugin, I will close this.


[Feature Request] [Tickets] Abilty to set title on Modals

Is your feature request related to a problem? Please describe.
It's a little annoying to see the {NAME} Panel in the title. The ability to change this would be handy
Describe the solution you'd like
The ability to set the title of the modals.
Describe alternatives you've considered
None
Additional context
None

If this could be added relatively soon, I would be willing to drop a small donation :)

Just pushed this feature :)


Exception thrown: Unhashable type: 'slice'

The following stack trace has been thrown (see below) while parsing a web page.
Software versions:
MacOS 11.5.2
Python 3.9.5
Lxml 4.6.3
Trafilatura 0.9.1
A git blame reveals this line of code is new and has been introduced by the git commit 66ef5370f7feed894b92109dcac1626b0cbf2462
pushed 25 days ago with the message "PR: merge attempt"
It seems the parent['@context'] object is a dictionary and not a sequence (list or tuple), trigering this bug as the slicing operation [:-10:] expects a sequence.
As a confirmation, switching to a previous Trafilatura version (0.9.0) makes the bug disappear. So this bug was indeed introduced by this git commit.
Stack trace:
... (non-trafilatura code, i.e., my client code, calling directly trafilatura.core.bare_extraction with a pre-parsed LXML tree) ...
File "/usr/local/Caskroom/miniconda/base/envs/myenv/lib/python3.9/site-packages/trafilatura/core.py", line 748, in bare_extraction
    docmeta = extract_metadata(tree, url, date_extraction_params, no_fallback)
  File "/usr/local/Caskroom/miniconda/base/envs/myenv/lib/python3.9/site-packages/trafilatura/metadata.py", line 327, in extract_metadata
    metadata = extract_meta_json(tree, metadata)
  File "/usr/local/Caskroom/miniconda/base/envs/myenv/lib/python3.9/site-packages/trafilatura/metadata.py", line 49, in extract_meta_json
    metadata = extract_json(schema, metadata)
  File "/usr/local/Caskroom/miniconda/base/envs/myenv/lib/python3.9/site-packages/trafilatura/json_metadata.py", line 28, in extract_json
    if '@context' not in parent or parent['@context'][-10:].lower() != 'schema.org':
TypeError: unhashable type: 'slice'

Hi @dmoklaf, thanks for the bug report. There is indeed a problem with the release 0.9.1.
I addressed it in https://github.com/adbar/trafilatura/commit/8e524da64113c529256c1d6abe5b77253111fbfd and @felipehertzer in 718bc25bce20a716a92e7b43c3def50951e7b7e2.
@felipehertzer Could you please check if we both fixed it the same way?

Hi @dmoklaf, could you provide the example URL?

I did not save it unfortunately but I can test my program using a git version of your choice and try to find another one (my program processes news incrementally from many sources so there is a good probability I can find another one).

Hey, alright, I think that the error @context was not a string, but I didn't find any site that uses array in this field, I just sent a commit that checks these fields. Could you test it? #110, please let me know. Thanks.

Hi @dmoklaf, thanks for the bug report. There is indeed a problem with the release 0.9.1.
I addressed it in 8e524da and @felipehertzer in 718bc25.
@felipehertzer Could you please check if we both fixed it the same way?

I don't think these patches address this bug as they don't modify the beginning of the extract_json function but downstream code within this function. My error was triggered at the very beginning of this function, on line 28, see stack trace. In some cases the "parent" variable contains a list and not a dict, triggering this bug.
Today's run triggered no error with the base faulty version (0.9.1) so I could not reproduce the bug yet. I will try every day until I recover a URL to reproduce the issue (I am sorry I shall have kept it but it slipped through...)

@dmoklaf Thanks for the feedback, please keep us informed in case you spot a reproducible bug.

Yes will do

I'm closing this for now because potential bugs should be caught by the try-exception loop referenced above.


Update setup.cfg

Spaces around =.
Use 'true' instead of '1' for booleans.
Use new lines instead of ',' for lists.

It is now, it was already fine since it should only contain htmlcov which was ignored, but that is now replaced by var, which automatically includes the htmlcov.