Formsy-Select not passing value

Hi there,
When I'm using:
 let entitiesHTML;
    if (this.props.entities) {
      entitiesHTML = this.props.entities.map((ent, i) => {
        // console.log('ent', ent);
        return (<MenuItem key={i} style={optionStyle} value={ent.cuid} primaryText={ent.name} />);
      });
    }

with
 <FormsySelect
            name={`entites_${i}`}
            style={elStyles}
            onChange={this.selectEntity}
            required
            value={selectedEntity}
            hintText="Company Name"
            floatingLabelText="Company Name"
          >
            {entitiesHTML}
          </FormsySelect>

...I get a select that looks fine and seems to work OK, but when the handler
selectEntity(event) {
    event.persist();
    const tar = event.target;
    const val = event.target && tar.value
    console.log('ev', event, tar, val);
}

...is called, event.target logs out as the menu item DOM element
Amazon UK
, without any value attached to it. (So event.target.value is undefined).
Am I doing something wrong??

OK, sorry, found it: (https://stackoverflow.com/questions/39076399/cant-get-the-target-attributes-of-material-ui-select-react-component)
You have to bind properties to your event handlers, you can't really access them through the event object because the onTouchTap from the menuItems is what is returned, not an event with the select in it...
I still think this is troubling behaviour, but I know it's by the docs, so...


Recovering OOMs errors of vkQueueSubmit

See also https://github.com/KhronosGroup/Vulkan-Docs/issues/423
This is a problem I've already been talking about on IRC.
When you submit a command buffer with vkQueueSubmit, there's a chance that the function an error, which can be:

A lost device (eg. the video card was unplugged).
An out of memory error.

The problem is that the current design of vulkano doesn't allow recovering from these errors, for two reasons:

(In its incoming branch) vulkano allows combining multiple submissions together. Thus it's difficult to handle the situation where one submission succeeds and the other ones fail.
The state of the resources is updated before the submission. If the submission fails, one would need to roll back the changes. (More realistically, the changes should only be applied after the submission succeeds.) Vulkano doesn't do that yet.

If the error is a lost device, it's not a problem because we don't care anymore about the state of stuff. The specs say that a lost device means that everything now has an invalid content and that object may no longer actually exist.
However OOM errors are really problematic.
Right now the best course of action in my opinion is to panic in case of OOM error, and wait to see how the khronos people will tackle https://github.com/KhronosGroup/Vulkan-Docs/issues/423.

I'm also wondering how you would actually handle an OOM error when submitting.


Not getting suggestions while typing

Hi folks, I recently installed copilot-emacs and found out that I never get any suggestion as I type. I guess that's the expected behavior, isn't it?
When I run copilot-complete I get the suggestion with no problem.
I haven't set any copilot-idle-delay, I just followed the instructions in the repo for doom emacs and added nothing more.
The only workaround I have is that I mapped copilot-complete to C-tab, so I can trigger some suggestions manually. But I think it would be interesting if they appear automatically as I type.
I'm using emacs 28.2
Thank you for your help.

Did you have copilot-mode enabled?

Yes, I checked that as well.
In fact, when copilot-mode is disabled I get "No completion is available" whenever I run copilot-complete.

copilot-idle-delay is used like this:
(when (numberp copilot-idle-delay)
      (setq copilot--post-command-timer
            (run-with-idle-timer copilot-idle-delay
                                 nil
                                 #'copilot--post-command-debounce
                                 (current-buffer))))

So verify that copilot-idle-delay is in fact set to 0 (the default value). And try some values larger than 0.

I had the same issue. I resolved it by referring to the following:
https://github.com/copilot-emacs/copilot.el/issues/123
Specifically, the issue was resolved by setting copilot-enable-predicates to nil.

Yes, the same solved it for me too.
(setq copilot-enable-predicates nil) fixes the issue

Sorry for coming back this late.
Just tested and, as @ovistoica and @oikawa-yusuke mentioned, (setq copilot-enable-predicates nil) fixed the issue for me as well. I'm closing this issue.
Thank you everyone!


PyPI dependencies that will not install

I've upgraded this comment int a seperate issue so we can track it a bit easier.
Taken from issue: #771
--- Copy ----
@tdejager I wrote a simple script to test which PyPI packages cannot be managed by pixi. I have only tested a few packages I use. Here is the results from workflow run:

 Results

Package
pip
pixi
uv

confz
✅
✅
✅

dvc
✅
❌
✅

dvclive
✅
❌
✅

icecream
✅
✅
✅

jax
✅
❌
✅

jax[cuda12]
✅
❌
✅

matplotlib
✅
✅
✅

meshio[all]
✅
❌
✅

meshpy
✅
✅
✅

meshtaichi-patcher
✅
✅
✅

mkdocs
✅
✅
✅

mkdocs-material
✅
✅
✅

mkdocstrings[python]
✅
✅
✅

numpy
✅
✅
✅

pymeshfix
✅
✅
✅

pyright
✅
✅
✅

pytest
✅
✅
✅

pytest-benchmark
✅
✅
✅

pyvista
✅
✅
✅

ruff
✅
✅
✅

scipy
✅
❌
✅

sparse
✅
❌
❌

taichi
✅
❌
✅

trimesh[all]
✅
❌
✅

typeguard
✅
✅
✅

I also noticed that pixi tends to build from source distributions rather than using built distributions. If the PyPI package does not provide source distributions, it cannot be installed (e.g. gmsh, jaxlib). I guess this is because pixi fails to resolve built distributions correctly.
Originally posted by @liblaf in https://github.com/prefix-dev/pixi/issues/771#issuecomment-2312340227
--- Copy ---

I've just tested dvc and that seemed to work, any chance we could get some output to compare errors for those failures?

We can download logs from workflow artifacts.

I just ran into an error with pixi add --pypi arcade which results in this pixi.toml entry:
[pypi-dependencies]
arcade = ">=2.3.15, <3"

and in pixi.lock this:
- kind: pypi
  name: arcade
  version: 2.3.15

https://gist.github.com/cdeil/04f125bb0e5ff1a12f37105f9632466b#file-pixi-lock-L32-L34
It then fails on import arcade but really the issue is that pixi installed a very old version 2.3.15.
Can you please change pixi to by default install the latest stable or at least recent versions of packages?


Could not compile with MinGW; explicit panic

I am getting this error when I try to compile flate2-rs as an implicit dependency:
C:\Users\Limeth\workspace\rust\euclider>cargo run --release
   Compiling phf_codegen v0.7.16
   Compiling scoped_threadpool v0.1.7
   Compiling shell32-sys v0.1.1
   Compiling miniz-sys v0.1.7
Build failed, waiting for other jobs to finish...
error: failed to run custom build command for `miniz-sys v0.1.7`
process didn't exit successfully: `C:\Users\Limeth\workspace\rust\euclider\target\release\build\miniz-sys-60c8d67696f63a43\build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-pc-windows-gnu")
OPT_LEVEL = Some("3")
PROFILE = Some("release")
TARGET = Some("x86_64-pc-windows-gnu")
debug=false opt-level=3
HOST = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CC_x86_64-pc-windows-gnu = None
CC_x86_64_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CFLAGS_x86_64-pc-windows-gnu = None
CFLAGS_x86_64_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = None
running: "gcc.exe" "-O3" "-ffunction-sections" "-fdata-sections" "-m64" "-o" "C:\\Users\\Limeth\\workspace\\rust\\euclider\\target\\release\\build\\miniz-sys-60c8d67696f63a43\\out\\miniz.o" "-c" "miniz.c"
cargo:warning=miniz.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
cargo:warning= /* miniz.c v1.16 beta r1 - public domain deflate/inflate, zlib-subset, ZIP reading/writing/appending, PNG writing
cargo:warning= ^
ExitStatus(ExitStatus(1))

command did not execute successfully, got: exit code: 1

--- stderr
thread 'main' panicked at 'explicit panic', C:\Users\Limeth\.cargo\registry\src\github.com-1ecc6299db9ec823\gcc-0.3.35\src\lib.rs:897
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Thanks for the report! Looks like the error here is:
miniz.c:1:0: sorry, unimplemented: 64-bit mode not compiled in

Are you using the 32-bit MSYS compiler with the 64-bit Rust target perhaps?

Ah, indeed. When I googled "MinGW", I went for the first link, which turned out to only be the 32-bit version. Thanks for the help!


OWL-ViTv2:  No matching distribution found for jax>=0.4.3

Issue Description:
I encountered an error while trying to install the OWL-ViTv2 package following the installation instructions provided here. My system specifications are as follows:

Python version: 3.7.12
OS version: Linux ubuntu 4.15.0-213-generic x86_64
CUDA Version: 11.4

According to the OWL-ViTv2 installation documentation provided here, Python 3.7 is acceptable. However, when attempting to install the required dependencies, I encountered an error related to the JAX package.
I followed the JAX installation instructions provided here and installed JAX version 0.3.25 using CUDA 11 installation. Here are the commands I executed:
pip install --upgrade pip

# CUDA 11 installation
# Note: wheels only available on Linux.
pip install --upgrade "jax[cuda11_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

However, when I attempted to install the Scenic package using the provided instructions:
git clone https://github.com/google-research/scenic.git
cd ~/scenic
python -m pip install -vq .

I encountered the following error:
ERROR: Could not find a version that satisfies the requirement jax>=0.4.3 (from scenic) (from versions: 0.0, 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.18, 0.1.19, 0.1.20, 0.1.21, 0.1.22, 0.1.23, 0.1.24, 0.1.25, 0.1.26, 0.1.27, 0.1.28, 0.1.29, 0.1.30, 0.1.31, 0.1.32, 0.1.33, 0.1.34, 0.1.35, 0.1.36, 0.1.37, 0.1.38, 0.1.39, 0.1.40, 0.1.41, 0.1.42, 0.1.43, 0.1.44, 0.1.45, 0.1.46, 0.1.47, 0.1.48, 0.1.49, 0.1.50, 0.1.51, 0.1.52, 0.1.53, 0.1.54, 0.1.55, 0.1.56, 0.1.57, 0.1.58, 0.1.59, 0.1.60, 0.1.61, 0.1.62, 0.1.63, 0.1.64, 0.1.65, 0.1.66, 0.1.67, 0.1.68, 0.1.69, 0.1.70, 0.1.71, 0.1.72, 0.1.73, 0.1.74, 0.1.75, 0.1.76, 0.1.77, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13, 0.2.14, 0.2.15, 0.2.16, 0.2.17, 0.2.18, 0.2.19, 0.2.20, 0.2.21, 0.2.22, 0.2.24, 0.2.25, 0.2.26, 0.2.27, 0.2.28, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.3.15, 0.3.16, 0.3.17, 0.3.19, 0.3.20, 0.3.21, 0.3.22, 0.3.23, 0.3.24, 0.3.25)
ERROR: No matching distribution found for jax>=0.4.3

Upon further investigation, I found that JAX version 0.4.3 requires at least Python 3.8, as mentioned in the jax_cuda_releases page.
Request:
Could you please provide guidance on how to resolve this issue? Is there a workaround available for using Scenic with Python 3.7, or should I consider upgrading to Python 3.8?
Thank you for your assistance.

I had the same problem. But when I changed the version of python from 3.7 to 3.10, it seemed to work. The minilab of owl_vit is also using python3.10.

@Curry-Christopher Thank you. I attempted the installation on Python 3.8, but encountered numerous errors when installing the big_vision package. I'll give it another shot on Python 3.10.
I regret that this model cannot run on Python 3.7. If I upgrade to 3.10, it's likely that my other packages won't work. I hope the repository maintainer will promptly provide updated installation instructions in the official documentation, so that others won't encounter the same issue as I did, starting from Python 3.7.

I installed the dependencies on python=3.10 and installed big_vision as well on my local machine. There were no errors during the installation.
But I am getting the error while running any given code. eg.
python -m scenic.projects.owl_vit.main \
  --alsologtostderr=true \
  --workdir=/tmp/training \
  --config=scenic/projects/owl_vit/configs/clip_b32.py

Error: AttributeError: module 'jax.random' has no attribute 'PRNGKeyArray'
req.txt
I have attached my requirements.txt file.
Please let me know where I am going wrong.
Thank you.

I solved it with
#1043


[BUG] fvtt-pointer does not respect fvtt routePrefix

Describe the bug
The module fails to load when using the routePrefix option on foundry.
To Reproduce

Enable a routePrefix when starting foundry
Open any world with fvtt-pointer enabled

This will result in the following console output:
GET https://mydomain/scripts/greensock/esm/all.js net::ERR_ABORTED 404

Expected behavior
With the routePrefix option enabled I would expect it to fetch the resource as below:
GET https://mydomain/myprefix/scripts/greensock/esm/all.js

Module incompatibilities
This can be reproduced with no other modules active.
Desktop (please complete the following information):

OS: Windows 10
Browser: Brave
FVTT Version: 0.7.5
Module version: 0.2.0

Thanks for the bug report. should be fixed now, please report back if it works now.

Yep, it now works as expected, thank you :)


cache not clearing on process in cluster mode

hi,
i have implement this module to cache my mysql result for ttl of 1 day. I have also created API for clearing cache using flushAll method.
now my app is running in cluster mode having 4 threads as the I/O is very fast. now when i clear the cache using my app api it is executed properly but the cache is not cleared from all the threads. i got to know this as my read api is showing different result on every call. please help me out to resolve this issue asap

Thank you for opening this issue.
It seems the cluster-node-cache could be a good candidate for a replacement of node-cache
I will do some testing when I have time for it. In the mean time you could try to implement it yourself and if you want send a pull request if it's working :)

I have found https://github.com/PaquitoSoft/memored which seems to be perfect for this problem. My testing with cluster-node-cache was unsuccessfu. I hope memored will prove to be useful for us

Implemented in 971f032 this should be gooood

I could not get this to work properly, closing this issue for now :(

(removed older messaged for clarity)
This is now possible thanks to  the new feature cacheProviders: https://github.com/michaeldegroot/mysql-cache#new-in-version-100-rocket
if in clustered mode checkout the cache provider: mmap or redis


Add sample code

Some sample codes of structural learning and probability inference.
Those are already finished writing.

a part
924209ea69b287db06849ef6d3ce77b484974ead


Fixed frame drops on pipeline + syncer usage when using streams with different FPS

When syncing streams with different frame rate the higher frame rate frames are dropped between each sync.
Here we increase the queue so the user will get all frames and can decide what to do with them on his side.
Changes:

Pipeline aggregator queue size increased to 10
Syncer processing block queue size increased to 10
Added unit tests for frame drops

Tracked on [RS5-8940]

PR dropped due to the fact that using the syncer with FPS mismatch can lead to frame drops by design.


Replace ClassManifest usages by ClassTag

Binary compatible because ClassManifest is an alias to ClassTag since its
inception.
Fixes #215.

Just figured we rejected almost the same change several times in #219 and #216. By now we have mima checks so we can actually verify that it's binary compatible. As stated above it actually is because ClassManifest is an alias to ClassTag which isn't reflected in any way in the class files. It is also source compatible for the same reason.

I'd suggest to merge this one after verification (just because it's rebased and uses slightly more elegant classTag instead of implicitly[ClassTag].

I fixed up #219, so we can use that one.


Implement [WeekStartWith]

@Input('week-start-with')
public weekStartWith:string = 'sun';

This is already done by localization. Do you want to override localization?

ahh. I'll watch it later. It could be switchable manually.. from user
config for example
On Sep 14, 2016 17:46, "Allen Kim"<EMAIL_ADDRESS>wrote:

This is already done by localization. Do you want to override localization?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ng2-ui/ng2-datetime-picker/issues/21#issuecomment-247057988,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABqUD1wA89l-D7VIW8Z7cg-vhgRCS_sKks5qqBbVgaJpZM4J85IS
.

closed?
On Sep 21, 2016 15:58, "Allen Kim"<EMAIL_ADDRESS>wrote:

Closed #21 https://github.com/ng2-ui/ng2-datetime-picker/issues/21.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ng2-ui/ng2-datetime-picker/issues/21#event-797350136,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABqUD7EGtkw6ZFThNr98oh233dd-wWDbks5qsTgagaJpZM4J85IS
.

Yes closed, won't do more than moments localization unless moments has a bug in it


fix: count does not send the context

The count API method does not send the context. This prevents some query filters (q=...) to be applied.

LGTM


add palindromic linked list to sidebar

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added palindromic linked list to the sidebar
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixes #277

The fork has been deleted, hence I cannot make any changes.


I don't know how to create a .adapterrc file

I don't know how to create a .adapterrc file in the root directory to edit configuration information in JSON format. I'm not sure which directory to create it in. Could you provide me with a sample file?

Project/.adapterrc


Add a password generator project

In this project the user gets generated a random password which he can use.
The password strength can be changed by the user by giving him three options of security like in every website, easy, medium hard
Can i create this project for the repo ? @danishzayan @iamrahulmahato

already exist, Do not be demotivated and raise a new issue.


[file_open,assets/videos/DO NOT DELETE OR GAME WILL CRASH/dontDelete.webm]

This is making me lose my mind. idk why but this error pops up no matter what I do

I got the same issue when I tried to run it on Android

I got the same issue when I tried to run it on Android

sadly there is no solution for android yet
or idk
i hope someone does

also i dont know the cause of this issue
did you delete the file?

This is making me lose my mind. idk why but this error pops up no matter what I do

This is also happening to me. Followed the guide, video is in the right folder, etc.

Can you guys contact my discord?
GWebDev#3166

This is making me lose my mind. idk why but this error pops up no matter what I do

I got the same issue when I tried to run it on Android

This is also happening to me. Followed the guide, video is in the right folder, etc.

Remember
Place <assets path code i sent in project.xml
ONLY IF YOU HAVE THE OLD FILE SYSTEM
DO I HAVE TO ADD THIS IN THE INSTRUCTIONS?
New File System Has The songs And preload Folder In The Assets Folder
If There Is A Folder Named Preload
Make A Folder In Preload Named videos
If Not Then Make A Folder In Assets Named videos And Add It To Project.xml


the last killed enemy with headshot doesnt make headshot-kill sound

fixed, the problem was caused by round_index changed when last enemy dies, which casuses reading a wrong memory address


Peer to peer Review

@ismailakinkunmi
You have done a great job on this project. Everything looks good and your codebase is clean.
However, it will be nice if you upgrade the image of the project on your README.md file.
Secondly, the link to clone your repository is broken. replace the colon after github.com with a / and it will be fixed
Cheers!
Happy Coding!.

@Yerimah thanks


Updated Elsevier author name handling

Note: please disregard the deleted copernicus file. This was due to some inconsistent file handling between github and macos due to uppercase letters in the filename. The best solution was to brute-force delete them from github.

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (02c7ec6) 90.05% compared to head (e4fe0f3) 89.99%.

Files
Patch %
Lines

adsingestp/parsers/elsevier.py
60.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
- Coverage   90.05%   89.99%   -0.07%
==========================================
  Files          25       25
  Lines        2615     2618       +3
==========================================
+ Hits         2355     2356       +1
- Misses        260      262       +2

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


[ADP-3350] Change currentNodeTip to use Read.ChainTip

This pull request changes the currentNodeTip function to use the data type ChainPoint to the Cardano.Wallet.Read hierarchy.
In order to make the types ChainPoint and ChainTip more convenient to use, I have also added record fields.
Comments

The combination of NoFieldSelectors, DuplicateRecordFields, and NamedFieldPuns enables short field names such as slotNo. Specifically

NoFieldSelectors — enables the use of slotNo as a variable outside of a record context (very common).
DuplicateRecordFields — enables the use of slotNo in both ChainPoint and ChainTip.
NamedFieldPuns — enables pattern matching of the form BlockPoint{slotNo}.

The goal is to eventually remove the legacy primitive types.

Issue Number
ADP-3350

I wonder if it is still in draft state ... For me it is quite complete PR as it is;-)

Thanks! 😊 I'm just trying to weed out the last compilation errors before asking for your time again — thanks for the review, it's pretty much complete, indeed.


Pagination attempt

Hey @tombee
Fire this up and see what you think. It makes pagination work on the #/images page by adding some css & the relevant parameters to the reactable <Table> element
It's a bit jumpy... maybe we can do better

Hmm.. yeah.. it's a bit weird how it sticks the pagination controls in another tbody instead of a footer or something.  I see what you mean with it being "jumpy", could probably do with Previous and Next replacing with arrows, and disabling them when they're not applicable.

Yeah disabled would be better. Also when the are >pageButtonLimit pages is not clear why. Needs to have some ...s in there or something

@seaninryan should we close this in favour of #957?  That one looks a load better than what we have already.

Agreed @tombee, closing


issue with axis argument to argmax/argmin

Not sure if I'm doing something wrong but I'm trying to do some work where I need to get the argmax/argmin values along one axis of a 2D array. However I'm getting compilation errors. The simplest test case is:
import numpy as np

#pythran export testargmax(float[][])
def testargmax(x):
    return x.argmax(axis=1)

which results in a long list of  template argument deduction/substitution failed: errors with the following sections:
/home/jschrod/.local/lib/python3.6/site-packages/pythran/pythonic/utils/functor.hpp:13:22: error: no matching function for call to ‘argmax({anonymous}::pythonic::types::numpy_texpr<{anonymous}::pythonic::types::ndarray<double, 2> >, long int)’
         -> decltype(f(std::forward<Types>(types)...))                          \

if I understand this correctly pythran assumes it should get a long int not an array from argmax? Same thing happens for argmin.

Thanks for the bug report, I can reproduce it, it's just that we don't
support argmax along an axis. I'll implemment that!

Can you confirm #803 fixes your issue?

Great thanks!

Sorry, my answer might be not clear enough, yes #803 fixes my issue


DsHidMini Issue #332

[x] I have searched open and closed issues for duplicates
(This issue references another issue in another project https://github.com/nefarius/DsHidMini/issues/332 )
[x] I am submitting a bug report for existing functionality that does not work as intended
[x] I have read the project documentation and not found a solution to my problem there
[x] This isn't a feature request or a discussion topic

My sincerest apologies for attempting communication in such a way and place. While I believe that this program may be at least partially at fault, DsHidMini issue report creation is limited to contributors only, so I can't post this there. Feel free to close this issue if you feel it is inappropriate or irrelevant.
Bug description
Windows' DEVMGMT reports a timeout error when a Sixaxis controller is connected via USB.
It connected to my PC several times, via both USB and Bluetooth, but when configuring the software to emulate different protocols, the program failed each time to reset the controller, prompting the user to manually disconnect the controller.
After several disconnection cycles by connecting it via USB to disconnect it from Bluetooth, the DsHidMini program seemed to become stuck such that both the Bluetooth and USB devices would remain listed as connected in the system despite the USB cable being connected, but only the Bluetooth connection would receive controller input. This seemed to persist between restarts of the PC. (I had not checked DEVMGMT at this point.)
Next, I tried connecting it to another computer, which failed to display the controller in the DsHidMini configuration window. I checked it in DEVMGMT which displayed the timeout error. This persisted when I attached it back to the original machine. The controller would still connect via Bluetooth when connected to the PC via a cable.
I then tried to connect the Sixaxis controller to a PlayStation 3 console, which also did not respond, until I pushed the pinhole button on the back of the controller.
After this it also connected successfully again to the first PC over USB.
Steps to reproduce
-Repeatedly attempt to disconnect the controller from Bluetooth by inserting the Mini USB cable
Actual result: Describe here what happens after you run the steps above (i.e. the buggy behaviour)
After several reconnections, the controller becomes unresponsive
Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)
The controller will connect successfully via USB and will not become unresponsive after multiple USB disconnection cycles
Screenshots

Machine info
Windows 11 Version 23H2 build 22631.3447 AMD64
Controller Sixaxis CECHZC1E
Any other helpful information
The Sixaxis device was plugged into a USB 3 port on the front panel of my PC. I am not sure of the make and model of my Bluetooth radio or USB controller(s), if you need this info please reply and I should be able to find this information.

There's a reason I disabled issue submission for non-contributors because recently nobody submits a proper bug reports where there's actually something included that can hint at something that is reproducible or a "real" bug, not just someone's system misbehaving. That's what the support resources are for to not pollute my issue trackers with stuff that can not be worked on since it doesn't describe a TODO in any useful way.
Thanks for the detailed report, but IDK what to do with this information, it is too vague to work on anything in particular TBF and will just sit here until I eventually close it.


Loading barebones genome still results no genome as per healthcheck

This is significant since BV depends on the "genome_availability" as the signal to fully connect to FEAGI
repo steps:

launch Feagi
Load barebones genome

fixed in latest version


Backend cleanup

Description
WIP

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/backend
[ ] @clerk/chrome-extension
[ ] @clerk/clerk-js
[ ] @clerk/clerk-expo
[ ] @clerk/fastify
[ ] gatsby-plugin-clerk
[ ] @clerk/localizations
[ ] @clerk/nextjs
[ ] @clerk/clerk-react
[ ] @clerk/remix
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/themes
[ ] @clerk/types
[ ] build/tooling/chore

Closing in facor of #2389

Closing in facor of https://github.com/clerk/javascript/pull/2389


Add a first-class StoreId type to Wasmtime

This commit adds a StoreId type to uniquely identify a store
internally within Wasmtime. This hasn't been created previously as it
was never really needed but I've run across a case for its usage in the
component model so I've gone ahead and split out a commit to add this type.
While I was here in this file I opted to improve some other
miscellaneous things as well:

Notes were added to the Index impls that unchecked indexing could be
used in theory if we ever need it one day.
The check in Index for the same store should now be a bit lighter on
codegen where instead of having a panic!() in the codegen for each
Index there's now an out-of-line version which is #[cold]. This
should improve codegen as calling a function with no arguments is
slighly more efficient than calling the panic macro with one string argument.
An assert! guarded with a cfg(debug_assertions) was changed to a
debug_assert!.
Allocation of a StoreId was refactored to a method on the StoreId
itself.

I should note as well, this type is still entirely internal to Wasmtime, this isn't publicly exposed and this PR isn't changing that.


Use $EDITOR to edit cask?

What do you think about using $EDITOR to edit the cask file?
Or any other way to override  open -W?
EDITOR="open -W" cask-repair could still be used to get the same behavior.

Why, though? A cask will always be a .rb file, so opening with whatever app you have as the default to open ruby files seems appropriate.
Really need a use case, here.

I open .rb files by default with a gui app which is also used for other tasks and needs to be completely closed to allow cask-repair to continue.
My use case would be to open a cmdline editor, instead of a (slow starting) GUI.
I would be perfectly fine, if this could be achieved by a cmdline argument :smiley:

Your point is perfectly reasonable.
However, there’s a problem (which is why -W is needed). Say your $EDITOR is atom, or some other command that calls a GUI app. It will spawn that GUI and then exit from the shell, meaning cask-repair will start the next loop without the cask having actually been changed.
How do we account for that?

atom has a -w/--wait option, sublime text too. I think a sensible $EDITOR choice should wait until exited (or if supported include the -w flag to wait until the new windows is closed). git uses $EDITOR (by default). If $EDITOR exits immediatly you would also have a problem there.

Though that assumes the user has made a sensible $EDITOR choice, which perhaps isn’t a great bet, I do agree that if you are setting $EDITOR, you should do it correctly (and it isn’t hard), so there it is.

Thanks :+1:


Fixes https://github.com/qooxdoo/qooxdoo-compiler/issues/309

@cboulanger @hkollmann why has this suddenly failed with lint errors?  Have the lint rules been changed?

Rules have'nt change. We just check lint now.

I think we should disable the no-todo rule. I think it makes sense to not allow FIXMEs, but TODOs should be fine.

no-todo is just a warning. not an error.

@hkollmann Ah ok, thanks!

no-todo is just a warning

yet another example of why lint is 99% useless.  Apparently, having a blank line before } else if (...) is  an error too.

Strange fail in the test, Ill restart.

The fail is because the test is broken by this commit, fixing that now.

@johnspackman We can disable individual rules if we don't find them useful. In all, I find eslint really helpful to spot problems. If we really need all those strict curly braces rules, I don't know.


Resilience with bugs in production

A bug in production (#4807) was detected 4 days ago, and we managed to release a fix.
When the bug happened on a device, it was systematic and prevented the user from entering the app.
Thank you @g123k for finding the faulty PR, and thanks to the other users/developers/managers for making the whole process that quick!
The good thing is that we were relatively quick to release a fix (4 days from bug detection).
But there are points where we should improve:

it was not a bug easy to detect

it depended on the device (didn't happen on my smartphone when I re-tested yesterday)
it happened only for app upgrades, not app installs from scratch
it happened in some conditions, like products inserted (it's not an unusual situation but we have to test it)

the release process made it hard (or impossible) to find which PR was problematic as AFAIK there's no way to know which PRs are in which release. Actually there's a way but it's not trustworthy as this page does not reflect all the changes.
in some devices (e.g. @teolemon's) the build number is not accessible through Android system - My version of Android hides build number - therefore if it's a crash at init we're stuck
the bug itself was due to hive (with my help!), whose latest (last?) refresh was 16 months ago. I could create an issue on hive but it wouldn't be processed as hive is sleeping while its developers work on another database.

I would add that we don't generate internal releases as often as we used to. I would strongly advocate to automatically generate one build a day in internal (or no build if no commit), so that the 20 people in there can spot issues early.

More frequent internal releases, why not?
"Automatically" I'm not convinced, as there are some PR that need to be merged together (e.g. my work on background tasks last year or @g123k's work on the next app redesign).
I suggest rather weekly, manual and on Monday.
Besides, we should double-check if "internal releases" do mean "sandbox", as yesterday I think it meant a bug in production.

The point of failure was the manual build, and the manual triggering. Thus my emphasis on automatic triggering.
Or we do ad-hoc distribution (but can we keep the package name)

Here are my 2 cents.
Honestly, the bug was difficult to detect, and I could have done it too (e.g.: with the migration process). So please don't take this as a failure, we will simply learn from our mistakes.
The problem
I'm clearly not satisfied with how we release new app versions.
First, it's totally opaque: we don't know when it happens? or why was it released.
For me, we're at a point of releasing versions for the sake of releasing versions.
I know that the release process I've proposed is annoying. But for me, this process ONLY goes hand in hand with the release of new features/changes.
But that wasn't the case here!
As far as minor releases like this one are concerned, there's no need for such a process.
Instead, I'd be inclined to say that it should be communicated, with a 1-day lead time, for example. That gives everyone time to check that everything is working and to give the go-ahead.
The problem with this version lies in the fact that there has been no such communication.
The reason why I proposed the release process was precisely because this isn't the first time this has happened to us this year. I'm sorry to say it like this, but it's unacceptable: we're being made to look like fools.
Another issue
Another point I've already raised is the lack of git flow. I don't necessarily mean scrupulously respecting the doctrine, but today our dev branch is not necessarily releasable. Many PRs are split, and the work is often not completed.
I'm taking the liberty of putting the subject back on the table, because NO, additional tests won't prevent this.

The point of failure was the manual build, and the manual triggering. Thus my emphasis on automatic triggering.

I know that for off-dart it's just about pressing a button (merging the "release" issue), so that anyone can do it.
Isn't that the case for Smoothie?

Or we do ad-hoc distribution (but can we keep the package name)

I guess making an APK file available somewhere would be possible - for advanced or interested users only, that would download manually.

So please don't take this as a failure, we will simply learn from our mistakes.

It's an opportunity to review and improve our processes.

I'm clearly not satisfied with how we release new app versions.

👍

As far as I'm concerned, if Hive needs this adapter, it needs it.

I'm afraid not, because we don't use / init that hive box anymore. If hive needs you to start at 0 and to populate all the id values to the max id value, it should state so explicitly and it does not.

We can migrate to Isar, but apart from getting into trouble, I don't see any real, serious reason to change in the short term.

Agreed 6 months ago, cf. #3967.
My point here was to say that here we rely on a package that won't get fixed if needed. Your fix suggestion was good enough, but if ever we have an urgent need for a bug fix, that won't happen at all with hive, and we would be in trouble.
Perhaps the migration to another "database" would make sense in the long run, with a low priority.
And the funny part is that hive, the most important package (with sqflite), is the only one we don't get flooded with dependency bumps about!

Additional list of action items

[ ] Add the build number in the version number (will probably break some CI, but needed since Android now hides build numbers)
[ ] Clean Android internal testers (only committed testers ready for havock)
[ ] Clean TestFlight testers (only committed testers ready for havock)
[ ] Clarify the name of the internal TestFlight list (to avoid spamming casual beta testers)
[ ] GitHub Action: Send to the correct list TestFlight internal (and not casual testers - probably already the current behaviour)
[ ] GitHub Action: Generate a build every day if there is a commit (please see point 1)

@teolemon Not sure if it is what you needed but you can already access the build number from FAQ / About:


Bring up-to-date with latest zig

Hey there! This PR updates us to a recent version of zig (I've got 0.11.0-dev.2935+ec6ffaa1e).
It swaps us out to the new build.zig system as well as replaces the deprecated mem.copy and mem.set. All tests are passing after these updates.
Thanks! LMK if there's anything that needs to be changed.

The nice thing about copyForwards is that the length of the slices don't need to match. I took a shot at updating to @memcpy and being precise with the lengths of slices, but thorough review would be appreciated! :smile:

Hmm, not ready for review yet. I can cause the code to panic in the case that we pass in a payload that's longer than a couple blocks. Taking a look.

@jedisct1 do you mind sharing how you generated the expected value here? I'd like to update the test to use a longer string so we're forced to iterate over multiple blocks, and I want to make sure that test is up to date as well.
I was gonna try and use This is a test of AES-CBC that goes on longer than a couple blocks. It is a somewhat long test case to type out! since it's 112 bytes, which is a multiple of 16.
Thanks!

I just added something like std.debug.print("{any}\n", .{&res}); before the test :)


Add distribution: Debian 12 (bookworm)

Distribution name and versions requested
Debian 12 (Bookworm)
Where are the official container images from the distribution published?
https://hub.docker.com/_/debian
Will you be interested in maintaining this image?
Yes, but I'm using distrobox

I am interested in becoming a maintainer for this image. I am also currently a distrobox user, but I am hoping to switch to toolbx and this is the only thing I still need to do that.


[install] Unable to complete bundle install - machine `arm64-apple' not recognized

Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?

[x] Yes!

What is the complete output of gem install or bundle install?

Installing nokogiri 1.11.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory<EMAIL_ADDRESS>/Users/john/.rvm/rubies/ruby-3.0.0/bin/ruby -I /Users/john/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0 -r ./siteconf20210113-52105-71gqs4.rb extconf.rb
checking for whether -g is accepted as CFLAGS... yes
checking for whether -Winline is accepted as CFLAGS... yes
checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes
checking for whether -Wno-error=unused-command-line-argument-hard-error-in-future is accepted as CFLAGS... no
Building nokogiri using packaged libraries.
Static linking is enabled.
Cross build is disabled.
checking for iconv.h... yes
checking for gzdopen() in -lz... yes
Using mini_portile version 2.5.0
checking for iconv... yes
---------- IMPORTANT NOTICE ----------
Building Nokogiri with a packaged version of libxml2-2.9.10.
Configuration options: --host\=arm64-apple-darwin20 --enable-static --disable-shared
<EMAIL_ADDRESS>--with-iconv\=yes --without-python --without-readline --with-c14n
--with-debug --with-threads --disable-shared --enable-static RANLIB\=/usr/bin/ranlib AR\=/usr/bin/ar CFLAGS\=-O2\ -U_FORTIFY_SOURCE\ -g\ -fPIC
The following patches are being applied:
  - 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
  - 0002-Remove-script-macro-support.patch
  - 0003-Update-entities-to-remove-handling-of-ssi.patch
  - 0004-libxml2.la-is-in-top_builddir.patch
  - 0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch
  - 0006-htmlParseComment-treat-as-if-it-closed-the-comment.patch
  - 0007-use-new-htmlParseLookupCommentEnd-to-find-comment-en.patch
  - 0008-use-glibc-strlen.patch
  - 0009-avoid-isnan-isinf.patch

The Nokogiri maintainers intend to provide timely security updates, but if
this is a concern for you and want to use your OS/distro system library
instead, then abort this installation process and install nokogiri as
instructed at:

  https://nokogiri.org/tutorials/installing_nokogiri.html#install-with-system-libraries

Note, however, that nokogiri cannot guarantee compatiblity with every
version of libxml2 that may be provided by OS/package vendors.

Extracting libxml2-2.9.10.tar.gz into tmp/arm64-apple-darwin20/ports/libxml2/2.9.10... OK
Running git apply with<EMAIL_ADDRESS>OK
Running git apply with<EMAIL_ADDRESS>OK
Running git apply with<EMAIL_ADDRESS>OK
Running git apply with<EMAIL_ADDRESS>OK
Running git apply with<EMAIL_ADDRESS>OK
Running git apply with<EMAIL_ADDRESS>OK
Running git apply with<EMAIL_ADDRESS>OK
Running git apply with<EMAIL_ADDRESS>OK
Running git apply with<EMAIL_ADDRESS>OK
Running 'configure' for libxml2 2.9.10... ERROR, review
<EMAIL_ADDRESS>to see what happened. Last lines are:
========================================================================
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... arm-apple-darwin20.2.0
checking host system type... Invalid configuration `arm64-apple-darwin20': machine `arm64-apple' not recognized
configure: error: /bin/sh ./config.sub arm64-apple-darwin20 failed
========================================================================
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/Users/john/.rvm/rubies/ruby-3.0.0/bin/$(RUBY_BASE_NAME)
	--help
	--clean
	--prevent-strip
	--use-system-libraries
	--use-system-libraries
	--enable-static
	--disable-static
	--enable-cross-build
	--disable-cross-build
	--with-zlib-dir
	--without-zlib-dir
	--with-zlib-include
	--without-zlib-include=${zlib-dir}/include
	--with-zlib-lib
	--without-zlib-lib=${zlib-dir}/lib
	--with-iconv-dir
	--without-iconv-dir
	--with-iconv-include
	--without-iconv-include=${iconv-dir}/include
	--with-iconv-lib
	--without-iconv-lib=${iconv-dir}/lib
/Users/john/.rvm/gems/ruby-3.0.0@test/gems/mini_portile2-2.5.0/lib/mini_portile2/mini_portile.rb:405:in `block in execute': Failed to complete configure task (RuntimeError)
	from /Users/john/.rvm/gems/ruby-3.0.0@test/gems/mini_portile2-2.5.0/lib/mini_portile2/mini_portile.rb:376:in `chdir'
	from /Users/john/.rvm/gems/ruby-3.0.0@test/gems/mini_portile2-2.5.0/lib/mini_portile2/mini_portile.rb:376:in `execute'
	from /Users/john/.rvm/gems/ruby-3.0.0@test/gems/mini_portile2-2.5.0/lib/mini_portile2/mini_portile.rb:110:in `configure'
	from /Users/john/.rvm/gems/ruby-3.0.0@test/gems/mini_portile2-2.5.0/lib/mini_portile2/mini_portile.rb:153:in `cook'
	from extconf.rb:452:in `block (2 levels) in process_recipe'
	from extconf.rb:229:in `block in chdir_for_build'
	from extconf.rb:228:in `chdir'
	from extconf.rb:228:in `chdir_for_build'
	from extconf.rb:451:in `block in process_recipe'
	from <internal:kernel>:90:in `tap'
	from extconf.rb:354:in `process_recipe'
	from extconf.rb:676:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

<EMAIL_ADDRESS>
extconf failed, exit code 1

Gem files will remain installed in<EMAIL_ADDRESS>for inspection.
Results logged to<EMAIL_ADDRESS>
An error occurred while installing nokogiri (1.11.1), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.11.1' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  apollo_upload_server was resolved to 2.0.3, which depends on
    rails was resolved to 6.1.1, which depends on
      actioncable was resolved to 6.1.1, which depends on
        actionpack was resolved to 6.1.1, which depends on
          actionview was resolved to 6.1.1, which depends on
            rails-dom-testing was resolved to 2.0.3, which depends on
              nokogiri

If installation completed but is broken, what is the complete output from nokogiri -v?

# Nokogiri (1.11.1)
    ---
    warnings: []
    nokogiri:
      version: 1.11.1
      cppflags:
      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>      -<EMAIL_ADDRESS>    ruby:
      version: 3.0.0
      platform: arm64-darwin20
      gem_platform: arm64-darwin-20
      description: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin20]
      engine: ruby
    libxml:
      source: packaged
      precompiled: true
      patches:
      - 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
      - 0002-Remove-script-macro-support.patch
      - 0003-Update-entities-to-remove-handling-of-ssi.patch
      - 0004-libxml2.la-is-in-top_builddir.patch
      - 0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch
      - 0006-htmlParseComment-treat-as-if-it-closed-the-comment.patch
      - 0007-use-new-htmlParseLookupCommentEnd-to-find-comment-en.patch
      - '0008-use-glibc-strlen.patch'
      - '0009-avoid-isnan-isinf.patch'
      libxml2_path<EMAIL_ADDRESS>      iconv_enabled: true
      compiled: 2.9.10
      loaded: 2.9.10
    libxslt:
      source: packaged
      precompiled: true
      patches: []
      compiled: 1.1.34
      loaded: 1.1.34
    other_libraries:
      zlib: 1.2.11
      libiconv: '1.15'

If installation failed during compilation, what are the complete contents of the mkmf.log file generated during the failed installation?

block in append_cflags: checking for whether -g is accepted as CFLAGS... -------------------- yes

"gcc -fdeclspec -o conftest -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe conftest.c  -L. -L/Users/john/.rvm/rubies/ruby-3.0.0/lib -L. -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/libksba/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/zlib/lib<EMAIL_ADDRESS>-fstack-protector-strong -L/usr/local/lib  -m64   -lruby.3.0   "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

"gcc -fdeclspec -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe -m64 -g -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

--------------------

block in append_cflags: checking for whether -Winline is accepted as CFLAGS... -------------------- yes

"gcc -fdeclspec -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe -g -m64 -Winline -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

--------------------

block in append_cflags: checking for whether -Wmissing-noreturn is accepted as CFLAGS... -------------------- yes

"gcc -fdeclspec -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe -g -Winline -m64 -Wmissing-noreturn -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

--------------------

block in append_cflags: checking for whether -Wno-error=unused-command-line-argument-hard-error-in-future is accepted as CFLAGS... -------------------- no

"gcc -fdeclspec -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe -g -Winline -Wmissing-noreturn -m64 -Wno-error=unused-command-line-argument-hard-error-in-future -Werror -c conftest.c"
error: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Werror,-Wunknown-warning-option]
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

--------------------

have_header: checking for iconv.h... -------------------- yes

"gcc -E -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe -g -Winline -Wmissing-noreturn  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <iconv.h>
/* end */

--------------------

have_library: checking for gzdopen() in -lz... -------------------- yes

"gcc -fdeclspec -o conftest -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe -g -Winline -Wmissing-noreturn conftest.c  -L. -L/Users/john/.rvm/rubies/ruby-3.0.0/lib -L. -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/libksba/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/zlib/lib<EMAIL_ADDRESS>-fstack-protector-strong -L/usr/local/lib  -m64   -lruby.3.0 -lz   "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <zlib.h>
 4:
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13:
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen; return !p; }
/* end */

