[Feature Request] Depth wallpapers?

Depth wallpapers could be added like this:

Allow adding a clock over the user-selected wallpaper. Set that as live-wallpaper
Tell the user to disable his screenlock clock, in case his device allows it. (Many custom roms will let you do this)
Let the user select a "subject image", which will be above the clock in the live-wallpaper.

Thanks! Awesome project!

Peristyle is wallpaper library manager app, your request should align more with a dynamic live wallpaper or something of that nature.


Fix PFM to not fail packets that aren't FungibleTokenPacketData

Currently, PFM fails packets that are not FungibleTokenPacketData. This means that PFM cannot support IBC apps that don't exclusively use FungibleTokenPacketData as the payload format (i.e., ics20-* or the transfer app). Therefore, CosmWasm cannot have PFM in its IBC stack, even though CosmWasm contracts may implement the ics20-* protocol (e.g., cw20-ics20: https://github.com/CosmWasm/cw-plus/tree/HEAD/contracts/cw20-ics20).
This commit fixes the issue by passing the packet forward in the stack rather than failing packets that are not FungibleTokenPacketData.
This will allow PFM to support a wider range of IBC apps and will make it possible for CosmWasm to have PFM in its IBC stack, which will improve the interoperability and usability of PFM in the Cosmos ecosystem

@mergify backport release/v4


Unoserver is alive enhancement

Is there a preferred way to ensure the unoserver is up and running?  I was kind of expecting like an unoserver --info command that would verify the server is up and running.  I am using a ps aux to verify soffice.bin is running which is not really ideal.

It's probably easier to implement on the clients. That should be easy.


[Accordion] Open level of accordion with hover

Hi! I'm trying open a level of accordion when I'm over a title but I don't know how can do it because I don't know get the index of the level what i'm over it.
I was searching in documentation but i didn't see nothing... There is only the event on:'click' but there not is hover or something similar.
Thanks!

Thanks !!


Add documentation to String Handling exercise

alternative.py needs documentation in the form of comments

Fixed with PR: https://github.com/sailaja18/CoGrammar-excercises/pull/4


Base64 submit tx

Extends #6 with some fixes to examples, hopefully nearly at the point of stability again.

:+1:


Added function to controller to instantly flip the card

Description
Added function toggleCardWithoutAnimation to the controller that toggles the card instantly.
It is implemented in the same way as the regular toggleCard function.
There might be a better way to implement this feature. It didn't seem to work by simply calling setState with isFront toggled.
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
I added a new test that validates the function in the same as the regular toggleCard function.
I have also tested it in my own project.

[x] Self Code Review
[x] Tested on example project

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] Changed the example project to contain the new feature (only if applies)

@ciriousjoker Setting the animation controller value directly worked. You were probably right about the state being out of sync when I tried it before.
Also added the extra comment and just using .pump() in the test worked.

@BrunoJurkovic Remember to publish to pub.dev at some point


fix usage of inert for React 19

