docs: publish to googleapisdotdev, use kokoro templates

TODO

[x] open separate PR to run black

I attempted to be conservative with the docstring changes. Within a single file the style should be consistent.

This is very stale now, closing.


Add support for printing to standard output

Another feature heard in social media is adding the ability to print the resources to standard output, rather than saving them to files.
While this idea is not in the core of kubectl-slice, it still maintains the idea that you can slice off certain YAML files. For example, one use case scenario could be printing only Deployments from an original YAML file, effectively slicing the rest. Something along these lines:
kubectl-slice -f input.yaml --include-kind Deployment --stdout

Assuming, of course, --stdout is the flag used to print to standard output.
This could allow neat things such as piping it to kubectl apply:
kubectl-slice -f input.yaml --include-kind Deployment --stdout | kubectl apply -f -

Or other actions that behave by piping the output to other programs.
The following questions remain:
One. How do we deal with the fact a filename template could've been passed? The following solutions come to my mind:

We fail running the program if someone provides a template and --stdout is set at the same time; or
We still print it, but, like Helm, we add an extra line at the beginning of the file with the name of the generated template name

Two. We would have to modify the binary behaviour from their original one where the logs for splitting files are printed to stdout and now print them to stderr, to make the binary pipe-friendly.
Opening the discussion to any potential user of this feature.

I went here and thought I was a nice feature (unsurprising as the community said that aswell.
The reasoning I see for this is to not save files on disk and still enjoy some features the tool gives:

remove bad yaml segments
filtering based on item type

Thus and adding of extra lines might be useful for the splitting, but not for the end user
I hope this input helps :)
I see myself using it to reduce files saved on my machine to test a yaml I obtained :)


popular post ranking

Connect to https://github.com/bm-sms/daimon-news-misc/issues/181

Looks good to me :+1:
BTW, please run rubocop on your machine for files changed by this PR.
I'm sorry about forgetting to run rubocop on CI :innocent:
but this PR has some inconsistent styles.


LibWeb: Use fast path for input boxes

Typing into input boxes is slow, as the entire page layout is invalidated and redone.  This PR makes a "fast-path" so only the necessary portions of the page are invalidated.
First, when the webpage is laid out fresh (initial load or relayout), the details necessary to create each input box are saved in the BlockContainer object in the layout tree.
Second, when the user types into an input box, the Document object for that webpage tracks whether that is the only change that has occurred since the last relayout.
Third, when the document updates its layout, if only an input box has been typed into, the document calls .run() on a FormattingContext object created just for the BlockContainer associated with the input box (instead of calling .run() on the root FormattingContext).

Opening this up for review now.  There are some things to fix, but the meaty part could receive some valuable feedback.  I'm going to be gone for a while, at least a week.

As I see it, the input's invalidation approach works in the following way:

Save a pointer to the input element that needs to be re-layout and enable a flag indicating that a partial re-layout can be done.
In Document::update_layout(), check if a partial relayout is possible. If so, find and run the layout of the closest input's parent that establishes a formatting context.

Unfortunately, it breaks when the input's width depends on the text content size, which might also affect the input container's width and so forth up to the layout tree root. I tested the following HTML, and it does not invalidate the layout correctly with your changes:
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <title>Auto-resizing Input</title>


authSample.html throws SecurityError

1949109082-idpiframe.js:6 Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

OS X 10.11.6
Chrome 53.0.2785.143 (64-bit)

Allow local data to be set
Block third-party cookies and site data

Serving on http://localhost:5000/authSample.html
apiKey and clientId set OK

Seems related to googlesamples/google-services#190

Seeing the same problem using both authentication with the idToken as well as authorization with the authorization code:
gapi.auth2.getAuthInstance()
    .grantOfflineAccess({ redirect_uri: "postmessage" })
    .then(({ code }) => code)

gapi.auth2.getAuthInstance()
    .signIn({ prompt: "select_account" })
    .then((googleUser) => {
        const idToken = googleUser.getAuthResponse().id_token;
        if (!idToken) {
	    throw new Error("Authentication failed.");
	}
	return idToken;
    });