--------------------

try_link_iconv: checking for iconv... -------------------- yes

"gcc -fdeclspec -o conftest -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe -g -Winline -Wmissing-noreturn conftest.c  -L. -L/Users/john/.rvm/rubies/ruby-3.0.0/lib -L. -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/libksba/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/zlib/lib<EMAIL_ADDRESS>-fstack-protector-strong -L/usr/local/lib  -m64   -lruby.3.0   "
Undefined symbols for architecture arm64:
  "_iconv", referenced from:
      _main in conftest-2e2e4d.o
  "_iconv_open", referenced from:
      _main in conftest-2e2e4d.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <stdlib.h>
 4: #include <iconv.h>
 5: int main(void)
 6: {
 7:     iconv_t cd = iconv_open("", "");
 8:     iconv(cd, NULL, NULL, NULL, NULL);
 9:     return EXIT_SUCCESS;
10: }
/* end */

"gcc -fdeclspec -o conftest -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/arm64-darwin20 -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0/ruby/backward -I/Users/john/.rvm/rubies/ruby-3.0.0/include/ruby-3.0.0 -I. -I/opt/homebrew/opt/libffi/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/opt/homebrew/opt/libyaml/include -I/opt/homebrew/opt/libksba/include -I/opt/homebrew/opt/readline/include -I/opt/homebrew/opt/zlib/include<EMAIL_ADDRESS>-fno-common -pipe -g -Winline -Wmissing-noreturn conftest.c  -L. -L/Users/john/.rvm/rubies/ruby-3.0.0/lib -L. -L/opt/homebrew/opt/libyaml/lib -L/opt/homebrew/opt/libksba/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/zlib/lib<EMAIL_ADDRESS>-fstack-protector-strong -L/usr/local/lib  -m64   -lruby.3.0 -liconv  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <stdlib.h>
 4: #include <iconv.h>
 5: int main(void)
 6: {
 7:     iconv_t cd = iconv_open("", "");
 8:     iconv(cd, NULL, NULL, NULL, NULL);
 9:     return EXIT_SUCCESS;
10: }
/* end */

