os-upnp 1.5_5 - Not able to add port forwards

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[x] The title contains the plugin to which this issue belongs

Describe the bug
I upgraded to latest version. Port forwarding no longer works. This worked fine on os-upnp 1-5_4 opnsense version 23.7.9 with base and kernel 23.7.8. (I would downgrade but can't seem to get back to base 23.7.8, I reverted the kernel but it keeps the latest base)
To Reproduce
On a client I run the following, and it usually opens a port:
davew@salad:~$ upnpc -a <IP_ADDRESS> 14498 14498 tcp 600
upnpc : miniupnpc library test client, version 2.2.3.
 (c) 2005-2021 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://<IP_ADDRESS>:2189/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://<IP_ADDRESS>:2189/ctl/IPConn
Local LAN ip address : <IP_ADDRESS>
GetSpecificPortMappingEntry() failed with code 714 (NoSuchEntryInArray)

However you can see above, it seems to add the port, but then fails to try and read the info. If I look at the gui, it seems to have added it, but it hasn't. See screenshot, you can see where I've added the same forward twice. (this shouldn't happen)

If I then run
davew@salad:~$ upnpc -L
upnpc : miniupnpc library test client, version 2.2.3.
 (c) 2005-2021 Thomas Bernard.
Go to http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://<IP_ADDRESS>:2189/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://<IP_ADDRESS>:2189/ctl/IPConn
Local LAN ip address : <IP_ADDRESS>
 i protocol exPort->inAddr:inPort description remoteHost leaseTime

It doesn't see the port forward, even though the gui says it's there.
 As a test, I'd like to revert back to that firmware. If someone could let me know how to downgrade the base package, I'll try that and see if I can get it working again.
I downgraded the kernel with opnsense-update -kr 23.7.8 but that only did the kernel, not the base

I uninstalled the os-upnp plugin and reinstalled it and now I get this:
root@OPNonsense:~ # /usr/local/sbin/miniupnpd -d -f /var/etc/miniupnpd.conf -P /var/run/miniupnpd.pid
miniupnpd 9122 - - version 2.3.3 starting UPnP-IGD ext if ovpnc1 BOOTID=1704534859
miniupnpd 9122 - - HTTP listening on port 2189
miniupnpd 9122 - - no HTTP IPv6 address, disabling IPv6
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...):  Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - HTTP REQUEST from <IP_ADDRESS>:47308 : GET /rootDesc.xml (HTTP/1.1)
miniupnpd 9122 - - Host: <IP_ADDRESS>:2189
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - HTTP REQUEST from <IP_ADDRESS>:47324 : POST /ctl/IPConn (HTTP/1.1)
miniupnpd 9122 - - Host: <IP_ADDRESS>:2189
miniupnpd 9122 - - SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetStatusInfo
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - HTTP REQUEST from <IP_ADDRESS>:47336 : POST /ctl/IPConn (HTTP/1.1)
miniupnpd 9122 - - Host: <IP_ADDRESS>:2189
miniupnpd 9122 - - SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - HTTP REQUEST from <IP_ADDRESS>:47338 : POST /ctl/IPConn (HTTP/1.1)
miniupnpd 9122 - - Host: <IP_ADDRESS>:2189
miniupnpd 9122 - - SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument
miniupnpd 9122 - - HTTP REQUEST from <IP_ADDRESS>:47348 : POST /ctl/IPConn (HTTP/1.1)
miniupnpd 9122 - - Host: <IP_ADDRESS>:2189
miniupnpd 9122 - - SOAPAction: urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping
miniupnpd 9122 - - AddPortMapping: ext port 2222 to <IP_ADDRESS>:2222 protocol TCP for: libminiupnpc leaseduration=600 rhost=
miniupnpd 9122 - - UPnP permission rule 0 matched : port mapping accepted
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...):  PF_CHANGE_GET_TICKET: Invalid argument
miniupnpd 9122 - - Returning UPnPError 501: ActionFailed
miniupnpd 9122 - - ioctl(dev, DIOCGETRULES, ...): Invalid argument

I rebooted, now back to the original issue

I can say with considerable confidence that pfSense likely broke this. It's a recurring pattern around libpfctl at the moment... https://github.com/opnsense/ports/commit/ea2bfadb1410934a2d9 -> https://github.com/freebsd/freebsd-ports/commit/81e8bb9834
# opnsense-revert -r 23.7.10 miniupnpd

I can say with considerable confidence that pfSense likely broke this. It's a recurring pattern around libpfctl at the moment... opnsense/ports@ea2bfadb1410934a2d9 -> freebsd/freebsd-ports@81e8bb9834
# opnsense-revert -r 23.7.10 miniupnpd

Hey! I ran the above command - now my forwards are working again! Awesome! Just for my learnings, can you explain what it did please?
Thanks!!

The command reinstalled the miniupnpd package of OPNsense version 23.7.10 which doesn’t use libpfctl as it did for many years. 😉
Cheers,
Franco

If anyone wants to submit an upstream bug report be my guest... https://bugs.freebsd.org
I'm done dealing with libpfctl breakage.

If anyone wants to submit an upstream bug report be my guest... https://bugs.freebsd.org
I'm done dealing with libpfctl breakage.

I'll get this logged and fight the good fight upstream!

Hey! I have exactly the same issue and your opnsense-revert command fixed this for me too!
Thank you @fichtner

Thank you! I will stay tuned for updates

I can say with considerable confidence that pfSense likely broke this. It's a recurring pattern around libpfctl at the moment... opnsense/ports@ea2bfadb1410934a2d9 -> freebsd/freebsd-ports@81e8bb9834
# opnsense-revert -r 23.7.10 miniupnpd

my opensense version is 24.1.7, Is there an suitable miniupnpd version which doesn’t use libpfctl?  Thank you.

# opnsense-revert -z miniupnpd

This is a snapshot release of 2.3.6 to try.


incorrect cookie session config

