A complement to a VPN?

I use PIA VPN. Is there an advantage to using DNSCrypt as well?

If you are using your own DNSCrypt resolver, yes.
If the VPN provider you are using is also offering access to their own DNSCrypt resolvers, yes.
In other scenarios, no. You would just be giving a copy of your data to two companies/organizations/people instead of one. In addition, it would make things slower by having CDNs return IP addresses of servers that can be far away from the VPN exit IP.
Use the name servers provided by the VPN service.


Added values for flex and pointer-events

Not sure about some of the values.
Seems to work on haxedevelop, and at least provide some help.
But the syntax coloring still indicates the values as not recognized.

Highlighting is separate: https://github.com/fdorg/flashdevelop/blob/development/FlashDevelop/Bin/Debug/Settings/Languages/CSS.xml

Ok, Thanks.
updated the CSS.xml file, and added some other flex related css rules.

Nice!


jargon: include example with closing ; for axiom

Sorry, didn't catch this before pushing v0.0.10 yesterday. Would it be possible to rebase on v0.0.10?

Will do.


Keychron issue esc = overload

Hello, thanks for this awesome program.
I have a keychron keyboard and the downside to that is that it shares esc, tilde, and
backtick all in one key. I have to use FN1+Esc to use the tilde and backtick.
I was looking at the examples and would like to have:
escape  to tilde/backtick and when I hold it to act as escape. However,
this does not work: esc = overload(esc,`)
Here is my config:
[ids]

*

[main]

capslock    = layer(meta)
leftmeta    = capslock
leftalt     = layer(control)

esc = overload(esc,`)

leftcontrol = layer(alt)

Thanks

Use journalctl -u keyd to see the error log.
In this case, the first error is that esc is not a layer, it's a key. If you want to differentiate keys based on hold time, try esc = timeout(grave, 800, esc).


definitions.reference.pmcid should allow IDs with 8 digits

Currently, the CFF schema requires PMCIDs with seven digits (example).
However, newly assigned IDs now have eight digits.
Thus, the regex used for validating this field should be ^PMC[0-9]{7,8}$

Thanks, @skafdasschaf, for notifying us of this. Should definitely laxen the schema regarding this in the next minor release!

Fixed by PR #469, closing this issue


add option to time in ms

add use_ms for timed decorator instead of seconds. e.g.
from statsd import statsd

statsd.use_ms = True

# This will use ms
statsd.timed('this.will.use.ms')
def foo():
      # pass

# Or ....
from statsd import statsd
statsd.timed('this.will.use.seconds')
def foo():
      # pass

statsd.timed('this.will.use.ms', use_ms=True):
def foo():
      # pass

Moved to datadogpy.


Power distribution network requirements

The power distribution network should be designed with the main power on the top (thick) metal (metal 5) as much as possible.
The main two power buses should be no less than 10um wide each (preferably more).
No power supply route between top level blocks will be less than 10um wide.
Power routing inside synthesized blocks will cover at least 10% of the total layout area on the top metal layer.

Will be covered by implementing power rings and automating routing using OpenLane.


0.11.99 Connect Error

There seems to be a problem with the safari
I tried safari 17.0 & safari 17.5 and both reported errors: error trying to connect: [DUPLICATE_SIGNATURE_ALGORITHM]

no problem

looks only the safari family have this problem, others are normal

I tried windows compiled and running without this problem, but ubuntu compiled with the above error

v0.11.101 fixed [DUPLICATE_SIGNATURE_ALGORITHM] problem
but windows compiled comes up with the following error (linux is fine):
  Initialized empty Git repository in D:/DevFiles/Coding/rust/ninja/target/debug/build/boring-sys-imp-9a3bd1487a1d1568/out/boringssl/.git/
  cargo:warning=applying old ciphers patch to boringssl
  --- stderr
  error: can't open patch '//?/C:/Users/nekomiya/.cargo/registry/src/index.crates.io-6f17d22bba15001f/boring-sys-imp-4.9.1/patches/boringssl-old-ciphers.patch': No such file or directory
  thread 'main' panicked at C:\Users\nekomiya\.cargo\registry\src\index.crates.io-6f17d22bba15001f\boring-sys-imp-4.9.1\build/main.rs:572:44:
  called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "\"git\" \"apply\" \"-v\" \"--whitespace=fix\" \"\\\\\\\\?\\\\C:\\\\Users\\\\nekomiya\\\\.cargo\\\\registry\\\\src\\\\index.crates.io-6f17d22bba15001f\\\\boring-sys-imp-4.9.1\\\\patches\\\\boringssl-old-ciphers.patch\" exited with status: 128" }
  stack backtrace:
     0: std::panicking::begin_panic_handler
               at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library\std\src\panicking.rs:652
     1: core::panicking::panic_fmt
               at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library\core\src\panicking.rs:72
     2: core::result::unwrap_failed
               at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library\core\src\result.rs:1679
     3: build_script_main::built_boring_source_path::{{closure}}
     4: std::sync::once_lock::OnceLock<T>::get_or_init
     5: std::sync::once_lock::OnceLock<T>::initialize::{{closure}}
     6: std::sync::once::Once::call_once_force::{{closure}}
     7: std::sys::sync::once::queue::Once::call
               at /rustc/051478957371ee0084a7c0913941d2a8c4757bb9/library\std\src\sys\sync\once\queue.rs:183
     8: std::sync::once::Once::call_once_force
     9: std::rt::lang_start::{{closure}}
    10: std::sync::once_lock::OnceLock<T>::get_or_init
    11: std::sync::once_lock::OnceLock<T>::get_or_init
    12: build_script_main::pick_best_android_ndk_toolchain::{{closure}}::{{closure}}
    13: build_script_main::built_boring_source_path::{{closure}}
    14: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

If you compile the upstream boring patch, it will not be supported on Windows. I am too lazy to support it. I recommend Linux cross-compilation, don't use Windows for development.

got it, thanks!
It might be better to put this in the readme, to avoid people asking about it again.


vFile: enable mount/unmount in e2e testing for vFile

Fixed by https://github.com/vmware/docker-volume-vsphere/pull/1880


Overall tasks for the course

Prepare lecture notes (in the form of a sphinx based website where each page is downloadable as a Jupyter notebook)
Prepare homework design guidelines
Proofread lecture notes
Record lecture videos based on the lecture notes and post to youtube
Design autogradable nbgrader/jupyter homeworks that test competency of the weeks lecture videos.
Use nbgrader to grade notebooks and distribute back to the students
Answer questions in the class online forum
Answer questions during the work sessions
Setup and test vocareum for jupyter notebook homeworks
Create an exam
Organize the exam
Grade the exam

We should create an instructor guide that adds this and more.

Close in favor of #63


Klive can't open .gds when using c.show()

Hello, I am using gdsfactory 8.13.3 with Klayout 0.29.7, Python 3.12 and Ubuntu 24.04.
While using klayout with klive working, I use c.show() and I receive this error :
ERROR Unable to open file: /tmp//1977097362.gds (errno=2) in MainWindow.load_layout
Then Klive crashes.
I don't find the good documentation on the c.show() function and would like to know if it's possible to store the temporary .gds file elsewhere ?
I don't even find the<PHONE_NUMBER>.gds file in my /tmp/ folder.
Thank you for the help :)

yes, you can do c.write_gds('hello.gds')

Thanks for you reply !
The function c.write_gds is just writing the gds file, klive doesn't automatically update klayout.
I can't do c.show('demo.gds) , klive still tries to find the file in /tmt/ which doesn't seem to exist ...

hi @GiomB , i think what you want to do is this:
import gdsfactory as gf

c = gf.c.rectangle()
filename = "hello.gds"
c.write_gds(filename)
gf.show(filename)

@GiomB could you share the env? I suspenct this might be an issue with jupyter. I.e. are you running this in a jupyter and also conda?

Hello @tvt173 , indeed with the function gf.show, i can specify the path and it works nicely ! Thank you for this workaround :)
But still I am wondering why the c.show function is not working as intended. On windows, the gds file is indeed created in appdata/local/temp. Maybe something wrong with my tmp folder on my ubuntu ?
@sebastian-goeldi I am using python with virtualenvs and then VSCode for the notebooks
Here is my env:
3.12.6 (main, Nov 10 2011, 15:00:00) [GCC 14.2.0]
/home/giom/.virtualenvs/Laser/bin/python

                                                      Modules
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃    Package ┃ version                                         ┃                                             Path ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│     python │ 3.12.6 (main, Nov 10 2011, 15:00:00) [GCC       │         /home/giom/.virtualenvs/Laser/bin/python │
│            │ 14.2.0]                                         │                                                  │
│ gdsfactory │ 8.13.3                                          │ /home/giom/.virtualenvs/Laser/lib/python3.12/si… │
│   gplugins │ not installed                                   │                                                  │
│        ray │ not installed                                   │                                                  │
│    femwell │ not installed                                   │                                                  │
│     devsim │ not installed                                   │                                                  │
│     tidy3d │ not installed                                   │                                                  │
│       meep │ not installed                                   │                                                  │
│       meow │ not installed                                   │                                                  │
│     lumapi │ not installed                                   │                                                  │
│        sax │ not installed                                   │                                                  │
└────────────┴─────────────────────────────────────────────────┴──────────────────────────────────────────────────┘

Thank you all for the help

Hmm. It's interesting that it picks such a curious name for the gds. Normally it defaults to the cellname. I am not sure why in your case it will try to write a numeric name. Anyway, I am not sure why you can't write to /tmp. Are you on a univeristy network or similar? I remember at ETHZ we had a weird temp (though I have to admit that was in the very early days of my linux endeavors). But nonetheless, I can offer two potential solutions.

I can implement KFACTORY_BUILD_DIR to allow you to set the folder used for saving to wherever you want (either through env variable directly or it is also loaded from an env file)
Create a git repository, this will make kfactory default to build into {git_repo_root}/build/gds

I also encounted a case like this. I use VS code, when I use cell.show(). The VS code tell me

could not connect to klive serve

And my solution is to open KLayout in advance, and then use cell.show(), it can draw corresponding layout inside KLayout. And I can not find klive extension in VS code. So is there a method to let VS code open KLayout automatically and draw layout?

Theoretically there is. But a) I don't like if programs just open ither programs without asking, b) this could spawn tons of klayout processes in cases where for exampls klive is broken. Maybe a muddle groubd would be to ask the user whether klayout should be started?

I totally agree.
And maybe another solution is to make eye-catching tips or instructions about this to let user know exactly what they should do to get result when they use cell.show()  function. :)


IGNORE --- Update .nvmrc to Node.js version 22.3.0

This PR updates .nvmrc to Node.js version 22.3.0

Please ignore this PR. It's an automated test.


Add a test for subnet

Add a test to catch https://github.com/pulumi/pulumi/issues/3621

@stack72 Do we want to merge now and honestly fail the build, or do we wait until the bug is fixed?

🤷♂ I don't know :) I am happy you showed that it's currently broken though

@mikhailshilkov do we still need this?