--------------------

Tell us about your system!
What is the output from ruby -v? ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin20]
What is the output from gem -v? 3.2.3
What is the output from gem env?
RubyGems Environment:
  - RUBYGEMS VERSION: 3.2.3
  - RUBY VERSION: 3.0.0 (2020-12-25 patchlevel 0) [arm64-darwin20]
  - INSTALLATION DIRECTORY: /Users/john/.rvm/gems/ruby-3.0.0@test
  - USER INSTALLATION DIRECTORY: /Users/john/.gem/ruby/3.0.0
  - RUBY EXECUTABLE: /Users/john/.rvm/rubies/ruby-3.0.0/bin/ruby
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /Users/john/.rvm/gems/ruby-3.0.0@test/bin
  - SPEC CACHE DIRECTORY: /Users/john/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/john/.rvm/rubies/ruby-3.0.0/etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - arm64-darwin-20
  - GEM PATHS:
     - /Users/john/.rvm/gems/ruby-3.0.0@test
     - /Users/john/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/john/.rvm/gems/ruby-3.0.0@test/bin
     - /Users/john/.rvm/gems/ruby-3.0.0@global/bin
     - /Users/john/.rvm/rubies/ruby-3.0.0/bin
     - /Users/john/.rvm/bin
     - /Users/john/.nvm/versions/node/v14.15.4/bin
     - /usr/local/homebrew/opt/elasticsearch@6/bin
     - /opt/homebrew/bin
     - /opt/homebrew/sbin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin

If you're using Bundler:

what is the output from bundle version? Bundler version 2.2.3 (2021-01-12 commit unknown)
what is the output from bundle config? (Take care to redact any credentials)

Set for the current user (/Users/john/.bundle/config): "--global jobs 8"

If you're on MacOS, please note:

the version of XCode you have installed (if you know) Version 12.3 (12C33)
the output of gcc -v or clang -v Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)

If Linux or a BSD variant, please note:

the distro you're using
the output of uname -a
the contents of /etc/lsb-release.

If Windows, please note:

whether you're installing the precompiled gems, or compiling yourself with DevKit
the version of RubyInstaller you've installed
or if you're not using RubyInstaller, how did you install Ruby?

I'm able to install nokogiri fine
gem install nokogiri
Successfully installed nokogiri-1.11.1-arm64-darwin
Parsing documentation for nokogiri-1.11.1-arm64-darwin
Done installing documentation for nokogiri after 0 seconds
1 gem installed

However I'm not able to complete bundle install

I'm able to install nokogiri fine
gem install nokogiri
Successfully installed nokogiri-1.11.1-arm64-darwin
Parsing documentation for nokogiri-1.11.1-arm64-darwin
Done installing documentation for nokogiri after 0 seconds
1 gem installed

However I'm not able to complete bundle install

