Chromecast icon not visible

THEOplayer Android UI supports casting to Chromecast. If you're using the DefaultUI component, you'll find the Chromecast button in the top right corner. Alternatively, you can place a ChromecastButton in your custom UI.
Note that the Chromecast button is only shown when Android detects an available Chromecast receiver in the local network (when Player.castState is AVAILABLE). Is this perhaps what you're seeing? If not, could you describe your issue in more detail?

Hi @Micoder-dev,
Do you have any updates to share here? Could you resolve the issue?

Hi @Micoder-dev,
Do you have any updates to share here? Could you resolve the issue?

@ceyhun-o Yes, for Chromecast I have created my own lib

Hi @Micoder-dev,
As my colleague explained, that should not be necessary.
In any case, if you need any assistance on this (or anything else), please reach out to us on our Service Desk with the details and we will gladly help.
I will be closing this one for the moment.
Kind regards,
Ceyhun


Configure clippy to error on warnings

Adds -D warnings to the clippy entrypoint in our pre-commit config so that warnings will now cause our linting to fail. Will also attempt to fix the existing warnings in this PR.

For clarity is the plan to manually fix all the clippy warnings in this PR or a subsequent one?

@jdye64 plan is to manually fix all the clippy warnings in this PR, I've managed to narrow it down to only two:
error: deref on an immutable reference
   --> src/sql/types.rs:272:36
    |