Yes, let me rebase


Updated Kustomize tutorial with CLI steps

Summary
Updated Kustomize tutorial with CLI steps
What Type of PR is This?

[x] Tutorial

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


How to run FSDP on multiple nodes?

❓ Questions and Help
Before asking:

search the issues.
search the docs.

What is your question?
The readme here shows how to run fairseq in FSDP mode on a single node. I expected that if I ran the same command but with different node ranks and total number of nodes, each node would be a replica. However, what this does is simply shard the model over all GPUs over all nodes. Naturally what I want is that the model be sharded over 1 node and then all nodes run do the same and then do distributed training. How would I go about achieving this?
Code
On node 1:
OMP_NUM_THREADS=20 CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
python -m torch.distributed.launch --nproc_per_node=8
--nnodes=2 --node_rank=0 --master_addr=<IP_ADDRESS>
--master_port=12345
fairseq-train data-bin/wikitext-103-roberta-bpe-bin
--ddp-backend fully_sharded --fp16 --fp16-init-scale 4
--cpu-offload --checkpoint-activations
--task language_modeling --tokens-per-sample 2048 --batch-size 8
--arch transformer_lm_gpt3_13
--optimizer cpu_adam --adam-betas "(0.9,0.98)"
--lr 0.0001 --lr-scheduler polynomial_decay --warmup-updates 5 --total-num-update 10
--max-update 10 --no-save --log-format json --log-interval 1
On node 2:
OMP_NUM_THREADS=20 CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7
python -m torch.distributed.launch --nproc_per_node=8
--nnodes=2 --node_rank=1 --master_addr=<IP_ADDRESS>
--master_port=12345
fairseq-train data-bin/wikitext-103-roberta-bpe-bin
--ddp-backend fully_sharded --fp16 --fp16-init-scale 4
--cpu-offload --checkpoint-activations
--task language_modeling --tokens-per-sample 2048 --batch-size 8
--arch transformer_lm_gpt3_13
--optimizer cpu_adam --adam-betas "(0.9,0.98)"
--lr 0.0001 --lr-scheduler polynomial_decay --warmup-updates 5 --total-num-update 10
--max-update 10 --no-save --log-format json --log-interval 1
What have you tried?
I dont know what to try
What's your environment?

fairseq Version (e.g., 1.0 or main): Latest
PyTorch Version (e.g., 1.0): Latest
OS (e.g., Linux): Centos 8
How you installed fairseq (pip, source): source with local editable
Build command you used (if compiling from source):
Python version: N/A
CUDA/cuDNN version: N/A
GPU models and configuration: 8 V100 gpus, 2 nodes = 16 GPUs
Any other relevant information: N/A

I believe there is no "sharding the model in one node and train with multiple nodes with parallel data distribution."
While I would say sharding the model over all nodes is the correct way, because that is how you can train a several hundred B model.
Sorry for my ignorance, what is the advantage of data parallel here?


Comparison with CircularArrays.jl

Hi,
how does this package compare to CircularArrays.jl?
https://github.com/Vexatos/CircularArrays.jl

Well, the difference is obvious, we are Buffers. 😆

It has a fixed size and features circular indexing (periodic boundary conditions) across all dimensions: Indexing and assigning beyond its bounds in both directions is possible, as the end of the array is considered adjacent to its start.

Based on the description above from CircularArrays.jl, a CircularArray has a fixed size. In comparison, CircularArrayBuffer has a variable size with a pre-allocated buffer. You can push! elements into it. And when the buffer is full, the oldest data will be overridden. I think this package is more close to the CircularBuffer in DataStructures.jl, except that when dealing with Arrays, we use a pre-allocated continuous array as the underlying storage instead of a Vector.

Thank you for your quick answer!
I tried your package and it is pretty cool!
Would it be possible (and feasible) to add an append! function behaving similar to that of CircularBuffer in DataStructures.jl?
Also did you consider adding this type to DataStructures.jl?

Would it be possible (and feasible) to add an append! function behaving similar to that of CircularBuffer in DataStructures.jl?

Yes, of course. Could you be more specific about the signature of append!?

Like append!(buffer::CircularArrayBuffer, xs::Vector{<:Array}) to append a vector of elements
Or append!(buffer::CircularArrayBuffer, xs::Array) to append a continuous array of elements?

Also did you consider adding this type to DataStructures.jl?

Yes, but it seems they don't want to add more new data structures until v1.0  https://github.com/JuliaCollections/DataStructures.jl/issues/479

Btw: I found it by luck when using autocompletion on "CircularA" when wanting to install CircularArrays (however, your package is what I actually required).

I learned something new 😄

Also did you consider adding this type to DataStructures.jl?

Yes, but it seems they don't want to add more new data structures until v1.0 JuliaCollections/DataStructures.jl#479

Oh, there seems to be a lot of discussion, I see.

Btw: I found it by luck when using autocompletion on "CircularA" when wanting to install CircularArrays (however, your package is what I actually required).

I learned something new smile

:smile:

Would it be possible (and feasible) to add an append! function behaving similar to that of CircularBuffer in DataStructures.jl?

Yes, of course. Could you be more specific about the signature of append!?
* Like `append!(buffer::CircularArrayBuffer, xs::Vector{<:Array})` to append a vector of elements

* Or `append!(buffer::CircularArrayBuffer, xs::Array)` to append a continuous array of elements?

For me personally the second case would be more fitting.


qemu: Fix security model typo

The right qemu parameter is "security_model", not "security-model".
Signed-off-by: Samuel Ortiz<EMAIL_ADDRESS>

Coverage decreased (-0.006%) to 66.899% when pulling 2c4030b3506ccffe409e4561770eeeccae00658e on sameo/topic/qemu into 01c2d7d9e3950b6523afa1469b27c45018020502 on master.


Styling Email Templates : issue no - #124

Updated email templates of following templates from issue #124-

emailVerification
acceptMentor
accountDeleted
adminOtp
forgotPassword
rejectMentor

Looks Good To Me! But...
Can you also style topMentor.hbs template ?
It can be found here

LGTM! 👍

@all-contributors please add @ancoreraj  for code

@all-contributors please add @ancoreraj  for code


[CI] Update e2e test result comment formatting with Skipped indicator

Desired Behavior

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation
Meshery documentation site and source
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack
🧪 Meshery Test Plan Spreadsheet

can i work on this issue

Sorry about the harshness, @102vansh 😅. Don’t let it get you down—there are plenty of other open issues waiting for you to tackle!

can i work on this issue


Song can appear multiple times in a playlist

Wut? They are the same. Clicking any of them always highlights one of them.

Could not reproduce. Either already fixed and I just don't remember, or I couldn't recreate the bug.

There are two ways to replicate this:
Either actually add them both, or scroll /really/ fast and node-music-player will glitch out.
I can replicate both.

Oh, seems like adding multiple songs to the same playlist was patched sometime.
However, if you scroll really fast, you can get something like this:

Ahaha race conditions!  I'll see if I can reproduce it today by Scrolling real fast, and if so I'll just need to have some kind of blocking code that only lets one update function run at a time.
Reopening this for now.

fixed in https://github.com/benkaiser/stretto/commit/3dd44fa4abb935aff13e67ecca2d140b5b13296c . turns out it was an off by one error in my dynamic scrolling logic


DPL-nnn Cardinal - Quanthub cell count

User story
As a user of the Cardinal pipeline, I want there to be a record of the cell count and other measurements of each sample in the LCA PBMC plate, and to have some help in deciding which wells to take forward and which to fail, based on quality measures.
Who are the primary contacts for this story
Stef L
Acceptance criteria

I can upload a new quant type in quanthub: Cardinal_PBMC_Count

I can upload an excel (CSV) file to quanthub. See example below. Well name will display the name of each sample as it was in the LIMS-generated Cellaca upload file (rather than A1, A2 etc). For most plates, multiple files will need to be uploaded as only 24 samples can be read at a time on the Cellaca. Quanthub will need to assemble these multiple uploads to be processed together as a single plate.

Figure 2. Cellaca output file to be uploaded to quanthub. Up to 4 files per 96 well plate will be generated.

If the % viability is below 50% the well needs to be flagged, to inform the user of lower than optimal viability.

If live cell count is less than 400,000 cells/ml the well needs to be flagged, to inform the user of lower than optimal cell count.

Investigate how these flags are normally created - assume Quanthub will both visually highlight them, and export the info to MLWH, and Limber will read this info and also visually highlight them.

I can fail certain wells of choice on the LCA PBMC plate. (should be covered by standard Limber functionality)

I can download the collated quality information so that it can be uploaded to an ELN - if this is not trivial, it's not necessary as they can upload the raw output from Cellaca into ELN.

Dependencies
This story is blocked by the following dependencies:

pipeline setup - https://github.com/sanger/limber/issues/772
Decide for sure what to put as the sample identifier in the generated input file - https://github.com/sanger/limber/issues/757 (probably sample name = tube barcode)
LCA PBMC plate created, in https://github.com/sanger/limber/issues/757

Q's:

The flags for <50% viability and <400k live cell count - do these need to be recorded (e..g MLWH) (probably default behaviour) or just shown on screen for immediate decisions to be made?
Failing wells - expecting this to be done in Limber, or Quanthub?
"Enable the collated quanthub document to be downloaded" - or exported to SS / Limber?

Q. Are the thresholds likely to change over time? Influences whether we need to have them accessible in a table or fixed in config. If changeable do we need change history recorded?

Q. Are the thresholds likely to change over time? Influences whether we need to have them accessible in a table or fixed in config. If changeable do we need change history recorded?

Good question. There are other similar thresholds in Quanthub, and I think that they are not changeable by the customer, but they are easy enough for us to change, and I also remember there being versions of quant types, so we could always make a new version with a new threshold if the old one is also still required.

I think I have some thresholds in the purposes (or pipeline) configs in Limber. Requires a re-deployment to change them but easy to find.


add margin 0

add lost controllers and views
save into db is working fine without any changes.

add lost controllers and views

The controller is not lost I just rename it to AdminController while it make sense
Please fetch the latest code, I don't know why your PR unable to merge, if you need help please ping me in Gitter
Thanks

Please fetch the lastes then create a branch from origin dev branch this way we are sure your branch is not behind

Please fetch the lastes then create a branch from origin dev branch this way we are sure your branch is not behind

I am confused because I have tried it several times without any success

Let me simplify the thing:
1- Fork this repo
2- Install any Git Client such as "Fork"
3- Clone the repo using the Git client
4- Add remote named upstream pointing to https://github.com/OrchardCoreContrib/OrchardCoreContrib.Modules.git, now you should have two remote origin and remote
5- Right click on the dev branch on the remote and create a new branch
6- Start your lovely code then commit and push

Fixed in https://github.com/OrchardCoreContrib/OrchardCoreContrib.Modules/commit/fac2faab0caface562d183a99393b48512090e71
Thanks a lot


Fix JAXB usage in plugin

https://wiki.jenkins.io/display/JENKINS/JAXB+usage+in+Jenkins+plugins