@mengqing Thanks for reporting. The root cause of this is upstream in libxml2's build files.
However, bundler should be installing the native precompiled gem for you (like gem install does). Can you please double-check your bundler config? Is it possible that at some point in the past you configured bundler to install nokogiri with --use-system-libraries?

@mengqing Thanks for reporting. The root cause of this is upstream in libxml2's build files.
However, bundler should be installing the native precompiled gem for you (like gem install does). Can you please double-check your bundler config? Is it possible that at some point in the past you configured bundler to install nokogiri with --use-system-libraries?

@mengqing I hate to pass this problem off, but I'm not sure how to help if gem install is working, and I'd like to involve the Bundler team in the conversation.
Would you be willing to open a bundler-related issue at the rubygems project? Here's a link to do so: https://github.com/rubygems/rubygems/issues/new?assignees=&labels=Bundler&template=bundler-related-issue.md&title=

@mengqing I hate to pass this problem off, but I'm not sure how to help if gem install is working, and I'd like to involve the Bundler team in the conversation.
Would you be willing to open a bundler-related issue at the rubygems project? Here's a link to do so: https://github.com/rubygems/rubygems/issues/new?assignees=&labels=Bundler&template=bundler-related-issue.md&title=

@flavorjones Thanks Mike, after a few hours of fiddling, I was able to finish bundle install after setting the bundle config following this section https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-standard-system-libraries
bundle config build.nokogiri --use-system-libraries.
I'm not sure why though, could it be that the version packaged with Nokogiri isn't compatible? Anyway I'm closing this issue now

