[Enhancement] Support limit dir size for spill

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 10 / 11 (90.91%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/spill/dir_manager.cpp
3
4
75.00%
[57]

:large_blue_circle:
src/exec/spill/dir_manager.h
2
2
100.00%
[]

:large_blue_circle:
src/exec/spill/log_block_manager.cpp
5
5
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 22 / 27 (81.48%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/spill/log_block_manager.cpp
2
4
50.00%
[172, 173]

:large_blue_circle:
src/exec/spill/dir_manager.cpp
10
13
76.92%
[57, 58, 60]

:large_blue_circle:
src/exec/spill/dir_manager.h
10
10
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 22 / 27 (81.48%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/spill/log_block_manager.cpp
2
4
50.00%
[172, 173]

:large_blue_circle:
src/exec/spill/dir_manager.cpp
10
13
76.92%
[57, 58, 60]

:large_blue_circle:
src/exec/spill/dir_manager.h
10
10
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 22 / 27 (81.48%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/spill/log_block_manager.cpp
2
4
50.00%
[172, 173]

:large_blue_circle:
src/exec/spill/dir_manager.cpp
10
13
76.92%
[57, 58, 60]

:large_blue_circle:
src/exec/spill/dir_manager.h
10
10
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 22 / 27 (81.48%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/spill/log_block_manager.cpp
2
4
50.00%
[172, 173]

:large_blue_circle:
src/exec/spill/dir_manager.cpp
10
13
76.92%
[57, 58, 60]

:large_blue_circle:
src/exec/spill/dir_manager.h
10
10
100.00%
[]

[FE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 22 / 27 (81.48%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/exec/spill/log_block_manager.cpp
2
4
50.00%
[172, 173]

:large_blue_circle:
src/exec/spill/dir_manager.cpp
10
13
76.92%
[57, 58, 60]

:large_blue_circle:
src/exec/spill/dir_manager.h
10
10
100.00%
[]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0


Combined hw description refactor

Combine pin descriptions and hw details struct into one, as they are generally fetched at the same time, and used together, this simplified piggui.rs slightly also.

A refactor I've wanted to do for a while


fuelup update stuck on downloading older version of components

Problem
forc and other components have released a 0.48.1 version - which includes a fix that I was waiting for to get an integration test of mine to pass
However, using fuelup update on the latest toolchain fails to install that version and is stuck on trying to install 0.46.1
I've tried removing ~/.fuelup directory completely and reinstalling to no luck
Steps
I created a minimal Dockerfile to show the behaviour
FROM rust:latest

# Install Fuelup
RUN curl --proto '=https' --tlsv1.2 -sSf https://install.fuel.network/fuelup-init.sh | sh -s -- --no-modify-path

# Print versions
RUN $HOME/.fuelup/bin/fuelup --version
RUN $HOME/.fuelup/bin/forc --version
RUN $HOME/.fuelup/bin/fuel-core --version
RUN $HOME/.fuelup/bin/forc-deploy --version
RUN $HOME/.fuelup/bin/forc-fmt --version
RUN $HOME/.fuelup/bin/forc-lsp --version
RUN $HOME/.fuelup/bin/forc-run --version

Run this with docker build --progress=plain . to see the emitted versions
Possible Solution(s)
No response
Notes
No response
Fuelup version
fuelup 0.20.0

Installed components
latest-x86_64-unknown-linux-gnu
  forc - Up to date : 0.46.1
  fuel-core - Up to date : 0.20.5
  fuel-core-keygen - Error getting version string
  fuel-indexer - Up to date : 0.24.3
fuelup - Up to date : 0.20.0

Nevermind, this is expected behavior as I learned from @calldelegation
latest channel is for latest stable. Using nightly or custom toolchains should fix this.


Persistence on Mac (with Parallels installed) no longer working

Empire Version
2.5
OS Information (Linux flavor, Python version)
Mac 10.13.3
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
When using the stager osx/launchdaemonexecutable the message "Persistence has been installed: ... and "Empire daemon has been written to ... appears but i dont get a new connected Agent. Also when restarting the target no connection is made.
Screenshot of error, embedded text output, or Pastebin link to the error
There is no errror message.
Any additional information

I just reinstalled Empire v 2.3 and with this version persistence is working just fine.

Workarround: i copied alle the version 2.3 modules in the directory python/collection/osx/  to the corresponding version 2.5 directory and this is working just fine in version 2.5 ... including the new record_mic module

Accedialy closed the issue.

Fixed in dev and master.


Erroneous docker file

This docker file can be deleted:
https://github.com/RaythaHQ/raytha/blob/main/src/Raytha.Web/Dockerfile
The one in the base directory is the correct one.

Fixed with v1.0.3


Service type ExternalName getting 503

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
2.5.0
Current Behavior
Some requests issued at ingresses which its backend service with type: ExternalName are getting 503 in about ~15% of total requests.
Kubernetes Version: 1.17.0
Kong ingress Controller: 1.1.1
Expected Behavior
All requests must return 200 or 404.
Steps To Reproduce
---
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
  name: add-authority
  labels:
    app: my-ingress
plugin: request-transformer
config:
  add:
    headers:
    -  'authority: bucket.s3.amazonaws.com'
---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  annotations:
    external-dns.alpha.kubernetes.io/ignore: "true"
    kubernetes.io/ingress.class: kong
    konghq.com/override: my-ingress
    konghq.com/plugins: add-authority
  labels:
    app: my-ingress
  name: my-ingress
spec:
  rules:
  - http:
      paths:
      - backend:
          serviceName: my-service
          servicePort: 80
        path: /endpoint(/.*)?$
    host: domain.com.br

---
apiVersion: v1
kind: Service
metadata:
  name: my-service
  labels:
    app: my-service
  annotations:
    konghq.com/override: my-service
spec:
  type: ExternalName
  externalName: bucket.s3.amazonaws.com
  ports:
  - protocol: TCP
    port: 80

Anything else?

kong-ingress-7c5cfcc6b5-swjq2 kong-proxy 2021/09/29 20:09:00 [error] 23#0: *433506 [lua] prometheus.lua:671: log_error(): Error while setting 'upstream_target_health{upstream="my-service.namespace.80.svc",target="bucket.s3.amazonaws.com:80",address="<IP_ADDRESS>:80",state="unhealthy"}' to '0': 'no memory', client: <IP_ADDRESS>, server: ko
ng_prometheus_exporter, request: "GET /metrics HTTP/1.1", host: "<IP_ADDRESS>:9542"

kong-ingress-7c5cfcc6b5-swjq2 kong-proxy 2021/09/29 20:09:00 [error] 23#0: *433506 [lua] prometheus.lua:671: log_error(): Error while setting 'upstream_target_health{upstream="my-service.namespace.80.svc",target="bucket.s3.amazonaws.com:80",address="<IP_ADDRESS>:80",state="dns_error"}' to '0': 'no memory', client: <IP_ADDRESS>, server: ko
ng_prometheus_exporter, request: "GET /metrics HTTP/1.1", host: "<IP_ADDRESS>:9542"

cc @Kong/team-k8s

Hi @ulyssescb , This issue is fixed in the kong 2.6 version and this GitHub issue is related to 8056. Please upgrade and validate.

Feel free to re-open this issue if you want to append more information.


Drop support for Ruby 2.0

I believe we can allow ourselves to it now :)
This not only means specifying 2.1 as a minimum version in the Gemfile, but also switching from option hashes to proper keyword arguments everywhere, which will greatly enchance documentability and discoverability of features.
On this change, version should be bumped at least to 0.2, I believe.
PS: As a side note, I believe 0.x becames to be a bit odd for library of this size. Maybe we need something like "Roadmap to 1.0" somewhere?..

Agreed. And yes, we should have a roadmap. Maybe we take inspiration from JRuby for this purpose? I've heard quite a few people talk fondly about their release schedules and roadmap.

Let's probably schedule the roadmap creation for August/September? When GSoC will be finished and we'll know where we are.

Yes. Works.


No pytest results with OpenFolder and pytest.ini in subfolder

Describe the bug
When pytest.ini is in a subfolder it overrrides the (root) directory of pytest execution but not pytest discovery. This causes a mismatch of pytestId's and we can't find the test results.
Steps to Reproduce

Create a new python project, enable pytest (project properties->Test->Test Framework)
Add a pytest.ini under the project folder

[pytest]
python_files = test_*.py

Right click "add new item" on the project and add a unit test and name it test_1.py
Now choose "open folder" and select the solution folder you just created above.
After discovery finishes, right click run test "test_1.py"
No test results found

Expected behavior
Test results appear
Additional context and screenshots

Notice the root directory in pytest log below is set to the project folder and not the cwd which is the solution folder
cd C:\Users\bschnurr\source\repos\PythonApplication15
[8/14/2019 2:44:45.411 PM Informational] set PYTHONPATH=C:\Users\bschnurr\source\repos\PythonApplication15;C:\Users\bschnurr\source\repos\PythonApplication15\
[8/14/2019 2:44:45.412 PM Informational] C:\Users\bschnurr\source\repos\PythonApplication8\PythonApplication8\pytestenv\Scripts\python.exe "C:\USERS\BSCHNURR\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0_FE4FEA96EXP\EXTENSIONS\MICROSOFT CORPORATION\PYTHON\16.0.0\testlauncher.py" C:\Users\bschnurr\source\repos\PythonApplication15 pytest "" 0 "C:\USERS\BSCHNURR\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\16.0_FE4FEA96EXP\EXTENSIONS\MICROSOFT CORPORATION\PYTHON\16.0.0\Packages" dummyfilename .\PythonApplication15\test_3.py::Test_test_3::test_A --junitxml=C:\Users\bschnurr\source\repos\PythonApplication15\TestResults\junitresults_80abba59-e743-433d-b3bc-6cb2fd5df4b2.xml
[8/14/2019 2:44:45.798 PM Informational] ============================= test session starts =============================
[8/14/2019 2:44:45.799 PM Informational] platform win32 -- Python 3.7.4, pytest-5.0.1, py-1.8.0, pluggy-0.12.0
**[8/14/2019 2:44:45.800 PM Informational] rootdir: C:\Users\bschnurr\source\repos\PythonApplication15\PythonApplication15, inifile: pytest.ini**
[8/14/2019 2:44:45.801 PM Informational] collected 1 item
[8/14/2019 2:44:45.829 PM Informational] PythonApplication15\test_3.py F                                          [100%]
[8/14/2019 2:44:45.829 PM Informational] ================================== FAILURES ===================================

Same issue happens with VsCode https://github.com/microsoft/vscode-python/issues/6978

One solution: capture the root from discovery and pass it pytest execution on the command line using --rootdir=path**

Should be fixed, need to add a test.

original issue. https://github.com/microsoft/PTVS/issues/5626


codingRate4

Why codingRate4 = 5
Maybe need used codingRate4 = 7 ?

The coding rate describes the ratio of actual data to error-correcting data added.
The higher the value (valid from 5 to 8) the higher the amount of error-correcting data is added to the payload. The header is always transmitted with coding rate 4/8.
As iGate (in RX and explicit mode) there is no influence by this parameter. The iGate uses the value sent by the tracker.
As Digi (in TX and explicit mode) it will send as per this parameter. The higher the value the longer takes the TX time.
In theory this provides better performance but has longer TX time. Therefore 4/5 is the recommended parameter.


chore(rust): fix warnings in ockam_node under no_std+alloc

Since nobody seems to have gotten to it yet. Fixes #2063

Hm, should commitlint (or some other check) detect unsigned commits? I accidentally forgot to sign that one initially, but CI seemed to pass.

@metaclips has been working on an unsigned commit check.

Those are independent checks.
I think we should do the a signature check on all commits in every PR.


Issue with Lightbar connecting to Controller

Howdy,
I've created the lightbar and have tested that it works by running some of the WS2812 examples in Arduino Sketch.
First question has to do with the lightbar.ino code.  Should the first line in the file do anything? I was getting an error so I remarked it out. This line:
@@ -0,0 +1, 55 @@
I've made sure the NUMLED is correct and the Port is correct (24).  I compile the lightbar software and upload to the Teensy LC and everything looks good, but when I run the controller software it is not seeing the lightbar USB.  My Teensy LC is running as Serial USB on Com8, and I am running the controller in Windows 10.  I've made sure I have the correct versions of PYUSB, PYGAME, and Thorpy.
Any help would be greatly appreciated!
Awesome project!

Please ignore the @@ line - I do not know where it comes from and I will delete it in the next release.
Regarding USB: Have you installed libusb as well? For Windows you can download a DLL here: https://github.com/libusb/libusb/releases/download/v1.0.26/libusb-1.0.26-binaries.7z.
When connecting the lightbar, do you hear the Windows "connect sound" and does a "USB serial" device appear in the Windows Device Manager as "USB Serial" under "USB Devices"?
Can you run this simple python script and post the output?
import usb
for dev in usb.core.find(find_all=True):
    print(dev)

Greetings! I'm having a similar problem.
I have a Raspberry Pi 4B with 4GB, and I'm using a Teensy 3.2 to control the Lightbar. I have separately debugged the Teensy 3.2 to work with the LED strip (I installed some test programs to verify that I could control all 60 LEDs), and also verified that the Teensy responded properly on the serial monitor with "EMDR Lightbar" and passed the test() to light up two LEDs. (Side note: I used the level shifters you recommended, and I was able to drive all 60 LEDs simultaneously using an external power supply.)
I've also gotten the interface running and can hear the ping-pong sound when I use the audio option.
However, the lightbar is not recognized, and I can't use the visual bi-lateral stimulation. Before I try making the buzzer, I want to debug the lightbar.
 I wasn't sure what was relevant.
I'm thinking I might need to update the VendorID and/or the device hex code. Any help would be appreciated! I think I am REALLY CLOSE to getting this to work! I would appreciate any help you can send my way.

Hey, ooktown.
Vendor Id (0x16c0) looks good to me. I have some questions for you:

When connecting the light bar, do you see the test blink (left LED red and right LED green for half a second)? If yes, you can stop here and come back to me. If no, please continue reading.
To what pin on the Teensy did you connect the WS2812 data line (or the level shifter input)? Please note: On Teensy 3.2 you can only use pins 1, 5, 10, 31 or 8.
Did you change line 12 in lightbar.ino accordingly? The fourth parameter of WS2812Serial init must match the used pin. So, if you want to use pin 8, you would have to change it to: WS2812Serial leds(60, displayMemory, drawingMemory, 8, WS2812_GRB);. Background if you do not change that line, the WS2812Serial library will crash on Teensy3.2, because it cannot handle pin 24, which is default for TeensyLC!
If you open the serial monitor at Teensyduiono and enter "i" in the input line and press SEND (or the RETURN key), does the string "EMDR Lightbar" appear in the response area?

Greetings! Thanks for the quick response. To answer your question(s):

Yes, I see the test blink (left LED red and right LED green for half a second).
I also confirmed via the Serial Monitor in VSCode that when I type in 'i', the Teensy responds back with 'EMDR Lightbar'.

Okay, so the lightbar seems to work properly. Then it must be an issue with the controller. Could you please run this simple Python script an give me the outputs?
import usb
devs = usb.core.find(find_all=True, idVendor=0x16c0)
dev=next(devs)
print(dev)
dev.write(0x03, 'i\n')
id_arr = dev.read(0x84, size_or_buffer=64, timeout=100)
id_str = ''.join(chr(x) for x in id_arr).strip()
print(id_str)
dev.finalize()

If this works fine and prints out "EMDR Lightbar", then please delete line 50-52 from devices.py and try the controller again.

Ok! It looks like there are errors when I run they Python script. Here are the results:
pi@emdr-controller:~ $ sudo python3
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import usb
>>> devs = usb.core.find(find_all=True, idVendor=0x16c0)
>>> dev=next(devs)
>>> print(dev)
DEVICE ID 16c0:0483 on Bus 001 Address 003 =================
 bLength                :   0x12 (18 bytes)
 bDescriptorType        :    0x1 Device
 bcdUSB                 :  0x110 USB 1.1
 bDeviceClass           :    0x2 Communications Device
 bDeviceSubClass        :    0x0
 bDeviceProtocol        :    0x0
 bMaxPacketSize0        :   0x40 (64 bytes)
 idVendor               : 0x16c0
 idProduct              : 0x0483
 bcdDevice              :  0x275 Device 2.75
 iManufacturer          :    0x1 Teensyduino
 iProduct               :    0x2 USB Serial
 iSerialNumber          :    0x3 5713550
 bNumConfigurations     :    0x1
  CONFIGURATION 1: 100 mA ==================================
   bLength              :    0x9 (9 bytes)
   bDescriptorType      :    0x2 Configuration
   wTotalLength         :   0x43 (67 bytes)
   bNumInterfaces       :    0x2
   bConfigurationValue  :    0x1
   iConfiguration       :    0x0
   bmAttributes         :   0xc0 Self Powered
   bMaxPower            :   0x32 (100 mA)
    INTERFACE 0: CDC Communication =========================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x0
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x1
     bInterfaceClass    :    0x2 CDC Communication
     bInterfaceSubClass :    0x2
     bInterfaceProtocol :    0x1
     iInterface         :    0x0
      ENDPOINT 0x82: Interrupt IN ==========================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x82 IN
       bmAttributes     :    0x3 Interrupt
       wMaxPacketSize   :   0x10 (16 bytes)
       bInterval        :   0x40
    INTERFACE 1: CDC Data ==================================
     bLength            :    0x9 (9 bytes)
     bDescriptorType    :    0x4 Interface
     bInterfaceNumber   :    0x1
     bAlternateSetting  :    0x0
     bNumEndpoints      :    0x2
     bInterfaceClass    :    0xa CDC Data
     bInterfaceSubClass :    0x0
     bInterfaceProtocol :    0x0
     iInterface         :    0x0
      ENDPOINT 0x3: Bulk OUT ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :    0x3 OUT
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
      ENDPOINT 0x84: Bulk IN ===============================
       bLength          :    0x7 (7 bytes)
       bDescriptorType  :    0x5 Endpoint
       bEndpointAddress :   0x84 IN
       bmAttributes     :    0x2 Bulk
       wMaxPacketSize   :   0x40 (64 bytes)
       bInterval        :    0x0
>>> dev.write(0x03, 'i\n')
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/usb/_interop.py", line 92, in as_array
    return array.array('B', data)
TypeError: cannot use a str to initialize an array with typecode 'B'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/usb/core.py", line 947, in write
    _interop.as_array(data),
  File "/usr/local/lib/python3.9/dist-packages/usb/_interop.py", line 97, in as_array
    a.fromstring(data) # deprecated since 3.2
AttributeError: 'array.array' object has no attribute 'fromstring'
>>> id_arr = dev.read(0x84, size_or_buffer=64, timeout=100)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/usb/core.py", line 983, in read
    ret = fn(
  File "/usr/local/lib/python3.9/dist-packages/usb/backend/libusb1.py", line 828, in bulk_read
    return self.__read(self.lib.libusb_bulk_transfer,
  File "/usr/local/lib/python3.9/dist-packages/usb/backend/libusb1.py", line 936, in __read
    _check(retval)
  File "/usr/local/lib/python3.9/dist-packages/usb/backend/libusb1.py", line 595, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 110] Operation timed out
>>> id_str = ''.join(chr(x) for x in id_arr).strip()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'id_arr' is not defined
>>> print(id_str)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'id_str' is not defined
>>> dev.finalize()
>>>
>>>

After some research: unfortunately, pyUSB 1.0.2 is incompatible with Python 3.9. Please either degrade Python to 3.8 or update pyUSB to latest version. You can do the latter by: pip install --upgrade pyusb. Also it would be a good idea to exchange the first line of the requirements.txt file with pyusb==1.2.1. If you give me positive feedback, I will commit this change to the repo, so that further users will not have the same troubles...

Thank you SO MUCH for your help and diligent research! I will try this out later today or tomorrow and comment back either way on the results.

Here's my update:

Updated pyUSB to 1.2.1. Controller was not able to identify Lightbar.
Attempted to use Pyenv to roll back the Python version. Could not get sudo to work with Pyenv.
Installed Python 3.8.16 and explicitly added the path in the autostart file. This hung the system on boot up.

Based on the results, and the difficulty of managing multiple versions of Python ond PyUSB, my next step will be to:

perform a clean, minimal install of Linux on the Raspberry Pi 4.
Install Python 3.8 and dependent versions of apps and utilities via pip3 and requirements.txt.
Test the clean install with the Lightbar.

Let me know what you think of my plan.

I could not get Python 3.8 to run with the required modules (pyUSB, pygame, thorpy, pysdl2-dll) because the default dependency was to have Python 3.9 installed.
I attempted to work around this by downloading and installing pygame and thorpy, for example, but I wasn't able to get them to load in the Python script when running Python 3.8.
So, now I'm going to go back trying to learn Python and re-factor the code to use the latest version of pyUSB, pygame, thorpy, etc. Lots to learn!

I strongly recommend that you stick with your 3.9 Python version and upgrade pyUSB. In the meantime, I have bumped my Python version to 3.9.16 on MacOS and the lightbar is reliably detected. I have committed some changes to the controller source - maybe that will help. If you still have this problem, could you please run the script I gave you 3 days ago again? If you have updated pyUSB you should get a different error now.

I got the Lightbar working! AWESOME. Thank you so much for your help and updating the code/configuration files!
I had to slightly modify the PiBakery recipe, and I also ran these command manually. Here's the recipe I ended up using to make the Lightbar work on a Raspberry Pi 4 4GB:

Used Raspberry Pi Imager v1.7.4 to load Pi OS 32-bit desktop Bullseye onto the microSD card
Booted the Pi using the microSD card and went through the basic configuration of the Pi using a keyboard plugged into the Pi
Enabled SSH so I could remote in and run commands from my Mac

After the initial set up, I SSH'ed into the Pi:

Ran commands as user pi (no change from your recipe):

until (curl https://github.com -o /dev/null); do sleep 1; done

Installed packages:

sudo apt-get install libusb-1.0-0-dev
sudo apt install python3-sdl2

Run commands as  pi and root:

git clone https://github.com/Harvey71/emdr
cp emdr/controller/* ~ -r
sudo pip3 install -r requirements.txt
mkdir -p ~/.config/lxsession/LXDE-pi
echo sudo python3 main.py fullscreen touchscreen>~/.config/lxsession/LXDE-pi/autostart
sudo chmod 755 *.py

Ran commands as root for 3.5” display:

sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show&&sudo ./LCD35-show 180

And when the Pi rebooted, the Lightbar was recognized, and I could start the LED sequence.


Define SQS inside of SAM template

I have a lambda function that will have an SNS event. I know that I can create the SNS topic and  reference that topic inside of my SAM template all at the same time to create the event binding. However, I also want to create an SQS queue that this lambda may put stuff into programatically. Can I define this in my template as well as normal Cloudformation information?

Answered my own question. For those that are curious, SAM is another grammar for Cloudformation so you define Cloudformation resources right inside of your SAM template. So just define the SQS queue after everything else and your set.


[Bug]: "System.BadImageFormatException: Invalid assembly" with non ascii class name

All of the following criteria must be met

[X] All Requirements must be installed.
[ ] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[ ] Tried reinstalling the Game.
[ ] Tried reinstalling MelonLoader.
[ ] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
When using non ascii charter on class name (eg ä), MelonLoader will give you
[ERROR] Failed to Load Assembly for mod.dll: System.BadImageFormatException: Invalid assembly
I think, at least it should be give better error if not supported.
Example MOD which will cause error. (removing ä will fix it)
using MelonLoader;
[assembly: MelonInfo(typeof(MelonTest.Main), "MelonTest", "0.1")]
namespace MelonTest {
    public class Main : MelonMod {
        public override void OnApplicationStart() {
            MelonLogger.Msg("Hi from my mod!");
        }
    }
    public class Ryhmä { //This ä will cause System.BadImageFormatException: Invalid assembly
        public void something_more() { }
    }
}

Did you attach your log file?

[ ] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Right, and what version are you using?

Running public version, so its v0.5.4

I think this is because MelonLoader stops obfuscated assemblies from loading in and that was flagged

Intended behavior by the obfuscation detection.


Arm Away and Stay Status not updating

I have the disarm disabled in my setup so the only way to disarm is through the physical security panel or the alarm.com app.  Arm the system both Stay and Away works perfect.  When I use one the method to arm/disarm (ADC app or physical) the status does not change for either Arm status inside ST app.  Is there a polling interval that can be modifed, if there is, what is it set to?

There is polling that eventually updates status, but it is not real time. The polling frequency is not modifiable. The reason is that if you hit alarm.com too frequently - they may end up making it harder for this kind of approach to work by blocking.

Thanks schwark.  The integration is awesome and just what I was looking for.  I have the SA and DH connected to your repository using your well laid out instructions.  I made sure I have the latest pull and in the ST app did a "save" to refresh status which works.  However, if everytime I change status that is not through ST the status stays stale (waited several hours).  Going into the Smart App and just click Save again will refresh it, but unfortunately I dont think there is a way to automate that.  Let me know if I am missing soemthing or doing something wrong.  Keep up the great work on this, btw


A way to enable flow (in strict mode) for all files by default

I want @flow strict to be the default in my project. In some cases, for particular files, I want to downgrade to non-strict @flow or to disable Flow altogether.
Is there any way to do this, without having to type // @flow strict in every single file?

When I set all=true, I get thousands of errors from inside node_modules, and I can't see how to change this without breaking other things.
Even with all=true, I can't see a way to make strict the default.

* When I set `all=true`, I get thousands of errors from inside `node_modules`, and I can't see how to change this without breaking other things.

Have you tried putting those under [declarations]? https://flow.org/en/docs/config/declarations/

* Even with `all=true`, I can't see a way to make `strict` the default.

Maybe use Flow in Lint mode? https://flow.org/en/docs/linting/ It checks against the same linting rules as strict mode.  Although maybe won't be as compatible with IDE integrations etc


Feature/shared model command interfaces

What is this pull request?
Add commands interfaces for  new shared model
Details/Features
Now there interfaces only  for commands present at the time at shared model

Also, need to add data commands to variant from Command class.

Codecov Report

Merging #672 into feature/shared_model will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##           feature/shared_model     #672   +/-   ##
=====================================================
  Coverage                 43.45%   43.45%
=====================================================
  Files                       297      297
  Lines                     12002    12002
  Branches                   6591     6591
=====================================================
  Hits                       5216     5216
  Misses                      721      721
  Partials                   6065     6065

Continue to review full report at Codecov.

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

+1 @Warchant
Though new have been used for a while in all shared_model trunk. Still maybe there're some reasons for that

@l4l I did a quick search by feature/shared_model and did not find any unsafe new occurrences like in this PR.

Here's the first occurence

:scream: that's memory leak again. Should be fixed @muratovv @luckychess

Well, just by itself it's not a memory leak. And it's even doesn't intended to be used (and hopefully will be removed with old models asap)

If caller forgets to delete old model, then it is a memory leak.
I am pretty sure you would never ever delete that pointer manually.


Fix the replication in segment assignment strategy

The Balanced and Replica group segment assignment strategy would assume replication to be fetched from only table config as tableConfig.getValidationConfig().getReplicationNumber() irrespective of whether its a realtime table or offline table
But for real time tables, if we have tableConfig.getValidationConfig().getReplicasPerPartitionNumber(), this should be preferred over table replication
No additional changes are required
Reference Issue: #9309

@mcvsubbu @sajjad-moradi @jugomezv @snleee

Codecov Report

Merging #9816 (212da59) into master (47c8f18) will increase coverage by 3.59%.
The diff coverage is 87.00%.

:exclamation: Current head 212da59 differs from pull request most recent head 0d53147. Consider uploading reports for the commit 0d53147 to get more accurate results

@@             Coverage Diff              @@
##             master    #9816      +/-   ##
============================================
+ Coverage     60.58%   64.18%   +3.59%
+ Complexity     5281     4972     -309
============================================
  Files          1949     1910      -39
  Lines        104632   102611    -2021
  Branches      15847    15609     -238
============================================
+ Hits          63389    65858    +2469
+ Misses        36540    31973    -4567
- Partials       4703     4780      +77

Flag
Coverage Δ

integration2
?

unittests1
67.84% <86.45%> (+0.03%)
:arrow_up:

unittests2
15.77% <87.00%> (?)

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

Impacted Files
Coverage Δ

...apache/pinot/common/function/FunctionRegistry.java
84.21% <ø> (-2.64%)
:arrow_down:

...not/query/planner/logical/RelToStageConverter.java
81.48% <ø> (+1.85%)
:arrow_up:

...che/pinot/query/planner/logical/RexExpression.java
78.66% <ø> (+2.66%)
:arrow_up:

...ache/pinot/query/planner/logical/StagePlanner.java
100.00% <ø> (ø)

...e/pinot/query/runtime/operator/FilterOperator.java
76.00% <ø> (+16.00%)
:arrow_up:

...ery/runtime/operator/operands/FunctionOperand.java
100.00% <ø> (ø)

...query/runtime/operator/MailboxReceiveOperator.java
79.36% <50.00%> (-0.97%)
:arrow_down:

...query/runtime/operator/operands/FilterOperand.java
83.90% <50.00%> (+16.05%)
:arrow_up:

...ot/query/runtime/executor/RoundRobinScheduler.java
87.50% <87.50%> (ø)

...uery/runtime/executor/OpChainSchedulerService.java
95.12% <95.12%> (ø)

... and 612 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Can we also add the testing case to cover this? We should add the test where we set replication / numReplicasPerPartition differently.


kb-nl-consolerip secure settings

Hello. Does kb-nl-consolerip support any secure settings that are in the GUI version, such as "Drive Speed", "Minimum Ultra Passes", "Maximum Ultra Passes", "End After Clean Passes" and others that are in the GUI. If it does, please give me a link or write them to me. I assume that they can be written in the copy command, for example:
kb-nl-consolerip --drive="D" --log="\log.txt" --path="" --drive_speed="40" --minimum_ultra_passes="2" ...
I ask this question because copying audio CDs via console is 2-3 times faster for me than via GUI, this means that perhaps when copying in the console, the above settings do not work (although they are specified in the GUI version at this time).
Thanks.

Assuming that the specific settings you mention can be set in either the Batch ripper configuration or CD Ripper GUI applications, you can just use those. Running kb-nl-consolerip will then use those settings. See also the instructions on configuring dBPoweramp here:
https://github.com/KBNLresearch/iromlab/blob/master/doc/setupDbpoweramp.md

So, in theory, kb-nl-consolerip should automatically use the settings specified in CD Ripper GUI?

@Jaubr Yes!

Then why does copying through the GUI take, on average, say, 10 minutes, but through kb-nl-consolerip with the same settings it often takes 3 minutes?

I think copying can't take 3 minutes if the settings say to do 2 to 4 ultra passes. Through the GUI I see that it does 2-4, so it takes about 10 minutes, and through kb-nl-consolerip judging by the speed of the process it seems to me that it only does 1 pass.


When no connect() is called in pg-node driver we are not intercepting connection (looks like it)

Steps to reproduce
https://twitter.com/_alexblokh/status/1602397018445516807
didn't try to reproduce myself though

I'll look into this today.

I can reproduce this not working ... but it also doesn't work for me with vanilla node-postgres (npm install pg). Normal behaviour seems to be that you can query prior to connect, but returned promises remain pending until you connect.
Node session:
> client = new pg.Client(URL)
Client { ... }

> client.query('select now()')
  .then(r => console.log('result', r))
  .catch(e => console.log('error', e))
Promise { <pending>, ... }

// wait a while ...

> client.connect()
Promise { <pending>, ... }

result Result { rows: ... }

Tweeted: https://twitter.com/jawj/status/1602667209591078914, https://twitter.com/jawj/status/1602668515718225924

OK, I'm closing this. The driver seems to behave the same way as ordinary pg when calling query before connect on Client. And calling query on Pool also seems to work fine.
Tweets: https://twitter.com/_alexblokh/status/1602740964627456004, https://twitter.com/jawj/status/1602804020392992768, https://twitter.com/_alexblokh/status/1602904839939317760


VSCode Improve logs

Error logs on Vscode are not as reliable as Android Studio.
While i am getting some path location error on Android studio, Vscode doesn't say anything and doesn't launch app on simulator. Just stares me with blank eyes.
Mac OS

Can you give a concrete example or screenshot of what you're seeing in each editor?

Here is a video that shows "Nothing happens part". I can record more if you want.
https://youtu.be/NPKEk6IxoYo

I just saw my mistake. I had to start the app from debug panel. But the way i do it in video should be supported.

@atilkan thanks for the video! It's now clear what's going on. You're running the launch emulator command. This is intended only to launch the emulator (which in the case it's already running, won't do anything).
To start your app, you want to use F5, Debug: Start Debugging, Debug: Start without Debugging or the green Run button on the debug side bar.
If you don't already have a device connected, trying to launch will run the Launch Emulator command for you, so you can select an emulator (or connect a device) and then it will continue.
Hope this makes sense!

@DanTup I figured that part as i noted. If Launch Emulator would open with HMR or if the command to do this listed on commands pallet, that would be just convenient.
It is frustrating to open one thing from somewhere another thing from whole another panel.

@atilkan The command you're running is specifically to launch the emulator. It doesn't make sense for it to launch the app. As mentioned above, there are other commands that do exactly what you want - they start a debug session, and if there is no active device they will automatically run Launch Emulator for you. You don't need to go to a whole other panel, only use the debugging commands:

If this does not work for you (or doesn't do as you expect), please open an issue in the Dart-Code repo and I can take a look. Thanks!

Thanks. That is working.

Ah yes, that is unfortunate. There's a lot of functionality that's common to all languages and therefore the commands in VS Code are not specific.
Launching apps is covered a little on the website at https://flutter.dev/docs/development/tools/vs-code#running-and-debugging along with some extra tips like refactors and assists - it's worth scanning through if you haven't seen it before :-)


ELK v8.x support

Changes

Support for ELK v8.x.
Feature upgrades in dashboards

Added new navigation panel
Alert dashboard addition
New visualizations

Supports SSO via OIDC
Supports alerts with connectors

There are changes to be made which are identified at the testing.


Script to fetch IP

A script to fetch IP which can be used to spin up the docker containers will be very helpful to automate the whole process of spinning up containers on the PI.

Pushed to master directly.


PIN Rejected / Raspberry Pi

My iOS Device Rejects the PIN when scanning or entering manually. I already tried to delete "persist", resetting HomeKit Data etc.
Debug Log:
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 123-45-678 │
    └────────────┘

Homebridge is running on port 51826.
  EventedHTTPServer Server listening on port 51826 +0ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] New connection from client +23s
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server listening on port 54826 +22ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-setup +108ms
  HAPServer [DE:AD:3D:E3:CE:30] HAP Request: POST /pair-setup +6ms
  HAPServer [DE:AD:3D:E3:CE:30] Pair step 1/5 +36ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +357ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection closed +10s
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP connection was closed +22ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server was closed +7ms

{
    "bridge": {
        "name": "Homebridge",
        "username": "DE:AD:3D:E3:CE:30",
        "port": 51826,
        "pin": "123-45-678"
    },

    "platforms": [
        {
            "platform" : "PhilipsHue",
            "name" : "Hue",
			 "ip_address": "<IP_ADDRESS>",
			 "username": "..."
        }
    ]
}

Running on an Raspberry Pi (Model B)
pi@raspberrypi ~ $ node --version
v4.0.0

pi@raspberrypi ~ $ cat /etc/debian_version
8.0

iOS will reject easy PIN like 123-45-678
Sent from my iPhone

On Nov 11, 2015, at 7:25 AM, jan666<EMAIL_ADDRESS>wrote:
My iOS Device Rejects the PIN when scanning or entering manually. I already tried to delete "persist", resetting HomeKit Data etc.
Debug Log:
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 123-45-678 │
└────────────┘

Homebridge is running on port 51826.
EventedHTTPServer Server listening on port 51826 +0ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] New connection from client +23s
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server listening on port 54826 +22ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-setup +108ms
HAPServer [DE:AD:3D:E3:CE:30] HAP Request: POST /pair-setup +6ms
HAPServer [DE:AD:3D:E3:CE:30] Pair step 1/5 +36ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +357ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection closed +10s
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP connection was closed +22ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server was closed +7ms
{
"bridge": {
"name": "Homebridge",
"username": "DE:AD:3D:E3:CE:30",
"port": 51826,
"pin": "123-45-678"
},
"platforms": [
    {
        "platform" : "PhilipsHue",
        "name" : "Hue",
         "ip_address": "<IP_ADDRESS>",
         "username": "..."
    }
]

}
Running on an Raspberry Pi (Model B)
pi@raspberrypi ~ $ node --version
v4.0.0
pi@raspberrypi ~ $ cat /etc/debian_version
8.0
—
Reply to this email directly or view it on GitHub.

 Works. Thanks.

Please set the Post to close


ci: docker build publish

PR Checklist

[x] A description of the changes is added to the description of this PR.
[x] If there is a related issue, make sure it is linked to this PR.
[x] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added or modified a feature, documentation in docs is updated

Description of changes
This PR adds a GitHub Actions workflow to build the Dockerfile and uc-cli.dockerfile images on changes to those files, building on the work scoped in #319.
An example of the built and pushed image produced by this workflow can be found here: https://hub.docker.com/r/tnightengale/unitycatalog.
Perquisites to Merging

[ ] Decide on multi-arch support
[ ] Refine run triggers to align with release process
[ ] Add docs

@tnightengale this github action has failed previous runs, can you please check once ?

@jalotra Not sure what you mean exactly :) This PR is closed, and it's current form can be found at #551


feat(output): add HTML output format

Implement https://github.com/google/osv-scanner/issues/1274
Add an HTML output format to display results more effectively, particularly for container scanning.
This format retains all the information from the existing table output, including called/uncalled vulnerability details.
New features:

Groups vulnerabilities by source package and ecosystem. Vulnerabilities from OS images are displayed last by default.
Provides a total count of vulnerabilities (excluding uncalled vulnerabilities by default).
Surfaces container scanning metrics, such as layer commands.
Shows fix version information.

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

Project coverage is 69.25%. Comparing base (1cde7f4) to head (ab2c3bb).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

internal/output/html.go
77.11%
44 Missing and 10 partials :warning:

pkg/reporter/html_reporter.go
27.27%
16 Missing :warning:

internal/utility/severity/severity.go
50.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1258      +/-   ##
==========================================
+ Coverage   68.38%   69.25%   +0.87%
==========================================
  Files         175      177       +2
  Lines       16784    13350    -3434
==========================================
- Hits        11478     9246    -2232
+ Misses       4676     3462    -1214
- Partials      630      642      +12

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

Added a tooltip for layer command file name and enabled UT


Some cuisines display the character code for ampersand ($&amp)

Need to add code to remove this when sanitising cuisine array

complete.


Reduce GH action run duration

Playwright is a pretty heavy dependency and it felt wasteful to rebuild it in each cronjob.
I separated the building process into its own action and now execute the cron job from a pre-built container.
Update README.md badges if you decide to merge it.

@MaksimMisin thank you very much for adding this! If you don't mind, I'll adjust a few small things and then it'll be merged 👍

No worries, too bad it now spends most of the time pulling the container instead.
Well, maybe this might save a few g of CO2 😅

Maybe we can cache it or something


Missing Link class and Link::name() method

Expected Behavior
The Create/Update button - Should create a new (update) record and show success alert on a RecordEditScreen.
Actual Behavior

Class 'Orchid\Screen\Link' not found

I've tried also Orchid\Screen\Actions\Link

Call to undefined method Orchid\Screen\Actions\Link::name()

Specifications

ORCHID Version: 6.0
Laravel Version: 6.0.1
PHP Version: 7.2.11
Database Version: (mysql) 5.7.24

Other Notes
It worked earlier in ORCHID v5.5

HI @ab192130 ! We do not have a RecordEditScreen screen.
But I understand what you mean. In version 6, the Link class was divided into 4 separate classes
https://orchid.software/en/docs/screens/#actions
Button::make('Example Button')
    ->method('example')
    ->icon('icon-bag'),

ModalToggle::make('Example Modals')
    ->modal('exampleModal')
    ->method('example')
    ->icon('icon-full-screen'),

Link::make('Website')
    ->href('http://orchid.software')
    ->icon('icon-globe-alt'),

DropDown::make('Example Group Button')
    ->icon('icon-folder-alt')
    ->list([
        Button::make('Example Button')
            ->method('example')
            ->icon('icon-bag'),

        Button::make('Example Button')
            ->method('example')
            ->icon('icon-bag'),
    ]),

Hello @tabuna ! Thanks so much. I'm done with this.
But there is something else. Regarding selection multiple items with Relation Fields.


Can not create pipeline from a file

Bug Description
I have deployed Charmed Kubeflow from channel 1.7/stable on Microk8s as it described here.
All the units are in active state: https://pastebin.ubuntu.com/p/KgXdc2N5rc/
All the pods are running: https://pastebin.ubuntu.com/p/fZfXjbRTqp/
I'm trying to create a new pipeline as it described here.
I installed the pipeline compiler kfp version 1.8.0. I compiled the example pipeline given here.
At the pipeline creation page I am not able to create the pipeline by uploading the compiled yaml file. I'm attaching a screenshot. It hangs on this page.

To Reproduce
1- Follow the instructions shared here but install the charmed kubeflow version 1.7
2- Try to create a pipeline from file as it described here
Environment
Juju version 3.4.2
Microk8s version 1.26 with classic confinement
Charmed Kubeflow 1.7/stable
Relevant Log Output
I don't have any meaningfull logs. I also don't know exactly what to check. Please let me know if you need any container or juju logs.

Additional Context
No response

Hi there, not related to your specific issue, but CKF 1.7 is supported only by k8s <=1.24 and juju 2.9 as mentioned here. Could you redeploy with those requirements in mind and let us know if you hit the same issue?

Hi there, not related to your specific issue, but CKF 1.7 is supported only by k8s <=1.24 and juju 2.9 as mentioned here. Could you redeploy with those requirements in mind and let us know if you hit the same issue? We also highly recommend deploying a newer version since 1.7 will go EOL when we release 1.9 in ~2 months.
EDIT: I also edited the tutorial to mention that for specific CKF versions, there are specific K8s and Juju requirements. LMK if you think this would help to avoid deploying with incompatible requirements in the future.

Thank you @orfeas-k for the prompt response. I tried that with Charmed Kubernetes version 1.24 and with juju version 3.4.0 (as I did not want to migrate the model to a newer version of juju controller for upgrading the CK to 1.8) and it worked. So, as you've already done, it will be useful to see the juju and Kubernetes version requirements in the tutorial. Thanks for the help!


Default Android Emulator can now run with Hyper-V (plus VS Emulator looks discontinued)

Those links are not useful neither necessary anymore, now you can have docker with hyper-V activated and run the Android emulators at the same time https://stackoverflow.com/questions/31550628/visual-studio-emulator-for-android-install-gapps-google-play-services/51831784#51831784

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

ID: c5b55faf-1a5a-e7a4-3a37-f5f3c86d9b01
Version Independent ID: c1381c49-aa90-38b5-5cec-f58fe0a8736a
Content: How do I install Google Play Services in an emulator? - Xamarin
Content Source: docs/android/troubleshooting/questions/install-gps.md
Product: xamarin
GitHub Login: @mgmclemore
Microsoft Alias: mamcle

Hi @jamesbluecrow, thank you for your feedback! I've added a task to our backlog to update this out-of-date topic.


Changes to feature-flag related scss files and imports

What are the relevant tickets?
Fixes https://github.com/mitodl/mitxonline/issues/1837
Description (What does it do?)
This PR moves the home-page related files to their own directory & removes their conditional imports from style.js, removes unnecessary imports from the product-details page to stop the writing over of the container css, and cuts down on the extra css imports. It would be helpful to also revisit the naming of the product page and use new class names in order to cut back on this more, but James is on vacation and this solution works with what we have.
How can this be tested?

Check that the homepage has not been altered (some of this is on RC, not all)
Check that product pages look as they did before this (RC is current)
Check that your local /profile looks as it does at mitxonline.mit.edu/profile/
Spot check other places in the application - we should only be loading everything once now other than variables and bootstrap-utilities, so there should be no more overwriting, but I do not know the application as well as some, so I would love the eyes!

Additional Context
You can see the CSS in its incorrect state at https://rc.mitxonline.mit.edu/profile/

Thank you @rachellougee !


remove $id and $schema from referred JSON schemata

Is it possible with the openapi-spec-validator to remove the "$id" and "$schema" from referred schemata before handling them to the validators.
JSON schemata allow these two keys (and at least "$schema" is part of most schemata), but the OpenAPI3 specification fails when they appear within a reference.
I tried to change the URL-Handler of openapi-spec-validator, but it didn't worked so I assume I got lost in the maze of factories.

This also applies to the patternProperties property. This is allowed by this validator but according to OpenAPI spec it is not:


org settings: A few small things I noticed as I was clicking through.

Updated versions:

Also, I feel like Video chat provider should not be a top level heading here, and should just be a part of "Message feed":

That page has 5 headings and is kind of busy, so I think dropping down to 4 will be an improvement. Thoughts?

For thinking about post-release, another direction to make the page easier to read:

Merged the commits in this PR; those are definitely improvements.  A few thoughts on the other ideas:

I think I like the visual hierarchy change from those borders, though we probably want to play with styling because I think they also make things look older.
"Video chat provider" doesn't really belong in "Message feed", conceptually; it's part of composition.  We might instead want to just move that batch to the bottom and call it "Other"?

Yeah, these all seem like improvements; merged, thanks @rishig!  @shubhamdhama FYI :)


⚠ Bofrost.at has degraded performance

In 523ede2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1922 ms

Resolved: Bofrost.at performance has improved in 425e925 after 9 minutes.


ubuntu.conf needs to be updated to use SimpleHTTPServer port

As discussed, it is much easier to use SImpleHTTPServer to serve Camera Definition Files than Apache (this is, after all, what Aero does).
SimpleHTTPServer serves to a particular port - e.g. 8000.
The requirement is to update the ubuntu.conf so that it uses such a port (e.g. 8000 or 8080 or similar) so that we can set add  instructions using SimpleHTTPServer in the guide.
@lbegani I know you know about this. I'm adding the issue so I can track it.

Thanks @hamishwillee . I will do it as a part of PR - https://github.com/intel/camera-streaming-daemon/pull/140
I think both gazebo.conf and ubuntu.conf  will need to be updated

This has been fixed


Added novatel_oem7_driver to noetic.

@novatel-applications-engineering friendly ping

We did not bloom-release this package to 'noetic' yet.
Just adding a package to rosdistro per http://wiki.ros.org/ROS/ReleasingAPackage, so that we can run the 'pre-release' tests.


Shortcodes with rst are broken

When using restructuredText, the rst2html tool converts the @ sign into the HTML entity code @.
Apparently that screws up the shortcode mechanism in hugo.
I'm not sure if there is a way to tell rst2html to stop doing that (I didn't find any such options), but if not then probably the simplest thing to do would be to adapt the shortcode replacement code to look for @ instead of @

The @ sign is just picked by random, it can be anything, but the replacement function is hand-coded for pure speed, so it should ideally be a one-byte character and not 5 ... What does RST not encode?

A quick test showed that the following characters are not being encoded, at least when using no special settings and using docutils version 0.12:
? + _ # ~ - / ! § $ % = ° :
Plenty to choose from :)


Props call Style is a reserved attribute and cannot be used as a prop component

This is the warn that Vue Version 2.2.6 when we call the component the warning message appears .
Message
console.js?93a0:26 [Vue warn]: "style" is a reserved attribute and cannot be used as component prop.

I fixed it but did not publish it yet. I'll publish it tonight.

Can a bit faster, I am more worry

published new version with the fix, use containerStyle prop to style the container from now on.


Fix Recipes Query Logic.

Make sure we exclude ingredients for each type of cancer.

Potential Natural Language Processing for Query?


appending into the query object

Hi..
is there any way to append raw query into the query object body ??
i need to add should clause which have a bool and must_not clause in it .. i need to append it into the query body

I had a similar issue where I'd do $query->body($data) multiple times only to find out that the library replaces the body when calling this function. I ended up using array_merge()


When using sticky-wrap, element width doesn't get updated on resize

Seems like none of the attribute values get updated on resize when using the sticky-wrap option. This makes it impossible to use on responsive websites.
Also, attributes are duplicated on original element and sticky-wrap element - is this intentional?

+1, here as well

Yep, this is not good

isn't using custom sticky class solves the problem?


Product recommendations

I hope the author can add the search engine of Everything in the search engine, so that it can be more efficient

But how should UWP integrate with Everything?

如果不考虑集成,能否在外部调用

与Everything的集成已于5.7.4版本中上线，并于5.8.1版本中获得改进，感谢您的建议


Not possible to have optional object property compatible with both Closure Compiler and Intellisense

VSCode Version: 1.32.3 x64
OS Version: Ubuntu 18.04

Steps to Reproduce:

Enable "checkJs": true in jsconfig.json.
Create a Javascript file:

class A {

  /**
   * @param {{field: string|undefined}} obj
   */
  constructor(obj) {
    this.obj = obj;
  }
}

let a = new A({});

Results in this error:

Adding error text here for duplicate detection:
Argument of type '{}' is not assignable to parameter of type '{ field: string; }'.
Property 'field' is missing in type '{}' but required in type '{ field: string; }' .ts(2345)

Does this issue occur when all extensions are disabled?: Yes
Expected behaviour:
Some way to mark object properties as optional compatible both with Closure Compiler and VsCode intellisense. Either through @typedef, through structural interfaces with @record, direct @param notation using string|undefined, or something similar.
This notation works fine today, but it is not recognized by Closure Compiler. It is debatable whether this is an issue with Intellisense or lacking support from Closure Compiler.
class A {

  /**
   * @param {AParam} obj
   */
  constructor(obj) {
    this.obj = obj;
  }
}

/** @typedef {{field?: string|undefined}} */
var AParam;
let a = new A({});

Our team is also trying to use Closure Compiler JavaScript with TypeScript Language server, and this has been one of the biggest thorns in our side.
Using the JSDoc @property annotation would allow us to properly annotate the property's optional-ness, but Closure refuses to support support the annotation. I think it's even less likely that they'd support the TypeScript property?: syntax, since it would mean supporting things like {?property1: ?string, ?property2: string?}.
Realistically, I think the only thing that could be done from the TypeScript side is to add a compiler option that tells TS to not differentiate between optional properties and required properties that allow undefined as a value (which is how Closure Compiler works), i.e. consider {property?: string} and {property: string|undefined} equivalent.


set minimum python versions

Currently, pypki2 successfully installs with versions of python older than 2.7.9, even though it can't work without the ssl package.

Fixed in d0758d9712dbfc49ca72c05b1b0b98fa0bda1504


Documentation

Some documentation for this library, whether is be simply comments or auto-generated documentation would be appreciated. While using this library, it is rather hard to dig into the source code to find out what each thing does.

You are right, the original C implementation has a lot of comments in it, maybe I should copy all of them. My implementation is based on this with only minor changes.
If you encounter layout problems, you can try to export the layout file and then open /assets/demo.html to debug js. This is how I debug it now, because debugging nim is painful.


[cPP CHANGE] FCS_CKM_EXT.1.1 add SFR into selection

What is the change request for the cPP? Please describe.
The SFR should have the link to FCS_CKM.1 added.
Describe the solution you'd like
The SFR should be changed as follows (bolded change):

The application shall [selection: generate no asymmetric cryptographic keys, invoke platform-provided functionality for asymmetric key generation, implement asymmetric key generation according to FCS_CKM.1].

Describe alternatives you've considered
N/A
Additional context
N/A

Change implemented, simplified associated app note.


bug: Can't set net.dns.resolver

Describe the issue
I can't set net.dns.resolver LEGACY and without this setting the opensearch output doesn't work at all. Currently this bug makes me fluent-operator not usable at all.
To Reproduce
My output:
apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterOutput
metadata:
  name: opensearch
  labels:
    fluentbit.fluent.io/enabled: "true"
    fluentbit.fluent.io/mode: fluentbit-only
spec:
  match: "*"
  opensearch:
    host: redacted
    port: 443
    bufferSize: 10M
    type: _doc
    logstashFormat: true
    logstashPrefix: redacted
    logstashDateFormat: "%Y%m%d"
    timeKey: "@timestamp"
    timeKeyFormat: "%Y-%m-%dT%H:%M:%S"
    timeKeyNanos: false
    includeTagKey: true
    tagKey: log_name
    generateID: false
    writeOperation: create
    replaceDots: true
    traceOutput: false
    traceError: true
    currentTimeIndex: false
    suppressTypeName: true
    networking:
      DNSResolver: LEGACY

The config file from ConfigMap doesn't have any DNS entry:
[Output]
    Name    opensearch
    Match    *
    Host    redacted
    Port    443
    Buffer_Size    10M
    Type    _doc
    Logstash_Format    true
    Logstash_Prefix    redacted
    Logstash_DateFormat    %Y%m%d
    Time_Key    @timestamp
    Time_Key_Format    %Y-%m-%dT%H:%M:%S
    Time_Key_Nanos    false
    Include_Tag_Key    true
    Tag_Key    log_name
    Generate_ID    false
    Write_Operation    create
    Replace_Dots    true
    Trace_Output    false
    Trace_Error    true
    Current_Time_Index    false
    Suppress_Type_Name    true

Anyway: the current code is broken and would generate net.dns.prefer_ipv4 instead of net.dns.resolver:
https://github.com/fluent/fluent-operator/blob/master/apis/fluentbit/v1alpha2/plugins/net_types.go#L53
Expected behavior
I should see
net.dns.resolver LEGACY

in the ConfigMap
Your Environment
EKS 1.30 with:

- Fluent Operator version: 3.0.0
- Container Runtime: containerd

How did you install fluent operator?
helm install
Additional context
Without this option set fluent-bit can't send anything to Opensearch
The log from fluent-bit is:
[2024/08/13 17:15:59] [ warn] [net] getaddrinfo(host='redacted', err=11): Could not contact DNS server

This setting (net.dns.resolver LEGACY) fixes it.

An explanation why DNSResolver: LEGACY is needed: https://github.com/fluent/fluent-bit/issues/7105


JAWR 3.3 + UglifyJS - application startup time has increased to 24 minutes

I had a question that I also posted on https://java.net/jira/browse/JAWR-313
I am using JAWR 3.3.3 for bundling my JS and CSS files in my application. I am currently using YUICompressor for compressing the files, however, because YUICompressor is not compatible with ES6's Promises' catch, I was exploring using UglifyJS instead with my current JAWR version. I dropped in the appropriate UglifyJS files from the latest JAWR version and got it to work, however, my server startup is now taking 24 minutes! When I used uglify-js via command line, however, I did not see it taking a long time. Can you shed light on any ideas for troubleshooting this? Any help is highly appreciated. Thanks!

Hi,
Jawr 3.3.3 use rhino as Javascript engine.
The compression speed is not really dependent of Jawr.
This could be an issue in the way rhino handle your version of UglifyJS
I'm seeing 2 solutions :

Use the built in JSMin minificator.
You can try to upgrade to Jawr 3.9 and use nashorn, the built in Java JS  engine and see if the processing speed is better.

You can send me an sample of JS file to minify so I'll take a look but I'm not optimistic about being able to speed up the minification process as it is not an intrinsic Jawr issue but the use of other components.
Cheers,

I am using nashorn JS engine and the application server start up time is still very slow - 15 minutes in total. Our team was tending towards using UglifyJS instead of JSMin because of the number of NPM downloads and active community. If you have any other troubleshooting tips, that would really help. (Not sure I can share any JS files - these are confidential )

Hi,
Have you make a test directly with nodejs?
I would be interested to know how much is the gain.
If the gain is substantial, we should probably consider using nodejs as the execution engine for this kind of process.
Cheers,

Hi,
As said the issue is not related to Jawr itself.
If you would like to have the possibility to use nodeJS as JS engine, please open a new issue.
Cheers,


Proposal: type Signal e m a = ReaderT (Rational, Rational) (WriterT ([Event e]) m)) a

Originally posed as a solution to #14

In order to embed IO actions that affect the actual signal graph, i.e. aleatoric signal transformers, we need to make our signal type monadic. This approach deviates from Tidal in that we introduce a new type parameter, rather than riding on top of the Event type parameter.
Pros:

dynamic signal transformers

Cons:

event extraction is no longer guaranteed deterministic, if the underlying monad is non-deterministic.
this means if IO is somewhere in the base monad, we can only extract events once.

No concurrent backends for different render targets.
No non-realtime event visualization

This is how the type change would look like:
Current implementation
type Signal e = (Rational, Rational) -> [Event e]

Proposed implementation
type Signal e a = (Rational, Rational) -> ([Event e], a)

or
type Signal e m a = (Rational, Rational) -> ([Event e], m a)

Do we use mtl, and get something like the following?
type Signal e m a = ReaderT (Rational, Rational) (WriterT ([Event e]) m) a

Closing in favor of PRNGs for #14


Enable versioning for gcp_scanner

There is no version history for GCP Scanner. We need to evaluate what options Github offer and/or develop our own versioning schema for the scanner.

I want to take this up :)

Hi @mshudrak!! Could you please elaborate a bit more about what type of versioning schema is expected (like branch-based or tag based or some other type)? I'd like to contribute, please could you assign the issue to me?

Hi @mshudrak I am wondering if we could use the Github release to do this?

Hey @mshudrak, would love to work on this and suggest possible solutions which can help us in this specific issue :)

Hey folks, thanks for interest. We have multiple people want to work on this issue. Please go ahead and work on it if you want. Github release sounds good for me. PTAL at https://github.com/DynamoRIO/dynamorio/ versioning as an inspiration.

Hello, @mshudrak!! Could you perhaps specify on the kind of versioning schema required ,like tag or branch based?  I'd would really like to partake; could you please allocate the issue to me?

Hi @sriharshitha07, we are looking for tag based schema. There is ongoing PR on this one, if you want you can help @ZhengLin-Li on that. We just don't want any third-party depencendcy.

Hi @sriharshitha07, we are looking for tag based schema. There is ongoing PR on this one, if you want you can help @ZhengLin-Li on that. We just don't want any third-party depencendcy.

alright ..thankyou

Hi, @mshudrak What about using release-please-action, It's good I have used it here? What your thoughts on this?

Yep, @sumit-158 this is the project that we can use for release actions.

There are two ongoing PRs but both of them are using third-party projects that I would prefer to avoid linking the scanner with.

@mshudrak Open the third Pr :-)

Ok, right now we have five PR requests related to this issue #34, #35, #98, #100, #102. Please take a look at previous PRs before considering submitting a new PRs to this one.

TL;DR: We do not want to use any non-maintained or untrusted third-party Github actions as I commented on #34, #35, #98, #102. We will proceed forward with Github Actions plugin offered in #100.

This project is similar to my course curriculum, if this project is given to me then i surely  give my best. And this project will helpful for my proffesional future.

It is done. We will rely on Github Actions to make releases. We will do them manually once a large set of features are implemented. PyPI workflow will be triggered automatically on new release.


[WebView] can't fullscreen html5 video inside iframe

Cannot make html5 video fullscreen. if i open the link in chrome outside the app i can make it fullscreen. but inside the WebView I can't.

example link https://gdriveplayer.us/embed2.php?link=NksVbV3wF7dgidJzFWOOIATl%2BxtRZ0XsQZYYOUGdnXgUM6ZTPaxF7TqSGGx1NDwPJC3uobQ%2BbVRo42sF3nSdXSvQzZh8YSYyHu5Hpcpp4f%2Fc1qgjQDnVxEIwIdF6NjNrppP7%2BCi1s8IqCnTpVJMj27XzzphUmrWV6%2FcZDXtOr%2BqzuEdB8jnDu%2B%2BPWroyVZj%2F02J92IIzEfkyxE02N4Q4vg
@override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: AppBar(
        title: Text("Title"),
      ),
      body:
          Container(
            color: Colors.black,
            child: episode!=null?
            WebView(
              initialUrl: 'http://<IP_ADDRESS>:8082?url='+episode.streamUrl,
              javascriptMode: JavascriptMode.unrestricted,
            ):Text('Loading'),
          )

    );

I'm having the same problem with embedded YouTube videos
buildVideo(Atracao atracao) {
    return Container(
      //color: Color.fromRGBO(20, 20, 20, 1),
      padding: EdgeInsets.fromLTRB(10, 10, 10, 20),
      width: screenSize.width,
      height: 200,
      child: WebView(javascriptMode: JavascriptMode.unrestricted,
        initialUrl: '',
        onWebViewCreated: (WebViewController webViewController) {
          _controller = webViewController;
          _controller.loadUrl( Uri.dataFromString(
              '''

              <iframe width="100%" height="100%"
              style="width:100%;height:100%;display:block;background:black;"
              src="https://www.youtube.com/embed/${Utils.convertYouTubeUrlToId(atracao?.video)}"
              frameborder="0"
              allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
               allowfullscreen="allowfullscreen"
                mozallowfullscreen="mozallowfullscreen"
                msallowfullscreen="msallowfullscreen"
                oallowfullscreen="oallowfullscreen"
                webkitallowfullscreen="webkitallowfullscreen"
               >

              ''',
              mimeType: 'text/html',
              encoding: Encoding.getByName('utf-8')
          ).toString());
        },
      ),
    );
}

How about allowing video fullscreen into a <video> tag?
@override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Video Demo',
      home: Scaffold(
        body: WebView(
          initialUrl: '',
          onWebViewCreated: (WebViewController webViewController) {
            setState(() {
              _controller = webViewController;
              _controller.loadUrl(Uri.dataFromString(
                '''
                  <!DOCTYPE html>

                    <video controls id="video" width="100%" src="https://archive.org/download/ElephantsDream/ed_1024_512kb.mp4"></video>

                  ''',
                mimeType: 'text/html',
                encoding: Encoding.getByName('utf-8'),
              ).toString());
            });
          },
        ),
      ),
    );
  }