ERROR: Step 'Codesonar' failed: Implementation of JAXB-API has not been found on module path or classpath.

And they are using:

"C:\Program Files\AdoptOpenJDK\jdk-<IP_ADDRESS>-hotspot"

https://issues.jenkins-ci.org/browse/JENKINS-55572


[Feature Request]: Rival car audio

Describe the feature you'd like to see added
I'm gonna assume this isn't possible, but is there anything in the code that might let you hear other racers' audio? Even disregarding online, you don't hear rival racers either, so I'm guessing the player car is the only one programmed to produce sfx. I have a horn, and no one to honk at.

I'm guessing the player car is the only one programmed to produce sfx

Not 100% true: you hear the "passing" noise from other cars and trucks honk at you when you're playing their minigame in career mode. But yeah, if the code doesn't have that, you can't just activate something that does not exist.


Picovoice Platform Issue: Not receiving audio from connected bluetooth devices on iOS

Have you checked the docs and existing issues?

[X] I have read all of the relevant Picovoice Platform docs
[X] I have searched the existing issues for Picovoice Platform

SDK
Flutter
Picovoice package version
3.0.3
Framework version
3.22.2
Platform
iOS
OS/Browser version
17.4.1
Describe the bug
PicoVoice's Flutter package is not receiving audio from bluetooth microphones when run on iOS devices. This has been tested on several iPhones and an iPad.
Steps To Reproduce

Connect a bluetooth microphone to an iOS device
Open an app with PicoVoice on the device
Leave the room with the bluetooth microphone and close doors to block sound (but stay within bluetooth range)
Speak into the microphone
Picovoice does not recognize wake words or intents

Expected Behavior
PicoVoice should respond to audio from any connected audio source, including bluetooth microphones.

Hey @jacobmDAS, apologies for the delayed response. The latest picovoice_flutter package (3.0.4) should no longer have this issue. I'll close this issue, but feel free to re-open if the issue persists.


Tests should not have more than 2 parameters

To simplify tests, they should have at most 2 parameters. More than those 2 makes the tests difficult to read.

Should the limit better be 3 parameters instead of 2 ?


Allow omitting of the schema definition

Is your feature request related to a problem? Please describe.
ZeroQL cli expects a schema definition inside the schema file. According to the GraphQL spec the schema definition should be omitted when using the default type names for the operations:
https://spec.graphql.org/October2021/#sec-Root-Operation-Types.Default-Root-Operation-Type-Names
So you have to add the schema definition manually for the ZeroQL.Cli to accept the schema file.
Describe the solution you'd like
When no schema definition is given in the schema file try to use default operation types.

It works. Thanks!
A small remark to the zeroql.cli. You store a hash of the schema to prevent a rebuild if the schema didn't changed. But the rebuild may be necessary if the zeroql cli has been changed. You may want to include the cli version to the hash, so it would also detect CLI version changes.


fix(imagecard): make non-icon hotspots transparent

Summary

Make non-icon hotspots have transparent background and no border -- this supports a "heat map" use case by default.

Acceptance Test (how to verify the PR)

Check ImageCard and Dashboard (basic) stories for an example. (or look at the image above)

:tada: This PR is included in version 1.96.2 :tada:
The release is available on:

npm package (@release-1.x dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fliename added

Can you please add the other filenames? i don't know it for step 2, 4, 5, 6 and 7

Hello @CK1-CK
The README has been updated with the missing information.
For 1-1 assistance, please access the support page:
https://appseed.us/support/


Performance questions

On my current system this application appears to be the fastest JavaScript parser written in JavaScript.  I am having serious reservations accepting that conclusion.  When I published this application last summer it was twice as slow as Esprima, the fastest JavaScript parser written in JavaScript.
I wrote a performance utility to examine speed with some amount of precision:
https://github.com/Unibeautify/parse-framework/blob/master/services.ts#L507-L539
I am using this page as a frame of reference to compare the times in this application against the performance of other JavaScript parsers written in JavaScript: http://esprima.org/test/compare.html  Please be sure you are in Google Chrome when visiting that page so that the numbers are a more accurate reflection to anything generated in Node since Node and Chrome use the same JavaScript engine.
In order to run a proper comparison I download the same version of jQuery Mobile Esprima is testing against: http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.js
To run the performance follow these steps:
git clone git@github.com:Unibeautify/parse-framework.git
cd parse-framework
tsc
node js/services build
node js/services performance ..\jquery.mobile-1.4.2.min.js

What I know has changed from publication time to now:

When I published this utility I was on a latest model macbook pro.  Currently I am stuck on a windows box with really nice hardware.  Node generally runs slower on Windows, but I have a superior CPU and 64gb ram.
I just updated performance utility in this application realizing that there was an opportunity to increase transparency in the numbers.
The version number on Esprima has not changed in more than a year: https://github.com/jquery/esprima/commit/51f48deaa190686265f3f962d6dc5c30dd078dde
I have not modified the lexer libraries in this application (the files that do the actual parsing) since publication time.
I updated Chrome and Node to the latest versions as of today to ensure software version misalignment isn't a factor.

Chrome - Version 65.0.3325.146 (Official Build) (64-bit)
Node - v9.8.0

The only conclusion I can come to so far is that my little parse-framework application generates similar performance numbers on Windows and OSX while other parsers are several times slower in Windows Chrome.

When you run the tests in http://esprima.org/test/compare.html, did you uncheck  Run each parse in a separate Web Worker thread?

Thanks.  That produces the numbers I remember seeing.

Yea, if you wanted to compare apples to apples, use benchmark 1.0.0 like they are doing.  You could also use webpack to bundle everything together, it might give it a small speed boost.
But considering it parses a whole bunch of languages, 215 ms is pretty incredible.

Maybe, but I really think they are doing something more intelligent.  In that jQuery code sample 40% of the parsing time is spent just on comments and strings.  My thinking is that I am scanning each character in order, and Esprima is probably taking a smarter approach.
I will look at this more once I get Pretty Diff 3 online.  I am getting close.


Mention React usage in Readme

Description
I struggled a lot with the usage in a React Application.
The problem was that i don't want to put the @routes blade directive in the header of my application because everyone can see all routes directly if the source code is inspected.
Due to this i wanted to go with option two to generate the Ziggy file and use it as custom Ziggy in the route() function.
In the Readme i could only find the Vue solution to use a mixin for this purpose but nothing related to React.
Suggestion
I wrote a very small helper that did the trick for me.
Maybe this one can also be mentioned in the Readme to save some time i someone has the same issue.
I called the file ziggyroutes and imported it in my application in the view where i need it.
Additionally the helper methods are mentioned in the function like current(), check() and url().
import route from '../../assets/ziggyroute';

console.log(route('user.login'));

import route from 'ziggy';
import { Ziggy } from './ziggy';

export default function (name, params, absolute) {
    var self = {name: name, params: params, absolute: absolute};

    var routeshelper = {};

    routeshelper.current = (name) => {
        return route(undefined, undefined, undefined, Ziggy).current(name);
    }
    routeshelper.check = (name) => {
        return route(undefined, undefined, undefined, Ziggy).check(name);
    }
    routeshelper.url = () => {
        return route(self.name, undefined, undefined, Ziggy).url();
    }

    return route(name, params, absolute, Ziggy);
  }

If there are any improvements for the small helper please feel free to change it.

I don't understand exactly what the helper accomplishes here. Can you just do
import route from 'ziggy';
import { Ziggy } from './ziggy';

right were you actually need to use the route() function?

Yes i could do this also but then i need to mention every time the custom Ziggy as argument to the route function call.

@lodzen great point 😂 I'll think about how we can make this easier for React users, and in the meantime I'll update the Readme to link here. Thanks!

I took a quick stab at a Hook that does something quite similar to your helper: https://codesandbox.io/s/useroute-ziggy-hook-elivv?file=/src/App.js
I could see this being something that might be worth including in Ziggy out of the box.

This looks great and i would appreciate it if this would be part of Ziggy.

How do we use this hook without having to import the Ziggy file everytime?


Signing targets for mnm678

Signed-off-by: Marina Moore<EMAIL_ADDRESS>

Verifying timestamp...
Contains 0/3 valid signatures
Verifying root...
Contains 1/3 valid signatures
Verifying snapshot...
Contains 0/3 valid signatures
Verifying targets...
Contains 1/3 valid signatures
YAY!


CSQuery With Arabic Language

Hello Guys,
We noticed that when using CSQuery with arabic language the following behaviour:
1- When using Cq.Text () it returns the correct result with no issues.
2- When using Cq.Html() or Cq.Render it returns result like the following:
  #1606;#1592;#1605; #1589;#1606;#1583;#1608;#1602; #1605;#1603;#1575;#1601;#1581;#1577; #1608;#1593;#1604;#1575;#1580; href="javascript:doView(3409)">#1575;#1604;#1605;#1586;#1610;#1583;
Any Ideas ?
Thank you very much.
Hossam Arafa

Can you post an example text and calls for this?

Is https://github.com/jamietre/CsQuery/issues/110 reklated?

Exactly !! #110  is the same issue


Add ability to use custom error handler

Fixes #70

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

34 of 38 (89.47%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 93.959%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

oidcechojwt/echo_jwt.go
9
10
90.0%

oidcfiber/fiber.go
7
8
87.5%

oidcgin/gin.go
7
8
87.5%

oidchttp/http.go
7
8
87.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
731

Relevant Lines:
778

💛  - Coveralls


Echo combination

Purpose
Merge echo_combination branch from @jeremie-fouquet's fork.
Approach
Extend functionality to handle multi-echo inputs.
Open Questions and Pre-Merge TODOs

[ ] Run assertion test.

[ ] Add multi-echo option to the options panel.

Manual GUI tests (general)

[ ] Does the qMRLab GUI open?
[ ] Can you change models?
[ ] Can you load a data folder for a model?
[ ] Can you view data?
[ ] Can you zoom in the image?
[ ] Can you pan out of the image?
[ ] Can you view the histogram of the data?
[ ] Can you change the color map?
[ ] Can you fit dataset (Fit data)?
[ ] Can you save/load the results?
[ ] Can you open the options panel?
[ ] Can you change option parameters?
[ ] Can you save/load option paramters?
[ ] Can you select a voxel?
[ ] Can you fit the data of that voxel ("View data fit")?
[ ] Can you simulate and fit a voxel ("Single Voxel Curve")?
[ ] Can you run a Sensitivity Analysis?
[ ] Can you simulate a Multi Voxel Distribution?

@jeremie-fouquet I read your changes, honestly handling echo combination in this fashion (instead of creating a new module) seems reasonable to me.
I am just not sure about this check right now, ATM protocol panel can take one TE value only. I think a multi-echo checkbox in the options panel would create a better condition.
if nEcho > 1 && not(isempty(data.MagnGRE))
      freqEstimate = averageEchoesWithWeights(data.PhaseGRE, data.MagnGRE, TE);
  else

  freqEstimatePpm = freqEstimate / (B0 * gyro);

I see that the only purpose of physParams variable in the backgroundRemovalSharp function is scaling. As long as order in which you perform the scaling does not affect the output (I don't think that it should), I am comfortable with this change. We just need to run a little assertion test. We can use test data to do that.

I am just not sure about this check right now, ATM protocol panel can take one TE value only. I think a multi-echo checkbox in the options panel would create a better condition.

Ok yes. I think this is related with dimensionality management. Could it be that when the input data is 4D, this box is checked automatically? This might not be the best way to go however, because I see a few reasons why input phase and magnitude could have more than 3D: multi-echo, multi-coil, and multi acquisition data. Each of these cases requires a careful combination of phase data so that a valid output is produced for later QSM steps. Can we assume (or maybe warn the user) that the 4th dim, if it exists, is for multi-echo data?
Also, in this setup, could the user pass its own TE vector?


Windows store

i used this and didnt think it would uninstall the store app. Is there a way to get it back?

What else did you think a tool would do which only purpose is to uninstall what you select it to uninstall? Do not run scripts or use software on your PC if you do not not know what it does or actually intend to use it.
This is not a Windows10Debloater issue and Github is not the place to go when looking for general support. What you should do instead in such cases is either use Google and search for a fix or hire a IT technician to let him fix your issue.
Only if a script/a software hosted on Github has issues in itself you should post an issue in its repository!
The first result when asking google brings up the following solution for your issue:
https://answers.microsoft.com/en-us/windows/forum/windows_10-windows_store/download-and-install-ms-windows-store/e9d71c80-8399-49d5-9d92-a18add81a4dc
Good luck.

Press Windows key + X
Click Windows PowerShell (open as Admin)
At the command prompt, type the following then hit Enter:
Get-AppXPackage WindowsStore -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

I had this exact same issue and found that this was able to reinstall the Microsoft Store.
https://github.com/kkkgo/LTSC-Add-MicrosoftStore
Run the .cmd, you may get some errors, but after restarting your store will come back.  Then you can search for the microsoft store in the store, and update it that way.
Hope this helps anyone else!

Having the same issue. Re-added microsoft store using the above link, but now I cannot install any apps from it (e.g. Mail and Calendar, OneNote, etc). Anytime I try to it simply redirects me back to the page without actually downloading it.


App open ads

Proposal
When will this package support App Open advertisements?
I would expect that when this library was finally released, it would support the ads that the makes themself publish. But as for now, we have to rely on unofficial third parties packages such as flutter_admob_app_open

This is a duplicate of #171


Create npm-publish-github-packa: https-m-nohu90-com/docs.ges.yml

This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4 with: node-version: 20 - run: npm ci - run: npm test
publish-gpr:
needs: build runs-on: ubuntu-latest permissions: contents: read packages: write steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4 with: node-version: 20 registry-url: https://npm.pkg.github.com/ - run: npm ci - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

Why:
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[x] A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require a SME review from GitHub staff.
[x] The changes in this PR meet the docs fundamentals that are required for all content.
[x] All CI checks are passing.

https://github.com/github/docs/pull/35778#issuecomment-2563812431


ISSUE-595: StormMetadataResource endpoint returns 401 Unauthorized in…

… secured cluster setup
Change-Id: Ifab5788400e33080cd1e41b4b3101758efc155eb

Seems like we're putting similar efforts for both side, Metadata (its own handling) and other places (StormRestAPIClient).
May be better to use StormRestAPIClient also for StormMetadataResource, and put effort to StormRestAPIClient if it lacks some features.

@hmcl This seems to be covered as part of the other PR. I already merged that. Hence closing this. you can reopen if thats not the case.

@hmcl I cant close it. Can you close it?


🐛 BUG: missing .gitignore in C3 (npm create cloudflare) "hello world" project

Which Cloudflare product(s) does this pertain to?
C3 (npm create cloudflare)
What version(s) of the tool(s) are you using?
C3 v2.22.3 (pnpm create cloudflare@latest)
What version of Node are you using?
v20.11.1
What operating system and version are you using?
macOS Sonoma 14.5
Describe the Bug
Observed behavior
It appears that using C3 to create the "Hello World" project with git for version control no longer includes a .gitignore file.
This results in the node_modules directory being committed in the initial commit. 😮
I believe this is a recent regression. Earlier hello world projects e.g. created with<EMAIL_ADDRESS>did not have this problem.

The problem also does not appear with the "Website or web app" templates. (I tried Next and Hono)
Expected behavior
A similar .gitignore file as other template projects
Steps to reproduce

pnpm  create cloudflare@latest
select type "Hello World" Worker
select yes for "Do you want to use git for version control?"

Unless you have node_modules globally ignored, it will be committed to the repo.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Please feel free to close this issue - I can no longer reproduce it on the latest C3. (v2.23.0)
To repro this issue, please run pnpm create<EMAIL_ADDRESS>--no-auto-update
(or use npm)
tx.

thanks for the issue @jldec 🙂
Since as you said this doesn't seem a problem present in the latest C3 release I think it's quite safe for us to close the issue 🙂
But please feel free to reopen it or open a new one should the issue reappear 🙏


Adding packer to build Nephio pre-baked image

What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR contains Packer files to build the Nephio pre-baked image on GCP. It also contains terraform files to create required resources on GCP to authenticate Github actions to connect GCP.  It contains GitHub action to automate image building.
Which issue(s) this PR fixes:

Fixes #NONE
Special notes for your reviewer:
To run the GitHub Actions to build Nephio pre-baked images following secret and variable need to setup in test-infra repo:
Repository secrets:

WIF_PROVIDER
WIF_SERVICE_ACCOUNT
Repository variables:
GCP_PROJECT_ID

NOTE: Value for WIF_PROVIDER and WIF_SERVICE_ACCOUNT is created by Terraform script in PR
Does this PR introduce a user-facing change?:

NONE

/retest

@arajguruEST I started reviewing this change, but I think that this will need to run through PROW as periodic job instead of a GitHub action, you can check how the e2e free5gc job was implemented.

This will require the creation of a custom Docker image that contains packer tool, maybe using this one as base image

/lgtm

/lgtm

/retest-required

/approve


High memory usage on Windows

First of all, thanks for making this amazing crate! Having a modern GUI library is definitely a great step forward towards building desktop applications in Rust.
I've noticed though that the default renderer on Windows allocates very large amounts of memory (sometimes even causing the app to crash), specifically when clicking and dragging with the mouse:

Any ideas on this?

Do the wgpu-rs examples display the same issue for you? Are your (integrated) graphics drivers up-to-date? Does it happen only when selecting text?
gfx-memory recently fixed some issues. You could try running cargo update.
In any case, I don't believe we have code that could cause the renderer to leak or allocate memory like that.

Yeah, I am running the latest graphics drivers and have the newest library versions too.
I did some quick profiling of the app in Visual Studio (while selecting text, just as in the GIF above) and found that it spends most of its time in the event loop, drawing:

Maybe the app enqueues too many events and thereby overloads the queue since the loop cannot keep up?

Maybe the app enqueues too many events and thereby overloads the queue since the loop cannot keep up?

I think this is unlikely. The queue is drained before drawing every time and we are not seeing increased latency. Does the memory usage decrease once you stop moving the mouse?
It would help me if you could answer my other questions:

Do the wgpu-rs examples display the same issue for you?
Does it happen only when selecting text?

And additionally:

What is your GPU? Does it support Vulkan?

None of the examples (neither here, nor in wgpu) produced the issue, so I tried upgrading from iced 0.1.x (the most recent release) to the latest master of iced and that solved the problem. Maybe it was indeed one of the recent gfx-extras fixes.
Thank you!

I am having the same problem with the TODO example. I am on Windows 10 Pro build 1909. My GPU is Asus Strix GTX 970.

@fwcd Can you please reopen the issue since I am experiencing the same problem using the latest Iced version 😟

@sum-elier

Do the wgpu-rs examples display the same issue for you?
Does it happen only when selecting text?

@sum-elier I'm sorry, I don't see the issue in your demo. This memory usage looks pretty normal to me.

@fwcd I am sorry, you are right. I was looking at the cpu usage though. I guess that is normal then?

@sum-elier
* Do the wgpu-rs examples display the same issue for you?

* Does it happen only when selecting text?

As @fwcd pointed out, my memory usage is alright. I was confused and was looking at the cpu usage. Tried the demos from wgpu-rs (cube and hello-triangle) and they seem to consume around 31% of cpu so I guess what I saw here is normal

@sum-elier Are you running in release mode?
We currently redraw at every loop iteration, even if not necessary (see #241). CPU usage should decrease once we tackle that.

@hecrj Yes, run --package todos --bin todos --release


Unable to use 'az interactive' in logged-in and otherwise working Azure Cloud Shell (bash)

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az interactive
Errors:
cannot import name 'ENV_ADDITIONAL_USER_AGENT'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 233, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 664, in execute
    raise ex
cli/core/commands/__init__.py, ln 727, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 720, in _run_job
    six.reraise(*sys.exc_info())
...
cli/command_modules/interactive/custom.py, ln 41, in start_shell
    azext_interactive.start_shell(cmd, style=style)
cliextensions/interactive/azext_interactive/__init__.py, ln 10, in start_shell
    from .azclishell.app import AzInteractiveShell
interactive/azext_interactive/azclishell/app.py, ln 31, in <module>
    from azure.cli.core.commands.client_factory import ENV_ADDITIONAL_USER_AGENT
ImportError: cannot import name 'ENV_ADDITIONAL_USER_AGENT'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az interactive

Expected Behavior
Environment Summary
Linux-4.15.0-1106-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.19.0 *

Extensions:
interactive 0.4.3
ai-examples 0.2.5

Additional Context

interactive

Duplicate of #12837


Download marked as "Virus detected"

When downloading the release I receive "Virus detected" message from Chrome in windows.

Have you tried installing the version published in the Microsoft store?

I have been unable to install Store Apps, some issue with MS Store not installing on my machine. Will disable virus scanner and use the zip.

I will update the version in the Store.

Store version updated


Please add FirstDirect

FirstDirect (a UK bank) supports 2 factor auth...
You use the mobile app to generate a code for the website

@piersjones would you like to submit a pull request adding it?

Yes please! Apologies if I should have done that, the process is a little unclear

@piersjones look at the wiki for help when adding a new site to the list.
There are 2 guides. One for sites already supporting TFA and one for sites who don't.

Is it different from HSBC's digital secure key?
I see First Direct is an affiliate of the HSBC group.

I think they're the same process (very similar apps, too) but FirstDirect
is marketed as an separate organisation so it's certainly worth calling out
that they share a common solution.
On 14 September 2015 at 22:36, Carlgo11<EMAIL_ADDRESS>wrote:

Is it different from HSBC's digital secure key
https://www.hsbc.co.uk/1/2/ways-to-bank/internet-banking?
I see First Direct is an affiliate of the HSBC group.
—
Reply to this email directly or view it on GitHub
https://github.com/jdavis/twofactorauth/issues/1305#issuecomment-140212454
.

Also worth noting that HSBC offers both app-based 2FA and a physical
SecureKey device, whereas FirstDirect only offers app-based auth.
On 16 September 2015 at 09:29, Piers Jones<EMAIL_ADDRESS>wrote:

I think they're the same process (very similar apps, too) but FirstDirect
is marketed as an separate organisation so it's certainly worth calling out
that they share a common solution.
On 14 September 2015 at 22:36, Carlgo11<EMAIL_ADDRESS>wrote:

Is it different from HSBC's digital secure key
https://www.hsbc.co.uk/1/2/ways-to-bank/internet-banking?
I see First Direct is an affiliate of the HSBC group.
—
Reply to this email directly or view it on GitHub
https://github.com/jdavis/twofactorauth/issues/1305#issuecomment-140212454
.

Also worth noting that HSBC offers both app-based 2FA and a physical SecureKey device, whereas FirstDirect only offers app-based auth.

FirstDirect offers both (I have an account).

Then that's settled. FirstDirect won't be added since HSBC already is.
Thanks for the info @edmorley :smiley:

@Carlgo11 I disagree. They are different banks. Just because you have HSBC account, doesn't mean you have FirstDirect account.

@mxxcon Very true - when you're shopping for a bank account it's not immediately obvious that they are affiliated! I think even if it doesn't have its own entry, it should be noted next to HSBC.

Hi,
I notice that First Direct still isn't on the list anywhere, either on its own or in the HSBC entry.  I'm requesting that someone add a pull request for this (and I'm afraid it won't be me; please see my first post here).


Cache colour float for ShapeRenderer

Adds color (float) to ImmediateModeRenderer inteface and implements
Optimizes ShapeRenderer methods with cached colour float.

If the user modifies the color via getColor(), the cached value won't have been updated. We either need to make it clear they'd have to then call setColor(), or get the float bits at the method calls which would still be an improvement over calculating for every vertex in the ImmediateModeRenderer.

Looks good to me, ship it.


Error: Unresolved Externals

I downloaded and pasted in both imgui_animated.cpp and imgui_animated.h and included them in my ImGui project. I then tried to do a test run just to mess around with my newly acquired functions, but I'm getting an error.

Does anyone know how to fix this?

its alr defined at imgui.h
Change Toggle to ToggleAnim its all

@kocasa Are you sure that you included imgui_animated.cpp?
@iProB1 Can you link me where it is defined in imgui? Can't find it

its alr defined at imgui.h
Change Toggle to ToggleAnim its all

No updates for few months, closing now


Update API to V6

The V5 of the vbb transport rest API is marked as deprecated and currently not responding.

I have my own port of this for Elixir, it was broken today, so I went here to check if someone else has similar problems. As I see, I'm not alone :) How I fixed it:

they changed IDs of some stops, so you probably have to reconfigure them
for API endpoint https://v6.vbb.transport.rest/stops/#{id}/departures they now wrap the list of departures with a map with key departures.

For me, these changes fixed a problem.

Thank you that did indeed fix the problem


Why do I call nes.buttonDown(1, jsnes. Controller. Button_SELECR) in button events does not work?

Using the touchstart event to call other operation events does not work

I'm sorry, it's my code problem. ButtonDown and buttonUp are not used at the same time. This problem has been solved


Clicking a markup link within a layer-shell window results in crash with wayland protocol error

Clicking a markup link withing a layer-shell window results in the following error and crash:
[3340928.178]  -> zxdg_exporter_v2@20.export_toplevel(new id zxdg_exported_v2@51, wl_surface@39)
[3340928.237] wl_display@1.error(zxdg_exporter_v2@20, 0, "surface must be an xdg_toplevel")
Gdk-Message: 00:14:48.507: Error 71 (Protocol error) dispatching to Wayland display.

The same application works fine without layer-shell, and correctly pops the clicked link via xdg-open.
Minimal example without layer-shell (WAYLAND_DEBUG log):
https://gist.github.com/pdf/73c0bfc6034adb3bc3ae862208888574#file-gtkanchor-c
#include <gtk/gtk.h>

static void
activate (GtkApplication *app,
          gpointer        user_data)
{
  GtkWidget *window;
  GtkWidget *label;

  window = gtk_application_window_new (app);
  gtk_window_set_title (GTK_WINDOW (window), "Hello");
  gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);

  label = gtk_label_new (NULL);
  gtk_label_set_markup(GTK_LABEL (label), "gtk4-layer-shell");
  gtk_window_set_child (GTK_WINDOW (window), label);

  gtk_window_present (GTK_WINDOW (window));
}

int
main (int    argc,
      char **argv)
{
  GtkApplication *app;
  int status;

  app = gtk_application_new ("org.gtk.example", G_APPLICATION_DEFAULT_FLAGS);
  g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
  status = g_application_run (G_APPLICATION (app), argc, argv);
  g_object_unref (app);

  return status;
}

Minimal example with layer-shell (WAYLAND_DEBUG log):
https://gist.github.com/pdf/73c0bfc6034adb3bc3ae862208888574#file-gtkanchorshell-c
#include <gtk/gtk.h>
#include <gtk4-layer-shell/gtk4-layer-shell.h>

static void
activate (GtkApplication *app,
          gpointer        user_data)
{
  GtkWidget *window;
  GtkWidget *label;

  window = gtk_application_window_new (app);
  gtk_window_set_title (GTK_WINDOW (window), "Hello");
  gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);

  label = gtk_label_new (NULL);
  gtk_label_set_markup(GTK_LABEL (label), "gtk4-layer-shell");
  gtk_window_set_child (GTK_WINDOW (window), label);

  gtk_layer_init_for_window(GTK_WINDOW (window));

  gtk_window_present (GTK_WINDOW (window));
}

int
main (int    argc,
      char **argv)
{
  GtkApplication *app;
  int status;

  app = gtk_application_new ("org.gtk.example", G_APPLICATION_DEFAULT_FLAGS);
  g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
  status = g_application_run (G_APPLICATION (app), argc, argv);
  g_object_unref (app);

  return status;
}

I'm not entirely certain where the fault lies - it's certainly possible that this is a GTK/GDK or compositor problem that is just exercised by gtk4-layer-shell.

Can not reproduce, the 2nd example works with no crash when I click the link.
Tested on up to date Arch, both Sway and Hyprland. It's been a while (sorry), so maybe the issue got fixed somewhere else in the stack?

Yep, looks like it's been fixed somewhere in the interrim, thanks for taking a look.


Add transferwise variant of target-redshift

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2426
Originally created by @DouweM on 2020-11-05 23:14:24

https://github.com/transferwise/pipelinewise-target-redshift
https://transferwise.github.io/pipelinewise/connectors/targets/redshift.html

View 6 previous comments from the original issue on GitLab


issue with flashing Universal update utility for iMX8MQ

When I tried to flashing the Yocto build Image on the board using UUU tool of the-14-78.
But bootloader is fine, But when I tried to write rootfs.sdcard it giving error log message,
Please clarify the same, I saw some threads, still don't have support for  L4.14.78 release?
Is sorted out ??? or still in beta version.
sudo ./uuu/uuu -b emmc_all imx-boot-imx8mq-sd.bin-flash_evk core-image-minimal-imx8mq-20190325111905.rootfs.sdcard
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.91-5-g8019217
Success 0 Failure 1
3:3 1/ 8 [Bulk(R):LIBUSB_ERROR_TIMEOUT ] FB: ucmd setenv fastboot_dev mmc

Any output from uart.
recently, we found there are problem at some PC host USB3.0 port.
Try apply below uboot patch to disable U1 and U2.
Or try to connect to USB2.0 port
commit ae0cdc741f7313398539f7b576ced73871f6cd71
Author: Li Jun<EMAIL_ADDRESS>Date:   Wed Mar 6 16:15:01 2019 +0800

    MLK-21055 usb: dwc3: gadget: disable U1 and U2

    Currenlty U1 and U2 low power modes are allowed in device mode.
    Allowing U1 and U2 low power modes during data transfers in
    device mode is causing U1 exit failure on some USB3 host: which
    will transite to SS.inactive instead of U0, then host will send
    warm reset and ultimately result in reenumeration. This is observed
    on UUU tool with some PC host. Hence disable U1 and U2 low power
    modes for now.

    USB3 spec <IP_ADDRESS>.2 Exit from Recovery.Configuration
    The port shall transition to eSS.Inactive when the following
    conditions are met:
    1. Either the Ux_EXIT_TIMER or the 6-ms timer
       (tRecoveryConfigurationTimeout) times out.
    2. For a downstream port, the transition to Recovery is not to
       attempt a Hot Reset.

    Signed-off-by: Li Jun<EMAIL_ADDRESS>
diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c
index e61d980..84548b8 100644
--- a/drivers/usb/dwc3/ep0.c
+++ b/drivers/usb/dwc3/ep0.c
@@ -391,7 +391,6 @@ static int dwc3_ep0_handle_feature(struct dwc3 *dwc,
        u32                     recip;
        u32                     wValue;
        u32                     wIndex;
-       u32                     reg;
        int                     ret;
        enum usb_device_state   state;

@@ -415,27 +414,12 @@ static int dwc3_ep0_handle_feature(struct dwc3 *dwc,
                                return -EINVAL;
                        if (dwc->speed != DWC3_DSTS_SUPERSPEED)
                                return -EINVAL;
-
-                       reg = dwc3_readl(dwc->regs, DWC3_DCTL);
-                       if (set)
-                               reg |= DWC3_DCTL_INITU1ENA;
-                       else
-                               reg &= ~DWC3_DCTL_INITU1ENA;
-                       dwc3_writel(dwc->regs, DWC3_DCTL, reg);
                        break;
-
                case USB_DEVICE_U2_ENABLE:
                        if (state != USB_STATE_CONFIGURED)
                                return -EINVAL;
                        if (dwc->speed != DWC3_DSTS_SUPERSPEED)
                                return -EINVAL;
-
-                       reg = dwc3_readl(dwc->regs, DWC3_DCTL);
-                       if (set)
-                               reg |= DWC3_DCTL_INITU2ENA;
-                       else
-                               reg &= ~DWC3_DCTL_INITU2ENA;
-                       dwc3_writel(dwc->regs, DWC3_DCTL, reg);
                        break;

                case USB_DEVICE_LTM_ENABLE:
@@ -539,7 +523,6 @@ static int dwc3_ep0_set_config(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl)
        enum usb_device_state state = dwc->gadget.state;
        u32 cfg;
        int ret;
-       u32 reg;

        dwc->start_config_issued = false;
        cfg = le16_to_cpu(ctrl->wValue);
@@ -563,14 +546,6 @@ static int dwc3_ep0_set_config(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl)
                                usb_gadget_set_state(&dwc->gadget,
                                                USB_STATE_CONFIGURED);

-                       /*
-                        * Enable transition to U1/U2 state when
-                        * nothing is pending from application.
-                        */
-                       reg = dwc3_readl(dwc->regs, DWC3_DCTL);
-                       reg |= (DWC3_DCTL_ACCEPTU1ENA | DWC3_DCTL_ACCEPTU2ENA);
-                       dwc3_writel(dwc->regs, DWC3_DCTL, reg);
-
                        dwc->resize_fifos = true;
                        dev_dbg(dwc->dev, "resize FIFOs flag SET");
                }
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 2727126..28c40d2 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -2563,6 +2563,7 @@ static irqreturn_t dwc3_interrupt(int irq, void *_dwc)
 int dwc3_gadget_init(struct dwc3 *dwc)
 {
        int                                     ret;
+       u32 reg;

        dwc->ctrl_req = dma_alloc_coherent(sizeof(*dwc->ctrl_req),
                                        (unsigned long *)&dwc->ctrl_req_addr);
@@ -2621,6 +2622,10 @@ int dwc3_gadget_init(struct dwc3 *dwc)
                goto err4;
        }

+       reg = dwc3_readl(dwc->regs, DWC3_DCTL);
+       reg &= ~(DWC3_DCTL_INITU1ENA | DWC3_DCTL_INITU2ENA);
+       dwc3_writel(dwc->regs, DWC3_DCTL, reg);
+
        return 0;

 err4:

Okay , Thanks for the patch.
let me try to apply patch in the uboot source and update you!
And for the answer : Yes I can see the output log of Bootloader, it successfully flashed when it's trying to load the full yocto image of rrotfs.sdcard it gives an error in the libusb error timout

Still same error , Any suggestion ??

Can you give me UART log?

Console log:
root@Mathan-SECO:/home/seco/Music# picocom -b 115200 -r -l /dev/ttyUSB0
picocom v1.7
port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : yes
nolock is      : yes
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        :
omap is        :
emap is        : crcrlf,delbs,
Terminal ready
U-Boot SPL 2018.03+fslc (Mar 27 2019 - 04:49:52 +0000)
SPL PMIC:  PFUZE100 ID=0x10
C12 Micro fw: 0xf01
C12 RAM 1GB
DDRINFO: start lpddr4 ddr init
DRAM PHY training for 3200MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 667MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 3200MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 1083276 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image
U-Boot 2018.03+fslc (Mar 27 2019 - 04:49:52 +0000)
CPU:   Freescale i.MX8MQLite rev2.0 1500 MHz (running at 1000 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 50C
Reset cause: POR
Model: SECO i.MX8MQ C12
DRAM:  992 MiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
Failed (-5)
No panel detected: default to HDMI
dcss is diabled on i.MX8MQL
LCD HDMI cannot be configured: -1
In:    serial
Out:   serial
Err:   serial
BuildInfo:

ATF d6451cc
U-Boot 2018.03+fslc

Detect USB boot. Will enter fastboot mode!
Net:
Error: ethernet@30be0000 address not set.
No ethernet found.
Fastboot: Normal
Boot from USB for uuu
Hit any key to stop autoboot:  0
request 000000007c934a80 was not queued to ep1in-bulk
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
================it stops here====================
Host system:
root@Mathan-SECO:/home/seco/mfgtools# sudo ./uuu/uuu -b emmc_all flash.bin core-image-minimal-seco-imx8mq-c12-20190327044741.rootfs.sdcard
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.91-5-g8019217
Success 0    Failure 1
3:7    1/ 8   [Bulk(R):LIBUSB_ERROR_TIMEOUT          ] FB: ucmd setenv fastboot_dev mmc

look like uboot have not detect USB connection.
Can you try "ctrl-c" in uboot control
then remove usb cable
then run "fastboot 0"
plug usb cable again.
host run
sudo ./uuu/uuu -b emmc_all flash.bin core-image-minimal-seco-imx8mq-c12-20190327044741.rootfs.sdcard

Bulk(R):LIBUSB_ERROR_TIMEOUT ===> error released ..
FB: ucmd setenv fastboot_dev mmc ---> After run the fastboot 0 command into the uboot ,
FB: ucmd setenv mmcdev ${emmc_dev} --> current error

which board do you use?

iMX8M with SECO's one

Do you use virtual machine?

No, I am using 64 bit Ubuntu 18.04 Distro

I feel that mmc is not getting started when i load the bootloader from UUU ,
In uboot log I can see, Loading Environment from MMC... MMC: no card present
*** Warning - No block device, using default environment
Then I set the mmc enviornment device to 0 eg: #define CONFIG_SYS_MMC_ENV_DEV		0
Log goes, But no success in eMMC load.
Can you please suggest what could be the error?

look like uboot's usb driver can't get data from host.

look like uboot usb driver have received any data sent by uuu.

okay, So problem with Uboot USB driver if I m correct ?
On Wed, Apr 3, 2019 at 1:50 AM li-ruiqi<EMAIL_ADDRESS>wrote:

look like uboot's usb driver can't get data from host.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NXPmicro/mfgtools/issues/91#issuecomment-479182990,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj1PwcTx9KIQ2OWL3iKGDi2_VpSBj1Doks5vc7uKgaJpZM4cKp00
.

Yes,


Handle HttpResponses returned by the pipeline

Not sure if there's an alternative for this so i thought I'd ask and show you how I'd do this is the same time.
One of the most important use cases on the pipeline it to return HttpResponses in case or errors or facing missing data like if your facebook uses a phone number with no email address.
If you read this part in the documentation, you'll find that django-social-auth was built with that in mind
http://psa.matiasaguirre.net/docs/developer_intro.html#understanding-the-pipeline
Anyway, this case wasn't handled in the BaseSocialAuthView so I thought I'd change that. :)

Coverage decreased (-0.4%) to 94.175% when pulling 2078fa3d47087ac9f7f623146661998c3389d6cc on zee93:master into 7ae6986a8416701b66da7d730ce9c20cb7955375 on st4lk:master.

Coverage increased (+0.08%) to 94.66% when pulling c0faddda955c48661ac0c3f865a78b75568664b2 on zee93:master into 7ae6986a8416701b66da7d730ce9c20cb7955375 on st4lk:master.

Thanks Ahmed!

Now in pypi v0.5.0


Update canbed_dual.h

Minor cleanup and comments

This PR should be merged with #3 ; makes no sense to have this (useful) improvement in 2 different PRs (it makes a git revision which does not compile, which is bad).

Sorry, my mistake (did the edits in the github editor and then didn't
figure out how to merge 'em).
On Thu, Sep 15, 2022 at 5:27 PM David Douard @.***>
wrote:

This PR should be merged with #3
https://github.com/Longan-Labs/CANBedDual_Arduino_Lib/pull/3 ; makes no
sense to have this (useful) improvement in 2 different PRs (it makes a git
revision which does not compile, which is bad).
—
Reply to this email directly, view it on GitHub
https://github.com/Longan-Labs/CANBedDual_Arduino_Lib/pull/2#issuecomment-1248649862,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAT6ESAJ7MLNQLC2NMFSOBLV6OIF3ANCNFSM6AAAAAAQHGYWGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry, my mistake (did the edits in the github editor and then didn't figure out how to merge 'em).

Yeah I imagined something like that :-)
Not sure how to combine 2 PRs in github (I do not use github to manipulate PRs and git commits). But I think it's possible to update your PR #3 to include the changes in the .h file then abandon this PR.


Include an alignment between GOLD Biosample IDs and NCBI Biosample IDs

Possibly available from https://gold.jgi.doe.gov/downloads, specifically the Public Studies/Biosamples/SPs/APs/Organisms Excel link, which downloads goldData.xlsx
The Sequencing Project tab within goldData.xlsx looks most promising
But it might be beneficial to try other approaches, too.

import json
import csv

# Load JSON data
with open('all-gold-studies.json', 'r') as f:
    data = json.load(f)

print("LOADED")

# Open TSV file for writing
with open('output.tsv', 'w', newline='') as tsvfile:
    # Define TSV writer with tab as the delimiter
    writer = csv.writer(tsvfile, delimiter='\t')

    # Write header row with reordered columns
    writer.writerow(['studyGoldId', 'biosampleGoldId', 'projectGoldId', 'ncbiBioSampleAccession', 'ncbiBioProjectAccession', 'sraExperimentIds'])

    # Iterate over studies
    for study in data:
        study_gold_id = study.get('studyGoldId', '')

        # Iterate over biosamples
        biosamples = study.get('biosamples', [])
        for biosample in biosamples:
            biosample_gold_id = biosample.get('biosampleGoldId', '')

            # Iterate over projects
            projects = biosample.get('projects', [])
            for project in projects:
                project_gold_id = project.get('projectGoldId', '')
                print(f"{study_gold_id}: {biosample_gold_id} {project_gold_id}")
                ncbi_bio_project_accession = project.get('ncbiBioProjectAccession', '')
                ncbi_bio_sample_accession = project.get('ncbiBioSampleAccession', '')

                # Extract sraExperimentIds and pipe-delimit them
                sra_experiment_ids = '|'.join(project.get('sraExperimentIds', []))

                # Write row to TSV with reordered columns and sraExperimentIds
                writer.writerow([study_gold_id, biosample_gold_id, project_gold_id, ncbi_bio_sample_accession, ncbi_bio_project_accession, sra_experiment_ids])

print("TSV file generated successfully.")

~ 187,719 mappings to ncbiBioSampleAccession

columns from the Sequencing Project tab within goldData.xlsx
PROJECT GOLD ID	PROJECT NAME	SEQUENCING STRATEGY	ITS PROPOSAL ID	ITS SEQUENCING PROJECT ID	ITS SAMPLE ID	PMO PROJECT ID	NCBI BIOPROJECT ACCESSION	NCBI BIOSAMPLE ACCESSION	SRA EXPERIMENT IDS	PROJECT GENOME PUBLICATION PUBMED ID	PROJECT OTHER PUBLICATION PUBMED ID	PROJECT STATUS	SEQUENCING STATUS	SEQUENCING CENTERS	PROJECT FUNDING	PROJECT LEGACY GOLD ID	STUDY GOLD ID	ORGANISM GOLD ID	BIOSAMPLE GOLD ID	PROJECT CONTACTS	"PROJECT JGI DATA UTILIZATION STATUS

import pandas as pd

# Read the Excel file
xlsx_file = "goldData.xlsx"
sheet_name = "Sequencing Project"
df = pd.read_excel(xlsx_file, sheet_name=sheet_name)

# Filter rows with non-blank values in both columns
df_filtered = df.dropna(subset=["NCBI BIOSAMPLE ACCESSION", "BIOSAMPLE GOLD ID"])

# Select only the desired columns
df_filtered = df_filtered[["NCBI BIOSAMPLE ACCESSION", "BIOSAMPLE GOLD ID"]]

# Remove duplicate rows
df_filtered = df_filtered.drop_duplicates()

# Define the output TSV file path
output_tsv_file = "sequencing_project_filtered.tsv"

# Save the DataFrame as TSV
df_filtered.to_csv(output_tsv_file, sep='\t', index=False)

print(f"The filtered data has been saved as '{output_tsv_file}'.")

We can get 185,570 mappings from goldData.xlsx

select
	COUNT(*) as distinct_count
from
	(
	select
		distinct
        "ncbi_biosample_accession",
		"biosample_gold_id"
	from
		gold_sequencing_project
	where
		"ncbi_biosample_accession" is not null
		and "biosample_gold_id" is not null
) as distinct_rows;

185,569

select
	"project_gold_id",
	COUNT(*) as num_duplicates
from
	gold_sequencing_project
group by
	"project_gold_id"
having
	COUNT(*) > 1;

Empty result

Do we want to load the GOLD Biosample's metadata into Postgres? That probably would have to come from the API.


Adding a PR Template

Coverage increased (+0.01%) to 67.573% when pulling 8f2aac0f4ee5f2692a186bb796ddcb6c3b367740 on r39132:master into 0b78001f8419a2197fcf0cf8293d5b419e6e701e on airbnb:master.


Implemente a module for language switcher

Closing as will be handled in https://github.com/hotwax/dxp-components/issues/141


Axis labels

Hello, thank you for creating the hiveplot package. Would it be possible to add labels to each axis according to the node group? Thanks!

I'm happy to accept a PR for this. The project is done entirely in my spare time, so please temper expectations on new features. :smile:.

Ok, will do!


foreach break

foreach()
	target_link_libraries(ss PUBLIC
		${Qt5Gui_LIBRARIES}
		PkgConfig::libevent_core)
	# Not Format Me
	target_include_directories(ss PUBLIC
		${Qt5Gui_INCLUDE_DIRS}
	)
endforeach()

this is error now

when a ${} in for foreach, it error

sorry, my fault

wut 😄

wut 😄

Emm.. I miss use the foreach, it need a argument. Sorry so much

no worries


Adds support for order_by and order search parameters.

Adds support for order_by and order search parameters

JIRA Ticket: Resolves: https://jira.lyrasis.org/browse/FCREPO-3343

Other Relevant Links (Mailing list discussion, related pull requests, etc.)

What does this Pull Request do?
You can now add order_by= and order=<asc|desc> to your search querystring.
How should this be tested?
# create two binary resources resources
curl -u fedoraAdmin:fedoraAdmin http://localhost:8080/rest -H "Slug:b-text" -H "Link: <http://www.w3.org/ns/ldp#NonRDFSource>; rel=type" -v -H "Content-Type: text/plain"  -X POST --data "test" -i
curl -u fedoraAdmin:fedoraAdmin http://localhost:8080/rest -H "Slug:a-video" -H "Link: <http://www.w3.org/ns/ldp#NonRDFSource>; rel=type" -v -H "Content-Type: video/mpeg4"  -X POST --data "test" -i

# return default ordering (fedora_id asc)
curl -u fedoraAdmin:fedoraAdmin http://localhost:8080/rest/fcr:search | jq
# verify the result is order by fedora id asc.

# reverse the order
curl -u fedoraAdmin:fedoraAdmin "http://localhost:8080/rest/fcr:search?order=desc" | jq

# order by mime_type desc
curl -u fedoraAdmin:fedoraAdmin "http://localhost:8080/rest/fcr:searc?order_by=mime_type&order=desc" | jq

Interested parties
Tag (@ mention) interested parties or, if unsure, @fcrepo4/committers

Functionality works as advertised.


[email] Run backfill script to populate legacy shops config with the email merchant used to signup

Per discussion in Discord and related to #392

@nick do we still need to do this or can we close it?

It might be worth checking, but not high priority at all

Sounds good. Lowering this to a P2.


Decoding a zip file returns the Error "corrupt deflate stream"

I have a zip file which can be decoded with the macos archive utiliity and with windows 7zip, but can't be decoded with flate2. According to 7zip the file is a compressed using Deflate fast.
I'm using version 1.0.28 of the library and have tried the Deflate, Gz, and Zlib decoders.
Are there some zip formats that this library can't decode?
Is it possible that the programs that can decode the file silently ignore some errors and just push through and manage to decode the file properly?

thanks @jongiddy I had no idea they were different. the naming of deflate being part of zip confused me


"hasRestriction" property is missing a label in the docs

On the website it appears like this:

The label must be missing or is not included in the ontology files for the doc generator.

The property in question is rb:hasRestriction.

This property was removed and is not used anymore. I've removed it from the documentation ontology where I've found some old mention of it.


Increase max-width for league page

Increase max-width for league page to 1920 from 1366.

Attaching screenshot, after updating H1 font-size and setting up sub-headers and alignment.

Attaching screenshot, after updating H1 font-size and setting up sub-headers and alignment.

It looks good. Only feedback is from design.
I also tested the team view: localhost:300/league/academica and it looks good.

It looks good. Only feedback is from design.
I also tested the team view: localhost:300/league/academica and it looks good.


[BUG]  access credentials is empty

Describe the bug

To Reproduce
Steps to reproduce the behavior:

create a vm  （need Install quem-guest-agent）
When the vm is successfully created, edit the vm, click access Credentials tab
click add basic Auth,   add user,  Enter an invalid user  (e.g:  user:  text:,  password: password1234)
click save

click cancel
edit vm again
save vm

Expected behavior

vm can edit successfully
Support bundle

Environment:

Harvester ISO version:
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

Verified this bug has been fixed.

Test Information

Environment: qemu/KVM 3 nodes
Harvester Version: master-fd872c99-head
ui-source Option: Auto

Verify Steps:

follow steps to reproduce in https://github.com/harvester/harvester/issues/1967#issue-1160550362


Inclusion suggestion

I had to do a lot of work to get my cloudflare worker to run, but once I did, it was pretty sweet.
I have some code suggestions to include. I found an example of how to get google OAUTH working and I worked up the code to make it function for pushing files to google storage via the JSON protocol.
The following code is used
`async function handleRequest(request) {
try{
// Function to encode an object with base64
function objectToBase64url(object) {
return arrayBufferToBase64Url(
new TextEncoder().encode(JSON.stringify(object)),
)
};
// Function to encode array buffer with base64
function arrayBufferToBase64Url(buffer) {
return btoa(String.fromCharCode(...new Uint8Array(buffer)))
.replace(/=/g, '')
.replace(/+/g, '-')
.replace(///g, '_')
};
// Function to convert string to array buffer
function str2ab(str) {
const buf = new ArrayBuffer(str.length);
const bufView = new Uint8Array(buf);
for (let i = 0, strLen = str.length; i < strLen; i++) {
bufView[i] = str.charCodeAt(i);
}
return buf;
};
//
// Step 1 - Form the JWT header and encode to base64
const GOOGLE_JWT_HEADER = objectToBase64url({
// RSA SHA-256 algorithm is mandatory for Google
alg: 'RS256',
// JWT token format is mandatory for Google
typ: 'JWT'
});
//
// Step 2 - Form the JWT claim set and encode to base64
// Define the time the assertion was issued
let assertiontime = Math.round(Date.now() / 1000)
// Define the expiration time of the assertion, maximum 1 hour
let expirytime = assertiontime + 3600
// JWT claim payload
const GOOGLE_JWT_CLAIMSET = objectToBase64url({
// Service account email address from https://console.cloud.google.com
// This should be defined as a secret rather than hardcoded!!
'iss'<EMAIL_ADDRESS>// A listing of available scopes is provided here:
// https://developers.google.com/identity/protocols/oauth2/scopes
'scope': 'https://www.googleapis.com/auth/devstorage.read_write',
'aud': 'https://oauth2.googleapis.com/token',
'exp': expirytime,
'iat': assertiontime
});
// Combine the JWT header + claim and convert to byte array for signing
const GOOGLE_JWT_COMBINED = str2ab(
"{" +
GOOGLE_JWT_HEADER +
"}.{" +
GOOGLE_JWT_CLAIMSET +
"}"
);
const private_key_raw = '-----BEGIN PRIVATE KEY-----\nput the private key from your .json from google from the service account here\n-----END PRIVATE KEY-----\n';
//Note that you first have to activate the service account from the commmand line, finish the oauth steps, enable some APIs, and wait a few hours.
// Tidy up the key ahead of importing
var private_key_clean = private_key_raw.replace('-----BEGIN PRIVATE KEY-----', '');
var private_key_clean = private_key_clean.replace('-----END PRIVATE KEY-----', '');
var private_key_clean = private_key_clean.replace(/(\r\n|\n|\r)/gm, "");
// base64 decode the string to get the binary data
var private_key_binary = atob(private_key_clean);
// convert from a binary string to an ArrayBuffer
var private_key_binary = str2ab(private_key_binary);
// Import the private key into the crypto store
const SIGNING_KEY = await crypto.subtle.importKey(
"pkcs8",
private_key_binary,
{
name: "RSASSA-PKCS1-V1_5",
hash: {name: "SHA-256"}
},
false,
["sign"]
);
// Sign the GOOGLE_JWT_HEADER and GOOGLE_JWT_CLAIMSET
const rawToken = await crypto.subtle.sign(
{ name: 'RSASSA-PKCS1-V1_5' },
SIGNING_KEY,
GOOGLE_JWT_COMBINED
);
// Convert the signature to Base64URL format
const GOOGLE_JWT_SIGNED = arrayBufferToBase64Url(rawToken);
// Combine the headers with signature
var combined_headers_signed =
"{" +
GOOGLE_JWT_HEADER +
"}.{" +
GOOGLE_JWT_CLAIMSET +
"}.{"

GOOGLE_JWT_SIGNED +
"}";

//
// Step 4 - Send the request
// Create payload
const GOOGLE_JWT_PAYLOAD =
"grant_type=" +
"urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer&assertion=" +
combined_headers_signed;
// Make the OAUTH request
const response = await fetch('https://oauth2.googleapis.com/token', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'Cache-Control': 'no-cache',
'Host': 'oauth2.googleapis.com'
},
body: GOOGLE_JWT_PAYLOAD
});
// Grab the JSON from the response
const oauth = await response.json();
arrayofinfo = [ 1,2,3];
// Capture the access token
const GOOGLE_OAUTH_ACCESS_TOKEN = oauth.access_token;
const URL = "https://storage.googleapis.com/upload/storage/v1/b/BUCKETNAME/o?uploadtype=media&name=" + Date.now().toString() + ".json";
/*
The following fetch requires between 12 and 30ms to complete.
It requires the cloudflare unbounded worker 90% of the time.
*/
const mailman = await fetch(URL, {
method: 'POST',
headers : {
"Authorization" : Bearer ${GOOGLE_OAUTH_ACCESS_TOKEN},
"Content-Type" : "application/json;charset=UTF-8"
},
body: JSON.stringify(arrayofinfo)
});
await Promise
.all()
.then(() => {
})
.catch(error => {
});
}
//the promise structure is needed for the await to finish.
return Response.redirect("https://google.com", 307);
}
catch (err) {
console.log(err)
}
};
addEventListener('fetch', async event => {
event.respondWith(handleRequest(event.request))
})
`

I'm not sure what your are suggesting @falseywinchnet. I may have missed it, but your code doesn't seem to reference ShowdownJS at all.

Devyn I didn't comment on your repo. I don't know why my commentary was
moved to your repo.
I commented on the cloudflare workers system making a suggestion for a code
example inclusion.
The code example I wrote was for a fully functional low latency async
cloudflare worker to push data to a google bucket.
On Wed, Nov 10, 2021 at 12:02 AM Devyn S @.***> wrote:

Closed #859 https://github.com/showdownjs/showdown/issues/859.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/showdownjs/showdown/issues/859#event-5594724902, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUYJQQ6WPMKQKOVLTGKGT5DULIDHBANCNFSM5AAR5KJA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Question: Anyway to compare on "somestring"@

Is there anyway to suggest as soon as @ is pressed after some string.
I want to suggest some email domains
<EMAIL_ADDRESS><EMAIL_ADDRESS>

It was a really nice suggestion. You'll find it in the last 1.1.1 version. Thanks!

I have the code for it here. Basically replace the filter function with this
fileprivate func filter(_ addAll: Bool) {
        clearResults()

        for i in 0 ..< filterDataSource.count {

            var item = filterDataSource[i]

            var tempText = text!
            if keyboardType == .emailAddress {
                if tempText.contains("@") {
                    let emailsplit = tempText.components(separatedBy: "@")
                    if (emailsplit.count > 1) {
                        tempText = "@\(emailsplit[1])"
                    } else {
                        tempText = "@"
                    }
                } else {
                    return
                }
            }

            if !inlineMode {

                // Find text in title and subtitle
                let titleFilterRange = (item.title as NSString).range(of: tempText, options: comparisonOptions)
                let subtitleFilterRange = item.subtitle != nil ? (item.subtitle! as NSString).range(of: tempText, options: comparisonOptions) : NSMakeRange(NSNotFound, 0)

                if titleFilterRange.location != NSNotFound || subtitleFilterRange.location != NSNotFound || addAll {
                    item.attributedTitle = NSMutableAttributedString(string: item.title)
                    item.attributedSubtitle = NSMutableAttributedString(string: (item.subtitle != nil ? item.subtitle! : ""))

                    item.attributedTitle!.setAttributes(highlightAttributes, range: titleFilterRange)

                    if subtitleFilterRange.location != NSNotFound {
                        item.attributedSubtitle!.setAttributes(highlightAttributesForSubtitle(), range: subtitleFilterRange)
                    }

                    filteredResults.append(item)
                }
            } else {
                var textToFilter = tempText.lowercased()

                if inlineMode, let filterAfter = startFilteringAfter {
                    if let suffixToFilter = textToFilter.components(separatedBy: filterAfter).last, suffixToFilter != "", textToFilter != suffixToFilter {
                        textToFilter = suffixToFilter
                    } else {
                        placeholderLabel?.text = ""
                        return
                    }
                }

                if item.title.lowercased().hasPrefix(textToFilter) {
                    let itemSuffix = item.title.substring(from: textToFilter.index(textToFilter.startIndex, offsetBy: textToFilter.characters.count))
                    item.attributedTitle = NSMutableAttributedString(string: itemSuffix)
                    filteredResults.append(item)
                }
            }
        }

        tableView?.reloadData()

        if inlineMode {
            handleInlineFiltering()
        }
    }

And in the handler
self.inputField.itemSelectionHandler = {item, itemPosition in
                    if let inputText = self.inputField.text {
                        let splitResult = inputText.components(separatedBy: "@")
                        self.inputField.text? = "\(splitResult[0])\(item.title)"
                    } else {
                        self.inputField.text? += item.title
                    }
                }

I'll really appreciate your suggestion, but it's supported in the last version (1.1.1).
You must set the filter strings:
self.inputField.filterStrings(["gmail.com", "hotmail.com"])
self.inputField.startFilteringAfter = "@"
self.inputField.startSuggestingInmediately = true

self.inputField.filterStrings(["gmail.com", "hotmail.com"])
self.inputField.startFilteringAfter = "@"
self.inputField.startSuggestingInmediately = true
Does not seem to work

If you set that, when the user start typing in the text field after entering "@" the first suggestion (gmail.com) will appear (I'm guessing that you've set the inlineMode in true).
If it's not the case please explain it better what's happening in your side so I can help you.

if I type "t" it suggests hotmail.com and when I type @ nothing shows up

That's weird, just for testing purposes I created a new project, I installed the last pod and it's working well.
Can you please show me exactly how are you structuring your code?.
Can you please also be sure that you have installed the last 1.1.1 pod?. Just in case you can run a "pod update" in your project folder.

I'm using your code directly in my own library on searchTextField branch.
https://github.com/amsiq/SkyFloatingLabelTextField

same problem here, it starts on the first letter not after the @


Shipping methods are not displayed in the checkout

Error: You must choose a shipping method.

This is a problem when you have products that you say are shippable but don't define a shipping method. I suppose we can bypass that if we don't have one defined...

Actually - maybe you can help me figure out what's going on here more. Because on my install, if no shipping method is defined, then it doesn't ask for shipping address or to select a shipping method.

The problem occurs when you apply the shipping method to "certain countries". It seems that the multiple select data is not saved. The  has no name attribute. When I provide one => name="countriesSelected" an error occurs: implode(): Invalid arguments passed

The issue is solved. A have set the select element name to name="countriesSelected[]". Now the values are passed as an array to the controller. You can find the result in the pull request: #165


Add different language support

Hi !
I'm contacted you on Twitter last days, I'm the founder of Gladys.
I just finally tried your module with billing enabled on Google Cloud Plateform. It works like a charm :)
Just one feedback, as I'm speaking french, I want to send my voice to Google Cloud speech with the fr-FR languageCode.
We should be able to specify in your lib which language we are using. It's simple, just a little parameter to add :
    const recognitionStream = _self.recognizer.createRecognizeStream({
      config: {
        encoding: 'LINEAR16',
        sampleRate: 16000,
        languageCode: LANGUAGE_HERE
      },
      singleUtterance: true,
      interimResults: true,
      verbose: true
    })

Maybe it can be an optional parameter of the Sonus constructor.
It's just a detail, otherwise your module just works great :) Planning to make a blog post about that to my community.
If you want I can submit you a PR to add language support, or you can do it yourself, as you prefer.
Thanks again,

Another, non related feedback, when I install your module with a simple "npm install", post-install tasks of snowboy are not executed, and I don't get the compiled file of snowboy for my plateform (  and I get a missing file => /home/pi/node_modules/snowboy/lib/node/binding/Release/node-v48-linux-arm/snowboy.node )
But if I install manually snowboy after sonus, it just works.
Don't know if it's a problem on your side or on snowboy side :)

Lucky for you that just for implemented last night in #8 (see the updated example).
Interesting issue with the installation, haven't seen that before. I'll investigate!
Keep the fredback coming!

Closing this out because the language issue has been resolved and post-install seems to be working now.


Document type layout of str #410

I documented the size behavior of type str to the 9.3.Type Layout section.
Fixes #410

Can someone please review my pull?

Is this any better?

Hm. I think this is ok, but we can do better. Since str is a slice type, I think that mentioning it in the slice section might make more sense, and then call out that it's a UTF-8 representation of its characters. As is, "each character" is kind of vague, and I don't think we need to duplicate the array section which goes into more detail. Really, str is just [u8] with an additional guarantee that it's valid UTF-8.

restarting travis

It should be clean now, @alercah .


How to remove in-app auto update and make brew cu take over all

Hi there,
Thanks for developing this nice utility, which solved one of my major concern of updating Homebrew cask applications.
However, previous I checked some in-app auto update options and now want brew cu to take over of this all. I know this can be done by brew cu -a, but is some kind of verbose every time, then is there a way I can remove in-app update one by one or even by batch, so brew cu would update them automatically?
Thanks you so much!

Hello @hao-lh , thank you for using this. I'm not sure if I really get your point, what are you trying to achieve?

previous I checked some in-app auto update options and now want brew cu to take over of this all

I assume you allowed apps to check updates by themselves, right? By passing (as you correctly stated) -a it will also update those apps, so I assume everything is fine here?

but is some kind of verbose every time

Not sure what exactly is verbose, can you maybe add a screenshot what are you seeing?

is there a way I can remove in-app update one by one or even by batch, so brew cu would update them automatically?

By automatically you mean without adding the -a argument? That is currently not possible and not desired. Removing in-app update currently is only possible if you go to that specific app and disable that. But that doesn't allow updating them without -a as that "auto-update" flag is set on the cask configuration and cannot be overriden from outside.
I hope it is little bit cleaner, let me know if you have any particular things you would like to follow up of clarify more.

Hi @ondrejfuhrer Thank you for reaching me out and providing detailed explanation for this issue.
What I was meaning is that if you look at the last two columns, all updated checked within self update would be marked as Y in A/U column (autoupdate?) and PASS in Result column.
However, for some reason, I don't prefer self update within application any more, and want to brew cu to act as a unified application package manager, thus I wanted to remove these marks and let brew cu to completely take over. Also, the reason I do want pass -a argument is it would introduce extra step every time I need to update the applications.

Thank you so much again for your explanations!

Thank you @hao-lh for the explanation, now I get that. The "column" you are talking about is not something you can actually change. That is set in the cask metadata (e.g. for a-better-finder-rename you can find it here).
Therefore in order to update those you have to pass -a or --all to the brew cu command to include those as well. But you can't pre-select which ones you want to update and which don't.
If you would like to always update only certain apps, I would suggest you you version pinning to pin apps that you don't want to update and then call brew cu --all to update the rest.
I'll also want to work on a "default behaviour config" (see https://github.com/buo/homebrew-cask-upgrade/issues/156) so that you don't have to add the --all option of you don't want to, but that only partially solves your thing.
Let me know if there is anything else I can help you with.

Thank you @ondrejfuhrer for pointing out, so FYI, A/U column is control by auto_updates field contained in *.rb file? What about the last Result column, can we made any changes to them?
My original intention was user may check self update by accident, so when you open the application it would ask user for permission if you need to upgrade it. But when you try to update with brew cu solution, you would see previous self updated application would be upgraded one more time, I guess there are some database similar thing caching the current version and latest version. That's why I wanted brew cu to completely take over this, of course brew cu -a is able to achieve this. Sorry for not be clear about this at the very beginning 😢

@hao-lh you may try to add something like this to your ~/.bash_profile:
alias cask-upgrade='brew cu --all --yes'

Then just invoke cask-upgrade, that will do all the things.

@hao-lh

A/U column is control by auto_updates field contained in *.rb file?

Exactly.

self updated application would be upgraded one more time

Yes, that is unfortunately the case. There is another issue where we discuss "syncing" the auto-updated version back to the cask metadata, but unfortunately it is not as easy.
You can follow the discussion here: https://github.com/buo/homebrew-cask-upgrade/issues/153
Long story short, there is currently no way you can actually control that behaviour yourself (meaning set which will be updated and which won't, etc). Maybe something we will consider for the future.

Understood. So there is technical obstacles preventing you from doing so.
Really appreciate spending time explaining the underlying to me.