[melodic] Adding SIP 5 integration.

This is an attempt to implement SIPv5 integration. Since SIPv5, it started to implement PEP 517 compliant backend and stopped releasing sipconfig module.
To integrate with it, one can define PEP 518 (a.k.a., pyproject.toml) project file to describe the SIP build. And here are the minimum requirement to run:

Python>=3.5
SIP>=5.0.0
PyQt5-sip>=12.7.0
PyQt5>=5.14 (and the respective Qt development SDK)
PyQt-builder>=1.0.0
Pip>=19.0 (https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support)

And here is some highlights of my verification environment:

Windows 10
Python 3.8.3 (pip-20.2.1, setuptools-49.2.1)
Qt5 5.15.0 (Vcpkg port)
Installed python modules:

PyQt-builder==1.4.0
PyQt5==5.15.0
PyQt5-sip==12.8.0
sip==5.3.0

Can you please provide some more context: e.g. what minimum version of sip / setuptools is required for this patch to work, if you have verified this still work on e.g. Ubuntu with the Debian packages or with a newer version of SIP, etc.

@dirk-thomas I tried to capture the minimum requirements specified on the book (also added more matrix on Windows side). For the Linux validation, I found it is little bit tricky to have a system with Qt>=5.14 plus all other Python required modules. Please excuse my limited knowledge on Linux side, do you just happen to know what distro \ release I can begin with first to get a closer environment?

@seanyen Debian unstable/testing has all the packages in the required versions.

@seanyen Is this PR still relevant after #95 and #105?

I think this PR is still required to build python_qt_binding with SIP >=5. SIP 4 is currently still required to build this package, those other PRs just allow this package to work in combination with PyQt5 built with SIP >=5.


Add EmptyTryBlock rule

Codecov Report

Merging #2337 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #2337      +/-   ##
============================================
+ Coverage     81.87%   81.89%   +0.02%
- Complexity     2119     2122       +3
============================================
  Files           348      349       +1
  Lines          6047     6054       +7
  Branches       1108     1108
============================================
+ Hits           4951     4958       +7
  Misses          512      512
  Partials        584      584

Impacted Files
Coverage Δ
Complexity Δ

...itlab/arturbosch/detekt/rules/empty/EmptyBlocks.kt
100% <100%> (ø)
15 <1> (+1)
:arrow_up:

...lab/arturbosch/detekt/rules/empty/EmptyTryBlock.kt
100% <100%> (ø)
2 <2> (?)

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 f5fd080...3de87f4. Read the comment docs.


Update devices.js for Nue HGZB-41

The Nue 1 gang smart switch model 'HGZB-41' identifies as 'FNB56-ZSW01LX2.0', the same as previously listed 'HGZB-42-UK' 2 gang switch. Updated model / description to allow for both.

Thanks!


Set time (day in the week & time) when the app is automatically on or off

Prerequisites

[v] I'm using latest version: v0.21.1
[v] I've checked Known issues

Description
I'd like to recommend the function to set the time when the app is set to be on and off, based on time and on day in the week.
For example, that it automatically turns on from Monday to Friday, between 9:00 AM to 04:00 PM, and then is automatically off the rest of the time.

closing as duplicate of #342, please subscribe there for updates.


Sample change: Define Controller API with openAPI and codegen

##Description
This PR provides one possible solution to use OpenAPI and codegen to define our Pinot Controller protocol.
The compatibility is generated by the following steps:

Open pinot controller swagger UI, download the Swagger JSON
Convert the Swagger JSON into OpenAPI yaml in Swagger Editor (any JSON -> yaml tool will do)
Strip most of the endpoints, only keep the endpoints of PinotBrokerRestResources.java
Run codegen

This PR is for comparison with https://github.com/apache/pinot/pull/8852
Tests done
Start quickstart

Codecov Report

Merging #8854 (1c5e5c3) into master (d1d2ddb) will decrease coverage by 43.47%.
The diff coverage is 0.87%.

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

@@              Coverage Diff              @@
##             master    #8854       +/-   ##
=============================================
- Coverage     69.80%   26.33%   -43.48%
+ Complexity     4659        1     -4658
=============================================
  Files          1741     1792       +51
  Lines         91476    93406     +1930
  Branches      13677    13897      +220
=============================================
- Hits          63854    24596    -39258
- Misses        23199    66460    +43261
+ Partials       4423     2350     -2073

Flag
Coverage Δ

integration1
26.33% <0.87%> (-0.76%)
:arrow_down:

integration2
?

unittests1
?

unittests2
?

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

Impacted Files
Coverage Δ

...roker/requesthandler/BaseBrokerRequestHandler.java
58.85% <ø> (-14.41%)
:arrow_down:

...roker/requesthandler/GrpcBrokerRequestHandler.java
0.00% <0.00%> (-80.00%)
:arrow_down:

...requesthandler/MultiStageBrokerRequestHandler.java
0.00% <0.00%> (ø)

...pache/pinot/common/utils/config/InstanceUtils.java
0.00% <0.00%> (-95.84%)
:arrow_down:

.../controller/api/ControllerAdminApiApplication.java
85.48% <0.00%> (-1.62%)
:arrow_down:

...er/api/resources/PinotInstanceRestletResource.java
17.24% <0.00%> (-41.59%)
:arrow_down:

.../api/resources/services/BrokersApiServiceImpl.java
0.00% <0.00%> (ø)

...oller/api/resources/services/V2ApiServiceImpl.java
0.00% <0.00%> (ø)

...tion/batch/common/SegmentGenerationTaskRunner.java
0.00% <0.00%> (-60.66%)
:arrow_down:

...e/pinot/plugin/stream/kinesis/KinesisConsumer.java
0.00% <0.00%> (-34.66%)
:arrow_down:

... and 1334 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 d1d2ddb...6f61b51. Read the comment docs.


Predefined LockScriptInfos cannot be replaced

Describe the bug
Not sure if this is a feature, please help me identify it.
Firstly, let's check the code:
https://github.com/ckb-js/lumos/blob/6bb442cb864484efa40020860a254cac219427e2/packages/common-scripts/src/common.ts#L80-L87
You can see the predefined LockScriptInfos and the custom LockScriptInfos are just two list added up together, without filters or anything. So what should I do if I don't want to use some of the predefined logic in predefinedInfos?
For instance, if I want to write my own secp256k1Blake160 LockScriptInfo, how can I cover/replace the predefined one?

May I ask why you need to override the predefined script here? Almost all methods in the common provide a config as a parameter, such as transfer, payFee.
In my opinion, I don't recommend resorting to a stateful Lumos to manage scripts config for a dApp because Lumos' ScriptConfigs is a global variable and it may conflict in some unexpected situations, but if you have to, you can change the default configuration by
import { config } from '@ckb-lumos/lumos'

config.initializeConfig({
  PREFIX: 'ckb', // or 'ckb'
  SCRIPTS: {
    SECP256K1_BLAKE160: {
      ...
    }
  }
})

Lumos has provide some predefined LockScriptInfo: secp, multisig, acp and omnilock.
In my case, I wanted to overwrite the acp info so I could test the acp functionality with my own methods, without affecting other types of locks and their infos.

In my case, I wanted to overwrite the acp info so I could test the acp functionality with my own methods, without affecting other types of locks and their infos.

If the override of the default config is necessary, the config.initializeConfig can be a solution, by replacing the ANYONE_CAN_PAY with your custom one

If the override of the default config is necessary, the config.initializeConfig can be a solution, by replacing the ANYONE_CAN_PAY with your custom one

The solution only replaces the default codeHash/cellDeps, etc. But I was trying to replace the common methods for each lock info, such as the "prepareSigningEntries" method of acp. On second thought, maybe I can write my own "common.prepareSigningEntries" and generate a custom lock info list by myself.

But I was trying to replace the common methods for each lock info, such as the "prepareSigningEntries" method of acp

I am not sure whether I've missed some context of the question, the acp.prepareSigningEntries is using the config from initializeConfig, so as I understand, the initializeConfig is enough to reach your requirement

I am not sure whether I've missed some context of the question, the acp.prepareSigningEntries is using the config from initializeConfig, so as I understand, the initializeConfig is enough to reach your requirement

The initializeConfig method is for changing the global default config of lumos, but in my case there's nothing need to be changed about the config itself. I wanted to override the acp.prepareSigningEntires method so it handle things differently than the original method, but the acp's script info is the same as in the predefined config.

I am not sure whether I've missed some context of the question, the acp.prepareSigningEntries is using the config from initializeConfig, so as I understand, the initializeConfig is enough to reach your requirement

The initializeConfig method is for changing the global default config of lumos, but in my case there's nothing need to be changed about the config itself. I wanted to override the acp.prepareSigningEntires method so it handle things differently than the original method, but the acp's script info is the same as in the predefined config.

As an actual example, I wanted to change this part of the acp.prepareSigningEntries:
https://github.com/ckb-js/lumos/blob/6bb442cb864484efa40020860a254cac219427e2/packages/common-scripts/src/anyone_can_pay.ts#L481-L484
Change the unpack part to:
.map((output) => number.Uint128LE.unpack(output.data.slice(2, 34)))

As an actual example, I wanted to change this part of the acp.prepareSigningEntries:
https://github.com/ckb-js/lumos/blob/6bb442cb864484efa40020860a254cac219427e2/packages/common-scripts/src/anyone_can_pay.ts#L481-L484
Change the unpack part to:
.map((output) => number.Uint128LE.unpack(output.data.slice(2, 34)))

Does it mean you are using another lock script with ACP-like logic? But the lock is actually not the ACP lock, right?

Does it mean you are using another lock script with ACP-like logic? But the lock is actually not the ACP lock, right?

I am using the official ACP lock, but curerntly lumos's acp.prepareSigningEntries doesn't unpack the first 16 bytes of the cell.data, it unpacks the whole cell.data. So if an SUDT has provide more info in the cell.data, the method will throw an error and say the cell.data's length is incorrect.
So to test if the acp.prepareSigningEntries works if it only unpack the first 16 bytes of each cell's data, I copied and changed the internal logic of the acp.prepareSigningEntries method, my last step was to find a way and override the predefined LockScriptInfos, or I can to write a new prepareSigningEntries method instead of using the common.prepareSigningEntries method.
Or do you have time to fix the unpacking the first 16 bytes issue first?
In that case I can skip trying and just use the latest version of lumos instead of dirty fixing it.

Or do you have time to fix the unpacking the first 16 bytes issue first?
In that case I can use the latest version of lumos to avoid it, instead of dirty fixing it.

I've created one https://github.com/ckb-js/lumos/pull/549

I've created one #549

Thanks a lot! hoping to see it soon!

@ShookLyngs Hi, a canary is released, maybe you can have a try

