Search box width is insufficient for full-width characters (such as Chinese)

Tagging support
when input.value.length increase, the input.width increase 0.75em per input.value.length, if we input a   half-width character, the width is less than 0.75em, and input a full-width character,the width is more than 0.75em, so it cause a style problem input.width is not equal to input.value width
And I think jQuery-autoGrowInput is a good solution

input.width is CSS property of width of an element in pixels.
input.value.lenght is the number of characters in the input field.
I can't see how are those two connected, thus, what's the issue here?

In Tagging support
When type character in this input, this width is (input.value.length + 1) * 0.75em, for example:
input.value is empty, it has a min-width 0.75em

type some half-width character

type some full-width character

I think it must be a function to set input.width according to input.value, just like (input.value.length + 1) * 0.75em, But we can find that the calculated width isn't equal to input.value display width by review element.

Yes it is equal and that has nothing to do with "half-width" characters.
By the formula (input.value.length + 1) * 0.75em, in your first example you have
(111111).length = 6, (6+1)*0,75 = 5,25
and in second example
(xxxx).length = 6, (4+1)*0,75 = 3,75 (xxxx is for your characters that i don't have on my keyboard)
so the function works well.

for "half-width" characters, calculated width is large than input.value display width, when type more  "half-width" characters, the difference is more and more large
for "full-width" characters, calculated width is less than input.value display width, when type more  "full-width" characters, the difference is more and more large
I think 0.75em is width than a "half-width" character width, and  0.75em is narrow than a "full-width" character width, you can type some Chinese character to test it!
You can copy it: 你好，欢迎讨论这个问题

Well, potentially I see the resolution to your problem: try using pixels instead of ems :)

You can see here jQuery-autoGrowInput
and i try it here My Demo
Whatever "half-width" character or "full-width" character, the width is always exactly

Take a look at this baby ;)
https://goodies.pixabay.com/jquery/auto-grow-input/jquery.auto-grow-input.js

I have simplify it like this :)
var inputAutoWidth = function (input, restWidth) {
    var input = $(input);
    var span = $('<span/>').css({
        display: 'none',
        fontSize: input.css('fontSize'),
        fontFamily: input.css('fontFamily')
    }).appendTo('body');
    span.html(input.val().replace(/&/g, '&').replace(/\s/g, ' ').replace(/</g, '<').replace(/>/g, '>'));
    input.width(span.width() + (restWidth || 0));
    span.remove();
};

Does it work now?

Click Here

This is the expected behaviour, and it has to do with Select2 assuming that most of the time people will be typing in half-width characters. It starts to fail when people are consistently entering full-width characters.
I'd rather not have to size the text every time a new character is entered, as that ends up having sizing issues if there are different fonts used around the website (which is why we use em instead of px here).

I think copy input value to a element, and set them have same fonts style, It will guarantee that search box width match the character width exactly.

Leaving this open for another stale cycle. Maybe there's a way to count the number of full-width characters and do a more intelligent estimate on the width of the search box?


unable to run "pc"  due to type exceptions

Describe the bug
running "pc" on my x86 macos dev system produces type-related exceptions
To Reproduce
unknown, probably environment specific
Expected behavior
not an exception
Screenshots
see trace below
** Specifics (please complete the following information):**

Python Version: 3.9
Pynecone Version: 0.1.10
OS: macos
Browser (Optional):