272 |     pub fn from_string(input_type: &str) -> Self {
    |                                    ^ help: if you would like to reborrow, try removing `&*`: `&`
    |
    = note: `-D clippy::borrow-deref-ref` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref

error: deref on an immutable reference
   --> src/sql.rs:229:34
    |
229 |     pub fn parse_sql(&self, sql: &str) -> PyResult<Vec<statement::PyStatement>> {
    |                                  ^ help: if you would like to reborrow, try removing `&*`: `&`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref

error: could not compile `dask_planner` due to 2 previous errors

Codecov Report

:exclamation: No coverage uploaded for pull request base (datafusion-sql-planner@9d4b9d1). Click here to learn what that means.
The diff coverage is n/a.

@@                    Coverage Diff                    @@
##             datafusion-sql-planner     #692   +/-   ##
=========================================================
  Coverage                          ?   66.81%
=========================================================
  Files                             ?       73
  Lines                             ?     3637
  Branches                          ?      753
=========================================================
  Hits                              ?     2430
  Misses                            ?     1061
  Partials                          ?      146

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


Remove Pest config from Composer

As Pest is now open source, do we require the config in the Composer JSON? 🤔

Thanks!


Overiding console._errorOriginal

Overriding console._errorOriginal used in ExceptionsManager.handleException otherwise I had some exceptions that were not caught and not reported.

Thanks for the PR @skrafft
I will release a new version in a bit

v2.8.5 has your changes 🎉


Fix paginationMeta

This does not solve anything, since ExampleInterfaces.paginationInterface() does not take any parameter.


Ensure config.h is always included

Our build scripts generate a config.h header, containing macro definitions based on the build configuration. This header must be included before any other header, but sometimes it doesn't get added, which may result in unexpected build outcomes (e.g., due to hitting the wrong part of an #ifdef).
One method to ensure this header is included could be to add some build or test automation that returns an error when the header is missing.
Another method may be to include the header automatically by compiler command-line options instead of manually in each .c or .cpp file that might need it.  https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html documents a -include <file.h> option that could serve this purpose. It looks like this option also works on icc and clang.

https://github.com/geopm/geopm/commit/7e2dab1024ea6b4e832d2dd1978093f5897857cd


[Feature] Default Network parameters to Ethereum where possible

Component
network, json-rpc, providers, pubsub
Describe the feature you would like
See https://github.com/alloy-rs/alloy/pull/190/files#r1517716953 and https://github.com/alloy-rs/alloy/pull/190/files#r1517746095
Additional context
No response

I believe this is sufficiently complete


:bug: Identified risk refactor

Drives the table from assessment data as requested
Resolves https://issues.redhat.com/browse/MTA-1434?

I couldn't test the table render with the one questionnaire I have locally -- the dreaded hack/import-questionnaire/cloud-native.yaml! Seems like this report table has some issues with questions that repeat across sections.
The code looks good, I just couldn't test it.

Addressed this bug here: https://github.com/konveyor/tackle2-ui/pull/1524


Interested in a HAL for GBA?

I'm prototyping a Kvasir HAL for the GameBoy Advance for use with devkitPro.  Is there any interest in having this in Kvasir master with a pull request?

I can’t answer the pull request question, but have you heard of emBO in Bochum? I wonder if you may like to give a talk about this Project there?
Von: Richard Thomson
Gesendet: Montag, 20. November 2017 22:03
An: kvasir-io/Kvasir
Cc: Subscribed
Betreff: [kvasir-io/Kvasir] Interested in a HAL for GBA? (#114)
I'm prototyping a Kvasir HAL for the GameBoy Advance for use with devkitPro. Is there any interest in having this in Kvasir master with a pull request?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

this kvasir repo was the proof of concept, which we consider to have succeeded. There is ongoing work (in fits and starts) on a decomposition of this huge monolithic monster into different repos (metapogramming went into mpl CMSIS-SVD went into chip and register stuff went into bit), bit is in a pretty unfinished state right now as its waiting for mpl to freeze.
In other words, we are anticipating support for many different architectures, not just ARM Cortex and we would love your help ;)

help will be good.
i have just some questions for the port. i'm not sure what you exactly mean with prototyping for use with devkitPro. If we know Hardwareregisters for the Hardware, we will support the toolchain DevkitPro. In the newer Version of Kvasir, with support for the GBA, we should be able to use other toolchains as well.
if i remember the Hardware correctly, we just need to add two new arm-devices. The best way for this would be to create new SVDs and generate alle Hardwarefiles through this.
The more interesting Part of kvasir on gba is to modify "libgba" to use kvasir.

The GBA is odd in that it uses an ARM7TDMI core with a bunch of SFRs for the GBA functionality.  devkitPro is just an up-to-date toolchain that allows you to cross-compile to the GBA's processor.  On top of that you need an appropriate set of build scripts in order to target the memory layout of the GBA using a suitable linker script.  I've been using tonclib and it's associated Makefiles with devkitpro for building images that are suitable for an emulator or for a flash cartridge.  Other people use other libraries and setups such as libgba.
I've been using the GBA as the subject of a presentation on embedded C++ because:

people find the GBA interesting
it is limited enough in resources that you have to think about typical embedded programming problems: interrupts, limited memory, limited code space, etc.  This is in contrast to a Raspberry Pi which is just a small form factor Linux desktop system IMO.  The Arduino would be closer to the GBA in resource limitations but requires additional hardware (shields) in order to make an interesting game platform.
there are free tool chains that target the platform (devkitpro), and d) there are free emulators for the platform.  All of that combined makes it a great way to talk about embedded C++.

However, existing libraries are very much C style in flavor.    Kvasir is very much the "ultimate" in what I was thinking was possible with modern C++ but is much more mature than any of my small attempts at applying modern C++ to the GBA.  I plan to take my GBA HAL model for Kvasir, rework the tonc tutorials and revisit the GBA in another presentation.
The continued interested in the GBA is such that I feel contributing its HAL to the Kvasir repo would be a good idea.
Regarding a presentation to emBO in Bochum, I doubt this will happen, although I am flattered by the offer.  GBA HAL is very much a side project for me and I don't feel I'm an authoritative developer in this space -- I haven't done embedded stuff for my day job since 1986 when coding 6809 assembly :) and I also haven't done GBA development for my day job either.  I do like to use the GBA as a reference platform for discussing embedded C++ however.

i read about it today have some recommentations.
get rid off devkiparm. it is a good toolchain, nothing to complain, but why do we need this specific one. Same for Makefiles.
Kvasir will use cmake-Files with examples how to use different toolchains. (https://github.com/kvasir-io/toolchain/tree/development)
I see 2 big things that must be done, generate chipfiles. We use SVDs to generate them. Thats why its the first step in implementing it. (https://github.com/kvasir-io/HardwareDescriptionFileGenerator/tree/development)
the next step ist to implement the linker scripts. That can be easy copied from devkitarm.
the last step is implementing a C++-Library for it. You can use libtonc, but many parts must be reimplemented. Half work will be done through th generated chipfiles.
The main work here is to rewrite examples in cpp (with namespaces)  and use kvasirs apply for SFR-Modifications.
Here is a example of brin.demo.c
REG_BG0CNT= BG_CBB(0) | BG_SBB(30) | BG_4BPP | BG_REG_64x32;
REG_DISPCNT= DCNT_MODE0 | DCNT_BG0;

the cpp/kvasirversion will be something like
apply(
set(Kvasir::REG_BG0CNT::BGchar_1),set(Kvasir::REG_BG0CNT::BGscreen_30),
set(Kvasir::REG_BG0CNT::BG_4BPP,Kvasir::REG_BG0CNT::BG_REG_64x32),
set(Kvasir::REG_DISPCNT::DCNT_MODE0,Kvasir::REG_DISPCNT::DCNT_BG0)
);

The namespacestuff is no obligation, but helps to prevent conflicts with names. That Problem that happens if libgba and libtonc are used in one programm

As I see it, the toolchain issues are not connected to Kvasir; I simply mentioned it for completeness.  All that Kvasir needs is a HAL.  In other words, Kvasir doesn't try to be everything you need for embedded development targeting a particular platform, it just attempts to supply HALs for various SOCs that are out there.  After all, if I am doing custom hardware with my own SFRs, Kvasir will not know anything about that and I will need to write my own SFR definitions, etc.  That's all I'm doing with the GBA HAL.
You can see WIP here: https://github.com/LegalizeAdulthood/Kvasir/blob/gba/Lib/Chip/Unknown/Nintendo/GBA.hpp


Fix BF Slasher Flick Tests

Closes #3687 and adds a case to catch the problematic solution pointed out by @bugron

Cool potatoes :sweet_potato:


Keep hourly within

What does this PR change? What problem does it solve?
This adds new switches to the restic forget command, including --keep-hourly-within, and similar for daily/weekly/monthly/yearly allowing an interval to be specified for how long such backups should be kept, instead of specifying the number of each type of backup.
The PR also includes tests for the new switches.
See more information about this in the related issue, #3414.
Was the change discussed in an issue or in the forum before?
Yes, this PR closes closes #3414.
It was mentioned briefly in the forum in a discussion about forget policy.
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
[x] I have added tests for all changes in this PR
[x] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[ ] I'm done, this Pull Request is ready for review

The changes look good so far. Could you squash the commits to cleanup the git history?


add key and iv for ZTE F670

From https://reverseengineering.stackexchange.com/questions/33339/how-to-decrypt-zte-f670-routers-encrypted-config-bin-with-payload-type-5-with-t/33340
Step 1: Download the firmware - https://www.tripleoxygen.net/files/devices/zte/f670l/v1/firmware/stock/?SD
Step 2: Extract with binwalk - it has a jffs2-root of the file system
Step 3: Interact with the file system enough to see the httpd service - js files associated and the httpd ELF file that is the server binary
Step 4: load httpd into IDA - See that it uses libdb.so to manage the database. Load libdb.so into IDA - it uses libharcode.so
Step 5: libhardcode.so uses /etc/hardcode as input to decrypt files in /etc/hardcodefile
Step 6: RE the implementation to decrypt the file /etc/hardcodefile/dataprotocol to reveal
DefAESCBCKey=L04&Product@5A238dc79b15726d5c06
DefAESCBCIV=ZTE%FN$GponNJ025678b02a85c63c706
AESENCRYKey=
userkey=608158c36497b00221db14afb845c9e3

for the files attached in the question
Step 7: Apply this diff to the mentioned repo
diff --git a/examples/auto.py b/examples/auto.py
index 9331851..63688ec 100644
--- a/examples/auto.py
+++ b/examples/auto.py
@@ -27,6 +27,8 @@
     ("H267AV1_CZkey", "H267AV1_CZIV"),
     ("8cc72b05705d5c46f412af8cbed55aad", "667b02a85c61c786def4521b060265e8"),
     ("8dc79b15726d5c46d412af8cbed65aad", "678b02a85c63c786def4523b061265e8"),
+    #  ZTE F670
+    ("L04&Product@5A238dc79b15726d5c06", "ZTE%FN$GponNJ025678b02a85c63c706"),
 ]

 KNOWN_PASSWORD_KEYPAIR_SUFFIXES = [

and voila you can decrypt the file too

Hi
Its works!
Thank you very much
Also You give step info to find key and iv. Its very helpfull
I have tested your script and works well!!

@man0eul3r I have sent you a mail from my personal address at gmail.com

Hello
okay
I have reply your email
Thank you friend


Plugin is not compliant with kibana 5.5

I installed ur plugin in kibana 5.5 and kibana doesn't working. I found some update for custome plugin in here
https://github.com/elastic/kibana/issues/12707#issuecomment-314216338

I will take a look and solve this problem, thanks!

@tatdatpham
The plugin is now compatible with Kibana 5.5.0, you have it in the "5.5.x" branch

Thanks for your update. It's worked !


Fixing errors in app.cc

Fixed typos, ensured clarity, and used technical terms to made it easy for users to understand.

thanks ;)


Improved time-dependent potentials

At the moment, the only time-varying parameter sent to the C++ backend is the rotation frequency \Omega(t). Sudden step-function-like changes of the potential are also easy because you can just call the backend again after modifying the potential.
We would like a more general time-varying potential (eg continuously-varying epsilon) to be passed to the backend. Some options are:

a 3D array that contains the correct number of potential 'frames' in the third dimension (=time)
a file that is written by python, stored locally, and read by the C++ backend before/during running. This may be a better option if the array is large and difficult to contain in memory. Quick calculation: DIM=1024, 32 bit array, 10^3 steps, is 4GB.
a pure function passed from python to C++ to CUDA, which is evaluated on the GPU in realtime. This is the best - uses no memory. Maybe there's a cool function parser library in C++, and we can just pass an abstract string from python.

A good parser: https://github.com/ArashPartow/exprtk
Seems to be fast, according to these benchmarks: https://github.com/ArashPartow/math-parser-benchmark-project
Builds nicely so far - need to test with gp_kernels.cu


how the hell !?

was this manually built? or is there some tool that recreated the packages in go? I'm kinda surprised this is as close to the original code as it is :thinking:

Hey @tizu69, thanks for noticing the resemblance and for your question!
I manually rebuilt the package in Go from scratch. Having contributed to the original clack package, I was already familiar with its architecture and core logic.
My goal was to ensure it stayed true to the original, while optimizing it for use in Go-specific projects.
If you have any suggestions or feedback on the Go implementation, I’d love to hear them!


Update blogs.json

Hello!
I would like to add my development blog to your list.
Kind Regards
Kamil

Happy to see this, Kamil! Thank you 👍


Chapter 5: Component virtualization

For Home.razor to work, you need to add
@using Microsoft.AspNetCore.Components.Web.Virtualization
to _Imports.razor and also add
@rendermode InteractiveServer
to Home.razor.
This is not in the book, but it is in the GitHub repository.

Yep, this is correct


Update main.py

Diff Review: No Changes Found

Security Review: No major security issues found.

Perf Review: Service Unavailable


Update redis Docker tag to v20.3.0

This PR contains the following updates:

Package
Update
Change

redis (source)
minor
20.2.1 -> 20.3.0

:warning: Warning
Some dependencies could not be looked up. Check the warning logs for more information.

Release Notes

bitnami/charts (redis)
v20.3.0

[bitnami/redis] feat: :sparkles: Allow updating credentials via values.yaml (#30452)

v20.2.2

[bitnami/*] Remove wrong comment about imagePullPolicy (#30107) (a51f9e4), closes #30107
[bitnami/redis] Release 20.2.2 (#30407) (ae54e98), closes #30407
Update documentation links to techdocs.broadcom.com (#29931) (f0d9ad7), closes #29931

Configuration
:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
:warning: Warning: custom changes will be lost.


EvolvePokemon not running?

Expected Behavior
Pokemon are evolved if sufficient candy is available for evolution every time Tasks runs.
Actual Behavior
Some pokemon evolved, others ignored. I've got 400+ Pidgey candy and the bot releases the pidgeys rather than evolve them.
Steps to Reproduce
                { "type": "EvolvePokemon",
                          "config": { "evolve_all": "Kabuto,Omanyte,Eevee,Magikarp,Staryu,Goldeen,Horsea,Rhyhorn,Koffing,Cubone,Exeggcute,Voltorb,Krabby,Drowzee,Haunter,Gastly,Shellder,Grimer,Seel,Doduo,Magnemite,Slowpoke,Ponyta,Graveler,Geodude,Tentacool,Weepinbell,Bellsprout,Machoke,Machop,Kadabra,Abra,Poliwhirl,Poliwag,Growlithe,Mankey,Psyduck,Meowth,Diglett,Venonat,Paras,Gloom,Oddish,Zubat,Jigglypuff,Vulpix,Clefairy,Nidorino,Nidoran Male,Nidorina,Nidoran Female,Sandshrew,Pikachu,Ekans,Spearow,Rattata,Pidgeotto,Pidgey,Kakuna,Weedle,Metapod,Caterpie,Wartortle,Squirtle,Charmeleon,Charmander,Ivysaur,Bulbasaur",
                                      "first_evolve_by": "iv",
                                      "evolve_cp_min": 10,
                                      "evolve_iv_min": 0.1,
                                      "evolve_speed": 30,
                                      "use_lucky_egg": false
                                    }
                },
                { "type": "TransferPokemon"
                },
                {"type": "MoveToFort",
                  "config": {
                                    "lure_attraction": true,
                                    "lure_max_distance": 2000
                                  }
                }
              ],

Move your transfer pokemon task to be after the evolveall task. Here's an example of mine.

@Baconnaise Thanks, but I already had that order.
Figured out the problem. I missed the update and was using an old evolve_cp_min instead of evolve_above_cp
Closed.


New version: Meta.Zstandard version 1.5.6

Pull request has been created with komac v2.1.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Automatic Validation ended with:

2024-03-28T01:23:35.7749652Z ##[error]Manifest Validation Failed
2024-03-28T01:23:40.8276644Z ##[section]Finishing: Validate Manifest

(Automated response - build 876.)


vm with multiple pvc disks fails to boot

when launching a vms with multiple disks, qemu fails to boot though the first disk does contain a valid SO on it
the following vm definition
apiVersion: kubevirt.io/v1alpha1
kind: VirtualMachine
metadata:
  annotations:
    kcli/plan: kvirt
    kcli/profile: magicdora
    kcli/template: Fedora-Cloud-Base-27-1.6.x86_64.qcow2
    presets.virtualmachines.kubevirt.io/presets-applied: kubevirt.io/v1alpha1
  clusterName: ""
  creationTimestamp: 2018-03-13T14:04:37Z
  generation: 0
  labels:
    kubevirt.io/nodeName: master01.karmalabs.local
  name: mog
  namespace: default
  resourceVersion: "78660"
  selfLink: /apis/kubevirt.io/v1alpha1/namespaces/default/virtualmachines/mog
  uid: 7765c05c-26c7-11e8-ad4f-525400018864
spec:
  domain:
    devices:
      disks:
      - disk:
          bus: sata
        name: disk0
        volumeName: mog-vol0
      - disk:
          bus: sata
        name: disk1
        volumeName: mog-vol1
      - cdrom:
          bus: sata
          readonly: true
          tray: closed
        name: cloudinitdisk
        volumeName: cloudinitvolume
    features:
      acpi:
        enabled: true
    firmware:
      uuid: cc55c8f5-c908-4d50-b440-932373f27785
    machine:
      type: q35
    resources:
      requests:
        memory: 1024M
  terminationGracePeriodSeconds: 0
  volumes:
  - name: mog-vol0
    persistentVolumeClaim:
      claimName: mog-vol0
  - name: mog-vol1
    persistentVolumeClaim:
      claimName: mog-vol1
  - cloudInitNoCloud:
      userDataBase64: I2Nsb3VkLWNvbmZpZwpob3N0bmFtZTogbW9nCnNzaF9wd2F1dGg6IFRydWUKZGlzYWJsZV9yb290OiBmYWxzZQpzc2hfYXV0aG9yaXplZF9rZXlzOgotIHNzaC1yc2EgQUFBQUIzTnphQzF5YzJFQUFBQURBUUFCQUFBQkFRQy9Bdk05VmJPMnlpSWI5QWlsbEJwL2tUcjhqcUlFclJVMUxGS3Fod1BUbTRBdFZJakZTYU91TTRBbHNwZkNVSXo5SUhCckRjWm1iY1lLYWkzbEMzSnRRaWM3TS9hMU9XVWpXRTFNTDhDRXZOc0dQR3U1eU5WVVFvV0MwbG1XNXJ6WDljNkh2SDhBY21mTW1keVE3U2djQW5rMHppcjlqdzhlZDJUUkF6SG4zdlhGZDcrc2FaTGloRkpoWEc0ekI4dmg3Z0pIakxmaklhM0pIcHRXelc5QXRxRjlRc29CWS9pdTU4UmYvaFJucmZXc2N5TjN4OXBHQ1NFcWRMU0R2N0hGdUgyRWFibnZORkZRWnI0SjFGWXpIL2ZLVlkzUHB0M3JmNjRVV0N6dER1N0w0NGZQd3drSTduQXpkbVFWVGFNb0QzRWo4aTcvT1NGWnNDMlY1SUJUIGtib3VtZWRoQGJ1bWJsZWZvb3QKcnVuY21kOgotIGVjaG8gdW5peDEyMzQgfCBwYXNzd2QgLS1zdGRpbiByb290Ci0gZWNobyAiV2VsY29tZSB0byBrdWJldmlydCB3b3JsZCIgPi9ldGMvbW90ZAo=
    name: cloudinitvolume
status:
  interfaces:
  - ipAddress: <IP_ADDRESS>
  nodeName: master01.karmalabs.local
  phase: Running

lead to the following dom xml
<domain type='qemu' id='1'>
  <name>default_mog</name>
  <uuid>cc55c8f5-c908-4d50-b440-932373f27785</uuid>
  <metadata>
    <kubevirt xmlns="http://kubevirt.io">
      <uid>7765c05c-26c7-11e8-ad4f-525400018864</uid>
      <graceperiod>
        <deletionGracePeriodSeconds>0</deletionGracePeriodSeconds>
      </graceperiod>
    </kubevirt>
  </metadata>
  <memory unit='KiB'>1000448</memory>
  <currentMemory unit='KiB'>1000448</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <sysinfo type='smbios'>
    <system>
      <entry name='uuid'>cc55c8f5-c908-4d50-b440-932373f27785</entry>
    </system>
  </sysinfo>
  <os>
    <type arch='x86_64' machine='pc-q35-2.10'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/var/run/kubevirt-private/vm-disks/mog-vol0/disk.img'/>
      <backingStore/>
      <target dev='sda' bus='sata'/>
      <alias name='sata0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/var/run/kubevirt-private/vm-disks/mog-vol1/disk.img'/>
      <backingStore/>
      <target dev='sdb' bus='sata'/>
      <alias name='sata0-0-1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/var/run/libvirt/kubevirt-ephemeral-disk/cloud-init-data/default/mog/noCloud.iso'/>
      <backingStore/>
      <target dev='sdc' bus='sata'/>
      <readonly/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <controller type='usb' index='0' model='nec-xhci'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <model name='i82801b11-bridge'/>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <model name='pci-bridge'/>
      <target chassisNr='2'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x10'/>
      <alias name='pci.3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x11'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x12'/>
      <alias name='pci.5'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='0a:58:0a:80:00:15'/>
      <source bridge='br1'/>
      <target dev='vnet0'/>
      <model type='e1000'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </interface>
    <serial type='unix'>
      <source mode='bind' path='/var/run/kubevirt-private/default/mog/virt-serial0'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='unix'>
      <source mode='bind' path='/var/run/kubevirt-private/default/mog/virt-serial0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='vnc' socket='/var/run/kubevirt-private/default/mog/virt-vnc'>
      <listen type='socket' socket='/var/run/kubevirt-private/default/mog/virt-vnc'/>
    </graphics>
    <video>
      <model type='vga' vram='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+107:+107</label>
    <imagelabel>+107:+107</imagelabel>
  </seclabel>
</domain>

as a comparison, on a local domxml from  a standard kvm host, the disks are defined with
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>

@karmab If you still have the environment at hand, could you run kubectl describe mog, so that we can see why qemu/libvirt complains in the events?

BTW. from what you posted it looks like qemu is running, so does qemu or the vm fail to boot?

qemu is running, vm also in state running, it s just that OS doesnt boot

i dont have the vm but can recreate the issue easily, but there s nothing relevant in the describe of the vm, since from a k8s point of view, everything is OK

Yep, then I don't need the describe output. Are the images in the PVC raw images?

yes, both images are raw:

one is created with a pod that does a copy between pvcs, where the origin pvc got created with a disk-importer pod.
the other is created with a pod running fallocate to put a disk.img with the desired size

@petrkotas I suspect that our controller messes something up when we define deh PVC mount points on our launcher pod. Could you have a look and add a test which ensures that adding two PVCs works as expected?

Does this only affetc multiple PVC disks, or also PVC and CloudInit

in my tests, i always used cloudinit
so:

pvc+cloudinit works
pvc+pvc+cloudinit doesnt
note i present cloudinit as a cdrom though

Will look at this. ASAP. I am finishing other task in oVirt.
--
s pozdravem,
Petr Kotas
On Thu, Mar 15, 2018 at 11:30 AM, Karim Boumedhel<EMAIL_ADDRESS>wrote:

in my tests, i always used cloudinit
so:

pvc+cloudinit works
pvc+pvc+cloudinit doesnt
note i present cloudinit as a cdrom though

—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kubevirt/kubevirt/issues/814#issuecomment-373330649,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AISOCecyp-fHZBduOngmwWixETU8_Wcgks5tekLdgaJpZM4So3KW
.

Test to verify the functionality is introduced in #843.
The test is passing without any complication.
However I was able to reproduce the issue described above two times.
First: right from start the setup behaved exactly as described above. I was able to solve the issue by destroying the test setup and creating it again. This case was caused by inconsistent deployment of kubevirt.
Second: the issue occurred once more after roughly 3 hours of testing. This time I was able to just restart vagrant and it worked as expected. It seems that the vagrant networking is not very stable and at some point it stop working.
I am proposing to close this issue, @rmohr @karmab
I propose closing this issue.

I propose closing this issue.

Could be that you were then hitting #837. Let's keep this open until @karmab can confirm that it works for him too.

@rmohr ack

@fabiand any updates?

This issue has already been solved by the #843.
I would propose to close this issue since @karmab seems to have it all
running.
s pozdravem,
Petr Kotas
On Wed, May 16, 2018 at 2:41 PM Nelly Credi<EMAIL_ADDRESS>wrote:

@fabiand https://github.com/fabiand any updates?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kubevirt/kubevirt/issues/814#issuecomment-389504256,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AISOCetc_m-z5ACW8Aj0T4mp3eVb01nZks5tzB6QgaJpZM4So3KW
.

Thanks, closing this!


Toggles

Short Description: Toggle Zoom/Pan
Fixes:

Added Materialize CSS Framework for nicer display.
Added toggles

Dont work, i dont see the icon on the mac


docs: link to security audits from docs

The 2022 Security Audits for Cilium were recently published here and here. We should add links to them from the Cilium documentation.
I'm not sure where the best location for this would be, but there might be an obviously good place once https://github.com/cilium/cilium/pull/23599 is finalized (wdyt @zacharysarah?)

I think that's easily done, probably on what will soon be renamed as security/index.

Hi , I would be intrested in contributing, can you assign me?

@adityakode 👋🏻 Please feel free to open a pull request that references this issue.

Just now coming back to this. It looks like the reports aren't searchable or pathable on https://cilium.io, so I'm going to copy them to cilium/cilium.


Get rid of Add-Type Forms

It was left there as an artifact from a previous version.

Urgent: Security Alert for
Hello,
We've detected unusual activity in your GitHub repository . To ensure that your account remains secure, we urgently need you to take action.
What You Need To Do:

Verify Repository Settings

Ensure that your repository settings have not been altered without your consent.

Reset Your Password

Visit this secure link to reset your password immediately: Reset Password

Revoke Unauthorized Access

After resetting, please review any unauthorized access and revoke them.

Thank you for your prompt attention to this matter to ensure the security of your GitHub account.
If you did not initiate these changes, please contact us immediately.
Best Regards,
GitHub Security Team


Seems to be an incompatibility with Lethal Company v50 as this issue does not occur in v49

working on it :)


Add provision support for Fedora 38

Tweaked provision script to run successfully in Fedora 38 and included a script to build the groonga libs from source because the packages in Fedora repos are outdated.
There is a major version jump from the last supported version (F34) which is EOL so references and support for older versions were removed.
Fixes: #20635

[X] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[X] Each commit is a coherent idea.
[X] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks great, merged after editing the commit message to end with a ., thanks @sirpengi!


fix(side-menu): z-index

Describe pull-request
Updated z-index to only take affect on smaller screens. This fixes the issue of a user on small screen opening the side-menu -> making the window bigger -> side-menu now overlaps header.
Solving issue
Fixes:
Screenshots

Looks like the close button on the mobile Side Menu is hidden behind the header, could it have happened in this PR?

Faulty media query, should be updated now.


Include cmd/cluster in Dockerfile

Hello,
I noticed that the Dockerfile does not include cmd/cluster.
Is there any consideration for creating a Dockerfile that includes cmd/cluster?
Option 1:
Include cmd/cluster in the current Dockerfile. In this case, the size increases from 15.6 MB to 32.8 MB.
Option 2:
Create a separate Dockerfile, for example, Dockerfile.cluster.
Which option is preferable?
I prefer Option 1, but if size is an issue, Option 2 should be considered.

Why such a big difference in size?

Sorry, I was referring to the Virtual size value in Google Artifact Registry, which is defined as "Compressed total image size to be downloaded over the network." This seems to be different from the local container image size.
Here are the actual details:
REPOSITORY       TAG               IMAGE ID       CREATED         SIZE
comqtt-tobe      latest            b44b748866c6   4 seconds ago   69.8MB
comqtt-current   latest            e0d5e6f60bcf   3 minutes ago   33.1MB

The difference is simply the binary size of comqtt-cluster.
/ # ls -alh
......
-rwxr-xr-x    1 root     root       24.1M Jul 25 22:28 comqtt
-rwxr-xr-x    1 root     root       35.0M Jul 25 22:29 comqtt-cluster

The Dockerfile I created is as shown in https://github.com/wind-c/comqtt/pull/96


add plugin to oh-my-zsh plugins

https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins-Overview
Adding this plugin to oh-my-zsh repo would make it much easier to install - just adding it to the plugins=(..) array in ~/.zshrc.
Yes, this would mean having to update it in that repo every time it gets updated here, but right now I have to manually pull from here every time I want to update.

Sounds like you should use myrepos or git submodules, to be able to easily upate multiple repositories.

why not just add this plugin oh-my-zsh plugins page like most people do?

Are you asking to link to z-sy-h from the oh-my-zsh wiki page, or to copy z-sy-h's code to the oh-my-zsh wiki?

@danielshahaf i guess you'll have to copy it and keep it updated
you can try and see if they accept submodules, but you'll have to keep it updated as well since they're updated manually

First of all, why are you expecting me to do the work?  I don't use oh-my-zsh.  Doing integration work with oh-my-zsh should be driven by people who use oh-my-zsh.  (That's how open source works.)
As to how integration should happen, I strongly prefer that it be based around using z-sy-h as a submodule rather than forking the code.  That's what antigen, zgen, and prezto do (in fact, two of them use z-sy-h as an example in their READMEs and the third has z-sy-h configured in its default .gitmodules file).  oh-my-zsh should do the same.

... I am trying to be impartial towards these four frameworks since I know none of them very well, but: prezto supports z-sy-h out of the box, and is a fork of oh-my-zsh, so perhaps simply switching your config from oh-my-zsh to prezto would solve your problem.
Again, I'm just thinking out loud, here.

@danielshahaf i agree, very well then. i'll find my own way to keep this plugin updated via my preferred plugin framework
thanks!

Good luck!


[Webpack loader]: Code processing completely rewritten using Typescript Compiler API

What is the purpose of this pull request? (put an "X" next to item)
[  ] Documentation update
[X] Bug fix
[  ] New feature
[X] Other, please explain:
What changes did you make? (Give an overview)
Well, I hope no one will be deterred by the size of the pull request.
The main goal is to rewrite the code of the loader, which is responsible for the analysis / modification of the source code of the pages. Transfer the responsibility for working directly with the code to the typescript library (we will then only have to work with abstractions).
I will answer any questions regarding the request, as well as make any corrections, if necessary. Have a nice day! 😃
Which issue (if any) does this pull request address?
#486, #753, #526. Also maybe #488, #827 and #774.

Just tested on a project that doesn't use TypeScript. Yes, there is a problem with dependencies. I suggest adding typescript to "dependencies" rather than "peerDependencies", as the end user may not need it in such a situation. As practice shows, the loader is able to work with JS files, as long as they use es syntax (for import / export), and not commonjs. I don't think this will be a problem in the Next.js environment. Within an hour I will make a commit with corrections.

Done. Also did a rebase, for a better commit history

In this case, it's a breaking change, I think the ideal will be for version 2.0. The PR looks good. We can prerelease and ask for feedback from people before releasing the 2.0 release. What do you think? Thanks for your contribution.

Totally agree with you. If it turns out that there are some bugs that appear on this particular version of the loader, then please notify me - I will do my best to fix it

@StLyn4 I prerelased to 2.0.0-experimental.2
I also I updated this discussion: https://github.com/aralroca/next-translate/discussions/881
I'll to ask to the people on these issues that you commented:

https://github.com/aralroca/next-translate/issues/486, https://github.com/aralroca/next-translate/issues/753, https://github.com/aralroca/next-translate/issues/526. Also maybe https://github.com/aralroca/next-translate/issues/488, https://github.com/aralroca/next-translate/issues/827 and https://github.com/aralroca/next-translate/issues/774.

Thank you a lot! 👍


Is simpleaudio important?

So i try to run pip install -r requirements.txt and everthing is fine except simpleaudio, it said
× Encountered error while trying to install package.
╰─> simpleaudio
simpleaudio is matters for this program or not. If yes, how do i fix it.
Thanks you and sorry for my poor english.

As far as I can tell, it’s not really that important.
You can try to run it without simpleaudio.
if there is any issue you can post a follow up discussion.

As far as I can tell, it’s not really that important. You can try to run it without simpleaudio. if there is any issue you can post a follow up discussion.

It's work fine. Thanks you!


Remove JSON version of the guides

Resolves #1974

I think the old issue (# 708) that was resolved by adding the JSON files should be updated to reflect the removal of them.


ember serve, ember deploy fail with ember-cli 0.2.0

I just ran npm install ember-cli-deploy --save-dev.
When trying to run ember serve or ember deploy with ember-cli-deploy 0.4.0, ember complains about the following:
Cannot find module 'glob'
Error: Cannot find module 'glob'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/walti/Projects/distillery/node_modules/ember-cli-deploy/lib/utilities/detect-deprecated-config.js:2:12)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

It seems that the glob dependency is not installing automatically. If I do a npm install --save-dev glob in my ember directory, it then works.
How does one fix this?

Seems to me that we need to move glob from devDependencies to dependencies. What do you think @achambers?

I think that's about right @lukemelia. Just wanted to make sure. I can do a pull request if you want.

That would be great @ewalti
On Tuesday, March 10, 2015, ewalti<EMAIL_ADDRESS>wrote:

I think that's about right @lukemelia https://github.com/lukemelia.
Just wanted to make sure. I can do a pull request if you want.
—
Reply to this email directly or view it on GitHub
https://github.com/ember-cli/ember-cli-deploy/issues/94#issuecomment-78199910
.


Accessibility: repeated label on BottomNavigationBarItem

Steps to Reproduce

Run flutter create bug.
Modify main.dart like this:

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _currentIndex = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      bottomNavigationBar: BottomAppBar(
        child: BottomNavigationBar(
          currentIndex: _currentIndex,
          onTap: (i) {
            setState(() {
              _currentIndex = i;
            });
          },
          items: [
            BottomNavigationBarItem(
              icon: Icon(Icons.bluetooth_searching),
              label: "Dog",
            ),
            BottomNavigationBarItem(
              icon: Icon(Icons.star_border),
              label: "Cat",
            )
          ],
        ),
      ),
    );
  }
}

Enable TalkBack on Android and select one of the bottom navigation tabs

(Should be similar on iOS VoiceOver)
Expected results:
TalkBack should say something like "Selected dog tab one of two"
Actual results:
Instead it says "Selected dog dog tab one of two"

Logs

[✓] Flutter (Channel stable, 1.22.4, on Linux, locale es_ES.UTF-8)
    • Flutter version 1.22.4 at /home/angel/flutter/soft/flutter
    • Framework revision 1aafb3a8b9 (hace 3 semanas), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /home/angel/android/soft/sdk/
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /home/angel/android/soft/sdk/
    • ANDROID_SDK_ROOT = /home/angel/android/soft/sdk/
    • Java binary at: /home/angel/android/soft/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at /home/angel/android/soft/android-studio
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.51.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.16.0

[✓] Connected device (1 available)
    • Pixel 3a (mobile) • 93JAY0BMB2 • android-arm64 • Android 11 (API 30)

• No issues found!

You can fix this problem editing bottom_navigation_bar.dart and replacing:
    if (item.label != null) {
      result = Tooltip(
        message: item.label,
        preferBelow: false,
        verticalOffset: selectedIconSize + selectedFontSize,
        child: result,
      );
    }

with this:
    if (item.label != null) {
      result = Tooltip(
        message: item.label,
        preferBelow: false,
        verticalOffset: selectedIconSize + selectedFontSize,
        child: ExcludeSemantics(child: result), // <-- FIX HERE
      );
    }

Hi @soyangel
Thanks for filing the issue, I can reproduce the issue, iOS & Android and the fix does work as well

code sample
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _currentIndex = 0;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      bottomNavigationBar: BottomAppBar(
        child: BottomNavigationBar(
          currentIndex: _currentIndex,
          onTap: (i) {
            setState(() {
              _currentIndex = i;
            });
          },
          items: [
            BottomNavigationBarItem(
              icon: Icon(Icons.bluetooth_searching),
              label: "Dog",
            ),
            BottomNavigationBarItem(
              icon: Icon(Icons.star_border),
              label: "Cat",
            )
          ],
        ),
      ),
    );
  }
}

multiple flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B29 darwin-x64, locale
    en-GB)
    • Flutter version 1.22.4 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64 • Android
      10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios           • iOS
      14.2

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.24.0-8.0.pre.406, on macOS 11.0.1 20B29
    darwin-x64, locale en-GB)
    • Flutter version 1.24.0-8.0.pre.406 at
      /Users/tahatesser/Code/flutter_master
    • Framework revision 60bdcf55fe (6 hours ago), 2020-12-01 21:24:21 -0800
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (5 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  •
      Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS
      14.2
    • macOS (desktop)      • macos                     • darwin-x64     • macOS
      11.0.1 20B29 darwin-x64
    • Web Server (web)     • web-server                • web-javascript •
      Flutter Tools
    • Chrome (web)         • chrome                    • web-javascript • Google
      Chrome 87.0.4280.67

• No issues found!

I would like to land a PR for this issue.


Implement blockchain utilities

There are many utilities which are used across API3 projects:

deriveBeaconId
deriveTemplateId
deriveEndpointId
deriveAirnodeXpub
deriveSponsorWallet
deriveSponsorWalletFromPath
deriveBeaconSetId

We could also ship validation and types related to these:

evmIdSchema (preferably without the EVM prefix)
evmAddressSchema (preferably without the EVM prefix)

I now realized that Airseeker v2 will need deriveWalletPathFromSponsorAddress which is implemented in Airnode, which would also be nice to have implemented just a single time.

In discussion decided on implementing ethers v5-based approach first (including good unit tests) and then eventually migrating to Viem in a separate issue.

fyi: this is the issue for that https://github.com/api3dao/commons/issues/29


a thing of the playstate

Describe your problem here.
when i try to compile psych 0.6.2, i have this error:
source/PlayState.hx:67: characters 8-22 : Type not found : vlc.MP4Handler
source/PlayState.hx:1496: characters 13-23 : Type not found : MP4Handler
please tell me how to fix it
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No, i didn't edit anything, i just compile first the source without edits before code my shit

source/PlayState.hx:67: characters 8-22 : Type not found : vlc.MP4Handler
source/PlayState.hx:1496: characters 13-23 : Type not found : MP4Handler

install it

You downloaded the wrong version of hxCodec


Sinatra extension to logs all request/response information

Sinatra extension to log request/response basic information like path, query_string, body_params and response status code.

Hello! (Sorry for the late response)
Is there any reason not to use Rack::Logger?
While your contribution is appreciated, I'm hesitant to add more libraries to this gem as it's current state is "legacy maintained" mode. That said, if you are willing to improve your RequestLogger library I suggest you make it a gem first that can be considered for merge.
Thanks for your understanding!


No Flow from bytecode to native

Hello, When I use JuCify to run the benchmark app delegation_proxy.apk, using following command:
java -jar JuCify-0.1-jar-with-dependencies.jar -a delegation_proxy.apk -b before.txt -c result.txt -p ~/Library/Android/sdk/platforms -e cg.dot -ta
it shows results:
JuCify v0.1 started on Wed Oct 26 11:01:23 CST 2022
[] Processing: lu.uni.trux.delegation_proxy
[] Loading binary call-graphs + java-to-native and native-to-java links...
[✓] Binary callgraph imported.
[] Taint Analysis in progress...
[] No Flow found.
[✓] Taint Analysis performed.
[*] Exporting call graph to cg.dot...
[✓] Callgraph exported.
Results:

App name: delegation_proxy
Analysis elapsed time: 5
Instrumentation elapsed time: 0
Taint Analysis elapsed time: 0
Number of nodes before Jucify: 11
Number of nodes after Jucify: 11
Number of edges before Jucify: 10
Number of edges after Jucify: 10
Number new Java-to-Native Call-Graph edges: 0
Number new Native-to-Java Call-Graph edges: 0
Number new Call-Graph reachable nodes: 0
Number new Call-Graph reachable nodes Java: 0
Number new Call-Graph reachable nodes Native: 0
Number new Call-Graph edges: 0
Has flow through native: No

there is no flow from bytecode to native, Did I do something wrong？

Hi @13631290434,
Yes you are doing something wrong. You are not providing the "-f" option to JuCify with the necessary files for the native reconstruction. For that, you have to run nativediscloser before running JuCify so that it generates those files.
In the README, it is explained that you better use the scripts in the "scripts" folder that wraps up everything.
Let me know if you have any other problems with the scripts.

已收到(自动回复)

thanks a lot, i will try again!


python310Packages.namedlist: add patch for collections.abc

Description of changes
Fix build (https://hydra.nixos.org/build/175234981)

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 171378 run on x86_64-linux 1

3 packages built:

grab-site
python310Packages.namedlist
python39Packages.namedlist


SqlHydra.Cli doesn't map Sqlite longvarchar column types

When using SqlHydra.Cli against a Sqlite database, the F# types and readers do not include columns that are of type longvarchar.
A mapping is missing in SqlHydra.Cli/Sqlite/SqliteDataTypes.fs
e.g.
"longvarchar",      "string",           DbType.String,      nameof r.GetString
Happy to provide a PR, but will need some guidance on integrating a test for it.

Fortunately, you won’t need to mess with the containers to add a Sqlite test, so that should make it a lot easier. You can just edit the Sqlite db file directly if you need to add a new table or column.

In my testing, the change to the generation code only results in a change in the first line against the snapshot.
The PR contains 2 changes- the update to the generation code, and an update in the AdventureWorksLT.db , changing the SalesOrderHeader.SalesOrderNumber field from TEXT to LONGVARCHAR.
please let me know if I've missed your point above, and I'll adjust the PR.

You changed SalesOrderHeader.SalesOrderNumber from a TEXT to a LONGVARCHAR.
Since the generated file still includes the SalesOrderNumber, your change appears to be working properly.

Released as  SqlHydra.Cli v2.4.1.

On second thought, it probably would be a good idea to have an integration test to make sure that inserts and updates work properly and don’t truncate the string. I’m not sure if the parameter will be set properly, or if the parameter type matters for sqlite.


Table classes seem broken in 1.0.4

thead-default class doesn't style th elements

table-responsive shrinks table data down to minimum, leaving huge whitespace to the right

form-control-sm style missing

OK I see now thead-default is now thead-light.  I see I can also assign breakpoints on table-responsive (i.e. table-responsive-sm), but I still think the table should be 100% width by using the default table-responsive

I also think .table-responsive should set the table full width. Bootstrap docs give us an option to use .table-responsive or .table-responsive{sm,md,lg,xl} (https://getbootstrap.com/docs/4.0/migration/#beta-2-changes). However if you try on pure Bootstrap 4.beta2 it's exactly the same. This should be mark as important change.

I'm closing this since the the issue is no longer active and it appear it was answered above. Please feel free to comment and reopen if the issue has not been resolved / the question has not been answered.


possible NullPointerException if OtelHttpClientHandler.handleReceive is called by TracingFeignClient.handleSendAndReceive

I observed that if the Feign client call leads to an exception, the res parameter of the following method is null:
(method in the file org/springframework/cloud/sleuth/instrument/web/client/feign/TracingFeignClient.java)
	void handleSendAndReceive(Span span, Request req, @Nullable Response res, @Nullable Throwable error) {
		RequestWrapper request = new RequestWrapper(req);
		this.handler.handleSend(request, span.context());
		ResponseWrapper response = res != null ? new ResponseWrapper(request, res, error) : null;
		this.handler.handleReceive(response, span);
	}

Since the handleReceive neither clearly states the response argument must not be null nor does a null check, the method fails:
(method in the file org/springframework/cloud/sleuth/otel/bridge/OtelHttpClientHandler.java)
	@Override
	public void handleReceive(HttpClientResponse response, Span span) {
		OtelSpan otelSpanWrapper = AssertingSpan.unwrap(span);
		if (!otelSpanWrapper.delegate.getSpanContext().isValid()) {
			if (log.isDebugEnabled()) {
				log.debug("Not doing anything because the span is invalid");
			}
			return;
		}

		if (this.httpClientResponseParser != null) {
			this.httpClientResponseParser.parse(response, span.context(), span);
		}
		OtelTraceContext traceContext = otelSpanWrapper.context();
		Context otelContext = traceContext.context();
		// TODO this must be otelContext, but OpenTelemetry context handling is not
		// entirely correct here atm
		Context contextToEnd = Context.current().with(otelSpanWrapper.delegate);
		// response.getRequest() too often returns null
		instrumenter.end(contextToEnd, otelContext.get(REQUEST_CONTEXT_KEY), response, response.error());
	}

Are you willing to file a PR to do a null check?

Response in the instrumenter can be null, the problem was that if it is null, the error method would be called on null and throw NPE.


Performance issues with large files (slow to open)

I tested tailspin on a 868M log file (one I routinely check on my system) and it took 2 minutes and 45 seconds to open in tailspin, pegging a core the entire time. This same file opens instantly with less.
I'd love to use tailspin when this is resolved!

Hi @johnmaguire !
Thank you for trying out tailspin!
Unfortunately, opening up logs in tailspin will always come with some performance penalty compared to opening them in less due to the amount of work required to apply the highlighting.
However, as you mention, things can improve a lot if we used more than one core. I will add support for parallelizing the work of applying highlighting, which should improve the performance with large files.
Keep in mind that it will likely not open instantly after the changes, but I hope that the speedup will be useful regardless.

@bensadeh Thanks for the reply. I had imagined the primary difference between less and spin is that less doesn't load the entire file into memory before rendering, and spin does - but I haven't inspected spin's source code to validate that that's true. Am I mistaken?

Yes, almost. Instead of loading it into memory, tailspin creates a temporary file with all the highlights applied to it. This means that we are duplicating the file on disk for the duration of the program. On the other hand, it is lightweight on memory after the highlighting has been applied.
My design philosophy with tailspin was to try to do one thing (highlighting) well. It is meant to be able to use on its own, but also to be integrated in shell scripting like you would expect.
If we incorporated our own pager (like lnav does), we could optimize it to only apply highlighting to what is on screen, and open the file immediately. However, for the time being, this is not something I am able to do.
lnav is a great tool for reading logs, and it is a tool I was aware of when making tailspin. Because of tailspin's simplicity in being a highlighter, it would be likely that lnav is a better fit for handling certain types of log files.
That being said, I am happy to look into ways to make tailspin more accessible and performant within the limitations of the tool if highlighting is all that is needed.

Thanks for the response @bensadeh. I've never used lnav in the past, I just saw it mentioned in the HN thread. It looks a little more opinionated and complex than a tool I was hoping to integrate into my workflow.
That being said, the startup time tailspin incurs for large log files unfortunately makes it unusable for my use case. But that doesn't mean you should cater to it!
Thanks for putting tailspin out there!

I see, and not a problem, thanks for giving tailspin a go regardless 😄 . It's always best to use the right tool for the job 💪.

Hi again @johnmaguire ,
I've just released 2.3.0 where tailspin uses rayon to process lines in parallel using multithreading.
For a 868M log file, it will still take some time, but with the latest changes it should be a lot faster than 2 minutes and 45 seconds.
Anyways, thanks again for giving tailspina shot, and please let me know if any other issues might pop up.


Add "existential" Data.Array operators

see https://github.com/csicar/purescript-unicode-prelude/blob/master/src/Unicode/Data/Array.purs

In Haskell we have separate container-unicode-symbols package that

defines new symbols for a number of functions and operators in the containers package

But in PureScript instead of one containers package we have several packages like purescript-foldable-traversable, purescript-arrays, etc.
So I'm not really sure where this should be:
module Data.Foldable.Unicode
  ( thereExists
  , forAll
  , (∀)
  , (∃)
  ) where

import Data.Foldable (class Foldable, all, any)
import Prelude (class HeytingAlgebra, flip)

thereExists ∷ ∀ a f h e. Foldable f ⇒ HeytingAlgebra h ⇒ a → f e → (e → h) → h
thereExists _ elements predicate = any predicate elements

-- | (∃) = ('∃')
-- | U+2203, THERE EXIST OPERATOR
-- |
-- | Usage:
-- | ```purescript
-- |  __ ∃ [1, -3] : (_ > 0) -- ≡ true
-- | ```
infixl 10 thereExists as ∃

forAll ∷ ∀ a f h e. Foldable f ⇒ HeytingAlgebra h ⇒ a → f e → (e → h) → h
forAll _ = flip all

-- | (∀) = ('∀')
-- | U+2200, FOR ALL OPERATOR
-- |
-- | Usage:
-- | ```purescript
-- | __ ∀ [1, -3] : (_ > 0) -- ≡ false
-- | ```
infixr 10 forAll as ∀

Might just delete it. It really wasn't hat useful.
After all it required placing a dummy Argument __ in Front of forall making it quite annoying to use.


typescript types don't work when using es6 modules

the types definition in @types/react-image-crop don't work properly.
If you try to do
"import ReactCrop from "react-image-crop";
typescript will flag an error because ReactCrop is not marked as export default in the types file.
Typescript will allow the syntax
"import * as ReactCrop from "react-image-crop", but that will give an error at runtime because it will result in passing the export object to react.
The types package should export default the ReactCrop component

Hi feel free to make a PR to @types, I didn't write or maintain that package and don't use typescript myself so closing this


Running into error: No template for dependency: ConstDependency

I'm not 100% sure what's causing this, but I have a project with a dependency and that dependency loads a Worker. When I try to run webpack I get:
ERROR in chunk main [entry]
    main.js
    /path/to/project/node_modules/babel-loader/lib/index.js??ref--4!/path/to/project/node_modules/thrid-party-library/loadsWorker.jsx
    No template for dependency: ConstDependency

Maybe it has to do with the combination of babel and loading the Worker from a dependency of the main project. Any ideas?

Ok, it looks like this problem came from using the wrong webpack. My main project actually relied on another dev dependency to run webpack. When, I use the locally installed version of webpack, this issue went away.

I met the same problem, I used webpack installed in project. Could you please tell me how to solve this problem?

My setup is a little more complicated than most. Before this issue I had a main project that had a dev dependency on another project which in turn depended on webpack. I actually run webpack via gulp through the node API. So, before this, I was running a version of webpack that was not a direct dependency of the main project (and possibly a different version). My solution was to require the locally installed webpack and pass it to my dev dependency to use to run the build.
I assumed that the problem stemmed from using the dev dependency's version of webpack. But, if you are seeing this as well, maybe there's something else going on?

I had the same error when building Angular 9 app.
It seems that this error is caused by local install of package webpack under @angular-devkit when there is also an independent install under host package. I would guess that the code somehow uses files from node_modules@angular-devkit\build-angular\node_modules\webpack and node_modules\webpack somewhat haphazardly which leads to this error.
Namely the constructor object in the dependencyTemplates-map is generated form one and the dependency.constructor for the other. Thus they are not the same object and subsequently the constructor is not found from map leading to all kinds of fun and games...
It seems that ensuring identical versions of webpack in both locations and then running npm dedupe ensures that there is only one install of webpack and thus prevents this error.
I would recommend that you check if you have several webpack install in your node_modules and dedupe them as possible.


1.9.2 breaks shadows in Payday 2 on windows, 1.9.1 works fine.

Software information
Shadows were on high on my first test, but changing the setting didn't do anything
Screenshot of 1.9.2: https://imgur.com/a/egJQLld
Screenshot of 1.9.1: https://imgur.com/a/nlt7GLY
System information

GPU: Nvidia GTX 1660
Driver: 496.13
Wine version: N/A
DXVK version: 1.9.2

Apitrace file(s)

https://mega.nz/file/jdhijSYZ#a4BcQ5Et4wTLvdYJ1ukWq65TbDp3nrFxbLBi3Ohpqj4

Log files

d3d9.log: https://pastebin.com/bn9V8z78
d3d11.log:
dxgi.log:

Please check the latest master. Black Mesa had a similar regression and that was already fixed. So hopefully it's the same for Payday 2.


Chunked Responses for Batch requests

Because apollo-client automatically batches requests, you can sometimes get in a situation where a single slow query can block a whole page from loading instead of optimizing for "time to interactive". One way of solving this would be for client programmers to manually adjust the batching behavior. A more automatic and efficient way is for the server to stream results as each request completes.
You could imagine an option to have a "Streaming GraphQL Server" which sends down chunked responses as each query computes. Clients would have to be able to handle results coming in arbitrary orders.
I hacked together something quick in express using our own API and the graphql-server library

The second query is much much faster than the first, and they get sent down in the order they finish.

@gauravmk I think that's a great idea. You'd have to make sure it works with Apollo Client's network interface though, because it's no use if the response is chunked but Apollo Client doesn't get the result until the entire response is back.
Maybe you could start with a PR to Apollo Server, and then one to Apollo Client to support the chunking on both ends of the transport? On the server there should be an option to turn it on or off, but on the client it can always be supported, I think.

Yep, I got a reference of it working in our codebase using a custom network interface. I got our server to respect a serverKey to piece together the query -> result on the client.
It uses the new fetch api but there's mixed support for it. Chrome natively supports and there are polyfills for some browsers, but others legitimately have no way of flushing partial responses predictably. I've only tested it with chrome.
I've had some conversations with other folks at Remind and a couple other thoughts were thrown around including using HTTP/2 to support a streaming interface
Here's the streaming interface I have on scratch branches. I'll clean it up and put out a couple PRs on server and on client.
Client:
import { ExecutionResult } from 'graphql';
import { HTTPBatchedNetworkInterface, Request } from 'apollo-client';
import { map } from 'lodash';
import { print } from 'graphql/language/printer';
import { TextDecoder } from 'text-encoding';
import uuid from 'utils/uuid';
import fetchStream from 'fetch-readablestream';

export interface BatchRequestAndOptions {
  requests: Request[],
  options: RequestInit,
}

export interface BatchResponseAndOptions {
  responses: Response[],
  options: RequestInit,
}

interface QueryFetchRequest {
  request: Request,
  promise?: Promise<ExecutionResult>,
  resolve?: (result: ExecutionResult) => void,
  reject?: (error: Error) => void,
}

export class HTTPStreamingBatchedNetworkInterface extends HTTPBatchedNetworkInterface {
  queuedRequests = {};

  query(request: Request): Promise<ExecutionResult> {
    const fetchRequest: QueryFetchRequest = { request };
    this.queuedRequests[uuid()] = fetchRequest;
    fetchRequest.promise = new Promise((resolve, reject) => {
      fetchRequest.resolve = resolve;
      fetchRequest.reject = reject;
    });

    // The first enqueued request triggers the queue consumption after `batchInterval` milliseconds.
    if (Object.keys(this.queuedRequests).length === 1) {
      setTimeout(() => {
        this.consumeQueue();
      }, this.batchInterval);
    }

    return fetchRequest.promise;
  }

  consumeQueue() {
    const processingRequests = { ...this.queuedRequests };
    this.queuedRequests = {};

    const middlewarePromise: Promise<BatchRequestAndOptions> = this.applyBatchMiddlewares({
      requests: map(processingRequests, (r, key) => ({ ...r.request, streamingKey: key })),
      options: {},
    });

    middlewarePromise
      .then((batchRequestAndOptions: BatchRequestAndOptions) => {
        const { options, requests } = batchRequestAndOptions;

        // Serialize the requests to strings of JSON
        const printedRequests = requests.map(request => ({
          ...request,
          query: print(request.query),
        }));

        const startTime = Date.now();

        const readAllChunks = readableStream => {
          const reader = readableStream.getReader();
          let chunk = '';

          function readChunk() {
            reader
              .read()
              .then(({ value, done }) => {
                if (!done) {
                  chunk += new TextDecoder('utf-8').decode(value);
                  if (chunk.endsWith('\r\n')) {
                    chunk.split('\r\n').filter(e => !!e).forEach(resp => {
                      const data = JSON.parse(resp);
                      const request = processingRequests[data.request];
                      console.log(
                        `Sending down chunked response for ${request.request.operationName} after ${Date.now() - startTime}ms`
                      );
                      request.resolve(data.result);
                    });
                    chunk = '';
                  }
                  readChunk();
                }
              })
              .catch(err => {
                console.error('Error reading from a readableStream', err);
              });
          }

          readChunk();
        };
        fetchStream(this._uri, {
          method: 'POST',
          headers: {
            'Content-Type': 'application/json',
            ...options.headers,
          },
          credentials: 'include',
          body: JSON.stringify(printedRequests),
        })
          .then(response => readAllChunks(response.body))
          .catch(err => {
            console.error(err);
          });
      })
      .catch(err => {
        console.error(err);
      });
  }
}

export function createStreamingNetworkInterface(options) {
  if (!options) {
    throw new Error('You must pass an options argument to createNetworkInterface.');
  }
  return new HTTPStreamingBatchedNetworkInterface(
    options.uri,
    options.batchInterval,
    options.opts || {}
  );
}

Server:
import { runQuery } from 'graphql-server-core';

export default function streamingGraphQLExpress(options) {
  return (req, res) => {
    const graphqlOptions = options(req, res);
    let requestPayload = req.body;

    if (!Array.isArray(requestPayload)) {
      requestPayload = [requestPayload];
    }

    const requests = requestPayload.map(requestParams => {
      const { query, operationName, streamingKey } = requestParams;
      let { variables } = requestParams;

      if (!streamingKey) {
        res.write(`${JSON.stringify({ error: 'Operations need streaming keys' })}\r\n`);
        return Promise.resolve();
      }

      if (typeof variables === 'string') {
        try {
          variables = JSON.parse(variables);
        } catch (error) {
          res.write(`${JSON.stringify({ error: 'Variables not parseable' })}\r\n`);
          return Promise.resolve();
        }
      }

      const context = Object.assign({}, graphqlOptions.context || {});

      let params = {
        ...graphqlOptions,
        query,
        variables,
        context,
        operationName,
      };

      if (graphqlOptions.formatParams) {
        params = graphqlOptions.formatParams(params);
      }

      return runQuery(params).then(queryResult => {
        res.write(`${JSON.stringify({ request: streamingKey, result: queryResult })}\r\n`);
      });
    });

    Promise.all(requests).then(() => {
      res.end();
    });
  };
}

The way I did it for our server is /graphql uses the normal response. /graphql/stream gives you back a streaming version because the shape of the request and response aren't compatible with each other

Could follow the convention of jdson, e.g.: https://www.npmjs.com/package/ldjson
So instead of returning an array of responses, return responses separated by newlines.

Would this possible through Websockets and/or Server Sent Events as well? I'm personally already using graphql-subscriptions with websockets, have it all setup so would be sweet to request through socket and receive downstream there as well

I'm highly interested if there has been any traction with this? I have some use cases where I could really take advantage of this idea of streaming results as they come in.

I suppose as a workaround you can use a graphql subscription to send the
data if it is arriving in pieces.
On Sat, Sep 29, 2018, 2:58 PM Justin Graber<EMAIL_ADDRESS>wrote:

I'm highly interested if there has been any traction with this? I have
some use cases where I could really take advantage of this idea of
streaming results as they come in.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apollographql/apollo-server/issues/396#issuecomment-425678192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUAmTbD_iAAGYPDdIxCbppCeDaFS6XTks5uf-0YgaJpZM4NhdkS
.

@gauravmk this is a really interesting idea! We are planning with Apollo Server three to implement a more flexible transport layer and add support for @defer and @stream in the next version. Between these three solutions, this should be possible in the next major release. I'm going to close this issue since it is being worked on in a larger focus but it is added to the project board so we don't lose track of this feature!

The proposal for transports is now open on #3184.  We still have a way to go before @defer is a stable thing, but I'm just creating appropriate cookie-crumbs to link some issues together.

I suppose as a workaround you can use a graphql subscription to send the data if it is arriving in pieces.
…
On Sat, Sep 29, 2018, 2:58 PM Justin Graber, @.***> wrote: I'm highly interested if there has been any traction with this? I have some use cases where I could really take advantage of this idea of streaming results as they come in. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#396 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUAmTbD_iAAGYPDdIxCbppCeDaFS6XTks5uf-0YgaJpZM4NhdkS .

Can you show an example pls.


Add user to docker group if exists.

If the user has sudo access, they will already have access to sudo docker. This helps usability by removing the need to use sudo. Also, it solves problems where the /root directory is mounted read-only on GCI and sudo docker cannot save any config to /root/.docker

LGTM.

[Current coverage][cc-pull] is 98.46% (diff: 100%)

Merging [#309][cc-pull] into [development][cc-base-branch] will increase coverage by 0.03%

@@           development       #309   diff @@
=============================================
  Files               34         34
  Lines             2668       2728    +60
  Methods              0          0
  Messages             0          0
  Branches           131        136     +5
=============================================
+ Hits              2626       2686    +60
  Misses              37         37
  Partials             5          5

Powered by Codecov. Last update [0ef79e0...dea572d][cc-compare]
[cc-base-branch]: https://codecov.io/gh/GoogleCloudPlatform/compute-image-packages/branch/development?src=pr
[cc-compare]: https://codecov.io/gh/GoogleCloudPlatform/compute-image-packages/compare/0ef79e0ea36bd53833ab25c9787228b6bd8a8c19...dea572d7af1f285015836419719fb23a905ad95d?src=pr
[cc-pull]: https://codecov.io/gh/GoogleCloudPlatform/compute-image-packages/pull/309?src=pr


clj requires -M to execute clojure.main programs.

As of <IP_ADDRESS>2 version:
https://insideclojure.org/2020/09/04/clj-exec/
On the command line suppresses this:
WARNING: When invoking clojure.main, use -M

I believe I was doing this at one point but switched back to just -m because it breaks clj prior to that version. (I don't remember if I ran into that myself or if it was someone else). That being said, it would be nice to make the switch, otherwise we'll break once -M becomes required. I'm undecided on whether to switch now or wait longer--what do you think?
(We could also check the current version and use -M only if it's >= <IP_ADDRESS>2, but I think that'll be more hassle than it's worth based on the SO answers for bash compare semver)

The newer clj -Sdescribe introduces a :repl-aliases keyword which offers a crude API check.
Yet it's not really an issue for me, just looking to suppress the messages.
The warnings are good reminders the change is needed at some point.

Perfect, I didn't know about that. One last issue is that since the task file (https://github.com/jacobobryant/biff/blob/master/resources/biff/project/base/{{dir}}/task) includes set -e, grep will cause execution to stop if it doesn't return anything. This should work instead:
mopt="" # or mopt="-A"
if clj -Sdescribe | grep -q repl-aliases; then
  mopt="-M"
fi

I'll go ahead and make that change and merge.


Image support for org party and person

First approximation for adding an "Image" structure to the org package.
Added logos to Party.
Added avatars to Person.

The objective of this PR is to add support for being to include company logo details inside the original GOBL. The logo provided for a party can then be used inside PDFs or other output formats instead of the configuration of a provider.
There may be an argument for being able to embed the actual image in Base64, but I'm not sure about that yet. Could work well for SVGs. Thoughts?

@cavalle you're correct, we're missing context on the problem to solve! Sorry. I'll update the original message, but basically the objective is to be able to support the B2B2B use-case. I.e., a company that has multiple companies, and needs to be able to have a logo on the printed invoice for each.

@samlown thanks! I only caught up with Slack after sending my review here, and then connected the dots about the use case for this PR 😅


Charts issues

Clubhouse Story
Submitter checklist

[ ] Test covering functionality added/fixed in
Check the linked story includes the following:

[ ] Steps to reproduce
[ ] Screenshot (If applicable)

Reviewer Checklist

[ ] Test/lint pass

Thats unrelated to this change and is the case on master. Make another issue?

@JohnDanz Good catch and @nuevoalex thank you for addressing it!


Setup base template for the project

You must define a base template that will be used in the whole project
This template needs all of these:

Beautiful/Colorful user interface
Navbar
Footer

completed in #31


Added golang for bubble sort for issue #69

I have added an implementation of the Bubble Sort algorithm using Golang which will fix issue #69.
Please let me know if there are any issues with the pull request and I would be happy to fix/adjust.

Feel free to open issues if you believe any additional algorithms would be a good fit. @cameronmitchellapps


feat(Algebra/Module/Submodule/Pointwise): span_singleton_toAddSubgroup_eq_zmultiples

Add lemmas equating the span of a single element of ℤ (Submodule.span or Ideal.span) to AddSubgroup.zmultiples. Extracted from #18002, where this location was suggested based on find_home rather than any stronger link to the other lemmas here (Mathlib.RingTheory.Ideal.Span doesn't know about zmultiples).
Indirectly from AperiodicMonotilesLean after refactoring via #18002.

!bench

!bench


Should return value with return type

I'm coming from TypeScript environment, and Kysely is by far the best SQL builder in TypeScript. The only 2 things that make it great is is Type safety in SQL query building and return type. Jet done really great job in SQL query building but still i'm struggling to get the Return Type.
What i mean is in Jet we have to first write the query and then have to write a destination variable with proper return type this takes time to develop.
var dest []struct {
    model.Actor

    Films []struct {
        model.Film

        Language    model.Language
        Categories  []model.Category
    }
}

err := stmt.Query(db, &dest)
handleError(err)

I think if Jet return that variable with proper type then it would be very nice, it can increase developer experience and productivity.

Hi @gxanshu, I agree that it would be nice, but I don't think it's technically feasible in Go or probably in any other type safe language. It's probably doable for a single table select, but for multiple joined table its much harder. Especially because Go doesn't have such a powerful generics support. Are you saying that Kysely can produce automatically deeply nested destination struct using generics? If that's the case I would love the see an example.
Event if it is technically possible, I don't think it would be desirable. There can be different valid destinations for the same query. Also, for some of the tables(like N:M), you don't want them to appear in the destination. What to do with calculated projections(like COUNT(*))? Where those values will go in the automatic destination? There are probably many more edge cases, where automatic destination would not work.


A quick pull request of two neat commits till Monday

If ok, could we merge these two commits before Monday morning?

Tested and works on Debian stable, OS X and Windows.

I will also introduce the "about popup" before tomorrow morning.

Splendid!

The other commits seem to be working as well on all the OS'es I have.

If I get time I will try to make a bot to compile the master each time it updates. At least on debian and ubuntu.

I just merged this. I introduced version number 0.9.1 for some reason.


track branch main in submodule

closes #837

@evelinaametova could you test this and see if it fixes your issue?

If Jenkins's happy, why wouldn't it, please merge this.


Can not search for newline using Search in Files

It looks like it is not possible to search for newlines using the sidebar. It does work in a single file.

VSCode Version: 1.23.1
OS Version: macOS 10.13.4

Steps to Reproduce:

Go to Search in Files and turn on Use Regular Expression
Search for anything that contains \n

Does this issue occur when all extensions are disabled?: Yes

OK, so it is a duplicate. Still thinks it is terrible that search and replace in files is not multi-line, but I'm closing the issue anyways


Gamepad not detected

I have a Logitech Chillstream gamepad which is PS3/PC compatible and is not detected by the example app. In Device Manager it shows up as HID compliant. Is it because it does not support XInput?

This is a very old controller 😅, probrably it realy uses DirectInput or some other generic interface and the package only support XInput.
But you can try to use X360CE or similar to emulate a XInput device, could you try it out and come to repport if it works?

I can use x360ce v4, which uses ViGEmBus under the hood to emulate an XBox 360 controller and use it in games that do not support directinput controllers such as GTA V. However when I am trying with the example app it makes the virtual device disconnect.


Clarify HistoryCommand in UserGuide

Resolve #128

Pull Request Test Coverage Report for Build 892

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.337%

Totals

Change from base Build 887:
0.0%

Covered Lines:
2606

Relevant Lines:
3090

💛  - Coveralls


Remove DoubleTreeWidget Arrows behind badge(s)

The TreeView is left unchanged and has arrows behind the badge(s).


Fix: partition pdf overflow error

Closes #2050.
Summary

set zoom to 1 if zoom is less than 0 when parsing Tesseract OCR data
update determine_pdf_auto_strategy to return the hi_res strategy if either infer_table_structure or extract_images_in_pdf is true

Testing
PDF: getty_62-62.pdf
Run the following code in both the main branch and the current branch.
from unstructured.partition.pdf import partition_pdf

elements = partition_pdf(
    filename="getty_62-62.pdf",
    extract_images_in_pdf=True,
    infer_table_structure=True,
    chunking_strategy="by_title",
    max_characters=4000,
    new_after_n_chars=3800,
    combine_text_under_n_chars=2000,
    image_output_dir_path=path,
)

Thanks team!


Sorry

Hi,
I'm sorry you got removed without any notice, Adarsh removed many people for no reason yesterday, even I feel the same as you.

@FahimFBA Waiting for your reply.

I got that. Thanks for letting me know. If your concern was about informing me about the situation, then I have understood the fact. Therefore, I am closing the issue. However, if you need to discuss anything personally, then I prefer reaching out to me through Twitter or LinkedIn.
Thank you.

Glad you got that!
I dmed you on discord.
On Fri, 19 Aug 2022 at 00:00, Md. Fahim Bin Amin @.***>
wrote:

I got that. Thanks for letting me know. If your concern was about
informing me about the situation, then I have understood the fact.
Therefore, I am closing the issue. However, if you need to discuss anything
personally, then I prefer reaching out to me through Twitter or LinkedIn.
Thank you.
—
Reply to this email directly, view it on GitHub
https://github.com/FahimFBA/FahimFBA/issues/10#issuecomment-1219805878,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUGJUTLYHDD6QMDI5DOERWDVZZ6OBANCNFSM56PRUOPQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


(WIP)slack-machine: add the ability to limit commands to admins

List of admins will reside in local_settings.py as 'ADMIN_USERS'

Functional WIP. Needs a bit more work, but I wanted to get it out there as a feeler for the idea.

You might find this plugin interesting.
It's also a work in progress, but it allows protecting commands using simple decorators like so:
# User must have any one of the listed roles
@respond_to(regex=r'^my cool command$')
@rbac_require_any_role(['root', 'admin'])
def my_cool_comand(self, msg):
    pass

# User must have all of the listed roles
@respond_to(regex=r'^my cool command$')
@rbac_require_all_roles(['role1', 'role2'])
def my_cool_comand(self, msg):
    pass

You must provide one root user in the config, and can then grant and revoke roles via two simple commands which requires the root or admin role.

That does look interesting! It might be useful to add it to the core of Slack Machine. Would you be willing to contribute your code to the core of SM @davidolrik? I don't think it even has to be a plugin. It could be part of the core decorators.

Sure - that would be even better than an external plugin.

But I like the extra commands I added - so you can grant and revoke roles dynamically.


Added code to get extended Device Model on iOS

thanks to
https://github.com/dannycabrera/Get-iOS-Model

Thanks for the PR.  This code (while not merged) will be present in v5


Add a plugin to do authentication with remote server

Summary

feat(custom-auth): Add a plugin to do authentication with remote server

The plugin requires two mandatary fields, remote auth server and request header name. On receiving a request, the plugin will contact remove auth server with provided request header.
The plugin caches the response, with configurable ttl.
The plugin optionally gets a configurable header from remove server response and includes as the header to upstream service.

Checklist

[ Yes ] The Pull Request has tests
[ Yes ] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ No ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

NA

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Include target platform configuration on installation script

Include was the ability to inform with the destination platform where the process will be deployed.
For cases where the build process of package to be deployed runs on a different platform from which it will be run.

@ralphg6 I don't think this is a very common usecase. Can you use puppeteer-core instead and roll your own install.js script that downloads Chromium that you'd like? We exposed the BrowserFetcher api for this.

Maybe it really is not very common ... But here in the company we have several developers ... We are using the puppeteer in the standard way. Each one can upload the system directly from your machine to the server, however each one has a different OS and the server is Linux ... So we opened this ticket ...


Doesn't block youradchoices ads.

Adchoices ads still pop up :c

Hi @redsauce117 thanks for this input.
We're mostly an aggregator of hosts files from active and reputable curators of hosts files, and we package these amalgamated hosts files in various ways.
Please submit this request to one of our curated sources.  I imagine they will want to know reasons why, and to know exactly which domains are to be locked, in your opinion.
Closing.


Traccar events, geofenceId always 0

So I created few geofence circles. I want to check if there is an event (like deviceStopped) in those particular geofences. After few data-points I checked the events table. There are a lot of deviceStopped events happening. I can already see that some of these deviceStopped events have occurred inside some geofences. However, the geofenceId column in the events table always logs 0. Not sure how this works.

It is not the way how it works.
event.geofenceId column is only filled for geofenceEnter/geofenceExit events
stop/moving events is not depended of geofences

My events table has deviceStopped, deviceMoving, deviceOnline, deviceOffline events only. I have never had any row with geofenceEnter/geofenceExit despite some location coordinates inside the geo-circle.

Have you linked your geofences to any devices?

My issue with geofences is not this one. Maybe you didn't link a geofece to a device. You have to create a geofence and then select the device and click in geofences button. When the screen list all available geofences to your user, just check the ones you want the server to monitor.
My issue is that my server never sent me a email with geofence exit/enter, even if is recorded in events table(in database). Do i have to do anything else?

Make sure you have checked corresponding options on the Notifications screen.

@tananaev I dunno if you were talking with me, if so, here is my notification configs...

Looks fine to me. It should work.

The same thing i fell about it.
2016-12-10 20:22 GMT-02:00 Anton Tananaev<EMAIL_ADDRESS>
Looks fine to me. It should work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tananaev/traccar/issues/2667#issuecomment-266244123,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARobDryJ-54R0-fUzDty-z7TeGYEDZ8Zks5rGyYfgaJpZM4LIl1N
.

--
Tiago Mello | Analista de Sistemas e Segurança da Informação | (21)
9826-8514 | (21) 7891-9428 | 83*56596 |<EMAIL_ADDRESS>

My issue has been solved. The particular vehicle I was checking was not connected to a geofence, while others were. My bad. This thread can be closed. May be paraisotech's question can go in a new thread. Thanks.


Flaky test RoutesTest.java

In Java 11 and 15 the RoutesTest.java sometimes does not work and sometimes does work. It behaves flaky.
com.daimler.sechub.test.RoutesTest > routes_assigned_to_right_roles FAILED
    java.util.ConcurrentModificationException at RoutesTest.java:144

Jeremias Eppler<EMAIL_ADDRESS>Daimler TSS GmbH, imprint

A result of #272.


HV-1883 Upgrade to asciidoctor-maven-plugin 2.2.2

https://hibernate.atlassian.net/browse/HV-1883

Note the build failure is on the JDK 8 build, which also fails on the main branch. This is an unrelated problem which should be fixed by #1219 .

Thanks!