text:
backport changes from old bullet branch

This is a backport of my changes from my old bullet branch I need to change how the binary gets loaded but with the optimization flag this is pretty much on par with JBullet. We need to do some more testing and judge if this could work into the existing line up.
so java.library.path will need to be set. I'll have to tweak JNBullet to use org.terasology.bullet.librarypath or something similar and also setup the assembly loading.

issue: https://github.com/MovingBlocks/Terasology/pull/3809

This was mostly to just get the ball rolling again. so some of the changes that @eviltak  made a while ago are kind of in a funny state with this. umm, not sure hat exactly to do with some of these changes. The abstraction is in a funny middle ground.

With https://github.com/MovingBlocks/JNBullet/pull/9 and natives from there this now works on my Mac 👍
Also needed https://github.com/Terasology/Inventory/pull/26

Can confirm I've now tested this on both Mac and Windows, with the shiny new v1 release of JNBullet, complete with natives built for all three OSes via Jenkins! Hooked up work Mac as a static build agent and JNBullet's Jenkinsfile now correctly builds most the stuff on Linux then just the Mac natives on a different agent, stashing the file needed from there, and eventually cramming it all into a zip that goes into Artifactory. Testing includes multiplayer with railgunning galore and that part seems alright!
Upon closer testing however
it does seem like there might be some quirks:

[ ] Unit test fails are legit, the same 17 fail locally as well (I particular wonder about unit tests in modules as well)
[ ] If you place a free standing fence pole on a flat surface there's plenty of space normally to target and hit the ground immediately below it. With the physics from here that doesn't work - if you target the fence block directly it takes damage, but any attempt to target through the blockspace causes damage to seemingly nothing. Block below is unaffected
[ ] I placed a fence pole then broke adjacent dirt to break the dirt under the fence pole. Was able to partly move past along the sides of the fence block which might be okay, but oddly after doing it a few times i suddenly and immediately died of physical damage 🤔 Not sure if new with the physics or if that's a rare manifestation of the quirk where if you rub up against corners or something it might kill you ... (on the plus side I couldn't replicate #3559!). Tried a second time and didn't die that time.
[ ] If you try to push against a fence pole you might get weirdly stuck on it - can be somewhat hard to replicate and I'm not sure if it is new. In the below screenie I'm actually trying to move forward. If I keep slowly looking further and further to the left I'll eventually escape and push forward. I would expect to be slowly sliding since the fence post is a hard corner

Under Ubuntu 20.04 with Adopt OpenJDK 11.0.8, the Terasology.zip from Jenkins does look like it loads JNBullet:
Found the natives dir: …/natives
16:36:30.611 [main] INFO  c.b.gdx.physics.bullet.NativeSupport - Loading JNBullet Library:bullet
16:36:30.636 [main] INFO  c.b.gdx.physics.bullet.NativeSupport - 	Loaded from java.library.path: …/natives/linux/libbullet-linux-amd64.so

but that distribution contains no modules and the runtime does not seem to retrieve them by itself, so I can't say anything about how the gameplay works.
It did show the main menu, there was music and sound, and the usual log messages from the input system, so from that I think the usual jinput + lwjgl + openal libraries were not disrupted by this.

It also succeeds in getting past the "Loading JNBullet" part of the logs under the current release candidate for OpenJDK 15. (Java VM: OpenJDK 64-Bit Server VM, version: 15+36-1562)
JDK 15 fails to load lwjgl, but that failure isn't particular to this branch, it happens in develop too.

Merged everything locally and did some additional spot testing. Checks out, beyond the usual sorts of quirks - some dropped items don't really fall over in a natural way, rail carts go in the right direction again now, but as usual don't really work well for non-hosting players in multiplayer. And the rail gun carnage is glorious 👍
Will merge module PRs after engine build is going. Thanks for hanging in there on this one @pollend!

authors: Cervator keturn pollend

repo: MovingBlocks/Terasology


text:
ModuleNotFoundError: No module named 'paho'

Hello,
I run homebridge on a Debian Linux and it's working fine, but I have a problem with this Hisense plugin.
I did install successfully by "npm -g install homebridge-hisense-tv-remotenow".
Until now, I did not configure anything in homebridge config, cause that very first command for pairing is already failing.
I did only run this:
root@Server:/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin# python3.9 hisensetv.py 192.168.1.40 --authorize --iframe ens3 Traceback (most recent call last):   File "/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin/hisensetv.py", line 3, in <module>     from hisensetv import __main__   File "/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin/hisensetv/__init__.py", line 12, in <module>     import paho.mqtt.client as mqtt ModuleNotFoundError: No module named 'paho'
What is the problem?
The TV pairs correctly with the iPhone app and the Linux machine can also connect by telnet to port 36669.
Can you please help me to fix?

I had to install that package:
apt install python3-paho-mqtt
Now I get that error, although my network interface is "ens3", isn't it?
root@Server:/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin# python3.9 hisensetv.py 192.168.1.40 --authorize --iframe ens3 usage: hisensetv.py [-h] [--authorize] [--ifname IFNAME] [--get {sources,volume,state}] [--key {power,up,down,left,right,menu,back,exit,ok,volume_up,volume_down,channel_up,channel_down,fast_forward,rewind,stop,play,pause,mute,home,subtitle,netflix,youtube,amazon,0,1,2,3,4,5,6,7,8,9,source_0,source_1,source_2,source_3,source_4,source_5,source_6,source_7}] [--no-ssl] [--certfile CERTFILE] [--keyfile KEYFILE] [-v] hostname hisensetv.py: error: unrecognized arguments: --iframe ens3
root@Server:/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host        valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000     link/ether 02:11:32:2d:27:58 brd ff:ff:ff:ff:ff:ff     altname enp0s3     inet 192.168.1.7/24 brd 192.168.1.255 scope global dynamic ens3        valid_lft 76648sec preferred_lft 76648sec     inet6 fd46:9444:872e:4e94:11:32ff:fe2d:2758/64 scope global dynamic mngtmpaddr        valid_lft 1751sec preferred_lft 1751sec     inet6 fe80::11:32ff:fe2d:2758/64 scope link        valid_lft forever preferred_lft forever

That command helped:
apt install python3-paho-mqtt
But now I get that errors:
root@Server:/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin# python3.9 hisensetv.py 192.168.1.40 --authorize --ifname ens3 [2022-01-16 19:49:27,550] [INFO    ] Unverified SSL context created. Traceback (most recent call last):   File "/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin/hisensetv.py", line 6, in <module>     __main__.main()   File "/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin/hisensetv/__main__.py", line 128, in main     with tv:   File "/usr/lib/node_modules/homebridge-hisense-tv-remotenow/bin/hisensetv/__init__.py", line 137, in __enter__     self._mqtt_client.connect(self.hostname, self.port)   File "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 941, in connect     return self.reconnect()   File "/usr/lib/python3/dist-packages/paho/mqtt/client.py", line 1104, in reconnect     sock.do_handshake()   File "/usr/lib/python3.9/ssl.py", line 1309, in do_handshake     self._sslobj.do_handshake() ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1123)

Thanks for reporting this! This command is already in the Readme, it's just using pip instead of apt, to make it more distribution-generic.

Thanks for reporting this! This command is already in the Readme, it's just using pip instead of apt, to make it more distribution-generic.

I know, but I jumped over that step cause before the Readme is saying "If you're using Hoobs, ...".

Ha, good point! Let me change that.

source: gharchive/issue

repo: MrAsterisco/homebridge-hisense-tv

license: MIT

license_type: permissive

license_source: github-api


text:
[Fabric 1.20.4] Golden Hopper causing crash

Hi, I'm using Golden Hopper on Fabric 1.20.4 and getting this crash.
Crash Report:
https://mclo.gs/95phfPW
Latest.log:
https://mclo.gs/8V2oba5

This appears to have been fixed with the latest release.

repo: MrCrayfish/GoldenHopper


text:
autocomplete with bot telegram

Hello you can create an autocomplete search with your bot telegram you developed

maybe you can, but why should this be an issue here?

Sorry but I do not know where to post the question.

what exactly do you even want?

An example of autocomplete with telegram.bot

Try asking at Stackoverflow or something, here's not the place for that (IMO)

OK thanks

license: mit

license_source: bigquery


text:
Add behavior cloning

Colab
@Curt-Park @mclearning2
I've done to implement Behavior Cloning! It is easy in relative. Please review this PR.

where we store our demonstration data
=> where we store the demonstration data
It computed only on the demonstration examples
=> It computes only on the demonstration examples
However it needs parametrized goals setting
=> However, it needs parametrized goal settings
the following noise parameters work better. The detailed reason is described in DDPGfD PR.

ou_noise_theta = 1.0
ou_noise_sigma = 0.1

test score:  -225.440497529612

we draw an extra ND examples from RD
Using above loss prevents the learned policy from improving
=> Using the above loss prevents the learned policy from improving
the demonstratior action is better than actor action
=> the demonstrator action is better than actor action
However it needs parametrized goals setting, which can be sampled the goal g at the beggining of every epiosde
=>  However it needs a parametrized goals setting, which can be sampled the goal g at the beginning of every episode

@mclearning2 I'll modify them another PR.

source: gharchive/pull-request

authors: Curt-Park MrSyee mclearning2

repo: MrSyee/pg-is-all-you-need


text:
DIO filter

Added new filter to improve efficiency of DIO simulation
test with https://github.com/Mu2e/Offline/pull/1182

Hi @sophiemiddleton,
You have proposed changes to files in these packages:

JobConfig

which require these tests: build.
@Mu2e/fnalbuild-users, @Mu2e/write have access to CI actions on main.
:hourglass: The following tests have been triggered for 9753ef59b536d46fe8dc1a7090631f8192e7e9cf: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.

:umbrella: The build tests failed for 9753ef59b536d46fe8dc1a7090631f8192e7e9cf.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged 9753ef59b536d46fe8dc1a7090631f8192e7e9cf at 24af79374ecc75034801c904926f70c6b6d117af

build (prof)
:white_check_mark:
Log file. Build time: 11 min 19 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:x:
Log file. Return Code 90.

ceDigi
:x:
Log file. Return Code 24.

muDauSteps
:white_check_mark:
Log file.

ceMix
:x:
Log file. Return Code 24.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 9753ef59b536d46fe8dc1a7090631f8192e7e9cf after being merged into the base branch at 24af79374ecc75034801c904926f70c6b6d117af.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