Additional context
% pip3.9 install pynecone-io
Requirement already satisfied: pynecone-io in /usr/local/lib/python3.9/site-packages (0.1.10)
Requirement already satisfied: gunicorn<21.0.0,>=20.1.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pynecone-io) (20.1.0)
Requirement already satisfied: uvicorn<0.21.0,>=0.20.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pynecone-io) (0.20.0)
Requirement already satisfied: sqlmodel<0.0.9,>=0.0.8 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pynecone-io) (0.0.8)
Requirement already satisfied: httpx<0.24.0,>=0.23.1 in /usr/local/lib/python3.9/site-packages (from pynecone-io) (0.23.1)
Requirement already satisfied: typer==0.4.2 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pynecone-io) (0.4.2)
Requirement already satisfied: plotly<6.0.0,>=5.10.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pynecone-io) (5.11.0)
Requirement already satisfied: redis<5.0.0,>=4.3.5 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pynecone-io) (4.4.0)
Requirement already satisfied: rich<13.0.0,>=12.6.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pynecone-io) (12.6.0)
Requirement already satisfied: fastapi<0.89.0,>=0.88.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pynecone-io) (0.88.0)
Requirement already satisfied: pydantic==1.10.2 in /usr/local/lib/python3.9/site-packages (from pynecone-io) (1.10.2)
Requirement already satisfied: typing-extensions>=4.1.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from pydantic==1.10.2->pynecone-io) (4.4.0)
Requirement already satisfied: click<9.0.0,>=7.1.1 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from typer==0.4.2->pynecone-io) (8.1.3)
Requirement already satisfied: starlette==0.22.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from fastapi<0.89.0,>=0.88.0->pynecone-io) (0.22.0)
Requirement already satisfied: anyio<5,>=3.4.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from starlette==0.22.0->fastapi<0.89.0,>=0.88.0->pynecone-io) (3.6.2)
Requirement already satisfied: setuptools>=3.0 in /usr/local/lib/python3.9/site-packages (from gunicorn<21.0.0,>=20.1.0->pynecone-io) (65.3.0)
Requirement already satisfied: httpcore<0.17.0,>=0.15.0 in /usr/local/lib/python3.9/site-packages (from httpx<0.24.0,>=0.23.1->pynecone-io) (0.15.0)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /usr/local/lib/python3.9/site-packages (from httpx<0.24.0,>=0.23.1->pynecone-io) (1.5.0)
Requirement already satisfied: certifi in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from httpx<0.24.0,>=0.23.1->pynecone-io) (2022.12.7)
Requirement already satisfied: sniffio in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from httpx<0.24.0,>=0.23.1->pynecone-io) (1.3.0)
Requirement already satisfied: tenacity>=6.2.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from plotly<6.0.0,>=5.10.0->pynecone-io) (8.1.0)
Requirement already satisfied: async-timeout>=4.0.2 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from redis<5.0.0,>=4.3.5->pynecone-io) (4.0.2)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from rich<13.0.0,>=12.6.0->pynecone-io) (2.13.0)
Requirement already satisfied: commonmark<0.10.0,>=0.9.0 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from rich<13.0.0,>=12.6.0->pynecone-io) (0.9.1)
Requirement already satisfied: sqlalchemy2-stubs in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from sqlmodel<0.0.9,>=0.0.8->pynecone-io) (0.0.2a29)
Requirement already satisfied: SQLAlchemy<=1.4.41,>=1.4.17 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from sqlmodel<0.0.9,>=0.0.8->pynecone-io) (1.4.41)
Requirement already satisfied: h11>=0.8 in /usr/local/lib/python3.9/site-packages (from uvicorn<0.21.0,>=0.20.0->pynecone-io) (0.12.0)
Requirement already satisfied: idna>=2.8 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from anyio<5,>=3.4.0->starlette==0.22.0->fastapi<0.89.0,>=0.88.0->pynecone-io) (3.4)
Requirement already satisfied: greenlet!=0.4.17 in /Users/wsk/Library/Python/3.9/lib/python/site-packages (from SQLAlchemy<=1.4.41,>=1.4.17->sqlmodel<0.0.9,>=0.0.8->pynecone-io) (2.0.1)
% pc
Traceback (most recent call last):
File "/usr/local/bin/pc", line 5, in
from pynecone.pc import main
File "/usr/local/lib/python3.9/site-packages/pynecone/init.py", line 6, in
from .app import App
File "/usr/local/lib/python3.9/site-packages/pynecone/app.py", line 12, in
from pynecone.compiler import compiler
File "/usr/local/lib/python3.9/site-packages/pynecone/compiler/compiler.py", line 7, in
from pynecone.compiler import templates, utils
File "/usr/local/lib/python3.9/site-packages/pynecone/compiler/utils.py", line 23, in
from pynecone.state import State
File "/usr/local/lib/python3.9/site-packages/pynecone/state.py", line 21, in
class State(Base, ABC):
File "pydantic/main.py", line 282, in pydantic.main.ModelMetaclass.new
os.makedirs(os.path.split(dst)[0], exist_ok=True)
File "pydantic/typing.py", line 287, in pydantic.typing.resolve_annotations
For use of globalns and localns see the docstring for get_type_hints().
File<EMAIL_ADDRESS>line 292, in _eval_type
return t._evaluate(globalns, localns, recursive_guard)
File<EMAIL_ADDRESS>line 553, in evaluate
type = _type_check(
File<EMAIL_ADDRESS>line 158, in _type_check
raise TypeError(f"{arg} is not valid as type argument")
TypeError: typing.ClassVar[typing.Dict[str, pynecone.var.Var]] is not valid as type argument

Ok checking it out, Is this when you are doing pc init or pc run?

Oh I see this is just when you are typing pc in terminal. Does pc init/pc run work for you

"pc init" produces the same error message

uninstalling pydantic and reinstalling it fixed this for me somehow


OSError: exception: access violation writing 0x00000014 in libusb1.py

I am trying to detect if a particular usb stick is inserted on Windows 10 version 1903
I have python 3.65 installed
Installed via pip
Current libraries installed
libusb (1.0.22b8)  - Python binding for the libusb C library (ctypes/cffi-based libusb).   INSTALLED: 1.0.22b8 (latest)
pylibusb (0.2)     - libusb wrapper (ctypes based)
libusb1 (1.7.1)    - Pure-python wrapper for libusb-1.0   INSTALLED: 1.7.1 (latest)
Also have c bindings from libusb installed version 1.0.22 from libusb.info as shown below
copy MS64/dll/libusb*.dll c:\windows\system32
copy MS32/dll/libusb*.dll c:\windows\SysWOW64
If I try the following code when the usb stick is inserted
import sys
import usb.core
import usb.util

def check_usb_connect():
    # check specific usb device pluggedin
    dev = usb.core.find(idVendor=0x8644, idProduct=0x8003)
    if dev is None:
        print("Not Connected")
    else:
        print("Usb device idVendor=0x8644, idProduct=0x8003 Connected")

def main():
    #while dev is None:
    check_usb_connect()

if __name__ == '__main__':
    main()

I get the following exception
Usb device idVendor=0x8644, idProduct=0x8003 Connected
Exception ignored in: <bound method _AutoFinalizedObjectBase.del of <usb.backend.libusb1._Device object at 0x039D5AB0>>
Traceback (most recent call last):
File "C:\Users\XXX\security-tools\Python-3.65\lib\site-packages\usb_objfinalizer.py", line 84, in __del__self.finalize()
File "C:\Users\XXX\security-tools\Python-3.65\lib\site-packages\usb_objfinalizer.py", line 144, in finalize    self._finalizer()
File "C:\Users\XXX\security-tools\Python-3.65\lib\weakref.py", line 548, in call
return info.func(*info.args, **(info.kwargs or {}))
File "C:\Users\XXX\security-tools\Python-3.65\lib\site-packages\usb_objfinalizer.py", line 104, in _do_finalize_object_ref
obj._do_finalize_object()
File "C:\Users\XXX\security-tools\Python-3.65\lib\site-packages\usb_objfinalizer.py", line 71, in _do_finalize_object
self._finalize_object()
File "C:\Users\XXX\security-tools\Python-3.65\lib\site-packages\usb\backend\libusb1.py", line 604, in _finalize_object
_lib.libusb_unref_device(self.devid)
OSError: exception: access violation writing 0x00000014
The following code produces no error when the usb stick in inserted
import sys
import usb.core

dev = usb.core.find(idVendor=0x8644, idProduct=0x8003)

if dev is None:
    print("USB device is not connected")
else:
    print("Usb device idVendor=0x8644, idProduct=0x8003 Connected")

Can you help me with the above error please?
Kind Regards
Cyberkryption

This has already been fixed in the repository (see PR #227, original issue #203).
There are a few other things to fixed before a new release is made, so until then you can use pyusb git.
pip install git+https://github.com/pyusb/pyusb

Installed via pip
Current libraries installed
libusb (1.0.22b8) - Python binding for the libusb C library (ctypes/cffi-based libusb). INSTALLED: 1.0.22b8 (latest)
pylibusb (0.2) - libusb wrapper (ctypes based)
libusb1 (1.7.1) - Pure-python wrapper for libusb-1.0 INSTALLED: 1.7.1 (latest)

Note that neither of these are PyUSB.
Your logs do show that you're indeed using PyUSB, presumably version 1.0.2.

Hi Jonas,
Thankyou very much.
I should have checked the PR,s but it was late.
Thankyou
Cybrrkryption
On Sun, 5 Jan 2020, 11:54 Jonas Malaco<EMAIL_ADDRESS>wrote:

This has already been fixed in the repository (see PR #227
https://github.com/pyusb/pyusb/pull/227, original issue #203
https://github.com/pyusb/pyusb/issues/203).
There are a few other things to fixed before a new release is made, so
until then you can use pyusb git.
pip install git+https://github.com/pyusb/pyusb

Installed via pip
Current libraries installed
libusb (1.0.22b8) - Python binding for the libusb C library
(ctypes/cffi-based libusb). INSTALLED: 1.0.22b8 (latest)
pylibusb (0.2) - libusb wrapper (ctypes based)
libusb1 (1.7.1) - Pure-python wrapper for libusb-1.0 INSTALLED: 1.7.1
(latest)
Note that neither of these are PyUSB.
Your logs do show that you're indeed using PyUSB, presumably version 1.0.2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pyusb/pyusb/issues/288?email_source=notifications&email_token=AAWYQ3EY2J6XW3U5ZCY4AULQ4HC7DA5CNFSM4KC2XWPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIDVASQ#issuecomment-570904650,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWYQ3EL7HIHKOFE3ZA4OVLQ4HC7DANCNFSM4KC2XWPA
.

Don't worry about it! : )


Ignore Admins

andi242: would it be possible to have logged in users with admin role not tracked?

ok, will track issues and suggestions here :)

implemented in 153d34f66df7ee9d23b41a20dae424a599ee6856


Feature/status page

Status page for participants.
Auto update data using SSE.
Need further clarification of what user will do next when they get notified.
Need to adjust the theme.
Navbar element may need to be separated from base.html or need to create a new base for status page in general.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 30.63063% with 77 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

participant/views.py
21.31%
48 Missing :warning:

participant/forms.py
21.42%
11 Missing :warning:

participant/signals.py
54.54%
10 Missing :warning:

manager/models.py
28.57%
5 Missing :warning:

participant/models.py
40.00%
3 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag
Coverage Δ

unittests
40.78% <30.63%> (-1.71%)
:arrow_down:

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

Files with missing lines
Coverage Δ

manager/utils/category_handler.py
32.95% <ø> (ø)

manager/views.py
23.51% <ø> (-0.20%)
:arrow_down:

participant/apps.py
100.00% <100.00%> (ø)

participant/urls.py
100.00% <ø> (ø)

participant/models.py
57.44% <40.00%> (-1.90%)
:arrow_down:

manager/models.py
56.20% <28.57%> (-1.38%)
:arrow_down:

participant/signals.py
54.54% <54.54%> (ø)

participant/forms.py
38.88% <21.42%> (-61.12%)
:arrow_down:

participant/views.py
40.00% <21.31%> (-9.62%)
:arrow_down:

Nice work!

Good job, tora


Contribution flow: Matching fund

As we are redesigning the create order flow, let's make sure we don't forget about those things:

[ ] matching fund

Edit by @Betree
- [ ] make sure we communicate fee structure at the time of checkout => https://github.com/opencollective/opencollective/issues/1506

As per https://github.com/opencollective/opencollective/issues/2237 we're getting rid of the Matching fund feature for now so this issue will not be implemented.


Ticket#354/post achievement metrics improvements

maybe able to improve the look of the legend via apex configs: https://apexcharts.com/docs/options/legend/


Updated to 1.19.4

Update to 1.19.4 has been requested. "Mod Menu" has been released for 1.19.4, all dependencies have been updated. Some configuration changes have been copied from Fabrics example mod.

@adamviola

works!

Can you post the jar here, I'm not able to build the project for some reason
here you go.
if i'm not allowed to post this, someone let me know :)
entity-outliner-1.2.7.jar.zip

Can you post the jar here, I'm not able to build the project for some reason

here you go. if i'm not allowed to post this, someone let me know :) entity-outliner-1.2.7.jar.zip

Thanks


An Arcface model cannot be converted

模型优化失败, 从./models/arcface.onnx加载
2023-03-04 14:26:09.484399: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /mnt/sda/AI/miniconda3/envs/yolov5/lib/python3.7/site-packages/cv2/../../lib64:
2023-03-04 14:26:09.484419: W tensorflow/stream_executor/cuda/cuda_driver.cc:263] failed call to cuInit: UNKNOWN ERROR (303)
2023-03-04 14:26:09.484429: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ubuntu): /proc/driver/nvidia/version does not exist
2023-03-04 14:26:09.484577: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
File "/mnt/sda/AI/onnx2tflite-main/converter.py", line 70, in
run()
File "/mnt/sda/AI/onnx2tflite-main/converter.py", line 66, in run
image_root=opt.imgroot
File "/mnt/sda/AI/onnx2tflite-main/converter.py", line 18, in onnx_converter
keras_model = keras_builder(model_proto, input_node_names, output_node_names)
File "/mnt/sda/AI/onnx2tflite-main/utils/builder.py", line 88, in keras_builder
tf_tensor[node_outputs[index]] = tf_operator(tf_tensor, onnx_weights, node_inputs, op_attr, index=index)(_inputs)
File "/mnt/sda/AI/onnx2tflite-main/layers/activations_layers.py", line 65, in init
self.slope = node_weights[node_inputs[1]].transpose(1, 2, 0)
ValueError: axes don't match array
进程已结束,退出代码1

It's seem a new pattern of PRelu. Your onnx model version is 16, can you provide model file to me or fix it by yourself.

It's seem a new pattern of PRelu. Your onnx model version is 16, can you provide model file to me or fix it by yourself.

我可以将onnx模型提供给您，我也可以先将onnx版本降低到多少再试试呢？

链接: https://pan.baidu.com/s/1ksZcbMwm5v8N5JqVGgmdvQ?pwd=t7jw 提取码: t7jw
--来自百度网盘超级会员v3的分享

链接: https://pan.baidu.com/s/1ksZcbMwm5v8N5JqVGgmdvQ?pwd=t7jw 提取码: t7jw --来自百度网盘超级会员v3的分享

onnx模型链接地址在这里，我先从mxnet转换为onnx的，转换脚本如下：
import mxnet as mx
import numpy as np
import onnx
print('mxnet version:', mx.version)
print('onnx version:', onnx.version)
from mxnet.contrib import onnx as onnx_mxnet
from onnx import checker
syms = './mxnet_models/arcface/model-symbol.json'
params = './mxnet_models/arcface/model-0000.params'
input_shape = (1, 3, 112, 112)
onnx_file = './models/arcface_onnx131.onnx'
Invoke export model API. It returns path of the converted onnx model
converted_model_path = onnx_mxnet.export_model(syms, params, [input_shape], np.float32, onnx_file)
Load onnx model
model_proto = onnx.load_model(converted_model_path)
Check if converted ONNX protobuf is valid
checker.check_graph(model_proto.graph)

It's fixed, please pull code.

@MPolaris Thank you！


Fix issue with running mockery

make mocks works after this update, but we have warning at console during execution:
WRN DEPRECATION: use of the packages config will be the only way to generate mocks in v3. Please migrate your config to use the packages feature. dry-run=false migration=https://vektra.github.io/mockery/v2.43/migrating_to_packages/ url=https://vektra.github.io/mockery/v2.43/features/#packages-configuration version=v2.43.0
So will need to make migration to the packages https://vektra.github.io/mockery/latest/migrating_to_packages/

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.58%. Comparing base (b776b40) to head (5c93d17).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
+ Coverage   62.43%   62.58%   +0.15%
==========================================
  Files          22       24       +2
  Lines         969      973       +4