Same issue for embedding fb live stream videos. It works in native browser, but not inside flutter webview. Any idea how to resolve this?

You can try my plugin flutter_inappbrowser.
An example of a WebView loading a local file from the assets folder (see more here):
child: InAppWebView(
  initialFile: "assets/index.html",
  initialHeaders: {},
  initialOptions: InAppWebViewWidgetOptions(
    inAppWebViewOptions: InAppWebViewOptions(
        debuggingEnabled: true,
    )
  ),
  onWebViewCreated: (InAppWebViewController controller) {
    webView = controller;
  },
  onLoadStart: (InAppWebViewController controller, String url) {

  },
  onLoadStop: (InAppWebViewController controller, String url) {

  },
  onConsoleMessage: (InAppWebViewController controller, ConsoleMessage consoleMessage) {
    print("console message: ${consoleMessage.message}");
  },
),

The index.html file with your iframe:
<!doctype html>

        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Flutter InAppBrowser</title>

Or using initialData if you want load html from flutter without using a local file:
...

String iframeUrl = "https://gdriveplayer.us/embed2.php?link=NksVbV3wF7dgidJzFWOOIATl%2BxtRZ0XsQZYYOUGdnXgUM6ZTPaxF7TqSGGx1NDwPJC3uobQ%2BbVRo42sF3nSdXSvQzZh8YSYyHu5Hpcpp4f%2Fc1qgjQDnVxEIwIdF6NjNrppP7%2BCi1s8IqCnTpVJMj27XzzphUmrWV6%2FcZDXtOr%2BqzuEdB8jnDu%2B%2BPWroyVZj%2F02J92IIzEfkyxE02N4Q4vg";