Seems like the generated system.edn for :handler/ring does not match the expected key and shape in <project>.web.middleware.core
system.edn notice key :cookie-session-config
:handler/ring
 {:router                #ig/ref :router/core
  :api-path              "/api"
  :cookie-session-config {:cookie-secret          #or [#env COOKIE_SECRET "XLHSGXBMTTBTRCHU"]
                          :cookie-name            "io.klei.lms"
                          :cookie-default-max-age 86400}

In <project>.web.middleware.core
The (cookie/cookie-store cookie-session) expects the {:key "SECRET"} for the secrey key instead of :cookie-secret and data type as bytes instead of string?

(defn wrap-base
  [{:keys [metrics site-defaults-config cookie-session] :as opts}]
  (fn [handler]
    (cond-> ((:middleware env/defaults) handler opts)
            true (defaults/wrap-defaults
                   (assoc-in site-defaults-config [:session :store] (cookie/cookie-store cookie-session))))))

Happy to create a PR. If this is an actual issue. Seems it is a change in the lein-template?

Good find, thanks for the report! That's indeed an issue. Should actually make sure the cookie-session-config keys are being used as well, i.e. the cookie name and default max age since that usually is passed to the session config.
If you have the time and interest a PR would be amazing. Otherwise I can take a look sometime later in the week

@jaimesangcap let me know if the new build fixes the issue for you! Thanks again for the report

Beat me to it. I will try it and report back for any issues.
Thanks for the quick fix!


feat(tokenizer):add support for open source llm tokenizers

Hello everyone, I saw the Contribute guide but for some reason the tests would always fail on _____________________________________ ERROR collecting test/test_function_utils.py _____________________________________ test/test_function_utils.py:288: in <module>     class Currency(BaseModel): pydantic/main.py:197: in pydantic.main.ModelMetaclass.__new__     ??? pydantic/fields.py:497: in pydantic.fields.ModelField.infer     ??? pydantic/fields.py:469: in pydantic.fields.ModelField._get_field_info     ??? E   ValueError: Fielddefault cannot be set inAnnotated for 'amount'
I tried but I'm very busy and I seem to not manage to make it work for now, I hope you can take a look and I'll try to run it again.
Why are these changes needed?
This PR solves the following issue https://github.com/microsoft/autogen/issues/1666
Basically while serving open source llm models we were always tokenizing using cl100k_base, but now we support the native way of each model by specifying it in the OAI_CONFIG_LIST
Related issue number
Closes #1666
Checks
Sadly I didn't manage to run checks because of the error mentioned above

@microsoft-github-policy-service agree

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

Comparison is base (aea5bed) 39.62% compared to head (9ea982a) 1.52%.

Files
Patch %
Lines

autogen/token_count_utils.py
4.76%
20 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #1701       +/-   ##
==========================================
- Coverage   39.62%   1.52%   -38.10%
==========================================
  Files          57      55        -2
  Lines        6006    6015        +9
  Branches     1338    1457      +119
==========================================
- Hits         2380      92     -2288
- Misses       3433    5910     +2477
+ Partials      193      13      -180

Flag
Coverage Δ

unittests
1.52% <4.76%> (-38.10%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@olgavrou @AaronWard @kevin666aa @SDcodehub
Hello everyone, this is a workaround that I implemented for now in order to be able to continue with my work, but I'd like to discuss with you of a proper implementation before starting the refactoring.
For instance we could implement this using some kind of strategy pattern so that the desired strategy would be responsible for fetching the right tokenizer for each case. What do you think?

@Halpph is this still the workaround you are using?

I'm not actively using it at the moment, but yes.

This PR is against AutoGen 0.2. AutoGen 0.2 has been moved to the 0.2 branch. Please rebase your PR on the 0.2 branch or update it to work with the new AutoGen 0.4 that is now in main.

@Halpph If you can update to resolve conflicts and see if we can get CI to pass we can look at bringing this forward

closing as stale, please reopen if you would like to bring it up to date.


FUSE-T macOS support

FUSE-T is a user space implementation of FUSE for macOS which doesn't require kernel extensions (KEXT)
More details at https://github.com/macos-fuse-t/fuse-t

Thanks for your PR.
I can’t find the source of fuse-t anywhere? Are you offering to take care of user-reported issues with fuse-t in this repository?

Yes, I will take care of any user-reported issues related to fuse-t. fuse-t behaves a little bit different than conventional fuse, some minor features won't work correctly by virtue of being implemented over NFS but the benefits over osxfuse are significant

Sorry for letting this PR linger for so long — the last few months have been very busy. I’ll try to return to it soon.

@sethiay As I stated previously writev() function is not atomic (at least not on macOS), meaning you get unpredictable results if there are several concurrent writev() calls.

I think you are talking about exclusion of one writev call from the other call for consistency and not atomicity. Also, the locks being added doesn't affect the atomicity of writev call. I am also not sure about consistency guarantees and found this on web: https://unix.stackexchange.com/questions/341050/im-wondering-how-the-atomicity-of-writev-is-ensured. Also, before this PR, without the writeLocks, we (GCSFuse) haven't received any consistency issues.

I suppose the regression is on Linux?

Yes

Are you sure that it happens consistently because the lock looks quite innocuous. Perhaps the lock should be limited to macOS only if the regression is real.

Yes, I ran the performance tests multiple times before flagging this issue.

Would you mind to tell me how do you test so I can try to reproduce it myself?

I don't have a minimal reproducer for the tests. However, I can explain the tests - The test runs 40 threads concurrently on a n2-standard 32 CPU cores Google Compute Engine VM where each thread continuously reads different 50MB file from a FUSE filesystem implementing jacobsa/fuse's filesystem interface for 60s.

@sethiay I'm looking into it. I'll try to send you a workaround to test. Please be patient because I'm a bit busy right now

I don’t want to be too pushy, but could you provide a rough timeline estimate? Are we talking days, weeks, months?
I’m asking because @sethiay and team are eager to pick up https://github.com/jacobsa/fuse/commit/84480b28de63de1527052448f9b8fdd3ff6cbd33, which was submitted after the macOS changes.
If fixing this regression takes a few weeks, it might be best to revert the macOS changes for now and re-submit them later.
Thanks

I'll try to send a PR until the end of the week.

Hi, it seems that was a bad idea to make a new implementation the default one :) it broke mounting for everyone who used macfuse before. Also a user reported that geesefs crashes with fuse-t. I'll revert to macfuse by now ).

Hi, it seems that was a bad idea to make a new implementation the default one :) it broke mounting for everyone who used macfuse before. Also a user reported that geesefs crashes with fuse-t. I'll revert geesefs to macfuse by now ).

Can you send a PR to switch the default please?


DS-1028: CAS authentication

https://jira.duraspace.org/browse/DS-1028
It is currently failing building. I am leaving this here for ideas and tips on trying to get it working.
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/dspace/dspace-src/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/administrative/eperson/AddEPersonForm.java:[182,25] cannot find symbol
symbol  : variable ConfigurationManager
location: class org.dspace.app.xmlui.aspect.administrative.eperson.AddEPersonForm

I created an implementation based on some other work that enables CAS and SAML authentication (the latter with attribute discovery). Please check it out from my repo (https://github.com/tboinski/DSpace/tree/CAS_SAML_5_x), the pull request is located at https://github.com/DSpace/DSpace/pull/804. Fell free to check it out and report on the PR page.


Add "egressNodeName" in flow records

Changes in go-ipfix are at https://github.com/vmware/go-ipfix/pull/343

/test-all


Change version to 0.15.0

Thank you @losipiuk  .. I will work on charts more in terms of docs after Trino Summit


typo in readme: donwload

-You can donwload the following models :
+You can download the following models :

Technically, you'd write:

You can download the following models:

No space before a full colon, in English.

Thanks for noticing !


Enterprise 1.10 release notes

Features

Log slow queries even if query logging is not enabled

[WIP]

Created by mistake


Broken image in README.md caused by Dropbox's Public Folder changes.

As of March 15, 2017 the Public folder in your Dropbox account has been converted into a standard folder. By default this folder is private to your account.
It seems like broken image link in README.md is caused by those changes. This can be easily fixed using the following steps:

Sign in to dropbox.com.
Hover your cursor over the file or folder you'd like to share and click Share when it appears.
If a link hasn't been created, click Create a link. If a link was already created, click Copy link.
The link will be copied to your clipboard. You can then replace the broken link in README.md with that new public-accessible one.

This has since been fixed: https://github.com/php-vcr/php-vcr/commit/5797258777e6581373152688e7ec6148f5ee6e08#diff-04c6e90faac2675aa89e2176d2eec7d8


Fix slow editor load on large projects

Fixes partially #94917

I tested a project with all the image from https://github.com/PMDCollab/SpriteCollab/tree/master/sprite which contains 61332 png.
Problem found:

In the new EditorFileSystem::_first_scan_process_scripts, the method ResourceLoader::get_resource_type was called on each file and this method loops on all the loader and calls get_resource_type which for some loader read the resource file. So all files were read multiple times.

Before this PR:

First scan (before Filesystem Dock progress bar appears): 1 min

After this PR:

First scan (before Filesystem Dock progress bar appears): 4-5 sec.

I found another performance problem with EditorFileSystem::_test_for_reimport but that will take more modifications to fix, I'll create another PR later.

It is possible to get all valid script extensions from ScriptServer. Something like
for (int i = 0; i < ScriptServer::get_language_count(); i++) {
	ScriptServer::get_language(i)->get_extension();
}

Can confirm this makes the scanning files dialog appear near instant on a 100.000+ file project.
It still does ridiculous reloading from disk for all the files in a project on a file change / rename but I guess that is the other issue mentioned with the EditorFileSystem::_test_for_reimport?

It is possible to get all valid script extensions from ScriptServer. Something like
for (int i = 0; i < ScriptServer::get_language_count(); i++) {
	ScriptServer::get_language(i)->get_extension();
}

Thanks @Jordyfel, I did not thought about it. It even faster, I'm down to 1-3 seconds for the first scan on the same project instead of 4-5 seconds. I pushed the modifications to use your suggestion.

Great! Can confirm this makes the scanning files dialog appear near instant on a 100.000+ files project.

Nice!!! Thanks to test it.

It still does the kinda ridiculous reloading from disk for all the files in a project on a file change / rename but I guess that is the other issue mentioned with the EditorFileSystem::_test_for_reimport?

Exactly, each .import file are read like 3 times on editor load. I'm looking into it. Pretty sure I will not be able to do miracles but I'll do my best.

I'm closing this PR since the V2 has been approved.


Merge master-next into master

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/run


HBASE-24958 CompactingMemStore.timeOfOldestEdit error update

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 29s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m  6s
the patch passed

+1 :green_heart:
compile
1m  5s
the patch passed

+1 :green_heart:
javac
1m  5s
the patch passed

+1 :green_heart:
shadedjars
6m 37s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 40s
hbase-server in the patch failed.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m  0s
the patch passed

+1 :green_heart:
compile
1m  5s
the patch passed

+1 :green_heart:
javac
1m  5s
the patch passed

+1 :green_heart:
shadedjars
6m 39s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 40s
hbase-server in the patch failed.

Is there a problem with the unit test? I can pass it locally

Failure looks unrelated. Re-running the build.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 29s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m  0s
the patch passed

+1 :green_heart:
compile
1m  5s
the patch passed

+1 :green_heart:
javac
1m  5s
the patch passed

+1 :green_heart:
shadedjars
6m 36s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 40s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
131m 25s
hbase-server in the patch passed.

158m 45s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2321/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2321

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 404b3aca1393 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / f36c55c6e8

Default Java
2020-01-14

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2321/3/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2321/3/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2321/3/testReport/

Max. process+thread count
4280 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2321/3/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 31s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 59s
master passed

+1 :green_heart:
compile
0m 59s
master passed

+1 :green_heart:
shadedjars
6m 58s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 43s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 47s
the patch passed

+1 :green_heart:
compile
1m  0s
the patch passed

+1 :green_heart:
javac
1m  0s
the patch passed

+1 :green_heart:
shadedjars
7m 12s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 39s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
143m 21s
hbase-server in the patch passed.

171m  1s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2321/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2321

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 05c49f20451b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / f36c55c6e8

Default Java
1.8.0_232

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2321/3/testReport/

Max. process+thread count
4006 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2321/3/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Rework of ARF XML parser

This PR contains:

Creates sup package arf_xml_parser which contains classes parsing ARF XML.
Reworks classes for parsing ARF XML.
Renames classes for parsing ARF XML.

Hello @Honny1! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file oval_graph/arf_xml_parser/xml_parser.py:

Line 87:100: E501 line too long (100 > 99 characters)

/packit copr-build

/packit copr-build

Thank you for the PR! First thing - PR description: Please try to be more specific than "rework", because at least 80% of any software engineering falls under "rework".
I like how you extracted functionality into separate methods and made some methods static.
On the other hand, there is room for improvement in naming, and I think that parts of the code aren't unit-tested, which would be a pity.
Finally, don't squash commits right away, the review is easier when I can see what changed, and you can then rebase and create a nice history after everything is approved.

/packit copr-build

/packit copr-build

/packit copr-build

/packit copr-build

LGTM, thanks!


fixed .gitignore issues

I fixed a bunch of small issues, updated the knight move validation, cleaned up unused imports, and refactored the file tree to not look stupid.


BoringSSL -fobjc-weak is not supported on the current deployment target

Please answer these questions before submitting your issue.
Should this be an issue in the gRPC issue tracker?
I believe so
What version of gRPC and what language are you using?
Updated my ios project cocoapods that seem to rely on gRPC, these were updated to:
gRPC 1.9.0 (was 1.8.6)
gRPC-Core 1.9.0 (was 1.8.6)
gRPC-ProtoRPC 1.9.0 (was 1.8.6)
gRPC-RxLibrary 1.9.0 (was 1.8.6)
BoringSSL 9.2

What operating system (Linux, Windows, …) and version?
macOS High Sierra
What runtime / compiler are you using (e.g. python version or version of gcc)
Not sure, seeing this error within XCode
What did you do?
Tried altering XCode build settings to allow this weak thing, but no luck
What did you expect to see?
No error, clean build
What did you see instead?
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment?

Please let us know Xcode and Cocoapods versions you are using.

Issue solved, error was caused by Cocoapods/Xcodeproj, latest update fixes it


[Add a Ride] After Ride creation Ride Type and Fee do not match the selected option

Environment: Xiaomi Mi 9 Lite, Android 10, MIUI 12 <IP_ADDRESS>
Reproducible: always
Build found: v1.0.228.apk
Preconditions:
Internet connection is available
The user is authorized
App is opened
"Add a Ride" page is opened
Steps to reproduce:

Select From/To/Departure time
Select Ride Type as OWN CAR
Select Fee as FREE
Click on Publish
Go to created Ride
Observe the Result

Actual result:

The Ride is created
Ride Type is shown as Taxi
Fee is shown as Paid

https://user-images.githubusercontent.com/84583510/123126343-facb5080-d451-11eb-8a3b-df96e15e1d60.mp4
Expected result:

The Ride is created
Ride Type is shown as Own Car
Fee is shown as Free

User story and test case links
User story #403
Labels to be added
"Bug" ("bug"), "Priority" ("pri: ")

Same defect was appeared again two days ago while other fixed defect was retested.

I can't reproduce.


How named UAV/SSBO in bgfx?

I can't found this type in doc.

There is no structured compute buffer support, you can just use buffers:
https://bkaradzic.github.io/bgfx/bgfx.html#compute

What is indirect buffer?

It's buffer that's used for generating draw commands on on GPU. It work for case when other state doesn't change, and you just need to do many draw calls with the same state but with different ranges in vertex/index/instance buffer. See example 24-nbody, it uses it.

But why no UAV/SSBO analog?
I know, that buffer can be named as: unstricted.
And allow load any byterows.

Because padding added to structures is opaque to you, and it's much more efficient to pack it manually, and you would pack it manually anyway in optimization phase anyway.

Sad that in this world no DirectX 12 high level libraries, looks that like
STD.


MudAutoComplete: Fix initial open with server-side, non-async search

Description
Fixes #3640.
With MudAutocomplete and a non-async SearchFunc in server-side Blazor, the popover would not open on initial click, because the popover handler was always already locked (for fragment update) before OnSearchAsync  was called. This introduces some minor optimizations which has the side-effect of preventing this issue from occurring.
How Has This Been Tested?
Tested with local server-side Blazor app, as I don't think this could be reproduced in WASM or, bUnit for that matter.
I did add a bUnit test for this in any case.
Recording to show behavior after changes, which seems to match the current behavior:

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] 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 believe that the behavior around CoerceText and CoerceValue is now correct, when it comes to the popover being open. I can provide screenshots / .gifs if that helps verify the behavior.