==========================================
+ Hits          605      609       +4
  Misses        358      358
  Partials        6        6

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


Epub_view issue with opening file keep getting unexpected exception.

I am keep getting ... unexcpected error.

I know this thread is old, but I have found a solution to this problem.
The problem is loading an asset file is asynchronous, but the initState function is now synchronous so by the time you reach the build function, the epub file hasn't even loaded in yet!
Luckily, the fix is very simple. You just make an async function to load the epub asset as bytes and then feed those bytes into the EpubDocument.openData method. After that, you use a FutureBuilder to use the epub controller.
Here are some useful links:

https://dev.to/fluttertanzania/building-asynchronous-flutter-applications-with-futurebuilder-4gba.
https://stackoverflow.com/questions/50119676/how-to-write-a-bytedata-instance-to-a-file-in-dart

Full Code Example:
  Future<EpubController> loadEpub() async {
    var asset = await PlatformAssetBundle().load("assets/alice.epub");
    return EpubController(
        document: EpubDocument.openData(asset.buffer
            .asUint8List(asset.offsetInBytes, asset.lengthInBytes)));
  }

  @override
  Widget build(BuildContext context) => FutureBuilder<EpubController>(
      future: loadEpub(),
      builder: (context, snapshot) {
        if (snapshot.connectionState == ConnectionState.waiting) {
          return const Text("Waiting......");
        } else if (snapshot.hasError) {
          return Text("Error : ${snapshot.error}");
        } else {
          var epubController = snapshot.data!;
          return Scaffold(
            appBar: AppBar(
              // Show actual chapter name
              title: EpubViewActualChapter(
                  controller: epubController,
                  builder: (chapterValue) => Text(
                        'Chapter: ${chapterValue?.chapter?.Title?.replaceAll('\n', '').trim() ?? ''}',
                        textAlign: TextAlign.start,
                      )),
            ),
            // Show table of contents
            drawer: Drawer(
              child: EpubViewTableOfContents(
                controller: epubController,
              ),
            ),
            // Show epub document
            body: EpubView(
              controller: epubController,
            ),
          );
        }
      });


one watcher

This patch makes the library use a single file watcher for all operations.

Please do a rebase against master.
Also the tests (make fulltest) are failing:
src/github.com/ActiveState/tail/tail.go:102: not enough arguments in call to watch.NewInotifyFileWatcher
src/github.com/ActiveState/tail/tail.go:385: undefined: watch.Cleanup

@srid Should be fixed now, sorry about that!
By the way, I'm not sure how Docker tests would work, unless that branch replaces imports of github.com/ActiveState/tail with gopkg.in/ActiveState/tail.v1. Using gopkg.in/tail.v1 would require creating a go-tail Github organization.

Also, there seems to be a Travis problem with pulling in gopkg.in/fsnotify.v0.

The Dockerfile does a ADD . $GOPATH/src/github.com/ActiveState/tail/ which ensures that local source files are available under the "github.com/ActiveState/tail" import, no matter which branch you are on.
I have verified that make fulltest succeeds on your branch. No clue about Travis — perhaps I should use this opportunity to switch to CircleCI — but I will look into understanding and doing that gopkg tagging thing (before merging this API-breaking change due to removal of Cleanup).

This closes #51


Improve Image Handling

1st a word of thanks for building this app! So cool for the community to take this on!
2nd Would you be interested in writing a blog post on the experience of creating it?
3rd, the images are not handled optimally
If you go to https://pagespeed.web.dev/report?url=https://qwik-city-movies-wm.netlify.app you will see that the images server are huge, which results in less than ideal score.

The preferred way to do this would be with <picture> tag, which understands different image resolutions, and it allows the browser to choose an ideal size. See docs
TMDB has URLs for different image sizes for different devices. So all of the information is available it just needs to be put rendered correctly.

Hello, I updated image handling to use <picture> and resolved other performance issues listed in pagespeed report. Performance scores are now above 97 and time related metrics are now half of the previous ones.
I also updated qwik dependencies to latest ones. It seems that there are some issues with netlify adapted but I'm not sure yet. Any page with dynamic page params is not served correctly. This could be my issue with incorrect migration of packages to new versions. I'm investigating this.

@wmalarski
First, Thanks for this public repo it's really inspiring.
I confirm the issue with netlify, i have seen it in my little play app. Locally it works, but once using netlify with serve or deployed dynamic pages with onGet are never working.

Thank you for the quick turnaround! You rock!

I was looking on the update, and I don't think it is quite right:
<picture>

</picture>

The correct output should have a srcset attribute which lists all of the different image size URLs and their sizes. The browser then picks the best image for its resolution. The idea is that you show a high-resolution image on the retina display, but a low res on a small mobile phone with no retina display.
Any chance we could get that updated?

Hello, just updated code to handle images using srcset with multiple values. I used media query approach for hero section images. Right now html for same image looks like this:
<picture>

</picture>

I switched whole app to MPA mode by replacing <Link> with .  q-*.js files are only fetched for infinite loading in search and category pages. We can navigate through most of the app without js fetching.

You rock! This is exactly what I needed!
Writing a blog post on this so collecting data from your app.
https://docs.google.com/spreadsheets/d/1-j4OoHPAKEcOwBeBWrGGTAB9UY5RHHbATC1k_BvEzrA


Ecobee "resume_program" removed in 0.100.1?

Home Assistant release with the issue:

0.100.1
Last working Home Assistant release (if known):
0.99
Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Integration:

Description of problem:
The ecobee_resume_program call fails as it's unknown.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):
Error while executing automation automation.thermostat_home. Service not found for call_service at pos 1: Unable to find service climate/ecobee_resume_program

Additional information:

Noticed it was changed to a new service:
ecobee.resume_program
Did not find this in the breaking changes anywhere
Closing.

https://www.home-assistant.io/blog/2019/10/10/release-100/#breaking-changes


Kibana tells me login is disable. Consult admins.

(Original issue 3 created by DanielJ210 on 2018-01-30T17:07:11.760965+00:00)
When I use the run command and then navigate to the Kibana URL, I'm shown the login page and told that login is disable and to contact administration. I shouldn't be getting this, right?

(Original issue 3 last updated on 2018-07-16T09:02:17.036236+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by nshou on 2018-02-11T07:36:23.446060+00:00)
This container image does not require any authentication steps. Did you edit .yml files or install X-Pack Security?

(Original comment by nshou on 2018-07-09T02:30:07.877311+00:00)
I am going to close this ticket if you no longer experience the issue. Thank you.


[Frontend] Warn on implicit casting in the condition in tl.where

Explicit is better than implicit
nb. this breaks BC

Even easier then. Updated.


ResponseError: Rust Analyzer is still loading...

I just updated to 9b65646 and am seeing the following in the "Rust Analyzer Client" log in vscode.
WARN [10/19/2020, 10:25:19 AM]: LSP request timed out {
  method: 'rust-analyzer/inlayHints',
  param: {
    textDocument: {
      uri: 'file:///c%3A/projects/test/rust-analyzer/crates/syntax/src/ast/generated.rs'
    }
  },
  error: ResponseError: Rust Analyzer is still loading...
      at handleResponse (c:\Users\jkolb\.vscode\extensions\matklad.rust-analyzer-0.4.0-dev\out\src\main.js:3779:48)
      at processMessageQueue (c:\Users\jkolb\.vscode\extensions\matklad.rust-analyzer-0.4.0-dev\out\src\main.js:3594:17)
      at Immediate.<anonymous> (c:\Users\jkolb\.vscode\extensions\matklad.rust-analyzer-0.4.0-dev\out\src\main.js:3578:13)
      at processImmediate (internal/timers.js:439:21) {
    code: -32801,
    data: undefined
  }
}

Does it never finish loading? CC #6285

It never seems to finish. In fact I don't see anything in the status bar about it even starting. I'm at work so I haven't flipped tried a debug build with verbose logging. I might be able to get to that tonight.

After closing some stale files in the editor I can't reproduce this even when loading those files back up.


Error: When the modifier option is true, validation object must have at least one operator