...

child: InAppWebView(
  initialData: InAppWebViewInitialData(
    data: """
<!doctype html>

        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Flutter InAppBrowser</title>

"""
  ),
  initialHeaders: {},
  initialOptions: InAppWebViewWidgetOptions(
    inAppWebViewOptions: InAppWebViewOptions(
        debuggingEnabled: true,
    )
  ),
  onWebViewCreated: (InAppWebViewController controller) {
    webView = controller;
  },
  onLoadStart: (InAppWebViewController controller, String url) {

  },
  onLoadStop: (InAppWebViewController controller, String url) {

  },
  onConsoleMessage: (InAppWebViewController controller, ConsoleMessage consoleMessage) {
    print("console message: ${consoleMessage.message}");
  },
),

You can try my plugin flutter_inappbrowser (EDIT: it has been renamed to flutter_inappwebview).
An example of a WebView loading a local file from the assets folder (see more here):
child: InAppWebView(
  initialFile: "assets/index.html",
  initialHeaders: {},
  initialOptions: InAppWebViewWidgetOptions(
    inAppWebViewOptions: InAppWebViewOptions(
        debuggingEnabled: true,
    )
  ),
  onWebViewCreated: (InAppWebViewController controller) {
    webView = controller;
  },
  onLoadStart: (InAppWebViewController controller, String url) {

  },
  onLoadStop: (InAppWebViewController controller, String url) {

  },
  onConsoleMessage: (InAppWebViewController controller, ConsoleMessage consoleMessage) {
    print("console message: ${consoleMessage.message}");
  },
),