@ShookLyngs Hi, a canary is released, maybe you can have a try

I've tested the cannary version, the issue is no longer there.


Fixed transparency on iOS

@surajitsarkar19 can we get this merged and deployed? It's quite important for shadows etc.

Hi I am still not able to get it working on iOS. Any help?


Vulkan: GPUParticles3D attractor and collision Cull Mask doesn't have any effect

Godot version
4.0.alpha8
System information
Fedora 34, GeForce GTX 1080 (NVIDIA 510.60.02)
Issue description
GPUParticles3D attractor and collision Cull Mask doesn't have any effect. I noticed this while working on https://github.com/godotengine/godot/pull/60992.
The same issue occurs with GPUParticles3D collision nodes.
Left: GPUParticles3D on layer 1, GPUParticlesAttractorBox3D with all cull mask layers enabled (default)
Middle: GPUParticles3D on layer 2, GPUParticlesAttractorBox3D with all cull mask layers disabled
Right: GPUParticles3D on layer 2, GPUParticlesAttractorBox3D with only the cull mask layer 2 enabled
Expected behavior

Actual behavior

Steps to reproduce

Add a GPUParticles3D node, a draw pass and a process material to it. Set the emission shape to a sphere to you can see individual particles separated from each other.
Add a GPUParticlesAttractor3DBox node.
Enable only the second visual layer on the GPUParticles3D node.
Set the cull mask to exclude all layers on the GPUParticlesAttractorBox3D node.
To reproduce the same issue with collision, add GPUParticlesCollisionBox3D nodes and enable collision on the particles' Process Material.

Minimal reproduction project
test_particle_attractors_cull_mask.zip

This was confirmed by @unfa on the Godot Contributors Chat.

I have the same issue in 4.1.1.

Can confirm this is still in 4.2

Hi there, I also experienced this and can't find a way to exclude some particles from an attractor effect but not from an other. also on 4.2

I'm still encountering this problem today in Godot 4.2.2. I'm struggling to find a good way to make attractors only act on specific particle emitters without this.

@GarrickWinter I suggest testing https://github.com/godotengine/godot/pull/91858 locally and see if it suits your needs :slightly_smiling_face:


Update autofill dialog copy, changing "logins" to "passwords"

Task/Issue URL: https://app.asana.com/0/0/1205900373687630/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3695

PR #3867   👈
PR #3865
PR #3844
PR #3840
PR #3807
PR #3773
PR #3760

PR #3761

PR #3711
PR #3703
PR #3702

PR #3734

PR #3696

This stack of pull requests is managed by Graphite.


--skip-unavailable-fragments is being ignored

[x] I've verified and I assure that I'm running youtube-dl 2017.04.17
[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[x] Question

Verbose log:
$ youtube-dl --skip-unavailable-fragments -v http://www.ceskatelevize.cz/porady/11059301252-doktori/215562260300005-cesky-narod-je-vynalezavy/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--skip-unavailable-fragments', u'-v', u'http://www.ceskatelevize.cz/porady/11059301252-doktori/215562260300005-cesky-narod-je-vynalezavy/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.04.17
[debug] Python version 2.7.13 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.3, ffprobe 3.3
[debug] Proxy map: {}
[CeskaTelevizePorady]<PHONE_NUMBER>00005-cesky-narod-je-vynalezavy: Downloading webpage
[CeskaTelevize] iFramePlayer.php: Downloading webpage
[CeskaTelevize] iFramePlayer.php: Downloading JSON metadata
[CeskaTelevize] iFramePlayer.php: Downloading JSON metadata
[CeskaTelevize] iFramePlayer.php: Downloading MPD manifest
[CeskaTelevize] iFramePlayer.php: Downloading MPD manifest
[CeskaTelevize] iFramePlayer.php: Downloading JSON metadata
[CeskaTelevize] iFramePlayer.php: Downloading JSON metadata
[CeskaTelevize] iFramePlayer.php: Downloading m3u8 information
[CeskaTelevize] iFramePlayer.php: Downloading m3u8 information
[download] Downloading playlist: iFramePlayer.php
[CeskaTelevize] playlist iFramePlayer.php: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on u'http://<IP_ADDRESS>:80/aa/cb7a5149b985501a0520bf1e518f3fde/1492417235154/885db2148e423da4bd756134e4920504/dna-61924494877272833-pc/'
[dashsegments] Total fragments: 1352
[download] Destination: Doktoři-61924494877272833.fdash-main-1001-1505.mp4
[download]  99.9% of ~1.10GiB at Unknown speed ETA Unknown ETAERROR: giving up after 10 retries
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 61, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2106, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal server error

The error itself is thrown by fragment 1350 which returns HTTP 500 no matter what. This problem is very similar to what is described in #12593. However, using --skip-unavailable-fragments did not help and the process ends.

Did you ever get this working? I seem to be seeing this problem also.

Never got it to work.
Eventualy I sent an e-mail to Ceska Televize and they fixed the issue with fragment 1350 on their end. 😄

Weird, I used -f u'bestvideo+vestaudio/best' and that worked from the command line. This was for Youtube though

I think this ticket should be closed as well, we don’t have a way how to reproduce it as the situation has changed (youtube-dl 2020.01.01 can download the show without a problem).


It does not work properly on mobile devices

Hello
I have a problem on mobile devices beer slider does not work properly when I want to move the range then it moves to the left and I can't do anything.
On mozlilla firefox also when the page first loads it doesn't work at all only after refreshing the page it works correctly. On google chrome from the first loading it works correctly.
Site: https://rtmmalowaniedachow.pl/

I have this problem, too. And BeerSlider doesn't work in Safari 16.0

Hi, I'm also finding Apple/Safari/iPhones don't play nicely :(
Thanks for the great script, I hope you find time to fix things.

I solved my problem! I removed the beer slider. I made the comprasion image in a different way.
https://www.youtube.com/watch?v=_XdtrWeYk7o
You can get a sneak peek of the action on the page provided above.

I solved my problem! I removed the beer slider. I made the comprasion image in a different way. https://www.youtube.com/watch?v=_XdtrWeYk7o You can get a sneak peek of the action on the page provided above.

Thanks for that, very useful.
I don't use Wordpress or Oxygen but see the JS+CSS is documented separately via 'Spellhammer' so I will have a play with it.
beerslider seems to work for some 'Apple' users but others report back that it fails which is frustrating.
I take it this version seems to be working with all devices/browsers for you?

It works properly. You can check in the first post there is a link to the page where it is used.

I have iOS and it works perfectly ;)

After a play with things that looks like it's really for Wordpress/Oxygen users. Demo here: http://elements.oxy.host/element-demo-image-comparison/
@marekduse if you get a minute perhaps you could see if this works on Apple devs?
It hasn't been updated for a while so the latest Safari may not be happy,
https://github.com/ilkerccom/cndkbeforeafter (links to demo).
I'm still hoping beerslider will be updated.
@pehaa it would be nice to hear if you will be updating your great beerslider script or if people need to look elsewhere? :)
Thanks.

I found a simple solution that seems to fix the safari issues. Find the line in BeerSlider.css that says ".beer-range::-webkit-slider-thumb" and remove "-webkit-" and it should work.
Good luck!

Thanks for posting :)
I'm no expert - so it would be good if others with access to Safari/Apple devs could confirm this fix works with both old and new devices.

@marekduse if you get a minute perhaps you could see if this works on Apple devs? It hasn't been updated for a while so the latest Safari may not be happy, https://github.com/ilkerccom/cndkbeforeafter (links to demo).

It works correctly on my iPhone and Safari browser.

Removing -webkit- makes it work on latest Safari on my end; tested on iPhone 13, iPad & MacBook Pro.

Thanks for the -webkit- hint, @rmarschall !
To me it looks this fixes the pointer problem. The handle can be set to the current position where the user pointed to.
Anyway, some iOS users still complaining that the dragging isn't working. (is this called pointermove event?!?)
Unfortunately I don't have am iPhone with me and the simulator on mac vm is not showing up some images - long story short: I can't test it but with iOS / iPhone there are still issues.

Hello Gents, I fixed that by myself by extending the beerslider.js with the events statet in w3schools example.

Got this finally fixed :-)
Extended the beerslider class with help of here and here.
Maybe the iPhone compatible events and the event.stopPropagation() will be included some day to the beerslider.

added iOS detection

added passive events

added touch-/mouse events