@flavorjones Thanks Mike, after a few hours of fiddling, I was able to finish bundle install after setting the bundle config following this section https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-standard-system-libraries
bundle config build.nokogiri --use-system-libraries.
I'm not sure why though, could it be that the version packaged with Nokogiri isn't compatible? Anyway I'm closing this issue now

I've had issues with outdated config.sub files causing this very stubborn error all over the place when using Big Sur on arm64 (M1). It's not at all confined to nokogiri's bundled use of libxml2 but is happening all over the ecosystem: rvm, ruby gems, python packages, etc.
In this case, for nokogiri:
Running 'configure' for libxml2 2.9.10... ERROR, review<EMAIL_ADDRESS>to see what happened. Last lines
are:
========================================================================
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... Invalid configuration `arm64-apple-darwin20.3.0': machine `arm64-apple' not recognized
configure: error: /bin/sh ./config.sub arm64-apple-darwin20.3.0 failed
========================================================================

Or, rvm -- even pre-3.0 version of RUBY fail to compile for the same reason:
milos@air:~$ rvm install ruby-2.6
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/11.2/arm64/ruby-2.6.6.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle<EMAIL_ADDRESS>is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/milos/.rvm/rubies/ruby-2.6.6, this may take a while depending on your cpu(s)...
ruby-2.6.6 - #downloading ruby-2.6.6, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13.4M  100 13.4M    0     0  2881k      0  0:00:04  0:00:04 --:--:-- 3060k
ruby-2.6.6 - #extracting ruby-2.6.6 to /Users/milos/.rvm/src/ruby-2.6.6.....
ruby-2.6.6 - #configuring.
Error running './configure --prefix=/Users/milos/.rvm/rubies/ruby-2.6.6<EMAIL_ADDRESS>--disable-install-d
oc --enable-shared',
please read /Users/milos/.rvm/log/1617283064_ruby-2.6.6/configure.log
There has been an error while running configure. Halting the installation.