Added a recording that (hopefully) shows that the behavior for CoerceText CoerceValue and ResetValueOnEmptyText hasn't changed.

Is there any chance someone could look at this? It's a big issue for a large project I'm working on. :(

Sorry for the long wait and thanks!

Sadly this PR introduced a new bug but only in BSS: #4303

@andersstorhaug: this change caused an issue with autocomplete that it would not close the menu on BSS with higher latency (I posted proof of it causing the issue here: #4326)

I want to revert it. What are the consequences for your PR? Is this just an optimization?

@henon I believe that this change was important to #3640, in that it solves the problem of the menu not opening initially by preventing the popover from being locked out of render before open. The idea being, if the popover is already in the desired open/closed state, there's no reason to render it nor is there a reason to prevent a future render (eg. to actually open or close it).
Now I'm not exactly sure why this causes an issue for #4326, but, thought I'd give some insight into what the thinking was behind this change.

I have found a replacement fix for the partially reverted code without side effects: #4375
You can test it with the pre-release nuget https://www.nuget.org/packages/MudBlazor/6.0.10-dev.2

Thank you @andersstorhaug, your analysis that this was caused by the render lock in popover handler was correct and saved me a lot of time.


Setup last layer for GPU images

Related-To: https://github.com/os-climate/aicoe-osc-demo/issues/91
Related-To: https://github.com/os-climate/aicoe-osc-demo/issues/128
This will be the last layer used to build GPU images that have Neural magic for training.

@pacospace the ci check this pr has requires contributor to have signed commits. As we committed the suggestions they are breaking. you might have to squash the commits into one.

Thanks @harshad16, I squashed them.


Notification emails for unresolution

in parallel to the resolve methods

most unresolutions are part of an unresolve+reresolve flow, so emails for unresolutions seem superfluous. If we really want to notify users, we can post a comment with the @predictors ping.


Fix bug with UniformGridLayout MaximumRowsOrColumns and requested size

Description

Fix bug where the UniformGridLayout would ignore thefact that it only renders a certain amount of columns/rows and then request the whole width/height instead of requesting what is needed.
Motivation and Context

Fixes #1549
How Has This Been Tested?

Added new API test.
Screenshots (if appropriate):

/azp run


cmd/compile: a9407b breaks address offset calculation

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
go version devel +93098de

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOOS="linux"

What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

go get -u github.com/gonum/matrix/mat64
go test -a -run DenseOverlaps github.com/gonum/matrix/mat64 # unsafe dependency
go test -a -tags appengine -run DenseOverlaps github.com/gonum/matrix/mat64 # no unsafe dependency

What did you expect to see?

Both test invocations pass. This is the behaviour with go1.6

What did you see instead?

Both invocations fail.
The change in behaviour was bisected to a9407b5797c0d4dcbed965462204cdc4e38bb621.
The now failing code calculates relative address offsets between two []float64 elements (either with unsafe or reflect) to identify matrix overlaps.

@ianlancetaylor

Simple test case.  This program does not panic with Go 1.5 or Go 1.6, does panic with tip.
package main

type S struct {
    i int
}

func F(c bool, s1, s2 S) (int, int) {
    if c {
	    s1.i, s2.i = s2.i, s1.i
    }
    return s1.i, s2.i
}

func main() {
    i, j := F(true, S{1}, S{20})
    if i != 20 || j != 1 {
	    panic(i+j)
    }
}


Dynamic Content - Duplicate Slide Update

repost: (c) ganySA
I have a scenario where i have 3 slides where i am updating the content dynamically. I have the loop function enabled however when i swipe left or right i update the content of the hidden slides, because of the way loop works and how it copies slides it displays old data on the "duplicate" slides which then is not really the "next" slide i want to display.
is there a method that can be used to refresh the "duplicate" slides at the end of a swipe? - refresh duplicate slides in use after completion of a task?
is it critical to have these duplicate slides in future releases?
Would love to know how people have solved this issue...
Thank you.

Hi,
Also interested in a way to implement a swiper slide buffer of dynamic content...
Cheers

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue

Hi,This issue exist for me also.pls help me to fix it


typo in readme

In 'reasoning' segment of tech stack, the bcrypt section has a typo . "it it"

Fixed


Do not run on HTTPS because it might redirect improperly

If the x-forwarded-proto header is not set properly it will redirect
to HTTPS but the path will be wrong.  So just don't run on https as it's
not ever used.

https://github.com/rancher/rancher/issues/28223


Installation and RAM issues

Could you, please, help me with installation issue? Both "pip install minimol" and installing from cloned github repo gets stuck at building wheels. I'm not sure if there is something wrong with my environment or there is just a minor bug in the repo. It's just stuck forever at
"Building wheels for collected packages: minimol, torch-cluster, torch-scatter, torch-sparse, mup
Building wheel for minimol (setup.py) ... done
Created wheel for minimol: filename=minimol-1.2-py3-none-any.whl size=19051870 sha256=9fc7aadfdc02a8dc9399629c1a464159ebc202e7d064300f0fcbe8f6e3722587
Stored in directory: /tmp/pip-ephem-wheel-cache-12fn32_h/wheels/33/65/61/09658d3eca7687d52dbd401ec31d3d16c99350d4fb938aa60f"
Edit: I attempted installing both on Google Colab and Google GCP platform with same results. I tried "pip install minimol", "pip install git+https://github.com/graphcore-research/minimol.git" and local install from readme. Pip version was 24.1.2
I believe this might be due to fundamental issues with graphium but wanted to ask if anyone else had similar problems.

Update: here is how it can work on Google Colab/GCP:

install these first:
!pip install torch-sparse torch-cluster torch-scatter -f https://pytorch-geometric.com/whl/torch-2.3.0+cu121.html
then install hydra:
!pip install hydra-core
then graphium
!pip install graphium==2.4.7
now it will work
!pip install minimol

I suspect there is some conflict with torch versions that GCP has trouble figuring out so correct torch/cuda has to be specified manually. Hope it will be useful for others trying to run this in cloud.

Update #2: it works on provided example in the readme but when I try to featurize my molecules (about 200) RAM consumption explodes, crashing the session. Have you ever encountered this issue?

Hey @Khrystofor19, thanks for flagging those issues!
We've noticed the PyPI install can be a bit finicky in some setups. Your workaround is exactly what I'd suggest.
About the RAM problem, I was able to identify it as related to the number of workers used for dataloading in the graph construction phase. I made a few tweaks:

Instead of using a fixed number of workers we are now adjusting to what's available on the machine.
Both building the graphs and running them through the model are now done in batches.
You can now control the batch size yourself. Just use Minimol(batch_size=...) when you set up the model.

Now the memory leakage should be gone and the featurisation should be multiple orders of magnitude faster in Colab.
Let me know if it works on your side.

@blazejba Thank you!


Fixing c library tutorial

I took the PR #1921 from @MarvinTeichmann and changed a few things here and there according to the review.
There was a comment about link time optimisation. I looked it up, but I don't think I'm knowledgeable enough on this topic to add anything meaningful to the tutorial. I will let someone more familiar with the matter take care of it.

Thanks @MarvinTeichmann and @gabrieldemarmiesse for working on this !


DSC Logger: Log Rings as Strings?

Log Rings as strings?
Need to check how Logger.DSC class handles this

This is somewhat obsolete. PGSQL will only support strings. That's that


Feedback for Rashid Portfolio

add object-fit property to your images.
give the full width to skill section.
pleas use ul  and li only for nav and icons.

Assalam o ulikum,
haider how are you?
brother I left the previous week and I haven't the morning sessions of week
2 please send me all the morning sessions of week 2.
thanks
On Fri, Aug 26, 2022 at 12:49 PM Haider Ahmad @.***>
wrote:

add object-fit property to your images.
give the full width to skill section.
pleas use ul and li only for nav and icons.

—
Reply to this email directly, view it on GitHub
https://github.com/RashidMenhas/My-Portfolio/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ4YV5SBSVBON5WY3DZZVX3V3BZIFANCNFSM57VXS24Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


IDVA6-337 previously added companies on your companies page

Link to Jira:
https://companieshouse.atlassian.net/browse/IDVA6-337
Changes:

Your companies page updated with content displaying added companies
API call function in skeleton form with hard coded return values because API doesn't exist yet
Minor changes to fix spotted errors

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found


Update sys-fn-xe-file-target-read-file-transact-sql.md

This CAST was erroneously removed in a previous PR.
It shouldn't be needed - but currently is for the reasons in this bug. (Perhaps should also have some explanatory text about why it is needed)
https://feedback.azure.com/d365community/idea/5f8e52d6-f3d2-ec11-a81b-6045bd7ac9f9
Also see https://dba.stackexchange.com/questions/323147/why-does-sys-fn-xe-file-target-read-file-require-an-explicit-cast-on-datetime2-c/323151#323151

@rwestMSFT
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Bad error message for non existing data source

soda scan -d does_not_exist -c configuration.yml checks.yml

results in
Soda Core 3.0.0b4
Unknown error while executing scan.
  | dictionary changed size during iteration
  | Stacktrace:
  | Traceback (most recent call last):
  |   File "/Users/m1n0/dev/soda/soda-sql/soda-core/soda/core/soda/scan.py", line 267, in execute
  |     for data_source_scan_cfg in self._sodacl_cfg.data_source_scan_cfgs.values():
  | RuntimeError: dictionary changed size during iteration

Data source "does_not_exist" does not exist. should be added to the logs instead.
No stack trace should be shown (unless -V).


How to provide custom classes

How do I customize the styling of code string I'm providing to the Highlighter.
Example I've a string JSON available and I want the color of attributes to be different than shipped with themes.

@vaibhavswarnkar you can provide your own theme, you would just need to pass in something fulfilling these properties -- https://github.com/conorhastings/react-syntax-highlighter/blob/master/src/styles/agate.js


Version 12 is broken on linux

If I install the package from pipy and try to run it, I get:
$ /usr/local/bin/junit2html
/usr/bin/env: ‘python\r’: No such file or directory

For some reason that file has CR-LF line endings:
# hexdump -C /usr/local/bin/junit2html
00000000  23 21 2f 75 73 72 2f 62  69 6e 2f 65 6e 76 20 70  |#!/usr/bin/env p|
00000010  79 74 68 6f 6e 0d 0a 0d  0a 66 72 6f 6d 20 6a 75  |ython....from ju|
00000020  6e 69 74 32 68 74 6d 6c  72 65 70 6f 72 74 20 69  |nit2htmlreport i|
00000030  6d 70 6f 72 74 20 72 75  6e 6e 65 72 0d 0a 72 75  |mport runner..ru|
00000040  6e 6e 65 72 2e 73 74 61  72 74 28 29 0d 0a        |nner.start()..|
0000004e

I've checked the source on github and it is fine. Something wrong should have happened during the release.

Hmm, that is annoying.  I ran twine on windows for this one :/

Then, please, don't do that anymore ;-)

Thanks for the quick fix. Version 13 is working.


Teamspeak 3 Server

Feature Request
Teamspeak 3 Server
Feature Information:

I confirm:

[X] that I have searched for an existing feature request matching the description.

I would also be glad to see such a feature to Manage Voiceservers like Teamspeak, Mumble and TeaSpeak

I agree not everyone grew up with discord.. I used back in the day Teamspeak 2 back in early 2000's lol I remember the first magor online game i played was Delta Force Black Hawk Down I only wish they had a control panel for that game lol That game is so old everyone has left it in the modding community it sucks.. Anyway Teamspeak is a tool that in my mind is better than discord in so many ways.. The ability not only to text each other etc.. But to share files back and forth is really nice especially when your trying to help trouble shoot some ones issues.

TS3 is pretty low priority right now as its usage has massively declined since the rise of Discord. Of course someone can always make their own module to add support in the mean time.

Teamspeak 3 is used very much in Arma 3 Communities. As two mods require the usage of Teamspeak 3 to work.

We've added support for Teamspeak as a goal on Patreon: It's the one immediately after the one we're currently closing in on. https://www.patreon.com/cubecoders

Hmmm First Raspbery than Voiceserver ? Noone need Raspb Support and 1200 Dollar per Month? Then Voicesupport never comes, when i see that grow 1 Dollar per Week

Any updates on this? is teamspeak going to be supported?

We just a few days ago met the goal for this, so it's going to be something we start working on soon after AMP Enterprise ships.

Ok amazing! also is teaspeak going to be added along with teamspeak? http://teaspeak.de/

Thank you so much!! Now I can add teamspeak to my panel and control it from there instead of sshing every time to work on some thing..

There's now a generic module template for TS3 available: https://github.com/CubeCoders/AMP/tree/master/GenericModuleTemplates/TeamSpeak3

Bounty info: This should be implemented as a hybrid module (implementing both plugin and module interfaces) ideally.

There's now a generic module template for TS3 available: https://github.com/CubeCoders/AMP/tree/master/GenericModuleTemplates/TeamSpeak3

i did the steps to install the generic module four times. Something is just not working correctly or the steps got outdated by amp updates. I thing something is wrong with the port mappings... it says another port on the gui and overwrites the gerneric file every start.


[BUG] RBAC issue with V2.0.0

Description
Have attempted upgrading to Chart V2 today, stumbled into issues with RBAC for the controller.

[v] ✋ I have searched the open/closed issues and my issue is not listed.

Reproduction Code
Steps to reproduce the behavior:
Deploy the spark operator with the following values:
(on namespace "operator-spark", to control sparkApplications on namespace "spark-apps")
controller:
  replicas: 3
  affinity:
    podAntiAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
      - topologyKey: kubernetes.io/hostname
        labelSelector:
          matchLabels:
            app.kubernetes.io/name: spark-operator
            app.kubernetes.io/component: controller
  serviceAccount:
    name: "operator-spark"

spark:
  serviceAccount:
    name: "spark-apps"
  jobNamespaces: ["", "spark-apps"]

webhook:
  replicas: 3
  affinity:
    podAntiAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
      - topologyKey: kubernetes.io/hostname
        labelSelector:
          matchLabels:
            app.kubernetes.io/name: spark-operator
            app.kubernetes.io/component: webhook

Expected behavior
Spark operator is deployed with RBAC resources, allowing me to deploy sparkApplications to namespace "spark-apps".
Will mention a corresponding values.yaml was used with the previous version and worked as expected:
replicaCount: 3
affinity:
  podAntiAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
    - topologyKey: kubernetes.io/hostname
      labelSelector:
        matchLabels:
          app.kubernetes.io/name: spark-operator
serviceAccounts:
  spark:
    name: "spark-apps"
  sparkoperator:
    name: "operator-spark"
sparkJobNamespaces: ["spark-apps"]
webhook:
  enable: true

Main difference is I've added "" to spark.jobNamespaces as described in the V2.0.0 release notes - https://github.com/kubeflow/spark-operator/releases/tag/v2.0.0
Actual behavior
Spark operator successfully starts, RBAC resources are created, but the controller itself is missing permissions for configmaps on the target namespace.
As soon as a sparkApplication is deployed, no pods are deployed, and these errors come up in the operator logs:
W0923 12:21:16.679003      10 reflector.go:539] pkg/mod/k8s.io/client-go@v0.29.3/tools/cache/reflector.go:229: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:operator-spark:operator-spark" cannot list resource "configmaps" in API group "" in the namespace "spark-apps"
E0923 12:21:16.679034      10 reflector.go:147] pkg/mod/k8s.io/client-go@v0.29.3/tools/cache/reflector.go:229: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: configmaps is forbidden: User "system:serviceaccount:operator-spark:operator-spark" cannot list resource "configmaps" in API group "" in the namespace "spark-apps"