added event.stopPropagation()
I'm not a pro and I'm sure this can be done 100 times better. I paste my code anyway - please bear with me if it isn't perfect.
If somebody wants to improve it - feel free!
`      const isiOS =
(/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream) ||
(navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1);
class BeerSlider {
  constructor(element, isiOS, { start = "50", prefix = "beer" } = {}) {
    this.start = parseInt(start) ? Math.min(100, Math.max(0, parseInt(start))) : 50;
    this.prefix = prefix;
    // swal ios fix
    this.isiOS = isiOS;
    // added
    this.clicked = 0;
    this.imgBoundingClientRect = null;

    if (!element || element.children.length !== 2) {
      return;
    }
    this.element = element;
    this.revealContainer = this.element.children[1];
    if (this.revealContainer.children.length < 1) {
      return;
    }
    this.revealElement = this.revealContainer.children[0];
    this.range = this.addElement("input", {
      type: "range",
      class: `${this.prefix}-range`,
      "aria-label": "Percent of revealed content",
      "aria-valuemin": "0",
      "aria-valuemax": "100",
      "aria-valuenow": this.start,
      value: this.start,
      min: "0",
      max: "100",
    });
    this.handle = this.addElement("span", {
      class: `${this.prefix}-handle`,
    });
    this.onImagesLoad();
  }

  init() {
    this.element.classList.add(`${this.prefix}-ready`);
    this.setImgWidth();
    this.move();
    this.addListeners();
  }
  loadingImg(src) {
    return new Promise((resolve, reject) => {
      if (!src) {
        resolve();
      }
      const img = new Image();
      img.onload = () => resolve();
      img.onerror = () => reject();
      img.src = src;
    });
  }
  loadedBoth() {
    const mainImageSrc = this.element.children[0].src || this.element.children[0].getAttribute(`data-${this.prefix}-src`);
    const revealImageSrc = this.revealElement.src || this.revealElement.getAttribute(`data-${this.prefix}-src`);
    return Promise.all([this.loadingImg(mainImageSrc), this.loadingImg(revealImageSrc)]);
  }
  onImagesLoad() {
    if (!this.revealElement) {
      return;
    }
    this.loadedBoth().then(
      () => {
        this.init();
      },
      () => {
        console.error("Some errors occurred and images are not loaded.");
      }
    );
  }
  addElement(tag, attributes) {
    const el = document.createElement(tag);
    Object.keys(attributes).forEach((key) => {
      el.setAttribute(key, attributes[key]);
    });
    this.element.appendChild(el);
    return el;
  }
  setImgWidth() {
    this.revealElement.style.width = getComputedStyle(this.element)["width"];
    this.imgBoundingClientRect = this.element.getBoundingClientRect();
  }
  addListeners() {
    const eventTypes = ["input", "change"];
    eventTypes.forEach((i) => {
      this.range.addEventListener(i, () => {
        this.move();
      });
    });
    window.addEventListener("resize", () => {
      this.setImgWidth();
    });

    // iOS fix - https://www.w3schools.com/howto/howto_js_image_comparison.asp
    if (isiOS)
    {
      this.range.addEventListener(
        "mousedown",
        () => {
          this.slideReady.bind(this);
        },
  { passive: true }
      );
      window.addEventListener(
        "mouseup",
        () => {
          this.slideFinish.bind(this);
        },
  { passive: true }
      );
      this.range.addEventListener(
        "touchstart",
        () => {
          this.slideReady(event, this);
        },
  { passive: true }
      );
      window.addEventListener(
        "touchend",
        () => {
          this.slideFinish(event, this);
        },
  { passive: true }
      );
    }
  }
  slideReady(e, element) {
    e.preventDefault();
    this.clicked = 1;
    this.lockBodyScroll(e);
    window.addEventListener("mousemove", this.slideMove.bind(this));
    window.addEventListener("touchmove", this.slideMove.bind(this));
  }
  slideFinish(e, element) {
    element.clicked = 0;
  }
  slideMove(e) {
    var pos;
    if (this.clicked == 0) return false;
    pos = this.getCursorPos(e);
    if (pos < 0) pos = 0;
    if (pos > 100) pos = 100;
    this.range.value = pos;
    this.move();
  }
  getCursorPos(e) {
    var a,
      x = 0;
    e = e.changedTouches ? e.changedTouches[0] : e;
    x = e.pageX - this.imgBoundingClientRect.left;
    x = x - window.pageXOffset;
    x = Math.round((x / this.imgBoundingClientRect.width) * 100);
    return x;
  }
  // https://github.com/sweetalert2/sweetalert2/blob/ac79cfc4b4a1f3a1e564f1fd353c520ba7a1ca3d/src/utils/iosFix.js
  lockBodyScroll(event) {
    if (
      (event.touches && event.touches.length && event.touches[0].touchType === "stylus") ||
      (event.touches && event.touches.length > 1)
    ) {
      return;
    }
    event.stopPropagation();
  }

  move() {
    this.revealContainer.style.width = `${this.range.value}%`;
    this.handle.style.left = `${this.range.value}%`;
    this.range.setAttribute("aria-valuenow", this.range.value);
  }
}

      document.addEventListener(
  "DOMContentLoaded",
  () => {
    new BeerSlider(document.getElementById("beer-slider01"));
    new BeerSlider(document.getElementById("slider1"));
  },
  { passive: true }
);
`

I found a simple solution that seems to fix the safari issues. Find the line in BeerSlider.css that says ".beer-range::-webkit-slider-thumb" and remove "-webkit-" and it should work.
Good luck!

Awesome solution! Thanks for posting it! Worked Perfectly!


DHO My Profile - My Voting History Widget

Summary:
As a DHO user I would like to see My Voting History displayed on my profile page so I can see it on one glance.
Description:
URL: https://dho.hypha.earth/#/@accountname
The widget shows a list of my past votes. The information displayed is the vote (Yes / No / Abstain) the type of proposal (e.g. contribution, role, quest) and the name (e.g. Design Icons) as well as the date. And a little arrow that the user can click to get to the respective proposal and see more info.
Question: What happens when i click on the "more" button? New page, widget folds out to the bottom, scrolls down?
Acceptance Criteria:
The following items should be displayed:
Widget

[ ] Headline "My Voting History"
[ ] List of all proposals that the user participated in the past with his vote (or abstain)

List Item

[ ] You "voted Yes", "voted No", "abstained" on the "contribution", "role", "quest", "badge""name of proposal"
[ ] Date when the user voted e.g. August 1, 2020
[ ] Arrow that takes me to the respective proposal / role / quest, etc.. to see more info
[ ] Show more button / arrow to swipe right and see more cards (to be done)
[ ] Final Card Layout / Info to be done

Ressources:
Attachement:
Designs
Responsive Designs:
To be done

We need to know what to do with the 'more' button here too. As I said in the other issue, votes are transactions, so maybe this links to the same page, except with a 'vote' filter? Maybe our transaction list can be sorted, filtered, etc.


libaprutil error with Apache Bench

➜  project git:(master) ✗ /usr/local/Cellar/ab/2.4.10/bin/ab -V
dyld: Library not loaded: /usr/local/opt/apr-util/lib/libaprutil-1.0.dylib
  Referenced from: /usr/local/Cellar/ab/2.4.10/bin/ab
  Reason: Incompatible library version: ab requires version 6.0.0 or later, but libaprutil-1.0.dylib provides version 4.0.0
[1]    13134 trace trap  /usr/local/Cellar/ab/2.4.10/bin/ab -V

I am having a lot of difficulty figuring out what is causing this issue.
Sys Info:
Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64

Brew is most-recent (updated today). My brew doctor does have some strange dylib warnings but they are just warnings:
➜  project git:(master) ✗ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Python is installed at /Library/Frameworks/Python.framework

Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
    /usr/local/lib/libsfml-audio.2.1.dylib
    /usr/local/lib/libsfml-graphics.2.1.dylib
    /usr/local/lib/libsfml-network.2.1.dylib
    /usr/local/lib/libsfml-system.2.1.dylib
    /usr/local/lib/libsfml-window.2.1.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
    /usr/local/include/tidy/buffio.h
    /usr/local/include/tidy/platform.h
    /usr/local/include/tidy/tidy.h
    /usr/local/include/tidy/tidyenum.h

I also removed and did a verbose install, but it came from cache - maybe it's helpful:
➜  project git:(master) ✗ brew install homebrew/apache/ab --verbose
==> Installing ab from homebrew/homebrew-apache
==> Downloading https://bitbucket.org/alanthing/homebrew-apache/downloads/ab-2.4.10.mountain_lion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/ab-2.4.10.mountain_lion.bottle.tar.gz
==> Verifying ab-2.4.10.mountain_lion.bottle.tar.gz checksum
==> Pouring ab-2.4.10.mountain_lion.bottle.tar.gz
tar xf /Library/Caches/Homebrew/ab-2.4.10.mountain_lion.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
==> Finishing up
==> Summary
/usr/local/Cellar/ab/2.4.10: 7 files, 280K

Worth noting - I did successfully install this package a week or so ago on a Yosemite machine

It also does appear that I have apr and apr-util in both /usr/opt and in /usr/local/(Cellar) - but /usr/local appears in my path first

I got the same. Did you work this out, by chance?

@maligree I do not recall the exact solution, but, I do remember I was running into this during installation of Apache Bench. I remember doing a lot of Google research and stumbling on a couple of different possible solutions, but, I cannot remember which one did it. These are a couple of the articles I recall working with:

http://adventuresincoding.com/2012/05/how-to-get-apachebenchab-to-work-on-mac-os-x-lion
https://coderwall.com/p/tthe6a/fix-apachebench-ab-on-mountain-lion (potentially using dupes)
http://stackoverflow.com/a/21645321

Hope this helps!
Worth noting - even after installing it, I still had a tendency to run into this "connection reset by peer" - I believe it has something to do with <IP_ADDRESS> vs localhost - use <IP_ADDRESS> should get the error to disappear.
Cheers

A few months ago, apr and apr-util moved out of this project and into the mainline Homebrew project. You might want to completely uninstall all three formulas, brew uninstall --force ab apr apr-util, and then reinstall after a brew update. Take care running that command; it's an example, read the text carefully and maybe even check the brew man page to understand what it does before proceeding.

No information in over a year - closing.


Update layout 4

Use the empty state page when th eorder list is empty
Fixed chart resizing
View more and Learn more links aligned to bottom
'?' popover - button link

Codecov Report

Merging #37 (f2473ee) into main (0d25368) will decrease coverage by 0.38%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   26.98%   26.60%   -0.39%
==========================================
  Files          55       55
  Lines         630      639       +9
  Branches      133      134       +1
==========================================
  Hits          170      170
- Misses        408      418      +10
+ Partials       52       51       -1

Impacted Files
Coverage Δ

src/components/analytics/analytics-card.js
8.57% <ø> (ø)

...c/components/analytics/configure-analytics-card.js
33.33% <ø> (ø)

src/components/analytics/jobs-chart.js
3.03% <0.00%> (-0.55%)
:arrow_down:

src/components/automation-hub/hub-card.js
5.88% <ø> (ø)

src/components/catalog/catalog-card.js
6.25% <0.00%> (-0.57%)
:arrow_down:

src/components/dashboard/configure-app-page.js
33.33% <ø> (ø)

src/messages/messages.js
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Create Pull to KBase.md

Shouldn't this PD acknowledge the existence of the JGI Push to KBase service, even if the proposed work won't be able to leverage that code?

@cshenry and @danielolson5  I think we need a little more description about how we picture this working for the user.  I think we should add some detail about the sequence of operations that a user might go through including how metadata and other supporting information would be handled.
@psdehal Maybe you can suggest some ideas too.


SPIKE: Mobile wallet support

The Spike
Understand the work needed and options to enable use of the wallet on mobile.
Questions we need to answer

[ ] What would it take to enable the majority of users to run vega wallet on their mobile?
[ ] What would we need to work on default browsers on Android?
[ ] What would we need to work on default browsers on iOS?
[ ] What would we need to tell users about mobile capability so that they know what they can / can't do?
[ ] Consider the journey beyond installing to include connecting and approving / rejecting a transaction. How does the wallet (can it?) come into focus?

Tasks

[ ] Identify current limitations
[ ] Research routes for mobile support
[ ] Identify work
[ ] Prioritise
[ ] Write tickets in relevant backlogs

Notes

Dupe of SPIKE: What would it take to support mobile trading for Vega #115


wrong pamconf highlighting

Steps to reproduce
Open the following PAM file, /etc/pam.d/sudo of Debian 12:
#%PAM-1.0

# Set up user limits from /etc/security/limits.conf.
session    required   pam_limits.so

@include common-auth
@include common-account
@include common-session-noninteractive

Here, the auth, account, and session in the last three lines are wrongly highlighted.
Expected behaviour
The auth, account, and session are correctly highlighted.
Version of Vim
9.1.228
Environment

OS: Debian 12
terminal: GNOME Terminal 3.46.8 using VTE 0.70.6 +BIDI +GNUTLS +ICU +SYSTEMD
$TERM: xterm-256color