and the log file contains:
[2021-04-02 02:17:45] ./configure
current path: /Users/milos/.rvm/src/ruby-2.6.6
GEM_PATH=/Users/milos/.rvm/gems/ruby-3.0.0@learn-rails:/Users/milos/.rvm/gems/ruby-3.0.0@global
GEM_HOME=/Users/milos/.rvm/gems/ruby-3.0.0@learn-rails
PATH=/opt/homebrew/opt/coreutils/bin:/opt/homebrew/opt/pkg-config/bin:/opt/homebrew/opt/libtool/bin:/opt/homebrew/opt/automake/bin:/opt/homebrew/opt/autoconf/bin:/Users/milos/.rvm/gems/ruby-3.0.0@learn-rails/bin:/Users/milos/.rvm/gems/ru>
command(5): ./configure --prefix=/Users/milos/.rvm/rubies/ruby-2.6.6<EMAIL_ADDRESS>--disable-install-doc>
checking for ruby... /Users/milos/.rvm/rubies/ruby-3.0.0/bin/ruby
tool/config.guess already exists
tool/config.sub already exists
checking build system type... Invalid configuration `arm64-apple-darwin20.3.0': machine `arm64-apple' not recognized
configure: error: /bin/sh tool/config.sub arm64-apple-darwin20.3.0 failed

It's just insane.
I wish rvm/gem/bundle let you easily edit the extracted source prior to starting the standard compilation step because a simple echo 'echo arm64-apple-darwin' > config.sub at the offending location will immediately resolve this -- once again, stubborn -- issue, albeit only that one time. It is a completely pointless and frustrating error that I wish autoconf could have avoided in its design. It is not future-proof if every time a new architecture is designed we have to update hardcoded entries in a text file. I guess there is probably a reason for needing all of this -> http://git.savannah.gnu.org/cgit/config.git/tree/config.sub but it's clearly not critically required to build when you can infer it from your particular system, i.e. arm64-apple-darwin in this case...
I don't know enough about autoconf's use of config.sub but there must be a better way to resovle this in bulk without falling back to rosetta2/x86_64 (which config.sub has known about for decades so has no issues compiling against). This outdated config.sub problem blocks an insane amount of packages from being able to be natively compiled without modification, and unfortunately many managers like rvm/pip make it difficult to interrupt the conventional process so that the source code can be modified to rectify the outdated config.sub prior to proceeding.
Right now the very latest version of libxml2, 2.9.10, released October 2019, with an outdated config.sub timestamped 2018-08-29 (https://fossies.org/diffs/libxml2/2.9.9_vs_2.9.10/config.sub-diff.html), will of course fail to compile on arm64 systems:
milos@air:~/d/libs$ wget http://xmlsoft.org/sources/libxml2-2.9.10.tar.gz
milos@air:~/d/libs$ tar xf libxml2-2.9.10.tar.gz
milos@air:~/d/libs$ cd libxml2-2.9.10
milos@air:~/d/libs/libxml2-2.9.10$ ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... Invalid configuration `arm64-apple-darwin20.3.0': machine `arm64-apple' not recognized
configure: error: /bin/sh ./config.sub arm64-apple-darwin20.3.0 failed

and after a simple echo 'echo arm64-apple-darwin' > config.sub (or replacing config.sub with the newer version from http://git.savannah.gnu.org/cgit/config.git/tree/config.sub):
milos@air:~/d/libs/libxml2-2.9.10$ ./configure
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... arm64-apple-darwin
checking host system type... arm64-apple-darwin
checking for a BSD-compatible install... /opt/homebrew/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/homebrew/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
...
(completes successfully)

This fix applies to literally every instance of this error on Apple's arm64 hardware.
The problem is, even if we ask all of these package maintainers to update their config.sub files, the older versions will still fail to compile and in many cases you actually must use the older version, so this seems like an incredibly challenging issue to resolve without some kind of bulk solution that hijacks the "checking build system type..." configure step to somehow inject arm64-apple-darwin.

@milosivanovic Hi! Thanks for your comment. I can see you're frustrated. There's lots to unpack in your comment, but I'll try to be brief and give you some things you might want to try next.
You're commenting at length on an issue that's been closed for many months, on a repo that is unrelated to the underlying issue of config.sub. I'm not sure what to say about that except to encourage you to either:
A) open a new issue to get help installing Nokogiri, or
B) open a new issue about the broader goal of patching libxml2 in Nokogiri's packaged source code to enable M1 compilation, or
C) submit this comment upstream to libxml2, or else
For (A), Nokogiri ships precompiled binaries for M1 / arm64 architecture. It seems like you're not using this native gem, and it's not clear why. It's also not clear from your comment what command you're running or what your system config is. Please open a new issue and fill out the "Installation problem" template if you'd like to get help.
For (B), assuming you truly don't want the precompiled version for some reason, Nokogiri can (and does) patch libxml2 at installation/compilation. In fact, we've even done something similar in the past for ppc64le architecture, see https://github.com/sparklemotion/nokogiri/issues/1280 and https://github.com/sparklemotion/nokogiri/pull/1326. I'm only asking for someone to spend a few minutes pairing with me on it, and testing compilation of a branch to verify the solution on M1 hardware.
For (C), it's not totally clear whether libxml2 will take responsibility since this issue is really in automake versions less than 1.11.4. If the next packaged release of libxml2 is done on a system with an up-to-date automake, then this problem will be solved there.
So, once again, please pick one:

Provide enough information to get help installing Nokogiri on your system
Offer some of your time to help test a permanent fix for compiling Nokogiri's packaged libxml2 on M1
Comment upstream

Thanks for reading, and sorry that you're having trouble.

Also see https://github.com/sparklemotion/nokogiri/pull/2214 which I just opened to try to fix this. I need help testing.

#2214 has been merged and should be fixed in the next release.


Add erigon-lib as submodule and use .proto files from there

And remove the .proto files copied to silkworm/interfaces. Rationale: consistency.

ok, but why did you choose erigon-lib and not https://github.com/ledgerwatch/interfaces ?

Right, I did not realize that interfaces has its own repo and is a subtree in erigon-lib.


fix(es/transform/resolver): avoid ident collapse for the reexport

Description:
Attempts to close #3114.
This PR applies new mark to named export if

named export comes from direct reexport (export { some } from 'xxx')
and export's ident collapses to existing ident

In case of #3114, existing logic treat reexported ident is same as imported one via import type {...}, ends up stripping its existence. However, if named export comes from direct reexport it is ensured it won't come from any ident in existing scope. PR attempts to assign new context for those cases.
Disclaimer this may not be the correct approach and I may did wrong.
Related issue (if exists):

closes #3114

Is this not possible from typescript::strip?

It is original place I started, I think it'll work if we try to ignore strip for the specific ident collapses. The reason I choose to update parser was to have a proper context for the ident maybe useful to other transforms as it'll be guaranteed to be treated as different ident.
I'll give it another go and update PR if it works.

Oh, I see.
We apply resolver right after parsing, so it can be the place IMO.

Cool, I'll try to peek resolver as well.

Does this also fix #2924?

Does this also fix #2924?

doesn't look like so. It seems like there's some other offender in mangle side, or my changes are not suffecient to deal with all cases. If this goes in, I'll try to peek mangle side if there's an easy fix.

Closing in favor of https://github.com/swc-project/swc/pull/3139


Which license governs the contents of the www.openssl.org website?

We're working on VulnerableCode, it's an Opensource Software Vulnerability Database for FOSS.
For OpenSSL, we're fetching the vulnerability data from:  https://www.openssl.org/news/vulnerabilities.xml
We couldn't find any license for those security advisories.
Could you tell us under which license those advisory data are provided?

Apache 2.

@paulidale Thank you ++ please feel free to close.


Function and task hint on hover

Currently on hover displays only first line of function (or task) declaration.

It would be nice if all arguments of the function was displayed on hover. And it will be so nice if docstring also was displayed. (Maybe it should be another feature request)
Thanks!

Just kicked off the publish job for 2024.11.0, lmk if it looks better on this version!

Now it looks so much better! Thank you for your job


Field Number (^FN) and Recall / Download Format (^DF, ^XF)

Hello,
For a project I needed to handle ^FN, ^DF and ^XF commands in existing .zpl files (I cannot change those files).
DF : "template" declaration
XF : "template" usage
FN : field declaration and usage
Details here : https://www.servopack.de/support/zebra/ZPLII-Prog.pdf
In order to do that, I had to make a few changes to the lib :

Added FieldNumberCommandAnalyzer, DownloadFormatCommandAnalyzer, RecallFormatCommandAnalyzer
Added ZplFieldNumber and ZplRecallFormat elements
Updated FieldDataZplCommandAnalyzer to return an element matching ^FN...^FD... pair
Updated FieldSeparatorZplCommandAnalyzer to return an element matching trailing ^FN commands before ^FS
Added DownloadFormatName property in LabelInfo class
Added few properties to VirtualPrinter
Added format merging in ZplAnalyzer

Can I create a pull request so that those new features are available for everyone ?