The index.html file with your iframe:
<!doctype html>

        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Flutter InAppBrowser</title>

Or using initialData if you want load html from flutter without using a local file:
...

String iframeUrl = "https://gdriveplayer.us/embed2.php?link=NksVbV3wF7dgidJzFWOOIATl%2BxtRZ0XsQZYYOUGdnXgUM6ZTPaxF7TqSGGx1NDwPJC3uobQ%2BbVRo42sF3nSdXSvQzZh8YSYyHu5Hpcpp4f%2Fc1qgjQDnVxEIwIdF6NjNrppP7%2BCi1s8IqCnTpVJMj27XzzphUmrWV6%2FcZDXtOr%2BqzuEdB8jnDu%2B%2BPWroyVZj%2F02J92IIzEfkyxE02N4Q4vg";

...

child: InAppWebView(
  initialData: InAppWebViewInitialData(
    data: """
<!doctype html>

        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge">
        <title>Flutter InAppBrowser</title>

"""
  ),
  initialHeaders: {},
  initialOptions: InAppWebViewWidgetOptions(
    inAppWebViewOptions: InAppWebViewOptions(
        debuggingEnabled: true,
    )
  ),
  onWebViewCreated: (InAppWebViewController controller) {
    webView = controller;
  },
  onLoadStart: (InAppWebViewController controller, String url) {

  },
  onLoadStop: (InAppWebViewController controller, String url) {

  },
  onConsoleMessage: (InAppWebViewController controller, ConsoleMessage consoleMessage) {
    print("console message: ${consoleMessage.message}");
  },
),