Environment & Versions

Spark Operator App version: 2.0.0
Helm Chart Version: 2.0.0
Kubernetes Version: 1.30
Apache Spark version:

Additional context

Have attempted to install the operator on the same namespace as the sparkApplications
Attempted to add the "operator-spark" namespace to spark.jobNamespaces
Attempted with and without "" in spark.jobNamespaces

Only solution that worked was reverting to chart version 1.4.6 (with the configuration mentioned under "Expected behavior")
Please let me know if any more info is needed, we're really eager to move to V2 as it supposed to resolved many of the issues we are currently experiencing

I have similar issue ⚠

@Aransh What's the cluster role that was binded to spark operator controller?

@ChenYi015
In 2.0.0 I see controller is connected to serviceAccount "operator-spark", which has the following clusterRoles/clusterRoleBindings:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  creationTimestamp: "2024-09-23T09:01:14Z"
  labels:
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: spark-operator-devops-playground
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: spark-operator
    app.kubernetes.io/version: 2.0.0
    argocd.argoproj.io/instance: spark-operator-devops-playground
    helm.sh/chart: spark-operator-2.0.0
  name: spark-operator-devops-playground-controller
  resourceVersion: "1297428426"
  uid: 8c2b0ab9-6db3-46ad-9ebc-80547c2d2baa
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: spark-operator-devops-playground-controller
subjects:
- kind: ServiceAccount
  name: operator-spark
  namespace: operator-spark
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  creationTimestamp: "2024-09-23T09:01:13Z"
  labels:
    app.kubernetes.io/component: controller
    app.kubernetes.io/instance: spark-operator-devops-playground
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: spark-operator
    app.kubernetes.io/version: 2.0.0
    argocd.argoproj.io/instance: spark-operator-devops-playground
    helm.sh/chart: spark-operator-2.0.0
  name: spark-operator-devops-playground-controller
  resourceVersion: "1298041537"
  uid: 5561aa20-37af-40b2-b170-a3dd9869b86e