The callback (then) is never fired. When implementing this with sign in listeners, the same problem happens.
The error I see in the console is:
1949109082-idpiframe.js:6 Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.(…)
```

santihbc@ Could you mention what browser version are you using when you see this problem?
I'm able to get idToken by
gapi.auth2.getAuthInstance().currentUser.get().getAuthResponse().id_token

gapi.auth2 requires third-party cookies to be allowed
On Sun, Nov 6, 2016, 11:22 bochunz<EMAIL_ADDRESS>wrote:

santihbc@ Could you mention what browser version are you using when you
see this problem?
I'm able to get idToken by
gapi.auth2.getAuthInstance().currentUser.get().getAuthResponse().id_token
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/google-api-javascript-client/issues/246#issuecomment-258703532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD3R7W-_jSrutFcPVANR1j2-S_gkKISks5q7ijbgaJpZM4KeLtr
.

Duplicate of #260. Closing this one.


Add resources

Hey everyone! 😃 I've added some resources. I saw a problem with the right implementation of the images. Maybe @clebsonf  can open an issue for that?
Happy to add more resources in the future 🚀

For security reasons (avoid future XSS), we will try to reduce the number of allowed links. Could you remove the domain from the next.config? In that case, you can download the image and put it in an issue (you can discard the issue after getting the link), I believe it's the safest way to go.


Does it support main iOS 14 and dual boot to iOS 15?

I have let my iPhone X which is running iOS 14.8 dual boot to iOS 14.3 successfully, now I have a question, can I dual boot to iOS 15.4.1 (or any iOS 15 but not above 15.4.1)? Because I want to try iOS 15.

I think is impossible, because the SEP and BB is iOS 14's, iOS 15 may not support it.

I have let my iPhone X which is running iOS 14.8 dual boot to iOS 14.3 successfully, now I have a question, can I dual boot to iOS 15.4.1 (or any iOS 15 but not above 15.4.1)? Because I want to try iOS 15.

lol it worked dual booting iOS 14 with iOS 14, well yes, you can dual boot to iOS 15 being on iOS 14 iirc, I saw some people being on iOS 14 and dual booting to iOS 15. you should use for example: ./dualboot.sh --dualboot 15.5 --bootx. then to boot ./dualboot.sh --boot 15.5 --bootx. to jailbreak use --jailbreak 15.5 --bootx. remember always use --bootx


Having nettacker in the PATH

Right now the issue is that the installation directory is totally arbitrary and the install instructions doesn't prescribe to create a symlink in a directory that is accessible in the PATH.
I'de propose to add the required steps in the installation docs such that Nettacker would be installed in /opt/Nettacker/ and a symlink /usr/local/bin/nettacker is created.
So the "Install Requirements" section would read as follows
git clone https://github.com/OWASP/Nettacker.git /opt/
cd /opt/Nettacker/
apt-get update
apt-get install -y < requirements-apt-get.txt
pip3 install --upgrade pip
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
ln -s /opt/Nettacker/nettacker.py /usr/local/bin/nettacker

With the note: This will install Nettacker under /opt/Nettacker/ and create a symlink in /usr/local/bin/. Feel free to adjust this to your needs.
#525 needs to merged for that to work.

if the user wants it they can cd and install it right? why do you think we need to mention change directory command explicitly?

It’s good to propose a standard place, Such that we can say: “the regular installation directory for nettacker is /opt/nettacker”. And a symlink in the path is generally created. Now, there is absolutely no rules about it. It’s really just about having a symlink in the PATH…

This could also be done by packaging nettacker with a setup.py.

@dhirensr do you think it would be possible to package nettacker such that we can have an entrypoint in the PATH ?
Thanks

Hey, There, Can I start Working on this issue, also can you pls assign me.

@dhirensr @tristanlatr

This issue will be resolved in the updating PYPI package release as part of the major refactoring by the maintainers


[WIP] Used socket io service methods remove from crowi dependence

https://redmine.weseek.co.jp/issues/136732

https://github.com/weseek/growi/pull/8323


Refer to the section where the deployment steps are described

Valuable but hidden information. I think the description of the steps should be referred to from the top if not entirely moved there.

/assign @rmgogogo

/ok-to-test
also
/assign @joeliedtke @Bobgy
PTAL thank you!

/lgtm

Thanks!
All the kfctl mentions are in fact outdated, but we can fix it in a separate PR

/lgtm
/approve


Training on custom dataset

How do I train on a custom dataset?

You can refer to the tutorial in cvpods.

The tutorial is updated here. You can also check here.


Pick up fix-version field.

My team could be interested in extending the fields this this package grabs from the Jira issue, primarily fix-version and probably others in the future.
Would a PR in that direction be of interest for the maintainers?

Hi @armova, that would definitely be of interest to us. Feel free to submit the pull request for review.


Yatin: Watch digitalmanam.com

Yatin requests the watch of the watch_keyword digitalmanam\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

digitalmanam\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


test_inner_product_backward_data fails with "unknown file: Failure" error

      Start 15: test_pooling_forward
15/28 Test #15: test_pooling_forward .......................   Passed   12.64 sec
      Start 16: test_pooling_backward
16/28 Test #16: test_pooling_backward ......................   Passed   14.82 sec
      Start 17: test_batch_normalization
17/28 Test #17: test_batch_normalization ...................   Passed   59.30 sec
      Start 18: test_inner_product_forward
18/28 Test #18: test_inner_product_forward .................   Passed    0.13 sec
      Start 19: test_inner_product_backward_data
19/28 Test #19: test_inner_product_backward_data ...........***Failed    0.01 sec
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from TestInnerProductBackwardData/inner_product_test_float
[ RUN      ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/0
unknown file: Failure
C++ exception with description "std::exception" thrown in SetUp().
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/0, where GetParam() = 36-byte object <01-00 00-00 05-00 00-00 0C-00 00-00 04-00 00-00 02-00 00-00 20-00 00-00 30-00 00-00 06-00 00-00 06-00 00-00> (1 ms)
[ RUN      ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/1
unknown file: Failure
C++ exception with description "std::exception" thrown in SetUp().
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/1, where GetParam() = 36-byte object <01-00 00-00 08-00 00-00 08-00 00-00 04-00 00-00 02-00 00-00 20-00 00-00 30-00 00-00 06-00 00-00 06-00 00-00> (1 ms)
[ RUN      ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/2
unknown file: Failure
C++ exception with description "std::exception" thrown in SetUp().
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/2, where GetParam() = 36-byte object <01-00 00-00 09-00 00-00 09-00 00-00 04-00 00-00 02-00 00-00 20-00 00-00 30-00 00-00 06-00 00-00 06-00 00-00> (0 ms)
[ RUN      ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/3
unknown file: Failure
C++ exception with description "std::exception" thrown in SetUp().
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/3, where GetParam() = 36-byte object <01-00 00-00 04-00 00-00 0A-00 00-00 04-00 00-00 02-00 00-00 20-00 00-00 80-04 00-00 01-00 00-00 01-00 00-00> (1 ms)
[ RUN      ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/4
unknown file: Failure
C++ exception with description "std::exception" thrown in SetUp().
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/4, where GetParam() = 36-byte object <01-00 00-00 04-00 00-00 0A-00 00-00 04-00 00-00 02-00 00-00 02-00 00-00 04-00 00-00 01-00 00-00 01-00 00-00> (0 ms)
[----------] 5 tests from TestInnerProductBackwardData/inner_product_test_float (3 ms total)

[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (3 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 5 tests, listed below:
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/0, where GetParam() = 36-byte object <01-00 00-00 05-00 00-00 0C-00 00-00 04-00 00-00 02-00 00-00 20-00 00-00 30-00 00-00 06-00 00-00 06-00 00-00>
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/1, where GetParam() = 36-byte object <01-00 00-00 08-00 00-00 08-00 00-00 04-00 00-00 02-00 00-00 20-00 00-00 30-00 00-00 06-00 00-00 06-00 00-00>
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/2, where GetParam() = 36-byte object <01-00 00-00 09-00 00-00 09-00 00-00 04-00 00-00 02-00 00-00 20-00 00-00 30-00 00-00 06-00 00-00 06-00 00-00>
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/3, where GetParam() = 36-byte object <01-00 00-00 04-00 00-00 0A-00 00-00 04-00 00-00 02-00 00-00 20-00 00-00 80-04 00-00 01-00 00-00 01-00 00-00>
[  FAILED  ] TestInnerProductBackwardData/inner_product_test_float.TestsInnerProduct/4, where GetParam() = 36-byte object <01-00 00-00 04-00 00-00 0A-00 00-00 04-00 00-00 02-00 00-00 02-00 00-00 04-00 00-00 01-00 00-00 01-00 00-00>

 5 FAILED TESTS

      Start 20: test_inner_product_backward_weights
20/28 Test #20: test_inner_product_backward_weights ........   Passed    0.69 sec
      Start 21: test_convolution_format_any
21/28 Test #21: test_convolution_format_any ................   Passed    0.00 sec
      Start 22: test_convolution_forward_f32
22/28 Test #22: test_convolution_forward_f32 ...............   Passed  330.63 sec
      Start 23: test_convolution_forward_s16s16s32
23/28 Test #23: test_convolution_forward_s16s16s32 .........   Passed  398.90 sec
      Start 24: test_convolution_relu_forward_f32
24/28 Test #24: test_convolution_relu_forward_f32 ..........   Passed   74.53 sec
      Start 25: test_convolution_relu_forward_s16s16s32
25/28 Test #25: test_convolution_relu_forward_s16s16s32 ....   Passed   40.44 sec
      Start 26: test_convolution_backward_data_f32
26/28 Test #26: test_convolution_backward_data_f32 .........   Passed   32.14 sec
      Start 27: test_convolution_backward_data_s16s16s32
27/28 Test #27: test_convolution_backward_data_s16s16s32 ...   Passed   35.99 sec
      Start 28: test_convolution_backward_weights
28/28 Test #28: test_convolution_backward_weights ..........   Passed   41.43 sec

96% tests passed, 1 tests failed out of 28

Total Test time (real) = 1271.38 sec

The following tests FAILED:
	 19 - test_inner_product_backward_data (Failed)

Latest GIT master on Debian Stretch,
I'm available to provide more test or information, feel free to ask.
Best regards, Adam.

Hi Adam, can you please share

lscpu output
compiler version
cmake command line
MKLROOT value if used

Sure, are you still around ? I did this during the day on my laptop, so I'll first try to reproduce on my home computer if you don't mind.

Okay, I'm doing more test and I guess I can tell you more:
It seems to occurs only when buuilding without the non-free MKL library

Please find attached the complete build log (yes I'm working on a Debian package building both free and non-free flavors, let me know if interrested for further discussion):
mkl-dnn_0.10+20170913.b01e3a5-1_amd64.build.txt
lspcu:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 42
Model name:            Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
Stepping:              7
CPU MHz:               3170.385
CPU max MHz:           3400.0000
CPU min MHz:           1600.0000
BogoMIPS:              6219.89
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              6144K
NUMA node0 CPU(s):     0-3
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts

GCC:
gcc (Debian 7.2.0-4) 7.2.0

Failing on my laptop too, with older i5 dual core and Debian Stretch (GCC 6 if I remember correctly)

I reproduced this issue on Intel AVX based system when Intel MKL-DNN is built without binary dependency. This indicates an issue in reference implementation of InnerProduct. Everything works correctly on Intel AVX2 or Intel AVX512 systems where we have optimized GEMM implementation or when Intel MKL-DNN is built with binary dependency.
Clarification on Intel MKL status: It's free (as in "free beer"), but not open source.

Indeed, I can confirm it's related to older CPU. I just received my new Intel 6900K and tests runs flawlessly.
I can also confirm these two computers are AVX1 only.
Clarifition on Debian behalf, it's either free software, or non-free ;-)

We'll squash it. Glad it's not blocking anything now.
Fair enough) For Intel AVX2 and beyond the library will run fast without binary dependency, so no need for 'non-free' component there.

Good to hear, I was planning to make some tensorflow benchmarks anyway.
GTX1080 is still wayyy faster than any CPU but the MKL built variant is on its way and I should be able to get some numbers next week.
Btw, if's you're interested in Debian/Ubuntu packaging, mkl-dnn is available here:
http://packages.le-vert.net/tensorflow/debian/pool-stretch/mkl-dnn/
Also built for Jessie and Ubuntu Xenial, but what's really matters is that the source package is available too, so it can be built for any distribution.
Regards,  Adam.

That's pretty cool. There's one caveat related to threading that affects Intel MKL-DNN binary distribution and need to be taken into account in the packages. The library relies on OpenMP and when it's build with Intel MKL binary dependency (the "non-free" version) it will link with libiomp5. This might be the problem for applications that are built with GCC and use OpenMP runtime, as explained in linking instructions. To make the binary distribution complete a version of non-free package with libgomp is probably necessary.


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
##Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, GIT, and JavaScript with associated notes listed

Notes for HTML were added on 2/10/23


Error with database

Using GreatLifeSteal 2.0, on Paper 1.20.1 build 117, this is happening with a brand new greatlifesteal.db file with SSL enabled. Also happens without SSL though:
[22:36:23 ERROR]: [io.github.zrdzn.minecraft.greatlifesteal.elimination.EliminationJoinPreventListener] An error occurred while finding an elimination by player's unique id. io.github.zrdzn.minecraft.greatlifesteal.elimination.EliminationException: An error occurred while finding an elimination by player uuid.         at io.github.zrdzn.minecraft.greatlifesteal.elimination.infra.SqlEliminationRepository.findEliminationByPlayerUuid(SqlEliminationRepository.java:77) ~[GreatLifeSteal.v2.0-SNAPSHOT.jar:?]         at io.github.zrdzn.minecraft.greatlifesteal.elimination.infra.SqliteEliminationRepository.findEliminationByPlayerUuid(SqliteEliminationRepository.java:5) ~[GreatLifeSteal.v2.0-SNAPSHOT.jar:?]         at io.github.zrdzn.minecraft.greatlifesteal.elimination.EliminationFacade.findEliminationByPlayerUuid(EliminationFacade.java:40) ~[GreatLifeSteal.v2.0-SNAPSHOT.jar:?]         at io.github.zrdzn.minecraft.greatlifesteal.elimination.EliminationJoinPreventListener.lambda$checkIfPlayerIsRevived$1(EliminationJoinPreventListener.java:43) ~[GreatLifeSteal.v2.0-SNAPSHOT.jar:?]         at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.1.jar:git-Paper-117]         at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.1.jar:git-Paper-117]         at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.1.jar:?]         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]         at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: action)         at org.sqlite.core.DB.newSQLException(DB.java:1179) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.core.DB.newSQLException(DB.java:1190) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.core.DB.throwex(DB.java:1150) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.core.NativeDB.prepare_utf8(Native Method) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.core.NativeDB.prepare(NativeDB.java:126) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.core.DB.prepare(DB.java:264) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:46) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.jdbc3.JDBC3PreparedStatement.<init>(JDBC3PreparedStatement.java:32) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.jdbc4.JDBC4PreparedStatement.<init>(JDBC4PreparedStatement.java:25) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.jdbc4.JDBC4Connection.prepareStatement(JDBC4Connection.java:34) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:226) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at org.sqlite.jdbc3.JDBC3Connection.prepareStatement(JDBC3Connection.java:206) ~[sqlite-jdbc-<IP_ADDRESS>.jar:?]         at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:337) ~[GreatLifeSteal.v2.0-SNAPSHOT.jar:?]         at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java) ~[GreatLifeSteal.v2.0-SNAPSHOT.jar:?]         at io.github.zrdzn.minecraft.greatlifesteal.elimination.infra.SqlEliminationRepository.findEliminationByPlayerUuid(SqlEliminationRepository.java:58) ~[GreatLifeSteal.v2.0-SNAPSHOT.jar:?]         ... 9 more
That happens every time I join the server, and everytime something has to access the database, like eliminations and revives.

That's strange, try newest pre-release from releases tab, I replaced the .jar with new one, that should do the work. Remember to delete old .db file.

The message dissapeared when I join the server, but now I have a question. Looking at the command help to see what commands the plugin should have, /lifesteal eliminate and revive are missing, so I can't continue testing if that error doesn't happen anymore.

Old config from 1.7.1 is outdated, so are the messages. There isn't /lifesteal eliminate/revive anymore, it's just /eliminate and /revive.


Topnav improvements

Presence styling for the topnav is not working well
Make elements with dropdown menus unclickable
re-align dropdowns below their top element so all texts are left-aligned with top element

This is done


Questions about the hooking process

Hello. This is not a bug report or a feature request issue. I opened this issue to get some insights on the hooking process used for MGS1 MC.
Out of curiosity I wanted to inject and detour some stuff. After attaching a debugger, I wasted quite a lot of time trying to figure out why no breakpoints were working and trying to find anything useful. Only then I realized that the game was being run in a Squirrel VM.
I have experience with normal binaries, but not with Squirrel VM. I tried looking up examples online, but I couldn't find anything.
My question is: how and what are you doing? How did you figure out the setSmoothing and setScanline arguments? As in, where did you find them? From the unpacked alldata.bin? But if that's the case, how did you open the files ( .nut.m, .psb.m )?
I'm sorry for opening this kind of unrelated issue, but you're the only one ( that I've found publicly ) that has done this. Thank you for your time and answer in advance.

It's my first time looking at Squirrel too - the first clue was a string indicating the Squirrel version and after staring at the source, it seemed tractable to build it into a DLL and interact with the game's VM by detouring the constructor to locate the instance. Everything else has basically followed from there.
alldata.bin can be unpacked and deserialised with MArchiveBatchTool (including .nut.m to .nut), and some initial mods existed that unpacked and repacked it to disable the smoothing. I'm not a fan of invasively modifying huge blobs like that though (I worry about future game updates), so tried to reproduce the effect with a DLL.
The scripts in alldata.bin are useful to a point but they mostly drive the frontend - I'm now starting to look at the underlying native objects that are bound to Squirrel to see what else can be achieved (which is the usual disassembler/debugger work).
I'm hanging out in the MGN Discord server (MGS1 emulator modding forum thread) if that's your thing, otherwise happy to answer questions here (and accept contributions!)

I see. Yeah, I did see those projects that made you unpack / repack the files. To be honest I thought it was the only way after debugging the main executable ( without extensive work, that is, especially with my current knowledge ), since there was nothing that you could mess with. Well, until I saw this. Thankfully they went with squirrel and not something in-house, which would have required lots of tedious RE.
Anyway, thank you a lot for taking your time to answer my questions! I really appreciate it. I'll be joining the server, thanks for the link.


v1.10 backports 2022-05-06

#18620 -- hubble/relay: Make Peer Service a K8s Service (@nathanjsweet)
#19710 -- test/upgrade: use the unreleased helm chart of stable branches (@aanm)
#19711 -- images/cilium: remove cilium group from Dockerfile (@aanm)
#19576 -- operator: Add cilium node garbage collector (@sayboras)

Once this PR is merged, you can update the PR labels via:
$ for pr in 18620 19710 19711 19576; do contrib/backporting/set-labels.py $pr done 1.10; done

or with
$ make add-label BRANCH=v1.10 ISSUES=18620,19710,19711,19576

/test-backport-1.10

/test-backport-1.10

/test-only --focus="K8sUpdates.*Tests upgrade and downgrade from a Cilium stable image to master" --k8s_version=1.16 --kernel_version=net-next

/test-only --focus="K8sUpdates.*Tests upgrade and downgrade from a Cilium stable image to master" --k8s_version=1.16 --kernel_version=net-next

/test-backport-1.10

To not break CI, we need to kind of backport the following PRs:
https://github.com/cilium/cilium/pull/19679
https://github.com/cilium/cilium/pull/19665
And wherever this line/commit came from

@nathanjsweet for both v1.11 and v1.10 correct?


feat(Table, Datagrid): Added new tableTitle prop

Issue: # 1395
What I did

New tableTitle prop for both Table and Datagrid to enable the use of captions and further improve accessibility across both components.

Screenshots:
Checklist

[X] changeset has been added
[X] Pull request description is descriptive
[x] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works

How to test

This was definitely not the intended result on this one, and that's probably my fault for not providing a design. I'll take a closer look when I get a bit of time freed up.


UI integration with Backend

Integrate all the Backend Services with the Frontend.

Fixed with commit db2a65287bb22fbc70de85ed4c72c9e8a4c29cec

Fixed with commit d9cb563255def438040e2e9de3cbfd89d6caeffa

All ok


Create custom routing with areas

Is this a Bug or Feature request?:
Question ( Feature request )
Description of the problem:
Is there a way to define custom routing with areas in MVC? I saw examples which using IControllerModelConvention and rewrite controller convensiton but currently there is no example in the documentation for Areas.
I have a following url
/example-area/example-controller/action-name
I would like to map it for the following convention
Area : ExampleArea
Controller : ExampleController
Action : ActionName
Is there a way to modify, replace area based conventions with implementing a custom IApplicationModelConvention without using attribute based routing?
I would like to keep the standard behaviour except the kebab based convention.
Enviroment: ASP .NET core 2.1

Thanks for contacting us, @Chrissx.
@rynowak, can you please look into this one? Thanks!

Is there a way to modify, replace area based conventions with implementing a custom IApplicationModelConvention without using attribute based routing?

No.  If you want, you could write a convention that adds attribute routes to your controllers/actions/areas.
We're considering doing a feature like this in 2.2 but we have no immediate eta.

Thanks :) Is there any way to access the controllers current Area?
On that case I can add manually the attribute routes inside the custom convention. Could you please point me out some example or implementation that I can take a look?

The area would be in the route values. You can also use the [...] syntax which will do token replacement https://github.com/aspnet/Entropy/blob/master/samples/Mvc.CustomRoutingConvention/NameSpaceRoutingConvention.cs#L22

My only problem is the [area] only present if I specify in the controller level. What I would like to access is the default convention based area ( folder structure based ).
Do I need to always specify the [Area] attribute in every controller?

the default convention based area ( folder structure based )

Areas is based on an attribute in aspnet core. We don't know what folder your code was in when it was compiled. You could make some inferences if you want based on the namespace.

I see yes its my mistake. I had an assumption MVC automatically build  the metadata based on the folder structure.
Thanks for helping out!


Should uv graduate from 'beta' on PyPI?

The release announcement for 0.5.0 alludes to uv's increasing maturity; maybe the time is now?
Cf. ruff already having been classified as 5 - Production/Stable for quite some time now.
IME it's not a big issue, but it does on occasion raise some eyebrows: 'is it appropriate to cast our lot with a package that is marked as beta?'

Good call -- done in the next release!


Update version of docker used to build images for multistage Dockerfile support (fixes samsung-cnct/issues/55)

Unnecessary due to migration to GitLab.


node-debug Error: listen EADDRINUSE :::5858

Hi,
How to debug sockecluster app? For me node-debug throws  Error: listen EADDRINUSE :::5858 for new SocketCluster, and there is no such exception when " new SocketCluster..." is commented out
'use strict';
var argv = require('minimist')(process.argv.slice(2));
var SocketCluster = require('socketcluster').SocketCluster;

var socketCluster = new SocketCluster({
  workers: Number(argv.w) || 1,
  brokers: Number(argv.b) || 1,
  port: Number(argv.p) || 8084,
  appName: argv.n || null,
  workerController: __dirname + '/worker.js',
  brokerController: __dirname + '/broker.js',
  socketChannelLimit: 1000,
  crashWorkerOnError: argv['auto-reboot'] != false
 });

P.S. i tried
SocketCluster({ defaultWorkerDebugPort: 5353, defaultBrokerDebugPort: 6353,

no difference

The instructions are here http://socketcluster.io/#!/docs/debugging
This error means that you already have a process running on that debug port. You should check what t is using fuser 5858/tcp and then kill theprocesspid. Then run SC again.

i'm trying the debugger in visual studio 2015.
but i'm not able to make it work.
Debugger listening on [::]:5858
[Busy] Launching SocketCluster
Error: listen EADDRINUSE :::5858
at Object.exports._errnoException (util.js:1026:11)
at exports._exceptionWithHostPort (util.js:1049:20)
at Agent.Server._listen2 (net.js:1253:14)
at listen (net.js:1289:10)
at net.js:1399:9
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:98:9)

@costa974 Yeah the visual studio debugger doesn't work very well with SC.
Because SC runs as multiple processes, you have to tell it which processes you want to debug. See http://socketcluster.io/#!/docs/debugging
If you use Node.js v6.4.0 or higher, you can launch Node.js using the command line with an --inspect-workers flag - Then you will be able to debug from inside your Chrome browser.
You just have to add debugger; statements in your code where you want the debugger to pause.


Add help description to the v-shell component

Just like true terminals, it would be great to show descriptions in the help output.
To that end, I've added a new parameter to the commands array called desc which accepts a String.
I have rewritten allCommands to return an array of name, desc objects. Which is then mapped to a String with the desc if it exists otherwise it just outputs the name.
I've also updated the documentation to show the desc in use and what it accepts.

Yes good idea its my not come on my head because I use linux as a terminal and there is no real description but in windows it's present thank you for your contribution i merge ur pull.


DOC: update docstring of DataFrame.append

I always thought that append was for appending rows, not columns. So, unless I am completely missing something, the docstring was saying the wrong thing.
So I reworded it a bit, see below.
Apart from that, there were some other things that are not fully clear to me in the docstring:

The docstring says that other should be a "list of Series/dict-like objects" (or a Dataframe):

Does it need to be a list? It also works with just a Series. Or what are the differences between both?
With a simple example, I don't see a difference, although in implementation, there is.

The docstring says for the ignore_index kwarg: "Useful for gluing together record arrays"

How does this look in practice? If I try to append a record array, I get "TypeError: cannot concatenate a non-NDFrame object" -> so I will remove this

see #8295 / #8337
the axis argument should be added to append to make this symmetric with concat.
The reason for the accepting of say a list is that if it can be interpreted correctly in the context of a Dataframe (e.g. it matches the columns and can be directly converted; this is NOT true for concat).
I don't know about record arrays, that may be a 'feature' that was not implemented.

I updated this (for how the function now is, so without the axis argument). Only the first sentence (about adding rows) will have to be reverted when the other PR is rebased/merged
Removed the sentence about record arrays (does not make sense as far as I can see)
Added a see also and example, and some other small things.

:+1:

@jorisvandenbossche lgtm


As a FAS user I want to see the (empty) basis data files

Synopsis
As a FAS user
I want to see the (empty) basis data files
So that I can verify that they are created when starting an aggregation and that I can access them

Acceptance-Criteria

[ ] AC1: FAS users can access the metering point basis data CSV file from the output of a selected aggregation and grid area.
[ ] AC2: The metering point file contains column headers.
[ ] AC3: FAS users can access the time-series basis data CSV file from the output of a selected aggregation and grid area.
[ ] AC4: The time-series file contains column headers.

Tech-Notes
Tasks

[ ]

@khatozen can you add the list of headers that must be present in the files in the story description?


Predefined configuration file

contents of application.conf should be coming by default some stuff

Decreased priority with improved DI Modules

Use reference.conf

Duplicated #588


'Deploy already in progress' breaking watch task [BUG]

Describe the bug
A clear and concise description of what the bug is.
Whilst running the packer watch command and saving two files in quick succession, the library throws a 'Deploy already in progress' error.
This causes the watch command to stop. Ideally it should just carry on running, and queue another deployment with the new file?
To Reproduce
Steps to reproduce the behavior:

npm run watch
Change a file
Save
Change again
Save
See error

(Note: Steps 2-5 need to happen quite quickly, so that the second save happens before the first finishes deploying)
Expected behavior
I'd expect the second file saved to get queued for deployment after the first.
Screenshots

System (please complete the following information):

OS: Mac OSX 10
Node Version: 15.4.0
NPM Version: 7.0.15
Browser: Chrome

Packer (please complete the following information):

Version: 1.3.4

Theme (please complete the following information):

Shopify Packer theme [e.g. True]
Version 1.0.9

Wasn't sure where to put this, but here is the terminal output when running he recreation steps:
`Watching for changes...
✔ Compiling...
✔  Compiled successfully in 0.067s!
↑  Uploading to Shopify...
[development] 0|1 [------------------------------------------------------------------------------]  0 %
✔ Compiling...
✔  Compiled successfully in 0.071s!
/Users/harryfrancis/.nvm/versions/node/v15.0.1/lib/node_modules/@hayes0724/shopify-packer/src/server/sync.js:24
return Promise.reject(new Error('Deploy already in progress.'));
^
Error: Deploy already in progress.
at maybeDeploy (/Users/harryfrancis/.nvm/versions/node/v15.0.1/lib/node_modules/@hayes0724/shopify-packer/src/server/sync.js:24:27)
at sync (/Users/harryfrancis/.nvm/versions/node/v15.0.1/lib/node_modules/@hayes0724/shopify-packer/src/server/sync.js:199:12)
at Client.sync (/Users/harryfrancis/.nvm/versions/node/v15.0.1/lib/node_modules/@hayes0724/shopify-packer/src/server/client.js:32:13)
[development] 0|1 [------------------------------------------------------------------------------]  0 %
npm ERR! code 1
npm ERR! path /Users/harryfrancis/Documents/T&M/sauce/tm09-sauce-v3
npm ERR! command failed
npm ERR! command sh -c packer start --skipFirstDeploy
npm ERR! A complete log of this run can be found in:
[development] 1|1 [==============================================================================]  100 %
[development] 1|1 [==============================================================================]  100 %
[development] 1 files, Updated: 1`


Fix indentation inside PrivacyInfo.xcprivacy

Summary:
This PR adjusts the indentation in PrivacyInfo.xcprivacy to align with the default pod install format, helping to reduce noise in future diffs where pod install is often executed.
Changelog:
[GENERAL] [FIXED] - Fix indentation inside PrivacyInfo.xcprivacy
Test Plan:
n/a

cc @cipolleschi, as we spoke this should be backported to previous React Native versions that contains PrivacyInfo.xcprivacy, it's a minor thing so it doesn't need separate patch but it can wait for release branch.

Closing as https://github.com/react-native-community/rn-diff-purge/pull/81 landed


project: log program/runtime version at startup

Make sure we report this information for troubleshooting purposes.
Signed-off-by: Francesco Romani<EMAIL_ADDRESS>

/retest


Nameserver lookup, dynamic serverlist, command line options.

First attempt to do collaborative work via github.....
I hope tftelkamp's repository is the correct one for the pull request.

I'd love to see this merged, it would complement #11 nicely.
Any chance you could update it to read from configuration files as well as from the command line?
My C++ is pretty poor, I'm fa better at python!
@tftelkamp any chance of getting some of these merged?


Potential PRs

Hi @daavoo
I have been using this magnificent package and found a couple of things that I had to do manually and alter, which could easily be integrated into the package. They aren't big things, but I'd be happy to discuss needs/requirements/objections before I were to go ahead and submit pull requests.
First one: read binary files with .bin extension
I think this might be stepping on the toes of a few other FROM functions already implemented, but also that this is perhaps going to be a very common task for users. This may especially be the case with the rise of LiDAR usage in the context of autonomous driving. Any hints on making this compliant with the existing API would be appreciated.
PR suggestion # 2: adding default point size to PyntCloud.plot()
The scenes rendered (at least in Jupyter notebooks) always begin with a default value of 0.00, which must be manually adjusted. Untli that is done, no points are rendered, just the background.
I have seen examples suggesting this used to be possible. was it removed or didn't it get implemented? If the former, why?
Any thoughts, suggestions?
Thanks

Hola @Nicholas-Mitchell . Really glad to hear that you find pyntcloud usefull :) and even more glad to hear that you contribute 🎉

I'm a little confused because I'm not really familiar with the .bin format.
The only .bin extension that I have ever encountered using point clouds is the CloudCompare custom format; is this what you are refering to?? Or are you refering to some generic binary format??
If you could clarify what format are you refering to, it would help me give the right indications.
Regardless of that, If you would like to add a new format (let's call if .foo) to io you should:

Add a new python file (foo.py) to pyntcloud/io
Implement inside that file read_foo() and/or write_foo(). You can/should use as reference the existing functions for other formats.  Basically, you should load the data into a pandas DataFrame in read_foo and accept a pandas DataFrame as argument in write_foo.
Add a new entry to the FROM and/or TO dictionaries in pyntcloud/io/__init__.py
Add some tests to tests/unit/io and tests/integration/io

I think that if you navigate throught the existing io functions you should get a better idea of what to do.

It is true that the initial point size is 0.0 but in the point clouds that I've tried this doesn't mean that only the background is rendered; the points are really small, but visible. It didn't get implemented because of that but I think that this might be a good addition.
You could either accept an initial point_size as argument to PyntCloud.plot() or you could compute a default initial value higher that 0, similar to how the min and max values are computed in:
https://github.com/daavoo/pyntcloud/blob/master/pyntcloud/core_class.py#L746
I think that this line is the same where you would set the initial default value using the value argument, according to how the FloatSlider is documented in:
https://ipywidgets.readthedocs.io/en/latest/examples/Widget List.html#FloatSlider

@daavoo - Great, thanks for the tips!
The binary files could be anything really. I haven't worked with the CloudCompare tools, but have used binary files a fair bit, coming directly from LiDAR sensors. I started using PyntCloud recently after looking at data from the KITTI dataset - autonomous driving data recorded from a 64 channel Velodyne LiDAR.
As an aside: people also quite often use .bin for Protobuf files... but if people are using those, they hopefully also know how to deal with them :wink:.
The initial point size is then perhaps dependent on things such as screen resolution - On a 1920x1080 screen I cannot see anything :disappointed:  - even if I zoom in.
However, if that works fine for you right now, maybe it does for others. I will just leave the default value of zero, but allow the user to pass a value into init_point_size. I think it is intuitive enough for beginners (like me last week!) to then use the actual slider to increase the point size.
That does indeed get passed to FloatSlider(value=init_point_size, ...) as you say.
I have already implemented some things, so will submit a pull request sometime soon :+1:

Sorry for the late response :( but glad to see that you found the solution and landed the P.R. :) Closing this


Error: Call to undefined function backpack_theme_config()

Bug report
What I did
I tried to follow your instructions but I keep getting this error:
Call to undefined function backpack_theme_config().

Hello @aismailov-tkm
Which instructions? Where did you find this? please specify the URL.
So I could understand the problem & solution you are seeking


Button directive overrides custom css classes

Detailed description

Describe in detail the issue you're having.

When using the button directive, css classes on the button are removed.

Is this a feature request (new component, new icon), a bug, or a general issue?

Bug

Is this issue related to a specific component?

Button directive

What did you expect to happen? What happened instead? What would you like to see changed?

Expect: Button directive to add new classes to the button element as specified
Actual: Existing classes are replaced by the classes of the directive

What browser are you working in?

Chrome

What version of the Carbon Design System are you using?

Latest

Other Information

I believe this issue is caused by this
@HostBinding("class") btnClass = "bx--btn";
If instead you bound to class.bx--btn and set that to true, I suspect the behavior would be more intuitive.

Ah good catch! and slick solution ... we'll definitely want to do a pass elsewhere to make sure we aren't clobbering any other classLists

Ran into this doing a POC for my team. Opened a PR for the fix @hvlawren suggested.


Investigate pending peg outs

Discovered while parsing utxo sets of federations in fedimint-observer.
https://github.com/elsirion/fedimint-observer/pull/32
Might indicate another wallet bug so I'll do some investigation.

Brad: We should panic in fedimintd if we haven't discovered a new block after some threshold
Dpc: why is not finding a new block a breaking change, the federation should sync higher as they get there and be stuck in the past temporarily
Brad: we're trying to sync to a consensus height we don't know about yet, change outputs
elsirion: this is just not the case dpc

Closed since the investigation is complete.
One of the takeaways that would have made investigation easier: https://github.com/fedimint/fedimint/issues/5866


Selected value does not update the input value

After selection of a value, it does not update the input value.

Hey @chrisvidal,
could you help me understand how to reproduce what you're describing? Or maybe do a gif to show what's the expected behavior.

screen 1 : search for 'air con'

screen 2 : select the value "Air Condtionning Equipement" and the input keep the search value instead of the selected value

ok, i fix the issue.
this happened because on Algolia side, i didnt setup which attribute to retrieve.
now it works perfect.
Can close this issue

ok, i fix the issue.
this happened because on Algolia side, i didnt setup which attribute to retrieve.

Ok good to know :) I'm closing the issue but feel free to re-open it if something else occurs.


Automatic atlas dimension

Current Behavior
You must set the max dimension in your expected atlas (1024x1024, 2048x1024, etc).
Desired Behaviour
I want to a only atlas without packs. The max dimension of this map will be automatic.

Hello. You can set dimension to the large values (10240x10240 for example) and do not check "Fixed size". Texture size will be selected automatically.

My problem:
For example, I have 50 images where I know that their can fit in 2048x2048. If I set 'fixed size: false' and dimension 4096x4096 the result, more or less, is 1022x3000, sometimes 900x4025, random non-cuadratic values. My question is: Is possible try to tell algoritm that make cuadratic atlas?
Do you know?

I understood. We need an appropriate algorithm. Now used MaxRectsBin. Perhaps you know the algorithm that is best for your task?
I will try https://www.npmjs.com/package/maxrects-packer in few days for example.

This can be especially useful for WebGL games where the GPU will benefit from spritesheets close to power-of-2 sizes.

Fantastic! I will try to investigate too
Thanks!

I'm watching https://github.com/soimy/maxrects-packer and I think that we have a little problem. The option rotate I can't find it.

Yes, it's true. But this is a realy small problem :) Please, check MaxRectsPacker algorithm here: http://free-tex-packer.com/test/ . Set Packer to MaxRectsPacker and try different methods.

Yes!!  Thats what I hope happened!! Amazing!!

Excellent :) I will prepare a new release of the application and console utilities by the end of the day.

Perfect! Is a good feature for your app. Congrat!
You can close this issue.
Thanks!

v0.5.2 released: https://github.com/odrick/free-tex-packer/releases/tag/v0.5.2


Local XXE queries for Python (CWE-611)

In response to a customer, I created some queries to spot user data tainting XML parsing calls, or calls to parse a string constant filename.
That resulted in three queries. One is the "constant" version, and two are taint queries.
They use a common library that is provided in the same folder.

Can we try to write a test case for this so we can track if these find the use cases we want to find


SDK-151 - Bulk Volume Management Services

This change is

Reviewed 11 of 11 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


tests, network: Add param to libvmi.InterfaceDeviceWithBridgeBinding

What this PR does / why we need it:
Enable creation of named interfaces with bridge binding.
Changed all usages to use "default" interfaceName in order to preserve
current behavior.
Signed-off-by: Orel Misan<EMAIL_ADDRESS>Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/cc @EdDev

/ok-to-test

Can you please update the PR message with the motivation to this PR.
Curretly all the usages are still using the "default" name, is there a future PR resides on this one?

/approve


rate-overlimit error [BUG]

When the bot sends commands, it occasionally triggers a rate-overlimit error, causing an internal server error. This error happens when the bot exceeds the API's rate limit for sending messages.
Error Message:
Error: rate-overlimit
at assertNodeErrorFree (/app/node_modules/@whiskeysockets/baileys/lib/WABinary/generic-utils.js:56:15)
at query (/app/node_modules/@whiskeysockets/baileys/lib/Socket/socket.js:140:48)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async groupMetadata (/app/node_modules/@whiskeysockets/baileys/lib/Socket/groups.js:22:24)
at async /app/node_modules/@whiskeysockets/baileys/lib/Socket/messages-send.js:290:41
at async Promise.all (index 0)
at async /app/node_modules/@whiskeysockets/baileys/lib/Socket/messages-send.js:283:51
at async Object.transaction (/app/node_modules/@whiskeysockets/baileys/lib/Utils/auth-utils.js:136:26)
at async relayMessage (/app/node_modules/@whiskeysockets/baileys/lib/Socket/messages-send.js:279:9)
at async Object.sendMessage (/app/node_modules/@whiskeysockets/baileys/lib/Socket/messages-send.js:652:17)
at async Object.function (/app/commands/_menu.js:28:1) {
data: 429,
isBoom: true,
isServer: true,
output: {
statusCode: 500,
payload: {
statusCode: 500,
error: 'Internal Server Error',
message: 'An internal server error occurred'
},
headers: {}
}
}

This is not a bug in the lib, please stop making new issues when theyre closed.


MSID: 96848 Version: 2 DOI: 10.1101/2<IP_ADDRESS>8105

MSID: 96848
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8105
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=96848
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8105

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/96848v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8105
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/96848/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

warn: [journal-ref-text-content] This journal reference (id c3) has untagged textual content - -Oct;. Is it tagged correctly?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c55) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c59) has a publication-type='other'. Is that correct?

fixed


Enhancements to downloading pages via Hondana

Summary

Fixes a bug with reporting and adds a new method, download_bytes, along with one new param to download.
Checklist

[x] If code changes were made then they have been tested.

[x] I have updated the documentation to reflect the changes.

[x] This PR fixes an issue.
[x] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

Thanks for the PR!


Custom Functions Within Accordion

It seems that a silent failure occurs when trying to use a custom function (within an accordion) that is not listed in the functions list.
While running the recipe, it seems that the accordion closes at the (unlisted) custom function and keeps running without failure.

Closing this. I believe this was just due to the on_error of batch catching the errors. Otherwise, the error would have been raised as normal.


AWS_CONTAINER_CREDENTIALS_RELATIVE_URI uses environment variables

Hello.
I use ECS.
Instead of writing the contents of the environment variable AWS _ CONTAINER _ CREDENTIALS _ RELATIVE _ URI to a configuration file, you may want to use it directly.
What do you think?

Why is this change really needed?

When using Fargate with ECS, there is no way to know the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.
So suggested this pull request.

I think that this change breaks compatibility.
How about coexisting with config_param like as:
https://github.com/atomita/fluent-plugin-aws-elasticsearch-service/pull/64#discussion_r390808287

Thank you for a good suggestion.
Please wait a moment while I correct it.

I'm late.
I revised it, so please review it.
@cosmo0920

@atomita Could you release a new version which includes this change?


(pulseaudio) Add max volume configuration

Adds max-volume configuration.
If set to true  volume is capped at 150%,
if falseit's capped at 100%,
unset = true
Fixes #1125

I'd prefer to pass m_max_volume only once (i.e. in the constructor), so we don't have to keep passing it for every volume change. Also, a better and more descriptive setting name might help.

Agreed, will do that.
As for setting name I can't think of a better one and yet to be short enough, description for it would be in the Wiki. Though I'll think about it more tomorrow, maybe I'll come up with something.

KDE / Plasma calls that volume overdrive.

Volume overdrive. Pulseaudio allows the volume to be increased beyond 100%. This is an often requested feature and should be supported in some form. It likely needs visual cues as to where 100% is and where the overdrive limit is (usually applications will allow up to 130% although technically much more is possible).

It could be called volume-boost maybe, I really don't know, I'm not good at naming things.
maximal-possible-volume-level
volume-cap-above-normal
..
I think you should pick / produce the right one.

How about use-ui-max for the setting name?


⚠ Jenkins Plugins Artifactory has degraded performance

In 0fa74b0, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1216 ms

Resolved: Jenkins Plugins Artifactory performance has improved in bb28101 after 12 minutes.


Add empty dummy constructors

I'd appreciate the ability to have dummy constructors so that TCA9555 objects can be fields in other objects. There may be a better way to do this and I'm very open to suggestions.
Cheers!

Thanks for the PR,
With the "dummy" constructor the class variables do not get initialized.
This may cause problems if people are going to use it in another way than you intend.
So it need a proper description in the readme.md file.
Can you add a small example sketch that uses the construct you have in mind?

Thanks for having a look at this, Rob. Yes, an object initialised like this won't have the full functionalities of the class but this seems like the best way to get around the compiler telling me that they can't be a field in a separate class. Hopefully those changes make it more palatable!

How about using a pointer to an TCA9555 in your object?
This is how dependency injection often is implemented.
//    FILE: demo.ino
//  AUTHOR: Rob Tillaart
// VERSION: 0.1.0
//    DATE: 2023-08-10
// PURPOSE: demo

#include "Arduino.h"
#include "TCA9555.h"

TCA9555 TCA(0x27);

class Object
{
  TCA9555 *TCA;

  public:
  Object ( TCA9555 *param )
  {
    TCA = param;
  }

  int getType()
  {
    return TCA->getType();
  }
};

void setup()
{
  Serial.begin(115200);
  Serial.println(__FILE__);

  Object obj = Object( &TCA );
  Serial.println(obj.getType());
}

void loop() {

}

// -- END OF FILE --

build failed but that is easy to fix => the variable obj seems to be reserved name or so.

Thank you, that's a far more elegant solution! I'm going to close this PR as unnecessary. Thanks for your help!


[9.x] Bump minimum version to Laravel Framework 11.25

coverage: 90.308%. remained the same
when pulling b9694c46d6b0bb840aee8e19ebf3acfd3f66bb6f on laravel-1125
into af872cdf465d54fdbb4d3d724be3c8b943368840 on develop.


User Register Page

This is more of an example then a final product but this should be sufficient for you guys to work off of.
This PR has a Register page that uses a pre-created action from the store/features/user/userSlice.js file called userRegister. This action then makes an asynchronous call to the API to authenticate a user and get a JWT.
The action adds the JWT to the user portion or slice of our store object as well as other user data. The nav component is subscribed to changes in the store using the useSelector hook and the selectUser selector defined in the component.
When the API reply is received, the store changes and because it is subscribed, the Nav component re-renders with the user.username as an <h1>. When going to different pages, the Nav re-renders using the data that is persisted by the store.
For our app I think we should use class based components for pages since they will hold much of the state. They will subscribe to the state that they need from the store and pass it to their children which will be functional components. The children won't subscribe to the state but will be able to dispatch actions by importing them like is done in the Register component.

@Dahvd thanks for coming up with the majority of this!


Set /O=system:masters for the admin certificate DN

As per https://kubernetes.io/docs/admin/authorization/#rbac-mode:

When bootstrapping, superuser credentials should include the system:masters group, for example by creating a client cert with /O=system:masters. This gives those credentials full access to the API and allows an admin to then set up bindings for other users.

With kube-aws v0.9.4-rc.3 I see:
$ openssl x509 -noout -subject -in credentials/admin.pem
subject= /CN=kube-admin

Looking at other recent changes in that area: with k8s 1.5+ this change would make it unneeded to add the /srv/kubernetes/rbac/cluster-role-bindings/kube-admin.yaml binding I think: having the kube-admin user assigned to the super-user role removes the need to further provide any role bindings for that user.


Correctly discard 0-RTT keys on server

https://tools.ietf.org/html/draft-ietf-quic-tls-32#section-4.9.3

Additionally, a server MAY discard 0-RTT keys as soon as it receives
a 1-RTT packet.  However, due to packet reordering, a 0-RTT packet
could arrive after a 1-RTT packet.  Servers MAY temporarily retain
0-RTT keys to allow decrypting reordered packets without requiring
their contents to be retransmitted with 1-RTT keys.  After receiving
a 1-RTT packet, servers MUST discard 0-RTT keys within a short time;
the RECOMMENDED time period is three times the Probe Timeout (PTO,
see [QUIC-RECOVERY]).  A server MAY discard 0-RTT keys earlier if it
determines that it has received all 0-RTT packets, which can be done
by keeping track of missing packet numbers.

Closing for now until 0-RTT gets scoped out


Support "margin: 0 auto;"

Using margin: 0 auto; throws an error.
Here's a unit test to copy/paste:
  expect(transformCss([['margin', '0 auto']])).toEqual({
    marginTop: 0,
    marginRight: 'auto',
    marginBottom: 0,
    marginLeft: 'auto',
  })

Good catch! We’ll need to support top/bottom as well, so it should be pretty easy to update in transforms/index.js


[7.x] Cast primary key to string when $keyType is string

Problem
Given a model with a string primary key:
 public $incrementing = false;

 protected $keyType = 'string';

and then running  this on the model:
PaymentProvider::find(0);

I expect a null result, but in fact I get the first row in the table.
Looking at the underlying query, sure enough it runs select * from payment_providers where id = 0; MySQL seems to have a quirk where it will return all rows when comparing a string to a 0 integer.
MySQL aside, I think Laravel should take care of casting the primary key according to $keyType to prevent unexpected results.
Solution
This PR checks the primary key type, and casts to a string when required in whereKey() and whereNotKey().
Caveats
PaymentProvider::find([0]);

This query will return a collection of all rows in the table. I wasn't sure how to deal with an array of IDs, so I dealt with the singular lookup only.

I'm not sure if casting the attribute is the best solution. You specified the $keyType should be a string but you provide an integer. So the framework should may throw an InvalidArgumentException.

@stevethomas FYI: this broke passing null as input: https://github.com/laravel/framework/issues/34029
This should also have been sent to 6.x LTS (see our contribution guide). I've ported this to 6.x with an additional fix for the bug which will also make its way to 7.x: https://github.com/laravel/framework/pull/34031

Noted @driesvints, i'll be sure to PR to both branches in the future.

@stevethomas you don't need to PR to both. We merge 6.x into 7.x and 7.x into master regularly.


The specified type member 'Id' is not supported in LINQ to Entities.

I am getting the following exception when I tried to get single entity with method named 'GetSingle(Id)' .My entity class has integer identifier but it is not 'Id', it is SiteId.
The specified type member 'Id' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported.
I think Linq is trying to use Id field to generate sql query to get data but my primary identifier field is 'SiteId'
Is there any way to specify entity identifier?
public partial class se_Sites : IEntity
{
public int Id { get { return SiteId; } set { SiteId = value; } }
public int SiteId { get; set; }
public string Name { get; set; }
public string ShortName { get; set; }
}

eminyuce,
Perhaps you could try mapping the property Id to the SiteId column in your database table using DataAnnotations.
If you wanted to retain the SiteId property, you would set and get the value from the Id property (I have included this in the code sample below.
using System.ComponentModel.DataAnnotations.Schema;

public partial class se_Sites : IEntity
{
    [Column("SiteId")]
    public int Id { get; set; }
    public int SiteId { get { return Id; } set { Id = value; } }
    public string Name { get; set; }
    public string ShortName { get; set; }
}

Thank you, I will take a look at it.

@eminyuce did it work? it's not working for me, even with the data annotation. Using EF6 and Oracle <IP_ADDRESS>.0


Laravel 9 compatibility

With the release of Laravel 9, we need to be able to update.
I believe that adding the compatibility of Laravel Framework 9 should be enough to allow us to update, and not cause issues:
"laravel/framework": "^6.0|^7.0|^8.0|^9.0"

Hi,
Added support to Laravel 9.


Support for all Ragalahari image URLs

Modified the function 'downloadImg(filePath, folderName)' to download using shutil which now does not cause Error 403 (HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden)
The new script is faster and also works for older urls like:
https://img.ragalahari.com/
https://starzone.ragalahari.com/
Added a requirements.txt file to install requests using pip

When did you get the following error message?
Error 403 (HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden)

Give me URL which gives this error, message would like to investigate.

When did you get the following error message?
Error 403 (HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden)

Give me the URL which produces this error, would like to investigate further.
The full Traceback with the original code from master branch
It is only working for the urls starting with "startzoneaz.ragalahari" which does not happen to be an automatic redirect from the urls starting with "starzone.ragalahari" or "img.ragalahari"

Enter your URL Path of the images: https://img.ragalahari.com/mar2018/functions/mla-success-meet/
Enter your filename: mla-success-meet%d.jpg
Folder name: kj
How much image you want me to download? (Default: 100): 5
Searching files. . . . .
-----------------------------------------------------------------------
 INFO: File exists: mla-success-meet1.jpg
-----------------------------------------------------------------------
 INFO: File exists: mla-success-meet2.jpg
-----------------------------------------------------------------------
 INFO: File exists: mla-success-meet3.jpg
-----------------------------------------------------------------------
 INFO: File exists: mla-success-meet4.jpg
-----------------------------------------------------------------------
 INFO: File exists: mla-success-meet5.jpg
-----------------------------------------------------------------------
Traceback (most recent call last):
  File "downloader.py", line 138, in main
    downloadImg(filePath, folderName)
  File "downloader.py", line 88, in downloadImg
    urllib.request.urlretrieve(filePath + x, folderName + "/" + x)
  File "/usr/lib/python3.8/urllib/request.py", line 247, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

Merged, Thanks @TarunChakitha😊👍


Add Language: NueJS

Language name
NueJS
URL of example repository
https://github.com/nuejs/www/blob/master/docs/examples.nue
URL of syntax highlighting grammar
same as html
https://github.com/tree-sitter/tree-sitter-html
Most popular extensions
.nue

I am currently working on this FYI.

Actually, I don't think that Nue quite qualifies to be added yet.  It doesn't meet the current usage guidelines (#5756) for adding a language.  Specifically, I mean that when you perform a search for files with the .nue extension it only turns up 39 files, many of which belong to @nuejs.


Fix errors from release management

Use "mvn package" as dry run deployment step until gpg
keys are available, so  don't accidentally deploy non-signed artifacts.
Remove duplicate Guava version from jsonlogging
Remove unused version properties from jsonlogging
Remove workflows from CircleCI. Stick with sequential flow until needed.
Add plugin management of missing version for deploy plugin.
Add version to gpg plugin.
Add gpg environment variables for future gpg signing.
Fix javadoc warning for SecretHandler[] link.


feat: Add stetho library for debugging

Fixes #1396
Stetho library integration with Retrofit and Picasso along with Database and SharedPreference debugging
Screenshots for the change:
Network Debugging
Images

API

Database
Table View

SQL

SharedPreferences

Please review @the-dagger @mariobehling


switch to an elm-compiler fork that still contains the 7ee7 commit

I retrieved it through the back door from
https://github.com/elm-lang/elm-compiler/pull/1663 with the git fetch
command from
https://help.github.com/articles/checking-out-pull-requests-locally/
I haven't really investigated whether there is some equivalent commit in https://github.com/elm-lang/elm-compiler that could be used instead.

@jerith666 what's the motivation for the bump?

The upstream repo has rebased or force-pushed or some such, so that it no longer contains the commit you have in the stack.yaml file. I needed this to get the build to succeed.


Load image in javascript and show Blockie while loading

Improvement to image loading insprired by https://github.com/snapshot-labs/snapshot/issues/1613
Changes proposed in this pull request:

Load image with javascript
Show Blockie as placeholder, now also while loading an image

Not sure if its working correct. @samuveth

Reproduce by -

First vote on a proposal
Then Logout your wallet
Clear cache
Refresh the proposal page

@midgerate should work now