Description
https://github.com/facebook/react/pull/24730 has landed to React 19.
When using radix-ui/themes with React 19, and using the Skeleton component, I get a warning that looks like:
Warning: Received an empty string for a boolean attribute `inert`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.
    at span
    at eval (webpack-internal:///(ssr)/./node_modules/@radix-ui/themes/dist/esm/components/skeleton.js:11:179)

Testing steps
Ran my application with this fix and no longer saw the warning.
Relates issues / PRs
https://github.com/facebook/react/pull/24730

Thanks for the contribution – took a note of your implementation. We'll be looking at supporting React 19 holistically in #526


Swipe error if previously blocked

Hey,

I created a custom fragment, cause i want the users to read the entire page and check a checkbox before go on. It contains a smal text and a checkbox.

I use in internal variable to detect if the checkbox is used. If the value of the checkbox changes- i change the internal var to this value.

In the function canGoForward i just return the internal value.

Problem: If the user checks the checkbox the swipe forward is not working anymore, Until he went back or forward with the buttons/swipe back.
Greetings

Let your Fragment extend SlideFragment.
Then you can call updateNavigation() from your fragment code to notify the IntroActivity of the canGoForward change.
You can even call nextSlide() then to immediately go to the next slide when the user checks the checkbox.


parse-helm charts

Current coverage is 50.22% (diff: 47.51%)

Merging #146 into master will decrease coverage by 2.36%

@@             master       #146   diff @@
==========================================
  Files            46         42     -4
  Lines          1968       1764   -204
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1035        886   -149
+ Misses          933        878    -55
  Partials          0          0

Powered by Codecov. Last update 24dad41...0776cc2


Document the maximum length and size of environment variable values

As a user, I'd like to know the size constraints of the environment and service variable values in advance, so I could build my application accordingly.

@gelbal I remember this support thread, what was the conclusion on the size constraints. I see Thodoris has replied with an answer, can you reach back to the user about the constraint of having large environment variables if they go ahead with it.
On our side, we can add that there is no limit to size of variables though large variables could lead to added traffic? Just to confirm that's traffic on their side if I read it right. Let me know.

@gelbal I remember this support thread, what was the conclusion on the size constraints. I see Thodoris has replied with an answer, can you reach back to the user about the constraint of having large environment variables if they go ahead with it.
On our side, we can add that there is no limit to size of variables though large variables could lead to added traffic? Just to confirm that's traffic on their side if I read it right. Let me know.

IMO it makes sense to enforce some kind of sane limit, otherwise it's an open opportunity for abuse.
Of course, the question to enforce a limit or not is outside the scope of the docs repo.

IMO it makes sense to enforce some kind of sane limit, otherwise it's an open opportunity for abuse.
Of course, the question to enforce a limit or not is outside the scope of the docs repo.

@vipulgupta2048 I already reached out to the user, gave this issue's link and affirmed that going up to 1MB in size shouldn't be a problem -- if that's what you are asking for.
I'm with Pranas that it's sensible to enforce a limit here to prevent abuse. Let's raise it as a product call discussion before we update the docs.

@vipulgupta2048 I already reached out to the user, gave this issue's link and affirmed that going up to 1MB in size shouldn't be a problem -- if that's what you are asking for.
I'm with Pranas that it's sensible to enforce a limit here to prevent abuse. Let's raise it as a product call discussion before we update the docs.

Thanks @gelbal that be a much better way to go about this tbh.

Thanks @gelbal that be a much better way to go about this tbh.

We decided to document 1MB as the limit which should be more than sufficient.
Brainstorm discussion here: https://jel.ly.fish/8f9081b6-5962-471a-a699-ec078b70d881


fix V523 with PVS-Studio

I'm a member of the Pinguem.ru competition on finding errors in open source projects. A bug, found using PVS-Studio. Warning: V523 The 'then' statement is equivalent to the 'else' statement.
(https://github.com/zeux/qgrep/blob/master/src/encoding.cpp#L136)

Thanks!


If npm run init fails, it cannot be run a second time

Hey,
If you run npm run init and it fails due to an error, it cannot be run again because the init gulp script is deleted from the gulp directory.
In my case I skipped step 3 because I just wanted it to download openrct2.d.ts automatically (because the Readme said that is what it does). But when you do this, it errors because the MOD_URL is not a valid url yet. After that, it's not possible to run npm run init a second time because the gulp init script has already been deleted from disk.
Thank you for your time! 🙂

Hi! Sorry that response took so long. I haven't updated the repo in quite some time and I think I won't be anymore, unfortunately I don't really have time for that.
It will remain here as a modders resource, feel free to use any part you need. Thanks!


Generated: Fix pr title update

Automated PR triggered by new code generation.
Update generated source code
Generated SDK source code using:

Generator version 3.30.0
Specification version 1.0.0-dev0.0.38
Automation (cloudant-sdks) version 307763c

This is an unrelated change.


Secure windoors should be punch proof

Description

The secure windoors are often used in security for the jailcells, and it doesn't make much sense that you can't break the glass with your hands, but you can break the door.
Reproduction

Get arrested > mald > punch secure windoor until it breaks for some reason > seethe > no way to prevent this as sec.
Screenshots

Additional context

I mean, yes you can just execute them, but that seems kinda nrp when they really just need a good timeout.

no way to prevent this as sec

Breach of custody is permable crime and you do not have to stand there and wait for windoor to break down.
Give a warning. Flashbang and stun the fucker. Crit and straitjacket them if you have to.

Making windoors indestructible would mean sec can dump prisoner in and never bother to check on them again.

I don't think this argument holds water because if they were just regular airlocks, like they are on a couple maps, its just not possible.

Making windoors indestructible would mean sec can dump prisoner in and never bother to check on them again.

I don't think this argument holds water because if they were just regular airlocks, like they are on a couple maps, its just not possible.

Yeah thats mapping issue on core and on... are there are any other maps not using windoors in normal cells?

Train core reach and saltern

I'm pretty sure like all brigs use windoors. At least the max pop ones.

secure windoors just cost fancier materials for no benefit if they have no damage reduction compared to normal windoors

The reason its like that is so if sec just forgets about you in a cell or your an antag that was left alone you can escape. Its meant to make the warden actually do their job, if they are breaking it punish them by restricting their movement. You could totally say that them punching a glass window is a risk to life and limb.

Prisoners must be granted freedom of movement, and should not be restrained with handcuffs or other devices after incarceration unless there is an undue risk to life and limb.

My issue is there is no practical way to do that.

Well, stairjackets exist but there aren't many maps with them mapped. You also have to crit/tranq someone to wear it.

My issue is there is no practical way to do that.

Do what? Cuff them? Its a 30-second doafter to uncuff yourself and if they keep doing it then you can perma them for repeated attempts to break out or any of the crimes associated with them.

Repeated crimes are when someone is released for a crime and then goes to commit the same crime within the same shift. Repeated crimes can be charged with tacked-on time; first repeat: 3:00, second repeat: 6:00, third repeat: permanent confinement.

If they keep breaking out of cuffs and hitting the window, enforce space law. Most of the laws are very easy to manipulate within reason to fit your needs.

This is not just a Sec issue, secure windoows are used in other places. Places where they are less likely to be actively guarded. They should be at least minimally secure

seems easy to fix, just add 5 flat damage reduction

Secure Windoors inherit the base Windoor's damageablecomponent unmodified

create a new one :godo:

if they try to break out repeatedly, put them in perma, shrimple as that
good luck breaking the reinforced glass in there
if they do break out, they're now AOS and will go to perma, which is worse than just sitting out their < 15min sentence, so it is arguably better as a secoff to have someone try to break the glass

Crit and straitjacket them if you have to.
Beating someone into critical conditions because they punched a window is psychotic

The point of this PR is not to tune security procedures


Added support for 1080p50

@fabi321 thank you for the PR.
Pre signed btw. means when the video URL that YouTube sends us is not encrypted. For most videos, youtube sends us an encrypted String, the signature_cipher, and we have to use some JavaScript functions (of course implemented in Rust), to descramble these URLs. That's what VideoDescrambler does, and that's why you can often not use the video URLs in VideoFetcher.


Add type parse

Codecov Report

Merging #20 (2c21f07) into main (f423f18) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #20   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          141       141
  Branches        23        23
=========================================
  Hits           141       141

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add support of contracts verification in BlockScout

https://blockscout.com/
https://github.com/poanetwork/blockscout
BlockScout is a fully-featured open-source blockchain explorer for any EVM-compatible chains. POA network hosts multiple chains itself:

Chain
Network ID
instance
API endpoint
API docs endpoint

ETH Mainnet
1
https://blockscout.com/eth/mainnet
./api
./api_docs

Kovan
42
https://blockscout.com/eth/kovan
./api
./api_docs

Rinkeby
4
https://blockscout.com/eth/rinkeby
./api
./api_docs

Ropsten
3
https://blockscout.com/eth/ropsten
./api
./api_docs

Goerli
5
https://blockscout.com/eth/goerli
./api
./api_docs

POA Sokol
77
https://blockscout.com/poa/sokol
./api
./api_docs

POA Core
99
https://blockscout.com/poa/core
./api
./api_docs

xDai
100
https://blockscout.com/poa/dai
./api
./api_docs

RSK Mainnet
31
https://blockscout.com/rsk/mainnet
./api
./api_docs

LUKSO L14 testnet
22
https://blockscout.com/lukso/l14
./api
./api_docs

And every API instance provides contracts verification API endpoint:
?module=contract&action=verify&addressHash={addressHash}&name={name}&compilerVersion={compilerVersion}&optimization={false}&contractSourceCode={contractSourceCode}

The description of this endpoint and Try it out section is on api_docs page.
It would be awesome to have it integrated to etherlime.

Hello @vbaranov and thank you for the opened issue. We are going to include Blockscout verification in our roadmap. I am going to keep you updated!
Thank you,

We are using etherlime to deploy contract to our sidechain where we have only blockscout, so making this work would be really awesome :blush:

Thanks guys, we had some drawbacks on progressing on the roadmap. Blockscout integration is literally the next thing we plan on integrating with


CET overlay ` hotkey not working when switching to/from English UK language keyboard

Hello,
there is an issue with CET overlay hotkey set to ` character/button and English UK language keyboard layout.
For whatever reason this key results in a different virtual key id recorded by the CET than other languages mapping this character to the same physical button.
This makes the CET overlay inaccessible on switching keyboard languages to/from English UK.
I can reproduce the issue every time I try.
Please check the tests description bellow for more details.
Kind regards.
Anygoodname.
CET keyboard ` hotkey multilanguage tests.
My setup:

standard HP physical keyboard English US
Windows 10 English US install
additional languages installed:
English UK
Greek
Polish
Cyberpunk game v1.3 from GOG
CET v1.6.2

All the languages keyboard layouts map ` character to the same physical keyboard key: left to 1 and above TAB keys.
Left most in the digits/symbols and the backspace keys row on the HP keyboard.
Test prerequisite: clean install CET (no user settings, no mods)
Test #1:
new bind ` key as CET overlay hot key and verify recorded key id.
With keyboard languages mapping the character to the same physical button: 	- start the game and wait for the CET to come up asking to bind its overlay key, 	- click BIND and press button,
- exit CET console with the newly binded hotkey,
- quit the game,
- check ...\Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\bindings.json file for the recorded key id,
- delete all json files in  ...\Cyberpunk 2077\bin\x64\plugins\cyber_engine_tweaks\ folder,
- switch to the next keyboard language,
- repeat the above steps till the last keyboard layout checked.
Test #1 results:
1 test English US keyboard language:
"cet.overlay_key":<PHONE_NUMBER>8445952

2 test English UK keyboard language:
"cet.overlay_key":<PHONE_NUMBER>6476288

3 test Greek keyboard language:
"cet.overlay_key":<PHONE_NUMBER>8445952

4 test Polish keyboard language:
"cet.overlay_key":<PHONE_NUMBER>8445952

Test #2:
switch keyboard language and rebind ` hotkey while the CET is running.
With CET overlay hotkey set to in one keyboard language: 	- start the game, 	- open the CET console with the hotkey, 	- go to Bindings>Hotkeys tab, 	- change the keyboard layout to the next language, 	- rebind the Overlay hotkey to key again,
- check if it works by hiding and invoking the CET overlay with the remapped key.
Test #1 results:
1  English US >  English UK

it is not possible to bind ` key. On key press CET shows: Overlay key: UNKNOWN
it is possible to bind it to some other key. E.g. 1
with hotkey set to 1 hiding/invoking CET overlay works as expected

2  English UK > Greek

` key rebind works as expected

3  Greek > Polish

` key rebind works as expected

4 Polish >  English US

` key rebind works as expected

This is the intended behaviour, we map virtual keys, not mapped keys.

We probably could do it on physical keys though I suppose... I sent him here to create the issue.

I think I'll have a look at this at some point if you won't mind... Will keep it as backlog item... Should not be impossible to do and it may be better for cases like these.


Revive old audio viewer

Related to issue number: #2757
Restores the "old" audio player.
Start playing audio automatically after the audio viewer is activated.

I think the visualization leaves room for improvement. I propose to:

Keep displaying the main album cover
Improve the visualization of the metadata:

artist
track title
track number, if applicable
maybe the album the track is part of

Display audio format: container, codec, bit-rate
Cut out, the milk-drop visualization, maybe a small spectrum-analyzer instead

To attract artists releasing their music to LBRY, I think it would interesting to offer the possibility to release albums.

Awesome!! 🙂
Excited to check this out! Probably won't get to it until tonight or tomorrow. I'll let you know!

@Borewit once this gets merged, make sure to send us an email so we can show you some appreciation for the contribution.

ToDo:

[ ]  Address: if an audio file is playing and you navigate to another one, the old one continues to play and theres no way to get the new one to play without refreshing the page.
[ ] Get rid of all the me and just use this.
style cleanup:

[ ] It's hard to tell where to seek
[ ] there are some issues when no metadata is found
[ ] metadata text is a little hard to read

@Borewit do you still plan to finish this up? We'd very much appreciate it!

@Borewit do you still plan to finish this up?

Not sure if I will finish it. I contribute almost every day a bit on open source coding. To get something some that they gives me satisfaction. I have to say this is a bit of steep hill for me, I am not very experienced with React, it I pick up I first have to get everything in sync, debugging is tricky, and sometimes after a few runs the app leaves me in the dark, maybe corrupted profile.
To compensate my lack of experience, behind the scenes I approached some talented front-end developers, experienced in writing audio players. Developers I know from my user community of music-metadata, yet so far no luck someone jumping on it.
I created this issue initially to revive the old player. A saw that as a starting point, I am honestly not big fan of the look an feel. I agree with the all point of improvement given by @seanyesmunt: clear progress indicator, clear control, easy readable track metadata.
Imagine all of that is put in. The only thing what is left is the Milkdrop. I am not a fan of it, not in this application. I would say metadata, cover art. Between the buttons and progress bar, maybe a subtle spectrum analyzer line dancing. Subtle, but a proper high tech one, one with frequency scaled in octaves, how human perceive notes (@hvianna is a specialist in this area).
This step feels at the moment as bit to big for me.

Subtle, but a proper high tech one, one with frequency scaled in octaves, how human perceive notes (@hvianna is a specialist in this area).

I recently released the spectrum analyzer I designed for audioMotion as a standalone module which can be integrated into other JavaScript applications.
Here's a demo of multiple instances of the analyzer running simultaneously, with different visualization options.
I don't have any experience with React though, and my code may be still a little messy, but I'm willing to keep improving it. Maybe it's a start? :)

@Borewit thank you for the reply - no worries! Can we show you some appreciation for the work thus far?
@hvianna please feel free to take a stab if you are interested. We tip in LBC for contributions :)

I'm going to close this for now. I think eventually we will re-open this to finish it up but it's not a high priority for now. Thanks for sharing those links @hvianna ! I'll check them out 🙂


make exporters components

Description
Change tracing exporters as first-class components
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[X] Created/updated tests
[ ] Extended the documentation

Doc updates will be a separate PR after this and the main repo are updated

Ready to merge?


In the "TCPdump" exercise, after enabling the ASAN option to build libpcap, the building of "tcpdump" will fail

Thank you very much for the tutorial, I learned a lot in it. I encountered some problems that confused me in the third exercise "TCPdump". I followed the prompts to enable AFL_USE_ASAN when building libpcap:
cd $HOME/fuzzing_tcpdump/libpcap-libpcap-1.8.1/
export LLVM_CONFIG="llvm-config-11"
CC=afl-clang-lto ./configure --enable-shared=no --prefix="$HOME/fuzzing_tcpdump/install/"
AFL_USE_ASAN=1 make
AFL_USE_ASAN=1 make install

Then build tcpdump:
cd $HOME/fuzzing_tcpdump/tcpdump-tcpdump-4.9.2/
CC=afl-clang-lto CPPFLAGS=-I$HOME/fuzzing_tcpdump/install/include/ LDFLAGS=-L$HOME/fuzzing_tcpdump/install/lib/ ./configure --prefix="$HOME/fuzzing_tcpdump/install/"
AFL_USE_ASAN=1 make
AFL_USE_ASAN=1 make install

An error will be returned when executing AFL_USE_ASAN=1 make:
configure: error: This is a bug, please follow the guidelines in CONTRIBUTING and include the
config.log file in your report.  If you have downloaded libpcap from
tcpdump.org, and built it yourself, please also include the config.log
file from the libpcap source directory, the Makefile from the libpcap
source directory, and the output of the make process for libpcap, as
this could be a problem with the libpcap that was built, and we will
not be able to determine why this is happening, and thus will not be
able to fix it, without that information, as we have not been able to
reproduce this problem ourselves.

The following is the complete error:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... afl-clang-lto
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether afl-clang-lto accepts -g... yes
checking for afl-clang-lto option to accept ISO C89... none needed
checking whether the compiler supports the -ffloat-store option... no
checking for inline... inline
checking for __attribute__... yes
checking whether __attribute__((unused)) can be used without warnings... yes
checking whether __attribute__((noreturn)) can be applied to function pointers without warnings... yes
checking whether __attribute__((format)) can be used without warnings... yes
checking whether __attribute__((format)) can be applied to function pointers... yes
checking how to run the C preprocessor... afl-clang-lto -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking rpc/rpc.h usability... yes
checking rpc/rpc.h presence... yes
checking for rpc/rpc.h... yes
checking rpc/rpcent.h usability... no
checking rpc/rpcent.h presence... no
checking for rpc/rpcent.h... no
checking netdnet/dnetdb.h usability... no
checking netdnet/dnetdb.h presence... no
checking for netdnet/dnetdb.h... no
checking for net/pfvar.h... no
checking for netinet/if_ether.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking smi.h usability... no
checking smi.h presence... no
checking for smi.h... no
checking whether to enable the possibly-buggy SMB printer... yes
configure: WARNING: The SMB printer may have exploitable buffer overflows!!!
checking whether to drop root privileges by default... no
checking whether to chroot... no
checking for cap_enter... no
checking for cap_rights_limit... no
checking for cap_ioctls_limit... no
checking for openat... yes
checking whether to sandbox using capsicum... no
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing putmsg... no
checking whether the operating system supports IPv6... yes
checking ipv6 stack type... linux-glibc
checking for dnet_htoa declaration in netdnet/dnetdb.h... no
checking for vfprintf... yes
checking for strlcat... no
checking for strlcpy... no
checking for strdup... yes
checking for strsep... yes
checking for getopt_long... yes
checking for fork... yes
checking for vfork... yes
checking for strftime... yes
checking for setlinebuf... yes
checking for alarm... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking return type of signal handlers... void
checking for sigaction... yes
checking for library containing dnet_htoa... no
checking for main in -lrpc... no
checking for library containing getrpcbynumber... none required
checking for local pcap library... ../libpcap-1.8.1/libpcap.a
checking for pcap-config... ../libpcap-1.8.1/pcap-config
checking for pcap_loop... no
configure: error: This is a bug, please follow the guidelines in CONTRIBUTING and include the
config.log file in your report.  If you have downloaded libpcap from
tcpdump.org, and built it yourself, please also include the config.log
file from the libpcap source directory, the Makefile from the libpcap
source directory, and the output of the make process for libpcap, as
this could be a problem with the libpcap that was built, and we will
not be able to determine why this is happening, and thus will not be
able to fix it, without that information, as we have not been able to
reproduce this problem ourselves.

But when I canceled AFL_USE_ASAN=1 when building libpcap and made directly, when I built tcpdump again, no error occurred, and AFL++ can also run normally. I don't quite understand whether the result I get by canceling AFL_USE_ASAN=1 is the same as expected. Is the cause of the build failure because the link library is damaged? Or is there something wrong with my operation during construction?

use AFL_USE_ASAN=1 when run configure

Thank you for your collaboration @tclan126
As thanks, you have been added to the "Thanks" section

You're welcome antonio!!!


oidcng resource server always gets the unspecified id

This issue is imported from pivotal - Originaly created at Mar 22, 2022 by Bart Geesink
All resource servers will get the unspecified id back from the introspect endpoint, regardless of the setting of the nameid format in manage.
However, only resource servers that have explicitly been set to the nameID format "unspecified" should also receive this identifier (since it is an internal identifier only)

https://github.com/OpenConext/OpenConext-oidcng/commit/4701f6fcba7938a178e3aa5e48c0f838e5db4fd5 (Okke Harsta - Mar 23, 2022)


DPS CA X509 Enrollment group - Provisioned devices are X509 Selfsigned in the IoT Hubs - Is this normal?

Hi,
I am not sure this is an issue but I did not know where to mention this.
In any case, I have not found any documentation about it. So, it may help to enrich the current documentation.
Unless I am making something wrong, I have noticed that when using DPS with CA X509 enrollment groups, the devices are created in the IoT Hub with X509 Self Signed certificates. I expected to find CA X509 devices at IoT Hub level too.
Is there a way to use CA X509 certificates in IoT Hubs when using DPS with CA X509?
Let's say it is possible. How and when are the IoT Hub CA X509 certificates installed and verified?
Do we need to do it before the provisioning?
Can the DPS take this in charge?
I am assuming that provisioning CA X509 certificates should be different from those in the IoT Hubs. Is this correct?
If not, isn't it a security issue?
Kind regards

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

ID: 5f3af3b6-7e40-9f00-6e7f-94f68e3b425a
Version Independent ID: d7069a39-b7f1-11b5-e527-20fea05d6a6d
Content: Azure IoT Hub Device Provisioning Service - X.509 certificate attestation
Content Source: articles/iot-dps/concepts-x509-attestation.md
Service: iot-dps
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

@jonmikeli
Thanks for your feedback! We will investigate and update as appropriate.

fyi @nberdy to comment. Thanks

@jonmikeli Part of the confusion comes from showing "self-signed certificate" when really what is meant is "thumbprint-based certificate". DPS registers the thumbprint of the device's X.509 certificate in IoT Hub.

Thanks @nberdy for clarifying :)