rules:
- apiGroups:
  - ""
  resources:
  - nodes
  verbs:
  - get
- apiGroups:
  - ""
  resources:
  - events
  verbs:
  - create
  - update
  - patch
- apiGroups:
  - apiextensions.k8s.io
  resources:
  - customresourcedefinitions
  verbs:
  - get
- apiGroups:
  - ""
  resources:
  - pods
  verbs:
  - get
  - list
  - watch
  - create
  - update
  - patch
  - delete
  - deletecollection
- apiGroups:
  - ""
  resources:
  - configmaps
  verbs:
  - get
  - create
  - update
  - patch
  - delete
- apiGroups:
  - ""
  resources:
  - services
  verbs:
  - get
  - list
  - watch
  - create
  - update
  - patch
  - delete
- apiGroups:
  - extensions
  - networking.k8s.io
  resources:
  - ingresses
  verbs:
  - get
  - create
  - delete
- apiGroups:
  - sparkoperator.k8s.io
  resources:
  - sparkapplications
  - scheduledsparkapplications
  verbs:
  - get
  - list
  - watch
  - create
  - update
  - patch
  - delete
- apiGroups:
  - sparkoperator.k8s.io
  resources:
  - sparkapplications/status
  - sparkapplications/finalizers
  - scheduledsparkapplications/status
  - scheduledsparkapplications/finalizers
  verbs:
  - get
  - update
  - patch

In 1.4.6 I see controller is connected to serviceAccount "operator-spark", which has the following clusterRoles/clusterRoleBindings:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  creationTimestamp: "2024-09-23T12:04:12Z"
  labels:
    app.kubernetes.io/instance: spark-operator-qa-1
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: spark-operator
    app.kubernetes.io/version: v1beta2-1.6.2-3.5.0
    argocd.argoproj.io/instance: spark-operator-qa-1
    helm.sh/chart: spark-operator-0.0.20
  name: spark-operator-qa-1
  resourceVersion: "852049315"
  uid: 3a4f8c2d-e230-4670-9096-df700447cc67
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: spark-operator-qa-1
subjects:
- kind: ServiceAccount
  name: operator-spark
  namespace: operator-spark
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  creationTimestamp: "2024-09-23T12:04:12Z"
  labels:
    app.kubernetes.io/instance: spark-operator-qa-1
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: spark-operator
    app.kubernetes.io/version: v1beta2-1.6.2-3.5.0
    argocd.argoproj.io/instance: spark-operator-qa-1
    helm.sh/chart: spark-operator-0.0.20
  name: spark-operator-qa-1
  resourceVersion: "852049312"
  uid: 3c577fc2-e96e-4d7e-90e4-a98f981e44a0
rules:
- apiGroups:
  - ""
  resources:
  - pods
  - persistentvolumeclaims
  verbs:
  - '*'
- apiGroups:
  - ""
  resources:
  - services
  - configmaps
  - secrets
  verbs:
  - create
  - get
  - delete
  - update
  - patch
- apiGroups:
  - extensions
  - networking.k8s.io
  resources:
  - ingresses
  verbs:
  - create
  - get
  - delete
- apiGroups:
  - ""
  resources:
  - nodes
  verbs:
  - get
- apiGroups:
  - ""
  resources:
  - events
  verbs:
  - create
  - update
  - patch
- apiGroups:
  - ""
  resources:
  - resourcequotas
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - apiextensions.k8s.io
  resources:
  - customresourcedefinitions
  verbs:
  - get
- apiGroups:
  - admissionregistration.k8s.io
  resources:
  - mutatingwebhookconfigurations
  - validatingwebhookconfigurations
  verbs:
  - create
  - get
  - update
  - delete
- apiGroups:
  - sparkoperator.k8s.io
  resources:
  - sparkapplications
  - sparkapplications/status
  - sparkapplications/finalizers
  - scheduledsparkapplications
  - scheduledsparkapplications/status
  - scheduledsparkapplications/finalizers
  verbs:
  - '*'
- apiGroups:
  - batch
  resources:
  - jobs
  verbs:
  - delete
- apiGroups:
  - coordination.k8s.io
  resourceNames:
  - spark-operator-lock
  resources:
  - leases
  verbs:
  - get
  - update
  - patch
  - delete
- apiGroups:
  - coordination.k8s.io
  resources:
  - leases
  verbs:
  - create

I see several differences but none that look relevant, but as you can see "list" is not added as a verb under "configmaps", also validated with kubectl auth can-i list configmap -n spark-apps --as "system:serviceaccount:operator-spark:operator-spark (returns no)
Maybe something in V2 of the operator has changed and list configmaps is now required but chart hasn't added?

@Aransh Thanks for the detail. Maybe the list permission is required by controller-runtime cache, I have raised a PR to add permissions needed for caching ConfigMap and PersistentVolumeClaim.

Any estimation when will a version with this fixed will be released (2.0.1)?

@Aransh @YanivKunda Now v2.0.1 has been released with this fixed.

@ChenYi015 V2.0.1 works like a charm! Thanks


Cursor drag option present in the preview mode of table filter section.

