silent miner

Hi its me again from earlier, I just found this, and i was wondering if I could turn the silent miner into a .mp3 for example.
If you haven't figured yet, I'm very new to this, so expect me to say some things that don't make any sense.
My goal is to send an .mp3 via email or via something else to random people, and when they download the .mp3 and run it, it is an actual mp3 which works, but the silent miner is triggered in the "background"
would this be possible in any way using the Binder?
Thank you

Only real way (without using media player exploits which you most likely won't find any) is to bind an .mp3 and the miner .exe together with an mp3 icon as the program image and then use something like an extension spoofer. Spoofed extensions don't show in all places but in many places they do show the spoofed extension.

If i spoof the merged .mp3 and miner.exe, will that make the fake mp3 openable, or will it do nothing when ran?

An extension spoofer only uses a special Unicode character called the RTLO (right to left override) character to reverse the end of a file name from something like file mp3.exe into file exe.mp3, the file will still be a normal exe but in some places like the explorer it will show up as file exe.mp3. Then when that .exe spoofed as an .mp3 is run then it will drop both the bound files (an .exe and an .mp3) and execute both of them (if enabled in the builder) so for the user it would just look like an mp3 file was opened.

Omg that's exactly what I wanted! thank you so much, I will try this out right now!!
I'm keeping this thread opened if I struggle with the process

If you go to that location can you find that file? Make sure that your antivirus hasn't removed or is blocking it. You can also try removing the spaces in the silent eth miner folder.

I checked and i don't have any file named like this, though, I have an windows exclusion for the whole silent eth miner folder

I just built it with Csharp instead of C and it worked

Yes that would work, if the file isn't there then it sounds like it was removed by something.

Okay I will re-install if I need to, but for now I am going to try with C#
So right now I have my mp3 file, which looks like a real one, and contains my miner.exe as well
Do you know if the music would actually start playing if I executed the mp3? or does it just looks like an mp3 but is an .exe
btw I tried sending it via gmail but it doesnt work

Yes it will drop and execute both files, so it would start the mp3 just like if you double-clicked it normally. I don't think you can send .exe files directly via Gmail, nor do I think you can receive .exe files either with Gmail either (except through Google Drive).

Okay, that is perfect!
What if i corrupt the mp3 file in the beginning so that when the people receive it in google drive, it will not be able to play it inside of the gmail thing, and it will just ask them to download it... --> then, they play it, windows media shows up saying its corrupted, so they think it was a legit mp3 file, but in reality the miner started mining
Im sure this could work right?

Gmail (and any other thing) will still see it as an .exe file since that's what it is, extension spoofing will only fool humans. You would probably have to add a download link or something similar inside the email instead of attaching it if you're planning to use Gmail.

isn't there any way to bypass this .exe thing about gmail?

okay thank you very much, I am going to try this out

Alright, I got everything working now,
I can send it using the google drive thing, I do receive it, but the only problem is that when I try downloading the google drive file, it says it might be infected with a virus, you can still download it, but I don't think people will download any infected mp3's
isnt there a way to obfuscate it so that google drive does not know it is a virus?

just a last question, what does the miner-checker.exe does?
does it check if someone has been infected already?

Yes if you run it on a computer you have run the miner on then it will say if the watchdog is running and list any miners (from that build) that are currently running.

Okay thank you!
btw there might be something wrong because i ran the mp3 to see if it started mining,
and in the checker it said it was not mining
is this normal?

what is a VM? and how do we know if it contains a GPU?
is it in the silent eth miner's settings?

A VM is a Virtual Machine, many test things on them and since they don't have a GPU (except with GPU passthroughs) then GPU miners won't run on them. Run the miner (bound file in this case) again and then start the correct checker (checker from the same build as the miner you're running) and then post a screenshot here.

i redid a miner, called it final miner
re-binded it with the original mp3 --> called it final version.mp3
ran final version.mp3 --> waited about 5 seconds (since i put the start delay to 2 in the miner)
ran the checker of the miner so the final miner checker --> screenshot

still nothing

Start the miner normally without binding it and then use the checker after a while and see. If that doesn't work then send your miner settings here by going to the "Main" tab, then pressing "Save", zipping that file and sending it here (drag into the reply box).

its weird, it says the watchdog is on,
but in the miners section, its blank

im going to leave my home for a couple of hours, just letting you know

Send your settings here then, could be that the settings are wrong.

Hi, im back, is there a way to send the settings other than multiple screenshots?
im going to attach screenshots anyway
![2](https://user-images.githubusercontent.com/109

590646/179843841-c82fc57f-582e-4c58-a190-72fa1c79728d.PNG)

s

Hi, im back, is there a way to send the settings other than multiple screenshots?

Yes you can do:

send your miner settings here by going to the "Main" tab, then pressing "Save", zipping that file and sending it here (drag into the reply box).

But I would recommend removing the wallet address from the "Worker Name" field.

other than that, is everything okay? because I dont think the worker name is the reason it does not start mining when i launch the .mp3

Depends if you have anything else there, right now it's connecting to the pool with WALLET.WALLET which should work but if you also have something else in there such as a manual worker name then the pool won't accept the connection. Also, do you run the bound file as administrator or not? I'm guessing not but I have to ask (since then you need to run the checker as administrator as well).

no, none of those are in administrator, just chose simplicity and decided not to

thank you im going to try this out right now

can i change the coin in the lite setting?

Build it like it is and test it first, then change it and test it. If it works with the standard settings and not the changed settings then you'll know that the changed settings are the problem.

btw in the binder, when I tick "run as administrator" does that mean it will run as administrator by itself or I have to run it as administrator myself?

It will ask for it by itself.

I ran it through the .mp3
nothing comes up when i launch the checker
i mean the "miners" line is blank

maybe its because I bind it in C#?
should I try in native C

No that shouldn't really matter, make sure that "Run as Administrator" isn't enabled in the miner (enabled by default in Lite) if you don't have "Run as Administrator" enabled in the binder.

I enabled both : in the miner and the binder
I am kind of stuck right now..

Hmm it definitely works, I just tried it myself and it worked fine, first I loaded the "Lite" settings, then I disabled "Run as Administrator" and built it, then I opened the binder, bound the miner file and another random file, then I built it and ran it. The miner and random file then started just fine.

ahh must be me then
do you have any idea on what causes this?

just did it, still does not work

is it normal that in the checker it says "compatible GPU" but it should be mining with the CPU?

Yes it just says if you have a compatible GPU to know if it should be GPU mining.
Here is a test bound file I built with the "Lite" settings: Miner Binder Test.zip. I bound MINERTEST.exe and a cat image together into BoundFile.exe. So download that, extract it, then run BoundFile.exe, wait 1 minute and then run the checker.

Haha yes it needs to be an .exe to be able to be run, then the spoofer will trick the text into saying .mp3.

Oh my god I am sorry
I told you I was about to make noobie mistakes x)

yep it works ! thank you
Now (I know I might be annoying when I say this) could you please tell me how to spoof files?
like what program to use

Any extension spoofer online would work, it's even possible to do it manually, but using something like https://github.com/hXR16F/extspoof would be the easiest (just found a random GitHub project).

I checked the youtube link on the github and I didnt understand a single thing of what he did 😂
If that was not manually then I don't even wanna hear what manually is

is this github legit? https://github.com/henriksb/ExtensionSpoofer

Yes, though I don't think it has .mp3 added by default.

ahh yeah you are right
hmm I dont know what to do then
What spoofer do you normaly use?

I can do it manually so I've never used a program for it, but you can probably use https://github.com/hXR16F/extspoof/releases, open the program, select your bound file and enter the desired file name (for example music.mp3) and press Generate.

uuh I used the program but I don't think it is legit: I spoofed the file but it didnt even tell me where to save it, and I can't find the spoofed file anywhere (check with the application named "everything" to find it)

I think it just changes the file you choose.

Im stuck on this
I dont know how to spoof something into .mp3
the only spoofers i found either were not working or didnt do .mp3

alright i manually spoofed it
now i have the file that looks like ".....exe.mp3"
the problem is that it gets detected in gmail, and in the google drive, the icon is an executable icon, which is obvious (and it also gets detected sometimes after i send it)

Do you have any idea on how to bait google drive and make it think it is an actual mp3?

Do you have any idea on how to bait google drive and make it think it is an actual mp3?

You can't, only way to do that would be to change the extension but then the person who downloads it would have to change it from .mp3 to .exe themselves.

alright i manually spoofed it now i have the file that looks like ".....exe.mp3" the problem is that it gets detected in gmail, and in the google drive, the icon is an executable icon, which is obvious (and it also gets detected sometimes after i send it)

Yes, Google has it's own VirusTotal like antivirus detection so you'd probably either need a password protected zip or use another file host without a virus scanner and that doesn't show the filetype and then include the link (or as a button) in the email. Sending malware through email is quite an antiquated way of doing it for those reasons.

Okay thank you I will try to find a good uploader online tmr!


How do we handle different analysis results in same folder?

In #51 @imagirom has updated the pipeline s.t. results for different versions of the analysis (e.g.  from running segmentation or intensity accumulation on different channels), can be stored in the same image h5 file.
However for the hdf5 file that holds the image and well table, he is writing different files per analysis result with a different identifier in the name now.
We should discuss if we want to keep it this way, or if we also want to only have one file and then differerent internal paths for the analysis results in there. Obviously, this has implications for the
viewer and the database migration.
cc @imagirom @tischi @wolny

From the DB point of view it doesn't really matter: having different files per analysis, or nesting analysis results withing a single file will result in the same document stored in DB (in terms of schema), only the way we create this document (i.e. from single or multiple files) will be different.
Let's focus the discussion on how we deal with it in the viewer.

Can we discuss this during some zoom meeting on Monday?

We discussed this via zoom now and came to the following conclusion:

everything should be in a single table file
the different analysis results are then in separate table keys in that file
after everything went through, we merge the relevant results into single tables images/default and wells/default.

@imagirom can you take care of adapting the table saving logic?
I can work on the table merging.

@constantinpape Yes, I can implement the saving of tables in a single file.
For the merging, I think as long as we only want to do it in the multiple serum channel setting, we might be able to get away with simply replacing serum by serum_IgA etc.

Ok, so after merging the table structure will be the same, so in theory there is no need to change the DB job. But please let me know when this is done and I'll test the DB integration.

@wolny yes, will do

You could even replace serum just with, e.g., IgA to be more concise.

@imagirom has implemented his part in #92 now, I will do the table merging later.

Implementing the table merging in #95.
@tischi I haven't done any of the renaming yet, but this is refactored into functions:
https://github.com/hci-unihd/batchlib/blob/merge-tables/batchlib/analysis/merge_tables.py#L58-L63
I will compute a test output with the current version now and then we can look into how we rename columns later.

Implemented in #95


19 - Habit Tracker (Hacktoberfest Demo) #631

What does this PR do?

Adding a new Demo application in the community/Demos directory.
Addressing hacktoberfest issue
A Habit Tracker Demo web application with Copilotkit.

Checklist

[x] I have read read the Contribution Guide
[x] If the PR changes or adds functionality, I have updated the relevant documentation

@NathanTarbert I have unlinked all issues from my comment. Sorry for all those links 😞


chore: update slot syntax and remove @testing-library/vue from picture spec

WIP
This PR fixes ctx.slot usage and remove the use of @testing-library/vue in the ix-picture spec since that was leading to strange rendering issues.
The commit history needs to be cleanup a bit before this is ready to merge. Opening as a draft first to make sure CI issues have been resolved.

It's a real bummer that we're running into so many issues with cypress on these test runs. I can't make heads or tails as to what node_modules are incompatible with the node stable release. Might just be cypress itself is too out of date.

Hey @luqven is this ready for review? Looks pretty good to me so far!

@frederickfogerty Almost. I'm closing this PR in favor of one with less noise/cleaner commit history.
Thanks for taking a look, I'll ping you once I've opened it.


[GUI] allow to set default value for FormComboInput

Treat https://github.com/jrl-umi3218/mc_rtc/issues/119#issuecomment-884950809
close https://github.com/jrl-umi3218/mc_rtc/issues/119

Thanks for review. Fixed for all points in https://github.com/jrl-umi3218/mc_rtc/pull/178/commits/56f0ff3a2d5d784f9d0f617c8dc7a58ed728c83f

Also updated https://github.com/jrl-umi3218/mc_rtc_ros/pull/24 in https://github.com/jrl-umi3218/mc_rtc_ros/pull/24/commits/7338817cbdd963b0615d9dfd2263db9844a21eec

Thanks @mmurooka I will have look at the mc_rtc_ros PR


It is not working

I followed your instructions but I'm not seeing any options for creating a fortran project

I missed the extra directory created in the archive. The folders in the qtcreator-fortran-master folder should be located directly under ~/.config/QtProject/qtcreator. I have updated the instructions.

Its not working

Which platform are you running. Could you list the contents of the configuration folder after unpacking the archive? If you are a Windows user please have a look at:
https://youtu.be/hOs3cfhnu7o

I'm under linux (Mx Linux)

I solve the problem - when you use  mv  ... * it is not recursial and fortran.xml  is not copied


Adding new feature - advanced screen comparison.

Description
Script is doing selective comparison of two images to provide precise comparison.
Motivation and Context
It's way better then recent, obviously.

I hereby agree to the terms of the AET Contributor License Agreement.

All fixes done in #297 , thank wyou @aux-lux and @m-suchorski


needs a web manifest

My use case is for Deep Linking so that I can use this system on Web, Mobile and Desktop with a Webview, and A2HS for non WebViews scenarios so Users can easily add this to their Laptops and Mobiles.
This requires a Web Manifest: https://www.w3.org/TR/appmanifest/
I propose that https://github.com/maddalax/htmgo/tree/master/templates/starter/assets/public has these requires skeleton files.
Here is a basic generator for reference: https://github.com/aerogo/manifest but it's pretty basic IMHO. just a reference really.
Here is the Webview code: https://github.com/gioui-plugins/gio-plugins/tree/main/webviewer that I am testing with.

I don't think this is common enough scenario to include by default in the starter template imo and it's easy enough to just copy paste one in if needed.


Javascript syntax file cites a Stale URL

The version in my local kit and the version in the repo
(http://code.google.com/p/vim/source/browse/runtime/syntax/javascript.vim) cite
the url

http://www.fleiner.com/vim/syntax/javascript.vim

But that file is from 2006 ("2006 Jun 19") and the latest version is more than
6 years fresher.  Should that URL be changed to something more modern?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 21 Feb 2013 at 3:45

Closing. This needs to be changed by the syntax file maintainer.


Passing URL without .git suffix fails

I'm not sure if this should be considered a bug, or if we should simply not support it and warn users. If the latter, we could maybe improve the error message:
% copier https://github.com/pawamoy/copier-poetry project
Traceback (most recent call last):
  File "/home/pawamoy/.local/bin/copier", line 8, in <module>
    sys.exit(CopierApp.run())
  File "/home/pawamoy/.local/pipx/venvs/copier/lib/python3.8/site-packages/plumbum/cli/application.py", line 577, in run
    inst, retcode = subapp.run(argv, exit=False)
  File "/home/pawamoy/.local/pipx/venvs/copier/lib/python3.8/site-packages/plumbum/cli/application.py", line 572, in run
    retcode = inst.main(*tailargs)
  File "/home/pawamoy/.local/pipx/venvs/copier/lib/python3.8/site-packages/copier/cli.py", line 17, in _wrapper
    return method(*args, **kwargs)
  File "/home/pawamoy/.local/pipx/venvs/copier/lib/python3.8/site-packages/copier/cli.py", line 158, in main
    self.parent._copy(template_src, destination_path)
  File "/home/pawamoy/.local/pipx/venvs/copier/lib/python3.8/site-packages/copier/cli.py", line 108, in _copy
    return copy(
  File "/home/pawamoy/.local/pipx/venvs/copier/lib/python3.8/site-packages/copier/main.py", line 128, in copy
    conf = make_config(**locals())
  File "/home/pawamoy/.local/pipx/venvs/copier/lib/python3.8/site-packages/copier/config/factory.py", line 118, in make_config
    return ConfigData(**args)
  File "/home/pawamoy/.local/pipx/venvs/copier/lib/python3.8/site-packages/copier/config/objects.py", line 88, in __init__
    super().__init__(**data)
  File "pydantic/main.py", line 338, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for ConfigData
src_path
  Project template not found. (type=value_error)

vcs.get_repo returns None, and then the Pydantic model complains about src_path being None.

For now, you should suffix it with .git or prefix it with git+ AFAIK. I guess adding the exception for github and gitlab would be acceptable.


Rust-analyzer lsp server now gives me macro error

Overview

Starting with this version, the following codes will generate an error
https://github.com/rust-lang/rust-analyzer/releases/tag/2024-08-26

unexpected token rust-analyzer[macro-error](https://rust-analyzer.github.io/manual.html#macro-error)

#[nutype::nutype(
    sanitize(trim),
    derive(
        Debug,
        Clone,
        Eq,
        PartialEq,
        PartialOrd,
        Ord,
        AsRef,
        Serialize,
        Deserialize,
        Hash,
        Display,
        JsonSchema,
    )
)]
pub(super) struct EdgeId(String);

Removing the JsonSchema derive from the above resolves the problem, so there must be some problem at the JsonSchema point.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file password: changeme In the installer menu, select "gcc."

It looks like spam and I would like you to block it.

This one was not a problem with nutype, but with https://github.com/GREsau/schemars, so I will close it.


Create lucas-cv.html

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

Ok


Fix typo in changelog page

Update release date of RabbitMQ 3.9.0 from 236July 2021 to 23 July 2021.

Thank you!


nowcasting_datamodel==1.1.68

Pull Request
Description
Update to datamode 1.1.68, biggest change being there are less warnings printed out
Fixes #
How Has This Been Tested?
CI tests

[ ] Yes

Checklist:

[ ] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Codecov Report

Merging #179 (b837b03) into main (b178bee) will not change coverage.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #179   +/-   ##
=======================================
  Coverage   95.78%   95.78%
=======================================
  Files          18       18
  Lines         593      593
=======================================
  Hits          568      568
  Misses         25       25

Impacted Files
Coverage Δ

src/main.py
84.48% <100.00%> (ø)

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


Why zuul2 has a high delay under low pressure

zuul version:2.1.3
architecture: zuul + tomcat7
solution 1:
Pressure measuring tool：jmeter with 1 thread
An tomcat http interface request takes almost 7ms , and the jmeter pressure measurement data is as follows：

When I forwarded this request through zuul2 ，i got almost 48ms latency .

what happend to zuul and why the latency of zuul is so high?
Situation has changed under high pressure:jmeter with 100 thread
tomcat:

proxy from zuul:

It seems that zuul did not cause any delay. But why zuul2 has a high delay under low pressure？
Can anyone tell me why and how to resolve this problem ,thansk.

unbelievable!

Sorry, we don't know what your code is doing.    You'll need to either provide a reproducible case, or gather profiling information on your server to debug this further.

Actually，i just found an incredible thing.
In my zuul project ,there are several different filters for different uses。
If i override the needsBodyBuffered method extend from HttpInboundFilter ,like:

All the latency  has gone ,  the jmeter pressure measurement data is as follows
proxy from zuul:

tomcat:

I can reproduce it with zuul 2.1.3 and any tomcat , it is amazing.

@weitongming As I said, you'll need to bring some more evidence to debug this further.  You can use YourKit, or Async Profiler, or another profiler to see what is happening differently in your server.


Re-balance detection scores on the human-object interaction dataset

Replacing object detection scores resulted in inferior performance with fine-tuned detections


Fix OpenAiAudioSpeechOptions speed description

This PR changes OpenAiAudioSpeechOptions speed description to reflect the appropriate range.

Merged via https://github.com/spring-projects/spring-ai/commit/c2b6e8560841789c49185b6e96ba988a655c0b60.


Added __onFirebaseValue

Please refer to this (https://github.com/firebase/polymerfire/issues/4) for the reason why I add this function.

Hi, thanks for the contribution. I don't think we need to add a test for this, but could you please document the event? Refer to iron-ajax documentation for a reference.

@cdata Added Comment for __onFirebaseValue. Please help me check/review is the comment is appropriate or not. Thanks :smile:

@limhenry please refer to the link I included in the original comment. There is a special form of documentation for events that should be included. Also, in general we do not add comments to private methods (methods that begin with __) unless the implementation is sufficiently esoteric to warrant an explanation.

Friendly ping on this PR - updates requested.

TODO:

remove comment from line 288 - 290
add comment on line 56:

/**
 * Fired when the query has a new value
 */

Yes, you are missing the @event JSDoc.
@event firebase-value. Please refer to the comment I linked to at the beginning of this conversation!

Actually I'd like to pull the plug on this one. Attaching a value listener should be unnecessary with firebase-query and it's going to negatively impact performance. See comments on #4
Thanks for the PR though, Henry!

Whats the alternative for making app responsive ? ie. how can I show user "no-content" message ? How can I inform user that data is loading (maybe there is no such concept in firebase but in the end of the day request takes some time) ?


cuda extension problem

I test to install in nvidia docker, the build ninja includes incorrent sm_id like -gencode arch=compute_52,code=sm_52
# Install kernels
python setup_cuda.py install

cuda_post_cflags = -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"''  -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1013"' -DTORCH_EXTENSION_NAME=quant_cuda -D_GLIBCXX_USE_CXX11_ABI=1 -std=c++14

This should be ok.
The setup_cuda.py should be changed, the sm_89 shall be 4090, is not in the parameters.
from setuptools import setup, Extension
from torch.utils import cpp_extension

nvcc_args = [
    '-gencode', 'arch=compute_80,code=sm_80',
    '-gencode', 'arch=compute_86,code=sm_86',
    '-gencode', 'arch=compute_90,code=sm_90'
]

setup(
    name='quant_cuda',
    ext_modules=[cpp_extension.CUDAExtension(
        'quant_cuda', ['quant_cuda.cpp', 'quant_cuda_kernel.cu'], extra_compile_args={'nvcc': nvcc_args}
    )],
    cmdclass={'build_ext': cpp_extension.BuildExtension}
)

I'm not familiar with pytorch cuda extension.
However, this code doesn't work.(RTX3090)
Also, please explain the benefits of this change.

I tested on my rtx 3090 and 4090, in nvidia docker. IT is a must setup.

nvcc_args = [     '-gencode', 'arch=compute_80,code=sm_80',     '-gencode', 'arch=compute_86,code=sm_86', ] I have to use this code to make it work normally.
Does the CUDA version have any effect?

sm_90 is H100, 80-86 shall be 3090 - 4090.
I have to specific version, or it will generate all sm, include parcel ones.
This shall be notify in README, i think.
For your problem, i think it is related to driver version, older drivers do not have sm_90.

It seems to depend on the cuda version.  sm90 is supported from cuda 12.0.
https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/

We currently use Triton instead of CUDA.


Implement FixedPoint trait.

Fixes #5625
This PR merges Fixed64 and Fixed128 implementations under a common trait using a macro.
Changes:

Fixes some bugs in both implementations.
Removes NonZeroI128 as requested (not very ergonomic).
Removes usage of U128 as requested (to get rid of primitives).
It tries (module bugs) to be standard w.r.t. max and min.
It tries to have much less type restrictions than previous implementations.
Implements some extra functions: trunc, frac, round, ceil, floor.
It uses our big int implementation through multiply_by_rational. That may be a bit slow (10-100x) than implementing the function directly. But I leave that optimization for later (I have some code but I'm not 100% sure about the correctness).

TODO:

[ ] - Add more and smarter tests.
[ ] - Maybe use fuzzer on it.

Maybe use fuzzer on it.

just use quickcheck, it is rather easy

just use quickcheck, it is rather easy

also an option. If quickcheck works well then you can make it a separate PR and migrate all arithmetic fuzzers to it. I think for now a setup similar to the rest of the crate (honggfuzz) is okay.

I'm having trouble reviewing this as I'm unsure what to pay attention to. Can you point out a few spots where you would like feedback @marcio-diaz ?

Sure, you can check that there are not missing tests and compare the semantics from the new versions against previous ones, specially the ones of methods called inside substrate or polkadot. I'll try to prepare the companion today (but I have some injury in my hands, so no promises :/)

@marcio-diaz needs resolving.

bot merge


Error when generating offline mode file

So my mysql instance is up and working:

and I have the sqlx cli installed:
> cargo sqlx --version
cargo-sqlx 0.6.2

and the same url is in the .env file,
but when I try to generate the sqlx-data.json, all I get is this:
> cargo sqlx prepare
error: EOF while parsing a value at line 1 column 0

How do I properly generate the offline files? I feel that spinning up a database during the build step would be a ridiculous thing to do.

It produces 2MB worth of JSON.
metadata.txt

Ok, I solved it by updating a different crate in the workspace. No idea how this caused this issue, but the error message is totally unclear.


[RHOAIENG-90] - Add InstascaleMachinePool test

RHOAIENG-90

InstascaleMachinePool tests are failing with this error - https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/distributed-workloads/job/rhods-pipeline-dw/120/console#:~:text=Unexpected error%3A,54%3A53          occurred
These tests are passing locally in another OSD cluster (which is in different ocm org from ours qe) , can share the details if needed.
@aloganat @jgarciao Could you please take a look ? Thanks !!

Closed as the required jira is closed now - https://issues.redhat.com/browse/RHOAIENG-90


Button/shortcut to save current URL to Todoist task

Suggestion:  I'm looking for a way to easily save websites to Todoist.  My current method is pull up website, click URL, cmd+C, click on Todoist tab in brower, type "a", paste.  Blah.  That's a lot of steps and I save a lot of websites.
There are 2 chrome extensions for this flow but neither work.  I was trying to find something like this but for Todoist.  What would be great is if, when viewing a website, a bookmark button or shortcut key press would save the website to Todoist.  It could just save to Inbox with no date or today's date - at least for an initial pass.
Would easily pay 5 coffees for this.  ;)

Great idea!
I would like to have this to, so I might get around to doing it.  I tried to reuse code from the "Todoist for Chrome" extension, but it turns out that it makes privileged web requests that only that extension can make.  When my extension makes the same request, it is not authorized.
I think I know a decent way to do this, but it will only work if a todoist tab is open.

  I was going to look into doing it too since it was so important to me (30% of my tasks are links to read, emails, etc.).

The "Todoist for Chrome" extension might still be helpful to you, because
it does support adding URLs as tasks.  The only issue with it is that it is
not accessible via a keyboard shortcut, but instead a right click context
menu.  You right click on the page and then click the "Add to Todoist" or
something like that, and the page will be added as a task.  If you select
text, it will even incorporate that text in the task.
On Mon, Apr 6, 2020 at 7:28 AM Kelly Arwine<EMAIL_ADDRESS>wrote:

You saved me some time. I was going to look into doing it too since it was
so important to me (30% of my tasks are links to read, emails, etc.).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mgsloan/todoist-shortcuts/issues/116#issuecomment-609794129,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAFQKTT2NBGRDCKQQZK7MDRLHKGHANCNFSM4L3ML24A
.

THAT is awesome!  I had no idea that was a thing.  I can just do that (use the extension).  Would love a shortcut but, for now, this is great!

Yeah, it's a nice extension!  Maybe they will accept a patch adding
keyboard support for that action
On Tue, Apr 7, 2020, 08:12 Kelly Arwine<EMAIL_ADDRESS>wrote:

THAT is awesome! I had no idea that was a thing. I can just do that (use
the extension). Would love a shortcut but, for now, this is great!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mgsloan/todoist-shortcuts/issues/116#issuecomment-610410514,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAFQKTZQUIIVZNPUMJHIYTRLMYDTANCNFSM4L3ML24A
.

Closing as wontfix, since this is handled by the Todoist for Chrome extension.


Dialog causes a memory leak when Dialog component contains mat-form-field

What is the expected behavior?
Instantiating a dialog with a component that contains  mat-form-field element causes a DOM node memory leak.
What is the current behavior?
Memory leak
What are the steps to reproduce?
https://stackblitz.com/edit/angular-yx1kuw?file=app%2Fdialog-overview-example-dialog.html
Try to open and close the dialog several times. Notice each time the number of detached DOM nodes gets higher and forcing garbage collection doesn't reduce it.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material: 7.3.7
Chrome:  73.0.3683.103
Is there anything else we should know?
Could be related to https://github.com/angular/material2/issues/10188

This is caused by @angular/animations package failing to clean up cached elements. The issue occurs when both a parent component (in this case dialog-container) and a child component (mat-form-field-hint-wrapper) has a set of animation triggers. A couple of issues tracking leaks are potentially related:
https://github.com/angular/angular/issues/30728
https://github.com/angular/angular/issues/30693
Contrary to other error cases, every time Dialog component is opened, a new set of elements is cached and subsequently leaked. This is due to a new namespaceId being created each time a dialog is opened. Thus the leaks build up rather than taper off in this case.
The layout is roughly like so:
 <-- has triggers

  <-- has triggers
An issue should probably be raised for @angular/animations package

@rhartvig The memory leak still persists even after removing the animations module

@njofce , I guess you're using NoopAnimationsModule instead of BrowserAnimationsModule? If so, I guess that doesn't change the offending code paths. IIRC the issue is in
packages/animations/browser/src/render/transition_animation_engine.ts (https://github.com/angular/angular/blob/master/packages/animations/browser/src/render/transition_animation_engine.ts) where the cache structures would not get cleared for all the keys used.

@rhartvig Yes, you are right.

Hi, does anyone have a workaround for this? We have a lot of forms inside dialogs in our app and seeing a huge build up of unreleased nodes.

@jpduckwo Try to use ngModel instead of FormGroups/FormControl

@jpduckwo , I can offer a workaround that address the leaks I am seeing:
https://stackblitz.com/edit/angular-yx1kuw-fgdzjg
Notice:
 this.isClosing$ = this.dialogRef.beforeClosed().pipe(mapTo(true));

and:
<ng-container *ngIf="!(isClosing$ | async)">
...

Ie. a manual destroy of dialog content before dialog is closed.
To see how this makes a difference:

From devtools press ctrl+p (or Cmd+p) to open the file transition_animation_engine.ts
Set a breakpoint in clearElementCache around the line:

const elementPlayers = this._engine.playersByElement.get(element);

Open and close dialog multiple times and notice how this._engine.playersByElement does not continue to build up elements, contrary to original stackblitz.

Thanks so much guys, that's a great idea I'll give it a test in our app. I'm thinking of having a stab at creating a pull request to fix this issue, bit crazy when you think about it really...

I believe this could be the root cause issue: angular/angular/issues/25744

Should've been fixed in 9.0.0-rc.7 by https://github.com/angular/angular/commit/835ed0f35fa187f4051129ab30b7b635f15aeb57.


how to back to expo publish

Build/Submit details page URL
No response
Summary
i tried to use eas update but its not working because im on the free plan :(
so i want to back to expo publish but i cant
when i try to enter expo publish i get this error
It seems like your project is configured for EAS Update. Please use 'eas update' instead.
Managed or bare?
managed
Environment
System:
OS: Windows 10 10.0.19043
Binaries:
Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
npm: 7.20.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-192.7<IP_ADDRESS>92135
npmPackages:
expo: ~44.0.0 => 44.0.6
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
Expo Workflow: managed
Error output
It seems like your project is configured for EAS Update. Please use 'eas update' instead.
Reproducible demo or steps to reproduce from a blank project
eas command : expo publish

just revert the changes that eas update:configure did.

wkozyra95 Como voltar as configuração?

wkozyra95 How to go back as configuration?

I had the same issue after running eas update I was not able to go back to expo publish to fix this I noticed that the file app.json got modified I just had to delete
//Only delete url key
 "updates": {
        "fallbackToCacheTimeout": 10,
       "url": "someurl" //delete this

    }
.....
**Deleted the whole runtimeVersion object**
 "runtimeVersion": {
      "policy": "sdkVersion"
}

After this I was able to run expo publish again

wkozyra95 How to go back as configuration?

I had the same issue after running eas update I was not able to go back to expo publish to fix this I noticed that the file app.json got modified I just had to delete
//Only delete url key
 "updates": {
        "fallbackToCacheTimeout": 10,
       "url": "someurl" //delete this

    }
.....
//Deleted the whole runtimeVersion object
 "runtimeVersion": {
      "policy": "sdkVersion"
}

After this I was able to run expo publish again

@moygoca1 - Worked for me, thank you!

thanks it worked for me.

It worked for me too... Thanks

On Sat, 22 Apr 2023 at 2:00 AM, Yvan nanfack @.***>
wrote:

It worked for me too... Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/expo/eas-cli/issues/1081#issuecomment-1518451438, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMKQAZYTSA4R45AHHVPDHNTXCMURDANCNFSM5UGXOUKQ
.
You are receiving this because you commented.Message ID:
@.***>

Please how were you able to solve it ??


Possible Code-Generation for TDest Map(TSource source, TDest dest)

Because Automapper has a similar interface method, it would be nice to generate a mapping with the following method-signature:
TDest Map(TSource source, TDest dest)
At the moment this code suggests a mapping but it looks like this:
public override MyDest Map(MySource source, MyDest target)
  {
    return new MyDest();
  }

Would it be possible to suggest a mapping generation similar to the mapping if the method wouldn't return something ? Maybe an additional suggestion or a fallback if the mapping is just the default-constructor.
p.s. thanks for this project :)

I'm not sure what's the expected behavior of this type of method. Could you provide a sample implementation?

   public override MyDest Map(MySource source, MyDest target)
        {
            target.Foo = source.Foo;
            target.Bar = source.Bar;
            target.Baz = source.Baz;
            return target;
        }

Basically the same as the generated mapping for this signature
   public void Update(MySource source, MyDest target);

The reason why it would be nice to have is that the signature with return-value can be chained, used as input-parameter, etc.

I'm not convinced about this idea. This kind of method is very confusing. When I see that kind of signature I always need to check the implementation because it's very hard to figure out what the expected outcome should be.  Besides, method chaining makes the debugging very hard. Adding this kind of feature to MappingGenerator would support bad programming practices.

I just wanted to recreate a seamless drop in implementation for an API that already exists that way in automapper. Not really agreeing on the bad code aspect here but ok, fair enough.

Just out of pure curiosity, could you provide a real-life example of chaining mapping methods?

It's less the chaining and more the return type that is useful, for example you have your ApiController and you can call
Ok(_mapper.Map(sourceBo, targetDto);

But i guess i can work around the limitation by adapting my BaseMapper a bit. Thanks for your time.

I would suggest naming mapping method that updates the second parameter just Update:
public void Update(MySource source, MyDest target)
{
	target.Foo = source.Foo;
	target.Bar = source.Bar;
	target.Baz = source.Baz;
}

and split the usage into two separrated lines (do not invoke method inside the parameter):
_mapper.Map(sourceBo, targetDto);
Ok(targetDto);

In that way, your code will be more readable and easier to understand.


github is duplicated in .github/workflows/check-broken-links-github-github.yml

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
.github/workflows/check-broken-links-github-github.yml
What changes are you suggesting?
Remove one instance of github from https://github.com/github/docs/blob/10f8a4e855c10380f9e44f6c27e904d61756c38d/.github/workflows/check-broken-links-github-github.yml#L23
Additional information
No response

Nope. We can't, it's in a locked file and our PR will be killed by a 🤖.

Thanks for the heads up on the locked file, @jsoref! Let me get this triaged for review ✨

Thanks for raising an issue! It looks a little odd, but this is as intended, so I'll go ahead and close this out.


having trouble compiling on Alpine 3.17

I'm getting the following with rust 1.66.1, and musl 1.2.3-r4:
error[E0425]: cannot find function `copy_file_range` in crate `libc`
    --> src/devices/src/virtio/fs/linux/passthrough.rs:1721:19
     |
1721 |             libc::copy_file_range(
     |                   ^^^^^^^^^^^^^^^
     |
    ::: /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.126/src/unix/linux_like/linux/musl/b64/x86_64/mod.rs:576:1
     |
576  | pub const SYS_copy_file_range: ::c_long = 326;
     | --------------------------------------- similarly named constant `SYS_copy_file_range` defined here
     |
help: a constant with a similar name exists
     |
1721 |             libc::SYS_copy_file_range(
     |                   ~~~~~~~~~~~~~~~~~~~
help: consider importing this function
     |
5    | use nix::fcntl::copy_file_range;
     |
help: if you import `copy_file_range`, refer to it directly
     |
1721 -             libc::copy_file_range(
1721 +             copy_file_range(
     |

Seems like either musl is missing support for copy_file_range or libc doesn't yet provide a wrapper for it. After a quick look at both projects, seems to be the latter.

I've just created a PR adding copy_file_range to musl: https://github.com/rust-lang/libc/pull/3133
Meanwhile, it's possible to build libkrun by patching the dependency:
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,3 +7,6 @@ members = ["src/libkrun"]
 [profile.release]
 #panic = "abort"
 lto = true
+
+[patch.crates-io]
+libc = { git = "https://github.com/slp/libc", branch = "musl-copy-file-range" }

thanks!

Closing as copy_file_range is now available in musl.


Backend - Add manual webhook execution

Is your feature request related to a specific problem?
❗ Dependent on #1224
Add API endpoints and support for manual webhooks in the execution layer.
Describe the solution you'd like
Temporarily caching manual data received

Add a method to the PrivacyRequest model that caches manual data received for a PolicyManualWebhook. The key might contain a combination of the privacy_request_id and the policy_manual_webhook_id, and store a dictionary of fields/values received.
Add an API endpoint that lets you save data to the cache (calls the previous method) for a particular privacy request id and policy_manual_webhook with the values corresponding to the fields configured on the PolicyManualWebhook.

The request must be a in a "paused" state.  All this endpoint does is add data to the cache, it doesn't queue the privacy request for processing again.
Add an API endpoint that lets you get data from the cache for a particular privacy request id and policy manual webhook

Execution

First thing in privacy execution, add a check that looks up the PolicyManualWebhooks in the database and compares them with the data received from the PolicyManualWebhooks in the cache for the given privacy_request_id.  If we don't have entries for all PolicyManualWebhooks, pause request execution.
Add a separate endpoint for resuming privacy request execution after all the data from the manual webhooks has been received:

Request must be in "paused" mode.
We at least must have entries in the cache for all policy_manual_webhooks, there doesn't need to be data, but we need confirmation that all have them have been approved in that the keys exist in the cache
Sets request to in_processing, and queues the privacy request again from the "access step".

Have upload_access_results separately look up if there's any input data from any PolicyManualWebhooks in the cache and adds those directly to the filtered results with each key as the connection_config key.  Unlike regular access results, these fields are just passed directly through, we don't filter on data category.

Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Remember to update the ERD diagram here

Note: Instead of a paused state, these privacy requests are going to be put into a requires_input state

Assuming that there is no row inputs added, that there is one value that corresponds.  This matches the mockups, but I'm not sure if this will match up in reality.


Deploying SAM with TorchServe

I am working on deploying the SAM model using TorchServe. My current implementation performs both the image embedding computation and mask prediction in a single request-response cycle, which is not great. It looks something like this:
class SAMHandler(BaseHandler):
    def initialize(self, context):
        model_type = "vit_b"
        model_dir = context.system_properties.get("model_dir")
        self.sam = sam_model_registry[model_type](checkpoint=f"{model_dir}/vit_b.pth")
        self.sam.eval()
        self.predictor = SamPredictor(self.sam)
        self.initialized = True

    def preprocess(self, data):
        image_data = BytesIO(data[0].get("body"))
        image = Image.open(image_data).convert("RGB")
        image = np.array(image)

        # Computes the image embedding
        self.predictor.set_image(image)

        # Dummy input for this example
        point_coords = np.array(data[0].get("point_coords", [[500, 375]]))
        point_labels = np.array(data[0].get("point_labels", [1]))
        return point_coords, point_labels

    def inference(self, model_input):
        point_coords, point_labels = model_input

        # Does the mask prediction
        masks, scores, logits = self.predictor.predict(
            point_coords=point_coords,
            point_labels=point_labels,
            multimask_output=True,
        )
        return masks, scores, logits

    def postprocess(self, inference_output):
        masks, scores, logits = inference_output
        return [[masks.tolist(), logits.tolist(), scores.tolist()]]

As you can see, the image embedding is done in the preprocess function, and the mask prediction is done in the inference function. I would like to separate these two steps into different requests for optimized inference:
Step 1: Generate image embeddings and store them with a uid.
Step 2: Use the stored embeddings for quick mask prediction.
What is the optimal way to implement this? The two options I've come up with are:
Option 1: Separate Handlers for Embedding and Prediction
Create two separate TorchServe handlers: one for generating and storing the image embeddings and another for performing mask prediction using the stored embeddings. The client would in this scenario get back the uid for the embedding, and send it along with the request when doing the mask prediction later.
Option 2: Caching Embeddings with Unique Identifiers
Use a single TorchServe handler and let the client specify in the request if the action is 'generate-embedding' or 'predict-mask'. It would look something like this:
def preprocess(self, data):
    action = data[0].get("action")
    if action == 'generate-embedding':
        # Prepare image for embedding generation
    elif action == 'predict-mask':
        # Prepare embedding ID and other inputs for mask prediction
    return prepared_data

def inference(self, data):
    action = data.get("action")
    if action == 'generate-embedding':
        # Generate and store embedding, return identifier
    elif action == 'predict-mask':
        # Run mask prediction using stored embedding
    return result

For both options, I guess I could store the embeddings in something like redis?
What does everyone think of these alternatives? Is there something completely different am missing, that's cleaner? Appreciate all the help I can get!

Hi,
Did you manage to do what you wanted ? Because I'm also looking to deploy the model on a TorcheServe but I don't know what is the best way to do it.
Thanks

The actual model is a separate object and the Predictor just seems to handle the bookkeeping of caching the embedding (see set_image method) and performing the appropriate transformations during inference. Couldn't you instantiate a new Predictor for every image and give them all the same model?


specify guide for report format

WIS2 users are able to publish notifications data, metadata and reports.  An example of a report notification:

origin/a/wis2/can/eccc-msc/report

Examples:

GDC publishing the availability of the metadata archive (per https://github.com/wmo-im/wis2-guide/issues/9#issuecomment-1764918318)
Global Services providing notifications about metrics in support of Global Monitoring
other examples?

Areas for clarification:

when a message is published to this topic, should the payload be WNM, or allow / extend?
if WNM, then we determine guidance in the WNM issue tracker proper
if not WNM, provide direct guidance in the guide

Closing this. Superseded by conversations about how we'll do monitoring.


[release-2.6] Cherry-pick Kustomize generator tests

Manual cherry-pick of:

#497
#511

Addresses:

https://github.com/stolostron/backlog/issues/25928

/retest

/retest

/retest

/retest

/retest


new updated baselines for newer VTK

@aashish24 @dlonie @williams13 @ThomasMaxwell these are the new pngs made with latest VTK. Let's double check nothing looks broken both from here and from:
https://open.cdash.org/viewTest.php?onlyfailed&buildid=3682814

LGTM although I wanted to talk to @dlonie but let's get this merged right now.


update CHANGELOG.md

Adds the missing notes from #30

Oops accidentally included the first commit in #32, but this is the real one @chanced


Refactor: Simplify Send Notification Interface

Monika Pull Request (PR)
What feature/issue does this PR add
Reduce sendNotification function complexity. As a part of the effort to solve issue #990.
Previously you need to edit/add at least 8 files to add a new notification, after this PR developers only need to edit/add 4 files.
Before

After

How did you implement / how did you fix it

Re-enable Eslint complexity rule
Make the send and validator function for notification consistent
Remove manual validation. Currently, there are 3 validation for notification config. Manual, using joi, and json schema.
Add some tests

How to test

Run unit test
Run Monika as usual

Notes
Still need to add some tests

I think we need to update the doc on how to add new notification channel https://monika.hyperjump.tech/guides/new-notifications

agree but this PR is already soo big, better make it in another PR?


[import/order] Side-effect imports break autofix

I have a problem with autofix and side-effect import

eslintrc:

"import/order": ["error", { "groups": ["unknown", "external", "internal", "builtin", "index", "sibling", "parent"] }],

file.tsx

import { Component1 } from './file1';
import './style.scss';
import { Component2 } from 'my-lib/component2';

What is the workaround to make this scenario autofixable ?

No autofix should not be moving any imports across a "bindingless" import (ie, import 'path' versus anything else) - and by strong convention, side-effecting modules should only be imported without a binding.
If you're seeing the autofix for this rule violate that invariant, then the autofix should be removed pending a bugfix.

Why doesn't import/order move these bindingless imports to the top of the file and preserve their relative order? It's unfortunate that these just break autofix.

For anyone arriving here in 2022, warnOnUnassignedImports may be what you need: it won't autofix, but it'll warn you, and that's what I wanted.


mesh.prune() fails on meshes of lower dimension than space

MESHIO is a great tool, I use it particularly to convert meshes from gmsh to vtu for use in OpenGeoSys.
The extraction of boundary meshes (to apply BCs) basically works, but I run into trouble using them, because of orphaned points (in addition it is a waste of memory). The prune function, which works well for subdomains, fails on boundaries.
The 2D example
import meshio

mesh = meshio.read('poisson_subdomain.msh') 	# from https://github.com/iitrabhi/dolfinx/tree/iitrabhi/mvc-xdmf/python/demo
points, cells_dict = mesh.points, mesh.cells_dict
cell_data_dict, field_data = mesh.cell_data_dict, mesh.field_data

boundary_cells = mesh.cells_dict['line']
boundary_mesh = meshio.Mesh(points=points, cells=[('line', boundary_cells)])
print(boundary_mesh)
boundary_mesh.prune()

results in
File "/usr/local/lib/python3.8/dist-packages/meshio/_mesh.py", line 97, in prune
all_cells_flat = numpy.concatenate([c.data for c in self.cells]).flatten()
File "<array_function internals>", line 5, in concatenate
ValueError: need at least one array to concatenate
My humble workaround looks like
 def line_mesh_prune(input_points, input_cells):
     original_shape = input_cells.shape
     old_point_numbers = input_cells.flatten()
     unique_point_numbers, unique_inverse = numpy.unique(old_point_numbers, return_inverse=True)
     new_points = input_points[unique_point_numbers]
     new_cells = unique_inverse.reshape(original_shape)
     return new_points, new_cells

but this functionality may be general interest.

I think you're using an outdated version. Try upgrading plus
boundary_mesh.remove_orphaned_nodes()

Thank you for your quick answer.
I upgraded from meshio 4.0.16 to 4.3.3 and, as anticipated, remove_orphaned_nodes() does the job.
Meshio gains in importance, as a growing number of users and software relies on it. Again thank you for this great tool!
For sake of backward compatibility I would appreciate, if a function like prune() does not abruptly disappear, but give a message like "prune() was removed in version X.Y, use remove_orphaned_nodes() or `remove_lower_dimensional_cells()" instead, or even if there would be a transition like "prune()`` is obsolete and will be removed soon".  And I hope the new functions will last for a long period.

I try to stick to semver for meshio, but you're right, this change went unannounced. Definitely an oversight. Thanks again for confirming it works!


[Feature Request] Does Element have a plan to develop an Angular version?

Existing Component
No
Component Name
Angular
Description
Element is the perfect control I've ever seen. But unfortunately, he did not have an angular version, do not know if there are plans to develop angualr version?

https://github.com/eleme/element-angular I think this is still in an early stage, you can watch this repo to get latest news.


Just to be clear: I'm a newbie, or else I would send a PR 👍

Agree. It also seems like the example is pretty outdated compared to the current API.

Trying to use modals as the example code shows. And it crashes the entire app when used with a view with https://github.com/FaridSafi/react-native-gifted-messenger

@sondremare Check Example project, does modal work for you?

Agree, also a bit confused about Modal usage.
If using a Modal as a way of reporting App status to the user e.g. "Network connection failed" etc.
displaying the Modal works fine I can show it on each screen as the user navigates.
However as Actions.pop() (or maybe ActionConst.BACK in latest version) is used to dismiss the Modal, if I push another route to the stack and then try to dismiss the Modal it instead pops the most recently added route from the stack and the Modal is stuck there
Is there a better way to implement or is it possible to override onNavigate on the Modal component for example? I tried adding it as a prop to the Scene but it prevented the component from rendering
E.g.
      <Router createReducer={this.reducerCreate.bind(this)} >
        <Scene key="modal" component={Modal} >
          <Scene key="root">
            <Scene key="loginScreen" hideNavBar={true} initial={this.state.needSignIn} component={LoginScreen} type="reset" duration={200} />

          </Scene>
            <Scene key="statusModal" component={ErrorModal} onNavigate={ ()=> Actions.loginScreen()}/>
        </Scene>
      </Router>

I have some trouble with Actions.pop() when switch tabs while modal is open.
Is there a action to close modal or what @charpeni is the best way

@heat @cridenour I tried to submit a pull request, but got permission denied. Here is the example of Modal usage I was trying to submit:
import StatusModal from './components/StatusModal'

<Router>
  <Scene key="modal" component={Modal} >
    <Scene key="root">
      <Scene key="screen1" initial={true} component={Screen1} />
      <Scene key="screen2" component={Screen2} />
    </Scene>
      <Scene key="statusModal" component={StatusModal} />
  </Scene>
</Router>

Then in the StatusModal Component we can define what we want it to look like and what props can be passed to it:
class StatusModal extends Component {

  constructor(props) {
    super(props)
    // set state with passed in props
    this.state = {
      message: props.error,
      hide: props.hide,
    }
    // bind functions
    this.dismissModal = this.dismissModal.bind(this)
  }

  dismissModal() {
    this.setState({hide: true})
  }

  // show or hide Modal based on 'hide' prop
  render() {
    if(this.state.hide){
      return (
        <View>
        </View>
      )
    } else {
        return (
          <TouchableHighlight style={styles.mainContainer} onPress={this.dismissModal}>
            <Text style={styles.text}>{this.state.message}</Text>
          </TouchableHighlight>
        )
      }
  }
}

Lastly when calling the Modal pass the props defined in the component, for example an error message and a 'hide' prop of false to display the Modal:
Actions.statusModal({error: "Network failed...", hide: false})
When the Modal is pressed it will set hide to true and return an empty view.

Hi,
I have exactly the same code as @brien-crean, but I am getting this kind of error: screenshot.
What I am doing wrong?
Thanks,
Daniel

I'll try stack it again before pop.  Actions.modalApp(); Actions.pop()

I have the same problem. The hiding technique in ed28f7f  works but it breaks the Action.pop behaviour, at least for the first call after presenting the modal anyways.

One solution for this would be for Actions.ACTION_NAME to return a reference that can be passed on to Actions.pop($REF). Thoughts?

@brien-crean  , i try to hide the modal by Actions. statusModal({hide: true}) but failed, the render of StatusModal indeed returns an empty view, but the modal still on the screen, so weired.

@omeid @flare216 yes, unfortunately there is a flaw with my solution, the Modal never gets popped from the stack so will only appear once, other pushes of the Modal will result in error.
I have been trying to create another solution but have been unsuccessful so far.
Potential solutions could be the ability to remove a Scene from the stack by name, (after checking that it exists on the stack), as @aksonov proposed e.g. removeScene(ACTION_NAME) or the solution that @omeid proposed above, either would work. Unfortunately I don't know if I would be able to figure it out myself

I've added Actions.get(ACTION_NAME) to receive scene with ACTION_NAME. This way you could store everything during displaying of that scene including refs using Actions.refresh({key:ACTION_NAME, ref:this.refs.REF_NAME}) then use Actions.get(ACTION_NAME).ref from any other action

Thanks @aksonov, I'll give that a shot and see if I can submit another PR for the docs

How can I have a transparent background on my Modal?
Should I use Modal from react-native ?

I'm still completely confused by modals with this Router.
The detailed example in the documentation shows modals acting like the Modal component of React Native - this is what i want. When i call Actions.login to open my login screen, i want it to pop up over the content of the current page - this means i can check if a user is authenticated, and if not, pop up the login screen to authenticate them in situ.
Is this possible? It looks easy in the example, but i can't get modals to be anything more than a little chunk of <View> that just appears at the bottom of the screen when triggered.
What am i missing? I would love to know so i can help contribute to the documentation.

If the view is showing up then the router is doing its job, and that view just needs styling.  Position absolute, top, left, right, bottom all at 0.

@cridenour position absolute shouldn't be the default?
what about transparent background, is it possible without using <Modal> from react-native?

@cridenour the detailed example shows it appearing using a slide-in-from-bottom animation, and i can't see anything in the example that effects that transition - therefore i assumed that it was part of the router?

I believe a transparent background is possible, as I've done it accidentally. However I'm on mobile and can't provide an example. But regarding positioning, the default is fluxbox, but you can manually set it to absolute.
With the direction, on the modal view in your scene config, just set direction="vertical" and it should do the trick.

Beautiful, thank you :) i'll give that a try after i've walked the 🐶

I tried adding the getSceneStyle prop to my RouterWithRedux, but I get the same problem that @Daniellt1 was getting: "Objects are not valid as a React child (found: object with keys {..."
So brutal that it's this difficult to get a Modal working :s
Here's the render method of my index.ios.js file
render() {
        return (
            <Provider store={store}>
                <AppDrawersContainer>
                    <RouterWithRedux hideNavBar={true} getSceneStyle={getSceneStyle}>
                        <Scene key="modal" component={Modal}>
                            <Scene key="root" renderTitle={() => { return <AppLogo /> }}>
                              ... other scenes ...
                            </Scene>
                            <Scene key="statusModal" component={StatusModal} />
                        </Scene>
                    </RouterWithRedux>
                </AppDrawersContainer>
            </Provider>);
}

The StatusModal is a direct copy of the one provided in the example.
If I take this scene out, I don't get the error, but of course the modal won't load
<Scene key="modal" component={Modal}>
Versions:
react-native: v0.34.0-rc.0
react-native-router-flux: v3.34.0 (downgraded from 3.35.0 because of another issue)

Wait why do you have getSceneStyle on your router? I don't think it's valid on a router, only scenes.

https://github.com/aksonov/react-native-router-flux/blob/822e83f08f5063cd33bc0c92030311c9acafb2af/Example/Example.js#L107

Ah, you're right - sorry. Maybe instead of nesting the scenes under the Router object, pass them using the scenes prop and Actions.create

I ended up going with react-native-simple-modal. I liked how easy it was to implement and it handles a queue of modals quite effectively and doesn't cause any weird routing issues that people seem to have come across.

I had the same issues, but realised I was importing Modal from react-native instead of react-native-router-flux

@robinweston that was the issue for me as well, thank you for posting that.
I attempted to make a PR to update the docs to be a bit more informative, not sure if I did it right but I didn't seem to have permission. I suggested that the first code block in the modal example be changed to the following:
import React, { Component } from 'react';
import { Text, View, TouchableHighlight } from 'react-native';
import {
  Actions,
  Router,
  Scene,
  Modal // Note that this needs to be our implementation of modal, not React-Native's
} from 'react-native-router-flux';
import StatusModal from './components/StatusModal'

export default class App extends Component {
  render() {
    return (
      <Router>
        <Scene key="modal" component={Modal} >
          <Scene key="root">
            <Scene key="screen1" initial={true} component={Screen1} />
            <Scene key="screen2" component={Screen2} />
          </Scene>
          <Scene key="statusModal" component={StatusModal} />
        </Scene>
      </Router>
    );
  }
}

class Screen1 extends Component {
  render() {
    return (
      <View style={{margin: 128}}>
        <Text onPress={() => Actions.statusModal({error: "Network failed...", hide: false})}>This is Screen1!</Text>
      </View>
    )
  }
}

class Screen2 extends Component {
  render() {
    return (
      <View style={{margin: 128}}>
        <Text onPress={() => Actions.statusModal({error: "Network failed...", hide: false})}>This is Screen2!</Text>
      </View>
    )
  }
}

That file should be good for a user to copy paste, as long as StatusModal is present and valid. If that is too verbose I think even something as simple as the following would be a big improvement, because I didn't know that this project had a Modal component until I got to this thread.
import { Modal } from 'react-native-router-flux';
import StatusModal from './components/StatusModal'

export default class App extends Component {
  render() {
    return (
      <Router>
        <Scene key="modal" component={Modal} >
          <Scene key="root">
            <Scene key="screen1" initial={true} component={Screen1} />
            <Scene key="screen2" component={Screen2} />
          </Scene>
          <Scene key="statusModal" component={StatusModal} />
        </Scene>
      </Router>
    );
  }
}

By the way, I couldn't find the styles that are referenced in the StatusModal component, it might be nice to either remove the references to them or define them in the example, as right now it crashes.

@sibelius Did you find a way to style a transparent background?

I'm using Modal component from react-native core

Based on this note from @aksonov from July:

I've added Actions.get(ACTION_NAME) to receive scene props with ACTION_NAME. This way you could store everything during displaying of that scene including refs using Actions.refresh({key:ACTION_NAME, ref:this.refs.REF_NAME}) then use Actions.get(ACTION_NAME).ref from any other action

Is this a solution to resolve the issue of not being able to pop() the modal? I am having the same issue as described above, where the first view of the modal works, but another others cause a duplicate key error. Trying to figure out how to pop the modal, when hiding it.

Is the goal of this modal to be treated like a native modal respective to the device it's running on? I can't seem to get anything more than a view talking up 50% of it's container view. Is that accurate out of the box functionality?
@danmatthews Were you able to get past that?

If the view is showing up then the router is doing its job, and that view just needs styling. Position absolute, top, left, right, bottom all at 0.

@cridenour If that applies styling, could that be proposed to default functionality since that is how modals behave natively? Including a navigation bar.

If the view is showing up then the router is doing its job, and that view just needs styling. Position absolute, top, left, right, bottom all at 0.

@cridenour If that applies styling, could that be proposed to default functionality since that is how modals behave natively? Including a navigation bar.

@ryancoughlin That suggestion was for their particular case. If you check out the Example app, the modal example (Login) does not require such styling.

Oh great, that was super helpful. Seemed like the trick was nesting it within another scene.
Sent from my iPhone

On Mar 3, 2017, at 5:57 PM, Chris Ridenour<EMAIL_ADDRESS>wrote:
@ryancoughlin That suggestion was for their particular case. If you check out the Example app, the modal example (Login) does not require such styling.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ryancoughlin i am going through figuring out the exact same problem... could you kindly provide how you went about solving it.

ok I seem to figured it out also.... basically modified styling to be something as such...
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    position: 'absolute',
    top: 0,
    bottom: 0,
    right: 0,
    left: 0,
    backgroundColor: 'rgba(0,0,0,0)',
  },

which (from the example) is attached to TouchableHighlight
  ```

{this.state.message}

```
I also modified the dismissModal to have an Action.pop() .. since after hiding it doesn't come back up.


Content changes to create account process

As per: https://docs.google.com/document/d/1E9WCFAEvXjzaPr1nF1HaLeAMamnQm3xcrh6fchBUKmU/edit#

👍


__shfl() operation lanes don't wrap around

__shfl() segfaults when being fed a negative lane id. While HIP on it's own right doesn't define what the behavior of __shfl() should be in this case, the CUDA docs do:

If srcLane is outside the range [0:width-1], the value returned corresponds to the value of var held by the srcLane modulo width (i.e. within the same subsection).

HIP follows this behavior as it relays to __builtin_amdgcn_ds_bpermute described in the Vega ISA docs in the case of width == 64 under opcode 63:

// VGPR[index][thread_id] is the VGPR RAM
// VDST, ADDR and DATA0 are from the microcode DS encoding tmp[0..63] = 0 for i in 0..63 do
// ADDR needs to be divided by 4.
// High-order bits are ignored. src_lane = floor((VGPR[ADDR][i] + OFFSET) / 4) mod 64

In practice, the code in question which triggered the segfault issued a __shfl() with negative source lane id but then discards the result (doesn't commit it to memory, but saves the branching for checking if said operation is valid in the first place). Because CUDA and HIP handle this is device code, I'd lean toward the code being valid (ugly nontheless).
HIP-CPU should take a stand and define some kind of behavior that doesn't segfault.
(Note that the issue is slightly graver, because HIP in general doesn't define any behavior for these operations. According to the RDNA ISA docs p. 211, the wrapping behavior for the permute operations are still based on 64, even though the underlying arch uses 32 wide wavefronts. The underdefined nature of __shfl() in HIP, while following CUDA behavior when using GCN/CDNA derivates but deviating for RDNA derivates is going to bite hard in the future.)

Whoops, segfaults are bad, this'll be fixed. Seems that you've also found a gap in HIP unit tests in general, as negative indices do not appear to be covered anywhere - nice!
I think that if we go with the way in which this is worded in CUDA we're left no better, as the remainder always carries the sign of the dividend, and thus srcLane module width will yield a negative quantity. That being said, a more workable (de facto, as opposed to de jure) definition appears to exist in https://www.informit.com/articles/article.aspx?p=2103809&seqNum=6, "[...]__shfl() returns the value of var held by the thread whose ID is given by srcLane. If srcLane is outside the range 0..width-1, the thread’s own value of var is returned". This also feels possibly more useful than treating a negative quantity as a really large unsigned quantity and essentially broadcasting the value in the highest active lane, which could be another interpretation of the CUDA Programming guide. I suspect that this is UB and it is not stated as such either accidentally or intentionally, but that's a different kettle of fish; if we're OK with the behaviour from the Handbook, I'd go with that one.

Whoops, segfaults are bad, this'll be fixed. Seems that you've also found a gap in HIP unit tests in general, as negative indices do not appear to be covered anywhere - nice!
I think that if we go with the way in which this is worded in CUDA we're left no better, as the remainder always carries the sign of the dividend, and thus srcLane module width will yield a negative quantity. That being said, a more workable (de facto, as opposed to de jure) definition appears to exist in https://www.informit.com/articles/article.aspx?p=2103809&seqNum=6, "[...]__shfl() returns the value of var held by the thread whose ID is given by srcLane. If srcLane is outside the range 0..width-1, the thread’s own value of var is returned". This also feels possibly more useful than treating a negative quantity as a really large unsigned quantity and essentially broadcasting the value in the highest active lane, which could be another interpretation of the CUDA Programming guide. I suspect that this is UB and it is not stated as such either accidentally or intentionally, but that's a different kettle of fish; if we're OK with the behaviour from the Handbook, I'd go with that one.


Create Backend functionality for Admin panel for managing books.

Create the Model and APIs for Admin(Seller) in the MongoDB database which can manage the books listed by him/her on the website. Will also create Model and APIs for books.
Model of Admin will include-
_id, name, email, password and books(array of book ids) fields.
Model of Book will include-
_id, admin_id, name, description, images, price, reviews, rating.

Please Assign me with this Task under GSSOC 23. ThankYou.

Issues are assigned according to the first come, first serve rule. Please create your own issue.

@Saksham1005 are you going to use "refine" for it ?

No, I will form the full layout of the admin portal and create necessary APIs for books.
Please assign me the task under GSSOC'23.


Bug: examples with partition key not working

Describe the bug
Provide a clear and concise description of the bug.
fastapi.exceptions.FastAPIError: Invalid args for response field! Hint: check that typing.Annotated[logging.Logger, <faststream.utils.context.types.Context object at 0x14b66d180>] is a valid Pydantic field type. If you are using a return type annotation that is not a valid Pydantic field (e.g. Union[Response, dict, None]) you can disable generating the response model from the type annotation with the path operation decorator parameter response_model=None
https://github.com/airtai/faststream/pull/641#issuecomment-1819610180
How to reproduce
Include source code:
from faststream import FastStream
...

And/Or steps to reproduce the behavior:

...

Expected behavior
Explain what you expected to happen clearly and concisely.
Observed behavior
Describe what is actually happening clearly and concisely.
Screenshots
If applicable, attach screenshots to help illustrate the problem.
Environment
Include the output of the faststream -v command to display your current project and system environment.
Additional context
Provide any other relevant context or information about the problem here.

Btw, make Context FastAPI - compatible option is a great idea


[Udemy] youtube_dl.utils.ExtractorError: No video formats found

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[ ] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

(base) PS C:\Users\shubh\Downloads\youtube-DL> youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.5 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: avconv present, avprobe present, ffmpeg 2021-12-30-git-12f21849e5-full_build-www.gyan.dev, ffprobe 2021-12-30-git-12f21849e5-full_build-www.gyan.dev
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

(base) PS C:\Users\shubh\Downloads\youtube-DL> youtube-dl --cookie C:\Users\shubh\Downloads\udemy.com_cookies.txt -o 'C:/UdemyDownloads/SIE/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/siefinraexam/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookie', 'C:\Users\shubh\Downloads\udemy.com_cookies.txt', '-o', 'C:/UdemyDownloads/SIE/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s', 'https://www.udemy.com/siefinraexam/', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.5 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: avconv present, avprobe present, ffmpeg 2021-12-30-git-12f21849e5-full_build-www.gyan.dev, ffprobe 2021-12-30-git-12f21849e5-full_build-www.gyan.dev
[debug] Proxy map: {}
[udemy:course] siefinraexam: Downloading webpage
[udemy:course] 1748644: Downloading course curriculum
[download] Downloading playlist: 1748644
[udemy:course] playlist 1748644: Collected 236 video ids (downloading 236 of them)
[download] Downloading video 1 of 236
[udemy] 14991748: Downloading webpage
[udemy] 14991748: Downloading lecture JSON
[udemy] 18371590: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://www.udemy.com/assets/18371590/files/2019-06-04_13-55-17-6c78055b578ce785e9f5e5ad5d663433/1/hls/AVC_1920x1080_800k_AAC-HE_64k/aa001da044de0f8b61938037fe1e610e8b88.m3u8?provider=cloudfront&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoiMjAxOS0wNi0wNF8xMy01NS0xNy02Yzc4MDU1YjU3OGNlNzg1ZTlmNWU1YWQ1ZDY2MzQzMy8xLyIsImV4cCI6MTY0MTIyNTI1Nn0.gMm_4t-dJtAdlJBkNSkpa3omvsw_PVC6A3GesDs5HwU&v=1'
[download] C:\UdemyDownloads\SIE\1748644\1 - Course Introduction\Course Introduction.mp4 has already been downloaded
[download] 100% of 1.68MiB
[debug] ffmpeg command line: ffprobe -show_streams "file:C:\UdemyDownloads\SIE\1748644\1 - Course Introduction\Course Introduction.mp4"
[ffmpeg] Fixing malformed AAC bitstream in "C:\UdemyDownloads\SIE\1748644\1 - Course Introduction\Course Introduction.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:C:\UdemyDownloads\SIE\1748644\1 - Course Introduction\Course Introduction.mp4" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:C:\UdemyDownloads\SIE\1748644\1 - Course Introduction\Course Introduction.temp.mp4"
[download] Downloading video 2 of 236
[udemy] 14632682: Downloading webpage
[udemy] 14632682: Downloading lecture JSON
[udemy] 18629010: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://www.udemy.com/assets/18629010/files/2019-06-21_19-11-56-8dbb4a06876c703cfd632e057d5f15c5/1/hls/AVC_1920x1080_800k_AAC-HE_64k/aa00caab0a1bc017837c716237b707e2c4e3.m3u8?provider=cloudfront&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXRoIjoiMjAxOS0wNi0yMV8xOS0xMS01Ni04ZGJiNGEwNjg3NmM3MDNjZmQ2MzJlMDU3ZDVmMTVjNS8xLyIsImV4cCI6MTY0MTIyNTI1N30.OEt3m6fmUYnOuwOq3igmShrOyHAB4kn_XPpxT8jGNwU&v=1'
[download] C:\UdemyDownloads\SIE\1748644\2 - Section 1 - Conducting Yourself as a Financial Services Professional\SIE Exam Overview.mp4 has already been downloaded
[download] 100% of 4.06MiB
[debug] ffmpeg command line: ffprobe -show_streams "file:C:\UdemyDownloads\SIE\1748644\2 - Section 1 - Conducting Yourself as a Financial Services Professional\SIE Exam Overview.mp4"
[ffmpeg] Fixing malformed AAC bitstream in "C:\UdemyDownloads\SIE\1748644\2 - Section 1 - Conducting Yourself as a Financial Services Professional\SIE Exam Overview.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:C:\UdemyDownloads\SIE\1748644\2 - Section 1 - Conducting Yourself as a Financial Services Professional\SIE Exam Overview.mp4" -c copy -f mp4 "-bsf:a" aac_adtstoasc "file:C:\UdemyDownloads\SIE\1748644\2 - Section 1 - Conducting Yourself as a Financial Services Professional\SIE Exam Overview.temp.mp4"
[download] Downloading video 3 of 236
[udemy] 14967712: Downloading webpage
[udemy] 14967712: Downloading lecture JSON
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\extractor\common.py", line 534, in extract
ie_result = self._real_extract(url)
File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\extractor\udemy.py", line 408, in _real_extract
self._sort_formats(formats, field_preference=('height', 'width', 'tbr', 'format_id'))
File "c:\programdata\anaconda3\lib\site-packages\youtube_dl\extractor\common.py", line 1374, in _sort_formats
raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Description

WRITE DESCRIPTION HERE
I see the "No video format found" error when I try to download a course from Udemy.

Tons of duplicates, actually.

In particular, duplicate of #29925.

https://github.com/ytdl-org/youtube-dl/issues/30569


add validate_execs_in_gpu_plan to pytest.ini

I forgot to register the mark so pytest was printing a warning.  It was still working though.
/home/tgraves/workspace/spark-rapids/integration_tests/src/main/python/marks.py:19: PytestUnknownMarkWarning: Unknown pytest.mark.validate_execs_in_gpu_plan - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
Signed-off-by: Thomas Graves<EMAIL_ADDRESS>

build


Cookie not needed

I just set the cookie to '' and it still worked for the example in the README.
We should update the documentation if the project becomes active again

In some regions, cookies are still needed.

I ran into an issue that seems to be fixed when the cookie is removed from the request:  https://github.com/transitive-bullshit/bing-chat/issues/39

On my bing instance on edge, I didn't even have a _U cookie - which lead me to find that
export BING_COOKIE='nothing'
will work just fine.  :-)

at least for me anyways.


fix: boundaries option propagation in ValueRecorder Metric

Which problem is this PR solving?

Boundaries option is not propagated to histogram aggregator, if set through create options
fix https://github.com/open-telemetry/opentelemetry-js/issues/1626

Short description of the changes

Set boundaries on valueRecorder creation

prometheus exporter test left

OK,now its ready.
@obecny @dyladan @vmarchaud  pls review


Unexpected behavior from get_tbl_information_dbi when tbl name created with dbplyr::in_schema

The code found here produces behavior which will cause failure, including of core functions like create_agent
If the tbl supplied to create_agent is created with dbplyr::in_schema like so:
con <- DBI::dbConnect(RPostgres::Postgres())
test_tbl <- tbl(con, dbplyr::in_schema(schema = "public", table = "<table_name>"))

Then, get_tbl_information_dbi will convert the table name into a length two character vector. Then when the q_types query is created it will also be a length two character vector. When the query is sent to the db, it fails.
@rich-iannone, I would love any guidance on how to create a reprex for these types of issues. I have needed to create them for other bugs I've found in R packages, but haven't been able to figure out how to mock the db connection.
Anyways, I'm happy to take a swing at fixing this. I'm thinking we could check the class of dbplyr::remote_name(tbl) and change behavior accordingly. Thoughts or alternatives?

PS. I created this issue like in the screenshot which bypassed the issue template unintended by me


Use the 2021-11-17 index in the API

Goes with https://github.com/wellcomecollection/catalogue-pipeline/pull/1975

Closing as outdated.


BUG Not preserving endline after -- style comments, fails to compile

Environment
Liquibase Version:
4.3.3
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
Oracle
Liquibase Extension(s) & Version:
Database Vendor & Version:
Oracle 19c
Operating System Type & Version:
Linux
Description
The end line character after a -- comment is not preserved, and then packages fail to compile.
Steps To Reproduce
This is an example of a changelog generated:

Which after applying the changelog results in:

Expected/Desired Behavior
Expected behaviour would be preserving endlines like exported file:

Hi @yevon Thanks for writing up this issue. We will add this to the list of issues we process.

No, this happened with standalone liquibase library in version 4.3.3 when I reported it. I haven't tried again in latest liquibase release. I will try it again in next weeks in both liquibase standalone and sqlcl new versions and report the results.

Thanks, @yevon . Let me know what you find.

sqlcl 21.4 makes reference to this bug as fixed, I will try it again as now sqlcl gives support for sql files and gives more filter options. Now I don't have time to test this but I have to implement CI/CD for oracle in my company in the near future and I will have a look at it htne.
33489983 | LIQUIBASE UPDATE LOOSES BLANK LINES FOR PLSQL PACKAGES

Hello @yevon, sorry for the late response.
The Liquibase version you're using is actually a forked version that's maintained by Oracle, so we're not able to help with this issue.
Here's the Oracle support page in case you're still having problems.
Thank you,
Tatiana


Investigate setting up a Galaxy server

What's involved?
System resources?
Maintenance?
Who pays?

I have requested an on-premises virtual machine to host our Proof of Concept.
I will confirm the exact specification soon but:

500GB SSD
16-32GB RAM
=>i5 or equivalent
OS: Ubuntu 20.x

Public url: sdr.nhm.ac.uk

@PaulBrack for the maintenance of Galaxy and the Registry of tools (Tool Shed in Galaxy vernacular) this will fall to Manchester during the PoC/UAT stages (e.g. until the end of the project).
We can review system resources following the PoC to decide if we need something higher spec.

Galaxy server installed on sdr-poc-1 and NGINX proxy set up - unavailable on sdr.nhm.ac.uk so far so may require some domain set up or firewall admin outside my control


Cannot find name corresponding to UUID

Following the intial setup at https://docs.lyceum.ml/dev/, I'm running into an issue trying to install any Lyceum package
(v1.3) pkg> add LyceumBase
  Updating registry at `~/.julia/registries/LyceumRegistry`
  Updating git-repo `https://github.com/Lyceum/LyceumRegistry`
 Resolving package versions...
ERROR: cannot find name corresponding to UUID 9da8a3cd-07a3-59c0-a743-3fdc52c30d11 in a registry

(v1.3) pkg> add Lyceum
 Resolving package versions...
ERROR: cannot find name corresponding to UUID 189a3867-3050-52da-a836-e630ba90ab69 in a registry

(v1.3) pkg> add LyceumMuJoCo
 Resolving package versions...
ERROR: cannot find name corresponding to UUID 39de3d68-74b9-583c-8d2d-e117c070f3a9 in a registry

This is in a freshly installed Julia 1.3.1 REPL. OS:
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

I've tracked down this bug with pkg. Apparantly, its no good to add custom registeries to a fresh installed Julia. Resolved by added the default registery before adding Lyceum.
Reference:
https://forum.mimiframework.org/t/error-installing-mimi-under-v1-3-1/109/3


bug: useWalletClient returns incorrect chainId

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.4.1
Current Behavior
The useWalletClient hook returns an incorrect chain id in client.chain object. It always returns 1, no matter which chain the wallet is connected to
Expected Behavior
The wallet client object contains the wallet's currently connected chain
Steps To Reproduce
  const { data: walletClient } = useWalletClient();

  console.log(walletClient?.chain?.id)

Minimal reproducible example is available below
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://stackblitz.com/edit/new-wagmi-lp8bpf?file=src%2FApp.tsx
Anything else?

it seems it is returning public client chain id & it does not even update on chain change,
& chain for useNetwork hook gets updated properly.

@mmv08 I forked your example, updated the wagmi config so there's 2 chains https://stackblitz.com/edit/new-wagmi-m1ryz3?file=src%2Fwagmi.ts. What's the issue? I see the chain id being updated correctly

@mmv08 I forked your example, updated the wagmi config so there's 2 chains https://stackblitz.com/edit/new-wagmi-m1ryz3?file=src%2Fwagmi.ts. What's the issue? I see the chain id being updated correctly

Hey, I believe that doesn't solve my issue, as it still doesn't return the wallet's chain ID. In my application, I can't make assumptions about which chains the user will be connected to and, therefore have them in the config.

@mmv08 I forked your example, updated the wagmi config so there's 2 chains https://stackblitz.com/edit/new-wagmi-m1ryz3?file=src%2Fwagmi.ts. What's the issue? I see the chain id being updated correctly

Hey, I believe that doesn't solve my issue, as it still doesn't return the wallet's chain ID. In my application, I can't make assumptions about which chains the user will be connected to and, therefore, have them in the config.

Got it, I misunderstood the original issue. The walletClient, at least with wagmi, seems tied to the publicClient and/or configured chains, so what you describe is the expected behavior, from the source code anyway. I can see how having walletClient always reflect current network being more transparent. But the current behavior ties wallet actions to the chains configured, which seems beneficial. I'm not educated enough to know which is the better behavior
Does useNetwork not meet your needs for this case?

I'm also facing the same issue, walletClient provided by useWalletClient alwasy have chainid 1

I think this issue https://github.com/MetaMask/metamask-mobile/issues/7206 is also related to this issue. There is a video attached to this issue, but it is even reproduced exactly on the wagmi example page.

We have moved on to Wagmi v2. Feel free to re-open this with a minimal reproduction if this still exists there.


add rosdep install to Setup instruction for resolving dependencies

When I tried to use this awesome repository, I found ament-cmake-vendor-package is needed to build this package.
I tested this behavior by using both iron and rolling images on Docker Official Image for ros, but it seems that this package is not installed by default.
% docker run -it ros:rolling
# sudo apt update && sudo apt install curl
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# source "$HOME/.cargo/env"
# mkdir -p ws/src && cd ws/src/
# git clone https://github.com/ros2/rmw_zenoh
# cd ..
# colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
Starting >>> zenoh_c_vendor
--- stderr: zenoh_c_vendor
CMake Error at CMakeLists.txt:11 (find_package):
  By not providing "Findament_cmake_vendor_package.cmake" in
  CMAKE_MODULE_PATH this project has asked CMake to find a package
  configuration file provided by "ament_cmake_vendor_package", but CMake did
  not find one.

  Could not find a package configuration file provided by
  "ament_cmake_vendor_package" with any of the following names:

    ament_cmake_vendor_packageConfig.cmake
    ament_cmake_vendor_package-config.cmake

  Add the installation prefix of "ament_cmake_vendor_package" to
  CMAKE_PREFIX_PATH or set "ament_cmake_vendor_package_DIR" to a directory
  containing one of the above files.  If "ament_cmake_vendor_package"
  provides a separate development package or SDK, be sure it has been
  installed.

---
Failed   <<< zenoh_c_vendor [0.11s, exited with code 1]

Summary: 0 packages finished [0.41s]
  1 package failed: zenoh_c_vendor
  1 package had stderr output: zenoh_c_vendor
  1 package not processed

Of course, those familiar with ROS will quickly realize that they can just operate apt install ros-<DISTRO>-ament-cmake-vendor-package to fix this issue. But there are others who don't. I think it would be not good to waste time before trying out this wonderful package. Also, I understand that it is also possible that this operation may not be necessary in the future.
However, I want to suggest adding a note about this solution for now.

@Yadunund Thank you for reviewing!
Yes, that way is smarter. I added the commit to add the instruction and changed the PR title.


Remove recursion in semantic module

Remove most of the recursion in the semantic module. Does not do normalized and associated functions (ones that either call it or take in a normalized policy).
Includes 4 trivial preparatory clean up patches at the front.

Needs #613

Ooooo, the first two cleanup patches should not technically be part of this PR because I never ended up being able to do normalized - I'm attacking it in a separate PR, building on this one - please excuse me for leaving them in this PR.

Looks like we need a rebase after #616. But e85b046e6b7af3c2d8a202817face4c74313645b looks good.

Rebased and removed the _translate_pk helper as we did in concrete.

cbbc5825142d897ff7af2a7aec00aed28df239c4 onward does not compile after the rebase.

cargo test  --workspace --all-features --all-targets runs cleanly on all those commits locally for me. What invocation is failing for you?

@tcharding just cargo test.
camus 2023-10-17 13:58:39  ~/code/rust-bitcoin/miniscript/pr-review   ➦ cbbc5825  ±  git reset --hard cbbc582
HEAD is now at cbbc5825 Add Arc to the semantic::Policy::Thresh vector
 camus 2023-10-17 13:58:44  ~/code/rust-bitcoin/miniscript/pr-review   ➦ cbbc5825  ±  cargo test
   Compiling miniscript v10.0.0 (/store/home/apoelstra/code/rust-bitcoin/miniscript/pr-review)
error[E0599]: no method named `_translate_pk` found for reference `&Arc<semantic::Policy<Pk>>` in the current scope
   --> src/policy/semantic.rs:147:47
    |
147 |                     subs.iter().map(|sub| sub._translate_pk(t)).collect();
    |                                               ^^^^^^^^^^^^^ help: there is a method with a similar name: `translate_pk`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `miniscript` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error[E0599]: no method named `_translate_pk` found for reference `&std::sync::Arc<semantic::Policy<Pk>>` in the current scope
   --> src/policy/semantic.rs:147:47
    |
147 |                     subs.iter().map(|sub| sub._translate_pk(t)).collect();
    |                                               ^^^^^^^^^^^^^ help: there is a method with a similar name: `translate_pk`

error: could not compile `miniscript` (lib test) due to previous error

Same error with --all-features.

Bizzare, I rebased and ran cargo on each commit. Will re-try today.

Had to rebase to fix merge conflicts. Corrected the removal of _translate_pk ... hopefully.

Sorry for the long absence, I can review this after a rebase.


Fix some typos

Signed-off-by: Jonathan Yu<EMAIL_ADDRESS>

thanks so much!

you'd be surprised how many people i had review this hahah

Thank you for sharing your knowledge! Fixing a few silly typos is the least that I could do :)
Also, my employer thanks you for your shoutouts for xdg-app and bubblewrap :D


ARM Template deploys with .NET version 6.0.0

Expected Behavior
Deploy ARM Template and core setup to work
Actual Behavior
Took a bit of digging, but the VM deploys with the latest version of .NET - 6.0.0.
Manually changed the version of .NET to PowerShell script downloads to 5.0.0 worked as expected.
WebService doesn't start
Steps to Reproduce the Problem
Deploy ARM template

Thanks for finding this bug (and the solution).
I uploaded a new version with fixed dotnet version (5.0) you can redeploy with latest release and it should be fixed.