Yes of course you can send a pull request. We are happy about additional functionality

Great thanks ! I'm on it

Hello, the pull request is available if you have few time for review (no emergency at all :) )
I tried to match existing coding style

Can you maybe also add some test labels?
https://github.com/BinaryKits/BinaryKits.Zpl/tree/master/src/BinaryKits.Zpl.Viewer.WebApi/Labels/Test

sure, doing that asap

Hello, I pushed an example (and a tiny fix to handle non-trimmed ^XA and ^XZ commands)

I will do it the week

thanks !

new nuget packages now available


'!debugNeedsPaint': is not true. ERROR

Hello.
I'm using your package well.
But When the capture() function was called, the following error pack occurred.
UI
WidgetsToImage(controller: controller.pollDocImageController, child: _buildPoll()),
GetXController
pollDocBytes.value = await pollDocImageController.capture() ?? Uint8List(0);
ERROR
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/rendering/proxy_box.dart': Failed assertion: line 3379 pos 12: '!debugNeedsPaint': is not true.

The docs for debugNeedsPaint states: Whether this render object's paint information is dirty.
Wrapping controller.capture() in two addPostFrameCallback works for me:
WidgetsBinding.instance.addPostFrameCallback((timeStamp) async {
  WidgetsBinding.instance.addPostFrameCallback((timeStamp) async {
    final bytes = await controller.capture();
    setState(() {
      this.bytes = bytes;
    });
  });
});

I upload the new version to solve this pugs.


Deployment on GCP not possible with routing_disable_http = false

The deployment on GCP is not possible when setting the routing_disable_http parameter to false because the health checks on a GCP load balancer needs to be the same protocol as the backend. i.e. backend was deployed with https only, health checks should have been configured in https.
This is currently not possible on the gorouter.
Bug submitted by: @ckunst & @RomRider

See #225 as a proposed short term workaround.

Hi @RomRider, thanks again for raising this issue. Closing this issue as we've reviewed your original request in #225 and decided not to pull it in in favour of the pr you've created with the routing team. Please do not hesitate to reach out should you have any questions/feedback. Thanks.


Wire NDC implementation end to end

Refactor replication queue, add handling of NDC replication task
Fix issue that branch token should be set before task refreshment during mutable state rebuild
Fix dead lock issue when performing NDC workflow reset
Reorder task ID generation in ConflictResolveWorkflowExecution, ResetWorkflowExecution, making sure current workflow tasks are handled before new workflow tasks
Add NDC handling for continue as new workflow in state builder, history engine, workflow resetter
Fix cassandra schema

Coverage decreased (-0.4%) to 66.361% when pulling 269d218e064e2428b414fc72f502995f2fde715d on 3+DC-replication-task into c3b916f6840ec84d2a18f3afe8c342297c6ae131 on 3+DC.


how to pass custom Text to pop up

Hey all, I have Button which calls a ScannerView and receives the scanned barcode. I would like to pass the scanned String to a popup view and can't figure out how to do it properly. The pop up is always empty
That's my simplified code
struct WorkflowView: View {

    @State private var isShowingScanner = false
    @State private var scannedCode: String?
    @State private var isShowingScannerBanner = false

    var body: some View {
        ZStack{ //need to trigger pop up views
            VStack {
                    Button(action: {
                        self.isShowingScanner = true
                    }, label: {
                        Text("Scan barcode")
                            .font(.title)
                            .padding(5)
                            .background(Color.orange)
                            .cornerRadius(10)
                    })
            }
            .sheet(isPresented: $isShowingScanner) {
                    CodeScannerView(codeTypes: [.ean8, .ean13, .upce, .code39, .code93, .code128, .code39Mod43, .interleaved2of5, .qr]) { response in
                        if case let .success(result) = response {
                            scannedCode = result.string
                            isShowingScanner = false
                            isShowingScannerBanner = true
                        }
                    }
                }
        }
        .popup(isPresented: $isShowingScannerBanner, type: .floater(verticalPadding: 90), position: .top, autohideIn: 2) {
                    createSuccessBanner(message: scannedCode ?? "")
                }
}

Hello @beks6, your code doesn't show if your CodeScannerView works and actually updates scannedCode value. Also doesn't show how createSuccessBanner works - might be losing your value there. But if both of them work as expected, the code basically looks something like this:
struct ContentView: View {

    @State private var scannedCode: String?
    @State private var isShowingScannerBanner = false

    var body: some View {
            VStack {
                Button {
                    self.scannedCode = "\(Double.random(in: 0...100))"
                    isShowingScannerBanner = true
                } label: {
                    Text("Scan barcode")
                        .font(.title)
                        .padding(5)
                        .background(Color.orange)
                        .cornerRadius(10)
                }
            }
        .popup(isPresented: $isShowingScannerBanner, type: .floater(verticalPadding: 90), position: .top, autohideIn: 2) {
            Text("\(scannedCode ?? "")")
        }
    }
}

This code updates content successfully, please check it out. If you have any further questions please provide minimal reproducible example. Also please make sure you are using the latest versions of xcode, ios and popup library. Have a nice day!

Hello @beks6, your code doesn't show if your CodeScannerView works and actually updates scannedCode value. Also doesn't show how createSuccessBanner works - might be losing your value there. But if both of them work as expected, the code basically looks something like this:
struct ContentView: View {

    @State private var scannedCode: String?
    @State private var isShowingScannerBanner = false

    var body: some View {
            VStack {
                Button {
                    self.scannedCode = "\(Double.random(in: 0...100))"
                    isShowingScannerBanner = true
                } label: {
                    Text("Scan barcode")
                        .font(.title)
                        .padding(5)
                        .background(Color.orange)
                        .cornerRadius(10)
                }
            }
        .popup(isPresented: $isShowingScannerBanner, type: .floater(verticalPadding: 90), position: .top, autohideIn: 2) {
            Text("\(scannedCode ?? "")")
        }
    }
}

This code updates content successfully, please check it out. If you have any further questions please provide minimal reproducible example. Also please make sure you are using the latest versions of xcode, ios and popup library. Have a nice day!

The problem here is that if I pass the custom text in this way, pop will display the previous value. Each click displays the value before the change.

hello i have a similar issue,
@State private var loadingTitle: String? = nil
    @State private var loadingMessage: String? = nil

then on a button click i do:
self.loadingTitle = "title"
self.loadingMessage = "message."
showLoading = true

And mi popup looks like this but the texts are empty, just the "ok" fixed one appears.
.popup(isPresented: $showLoading) {
                VStack {
                    //Text("ok")
                    Text("\(loadingTitle ?? "")")
                        //.frame(maxWidth: .infinity)
                    //Text("\(loadingMessage ?? "")")
                }
                .padding(20)
                .background(Color.white)
                .cornerRadius(4)
                .shadow(color: .black.opacity(0.2), radius: 4, x: 0, y: 1)
                .padding(20)
            } customize: {
                $0
                    .animation(.spring())
                    .closeOnTap(false)
                    .closeOnTapOutside(false)
                    .dragToDismiss(false)
                    .isOpaque(true)
                    .backgroundColor(.white.opacity(0.5))
            }


iOS 64bit support

The release build only support 32bit. I'm really new to developing ANEs and tried struggling rebuilding this ANE to support iOS 64bit.
I am grateful for any advice!

+1

+1

+1


Kinetics-600 checkpoints for optical flow

Do you plan to add trained checkpoints for the optical flow stream from the Kinetics-600 dataset? Especially, imagenet + kinetics-600?

Hi Gaurvi,
we'll be releasing kinetics-800 in less than a month so probably will just
directly release new checkpoints for that.
Best,
Joao
On Thu, Mar 14, 2019 at 11:33 AM Gaurvi Goyal<EMAIL_ADDRESS>wrote:

Do you plan to add trained checkpoints for the optical flow stream from
the Kinetics-600 dataset? Especially, imagenet + kinetics-600?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/kinetics-i3d/issues/56, or mute the thread
https://github.com/notifications/unsubscribe-auth/AO6qarPiv_HfgvsA6O12IhsoQoFiRKI_ks5vWjOOgaJpZM4bz7BS
.

Thank you for your response! Looking forward to the update.
Regards,
Gaurvi

@joaoluiscarreira > we'll be releasing kinetics-800 in less than a month so probably will just
When can I find the kinetics-800 dataset, thanks :)

Hi @joaoluiscarreira , can you give any update if there is any nearby plan to release "Kinetics-600 checkpoints for optical flow" or "Kinetics-800"


New: sirWest.AudioSwitch version 2.2.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Remember you also need to change the version folder name

Since the Publisher is missing in ARP we need to add the ProductCode
The version needs to be <IP_ADDRESS> like it reports in ARP
Cleaned up the InstallerSwitches since the InstallerType is Inno

Thanks for the corrections!