Hi,
we have encountered the same limitation, thanks for the clarification!
However, I'm curious if there are future plans to support the "X.509 CA Signed" authentication type for devices provisioned through CA-based attestation on DPS?
It would round up the whole CA-based solution nicely :)


Cannot find module 'uuid/v4'

Hi,
I install uuid module on my Windows 10 64bit with WebStorm and NodeJS 8.8.1 but when I require the module I get this error:
error: uncaughtException: Cannot find module 'uuid/v4'
Any idea?
Thanks

Hello DEK4, in a shell within your project source folder, could you run npm ls | grep uuid and paste the output of this ?

So great, it's a direct dependency of your project and that's the latest version.
Now, could you execute console.log(require('uuid')); from a test node file ?

ls <project folder>/node_modules/uuid to confirm uuid is installed locally:
kieffer@MacBook-Pro-3$ ls -l node_modules/uuid/
total 72
-rw-r--r--  1 kieffer  staff   169 Nov 17  2016 AUTHORS
-rw-r--r--  1 kieffer  staff   626 Nov 28  2016 HISTORY.md
-rw-r--r--  1 kieffer  staff  1109 Nov 17  2016 LICENSE.md
-rw-r--r--  1 kieffer  staff  4644 Nov 28  2016 README.md
drwxr-xr-x  3 kieffer  staff   102 Nov 15 09:03 bin
-rw-r--r--  1 kieffer  staff   120 Nov 28  2016 index.js
drwxr-xr-x  5 kieffer  staff   170 Nov 15 09:02 lib
-rw-r--r--  1 kieffer  staff  1775 Nov 15 09:03 package.json
drwxr-xr-x  4 kieffer  staff   136 Nov 15 09:02 test
-rw-r--r--  1 kieffer  staff  3235 Nov 28  2016 v1.js
-rw-r--r--  1 kieffer  staff   679 Nov 28  2016 v4.js

Also, try installing into a new, empty directory.  This may be an issue with your project configuration.
kieffer@MacBook-Pro-3$ cd /tmp

kieffer@MacBook-Pro-3$ mkdir work

kieffer@MacBook-Pro-3$ npm install uuid
npm WARN saveError ENOENT: no such file or directory, open '/private/tmp/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/private/tmp/package.json'
npm WARN tmp No description
npm WARN tmp No repository field.
npm WARN tmp No README data
npm WARN tmp No license field.

+<EMAIL_ADDRESS>added 1 package in 0.744s

kieffer@MacBook-Pro-3$ node -e "console.log(require('uuid/v4'))"
[Function: v4]

The global install also doesn't work

@dsouzadyn  Are you trying to require('mime') when it's installed globally?  Node discourages this practice.  Any require()ed module should be installed locally. Global installs should be reserved for utilities run from the command line.
If you really want to require the global installed version, set your NODE_PATH property accordingly.

No response from @anchnk. Closing

Just ran into this issue on my computer, it was because I was using the newer version of the library than my code was written for.
The original code was
const uuidV4 = require('uuid/v4')

Newer versions of this library requires it to be
const { v4: uuidV4 } = require('uuid');

Hope this helps anyone else searching in the future 👍

The problem with this change is that it has greater weight when required.

const { v4: uuidV4 } = require('uuid');

@victorhcortes Not significant in node. Bundlers are able to treeshake unused modules. Though you have to use es modules syntax. Commonjs is not reliable and does not work in a lot of cases.

Commonjs tree shaking is not reliable and does not work in a lot of cases.