:hourglass: The following tests have been triggered for 9753ef59b536d46fe8dc1a7090631f8192e7e9cf: build  (Build queue is empty)

:sunny: The build tests passed at 9753ef59b536d46fe8dc1a7090631f8192e7e9cf.

Test
Result
Details

test with
:white_check_mark:
Included Mu2e/Offline#1182 @ f64f6c44cf5b051aafc13c7bd9a145e7b5dd7283 by merge

merge
:white_check_mark:
Merged 9753ef59b536d46fe8dc1a7090631f8192e7e9cf at 24af79374ecc75034801c904926f70c6b6d117af

build (prof)
:white_check_mark:
Log file. Build time: 10 min 51 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 9753ef59b536d46fe8dc1a7090631f8192e7e9cf after being merged into the base branch at 24af79374ecc75034801c904926f70c6b6d117af.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

:memo: The HEAD of main has changed to b4a466cacc080d908e90e7fdd86ae3ea517651e7. Tests are now out of date.

I can't find genFilters defined anywhere in the head of Offline or
Prodution.
On Fri, Feb 16, 2024 at 12:32 PM Sophie Middleton @.***>
wrote:

@.**** commented on this pull request.
In JobConfig/primary/StopParticle.fcl
https://github.com/Mu2e/Production/pull/290#discussion_r1492959773:

@@ -20,6 +20,7 @@ physics : {
filters : {
@table::Common.filters
@table::Primary.filters

@table::genFilters.filters

probably in Offline EventGenerator/fcl
—
Reply to this email directly, view it on GitHub
https://github.com/Mu2e/Production/pull/290#discussion_r1492959773, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAH57Y6U5OBNG32TRULQ33YT664BAVCNFSM6AAAAABC4APLCOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQOBVHE3DIMZTGU
.
You are receiving this because you are on a team that was mentioned.Message
ID: @.***>

--
David Brown            @.***
Office Phone (510) 486-7261
Lawrence Berkeley National Lab
M/S 50R5008 (50-6026C)  Berkeley, CA 94720

I can't find genFilters defined anywhere in the head of Offline or Prodution.
…
On Fri, Feb 16, 2024 at 12:32 PM Sophie Middleton @.> wrote: @.* commented on this pull request. ------------------------------ In JobConfig/primary/StopParticle.fcl <#290 (comment)>: > @@ -20,6 +20,7 @@ physics : { filters : { @table::Common.filters @table::Primary.filters + @table::genFilters.filters probably in Offline EventGenerator/fcl — Reply to this email directly, view it on GitHub <#290 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAH57Y6U5OBNG32TRULQ33YT664BAVCNFSM6AAAAABC4APLCOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQOBVHE3DIMZTGU . You are receiving this because you are on a team that was mentioned.Message ID: @.>
-- David Brown @. Office Phone (510) 486-7261 Lawrence Berkeley National Lab M/S 50R5008 (50-6026C) Berkeley, CA 94720

its in EventGenerators/fcl/prolog.fcl

authors: FNALbuild brownd1978 sophiemiddleton


text:
STM simulation fcl files

Simulates beam all the way from the ST to the STM. Requires substantial optimization, mainly done with emission angle cuts on the stopping target (geometric acceptance is approx 1e-9).

Hi @PawelPlesniak,
You have proposed changes to files in these packages:

JobConfig
Scripts

which require these tests: build.
@Mu2e/fnalbuild-users, @Mu2e/write have access to CI actions on main.
:hourglass: The following tests have been triggered for 792821c7beb9fae7723a7ea427b72d51196e149b: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.

:umbrella: The build tests failed for 792821c7beb9fae7723a7ea427b72d51196e149b.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged 792821c7beb9fae7723a7ea427b72d51196e149b at f470f3874aee26cef059489b3ecbba2e4bd1437c

build (prof)
:white_check_mark:
Log file. Build time: 10 min 47 sec

ceSimReco
:stopwatch: :x:
Log file. Timed out.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:stopwatch: :x:
Log file. Timed out.

cosmicOffSpill
:stopwatch: :x:
Log file. Timed out.

ceSteps
:white_check_mark:
Log file.

ceDigi
:stopwatch: :x:
Log file. Timed out.

muDauSteps
:white_check_mark:
Log file.

ceMix
:stopwatch: :x:
Log file. Timed out.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 792821c7beb9fae7723a7ea427b72d51196e149b after being merged into the base branch at f470f3874aee26cef059489b3ecbba2e4bd1437c.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

Thanks for adding these.   It might be better to create an STM directory in
JobConfig for the fcl files
David Brown            @.***
Office Phone (510) 486-7261
Lawrence Berkeley National Lab
M/S 50R5008 (50-6026C)  Berkeley, CA 94720
On Mon, Jun 3, 2024 at 01:59 Fermilab build bot account <
@.***> wrote:

Hi @PawelPlesniak https://github.com/PawelPlesniak,
You have proposed changes to files in these packages:

JobConfig
Scripts

which require these tests: build.
@Mu2e/fnalbuild-users https://github.com/orgs/Mu2e/teams/fnalbuild-users,
@Mu2e/write https://github.com/orgs/Mu2e/teams/write have access to CI
actions on main http:///Mu2e/Offline/tree/main.
⌛ The following tests have been triggered for 792821c
https://github.com/Mu2e/Production/commit/792821c7beb9fae7723a7ea427b72d51196e149b:
build (Build queue is empty)
About FNALbuild.
https://mu2ewiki.fnal.gov/wiki/GitHubWorkflow#GitHub_Pull_Request_Procedures_and_FNALbuild Code
review on Mu2e/Offline.
https://mu2ewiki.fnal.gov/wiki/GitHubWorkflow#Code_Review
—
Reply to this email directly, view it on GitHub
https://github.com/Mu2e/Production/pull/321#issuecomment-2144661178, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAH57Y4Z4Y757ECD7QYKITZFQWA7AVCNFSM6AAAAABIWB3HC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBUGY3DCMJXHA
.
You are receiving this because you are on a team that was mentioned.Message
ID: @.***>

Checking the CI now that the databases are back again
@FNALbuild run build test

:hourglass: The following tests have been triggered for 792821c7beb9fae7723a7ea427b72d51196e149b: build  (Build queue has 1 jobs)

:sunny: The build tests passed at 792821c7beb9fae7723a7ea427b72d51196e149b.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged 792821c7beb9fae7723a7ea427b72d51196e149b at f470f3874aee26cef059489b3ecbba2e4bd1437c

build (prof)
:white_check_mark:
Log file. Build time: 11 min 13 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at 792821c7beb9fae7723a7ea427b72d51196e149b after being merged into the base branch at f470f3874aee26cef059489b3ecbba2e4bd1437c.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.

Hi both,
If you think it would be worthwhile to make an STM directory in JobConfig/pileup/ let me know so I can make these changes and push them, otherwise please let me know if there are other changes to make before this can be merged.
Cheers,
Pawel

Hi Pawel,
On Wed, Jun 5, 2024 at 1:11 PM Pawel Plesniak @.***>
wrote:

Hi both,
If you think it would be worthwhile to make an STM directory in
JobConfig/pileup/ let me know so I can make these changes and push them,
otherwise please let me know if there are other changes to make before this
can be merged.

It should be a directory under JobConfig, JobConfig/STM.  This isn't pileup
in the normal sense.
cheers, Dave

Cheers,
Pawel
—
Reply to this email directly, view it on GitHub
https://github.com/Mu2e/Production/pull/321#issuecomment-2150664295, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAH577E5266BAMOH4J4ZRDZF5IGNAVCNFSM6AAAAABIWB3HC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJQGY3DIMRZGU
.
You are receiving this because you are on a team that was mentioned.Message
ID: @.***>

--
David Brown            @.***
Office Phone (510) 486-7261
Lawrence Berkeley National Lab
M/S 50R5008 (50-6026C)  Berkeley, CA 94720

authors: FNALbuild PawelPlesniak brownd1978 kutschke


text:
MudColor.Dark brightened

Feature request type
Other
Component name
MudColor
Is your feature request related to a problem?
MudColor.Dark makes some components very hard to read.
MudChipSet

MudDivider and MudIconButton

MudSwitch

Describe the solution you'd like
Brighten the default color.
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@danielchalmers is it something you want to look?

@danielchalmers is it something you want to look?

At a glance I think the default style is more appropriate if you want it to work on both themes. Dark is naturally better suited for the light theme.

and these colors have been around for so long I have to imagine it's intentional

Okay thanks

Closing

repo: MudBlazor/MudBlazor


text:
AutoComplete: New Feature - Loading Indicator & CancellationToken

Description
Adds the following parameters to support  a visual indicator for loading/progress while the MudAutoComplete component is awaiting the results of the SearchFunc Task.

[Parameter] public bool ShowLoading { get; set; }
[Parameter] public Size LoadingSize { get; set; } = Size.Medium;
[Parameter] public Color LoadingColor { get; set; } = Color.Default;
[Parameter] public int MinHeight {get; set;}

Adds a [Parameter] public Func<string, CancellationToken, Task<IEnumerable<T>>> SearchFuncWithCancel { get; set; } parameter which can be used instead of  [Parameter] public Func<string, Task<IEnumerable<T>>> SearchFunc { get; set; }.
This allows a CancellationToken to be be passed into the SearchFunc by the MudAutoComplete component.  The token is cancelled when the following methods are called:

Task OnSearchAsync()
Task SelectOption(T value)

This allows for expensive asynchronous work to be cancelled before the result is returned, and can then more quickly process the next search (if the user changed the search value).
How Has This Been Tested?

All existing Unit Tests for AutoComplete ran successfully.
Created AutocompleteTestCancellation.razor in MudBlazor.UnitTests.Viewer->TestComponents->Autocomplete to test the Loading and Cancellation functionality.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

I think if we add a progress, it should be linear, not circular, because MudTable etc. uses linear also. Material guides said that we should select one progress type for whole application for consistency.

Using the linear progress indicator would be easier.  It would eliminate the need for a MinHeight / LoadingSize parameter, and could be applied to the bottom edge of the Input control.
I think a loading indicator is essential, as is cancellation functionality.  In a production setting, the SearchFunc will almost certainly be making an API call to a server, which means there is no guarantee of how long it will take to return a result.  A loading indicator will help the user understand what is happening when they start typing.
If any of the following occur while the component is awaiting the results of the SearchFunc, the results of the SearchFunc will
be discarded. So passing a CancellationToken into the SearchFunc will allow the user to cancel expensive work that is almost certainty going to be wasted.

User changes search criteria
User makes a selection from the list that is already visible
Component loses focus.

Hello everyone, definitely a good feature to have. My question is, after this is merged successfully, will it be available for .NET Core 5 version as well as 6? Thank you.

I know that PR's will added and merged also in net 5, unless it has technical impossibilites with net 5. But of course net 5 cant support forever.

[ ] Please merge dev and resolve the conflict.
[ ] Add categories to the new parameters
[ ] Write a test that uses the test component
[ ] Post a new gif to present how it looks now

Thanks.

Will close this for inactivity, just make new PR when you/it is ready.

authors: Garderoben henon mckaragoz mthrift2100


text:
New environments (like nether or end) aren't recognized by the Advancements

Hello,
I'm using a datapack that adds tones of advancements named BlazeandCave's Advancements Pack on my server, moreover I'm using Paper and Multiverse core and have 2 different group of world (2 overworlds, 2 nethers and 2 ends) but I have noticed that every advancements that are reserved for a certain type of world aren't working on the none original worlds.
For instance, in my original world_nether the advancements are working fine, but on the other_nether Minecraft doesn't seem to recognize other_nether as a nether world type. It must be related to predicates (in the datapacks configs), with the predicates you can put conditions for a certain advancement to trigger. Like the location, and so the dimension which can only be 3 types "overworld" "the_end" and "the_nether". I think that due to how multiverse core emulate a new world, my other_nether isn't recognized as a world of dimension "the_nether" by Minecraft.
I have already contacted the creator of the datapack but he can do nothing, he just told me that plugins sometimes break some part of datapacks.
Is it possible to fix this issue?
Thanks!

We are in the works for add per world Advancements and Game Stats with multiverse-inventories. https://github.com/Multiverse/Multiverse-Inventories/pull/363
However, As a far as we have tried, we have not seen the possibility of datapack features being per world, due to the vanilla implementation of it.

repo: Multiverse/Multiverse-Core


text:
MCP link post-deploy

Follow-up after deploying #2552
Tasks

[x] Populate some mycoportal_db fields
[x] Contact relevant power users.
[ ] Limit MCP links to macrofungi.
Something like kingdom fungi, not an asco lichen. Can I further limit this to macrofungi phyla?
[ ] Move MCP_COLLECTIONS to the db. See https://github.com/MushroomObserver/mushroom-observer/pull/2552#pullrequestreview-2471523557- [ ] Article, including telling herbarium curators how to fill that field.
[x] How to deal with potential differences between IH Herbarium and MCP dataset. Can MCP have multiple datasets per IH Herbarium? Can I construct an MCP URL which searches selected multiple datasets?
[ ] Stop persisting default Fungarium?
[ ] Deal with phony Accession Numbers (for another PR)

[ ] email @mo-nathan, @pellaea

[ ] Receive some MCP details from Scott Bates

MCP listed phyla:

Ascomycota
Basidiomycota
Blastocldiomycota
Chrytridiomycota
Deuteromycota
Fungi Incertaie Sedis
Microsporidiomycota
Neocallimastigomycota
Zygomycota

Therefore shouldn't create links for obs
whose name classification include Fungi, && phyluim.present? && !phylum.member?([the above list])

repo: MushroomObserver/mushroom-observer


text:
More NWC tests

A few more NWC tests, will need to figure out how to mock Node to be able to test payments

Needs rebase

The invoice from zeus expired so made it so a fixed key is added to the hodl invoice list in tests

authors: TonyGiorgio benthecarman

repo: MutinyWallet/mutiny-node


text:
Add husky & lint-staged for pre-commit hooks (#1)

feat: testing husky pre-commits

chore: remove now-unnecessary line

fix: formatting after committing

test husky

fix: add lint-staged so we don't commit all files

fix: attempt to fix eslint and tsc not checking

fix: incorrect glob pattern

fix: noemit

fix: remove test file changes

feat: update README

chore: remove unnecessary husky setup step

feat: run tsc from bash

@futurepaul I botched my other branch attempting to manually squash from the cli, fixed and squashed this one in this new PR which has all the other changes and is rebased & 1 commit.

repo: MutinyWallet/mutiny-web


text:
Multiple file development bug in tinymist 0.11.8

Describe the bug
在进行tinymist多文件编写的时候，最新版本无法处理子文件有error但是主文件编译不出现error时的preview刷新。具体来说，当子文件（例如子组件或子模块）中存在错误时，tinymist不会正确地更新预览界面，即使主文件编译没有错误。
When doing tinymist multi-file authoring, the latest version cannot handle preview refreshes when there are errors in subfiles but the main file compiles without errors. Specifically, tinymist will not correctly update the preview screen when there are errors in subfiles (e.g., subcomponents or submodules), even if the main file compiles without errors.
Package/Software version:
0.11.8
VSCode version(Help -> About):
版本: 1.88.1 (user setup)
提交: e170252f762678dec6ca2cc69aba1570769a5d39
日期: 2024-04-10T17:41:02.734Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.26100

tinymist extension version: v0.11.8.
复现不稳定，等出现了我再来add细节

观察到的现象：在更新并重启插件之后会将跨文件link识别为error，导致主文件出现不编译的情况。
https://github.com/user-attachments/assets/779d03c4-3976-4803-9ac8-a90e1dfb840d

When you uninstalled tinymist, a lsp server in backend is shut down (last session). Similarly, Reinstalling tinymist means restarting lsp server (this session).
Within the same session, lsp server holds the state of the preview and previewing main file. This state is lost at the end of the session. In other words, the state of the preview and the previewing main file is not shared between sessions.
However, the right side preview should have been disconnected from the lsp server at the last session, thus it will not respond you in this session. For same reason, the left side source code panel starts compiling only by the sub file because it no longer knows which (previewing) main file it is, which results in an (expected) error.
State can be hinted or recovered but it is not a bug but an enhancement.

卸载 tinymist 时，后台的 lsp 服务器会关闭（上次会话）。同样，重新安装 tinymist 意味着重新启动 lsp 服务器（本次会话）。
在同一会话中，lsp 服务器保存着预览和预览主文件的状态。会话结束后，该状态将丢失。换句话说，预览和预览主文件的状态不会在会话之间共享。
不过，右侧预览在上一次会话时应已与 lsp 服务器断开连接，因此在本次会话时不会响应您。出于同样的原因，左侧源代码面板开始编译时只能编译子文件，因为它不再知道是哪个（预览）主文件，这将导致（预期的）错误。
可以提示或恢复该状态，但这不是一个错误，而是一个改进。
Translated by Meow GPT.

repo: Myriad-Dreamin/tinymist


text:
rpc: add name-service registry types

Description
Describe the changes or additions included in this PR.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Added
On Fri, May 12, 2023, 2:27 AM Ge Gao @.***> wrote:

@.**** approved this pull request.
Looks great
—
Reply to this email directly, view it on GitHub
https://github.com/MystenLabs/sui/pull/11898#pullrequestreview-1423461077,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7BX2DYG3BNBSRJAGVHI63LXFVKVJANCNFSM6AAAAAAX5I5NWQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

authors: bmwill petvaizAkhtar

repo: MystenLabs/sui


text:
[explorer] Use PageHeader component on pages, and add Banner component

This updates pages to use the new PageHeader component everywhere. I had to update it to support subtitle based on the designs.
I also added the Banner component for the error display on transactions. I opted to not include this as part of the page header to keep the base component less opinionated.

LGTM. QQ does the banner scale to contain the message inside it?


text:
Client/Server api version mismatch

What happened?
Updating the Walrus Site object on Sui ... 2024-10-20T12:25:36.124304Z  WARN sui_sdk::wallet_context: Client/Server api version mismatch, client api version : 1.34.2, server api version : 1.35.1
[warn] Client/Server api version mismatch, client api version : 1.34.2, server api version : 1.35.1
Search terms
/issues?q=is:issue is:open version
Steps to reproduce
Example:

Publish site with the following contents: [./target/release/site-builder publish ./examples/snake --epochs 100]

Deviation steps
No response
Relevant log output
No response
Version

[X] walrus and site-builder are up to date.

If applicable, what browsers are you seeing the problem on?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct.

You can ignore this (it is not a bug).
It happens when the client version (the Sui SDK in the Walrus binaries) is a different version than the RPC servers.
You will observe this from time to time because the network constantly updates... and it is typically not cause for concern between small version differences.
Keep also in mind that not all RPC servers runs the same version, so there is no way to "perfectly" always eliminate these warnings... just keep your client up to date with latest like you already did :slightly_smiling_face:

repo: MystenLabs/walrus-sites


text:
🛑 OARC Website (www.) is down

In 6a10a72, OARC Website (www.) (https://www.oarc.uk/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OARC Website (www.) is back up in a34d5f7 after 4 minutes.

repo: MysterAitch/oarc-monitor


text:
Allow array of styles and add h-5 & h-20 utilities

Hey again,
Another short PR to allow an array of styles to be passed in the props, and added the h-5 and h-20 utilities...
Nick :)

Nice, thank you :)

authors: MythicalFish nbgoodall

repo: MythicalFish/react-native-tailwind


text:
Get Forbidden when trying to access files

Hello,
I've built latest docker Grav image, and installed your file browser plugin using grav admin GUI.
I'm not doing anything fancy, just want to create a very simple website with some files.
But when I click on a file in /var/www/html/user/files I keep getting that error : You don't have permission to access this resource
Permissions are fine : www-data and 755
Besides, the navigation icons are missing. Could that be related ?
Thank you for your work

Missing navigation icons is a separate issue - it means that you haven't loaded Font Awesome. You can either do this manually, or enable "Load Font Awesome v5 Free" in the plugin configuration in Admin, or set load_font_awesome: true in the plugin configuration file.
I haven't used the Docker image, so I'm not familiar with the configuration. I can set one up and poke around, but it would be useful to have some more detail first. Could you let me know what docker command or docker-compose file you used? Additionally, is the error specifically when you try to open a file (ie. does the plugin display the files correctly)?

Arrows : fixed, thanks
Yes files are correctly displayed
Here are the steps :

docker build -t grav:latest
docker run -d -p 80:80 --name grav --restart always -v grav_data:/var/www/html grav:latest (no signifcant changes from original command)
installation & configuration of file-manager plugin
create page /home/files , select file-manager template
create folder (inside docker path : /var/www/html/user/files)
put some dummy files inside (readme.txt)
fix perms : chown -R www-data:www-data and chmod -R 755 on /var/lib/docker/volumes/grav_data/ (double checked perms from inside the container too)
navigate to page fr/home/files , click on file and I get 403 forbidden

I noticed something : when browsing, on the browser I have /fr/home/files/readme.txt, and the file points to /user/files/readme.txt. I tried changing the URI to /fr/user/files/readme.txt but it gives a 404 error. Don't know if it's relevant.

Thanks. That sounds like an issue with the web server configuration rather than this plugin. I took a look at my Nginx config (which is pretty much standard) and it forbids access to .txt and other files in the /user folder for security reasons, so I presume that the Apache configuration in the container is doing the same.
I'll take a look later and try to find a suitable configuration for removing these restrictions on the /user/files folder without hurting the security of the rest of the system. I definitely think it would be worth documenting within this repo.

I've now documented the necessary server configuration changes in README.md.

Server configuration
Grav's default webserver configurations block access to specific file types for security reasons - you don't want people to be able to access arbitrary and potentially sensitive files!
Therefore, if you want users to be able to access these file types, you will need to update your webserver configuration.
Apache
Open .htaccess in your grav root directory and find these line:
# Block access to specific file types for these user folders
RewriteRule ^(user)/(.*)\.(txt|md|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]
# Block all direct access to .md files:
RewriteRule \.md$ error [F]

To enable access to files in your files folder, update the line as follows. The second rule is optional, but improves security by continuing to block access to scripts in your user/files folder.
# Block access to specific file types for these user folders
RewriteRule ^(user)/((?!files).*)\.(txt|md|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F]

# Block access to scripts in the user/files folder
RewriteRule ^(user)/(files)/.*\.(php|pl|py|cgi|twig|sh|bat)$ error [F]

# Block access to all .md files, except in user/files
RewriteRule ^(?!user/files/).*\.md$ error [F]

Nginx
Open your nginx configuration file and find this line:
# deny running scripts inside user folder
location ~* /user/.*\.(txt|md|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ { return 403; }

To enable access to files in your files folder, update the line as follows. The second rule is optional, but improves security by continuing to block access to scripts in your user/files folder.
# deny running scripts inside user folder
location ~* /user/(?!files).*\.(txt|md|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ { return 403; }

# block access to scripts in the user/files folder
location ~* /user/files/.*\.(php|pl|py|cgi|twig|sh|bat)$ { return 403; }

repo: N-Parsons/grav-plugin-file-browser


text:
indent paragraphs in document pdf

Indents paragraphs in document PDFs to match journal style (24pt indent)
https://github.com/NASA-IMPACT/nasa-apt/issues/620

Thanks for the catches and thorough testing @wrynearson !
@kamicut am guessing this might be a bit of CSS foolery, but all reasonably easily doable?

We're going to deprioritize this for now until we move forward with the Journal PDF implementation

Closing in favor of https://github.com/NASA-IMPACT/nasa-apt-frontend/pull/429

authors: batpad frozenhelium kamicut wrynearson

repo: NASA-IMPACT/nasa-apt-frontend


text:
Detect IN_PAN

Description
Permanent Account Number (PAN) is a unique number issued by Income Tax Department of India. PAN is also issued to Non-Resident Indians (NRI), Person of Indian Origin (PIO), Overseas Citizen of India (OCI), & Foreign Companies. A IN_PAN is an important PII type because it is used to file taxes and it contains personal identification information of the owner. To learn more about IN_PAN number, visit here
Detection Steps
The IN_PAN  is a ten-character long alpha-numeric unique identifier.
Example: AAAPZ1234C

Does the PAN have to be a mix of numbers and letters?

Why does the PAN have to be a mix of numbers and letters?

The letters are not chosen at random, in fact, Wikipedia has a breakdown of the sequence. I'll just paste it;
The first five characters are letters (in uppercase by default), followed by four numerals, and the last (tenth) character is a letter.
The first three characters of the code are three letters forming a sequence of alphabetical letters from AAA to ZZZ
The fourth character identifies the type of holder of the card. Each holder type is uniquely defined by a letter from the list below:
A — AOP (Association of persons)
B — BOI (Body of individuals)
C — Company
F — Firm
G — Government
H — HUF (Hindu Undivided Family)
L — Local authority
J — Artificial juridical person
P — Person (Individual)
T — Trust (AOP)
The fifth character of the PAN is the first character of either of the first name, surname or last name of the person
The last (tenth) character is an alphabetic digit used as a check-sum to verify the validity of that current code.

Looks good

authors: Jolisa-dot claesmk doudoumdh


text:
Incoming advisors inherit super user permissions from their predecessors

When incoming advisors are assigned to their predecessor's advisor position, the incoming advisor inherits the advisor position's super user permissions (if the predecessor was a super user).
Advisors must be trained before they can have super user permissions.
There are many untrained super users.

Added to #2191

authors: dspCarlson maradragan

repo: NCI-Agency/anet


text:
test

test

some comment.


text:
Pagination : Create Pagination for Books

Buyam olindi

Daxshat

authors: AcciGen SardorSohinazarov


text:
A little question about vicuna weight combine

I followed the instructions  https://github.com/NExT-GPT/NExT-GPT/blob/main/ckpt/pretrained_ckpt/prepare_vicuna.md combine modal, but found that the tensor size is not correct, what should I do here?  “ValueError: Trying to set a tensor of shape torch.Size([32001, 4096]) in "weight" (which has shape torch.Size([32000, 4096])), this look incorrect.”

You can find an answer by referring  here.

@ChocoWu  Thanks, your suggestion solved my problem!

authors: ChocoWu dfgan

repo: NExT-GPT/NExT-GPT


text:
Do nothing when cancel job

Currently, Z is displaying this output when job is canceled
Job 313 cancelled part of cancelled job group zeppelin-1963804116-20150225-020107_1703110196
But I think it's useless and it's better to display former result.

Slightly related thought:
Shouldn't we erase the output of previous run, when the paragraph is running? It is a bit confusing to see a loading bar (doing a bit of random) and see a result that was previous result (especially for paragraphs creating table)

@corneadoug
I have opposite opinion.
Jobs can be running for minutes or even hours, I'd like to look into previous result while updating (re-running) paragraph. So I would prefer preserving previous results.

@swkimme For real data that you visualize it could make sense because you could still interact with it while it refresh. However I'm not sure that the 'success' log of your scala code is really worth reading ;)

I think it's useless since we already displaying paragraph status as "ABORT",
and I have nothing to do with the Job ID like Job 313 or group zeppelin-1963804116-20150225-020107_1703110196.
Let me tell you an example. I have a result from big-calculation, and it would be kind of precious result because it took 3 hours of calculation. If I mistakenly re-run the paragraph, it would take my 3 hours.
In this case, I would want to cancel the job. But with current status, when I cancel the job, I'll lost the previous result.
That's why I'm insisting preserving previous result when cancel the job.

authors: corneadoug swkimme

repo: NFLabs/zeppelin


text:
Code Doc, doc comment on component and property

I'm submitting a...

[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior

current api doc write in html file, and it should reveal in code doc comment.
I will craft a script to generate ts doc comment.
Mark For Steps

[x] parse showcase api doc into json
[ ] choose 1. scan ts file and parse it into ast with typescript. then find class and property block.
It's hard to archive ts to ts. which is block with typescript compiler. but I can find line and column. then insert comment from file tail to head
[ ] choose 2. hard code comment.

Expected behavior

api doc in code comment
Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

I need to add doc comment in code. it will generate api doc by parsed it. but it hard to be parsed from html.
It's will useful in my fork project. also, it will benefit for others
Environment

Angular version: X.Y.Z

ng-zorro-antd version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

For Tooling issues:
- Node version: XX
- Platform:

Others:

I will choose 2. hard code comment. I can test comment whether equal to api doc html.
choose 1 is impossible currently, I have tracked this for a long time.

another problem about i18n. just make a comment mark for it

repo: NG-ZORRO/ng-zorro-antd


text:
fix: code specification optimization

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ x ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

@DreamPWJ Please rename the commit and the PR to chore: xxxxx. This fix should not show in update log because users will not sense it.

@wendzhue Sorry, my mistake has been corrected

authors: DreamPWJ wendzhue


text:
But does it work?

Hi, is it possible to have a network map of the example you published? I can't understand the rules and how it handles the rules after I've authenticated. It would seem that it works only for internal networks and not through public ip and therefore wireguard input from public ip. Thank you

We use it such that "some" external/public addresses are routed from our WireGuard. This is due to IP filters some of the externals have. We have to come from our Office IP.
The important part is the routing/gateway on the WireGuard server. From there you must be able to route to your destinations, public or otherwise. Then we ensure that the AllowedIPs on the clients includes those public addresses, then the client knows to route to the WireGuard server.
Image: https://imgur.com/iD45u1O

Hi there @111blackeagle111,
A short answer to your issue title is, Yes it does work.
The long answer to your question is, this acts as a firewall on-top of the wireguard device. When you, or your users authenticate it simply allows whatever ip/subnet to pass through the host.
Wag tries not to touch the host configuration as much as possible, so it does not set the ip_forward sysctl flag automatically, which might be causing you to not be able to route from your wag server to other networks.
Unfortunately I dont think drawing a diagram is going to help much here, as it would just consist of showing a wag server connected to the hosts that you define in the Polices list, as it wont be able to route traffic to things its not connected to.
Could you please describe the problem you're having in a bit more depth?

I don't know if this will help, but here's an article I wrote, with config in it.
https://warlord0blog.wordpress.com/2022/09/29/wireguard-otp-and-acls/
For each of the Mfa and Allow entries, you must match them on the client side with the AllowIPs in their client config. eg.
[Interface]
PrivateKey = SuperSecretKey
DNS = 10.10.6.254
Address = 192.168.254.19

[Peer]
Endpoint =  X.X.X.X:51820
PublicKey = SecretKey
AllowedIPs = 10.0.6.0/24, 192.168.254.1/32, 10.0.4.0/24
PersistentKeepAlive = 10

If I wanted to include a single host, 10.7.7.7 as per your posted example, I must also have that in the AllowedIPs
AllowedIPs = 10.0.6.0/24, 192.168.254.1/32, 10.0.4.0/24, 10.7.7.7/32

(Just as a side note to that comment, if you use the wag registration endpoint it'll do all the allowedips for you)

I managed to make all the configurations go the right way.
After I had problems with ssh connections but I solved by setting the MTU = 1200 parameter inside the wireguard configuration file of the client and now ssh connections also work, after doing two-factor authentication.

authors: 111blackeagle111 NHAS paulb-opusvl

repo: NHAS/wag


text:
Change: DNS

It would be very useful to include the DNS directive in the users config.
In my case, I add the DNS into the wg0.conf before giving it to the user. In the ACL's I have a policy that allows the wildcard "*" to access the DNS servers IP Address. The DNS server has a record for otp. After a user connects using WireGuard they can then visit http://otp to authenticate.
config.json
    "Policies": {
      "*": {
        "Allow": [
          "10.0.6.254"
        ]
      },

wg0.conf
[Interface]
PrivateKey = SuperSecretKey
DNS = 10.0.6.254
Address = 192.168.4.4

On my end I have a deployment script that does more advanced things with split DNS that the DNS= setting wouldnt be able to replicate.
Could you give me a bit more insight into your rollout/deployment process?
I may be able to suggest alternatives

This is an all new process for us. The current OpenVPN setup works well, but is problematic on Linux with OTP.
I'm looking at making it as seamless as possible for end users. I actually started writing up notes on how we would do this.
Authentication Process
The sysadmin registers a user and is given a registration key.
$ sudo ./wag registration -add -username dominic
token,username
RegistrationToken1234567890,dominic

The user is given their registration code as part of a URL.
https://otp.domain.tld/register_device?key=5e56461cfa3abcb14569e8581e2836944b02394d1974e66ff7b07e6e906865fd

When the users visit this URL a wg0.conf file is downloaded that contains their details to logon with. This file should be installed in /etc/wireguard or imported into the mobile WireGuard app.

A development I would like to see here is it both downloads the config, and presents a QR code that can be scanned by the mobile app.

Once the registration is successful the token is consumed and is no longer valid to download the config again.
When the user brings up the WireGuard tunnel using the app or on Linux using sudo wg-quick wg0. The basic connection is made.
To gain further access the user must visit http://otp which will present them with a QR code and a secure key to use to register with an OTP app like FreeOTP or Google Authenticator.
Using FreeOTP to generate the OTP the user then types, or pastes, the OTP into the web page and WAG authenticates them, granting the user a 12-hour session. The user can then visit any of the systems they have been given access to, until they have to reauthenticate in 12 hours time.

Ha, funny enough thats almost exactly our use case as well. So, what I do is I get the machine UUID (Mac), then use the optional -token parameter to make it into a registration token.
Then with JAMF I push out a script which effectively queries the endpoint with the various machines UUIDs, installs wireguard and away you go.

I will probably automate the deployment using ansible for wireguard and even the wg0.conf, it's jsut the DNS part  that I would "fix" with ansible too. I just thought by adding a dns into the config.json it could push it out too, and also add the firewall rule to allow it.

My suggestion would be to append the DNS setting you want with your deployment process into the wg0.conf that is generated.
Reason being, is I'd prefer people to be able to define their own ACLs/Routes so it's very explicit as to what is allowed.
Adding a DNS option to wag becomes challenging from two standpoints.
First, what happens if you update the DNS server? I have the ability to regenerate and supply the routes to the client through the /routes/ api.
Second, its a question of what I, or we, want wag to be I want it to be a simple solution that machines network access.
I may change my mind later on once I've had a bit more of a think about it. But I think for the moment this is outside (but only slightly) what I want wag to be.

My suggestion would be to append the DNS setting you want with your deployment process into the wg0.conf that is generated. Reason being, is I'd prefer people to be able to define their own ACLs/Routes so it's very explicit as to what is allowed.
Adding a DNS option to wag becomes challenging from two standpoints. First, what happens if you update the DNS server? I have the ability to regenerate and supply the routes to the client through the /routes/ api. Second, its a question of what I, or we, want wag to be I want it to be a simple solution that governs network access.

The DNS part sorts out the resolv.conf changes when the user connects/disconnects. Without it, I'm guessing you're using something that handles calls for internal addresses and external?

I may change my mind later on once I've had a bit more of a think about it. But I think for the moment this is outside (but only slightly) what I want wag to be.

Of course, and it's not out of the realms of people like me easily manipulating how things are done with other tools, The core part that makes me smile is the ACL's and firewall. Much of the actual admin and user interaction parts can be customised and done other ways.

Howdy, in review of this I think adding this as a qol improvement is fine, folk who dont want to use it wont!

Sweet, this is now here: https://github.com/NHAS/wag/releases/tag/v1.0.5
Or in the main branch, enjoy!

I may not always be right, but I'm never wrong :)
Thanks for the consideration.

authors: NHAS paulb-opusvl


text:
CCTAATGGTCCAGAC ignored along with GGGGGGGGGGGGGG?

Wondering what CCTAATGGTCCAGAC is?

We sometimes see these sequences in relatively high numbers. The GGGG thing could be sequencing related. If you google the other sequence you find a hit in a document about feature barcode antibody conjugation kit. I think it is some kind of by-product or contamination.
You can check the number of ignored reads in the report. If you have a high number you can count them by running featureseek with -x "" -u
This program needs some more work. Better filtering options and really some sort of valid barcode detection would be nice. Let me know if you think it is useful

The issue has been picked up by 10X Genomics support they asked me to post the following message:

10x Genomics has requested that anyone who has seen high levels of this sequence in their data should contact technical support at: support@10xgenomics.com so they can review the data with you."

authors: veldsla xmao

repo: NKI-GCF/featureseek


text:
Add VariableLayoutRenderer docs to Wiki

${var} layout renderer
Seems to be missing? Also include how to change the variables in code. See https://github.com/NLog/NLog/issues/1010
Also check the tutorial

done

https://github.com/NLog/NLog/wiki/var-Layout-Renderer
https://github.com/NLog/NLog/wiki/Configuration-file#variables

repo: NLog/NLog


text:
Readable formatted exception message

Type: Question
NLog version: 4.5.6
Platform: .Net 4.0 / .Net 4.5
Current NLog config
My application produces large exception messages traversing over several file paths sometimes producing over 110 kb of single error text data, The output though very informative is a clutter of string text, How can i format or beautify the exception message so that i can make it more readable to the user?

I don't you should use format=toString in this case, but use multiple attributes for the exeption, e.g.
${exception:format=message} ${exception:format=data} etc.
See https://github.com/NLog/NLog/wiki/Exception-Layout-Renderer

I assume your question has been answered, if not, please let us know!


text:
Release 4.5.11

todo

[ ] changelog (csproj + changelog.md)

@304NotModified Please merge #2994 to master, before making the release.

OK I will!

@304NotModified Excellent work. Thank you for the release.


text:
Reservoir Looping Hybrid and RFC

Allows looping with Hybrid and RFC type reservoirs. For RFC reservoirs, the total hours from the prior loop is added to the lookback hours to search in reverse from the model start time for time series files. Originally, I thought the same would be needed for Hybrid reservoirs that read USGS and USACE timeslice files. This is not needed though because the timeslice_reader within the Reservoir Fortran module is instantiated as a singleton (only one object is created for all reservoirs) in the first loop and reads the timeslice data into memory, and this actually persists in memory from the first loop to the following loops. I can discuss further when meeting.
Additions

Removals

Changes

Testing

Screenshots
Notes

Todos

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Target Environment support

[ ] Windows
[ ] Linux
[ ] Browser

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

@awlostowski-noaa @jameshalgren Ready for your review. I will review James's PR and then come back to this and update the PR description with more details.

Issued draft PR #440 -- we can force push that branch on top of this changeset if that is not disruptive.

Replaced by #440

authors: jameshalgren jdmattern-noaa

repo: NOAA-OWP/t-route


text:
Add statsmodels to dependencies

With a fresh conda environment, I got this error from jade:
(/home/ehale/environments/dsgflex-2-eedr) [ehale@ed6 20210820_TankT_Shifting_test]$ jade auto-config generic_command commands.txt -c config.json
Traceback (most recent call last):
  File "/home/ehale/environments/dsgflex-2-eedr/bin/jade", line 8, in <module>
    sys.exit(cli())
  File "/home/ehale/.local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/ehale/.local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/ehale/.local/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/ehale/.local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/ehale/.local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/ehale/.local/lib/python3.7/site-packages/jade/cli/auto_config.py", line 52, in auto_config
    setup_logging("auto_config", None, console_level=level)
  File "/home/ehale/.local/lib/python3.7/site-packages/jade/loggers.py", line 82, in setup_logging
    logging_packages = set(Registry().list_loggers())
  File "/home/ehale/.local/lib/python3.7/site-packages/jade/extensions/registry.py", line 71, in __init__
    self._add_extension(extension)
  File "/home/ehale/.local/lib/python3.7/site-packages/jade/extensions/registry.py", line 80, in _add_extension
    cmod = importlib.import_module(extension["job_configuration_module"])
  File "/home/ehale/environments/dsgflex-2-eedr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/ehale/.local/lib/python3.7/site-packages/jade/extensions/demo/autoregression_configuration.py", line 7, in <module>
    from jade.extensions.demo.autoregression_execution import AutoRegressionExecution
  File "/home/ehale/.local/lib/python3.7/site-packages/jade/extensions/demo/autoregression_execution.py", line 9, in <module>
    from statsmodels.tsa.ar_model import AR
ModuleNotFoundError: No module named 'statsmodels'

Looks like statsmodels should be promoted to be a basic jade dependency (rather than optional).

Also cycler:
File "/home/ehale/.local/lib/python3.7/site-packages/jade/extensions/demo/autoregression_configuration.py", line 7, in
from jade.extensions.demo.autoregression_execution import AutoRegressionExecution
File "/home/ehale/.local/lib/python3.7/site-packages/jade/extensions/demo/autoregression_execution.py", line 10, in
import matplotlib
File "/home/ehale/.local/lib/python3.7/site-packages/matplotlib/init.py", line 130, in
from matplotlib.rcsetup import defaultParams, validate_backend, cycler
File "/home/ehale/.local/lib/python3.7/site-packages/matplotlib/rcsetup.py", line 33, in
from cycler import Cycler, cycler as ccycler
ModuleNotFoundError: No module named 'cycler'

I attempted to fix this issue in v0.4.9. It looks like this issue may have been due to a conda configuration issue. I will close it. If anyone else see this, please re-open it. There is a workaround if you want to get going immediately:
rm ~/.jade-registry

It will delete the information that is trying to use statsmodels. If you have registered other Jade extensions, you will need to re-register them. If not, just start running commands again.

authors: daniel-thom elainethale

repo: NREL/jade


text:
Bulk download

Need to introduce bulk download feature.
Includes: Download all UK payment disclosures from CH . (this is two tables: one by payment type, one py payment to what entity)
Download all payment data

moving this to #11

authors: byndcivilization davidmihalyi

repo: NRGI/rp-org-frontend


text:
Add integration tests for block_on_spring

Pull Request
Description
Creates integration tests for block_on_spring app.
This pull request addresses #86

[x] make sure you are pulling from a dev branch on your fork
[x] check for code linting

Did you copy the test problem from the most recent version of the block-on-spring code? I think there are more docstrings in the version here.
Also, I would like the problem configuration for this test to be defined directly as a python dictionary, rather than by importing a toml file. That way if anyone looks at how the test is written, they will see a different approach to defining their problem. You can copy the code from the repo linked above.

@arichar6 should test for the leapfrog method too, or just the forward euler?

Good question. How about test both. But you don't need to run very many time steps. Something like 10 steps should be plenty.

Just in case I wasn't clear, I meant that you can test both, and that the tests for both of the solvers only need to run for 10 time steps each.

@arichar6 Thank you! I added a test for BackwardsEuler while I was at it.

Closes #86

repo: NRL-Plasma-Physics-Division/turbopy


text:
added python title and created a new page with resources fixed isssue#381

Fixes Issue
#381
This PR fixes the following issues:
#example

made changes to title and added new page named python with resources

Changes proposed
Here comes all the changes proposed through this PR

Check List (Check all the boxes which are applicable)

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots and video
Add all the screenshots and a video which support your changes

i just re did it
check whether there are any problems

and make a new commit after that

authors: mnnkhndlwl sajithsojan

repo: NSCC-BPIT/NSCC-BPIT-Website


text:
Generate ngModule for Angular2 Template

Much like the title suggests. It would be nice to wrap the generated Angular2 Services and Model classes/interfaces in an ngModule that can be imported by other modules.

We can totally do that:

Add setting NgModuleName
If set, generate a class with the specified name and inheriting NgModule and registering all client classes

That would be really awesome. There's a few other nice to haves, but perhaps they should be separate issues. Like being able to define multiple outputs for services and model. As well as specifying the naming convention for the services. Currently they get called FooClient, but in the Angular2 StyleGuide they suggest calling them FooService. If you like I can submit these as separate issues.

The naming can be changed with the ControllerName setting (default "{controller}Client")

Generate multiple files is a bigger effort, because it needs some refactorings for a clean implementation: https://github.com/NSwag/NSwag/issues/294

Cool. There's already an issue for that. I suppose then that it would also be nice to have separate ngModules for each of the model, interfaces, and services files too.

I think it only makes sense to have a module for the client classes. The other classes (dtos and interfaces) fdont have to be declared in a module..

authors: mikesigs rsuter

repo: NSwag/NSwag


text:
Path Analytics

Provide a graph to demonstrate how far along a path users are progressing after solving the first activity.
Allow the data to be filtered to only show users starting the path after some datetime.
Provide a way to compare two groups of users by showing users that started after one date compared to starting after another datetime.

@scboesch What x and y-axis will represent?

The x-axis is the number of activities that have been completed.
The y-axis is the percentage of users that have completed 1-activity and gone on to complete n-activities. x=1 will always be y=100%.

@scboesch  Do I need to use student's solution data to find out the completed activities and their time. OR Do I need to use analytics/activityAttempts ?

I believe that all the data should be in the analytics/activityAttempts node. We should be able to filter by pathKey and focus on the events where completed=1.
Each of these charts is for a specific pathKey.
The different color lines would be grouping users by the date that they solved the first activity on the path. "All Time" would be all users no matter when they completed the first activity on a path. "Since X weeks ago" could mean all users that solved the first activity within the last n weeks.
We could let path owners adjust the time windows shown by each of these lines. For now, we and just hard code the lines to the 4 options shown (All time, 3 weeks, 2 weeks, 1 week)

authors: scboesch walkwel

repo: NUS-ALSET/achievements


text:
Process dies after /nvblox_node/save_ply service call

Hello,
I'm running isaac_ros docker with NVIDIA Jetson Orin AGX and ZED X mini camera, and I'm trying to save real world's mesh file with zed_example.launch.py example.
A few seconds after calling /save_ply service as ros2 service call /nvblox_node/save_ply nvblox_msgs/srv/FilePath "{file_path: '/home/admin/super_cool_map.ply'}", camera and Rviz stopped working, and launch file's process died.
Only error code I could see in terminal was this:
[ERROR] [component_container_mt-1]: process has died [pid 19410, exit code -11, cmd '/opt/ros/humble/lib/rclcpp_components/component_container_mt --ros-args -r __node:=shared_nvblox_container'].
Could you tell me how to fix this?

I found that process dies while running 'for' loop of Mesh::fromLayer function in nvblox/mesh/mesh.cpp if camera is running.
When I unplugged camera before calling save_ply service, process didn't die and could save .ply file successfully.
But still don't know how to fix this problem:(

Hello, I've also had this issue on Isaac ROS 3.0 and have been able to replicate unplugging the camera. If there are any updates to this issue please let me know!


text:
Uninstall NVT (removing versions from PyPI) before installing NVT in CI

@jperez999 @karlhigley Could this be a problem if it is run while TF4Rec tests are running?

I think it should be okay most of the time, because the imports get loaded at the beginning and after that the files on disk don't matter. We might get an occasional flaky test run if things line up badly between NVT and Transformers4Rec, but I think we can rerun the tests in that case.

rerun tests

repo: NVIDIA-Merlin/NVTabular


text:
can not enter the homepage when using localhost:5000

Hello, I use digits-4.0 and install several PyPI packages using the command 'sudo pip install -r $DIGITS_ROOT/requirements.txt'. Then I do command './digits-devserver', but it shows error
ImportError: cannot import name socketio_manage
So, I modified the item 'Flask-SocketIO==0.6.0' to 'Flask-SocketIO==2.6' in requirements.txt. Thus, digits can start. However when I input URL 'localhost:5000' in my browser, it shows error
Couldn't import dot_parser, loading of dot files will not be possible.
2016-10-24 10:11:29 [INFO ] Loaded 0 jobs.
  ___ ___ ___ ___ _____ ___
 |   \_ _/ __|_ _|_   _/ __|
 | |) | | (_ || |  | | \__ \
 |___/___\___|___| |_| |___/ 4.0.0

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_server'
<Greenlet at 0x7f2b4a41d550: <bound method WSGIServer.wrap_socket_and_handle of <WSGIServer at 0x7f2b4a0ddc90 fileno=17 address=0.0.0.0:5000>>(<socket at 0x7f2b4a10b5d0 fileno=30 sock=127.0.0.1, ('127.0.0.1', 55138))> failed with TypeError

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_server'
<Greenlet at 0x7f2b4a41d5f0: <bound method WSGIServer.wrap_socket_and_handle of <WSGIServer at 0x7f2b4a0ddc90 fileno=17 address=0.0.0.0:5000>>(<socket at 0x7f2b4a10b7d0 fileno=31 sock=127.0.0.1, ('127.0.0.1', 55139))> failed with TypeError

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_server'
<Greenlet at 0x7f2b4a41d690: <bound method WSGIServer.wrap_socket_and_handle of <WSGIServer at 0x7f2b4a0ddc90 fileno=17 address=0.0.0.0:5000>>(<socket at 0x7f2b4a10b850 fileno=32 sock=127.0.0.1, ('127.0.0.1', 55140))> failed with TypeError

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_server'
<Greenlet at 0x7f2b4a41d730: <bound method WSGIServer.wrap_socket_and_handle of <WSGIServer at 0x7f2b4a0ddc90 fileno=17 address=0.0.0.0:5000>>(<socket at 0x7f2b4a10b8d0 fileno=33 sock=127.0.0.1, ('127.0.0.1', 55141))> failed with TypeError

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_server'
<Greenlet at 0x7f2b4a41d7d0: <bound method WSGIServer.wrap_socket_and_handle of <WSGIServer at 0x7f2b4a0ddc90 fileno=17 address=0.0.0.0:5000>>(<socket at 0x7f2b4a10b950 fileno=34 sock=127.0.0.1, ('127.0.0.1', 55142))> failed with TypeError

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/gevent/server.py", line 102, in wrap_socket_and_handle
    ssl_socket = self.wrap_socket(client_socket, **self.ssl_args)
TypeError: wrap_socket() got an unexpected keyword argument 'policy_server'
<Greenlet at 0x7f2b4a41d7d0: <bound method WSGIServer.wrap_socket_and_handle of <WSGIServer at 0x7f2b4a0ddc90 fileno=17 address=0.0.0.0:5000>>(<socket at 0x7f2b4a10b790 fileno=30 sock=127.0.0.1, ('127.0.0.1', 55143))> failed with TypeError

And I can not enter the homepage of digits.

Why did you change the line in requirements.txt? DIGITS 4.0 does require v0.6.0 of flask_socketio - that's correct.
https://github.com/NVIDIA/DIGITS/blob/v4.0.0/requirements.txt#L11

@lukeyeager  It shows error ImportError: cannot import name socketio_manage when using
Flask-SocketIO==0.6.0. How to solve this problem?

@JulyUp:  Can you access the page via 0.0.0.0:5000?  That worked for me when I had the same problem.

This is a straight-forward (but not simple) matter of conflicting dependencies. On Ubuntu, you could have packages coming from apt-get, pip and/or conda. You've probably mixed two or more installation methods and have conflicting packages on your system.
This should be fool-proof:
virtualenv venv
source venv/bin/activate
pip install -r $CAFFE_ROOT/python/requirements.txt
pip install -r $DIGITS_ROOT/requirements.txt
./digits-devserver

If you're still having trouble, try reading through these threads/articles:

https://github.com/NVIDIA/DIGITS/issues/1195
https://github.com/NVIDIA/DIGITS/blob/digits-2.2/docs/VirtualEnvironment.md

@michaelholm-ce  I can not  access the page via 0.0.0.0:5000.
@lukeyeager  It does not work. And I uninstall the dependences and install them again using pip, but it still does not work. It seems that I should give up digits-4.0.

If you want to give up on configuring your system, you can try using Docker.
As explained on our README, another installation method is to use nvidia-docker to run DIGITS.

@lukeyeager Thank you very much.

@JulyUp did you find something that works for you?

authors: JulyUp lukeyeager michaelholm-ce

repo: NVIDIA/DIGITS


text:
Enable more complex prompts

The current generator interface expects to receive prompts as str see: https://github.com/leondz/garak/blob/4127ae5092ad3acaba680a32011018fc564cc92a/garak/generators/base.py#L66
This initial simple submission process has worked to date; however #587 show an example of a query prompt that needs a more complex structure. In this case the Multi-modal model accepts both text and image data to generate a response.
I propose an added abstraction layer by implementing a Prompt base interface class that be extended to model these more complex prompts to be processed by each generator.
def generate(self, prompt: Prompt) -> List[str]:

or possibly also abstracting the response as well:
def generate(self, prompt: Prompt) -> List[PromptResponse]:

Prompts can then be further segmented into things like TextPrompt, MultiStepTextPrompt, VisualPrompt, VisualTextPrompt and other such constructs to that on the base functions available to allow use with different and even mixed prompt modalities for models that can accept various input patterns.
Rough example:
class Prompt:
    text = None

    def str(self)
        return self.text

class TextPrompt(Prompt):
    def __init__(self, text: str):
        self.text = text

class VisualTextPrompt(Prompt):
    image
    def __init__(self, text: str, image_path: str):
        self.text = text
        try:
            Image.open(image_path)
         except Exception:
             logger.error(f"No image found at: {image_path}")

Another recent finding related to multi-modal prompts is a need to define relationships between parts of the prompt.  The case identified is that some models request formats may have different expectations for referencing images in text.  The current visual_jailbreak prompts include a placeholder in the text segment of the prompt that some models may need to remove or replace with an API specific linking/embedding.

repo: NVIDIA/garak


text:
add controller-gen and client-gen versions to 1.22 builds

This should add the proper controller-gen and client-gen versions to build with go 1.22. I'm not very familiar with github actions so let me know if there is a better way to include the defaults.

Hey @foolusion thanks for the contribution, could you follow https://docs.pi-hole.net/guides/github/how-to-signoff/ to signoff your commit so the DCO check passes?

authors: ArangoGutierrez foolusion


text:
23.08 Release preparation

This PR updates a the base docker image

/blossom-ci

/blossom-ci

repo: NVIDIA/modulus-launch


text:
[FEA][SPARK-44076] Support Python Datasources

Is your feature request related to a problem? Please describe.
Investigate acceleration of Python Datasources
https://issues.apache.org/jira/browse/SPARK-44076

Scope: validate fallback happens properly.

authors: gerashegalov mattahrens

repo: NVIDIA/spark-rapids


text:
[FEA] Support org.apache.spark.sql.catalyst.expressions.ReplicateRows

Is your feature request related to a problem? Please describe.
This is a feature request to support org.apache.spark.sql.catalyst.expressions.ReplicateRows.
ReplicateRows is an internal function used by optimizer to rewrite EXCEPT ALL and INTERSECT ALL queries as per the Spark source code.
Below is a mini repro:
import org.apache.spark.sql.Row
import org.apache.spark.sql.types._
import org.apache.spark.sql.functions._

val data = Seq(
    Row(Row("Adam ","","Green"),"1","M",1000.1, "2019-01-01",List("Java","Scala")),
    Row(Row("Bob ","Middle","Green"),"2","M",2000.2, "2019-01-02",List("Java","Python")),
    Row(Row("Cathy ","","Green"),"3","F",3000.3, "2019-01-03",List())
)

val schema = (new StructType()
  .add("name",new StructType()
    .add("firstname",StringType)
    .add("middlename",StringType)
    .add("lastname",StringType))
  .add("id",StringType)
  .add("gender",StringType)
  .add("salary",DoubleType)
  .add("birthdayStr",StringType)
  .add("language",ArrayType(StringType))
             )

val df = spark.createDataFrame(spark.sparkContext.parallelize(data),schema)
df.withColumn("birthday", to_date(col("birthdayStr"))).write.format("parquet").mode("overwrite").save("/tmp/testparquet")
val df2 = spark.read.parquet("/tmp/testparquet")
df2.createOrReplaceTempView("df2")
df2.printSchema

val querytext="""SELECT gender from df2 except all (select gender from df2 where salary <> 10)"""
sql(querytext).explain

The Spark Driver log messages:
  !Exec <GenerateExec> cannot run on GPU because not all expressions can be replaced
    !NOT_FOUND <ReplicateRows> replicaterows(sum#99L, gender#76) cannot run on GPU because no GPU enabled version of expression class org.apache.spark.sql.catalyst.expressions.ReplicateRows could be found

The APIS already exist in CUDF TableView.repeat. The hardest part will be memory management and combining it with the existing code that is rather explode and pos_explode specific.


text:
Fix from_utc_timestamp case failure on Cloudera when TZ is Iran

closes #10117
Iran is a DST time zone in some Env.
It's not suitable for a non-UTC time zone currently.
Signed-off-by: Chong Gao res_life@163.com

build


text:
Install reduced pom for dist module

Fixes #6433
This PR

disables default install in favor of install-file similar
how rapids-4-spark is deploy-file'd to Maven central

disables default deploy in favor of deploy-file similar
how rapids-4-spark is deploy-file'd to Maven central in deploy.sh

After this, the dependency reduced pom is correctly placed after mvn deploy -pl dist -PnoSnapshots -Ddist.jar.compress=false

~/.m2/repository/com/nvidia/rapids-4-spark_2.12/22.10.0-SNAPSHOT/rapids-4-spark_2.12-22.10.0-SNAPSHOT.pom
/tmp/m2-repo/com/nvidia/rapids-4-spark_2.12/22.10.0-SNAPSHOT/rapids-4-spark_2.12-22.10.0*pom

Other fixes:

dist.jar.compress is ignored when updating the dist jar

Signed-off-by: Gera Shegalov gera@apache.org

build

build

build

build

build


text:
Fix upcast of signed integral values when reading from Parquet

Fixes #7914.  Adds checks for upcast of integral values.  Spark does not support upcasting to long, but it does support implicit upcasting from byte/short to int and from byte to short.

build


text:
Update GpuRunningWindowExec to use OOM retry framework

Closes https://github.com/NVIDIA/spark-rapids/issues/7809
This PR introduces a retry block in GpuRunningWindowIterator.computeRunning around the fixUp code. See comments in code for more information.

Also could you file a follow on issue to fix GpuCachedDoublePassWindowIterator I forgot that I added that in.

I filed https://github.com/NVIDIA/spark-rapids/issues/8217 for this.

I've marked this PR as ready for review, but I am running into a segfault after the first unit test passes and I am still trying to track that down. The seg fault occurs in Java_ai_rapids_cudf_ColumnVector_deleteCudfColumn.

build


text:
Training different 'n_mel_channels' models

Hi,
I tried to train my own model with different 'n_mel_channels', i.e. 160 instead of 80.
Since my autoencoder's output dimension is 160.
The other settings are the same as the original setting.
However, I got the voice with little noise.
My config.json:
{
    "train_config": {
        "fp16_run": true,
        "output_directory": "checkpoints_160",
        "epochs": 100000,
        "learning_rate": 1e-4,
        "sigma": 1.0,
        "iters_per_checkpoint": 10000,
        "batch_size": 12,
        "seed": 1234,
        "checkpoint_path": "",
        "with_tensorboard": true
    },
    "data_config": {
        "training_files": "train_files.txt",
        "segment_length": 16000,
        "sampling_rate": 22050,
        "filter_length": 1024,
        "hop_length": 256,
        "win_length": 1024,
        "mel_fmin": 0.0,
        "mel_fmax": 8000.0,
        "n_mel_channels": 160
    },
    "dist_config": {
        "dist_backend": "nccl",
        "dist_url": "tcp://localhost:54321"
    },

    "waveglow_config": {
        "n_mel_channels": 160,
        "n_flows": 12,
        "n_group": 8,
        "n_early_every": 4,
        "n_early_size": 2,
        "WN_config": {
            "n_layers": 8,
            "n_channels": 256,
            "kernel_size": 3
        }
    }
}

The outputs of n_mel_channels=80
The outputs of n_mel_channels=160
Is there any idea about how to improve the quality?

Do you use the denosier?
If no try to use the denoiser during inference

repo: NVIDIA/waveglow


text:
Implement the 10 second startup delay when loading updates

This stuff is hard to test without an actual build and update channel, so I'm going to merge and party on the preview channel today.
Changes:

Render a loading screen that seamlessly replaces the splash screen, includes a spinner
Render that screen while we check for updates
Add the 10 second delay when checking for and downloading updates at startup

Not implemented yet:

Watching for updates while the app is running and prompting for restart

Movie showing the splash screen with spinner:
https://github.com/NWACus/avy/assets/101196/f21581cc-741d-474d-940e-540b8be6eb5b

This implements flow 2 from the update flowcharts

I've pushed at least 10 different updates that include this PR today, and it's updated every time, so I think it's working as intended

repo: NWACus/avy


text:
Upgrade basemap server to NGINX 1.26

NGINX 1.24 reached EoL in April 2024. As such, we need to upgrade the version of NGINX running on DO droplet basemap-server-22-lts to 1.26
Acceptance Criteria

[ ] NGINX docker image on basemap-server-22-lts is upgraded to 1.26

@TangoYankee let me know when you've worked out a plan for this, then we can talk timeline for execution.

The plan is to

Integrate #4 onto main
Pull the updated code onto the droplet
Run docker compose up --build on the droplet images
Update the nginx cert while we're in there

Zero downtime expected- the existing build will run until the 1.26.1 build spins up.

authors: TangoYankee TylerMatteo

repo: NYCPlanning/ose-basemap-server


text:
Player: mark a task complete

User Story
As a [player], I would like [mark a task complete] so that [I can contribute to my team].
Detailed Description
Completing tasks is essential to making game progress. Each Player receives a list randomized from the Admins gameplay list. The goal for Player is to complete all the tasks they were issued. When all players complete all their tasks and an Imposter is still alive, the game is declared won.
Marking a task complete updates individual player status, therefore updating the entire games progress status.
Acceptance Criteria A

[ ] Given [a task has been complete], then [a single task from the player tasklist is selected]
[ ] Given [a selected task], then [start a five-second countdown counter in frontend]
[ ] Given [a mistake was made], then [tap task to deselect task in tasklist].
[ ] Given [an unselected task], then [kill the five-second countdown counter].
[ ] Given [the five-second countdown timer gets to zero], then [submit changes to the backend]
[ ] Given [submitted change], then [update Player UI (remove completed, add new)].
[ ] Given [A submitted change], then [remove completed task from UI].
[ ] Given [A submitted change], then [add a new task to the UI].

Acceptance Criteria B

[ ] Given [a task has been complete], then [a single task from the player tasklist is selected]
[ ] Given [a selected task], then [a "Submit Task" button becomes active]
[ ] Given [a mistake was made], then [tap task to deselect task in tasklist].
[ ] Given [an unselected task], then [make "Submit Task" button inactive].
[ ] Given [an active "Submit Task" button], then [tap submit to push changes to the backend]
[ ] Given [a pushed change], then [update Player UI (remove completed, add new)].
[ ] Given [A submitted change], then [remove completed task from UI].
[ ] Given [A submitted change], then [add a new task to the UI].

If we use Acceptance Criteria A, then for completing a task, we can reuse the Voting mechanism. The difference will be the list that is shown and the text on the submit button.
If we use Acceptance Criteria B, then we code a timer that manages the submission of completed tasks.


text:
Replace root does not seems to work on huge sqlite db

I moved my collection to another path this week end.
When I try to replace the root path, a sqlite-journal is created and the cli exit it states (return to db menu), but the journal does not disapear and no change is done to the db (verified with sqlitebrowser).
I waited around one hour and nothing  seems to happen.
The db is ~174MB.

I haven't seen any changes to my DB when using it.

the output of this text is instant, so it doesn't seem like anything really happened either.

authors: rwchunk whinette


text:
Cannot download specific tags with Option 6

Prerequisites

[*] Did you read FAQ section in readme.md?
[*] Did you test with the latest releases or commit ?
[*] Did you search for existing issues in Issues?

Description
When I attempt to download a specific tag with Option 6 (specifically レム(リゼロ), using all 3 options outlined in the FAQ), it returns No more images. Found 0 image(s).
Steps to Reproduce

Login via cookie.
6
y
レム(リゼロ)
Enter
Enter
Enter

Expected behavior: Downloads all bookmarked images with that specific tag.
Actual behavior:
Importing image bookmarks...
Importing user's bookmarked image from page 1
Source URL: https://www.pixiv.net/ajax/user/35817180/illusts/bookmarks?tag=レム(リゼロ)&offset=0&limit=48&rest=show
No more images.
Importing user's bookmarked image from page 1
Source URL: https://www.pixiv.net/ajax/user/35817180/illusts/bookmarks?tag=レム(リゼロ)&offset=0&limit=48&rest=hide
No more images.
Found 0 image(s).
Done.
Versions 20210221-beta2
You can get this information from executing PixivUtil2.py --help.
Latest version available in https://github.com/Nandaka/PixivUtil2/releases

user bookmark is based on what you have been tagging in by the user, not based on the post itself.
The ajax request doesn't return anything because not tag has been added to the images.
Your request
https://www.pixiv.net/ajax/user/35817180/illusts/bookmarks?tag=レム(リゼロ)&offset=0&limit=48&rest=show
No tagging by the user

Compare with this
https://www.pixiv.net/ajax/user/189816/illusts/bookmarks?tag=bikini&offset=0&limit=48&rest=show
With tagging

Oh wow, I totally misunderstood that. Thanks for clearing it up! Is there any way to filter images based by the the tags in their post?

I don't think pixiv provide an API that I can use directly, need some post-processing enhancement on client side.
Internally, I can check for all images in the bookmark and then filter based on the tag input. E.g.

Pull all the images from https://www.pixiv.net/ajax/user/35817180/illusts/bookmarks?tag=&offset=0&limit=48&rest=show (no tags).
then perform internal filter based on your input.

Just need to know how to design the input to tell the application to tell what kind of tag need to be used ("bookmarkTags") or ("tags" from each image)

I'm really a total noob at all this, but to do this I would need to set writeimagejson = True, right?

Gotcha! I'm really a total noob at all this, but to do this I would need to set writeimagejson = True, right?

Add the option to use image tags, instead of bookmark tags

https://github.com/Nandaka/PixivUtil2/releases/tag/v20210326

It will ask if you want to use the image tag for filtering if you provide a tag.


text:
Ganken kun kinematics

議論のためのprです．
まだ仕組みが十分に理解できていないため，逆運動学の処理に入力する位置に問題があります．
あと，urdfを使用せずに処理する方法が分からなかったため，DARwInのurdfを無理やり読み込ませています．
あと，ファイルを多く追加したため，もしかしたら抜けがあるかもしれません．

実行できるようになりました．
一つ前の姿勢とそれほど変化していない場合は，10ms程度あれば計算が終了しますが，CPUの負荷は最大200%になります．

malloc: *** set a breakpoint in malloc_error_break to debug

動作しないので修正お願いします

バグフィックスしました．
動作すると思います．
ただし，脚関節のみの運動学・逆運動学ですので，他の関節は固定するなりすることが必要になります．


text:
Refactor

nye endringer

Linting klager over import, og den leser fremdeles fra en fil som ikke er med i repoet (som har endret navn).

repo: NationalLibraryOfNorway/DHLAB


text:
Parse C Source does not recognize function pointer array in struct definition

Describe the bug
The C Parser ignores a function pointer array used in a struct.
To Reproduce
Steps to reproduce the behavior:

Create the following dummy header named e.g. dummy.h:typedef struct SomeStruct {
    int first_member;
    int (*procArray1[2])(int*, int*);
    int anotherMember;
    int (*procArray2[2])(int*, int*);
    int (*LoneProc1)(char, int);
    int (*LoneProc2)(char, int);
    int finalMember;
} SomeStruct;

Start Ghidra -> CodeBrowser -> FIle -> Parse C Source
Clear all source files to parse + clear all parse options
Add the dummy.h to the Source files to parse list
Click on "Parse to File..."
Choose to store the data type archive (=gdt) somewhere + click ok.
In the Data Type Manager, open the just-created gdt (=click on down arrow in right-upper corner -> Open File Archive... -> choose the gdt that you created in step 6)
Open the SomeStruct datatype in the Structure Editor (you need to open the archive in edit mode for this).

procArray1 and procArray2 are not present in the struct.procArray1.
The parser has correctly parsed the function definitions (_func_1 and _func_2),
but does not use them in the SomeStruct.
Expected behavior
_func_1*[2] ProcArray1 and _func_2*[2] ProcArray2 are present in the struct.
Screenshots
Selected options in the Parse C Source dialog

The Structure layout (missing procArray1 and procArray2):

Attachments
If applicable, please attach any files that caused problems or log files generated by the software.
Environment (please complete the following information):

OS: Fedora Linux 34
Java Version: 11.0.13
Ghidra Version: 10.1.1
Ghidra Origin: official

Will be fixed in an upcoming set of changes.

Fixed by e42c1f1f3263e192d5d9042c14f1f25413931aa0

authors: emteere madebr ryanmkurtz

repo: NationalSecurityAgency/ghidra


text:
Ghidra can't analyze binary on macOS Sequoia 15.2

Describe the bug
Ghidra's UI opens and runs, analysis takes zero seconds and the sample isn't analyzed. No error in the logs.
Expected behavior
I expected analysis to at least take a few seconds and for things to be found in the sample, like functions.
Steps taken

I searched the issues and found #7194, which lead me to rebuild the native executables with Gradle, which ran successfully (via Gradle 8 installed via Homebrew).
I ran otool -L on decompile and sleigh, both look fine.

Decompiler/os/mac_arm_64
at 09:09:09 ❯ otool -L decompile
decompile:
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.157.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)

Decompiler/os/mac_arm_64
at 09:09:15 ❯ otool -L sleigh
sleigh:
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.157.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)

When I tried to run each one directly on the command line, I had to go through System Preferences -> Privacy and Security -> click run anyway since the binaries aren't signed. Re-tun the binaries and provide my user account password to authorize. Binaries run fine now. I did this for decompile, sleigh, demangler_gnu_v2_24, demangler_gnu_v2_41, lzfse.

Screenshots
Enabling the binaries to be run.

Environment:

OS: macOS 15.2
Architecture: arm64
Java Version: OpenJDK 21.0.5 via Homebrew
Ghidra Version: 11.2.1
Ghidra Origin: official GitHub distro

I tried another file, which worked fine. So maybe two things:

Ghidra seems to not like this file, maybe that's interesting. https://www.virustotal.com/gui/file/00a0ca217c8cf8e3ccd36319637aab7eae86c480d228216e93293b3a5ff2bb62
It would be cool if the native binaries for macOS were signed.

It would be cool if the native binaries for macOS were signed.

Unfortunately this is not something in our plans.  The likely solution down the road will be to just not ship mac native binaries, and force the user to build them.

authors: rjzak ryanmkurtz


text:
projectMetrics_subjects_spec.js fails in CI due to the unexpected toasts

projectMetrics_subjects_spec.js fails in CI due to the unexpected toasts

PR: #452

authors: rmmayo sudo-may

repo: NationalSecurityAgency/skills-service


text:
Support Android Widgets

As requiested https://github.com/NativeScript/ios-runtime/issues/96#issuecomment-99865928

+1

this functionality will be supported with 2.0 android-runtime release.

demo here: https://www.nativescript.org/blog/static-binding-generator---what-is-it-good-for

authors: Plamen5kov slavchev truongsinh

repo: NativeScript/android-runtime