ArrayIndexOutOfBoundsException on corrupted database (OrientDB 2.1-rc4)

com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record #17:781 (cluster: v_statistic)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1741) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.loadRecord(OTransactionOptimistic.java:224) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.loadRecord(OTransactionOptimistic.java:328) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:1520) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:120) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:790) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.tinkerpop.blueprints.impls.orient.OrientEdge.getOutVertex(OrientEdge.java:199) ~[orientdb-graphdb-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.tinkerpop.blueprints.impls.orient.OrientEdge.getVertex(OrientEdge.java:174) ~[orientdb-graphdb-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.tinkerpop.blueprints.impls.orient.OrientEdge.getVertex(OrientEdge.java:46) ~[orientdb-graphdb-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.stimulus.archiva.ek.c(MailArchiva:153) ~[ek.class:na]
at com.stimulus.archiva.ek.a(MailArchiva:559) ~[ek.class:na]
at com.stimulus.archiva.ek.b(MailArchiva:515) ~[ek.class:na]
at com.stimulus.archiva.nt.run(MailArchiva:468) ~[nt.class:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_75]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_75]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_75]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_75]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
Caused by: java.lang.ArrayIndexOutOfBoundsException: null
at com.orientechnologies.orient.core.compression.impl.ONothingCompression.uncompress(ONothingCompression.java:49) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readRecord(OPaginatedCluster.java:574) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doReadRecord(OAbstractPaginatedStorage.java:1836) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.readRecord(OAbstractPaginatedStorage.java:1583) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.readRecord(OAbstractPaginatedStorage.java:754) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx$SimpleRecordReader.readRecord(ODatabaseDocumentTx.java:3074) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1708) ~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
... 19 common frames omitted

I see from stack trace that it is snapshot not RC4 . Why do you think
that is RC4 ?
When this database was created ? Was it restored after crash correctly
?
Were WAL files removed after DB start or restore procedure was
successfull ?

ср, 24 Июн 2015, 22:23, jamieb22<EMAIL_ADDRESS>
com.orientechnologies.orient.core.exception.ODatabaseException: Error on
retrieving record #17
https://github.com/orientechnologies/orientdb/issues/17:781 (cluster:
v_statistic)
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1741)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic.loadRecord(OTransactionOptimistic.java:224)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.tx.OTransactionOptimistic.loadRecord(OTransactionOptimistic.java:328)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:1520)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:120)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.record.impl.ODocument.field(ODocument.java:790)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.tinkerpop.blueprints.impls.orient.OrientEdge.getOutVertex(OrientEdge.java:199)
~[orientdb-graphdb-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.tinkerpop.blueprints.impls.orient.OrientEdge.getVertex(OrientEdge.java:174)
~[orientdb-graphdb-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.tinkerpop.blueprints.impls.orient.OrientEdge.getVertex(OrientEdge.java:46)
~[orientdb-graphdb-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at com.stimulus.archiva.ek.c(MailArchiva:153) ~[ek.class:na]
at com.stimulus.archiva.ek.a(MailArchiva:559) ~[ek.class:na]
at com.stimulus.archiva.ek.b(MailArchiva:515) ~[ek.class:na]
at com.stimulus.archiva.nt.run(MailArchiva:468) ~[nt.class:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[na:1.7.0_75]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
[na:1.7.0_75]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
[na:1.7.0_75]
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[na:1.7.0_75]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_75]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_75]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
Caused by: java.lang.ArrayIndexOutOfBoundsException: null
at
com.orientechnologies.orient.core.compression.impl.ONothingCompression.uncompress(ONothingCompression.java:49)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.readRecord(OPaginatedCluster.java:574)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doReadRecord(OAbstractPaginatedStorage.java:1836)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.readRecord(OAbstractPaginatedStorage.java:1583)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.readRecord(OAbstractPaginatedStorage.java:754)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx$SimpleRecordReader.readRecord(ODatabaseDocumentTx.java:3074)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
at
com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1708)
~[orientdb-core-2.1-SNAPSHOT.jar:2.1-SNAPSHOT]
... 19 common frames omitted
—
Reply to this email directly or view it on GitHub
https://github.com/orientechnologies/orientdb/issues/4452.

I see from stack trace that it is snapshot not RC4 . Why do you think that is RC4
Its the last build that you provided Valentin
? 2. When this database was created ?
Several weeks ago. Valentin has the database. He said he would send it to you today.
Was it restored after crash correctly ?
Normal activities
Were WAL files removed after DB start or restore procedure was successfull ?
No WAL files removed

Hi Jamie,
I think I should explain more, what is the problem with current issue.
The big probability is that the problem is that database was incorrectly closed because of deadlock on close (this issue is already fixed and I ask Valentin to build new distribution) which is caused data lose.
Also you wrote me that you periodically had exceptions during DB restore procedure , but problem is that you do not send broken WAL to us, so we can not fix given issue. Also currently database is restored even when it had exceptions in WAL. So what would we do:

Lets fix given database.
Lets use version without deadlock on close.
I will implement issue in 2.1 which will backup WAL if exceptions happens so you will have chance to send it to us.
Please never remove WAL in case of exception till we ask you to do that, send problematic files to us.

What do you think ?

Andrey. We already removed the code to delete the WAL files. We have sent through two corrupted databases. We have another one to send today. Please can you fix them so that we can at least ensure that V2.1 will be a stable, working release.

Hi,
Sure.
On Thu, Jun 25, 2015 at 8:55 AM jamieb22<EMAIL_ADDRESS>wrote:

Andrey. We already removed the code to delete the WAL files. We have sent
through two corrupted databases. We have another one to send today. Please
can you fix them so that we can at least ensure that V2.1 will be a stable,
working release.
—
Reply to this email directly or view it on GitHub
https://github.com/orientechnologies/orientdb/issues/4452#issuecomment-115114946
.

Already closed.


HDDS-5933. Ozone Filesystem shaded jars include unnecessary dependencies

What changes were proposed in this pull request?
HDDS-4330 added dependency on hdds-server-framework for ozone-common.  As far as I see the only reason for the dependency is to be able to use NodeDetails class, which was moved from ozone-manager module.
Unfortunately this brings in a lot of unnecessary dependencies for Ozone Filesystem:
|        \- org.apache.ozone:hdds-server-framework:jar:1.2.0-SNAPSHOT:compile (optional)
|           +- org.apache.ozone:hdds-interface-server:jar:1.2.0-SNAPSHOT:compile (optional)
|           +- org.apache.ozone:hdds-hadoop-dependency-server:jar:1.2.0-SNAPSHOT:compile (optional)
|           +- org.rocksdb:rocksdbjni:jar:6.20.3:compile (optional)
|           +- io.prometheus:simpleclient_dropwizard:jar:0.7.0:compile (optional)
|           |  \- io.prometheus:simpleclient:jar:0.7.0:compile (optional)
|           +- io.prometheus:simpleclient_common:jar:0.7.0:compile (optional)
|           \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.1:compile (optional)

increasing the size of the shaded jars:
$ ls -1 -s --block-size=M ozone-filesystem-hadoop*
88M ozone-filesystem-hadoop2-1.2.0-SNAPSHOT.jar
88M ozone-filesystem-hadoop3-1.2.0-SNAPSHOT.jar

$ unzip -t ozone-filesystem-hadoop3-*jar | wc -l
   30811

Compare those to Ozone 1.1.0:
$ ls -1 -s --block-size=M hadoop-ozone-filesystem-hadoop*
41M hadoop-ozone-filesystem-hadoop2-1.1.0.jar
41M hadoop-ozone-filesystem-hadoop3-1.1.0.jar

$ unzip -t hadoop-ozone-filesystem-hadoop3-*jar | wc -l
   24460

So this PR proposes to move NodeDetails to hdds-common, which ozone-common already depends on, and get rid of the server-specific dependency.
https://issues.apache.org/jira/browse/HDDS-5933
How was this patch tested?
$ ls -1 -s --block-size=M ozone-filesystem-hadoop*
47M ozone-filesystem-hadoop2-1.2.0-SNAPSHOT.jar
47M ozone-filesystem-hadoop3-1.2.0-SNAPSHOT.jar

$ unzip -t ozone-filesystem-hadoop3-*jar | wc -l
   27498

Regular CI:
https://github.com/adoroszlai/hadoop-ozone/actions/runs/1418724556

Thanks @errose28 for reporting the problem, @hanishakoneru and @errose28 for the review.


upgrade Alluxio to 2.7.0

Verified it could pass all the manual tests.
Not sure if I should update the commit string in fluid charts and in values.yaml

Verified it could pass all the manual tests.
Not sure if I should update the commit string in fluid charts and in values.yaml

Thank you. I will build docker image. And please test it after the docker image ready. Thanks.


Adding the extension to Open VSX Registry

Right now, the extension is only available on the Microsoft's VSCode extension marketplace, this makes the extension inaccessible to users using a different version of VSCode such as code-server or VSCodium. Right now the only workaround I could find was to download the extension package and then installing them manually.
Perhaps add the extension to the Open VSX Registry?

Does OpenVSX support platform specific extensions? We upload different vsix for Windows Mac and Linux (and then also x64 vs arm)
If that's supported, then happy to upload them to the registry

@JohnnyMorganz I'm not sure unfortunately, I never made VSCode extensions nor have once published them, but maybe it does? Roblox LSP is there as far as I know.

I've published the extension at https://open-vsx.org/extension/JohnnyMorganz/luau-lsp
I slightly messed it up, right now just the Windows extension is published and its acting as a universal extension.
Future releases should do this properly and publish for macos/linux correctly

Alright, I'll close this issue, thanks @JohnnyMorganz !


Wrong mouse position inside of scrolled iframes

Hi,
when a colorpicker is used inside of an iframe that is scrollable then all the mouse coordinates are offset by however much the containing iframe is scrolled.
Testcase: https://jsfiddle.net/4bbzuey1/ (scroll iframe a bit, then try to use a colorpicker)
Looks like the bug was introduced in #181 ironically enough:
// helpers/saturation.js
var left = x - (container.getBoundingClientRect().left + (inIFrame ? 0 : window.pageXOffset));
var top = y - (container.getBoundingClientRect().top + (inIFrame ? 0 : window.pageYOffset));

When inIFrame is forced to false the color picker works like a charm again.

+1

This has been reverted in<EMAIL_ADDRESS>


Revert hardcoding a manual into a topic

This was implemented for a specific manual in
2a11b1f15b95cf7c1f05543735a4a4554a43b5a0 but is no longer required
(instead, an overview collection has been made, and the manual is linked
to from there).  Putting the manual into the topic was always a
temporary hack, and removing the hack makes our code simpler and more
maintainable.
Trello: https://trello.com/c/EKBlsx9w/188-remove-a-hardcoded-manual-from-a-topic-page

This reverts https://github.com/alphagov/collections/pull/75


db password contains special character will not read correctly

Gitea version (or commit ref):
Git version: 1.13.2
Operating system:

Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL)
[ ] No

