Fix tests

This fixes a consistent build failure in the TestPackerBasicExample and the helm tests.
Note that we still have consistent build failures with GCP, which appears to be caused by https://github.com/hashicorp/packer/issues/8939#issuecomment-604708639. ~@robmorgan can you investigate this when you get the chance?~ I am investigating this now since I just realized I have access to the underlying GCP project.

Ok I can't figure out the issue with the GCP SSH issue, so will need help from @robmorgan

Ok I can't figure out the issue with the GCP SSH issue, so will need help from @robmorgan

Looks like there might be a relevant bug fix in the latest version of Packer, so I'm bumping it to 1.6.6. I'm also going to fix the way we authenticate using gcloud.

Looks like there might be a relevant bug fix in the latest version of Packer, so I'm bumping it to 1.6.6. I'm also going to fix the way we authenticate using gcloud.

Okay, no luck so far. For some reason, it seems something is updating the resolv.conf on the CircleCI VM. I have a feeling it's actually the base CircleCI Ubuntu image we are using:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver <IP_ADDRESS>
search c.circleci-picard-mahmood.internal google.internal

This actually allows HTTP requests like curl http://metadata to work. When I run the following, I get back the name of the VM CircleCI is using, e.g: default-8d8da713-e49b-4dd9-937a-d2c3dd70970f which makes me wonder if CircleCI is spinning up VMs on a Google Cloud host and somehow their private instance metadata is confusing our test suite:
$ curl -H "Metadata-Flavor: Google" http://metadata/computeMetadata/v1/instance/name
default-8d8da713-e49b-4dd9-937a-d2c3dd70970f

Note, if I query the image param, I get one of their private images:
$ curl -H "Metadata-Flavor: Google" http://metadata/computeMetadata/v1/instance/image
projects/circleci-picard-mahmood/global/images/ubuntu-1604-xenial-fixup-build-2072-us-east1

The problem with this is tools like Packer get confused and think they are actually running on a GCE instance (which ironically they are), then try to look up instance metadata for our project that isn't fully available. The VMs appear to be running in CircleCI's project - circleci-picard-mahmood.
The only workaround I can think of so far is trying to pass in an account file directly to Packer in the tests which should force Packer to use our credentials instead looking within CircleCI's GCP project. The downside to this is it likely makes our examples a little less portable as I'd need to pass in a credentials filepath somewhere.

Okay, no luck so far. For some reason, it seems something is updating the resolv.conf on the CircleCI VM. I have a feeling it's actually the base CircleCI Ubuntu image we are using:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver <IP_ADDRESS>
search c.circleci-picard-mahmood.internal google.internal

This actually allows HTTP requests like curl http://metadata to work. When I run the following, I get back the name of the VM CircleCI is using, e.g: default-8d8da713-e49b-4dd9-937a-d2c3dd70970f which makes me wonder if CircleCI is spinning up VMs on a Google Cloud host and somehow their private instance metadata is confusing our test suite:
$ curl -H "Metadata-Flavor: Google" http://metadata/computeMetadata/v1/instance/name
default-8d8da713-e49b-4dd9-937a-d2c3dd70970f

Note, if I query the image param, I get one of their private images:
$ curl -H "Metadata-Flavor: Google" http://metadata/computeMetadata/v1/instance/image
projects/circleci-picard-mahmood/global/images/ubuntu-1604-xenial-fixup-build-2072-us-east1

The problem with this is tools like Packer get confused and think they are actually running on a GCE instance (which ironically they are), then try to look up instance metadata for our project that isn't fully available. The VMs appear to be running in CircleCI's project - circleci-picard-mahmood.
The only workaround I can think of so far is trying to pass in an account file directly to Packer in the tests which should force Packer to use our credentials instead looking within CircleCI's GCP project. The downside to this is it likely makes our examples a little less portable as I'd need to pass in a credentials filepath somewhere.

Ohhhh... Nice work figuring that out Rob 👍

Try and run GCP tests using the Docker executor, would should give better isolation.

This seems like the most promising option... We could add one more build job to run in parallel, and have it run in a Docker container. Perhaps not a ton of work, and will make the test suite a tiny bit faster and more stable?

Investigate CircleCI admin permissions to see if there are any settings around where machine executors run. I.e. can we run machine builds on AWS only?

I poked around and I'm not seeing anything that exposes where their underlying test runners run.

Ohhhh... Nice work figuring that out Rob 👍

Try and run GCP tests using the Docker executor, would should give better isolation.

This seems like the most promising option... We could add one more build job to run in parallel, and have it run in a Docker container. Perhaps not a ton of work, and will make the test suite a tiny bit faster and more stable?

Investigate CircleCI admin permissions to see if there are any settings around where machine executors run. I.e. can we run machine builds on AWS only?

I poked around and I'm not seeing anything that exposes where their underlying test runners run.

@robmorgan and @brikis98 can we merge what we have in here now, which fixes a few of the k8s tests? I need those fixes to sanity check https://github.com/gruntwork-io/terratest/pull/760, and I'd hate for this to block non-GCP PRs on GCP test instability.

@robmorgan and @brikis98 can we merge what we have in here now, which fixes a few of the k8s tests? I need those fixes to sanity check https://github.com/gruntwork-io/terratest/pull/760, and I'd hate for this to block non-GCP PRs on GCP test instability.

@yorinasub17 @brikis98 sure, I've removed the GCP specific fixes from this PR. I'll open another one.

@yorinasub17 @brikis98 sure, I've removed the GCP specific fixes from this PR. I'll open another one.

Merging, given the build failures were all GCP related.

Merging, given the build failures were all GCP related.


'AssertionError("cannoe reassign constxpr full_range in the loop")` Failing pytorch UTs

Problem Description
Seeing ~15 PyTorch UTs failures at TOT triton-mlir reporting this failure previously hidden by https://github.com/ROCm/triton/issues/412
FAILED [0.1121s] test_torchinductor.py::CudaTests::test_bucketize_add_autotune_cuda
FAILED [0.1734s] test_torchinductor.py::CudaTests::test_bucketize_computed_offsets_cuda
FAILED [0.0533s] test_torchinductor.py::CudaTests::test_bucketize_cuda - torc...
FAILED [0.0458s] test_torchinductor.py::CudaTests::test_bucketize_default_kwargs_cuda
FAILED [0.0462s] test_torchinductor.py::CudaTests::test_bucketize_int_cuda - ...

GPU
AMD Instinct MI250X
ROCm Version
ROCm 5.7.0
Steps to Reproduce
Use rocm/pytorch-nightly:latest image and TOT triton-mlir https://github.com/ROCm/triton/commit/6aa01113db5aaedb99748cc439519c9ea562ab66
Reproducer:
from ctypes import c_void_p, c_long
import torch
import math
import random
import os
import tempfile
from math import inf, nan
from torch import device, empty, empty_strided
import triton
import triton.language as tl

# THIS KERNEL IS DEFINED IN TRITON_HELPERS - https://github.com/ROCm/pytorch/blob/rocm6.0_internal_testing/torch/_inductor/triton_helpers.py
# We can potentially add workarounds here if there is no way to solve the issue.
@triton.jit
def bucketize_binary_search(
    values,  # 1D tensor
    offsets_ptr,
    indexing_dtype,
    right,  # bool: if true, use intervals closed on the left; see [Note: Inductor bucketize op]
    OFFSETS_SIZE: int,
    BLOCK_SHAPE,  # tuple/list of block shape
):
    """
    See [Note: Inductor bucketize op]
    """
    low = tl.zeros(BLOCK_SHAPE, dtype=indexing_dtype)
    high = tl.full(BLOCK_SHAPE, OFFSETS_SIZE, dtype=indexing_dtype)
    full_range = OFFSETS_SIZE + 1
    while full_range > 1:
        mid = (high + low) // 2
        mask = mid < OFFSETS_SIZE
        bucket_upper_bound = tl.load(offsets_ptr + mid, mask=mask)
        if right:
            is_above = values >= bucket_upper_bound
        else:
            is_above = values > bucket_upper_bound
        low = tl.where(is_above & mask, mid + 1, low)
        high = tl.where(is_above, high, mid)
        full_range = (full_range + 1) // 2
    return low

# THIS KERNEL IS AUTOMATICALLY GENERATED BY INDUCTOR
@triton.jit
def triton_fn(in_ptr0, in_ptr1, out_ptr0, xnumel, XBLOCK : tl.constexpr):
    xnumel = 4096
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:]
    xmask = xindex < xnumel
    x0 = xindex
    tmp0 = tl.load(in_ptr0 + (x0), None)
    tmp1 = bucketize_binary_search(tmp0, in_ptr1, tl.int32, True, 10, [XBLOCK])
    tl.store(out_ptr0 + (x0), tmp1, None)

arg0_1 = empty_strided((64, 64), (64, 1), device='cuda:0', dtype=torch.int64)
arg1_1 = empty_strided((10, ), (1, ), device='cuda:0', dtype=torch.int32)
buf0 = empty((64, 64), device='cuda', dtype=torch.int32)
test = triton.compile(triton_fn, signature="*i64,*i32,*i32,*i32", constants={"XBLOCK": 4096})