FTFY.  (... to clarify that CommonJS works fine as a whole.  It's only when it comes to tree-shaking - unused code removal - that it becomes problematic.)
@victorhcortes: As the person responsible for the previous incarnation of uuid that allowed for deep imports, I'll just chime in to say this was a much-needed change.  The deep-import solution avoided the need for tree-shaking but was problematic when it came to support in some packager tools (Angular, specifically) and CDNs.

@TrySound By accumulating this cost with other dependencies you will know how heavy it can be.
@broofa I understand the point that was necessary to maintain compatibility and avoid problems.
But if I highlight that the change is much greater.

const uuidV4 = require ('uuid / v4'); //1.9K (gzipped: 818)
const { v4: uuidV4 } = require ('uuid'); //7.9K (gzipped: 3.3K))

FTFY

Right, I meant this in tree-shaking context.

By accumulating this cost with other dependencies you will know how heavy it can be.

Yes, I know. This is why the change was considered carefully. There is not cost for bundlers and it's not significant for node as reading from disk even large scripts is fast enough. Memory usage is a problem of script execution not the size.
We have a lot of really bloated libraries like lodash which is used in three forms (lodash.*, lodash/*, require('lodash')), btw sometimes even in the same project.

If code size is a primary consideration for people, there are options:

Stick with<EMAIL_ADDRESS>and the deep-import syntax
Bite the bullet and convert to ES6 imports and a packager that does tree-shaking.  (Will yield benefits beyond just pruning uuid code!)
Use a "one-liner" implementation such as https://stackoverflow.com/a/2117523/109538.  (Not actually recommending this, but if code footprint is paramount... well... 😆)

@corteshvictor thanks your solutions works for me

Thanks people it solved my problem.


VideoNode back in next Release?

Hello there,
thanks for your work at SceneView, i use it in my current project and i am overall happy with it!
I have to implement Videos in AR and it seems like you are on it to bring the VideoNode back, as i can see in the current main branch.
Now i ask myself if the VideoNode or VideoMaterial is back in the next release and when this release will happen?
Kind regards

it would be great if there were also support for VideoNode
@ofreye you haven't sorted it out yet, have you?

Hi @PepaZapletal,
i used the ExoPlayerNode from the main branch that is not in the current release yet and modified it a lil bit for my needs. Here is my solution:
ExoPlayerNode.kt
`
import android.content.Context
import android.util.Log
import androidx.annotation.OptIn
import androidx.core.graphics.drawable.toBitmap
import androidx.media3.common.Player
import androidx.media3.common.util.UnstableApi
import androidx.media3.exoplayer.ExoPlayer
import com.google.android.filament.Engine
import com.google.android.filament.RenderableManager
import mypackage.R
import mypackage.core.materials.VideoMaterial
import dev.romainguy.kotlin.math.normalize
import io.github.sceneview.geometries.Plane
import io.github.sceneview.loaders.MaterialLoader
import io.github.sceneview.math.Direction
import io.github.sceneview.math.Position
import io.github.sceneview.math.Scale
import io.github.sceneview.math.Size
import io.github.sceneview.node.ImageNode
import io.github.sceneview.node.PlaneNode
const val MIN_CONTROLS_WIDTH = 0.012f
class ExoPlayerNode(
private val videoMaterial: VideoMaterial,
val exoPlayer: ExoPlayer,
val showControls: Boolean = true,
context: Context,
materialLoader: MaterialLoader,
size: Size = Size(x = 1f, z = 1f),
center: Position = Plane.DEFAULT_CENTER,
normal: Direction = Plane.DEFAULT_NORMAL,
rotateToNode: Boolean = false,
builderApply: RenderableManager.Builder.() -> Unit = {},
) : PlaneNode(
engine = videoMaterial.engine,
size = if (rotateToNode) Size(x = size.x, y = 0.0f, z = size.y) else size,
center = if (rotateToNode) Position(x = 0.0f, y = center.z, z = 0.0f) else center,
normal = normal,
materialInstance = videoMaterial.instance,
builderApply = builderApply,
) {
private var isPlaying = false
private var isEnded = false
private var playNode: ImageNode? = null
private var pauseNode: ImageNode? = null
private var replayNode: ImageNode? = null

init {
    exoPlayer.setVideoSurface(videoMaterial.surface)
    if (size == Plane.DEFAULT_SIZE) {
        exoPlayer.doOnVideoSized { player, width, height ->
            if (exoPlayer == player) {
                updateGeometry(
                    size = normalize(
                        when (rotateToNode) {
                            true -> Size(x = width.toFloat(), y = 0.0f, z = height.toFloat())
                            false -> Size(x = width.toFloat(), y = height.toFloat(), z = 0.0f)
                        },
                    ),
                )
            }
        }
    }

    val scaleFactorControls = Math.max(size.x * 0.1f, MIN_CONTROLS_WIDTH)

    val CONTROL_SIZE = Size(scaleFactorControls, 0f, scaleFactorControls)

    val controlsPosition = Position(
        x = center.x,
        y = 0.001f,
        z = center.z + (size.z / 2) - CONTROL_SIZE.z/2,
    )

    fun createControlNode(drawableId: Int, action: () -> Unit): ImageNode {
        val bitmap = context.getDrawable(drawableId)?.toBitmap(100, 100)
            ?: throw IllegalArgumentException("Invalid drawable ID: $drawableId")
        return ImageNode(
            materialLoader = materialLoader,
            bitmap = bitmap,
            size = CONTROL_SIZE
        ).apply {
            setPriority(7)
            position = controlsPosition
            onSingleTapUp = {
                action()
                true
            }
        }
    }

    if(showControls) {
        playNode = createControlNode(R.drawable.ic_play) {
            Log.i("ExoPlayerNode", "Playing video")
            play()
        }
        addChildNode(playNode!!)

        pauseNode = createControlNode(R.drawable.ic_pause) {
            Log.i("ExoPlayerNode", "Pausing video")
            pause()
        }
        addChildNode(pauseNode!!)

        replayNode = createControlNode(R.drawable.ic_replay) {
            Log.i("ExoPlayerNode", "Replaying video")
            replay()
        }
        addChildNode(replayNode!!)
    }

    setPriority(0)

    exoPlayer.addListener(object : Player.Listener {
        override fun onPlaybackStateChanged(playbackState: Int) {
            isPlaying = playbackState == Player.STATE_READY && exoPlayer.playWhenReady
            isEnded = playbackState == Player.STATE_ENDED
            updateControlsVisibility()
        }
    })
}

constructor(
    engine: Engine,
    materialLoader: MaterialLoader,
    exoPlayer: ExoPlayer,
    showControls: Boolean = true,
    context: Context,
    chromaKeyColor: Int? = null,
    rotateToNode: Boolean = false,
    size: Size = Size(x = 1f, z = 1f),
    center: Position = Plane.DEFAULT_CENTER,
    normal: Direction = Plane.DEFAULT_NORMAL,
    builderApply: RenderableManager.Builder.() -> Unit = {},
) : this(
    videoMaterial = VideoMaterial(
        engine = engine,
        materialLoader = materialLoader,
        chromaKeyColor = chromaKeyColor,
    ),
    materialLoader = materialLoader,
    context = context,
    exoPlayer = exoPlayer,
    rotateToNode = rotateToNode,
    size = size,
    center = center,
    normal = normal,
    builderApply = builderApply,
    showControls = showControls,
)

override fun destroy() {
    Log.d("ExoPlayerNode", "Destroying ExoPlayerNode")
    super.destroy()
    exoPlayer.stop()
    exoPlayer.release()
    videoMaterial.destroy()
}

private fun play() {
    exoPlayer.play()
    isPlaying = true
    updateControlsVisibility()
}

private fun pause() {
    exoPlayer.pause()
    isPlaying = false
    updateControlsVisibility()
}

private fun replay() {
    exoPlayer.seekTo(0)
    exoPlayer.play()
    isEnded = false
    isPlaying = true
    updateControlsVisibility()
}

private fun updateControlsVisibility() {
    if(!showControls) return
    playNode.apply {
        isVisible = !isPlaying && !isEnded
        isHittable = !isPlaying && !isEnded
    }
    pauseNode.apply {
        isVisible = isPlaying
        isHittable = isPlaying
    }
    replayNode.apply {
        isVisible = isEnded
        isHittable = isEnded
    }
}

override fun updateVisibility() {
    super.updateVisibility()
    when (isVisible) {
        true -> if (exoPlayer.isPlaying.not()) exoPlayer.play()
        else -> if (exoPlayer.isPlaying) exoPlayer.pause()
    }
}

}
@OptIn(UnstableApi::class)
private fun ExoPlayer.doOnVideoSized(block: (player: ExoPlayer, videoWidth: Int, videoHeight: Int) -> Unit) {
val videoWidth = videoFormat?.width ?: 0
val videoHeight = videoFormat?.height ?: 0
if (videoWidth > 0 && videoHeight > 0) {
block(this, videoWidth, videoHeight)
} else {
addListener(
object : Player.Listener {
override fun onPlaybackStateChanged(playbackState: Int) {
if (playbackState == Player.STATE_READY) {
val width = videoFormat?.width ?: 0
val height = videoFormat?.height ?: 0
if (width > 0 && height > 0) {
block(this@doOnVideoSized, width, height)
}
}
}
},
)
}
}
`
VideoMaterial.kt
`
import android.graphics.SurfaceTexture
import android.view.Surface
import com.google.android.filament.Engine
import com.google.android.filament.MaterialInstance
import com.google.android.filament.Stream
import io.github.sceneview.loaders.MaterialLoader
import io.github.sceneview.material.setExternalTexture
import io.github.sceneview.safeDestroyStream
import io.github.sceneview.safeDestroyTexture
import io.github.sceneview.texture.VideoTexture
class VideoMaterial(
val engine: Engine,
materialLoader: MaterialLoader,
chromaKeyColor: Int? = null
) {
/**
* Images drawn to the Surface will be made available to the Filament Stream.
*/
val surfaceTexture = SurfaceTexture(0).apply {
detachFromGLContext()
}
/**
 * The Android surface.
 */
val surface = Surface(surfaceTexture)

/**
 * The Filament Stream.
 */
val stream = Stream.Builder()
    .stream(surfaceTexture)
    .build(engine)

/**
 * The Filament Texture diffusing the stream.
 */
val texture = VideoTexture.Builder()
    .stream(stream)
    .build(engine)

val instance: MaterialInstance = materialLoader.createVideoInstance(texture, chromaKeyColor)

init {
    instance.setExternalTexture(texture)
}

fun destroy() {
    engine.safeDestroyTexture(texture)
    engine.safeDestroyStream(stream)
    surface.release()
    surfaceTexture.release()
}

}
`

@ofreye Thank you for your help!
I have the basic functionality ready
But I have one more question. I would like the video to play exactly in the area of the detected photo. Do you know how to set it up? I have set rotateToNode = true and I still need to set it there somehow to fit the photo.
I'd like to end up with something like this: https://www.youtube.com/shorts/yKBTFQTkBj0
I have this page https://ibb.co/k6GXFvf and this image https://ibb.co/H4cwK1J
And now I'd like to play the video exactly over that image to make it fit.
Do you know how to do that somehow? Have you solved something like this?
Thanks for the help

Is there a chance that video alpha channel will be translated into transparency of the VideoMaterial? Chromakeying looks awful...


podman pull: fails if $XDG_RUNTIME_DIR does not exist

[ Related to #427 ]
If $XDG_RUNTIME_DIR does not exist, podman pull fails with an unhelpful message:
# podman pull fedora
Trying to pull docker.io/fedora:latest...Failed
Trying to pull registry.fedoraproject.org/fedora:latest...Failed
Trying to pull registry.access.redhat.com/fedora:latest...Failed
error pulling image "fedora": unable to pull fedora
# echo $XDG_RUNTIME_DIR
/run/user/0
# ls -l $XDG_RUNTIME_DIR
ls: cannot access '/run/user/0': No such file or directory
# env -u XDG_RUNTIME_DIR podman pull fedora
Trying to pull docker.io/fedora:latest...Getting image source signatures
...success...

I am using mosh to log in; mosh creates an initial connection using ssh, which creates that directory, but the ssh connection is short-lived and the directory soon disappears.

It's fine for this to be a hard failure for podman login, but I expect podman pull to just warn and continue if we can't find login credentials.

@edsantiago I am assuming you are pulling a private image from your docker hub?

@umohnani8 no, see comment 0 above: with XDG_RUNTIME_DIR cleared, it fetches docker.io/fedora:latest (first in /etc/containers/registries.conf). Or, for rhel7, the first registry that works:
# env -u XDG_RUNTIME_DIR podman pull rhel7
Trying to pull docker.io/rhel7:latest...Failed
Trying to pull registry.fedoraproject.org/rhel7:latest...Failed
Trying to pull registry.access.redhat.com/rhel7:latest...Getting image source signatures
Skipping fetch of repeat blob sha256:d1fe25896eb5cbceebe612f6f820f433997d6748700d05f2029e8e077c02fd16
Skipping fetch of repeat blob sha256:001d79f6847029de668d289c5b602d004b2bf1691d29f31c643481e0821f03d2
Copying config sha256:fd1ba0b398a82d56900bb798c8b099fbe3166bc49e2c5e947f7973cd38ff1a90
 6.13 KB / 6.13 KB [========================================================] 0s
Writing manifest to image destination
Storing signatures
fd1ba0b398a82d56900bb798c8b099fbe3166bc49e2c5e947f7973cd38ff1a90

You should be able to reproduce this via:
# env XDG_RUNTIME_DIR=/nonexistent podman pull fedora (or centos or rhel7 or anything not already present)

But the credentials shouldn't matter if you are pulling a public image. It works for me:
[root@dhcp-10-20-1-25 libpod]# echo $XDG_RUNTIME_DIR

[root@dhcp-10-20-1-25 libpod]# podman pull fedora
Trying to pull docker.io/fedora:latest...Getting image source signatures
Copying blob sha256:2176639d844bbe1386912e1d9952cebdb8249923a16691025cf693963f8aec53
 77.54 MB / 77.54 MB [======================================================] 3s
Copying config sha256:9110ae7f579f35ee0c3938696f23fe0f5fbe641738ea52eb83c2df7e9995fa17
 2.29 KB / 2.29 KB [========================================================] 0s
Writing manifest to image destination
Storing signatures
9110ae7f579f35ee0c3938696f23fe0f5fbe641738ea52eb83c2df7e9995fa17

Try with XDG_RUNTIME_DIR=/nonexistent

It still works for me
[root@dhcp-10-20-1-25 buildah]# XDG_RUNTIME_DIR=/nonexistent
[root@dhcp-10-20-1-25 buildah]# echo $XDG_RUNTIME_DIR
/nonexistent
[root@dhcp-10-20-1-25 buildah]# podman pull fedora
Trying to pull docker.io/fedora:latest...Getting image source signatures
Copying blob sha256:2176639d844bbe1386912e1d9952cebdb8249923a16691025cf693963f8aec53
 77.54 MB / 77.54 MB [======================================================] 3s
Copying config sha256:9110ae7f579f35ee0c3938696f23fe0f5fbe641738ea52eb83c2df7e9995fa17
 2.29 KB / 2.29 KB [========================================================] 0s
Writing manifest to image destination
Storing signatures
9110ae7f579f35ee0c3938696f23fe0f5fbe641738ea52eb83c2df7e9995fa17

I can confirm that the reproducer @edsantiago pasted fails for me too

but the ssh connection is short-lived and the directory soon disappears.

IMO that's a mosh flaw; it should talk to logind and have it hold the original session open the for as long as it makes the login available; that'd require some tricky work with PAM+ssh probably though.

IMO that's a mosh flaw; it should talk to logind

As a UNIX old-timer I resent that argument, but ultimately agree that yes, tools have to adapt to this modern systemd world. Still, it's also a bug that podman pull fails in the case above.

@rhatdan so if XDG_RUNTIME_DIR is nonexistent, should we error out or log a warning and move on? What is the approach we want here?

@umohnani8 I really do not want to error out on this in pull and similar cases. We should proceed (but warn), and if the pull needs credentials and we don't have them because no XDG_RUNTIME_DIR, we error then.

Fixed by #451


Add support for multiple data tables in the same stream

Probably implement with some IsLast or current/total results property on the header.

Done


not able to connect to bitbucket

2018-07-11 16:59:51,680 ERROR c.c.d.rest.RestApiExceptionHandler - Failed to con
vert value of type [java.lang.String] to required type [org.bson.types.ObjectId]
; nested exception is org.springframework.core.convert.ConversionFailedException
: Failed to convert from type [java.lang.String] to type<EMAIL_ADDRESS>eb.bind.annotation.PathVariable org.bson.types.ObjectId] for value 'null'; neste
d exception is java.lang.IllegalArgumentException: invalid hexadecimal represent
ation of an ObjectId: [null]
can anyone please help suggest

@monikanaagar: Can you please provide a little more context on what you are trying to do, and also please share the full log with enough detail if you could. Thanks

@monikanaagar : Since we didn't hear back from you, assuming this issue is resolved at your end, closing the issue.


(PUP-9026) create rich data catalog acceptance test

remove old catalogs
create manifest with a Binary type
turn on rich data
hilarity ensues

It's not your commit that's failing, seems like it grabbed a bad range (happens sometimes). I'm not sure why there are two Travis runs though... Seems like "push" shouldn't be here.

The appveyor thing is transient. Rekicked.

oh.  maybe because i pushed the branch to puppetlabs?
old habit so anyone can contribute to my branch.  if that's not the right way i can use my fork... next time

Ah yeah, that would probably do it. The range on the "push" travis job must be weird.


Could not add a tuple.

I could not add a tuple of color values to 'data_image':
data_image.append(pixel[y,x])
Changed to   data_image.append(pixel[y,x][0])
since images are grayscale.
How to add the tuple in case all color channels are different?
Thank you.

hey, did you find the solution yet?
I was wondering if we could take three arrays like data_image1, data_image2, data_image3 and then add it to output file like data_image = header + data_image1 + data_image2 + data_image3
will that work?

You could  average the channels or, in case of gray scale, take only one channel.
Both should work.

import statistics
if type(pixel[y, x]) is tuple:
p=statistics.mean(pixel[y, x])
else:
p =pixel[y, x]
data_image.append(int(p))

Thank you guys.
Ending the issue here.

...how do I end the issue?


Support NuGet based test adapters in the VSTest task

With the old XAML build definitions tests could be run using test frameworks which used NuGet packages for distribution of their test adapter and test runner. This includes XUnit and NUnit, both which have moved away from using VSIX extensions.
With the new build definitions these frameworks no longer work. Instead you need to specify the path to the test adapter. Obviously this won't work unless the contents of the NuGet packages are in source control, and even if they are you wouldn't want to point to the dlls under the packages directory as the path will change whenever a new version is released.
Yes of course we could copy the required dlls to a different directory and point the build definition to this path but that defeats the whole purpose of using NuGet packages.

@ kjbartel
The nuget packages for NUnit or XUnit still work with the new build definitions. In the path to test adapter, you can use something like "$(Build.SourcesDirectory)\Packages and it should work. http://www.donovanbrown.com/post/2015/06/15/how-to-run-xunit-test-with-vnext-build has a good example with screenshots on getting this working. Thanks!

@atinb
I did eventually get it to work. However, the requirement for setting the path like that really is not very clear. There certainly isn't any indication that it will search all sub-directories of the path specified as it does. I also found that the path needs to have no spaces (including the repository name) or be specified with quotes (on the VSO build definition editor page). Again not at all clear.
What I'm wondering is is why doesn't it work the same way as Visual Studio? The test adapter dll will be right next to the test dll in the same folder but this task doesn't find it. May I suggest that when you a test dll path that you check for a test adapter in the same folder? Then NuGet based test adapters will work out of the box without having to go to a blog post on a completely different website to work out what needs to be done.
The fact it doesn't work as expected means that it is still an issue. Most people would expect this to work and it doesn't.

Hi Kuan,
I completely agree and we are looking at making this experience simpler and more intuitive.
I am not sure if I agree that the Nuget based adapters will work automatically if we search in the test dll path. People have different ways of storing test dlls, and the nugets are downloaded to the packages folder.
Thanks
Atin.
From: Kuan Bartel<EMAIL_ADDRESS>Sent: Thursday, July 9, 2015 5:58 AM
To: Microsoft/vso-agent-tasks
Cc: Atin Bansal
Subject: Re: [vso-agent-tasks] Support NuGet based test adapters in the VSTest task (#311)
@atinbhttps://github.com/atinb
I did eventually get it to work. However, the requirement for setting the path like that really is not very clear. There certainly isn't any indication that it will search all sub-directories of the path specified as it does. I also found that the path needs to have no spaces (including the repository name) or be specified with quotes (on the VSO build definition editor page). Again not at all clear.
What I'm wondering is is why doesn't it work the same way as Visual Studio? The test adapter dll will be right next to the test dll in the same folder but this task doesn't find it. May I suggest that when you a test dll path that you check for a test adapter in the same folder? Then NuGet based test adapters will work out of the box without having to go to a blog post on a completely different website to work out what needs to be done.
The fact it doesn't work as expected means that it is still an issue. Most people would expect this to work and it doesn't.
—
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/vso-agent-tasks/issues/311#issuecomment-119769496.

Update: with S87 deployment, we have made a few improvements in VSTest task, including how custom adapters are loaded.

If there is a packages folder in the sources directory, it is automatically searched for testadapters. Hence, any testadapter downloaded as a Nuget package will automatically be used
Handle common error cases like specifying the full path to the dll.
When specifying multiple assemblies, only the 1st assembly used to be relative to the Sources Directory. All others were defaulting to Agent directory. This is fixed
Paths in the task do not need to be enclosed in quotes

Please give it a try and let us know if you have more feedback
Thanks!

@atinb
Sorry wasn't able to get back to you sooner.
I've updated my build definition to not specify the path to custom adapters, however the nuget test adapters weren't found as I have my projects under a src directory. Hence the path to the packages directory is $(Build.SourcesDirectory)\src\Packages not $(Build.SourcesDirectory)\Packages. I think this a a fairly common directory layout. I can confirm that the path no longer needs quotes added though.

@kjbartel
It seems we had a bug on our side. If you try without specifying the a path now for the custom adapters, it will work. The path to the packages folder under src should not matter.
Thanks!

@atinb
All working now with the src\packages path. Thanks.


Nav2 robot sometimes do not move immediately when sending task from RMF.

Bug report
Required information:

Operating system and version:

Ubuntu 20.04

OpenRMF installation type:

From source

OpenRMF version or commit hash

latest

ROS distribution and version:

ROS2 Galactic

ROS installation type:

from Docker

Package or library, if applicable:

FreeFleet,Navigation2,turtlebot3

Description of the bug

Sometimes robot does not move immediately when a task is sent from the RMF.
Steps to reproduce the bug

I am using FreeFleet to connect RMF with Turtlebot3 running on Navigation2 on Gazebo.
I send Loop task from RMF Panel to its Turtlebot3.

Expected behavior

Turtlebot3 on Gazebo is moving quickly.
Actual behavior

After a short time, the robot begins to move.
Screenshots

Additional information

Looking at /fleet_states topic, there is an instruction set to wait in place for 30 seconds (Responsive Wait?) when I have not sent a task from RMF.
I am assuming that the robot is stuck until it completes.

Hello @shifsa! Could you elaborate a little more on the issue, perhaps how long did it take for the robot to start moving in these scenarios?
As for Responsive Wait, it is a mechanism in RMF that allows for re-routing these stationary robots (after it has completed its task and the finishing task is nothing), to allow other robots to pass through those lanes and waypoints. These Responsive Wait tasks, should be overwritten by new incoming tasks without the need to wait for it to be completed. In your scenario, is it the case that the robot waits for 30 seconds before it starts moving?

Each time I submit a task, the time it takes for the robot to start moving varies.(max 30 seconds)
When I do not submit a task, the FreeFleet log shows the following.
[free_fleet_client_ros2-2] [INFO] [1660801148.050725901] [turtlebot3_burger1.turtlebot3_free_fleet_client_node]: we reached our goal early! Waiting 29.33 more seconds
As long as this log is displayed, the robot does not move even if I send a task.
Only the yellow ball of rmf_visualization starts moving.

After that, when the following log appears, the yellow ball reverts to a purple ball and the robot on Gazebo begins to move.
[free_fleet_client_ros2-2] [INFO] [1660801179.552140857] [turtlebot3_burger1.turtlebot3_free_fleet_client_node]: we reached our goal early! Waiting 0.01 more seconds

Hello, @aaronchongth .
The video below recreates the situation.
https://user-images.githubusercontent.com/111342933/187632490-d081b51a-c317-48a1-90ec-2e995d4aa8a8.mp4

Hello @shifsa! I am able to replicate what you were facing, and I believe I have found a fix, https://github.com/open-rmf/free_fleet/pull/120.
My preliminary tests look good at the moment. Let me know if you still face issues with this fix.

Hello, @aaronchongth .
Thanks for fixing the code.
It now works properly here too!


Use $HOME or ~ in $HOME/.zim/init.zsh

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I sometimes load a docker container with my home directory mounted.  In the container, it's a different user, though mapped to my UID, however, because /home/username is hard-coded into init.zsh , it results in a bunch of errors when zsh loads zim in the container.
I've worked around it by replace /home/username with $HOME, however, I have to do this anytime zimfw runs because it reverts my changes.
Describe the solution you'd like
Replace the path to the user's home directory with $HOME in init.zsh
Describe alternatives you've considered
I guess since it's not quoted ~ works just as well, though I think $HOME is probably a better choice.

Hi. I've changed the code in the use-home-in-init-zsh branch to generate the init.zsh file with ${HOME} instead of the resolved path. I've run our benchmarks in my local Intel MacBook Pro and observed a 19% increase in the startup time with this new change:
framework,mean,stddev,min,max
zim,0.0850283,0.00218265,0.082452,0.089822
zim-branch1,0.101417,0.00560655,0.095258,0.113082

Maybe having the resolved paths is a performance optimization worth keeping. Will try to run the same benchmarks with GitHub Actions to have those measurements to assess too.

Didn't have the change to come back to this, but I tend to agree that it's better to keep the ${HOME} variable unresolved in the init.zsh so it's more friendly to edge case scenarios, than try to be minimally faster. Just want to try to run the benchmark in the GitHub Actions machine once to see how it affects that benchmark. Any help setting that up is welcome.
@markfaine, to download the zimfw.zsh from the mentioned branch, use https://raw.githubusercontent.com/zimfw/zimfw/use-home-in-init-zsh/zimfw.zsh. That branch is now way behind the master branch, and it's on top of zimfw v1.11.3.

The results of the benchmark in the GitHub Actions machine is in: https://github.com/zimfw/zsh-framework-benchmark/actions/runs/9291824609/job/25571266253

framework
mean
stddev
min
max

vanilla
0.00529283
0.00019565
0.005089
0.006581

zinit-turbo
0.0448112
0.00116446
0.04324
0.051293

zim-branch1 (use-home-in-init-zsh)
0.0573027
0.0014278
0.055373
0.063893

zim (master)
0.0573594
0.00181664
0.055303
0.066643

zcomet
0.0663811
0.00214085
0.06476
0.084694

antibody-static
0.0691344
0.00067308
0.068107
0.072547

zgen
0.0723409
0.00175374
0.070652
0.081492

antigen
0.0804912
0.00058769
0.079479
0.082419

prezto
0.097302
0.00206302
0.095081
0.111511

ohmyzsh
0.136848
0.00101534
0.135207
0.140645

zplug
0.216071
0.00225839
0.211897
0.235223

zinit-light
0.228825
0.00305681
0.222101
0.238459

Looking good, so this is something worth merging to master and releasing.

@markfaine, I just realized this conflicts with #486. How are we going to allow a machine to have just one init.zsh script that can be sourced by different users if the script uses ${HOME} which varies between users?

Fair enough, I agree this is a good convention:

If ${ZIM_HOME} is under ${HOME}, then generate init.zsh with ${HOME} unexpanded, as request in this issue. This assumes the init.zsh won't be shared with other users.
Otherwise, generate init.zsh with fixed paths (which will happen automatically, since there won't be any paths under ${HOME}). This generates an init.zsh file that can be shared with other users, as requested in #486.

Just released zimfw v1.14.0 with this fix.


DNS not working from inside docker container

I have 2 VMs consul0 and manager0 running centos/7.
DNS works fine from both VMs, I can ping manager0 from consul0 and vice versa.

From inside the container I get the following:
/ # ping manager0
ping: bad address 'manager0'

resolv.conf seems to be fine
/ # cat /etc/resolv.conf
# Generated by NetworkManager
search lan vagrant.test
nameserver <IP_ADDRESS>

But using dig from inside the container works fine:
/ # dig -p 10053 @<IP_ADDRESS> manager0.vagrant.test

; <<>> DiG 9.10.2 <<>> -p 10053 @<IP_ADDRESS> manager0.vagrant.test
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19456
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;manager0.vagrant.test.     IN  A

;; ANSWER SECTION:
manager0.vagrant.test.  0   IN  A   <IP_ADDRESS>

;; Query time: 6 msec
;; SERVER: <IP_ADDRESS>#10053(<IP_ADDRESS>)
;; WHEN: Wed May 18 19:04:54 UTC 2016
;; MSG SIZE  rcvd: 55

I can see that docker is adding its own rules to iptables
[vagrant@consul0 ~]$ sudo iptables -L -t nat
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
DOCKER     all  --  anywhere             anywhere             ADDRTYPE match dst-type LOCAL

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
DNAT       tcp  --  anywhere             <IP_ADDRESS>             tcp dpt:domain to:<IP_ADDRESS>:10053
DNAT       udp  --  anywhere             <IP_ADDRESS>             udp dpt:domain to:<IP_ADDRESS>:10053
DOCKER     all  --  anywhere            !loopback/8           ADDRTYPE match dst-type LOCAL

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
MASQUERADE  all  --  <IP_ADDRESS>/16        anywhere
MASQUERADE  tcp  --  <IP_ADDRESS>           <IP_ADDRESS>           tcp dpt:fmtp

Chain DOCKER (2 references)
target     prot opt source               destination
DNAT       tcp  --  anywhere             anywhere             tcp dpt:fmtp to:<IP_ADDRESS>:8500

Was the issue resolved? I got the same error.


[Реєстрація.API] Any user is able to create Admin_role profile

Environment: Postman v9.0.3
Reproducible: always
Build found: last commit
Steps to reproduce

Select the method POST in Postman
Fill in URL field https://speak-ukrainian.org.ua/dev/api/signup
Click on the Body tab and select Raw-> JSON format
Enter in Body field data:
{
"firstName": "User",
"lastName": "New",
"email"<EMAIL_ADDRESS>"password": "qweqweqwe",
"phone": "000000000000000000",
"roleName": "ROLE_ADMIN"
}

Actual result
User is created as admin

Expected result
User doesn't have permission to register as admin
User story and test case links
E.g.: "User story #97

Bug is close


viewController dont release when I use _bridge = WKWebViewJavascriptBridge

_bridge = [WKWebViewJavascriptBridge bridgeForWebView:_webView];
when I note this code ，view should go dealloc function
but when I push _bridge=nil in viewDidDisappear
it worked
why?

I also found it, when i use FBRetainCycleDetector to find the Retain Cycle:
"-> _jsBridge -> WKWebViewJavascriptBridge ",
"-> _base -> WebViewJavascriptBridgeBase ",
"-> _messageHandlers -> __NSDictionaryM ",
"-> NSMallocBlock "

It has  a memory leak，i test this, but i have no idea now.


Timeouts and redirects

For the client library how do specify timeouts and redirect handling?
It would be nice to also mention dns resolution and whether that is blocking- or can have separate timeouts from the request connect time and response time.
Resolution of the timer in milliseconds is also a plus

hyper does not provide timeouts or redirects directly. The reqwest crate has support for both (and both sync and async Clients).

redirects is a great feature request


Switch to websocket

To enable better error handling, I plan to migrate from custom protocol to websocket.

[ ] Enable websocket in server
[ ] Enable websocket in client
[ ] Deprecate custom protocol

Maybe SOCKS5 is a better choice https://datatracker.ietf.org/doc/html/rfc1928


Fix error when scanning on raspberry or ASUS Tinker Board issue #40

On some device like raspberry (raspbian) or ASUS Tinker Board (TinkerOS based on debian) we experienced issues because the list wifi command with nmcli return the interface with the result of the scan like:
$ nmcli --terse --fields active,ssid,bssid,mode,chan,freq,signal,security,wpa-flags,rsn-flags device wifi list ifname wlan0
wlan0
yes:NETWORK_1:D4\:6E\:0E\:8E\:66\:EC:Infra:3:2422 MHz:78:WPA2:(none):pair_ccmp group_ccmp psk
no:NETWORK_2:DA\:0F\:99\:70\:C4\:C2:Infra:6:2437 MHz:77:WPA2:(none):pair_ccmp group_ccmp psk
no:NETWORK_3:40\:C7\:29\:D1\:BC\:A0:Infra:11:2462 MHz:50:WPA1 WPA2:pair_tkip pair_ccmp group_tkip psk:pair_tkip pair_ccmp group_tkip psk
no:NETWORK_4\:C7\:29\:D5\:03\:08:Infra:1:2412 MHz:47:WPA1 WPA2:pair_tkip pair_ccmp group_tkip psk:pair_tkip pair_ccmp group_tkip psk
To prevent exeption on missing fields (cannot call .replace of undefined) I just exclude bad lines (not enough fields.
Other fix : linux-connect error. Only tested on ASUS Tinker Board, nmcli command for connection return an error in the stdout and not in the stderr. It means that the error object is never filled.
To fix this issue I test if the stdout contains "Error: ", if yes I create a new Error object.

This PL seems perfect. Could you please change it for the dev branch and not the master branch. And don't increase the version number in the package.json file. I will increase it myself just before publishing with several corrections in the same time.

I just changed the branch from master to dev for the destination.

@friedrith anything else that needs to be done before this can be merged?


Use specified application namespace instead of hard coded "App" in fresh command.

Fresh command uses hard coded application namespace in fresh app provider stub. This fixes it and use specified application namespace instead of hard coded one.

But arnt you suppose to run fresh only on a new install?
So you'd just set the namespace after running fresh...?

@TheShiftExchange fresh command expects force option to run on production environment. Even if you would run it at the very beginning I think it is a strange behaviour, because you could first set environment and then delete boilerplate data.


Make Ingress annotations available in template

This change is

Coverage decreased (-0.005%) to 43.813% when pulling edcc3dfc8153520d47116410f1235352f2f1acc0 on aledbf:add-metadata into 6d0243a040625eddd8dd6a4771baaf0bcbbea9b7 on kubernetes:master.


support no space between spoken form and parens?

Talon supports hello(world): bar to map a spoken form equivalent to hello world: bar.  Do we want to support this?

No, because that would clash with the special syntax key(...): and such, and would make parsing a mess.

I don't think it actually clashes with that syntax, and it appears you have special cases for all the functions anyway, so I'm not sure I see a problem
Fwiw, note that on the converse, key (a): foo is treated by Talon as equivalent to key a: foo (ie it matches someone saying the literal phrase "key a"). Not arguing we want to support that either, but we are introducing inconsistencies with the Talon parser

Inconsistencies are unfortunately difficult to avoid without pushing more and more complexity into the lexer, because the Talon syntax is ambiguous.

I'm happy to take suggestions, though.
However, in my experience, using higher precedence for key(..) as a key binding over a command makes the error correcting behavior of the tree sitter parser act up.
Therefore this is probably best solved with lookahead in the lexer.

Ok so just to make sure we're on the same page, how do you want to parse the following:
hello(world): bar

and conversely
key (a): bar

And does today's parsing of those programs match your desired parsing?  If the answer to that last question is "yes", then we can close this issue, but just wanted to make it all explicit

I agree with these parsings. The cases I'm unsure about are:
key(not-a-valid-key-name): bar

Do you know what Talon parses these as?

Pretty sure the parser doesn't care about valid key names. The content inside the parentheses is just a string. That would probably generate a unknown key error when Talon tries to utilize the key value.

Closing in favour of meta issue #33


Fix hostname in server list fields

Pod DNS is supposed to be look like <stateful set name>-<index>.<service name>
This fixes the wrong hostname format used to generate server list status fields.
This also removes redundant memcached from resource names. Now individual operators are supposed add it as CR name suffix, thus adding it again in memcached controller causes redundant names.

/retest

/retest


Running as administrator from standard user gives error

Environment
Windows build number: Windows 10 version 10.0.18363.693
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce

Create a standard account. Then, open wt as administrator. UAC opens up, and you type your administrator account password.
It gives the following error: C:\User[name of user]\AppData\Local\Microsoft\WindowsApps\wt.exe The file cannot be accessed by the system.
When running as administrator by searching the start menu for Windows Terminal, I get a different error: Windows cannot find 'C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.9.....(skipped the rest of the name)\WindowsTerminal.exe'. Make sure you typed the name correctly, and then try again.
Expected behavior
It should run as administrator and run commands with administrator privileges.

Actual behavior

It gives the error that it cannot find the path of the executable file.

Thanks for the bug report! This is actually already being tracked by another issue on our repo - please refer to #4217 for more discussion.
/dup #4217

I don't think it's a duplicate, the app just decides to crash one day and not run again with this message in repeat, also the executable "wt.exe" cannot be moved, copied or read after this happens.


Bug: MagicAreas not showing on integration page after installation

Describe the bug
The MagicAreas integration isn't showing on the HA page after I install it. I've followed the instructions so I'm not sure what the issue is. I was expecting it to show on the integrations page?
Is it still working on recent versions of HA?
To Reproduce
Steps to reproduce the behavior:

Install Magic Areas via HACS
Add Magic Areas to config page, save
Restart HA

Expected behavior
MagicAreas shows on integration page (/config/integrations) and creates default entities.
Home Assistant 2023.3.6
Supervisor 2023.04.1
Operating System 9.5
Frontend 20230309.1 - latest

It started showing a while later.


Is this repository active?

I can see multiple pull requests, still kept on hold!
I've also created a PR, can you please review and merge it?

I'm asking @ghosh if its possible to give me admin access to maintain this repo. Such a nice project.

Right it would be better @Luismi74

Also would love to see this project kept alive!

This hasn't been active for 4 years

Sadddd....

I tried to reach him out on Linkedin, Twitter, all the places but he never replied back.


Not default "tab-width" as default

Hello!
Firstly, great job and thank you for this plugin!
I used the plugin, but I was confused when the default "tab-width" was incorrect. Could you fix it according to the Prettier documentation and set it to 2?
https://github.com/enpitsuLin/prettier-plugin-tact/blob/599295c88ae49eef975488b17e644f01abecbe4f/src/index.ts#L27-L29

This is my first time making a prettier plugin so I overlooked this thx for opening this issue, I'll take a look at this later


How to train MAPPO on MPE with the separated policy?

I have trained MAPPO on simple_spread with the separated policy, but the results are not stable.
Could the authors help me explain the problem of hyperparameter settings?

can u upload ur hyperparameters setting? like the training scripts.

I have solved this problem. Thank you very much.


normalize websocket write_op

...to not need handler_ptr: find an unused part of the stream object to put the close frame so we don't need the extra allocation.

I don't see how this is possible, and it isn't really needed because the allocation rarely happens


Error while building OHIF Viewer on Windows 2008 R2

I get the following errors while building OHIF Viewer on Windows 2008 R2

PS C:\Viewers-master\OHIFViewer> meteor build --directory myOutputFolder
=> Errors while initializing project:

While selecting package versions:
error: unknown package in top-level dependencies: ohif:polyfill
unknown package in top-level dependencies: ohif:core
unknown package in top-level dependencies: ohif:commands
unknown package in top-level dependencies: ohif:hotkeys
unknown package in top-level dependencies: ohif:header
unknown package in top-level dependencies: ohif:cornerstone
unknown package in top-level dependencies: ohif:cornerstone-settings
unknown package in top-level dependencies: ohif:viewerbase
unknown package in top-level dependencies: ohif:study-list
unknown package in top-level dependencies: ohif:dicom-services
unknown package in top-level dependencies: ohif:hanging-protocols
unknown package in top-level dependencies: ohif:metadata

Anyone ?

Hello,
Thanks for your reply. I have already done as you said and am
already following the instructions at the link you provided but
unfortunately I am still getting the same errors.
On Sun, Apr 15, 2018, 7:23 PM Thiago Maltempi<EMAIL_ADDRESS>wrote:

Hey @ranasrule https://github.com/ranasrule ,
I think that you need to tell to meteor your packages packages location.
If you are running this command inside Viewers/OHIFViewer/ folder, the
packages are in ../Packages. Just try:
#windows:
SET METEOR_PACKAGE_DIRS="../Packages"
meteor build --directory myOutputFolder
You can get further information here:
https://docs.ohif.org/deployment/building-for-production.html#building
Hope this helps!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OHIF/Viewers/issues/181#issuecomment-381410444, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEymu3azRQSlX7s3OLkAOzMLRbdxR7ffks5to1frgaJpZM4TU5B5
.

--
Regards,
Rana Asim Wajid

I am experiencing the same error in windows 10
c:\laragon\www\Viewers\OHIFViewer>SET METEOR_PACKAGE_DIRS="..\Packages"

c:\laragon\www\Viewers\OHIFViewer>meteor build --directory myOutputFolder
=> Errors while initializing project:

While selecting package versions:
error: unknown package in top-level dependencies: ohif:polyfill
unknown package in top-level dependencies: ohif:core
unknown package in top-level dependencies: ohif:commands
unknown package in top-level dependencies: ohif:hotkeys
unknown package in top-level dependencies: ohif:header
unknown package in top-level dependencies: ohif:cornerstone
unknown package in top-level dependencies: ohif:cornerstone-settings
unknown package in top-level dependencies: ohif:viewerbase
unknown package in top-level dependencies: ohif:study-list
unknown package in top-level dependencies: ohif:dicom-services
unknown package in top-level dependencies: ohif:dicomweb-client
unknown package in top-level dependencies: ohif:hanging-protocols
unknown package in top-level dependencies: ohif:metadata
unknown package in top-level dependencies: ohif:user
unknown package in top-level dependencies: ohif:user-keycloak
unknown package in top-level dependencies: ohif:measurement-table

"error: unknown package in top-level dependencies" means that Meteor can't find all the packages in the Packages folder. This means the METEOR_PACKAGE_DIRS variable is not correctly pointing to the directory.
You need to find another way to set the environment variable. Apparently 'set' doesn't work. I know you can use the UI for this as well: https://www.computerhope.com/issues/ch000549.htm

Thanks for answering, indeed the environment variable has to do through the UI, which had already done before my publication, my problem was in the value of the variable ".. \ Packages" and had to be without the quotes . Everything is working correctly from there.

It sounds like the issue has been identified and the problem resolved. If you're still experiencing issues, please feel free to comment here and I can re-open the issue. If you have new questions, I recommend opening a new issue.


Extension/todoist menu bar tasks

Closes #3587
Extension: https://www.raycast.com/thomaslombart/todoist
Author: @thomaslombart
Description
Add a command to the Todoist extension that shows tasks on a menu bar

user can switch between today/upcoming view
user can change due date, complete task, delete task, change priority, open in todoist app/webapp from submenu

Screenshots

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast (details below)
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Got an error in the create task command (not in the scope of this pr) -

Seems to me that the useForm hook and the date picker component are having issues, not sure how to fix this. I can commit if a fix if someone can let me know how to fix this.

Thanks for this awesome contribution!
Would it be possible to make the priority icon black when using the light theme?

I toggled the system appearance and it automatically becomes a darker color -

iirc, raycast automatically switches the built-in colors depending on the system theme

Here's the fix for the type error:

I'm checking the error message with the API team 😊

Tinting colors using primaryText and secondaryText doesn’t work as expected right now. This should be fixed in the next release, if not, then the workaround for that would be to use { dark: <color>, light: <color>} but let's await next release (tomorrow)

@AnishDe12020 Any status updates for this? 🙂

I'm interested to do something like this. I wanted to add the One Thing extension to Todoist extension.
I'll have a look to this PR and check if it answers my needs. It sounds like, at first look.

Can you check again @AnishDe12020 - looks like it's resolved in 1.44.0

It's maybe related. I won't have the time to check that today or tomorrow. I'll get back to you on Friday 😊

It's maybe related. I won't have the time to check that today or tomorrow. I'll get back to you on Friday 😊

Really sorry, had forgotten to update the sdk (forgot to run npm i after pulling changes 😭 ) and the old api was retired so i was getting 500s
The pr is ready to be merged, would be cool if this is done at the earliest @pernielsentikaer 🤞

Hi @AnishDe12020 👋
The dates below the two tasks in the overdue section seem weird though. Why are they here?

Seems like the function that splits the tasks into sections according to date were iterating over all the tasks instead of only the upcoming ones. Fixed it in https://github.com/raycast/extensions/pull/3882

Something also weird. When you switch from Upcoming to Today, it displays aaaaaaaall your tasks during 4-5s and it filters to Today just after.


useGlobalCache TypeError: Cannot read properties of null (reading '1')

It happens when the route change, not 100% but it's easy to reproduce

I am also getting this error

I moved const cache = createCache(); outside the StyledComponentsRegistry and it works fine now

 I moved const cache = createCache(); outside the StyledComponentsRegistry and it works fine now

Thank you. Fixed it for me. The docs should be updated

@zombieJ


[core] Zipbomb Attack Detected?

Issue details

This was from stickwar legacy downloaded from apkpure;
Was this a real zipbomb?
or a decompile issue?
Relevant log output or stacktrace
No response
Provide sample and class/method full name
No response
Jadx version
2023.5.201

No, i think it a decompile issue. Assets always compressed

The total size of ~1MB is a bit small for a real ZIP bomb attack. Anyway having a file with a compression ration of ~370, where 2-10 would be a good compression ratio, raises some questions on why the APK contains such a file.
Another question is if there is only one such file in the APK or multiple. One such file doesn't make an attack, multiple files increase the probability of an attack. Anyway a zip bomb attack may only lead to a crashing app processing the APK or in a bit of HDD usage.

Even the original APK (extracted from emulator) has this 'zipbomb'
It could just be a way to stop modders or code stealing?


[BUG] Unknown IOCTL in FUSB302 driver

Description / Steps to reproduce the issue
I am seeing unrecognized IOCTL error reports from the FUSB302 USBMISC driver recently. I suspect there's a recent change that has caused this and am looking for suggestions as to where to look to investigate.
It happens if (for example) I run a ping from nsh (albeit via a CDC/NCM usb connection so there is a relevance).
The IOCTL is 0x30a which I think is a file system IOCTL, FIONBIO, so not sure why this driver is being sent this?
This is the call stack. Can anyone advise?
fusb302_ioctl@0x2001b4d4 (/home/tim/designs/nuttx/nuttx/drivers/usbmisc/fusb302.c:1739)
file_vioctl@0x2003988c (/home/tim/designs/nuttx/nuttx/fs/vfs/fs_ioctl.c:68)
file_ioctl@0x20039b04 (/home/tim/designs/nuttx/nuttx/fs/vfs/fs_ioctl.c:225)
file_dup3@0x200397f0 (/home/tim/designs/nuttx/nuttx/fs/vfs/fs_dup2.c:150)
file_dup2@0x20039838 (/home/tim/designs/nuttx/nuttx/fs/vfs/fs_dup2.c:200)
files_duplist@0x20038f98 (/home/tim/designs/nuttx/nuttx/fs/inode/fs_files.c:723)
group_setuptaskfiles@0x2000e534 (/home/tim/designs/nuttx/nuttx/sched/group/group_setuptaskfiles.c:99)
nxtask_init@0x2000cfb4 (/home/tim/designs/nuttx/nuttx/sched/task/task_init.c:139)
nxtask_spawn_create@0x2000d6cc (/home/tim/designs/nuttx/nuttx/sched/task/task_spawn.c:108)
nxtask_spawn_exec@0x2000d6cc (/home/tim/designs/nuttx/nuttx/sched/task/task_spawn.c:224)
task_spawn@0x2000d6cc (/home/tim/designs/nuttx/nuttx/sched/task/task_spawn.c:321)
exec_builtin@0x200338ac (/home/tim/designs/nuttx/apps/builtin/exec_builtin.c:189)
nsh_builtin@0x200336a0 (/home/tim/designs/nuttx/apps/nshlib/nsh_builtin.c:105)
nsh_execute@0x20030928 (/home/tim/designs/nuttx/apps/nshlib/nsh_parse.c:650)
nsh_parse_command@0x20030928 (/home/tim/designs/nuttx/apps/nshlib/nsh_parse.c:2840)
nsh_parse@0x20030d74 (/home/tim/designs/nuttx/apps/nshlib/nsh_parse.c:2930)
nsh_session@0x2002a2c4 (/home/tim/designs/nuttx/apps/nshlib/nsh_session.c:245)
nsh_consolemain@0x2002a0f0 (/home/tim/designs/nuttx/apps/nshlib/nsh_consolemain.c:75)
nsh_main@0x2002a094 (/home/tim/designs/nuttx/apps/system/nsh/nsh_main.c:74)
nxtask_startup@0x2001e390 (/home/tim/designs/nuttx/nuttx/libs/libc/sched/task_startup.c:70)

On which OS does this issue occur?
[OS: Linux]
What is the version of your OS?
Ubuntu 22.04.5 LTS
NuttX Version
Master
Issue Architecture
[Arch: arm]
Issue Area
[Area: Drivers]
Verification

[X] I have verified before submitting the report.

@xiaoxiang781216 any idea?

FIONBIO is a general ioctl which may call from the common code, the driver should ignore any ioctl(include FIONBIO) which can't handle and return -ENOTTY without any other side effect.

FIONBIO is a general ioctl which may be called from the common code, the driver should ignore any ioctl(include FIONBIO) which can't handle and return -ENOTTY without any other side effect.

OK no worries - it does ignore it and return -ENOTTY as expected: I had turned on USB debug features which would be what caused this to show, didn't remember it from before.


Issue-1325: Let OS assign random ports to servers during testing, and…

… let tests get the port of the running server once the OS has assigned a port. Delete PortUtil and similar utilities.
As discussed in https://github.com/jamesagnew/hapi-fhir/issues/1325, I've updated the tests to let the OS assign ports to test servers, rather than using the PortUtil and various other utilities that were similar.
The method for assigning ports outlined in the issue works everywhere, except for the following two places:

RestHookWithInterceptorR4Test -  Wants to set a subscription endpoint that won't respond properly. Instead of picking a random port, I changed the test to use the running test server, with an invalid URL path.
TestSubscriptionConfig - Due to Spring, the tests using this config need to supply an IGenericClient, that apparently isn't used. Instead of creating a real client pointing to a random port, I just made the config supply a mock. The client was previously pointing to a port where nothing was running, so I don't think this should make a difference.

I've not updated the following modules, as they aren't attached to the build. I'm not sure why they aren't deleted to be honest:

hapi-fhir-oauth2
hapi-fhir-structures-dstu
hapi-fhir-jaxrs-sse

I'll be happy to open a PR to delete these modules if they aren't needed.
Other changes here:

Some tests were closing servers in @AfterClass methods, while also clearing all static fields in a different @AfterClass, using the TestUtil.clearAllStaticFieldsForUnitTest() method. As JUnit may invoke these methods in any order, this caused servers to leak, due to the field being nulled before the server was stopped. Fixed the instances I found by just combining the methods.
Jetty is only capable of shutting down gracefully if the StatisticsHandler is added to the server. Made sure this happens. When Jetty shuts down gracefully, a stop() call will block until the server is done processing open requests. Without StatisticsHandler, the server just shuts down immediately, which was causing exceptions to be logged in some tests.
Ensured tests call both stop and destroy on the Jetty server. As far as I can tell, stop doesn't do cleanup (the server could be started again later), and destroy should be called to make sure all handlers are properly destroyed once the server is stopped.
Removed a ComponentScan that was trying to scan the "ca.uhn.fhir.jpa.model.interceptor.executor" package. This package doesn't seem to exist, and the tests run fine without it.

I think it would be good to write e.g. a JUnit rule to wrap server creation/destruction, so test writers won't have to remember to call the right test utility methods, and to properly clean up the server. I haven't done it here, since it's a lot of code to update, but it could be a good idea for new test code.
I've run the build a couple of times on a Linux VM, and I'm pretty much only seeing test failures in the JPA server module, and those failures don't seem related to which port the server is running on. I'll raise separate issue to track fixing the failures I saw.

The JettyUtil class in hapi-fhir-base requires that I add jetty as a dependency. If there's a better module for the utility, I'm happy to move it.

Coverage decreased (-0.02%) to 75.835% when pulling a69a498f8aeaef0ce92c458c509c6510b8045b22 on srdo:issue-1325 into dd203ae28fc0a6706f58620fc4c493fcf7b73f39 on jamesagnew:master.

Super cool. Definitely want to review this with a bit more detail a bit later, but one comment:

Some tests were closing servers in @AfterClass methods, while also clearing all static fields in a different @AfterClass, using the TestUtil.clearAllStaticFieldsForUnitTest() method

That clearAllStaticFieldsForUnitTest method may well not be needed any more truthfully. It was added a long time ago, when the FhirContext consumed quite a bit of memory and the tests were running out. It probably makes sense to just remove it at this point...

I wonder how much removing that method would speed up the build...
On Mon, Jun 10, 2019 at 4:37 PM James Agnew<EMAIL_ADDRESS>wrote:

Super cool. Definitely want to review this with a bit more detail a bit
later, but one comment:
Some tests were closing servers in @afterclass
https://github.com/afterclass methods, while also clearing all static
fields in a different @afterclass https://github.com/afterclass, using
the TestUtil.clearAllStaticFieldsForUnitTest() method
That clearAllStaticFieldsForUnitTest method may well not be needed any
more truthfully. It was added a long time ago, when the FhirContext
consumed quite a bit of memory and the tests were running out. It probably
makes sense to just remove it at this point...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jamesagnew/hapi-fhir/pull/1336?email_source=notifications&email_token=AANBORVXZKE3LNGQ4EK5LMLPZ23O3A5CNFSM4HWHTI6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXLFATQ#issuecomment-500584526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANBORXIZYNCJTGHTCGG2NTPZ23O3ANCNFSM4HWHTI6A
.

I'm happy to try removing clearAllStaticFieldsForUnitTest, but as it is used in ~500 files, I'd rather do that in another PR.


Multiple Swipe Left required to swipe Left

HI,
I have horizontal gallery and when swipe left it not happens in one swipe . I need multiple swipe to get it work.
Please look into the issue.
<GestureRecognizer
onSwipeLeft={() => {
let currentPosition = this.state.currentPosition;
if (this.state.alreadyVoted == true) {
currentPosition = this.state.nextVotingPosition
}
if (currentPosition < this.state.contentList.length - 1) {
this.setState({
currentPosition: currentPosition + 1,
contentId: this.state.contentList[currentPosition + 1],
alreadyVoted: false
})
console.log('Displaying next item - ', currentPosition)
} else {
console.log('No more items to display!!')
this.setState({
currentPosition: currentPosition + 1,
alreadyVoted: false
})
                                        }
                                        this.saveLastViewedContentForCampaign(
                                            this.state.campaignId,
                                            currentPosition + 1)
                                    }}
                                    config={{
                                        detectSwipeUp: false,
                                        detectSwipeDown: false,
                                        detectSwipeRight: false,
                                        velocityThreshold: 0.3,
                                        directionalOffsetThreshold: 80
                                    }}>{this.renderGallery(tabVerticalStyles)}
                                </GestureRecognizer>

Did you find a solution for this?

@dpk89 did you find any solution ?

Did you find a solution for this?

I am using some custom code. I have attached the source code.
UseCase:
<SwipeGesture style={this.isLandscapeAsset() ?
phoneStyles.vote2GalleryContainerLandscape :
phoneStyles.vote2GalleryContainer}
onSwipePerformed={this.onSwipePerformed}
>
{this.renderGallery(phoneStyles)}

swipe-gesture.js.zip