In the preview mode of the table component, when the user hovers over the table filter section in the cursor a drag icon is show instead of a regular pointer icon.

@Mrxyy

assign @Mrxyy


Open taskbar-pinned folders in existing instance

Fixes #1448
With this change folders pinned on the taskbar will be opened in the last used Files instance (in a new tab).
Folders launched from the command line will always open in a new instance.
Clicking the Files tile or start menu icon will always open a new instance.
TODO:

add a setting to activate the new behaviour
[maybe] if the selected tab in the target instance is "new tab" page, open folder in that tab

How does this work if app is minimized??

How does this work if app is minimized??

The app will be activated by Windows.


Update SQLCipher to 3.5.0

This update to SQLCipher enables Android N compatibility.  Full details here

For anyone else interested in this update.  Placing compile 'net.zetetic:android-database-sqlcipher:3.5.0@aar' in the build.gradle will override the dependency to use the 3.5.0 version of sqlcipher until a new version of DBFlow is released.

thank you for your contribution. I am going to close this and use 3.5.1 as thats the newest version. I will need to run some tests on it as well. Thank you


Stripe enabled event

🤖 Generated by Copilot at 08fc49b
This pull request adds domain events to the StripeService module to communicate the status of the Stripe integration with live mode. It also updates the SettingsBREADService module to use the StripeService module to connect to Stripe when the Stripe public key setting is changed. It introduces two new files, StripeLiveEnabledEvent.js and StripeLiveDisabledEvent.js, that define the custom domain events for Stripe.

Can we put the check inside of the if (stripeConnectData) { block on line 190? Would that simplify the checks at all?

Yeah, that's actually a good point. I chose to put it after we have the model update response to be able and compare the before and after, but I don't think it's really necessary, so I moved it to the logic block on line 190 and simplified it.


SetTextGDIPlusProperties - invalid request type

Description:
SetTextGDIPlusProperties does not work, and fails with 'invalid request type' on attemping to use it.
The error occurs with or without passed params.
Reproduction:
obs.setTextGDIPlusProperties({})
	.then((x) => {
	    console.log('Success', x)
	})
	.catch((x) => {
	    console.log('Error', x)
	})

Error { error: 'invalid request type',
  'message-id': '2',
  status: 'error',
  messageId: '2' }

Versions:

obs-websocket-js version: 0.7.0
obs-websocket plugin version: 4.0.0
obs-studio version: 19.0.3

SetTextGDIPlusProperties wasn't implemented on the plugin side until 4.1.0, so try with that version of the plugin.
https://github.com/Palakis/obs-websocket/releases/tag/4.1.0

Updated obs-websocket and everything's working fine.
Cheers!

Awesome, glad that worked.


替换有远端安全组的规则,避免网络不通

这个 PR 实现什么功能/修复什么问题:
替换有远端安全组的规则,避免网络不通
是否需要 backport 到之前的 release 分支:

release/2.10.0

/cc @swordqiu @yousong

Codecov Report

Merging #1359 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1359   +/-   ##
======================================
  Coverage    7.73%   7.73%
======================================
  Files         374     374
  Lines       58866   58866
======================================
  Hits         4555    4555
  Misses      53909   53909
  Partials      402     402

Flag
Coverage Δ

#aFlag
7.73% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/util/seclib2/seclib.go
91.48% <0%> (-4.26%)
:arrow_down:

pkg/appsrv/response.go
69.23% <0%> (+3.07%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7e45338...b09f252. Read the comment docs.

/lgtm
/approve


There should be a method similar to pressKey wich could press multiple keys in sequence

What are you trying to achieve?
Populating text to places which are not text fields or textareas.
What do you get instead?
As I can't use fillField() to achieve this, in these cases, I end up using multiple lines of pressKey(), or sometimes transforming my string into an array and using a forEach() on it to solve the problem.
I think that a method like pressKeys would be ideal to solve problems like this.
I.pressKeys("My long text here...")

Hey @raschmitt meanwhile, you can create a custom helper for yourself
custom_helper.js
class Custom_Helper extends codecept_helper {

    pressKeys(keys) {
        const browser = this.helpers['WebDriver'].browser;
        browser.keys(keys.split(''));
    }
}

module.exports = Custom_Helper;

in your codecept.conf.js
//...
helpers: {
        Custom_Helper: { 'require': 'location/to/my/helpers/custom_helper' }
    },
//...

Usage:
I.pressKeys('This is the long text you want...');

Hey @xMutaGenx, this is going to be very helpful for me, yet I still think this should be a standard method.

Hey @xMutaGenx, this is going to be very helpful for me, yet I still think this should be a standard method.

you could create a PR for that :)

True @PeterNgTr I do think it shouldn't be called I.pressKeys however, as it could be a bit messy with mod keys, might call it something like I.Type

True @PeterNgTr I do think it shouldn't be called I.pressKeys however, as it could be a bit messy with mod keys, might call it something like I.Type

pressKey - Presses a key in the browser (on a focused element).
Hint: For populating text field or textarea, it is recommended to use fillField
Or maybe enhance the fillField method

I agree to add another method
I.type('keys')

We are in situation where it's easier to add a new method to all helpers than update all current helpers to introduce a new behavior. I.type should be the best solution for now as it ca be combined with I.pressKeyDown and I.pressKeyUp.
Any volunteers to implement it?

I'm going to dive to this one. I'll inform about my iterations.

@aefluke oof, just raised a PR, review and update if you'd like to :)


ISSUE when deployed on app and tested

Hi @juandes , I tried the android api from tensorflow site with tflite version model. But not able to get detect any box accurately when trying to test it using the app. Did you face any issue similar to this?
Though my model is working fine when tested on images using postman.

Hi @NidhiSultan. My model is quite outdated and not made for tflite. That's probably why it isn't working. Let me know if you find a fix. Or even better, if you manage to convert it to tflife.

I managed to make it work. Thanks

Hi @NidhiSultan , do you mind explaining how? It might help others in the future. Thanks.

Hi @juandes , The model we train and convert to tflite is either Quantized or non quantized. The Android application provided by tensorflow has a parameter, "isQuantized".
We have 2 options.

Quantize our model while converting it to tflite for it to support the application, https://www.tensorflow.org/lite/performance/post_training_quantization.
Change the parameter "isQuantized" to False, assuming the android application here is the one take from official tensorflow site mentioned here. https://github.com/tensorflow/models/tree/master/research/object_detection

Thanks Nidhi

Hi @NidhiSultan , amazing explanation. I really appreciate the effort. Thanks!


Support MSZ-AP71VGD on MAC-568IF-E

I have a MSZ-AP71VGD air conditioning unit and am based in Australia.
I’ve added this unit in Home Assistant, but all I can get is the current internal and external temperature
I’d like to add support to set the air conditioning mode and target temperature and power on and off the unit.
I’m happy to put in some work to achieve this, but I’m not sure where to start.
if you can provide to instructions on how to add this support, I’m happy to do it and then send you a pull request 🔥

Hi,
I'm not sure what happened but now everything is working perfectly. My only theory is that it took some time for echonetlite_homeassistant to work out the specs of the air conditioning unit and present them to home assistant.
I can now control the aircon perfectly.


Video Support

The goal is to allow videos to be embedded just like images
In GitHub Markdown that works by having the link to a video surrounded by 2 empty lines. According to some blogs, in regular Markdown that's supposed to work exactly like with images, so like ![video title](video link). Now, perhaps Parsedown already has this, but if so then it doesn't work with .webm video files.
And just to clarify, when I talk about embedding I don't mean from sites like YouTube, but actual Video files

To do this you can extend the class and create a blockMedia like below.
<?php
class Markdown extends \Parsedown{
  public function __construct(){
    $this->BlockTypes["{"] = array('Media');
    $this->InlineTypes["{"] = array('Media');
  }

    protected function blockMedia($Line, $Block = null) {
        if (preg_match('/^(\s*)\{(.+?)\}\((.+?)\)\((\S+?)\)$/', $Line['body'], $matches)){

            $description = $matches[2];
            $type = $matches[3];
            $link = $matches[4];

            $html = '';
            if (strtolower($type) === 'video') {
                $html .= '<video controls>';
            } else {
                $html .= '<audio controls>';
            }
            $html .= '<source src="' . htmlspecialchars($link) . '">';
            if (strtolower($type) === 'video') {
                $html .= '</video>';
            } else {
                $html .= '</audio>';
            }
            $html .= '<p>' . htmlspecialchars($description) . ' (' . htmlspecialchars($type) . ')</p>';

            $Block = array(
                'markup' => $html,
            );

            return $Block;
        }
    }

}

Now to format video use this
{Video Description}(video)(https://example.com/video.mp4)
{Audio Description}(audio)(https://example.com/audio.mp3)


How to get a better trade-off between GPU-efficiency and memory footprint?

Thanks for releasing such wonderful work!
During my implementation,  two isssues are raised:

Due to the swap memory mechanism, it is difficult to determine the number of trainable parameters directly based on the GPU-memory. Based on my experimental observation, as the number of trainable parameters increases, GPU-utilization will first rise and then decline.
When the number of trainable parameters exceeds a certain threshold, the OOM will not display an interrupt prompt, but directly crash the computer!!! Can this be fixed in the future?

Due to the swap memory mechanism, it is difficult to determine the number of trainable parameters directly based on the GPU-memory. Based on my experimental observation, as the number of trainable parameters increases, GPU-utilization will first rise and then decline.

Yea you can set the memory limit with relaxed = False if you want it to crash rather than swap:
mx.metal.set_memory_limit(10*2**30, relaxed=False) will give you a hard threshold of 10GB. If your working set grows bigger than that, the program will crash but you're machine shouldn't crashed.

When the number of trainable parameters exceeds a certain threshold, the OOM will not display an interrupt prompt, but directly crash the computer!!! Can this be fixed in the future?

Using too much memory can cause the machine to slow a lot, but usually doesn't cause it to crash in my experience.....but allowing swap is usually desirable so probably going to keep that as the default.

Thank you, it helps me a lot.


Merge alpha into beta

:tada: This PR is included in version 5.0.0-beta.35 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error opening a topic.

Which MentionBB version?
1.0.21 Beta
Description
When opening a new topic in the forum, the process does not complete, it gives a json output error:  Json response indicated that an error was returned.
Possible Solution
No response
Additional
No response

When I tried it right now, I successfully opened 2 topics. I even tested it with a new membership for trial purposes and it was successful again.
If you can send the details you wrote in the content, the title, etc., here. You can send it as txt from here. This way I can see what is causing the error in the system.

Warning: DOMDocumentFragment::appendXML(): Entity: line 19: parser error : attributes construct error (500 Internal Server Error)
in /var/www/vhosts/mentionbb.com/httpdocs/src/App/Hook/Html.php (line 96)
`
            $node->appendChild($fragment);
        }
    }
    public function prepend($class, object $replace)
    {
        $nodes = $this->getXPath($class);
        foreach ($nodes as $node)
        {
            $fragment = $this->dom->createDocumentFragment();
            $fragment->appendXML(FilterTag::filterSingleTags($replace()));
            $node->insertBefore($fragment, $node->firstChild);
        }
    }
    public function remove($class)
    {
        $nodes = $this->getXPath($class);
        foreach ($nodes as $node)
        {
            $node->parentNode->removeChild($node);

`

Warning: DOMDocumentFragment::appendXML(): Entity: line 19: parser error : attributes construct error (500 Internal Server Error) in /var/www/vhosts/mentionbb.com/httpdocs/src/App/Hook/Html.php (line 96)
`
            $node->appendChild($fragment);
        }
    }
    public function prepend($class, object $replace)
    {
        $nodes = $this->getXPath($class);
        foreach ($nodes as $node)
        {
            $fragment = $this->dom->createDocumentFragment();
            $fragment->appendXML(FilterTag::filterSingleTags($replace()));
            $node->insertBefore($fragment, $node->firstChild);
        }
    }
    public function remove($class)
    {
        $nodes = $this->getXPath($class);
        foreach ($nodes as $node)
        {
            $node->parentNode->removeChild($node);

`

No, no. I don't think this is the cause of the error. Probably some "content" in the topic content is not rendering properly.
Because we can open a topic normally and we can use the prepend() method in plugins.
So, send the content you used when opening a topic here as txt. That way I can see what's causing it.

https://github.com/mentionbb/mentionbb;
I just wanted to share the document in the install section in readme.md. also in the topic update in the same way

https://github.com/mentionbb/mentionbb;
I just wanted to share the document in the install section in readme.md. also in the topic update in the same way

Did you write the entire readme.md content?

no, the content between install and framework. But it doesn't matter, it's not very nice to have this kind of problem when users are copying and sharing stuff from anywhere :).
I also think it would be better if the editor section was bigger and it would make more sense to be embedded in the page, not with pop ups, because it's a bit more social media style as it is.
This is just my personal opinion so we can discuss this individually :))