Logs and stack traces
No response

Hm, I don't know much of the syntax highlighting rules, but this patch seems to do it:
diff --git a/runtime/syntax/pamconf.vim b/runtime/syntax/pamconf.vim
index 29132848a..7f8b5ed1a 100644
--- a/runtime/syntax/pamconf.vim
+++ b/runtime/syntax/pamconf.vim
@@ -23,6 +23,12 @@ syn match   pamconfType             '-\?[[:alpha:]]\+'

 syn keyword pamconfTypeKeyword      contained account auth password session

+syn match   pamconfInclude         '^@include'
+                                    \ nextgroup=pamconfIncludeFile
+                                    \ skipwhite
+
+syn match   pamconfIncludeFile     '\f\+$'
+
 if s:has_service_field
     syn match   pamconfService          '^[[:graph:]]\+'
                                         \ nextgroup=pamconfType,
@@ -124,6 +130,8 @@ hi def link pamconfMPath            String
 hi def link pamconfMPathLineCont    pamconfServiceLineCont
 hi def link pamconfArgs             Normal
 hi def link pamconfArgsLineCont     pamconfServiceLineCont
+hi def link pamconfInclude          Include
+hi def link pamconfIncludeFile      Include

 let b:current_syntax = "pamconf"

Yes, the patch fixes the highlighting.


Any plan to support iOS?

Do you have any plan to make this support iOS

This package is a bridge to https://github.com/DantSu/ESCPOS-ThermalPrinter-Android which is an android native library, if we could find IOS native library for thermal printer, we probably can bridge it too. Feel free to submit a PR if you are willing to help :)

Hello @AllInOneYT , nice work really appreciate this package.
You can maybe bridge https://github.com/KevinGong2013/Printer to support iOS ?

great library for android please release for ios too.

Seems like https://github.com/KevinGong2013/Printer only provide bluetooth (not wifi).


Not Working On Latest Paper Version

Hello!
On the latest paper mc versions... This does not work

I tested this on an unconfigured Paper server with the latest Paper version at this time (Build $468) and had successful results. Maybe the server you tried this on has Paper's ore obfuscation settings on?

Yea it works on paper.


Power9 VSX BLAS 3 double precision complex

Optimize BLAS 3 double precision complex for Power9 VSX. Tune for Power9 pipeline, cache and memory hierarchy. Exploit new Power9 instructions. Demonstrate equivalent performance to IBM ESSL.

@martin-frbg initial goals achieved, so we can close this issue.


File crashes when I open the control panel

Description
When i open a Files window and than control pannel, Files crash.
Steps To Reproduce

Open a Files window
Open control pannel
Files crash

Expected behavior
Files should not close after opening contol pannel
Files Version
2.1.13
Windows Version
Windows 11 Insider Preview 22543.1000 (rs_prerelease)
Relevant Assets/Logs
debug.log
debug_fulltrust.log
https://user-images.githubusercontent.com/45063794/153783057-34b0ac6e-4227-43ab-a47a-1db4eb244b3e.mp4

This issue should be resolved with https://github.com/files-community/Files/pull/8684


flate2 ZLibDecoder reads too much data from files.

The flate2 ZLibDecoder seems to read too much data and advance file pointers too far.
Parsing a raw file filled with individual hunks of zlib compressed data:

80-22216 Zlib Chunk 1

dd if=sample/ctags_source-5.8-5-source.hpkg bs=1 skip=80 count=22137 of=test1
file test1 ; test1: zlib compressed data

22217-44314 Zlib Chunk 2

dd if=sample/ctags_source-5.8-5-source.hpkg bs=1 skip=22217 count=22097 of=test2
file test2 ; test2: zlib compressed data

I can validate these chunks:

cat test1 | zlib-flate -uncompress > test1.uncompressed
cat test2 | zlib-flate -uncompress > test2.uncompressed

[kallisti5@eris hpkg-rs]$ ls -lah test1.uncompressed
-rw-r--r-- 1 kallisti5 users 64K Feb 28 09:19 test1.uncompressed
[kallisti5@eris hpkg-rs]$ ls -lah test2.uncompressed
-rw-r--r-- 1 kallisti5 users 64K Feb 28 09:20 test2.uncompressed

However.. when I try to decode these chunks with flate2 / ZlibDecoder..
       /// Inflate the heap section of a hpkg for later processing
        /// XXX: This will likely need reworked... just trying to figure out what's going on
        fn inflate_heap(&mut self) -> Result<usize, Box<dyn error::Error>> {
                let header = self.header.as_ref().unwrap();
                let filename = self.filename.as_ref().unwrap();

                println!("header: Heap chunk size: {}", header.heap_chunk_size);
                println!("header: Heap compressed size: {}", header.heap_size_compressed);
                println!("header: Heap uncompressed size: {}", header.heap_size_uncompressed);
                println!("header: Heap compression: {}", header.heap_compression);

                let mut f = File::open(filename)?;

                let mut pos = header.header_size as u64;
                f.seek(SeekFrom::Start(pos))?;

                while pos < header.heap_size_compressed {
                        println!("Seek from file {}, heap {}", pos, pos - header.header_size as u64);
                        let mut reader: Box<dyn Read> = match header.heap_compression {
                                0 => Box::new(&f),
                                1 => Box::new(ZlibDecoder::new(&f)),
                                2 => Box::new(zstd::stream::read::Decoder::new(&f)?),
                                _ => return Err(From::from(format!("Unknown hpkg heap compression: {}", header.heap_compression)))
                        };
                        let mut buffer = vec![0; header.heap_chunk_size as usize];
                        reader.read_exact(&mut buffer)?;
                        self.heap_data.push(buffer);
                        pos = (&f).stream_position()?;
                }
                Ok(0)
        }

---- package::tests::test_package_load_valid stdout ----
header: Heap chunk size: 65536     (uncompressed yo)
header: Heap compressed size: 501432
header: Heap uncompressed size: 1988947
header: Heap compression: 1
Seek from file 80, heap 0
Seek from file 32848, heap 32768
ERROR: corrupt deflate stream
thread 'package::tests::test_package_load_valid' panicked at 'assertion failed: false', src/package.rs:297:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

read_exact produces 64k uncompressed as expected, but the file pointer is moved 32k in the file vs the expected 22057 bytes. (22057 marks the "end" of the compressed data stream and the start of the next 0x78, 0xDA)

I feel like the solution is once ZLibDecoder reads the final 32k chunk, it should "back the source reader to the end of the zlib stream"?
This would enable users to know where the last compressed stream ended within a file.

https://github.com/rust-lang/flate2-rs/blob/main/src/deflate/read.rs#L161 feels like the source of the guaranteed 32k read from the files.

I think this is the same problem as #367 except that that issue is for gzip. Essentially, this is expected behavior for the read interfaces that actually wrap the Read type in a new std::io::BufReader for each decoder.
To fix, wrap the File in a BufReader once and you can then pass it to multiple bufread::ZlibDecoder instances.
This will, however, also make stream_position incorrect, even if you can access it, so you will need a different way to know when to terminate the loop.


The example code of Reading from local file is the same as that of reading from the url!

[Enter feedback here]

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

ID: 987ee0bf-3525-1167-96f3-68cf71005991
Version Independent ID: 6dc2f840-62ab-b647-01ec-8ff5a878e998
Content: Call the Image Analysis 4.0 Analyze API - Azure AI services
Content Source: articles/ai-services/computer-vision/how-to/call-analyze-image-40.md
Service: cognitive-services
Sub-service: computer-vision
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@lambdawill
Thanks for your feedback! We will investigate and update as appropriate.

@lambdawill
I've delegated this to @PatrickFarley, a content author, to review and share their valuable insights.

Thank you for catching this; this looks like a copy-paste error; the following subsection Image Buffer contains the instructions for using a local image. I'll fix the doc now
#please-close


Couldn't find pc file with SPM?

First off, thanks for the great centrifuge package! Really awesome work.
I'm not quite sure what this warning means actually, but after adding centrifuge to my project using Swift Package Manager (thanks for supporting it!) I got the following:

There isn't any additional detail unfortunately. And I can't seem to be able to do import SwiftCentrifuge after setting it up.

So the pc file issue is I don't have pkg-config installed. Need to do brew install pkg-config. Still figuring out why can't import the package.

Sent in PR to fix this.


Verify which examples work on AMD GPUs

There are many examples in the TorchServe repository. The task here is to verify which ones work and which ones don’t on AMD GPUs as well as report all findings. This exercise may yield follow-up tasks.
Task only includes to check examples that don't require special hardware to run. No need to go through all examples but select 5 representatives.

There are actually quite many tests already implemented to test these examples as well as other inference scenarios with different kind of models so this may not be required.


Centro Universitário de João Pessoa - UNIPÊ

@Lukas-R4 First stage of verification passed, official domain is unipe.edu.br as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@Lukas-R4 Thank you for your patience while waiting for a review and processing your request. Pull request merged.

Worked! Thanks.


README fixes and consistency improvements

This PR contains a few fixes and harmonizes some names and section titles. For example:

TF Addons, TF-Addons, TFA, etc. -> TensorFlow Addons
TF -> TensorFlow
MacOS -> macOS
PyPi -> PyPI
custom-ops -> custom ops

Let me know what you think.

Thanks @Squadrick, I fixed those as well.


Return/Notify example will fail under some circumstances

The Return/Notify example uses the $_GET variable:
$params = [
    'request_params' => array_merge($_GET, $_POST),
];

However, according to the PHP website:

Note:
The GET variables are passed through urldecode().

This is a problem because the base64 encoded sign parameter may contain + symbols. + is a valid base64 character. $_GET parameters are urldecoded, so the + is replaced with a space. This then results in an incorrect signature string and failing signature check.
References:

https://www.php.net/manual/en/reserved.variables.get.php
http://www.faqs.org/rfcs/rfc2045.html

the + is replaced with a space,  thx...


[Feature request]: Tuono CLI testing

Is your feature request related to a problem? Please describe.
The tuono_cli currently doesn't have integration tests.
Describe the solution you'd like
Using the trycmd crate, I've added a testcase for the tuono --help command. The idea is for the test cases to include all possible tuono commands later on.
Describe alternatives you've considered
No response
Additional context
No response

The last commit removes the .vscode folder. .gitignore also will not ignore the folder

Done via #177


inuse class not applied to multi-select chosen inputs

It seems that the inuse class is not being applied to multi-select chosen inputs. The issue can be seen here: http://yadcf-showcase.appspot.com/DOM_source_chosen.html.
The inuse class is being applied to all other column filter inputs on that page. This can be tested by opening the browser console and running the command
$(".inuse").length
after providing a value for each input. This number will increase after providing a value for each input except for the multi-select. You can also inspect the element and see that no inuse class is being applied to it when it has one or more selections.