I tried your plugin. but I got error :
uses-sdk:minSdkVersion 16 cannot be smaller than version 17 declared in library

@maltub9 as specified in the main page of the repository (here) and in the official documentation (here), you need  to update the minSdkVersion of your android/app/build.gradle file to at least 17

@maltub9 as specified in the main page of the repository (here) and in the official documentation (here), you need to update the minSdkVersion of your android/app/build.gradle file to at least 17.
Also, you need to add <uses-permission android:name="android.permission.INTERNET"/> in the android/app/src/main/AndroidManifest.xml file in order to give minimum permission to perform network operations in your application.

Thank you for reply. I fixed the problem. and your plugin successfully showed the fullscreen button. but once I clicked on the full screen button the app crushed.

@maltub9 open an issue on the plugin repository with error logs, etc.

Any update on this issue?

I give up. The issue not solved
On Wed, Dec 18, 2019, 9:20 PM saklani<EMAIL_ADDRESS>wrote:

Any update on this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/27101?email_source=notifications&email_token=ALEBDAQLYBTJZGRDKNZZ7SLQZJZWVA5CNFSM4GSONY52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHHF6IQ#issuecomment-567172898,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALEBDASNVHQYSHQUJQB2ZZ3QZJZWVANCNFSM4GSONY5Q
.