no, the content between install and framework. But it doesn't matter, it's not very nice to have this kind of problem when users are copying and sharing stuff from anywhere :).
I also think it would be better if the editor section was bigger and it would make more sense to be embedded in the page, not with pop ups, because it's a bit more social media style as it is. This is just my personal opinion so we can discuss this individually :))

Of course, such a problem should not occur, but this cannot be foreseen and predicted, it is found with testing and debugging. In other words, the error is seen and solved. In fact, I just copied the entire readme.md content and successfully opened the topic.
It probably gives an error because it is caught in the filter due to one character, but as I said, I need to know which one to fix it.

All rendering problems, including the one in the report, were fixed with the following commits:

Fix single tags
Fix link renderer cache and image null
Fix multi-line pre tag

https://mentionbb.com/d/186-how-to-mentionbb-install/337


feat(license): add license linting

Current dependencies on/for this PR:

main

PR #65

PR #66

PR #67   👈

This comment was auto-generated by Graphite.

@pevisscher queued this pull request to merge with Graphite.

@pevisscher merged this pull request with Graphite.


Upload plugin change

Hey, I fixed an issue with the size validation and added a new feature to remove a file but keep the record in the db. I used this as a "clear picture" option in a website I worked on. The two were separate commits but I accidentally squished the two when I was merging the changes I had made to the origin during the last pull request so it's all one now. The size validation one was tiny anyways.

Dick

That's right, just accept the inevitable.

http://www.youtube.com/watch?v=zNUA-Si89QY


Add support for site onepiece-tube.com

Before this gets closed :
In Europe it is allowed as these episodes are not licensed in europe and are not shown in Europe at all.
They only show not licensed in europe ones with subs. It's all good . Don't worry
The licensed ones , aka episodes before, are missing there, check the list of episodes they are "offline"
If you still insist that I am wrong , at least tell me how to compile youtube-dl as a single file .exe , after adding a new site yourself. I have no idea how to add one though.

[x ] I've verified and I assure that I'm running youtube-dl 2017.12.23

[ x] At least skimmed through the README, most notably the FAQ and BUGS sections

[x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)

[x ] Site support request (request for adding support for a new site)

[ ] Feature request (request for a new functionality)

[ ] Question

[ ] Other

Single video: http://onepiece-tube.com/folge/818-z3u2V18ir

You have to view the source of the frame view where the player is , there it seems to show a mp4 link. Could someone add this to the exe of youtube-dl ? I need to extract it for Vlc

https://github.com/rg3/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free

How can you add a site?
And more important how do you , compile the exe ?

In Europe it is allowed as these episodes are not licensed in europe and are not shown in Europe at all.
They only show not licensed in europe ones with subs. It's all good . Don't worry
The licensed ones , aka episodes before, are missing there, check the list of episodes they are "offline"

some of the licenced episodes are still present in the website:
https://www.prosiebenmaxx.de/anime/one-piece/video/8114-folge-515-ich-werde-viel-viel-staerker-zorros-schwur-an-den-kaept-n-ganze-folge
http://onepiece-tube.com/folge/515-z3u2V18ir
some of the episodes marked as offline are actually the opposite(entering the page will allow to watch the video):
http://onepiece-tube.com/folge/310-z3u2V18ir
i don't think that it's okey to host the videos without a licence.

I am not sure why anyone would prefer subbed episodes over dubbed ones. The episodes on the site are japanese with subs which were freely translated. It is not the german dubbed version which airs .


Some examples does not work in PAKCS 3.5.2

Two of the examples does not work using PAKCS version 3.5.2:

examples/Bayesian.curry
examples/RandomStrings.curry

At first, PAKCS complains about import Float, and after commenting that line it complains about undefined functions. Here's the output from the Baysian.curry program:
Prelude> :load Bayesian.curry
Compiling Curry program "Bayesian"...

Bayesian.curry:7:34-7:35 Error:
    `-.' is undefined
   |
 7 | flip p = enum [True,False] [p, 1 -. p]
   |                                  ^^

Bayesian.curry:45:43-45:44 Error:
    `/.' is undefined
    |
 45 | rainWhenGrassWet = grassCondProb [g_, r_] /. grassCondProb [g_]
    |                                           ^^