Traceback
Traceback (most recent call last):
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1222, in ast_to_ttir
    generator.visit(fn.parse())
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1104, in visit
    ret = super().visit(node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 299, in visit_Module
    ast.NodeVisitor.generic_visit(self, node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 379, in generic_visit
    self.visit(item)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1104, in visit
    ret = super().visit(node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 372, in visit_FunctionDef
    self.visit_compound_statement(node.body)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 294, in visit_compound_statement
    ret_type = self.visit(stmt)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1104, in visit
    ret = super().visit(node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 424, in visit_Assign
    values = self.visit(node.value)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1104, in visit
    ret = super().visit(node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1020, in visit_Call
    return self.call_JitFunction(fn, args, kws)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 988, in call_JitFunction
    generator.visit(fn.parse())
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1104, in visit
    ret = super().visit(node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 299, in visit_Module
    ast.NodeVisitor.generic_visit(self, node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 379, in generic_visit
    self.visit(item)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1104, in visit
    ret = super().visit(node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 372, in visit_FunctionDef
    self.visit_compound_statement(node.body)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 294, in visit_compound_statement
    ret_type = self.visit(stmt)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 1104, in visit
    ret = super().visit(node)
  File "/opt/conda/envs/py_3.8/lib/python3.8/ast.py", line 371, in visit
    return visitor(node)
  File "/tmp/triton/python/triton/compiler/code_generator.py", line 759, in visit_While
    assert _is_triton_tensor(loop_defs[name]), f'cannoe reassign constxpr {name} in the loop'
AssertionError: cannoe reassign constxpr full_range in the loop

This was passing in November commit https://github.com/ROCmSoftwarePlatform/triton/commit/e8a35b3968780e48df1374482d56cc6cdbb9e351

uisng rocm/pytorch-nightly:latest, with fresh container and only mount fresh cloned triton, I have got below error on MI250X: it break all triton tutorial
it seems break all tutorials ?
(py_3.8) root@hyd-7c-ZT09-02:/home/test/triton/python/tutorials# python 03-matrix-multiplication.py
Traceback (most recent call last):
  File "03-matrix-multiplication.py", line 156, in <module>
    import triton.language as tl
  File "/home/test/triton/python/triton/language/__init__.py", line 4, in <module>
    from . import math
  File "/home/test/triton/python/triton/language/math.py", line 5, in <module>
    from . import core
  File "/home/test/triton/python/triton/language/core.py", line 8, in <module>
    from .._C.libtriton.triton import ir
ModuleNotFoundError: No module named 'triton._C.libtriton'

with rocm/pytorch:latest, it has no issue at all

This should fix the above tests and reproducer.
https://github.com/xiaohuguo2023/tritontest/blob/main/reproducer_bs.py
and
https://github.com/xiaohuguo2023/pytorch/tree/pt-inductorUT-fix

Thanks @xiaohuguo2023 with this workaround we pass these tests.
Please keep us in the loop any findings from the investigation of why this only fails for us and used to pass for us so we can best decide upstream strategy. If we adopt this in PyTorch we would have to have conditional implementations for ROCm/NV if this is the path we have to take.

the latest upstream openai upstream has changed triton.compile interface
in triton-mlir:
def compile(fn, **kwargs):
In upstream openai:
def compile(src, target=None, options=None):

https://github.com/xiaohuguo2023/pytorch/commit/dd960611bca349db97e701d14754b83a97c0b8f0
@xiaohuguo2023 to submit PR with the binary search change.


Create ch.js

Msg to chinese

Thank you so much @guoxb! I really appreciate the help translating.
Due to the way the translations work these might get lost if modifying the js file instead of json (more info here: https://github.com/carlosperate/ardublockly/wiki/Add-New-Language).  Could you submit the changes on the json file as well?


Mesh with custom shader not render Godot 2.1.2-rc

Some times (60% of times) when I run game from Godot 2.1.2-rc the mesh dissapear. It uses a custo shader.

OS: Linux Ubuntu Studio 16.04 - GeForce 560
Sometimes I note that pass VAR from vertex to fragment make shader fails, I don't know if it have relation.

@marcosbitetti Can you give us your shader, by any chance?
Also, that's probably fixed with the new renderer, but would be nice if someone ports to shader to the new syntax and tests.

If I understood correctly it's a regression, right? (i.e. it worked fine in 2.1.1-stable ?)

If it's a regression, it might be related to recent commits by @RandomShaper: 8589a1b, c44757c.

Yes, please, post your shader code (vertex, fragment and lighting, if used) or at least a meaningful excerpt with declared uniforms.

Some considerations:

Any light active, in this case I use a directional light (sun), provoque the issue! When I disable that light the object is rendered fine.
I use a tresource to describe the material, but a shader file to define shader (file extensions help me)
in light shader any atribuition to LIGHT variable provoke the issue

But the problem is not constant. because it, I suppose that is a problem when the script is loaded.

That gives me some clues, but I'm still a bit out of light. :)
If you don't want to show your code, would you make a little test project with a similar setup reproducing issue?
Does that happen with the stable 2.1 version?

scene.zip

Thanks. I'll check it in a few hours.

I'm sorry but I've not been able to reproduce your issue neither with stable 2.1 not with the current 2.1 branch.
I've tried both on Windows and Android.

I gave the test scene a try on Linux (Mageia 6 x64, latest kernel, mesa and all, with both Intel IGP [OpenGL 3.3] and Nvidia GPU [OpenGL 4.5]), and could not reproduce the bug either (at least by playing the scene).

I not totally certain, a lot of factors, as the project is inside a symlink... a lot o symlinks, can contribute to it. Or my file system is corrupt and the fdisk solve it on reboot... but the issue remains strange!
This not appears to occur in RC2.

The error stops on last release, and I not can reproduce it. I will close this issue, but I think that is a fail on file system (so much factors to experiment).


Kata Editor : annoying jumps

Especially when translating a Kata, the online editor has annoying behaviour.
If you scroll either the Kata or Description tab ("left part of window") downwards to see e.g. the test cases to translate, and then type into either the upper or lower tabs (solution, setup, preloaded, test cases, example test cases tabs) ("right part of window"), the left part immediately scrolls/jumps back to the beginning of the Kata or Description.
This makes translating more time-consuming than necessary, due to the constant need of repositioning the left part to the correct lines.
Please consider changing this resetting of the scrolling behaviour.

Same as #834


[Notion] Search Notion is not refreshing results with newer pages

Extension
https://www.raycast.com/notion/notion
Raycast Version
1.83.2
macOS Version
No response
Description
When searching for a page in Notion, only created pages at the time of extension install are showing as results.
Newer pages added after installing the extension do not show up in the results.
Steps To Reproduce

Install Notion extension
Connect to an existing account
Use Search Notion command to search for a page, should show up in the results
Add a new page on Notion account
Use Search Notion command to search for new page. No pages found is shown

Current Behaviour
No response
Expected Behaviour
The page should show up on the results

New root pages need to be granted access on Notion (see extension's README), there's unfortunately nothing we can do about that.

Oh ok, I definitely missed that, it is unfortunate but at least there is a quick resolution for it.
Many thanks!


Create a RPC interface as an optional replacement to tcl

Currently, if user wanna interact with OpenROAD, the only way is to invoke a tcl shell to send command and receive command. The result is hard to parse, and string only without type struct informations.
So I wonder if possible to add a json/protobuf based RPC interface as a optional replacement to tcl which contains a more serializable API for other program to interact with OpenROAD.

What would this interface look like?  All the command parsing is done in tcl today.

I think it can be something like a daemon, which has can consume a json input and generate a json out put, and has a standard serialise and deserialise specification which can be implemented in other program too.


Can see logs and statuses but cannot control the garage door

I've built the circuit with an ESP8266 Mini D1 on a breadboard based on the schematic and breadboard picture. I've flashed it with the Esphome ratgdo (https://ratgdo.github.io/esphome-ratgdo/). I can access the web UI and see logs going through if I open/close the garage door with MyQ. The statuses update, like the motion, obstruction and open/closed status.
When I click the toggle door button, light, or door up/down buttons, it doesn't work. In the logs I see 'Toggle door' Pressed. Then the 'Rolling code counter', then saving preferences to flash. A little bit later I'll see a Status: door=CLOSED light=OFF lock=UNLOCKED showing that the door has not moved or changed.
Any ideas on where to start looking?
It might be hard to see but I've attached a picture of the board. Also attaching a screenshot of some logs showing the end of where I closed the door with the MyQ app, then an attempt at opening it through HomeAssistant.
Garage Door: Chamberlain B4613T
Board: ACEIRMC ESP8266 [link]

This means your TX line isn't working.   Which board did you click when you flashed it?

Ah, yeah, I clicked the top left one because it said ESP8266. I just re-flashed it and set it up again in HA. After flashing it, I moved it back to the bread board and booted it up. It was seeing updates from the garage door again but still didn't open/close it. I rebooted it and now it is really slow to load the web interface. Might the wiring or some lack of configuration be causing the extreme slowness? I.E. it still hasn't loaded the full UI and its been 5 or so minutes.

I added the ESPHome addon to HomeAssistant and validated the node which pulled the config. I verified that I have the wires connected to the correct pins on the board itself (like tx, rx, and obst). Its loading faster now so maybe it was just doing something but still no luck with opening/closing.
Is there something I need to do with getting the current rolling code and syncing? I can't seem to find any helpful info on how to do that but I might be missing something.

Could it be an issue with the second transistor? I have the RFP30N06LE MOSFET but switched to using both of the small ones as that was what was in the picture to see if I could get it working.

Is there something I need to do with getting the current rolling code and syncing? I can't seem to find any helpful info on how to do that but I might be missing something.

Worst-case you need to ask it to Sync using the "Sync" button on the web interface.
Also make sure your device is a Security+ 2.0 model by checking over on the original ratgdo project repo.
You can also try swapping your MOSFETs around.  If you get "Collision detected" messages or just can't receive (but can transmit now) then that MOSFET is bad.

I've tried the sync button a few times with no luck either. I looked up the garage door opener and confirmed that it is a Security+ 2.0 model. I'll try swapping the MOSFETs.
Here is the first chunk of config just in case that helps at all...
`INFO Detected timezone 'America/New_York'
substitutions:
id_prefix: ratgdov25
friendly_name: ratgdov2.5 ff7723
uart_tx_pin: D1
uart_rx_pin: D2
input_obst_pin: D7
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
dry_contact_close_pin: D6
dry_contact_light_pin: D3
name: ratgdov25-ff7723
esphome:
name: ratgdov25-ff7723
friendly_name: ratgdov2.5 ff7723
name_add_mac_suffix: false
project:
name: ratgdo.esphome
version: '2.5'
build_path: build/ratgdov25-ff7723
platformio_options: {}
includes: []
libraries: []
min_version: 2023.10.6
esp8266:
board: d1_mini_lite
restore_from_flash: true
framework:
version: 3.0.2
source: ~3.30002.0
platform_version<EMAIL_ADDRESS>early_pin_init: true
board_flash_mode: dout
preferences:
flash_write_interval: 5s
external_components:

source:
url: https://github.com/ratgdo/esphome-ratgdo
type: git
refresh: 1s
components: all
ratgdo:
id: ratgdov25
input_gdo_pin:
number: 4
mode:
input: true
analog: false
output: false
open_drain: false
pullup: false
pulldown: false
inverted: false
output_gdo_pin:
number: 5
mode:
output: true
analog: false
input: false
open_drain: false
pullup: false
pulldown: false
inverted: false
input_obst_pin:
number: 13
mode:
input: true
analog: false
output: false
open_drain: false
pullup: false
pulldown: false
inverted: false`

Swapping the MOSFETs didn't make any difference. Anything I can do to test the outputs/inputs of the circuit to tell if its doing the right things?

The red wire going to the garage door opener does both the status updates for things like motion as well as commands from the ESP to open/close the door and such, correct? If thats true, then maybe the transistors aren't doing their job and setting up the line for communication?

The red wire going to the garage door opener does both the status updates for things like motion as well as commands from the ESP to open/close the door and such, correct? If thats true, then maybe the transistors aren't doing their job and setting up the line for communication?

There's no real setup going on.  The red wire from the GDO is +12v all the time unless something is transmitting (whether that is the GDO itself, the wall controller, or the ratgdo).  Any time something wants to transmit, it does this by pulling the +12v (red wire) to ground in pulses at 9600 bits per second (9600 pulses per second).  The RX MOSFET sees this as switching the MOSFET off for each pulse, which the D2 pin on the ESP module sees as brief pulses (at 9600 bps) of +3.3v.
As for the TX side of the ESP, pin D1 is not doing anything unless it wishes to transmit, at which point it will send +3.3v pulses (at 9600 BPS) to the gate of the TX MOSFET.  Each pulse will cause the +12v line (red wire) to get pulled to ground, which all other devices on the wire can detect as transmission data.
If you have an oscilloscope, what you need to do is monitor both pin D1 directly and look for +3.3v pulses when you try to transmit (e.g., open the door, query status, etc), and if that's working you need to monitor the red wire and look for inverted pulses from +12v to ground when you try to transmit.  That will tell you where the problem lies.
Also, try connecting the 3V3 pin of the ESP module to pin D1 and hold it there.  If the MOSFET is working the +12v line (red wire) will be pulled to Ground and your wall controller should switch off.

I'm also starting to wonder if some of the weirdness people are seeing when using the 2n7000 is due to their particular variant of the 2n7000 not switching reliably at 3.3v.  Again, an oscilloscope can validate this.

I'm also starting to wonder if some of the weirdness people are seeing when using the 2n7000 is due to their particular variant of the 2n7000 not switching reliably at 3.3v. Again, an oscilloscope can validate this.

I even found i had problems when using it on a breadboard, but not when i built a PCB, though i very possibly swapped transistors when i moved to the PCB so it could be that as well.

First thing I tried was connecting the 3V3 pin of the ESP to pin D1 which in fact did NOT switch the wall controller off. I assume that this means there is an issue with the setup or MOSFET.
I'm working through your explanation to see if I can troubleshoot with the oscilloscope. I'll get back to you with my findings there soon! I greatly appreciate the help. I feel like I'm close...

First thing I tried was connecting the 3V3 pin of the ESP to pin D1 which in fact did NOT switch the wall controller off. I assume that this means there is an issue with the setup or MOSFET.

Yeah sounds like your TX circuit is not pulling the red wire to ground at all.

I made a video on how to test this:
https://www.youtube.com/watch?v=AlZNbD49sbE

@Kaldek , thanks so much for this video. I'm not sure what was wrong with my initial setup but I went through it all again, replaced the MOSFETs, tested based on your very helpful description above, and now it works! On my bench I was able to get continuity between the two sides of the tx MOSFET so I hooked it back up and it works!
I'm starting to put it on the pcb so I can have a permanent solution. I'll share pics when it's done!

Awesome news mate!

@phutchins I'll close thise but you can share your pics here when you're done.


fix: internal.initialize response

What
Update internal.initialize response
Why
To compliant with firebolt specification
How
How do these changes achieve the goal?
Test
How has this been tested? How can a reviewer test it?
Checklist

[x] I have self-reviewed this PR
[ ] I have added tests that prove the feature works or the fix is effective

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.git commit and push seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Change _contains _starts_with, _ends_with functionality to be case insensitive

Making contains and starts_with case insensitive is a trivial change in the backend (replacing like with ilike in queries) One small wrinkle is that case-sensitivity is locale-dependent, and the response will depend on the locale in which the database is running, but that's not a new thing, we have that with ordering too. More a reminder that we need to define the locale for all these operations for the network.

Originally posted by @lutter in https://github.com/graphprotocol/graph-node/issues/1837#issuecomment-981943733

@saihaj it seems that we agree - let's keep this as is and introduce a case insensitive filter. We can then monitor usage to try and understand if users are relying on the sensitivity
Originally posted by @azf20 in https://github.com/graphprotocol/graph-node/issues/3191#issuecomment-1049789923


Windows Detecting Build as Malware

Windows Security is picking up the .exe release of this tool as a Glupteba!ml trojan and will not allow me to execute it.

I'm not able to reproduce that result locally, though I'll admit that could mean nothing.  VirusTotal does have some detections by smaller vendors but nothing by the more major vendors.
/shrug.  Don't really think there's much I can do about it.  On your side, you could tell Windows Defender to knock it off and allow the file.  Maybe submit the file to Microsoft for analysis.


Might fix wrong dust from macerating raw ore

https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/16332

Seems to be working.

Since I wrote the issue that prompted this, I've discovered quite a few other instances of this. Naquadah, naquadah-related things, and anything which gives samarium ore concentrate (if I recall correctly; whichever one is the samarium one) all have a similar problem. I think I recall seeing something like it mentioned with platline too but that having been fixed, so presumably it's the same issue.

Ok, So there were stuff in Lanthanides I had to fix. This only fixes the Naquadah stuff.

Since I wrote the issue that prompted this, I've discovered quite a few other instances of this. Naquadah, naquadah-related things, and anything which gives samarium ore concentrate (if I recall correctly; whichever one is the samarium one) all have a similar problem. I think I recall seeing something like it mentioned with platline too but that having been fixed, so presumably it's the same issue.

the ticket is a month old, eth just falsely closed it earlier :P

This and the Lanth pull should fix the wrong output @chochem .


Bug: DeleteAll ignores parameter tableName

Context
I have multiple tables using the same table structure. Thus I have only 1 c# class and try to use the tableName param to specify the table that I want to modify. The following code gives me an error whilst I expected it to work.
I am using Nuget 1.12.4 - net48
            using (var connection = CreateConnection())
            {
                connection.DeleteAll("MySpecificTable", new List<MyGenericTableClass> {new MyGenericTableClass(1)});
            }

Result
This results in an error: "There are no database fields found for table 'MyGenericTableClass'. Make sure that the target table 'MyGenericTableClass' is present in the database and/or atleast a single field is available."
Expected
No error and deletes uses the primary key of the MyGenericTableClass to delete an item from table 'MySpecificTable' where primary key is 1.
Guessed solution
Implementation is using
ClassProperty keyOrIdentityKey = DbConnectionExtension.GetAndGuardPrimaryKeyOrIdentityKey<TEntity>(connection, transaction);
which uses ClassMappedNameCache.Get<TEntity>() to retrieve 'tableName' instead of the parameter passed into the DeleteAll method, whilst an overload with explicit tableName is also available.
    internal static ClassProperty GetAndGuardPrimaryKeyOrIdentityKey<TEntity>(
      IDbConnection connection,
      string tableName,
      IDbTransaction transaction)
      where TEntity : class
    {
      return DbConnectionExtension.GetAndGuardPrimaryKeyOrIdentityKey(connection, tableName, transaction, typeof (TEntity));
    }

Hi @bobduncan , thank you for reporting this issue. We have tested your issue using the latest release version of RepoDB v1.12.5-beta3 and RepoDb.SqlServer v1.1.1 and it is happening there.
We also spent time investigating the issue and you are correct on pointing us to the correct fix. Many thanks for that! 👍
We would be very glad if you could contribute this fix towards this repository so your findings and recommendation will be recorded? Can you make a PR? We will then issue you the new beta (beta4) including this fix.
The fix must be applied here (sync) and here (async) by simply passing the tableName argument when calling the GetAndGuardPrimaryKeyOrIdentityKeyAsync method.
Please do not hesitate to revert if you cannot make the PR, we can always push the fix for you.

Hey @mikependon
Sorry for the delay. Here is the PR you requested including unit tests to verify that it worked.
https://github.com/mikependon/RepoDB/pull/649

The fix is now available at RepoDb v1.12.5-beta4.

Closing this ticket now. Thanks


move to scala 3

cross build for scala 2.13 and scala 3
implement generic derivation without shapeless
misc adjustments wrt scala 3
add de locale in sample backend
add roundtrip tests for derived decoder/encoder
remove simulacrum usage and add summoner on companion

@taig WDYT?

@taig I ran scalafmt and force pushed

Thank you for working on this, looks great at first glance! I'll review it as soon as I can

@bardurdam DS_Store is included

Removed .DS_Store and added correctly to gitignore. Also removed leftover code.

Excellent work, thank you. I'll publish a new release shortly

👍


Warning: 'this' escapes constructor

Original issue created by<EMAIL_ADDRESS>on 2013-09-11 at 05:28 PM

A constructor body should never pass 'this' ... anywhere?  In general APIs do not expect to receive partly-constructed instances!  I suppose there might be exceptions to this rule.  We'll have to see what the violations look like.

Do you think this is a check a novice might try contributing?

As you heard in other forum - certainly!

A check for this was added but never enabled by default, and removed in https://github.com/google/error-prone/commit/98d25b520237aacb941bdf27ad4b73ffddacbb14 because "it found too many issues that were hard to fix -- the pattern may not be good, but it's deeply ingrained."
There is a related javac lint check in JDK 21 called this-escape that specifically looks for calling overrideable methods in constructors, it might make sense to use a similar approach, or just use that check instead of trying to do something in Error Prone:

https://bugs.openjdk.org/browse/JDK-8015831
https://bugs.openjdk.org/browse/JDK-8314437

I'm going to close this out for now. If anyone is interested in static analysis for this, I recommend trying out the JDK this-escape diagnostic mentioned in https://github.com/google/error-prone/issues/184#issuecomment-1711923438.


update fields in Decapodes Language closes #131

@lukem12345, this is ready for a review. Shouldn't take long. The codecov error is spurious. We apparently aren't testing the Decapodes constructor (because everything is using SummationDecapode now).


offer to open channels

when no open channels are present and LN pr is scanned
when no route to a node is found

Added in https://github.com/btcontract/lnwallet/commit/c3693182b0fde11a563b8240f4b4647e9f2043a6


MEETING_STATUS_UNKNOWN - Version of ZoomSDK is too low

[√] Flutter (Channel stable, 3.16.8, on Microsoft Windows [Version 10.0.19045.3930], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.86.0)
[√] Connected device (4 available)
[√] Network resources

I plan to update the zoom version in a few days

ok ,Thank you

Meeting Status Stream: MEETING_STATUS_DISCONNECTING - Disconnect the meeting server, user leaves meeting.
Meeting Status Stream: MEETING_STATUS_UNKNOWN - Version of ZoomSDK is too low
Meeting Status Stream: MEETING_STATUS_IDLE - No meeting is running

ok ,Thank you

I updated version to 1.1.0+2. Check if in new version the meeting will work
The problems was Zoom Meeting min version, currently on 5.14.5

ok ,thank you


Error when testing new SPFx web part in online workbench

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
I'm trying to create a new client-side web part using the latest release of SharePoint Framework, however I get errors when running it inside the online Workbench. I'm using a dev tenant. Local workbench works fine.
Observed Behavior
I get these error details: seems like a missing package in the online environment.
TECHNICAL DETAILS
***ERROR MESSAGE:
***Failed to load component "32e3c107-49e2-4d28-a097-95ebc025f790" (TestWebPart).
Original error: ***Manifest not found for component id "c07208f0-ea3b-4c1a-9965-ac1b825211a6" and version "1.1.1".

***CALLSTACK:
Error: ***Failed to load component "32e3c107-49e2-4d28-a097-95ebc025f790" (TestWebPart).
Original error: ***Manifest not found for component id "c07208f0-ea3b-4c1a-9965-ac1b825211a6" and version "1.1.1".
    at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-05-26.017/workbench-assembly_en-us_9bebc1c8981e7b330bf485cb81b74e89.js:110:198039
    at <anonymous>

Steps to Reproduce

Create a new project using the yeoman generater with a React web part.
Run gulp serve.
Open online workbench

@mpasarin - Can you take a look at this?

Hi
I also got a similar error :

webpart created under 1.0.0 version
-debug mode worked fine for local workbench and o365 workbench
-1.1.1 came out, seems like i cant debug anymore o365 workbench (got similar error)
-I am updating my webpart to 1.1.1 now, see if it helps, that is why i cant share the error details

I am getting this as well. In addition, here are the local and global npm package versions I am using:

Yes, sorry for not updating this thread.  The fix is understood and going through validation rings.  It should be out soon if all goes well (today).

From: Vardhaman Deshpande<EMAIL_ADDRESS>Sent: Friday, June 9, 2017 4:13:15 PM
To: SharePoint/sp-dev-docs
Cc: Pat Miller (SHAREPOINT); Comment
Subject: Re: [SharePoint/sp-dev-docs] Error when testing new SPFx web part in online workbench (#632)
I am getting this as well. In addition, here are the local and global npm package versions I am using:
[image]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F173794%2F26997433-823d80ea-4d71-11e7-8381-7a9a68f7f538.png&data=02|01|Pat.Miller%40microsoft.com|95bc1581fa884bc1f58808d4af8d1d09|72f988bf86f141af91ab2d7cd011db47|1|0|636326468001061822&sdata=fTqkUH%2FwUCASQsNI%2FqwzGTP6WYeyu%2BQY1yz0Ists3ms%3D&reserved=0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F632%23issuecomment-307521991&data=02|01|Pat.Miller%40microsoft.com|95bc1581fa884bc1f58808d4af8d1d09|72f988bf86f141af91ab2d7cd011db47|1|0|636326468001061822&sdata=OW7pFd%2FAUrOae%2FLrVble%2Fm22Qj%2Fjb9PBUaMxXZpV2Cc%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADl-Sabx1PIJXh5TqlE29KPC89kS5on4ks5sCdGLgaJpZM4N1UJm&data=02|01|Pat.Miller%40microsoft.com|95bc1581fa884bc1f58808d4af8d1d09|72f988bf86f141af91ab2d7cd011db47|1|0|636326468001061822&sdata=4INgkzn%2FYchQDsmd%2FK7j1LJAMoKkc97pxlNLp05mJ6Y%3D&reserved=0.

To elaborate on Pat's update we expect the fix to be server side only, you shouldn't need to further update your packages for the Workbench to start working again.

Should be fixed now.

From: Jeremy Kelley<EMAIL_ADDRESS>Sent: Friday, June 9, 2017 4:27:16 PM
To: SharePoint/sp-dev-docs
Cc: Pat Miller (SHAREPOINT); Comment
Subject: Re: [SharePoint/sp-dev-docs] Error when testing new SPFx web part in online workbench (#632)
To elaborate on Pat's update we expect the fix to be server side only, you shouldn't need to further update your packages for the Workbench to start working again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F632%23issuecomment-307523533&data=02|01|Pat.Miller%40microsoft.com|bdede65616984fa3fb3108d4af8f11d5|72f988bf86f141af91ab2d7cd011db47|1|0|636326476397363245&sdata=QYOR%2BJZy4putZDuVJIIDFIn2uzgYrcz%2FT4%2FkmA9m01U%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADl-SfgfUedXbAaND3w2JbC8FfA_Qh9Dks5sCdTUgaJpZM4N1UJm&data=02|01|Pat.Miller%40microsoft.com|bdede65616984fa3fb3108d4af8f11d5|72f988bf86f141af91ab2d7cd011db47|1|0|636326476397363245&sdata=DZ59ZeRO%2Bb3mcNQW11fLrf0F8e6Tt%2Ffp0X6uyDKoSg0%3D&reserved=0.

Fixed indeed. Tnx!

I think I am seeing this issue (or one very similar).  Is it possible the update hasn't finished rolling out yet?
[SPLoaderError.loadComponentError]:
***Failed to load component "36ee92d5-853d-4fe2-b336-dac244538ff6" (PublishAppsWebPart).
Original error: ***Manifest not found for component id "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d" and version **"15.6.1"**.

***INNERERROR:
***Manifest not found for component id "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d" and version **"15.6.1"**.
***CALLSTACK:
Error
    at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.012/sp-pages-assembly_en-us_38d46b82c30234ea57778fa6f0a411d0.js:351:10483)
    at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.012/sp-pages-assembly_en-us_38d46b82c30234ea57778fa6f0a411d0.js:911:17735)
    at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.012/sp-pages-assembly_en-us_38d46b82c30234ea57778fa6f0a411d0.js:911:14892)
    at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.012/sp-pages-assembly_en-us_38d46b82c30234ea57778fa6f0a411d0.js:911:12701)
    at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.012/sp-pages-assembly_en-us_38d46b82c30234ea57778fa6f0a411d0.js:911:111188
    at <anonymous>

What was actually done to fix this?

@patmill ,
Can you please share what was actually done to fix this?
I am experiencing the exact same issue and need to be able to explain to the server administrators what will need to be done.
Thank you.


provide script to build ngx_pagespeed

Right now there's an awkward set of instructions that begins with a big mess on handling old operating systems.  We should write a real script and have people run that instead.

There's actually a good universal project that I personally am looking into automating this as well: https://github.com/cubicdaiya/nginx-build

would be nice but then you run into centos/rhel vs ubuntu/debian differences too
my Centmin Mod LEMP stack installer is for nginx + ngx_pagespeed on CentOS 6/7 and it's it's all in the logic https://centminmod.com/nginx_ngx_pagespeed.html.  Have it running on my site https://centminmod.com and forums https://community.centminmod.com
Just sharing my code to provide ideas on CentOS at least

https://github.com/centminmod/centminmod/blob/123.09beta01/inc/nginx_configure.inc#L1067-L1128
https://github.com/centminmod/centminmod/blob/123.09beta01/inc/nginx_configure.inc#L1640-L1646
https://github.com/centminmod/centminmod/blob/123.09beta01/inc/nginx_configure.inc#L1918-L2012
https://github.com/centminmod/centminmod/blob/123.09beta01/inc/nginx_configure.inc#L2034-L2066 (resulting configure options)

so CentOS 6 GCC 4.4.7 uses devtoolset-3's GCC 4.9.1 for ngx_pagespeed and ngx_brotli while CentOS 7 uses native GCC 4.8.5
hope that helps :)


linking error

I'm trying to build from master (84752a7e5f94cd848ad37b28b7e36904dc2daac6) "make install" fails here using Arch Linux:
configure:
==============================================================================
Environment settings:
	CFLAGS:                                    -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -std=gnu11 -D_GNU_SOURCE
	CXXFLAGS:                                  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall  -D_GNU_SOURCE
	LDFLAGS:                                   -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Build configuration:
	cups-config:     system
	font directory:  /etc/fonts/conf.d
	foomatic:        yes
	init directory:
	cups dom socket: /var/run/cups/cups.sock
	poppler:         yes
	ghostscript:     yes
	gs-path:         system
	mutool:          yes
	mutool-path:     system
	ippfind-path:    system
	imagefilters:    yes
	jpeg:            yes
	pdftocairo-path: system
	pdftops:         hybrid
	pdftops-path:    system
	png:             yes
	php:             no
	php-config:      system
	pstops:          no
	rastertopwg:     no
	shell:           /bin/bash
	test-font:       /usr/share/fonts/TTF/DejaVuSans.ttf
	tiff:            yes
	avahi:           yes
	dbus:            yes
	browsing:        DNSSD,CUPS
	werror:          no
	braille:	 yes
	braille tables:  /usr/share/liblouis/tables
	driverless:      yes
	apple-raster:    rastertopdf
	pclm:            yes
	local queue naming for remote CUPS queues: DNS-SD
	keep generated queues during shutdown:     no
	all ipp printer auto-setup: yes
	only driverless auto-setup: no
	only local auto-setup: no
==============================================================================
...
==> Starting package()...
 /usr/bin/mkdir -p '/build/cups-filters/pkg/cups-filters//usr/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libppd.la libcupsfilters.la libfontembed.la '/build/cups-filters/pkg/cups-filters//usr/lib'
libtool: install: /usr/bin/install -c .libs/libppd.so.1.0.0 /build/cups-filters/pkg/cups-filters//usr/lib/libppd.so.1.0.0
libtool: install: (cd /build/cups-filters/pkg/cups-filters//usr/lib && { ln -s -f libppd.so.1.0.0 libppd.so.1 || { rm -f libppd.so.1 && ln -s libppd.so.1.0.0 libppd.so.1; }; })
libtool: install: (cd /build/cups-filters/pkg/cups-filters//usr/lib && { ln -s -f libppd.so.1.0.0 libppd.so || { rm -f libppd.so && ln -s libppd.so.1.0.0 libppd.so; }; })
libtool: install: /usr/bin/install -c .libs/libppd.lai /build/cups-filters/pkg/cups-filters//usr/lib/libppd.la
libtool: warning: relinking 'libcupsfilters.la'
libtool: install: (cd /build/cups-filters/src/cups-filters; /bin/sh "/build/cups-filters/src/cups-filters/libtool"  --silent --tag CXX --mode=relink g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -D_GNU_SOURCE -no-undefined -version-info 1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o libcupsfilters.la -rpath /usr/lib cupsfilters/libcupsfilters_la-attr.lo cupsfilters/libcupsfilters_la-bannertopdf.lo cupsfilters/libcupsfilters_la-bitmap.lo cupsfilters/libcupsfilters_la-check.lo cupsfilters/libcupsfilters_la-cmyk.lo cupsfilters/libcupsfilters_la-colord.lo cupsfilters/libcupsfilters_la-colormanager.lo cupsfilters/libcupsfilters_la-dither.lo cupsfilters/libcupsfilters_la-filter.lo cupsfilters/libcupsfilters_la-ghostscript.lo cupsfilters/libcupsfilters_la-ieee1284.lo cupsfilters/libcupsfilters_la-image.lo cupsfilters/libcupsfilters_la-image-bmp.lo cupsfilters/libcupsfilters_la-image-colorspace.lo cupsfilters/libcupsfilters_la-image-gif.lo cupsfilters/libcupsfilters_la-image-jpeg.lo cupsfilters/libcupsfilters_la-image-photocd.lo cupsfilters/libcupsfilters_la-image-pix.lo cupsfilters/libcupsfilters_la-image-png.lo cupsfilters/libcupsfilters_la-image-pnm.lo cupsfilters/libcupsfilters_la-image-sgi.lo cupsfilters/libcupsfilters_la-image-sgilib.lo cupsfilters/libcupsfilters_la-image-sun.lo cupsfilters/libcupsfilters_la-image-tiff.lo cupsfilters/libcupsfilters_la-image-zoom.lo cupsfilters/libcupsfilters_la-imagetopdf.lo cupsfilters/libcupsfilters_la-imagetops.lo cupsfilters/libcupsfilters_la-imagetoraster.lo cupsfilters/libcupsfilters_la-ipp.lo cupsfilters/libcupsfilters_la-lut.lo cupsfilters/libcupsfilters_la-mupdftoraster.lo cupsfilters/libcupsfilters_la-pack.lo cupsfilters/pclmtoraster.lo cupsfilters/pdf.lo cupsfilters/pdftopdf/pdftopdf.lo cupsfilters/pdftopdf/pdftopdf_jcl.lo cupsfilters/pdftopdf/pdftopdf_processor.lo cupsfilters/pdftopdf/qpdf_pdftopdf_processor.lo cupsfilters/pdftopdf/pptypes.lo cupsfilters/pdftopdf/nup.lo cupsfilters/pdftopdf/intervalset.lo cupsfilters/pdftopdf/qpdf_tools.lo cupsfilters/pdftopdf/qpdf_xobject.lo cupsfilters/pdftopdf/qpdf_pdftopdf.lo cupsfilters/pdftopdf/qpdf_cm.lo cupsfilters/libcupsfilters_la-pdftoippprinter.lo cupsfilters/libcupsfilters_la-pdftops.lo cupsfilters/pdftoraster.lo cupsfilters/libcupsfilters_la-pdfutils.lo cupsfilters/libcupsfilters_la-ppdgenerator.lo cupsfilters/libcupsfilters_la-pstops.lo cupsfilters/libcupsfilters_la-pwgtoraster.lo cupsfilters/libcupsfilters_la-raster.lo cupsfilters/libcupsfilters_la-rastertops.lo cupsfilters/rastertopdf.lo cupsfilters/libcupsfilters_la-rastertopwg.lo cupsfilters/libcupsfilters_la-rgb.lo cupsfilters/libcupsfilters_la-srgb.lo cupsfilters/libcupsfilters_la-texttopdf.lo libppd.la libfontembed.la -lfontconfig -lfreetype -lcups -llcms2 -lqpdf -ltiff -lpng16 -lz -lpoppler-cpp -ldbus-1 -lldap -ltiff -ljpeg -ldl -inst-prefix-dir /build/cups-filters/pkg/cups-filters/)
/usr/bin/ld: cannot find -lfontembed
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libcupsfilters.la' with the above command before installing it
make[3]: *** [Makefile:2682: install-libLTLIBRARIES] Error 1
make[2]: *** [Makefile:5875: install-am] Error 2
make[1]: *** [Makefile:5357: install-recursive] Error 1
make: *** [Makefile:5868: install] Error 2
==> ERROR: A failure occurred in package().

I'm seeing this trying to build ef5943a on Fedora as well. I'll report back if I figure out a fix.

Did a quick bisect, the problem first originates with c7e3f27, not sure why, I feel like I'm missing something obvious.

@pranjanpr the mentioned commit is your texttopdf() filter function conversion. Could you have a look what is going wrong here?

@tillkamppeter
This kind of linking issue was coming before I added libfontembed.la in parallel (in Makefile)

@pranjanpr So this should be fixed as I have addressed in a later commit
@nielsenb-jf Please make sure to use the most current state of master.

It's still failing with current master 7a73e9cf52c7babe9cf515d4522bb1afeed1048a - please have a look.

I can confirm 7a73e9c fails. Note that this is happening in the make install step, the make step succeeds.

Unfortunately, I am not able to reproduce this (Ubuntu Impish/21.10). Looks like that you are running inside a package builder.
I also have no idea what to add to Makefile.am to prevent this error. I already have defined the dependency of libcupsfilters on libfontembed explicitly there (commit d33583e01).

Just verified I can reproduce outside of an rpmbuild environment (interesting that a make clean is required after an ./autogen.sh, otherwise the build fails with make[2]: lm: No such file or directory when building the driverless-fax unit).
For reference, I'm using the following configure args, taken from the Fedora specfile:
./configure --disable-static \
           --disable-silent-rules \
           --with-pdftops=hybrid \
           --enable-dbus \
           --with-rcdir=no \
           --disable-mutool \
           --enable-driverless \
           --enable-pclm \
           --with-apple-raster-filter=rastertopdf \
           --with-remote-cups-local-queue-naming=RemoteName

I'm out of time for today, hopefully I can dig into it more next week.

Bisected this: it got introduced by: c7e3f277e46b52ed6b419f4bb6c1a4716f7d1c5e

PR #427  fixes both issues I describe in this ticket. The make[2]: lm: No such file or directory on first build, and the /usr/bin/ld: cannot find -lfontembed during install. I'm not positive it's the "right" fix, the issue appears to be incorrect (or non-existent) dependency resolution during generation of the install portion of the Makefile. By reordering things, it ensures libppd and libfontembed are installed before libcupsfilters.

Thanks for the bug report and the PR, as I have merged the PR which fixes the problem for you I close this issue.

I can confirm I can build from latest master (977fa91).


what's the prefer way to read the config/common/route in frontend.

previously, i can use liftIO to read file in Frontend.hs.
currently the liftIO is not allowed.
so i want to know what's the recommend way to read config file in frontend.
it seem related to executable-config module. but it's method still need IO monad.

Running ob init gives you this file which includes reading a config file in the frontend:
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeApplications #-}
module Frontend where

import qualified Data.Text as T
import qualified Data.Text.Encoding as T
import Obelisk.Frontend
import Obelisk.Configs
import Obelisk.Route
import Reflex.Dom.Core

import Common.Api
import Common.Route
import Obelisk.Generated.Static

frontend :: Frontend (R FrontendRoute)
frontend = Frontend
  { _frontend_head = el "title" $ text "Obelisk Minimal Example"
  , _frontend_body = do
      text "Welcome to Obelisk!"
      el "p" $ text $ T.pack commonStuff
      elAttr "img" ("src" =: static @"obelisk.jpg") blank
      el "div" $ do
        exampleConfig <- getConfig "common/example"
        case exampleConfig of
          Nothing -> text "No config file found in config/common/example"
          Just s -> text (T.decodeUtf8 s)
      return ()
  }

Does that already help you? Or do you need somethin else?

thanks


High Vulnerability issue reported by WhiteSource due to dependency : open-0.0.5.tgz

Hi All,
There is a high vulnerability issue reported on jsforce due to open-0.0.5.tgz dependency.
https://github.com/pwnall/node-open/issues/67
Are there any plans to remove this dependency ?
Regards
Anu

We have the same issue reported with Snyk https://snyk.io/vuln/npm:open:20180512

@anupamabalahara The patches are provided in #752 and already merged. I will do the release immediately ASAP.

@stomita looks like this issue should be closed now?


Bug with radial chart displaying full bar when series: [0]

Bug report
Codepen
Modify this codepen to demonstrate the problem clearly, just fork it and paste the resulting codepen in your issue. Please make sure this is a minimal example, containing only the minimum necessary code to help us troubleshoot your problem. Issues/bug reports without reproducible example will be given least priority, so make sure you include one.
If you are using vue-apexcharts, and want to create a demo in Vue environment, use CodeSandbox Vue template
If you are using react-apexcharts, and want to create a demo in React environment, use CodeSandbox React template
Explanation
Please forgive me if there is any unclear information as this is my first time submitting an issue in this repo.

What is the behavior you expect?
The radial bar to be empty when series: [0].
What is happening instead?
The radial bar is full instead with apexcharts version 3.27.3. With my own digging, it is believed that the culprit is at https://github.com/apexcharts/apexcharts.js/blob/6f0eda6b199d83637edc1815bc962d8fe8d81a82/src/charts/Radial.js#L307-L310
When startAngle===-180 and endAngle===180 (which arises when a value in series is 0), currFullAngle===360. By running the code in this snippet, endAngle will be smaller than than startAngle.
With only superficial understanding of the code, I have made a hard fix myself right after the above code snippet.

if (Math.round(parseFloat(this.totalAngle * dataValue)) === 0) {
    endAngle = startAngle
}

However, I do not know if this would break anything and I believe it is much better for professionals of this project to come up with a fix if mine is inadequate.

What error message are you getting?
No error message.
Demo
https://codesandbox.io/s/react-basic-example-forked-4ltfk?file=/src/App.js

3 years in and no activity on this? I've run across the same bug. When you have your radial bar set to -180 to 180, whenever you have 0 value in the series, it will display as a full circle.
I mitigated the bug so that I set startAngle to -179.9999 so that the currFullAngle is still a tad bit smaller than 360°.


Progress Bar is not hiding

Noty version: 3.1.0
Browser: Chrome, FireFox, Opera, Safari, IE9+
OS: MacOS
jsFiddle link (if available): .....

When progressBar set to 'false' it is just stop decrease but did not disappear fro, container.
Is there any possible way to hide it?

Oppps! Nice bug, sorry :) I will fix that, thanks!

Fixed in 3.1.1


Update controller pointer line to support color again

Overview
Thanks to #3382, we can re-add color to the controller lines!
From

to

Changes

Fixes: #3268

Yeah, the pointers were originally designed to have a slight transparency on either end:

but I've reverted it to opaque:

Ah gotcha! If people want that back we could also switch them to be "Additive," you still pay the overdraw cost of transparency but don't have to worry about transparency sorting (but you might get overly bright pointers if they stack up on bright backgrounds).

@Cameron-Micka ooh, thanks for the heads up! I'll look into that


#275 Touch-and-hold for dragging on touch devices

dragging starts on touch devices first after touch and hold. This way a user can scroll a list by simply dragging and re-order the list by touch-an-hold-dragging.  on iOS devices no oncontextmenu event is fired, implementing a long touch with 500ms
long-touch implemented for iOS.
Tested on:

[x] Android Internet Browser
[x] Chrome on Android
[x] Safari on iOS
[x] Chrome on iOS

@M4v3R nice PR.. but would be better to control this by providing an 'option'. so that the default behaviour is not affected.

@a5hik as proposed, there is now a longTouch option in the sortable sortOptions.

@maveric1977 I merged it!!
and a question, Do we really need the watcher for the option on item handle, It can be at the 'sortable' level and need not be at the 'item' level.
also, did u looked at http://localhost:9009/demo/#/scrollable it has a scrolling container option,. Is this not helpful?

@a5hik Thanks for the merge.
Since the events are fired by the items, the logic had to be in the item. I also don't like the watcher concept, but putting the option in the item seemed not to make any sense, as we don't want to define a new behaviour for each individual item, but rather a general behaviour for the whole component.
The watcher was a necessity, as the sortableScope is set after initialization of the items. A better way would be to $broadcast an event when the Sortable is ready and listen to it on the items but since this strategy was not used in other components, I did not want to include yet another dependency to the item.
As for the scrollable, I think this functionality does not contradict with the scrollable. In fact a user can mix and match and use both functionalities together now.

@maveric1977 Good. Thanks again for the contribution.

Also I would say this watcher should come in to picture only if the option is set to true. For the default behavior this shouldn't be invoked. I feel the watchers are expensive.


How about Apple M2?

The infos tell me that Apple M1 is not yet supported. So

M1 is not supported. Even less, M2 and all future chips also are not supported
M1 is not supported, but M2 is

Which one is true, one or two? 2b2 failed to install on MacOS 15 and M2. Other versions have not yet been checked.

i have a new (new codebase, not this kernel extension) version that runs on Silicon Macs -- hope to release soon but if you are in bind let me know i can send you a beta


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/454 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 8dc7ab2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


con.google.step_count.delta requires android.permission.ACTIVITY_RECOGNITION

The issue is on Android 10, on Android => 9 doesn't appear
This is the code that I'm using, I'm calling GoogleFit.onAuthorize, GoogleFit.observeSteps, GoogleFit.startRecording and GoogleFit.getDailyStepCountSamples
const options = {
                scopes: [
                    Scopes.FITNESS_ACTIVITY_READ_WRITE,
                    Scopes.FITNESS_BODY_READ_WRITE,
                ],
            }

            GoogleFit.authorize(options)
                .then(authResult => {
                    if (authResult.success) {
                        GoogleFit.onAuthorize(() => {
                            GoogleFit.observeSteps((steps)=>{
                                Reactotron.log("observe steps")
                            });
                        });
                        GoogleFit.startRecording((callback) => {
                            const options = {
                                startDate: dbGetResult.stepDataAuthDate, // required ISO8601Timestamp
                                endDate: new Date().toISOString() // required ISO8601Timestamp
                            };
                            GoogleFit.getDailyStepCountSamples(options, (err, res) => {
                                if (err) {
                                    reject("Error here")
                                }
                                const steps = res[0].steps.length != 0 ? res[0].steps : res[1].steps.length != 0 ? res[1].steps : res[2].steps.length ? res[2].steps : "/";
                                console.log(steps);
                                let updatedData = stepsInObject(steps);
                                resolve(updatedData);
                            });
                        })
                    } else {
                        console.log(authResult)
                    }
                })
                .catch(() => {
                    console.log(authResult)
                })

Same problem, any idea?

I had a similar problem with another fit package I was using. Here are the steps I took to fix them:

Added <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/> to android/app/src/main/AndroidManifest.xml and android/app/src/debug/AndroidManifest.xml. I'm not sure if the debug one is necessary or not, however. I'll have to check on that.
Installed a package called react-native-permissions and used that to request permissions for ACTIVITY_RECOGNITION. You can find information about the package here. The reason I didn't use PermissionsAndroid, the native permissions handler in react native, is that it didn't include ACTIVITY_RECOGNITION for some reason.

And that's all. Hope this helps!

I had a similar problem with another fit package I was using. Here are the steps I took to fix them:

Added <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION"/> to android/app/src/main/AndroidManifest.xml and android/app/src/debug/AndroidManifest.xml. I'm not sure if the debug one is necessary or not, however. I'll have to check on that.
Installed a package called react-native-permissions and used that to request permissions for ACTIVITY_RECOGNITION. You can find information about the package here. The reason I didn't use PermissionsAndroid, the native permissions handler in react native, is that it didn't include ACTIVITY_RECOGNITION for some reason.

And that's all. Hope this helps!

How the ACTIVITY_RECOGNITION permission request is handled on Android <= 9 ?

How the ACTIVITY_RECOGNITION permission request is handled on Android <= 9 ?

I'm not sure. I've currently only tested my solution on a phone running Android 10. I have another phone with Android 9 on it and will test it either today or tomorrow. I'll let you know about how it goes, but I strongly suspect my solution to work on Android 9 as well. As for earlier versions of Android, I have to say I'm not sure..

@marcoautiero  You are probably missing the scopes.  Those scopes you are using are actually WRITE only. I temp to fix them in next merge. Add these should fix your issues.
    Scopes.FITNESS_ACTIVITY_READ,
    Scopes.FITNESS_BODY_READ,

FITNESS_ACTIVITY

I'm using read and write scopes, not only write.

@aboveyunhai
I'm using read and write scopes, not only write.

add recognition permission to manifest file for Android 10. Android 9 or below is auto guaranteed.

How the ACTIVITY_RECOGNITION permission request is handled on Android <= 9?

ACTIVITY_RECOGNITION is unavailable on Android 9 or below, so you need to check the Android API level.
You can use getApiLevel from react-native-device-info.
const apiLevel = await getApiLevel();
if (apiLevel >= 10) {
 // check ACTIVITY_RECOGNITION permission and init google fit on grant
} else {
 // init google fit
}

How the ACTIVITY_RECOGNITION permission request is handled on Android <= 9?

ACTIVITY_RECOGNITION is unavailable on Android 9 or below, so you need to check the Android API level.
You can use getApiLevel from react-native-device-info.
const apiLevel = await getApiLevel();
if (apiLevel >= 10) {
 // check ACTIVITY_RECOGNITION permission and init google fit on grant
} else {
 // init google fit
}

How the ACTIVITY_RECOGNITION permission request is handled on Android <= 9?

ACTIVITY_RECOGNITION is unavailable on Android 9 or below, so you need to check the Android API level. You can use getApiLevel from react-native-device-info.
const apiLevel = await getApiLevel();
if (apiLevel >= 10) {
 // check ACTIVITY_RECOGNITION permission and init google fit on grant
} else {
 // init google fit
}

The api level to check is 29
https://developer.android.com/studio/releases/platforms
Android 9 -> Api Level 28
Android 10 -> Api Level 29
So if api level is 29 or above, ask for permission. Else skip asking permission
Api Level is different than Android version


cloud-eval API returns 404, causing ugly browser error messages

This might be only an issue with fetch. If XMLHttpRequest is used or some other mechanism, then this might not happen. It's hard to believe 404 responses cannot be received without a browser error message.

Damn it, this is stupid!
https://stackoverflow.com/questions/4500741/suppress-chrome-failed-to-load-resource-messages-in-console/75848002#75848002


Added support for configuring the Service object type in the Helm chart

This PR adds the option to configure the Kubernetes Service object type for the Rancher Server. This is primarily needed to expose Rancher via a load balancer (like the AWS Application Load Balancer) outside the cluster, by setting the Service type to NodePort and adding the proper annotations to the Ingress object.
If unspecified, the type value defaults to ClusterIP, thus maintaining backward compatibility with previous installations that did not explicitly define it.
Example of exposing Rancher via an internal AWS ALB with this change:
...
service:
  type: NodePort
...
ingress:
  enabled: true
  extraAnnotations:
    kubernetes.io/ingress.class: alb
    alb.ingress.kubernetes.io/scheme: internal
    alb.ingress.kubernetes.io/backend-protocol: HTTP
    alb.ingress.kubernetes.io/target-type: instance
    alb.ingress.kubernetes.io/ssl-policy: "ELBSecurityPolicy-TLS-1-2-Ext-2018-06"
    alb.ingress.kubernetes.io/listen-ports: "[{\"HTTP\": 80}, {\"HTTPS\":443}]"
    alb.ingress.kubernetes.io/certificate-arn: "..."

Is this still open? Can somebody please merge? I would like to use ALB as well, and it looks like this is exactly what I need.
Thanks


Fix update.sh if DOCKER_HUB_USER isn't defined.

LGTM. Merging once travis is happy since this broke e2e.


Feature idea: Excluded folders

Hi! Wow, what a great plugin. Love it.
In the spirit of making a good thing better, I would find it helpful to be able to exclude certain folders from the dashboard view (e.g. I have various Zotero .bib files that I really don't need to see in the interface).
That's it, that's the request. ;)

Great!

Please check plugin version 2.0.0. Let me know if it is working well for you. Excluded folders and file extensions available.
New features:

Hotkeys open dashboard and open navigator.
Excluded file extensions functionality.
Excluded folders functionality.
Select custom colors -> files and piechart (all available file categories).
Colored files in dashboard and navigator views (toggle).

All the best

Hi,
Thanks for the updates. The excluded folders and file extensions seem to work well!
Best,
Jovan

Hi,
I'm glad to hear that the excluded folders and file extensions are working as expected! If you have any other questions or suggestions, please don't hesitate to reach out.
All the best


Broken when no previewVariables is defined

Hello there. After update to 2.2.0 we've got error when no previewVariables is defined. scriptAsReact generates code like this with broken concatenation
j.src='//www.googletagmanager.com/gtm.js?id='+i+dl
+;
f.parentNode.insertBefore(j,f);

I will have a look today and publish new version if needed
Am 03.11.2017 4:25 nachm. schrieb "Stanislav Goncharov" <
<EMAIL_ADDRESS>
Hello there. After update to 2.2.0 we've got error when no
previewVariables is defined. scriptAsReactgenerates code like this with
broken concatenation
j.src='//www.googletagmanager.com/gtm.js?id='+i+dl
+;
f.parentNode.insertBefore(j,f);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/holidaycheck/react-google-tag-manager/issues/68, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AARkGeZlH7XdW_48fE8l3s8lICkCJErEks5syzBcgaJpZM4QRQT7
.

I see the issue. Will create a PR.

Version 2.2.1 has been released. Thanks for reporting/fixing


enhancement request: ACS Notifications screen

Is there an existing issue for this?

[X] I have searched the existing issues

Enhancement description
Need an ability to display an Redhat - ACS notifications details as its own screen layout.
🧑💻 Implementation
No response
Anything else?
No response

I will make it


start refactoring away old api/*.go clients

I did some big chunks of gosky and a bit of stress. Was able to get rid of the BskyApp client type.
The testscript worked, but i'm not confident that there are not runtime bugs in the other parts of gosky (I didn't test all the individual commands).
There is a bunch more of this to do; the ATProto client type is used all over. A good start would be refactoring the existing methods on that client (in api/atproto.go) to use the lexgen stuff and work with xrpc.Client. That is, turn them in to high-level helpers, particularly for account+session management, and record creation/deletion. And maybe post creation, because that is so common in existing code with just text+createdAt (not the full-featured record type).
Sending this for review for your thoughts on the above, as much as for review of the changes.

merged manually, not sure why this didn't close automatically


SHA256 mismatch for Homebrew/xll/geeqie

Command output:
$ brew install --without-exiv2 Homebrew/xll/geeqie
==> Installing geeqie from homebrew/homebrew-xll
==> Downloading https://downloads.sourceforge.net/project/geeqie/geeqie/geeqie-1.1/geeqie-1.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/geeqie-1.1.tar.gz
Error: SHA256 mismatch
Expected: 5544e81c29917a647f19bfe800d9f0dd1cd5b890329feebd9abd80927e1afecf
Actual: 818a4b8bbcb50878a8b1b9f71b4274d242ab46bf860c74676e98dec1d0248821
Archive: /Library/Caches/Homebrew/geeqie-1.1.tar.gz
To retry an incomplete download, remove the file above.

The reason I'm trying to install with --without-exiv2 is:
$ geeqie
dyld: Library not loaded: /usr/local/lib/libexiv2.13.dylib
  Referenced from: /usr/local/bin/geeqie
  Reason: image not found
Trace/BPT trap: 5

Oh, and:
$ ls -l /usr/local/lib/libexiv2*
lrwxr-xr-x  1 MJF  admin  42 Jul 16 18:56 /usr/local/lib/libexiv2.14.dylib -> ../Cellar/exiv2/0.25/lib/libexiv2.14.dylib
lrwxr-xr-x  1 MJF  admin  35 Jul 16 18:56 /usr/local/lib/libexiv2.a -> ../Cellar/exiv2/0.25/lib/libexiv2.a
lrwxr-xr-x  1 MJF  admin  39 Jul 16 18:56 /usr/local/lib/libexiv2.dylib -> ../Cellar/exiv2/0.25/lib/libexiv2.dylib

System information is in this Gist: Troubleshooting.md.

If you downloaded the tarball recently, the mismatch might be due to SF's current woes: https://github.com/Homebrew/homebrew/issues/41778

Once Sourceforge has stopped falling over, I'll bump the revision on geeqie to fix the Library not loaded problem in the bottles.

I changed the title on the issue, on the assumption that it's still open because of the Library not loaded error.
Thanks for the info about the Sourceforge problem.


Fix missing this, and fix drawing a bezier line with no data.

Add the missing this. to the calls for calcScaler, and fix drawing a bezier curve with no data.

why is this not added to npm yet?

published to<EMAIL_ADDRESS>sorry for the delay
@foufee thank you


Add named blob path field in Router PutBlob interface

Codecov Report
Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 18.57%. Comparing base (52ba813) to head (c74d60e).
Report is 96 commits behind head on master.

Files with missing lines
Patch %
Lines

.../src/main/java/com/github/ambry/router/Router.java
50.00%
2 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (52ba813) and HEAD (c74d60e). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (52ba813)
HEAD (c74d60e)

3
1

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2887       +/-   ##
=============================================
- Coverage     64.24%   18.57%   -45.68%
+ Complexity    10398     2927     -7471
=============================================
  Files           840      859       +19
  Lines         71755    72907     +1152
  Branches       8611     8766      +155
=============================================
- Hits          46099    13542    -32557
- Misses        23004    58118    +35114
+ Partials       2652     1247     -1405

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


Missing fields when create a storageClass

rancher/server:master 03/14
allowVolumeExpansion and parameters of storageClass are not populated in rancher API.
UI sent the allowVolumeExpansion and parameters to backend for creating a storageClass.
But rancher server doesn't populate them.

The name is the ID so it's not going to be updateable.  Disable the field in edit

parameters is present in lastet master.
I can't see allowVolumeExpansion field in the UI, and @loganhz found the code related to allowVolumeExpansion is commented. @vincent99  do we still need this field?

As far as I remember volume expansion is alpha and off by default and there's no obvious way to tell if it's on to show the option, so I commented it out.

Version - 2.0 master 3/29
Verified fixed

Are there plans to add this option?


Call IO.popen with an Array of command arguments (#518).

I hope this is a simpler solution to #518 as it avoids complex shell-escaping/input-sanitizing logic in favor of calling IO.popen with an Array of separate command arguments.

By calling IO.popen with an Array of command arguments (ex: ['ls', '-l', ...]) it runs the command as a separate process instead of running it in a sub-shell as a shell command. This prevents any arbitrary command injection, without needing complex shell-escaping logic. https://ruby-doc.org/core-3.1.2/IO.html#method-c-popen
Changed Configuration#executable to return a String or an Array for when xvfb mode is enabled.
Changed PDFKit#command to return an Array of command arguments for IO.popen.
Removed argument quoting logic as it's not necessary when calling IO.popen with an Array of arguments.
Rewrote some specs to test if the command's Array of arguments contains specific argument values.
Added a custom RSpec contain matcher for testing if an expected Array exists within another Array.

@postmodern Thanks for this PR!
To continue the conversation from #518 ,

This should solve the shell escaping issue, but I'm not sure about whether the given URL should always be URI escaped, auto-URI-escaped, or never URI escaped.

I'm not the maintainer, so would be ultimately up to them...but I personally would prefer to not URI escape at all. Escaping that input is the responsibility of the caller. If they want to call a malformed URL, that's their choice. As long as the library handles its responsibility (escaping arguments passed to the shell) then its done its job. Short of some bug or vulnerability in wkhtmltopdf that warrants additional tweaking of the URL, I'd let developers call whatever they want and receive the errors caused by that mistake.
And like I mentioned in my issue ticket, the URI escape attempt broke my apps, so it caused more harm than good. I can't be the only one affected by that double escaping bug...

I'm not sure how IO.popen(array) behaves on Windows, but I assume it runs the command as a separate process, not in a shell.

(Been a while since I've run Ruby on Windows...) I'm pretty sure the arguments should still work the same way, and outside of cygwin/mingw there's some path related differences (spaces in path, slash direction, etc) and maybe no shell handling, but overall I think the changes here should work fine. The important part is it'll still execute the command and treat the arguments separately without interpolation.

@mdeering @jdpace @devn please check this pr. The library has a critical security vulnerability.

@postmodern  Can you please let us know the ETA to merge this PR and publish it? Thie gem has vulnerability  and we need this fix. I'm hoping this code change will fix it.

@adiln we are waiting for the maintainers to review, provide feedback or merge the PR.

We did some testing on our production apps to verify that this is not a breaking change. 👍


Hovering icon has overlap graphics issues on FireFox

We have a hovering icon question mark button on our website. There are no problems on Chrome, but on Firefox, an overlapping of graphics occurs on the button. See screenshots below:
Original:

As you scroll or move mouse over:

Please create a codepen for this.

Closed due to lack of information/reproducibility

Did you actually try this on Firefox? We have a number of people who can reproduce this bug.

Yes I did, I don't know what icon you are using and you didn't make a codepen either.


drivers/timer: Clamp after tick adjustment, not before

Some early tickless drivers had a common pattern where they would
compute a tick maximum for the request (i.e. the maximum the hardware
counter can handle) but apply it only on the input tick value and not
on the adjusted final value, opening up the overflow condition it was
supposed to have prevented.
Fixes #20939 (Strictly it fixes the specific pattern that was
discovered in that bug.  It's not impossible that other drivers with
alternative implementations have a similar issue, though they look OK
to me via a quick audit).
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Fix up the bug detailed in #20939 in affected drivers.  Note that the 32 bit counters need some slightly fancier handling to address not just MAX_TICKS wrap but word size rollover too.  The TI cc13x2_cc26x2 driver had copied the same pattern, but because it was using a 64 bit counter word it can use a simpler form of the clamp.

Given the comment "affected drivers" this PR will close the issue as the rest of the drivers either have a PR or do not have the problem?
@andyross @pabigot

Given the comment "affected drivers" this PR will close the issue as the rest of the drivers either have a PR or do not have the problem?

if there is any issues with any other drivers that this or previous PRs do not fix, we need to a new issue opened for those specific drivers.

Given the comment "affected drivers" this PR will close the issue as the rest of the drivers either have a PR or do not have the problem?

They don't seem to, but proving the absence of bugs isn't really feasible.  This addresses all the code that descends from the same original mistake.

Unfortunately, the implemented change is not what was requested, and also is not right.  Please fix the first driver as proposed.

Not doing the style thing here.  Take that up via other channels I guess.  Please provide detail on "is not right".  I'll fix logic bugs.

Not doing the style thing here. Take that up via other channels I guess. Please provide detail on "is not right". I'll fix logic bugs.

@vanti specifically asked you to change the code from:
timeout = MIN(timeout, MAX_CYC);

to:
timeout = MIN(timeout, MAX_CYC);
timeout += rtc_last;

You instead changed it to:
timeout = MIN(timeout + rtc_last, MAX_CYC);

which I believe (and @vanti should confirm or deny) results in the wrong comparator value because it's no longer relative to rtc_last.
As for the "style thing": I'll address that separately when I get a chance.

They don't seem to, but proving the absence of bugs isn't really feasible. This addresses all the code that descends from the same original mistake.

Thank you @andyross. This is all I believe we can ask for. In the release meeting we were going to pull together a list of the drivers and then mark them as fixed or not. An additional criteria would be "not affected". If someone finds a related issue in the not affected drivers we can create new tickets.

@pabigo: many thanks for the specificity, I thought you introducing another criticism and couldn't figure out what it was.  Will address.

Thanks @andyross and @pabigot. The fix looks good now. Approving for cc13x2/cc26x2.


[Feature Request] Group Owner Link

In the Group Info dialog please consider adding a link to the group owner.
I find myself commonly having to go into the JSON to grab the ownerId then tossing that into the Direct Access button to figure out who runs such-and-such group.

It's already there, are you on an old version can you send a screenshot?

Oh, I see it now. That didn't look like a clickable link to me, sorry.
For future travelers:


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 571 ms

Resolved: ClamAV performance has improved in 0043984.


Adding changes for calculating autocorrelation function on GPU.

Description
Modified rtcc.py for GPU calculation.
Todos
Notable points that this PR has either accomplished or will accomplish.

[x] Resolve the issue caused by the diff between np.concatenate and torch.cat.

Status

[ ] Ready to go

Codecov Report

Merging #37 (6f5ebd4) into main (da56394) will decrease coverage by 0.08%.
The diff coverage is 50.00%.


Restore peer network

Codecov Report

Merging #1 into master will decrease coverage by 0.05%.
The diff coverage is 62.31%.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
- Coverage   64.43%   64.38%   -0.06%
==========================================
  Files           4        4
  Lines        1465     1533      +68
  Branches      114      118       +4
==========================================
+ Hits          944      987      +43
- Misses        509      534      +25
  Partials       12       12

Impacted Files
Coverage Δ

ga4gh/client/client.py
66.33% <44.44%> (-0.85%)
:arrow_down:

ga4gh/client/cli.py
63.44% <68.62%> (+0.24%)
: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 a16c81f...5d5c339. Read the comment docs.


Very helpful, but confused about a detail

My project didn't seem to work until I followed the launcher pattern. Could you explain what's going on under the hood?
https://github.com/lockbook/lockbook-dev-desktop/
is the project in question

This is a "feature" of the LauncherHelper provided by openjdk:
If the main class extends javafx.application.Application, LauncherHelper calls the setFXLaunchParameters method, which checks if the javafx.graphics module is present. This check fails in a non-modular application.
As discussed here, the workaround is to have a separate main class that doesn't extend javafx.application.Application.
It seems that there are no plans to change the behavior of LauncherHelper, because, as Kevin Rushforth says in the above mentioned thread: "effort would be better spent getting everything to work with javafx.* modules as proper named modules".

Thanks, I'll read through all of this and close.


Identity server using Client Credential flow with existing application and Web API (Core)

Problem
We have an existing aspnet mvc 3 web application that our client use. This web application uses the simple membership provider based authentication (yes it’s old now). Note we cannot change this to use identity server.
Now we are developing a new application using .net core web api with JavaScript front end. But the problem is that our new application must use the authentication from the old aspnet mvc 3 application.
Example
To make this more clear here is an example. User “John” signs into my OLDAPP using username password and navigates to our new application by click on navigation button.
High level Design - ResourceOwnerPassword grant.
Following is the design/flow that I am thinking about implementing for above problem.

When John signs into old OLDAPP. I will call the identity server and obtain an access token by passing the username and password to identity server using ResourceOwnerPassword grant. The token will be cached on server side.

When John clicks on navigation bar in order to go to the new application. I will re-direct him to the NEWAPP with the access token.

The redirect request will be intercepted by JavaScript and the access token will be saved to local browser storage for subsequent requests.

Process of singing in from NEWAPP
John will be redirect to the OLDAPP to sign in if he tries to navigate to the NEWAPP without signing in.
Process of signing out
If john wants to sign out of the NEWAPP. I will simply delete his access token and redirect him back to the OLDAPP to sign out from that as well.
What do you guys think, is this the right way to tackle the problem I described?
Is there another way? For Example, is it possible to mix the ResourceOwnerPassword grant with JavaScript client (implicit grant) together? handling sign out with the javascript open id connect npm package?
I will eventually push my company to use identity server for the old application so that we can utilizes the single sign on. But this cannot happen right now.
Thank you.

This seems to be a general question about IdentityServer - not a bug report or an issue.
Please use one of the our free or commercial support options
See here for more details.
Thanks!


Make compiler options non-exhaustive

Looking at https://github.com/gfx-rs/gfx/pull/3356, it seems to me that we could avoid breaking spirv-cross changes if we make the structure non-exhaustive.

Yeah this would probably work alright, I guess we wouldn't be able to use struct initializers anymore though.
e.g. This would be ok:
let mut options = CompilerOptions::default();
options.force_zero_initialized_variables = true;

But we wouldn't be able to do:
let options = CompilerOptions {
  force_zero_initialized_variables: true,
  ..Default::default()
};

Yeah, it's fine, since this is all internal to backends.


WinUI Spanish Docs + GNOME metadata  translation

Preview
I changed the code to open correct link in PreferencesPage.xaml.cs and can't test it, but I guess it works as expected.

Also updated translate_meta.py script to translate summary (as I mentioned here).


metrics reports as (tab|comma)-separated-values

Purpose
allow download metrics reports as tsv/csv, for local spreadsheeting

Changes

add api.metrics.renderers with MetricsReportsCsvRenderer and MetricsReportsTsvRenderer
update recent reports api view /_/metrics/reports/{report_name}/recent

add ?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD query params
return a drf response, so content negotiation actually happens (either by header or ?format=csv/?format=tsv query params)

QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify
Verify

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation

Side Effects

browsable api now works as expected

Ticket

Merged as 369721d6af8810702525bda306b0eadfd88172ed


Update body of drying notification

The wording of the notification didn't match the product spec.

Current dependencies on/for this PR:

main

PR #645   👈

This comment was auto-generated by Graphite.


404 Errors in fresh theme install

After following the Prismic + Next.js  tutorial here, I found that when I opened the console there was a couple of error messages shown here:

There doesn't seem to be anything particularly wrong with the actual page, it just seems like something added quotes to the ends of the src for prismic.js. I was wondering if this is an issue on my end or if this was intentional from this template.
Tested in both Chrome and Edge on Windows.

Looked into it some more and it seems like this refers to #22 which was supposedly fixed and merged but was reintroduced. Closing this and moving discussion back to that thread.


Configure not detecting some dependencies

libsdl2 is used for controller support so it’s very important. I did submit a patch for this very issue to upstream wine. You could adapt that patch to CX sources or do what you did for PNG.
libMoltenVK is also not being detected, honestly not super important as the version provided by brew won’t work with DXVK anyway.
What I find weird is libpng and libMoltenVK are both detected correctly in the wine-staging workflow but not here as I don’t remember this being an issue.

About libsdl2: Do you mean this commit: https://github.com/wine-mirror/wine/commit/e4fbae832c868e9fcf5a91c58255fe3f4ea1cb30 ?
Shouldn't I first brew install sdl2 to see if is detected then or does macOS come with its own version?

libMoltenVK is also not being detected, honestly not super important as the version provided by brew won’t work with DXVK anyway.

All these difficulties and incompatibilities are driving me crazy... :-D

About libsdl2: Do you mean this commit: wine-mirror/wine@e4fbae8 ?

Yes that commit.

Shouldn't I first brew install sdl2 to see if is detected then or does macOS come with its own version?

If you go over the dependencies you will see brew installs libsdl2 as a dependence of FAudio. I’d also skipped dependencies that I know the GitHub images already contains.

All these difficulties and incompatibilities are driving me crazy... :-D

Welcome to wine on MacOS

Add the following to configure for wine64
ac_cv_lib_soname_MoltenVK=$(brew --prefix molten-vk)/lib/libMoltenVK.dylib

If I’m correct that will resolve that issue, but as this is brew I’m not entirely sure.

Commmits
https://github.com/dasmy/macos-crossover-cloud-build/commit/e446627f2b32d21a4b2a2c2d250256c2854fc1b9 and
https://github.com/dasmy/macos-crossover-cloud-build/commit/88f58bfbfd4bdb22f3f5edd43d05f068c989959c
should fix detection of gphoto2 and sane (although I am personally not too interested in them).
Will wait until the build gets through before closing here.

Dependency detection looks OK now.


Wrong font family for inputs in a Dialog

Bug, feature request, or proposal:
Incorrect Font family for only inputs in a Dialog
What is the expected behavior?
Expected to have set font family Proxima Nova.
$typography-config: mat-typography-config(
  $font-family: 'Proxima Nova'
   ....
);

What is the current behavior?
Font Family is set to  Times
What are the steps to reproduce?

Create custom theme.
Set typography font family.
create a dialog with inputs

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
<EMAIL_ADDRESS>"typescript": "2.3.4",
browser: chrome
Is there anything else we should know?
The bug was also present when using a prebuilt theme.

Should be resolved in master by https://github.com/angular/material2/pull/5154.


Tracking for silencing

Expected Behavior
We are forwarding events to ticketing system on state-change.
When new device is integrated into Sensu, it is silenced right after for 5 minutes - so all checks have time to be executed. Some of them are not really a checks, they are etc. metric collectors for further evaluation.
The point is, that after 5 mins, device should consolidate.
Sometimes, when device is silenced, some check does not consolidate and it ends up in non-OK state even after silencing - and such situation should be alarmed. This will actually not happen, because there was no state change.
Current Behavior
By use case explained above, when check ends up in non-OK state when device is silenced and this non-OK state survives silencing expiration, it is not handled for alerting, because state-change did not happen -it is non-OK all the time and handler reacts only on state-change.
When check with non-OK state survives silencing, it is not expected situation and should be alarmed as usual.
Possible Solution
If silencing was tracked, it could be used in filtering criteria - etc. beside state change handling, it would activate handler when state is non-OK AND silencing[-2] was 1(enabled) _AND silencing[-1] was 0 (disabled). So in case that previous result was silenced and now it is not silenced and there is non-OK state, it would trigger handler. Is it too crazy idea?
Alternative 1:
One could be OK when reoccurrence is used, but that would mean to wait for given interval, etc. 1 hour or so. We are not using reoccurrence.
Alternative 2:
After silencing, all checks could be resolved by API to reset the state and start from green field.
This is hard to manage, we are integrating new devices by ansible. It would require postponed treatment (to resolve checks after 5 mins...)
Steps to Reproduce (for bugs)
N/A
Context
As described, when check fails to recover during silencing period (5 min), it is standard faulty issue which should be reported. When using state-change only handling, such situation will stay unseen.
Your Environment

Sensu version used: 1.2
Operating System and version (e.g. Ubuntu 14.04): RedHat
Transport and runtime versions (e.g. RabbitMQ 3.6.2 on Erlang 18.2): RabbitMQ

Hi @mcbsdEU, thanks for raising this issue. If I understand correctly, the current behavior you are describing hinges on using a configuration-defined (native) filter to enforce "state change only" alerting.
I believe that the expected behavior you desire could be achieved using a filter which also accounts for the check's refresh attribute, using the same logic as the occurrences filter. As with the occurrences filter, this additional logic may require your filter to be implemented as an extension instead of as a configuration-defined filter.
Do you think this would address your need? Interested to hear your thoughts on this approach.

Hello @cwjohnston , thanks for your comment.
I have multiple thoughts on this.
I know there was confusion between occurrences and refresh, correct me if I am wrong, but as documented at Filters, you don't strictly need to work with refresh attribute. All you need is to check for value and modulo, is that true?
Either way, what I am missing, is relationship to silencing, otherwise how to control when exactly is the moment for handling an event?
I could configure re-handling by mentioned link, but this would apply in general. Let's say I would re-handle every 5~10 minutes flat. That means unnecessary requests to handler, which at the end, turns into requests towards some back-end ticketing tool etc. This is quite overwhelming with lots of checks.
Just thinking how to effectively cover this key point - relationship to silencing. My first idea was to track history of silencing ...but I am not sure if this is reliable and usable.
Maybe, if we could attach some registry action when silencing is removed/expired - then action of that could be used at other side. Etc. to introduce boolean field "unsilenced" - which would be populated during silencing remove/expire with value 1. This value could be consumed by standard filtering, and with value 1 it would pass the filter to the handler. Handler could then reset this field back to 0.
Alternative could be to implement generic programmable action on removed/expired silencing and everything else is up to implementer - etc. to use stashes to store additional data about silencing.

This request could be cancelled as #1876 handed this over.


feat: transfer button

https://github.com/fractaldotbox/geist-dapp-kit/issues/15

Hi @justin-lau I made few adjustment

Extending button props, so we can use disabled props
When user pressing Backspace it will remove the input
Disabled the button when input is not valid