/cc @amirh for further triage if necessary.

no solution yet

Same issue while embedding Vimeo videos.

Same problem

Same problem. Trying to load a web page that embeds a Vimeo video, no fullscreen option available on Android (also when using a video tag with the direct link). Works fine on iOS.

when I WebView to load the local html5 text, the display of content will not visibile util your move the screen, why?

Same problem

I tested on some android real device work well for InAppWebView but I tested on some devices not work still stuck, I don't understand why

still this issue is open?? 😢

there's a plugin flutter_youtube_player

Issue reproducible on latest Flutter dev channel (1.20.0-0.0.pre) and with latest version of webview_flutter plugin.

I found this nice tutorial: https://www.monstertechnocodes.com/2018/07/how-to-enable-fullscreen-mode-in-any.html in case anyone want to give it a try.

Hi everyone. Has anyone successfully implement @blasten method ?
https://www.youtube.com/watch?v=b1dkJXjuTsg
Thank you

Do anyone find a solution, still facing the same issue, I can't find any working solution on the whole internet?

anyone found a solution yet? or is there a way to pull html5 videos without webview

2021 and still unsolved.

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

Did you also test this on Flutter web?

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

Did you also test this on Flutter web?

Work!
Used with StreamTape, Backin, Wstream

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

Working for me with vimeo videos, thanks!