Log gist:

Description

When the db password contains special characters like @,$,# etc, gitea can't read it from app.ini file correctly and gitea can't run.
Screenshots

https://docs.gitea.io/en-us/config-cheat-sheet/#database-database

Use `your password` or """your password"" for quoting if you use special characters in the password.


Version 2.1

Hello, first I wanted to thank you for creating the package I have been using it for about a year now, thank you very much for this.
On the other hand, I see that a few weeks ago new 2.0+ versions have been released and I would like to use these new icons. Is there any chance to get an update soon?

Releasing. Thanks for the hint.

Releasing. Thanks for the hint.

Thank you @alex-oleshkevich!
I was checking and I still can't import the new icons you just added. Apparently the node_modules/vue-tabler-icons/dist/index.d.ts is not updated yet.
The new icons do not appear, and I get the following error message:
 The requested module '/node_modules/.vite/deps/vue-tabler-icons.js?v=3bf7e351' does not provide an export named 'PlayerPlayFilledIcon'

Could you please file a PR? This will speed up the process.


Unmanned vs Rocket Monitoring Station

Ok, Just updated to most recent A Build. Launched the Unmanned and it worked. However they are not registering on the Rocket Monitoring Station. Showed fuel but Progress is not Showing up. Just wanted to Give you a heads up...

Cancel


Initial recipe

Checklist before submitting

[ ] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Adds recipe for tensorboard-data-server.
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

This is missing CI code. Please see this doc for setting up new feedstocks: https://github.com/open-ce/open-ce/blob/main/doc/README.feedstock_setup.md


HydroServer Website: Data Query Selection

kimschreuders[CodePlex] When you use the Data Query function of a HydroServer Website, such as that found at
http://icewater.boisestate.edu/HydroServerWebsite/Data-Query, where the query returns multiple series, if you select just one series to Download and then hit the download button, you actually get all the timeseries downloaded. You can reproduce this by
going to the page in the above link, select the Region, quotDry Creek Experimental Watershedquot and the Variables, quotStreamflow ...quot and click Query. Seven series are returned. Check one to download and then click Download. All 7 series will
be downloaded.

pamaishlin[CodePlex] Discussions which have occurred addressing the above query/download problem are much appreciated. It is very good that of the parameters available for download with the data that quality control level and method are included, because these define unique
time series. Another parameter which very much needs to be included in the download is offset, including offsettype, offset value, and offset units. If I understand correctly, this parameter occurs at the datavalue level. It is, however, citical
to inclusion in download files, because a given timeseries is not distinguished based on offset. For example, a time series of soil moisture data may include values for soil moisture at multiple depths within a given soil pit.


Add Chinese translation of docs/advanced/additional-responses.md

see the commits

📝 Docs preview for commit b8130044ed3e5e1620de875c33d234a8d883667b at: https://24170be2.fastapitiangolo.pages.dev


[Docs] Add chat AI example script

Summary

add example scripts for main use case.
rename folder tutorials to examples and add subfolder for grouping: wallet, nft, chat

To-Do

[ ] ainft-js SDK beta version release (for example test)

Thank you for review @platfowner! now merging...


Suddenly video error when video is downloaded and imported in Reaper

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I launch yt-dlp
yt-dlp.exe  --update-to master --merge-output-format mp4 https://www.youtube.com/watch?v=OmwC8ZSjS3I -P "k:\My Valentine" --force-overwrite
The video is downloaded.
But when I import it in Reaper, I get  a green screen instead of the video. This error means that the file is corrupted. On VLC iit works.
Never happened before. It started form the day before yesterday so far.
Reaper version 7.28 (I never had this issue before with the same Reaper's version)
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--update-to', 'master', '--merge-output-format', 'mp4', 'https://www.youtube.com/watch?v=OmwC8ZSjS3I', '-P', 'k:\\My Valentine', '--force-overwrite']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error utf-8, screen cp1252 (No VT)
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-master-builds [0b6b7742c] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.26100-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg 6.1.1-essentials_build-www.gyan.dev (setts), ffprobe 6.1.1-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.3.0, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-master-builds/releases/latest
[debug] [youtube] OmwC8ZSjS3I: ios client https formats require a PO Token which was not provided. They will be skipped as they may yield HTTP Error 403. You can manually pass a PO Token for this client with --extractor-args "youtube:po_token=ios+XXX". For more information, refer to  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#po-token-guide . To enable these broken formats anyway, pass --extractor-args "youtube:formats=missing_pot"
[debug] [youtube] Extracting signature function js_03dbdfab_107
[debug] Loading youtube-sigfuncs.js_03dbdfab_107 from cache
[debug] Loading youtube-nsig.03dbdfab from cache
[debug] [youtube] Decrypted nsig WfX56B9ha05TlGxC2 => CAOiDVyMt1O5rw
[debug] [youtube] Extracting signature function js_03dbdfab_103
[debug] Loading youtube-sigfuncs.js_03dbdfab_103 from cache
[debug] Loading youtube-nsig.03dbdfab from cache
[debug] [youtube] Decrypted nsig tcokZHMJRvuMtxbTO => w_ZP33ksDU4ldg
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec, channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[debug] Invoking http downloader on "https://rr5---sn-uxaxoxu-cg0r.googlevideo.com/videoplayback?expire=1735493373&ei=nTJxZ7rLC9OahcIPi4XakQc&ip=<IP_ADDRESS>&id=o-AAk-vLiOhG71-LAaCGJpujZ76bGq1fwgcGEI_8h_URav&itag=399&aitags=134%2C136%2C137%2C160%2C243%2C394%2C395%2C396%2C397%2C398%2C399%2C597%2C598&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1735471773%2C&mh=_p&mm=31%2C29&mn=sn-uxaxoxu-cg0r%2Csn-5hne6nzy&ms=au%2Crdu&mv=m&mvi=5&pl=13&rms=au%2Cau&initcwndbps=3227500&bui=AfMhrI_UPOVjtKV4IFL48-4ArRiZgs0LqCFwEPxffk8IwPcn8VeF-uVdpSq_pFerYzt8sZVjYC8knnJ8&vprv=1&svpuc=1&mime=video%2Fmp4&ns=Fe03izcvvMhSCTekO0wQzmMQ&rqh=1&gir=yes&clen=36376737&dur=211.360&lmt=1584286851618122&mt=1735471514&fvip=1&keepalive=yes&fexp=51326932%2C51331020%2C51335594%2C51371294&c=MWEB&sefc=1&txp=5431432&n=w_ZP33ksDU4ldg&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIhALsIyaj6LVml3RUMsS-HOnBlMKMNQk4YPM-ZBNVoK9R-AiAb43NTy9sagbqxhYQPeMDgTCv1MovhQL8kFlXL4B2DAA%3D%3D&sig=AJfQdSswRQIgLc-4o3HsfFNQ_3QDeGfYesqMIHlzQ-EWQRUZFvSFg54CIQDVxzJDsIvHy_vLGYA8maai0MRHcPM-HtrLAO25ajbViw%3D%3D"
[debug] File locking is not supported. Proceeding without locking
[debug] Invoking http downloader on "https://rr5---sn-uxaxoxu-cg0r.googlevideo.com/videoplayback?expire=1735493373&ei=nTJxZ7rLC9OahcIPi4XakQc&ip=<IP_ADDRESS>&id=o-AAk-vLiOhG71-LAaCGJpujZ76bGq1fwgcGEI_8h_URav&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1735471773%2C&mh=_p&mm=31%2C29&mn=sn-uxaxoxu-cg0r%2Csn-5hne6nzy&ms=au%2Crdu&mv=m&mvi=5&pl=13&rms=au%2Cau&initcwndbps=3227500&bui=AfMhrI_UPOVjtKV4IFL48-4ArRiZgs0LqCFwEPxffk8IwPcn8VeF-uVdpSq_pFerYzt8sZVjYC8knnJ8&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=Fe03izcvvMhSCTekO0wQzmMQ&rqh=1&gir=yes&clen=4058723&dur=211.381&lmt=1583940968957300&mt=1735471514&fvip=1&keepalive=yes&fexp=51326932%2C51331020%2C51335594%2C51371294&c=MWEB&sefc=1&txp=5431432&n=w_ZP33ksDU4ldg&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIhALsIyaj6LVml3RUMsS-HOnBlMKMNQk4YPM-ZBNVoK9R-AiAb43NTy9sagbqxhYQPeMDgTCv1MovhQL8kFlXL4B2DAA%3D%3D&sig=AJfQdSswRgIhAMpcfPynE_-gU7_d7kUL95eqEi5DYig4sBXxqkXoF8LqAiEAzEMY0ypB--ijGoUq9iRMEUVx1dTZb4m6D3VPZJ3rCFk%3D"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:k:\My Valentine\Mic Check #1 - Superlux WH5. Посвящается всем влюблённым [OmwC8ZSjS3I].f399.mp4" -i "file:k:\My Valentine\Mic Check #1 - Superlux WH5. Посвящается всем влюблённым [OmwC8ZSjS3I].f251.webm" -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart "file:k:\My Valentine\Mic Check #1 - Superlux WH5. Посвящается всем влюблённым [OmwC8ZSjS3I].temp.mp4"

that is only stderr, please share a log with both stdout and stderr

that is only stderr, please share a log with both stdout and stderr

I have used this command line following the instructions
yt-dlp.exe -vU --update-to master --merge-output-format mp4 https://www.youtube.com/watch?v=OmwC8ZSjS3I -P "k:\My Valentine" --force-overwrite >> k:\verbose.txt

reaper most likely doesn't support the av01 codec of the video format that is downloaded by default
for max compatibility with editing software, try adding this to your command: -S vcodec:h264,res,acodec:aac

reaper most likely doesn't support the av01 codec of the video format that is downloaded by default
for max compatibility with editing software, try adding this to your command: -S vcodec:h264,res,acodec:aac

Very wrong because it has worked till a week ago. I even made a tutorial with it and I will never implement again that " -S vcodec:h264,res,acodec:aac" because it doesn't download original resolution.

I will never implement again that " -S vcodec:h264,res,acodec:aac" because it doesn't download original resolution.

Then try downloading vp9 instead?

Very wrong because it has worked till a week ago.

Prioritizing av01 by default was a fairly recent change, and also note that YT occasionally changes what encodings are available
If you find what I'm saying to be dubious, please provide more information or more of an explanation than just saying I'm "very wrong"

I will never implement again that " -S vcodec:h264,res,acodec:aac" because it doesn't download original resolution.

Then try downloading vp9 instead?

how? I need full resolution each time and HQ audio of course.

--compat-opt prefer-vp9-sort

--compat-opt prefer-vp9-sort

in the place of? Because I tried in place of --merge-output-format mp4 but returns error without the "mp4"
then --compat-opt prefer-vp9-sort mp4 something wrong with the syntaxis I think

Found the way:
 --update-to master --merge-output-format mp4 --compat-opt prefer-vp9-sort https://www.youtube.com/watch?v=OmwC8ZSjS3I -P "k:\My Valentine" --force-overwrite
So it works!


consent

What are you changing?

add @guardian/storage-and-cookies that does handle consent. Not in @guardian/libs to not have a circular dependency with cmp and libs

using localStorage/sessionStorage becomes a lint error to encourage moving to @guardian/libs

Why?

To unify code usage and enable easier maintenance

For concept discussion only at the moment, code is not functional as is

@vlkerag i think we can close this now?

(wrong button)

closing this as a duplicate of #1128


revert e3c5de1

Fixes #407.

I'd just revert the whole change completely. It has broken expected operation on Linux too, as I reported in #392.


GPU budget for finetuning

Hi,
may I ask what is the required GPU memory when using the same scripts as yours for the no_offload and offload ds config?
I use 4GPU with 48GB memory and a batch size of 1, but it fails for both offload and no_offload ds configs. BTW, I use the LoRA fine-tuning script.

Hi, I was able to finetune 7B fine on a single 80GB A100, so training over 4 gpus should work (esp with offload, since that offloads the model state). What size model are you trying to train?

I use also use the 7B model.

This is using a max sequence length of 2048. Maybe it's an issue with PEFT and distributed training? We didn't test the lora script that much (since it wasn't used beyond some initial experiments).
Is it failing with a CUDA oom error, or something else?

Yes, it’s a Cuda OOM error. I also try the full fine-tuning, similar error.

Hi, I ran the Lora finetuning successfully on 2 x 40GB A100s using the codebase (well, its made 10 gradient steps without OOMing). Did you make sure to change export CUDA_VISIBLE_DEVICES=0,1 at the top of the script?  Does --use_flash_attn  really matter? My GPU is NVIDIA RTX A6000. It doesn't support flash attention. Could you try without it?

Ah, you're totally right - I get OOM without flash attention. Flash attention does matter a lot, especially if you're trying to train with long sequences, so it makes sense that reducing the sequence length matters. Training with 1024 sequence length isn't too bad, and it doesn't hurt performance much I think (although I don't have exact numbers to back this up).

Thank you very much for your patient help!


Docs/playgrounds: change ref(TresObject) to shallowRef(TresObject)

Description
To nudge users and contributors to use shallowRef over ref, convert ref(TresObject) to shallowRef(TresObject) in the docs and playgrounds.
Context
According to the Vue docs:

shallowRef() is typically used for performance optimizations of large data structures, or integration with external state management systems.

https://vuejs.org/api/reactivity-advanced.html
TresObjects are "large data structures". Each one typically holds a reference to context, which contains scene, renderer, etc.
After a rough regex search for \bref\b, it appears that the Tres docs and playgrounds have 100+ occurrences of ref(TresObject). Many of those can be converted to shallowRef(TresObject) with no loss of intent/functionality.
Meta
Discussed among the core team on Discord
Suggested solution
Convert ref(TresObject) to shallowRef(TresObject) in the docs and playgrounds.
Alternative
Leave as is.
Additional context
No response
Validations

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Merged


bug: Getting started app failed at launch with quarkus-langchain4j-mistral-ai dependency

Hi,
When I want to use the maven dependency for Mistral in the getting started application an error is thrown:
ERROR [io.qua.dep.dev.IsolatedDevModeMain] (main) Failed to start quarkus: java.lang.RuntimeException: io.quarkus.builder.ChainBuildException: Cycle detected:
                   io.quarkus.deployment.steps.CombinedIndexBuildStep#build produced class io.quarkus.deployment.builditem.CombinedIndexBuildItem
                to io.quarkus.jackson.deployment.JacksonProcessor#unremovable produced class io.quarkus.arc.deployment.AdditionalBeanBuildItem
                to io.quarkus.arc.deployment.ArcProcessor#initialize produced class io.quarkus.arc.deployment.ContextRegistrationPhaseBuildItem
                to io.quarkus.arc.deployment.ArcProcessor#registerBeans produced class io.quarkus.arc.deployment.BeanDiscoveryFinishedBuildItem
                to io.quarkiverse.langchain4j.deployment.BeansProcessor#handleProviders produced class io.quarkiverse.langchain4j.deployment.items.SelectedChatModelProviderBuildItem
                to io.quarkiverse.langchain4j.mistralai.deployment.MistralAiProcessor#generateBeans produced class io.quarkiverse.langchain4j.deployment.EmbeddingModelBuildItem
                to io.quarkiverse.langchain4j.deployment.devui.LangChain4jDevUIProcessor#jsonRpcProviders produced class io.quarkus.devui.spi.JsonRPCProvidersBuildItem
                to io.quarkus.devui.deployment.DevUIProcessor#additionalBean produced class io.quarkus.deployment.builditem.AdditionalIndexedClassesBuildItem
                to io.quarkus.deployment.steps.CombinedIndexBuildStep#build

Note if I use another dependency like quarkus-langchain4j-openai it works.
Anyone have any idea?

It's a known issue we'll fix very soon with 0.10.2

I'll hopefully do a release today

Closing as 0.10.2 is being released

@geoand do you want some help to write the LLM doc part with Mistral options?

What do you have in mind?

What do you have in mind?
Help is always appreciated 🥰

add Mistral entry with configuration details here: https://docs.quarkiverse.io/quarkus-langchain4j/dev/llms.html

That would be most welcome!


Swiper changes layout when swiper component is destroyed

Swiper Version: 6.5.6
Platform/Target and Browser Versions: Chrome, and others.

What You Did
I am having some visual glitches in my layout when navigating away from a page containing a swiper component, with transitions. I have isolated the issue to the destroyment of the swiper component and created a minimal reproducible example.
To reproduce: Open the stackblitz example and click the destroy button. Notice how this changes the layout.

 https://stackblitz.com/edit/swiper-angular-example-ptbxfh?file=src%2Fapp%2Fapp.component.html

Expected Behavior
I expect the layout to be untouched when the component is destroyed. But I do of course expect the swiping functionality to cease to function.
Actual Behavior
When the swiper component is destroyed, it updates the layout with what seems to be the default configurations. This among other are a slidesPerView of 1.

Hello,
I've got the same problem and it occurs also on theses other plugins I've tried : owl-carousel, slick carousel


feat: add codemod for split-lines

Codemod for the split-lines package

Thanks for the contribution!


Incompatible Unidecode requirement in wagtail and django-oscar

Issue Summary
It seems that django-oscar and wagtail want different versions of the Unidecode:

django-oscar 1.6.3 has requirement Unidecode<1.1,>=1.0
wagtail 2.1.2 has requirement Unidecode<1.0,>=0.04.14

Steps to Reproduce
pip install django-oscar
pip install wagtail

Is it possible to run wagtail with the Unidecode==1.0? If so, could you please fix it on pip?

Hi @narunask,
This has been already been updated on master and the forthcoming 2.2 release, but I forgot to include it in 2.1.2, sorry. Since the release of 2.2 is only a few days away it's unlikely that there'll be another 2.1.x release - if you need a pip-installable version of Wagtail with Unidecode 1.0 support, I'd suggest using the 2.2 release candidate (2.2rc2).


[PERFORMANCE] Pickle5 ConnectionWrapper for VectorEnv at least (2-5% speed up)

Motivation and Context

PEP 574 introduced a zero-copy pickling method that makes the pickling of Numpy arrays significantly faster. However, this feature is only supported on the latest Pickle protocol (5) which is not used by the default for multiprocessing (or even torch.multiprocessing, although it is often used in wrappers like Queues).

I ported and slightly modified the torch Connection wrapper code to habitat-lab and improved it by adding a pickle5 backport. The backport port brings this functionality back to Python<3.8 After using this PR, it should remove a copy from NumPy arrays.
Furthermore, this should not affect the pickling of any other parts of the code stack or any other multiprocessing code.
This speed up is likely to be a lot more on higher resolution outputs from habitat-sim as well as the sensor numbers increase.
This change should be fully backwards compatible and speed things up across the board without any code changes for the end user.

How Has This Been Tested
Local testing shows at least 2-5% speed up in VectorEnv evaluation.  The entire test suite appears now takes 10 seconds less (despite only a fraction of the tests actually using VectorEnv.) I have tested this in Python 3.8 as well as Python 3.6.
As an aside, we should use add tests for pytest-benchmarking on common habitat-lab components like VectorEnv.

Types of changes

Docs change / refactoring / dependency upgrade

Checklist

[X] My code follows the code style of this project.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have completed my CLA (see CONTRIBUTING)
[X] All new and existing tests passed.

This is great!  I think we could push this further by using CPU shared memory as that would also allow observations, rewards, etc to be batched by default instead of having to batch in habitat_baselines, but that can be done later


new method to validate all fields at once and return errors in array

new method
validate_all_data
for mvc_model
and new model field
public $validation_mode = 'single';
all this to be able to validate all fields at once, get error array in controller with
'$this->model->validation_error;'
an do whatever you want with this array.

@ polcodemichalkrawczyk thanks for all your contributions so far! It has been released into the WP Repository. If you are interested in taking on an expanded role with the project regarding documentation or bug fixes, let me know.

@cyberscribe Hi, it's me again, but from my private account. The previous one 'polcodemichalkrawczyk' was associated with the company I had contract with.
And yes, I'm still interested in getting involved in this project.

Let's go private and discuss the project. I'll email you from my gmail.com account.


The "Live Output" should position fixed when scrolling down to see code

Hi,
Love your site, however the output (Live Output) area of the example code (for instance here Rest parameters es6 ) scrolls out of view as you scroll down to see the actual code which is generating the output.
It would be better if the "Live Output" area change to fixed as the user scrolls it up, that would prevent the "Live Output" area to vanish out of the top of the page.

I understand the feedback for that particular sample. It might be more appropriate in that case to provide the Live Output area at the bottom of the page, after the code sample, so that it doesn't push things down.
I don't believe that we'll change the overall template layout, though, as forcing developers to always see the live output area via position: fixed or the like would eat up a significant chunk of screen real estate.


fix: Ensure polly's middleware goes before ember-cli's

This should allow polly to work nicely with ember-cli's when the
--proxy option is passed.

FYI this doesn't work quite as expected. The --proxy option in Ember CLI is only used for ember serve, so it does work when visiting /tests, but not when using ember test. That means that requests to a relative URL like /api/foo will not be proxied in test mode. What I did instead is this:
server.any().on('request', req => {
  if (req.url.startsWith('/api')) {
    req.url = `https://skylines.aero${req.url}`;
  }
});

This solution seems to work quite well now. I'm assuming that this is/will be a common issue for people using Polly.js, so it might make sense to add it to the documentation somewhere.

Just to clarify, this dies works as intended as long as Polly recorded the events already.

possibly, I wasn't aware testem could do this 🙈

😄 lemme know if it works and I'll add some documentation around it!

indeed, this seems to work very well. thanks for the idea!

I've also used that config and it's great. I didn't know that trick either.


Bump jnr-posix from 3.1.5 to 3.1.12

Bumps jnr-posix from 3.1.5 to 3.1.12.

Commits

7545b81 [maven-release-plugin] prepare release jnr-posix-3.1.12
4eeada2 Update to jnr-ffi 2.2.9
8dd3d4c [maven-release-plugin] prepare for next development iteration
5d39f02 [maven-release-plugin] prepare release jnr-posix-3.1.11
03542c2 Use latest jnr-ffi
08f1567 Remove defunct MaxPermSize flag
76e7830 [maven-release-plugin] prepare for next development iteration
0a50b44 [maven-release-plugin] prepare release jnr-posix-3.1.10
6125b47 Merge pull request #172 from timja/patch-1
a660fdf Update to latest jnr-ffi
Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Author: dependabot[bot]. Timestamp: 2021-12-01T18:17:25Z

Superseded by #23.


Update eva.py

When argument class token = False, self.cls_token = None.
Prevents error from attempting trunc_normal_ on None: AttributeError: 'NoneType' object has no attribute 'uniform_'

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


how to configure the sbt-0.13.7 to use local maven repository ?

hi,
i downloaded the msi here for Windows https://dl.bintray.com/sbt/native-packages/sbt/0.13.7/sbt-0.13.7.msi ,
i want to use the my local maven repository, the folder structure as below:
D:\dev
|----mysample
|              |----src
|              |       |---scala
|              |               |---mysample.scala
|              |----project
|              |         |--assembly.sbt
|              |         |--build.properties
|              |---build.sbt
|----Externals
|---MavenRepository
|--xxx
i configured the local repository using relative path in the d:\dev\mysample\build.sbt as:
resolvers += "local maven" at "file:///../Externals/MavenRepository"
and also in d:\dev\mysample\project\build.properties as
resolvers += "local maven" at "file:///../../Externals/MavenRepository"
sbt.version=0.13.7
but when run the "sbt assembly " command under d:\dev\mysample, it reports unable to get
org.fusesource.jansi#jansi;1.11
which actually is under the MavenRepository.
so my questions are:

since i configured the sbt.version, so it will try to download SBT with that version,  i don't have network access, so need it to look from local maven repository. How can i configure it?

for mysample project, whenever it requires a external jar, i want SBT look up from locam maven repository, How to do that?

Thanks in advance

The sbt issue tracker is not a support system. Please see how can I get help?


Type script files in @covalent node_module

Bug Report
I can't find typeScript files in @covalent (v1.0.0-beta.2) node_modules anymore, do you plan to put those files back in next releases?
for example, dialog.module.ts and dialog.component.ts are missing in the picture below :

Other information
Typscript files were present in @covalent previous versions
Thanks,

So the CLI has an issue (maybe bug), where it fails its aot build when there are ts files in the node_modules dir.
We might return the ts files later on, but honestly you shouldnt need to worry about them and just use either the js files or the umd.js file.

I used them to add my own features in the stepper component, it was a lot easier than adding them in js files. Maybe I shouldn't use the quickstart, but I should directly use "covalent" instead, so that I will get ts files ?

The better way is to just extend the classes or wrap the components inside your project, instead of modifying the node_modules.
Since in reality when you do npm i from scratch in a diff env.. you need to replace/add the files again. Its not a good practice to modify anything inside node_modules.

After a few days, I must admit I can't figure out how to extend stepper classes.
Could you please give me a way to do this ?


Implemented role delete in sharing tab

Tested by deleting a user, group. Verified entry is removed upon refresh

Ok. I am marking approved on this one then.


Add CI workflows to repo

This PR adds continuous integration (CI) support via GitHub Actions. The following workflows have been adapted primarily from the Open-Telemetry/OpenTelemetry-Go repo:

CodeQL Analysis triggered once per day
Dependabot-Tidier triggered upon the logic if contains(github.event.pull_request.labels.*.name, 'dependencies')
Run Gosec triggered once per day
ci triggered upon PR
markdown triggered upon PR

How has this change been tested?
As can be seen below in the Checks section, the semverconv module is being tested with the new workflows. Currently, the ci / test-coverage test fails, as this repo has not yet been added to Codecov. To add it, a maintainer could follow this link: https://app.codecov.io/gh/open-telemetry/opentelemetry-go-build-tools/
The CI workflows have been integrated into a separate fork (with codecov integrated) and tested against an empty commit, and all checks passed.

Keeping this open to show how the checks look until the upstream PR is merged.


1.0.2 breaks back-compatibility

Copied from https://github.com/googleapis/google-cloud-php-recaptcha-enterprise/issues/2

Following commit: https://github.com/googleapis/google-cloud-php-recaptcha-enterprise/commit/f933a0b5ecba7c4f6c143979df5986ac7310a4d8
renamed scopes to defaultScopes.
defaultScopes is a wrong name as it is ignored by google servers.
As a result, scopes now need to be explicitly set in the client configuration (which was not the case in v1.0.1).

Solution: rename defaultScopes to scopes back
cc @alexey-mercari

@alexey-mercari what version of google/auth are you using? Run composer show google/auth to see.

@alexey-mercari what version of google/auth are you using? Run composer show google/auth to see.

v1.14.3
name     : google/auth
descrip. : Google Auth Library for PHP
keywords : Authentication, google, oauth2
versions : * v1.14.3
type     : library
license  : Apache License 2.0 (Apache-2.0) (OSI approved) https://spdx.org/licenses/Apache-2.0.html#licenseText
homepage : http://github.com/google/google-auth-library-php
source   : [git] https://github.com/googleapis/google-auth-library-php.git c1503299c779af0cbc99b43788f75930988852cf
dist     : [zip] https://api.github.com/repos/googleapis/google-auth-library-php/zipball/c1503299c779af0cbc99b43788f75930988852cf c1503299c779af0cbc99b43788f75930988852cf
path     : /home/axp/work/mercari-api-us/vendor/google/auth
names    : google/auth

@bshaffer do you have any idea on what the issue might be here?

I have the same issue - I believe that this is because this component requires a newer version of google-auth and does not have the dependency declared properly in composer.json. I forcibly required in my project google-auth:^1.15.

From what I see internally, this was certainly an intentional change at the time.
But given that recaptcha enterprise is at 1.5.1, google/auth is at 1.32.1 with 2.x on the horizon and the fact that the issue itself is over 2 years old, I am gonna close this issue now as the point of breaking the compatibility in 1.0.2 is moot now.
I will try to get more information and if I do, I will update here.


Increase the default storage block size to 32MB.

The downside is some internal fragmentation for small files, and
potentially reduced concurrency as allocations for each thread is
larger now. But, query performance goes up by a huge amount for
large data sets.

@pateljm Please take a look at the test cases I've fixed:

the hash table tests had integer overflow issues.
resolver did not check for whether the given block size could be divided by the slot size. For example, such bug allows users to set the block size to 5 MB, represented as 2 slots of the 2MB block.

@pateljm I'll figure out the CI build issue due to a long running HashTable unit test (more than 10 min).

I would suggest allowing a 2-4MB minimum blocksize for the reason @pateljm mentioned. Even if the default was 32MB, we should allow the user to specify something smaller, especially because some tables will be tiny.
@zuyu I think the storage constants you set in ef4c1cc made sense. That is,
const std::size_t kSlotSizeBytes = 0x400000; // 4MB
const std::uint64_t kBlockSizeLowerBoundBytes = kSlotSizeBytes;
// The default size of a new relation in terms of the number of slots.
const std::uint64_t kDefaultBlockSizeInSlots = 8; // 32MB

We have to be careful to keep kSlotSizeBytes small so that allocations which don't need much space do not fragment and waste memory.
Though to prevent fragmentation, we probably want a 2MB or smaller slot size:
const std::size_t kSlotSizeBytes = 0x200000;

@zuyu Noting that the reason your unit tests are crashing is likely because the slot size is set to 32MB right now.

@cramja I know, it just takes more than 10 min to finish the test, including resizing a large block (32 MB).

Ok -- let's drop this PR.


Add more test cases about replication and cluster

          By the way, can we add a test with master removed and about 5s' connection timeout in go integration?

Originally posted by @mapleFU in https://github.com/apache/kvrocks/issues/2662#issuecomment-2477964921

Hi @PragmaTwice ,
I want to follow up on this issue and learn about our replication logic.
Could this issue be assigned to me? 😊
Best Regards,
Edward

Sure! Assigned.

Hi @sryanyuan ,
Sorry to bother you in this thread.
I'm trying to create a case from your description for integration test.

If the master is lost, the replication thread will block until the keepalive timer is reached when receiving full-sync SST files. At the same time, if we execute a 'clusterx setnodes' command, it will hold an exclusive lock until the replication thread is stopped. This will cause all other worker threads to block.

But I'm not sure about the configuration of the master and slave.
Could you give me some advice on reproducing the problem? 😊
Best Regards,
Edward

cc @mapleFU could you take a look?

The command cluster setnodes needs to stop the existing replication thread first before switching to the new master. So it will stop the replication thread when adding the new master, but found the replication thread is hanging on fetching SST files for the sake of the connect/read timeout isn't set and the master is lost.

The command cluster setnodes needs to stop the existing replication thread first before switching to the new master. So it will stop the replication thread when adding the new master, but found the replication thread is hanging on fetching SST files for the sake of the connect/read timeout isn't set and the master is lost.
It will wait for about 3s after the PR #2662.

Hi @git-hulk ,
Thanks for your detailed analysis! I will try this way today. 😊
By the way, do we have a way to confirm the SST file fetching status or force triggering the SST file syncing in cluster mode? 😊
Best Regards,
Edward

@LindaSummer Thanks for your efforts. For this case, I think it should be good to reproduce with an unreachable master IP only. Before PR #2662, it's expected to be hanging while switching to a new master. And after #662, it should be back to normal after a few seconds(3-4). cc @PragmaTwice @sryanyuan

Hi @sryanyuan ,
Sorry to bother you in this thread.
I'm trying to create a case from your description for integration test.

If the master is lost, the replication thread will block until the keepalive timer is reached when receiving full-sync SST files. At the same time, if we execute a 'clusterx setnodes' command, it will hold an exclusive lock until the replication thread is stopped. This will cause all other worker threads to block.

But I'm not sure about the configuration of the master and slave.
Could you give me some advice on reproducing the problem? 😊
Best Regards, Edward

Write some data into master
Add a slave
Before the full sync is completed, execute the following commands to simulate network problems:service network stop
echo `date "+%y-%m-%d %H:%M:%S"`---service network stop
sleep 120s
service network start
echo `date "+%y-%m-%d %H:%M:%S"`---service network start

Hi @sryanyuan ,

Sorry to bother you in this thread.

I'm trying to create a case from your description for integration test.

If the master is lost, the replication thread will block until the keepalive timer is reached when receiving full-sync SST files. At the same time, if we execute a 'clusterx setnodes' command, it will hold an exclusive lock until the replication thread is stopped. This will cause all other worker threads to block.

But I'm not sure about the configuration of the master and slave.

Could you give me some advice on reproducing the problem? 😊

Best Regards, Edward

Write some data into master

Add a slave

Before the full sync is completed, execute the following commands on the master to simulate network problems:

service network stop

echo `date "+%y-%m-%d %H:%M:%S"`---service network stop

sleep 120s

service network start

echo `date "+%y-%m-%d %H:%M:%S"`---service network start

Hi @sryanyuan ,
Thanks very much!
Got it! I will try it later today.😊
Best Regards,
Edward

Hi @sryanyuan ,

Sorry to bother you in this thread.

I'm trying to create a case from your description for integration test.

If the master is lost, the replication thread will block until the keepalive timer is reached when receiving full-sync SST files. At the same time, if we execute a 'clusterx setnodes' command, it will hold an exclusive lock until the replication thread is stopped. This will cause all other worker threads to block.

But I'm not sure about the configuration of the master and slave.

Could you give me some advice on reproducing the problem? 😊

Best Regards, Edward

Write some data into master
Add a slave
Before the full sync is completed, execute the following commands on the master to simulate network problems:
service network stop

echo `date "+%y-%m-%d %H:%M:%S"`---service network stop

sleep 120s

service network start

echo `date "+%y-%m-%d %H:%M:%S"`---service network start

Hi @sryanyuan ,
Thanks very much!
Got it! I will try it later today.😊
Best Regards, Edward

Glad to help


Uncaught TypeError: Cannot read property 'destroy' of undefined

Uncaught    game.js?v=zHExU6-TFu-q&l=english:1409 Uncaught TypeError: Cannot read property 'destroy' of undefined
at CBattleSelectionState.Shutdown (game.js?v=zHExU6-TFu-q&l=english:1409)
at CGame.Update (game.js?v=zHExU6-TFu-q&l=english:108)
at t.gApp.ticker.add [as fn] (game.js?v=zHExU6-TFu-q&l=english:69)
at t.emit (pixi.min.js?v=.tDHAybGykI1O:16)
at t.update (pixi.min.js?v=.tDHAybGykI1O:16)
at Window._tick (pixi.min.js?v=.tDHAybGykI1O:16)
at :2:270
at e.string.c.(anonymous function) (eval at exec_fn (:1:107), :52:132)

happens randomly as of today only fix is to refresh page manually...

Uncaught TypeError: Cannot read property 'captured' of undefined
at CBattleSelect.m_Grid.click (game.js?v=zHExU6-TFu-q&l=english:1050)
at e.CBattleSelect.g.pointertap (battleselect.js?v=q9bsf45rTOMt&l=english:141)
at e.dispatchEvent (pixi.min.js?v=.tDHAybGykI1O:19)
at e.processPointerUp (pixi.min.js?v=.tDHAybGykI1O:19)
at prototype-1.7.js?v=.55t44gwuwgvw:392
at e.processInteractive (pixi.min.js?v=.tDHAybGykI1O:19)
at e.processInteractive (pixi.min.js?v=.tDHAybGykI1O:19)
at e.processInteractive (pixi.min.js?v=.tDHAybGykI1O:19)
at e.onPointerComplete (pixi.min.js?v=.tDHAybGykI1O:19)
at e.onPointerUp (pixi.min.js?v=.tDHAybGykI1O:19)
newest one fter the above


How to return a final val loss in trainer?

What is your question?
Most optimisation packages ie Ray Tune / Hyperopt return the train loop to return a final accuracy for the optimiser to decide what to try next.
How do I do this with the Trainer module for Pytorch Lightning?
What's your environment?

OS: Linux
Packaging pip
Version 0.7.6

I too have the same issue , I want to  return "val_loss" in validation step and "avg_val_loss" from validation_epoch_end

https://github.com/PyTorchLightning/pytorch-lightning/issues/321
`def validation_end(self, outputs):
avg_loss = torch.stack([x['batch_val_loss'] for x in outputs]).mean()
avg_acc = torch.stack([x['batch_val_acc'] for x in outputs]).mean()
    return {
      'val_loss': avg_loss,
      'val_acc': avg_acc,
      'progress_bar':{'val_loss': avg_loss, 'val_acc': avg_acc }}`

I managed to achieve using callbacks and loggers but it doesn't work for ddp backend if doing distributed training. Think I need to include a manual gather step in there for that

let’s formally support this somehow so it doesn’t have to be hacker around :)


Object expressions from base type with signature file don't compile

The following works fine:
fsi file:
module DelayedDouble

type IDelay<'a> =
    abstract F : unit -> 'a

val inline double : source:^T -> IDelay< ^T> when ^T : (static member ( + ) : ^T * ^T -> ^T)

fs file:
module DelayedDouble

type IDelay<'a> =
    abstract F : unit -> 'a

let inline double (value: ^a) : IDelay< ^a> =
    { new IDelay< ^a> with
          member x.F(): ^a =
              Checked.(+) value value }

But if we try to use a base class rather than an interface as in the following case:
fsi file:
module DelayedDouble

[<AbstractClass>]
type Delay<'a> =
    abstract F : unit -> 'a

val inline double : source:^T -> Delay< ^T> when ^T : (static member ( + ) : ^T * ^T -> ^T)

fs file:
module DelayedDouble

[<AbstractClass>]
type Delay<'a>() =
    abstract F : unit -> 'a

let inline double (value: ^a) : Delay< ^a> =
    { new Delay< ^a>() with
          override x.F(): ^a =
              Checked.(+) value value }

The we get the following error:
error FS1113: The value 'double' was marked inline but its implementation makes use of an internal or private function which is not sufficiently accessible

If we remove the signature file then it functions as expected.

@manofstick I'm pretty sure that's because the constructor for the abstract base type is hidden by the signature file

Will close as by design , please reopen if needed

Ahh yes, changing the signature to
module DelayedDouble

[<AbstractClass>]
type Delay<'a> =
    new : unit -> Delay<'a>
    abstract F : unit -> 'a

val inline double : source:^T -> Delay< ^T> when ^T : (static member ( + ) : ^T * ^T -> ^T)

does work. Thanks!
Maybe nicer error message would be helpful (i.e. saying what is non-public...)

Put a new task into the improved error issue :)


BIGTOP-2863: Make doc format compatible with JDK-8

Change-Id: Icbcd8a1da09b9416ef0dc56f5b42831b08747abc
Signed-off-by: Jun He<EMAIL_ADDRESS>

If you rename the PR to match the JIRA number/name, ASF's Infra bot would be able to pull the comments from here into JIRA directly.

I assume the tests are ok after the change?

Build is OK. Still have problem to run test. I'm checking it now.


Voice chat not working in MixedRealityToolkit v.2017.2.0!

@StephenHodgson MicrophoneTransmitter and MicrophoneReceiver have been removed from the MixedRealityToolkit v.2017.2.0.
It is mentioned as "Group Voice Chat" feature is given as built in option in Mixedreality Toolkit, but how to implement in a unity project?
What are the new scripts or components need to be added for incorporating Voice Chat?
Tools Used:
Unity Version : Unity 2017.1.2 f1
Toolkit Version : MixedReality Toolkit v.2017.2.0

@mr-mystery It wasn't removed, but moved to the examples folder. It wasn't being well maintained and the dlls do not pass WACK.

So, does it mean we need to import the examples unity package as well to our "whatever" project?

Windows application certification kit. It tests your app before it can be published in the app store.
You could present just copy/paste when you need.

Thank you very much bro.

@StephenHodgson If the VOIP didn't pass the wack. And if I implement it from the examples folder to my project, will I be able to upload to the windows store?

No, you will not.

Thanks for your help.


SQL mode sometimes results as unknown response

Possibly the empty arrays are not correctly formed in JSON:
USER:SQL > DELETE FROM Simple.Demo
Unable to parse server response: {"_cb":1,"d":{"data":,"headers":},"h":""}

data and headers fields values are not a dynamic objects (probably normal objects)

I think so.

So this JSON output is generated when
set obj.headers = ##class(%ListOfDataTypes).%New()
set obj.data = ##class(%ListOfDataTypes).%New()

Are empty. I would call it yet another Caché JSON issue.

How do you serialize to JSON?

This way: do ##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON(obj,,,"aeos")
I ended up by removing that arrays from JSON if they are empty.


Metro has encountered an error: While trying to resolve module radio-browser-api

I'm trying to use it with react native but have a problem. Can you help me?

That is a Facebook Metro issue with loading the .cjs files.
I believe you need to set up Metro to recognize the .cjs files.
Take a look at this issue:  https://github.com/facebook/metro/issues/535


Error: no such operation text

When I use vips.Image.text to create text image,something wrong happend
const vips = await Vips();
const image = vips.Image.text("test");

Run this code,I got blow errors:
Error: no such operation text
VipsOperation: class "text" not found

I'm not sure if this is a bug, I only want to add some font watermask to my picture.Do you have a better way?

wasm-vips doesn't currently support text rendering via vips.Image.text, since it's dependent on Pango, which brings in a lot of sub-dependencies that needs to be compiled for WebAssembly:

Cairo for text handling and graphics rendering;

Pixman for pixel manipulation;

FontConfig for font discovery;
FreeType for font access;
HarfBuzz for complex text shaping;
fribidi for bidirectional text handling.

For the same reason, SVG support via librsvg is currently not supported either, as mentioned in https://github.com/kleisauke/wasm-vips/issues/4#issuecomment-960969507. For now, I can recommend using a pre-generated watermark, see for example the watermark sample on the playground.

Got the similar message:
VipsOperation: class "pdfload" not found
with vips.Image.pdfload on nestjs (node)

@ricardo85x There are no plans to support PDF files. In short, this is due to that Poppler is GPL-licensed and PDFium uses an unusual build system.
Please open a new issue for that if you want more details on this.


Conflicting project deps and rebar3 deps

With install_deps using code:add_pathsz instead of code:add_pathsa any dependency of your project that conflicts with a dependency of rebar3 will not have their include files found.
Obviously there are potentially other issues, with either add path strategy since as we saw in https://github.com/rebar/rebar3/issues/271, a dep depending on an older version of erlydtl than is needed by relx will break release creation.
I've been considering for a while if we should get fancy with code paths. Meaning storing the list of what should be the code path depending on a certain context (like compiling vs running the erlydtl provider) and set_path to switch out what the code path is depending on that context.

It seems like this is what we'll end up having to do. Another option will be to fork some off so we have them private to our namespace.

Starting to add the path storing to https://github.com/rebar/rebar3/pull/351

Removed from #351, don't want to include that in there.

I believe this is fixed now, right?

Yup.


Improve submitter client ext

fix https://github.com/aneoconsulting/ArmoniK/issues/512

Not sure. Let's see how errors will be handled and so on before changing that.
From: lemaitre-aneo @.>
Sent: Monday, September 19, 2022 19:38
To: aneoconsulting/ArmoniK.Api @.>
Cc: Wilfried KIRSCHENMANN (ANEO) @.>; Review requested @.>
Subject: Re: [aneoconsulting/ArmoniK.Api] Improve submitter client ext (PR #39)
@lemaitre-aneo commented on this pull request.

In Api/csharp/ArmoniK.Api.Client/Submitter/SubmitterClientExt.cshttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faneoconsulting%2FArmoniK.Api%2Fpull%2F39%23discussion_r974508680&data=05|01|wkirschenmann%40aneo.fr|5e1c783b7cfa405b31f208da9a65bfe9|a8b8437b013b4de2b105e96932b6a9c5|0|0|637992059056027809|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=x6LTE8yUVebmmrtPOEveB%2Bu5a3w7kOt4jG6iGEheEkI%3D&reserved=0:

 /// </summary>

 /// <param name="client">gRPC client to the Submitter</param>

 /// <param name="resultRequest">Request for result</param>

 /// <param name="cancellationToken">Token used to cancel the execution of the method</param>

 /// <returns>

///   A byte array containing the data associated to the result

///   A stream in which the data will be written

///

/// a result reply chunk is not data, rending it impossible to reconstitute the data

/// result reply type is unknown

[PublicAPI]

public static Task GetResultAsStreamAsync(this gRPC.V1.Submitter.Submitter.SubmitterClient client,

@aneojgurhemhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faneojgurhem&data=05|01|wkirschenmann%40aneo.fr|5e1c783b7cfa405b31f208da9a65bfe9|a8b8437b013b4de2b105e96932b6a9c5|0|0|637992059056027809|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=H6Lf6JOMK5ETLt5Vsd0TNkkvXadPqYxj88XNrUA9HFI%3D&reserved=0 With the stream correctly implemented, it is not necessary for this function to be async. Do we remove the async?

Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faneoconsulting%2FArmoniK.Api%2Fpull%2F39%23pullrequestreview-1112628921&data=05|01|wkirschenmann%40aneo.fr|5e1c783b7cfa405b31f208da9a65bfe9|a8b8437b013b4de2b105e96932b6a9c5|0|0|637992059056027809|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=8p%2FHdg5EZoK4pMpy0Q7HCy36vzvpLlNH2m9cZ4cgy9k%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEICQWQKYQ6LXKCDWVO2ZBDV7CQI3ANCNFSM6AAAAAAQOCSTQI&data=05|01|wkirschenmann%40aneo.fr|5e1c783b7cfa405b31f208da9a65bfe9|a8b8437b013b4de2b105e96932b6a9c5|0|0|637992059056027809|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=zjOiwKiZTknenAWaS%2Bgm42kpyuAWwjWN9%2FiKNZmaXfo%3D&reserved=0.
You are receiving this because your review was requested.Message ID<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: aneojgurhem:x: lemaitre-aneoYou have signed the CLA already but the status is still pending? Let us recheck it.


Update README.md

add new links (Codrops and Codepen Spark)

@highflyer910 Thanks for the PR 👍

@highflyer910 Thanks for the PR 👍


Bug: Coordinator requires restart when it has to reflect data from disk

Hey ,
I was trying to support backup and restore via pvc of coordinator , I see that when I restore I got to restart the pod of coordinator and same happens when I delete the disk files in pvc
Mostly , My assumption is
Your app process is probably holding on to open file descriptors. Actual data is only deleted from disk once all file descriptors are closed```

Is this still a problem @sadath-12 ?


HACS Compatibility

This integration can't be installed via HACS (which is probably the most common way of installing custom integrations in HomeAssistant) due to the repository structure.
Could the repo be updated to make that process easier?
https://hacs.xyz/docs/publish/integration

I'd very much like to second that!
Especially since I have just created an issue to suggest the removal of IoTaWatt from Home Assistant Core (since we can use this one that actually works without errors): https://github.com/home-assistant/core/issues/104080

This would be beneficial, apart from easy installation, using HACS would also mean that any updates to the code/version would be visible in HACS, allowing users to see and know when to update their installation.


Update 02_shap.interp.ipynb

Change learn.dl into learn.dls to fix the mentioned error in #1

Ideally (as it's built on nbdev), we modify the notebooks then the files, however if you pip install nbdev, from your CLI you can also run nbdev_update_lib and it should solve your issue here.

Ok thank you! I'll redo it later.

This now moves to #3


Don't count key values

Right now, in-game key value is 3$, however selling them gives you 0$.
This pull request fixes mismatch between reported loot value and the actual value when selling.

This resolves #1.

Isn't it supposed to be KeyItem?

Isn't it supposed to be KeyItem?

No longer needed due to a83c19e2932dca5b4ba1c89595f19f0b6dd0b219.


Sorting Date column with blank rows

Hi', I'm having trouble with sorting date columns where there are some empty rows.
Sorting seems to be random... but works perfectly where all rows are filled with dates.
This defect can be saw even with a basic configuration.
This is mine:
    var filtersConfig = {
	highlight_keywords: true,
	popup_filters: true,
	linked_filters: true,
	alternate_rows: true,
	btn_reset: true,
	rows_counter: true,
	locale: 'it-IT',
	col_types: ['string', 'string', 'string', 'date', 'string', 'date'],

	extensions:[{ name: 'sort' }]
    };
    var tf = new TableFilter('table1', filtersConfig);
    tf.init();

Thank for your help

@Nexpola, thanks for pointing this out, I will have look.
Cheers

Starting from v0.4.14 should be fixed.
Cheers

Great!
Thank you!

Just downloaded v0.4.14: it works perfectly!
Thankyou!


DlWP HEALpix unifying original and coupled model config

Modulus Pull Request
Description

Unify the coupled dlwp-healpix atmosphere-ocean model config with original dlwp-healpix config
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[x] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

/blossom-ci


feat(now): happy path of frontend part of now expression

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?

Summarize your change (mandatory)
Implement happy path of frontend part of now expression in order that optimizer can generate NowExecutor node.
How does this PR work? Need a brief introduction for the changed logic (optional)
We modify to_stream method of LogicalFilter. It will convert NowExpr in filter expression into NowNode and convert the LogicalFIlter into a DynamicFilter.
Describe clearly one logical change and avoid lazy messages (optional)
LogicalFilter with now() in filter expression will be replaced with a DynamicFilter with a NowNode.
Describe any limitations of the current code (optional)
We haven't limited now() expression format.

Checklist

[x] I have written necessary rustdoc comments
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
#6669

Should we ban now() in expression except the now() usage below?
WHERE col1 <= now() +/- [expression] AND col2 >= now() +/- [expression] AND col3 < now() +/- [expression]

Should we ban now() in expression except the now() usage below?
WHERE col1 <= now() +/- [expression] AND col2 >= now() +/- [expression] AND col3 < now() +/- [expression]

Should we ban now() in expression except the now() usage below?
WHERE [other where conditions] AND col1 <= now() +/- [expression] AND col2 >= now() +/- [expression] AND col3 < now() +/- [expression]

Should add planner tests for both happy and sad paths.

Should we ban now() in expression except the now() usage below?

I think so. Only implementing happy path looks dangerous to me.. Should explicitly ban it at your control.

fixed

Should add planner tests for both happy and sad paths.

how to add planner tests for sad paths?

how to add planner tests for sad paths?

Take a look at e.g., src/frontend/planner_test/tests/testdata/over_window_function.yaml

Sorry, clicked update branch by mistake 🥹🥹🥹

Should add planner tests for both happy and sad paths.

thanks. fixed.


Space Around Zones doesn't stay at 0

Microsoft PowerToys version
0.47.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
The "Space Around Zones" keeps going back to 16 from the 0 I set it to.  The last time I set it to 0, saved and closed the window I got a dum
FZEditorCrashLog.txt
p
✔ Expected Behavior
I expect the "Space Around Zones" to stay at 0.
❌ Actual Behavior
It sits at 0 for a while and then after a reboot or on its own reverts back to 16.
Other Software
No response

Do you set the Space around zones to the default Priority Grid layout or to your custom layout?

Oops, here you go.
From: Seraphima Zykova @.>
Sent: Thursday, October 7, 2021 15:22
To: microsoft/PowerToys @.>
Cc: Crackerdan @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Space Around Zones doesn't stay at 0 (#13675)
Thank you for a quick reply! I suppose you pasted the screenshot in the email, am I right? It couldn't be shown on Github this way. So could you please attach it in a browser?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/13675#issuecomment-938127646 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AV6UGE7IO77WRDU6TFPW4CTUFX6QLANCNFSM5FREWLIQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .   https://github.com/notifications/beacon/AV6UGEYU3PKZ7BCNTJCENMTUFX6QLA5CNFSM5FREWLI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG7VLCHQ.gif

Correction.  It has now reverted again.
I wonder if it is because I use 2 computers on one monitor and I switch back and forth between them?  I have a 49in monitor and I switch from one input to another.  I use 2/3rds of the screen for one computer and 1/3 for the other and I will switch back and forth from one computer to another being the primary (the 2/3rds of the screen).  I did not have any issues with this for the last 9 months.  I think this started in September.
From: Seraphima Zykova @.>
Sent: Thursday, October 7, 2021 15:22
To: microsoft/PowerToys @.>
Cc: Crackerdan @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Space Around Zones doesn't stay at 0 (#13675)
Thank you for a quick reply! I suppose you pasted the screenshot in the email, am I right? It couldn't be shown on Github this way. So could you please attach it in a browser?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/13675#issuecomment-938127646 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AV6UGE7IO77WRDU6TFPW4CTUFX6QLANCNFSM5FREWLIQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .   https://github.com/notifications/beacon/AV6UGEYU3PKZ7BCNTJCENMTUFX6QLA5CNFSM5FREWLI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG7VLCHQ.gif

closing per @crackerdan


67 deploy vott on a server

This PR defines:

Dockerfiles files for both dev (localhost) and remote server
docker-compose...yml which simplify running the images, and allow deployment in a docker swarm

All commands are compiled in a Makefile and the README is updated with a bit of explanation.
The deployment as been executed on https://vott-dev.cortexia.io and https://vott-qa.cortexia.io with the code source from this PR

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

sorry, needs to go to our repo first ...


opnsense first commit

Signed-off-by: SecInfra<EMAIL_ADDRESS>
Status
In Progress
Related Content Pull Request
Related PR: link to the PR at demisto/content
Description
opnsense docker image based on pyopnsense2 python package

Closing as this PR replaces it


OCaml 4.08 support

Currently, this fails to compile on OCaml 4.08 due to Pervasives being deprecated.
ppx_tools and ppx_deriving have both added support for 4.08

FWIW the failure under 4.08 is actually the following:
    File "ppx_deriving_yojson.cppo.ml", line 105, characters 8-59:
    Error: The constructor Rtag expects 3 argument(s),
           but is applied here to 4 argument(s)
    error: command failed: 'dune' 'build' '-p' 'ppx_deriving_yojson' '-j' '4' (exited with 1)


Add Congratulatory message

Add Congratulatory message after solving the jigsaw puzzle
also show the time it took to solve the puzzle and give some score based on that

Good idea, you can work on this if you want
Also, right now there's no functionality that checks if the puzzle is solved, see issue #3

This issue has been solved


Break elements and modifiers outside of blocks rather than nesting using &

Break elements and modifiers outside of blocks rather than nesting using &. An example of this would be in components/_breadcrumb.scss.
.gv-c-breadcrumb {}
.gv-c-breadcrumb__list {}
This makes the code base more searchable and straightforward, making it easier to maintain. The current format also encourages the (bad) habit of excessive nesting.

Thanks @stevenadams, we've included this in our documentation over here:
https://github.com/alphagov/govuk-frontend/blob/master/docs/coding-standards/css.md#nesting
I'm closing this issue now we have it covered.


Updated Service Settings Path

It was hard to find the Service Settings. I was roaming around 5-10 mins to find that

@cmnisal : Thanks for your contribution! The author, @diberry, has been notified to review your proposed change.


allow tasks_from for role

Proposal: allow tasks_from for role
Author: Tomáš Pospíšek <@tpo> IRC: tpo2
Date: 2020-11-02

Status: New
Proposal type: core design
Targeted release: <future release #, ex. 2.2>
Associated PR: <link to GH PR in ansible/proposals if PR was submitted>
Estimated time to implement: <X days, weeks, etc.>

Motivation
Unify abstractions (role: and include_role:). Make accessing tasks in a role more elegant.
Problem
What problems exist that this proposal will solve?
In the IRC channel various core devs have suggested to me that reusing tasks between roles, from various playlists and from various collections is:
- include_role:
    name: the_role
    tasks_from: some_task_list(.yml)
  vars:
    foo: baz
    bar: boz

This is not very elegant. The following seems to be exactly equivalent to me, but somewhat unexpectedly (design goal: minimize surprises, maximize intuitive use) that doesn't work, so I propose it should:
- role: the_role
  tasks_from: some_task_list(.yml)
  foo: baz
  bar: boz

Solution proposal
See above
Dependencies (optional)
None I am aware of. My proposal has some affinity to the collections idea. So maybe the collections implementation solves something related or maybe this proposal could be useful for the collections idea. I have not looked at the current collections implementation.
Testing (optional)
In case this proposal would be welcommed, there of course should be a test for this.
Documentation (optional)
Again, yes, see "Testing" above.
Anything else?
No, nothing atm.

include_role has dynamic elements so it is not a good match for roles:, import_role is more closely aligned.
There are many reasons we didn't add the functionality to roles: the main one is that it conflates keywords and variables in it's role definitions which already creates issues (try a variable named name) so we didn't want to be adding to the problem.
Also, the equivalent could be done this way:
tasks:
   - import_role:
         name: therole
         tasks_from: some_task_list(.yml)
     vars:
         foo: baz
         bar: boz

So I doubt that there is a compelling use case for this expansion.

closing as there does not seem to be much interest in debating or adding this feature


sample not working

Component/Nuget
Other
What operating system(s) are effected?

[ ] iOS (13+ supported)
[ ] Mac Catalyst
[X] Android (8+ supported)

Version(s) of Operation Systems
win10  + VS 2022
Hosting Model

[X] MAUI
[ ] Native/Classic Xamarin
[ ] Uno
[ ] Manual

Steps To Reproduce
Hello
download samples
Open in visual studio
Run and error:  error NETSDK1004: Assets file 'D:\VSProjs\P\shiny\src\Shiny.Core\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
1>Done building project "Shiny.Core.csproj" -- FAILED.

Thx
Expected Behavior
working samples
Actual Behavior
not working
Exception or Log output
No response
Code Sample
No response
Code of Conduct

[X] I have supplied a reproducible sample is NOT FROM THE SHINY SAMPLES!
[X] I am a Sponsor OR I am using the LATEST stable/beta version from nuget (v2.7.1 stable - ALPHAS are not taking issues)
[X] I understand that if I am checking these boxes and I am not actually following what they are saying, I will be removed from this repository!

Seriously… READ the issue template!!!


Rename file without saving data

Is there a way of renaming the file without saving the Data?
It appear that if the Data is set to false the program cant change the filename.
If that not possible is there a way of deleting automatically the data folder when closing the .exe
Thanks in advance!

This is a good idea, thank you


cmake, ci: Add Add x86_64-w64-mingw32 triplet

Also caching with Ccache has been improved.

I've re-run CI to show the cache performance.


Added Regex test to Verify property path

Issue #, if available:
Description of changes:
Added four more tests to verify that property path has correct prefix - (\/properties\/)\w+;
Invalid:
{
  "primaryIdentifier": [ "/Properties/KeyId" ]
}

Valid:
{
  "primaryIdentifier": [ "/properties/KeyId" ]
}

There are four major CFN constructs that must hold correct property paths:

primaryIdentifier
createOnlyProperties
readOnlyProperties
writeOnlyProperties

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Nice. No blockers, but would it make sense to not only verify that it's a valid property regex but also maps to an actual property defined in the schema?

Nice. No blockers, but would it make sense to not only verify that it's a valid property regex but also maps to an actual property defined in the schema?

This is what I wanted at first but for that it has to traverse all properties and construct paths, then the rule can iterate over listed paths and verify it's one of the defined ones. This method is much simpler and only covers path prefix. I will create a follow up issue

Its a start to some of the issues that I've seen.  Thanks.

Some of the other ones I've seen are /properties/A/properties/B Not sure we can validate the 2nd properties is unnecessary as it could be valid


KAFKA-4656: Improve test coverage of CompositeReadOnlyKeyValueStore

call for review, @mjsax @dguy

Retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5482/
Test FAILed (JDK 8 and Scala 2.12).

Retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5483/
Test FAILed (JDK 8 and Scala 2.12).

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5484/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5499/
Test FAILed (JDK 7 and Scala 2.11).

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5517/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5531/
Test PASSed (JDK 7 and Scala 2.11).

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5553/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5567/
Test PASSed (JDK 7 and Scala 2.11).

@jeyhunkarimov there are some changes requested by @mjsax that should be done before this is merged. Thanks

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5598/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5612/
Test PASSed (JDK 7 and Scala 2.11).

@mjsax @dguy does the current form of PR solve your comments?


Ensure that running nodes are marked as failed during Shutdown

What happened:
I terminated a workflow using argo terminate. Workflow execution stopped and Pods were deleted, however Nodes in the workflow weren't updated to reflect this.
What you expected to happen:
I expected Nodes in the workflow to be updated accordingly.

Issue seems to be related to
https://github.com/argoproj/argo/blob/f281199a1df65a6716d29a8e29ba756aa31f36dc/workflow/controller/dag.go#L178-L182
In short, Workflow is Shutdown, so no new nodes are not executed. However, since the DAG has not been exhausted (it hasn't created nodes for all its tasks) it assumes the Workflow is still running when in fact no new nodes will be created


PermissionError upon importing clisops.core in some Windows environments

clisops version: 0.12.2
Operating System: Windows

Description
When importing clisops.core, clisops.core.regrid.weights_cache_init() is called, with the goal to create a temporary folder where weights would be stored.
However, the default path specified in roocs.ini (/tmp/clisops_grid_weights) is very Linux-centric and can provoke a PermissionError in some Windows setups, since it tries to create a new folder under C:\tmp\clisops_grid_weights.
Using a platform-independent temporary folder would be preferable.

I'd also note that the mere import of clisops.core does not mean the user will perform any regridding. Would it be possible to delay the folder creation to the first time it is necessary ?

Thank you for reporting this issues.
I think one could use the tempfile module. The name of the directory should however be persistent. The initialisation could be moved to Weights.__init__.
@cehbrecht For rook you could specify a path under /home in roocs.ini so the cache persists.
@Zeitsperre I see you self assigned this. If you do not find the time, however, I will look at it next week.

@sol1105
Thanks for following up. My idea was to leverage platformdirs to use an OS-dependent fixed location by default (perhaps user_config_dir or user_cache_dir) in order to have a persistent location that can be wiped if needed.
Here's one way to implement it: https://github.com/Ouranosinc/xclim/blob/080e0b227fa6ca886691035d19f66355d9911219/xclim/testing/utils.py#L59 (Perhaps we could even do the same for the test data fetching here?)

@Zeitsperre Yes, that sounds good :) Generally using a persistent directory makes sense

Closed via #323


DOC-5661 log export externalid not supported

Addresses: DOC-5661

Adds a new FAQ entry advising that an AWS External ID is not supported for use with log export targeting AWS CloudWatch.

export-logs.md

Hi @abarganier here's a quick update to advise of the External ID limitation. Let me know if you'd like this more prominent than a postscript FAQ item. Thanks!


docs: add a Used by section to the README

Now that we have some users its nice to list them as examples for people who wonder if this project is used or not and by whom.
Included here are:

fastify and undici (cc @mcollina @Uzlopak)
npm-run-all2 (cc @bcomnes )
poolifier/poolifier (cc @jerome-benoit)
uuidjs/uuid (cc @broofa)

Is there an easy way to build that kind of list dynamically - like a GitHub/GitLab/... scanner looking for a link to the logo -?

I have built such a one for the canary tests, but thinking this should be more curated


Modify lesson page to render course information dynamically from the database

As of now, the current lesson page has not been adapted to dynamically read and display courses and their content from the database. The HTML file just contains a tag structure for side tabs and lesson panels filled with placeholder data, but we need to configure the file so that this same structure is generated, but with actual lesson data relevant to users.
The task is to modify the current HTML page structure of lesson.html with Jinja, so that the necessary number of tabs/lesson panels are created and every container holds course information from the database. In addition, the current /lesson/<int:course_id> endpoint in main.py needs to be modified so that queried course, module, topic, and lesson data is sent to front-end.

The front-end side of things may be a bit difficult to modify, given how many separate parts need to be updated. Here's a rough outline of what needs to be changed:

Take the overall structure within lines 15 to 161 and generate it dynamically with a Jinja loop. This generates the left side tabs, and consists of a recursive tag pattern repeated for subtab groups (course name -> modules -> topics -> lessons/quizzes). Inner text should also be dynamically filled for tab titles and subtitles. For each tab level, the structure is formatted along the lines of:
<outer ul wrapper>
    <div, button, or a for the clickable tab>
        ...
    </>
    <li containing inner subtabs, if applicable>
        (repeat pattern for inner tab levels)
    </>
</>

For class="tab-lesson" li's that contain anchor tags, the href link should be the same as the tag id of whatever lesson panel it correlates to; this way, the correct panel will appear when clicking its corresponding lesson tab.

Take the overall structure within lines 169 to 359 and generate it dynamically in a similar way as the tags. Here, you just want to create individual div's for each lesson panel (no content nesting here).

There are two types of panels; text lesson panels, and video lesson panels. These contain different structures, and they are differentiated within lesson.js through the custom panel-type attribute (you should dynamically set this to "video" or "text").
The tag id of each class="panel" div should correspond to whatever href link you set in their corresponding lesson tabs (without the # in front). You can use whatever naming system you like for these id's; just make sure that it is consistent between the two structures.
I've included support for textbook file downloads within all panels; the related content is found within the class="textbook-link" div. The span contains the name of the file, while the href should point to the path of the file within the vendor folder. The file path should be structured like ../static/vendor/textbooks/<course id>/<textbook name>.pdf (for now, you can probably keep this link pointed to the sample.pdf file).
For videos within video lesson panels, the related content can be found within the class="video-wrapper" divs. The actual video files should be stored in static/vendor/lesson-videos/<course ID - 4 digits>-<moduleID - 2 digits>-<topicID - 2 digits>/, and each video should be named as video.mp4. A thumbnail png can also be included in the same folder as the video, named as thumbnail.png; its corresponding tag will be automatically generated from lesson.js. The video tag id should be named as "video-<course ID - 4 digits>-<moduleID - 2 digits>-<topicID - 2 digits>", matching the same folder structure that the video is stored in.

(More information to follow if necessary.)

interested


Couldn't able to build the installer from build.sbt

I'm trying to build the installer from build.sbt under the folder installer. But, getting errors.
To Reproduce
To reproduce try to run command sbt run under the path "\openEQUELLA\installer"
Expected behavior
This should build an installer.zip through which we can run the application.
Stacktrace
PS C:\Program Files (x86)\sbt\bin\openEQUELLA\installer> sbt package
[info] welcome to sbt 1.7.3 (Oracle Corporation Java 1.8.0_202)
[info] loading settings for project installer-build from assembly.sbt ...
[info] loading project definition from C:\Program Files (x86)\sbt\bin\openEQUELLA\Installer\project
C:\Program Files (x86)\sbt\bin\openEQUELLA\Installer\build.sbt:40: error: not found: value installerZip
installerZip := {
^
C:\Program Files (x86)\sbt\bin\openEQUELLA\Installer\build.sbt:53: error: type mismatch;
found   : Seq[(Comparable[_ >: String with java.io.File <: java.io.Serializable] with java.io.Serializable, String)]
required: Traversable[(java.io.File, String)]
IO.zip(allFiles.map(t => (t._1, s"equella-installer-2022.1.0/${t._2}")),
^
[error] Type error in expression
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)
Platform:
cloned the code from openequella repo

Using VScode

Hey there @kapil-bunni
I'd suggest you have a look at CONTRIBUTING.md as it covers details around building.
But a few things to note:

We don't really support the Windows based build - as we all pretty well build on linux - however it can be done (in theory);
Your version of SBT might be too new - not we normally use the SBT wrapper in ./sbt and that's currently at about 1.5.3; and
Lastly, if you want an installer you typically do that from the root of the repository simply with ./sbt installerZip - but note the use of the wrapper so you might just want to try sbt installerZip and if your SBT is correct you might be fine.

Let us know how you get on.

Hey @averyirin
Thanks for the detailed run through. I'll have a closer look for you. In the meantime, don't forget you can always use the CI build for reference as it also essentially sets up a docker image and then builds in it.
https://github.com/openequella/openEQUELLA/blob/develop/.github/workflows/ci.yaml

I've figured out the issue you're encountering @averyirin . It's due to attempting to build from a download of the release source rather than from a git clone.
The error you thought was related to application.conf was actually pointing to line 133 of build.conf: https://github.com/openequella/openEQUELLA/blob/2022.2.0/build.sbt#L133
You can see on this line the build is attempting to determine the git hash to include in the build version. You have two options:

(Recommended) Build from a clone and simply checkout the tag for the version you want; or
(Not recommended) Stick with the source archive method, but modify build.sbt  so that lines 133-135 are simply replaced with val shortCommit = "g1234567" (or a string of your liking) - but this could mess with things when upgrading etc.

Let us know how you get on.
(BTW. You're docker setup is correct - I validated it - you just need to address the above. Be aware there is an - unmaintained - Dockerfile for a build image at https://github.com/openequella/openEQUELLA/blob/develop/docker/docker-build/Dockerfile)

fixed : able to build installer


list_blobs / list_blob_names is returning "folder structure"

Package Name: azure-storage-blob
Package Version: 12.15.0
Operating System: Win + Linux Container
Python Version:  3.10.11

Describe the bug
list_blobs is return a list of blobs. on some storage accounts it is returning blobs only, but i have one where it also lists "folder structure".
for example:
for an item like
Aaa/bbb/ccc.txt
I get
Aaa
Aaa/bbb
Aaa/bbb/ccc.txt
To Reproduce
there is no real reproduce, because same code returns different results on storage account. the code is (simplyfied)
The starts_with is just a helper to pick one structure, the storage accounts is having tons of files, but the phenomen can be found in all structures.
    sas_token = get_blob_sastoken_account(os.getenv("AN"), os.getenv("AK"))
    account_url = f"https://{os.getenv('AN').lower()}.blob.core.windows.net"
    container = os.getenv("CONTAINER")
    starts_with = os.getenv("STARTS_WITH")

    blob_service_client = BlobServiceClient(account_url=account_url, credential=sas_token)
    container_client = blob_service_client.get_container_client(container)
    blob_list = list(container_client.list_blob_names(name_starts_with=starts_with))

    json_serialize(blob_list,f"starting-{os.getenv('AN')}.json")

Expected behavior
Only blobs returned.
Folders can not be seperated from real blobs because name or size will lead still to missmatch
Screenshots
attached a json dump of list_blobs including metadata as jsonpickle fragment showing above example, with 2 folders and the first file in the structure
Additional context
u can contact me directly via internal teams.
the-3-stooges.json

Thanks for the report @msgerneu!
@vincenttran-msft, @jalauzon-msft - is there an account level setting that would cause this?

i think i found the problem. i need some time for testing, but for now i close it.
as i synced with my collegues, they figured out it a feature "hierarchical namespace enabled"