its by design, I thought if user wants to use third party plugin on top of the filter he wont be needing the inuse class and its "filter coloring" , until now no one asked for it too :) , I can agree that it might look no consistent that some filters being colored and some not. why do you want that class to be added to chosen multi select?

Hi, thanks for the prompt reply!
I would like to use the class as a CSS hook, namely, I am trying to add a background color to active chosen inputs like this:
.inuse + .chosen-container-single .chosen-single,
.inuse + .chosen-container-multi .chosen-choices {
background-color: #d9edf7;
}
This works for the single chosen but not for the multi chosen input due to the missing class for the latter.
I am sure I can add some custom JS (or possibly just CSS) instead of relying on the .inuse class, but I just figured that this behavior was a bug because the application of the classes seems to be inconsistent: notice in the link provided in the OP that the select element before the .chosen-container-single element receives the .inuse class when it is being used but the select element before the .chosen-container-multi element does not... I guess I would just expect the class to be consistently applied for select elements using the Chosen plugin.

Please take a look at the jsfiddle sample and let me know if that what you wanted, it uses the latest yadcf beta 0.9.2.beta.9

Yes, that is what I wanted. Thanks!
I updated the jsfiddle to show example CSS using the inuse class as a styling hook for the Chosen inputs.
https://jsfiddle.net/6n7bn2tx/14/

Cool, then I will commit it to github repo later on, for meanwhile will post your code here for future reference

$(document).ready(function() {
  var table = $('#example').DataTable({
    responsive: true
  });
  yadcf.init(table, [{
    column_number: 1,
    filter_type: "select",
    select_type: "chosen"
  }, {
    column_number: 2,
    filter_type: "multi_select",
    select_type: "chosen"
  }, ]);
});

css

.inuse + .chosen-container-single .chosen-single,
.inuse + .chosen-container-multi .chosen-choices {
  background-color: #d9edf7;
  background-image: none;
}

added in yadcf 0.9.2.beta.9


RP and BP folders aren't auto-saved in git repo, causing warning after cloning

regolith init in a repo
Create a resource pack (but not a behavior pack)
regolith run should work
Commit and push changes
Clone the repo
regolith install-all
regolith run

Expected: No warnings
Actual: [WARN]  resource folder "./packs/BP" does not exist
Notes: If regolith init added a .gitkeep file to RP and BP we wouldn't have this problem as they'd be copied over in the clone :)

The .gitkeep file would be the classic way to do this, but at the same time, it would be a bit annoying to have exported into your com.mojang folder.
Does it work OK to remove the relevant line from the config.json? If that works, i think it would be reasonable that single-pack projects simply adjust their config.json to match their usage.

Yeah, that makes sense too. I guess I was thinking a filter would ignore the .gitkeep file. I just started using Regolith yesterday, I figured simple projects should be able to compile without warnings, so that's the main goal. Whether it's auto-updating config.json or something else, it should be easy to share source code and have others compile it with without warnings

Yeah for sure. Feel free to add your own .gitkeep file there. Just be aware the .gitkeep file will show up in the final export.
The regolith init command is also under review anyways, since we eventually want to upgrade it to include some other stuff, like maybe cloning a template project, or even just creating linked manifest files.

Once we add
egolith init --full which creates entire project will, this won't really be a problem. If you're working on a project which has only RP you can remove the RP property from the config.json file and you won't get this warning anymore.


ability to tail output which is being redirected to stdout/stderr?

I have a log file in a Docker container, which is symlinked to /dev/stderr. Have been tailing this with built-in tail command, now want to serve this using frontail. Other log files which are not symlinked are being served fine by frontail.
Do you know of a way I may be able to overcome this?

As there is no support for files like /dev/stderr you can use frontail together with tail:
tail /dev/stderr | frontial -

Awesome, thanks!


Scatter plot does not correctly compute running average line

Describe the bug
The running average line appears to be off, based on visual inspection. It looks like points which correspond to the same x-value are being assigned to different x-values and therefore not being aggregated in the same mean.
To Reproduce
Steps to reproduce the behavior:

Open a sweep.
Click on the '+' in a panel to create a scatter plot. Plot a hyperparameter against some metric like reward or error.
Click the annotations tab and select the "Plot running average y values" checkbox.
Click ok.

Expected behavior
I expect the plotted average line to correspond to my visual intuition based on the placement of points on the graph. I also expect the line to not have discontinuities at each y-value where points are plotted.
Screenshots
If applicable, add screenshots to help explain your problem.

Operating System

OS: macOS Big Ser
Browser Chrome
Version Version 87.0.4280.88

Of course!
This is a share of the graph: https://wandb.ai/ethanabrooks/ppo/reports/Shared-panel-20-12-12-09-12-86--VmlldzozNjMwNjg?highlightShare?accessToken=j1momsqhzjmg4v1fyagbkpg6sx73s4fx3niatuuu3tcp5yz51gf5zk67i71n6939
This is the sweep workspace: https://wandb.ai/ethanabrooks/ppo/sweeps/mq70zyt3?workspace=user-ethanabrooks

In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.


Add support for environment variables

Fixes #1203

Do we need two separate variables for this?

@patrys actually... no.

Codecov Report

Merging #1206 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1206      +/-   ##
==========================================
+ Coverage   69.86%   69.87%   +0.01%
==========================================
  Files         117      117
  Lines        6328     6328
  Branches      762      762
==========================================
+ Hits         4421     4422       +1
  Misses       1739     1739
+ Partials      168      167       -1

Impacted Files
Coverage Δ

saleor/core/utils/random_data.py
81.95% <0%> (+0.37%)
:arrow_up:

Continue to review full report at Codecov.

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


Default permissions (ACL) of "Microsoft.WindowsTerminal" folder in "WindowsApps".