Work!
Used with StreamTape, Backin, Wstream
EDIT:
I don't know if the new version of webview have this problem on iOS but actually this fork not work with redirection.

What do you mean with redirection @MikeCoder96?

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

Working for me with vimeo videos, thanks!

Work!
Used with StreamTape, Backin, Wstream
EDIT:
I don't know if the new version of webview have this problem on iOS but actually this fork not work with redirection.

What do you mean with redirection @MikeCoder96?

there is some website protected with stayonline.pro and you need to press the button continue to go to the desired website but when you press continue it stay there. In android this problem is not present.
i've enabled http security policy and javascript in webview but nothing change.

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

Working for me with vimeo videos, thanks!

Work!
Used with StreamTape, Backin, Wstream
EDIT:
I don't know if the new version of webview have this problem on iOS but actually this fork not work with redirection.

What do you mean with redirection @MikeCoder96?

there is some website protected with stayonline.pro and you need to press the button continue to go to the desired website but when you press continue it stay there. In android this problem is not present.
i've enabled http security policy and javascript in webview but nothing change.

Ah I see, but that's probably unrelated to the fullscreen fix by @danqzt right?

The fullscreen fork work in Android and in iOS without problems.
Only redirect not work in iOS but i don't know if this can be a iOS 14 issue or a fork issue

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

@danqzt Your fix looks similar to what @windows7lake posted here: https://github.com/flutter/flutter/issues/45464#issuecomment-594298952
Can one of you submit it as a PR so we it can get merged? Or if you give me permission, I can try to submit it.
Thanks!

@Aulig Yes, the solution was based on @windows7lake with some modification. And you can try to submit the pull request, as I haven't got chance to fork the latest flutter v2.0.

@Aulig Yes, the solution was based on @windows7lake with some modification. And you can try to submit the pull request, as I haven't got chance to fork the latest flutter v2.0.

Awesome, thanks for the permission. I've submitted it here: https://github.com/flutter/plugins/pull/3722

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

Found a real big problem, if you are in fullscreen with an HTML5 player and press home button on android you will not able anymore to touch anything, you need to force stop app from adb or reboot device!

Hi,
I have temporary fix here (forked from 1.0.7) at least it is working for my use case with youtube videos on WebView. Hope this helpful.
https://github.com/danqzt/webview_flutter-1.0.7.droid_fullscreen

Found a real big problem, if you are in fullscreen with an HTML5 player and press home button on android you will not able anymore to touch anything, you need to force stop app from adb or reboot device!
I'm using Samsung Note 9 with Android 10 and One UI 2.5, if necessary i can provide other info.
In debug console there is no errors.

Doesn't occur for me in the emulator or on my Xiaomi mi 9t pro on Android 10. Sounds like a potential One UI bug, these things shouldn't even be possible if an App tried to cause something like that.

Because IOS can support full screen playback, Android can't support full screen playback. It was tested and defined as a serious bug. I had to go to the fork plug-in to modify the native related code.

Did anyone get any fix for this bug?

@a15056478  I was able to achieve this by using [Flutter inappwebview package](flutter_inappwebview: ^5.3.2)

@adnanjpg Can you help me with this?
'
Can you please share code snippet?

@a15056478 sure,
import 'package:flutter/material.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';

final iframe = '''

''';

final frm = Uri.dataFromString(
  iframe,
  mimeType: 'text/html',
);

return Scaffold(
  body: SafeArea(
    child: InAppWebView(
      initialUrlRequest: URLRequest(url: frm),
    ),
  ),
);

@adnanjpg Thank you so much it worked.

I used danqzt's code to adapt to the latest version，but I don't know how to fix webview auto scroll to top after exit fullscreen .

flutter 2.8, webview 3.0, end of 2021 - issue still present. zaebis, chetko blyat. Happy christmas!

hi @lexch13 , this issue doesnt seem its going to be solved any time soon. my solution was to use this alternative package