I am trying to figure out why i am getting the above error.
Patients.attachSchema(new SimpleSchema({
    address: {
      type: Object,
      optional: true,
    },
    'address.street': {
      label: "Street",
      type: String,
      autoform: {
        placeholder: "Street"
      }
    },
    'address.street2': {
      label: "Street2",
      type: String,
      optional: true,
      autoform: {
        placeholder: "Street2",
      }
    },
    'address.city': {
      label: "City",
      type: String,
      autoform: {
        placeholder: "City",
      }
    },
    'address.state': {
      label: "State",
      type: String,
      allowedValues: ["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],
      autoform: {
        afFieldInput: {
          firstOption: "(Select a State)"
        }
      }
    },
    'address.postalCode': {
      type: String,
      label: "Zipcode",
      autoform: {
        placeholder: 'Zipcode'
      }
    },
    createdBy: {
      type: String,
      optional: true,
    },
    //I get Exception while invoking method 'Patients.update' Error: When the modifier option is true, validation object must have at least one operator
    userIds: {
      type: [String],
      optional: true,
      autoform: {
        type: 'hidden',
        label: false
      }
    },
    customerIds: {
      type: [String],
      optional: true,
      autoform: {
        type: 'hidden',
        label: false
      }
    }
  }));

my methods to update
"Patients.update": function(patientAttributes, patientId) {
    Patients.update(patientId, {$set: patientAttributes});
  }

I am trying to update in place. where this blur method in the client calls the "Patient.update" from the server.
 "blur #addressStreet": function(e, t) {
   var patientAttributes = {addressStreet: e.target.value};
   Meteor.call("Patients.update", patientAttributes, this._id);
 }

works. but when I try with the other fields it breaks on me.

<input type="text" id="addressStreet" value="{{address.street}}">

My issue was that i was passing addressStreet: ... to target address.street from my "value"/schema.
Instead I enclosed it in quotes like so: var patientAttributes = {"address.street": e.target.value}; to match it. Now it should work!


Default metadata issues deploying to Production or sandbox org

While deploy to full org current repo has these issues in metadata that needs to be removed from packageReports and Dashboard Folders are shared to specific user ID that only for scratch but will never exists on other target org as this examplesDashboard<EMAIL_ADDRESS>Manage<EMAIL_ADDRESS>User Report or Folder  Manage<EMAIL_ADDRESS>User Home page layout has unknown item  standard-Tags need to remove thatApp Menue - need to remove from repo it not required for any org.

Document issues moved to WIKI and complete


[FEATURE] Proper Magic Variable Documentation

Description of the requested feature
Not enough documentation for the eww magic variables. There is no way to know which values to use on the wiki. For example: EWW_CPU has a .avg value that can be accessed, but I only know that through example configurations. There is no easy way to know these values easily on the Wiki page.

Can this be assigned to me?

@iSparsh This is what I got so far, quick and ugly.

Anything that you don't like?

That's perfect @legendofmiracles ! Thanks so much.

That was my plan originally - when i first added them, but elkowar didn't like it because they would have to be maintained.
The one example that exists only exists because I wanted to showcase the special syntax.

Alright then! I guess its resolved. Thanks!

Uhh, I haven't opened the PR yet.
I'd rather have it open to remind to finish it


Add e2e/intergation-test dry-run report.

Signed-off-by: xuezhaojun<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/25657

/hold

/close


Retry if github returns 403 rate limit warning

Please implement a backoff-and-retry when GitHub returns a 403 error.
 Please wait a few minutes before you try again."}

This is annoying, thanks for raising this. Problematic is that 403 means "Forbidden", which is not retryable. But the type of exception seems to give a good indication that this is something to retry later. Let me try to sketch out a solution.

@jaqx0r it would we interesting to understand what caused the rate limit exceeded in the first place? Do you see this issue regularily? Is this caused by the rate limit of your token or by the abuse rate limit. The exception message implies the latter.
Maybe in addition retrying those exceptions with some backoff, the action should also throttle down its requests in general to avoid the abuse rate limit. Maybe this is caused by other actions using the same toking as they run in the same workflow.

The action sends requests to GitHub API as quickly as possible. This seems to trigger the abuse rate limit which caused the exception in the first place. I have added a throttling so that GET requests are at least 0.25 seconds apart and write requests 2.0 seconds apart (both used to be less than 0.01 seconds). This should avoid the rate abuse error. I will try to get this logic moved upstream into the PyGitHub client.
Please test this fix by using:
uses: EnricoMi/publish-unit-test-result-action/composite@master

Please let me know if the default throttling settings are still insufficient to avoid abuse rate limits.
I agree that the above exception should be retried, but that should also be done by the PyGitHub client, as there is already code that identifies that situation, as well as urllib already considering retry-after header values.

Released with latest v1 release v1.19:
uses: EnricoMi/publish-unit-test-result-action@v1

Thanks!
On Thu, 8 Jul 2021, 01:18 Enrico Minack, @.***> wrote:

Released with latest v1 release v1.19:
uses: @.***
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EnricoMi/publish-unit-test-result-action/issues/150#issuecomment-875694083,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXFX65MNOBP5BL2LGU5GMLTWRV45ANCNFSM47WE52ZA
.

This seems to be happening still in 2.4.2, but probably because we are running many of these publish-unit-test-result-actions in parallel. Backoff/retry logic for 403s would be really helpful.

Can you share some logs please?

I just got a run failure with a 403:
Run docker://ghcr.io/enricomi/publish-unit-test-result-action:v1.6
  with:
    commit: 6b[2](https://github.com/google/mtail/actions/runs/8785762325/job/24107012013#step:5:2)417ba04c557b7e2d108fe0b0[3](https://github.com/google/mtail/actions/runs/8785762325/job/24107012013#step:5:3)e6ab0435ea84
    check_name: Unit Test Results
    github_token: ***
    files: **/test-results/**/*.xml
/usr/bin/docker run --name ghcrioenricomipublishunittestresultactionv16_15113e --label 195ee0 --workdir /github/workspace --rm -e "INPUT_COMMIT" -e "INPUT_CHECK_NAME" -e "INPUT_GITHUB_TOKEN" -e "INPUT_FILES" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/mtail/mtail":"/github/workspace" ghcr.io/enricomi/publish-unit-test-result-action:v1.6
202[4](https://github.com/google/mtail/actions/runs/8785762325/job/24107012013#step:5:4)-04-22 14:24:38 +0000 - publish-unit-test-results -  INFO - reading **/test-results/**/*.xml: ['test-results/test-output.xml']
2024-04-22 14:24:38 +0000 - publish.publisher -  INFO - publishing results for commit 6b2417ba04c[5](https://github.com/google/mtail/actions/runs/8785762325/job/24107012013#step:5:5)57b7e2d108fe0b03e6ab0435ea84
2024-04-22 14:24:38 +0000 - publish.publisher -  INFO - creating check
Traceback (most recent call last):
  File "/action/publish_unit_test_results.py", line 91, in <module>
    main(settings)
  File "/action/publish_unit_test_results.py", line 32, in main
    Publisher(settings, gh).publish(stats, results.case_results)
  File "/action/publish/publisher.py", line [6](https://github.com/google/mtail/actions/runs/8785762325/job/24107012013#step:5:6)4, in publish
    pull = self.get_pull(self._settings.commit)
  File "/action/publish/publisher.py", line 80, in get_pull
    self._logger.debug('found {} pull requests for commit {}'.format(issues.totalCount, commit))
  File "/usr/local/lib/python3.6/site-packages/github/PaginatedList.py", line 154, in totalCount
    "GET", self.__firstUrl, parameters=params, headers=self.__headers
  File "/usr/local/lib/python3.6/site-packages/github/Requester.py", line 319, in requestJsonAndCheck
    verb, url, parameters, headers, input, self.__customConnection(url)
  File "/usr/local/lib/python3.6/site-packages/github/Requester.py", line 342, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 403 {"documentation_url": "https://docs.github.com/free-pro-team@latest/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits", "message": "You have exceeded a secondary rate limit. Please wait a few minutes before you try again. If you reach out to GitHub Support for help, please include the request ID A580:CFA2:150DF912:152B1A6B:6626[7](https://github.com/google/mtail/actions/runs/8785762325/job/24107012013#step:5:8)327."}

This just occurred in https://github.com/google/mtail/actions/runs/8785762325/job/24107012013
I don't know how to get more logs than this.


Clipping an image

Is it possible to clip an image geotiff file

Hi @orkun.
It is possible to "clip" the geotiff file when reading the raster when supplying a window, a region in pixel coordinates. Please refer to the readme, there is an example on how to do so.

Hi,
If you're looking for an irregular clipping, maybe with a polygon, you will have to implement it by yourself. For example, have a look at: https://raw.githubusercontent.com/stuartmatthews/leaflet-geotiff/master/leaflet-geotiff.js


Ci workflow

Removed travis for github actions

runs build, lint, test, format

Added prettier (npm run format)

Ran format and lint. I would recommend looking through ae173dd, 136f171, and 42dde80 separately as the lint and format commit is a big one (23d6338). 42dde80 is a minor refactor as a result of lint complaining, but it made sense to split it out for review.

All looks ok except the comment above - but if the tests pass all good.

Would love to get rid of those hash tests when we have enough coverage from content tests - I'm guessing they failed because of a change in the tpls, but I have no idea.
However, no test should exist which can pass on master one day and fail later.
So far, I'm pretty happy with the coverage in __tests__/buildFiles.spec.ts - it just checks that every key and value that should be there exists on the yaml - we could go a step further and check the whole object for parts that were not there before,

ok I went a step further - tests now match the exact api object - so any new or missing lines / keys / values whatever, those will fail the tests.
Removed the hash tests because they don't offer anything at this point, and can break when nothing changes (not great for CI).


Add proposals link

Related to issue #255
Proposed Changes

Add a proposals section to mkdocs navigation
Enable greater visibility into what has been proposed

@googlebot I signed it!


Error when 'beautifying' ascx file

Unsupported language for grammar 'Web Form/Control (C#)'.
Im working off of OS X. Installed uncrustify through brew. Set my paths in Beautify to /usr/local/Cellar/uncrustify/0.61/share/uncrustify/ since it didn't look like it installed in the default location of /usr/local/bin/. Instead a shortcut was placed there that lead to the other path.
Now when I try to beautify I get the error listed above. Use to get Unsupported language for grammar 'Null Grammar'.
Any help would be appreciated.

Unsupported language for grammar 'Web Form/Control (C#)'.

This means that the grammar Atom has detected for your file is 'Web Form/Control (C#)', which is good, however Atom Beautify does not support that grammar. See https://github.com/Glavin001/atom-beautify/blob/master/lib/language-options.coffee#L406-L499

Unsupported language for grammar 'Null Grammar'.

This means Atom did not detect the grammar of your source code file.

I think what you're trying to beautify is C#? Please confirm.
Atom Beautify does support C# (see https://github.com/Glavin001/atom-beautify/blob/master/lib/language-options.coffee#L465 ). So you could:

change your file's grammar to C# in Atom. See https://github.com/atom/grammar-selector
submit a pull request to Atom Beautify that adds Web Form/Control (C#) along to normal C# at https://github.com/Glavin001/atom-beautify/blob/master/lib/language-options.coffee#L465

Both are simple enough. Option 1 being temporary (you'd have to set the grammar likely when you restart Atom) and option 2 being the best because then Atom Beautify fully supports Web Form/Control (C#) and you and everyone else can use it!
Hope that helps!

Could you please provide me with some sample code I can write tests for? Thank you.
It can be as simple as a Hello World kind of thing.

I wish I could give you something as simple as hello world but I’m just the front-end guy. All this dev was done by another guy at our company. So I am integrating my front-end with his development. Here is the code. Sorry it is a huge chunk of mess. Indents should be somewhat recognizable.
We are using knockout.js in there as well. That is all the commented stuff but I imagine that wouldn’t effect you since it is probably just recognized as a comment.
Code pasted below. 2nd email coming with the actual file.
<%@ control language="C#" autoeventwireup="true" CodeFile="Dashboard.ascx.cs" inherits="Dashboard" %>

Charts Dashboard

+
Logout

Chart Filters

Chart Views

 <%--/ko foreach: charts--%>

 <%--/foreach: rows--%>

    <%----%>

ADD CHART

                <%--Repeaters used in place of KO to play nice with jquery.dlmenu.js--%>
                 <asp:Repeater ID="rptCharts" runat="server"><%-- closed vs projected, sales activity, sales projections, etc. --%>
                    <ItemTemplate>

                          <asp:HiddenField ID="hdnChartID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "id")%>' />
                          <%# DataBinder.Eval(Container.DataItem, "chartName")%>

                             <asp:Repeater ID="rptChartTypes" runat="server"> <%-- bar, line, etc. --%>
                                <ItemTemplate>

                                      <asp:Label CssClass="chartID" runat="server" text='<%# DataBinder.Eval(((RepeaterItem)Container.Parent.Parent).DataItem, "id")%>' style="display:none"></asp:Label>
                                      <asp:Label CssClass="chartTypeID" runat="server" text='<%# DataBinder.Eval(Container.DataItem, "id")%>' style="display:none"></asp:Label>
                                      <a href="#" data-bind="click: function(data, event) { $root.addChart( $($element).parent().find('.chartID').text(), $($element).parent().find('.chartTypeID').text() ); }" class='<%# DataBinder.Eval(Container.DataItem, "chartTypeCSS")%>'>

                                </ItemTemplate>
                             </asp:Repeater>

                    </ItemTemplate>
                </asp:Repeater>

 <%--/foreach: tabs--%>

——
Ed Pirone
Director of Digital Media @ SharpHat
o.<PHONE_NUMBER> ext. 205
c.<PHONE_NUMBER>
<EMAIL_ADDRESS>SharpHat Inc.
333 Sylvan Ave. Suite 324
Englewood Cliffs, NJ 07632
www.sharphat.com

On Mar 12, 2015, at 12:02 PM, Glavin Wiechert<EMAIL_ADDRESS>wrote:
Could you please provide me with some sample code I can write tests for? Thank you.
It can be as simple as a Hello World kind of thing.
—
Reply to this email directly or view it on GitHub https://github.com/Glavin001/atom-beautify/issues/230#issuecomment-78510517.

——
Ed Pirone
Director of Digital Media @ SharpHat
o.<PHONE_NUMBER> ext. 205
c.<PHONE_NUMBER>
<EMAIL_ADDRESS>SharpHat Inc.
333 Sylvan Ave. Suite 324
Englewood Cliffs, NJ 07632
www.sharphat.com

On Mar 12, 2015, at 12:02 PM, Glavin Wiechert<EMAIL_ADDRESS>wrote:
Could you please provide me with some sample code I can write tests for? Thank you.
It can be as simple as a Hello World kind of thing.
—
Reply to this email directly or view it on GitHub https://github.com/Glavin001/atom-beautify/issues/230#issuecomment-78510517.

Sidenote. It is insane how responsive you are to all of this. I’d be happy to donate if you have an option like that. Nothing crazy but I know every dollar helps.
——
Ed Pirone
Director of Digital Media @ SharpHat
o.<PHONE_NUMBER> ext. 205
c.<PHONE_NUMBER>
<EMAIL_ADDRESS>SharpHat Inc.
333 Sylvan Ave. Suite 324
Englewood Cliffs, NJ 07632
www.sharphat.com

On Mar 12, 2015, at 12:02 PM, Glavin Wiechert<EMAIL_ADDRESS>wrote:
Could you please provide me with some sample code I can write tests for? Thank you.
It can be as simple as a Hello World kind of thing.
—
Reply to this email directly or view it on GitHub https://github.com/Glavin001/atom-beautify/issues/230#issuecomment-78510517.

That looks sufficiently like HTML, so let's try something:

change Atom's grammar: control + shift + L
select grammar HTML
Beautify this file

Let me know how that looks.

Sidenote. It is insane how responsive you are to all of this. I’d be happy to donate if you have an option like that. Nothing crazy but I know every dollar helps.

Thank you, I appreciate it. I currently do not have any option to donate. Just happy to help my fellow developers :smiley:.

Apparently you’re a wizard. Thank you. Send the donation link :)
——
Ed Pirone
Director of Digital Media @ SharpHat
o.<PHONE_NUMBER> ext. 205
c.<PHONE_NUMBER>
<EMAIL_ADDRESS>SharpHat Inc.
333 Sylvan Ave. Suite 324
Englewood Cliffs, NJ 07632
www.sharphat.com

On Mar 12, 2015, at 12:17 PM, Glavin Wiechert<EMAIL_ADDRESS>wrote:
That looks sufficiently like HTML, so let's try something:
change Atom's grammar: control + shift + L
select grammar HTML
Beautify this file
Let me know how that looks.
Sidenote. It is insane how responsive you are to all of this. I’d be happy to donate if you have an option like that. Nothing crazy but I know every dollar helps.
Thank you, I appreciate it. I currently do not have any option to donate. Just happy to help my fellow developers .
—
Reply to this email directly or view it on GitHub https://github.com/Glavin001/atom-beautify/issues/230#issuecomment-78513983.

Apparently you’re a wizard.

Awesome! Glad it worked out.

Thank you. Send the donation link :)

Your thanks is all I need :smiley:.
To help others writing ASP.NET Web Form Control code like yourself, I want to officially add support for this fix. Can you confirm that this is the language you installed into Atom? https://github.com/jbalboni/atom-language-aspx
Supports grammars: Web Form/Control (C#) and Web Handler (C#).
I am going to add those grammars such that any future user (including yourself) can continue to use those grammars listed above and it will correctly beautify.

Yessir. Thats the one.
——
Ed Pirone
Director of Digital Media @ SharpHat
o.<PHONE_NUMBER> ext. 205
c.<PHONE_NUMBER>
<EMAIL_ADDRESS>SharpHat Inc.
333 Sylvan Ave. Suite 324
Englewood Cliffs, NJ 07632
www.sharphat.com

On Mar 12, 2015, at 12:27 PM, Glavin Wiechert<EMAIL_ADDRESS>wrote:
Apparently you’re a wizard.
Awesome! Glad it worked out.
Thank you. Send the donation link :)
Your thanks is all I need .
To help others writing ASP.NET Web Form Control code like yourself, I want to officially add support for this fix. Can you confirm that this is the language you installed into Atom? https://github.com/jbalboni/atom-language-aspx https://github.com/jbalboni/atom-language-aspx
Supports grammars: Web Form/Control (C#) and Web Handler (C#).
I am going to add those grammars such that any future user (including yourself) can continue to use those grammars listed above and it will correctly beautify.
—
Reply to this email directly or view it on GitHub https://github.com/Glavin001/atom-beautify/issues/230#issuecomment-78517255.

Published to v0.21.6
Please give that a shot (revert your selected Atom grammar back to Web Form/Control (C#) and the rest of your files should work and beautify as HTML now out of the box :+1:.

@edpirone I believe that with the latest version (v0.27.3) this may be broken. This is because I forgot to create a new Language and add the grammar Web Form/Control (C#) to it, such that Atom Beautify detects it as being a supported file.
While js-beautify still knows to apply beautification to those files, (see https://github.com/Glavin001/atom-beautify/blob/573a949b6f09a629d1ca42db4bcee0965be76c9b/src/beautifiers/js-beautify.coffee#L33 ), Atom Beautify will never get to that point without a Language created.

Haven't had any issues with it as of yet.

And you are updated to v27.4? Interesting. Well that's great! I'm still going to revisit this just to make sure that I did not break anything with #282. Thanks!


Opening a folder makes my sidebar stuck

After I open and then close a folder, spotify wont let me scroll in the sidebar, unless I open the folder. I can scroll completly fine in any folder but not if  I close a folder again. After opening and then closing, the scrollbar disappears and makes me stuck, so that I can see the first few playlists. I can still open the folder tho, just can't scroll to the playlists at the bottom if a folder is opened.

It works now, probably broken bcs it was on the newest spotify version

thanks for reaching out @ibimcoll
let us know if you need any further assistance!


I found ArrayIndexOutOfBoundsException exception in jnats

java.lang.ArrayIndexOutOfBoundsException
at io.nats.client.Message.(Message.java:64)
at io.nats.client.ConnectionImpl.processMsg(ConnectionImpl.java:1452)
at io.nats.client.Parser.parse(Parser.java:229)
at io.nats.client.ConnectionImpl.readLoop(ConnectionImpl.java:1371)
at io.nats.client.ConnectionImpl$7.run(ConnectionImpl.java:1164)
at io.nats.client.ConnectionImpl$6.run(ConnectionImpl.java:1142)
buf.length=65536, offset=0, data.length=7704, length=7705

Exception throws here:

try {
System.arraycopy(buf, offset, data, 0, length);  // here
} catch (ArrayIndexOutOfBoundsException e) {
System.err.printf("buf.length=%d, offset=%d, data.length=%d, length=%d\n, buf=[%s]",
buf.length, offset, data.length, length, new String(buf, offset, length));
e.printStackTrace();
}

data.length=7704 but want copy 0-7705 ?
the buffer here:
buf=[20160908153544 {"cluster":"abcabcee","nfsd":{"readbytes":0.00,"writebytes":0.00},"nfs0":{"server":"<IP_ADDRESS>","vers":"4","serverpoint0":"/mnt/YWFZ1/share/YWFZ1","mountpoint0":"/hongshan1","serverpoint1":"/mnt/YWFZ2/share/YWFZ2","mountpoint1":"/hongshan2","events":{"inoderevalidate":0.0,"dentryrevalidate":0.0,"datainvalidate":0.0,"attrinvalidate":0.0,"vfsopen":0.0,"vfslookup":0.0,"vfsaccess":0.0,"vfsupdatepage":0.0,"vfsreadpage":0.0,"vfsreadpages":0.0,"vfswritepage":0.0,"vfswritepages":0.0,"vfsgetdents":0.0,"vfssetattr":0.0,"vfsflush":0.0,"vfsfsync":0.0,"vfslock":0.0,"vfsrelease":0.0,"congestionwait":0.0,"setattrtrunc":0.0,"extendwrite":0.0,"sillyrename":0.0,"shortread":0.0,"shortwrite":0.0,"delay":0.0,"pnfs_read":0.0,"pnfs_write":0.0},"bytes":{"normalreadbytes":0.0,"normalwritebytes":0.0,"directreadbytes":0.0,"directwritebytes":0.0,"serverreadbytes":0.0,"serverwritebytes":0.0,"readpages":0.0,"writepages":0.0},"rpc":{"null":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queuemeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"destroy_session":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"sequence":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"get_lease_time":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"reclaim_complete":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"layoutget":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"getdeviceinfo":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"layoutcommit":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"layoutreturn":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"secinfo_no_name":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"test_stateid":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"free_stateid":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"getdevicelist":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"bind_conn_to_session":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"destroy_clientid":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0}}},"nfs_all_in":0,"nfs_all_out":0,"nfs_page_in":0,"nfs_page_out":0,"nfs_pkg_in":0,"nfs_pkg_out":0,"hostname":"node1608","ip":"<IP_ADDRESS>","timestamp":1474573351647,"hostid":"8A431260-1DAC-11E5-96CC-199F18968E279943"}
MSG abcabcee.load.nfs 1 7704
20160908153544 {"cluster":"abcabcee","nfsd":{"readbytes":0.00,"writebytes":0.00},"nfs0":{"server":"<IP_ADDRESS>","vers":"4","serverpoint0":"/mnt/YWFZ1/share/YWFZ1","mountpoint0":"/hongshan1","serverpoint1":"/mnt/YWFZ2/share/YWFZ2","mountpoint1":"/hongshan2","events":{"inoderevalidate":0.0,"dentryrevalidate":0.0,"datainvalidate":0.0,"attrinvalidate":0.0,"vfsopen":0.0,"vfslookup":0.0,"vfsaccess":0.0,"vfsupdatepage":0.0,"vfsreadpage":0.0,"vfsreadpages":0.0,"vfswritepage":0.0,"vfswritepages":0.0,"vfsgetdents":0.0,"vfssetattr":0.0,"vfsflush":0.0,"vfsfsync":0.0,"vfslock":0.0,"vfsrelease":0.0,"congestionwait":0.0,"setattrtrunc":0.0,"extendwrite":0.0,"sillyrename":0.0,"shortread":0.0,"shortwrite":0.0,"delay":0.0,"pnfs_read":0.0,"pnfs_write":0.0},"bytes":{"normalreadbytes":0.0,"normalwritebytes":0.0,"directreadbytes":0.0,"directwritebytes":0.0,"serverreadbytes":0.0,"serverwritebytes":0.0,"readpages":0.0,"writepages":0.0},"rpc":{"null":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"read":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"write":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"commit":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"open":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"open_confirm":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"open_noattr":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"open_downgrade":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"close":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"setattr":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"fsinfo":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"renew":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"setclientid":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"setclientid_confirm":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"lock":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"lockt":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"locku":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"access":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"getattr":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"lookup":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"lookupp":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"remove":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"rename":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"link":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"symlink":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"create":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"pathconf":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"statfs":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"readlink":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"readdir":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":0.0,"bytes_recv":0.0,"queue":0.0,"rtt":0.0,"execute":0.0},"server_caps":{"ops":0.0,"trans":0.0,"timeouts":0.0,"bytes_sent":u.0,"b0y.t0,"_retes_s0e.n0t,""]

Good catch -- thank you!

@chilly Besides the OOBE problem, there appears to be a parsing problem here. In your output, buf contains the last half of one message, and the first half of the next one. That would be OK, if offset marked the beginning of a message body, but it doesn't.
Can you reproduce this problem every time? If so, can you give me an [MCVE] (http://stackoverflow.com/help/mcve) that demonstrates it?
Thanks in advance!

It would also be useful to know what charset encoding you are using.

ascii only.  I have already write correct simple nats java client for the parser. In your code, multi-thread will throws the exception. I tried to lock the parse part, but failed. So I write my own parse. I paste here.  The solution is very different with your code. And I Hope you will get my idea.
only one thread  call loop(). And only one thread call in.read() method.
If you want use multi-thread for speeding up parsing, you can use SUB queue command.

public void loop() {
while (true) {
try {
            int tmp = -1;
            Status s = new Status();
            Topic msgTopic = new Topic();
            while (( tmp = in.read() ) != -1) {
                // MSG
                char c = (char) tmp;
                if (!s.isEnd() && !s.update(c)) {  // update call for state machine
                    continue;
                }

                // PING
                if (s.isPing()) {
                    NatsThreadPool.submit(new Runnable() {
                        @Override
                        public void run() {
                            doPong();
                        }
                    });
                    s.clean();
                    continue;
                }

                if (!msgTopic.isTopicEnd() && !msgTopic.update(c)) {  // update call for state machine
                    continue;
                }

                byte[] b = new byte[msgTopic.getLength()];
                b[0] = (byte) c;
                int off = 1;
                int len = b.length - 1;
                int l = 0;
                while (( l = in.read(b, off, len) ) != -1) {
                    off += l;
                    len -= l;
                    if (len == 0) {
                        break;
                    }
                }
                if (len == 0) {
                    final String subject = msgTopic.getTopic();
                    final String mysid = msgTopic.getSid();
                    final int length = msgTopic.getLength();
                    NatsThreadPool.submit(new Runnable() {
                        @Override
                        public void run() {
                            handler.process(new Msg(subject, mysid, length, b));
                        }
                    });
                }
                msgTopic = new Topic();
                s.clean();
            }
        } catch (IOException e) {
            logger.warn("some io error.", e);
            if (!reConnect()) {
                return;
            }
        } catch(Exception e) {
            logger.warn("some error",e);
        }
    }
}

Apologies, but I do not understand what you are saying, especially the 'your code'/'my code' part. Is the problem you initially reported above something that occurred while running a client that is using the public interfaces of the jnats client contained in this repository?
The particular piece that is confusing me is your mention of multi-threaded access. Although jnats supports multi-threaded clients, each Connection has a single read loop thread, which reads from a single socket connection, and executes the Parser to create Message objects that are then distributed to (processed by) a Subscription.
Can you give me a simple jnats client publisher and subscriber (based on the implementation and public interfaces contained in this repo) that will reproduce (even sometimes) the exception you reported above?
Thanks in advance.


Adding the contributors page to mention all the awersome people who have contributed to the website. (WEBSITE)

Adding the contributors page to mention all the awersome people who have contributed to the website.
@notsoocool Assign this to me under gssoc 2024 ext and hacktoberfest i will work on this issue.

Hi @tarunkumar2005 ,
I noticed that you've raised the same issue twice. I understand that communication can sometimes be frustrating, especially when waiting for a response. However, raising duplicate issues can clutter our workflow and make it harder to track problems effectively.
This serves as a warning for this instance. In the future, I kindly ask that you refrain from raising duplicate issues, as it may lead to action being taken on my part.
Thank you for your understanding, and I appreciate your contributions to the project.

@notsoocool I am sorry for this i didn't saw that i raised this on two different days so i forgot i have already raised it that's why but i will keep this in mind next time so sorry for this.


Await not working with post request

#### Summary
Hello!
Well, apparently although axios can be used with "async/await" promises for GET requests (as mentioned in one issue and linked example), when I try to do the same for POST request, it actually doesn't do anything (no request sent).
Could you please check it out? Thank you.
#### Context

axios version: 0.16.1
Environment: Node 7.6.0, Chrome 59, Windows 10

Invalid, my bad :-(


ADD: Integrate with media browser

This adds support for media browsing and playing from other components in HA
If both mopidy and HA have spotify support, also show the HA component

Awesome! Thank you very much for contributing!


add wgu key

Thanks! Merging. (Don't forget, if you're using a wallet like LCW, it caches the registry, so you'll at least need to reload the app)

Thanks!


Cancelling game download prior to completion does not clean up partially downloaded chunks of the game archive

Describe the bug
When downloading a game archive, multiple files are created as the game is downloaded. These files are later merged into one, but if the download process is cancelled before that, the remaining chunks should be deleted as well. However, this does not happen due to these files still being used by the application.
To Reproduce
Steps to reproduce the behavior:

Begin a fresh download of the game
Cancel the download
Check the download directory - the partially downloaded files still remain

Expected behavior
Calling DeleteMultisessionFiles() should ensure or wait for the release of these files and then delete them. Currently, it simply ignores any exceptions when it tries to delete the files.
Screenshots
I've added a simple debug output to the DeleteMultisessionFiles() function, which made it clear what the issue is.

Hi,
This issue should have been fixed in the latest commit. I also pushed a PR to apply fixes on your project here: https://github.com/BuIlDaLiBlE/BetterHI3Launcher/pull/77
Closing this issue for now.


chore: added secrets input to tfaction/js

Check List

[x] Read CONTRIBUTING.md

[x] Read OSS Contribution Guide

[x] Write a GitHub Issue before creating a Pull Request

Link to the issue:

[x] All commits are signed

This repository enables Require signed commits, so all commits must be signed

[x] Avoid force push
[x] Do only one thing in one Pull Request

Hi @suzuki-shunsuke
In tfaction v1.13.4, the following warning appeared when using export-secrets in tfaction/js.
Warning: Unexpected input(s) 'secrets', valid inputs are ['action', 'labels', 'skip_label_prefix', 'pr_author', 'changed_files', 'config_files', 'config', 'module_files', 'pull_request', 'module_callers', 'plan', 'github_token']

Probably, this is because TypeScript refers to inputs that are not defined in action.yaml
https://github.com/suzuki-shunsuke/tfaction/blob/952fc2e30a83ae774f0218486e86b6d71b0adb53/js/src/export-secrets/index.ts#L50

Oh, nice catch!
Thank you.

🎉 https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.13.5


Build Fail on Windows 10

Godot version: 3.2 RC 2
OS/device including version: Windows 10
Issue description: Build failing on Windows Developer Powershell for VS2019 and normal powershell, with vsproj=yes. without vsproj=yes build works but uses mingw instead of msvc
Steps to reproduce:
scons -j12 platform=windows vsproj=yes
Configuring for Windows: target=debug, bits=default
Using MinGW
UnsupportedVersion: Unknown version None:
  File "D:\godot\SConstruct", line 529:
    methods.generate_vs_project(env, GetOption("num_jobs"))
  File "D:\godot\methods.py", line 528:
    batch_file = find_visual_c_batch_file(env)
  File "D:\godot\methods.py", line 514:
    return find_batch_file(env, version, host_platform, target_platform)[0]
  File "C:\Users\senpai\scoop\apps\scons\3.1.2\scons-local-3.1.2\SCons\Tool\MSCommon\vc.py", line 407:
    pdir = find_vc_pdir(msvc_version)
  File "C:\Users\senpai\scoop\apps\scons\3.1.2\scons-local-3.1.2\SCons\Tool\MSCommon\vc.py", line 368:
    raise UnsupportedVersion("Unknown version %s" % msvc_version)

Minimal reproduction project:
Vanilla

@sin3point14  - Can you try the devel scons build I just posted on testpypi? It should resolve this issue.  Note you need python 3.5+
pip install --index-url https://test.pypi.org/simple/ scons==3.1.3.dev20200205165450

@sin3point14 @bdbaddog @akien-mga
should'nt just simply run vcvars64.bat before scons to set all required vars ?
example for building x64 godot on x64 Windows 10 host machine
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
cd godot-3.2
call scons -j5 platform=windows tools=yes target=release_debug vsproj=yes

VS have all scripts ready for it in c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\
You can chose from these scripts if you want x86 arc or x64 or even cross build 64 from x86 host ect.
Additionally vars are set temporarly, just for this build without messing up machine's global settings.

I had this exact scons+vs2019 problem (UnsupportedVersion: Unknown version None:) some days ago. Microsoft Visual Studio 2019 has the terrible habit of "hidding itself" from the system. Even though it is installed, even if you can launch it successfully, for several other purposes (like scons) it will count as if it where not installed. I couldn't get what triggers this to happen, but it always happens after some time. You can see if this has happened if you execute the visual studio installer and it gives you the option to "install" (instead of update") visual studio. Usually I just install it again to solve the problem, just delete the old visual studio folder (because you won't be able to install if the expected install folder already exists) and install again. Probably it could be solved by reverting whatever visual studio made, probably it changed a registry key or environment variable, but I have yet to find what it does do hide itself.


lang: add owner and lamports methods to account types

added a blanket implementation of an Info trait with .lamports() and .owner() methods to everything that implements AsRef<AccountInfo<'info>>
removed all references to #name.to_account_info().lamports()/owner from the lang codebase
fixes #1249
not sure if Info is a good trait name for this but couldn't think of anything better

@udbhav1 Split them up. Owner and Lamports traits. That said, there's already an Owner trait which does exactly what we need. So you could just implement Owner for all T where T: AsRef. But usually this owner trait is used for something else. I dont think this can cause problems but best to get a second opinion. @armaniferrante ?

fwiw, the existing Owner trait's owner() method doesn't take self as a param
and attempting to define impl<'info, T: AsRef<AccountInfo<'info>> > Owner for T gets me the following error:
conflicting implementations of trait `Owner` for type `solana_program::bpf_loader_upgradeable::UpgradeableLoaderState'

not sure if there's an easy way around that

@udbhav1

fwiw, the existing Owner trait's owner() method doesn't take self as a param

oh right. thats great! then you can actually implement a new Owner trait. Maybe call it something like InfoOwner to indicate that it returns the owner of the underlying AccountInfo.

split them up and tests pass locally at least
had to make the signature fn owner(&self) -> &'info Pubkey since all the instances of '#name.to_account_info().owner' originally expect a '&Pubkey' and not a 'Pubkey'
not sure about adding the lifetime though since that's where my rust knowledge gets shaky - lmk if that's an issue

latest commit removes the new traits and just uses #name.as_ref().lamports()/owner in the lang codebase to replace #name.to_account_info().lamports()/owner
i was under the assumption that the original issue wanted to avoid .to_account_info() to save compute cost from the .clone() it does, so this seems to still accomplish that? if not then feel free to close this pr

@udbhav1 yes, the intention was to avoid the clone and as_ref does that.
looks like you didnt include lamports() though if Im not mistaken. apart from that it looks good to me.
you can fix the tests by merging master into your branch

@paul-schaaf I asked for the removal of lamports(). Not sure if we want to increase the api surface when one can just call as_ref().lamports(). Though let's merge this in first and bikeshed the method adding after.

@armaniferrante yes im aware. sorry I wasnt clear in my message. I meant to say that there was a to_account_info().lamports left that could be made into as_ref().lamports()


i cant run kickthemout.py in any way. Help!

Checklist for submitting an issue to KickThemOut:

[x] I have carefully read the README file and haven't managed to resolve my issue.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] I am running the latest version of KickThemOut.

Kali Linux:
python 2.7.14:
idk:
lastest:
Link of Gist:

**im trying to start the kickthemout.py but i get something like this:

root@Kali:~/Desktop/kickthemout# sudo python3 kickthemout.py
ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions.
If you still cannot resolve this error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues
Details: No module named 'scapy'
and if i try installing the requirements.txt i get this:
Requirement already satisfied: scapy-python3 in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 1))
Requirement already satisfied: python-nmap in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 2))
Requirement already satisfied: netifaces in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 3))
i have tried all of these commands:

sudo -H python3 -m pip3 install -r requirements.txt
sudo -H pip3 install -r requirements.txt
sudo python kicktehmout.py
sudo python3 kickthemout.py
sudo python2 kickthemout.py

im trying to fix this for like 4 hours right now...
can somebody help  me maybe?
**:

Hi there @olekmorawski. What error do you get when running sudo -H python3 -m pip3 install -r requirements.txt?

@k4m4 i get: no module named pip3

Sorry, I meant sudo -H python3 -m pip install -r requirements.txt.

@k4m4
cmd:
root@Kali:~/Desktop/kickthemout# sudo -H python3 -m pip install -r requirements.txt
Requirement already satisfied: scapy-python3 in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 1))
Requirement already satisfied: python-nmap in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 2))
Requirement already satisfied: netifaces in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 3))
root@Kali:~/Desktop/kickthemout# sudo apt-get install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (9.0.1-2).
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

Do you get the same error if you run sudo python3 kickthemout.py?

@k4m4  still says no module named scapy

@k4m4 hello ! i was searching for some help thought was the only one having those issues.. and i ended up here , i have the same exactly error
/kickthemout# sudo python3 kickthemout.py
ERROR: Requirements have not been satisfied properly. Please look at the README file for configuration instructions.
If you still cannot resolve this error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues
Details: No module named 'scapy'

root@debian:~/Documents/kickthemout# sudo -H python3 -m pip3 install -r requirements.txt
/usr/bin/python3: No module named pip3
HELP ME

This has developed into a duplicate of Issue #249. Please refer to #249 for more information on this. Thanks!

pleasee help..
Scanning your network, hang on...
ERROR: Network scanning failed. Please check your requirements configuration.
If you still cannot resolve this error, please submit an issue here:
https://github.com/k4m4/kickthemout/issues
Details: module 'nmap' has no attribute 'PortScanner'

how to defend from kickthemout?

try this command :
pip3 install scapy


Fail to add a new setting with name as GB18030 language for the Linux Function App

OS: Win10
Build Version: 20201009.2
GB18030: All
Repro Steps:

Create a new Linux Function App.
Right click the "Application Settings" node --> Click "Add New Setting..."--> Enter the name with GB18030 language.
Check the result.

Expect:
Succeed to add the new setting without any error.
Actual:
Fail to add the new setting.

More Info:

This issue doesn't reproduce for Windows Function App.
Succeed to upload a new setting with name as GB18030 language for a Linux Function App.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Question/enhancement: in x9_inbox_internal struct, perhaps you can allocate name as a flexible array member?

Currently there are 32 bytes used: 8 for the 'name' pointer and 24 for padding. Instead, perhaps you can define name as [], allocate it (inc. padding for alignment) as part of the allocation of x9_inbox_internal?
You'll save an allocation/de-allocation call, few bytes, but more importantly, they'll be close to each other (so name is not a pointer away to when you access it).

Same for node->inboxes[] ?

Hi.
It would conflict with x9_node.
See here
Structures with a flexible array member can be used to produce code with defined behavior.
However, some restrictions apply:

1. The incomplete array type must be the last element within the structure.
2. There cannot be an array of structures that contain a flexible array member.
3. Structures that contain a flexible array member cannot be used as a member of another structure.
4. The structure must contain at least one named member in addition to the flexible array member.

DF


Implement Datadog App

Datadog Apps:  It's currently in Beta - you can read more about them in the documentation and view our keynote video that shows off some app examples. Additionally, here's the github repo for Apps with additional Getting Started info, FAQs, etc.
Marketplace: Marketplace documentation which gives you an overview of the development process for creating and publishing Flagsmith commercial tile on the Marketplace.

@dabeeeenster Unless this is different to what we've implemented I think this can be closed?

👍


Save/load memory with DQN player

Is your feature request related to a problem? Please describe.
I wish to be able to load the sequence memory which loading a model and its weights, so that I can continue to train the model on a new environment.
Describe the solution you'd like
The memory to be saved/loaded whenever the model/weights are.

ade5e736dc62b70f85871e6c7d242689f8fba548 fixes this


Need to add the supplier name to formats

The customer name is relevant to the supplier, but the supplier name is more relevant to the broker. If we had a list of commission files in a folder, it would be impossible to determine which ones came from which organisation.

Should also have a company reg. number in the header so the data is easier to match to suppliers (instead of having to use fuzzy text matching)


fix: accept 201 on command creation

2021-08-19T23:48:34.018+0100    INFO    oscen/main.go:49        setting up discord client
2021-08-19T23:48:34.327+0100    INFO    oscen/main.go:60        connected to discord    {"username": "Oscen(dev)"}
2021-08-19T23:48:34.337+0100    INFO    router  interactions/interactions.go:50 registering command with router {"name": "np"}
2021-08-19T23:48:34.337+0100    INFO    router  interactions/interactions.go:50 registering command with router {"name": "register"}
2021/08/19 23:48:34 expected 200, got 201: {"id": "878047824493817856", "application_id": "876893270934945824", "name": "np", "description": "Shows your currently playing track", "version": "878047824493817857", "default_permission": false, "type": 1}
exit status 1

According to the Discord docs it should be ONLY a 201, so we can omit the 200
https://discord.com/developers/docs/interactions/application-commands#create-global-application-command


setting up Angular-auth2-oidc using Identity server 4 for SSO

I am trying to implement SSO using angular-oauth2-oidc. I am using angular version 5 due to some dependancy.
hence installed auth2-oidc package with version 3.
While redirecting from identity the url is appending with url + 'id_token= encrypted token'.
Because of this i am not landing to my redirect url as it is not valid url.
can anyone help me here to remove this id_token from url.

Sorry to hear you're having issues. Version 5 is quite a few major versions back though, not sure if the community here can really provide support for it, but maybe someone can chip in.
Either way, without steps and code to reproduce your scenario, it's not easily possible (or fun/convenient) to help out.

import { AuthConfig} from 'angular-oauth2-oidc';
export const authConfig : AuthConfig = {
issuer : 'https://localhost:44384',,
redirectUri :'http://localhost:4900/#/Home',
clientId : 'spa-demo-client' ,
scope : ' openid profile email' ,
requestAccessToken : false,
responseType:'code'

}
This is how i have setup my AuthConfig . I am expecting the redirect Uri as mentioned above.
But i am getting the redirect as 'http://localhost:4900/#/Home/id_token= encrypted token'
i want to restrict this id_token to append in redirect uri from identity.

Can anyone help me here. Please let me know if need any further info for reproducing the scenario.
note : I am using locally hosted identity Server 4.


TukUI/ElvUI do not download

After TukUI's removal of version information on its homepage, TukUI has also changed the download logic for both of its addons. They now require a click on the download button that sends an API call to serve the correct download.
We should implement Selenium's click() function on the download button element.

https://github.com/Lesona-Systems/Underwolf/tree/tukui-fix


Airline tender theme is not loaded by default

Expected Behavior

The tender theme for airline should be loaded whithout issues in establishing the following Inside the init.vim file:
colorscheme tender
let g:airline_theme = 'tender'

Current Behavior

When I attempting to load this theme I get the following error message: Could not resolve airline theme "tender". Themes have been migrated to github.com/vim-ariline/vim-ariline-themes.. Because of this, the airline default theme is loaded instead.
Context

Before this commit, the tender theme was loaded without any problem by airline through vim-plug.
My Environment

vim, neovim, gVim, MacVim, ...?: NeoVim
Version used: 0.1.6
Environment name and version (terminal, tmux, ...): Konsole/Sakura terminal + Tmux
Operating System and version: GNU/Linux x86_64

I am on the same environment you are working with v0.2.0 but I cannot reproduce your error. Could you try with @noharp version (https://github.com/noharp/tender.vim) and let me know if that fixes the error please?

Hi!
I tried what you suggested to me but I was not lucky, The error message still continues to appear and the airline theme is not loaded.

Would be a good idea to port the airline theme to the repo where all the other themes are now: https://github.com/vim-airline/vim-airline-themes

I have same problem on NeoVim latest version, and I try to update
https://github.com/jacoborus/tender.vim/blob/master/autoload/airline/themes/tender.vim#L40-L42
let s:CP1 = [ "", "", ,  ]
let s:CP2 = [ "", "", ,  ]
let s:CP3 = [ "", "", ,  ]

to
let s:CP1 = [ "", "", 0, 0]
let s:CP2 = [ "", "", 0, 0]
let s:CP3 = [ "", "", 0, 0]

And It works.

@aar0nTw It works like a charm!

Thanks @aar0nTw ! I will fix Estilo and Tender tonight


[Change request] To redesign material card view

As a User I want to see redesigned material cards so that I could understand what material is about before opening
Description
It is 5 styles for material cards.
New design of the material cards is available on the Figma link.
Use design from the top of the page - cards on dark grey background. Green label "Status: Approved" is obligatory to start development.

The Materials Card is a reusable requirement, so it is described in the doc.
Acceptance Criteria
1. Rules of using card style
Style depends on the type and origin of the material. If material is used in the Important section it uses the 5th style no matter what are the type and origin of the material.

Material card style
Material type
Material origin
Where to use

Style 1
Video
Any
Main page; Materials page; Author profile

Style 2
Article, Note
«Медитека»
Main page - Newest section; Materials page; Author profile

Style 3
Article, Note
«Переклад»
Main page - Newest section; Materials page; Author profile

Style 4
Article, Note
«Думка експерта»
Main page - Newest section; Materials page; Author profile

Style 5, important section card
Any
Any
Main page - Important section; Admin`s panel

2. Card image
“Card image” – image loaded by Admin in special section of editor during creating or editing the Material. The background image is used for the Material card and is NOT used on the Material page.

Material    card style
Loaded    “card image”
Draft

Style 1
Obligatory; by default card image   = preview image of the video (preview chosen on Youtube), admin can load other image

Style 2
Loaded obligatory

Style 3
Loaded obligatory

Style 4
Any status

Style 5
Loaded obligatory

3. Objects on the cards of different styles
The material card of Style 1 displays:

The Material origin by means of the pictogram "Play"
The Card image
The Material title
The Material text description
Date of the publication

The material card of Style 2 displays:

The Material origin
The Card image
The Material title
The Material text description
Date of the publication

The material card of Style 3 displays:

The Material origin
The Card image
The Material title
The Authors name
The Authors bio
The Material text description
Date of the publication

The material card of Style 4 displays:

The Material origin
The Authors name
The Authors photo
The Authors bio
The Material title
The Material text description
Date of the publication

The material card of Style 5 displays:

The Authors name
The Authors bio
The Material title
The Material text description

4. Card sizes

Material card style
width
height

Style 1-4
315 px
depends on content, has no min and max values for the 1st release

Style 5
1305 px
455 px

5. Navigation
The table shows where users will be redirected after clicking on the objects of the Material card.

Material card style
author`s name
author`s photo
author`s bio
everything else on the card

Style 1
x
x
x
Material (Post) page

Style 2
x
x
x
Material (Post) page

Style 3
Materials page, filter:origin ="Переклад"
Materials page, filter:origin ="Переклад"
x
Material (Post) page

Style 4
Author`s profile
Author`s profile
Author`s profile
Material (Post) page

Style 5
Author`s profile
x
Author`s profile
Material (Post) page

Legend: “х” – means that the Material card does not contain the element.
Reason for Change:
Receiving design from client`s side.
Used in: US #196, #216, #224, #229, #255

BA checked


Kadira Debug Support for Production Apps

We also need a method to clean all the sessions. Then Kadira Debug UI can invoke it to clean sessions.

Updated.
** except cleanAllSession method

added Session Authorization for createAccessToken method + change test case according to that

Some core changes:

Prefix all the method/pubsub names like this:

kadira.debug.admin - If called from the Kadira Debug UI

kadira.debug.client - If called from the the App's client

Create two functions to authorize for admin and client

If development no check allow access
If session is marked as authenticated, allow access
If not throw an Meteor.Error("401")

Use it on top of the all the method/pubsub calls

Add these test cases

Client - Test queryparams getting code

Authentication based on access token

success
failed
on development
delete the code when the publication stops

Authorize based on the access token

if the session authorize
if not
on development

Access Token Management

create it
reset it

Authentication based on authKey

on development
if key does not match
if key matches
delete the code when the publication stops

Trace Store

do not track method traces coming from not registered sessions

do not track pubsub traces coming from not registered sessions

Updated with;

prefix changes
authorised function
authentication pub/sub

Test cases added.

Test cases updated.
:

“delete the code when the publication stops” tests checking in “Authentication based on access token - success’  and “Authentication based on authKey - Success”
Access Token Management  - reset it : no different method for reset,

[ ] set pre-loader for traces and Debug URL generation
[ ] add LRU cache for traces
[ ] add copy to clip board button for debug URL
[ ] bug Once reset, debug session not starts accordingly (sometimes)
[ ] add Full screen Icon and
[ ] remove “We love your feedback link”
[ ] add Create Debug Session button instead of Link
[ ] move reset button to right


Small changes to improve workflow

Added the Knob helper functions.
When clicking on an output node the new node is now created aligned with the previous node rather than on top of the output node.
Now recreates the editor window automatically after script reload, still looses the data.
Sets the default node name to the nicified(tm) class name.
Hides a few more internal data items from the inspector.

Cool, have to take a closer look on what's going on tomorrow! Regarding the convenience methodes, especially the EditorGUI imitations, please make a seperate (extension-)class out of them. We can use them everywhere not just in the NodeGUI, and don't want to clutter Node with them;)

Wow, seems like I should branch before I make a pull request.... you also got my wip stuff that could break existing integrations!
I never meant for the last four commits to be merged!!!

Oups:O Nvm, the latest four may be wip but they proved usefulxD Nothing broke afaik. In the worst cas I could have undone the merge.


[WWE.com] Extract upload date?

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2019.02.18

Before submitting an issue make sure you have:

[ ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones
[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.02.18
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Is there anyway for the WWE.py to extract the upload date and be able to label them in the file name? I notice that when you go to wwe.com/videos below it says the date of which the video was uploaded. However in Youtube-DL you are unable to extract this information. Would it be possible for someone to add this?


Hide changes to go.sum by default from GitHub diffs

This instructs GitHub's code review UI to hide go.sum diffs as
"generated", and avoids unnecessary scrolling for reviewers.
/kind misc
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[n] Includes tests (if functionality changed/added)
[n] Includes docs (if user facing)
[y] Commit messages follow commit message best practices
[y] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
NONE

how about go.mod? 😉

/lgtm

how about go.mod? wink

go.mod is "less" generated and more useful than the .sum, I would keep it shown (because we want to see what version are bump, not what sum in shaxxx it leads to)