Windows Terminal version
No response
Windows build number
10.0.19044.0
Other Software
No response
Steps to reproduce
Mess about with "WindowsApps" folder permissions without backing them up before...
Expected Behavior
No response
Actual Behavior
I would like to know if anyone could provide all the default permissions that the "%ProgramFiles%\WindowsApps" folder has, as well as the "Microsoft.WindowsTerminal" folders (I think there are two, right?). I have had an unbelievable amount of issues with Windows Store apps lately (started with only Xbox Games Pass games which stopped working), and as a final resort I tried to mess with the permissions of the folders to be able to check that the "AppxManifest.xml" was there (as there were errors indicating it wasn't, at some point at least). These issues have also prevented me from using RestorePoints which I had made once I actually got into a working state.
But now the Xbox Game Pass games are working, but for some reason there have been multiple UWP apps that doesn't work if they are started from the store (or from the context menu either, actually). And one of them is the Windows Terminal.
I received an error indicating that the "Parameter is incorrect" for "wt.exe". This led me to this thread, amd the answer by Gidsik telling me to run the command "cacls "%programfiles%\WindowsApps" /s:"D:PAI(A;;FA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;OICIIO;GA;;;S-1-5-80-956008885-3418522649-1831038044-1853292631-2271478464)(A;;0x1200a9;;;S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204)(A;OICIIO;GXGR;;;S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)(A;CI;0x1200a9;;;BA)(A;OICI;0x1200a9;;;LS)(A;OICI;0x1200a9;;;NS)(A;OICI;0x1200a9;;;RC)(XA;;0x1200a9;;;BU;(Exists WIN://SYSAPPID))"" to set the correct permissions for the "WindowsApps" folder. But as that folder seems to work (other UWP apps work) I decided only to run it on the Terminal folders inside. This now means that I can't open the terminal at all anymore...
So if anyone could provide the ACLs that I can use to run that command again for the WindowsTerminal folder, that'd be hugely appreciated.

 Don't do that, and if there's something that suggested you do that, I'd love to reach out to the origin and find out WHY.

@DHowett MIGHT have a way to repair this.

Unfortunately, there's no general way to un-mess the permissions in that folder. It doesn't exactly have "default" permissions: everything inside is ACLed based on a bunch of different things[1].
There's one script which we do not recommend running on a production system, unless you have no other option called "Windows Apps Unf**er". I won't be providing a link to it.
The best and least destructive way to fix the permissions in that folder is honestly to do an in-place upgrade to the same version of Windows you already have. That is: if you're on "Windows 11 build 22000," grab an ISO file for that same exact build and perform an upgrade that "keeps personal files/settings and apps."
[1]: Packages can share files (they're deduplicated), so sometimes the ACLs for one package include another package's ID; there's this thing called "hosted runtimes"; some packages are hosted outside this folder but have permissions to let those outside applications access this folder, etc.


Switch one runner to windows-2022 to test VS 2022

#281.

Hm, Windows Server 2022 build succeeded and most tests worked fine. The BCP-003-01 tests showed:
* WARNING: Could not find an installation of 'testssl'. Some tests will be disabled.

And right at the top of the log:
Fatal error: No IPv4/IPv6 address(es) for "nmos-api.local" available

Hey, @lo-simon,
I just noticed that after your PR https://github.com/AMWA-TV/nmos-testing/pull/678 bumped the testing tool's requirement for testssl.sh to v3.0.7, the nmos-cpp CI didn't get the same bump so I've just added it to this PR.
Before I did that, I thought we ought to have seen a message in the testoutput files like this:
 * WARNING: Version of 'testssl' does not match the expected '3.0.7'

Sure enough, it's there at the top of the file for the Ubuntu 22.04 runner for example.
But it's not there on the windows-2019 one, which like the windows-2022 one, has:
* WARNING: Could not find an installation of 'testssl'. Some tests will be disabled.

However, the BCP-003-01 test suite on the windows-2019 runner showed PASSes!
I don't understand...

@lo-simon Seems we are now back where we were with this, ❌ BCP-003-01 can't run on windows-2022 runner for some reason... 😕

Can this now work with latest nmos-testing without the monkey patch?

@garethsb, yes it should now work without the monkey patch, can you roll it back, and re-sync your fork? If you don't have time, I can do it, but I will have to cherry-pick your changes and do it on a new PR.

@lo-simon Fingers crossed now https://github.com/AMWA-TV/nmos-testing/pull/832 is merged this simple change from one year ago finally works!!


Add note that admin-pub-key for gitolite has to be written in one line

Would be nice to have that note in the option description.
I don't know whether the wording is appropriate, though!

I can rebase to clean up my history and remove the merge commit, if you want me to do that!

Thanks.


fix: print result lines when color is disabled

Seems like something in the data structure changed and the poor color disabled results where ignored.

:100: LGTM :rocket:
Thank you!


how to communicate location of RASPA2_DIR?

In order to use the simulate executable, one still needs to set the RASPA_DIR environment variable to the root directory of the conda environment, e.g.
#  for installation in base environment
export RASPA_DIR=/Users/leopold/Applications/miniconda3

# for installation in environment "simulations"
export RASPA_DIR=/Users/leopold/Applications/miniconda3/envs/simulations

I'm not able to find any guidance on setting environment variables automatically in the meta.yaml docs.
@jan-janssen do you happen to know whether this is possible?
In the worst case, perhaps it is possible to print a message after the package has been installed?

turns out one can use the activate.d scripts for this, see
https://github.com/conda-forge/nwchem-feedstock/blob/165e7a34e05311392b6621b23feed1ee719c90c2/recipe/build.sh#L74-L105


Set authnRequestBinding parameter when creating new SamlAuthProvider | SAML Auth

Set authnRequestBinding parameter when creating new SamlAuthProvider
Possible Implementation
add the following line to provider.ts
authnRequestBinding: config.getOptionalString('authnRequestBinding'),

Context
this will allow users to choose between HTTP-POST and HTTP Redirect (default value). This is neccessary to use SAML auth with Ping Federate, as Ping does not allow HTTP Redirect, and current Backstage source code doesnt allow a choice other than the default.
See docs here: https://www.passportjs.org/packages/passport-saml/
Trying to test the change locally now, and will submit PR if it works

Jk this isnt needed


Full screen gui

Make sure that the gui is launched in full screen mode. Maybe .setCentralWidget() can do it?

duplicate of #151


⚠ GitLab Server has degraded performance

In 83807f9, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 5232 ms

Resolved: GitLab Server performance has improved in 46887f0.


[Request - Product] Cisco IOS, Cisco NX-OS and Arista EOS

Full and short name of product
Cisco IOS, Cisco NX-OS and Arista EOS
Does this product have LTS versions? What are the intervals between each LTS version?
Yes, every 6 months.
What is the website for the product and for its version information?
https://www.cisco.com/c/en/us/products/ios-nx-os-software/ios-software-releases-listing.html
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/recommended_release/b_Minimum_and_Recommended_Cisco_NX-OS_Releases_for_Cisco_Nexus_9000_Series_Switches.html
https://www.arista.com/en/support/product-documentation
Additional context
Add any other context or screenshots about the product which you want us to add endoflife.date

Duplicate of #1387?


RefreshDatabase trait does not reset increment counters.

Laravel Version: 6.x
PHP Version: 7.3.9
Database Driver & Version: Postgres 11.5

Description:
Laravel's RefreshDatabase will reverse individual transactions after each test when using a conventional database (ie. not in-memory). I assume this is done for speed and efficiency. However, this method does not reset auto-increment counters (at least for the version of Postgres mentioned above). This can cause some issues:
Steps To Reproduce:
The following test will pass when using an in-memory sqlite database, but will fail when using Postgres.
<?php

namespace Tests\Feature;

use App\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;

class ExampleTest extends TestCase
{
    use RefreshDatabase;

    // This will pass.
    public function test_a()
    {
        factory(User::class)->create();
        $this->assertNotNull(User::find(1));
    }

    // This will fail, no user with id 1.
    public function test_b()
    {
        factory(User::class)->create();
        $this->assertNotNull(User::find(1));
    }

    // This will fail, $user->id is now 3.
    public function test_c()
    {
        $user = factory(User::class)->create();
        $this->assertEquals(2, $user->id);
    }
}

Each subsequent test will create a user but the id will not be 1, it will be 1 then 2 then 3.
Any fix will probably be done here: https://github.com/laravel/framework/blob/6.x/src/Illuminate/Foundation/Testing/RefreshDatabase.php#L45-L64
Using the old DatabaseMigrations trait will fix this. Don't know whether this should be fixed or if people should just be using DatabaseMigrations in this situation. I thought the point of RefreshDatabase was to replace DatabaseMigrations and DatabaseTransactions.

That's expected because, as you said, for performance reason the database is only refreshed once before all tests; each test just runs within a transaction but Postgres is known not to rollback sequences.
A couple of thoughts:

having tests relying on such IDs is a bad idea, better to refactor the tests
you can use phpunit --process-isolation which runs each test in total isolation; of course this comes with a hefty overhead of truly refreshing the database every time
if you rely on "future IDs" and you can't change 1), you can write code which looks up what the next sequence number will be

For 3) I use code like this:
    /**
     * Gets the next id for autoincrement/sequences
     *
     * This is mostly necessary due sequences in postgres not being
     * transaction safe, which leads to some extra work.
     *
     * @param Model $model
     * @return int
     */
    public function getNextSequenceId(Model $model): int
    {
        $sequenceName = $this->getSequenceName($model->getTable(), $model->getKeyName());
        $result = $this->pdo->query(
            "SELECT * FROM $sequenceName",
            PDO::FETCH_OBJ
        )->fetchAll();
        $result = $result[0];

        return $result->is_called
            ? $result->last_value + 1
            : $result->last_value;
    }

    /**
     * @param string $tableName
     * @param string $columnName
     * @return string
     */
    protected function getSequenceName(string $tableName, string $columnName): string
    {
        return $tableName . '_' . $columnName . '_seq';
    }

$this->pdo in this case is extracted from the models connection, i.e. something like (new $model)->getConnection()
getSequenceName doesn't really look up the name but generates it based on some convention; might fail if you use different approach here.
Transaction will always cause these kind of troubles in Postgres for sequences. I first saw that e.g. CakePHP2 had out of the box support for this; I believe they used another approach and did reset the sequences after every transaction or something (could be wrong here).
HTH

I think @mfn explained this pretty well, thanks.


Dice Game

Developer Checklist

[x] Followed guidelines mentioned in the readme file.
[x] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[x] Starred ⭐ the Repo (Optional)

Summary
The Pig Game is an exciting two-player, web-based dice game that challenges players' luck and strategy. In this game, two players roll a standard six-sided die, aiming to accumulate points without rolling a dreaded 1. Players can hold their points to secure them or continue rolling for a chance to score more. The first player to reach or exceed the target score, typically 100 points, wins. It's a thrilling and interactive way to test your decision-making skills and have a blast competing with friends!
Screenshot

Live Project Link
add a working project link here

@PBJI please review this PR and merge if correct


feat: :sparkles: toggle between flow of data

This was by far the most requested feature on the comments for hackernews feed, so with this PR, users can switch the flow of data representation

Preview URL: https://1816d829.howtoprofessionallysay.pages.dev/
If anyone have any suggestions on this, will merge in couple of hours, till I learn how to setup automatic preview messages on PR from Cloudflare (relatively new user to this service)


bug of create_row?

Here is a simple test code,
require 'rubygems'
require 'stargate'
Direct connection
client = Stargate::Client.new("http://localhost:8080") # this url is the default for stargate.
Table Operation
client.delete_table('users')                             # delete 'users' table
table = client.create_table('users', 'habbit')           # create a table whose column_family is habbit
#table = client.show_table('users')                       # show the meta info of table users
Row Operation
row = client.create_row('users', 'sishen', 2, {:name => 'habbit:football', :value => 'i like football'}) # create the row 'sishen' with the data in the table 'users'
row = client.create_row('users', 'sishen', 1, {:name => 'habbit:football', :value => 'i like basketball'}) # create the row 'sishen' with the data in the table 'users'
there should be two record with the same row key and different timestamp, right? But i only get one,
hbase(main):030:0> scan 'users'
ROW                                              COLUMN+CELL
sishen                                          column=habbit:football, timestamp=2, value=i like football
1 row(s) in 1.0410 seconds
Is it a bug?

Try using the command:
hbase(main):030:0> scan 'users', {VERSIONS => 3}

The shell will only return you the latest version by default. Reopen this case if it still doesn't work.


Reload Swift Package when new file creation is indicated by DidChangeWatchedFileNotification

Implement rudementary support for DidChangeWatchedFileNotification for SwiftPM projects: When a file is added, reload the Swift package to compute build settings for the new file.
This enables proper semantic functionality added to the project after the LSP server was started.
Resolves rdar://87149128 SR-15633.

@swift-ci Please test

Also, don't forget to remove this from the README:

SwiftPM build settings are not updated automatically after files are added/removed.

Workaround: close and reopen the project after adding/removing files

😸

reloadPackages needs to be taught to notify the build system delegate of the settings changes using delegate.fileBuildSettingsChanged for all the registered URLs (and we'll need to start keeping a list of the registered URLs in the SwiftPM build system). That will fix the settings in files that were already open before the change.
Excited to see this happening!

Yep, this is great! :D Thanks for working on it

Thanks for the feedback @benlangmuir and @DavidGoldman. I addressed the inline comments by squashing the first commit and introduced notification of the build system delegate on package reloading in a second commit.
The points still open are:

Should we also listen for deleted files? (https://github.com/apple/sourcekit-lsp/pull/443#discussion_r781367077)
Watch for changes to Package.swift, which I’ll add in a follow-up PR (https://github.com/apple/sourcekit-lsp/pull/443#discussion_r780438117)

@swift-ci Please test

https://github.com/apple/swift-package-manager/pull/4016
@swift-ci Please test

apple/swift-package-manager#4016
@swift-ci Please test

apple/swift-package-manager#4016
@swift-ci Please test

apple/swift-package-manager#4016
@swift-ci Please test


TextField errors on Safari 17: SafariDesktopTextEditingStrategy.placeElement: Null check operator used on a null value

Steps to reproduce
We're seeing hundreds of the below framework errors on all text fields in the application on production Flutter Web across different Safari 17.x releases. Happens on all Flutter versions from 3.10-3.18.0-18.0.pre. Seems to be triggered by interacting with any field or typing into it.
minified:Vt: Null check operator used on a null value
  at DefaultTextEditingStrategy.placeForm(org-dartlang-sdk:///lib/_engine/engine/text_editing/text_editing.dart:1191:22)
  at SafariDesktopTextEditingStrategy.placeElement.<anonymous function>(org-dartlang-sdk:///lib/_engine/engine/text_editing/text_editing.dart:1120:9)
  at A.bHW(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1391:46)
  at _CustomZone.run(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1390:3)
  at _CustomZone.run(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1300:34)
  at _CustomZone.runGuarded(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1209:7)
  at _CustomZone.bindCallbackGuarded.<anonymous function>.blv.prototype.$0(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1249:18)
  at A.bHW(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1399:12)
  at _CustomZone.run(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1390:3)
  at _CustomZone.run(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1300:34)
  at _CustomZone.bindCallback.<anonymous function>.blw.prototype.$0(org-dartlang-sdk:///dart-sdk/lib/async/zone.dart:1233:18)
  at _TimerImpl.internalCallback(org-dartlang-sdk:///dart-sdk/lib/_internal/js_runtime/lib/async_patch.dart:121:9)

Expected results
No error.
Actual results
Null error.
Code sample
Code sample
          TextField(
            maxLength: 4,
            keyboardType: TextInputType.number,
            inputFormatters: <TextInputFormatter>[
              FilteringTextInputFormatter.digitsOnly,
            ],
            enableSuggestions: false,
            autocorrect: false,
            onChanged: onChanged,
            onSubmitted: onSubmitted,
            controller: TextEditingController(text: '1234'),
            textAlign: TextAlign.right,
            style: TextStyle(
              color: Theme.of(context).colorScheme.primary,
            ),
            decoration: InputDecoration(
              hintText: '0000',
              hintStyle: TextStyle(
                color: Theme.of(context).colorScheme.primary.withOpacity(0.5),
              ),
              filled: false,
              border: InputBorder.none,
              focusedBorder: InputBorder.none,
              enabledBorder: InputBorder.none,
              counterText: '',
              contentPadding: EdgeInsets.zero,
            ),
          ),

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

I tried this on Safari Version 17.1 (196<IP_ADDRESS>.7) but can't reproduce it locally and on a deployed site as well. Since the issue occurs on some Flutter versions above but I'm not sure which version the stack trace above corresponds to (because there are many null checks at text_editing.dart). Can you clarify more?
Also, is this issue reproducible locally in release mode?

@huycozy Stack is from 3.18.0-18.0.pre.
Yes, reproduces locally in release mode when clicking on the text field about 10% of the time using this method:
Refresh page
Click text field once
-> repeat

I tried clicking on the field and typing on it but I still can't reproduce the issue after many time tries. Below is a minimal sample code I used:

Sample code
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(
            maxLength: 4,
            keyboardType: TextInputType.number,
            inputFormatters: <TextInputFormatter>[
              FilteringTextInputFormatter.digitsOnly,
            ],
            enableSuggestions: false,
            autocorrect: false,
            controller: TextEditingController(text: '1234'),
            textAlign: TextAlign.right,
            style: TextStyle(
              color: Theme.of(context).colorScheme.primary,
            ),
            decoration: InputDecoration(
              hintText: '0000',
              hintStyle: TextStyle(
                color: Theme.of(context).colorScheme.primary.withOpacity(0.5),
              ),
              filled: false,
              border: InputBorder.none,
              focusedBorder: InputBorder.none,
              enabledBorder: InputBorder.none,
              counterText: '',
              contentPadding: EdgeInsets.zero,
            ),
          ),
        ),
      ),
    );
  }
}

Could you try switching to the latest beta/master channel and verify this on your end? (the latest beta is 3.19.0-0.2.pre)


Fetch is not called when accessing child page directly

The fetch method is not called when you access a child page directly.
Reproduction project: https://github.com/cretueusebiu/nuxt-fetch-issue
Start the project and open the console:

You should see<EMAIL_ADDRESS>Now click on the Child button and you'll see<EMAIL_ADDRESS>While on the /child page, refresh the page and only<EMAIL_ADDRESS>is shown.

Is this the expected behavior ?
From looking at the code this line seems to prevent fetch from being called on the parent component.

@cretueusebiu What you expect? When hard reload child page call<EMAIL_ADDRESS>too?

@gtso86  Yes.

@cretueusebiu got it what you mean. When I disabled the mode: spa inside the nuxt.config.js I both on my console...

Hi @cretueusebiu @gtso86
It seems to be a bug indeed, it should not call any fetch method on reload since everything is server-rendered.
I will take a look at it.

I just tried and universal mode is working perfecly:

/ -><EMAIL_ADDRESS>in server console
/child -> fetch<EMAIL_ADDRESS>in server console
Navigating client-side from / to /child -> only<EMAIL_ADDRESS>in client console

But with spa mode (only client console):

/ -><EMAIL_ADDRESS>in console
/child -> only<EMAIL_ADDRESS>in console == BUG

Woking on it :)

It's fixed with https://github.com/nuxt/nuxt.js/commit/fed644ddf68717191bdef43f12946139b81e6c9c
Will be available in rc6 :)


Update helpful-material.html

added new link
Address #7

Looks great! tip: don't forget to add yourself to the contribution list 😃


Use proper PEP 508 environment marker to install colorama on Windows only

Issue #256
Using proper PEP 508 environment marker to install colorama on Windows only.

Indeed, after decompressing https://files.pythonhosted.org/packages/bf/9e/6378bc3d04592cd3692dd50f829c6678fae69052fda048a7981657c17489/knack-0.9.0-py3-none-any.whl, knack-0.9.0.dist-info/METADATA contains:
Requires-Dist: argcomplete
Requires-Dist: jmespath
Requires-Dist: pygments
Requires-Dist: pyyaml
Requires-Dist: tabulate

When will this be released?


EDGCMNSPR-53: Spring Boot 3.2.6, bcprov-jdk18on 1.78 fixing vulns

https://folio-org.atlassian.net/browse/EDGCMNSPR-53
Upgrade Spring Boot from 3.2.3 to 3.2.6.
Upgrade folio-spring from 8.1.0 to 8.1.1.
Upgrade spring-security-rsa from 1.1.1 to 1.1.3.
The Spring Boot upgrade indirectly upgrades spring-web from 6.1.4 to 6.1.8 fixing UriComponentsBuilder Open Redirect:
https://spring.io/security/cve-2024-22259
https://spring.io/security/cve-2024-22262
The Spring Boot upgrade indirectly upgrades netty-codec-http from 4.1.107.Final to 4.1.110.Final fixing form POST OOM:
https://github.com/netty/netty/security/advisories/GHSA-5jpm-x58v-624v = CVE-2024-29025
The folio-spring-version upgrade and the spring-security-rsa indirectly upgrade bcprov-jdk18on from 1.74 to 1.78 fixing multiple vulnerabilities:

https://www.cve.org/CVERecord?id=CVE-2024-30172  Ed25519 Infinitive Loop
https://www.cve.org/CVERecord?id=CVE-2024-30171  RSA side-channel attack
https://security.snyk.io/vuln/SNYK-JAVA-ORGBOUNCYCASTLE-6277381  PKCS#1 1.5 and OAEP side-channel attack
https://www.cve.org/CVERecord?id=CVE-2024-29857  ECCurve excessive CPU consumption

The bcprov-jdk18on vulnerabilities affect TLS.

Hey @julianladisch, 8.1.2 is not a valid version for folio-spring-support, it doesn't exist.

As far as https://github.com/folio-org/folio-spring-support/pull/154 is merged, folio-spring-support should be released bumping up the minor version.


Better exception messages in TypeActivator.CreateInstance

TypeActivator.CreateInstance doesn't indicate whether or not the instanceType or parameters are invalid when a matching constructor cannot be found.
For example, the exception thrown when instanceType is in interface is the same exception thrown when the parameters provided that do not match any constructor.

This type is dead do we need to do something for the ObjectFactory /cc @pranavkm

This was fixed as part of https://github.com/aspnet/DependencyInjection/issues/310. We identify when a parameter cannot be constructor.


Move font-sans to body

Move the font-sans class to the HTML body.
(recreate of #19 because i screwed that up badly (forgot to change base branch))

going to merge bc @billkamp approved the same changes in https://github.com/aigis-llm/aigis/pull/19#pullrequestreview-2456465406


Fix a bad flag check.

Fixes https://github.com/Azure/azure-cli/issues/1975
>az resource show -n azure-cli-buildagent-02-ip
--resource-group/-g is required.

>az resource show -n azure-cli-buildagent-02-ip --namespace microsoft.network
--resource-group/-g is required.

@troydai

@troydai, @tjprescott, if we are going to merge, please do.


Prepare for release v1.14.16

Summary of Changes
Bugfixes:

datapath: Fix redirect from from L3 netdev to tunnel (Backport PR #35265, Upstream PR #33421, @brb)
Fixed bug in tracking policy changes that could have resulted in revert not woking in failure cases as expected. (Backport PR #35279, Upstream PR #35109, @jrajahalme)
Fixed bug where service id allocator would loop infinity when out of service ids (Backport PR #35279, Upstream PR #35033, @WeeNews)
Fixes startup fatal error when updating CiliumNode resource. (Backport PR #34916, Upstream PR #34862, @harsimran-pabla)

CI Changes:

.github/lint-build-commits: fix workflow for push events (Backport PR #35279, Upstream PR #35264, @aanm)
.github: create cache directories on cache miss (Backport PR #35176, Upstream PR #35088, @aanm)
.github: do not push floating tag from PRs (Backport PR #35229, Upstream PR #35227, @aanm)
.github: install golang action after checkout (Backport PR #35176, Upstream PR #34843, @aanm)
.github: re-enable configurations in e2e-upgrade (Backport PR #35176, Upstream PR #34800, @aanm)
.github: specify cache-dependency-path in lint-workflows (Backport PR #35176, Upstream PR #34845, @aanm)
ci: conformance-[gateway-api|ginkgo|ingress] wait for images before matrix generation (Backport PR #34916, Upstream PR #34820, @aanm)
fix: repository nil value handled on workflow_dispatch context for renovate updates (Backport PR #34916, Upstream PR #34902, @Artyop)

Misc Changes:

.github: add cache to cilium-cli and hubble-cli build workflows (Backport PR #35176, Upstream PR #34847, @aanm)
.github: clean up disk for lint-build workflow (Backport PR #35176, Upstream PR #35141, @aanm)
.github: fix build image process to commit changes (Backport PR #35279, Upstream PR #35262, @aanm)
.github: fix lvh-kind warnings (Backport PR #35176, Upstream PR #34811, @aanm)
.github: fix runtime image digests (Backport PR #35119, Upstream PR #35107, @aanm)
.github: push floating tag for push events for stable branches (cilium/cilium#35234, @aanm)
[v1.14] contrib/scripts: set 755 permissions for builder.sh (cilium/cilium#35266, @aanm)
Change GH runners to GH's default (Backport PR #35176, Upstream PR #33451, @aanm)
chart: define the envoy image variable in the makefile (Backport PR #35113, Upstream PR #27725, @weizhoublue)
chore(deps): update all github action dependencies (v1.14) (cilium/cilium#35029, @cilium-renovate[bot])
chore(deps): update all github action dependencies (v1.14) (cilium/cilium#35087, @cilium-renovate[bot])
chore(deps): update all github action dependencies (v1.14) (cilium/cilium#35252, @cilium-renovate[bot])
chore(deps): update all-dependencies (v1.14) (cilium/cilium#35028, @cilium-renovate[bot])
chore(deps): update dependency cilium/cilium-cli to v0.16.18 (v1.14) (cilium/cilium#35001, @cilium-renovate[bot])
chore(deps): update dependency cilium/cilium-cli to v0.16.19 (v1.14) (cilium/cilium#35204, @cilium-renovate[bot])
chore(deps): update dependency cilium/hubble to v1.16.2 (v1.14) (cilium/cilium#35242, @cilium-renovate[bot])
chore(deps): update docker.io/library/golang:1.22.7 docker digest to ddad330 (v1.14) (cilium/cilium#35093, @cilium-renovate[bot])
chore(deps): update go to v1.22.8 (v1.14) (cilium/cilium#35205, @cilium-renovate[bot])
chore(deps): update quay.io/cilium/cilium-envoy docker tag to v1.29.9-1727272937-c0c0c5f38d338b330d891b304ab5ed6c6d7bcec4 (v1.14) (cilium/cilium#35085, @cilium-renovate[bot])
chore(deps): update quay.io/cilium/cilium-envoy docker tag to v1.29.9-1727272937-c0c0c5f38d338b330d891b304ab5ed6c6d7bcec4 (v1.14) (cilium/cilium#35108, @cilium-renovate[bot])
chore(deps): update quay.io/cilium/cilium-envoy docker tag to v1.29.9-1727997080-b094128ed01b784b63ada19b54f8c7fdc3042e6e (v1.14) (cilium/cilium#35220, @cilium-renovate[bot])
chore(deps): update quay.io/cilium/cilium-envoy docker tag to v1.29.9-1728346947-0d05e48bfbb8c4737ec40d5781d970a550ed2bbd (v1.14) (cilium/cilium#35285, @cilium-renovate[bot])
helm: set key usages for hubble certificates with cert-manager (Backport PR #35038, Upstream PR #34946, @kaworu)
images/builder: get rid of annoying git ownership warnings (Backport PR #35279, Upstream PR #31538, @ti-mo)
Improve speed on lint commits GH workflow (Backport PR #35176, Upstream PR #34848, @aanm)
Re-write GitHub cache usages across workflows (Backport PR #35176, Upstream PR #34866, @aanm)

Other Changes:

[v1.14] image: Update runtime, builder images (cilium/cilium#35097, @sayboras)
install: Update image digests for v1.14.15 (cilium/cilium#35050, @cilium-release-bot[bot])

/test-backport-1.14


Typo Influnce -> Influence

Relation "Influnce" should be "Influence"

merged pull request... :) Thanks... :)


Add unit tests to the rewrite

Add unit tests to all packages in the operator.
Some operator-sdk guidelines on adding tests: https://sdk.operatorframework.io/docs/building-operators/golang/testing/
With #114 merged the new implementation lives on the development branch.

Combined into #129


fix docs warnings

Summary

close #540
Checklist

[ ] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.

[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[x] This PR is not a code change (e.g. documentation, README, ...)

I'm sure there are significantly better ways to fix these warnings than make insanely long line lengths


[tool_crash] FileSystemException: Cannot open file, OS Error: The system cannot find the path specified., errno = 3

Command
flutter create sample

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot open file, OS Error: The system cannot find the path specified.
, errno = 3
#0      _File.throwIfError (dart:io/file_impl.dart:629:7)
#1      _File.openSync (dart:io/file_impl.dart:473:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:533:18)
#3      _File.readAsStringSync (dart:io/file_impl.dart:578:18)
#4      ForwardingFile.readAsStringSync (package:file/src/forwarding/forwarding_file.dart:99:16)
#5      ErrorHandlingFile.readAsStringSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:222:22)
#6      _runSync (package:flutter_tools/src/base/error_handling_io.dart:600:14)
#7      ErrorHandlingFile.readAsStringSync (package:flutter_tools/src/base/error_handling_io.dart:221:12)
#8      CreateBase._computeTemplateManifest (package:flutter_tools/src/commands/create_base.dart:674:37)
#9      CreateBase._templateManifest (package:flutter_tools/src/commands/create_base.dart:661:43)
#10     CreateBase._templateManifest (package:flutter_tools/src/commands/create_base.dart)
#11     CreateBase.renderMerged (package:flutter_tools/src/commands/create_base.dart:487:25)
#12     CreateBase.generateApp (package:flutter_tools/src/commands/create_base.dart:512:29)
#13     CreateCommand.runCommand (package:flutter_tools/src/commands/create.dart:351:37)
<asynchronous suspension>
#14     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#16     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#17     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
<asynchronous suspension>
#18     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.7.9, on Microsoft Windows [Version 10.0.22621.1413], locale en-IN)
    • Flutter version 3.7.9 on channel stable at C:\Users\flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 62bd79521d (2 days ago), 2023-03-30 10:59:36 -0700
    • Engine revision ec975089ac
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\Dream\AppData\Local\Android\Sdk
    • Platform android-33-ext5, build-tools 33.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.5.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional
    • Visual Studio Professional 2022 version 17.5.33516.290
    • Windows 10 SDK version 10.0.22000.0

[✓] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-9505619)

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.1413]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 111.0.5563.111
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 111.0.1661.54

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Flutter Application Metadata
No pubspec in working directory.

@Arunashokkk  Can you try to move your Flutter SDK out of C:\Users\ path to another drive and see if it works or not?


adc_io_to_channel non-const pointer parameter (IDFGH-10546)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
In both cases below the adc_uint_t* parameter should almost certainly be a const pointer.
adc_common
esp_err_t adc_io_to_channel(int, adc_unit_t*, adc_channel_t*)
adc_oneshot
esp_err_t adc_oneshot_io_to_channel(int, adc_unit_t*, adc_channel_t*)
p.s. adc_continuous probably has the same issue.
p.p.s.
The first parameter int io should probably be of type uint8_t to be consistent with other parts of the API but regardless of size the sign seems superfluous.

Thanks for reporting.

@tpmlinz Thanks for the feedback~ However we cannot change the API signature at this moment. We'll consider this when introducing a next major release.

I'll close this issue in next few days as we can't introduce breaking changes at this moment.
I've recorded this feedback and will re-consider this before next major release.
Will keep this issue open for few days. Let me know if there's any comment~ @tpmlinz

Hi @tpmlinz  We adopted the const pointer suggestion, about the int io, as it's a breaking change we'll still delay it to next major release and re-consider it.
The commit will be synced to GH master soon.


Clarify token (fixes #63)

Thanks for the contribution! I'm going to make a couple of tweaks to this - secrets.GITHUB_TOKEN isn't technically accurate, it should be github.token, but I will include a description of how to replace it with a secret.


Script for installing stack

As on this page, we need a script for installing stack:
https://ci.haskell-lang.org/get-started/osx
It should:

Figure out the platform
Download the right executable
Add to the PATH ~/.local/bin

(Just made the ticket to have something to track, I know you're already aware of this!)

Done:

Once DNS propagates, the Stack installer script should be available at get.haskellstack.org.  So you'd use one of these commands to install:
curl -sSL https://get.haskellstack.org/ | sh
or:
wget -qO- https://get.haskellstack.org/ | sh


Retry logic added to fix concurrent image pull

Retry for 3 times, if ApplyLayer fails.
Fixes #1041 , #1240
Signed-off-by: Kunal Kushwaha<EMAIL_ADDRESS>

Codecov Report

Merging #1432 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1432   +/-   ##
======================================
  Coverage    40.8%   40.8%
======================================
  Files          23      23
  Lines        2924    2924
======================================
  Hits         1193    1193
  Misses       1453    1453
  Partials      278     278

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 360e46d...5092f1c. Read the comment docs.

This doesn't seem like the right appraoch and won't work for larger images.
Is there not a way to detect if there is an ongoing unpack and to just wait for it?

@stevvooe Will look into it. Maybe some kind of event will be required to be added.

@kunalkushwaha I'm not sure an event is quite necessary. We just need a way to query ongoing unpacks and join them, similar to the way this can be done for ingesting content.
@dmcgowan PTAL

I see 2 TODOs in the rootfs code as possible places to implement this. Something to keep in mind here is that the retry is probably better done closer to where the error occurs. If it is appropriate to wait for completion, then just that individual task can wait without having to retry at the higher layer.  Probably rootfs.ApplyLayer is the best place to do it, looping around the stat + prepare logic. Also when implementing this, the context cancellation should be respected, it would be better to use a select around time.After and ctx.Done() rather than just sleeping.

@dmcgowan Does this really need a retry? This seems like a detectable condition.

This is probably a key selection issue.

@stevvooe I discussed this with @tonistiigi yesterday, he also wants a solution to this issue. There are 2 options here each with their own trade offs. If we were to wait and retry then we are guaranteeing that there is only 1 extraction of any layer at the same time. The problem with this approach is there is no good terminal condition for stopping the wait, the extraction being waited on may be long running or it may just be abandoned and need to be cleaned up. The other option is like you mentioned, key selection, where we always use a unique key for doing extraction and allow doing the same extractions simultaneously. This may duplicate some effort but we will be able to de-duplicate the work at commit time. Based on these 2 options, the first feels like a half measure at optimization and we should just pick a new key and duplicate the extraction for now.

@dmcgowan I think the unique key approach is the right way to go.

@stevvooe +1

Created alternate to this which uses unique keys


what's camera_i_base_frame for?

okay so I thought that it might be the fix frame or something but it doesn't even show up on the tf tree.
basically in camera.yaml:
<arg name="base_frame" default="oak-d_frame" />
<arg name="parent_frame" default="oak-d-base-frame" />
    <param name="$(arg name)/camera_i_base_frame" value="$(arg base_frame)"/>
    <param name="$(arg name)/camera_i_parent_frame" value="$(arg parent_frame)"/>
    <include unless="$(arg publish_tf_from_calibration)" file="$(find depthai_descriptions)/launch/urdf.launch">
        <arg name="base_frame" value="$(arg  name)" />
        <arg name="parent_frame" value="$(arg  parent_frame)"/>
        <arg name="camera_model" value="$(arg  camera_model)"/>
        <arg name="tf_prefix" value="$(arg  name)" />
        <arg name="cam_pos_x" value="$(arg  cam_pos_x)" />
        <arg name="cam_pos_y" value="$(arg  cam_pos_y)" />
        <arg name="cam_pos_z" value="$(arg  cam_pos_z)" />
        <arg name="cam_roll" value="$(arg  cam_roll)" />
        <arg name="cam_pitch" value="$(arg  cam_pitch)" />
        <arg name="cam_yaw" value="$(arg  cam_yaw)" />
    </include>

so parent_frame is used for tf urdf but I don't see where base_frame is used. I also couldn't find anything on camera_i_base_frame on the documentation. There's a camera_i_tf_base_frame, but I'm not sure what it's use for.

Hi, I think you have caught a typo in configuration as those parameter names should be indeed called camera_i_tf_base_frame. The convention is that parent_frame is used for attaching camera to other TF entity (for example map) and base_frame is a child frame of it that serves as a starting point for each individual cameras TF tree.