Bayesian.curry:48:48-48:49 Error:
    `/.' is undefined
    |
 48 | sprinklerWhenGrassWet = grassCondProb [g_, s_] /. grassCondProb [g_]
    |                                                ^^
ERROR occurred during parsing!

Perhaps I've missed something here...
Here's my setting:

Linux Ubuntu 20.05
PAKCS version "Version 3.5.2-b5 of 2023-05-31 (sicstus 4.8)"
PFLP is installed with CPM version 3.1.0 (31/05/2023)

Hello and thanks for pointing out this issue. These errors were caused by changes in the libraries as part of the addition of type classes to Curry. For example, arithmetic operators are now overloaded, which is why the Float library usually is no longer needed. I just updated the examples so they should work again. In the process, I also fixed another problem in SecretSanta.curry.


Toolbar not showing (not missing icons, literally an empty div)

I create my editor like so:
var simplemde = new SimpleMDE({
    element: document.getElementById("content-editor"),
});

Which gives me an empty toolbar:

Checking the element its empty:

I'm a bit lost on what to do, no option like toolbar: true does anything at this point.

This project seems to be inactive anymore. Try to use https://github.com/Ionaru/easy-markdown-editor


Custom loss functions in keras

Hi,
I was looking at this paper, but i get confused on how they computed their loss function. they mentioned, "we compute distances between image features extracted by deep neural networks." what i dont understand here is that how exactly did they managed to do this in implementation. more specifically, consider that the deep neural network they used for feature extraction is a black box function called F. in the loss function, they have to calculate this function for both the image and its reconstruction. however, how do they manage to calculate the gradient for the back propagation phase if the F is assumed to be a black box function?
I would really appreciate if someone could help me understand this.

Hi!
This issue isn't related to a bug/enhancement/feature request or other accepted types of issue.
To ask questions, please see the following resources :

https://keras.io/
https://keras.io/#support
https://gitter.im/Keras-io/Lobby

Thanks!
If you think I made a mistake, please open another issue.


Exponential backoff timer

Is your feature request related to a problem? Please describe.
HASS spams the API endpoint with multiple worker threads, despite continuous 429 responses.
Describe the solution you'd like
How about an exponential back-off timer?
Describe alternatives you've considered
Death. 💀
Additional context
HASS approach is to turn a bit of a blind eye here, e.g. https://github.com/home-assistant/core/issues/53776 and who can blame them when they suspect that it's a Spotify issue.
To alleviate the risk of hidden bugs here or there or anywhere, try an exponential backoff.
I was not able to remove and re-add the Spotify add-on in HASS, until

completely having removed the extension
having waited for about 15-20 minutes
trying again anew

The 429s may be rooted in another problem on their side if they do not provide an adequate Retry-After: header. But I don't want to get banned from the API endpoint, nor would HASS want to, so a logarithmic back-off would be reassuring.
If multiple workers run spotipy to retry, it might be a futile effort (since there may be overlap of retry via HASS worker threads), but if the existing thread backs off, it should help.

ERROR (SyncWorker_6) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_7) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_1) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_1) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_8) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_6) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_2) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_4) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_2) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_8) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_8) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds
WARNING (MainThread) [homeassistant.components.media_player] Updating spotify media_player took longer than the scheduled update interval 0:00:30
ERROR (SyncWorker_2) [spotipy.client] Max Retries reached
WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.spotify_blah_blah is taking over 10 seconds

Oops - I see it's already there......

Is it possible that the Retry-After header contains an http-date and not just delay-seconds ?
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
In which case it is the responsibility of urllib3?

Nope - they support it. Hmmmm.


Upd: Readme

Yesterday i have spent 2 hours of debugging, because no index was created. The problem was the missing xml extension. The parser requires the utf8_decode() function which is provided by the xml extension.

Thank you. In fact as it is installed by default I didn't even known it was required. Sorry

You are welcome. Till yesterday I didn't know it too, that utf8_decode is not a native php function.


[release-0.21] trigger 0.21.1 prod cli release

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve

/unhold


Restore-DbaDatabase doesn't generate a command to DIFF backup restore with Full

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[x] bug:

System Details

Operating system name and version: Windows Server 2012 R2
Output from $PSVersionTable:

Name                           Value
----                           -----
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           <IP_ADDRESS>
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.17400
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

Output of dbatools version:

Major  Minor  Build  Revision
-----  -----  -----  --------
0      8      955    -1

SQL Server version for source/target

Steps to Reproduce
Example:

Make Full Backup of a Database
Make Diff Backup of a Database
Run Command:

Get-ChildItem Z:\Backups\-Recurse -File | Restore-DbaDatabase -SqlServer $TargetServer -WithReplace --DatabaseName $TargetDatabase -OutputScriptOnly

Action Results
Got Restore Command for Full backup restore only.
Expected Results
Restore Commands for both Full & Diff backups.

Please provide the output from this:
GCI C:\dbatools\RestoreTimeDiff\RestoreTimeDiff.bak | Read-DbaBackupHeader -sqlserver localhost\sqlexpress2016 | select @{Name='servername';e={"testserver"}}, @{n='databasename';e={"testdb"}}, FirstLsn,LastLsn, CheckPointLSN, DatabaseBackupLsn, DifferentialBaseLsn, BackupStartDate, BackupFinishDate, BackupTypeDescription, BackupSetGUID | ConvertTo-Json
replacing backup source path and SqlServername as requested.  Just tried to recreate this using this:
https://gist.github.com/Stuart-Moore/1e02cc73af28a093870d525a346fc8e0
and it works:

that's using current dev branch
I've also run the provided json through the current Get-FilteredRestoreFile.ps1 and get the expected full and diffs back. If you want to step through on your end, then import the JSON stuff like this:
$AllSQLBackupdetails = ConvertFrom-Json -InputObject (Get-Content C:\dbatools\z.json -raw)
and then should be able to step through the function calls to check the filtering.
Not that it should make a difference, but are they in an Ola style folder structure?
.

I am using Version 8.955.
The backups in Ola Style Folder structure.
I will try step through tomorrow. And let you know.

@Stuart-Moore, I tested using your script. It works. But it doesn't work for actual db backups.
Looks like I will need to debug it step-by-step. to figure out whats

@asharovarov : news on this ?

No, I was too busy with other work. I suspect it is related either to the number of File Groups (8) / Files (4 per Fiel Group) or/and in-memory partition I have on the database in question. When I tested on other databases it worked fine.

Perfect. If you can, please attach here all the details. If you can't in the next two weeks, I'm going to close this (and you can reopen when you'll have time)

closing as old and no more info came in.


[4.0.8-b2bf179] Spamming in console on 1.8.8/9

Spigot Version: git-Spigot-e4d4710-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
Mythic Drops Version: 4.0.8-b2bf179
There are two main issues that are occuring, this error constantly spams:
https://pste.me/#/9Sgl3
And when people break blocks (Creeative or Survival):
https://pste.me/#/IvJui
Using an old version worked fine, the version I used is: 4.0.2-58e181c
Just a heads up!

I think that version you ar eusing are only for 1.9
Try this link and download the version 4.0.5
https://github.com/Nunnery/MythicDrops/releases

The version I uploaded on Spigot is only for 1.9. It was mentioned in the patch notes.

Thanks for this.


Support for Audio (.mp3, .ogg) File Types

From the readme file: "This directive will not allow any files other than images to be uploaded. The policy is directed by the meteor app server and enforced by AWS S3."
I am primarily concerned with uploading Audio files at the moment, is this even a possibility with this package or should I look into other options?

The readme refers to the directive given in the example, which is set to be restricted to images only. You can change that to be for audio only. Or be more permissive and allow any content type. It is up to you.
Allow you need to do is set allowedFileTypes to mime type that you want in the directive.
Even latency compensation should work, however you would have to make sure that playback is not interrupted once the file finished uploading.

Oh what wonderful news! Looks like this will be a great solution for my audio upload/playback functionality requirements, as it seems much more efficient than saving the files to the local server.
One more question - do you have any advice how I would go about creating a "location/directory" for each registered user to upload their files to? This question may be beyond the scope of this package, and if so I apologize. Thanks for the great package though!

both google cloud and aws s3 will create the directories automatically for you. Just set the key properly with directory prefix.

Excellent, thanks again for your help!


Add Gateway name to api

Summary
The Name of the Gateway needs to be added to the packet broker API.
Why do we need this?
To be able to completely represent information on the gateway map on ttn.org.
What is already there? What do you see now?

What is missing? What do you want to see?
The name of the Gateway.
How do you propose to implement this?
Ask Johan.
Can you do this yourself and submit a Pull Request?
No.

I want to see the name and description added too. They are available at https://www.thethingsnetwork.org/gateway-data/.

We'd really like to see Gateway Name in here too, as well as Band Plan.


New version: NeRCA v0.6.2

Registering package: NeRCA
Repository: https://github.com/tamasgal/NeRCA.jl
Created by: @tamasgal
Version: v0.6.2
Commit: 6622be5d59c1626050d05fa91e0adf898a306bb7
Reviewed by: @tamasgal
Reference: https://github.com/tamasgal/NeRCA.jl/commit/6622be5d59c1626050d05fa91e0adf898a306bb7#commitcomment-46460344

@tamasgal :point_up:
[noblock]

@tamasgal :point_up:
[noblock]

Oops, thanks for pinging! I made a mistake with the deps... I will fix that.

Oops, thanks for pinging! I made a mistake with the deps... I will fix that.

@tamasgal, please, remember to use [noblock] if you don't want to stop automerge, otherwise you'll prevent your own pull requests from being automatically merged

@tamasgal, please, remember to use [noblock] if you don't want to stop automerge, otherwise you'll prevent your own pull requests from being automatically merged

Oh ok, many thanks and sorry for my ignorance 😅

Oh ok, many thanks and sorry for my ignorance 😅

This tip is written in all posts by the bot, like for example this one :wink:  (messages that however I believe many people don't read at all, let alone the last tip in the last line...)

This tip is written in all posts by the bot, like for example this one :wink:  (messages that however I believe many people don't read at all, let alone the last tip in the last line...)

Yes indeed. I am guilty 🙈

Yes indeed. I am guilty 🙈