@lexch13 you can also refer to my comments above for usage example

hi @adnanjpg, this solution is cool and am using it for another my app, but it dropping framerates if use it together with native ads, but thank you!

not yet solution!

Hi @Stitch-Taotao, @adnanjpg was right, much better use alternative package. I upgraded dependencies and now it working very well

We need this feature :'(

This package is ruined without the ability to toggle full screen on videos. My only solution would be using flutter_inappwebview 5.3.2  package. but that one has its own issues with back button. How can such basic stuff not be already figured out by Flutter Dev team?

hi @lexch13 , this issue doesnt seem its going to be solved any time soon. my solution was to use this alternative package

How did you solve the back button issue with this package? the backbutton makes the app/screen close instead of going back in browsing history.

hi @lexch13 , this issue doesnt seem its going to be solved any time soon. my solution was to use this alternative package

How did you solve the back button issue with this package? the backbutton makes the app/screen close instead of going back in browsing history.

i am using willPopeScope widget
`WillPopScope(
onWillPop: () async {
bool isCanGoBack = await _tabsStore
.webViewControllers[_tabsStore.currentTabIndex]
?.canGoBack() ??
false;
if (isCanGoBack) {
_tabsStore.webViewControllers[_tabsStore.currentTabIndex]?.goBack();
return false;
}
    return _tabsStore.currentTab.isHome // or smth else;
  }`

I need this feature for app windows

@TahaTesser Any working solution you can recommend? or @tadaspetra ?

@krishaajtak i recommend this : https://pub.dev/packages/flutter_inappwebview

@EArminjon thankyou for your answer. @timsneath if you can hear this ? Flutter is really bad for video playing apps, webview which we can really rely on is too not yet useful for us please see to the issue being opened at 2019. We at our company need to cater over a million users.

@EArminjon thankyou for your answer. @timsneath if you can hear this ? Flutter is really bad for video playing apps, webview which we can really rely on is too not yet useful for us please see to the issue being opened at 2019. We at our company need to cater over a million users.

Upvote the issue to make it a priority for the Flutter team. If there's not enough progress for you, work on a PR. We all want this feature but complaining gets us nowhere.

@Aulig I agree with you. I have also referred the PR that you created and I am working towards the solution as well.

hi @lexch13 , this issue doesnt seem its going to be solved any time soon. my solution was to use this alternative package

How did you solve the back button issue with this package? the backbutton makes the app/screen close instead of going back in browsing history.

i am using willPopeScope widget
      onWillPop: () async {
        bool isCanGoBack = await _tabsStore
                .webViewControllers[_tabsStore.currentTabIndex]
                ?.canGoBack() ??
            false;
        if (isCanGoBack) {
          _tabsStore.webViewControllers[_tabsStore.currentTabIndex]?.goBack();
          return false;
        }
        return _tabsStore.currentTab.isHome // or smth else;
      }

I have the same issues. But it is not work for me. I got my own way to  make it. try to exec js code to exit full screen.
return WillPopScope(
onWillPop: () async {
if (_isFullScreen) {
_webViewController?.evaluateJavascript(source:
"""
document.exitFullscreen()
.then(() => console.log("Document Exited from Full screen mode"))
.catch((err) => console.error(err));
"""
);
return false;
}
return true;
},
........
);
the state of fullscreen you can get it from :
InAppWebView(
......
onEnterFullscreen: (controller) => {_isFullScreen = true},
onExitFullscreen: (controller) => {_isFullScreen = false},
)

why is mere Fullscreen not supported yet!?
in my website, i have this js code for fullscreen which works everywhere else but doesnt work on flutter_webview:
function openFullscreen() {
  if (document.body.requestFullscreen) {
    document.body.requestFullscreen();
  } else if (document.body.webkitRequestFullscreen) {
    document.body.webkitRequestFullscreen();
  } else if (document.body.msRequestFullscreen) {
    document.body.msRequestFullscreen();
  }
}


Fixes router warnings caused by rc.1 versions, updated Typings to 1.2.0, fixes crisis-center routes.

Typings now uses globalDependencies instead of ambientDependencies. Requires change in the reference-path of typings.d.ts.
Crisis-center routes where wrong due to how index works.

tx!


Active flag and Device Status Monitoring

Goal: we would like to better understand the device status for system administration, specifically if the device is

actively sending data,
registered at the location but down for some reason,
registered but is not deployed at any locations.

The current active flag in the database is not very useful at the moment. There should also be a convenient end-point we can hook up the admin page of the dashboard for monitoring. https://dashboard.tracket.info/admin
@mbechtel happy to discuss here further in a thread!

Thank you for setting up this issue.  Great ideas.  After thinking about it a bit, I think we should not add these features to the API because they are not needed/useful to the public and device-specific information should be kept private and secure.  Instead, we should query and display this information behind a private and secured admin login UI.


Spevacus: Watch test-watch

Spevacus requests the watch of the watch_keyword test-watch. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Self-rejected by Spevacus in Spevacus_SDTesting. No rejection reason was provided.


install, upgrade: don't print message if formula already installed

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Fix for #11900
The prelude method checks if the formula has already been installed, so it should be invoked before printing any install or upgrade messages.

Thanks again @FnControlOption!


Image caching do not work

Hello,
I use an HP 8 1401 with android 4.2.2 and the and Bubble 1.3.0 (4).
Since it's the first time I use it, I suppose there would be picture in the rectangle of each comic/manga, but nop. Tried with zip and cbz archives.

Can files be opened for reading? Would be glad if you could check rar archives as well.

I also tried with an Alcatel Idol 2 Mini L running android 4.3 and I have the same problem.
I can open zip, cbz and normal folders but not rar-based one like cbr (and I do not get the picture with them as well).

Ok, the problem is related to the cache directory being unavailable, caused by either external storage absence, or lack of writing permission. Will try to fix it by the next release.

@Winkelried could you please report if the issue has been resolved in v1.4.0?

Yes it works with zip and rar archives. But I've noticied a new issue (shall I make a new issue ?). The other menu is visible.

yes, report the new issue.


Recognise contributors with the all-contributors package

https://github.com/kentcdodds/all-contributors

This is done but I also feel we should move it to the main readme at some point


new format for Zheng

Question: The model is supposed to have 48 parameters, thereof 1 noise parameter. However, in the sbml file, there are number_of_observables_many, giving a total of 60 parameters. Should there maybe be only 1 noise_... parameter which is mapped to all sigma_... parameters?

as far as I understood, the mapping is only done with the measurementData sheet. So in the SBML we might have much more parameters - one for each observable - than estimated. Maybe @LeonardSchmiester can confirm?


Connection reset by peer on attempt to GetRuntimeInformation

Expected Behavior
A connection should be established with the following environment variables set.
EVENTHUB_CONNECTION_STRING,
EVENTHUB_NAMESPACE
EVENTHUB_NAME
Actual Behavior
When attempting to invoke hub.GetRuntimeInformation it returns the following error - read tcp <IP_ADDRESS>:50582-><IP_ADDRESS>:5671: read: connection reset by peer
Current failing code -
        hub, err := eh.NewHubFromEnvironment()
	if err != nil {
		fmt.Println("Failed to create event hub-", err)
		return err
	}
	ctx, cancel := context.WithTimeout(context.Background(), 3600*time.Second)
	defer cancel()

	handler := func(c context.Context, event *eh.Event) error {
		fmt.Println(*event)
		return nil
	}
	runtimeInfo, err := hub.GetRuntimeInformation(ctx) //FAILS HERE
	if err != nil {
		fmt.Println("Failed to get runtime information-", err)
		return err
	}

One interesting piece of information found while debugging is that it looks like the token provider in the namespace is not being set correctly (see attached debug image). That said, this could be a complete red herring.
 You might want to obfuscate it.

@devigned Thanks for pointing that out. I have shared the image and obfuscated the sensitive information.

@ddeep2007 can you build your hub explicitly via: https://github.com/Azure/azure-event-hubs-go/blob/ab7925c86c2c3eeb40ffafa149820faca6d6bedc/hub.go#L89-L107
To build your token provider, you'd use:
provider, sasErr := sas.NewTokenProvider(sas.TokenProviderWithEnvironmentVars())

This will help me narrow down the issue.

@devigned - I was able to build the hub explicitly as you specified above and see the same issue. What information do you need from me to help root cause? Here is the modified code now
`
namespace := os.Getenv("EVENTHUB_NAMESPACE")
name := os.Getenv("EVENTHUB_NAME")
provider, err := sas.NewTokenProvider(sas.TokenProviderWithEnvironmentVars())
if err != nil {
	fmt.Println("Failed to establish sas token provider -", err)
	return err
}

hub, err := eh.NewHub(namespace, name, provider)
if err != nil {
	fmt.Println("Failed to establish connection to event hub -", err)
	return err
}

// hub, err := eh.NewHubFromEnvironment()
// if err != nil {
// 	fmt.Println("Failed to create event hub-", err)
// 	return err
// }
ctx, cancel := context.WithTimeout(context.Background(), 3600*time.Second)
defer cancel()

handler := func(c context.Context, event *eh.Event) error {
	fmt.Println(*event)
	return nil
}
runtimeInfo, err := hub.GetRuntimeInformation(ctx)
if err != nil {
	fmt.Println("Failed to get runtime information-", err)
	return err
}

`

Hmm... There are tests for this functionality. That makes me question if you have network access to the Event Hub host on port 5671.

Is there any way I can test that?

telnet {your-sb-namespace}.servicebus.windows.net 5671

If you need telnet, just
brew install telnet

If you can connect, you should see something like:
$ telnet foo.servicebus.windows.net 5671
Trying <IP_ADDRESS>...
Connected to ns-sb2-prod-bl3-012.cloudapp.net.
Escape character is '^]'.

That worked fine:
Trying <IP_ADDRESS>... Connected to ns-eh2-prod-by3-511.cloudapp.net. Escape character is '^]'.

@devigned - seems like an issue with my companies VPN. When trying this from an external wifi network the code worked fine.

We are thinking about adding web socket support. Would this help you?

@ddeep2007 closing the issue since it sounds like you have determined it's VPN related.

One thing worth checking out is the firewall in your network being opened for port 5671. I expected Event Hub to always be on 443. It worked for me after the port was opened up. Validated the port using tcpdump after referring to the protocol handshake doco for Event Hub/Service Bus.

One thing worth checking out is the firewall in your network being opened for port 5671. I expected Event Hub to always be on 443. It worked for me after the port was opened up. Validated the port using tcpdump after referring to the protocol handshake doco for Event Hub/Service Bus.

In my case they are both opened, but sometimes company firewall has some special settings which are not predictable.