botStats.daily is undefined

Admittedly, I'm not knowledgeable with JS, but I've followed the install instructions  in the README.md and this is what I'm getting.  Any thoughts?  The bot crashes on this.
Thanks.
@<discord_username> Tue Nov 28 2017 21:37:17 GMT-0500 (EST)
help
/home/<user>/git/nodejs/SWEotE-Discord-Dice-Roller-master/bot.js:168
      botStats.daily.help++;
               ^

TypeError: Cannot read property 'daily' of undefined
    at Client.bot.on.message (/home/<user>/git/nodejs/SWEotE-Discord-Dice-Roller-master/bot.js:168:16)
    at Client.emit (events.js:159:13)
    at MessageCreateHandler.handle (/home/<user>/git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
    at WebSocketPacketManager.handle (/home/<user>/git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:103:65)
    at WebSocketConnection.onPacket (/home/<user>/git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:330:35)
    at WebSocketConnection.onMessage (/home/<user>/git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:293:17)
    at WebSocketClient.internalOnMessage (/home/<user>/git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/uws/uws.js:103:17)
    at native.client.group.onMessage (/home/<user>/git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/uws/uws.js:57:15)

bot got recoded, delete botstats and diceresults  variable from your
firebase database and reboot
On Tue, Nov 28, 2017 at 8:59 PM, Kyle Brieden<EMAIL_ADDRESS>wrote:

Admittedly, I'm not knowledgeable with JS, but I've followed the install
instructions in the README.md and this is what I'm getting. Any thoughts?
Thanks.
@<discord_username> Tue Nov 28 2017 21:37:17 GMT-0500 (EST)
help
/home//git/nodejs/SWEotE-Discord-Dice-Roller-master/bot.js:168
botStats.daily.help++;
^
TypeError: Cannot read property 'daily' of undefined
at Client.bot.on.message (/home//git/nodejs/SWEotE-Discord-Dice-Roller-master/bot.js:168:16)
at Client.emit (events.js:159:13)
at MessageCreateHandler.handle (/home//git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
at WebSocketPacketManager.handle (/home//git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:103:65)
at WebSocketConnection.onPacket (/home//git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:330:35)
at WebSocketConnection.onMessage (/home//git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:293:17)
at WebSocketClient.internalOnMessage (/home//git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/uws/uws.js:103:17)
at native.client.group.onMessage (/home//git/nodejs/SWEotE-Discord-Dice-Roller-master/node_modules/uws/uws.js:57:15)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Astrydax/SWEotE-Discord-Dice-Roller/issues/52, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC1HeL4jqe8sitVomSSv6tp8R_NdONknks5s7MiqgaJpZM4QuWWD
.

I stood up a new firebase project for this as I've never used it before. Do you have steps to set up firebase for this?
I upgraded from a much earlier version to this latest. Something like .9?

https://github.com/SkyJedi/SWEotE-Discord-Dice-Roller
in the readme.
Sorry i gotta crash right now, i can help more in the morning though
-Sky
On Tue, Nov 28, 2017 at 9:02 PM, Kyle Brieden<EMAIL_ADDRESS>wrote:

I stood up a new firebase project for this as I've never used it before.
Do you have steps to set up firebase for this?
I upgraded from a much earlier version to this latest. Something like .9?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Astrydax/SWEotE-Discord-Dice-Roller/issues/52#issuecomment-347738232,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC1HeKb4Md17-YmuWYaGsKdlpYHTOxlpks5s7MlVgaJpZM4QuWWD
.

Oh I didn't realize there was another project on this! Thanks for the insanely quick help. I got it from here. Awesome work!


fix typos

Summary

Result

This is correct, thanks! Did you check out Angular InstantSearch too? https://community.algolia.com/angular-instantsearch/


Add e2e automated testing

Tips

Thanks very much for contributing to Apache DolphinScheduler.
Please review https://dolphinscheduler.apache.org/en-us/community/index.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds checkstyle plugin.)
Brief change log
(for example:)

Add maven-checkstyle-plugin to root pom.xml

Verify this pull request
(Please pick either of the following options)
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added dolphinscheduler-dao tests for end-to-end.
Added CronUtilsTest to verify the change.
Manually verified the change by testing locally.

Codecov Report

Merging #2005 into dev will increase coverage by 1.68%.
The diff coverage is 71.63%.

@@             Coverage Diff              @@
##                dev    #2005      +/-   ##
============================================
+ Coverage     30.28%   31.97%   +1.68%
- Complexity     1367     1512     +145
============================================
  Files           294      311      +17
  Lines         14999    15402     +403
  Branches       1806     1864      +58
============================================
+ Hits           4543     4925     +382
+ Misses        10006     9967      -39
- Partials        450      510      +60

Impacted Files
Coverage Δ
Complexity Δ

...ache/dolphinscheduler/dao/entity/TaskInstance.java
0.87% <0%> (-0.05%)
1 <0> (ø)

...hinscheduler/common/utils/TaskParametersUtils.java
73.68% <0%> (-4.1%)
11 <0> (ø)

...lphinscheduler/server/worker/task/TaskManager.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...e/dolphinscheduler/dao/entity/ProcessInstance.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...pache/dolphinscheduler/common/enums/QueryType.java
0% <0%> (ø)
0 <0> (?)

...heduler/api/controller/TaskInstanceController.java
22.22% <0%> (ø)
2 <0> (ø)
:arrow_down:

...uler/api/controller/ProcessInstanceController.java
2.43% <0%> (ø)
2 <0> (ø)
:arrow_down:

...phinscheduler/server/worker/task/AbstractTask.java
11.94% <0%> (-0.37%)
2 <0> (ø)

...common/task/sqoop/sources/SourceHiveParameter.java
100% <100%> (ø)
9 <9> (?)

...apache/dolphinscheduler/common/enums/TaskType.java
80.95% <100%> (+0.95%)
2 <0> (ø)
:arrow_down:

... and 41 more

Continue to review full report at Codecov.

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


Update blacklist.txt

source: uBlock trace: fmovies -> oload/openload -> https://vxelkrhl.info/cryptonight.wasm

It looks like it's proxying CoinHive on a random domain. Not sure if blocking all domains using proxies would make lot of sense. I will add */cryptonight.wasm to the blacklist for now until we find a proper solution, but I think it won't long last until they come up with a way around it.

Yep, I agree. Blocking random domain names is a cat and mouse game.


[Bug]: Something strange with user context in last release

The problem
Hi! I think the problem is obvious from the log file. Look for Aomei strings.
What version of WAU has the issue?
1.17.6
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 22H2 22621.2070
What version of winget are you using?
v1.5.1881
Log information
##################################################
#     CHECK FOR APP UPDATES - 29.07.2023
##################################################
11:37:13 - Running in System context
11:37:13 - Activated WAU GPO Management detected, comparing...
11:37:13 - No Changed settings detected
11:37:13 - Notification Level: Full. Notification Language: Русский
11:37:13 - Checking internet connection...
11:37:14 - Connected !
11:37:25 - Winget Version: v1.5.1881
11:37:25 - WAU current version: 1.17.6
11:37:25 - WAU AutoUpdate is Enabled.
11:37:26 - WAU is up to date.
11:37:26 - WAU uses External Lists from: GPO
11:37:26 - WAU uses Black List config
11:37:26 - Checking application updates on Winget Repository...
-> Available update : AOMEI Backupper. Current version : 7.2.2. Available version : <IP_ADDRESS>.
11:37:28 - AOMEI Backupper : Skipped upgrade because it is in the excluded app list
11:37:28 - No new update.
11:37:29 - User logged on, get a list of installed Winget apps in System context...
11:37:38 - Starting WAU in User context

##################################################
#     CHECK FOR APP UPDATES - 29.07.2023
##################################################
11:37:39 - Running in User context
11:37:39 - Notification Level: Full. Notification Language: Русский
11:37:39 - Checking internet connection...
11:37:40 - Connected !
11:37:45 - Winget Version: v1.5.1881
11:37:45 - WAU current version: 1.17.6
11:37:45 - WAU uses Black List config
11:37:45 - Checking application updates on Winget Repository...
-> Available update : AOMEI Backupper AOM. Current version : . Available version : .
11:37:48 - Updating AOMEI Backupper AOM from  to ...
11:37:51 - ##########   WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'EI.Backupper 7.2.2'   ##########
11:37:51 - -> Running: Winget upgrade --id EI.Backupper 7.2.2 --accept-package-agreements --accept-source-agreements -h

   -
   \
   |
   /
   -
   \

   -
   \

Не найдены установленные пакеты, соответствующие введенным условиям.
11:38:02 - -> An upgrade for AOMEI Backupper AOM failed, now trying an install instead...
11:38:02 - -> Running: Winget install --id EI.Backupper 7.2.2 --accept-package-agreements --accept-source-agreements --force -h

   -
   \
   |
   /
   -
   \

Не найдены пакеты, совпадающие с введенными условиями.
11:38:06 - ##########   WINGET UPGRADE PROCESS FINISHED FOR APPLICATION ID 'EI.Backupper 7.2.2'   ##########
11:38:06 - AOMEI Backupper AOM update failed.
11:38:09 - No new update.
11:38:09 - End of process!

Additional information
No response

Hi. I don't have any issu on my side. Could you run winget upgrade in your user context and share with us the output? Maybe this is due to special characters

PS C:\Users\ЕЕ> winget upgrade
Имя             ИД              Версия Доступно Источник
AOMEI Backupper AOMEI.Backupper 7.2.2  <IP_ADDRESS>  winget
Доступны обновления: 1.

Hi. @guzy0324 fixes the issue. Could you try with the latest pre-release please?
https://github.com/Romanitho/Winget-AutoUpdate/releases/tag/v1.17.7-0
If everything is OK, I'll publish new stable release.

Yes, no errors today.

Ok, thanks guys for works and tests ;)


Balance colors mathematically instead of by hand

One thing I instantly liked was the beautiful default sets of colors. Then I got disappointed by the fact that they are blanaced by the eye and not mathematically.

A common question we get is "how do I generate the 100–900 shades of my own custom colors?".
Bad news: color is complicated and we've yet to find a tool that does a good job generating these sorts of color palettes. We picked all of Tailwind's default colors by hand, balancing them by eye. Sorry!

Before using Tailwind (yesterday) I always got back to https://colors.eva.design/ for colors. It's really great and has exactly 9 shaded.
Just add the 500 color in the input and you will get the other 8 shades.

Cons
The only downside is that the shade 100 is not always as bright as we may need.
My suggestions is to keep the beautiful color set, but just tweak them to be mathematically correct.

but just tweak them to be mathematically correct.

Can you please define what you mean by "mathematically correct"?
We've tried every color generation tool out there and they all give poor results for real UIs. Our colors (especially the new ones that will come in 2.0 and are being tested in Tailwind UI) are very meticulously picked and tested in dozens of real-world UI scenarios to make sure the colors are actually useful for solving real problems. We also validate our choices by comparing all of the colors in the CIELAB color space to make sure there are no obvious deviations from the expected trends across the shades.
You can of course change the colors, too:
https://tailwindcss.com/docs/customizing-colors

Here's a useful blog post on designing color systems by Stripe that covers the same general approach we use to choosing colors:
https://stripe.com/en-ca/blog/accessible-color-systems
I wish you could just plug a number into a calculator and get a perfect set of colors but it doesn't work that way (or at least no one has built anything that does it well yet).

@adamwathan You always provide great info to each of my questions. Thanks for that! 👍
That blog post proves quite well your point of view. The color curves goes at any direction so I understand it better now.
I'm not really sure, but maybe LCH colors (future css) is a better color format for things like this? http://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/
Interesting that you actually do have a color 50 in the new palette (feeling like home). 👍
I'm with you on this approach now and because we can extend colors to anything we want, I'm closing this now.

For those who wants a good tool:
https://vis4.net/palettes/#/9|s|00429d,96ffea,ffffe0|ffffe0,ff005e,93003a|1|1
I manage to create some really good looking palettes with that using two or three colors (lighter, middle, darker).
Create by @gka (https://github.com/gka)


Added cluedo

(https://github.com/edm00se/awesome-board-games/pull/63)
Submitting this PR means you have:

[x] searched the readme file and searched the open pull requests (no duplicates please)
[x] and will follow the desired format
[x] used image links that resolve correctly, are appropriately sized, and are served over HTTPS

Once your PR is created, it will trigger a build on Travis CI. This includes a format linting process, so if there are any issues with the build, please address them.
Do you have further questions? Check the contribution guidelines or open an issue.
When you're ready, check off the above acknowledgements and continue with your Pull Request... and thanks!

Thanks for contributing!


Remove explicit Jessie from sources.list

Hi, as per request, I now have removed the http://ftp.de.debian.org.debian jessie from sources.list,
which came in from the rocker/rstudio image. I also commented out the change to mirrors.kernel.org which was not applicable anymore, this can be removed in the future. Yours, Steffen

There is no point in modifying any file in the out directory, these are generated by the default rake target.  Having said that, I will accept this PR.


Develop and apply some code conventions (including null handling)

Now that we've got Gestalt merged it is time to do some more cleanup.
Our usual code analytics config files are in place and I figure we'll follow the Terasology guidelines overall. Thanks to DestSol's smaller size we might be able to turn up the heat on the analytics detail and start using other sites and services that are more effort intensive to deal with in Terasology land.

Decrease warning tolerances, maybe especially for Javadoc (Terasology's style is still pretty lenient since the slightest increase in warnings swamps the stats somewhat)
Consider null handling like #130 and related discussion tried to (mostly on Slack?) - should we mandate that in a code convention after we sort out the details? It already has an entry in the PR template so we should do something with it
Consider https://www.codefactor.io and related sites
Consider newer options available via Jenkins, especially the more flexible commit status tweaking available via Jenkins pipeline / Jenkinsfile

Note this scary plea in the wiki:

PLEASE DON'T USE THESE. Currently, this project aims to reduce amount of these as much as possible, by proper null policies.


@conda-forge-admin, please add bot automerge

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/uhd-feedstock#9.


Create branch for testing : switch from piptools to uv

Create a feature branch to test switching from using piptools to uv.
Test speed/performance gains between the two.
Identify any "gotchas" for the team regarding the switch.

Origin story:
Calvin spoke with Michael Kennedy and he loved the experience, he had one optimization that I think we should try to do, replace our usage of piptools with uv. He said it will be a non-trivial speedup and if we are showcasing fast, this is the way.
Glenn's concerns:

I'm not clear on the whole process for generating pins with it though.    I basically just uv venv then cd . to activate it through my cd hook, then uv pip install somepackage==3.2.1`  uv pip install -r requirements.txt Basically I saw it as a replacement for python -m venv .venv with a wrapper for pip.  Does it speed up pip-tools for compiling our .in's ?   Also, maybe we can use the .envrc to alias pip to uv pip.

This includes an example of a major speedup of the pip-tools compile and I switch most every other usage of pip install with uv pip install and all is faster.


[move-prover] Minor change to make generated SMT usable by CVC4 when using array th…

We use initialized arrays in our boogie model.  This is a non-standard SMT-LIB feature that is supported to various extents by solvers.  Z3 allows an array to be initialized with a variable, but CVC4 only allows initialization with a constant.  Since our default values are effectively constants, I replaced the variables by functions returning constants.  The new encoding works for both solvers.

@bors-libra r+

:pushpin: Commit 1853f42 has been approved by cbarrettfb

:hourglass: Testing commit 1853f42f00dd5cc744764bd2fc2dd4d081647393 with merge 891640aadf021052da9b13beaabbb46fe8d1438b...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: cbarrettfb
Pushing 891640aadf021052da9b13beaabbb46fe8d1438b to master...


Make shell completion prioritize option values over new options

Swap the order of checks in _resolve_incomplete so that we first check to see if we're completing an option value before detecting if we're completing a new option name. Allows option values that start with non-alphanumeric characters to complete rather than treating them like new options.

fixes #2040
related to #1930

Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[x] Add or update relevant docs, in the docs folder and in code.
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[x] Add .. versionchanged:: entries in any relevant code docs.
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

How does this affect options without values?

How does this affect options without values?

Flag options are unaffected (_is_incomplete_option returns False early if is_flag).
Count options do end up unintentionally taking over the completion for the next arg. That could be easily fixed by extending the previously mentioned is_flag check to if param.is_flag or param.count.
Are there other kinds of options without values? Those are the only two cases I've seen in the documentation.

Ah, I guess there's also options with optional values. This change also makes claim the next arg for completion. If I understand correctly, the parser collects all of the possible prefixes from each option and then decides whether an arg is an optional value vs. another option based on those prefixes.
Should the shell_completions do the same, using the collected prefixes from the parser?

@davidism I pushed a rewrite of the fix to instead grab the opt_prefixes from the parser and store them into the context. Then the shell completion can use that information to more closely match what the parser will do.

How does this affect options without values?

The new implementation should treat them the same as the parser: if the incomplete string starts with a symbol used by any of the options, it will complete as a new option. Otherwise, it will complete as the value of the current option. See the added tests in test_shell_completion.py.

Hi @davidism is there any interest in this PR or anything else I could help answer about it?


Error in pure contract example?

This line here looks like it should be a call to foo() instead. There is noSecretFunc defined anywhere.

Yes, thank you, I'll fix it.

Wow, it looks really broken.

Does it look better now?

Now both examples under "Pure in detail" look the same except that one claims "The compiler cannot reason about this!" while the other claims it throws an error. Which one is it?


⚠ GitHub has degraded performance

In 7ea7b1c, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 189 ms

Resolved: GitHub performance has improved in 7de8768 after 15 minutes.


General improvement suggestions

See commit messages for detailed information.

Thank you very much Romshark, i really thank your contribution 😀😀😀


SWorld Corruption Issues

Multiple players have reported their shulkers turning into blocks such as wood planks, dirt, stone etc, LG logs show the block has actions such as: _____ was added to pink shulker, Not sure the cause but it's occuring more and more often.

It's not something we can prevent, storage in Minecraft is limited by soft-locking on region files during crashes/timeouts. They have to be addressed on a case by case.


mac-10 & mac-26 lost external connection phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-10 & mac-26 lost external connection phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting machines to restore both connections.


Include static code analysis mechanism

Describe the solution you'd like
Tool: cpplint worked well for me previously.
Code analysis should be carried out in GH Actions and marked with a shield in the README.

Finished in 4fb08f3


Move single header to a separate folder

Description
It is much better for tests and examples to directly depend on the original sources as errors and warnings are properly reported.
Previously, errors are warnings were reported against the single include, but had to be fixed in doctest_fwd.h and doctest.cpp.
The C++ and CMake part are done properly, the python scripts and CI that may need changing to accommodate for this change. They need to push the new single include.

Now, doctest/doctest.h is very small file including the other two, and the single include is moved to single_include/doctest/doctest.h

@dimztimz Hi! This was actually a long-standing pain-problem for me!
I haven't looked entirely into the PR but on first thought I'm a bit hesitant to accept this.
I'm not sure I want to go the route of catch and have 2 headers with the same name, where one is in a single_include folder which is the actual final thing, and a separate one which includes the parts which is in the default location. It's a breaking change how users consume the library (the single header version will be moved to single_include.
I see that the single header is at least always rebuilt, just like before, but the example targets don't depend on the assemble_single_header target anymore and standard CMake macros/functions are used for adding targets (libraries, executables).
One thought that occurred to me is that the final header might remain where it used to be, but the examples could be using a header (which includes the 2 parts) from a different place just for development purposes - just like there is an "out of sight" special source file part of the examples located in scripts which isn't meant to showcase proper use of the library. That way only an include path has to be special for the examples and they still won't need to depend on the assemble_single_header target. That include path might be provided either by overriding the add_library macro, or just provided globally (even though that isn't "modern" CMake).
I'll have to think about this... some other opinions would be appreciated as well.
Aaand I wrote you an e-mail a few hours ago at<EMAIL_ADDRESS>- is that you?

It's a breaking change how users consume the library (the single header version will be moved to single_include.
It is a braking change only for the users who are consuming the single header directly from the source tree from the branch master with wget, curl, or similar. These users should not be doing this in the first place, as they lose their deterministic builds. At least they should be downloading from a tag.

The following users won't be affected:

users who are downloading the whole source tree in some way (e.g. git submodule),
users who are using the installed version with make install,
users who are using it from package manager, or
users who are downloading from the releases page.

One thought that occurred to me is that the final header might remain where it used to be

IMO it is a bad idea to keep generated source code along the real source files.

but the examples could be using a header (which includes the 2 parts) from a different place just for development purposes - just like there is an "out of sight" special source file part of the examples located in scripts which isn't meant to showcase proper use of the library. That way only an include path has to be special for the examples and they still won't need to depend on the assemble_single_header target. That include path might be provided either by overriding the add_library macro, or just provided globally (even though that isn't "modern" CMake).

Seems like overly complicated to me.
With this change we achieve the following:

Noticeably increased maintainability
Unaffected usability, except that small percent of the users will need to change a single line in their code.

CI finally passed.

There's another use case, which I personally employ often: Plain old copy doctest.h in my repo and use it from there.
Granted, it's not a huge effort to copy two files instead of one and the increased maintainability is indeed an appealing argument.
I'd personally suggest taking a bit from both:
Change the examples to use the dual file setup and the docs to suggest it. Change the unified file to include both. But! Make a CMake install step which generates a unified file and still deploy the unified file in releases as another downloadable asset besides the zipped sources from the repo.

@iboB That is already handled. Give a closer look in the folder single_include.

Sorry this is taking so long. I have a bunch of other things to do and am not 100% sold on the idea here.
One thing that occurred to me is that I could use #line directives in the final doctest.h header to point to the actual 2 parts so errors/warnings are properly reported for the right files and lines. These #line directives could be #ifdefed and be in effect only when NOT (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) (meaning the doctest CMake project is not a subproject but actually the main CMake project for which build files are generated for).
I recognize that this is even more complicated - your solution is certainly more clean and doesn't require the use of custom add_library macros for setting the dependency on the assemble_single_header target. I guess for some reason I really don't like having 2 files named doctest.h in the repo.
I'll think about this a bit more.

Well another solution is to not generate the single header in the source tree. Instead, generate it in the build tree and on make install install the single header. This way you will not have two files doctest.h.
If you ask me this way is the most clean way, source files go to source dir and everything generated goes to build dir.

I decided to merge this, but I'll change a few things after that:

the final single include header will be in the old place - in the doctest folder and not in a single_include folder (even though https://github.com/nlohmann/json does it just like Catch...)
when CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR tests/examples will use a doctest.h header located somewhere out-of-sight in the scripts folder which includes the 2 parts so development of doctest is easier.

this way users won't be wondering which header to use because the "dev" one will be hidden.


WIP: Put repeated code in a function

Reference issue
Following #9525 #9523
What does this implement/fix?
I noted some repeated code and put it in a function in utils
Additional information
There are lots of checking code already. Does something already exist to do this check?

This is ready for another review.

Ops I forgot about this PR. I completely agree with drammock and will implement his changes in the coming days.

Re-titled so that nobody accidentally merges in the meantime

Ok I think I addressed all comments. @larsoner, ready for review again. Thanks

Thanks @rob-luke !


add program for binary search in javascript

place your source code in the javascript folder

Assign to me

Done
https://github.com/tornado-12/learn-to-code/pull/77

Assign to me

Assign to me

Assign to me


Multiple row-of-values bound with parameterised query do not work as expected

Hi,
We are testing ClickHouse using ODBC-driver on Windows 10 (ClickHouse server version <IP_ADDRESS> on a docker).
We need array-binding (arrayDML) functionality (multiple row-of-values bound with a parameterised query), but it seems, that it does not work as expected.
A simple test with 3 rows of data bound to the INSERT statement ends up with only the first row of data being inserted (expected are three inserted rows).
See the below simple code, that is able to replicate the issue.
First, lets create a table:
CREATE TABLE test.drv04_array_dml(
  ID int not null,
  c_event_date date,
  dec28_8 DECIMAL( 28, 8 ),
  dec38_8 DECIMAL( 38, 3 )
) engine = MergeTree PARTITION BY toYYYYMM(c_event_date ) ORDER BY (ID, c_event_date)  SETTINGS index_granularity = 8192;

And here is the code:
#include <stdio.h>
#if defined(_MSC_VER)
#  include <windows.h>
#  include <tchar.h>
#endif
#include <sql.h>
#include <sqlext.h>

SQLHENV     g_hEnvironment;
SQLHDBC     g_hConnection;
SQLHSTMT    g_hStmt;

void print_error(
   SQLSMALLINT       a_nHandleType,
   SQLHANDLE         a_hHandle,
   SQLRETURN         a_nReturned,
   const char*       ac_szWhere
) {
   SQLINTEGER nNtvErrCode;
   SQLCHAR txtNtvErrMsg[SQL_MAX_MESSAGE_LENGTH];
   SQLSTATE txtSQLState;
   SQLSMALLINT nNtvErrMsg_len;
   SQLSMALLINT nMessageNo = 1;
   int nThereAreMore = 1;

   printf( "\n!!\n" );
   printf( "!! error occurred, details ... \n" );
   printf( "!!   error code == %d, where == %s\n", a_nReturned, ac_szWhere );
   printf( "!!\n" );

   do {
      switch( SQLGetDiagRec( a_nHandleType, a_hHandle, nMessageNo++, txtSQLState, &nNtvErrCode, txtNtvErrMsg, SQL_MAX_MESSAGE_LENGTH, &nNtvErrMsg_len ) ) {
         case SQL_SUCCESS: {
            // txtSQLState is five-character SQLSTATE code (according to docs, it should be terminated with NULL, but on linux it is not)
            txtSQLState[SQL_SQLSTATE_SIZE] = '\0';

            printf( "!! nMessageNo : %d ---\n", nMessageNo - 1 );
            printf( "!! SQLSTATE   : %s\n", txtSQLState );
            printf( "!! ntvErrCode : %ld\n", ( long ) nNtvErrCode );
            printf( "!! NtvErrorMsg: %s\n", txtNtvErrMsg );
            break;
         }
         default:
         case SQL_NO_DATA: {
            nThereAreMore = 0;
            break;
         }
      }
   } while( nThereAreMore );
}

void print_error_and_exit(
   SQLSMALLINT       a_nHandleType,
   SQLHANDLE         a_hHandle,
   SQLRETURN         a_nReturned,
   const char* ac_szWhere
) {
   print_error( a_nHandleType, a_hHandle, a_nReturned, ac_szWhere );
   exit( -1 );
}

void print_error_and_exit_conn( SQLRETURN a_nReturned, const char* ac_szWhere )
{
   print_error_and_exit( SQL_HANDLE_DBC, g_hConnection, a_nReturned, ac_szWhere );
}

void print_error_and_exit_env( SQLRETURN a_nReturned, const char* ac_szWhere )
{
   print_error_and_exit( SQL_HANDLE_ENV, g_hEnvironment, a_nReturned, ac_szWhere );
}

void print_error_and_exit_stmt( SQLHSTMT a_hStmt, SQLRETURN a_nReturned, const char* ac_szWhere )
{
   print_error_and_exit( SQL_HANDLE_STMT, a_hStmt, a_nReturned, ac_szWhere );
}

int main( int argc, char** argv ) {

   SQLCHAR szDSN[] = "test";
   SQLCHAR szUser[] = "test";
   SQLCHAR szPassword[] = "test";
   SQLCHAR szStmt[] = "INSERT INTO test.drv04_array_dml (ID, dec38_8, dec28_8 ) VALUES ( ?, ?, ? )";

   SQLRETURN nReturned = SQLAllocHandle( SQL_HANDLE_ENV, SQL_NULL_HANDLE, &g_hEnvironment );
   if( nReturned != SQL_SUCCESS && nReturned != SQL_SUCCESS_WITH_INFO )
      print_error_and_exit_env( nReturned, "handle alloc" );

   nReturned = SQLSetEnvAttr( g_hEnvironment, SQL_ATTR_ODBC_VERSION, ( SQLPOINTER ) SQL_OV_ODBC3, 0 );
   if( nReturned != SQL_SUCCESS && nReturned != SQL_SUCCESS_WITH_INFO )
      print_error_and_exit_env( nReturned, "env handle alloc" );

   nReturned = SQLAllocHandle( SQL_HANDLE_DBC, g_hEnvironment, &g_hConnection );
   if( nReturned != SQL_SUCCESS && nReturned != SQL_SUCCESS_WITH_INFO )
      print_error_and_exit_env( nReturned, "dbc handle alloc" );

   nReturned = SQLConnect( g_hConnection, szDSN, SQL_NTS, szUser, SQL_NTS, szPassword, SQL_NTS );
   if( nReturned != SQL_SUCCESS && nReturned != SQL_SUCCESS_WITH_INFO )
      print_error_and_exit_conn( nReturned, "connection establishing" );

   int nP1_buffer[3] = { 1, 2, 3 };
   SQLLEN nP1_arrIndOrLen[3] = { 0, 0, 0 };
   SQLCHAR chP2_buffer[3][10] = { "1", "2", "3" };
   SQLLEN nP2_arrIndOrLen[3] = { SQL_NTS, SQL_NTS, SQL_NTS };
   SQLCHAR chP3_buffer[3][10] = { "1", "2", "3" };
   SQLLEN nP3_arrIndOrLen[3] = { SQL_NTS, SQL_NTS, SQL_NTS };

   nReturned = SQLAllocHandle( SQL_HANDLE_STMT, g_hConnection, &g_hStmt );
   if( nReturned != SQL_SUCCESS && nReturned != SQL_SUCCESS_WITH_INFO )
      print_error_and_exit_conn( nReturned, "SQLAllocHandle SQL_HANDLE_STMT" );

   nReturned = SQLPrepare( g_hStmt, ( SQLCHAR* ) ( szStmt ), SQL_NTS );
   if( nReturned != SQL_SUCCESS && nReturned != SQL_SUCCESS_WITH_INFO )
      print_error_and_exit_stmt( g_hStmt, nReturned, "SQLPrepare" );

   nReturned = SQLSetStmtAttr( g_hStmt, SQL_ATTR_PARAMSET_SIZE, ( SQLPOINTER ) 3, 0 );
   if( nReturned != SQL_SUCCESS )
      print_error_and_exit_stmt( g_hStmt, nReturned, "SQLSetStmtAttr" );

   nReturned = SQLBindParameter(
      g_hStmt, 1, SQL_PARAM_INPUT, SQL_INTEGER, SQL_INTEGER, 10, 10,
      nP1_buffer, -1, nP1_arrIndOrLen
   );
   if( nReturned != SQL_SUCCESS )
      print_error_and_exit_stmt( g_hStmt, nReturned, "SQLBindParameter p1" );

   nReturned = SQLBindParameter(
      g_hStmt, 2, SQL_PARAM_INPUT, SQL_C_CHAR, SQL_DECIMAL, 38, 8,
      chP2_buffer, 10, nP2_arrIndOrLen
   );
   if( nReturned != SQL_SUCCESS )
      print_error_and_exit_stmt( g_hStmt, nReturned, "SQLBindParameter p2" );

   nReturned = SQLBindParameter(
      g_hStmt, 3, SQL_PARAM_INPUT, SQL_C_CHAR, SQL_DECIMAL, 28, 8,
      chP3_buffer, 10, nP3_arrIndOrLen
   );
   if( nReturned != SQL_SUCCESS )
      print_error_and_exit_stmt( g_hStmt, nReturned, "SQLBindParameter p3" );

   nReturned = SQLExecute( g_hStmt );
   if( nReturned != SQL_SUCCESS ) {
      print_error( SQL_HANDLE_STMT, g_hStmt, nReturned, "SQLExecute" );
      nReturned = SQLFreeHandle( SQL_HANDLE_STMT, g_hStmt );
      return 1;
   }

   // free the handles (code omitted)

   return 0;
}

The above code always inserts only the 1st row:
:) select * from test.drv04_array_dml;
┌─ID─┬─c_event_date─┬────dec28_8─┬─dec38_8─┐
│  1 │   1970-01-01 │ 1.00000000 │   1.000 │
└────┴──────────────┴────────────┴─────────┘

while expected are three rows, like below:
:) select * from test.drv04_array_dml;
┌─ID─┬─c_event_date─┬────dec28_8─┬─dec38_8─┐
│  1 │   1970-01-01 │ 1.00000000 │   1.000 │
└────┴──────────────┴────────────┴─────────┘
┌─ID─┬─c_event_date─┬────dec28_8─┬─dec38_8─┐
│  2 │   1970-01-01 │ 2.00000000 │   2.000 │
└────┴──────────────┴────────────┴─────────┘
┌─ID─┬─c_event_date─┬────dec28_8─┬─dec38_8─┐
│  3 │   1970-01-01 │ 3.00000000 │   3.000 │
└────┴──────────────┴────────────┴─────────┘

3 rows in set. Elapsed: 16.9981ms

Maybe am doing something wrong, but it has been successfully tested on other DBMS and its odbc-driver ... could you check this please ?
Regards,
Marek Ćwikliński

I believe, after SQLExecute you need to call one SQLMoreResults(...) for each next parameter value set (and fetch data in between those calls for each respective result set).

Hi,
Thank you for your suggestion.
I used one SQLMoreResults(...) for each next parameter value set as you suggested, like below:
   nReturned = SQLExecute( hStmt );
   if( nReturned != SQL_SUCCESS ) {
      print_error( SQL_HANDLE_STMT, hStmt, nReturned, "SQLExecute" );
      nReturned = SQLFreeHandle( SQL_HANDLE_STMT, hStmt );
      return 1;   // have an error
   }

   nReturned = SQLMoreResults( hStmt );
   if( nReturned != SQL_SUCCESS )
      print_error_and_exit_stmt( hStmt, nReturned, "SQLFreeHandle(SQL_HANDLE_STMT)" );

   nReturned = SQLMoreResults( hStmt );
   if( nReturned != SQL_SUCCESS )
      print_error_and_exit_stmt( hStmt, nReturned, "SQLFreeHandle(SQL_HANDLE_STMT)" );

Unfortunatelly, the table test.drv04_array_dml contains the below rows (see output from chc):
chc (ClickHouse CLI portable) v0.1.6
Connecting to database default at localhost:8123 as user test.
Connected to ClickHouse server version <IP_ADDRESS>.

:) select * from test.drv04_array_dml;
┌─ID─┬─c_event_date─┬────dec28_8─┬─dec38_8─┐
│  1 │   1970-01-01 │ 1.00000000 │   1.000 │
│  1 │   1970-01-01 │ 1.00000000 │   1.000 │
│  1 │   1970-01-01 │ 1.00000000 │   1.000 │
└────┴──────────────┴────────────┴─────────┘

3 rows in set. Elapsed: 14.9949ms

As you can see, the row set contains tripled first row while expected are three different rows.
Or perhaps, you see something wrong in my code.
Regards,
Marek

Could you please try the branch from this PR: #325 ?

Hi,
I've tested the PR #325 and it works fine. The table contains as many rows as it was expected.
But I have a question.
I've tried to use SQLRowCount after each SQLMoreResults, but it always returns 0.
See my code:
   SQLLEN nRowCount, nRowCount_all = 0;
   nReturned = SQLExecute( hStmt );
   if( nReturned != SQL_SUCCESS ) {
      print_error( SQL_HANDLE_STMT, hStmt, nReturned, "SQLExecute" );
      nReturned = SQLFreeHandle( SQL_HANDLE_STMT, hStmt );
      return 1;   // have an error
   }

   while( nReturned == SQL_SUCCESS ) {
      nReturned = SQLRowCount( hStmt, &nRowCount );
      if( nReturned != SQL_SUCCESS )
         print_error_and_exit_stmt( hStmt, nReturned, "SQLRowCount" );
      nRowCount_all += nRowCount;

      nReturned = SQLMoreResults( hStmt );
   }
   if( nReturned == SQL_NO_DATA ) {
      // ok - end of iteration
   }
   else {
      print_error_and_exit_stmt( hStmt, nReturned, "SQLMoreResults" );
   }

   // here :: nRowCount_all is always equal to ZERO

I expected, that the "nRowCount_all" should be equal to the number of rows INERTEd, but it is not.
Could you please help with this?
Regards,
Marek

@CMa72 that's a quirk of the current implementation of the driver and the protocol it uses: it is not able to detect the number of affected rows by INSERT/UPDATE/'DELETE' and for SELECT will report the correct number only after the entire result set was fully fetched. I don't see an easy way to implement it right now. If it is important for you, feel free to open a separate issue, and we will track that there.

Thank you for your support.
Could you provide estimated date of the official release containing this patch?

The new version with the fix was released: v<IP_ADDRESS>01226


add gaoran10 as owner

add gaoran10 as owner

This is a duplicated of #146

This is a duplicated of #146


[idea for task] Authorship verification in a swapping scenario

Authorship verification is the task of deciding whether two given texts have been written by the same author based on comparing the texts' writing styles. [PAN]
A naive approach might be to identify words that a given author uses relatively often. However, this might also include topic-related words. If someone else writes about the same topic, or the same author writes about a different topic, this method will likely fail.
Example:
Different author - same topic: Harry Potter waited for the Muggels to leave. - Harry Potter alloweth the sir to passeth.
Same author - different topic: Harry Potter was walking down the street. - James Bond ordered a Martini.
In Bischoff et al., we studied such a scenario by the name of swapping. As a corpus, we use fanfictions scraped from fanfiction.net (i.e. stories written by fans that are based on fandoms, e.g. “Harry Potter”). The fandom labels are used to compile a “difficult” swapping dataset. The advantage is that we have clear author and fandom labels and that many authors contributed in multiple fandoms, i.e. we can generate difficult positive verification tasks (same author - different topic).
This task might be especially interesting as we suspect that many language models might (internally) eliminate non-topic author style features, resulting in a bad performance on the swapped dataset.
We see some potential issues here:

Copyright
Data is from the internet
We are not (yet) sure on how to clearly disclose the task to the language model using the context. Is simply asking “Are these texts written by the same author?” sufficient? Or should we be more imperative, e.g. “Determine whether these texts are written by the same author by comparing the writing styles.”?
It would also be possible to formulate each task by giving a text and two more texts as choices (one positive, i.e. same author, and one negative, i.e. different author). This way, we could avoid a calibration issue where the language model would otherwise have to assume the a-priori probability of same authorship. However, disclosing the task to the language model might get even more complicated.

Comments are very much appreciated!

#369 implements this task.


fix null type in result set will be cast to tinyint (#37019)

pick from master #37019

run buildal

run buildall


Crashes when opening Tools menu

The crash says "TypeError: e.hash is undefined". The traceback is gibberish.
Occurs both in Chrome 115 and Firefox 115.

The immediate problem is #955, but this is a longstanding problem when I basically have no error handling for a few paths (e.g. unable to get the version number), so I'm going to leave it open.


Support JWT "aud" (audience) claim

Motivation
We are using Nexus with a custom API Gateway ("API") which itself uses the Nexus Keycloak ("Keycloak") to issue API tokens. The motivation behind this is to restrict access and channel specific users through the API, which also provides domain-specific use-cases. The API Gateway should however preserve the original user identity in face of Nexus Delta, such that access remains transparent (i.e. identities, access permissions and histories stay the same within Delta).
In order to implement this, we tested the following method:

API tokens are issued with specific "aud" claim ("api-gateway")
API rejects tokens which were not issued for this audience
API uses Keycloak OIDC Token Exchange (see https://www.keycloak.org/docs/latest/securing_apps/#_token-exchange) to fetch a valid Nexus Delta Token for the given user identity using the API access token ("exchange API token with Nexus token for the given user identity")

This works surprisingly well. However the problem we are facing is that tokens issued for the API are also accepted as valid tokens on Nexus Delta (and of course Nexus Fusion/CLI). This happens because Nexus Delta currently accepts any token issued by the configured Keycloak server.
Proposed solution
Implementing support for the "aud" claim when checking the access token within Nexus Delta would allow 3rd party integrator applications (like our API) to use Keycloak in this manner, while not changing any of the key infrastructure mechanisms.

Implement configuration option to force audience checks
Implement support for "aud" claim according to https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.3 (could be implemented as optional if no configuration is given)

Checking for a valid audience could be added to the current token check. If the given audience(s) are not within the configured values, the token is rejected.

From what I've read about audience claim in the JWT token, it is an optional field and its function is application specific.
That said, we could have in our configuration the following:
app {
   ...
   identities {
      ....
      acceptedAudiences = ["a", "b"]
   }
}

And when the JWT token is used, Nexus will also check if some of the strings contained in the aud JWT are also contained in the configuration.
If the configuration app.identities.acceptedAudiences = [] then the aud field in the JWT token is being ignored.

The other option is to have the acceptedAudiences configured by the realm and not by static configuration.

The other option is to have the acceptedAudiences configured by the realm and not by static configuration.

In our use case, application access and realm users are independent of each other, i.e. different users in the same realm have different access to applications. So configuration per realm would not work (if this is what you meant). The solution in https://github.com/BlueBrain/nexus/issues/2546#issuecomment-880689671 however would work perfectly fine.

If the first solution would work for you, the second solution should work too:

Solution 1 defines a global acceptedAudiences for all the delta app (regardless of the realm)
Solution 2 defines an acceptedAudiences per realm. If you want to achieve the same results as in 1) you just need to define the same acceptedAudiences across all your realms.

Is there something I'm missing, @kaij ?


upgrade component server

Upgrading to latest component server

@tvijverb huge shoutout on this one!! It's awesome.


monitor

Hi, thanks for sharing library. Is there a way to read screen size via DMA?
Thanks

Paths  under HKLM\SYSTEM\ doesn't seems to work tried quite a few, also under software all paths doesn't seem to work.

You can read it by using HIVE from VMMDll "VMMDLL_WinReg_HiveList"
example usage then: '0x\ROOT\Key\SubKey'

will try, thanks. Know a way to read monitor size?  Or if there is a way to call GetWindowRect

I don't know, you'll have to find something yourself


Request for Peloton (onepeloton.com)

Checklist

[x] I'm reporting a new site support request
[x] I've verified that I'm running youtube-dl version 2019.07.16
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that none of provided URLs violate any copyrights
[x] I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Single video: https://members.onepeloton.com/classes/player/8c0e096db35e4340843363e3fa78d6e9
Single video 2: https://members.onepeloton.com/classes/player/a495cf0139d44d3ea813e925af730cec

Description

I have an account with Peloton, (onepeloton.com) but would like to download classes for when I am without internet for offline viewing. Sign-In page is located at https://members.onepeloton.com/login.
As this site does need credentials, I am happy to do the testing for you or provide results. Just let me know how I can be of help!

@dstftw whats the best way to send credentials and to whom do I send them to?

Is there anything else needed for this request? It's been 5 months. Want to make sure it's still on your radar.


Problem volume mounting on Windows Docker Machine

When I run:
docker run ... -v /var/consul/data:/data ...
I get:
"invalid value "C:\Program Files\Git\var\consul\data;C:\Program Files\Git\data;rw" for flag -v: bad mode specified: \Program Files\Git\data;rw"
It appears the docker CLI for windows is translating the paths to windows paths and then the colons following drive letters are interpreted as delimiters for the -v parameter.

Yes, git bash does some munging of the paths to ensure compatibility with UNIX programs, so it doesn't get literally translated.  If you truly want /var/consul/data in the VM to be mounted into the container, you could just run the docker command in question while docker-machine sshed into your VM.

I did exactly that as a workaround, then later discovered that I could quote my paths and start with a double slash (e.g. "//var/consule/data") to prevent the translation.
It might be worth adding some notes somewhere in doc about caveats to running docker-machine on windows for those like myself that are less-experienced with git bash and such.

Oh, that's a nice trick.  I hadn't thought of that.  I do think a document with suggestions for Windows / the general setup is a good idea.


Filtering Known Labeled Functions

In a Ghidra script how do I list all functions in a program except for ones that have been named/labeled as known statically compiled functions? (e.g malloc).

In a Ghidra script how do I list all functions in a program except for ones that have been named/labeled as known statically compiled functions? (e.g malloc).

You would need to iterate over all the functions and check their source type. Any source type with lower priority than SourceType.IMPORTED should be what you are looking for.
Here is a simple example.
private List<Function> getUnNamedFunctions() {
    FunctionManager functionManager = currentProgram.getFunctionManager();
    ArrayList<Function> functions = new ArrayList<>(functionManager.getFunctionCount());
    for (Function function : functionManager.getFunctions(true)) {
        if (function.getSignatureSource().isLowerPriorityThan(SourceType.IMPORTED)) {
            functions.add(function);
        }
    }
    functions.trimToSize();
    return functions;
}

private List getUnNamedFunctions() {
FunctionManager functionManager = currentProgram.getFunctionManager();
ArrayList functions = new ArrayList<>(functionManager.getFunctionCount());
for (Function function : functionManager.getFunctions(true)) {
if (function.getSignatureSource().isLowerPriorityThan(SourceType.IMPORTED)) {
functions.add(function);
}
}
functions.trimToSize();
return functions;
}

Andrew, thanks for the explanation and example!


Large repo migration failed

Gitea version (or commit ref): 1.12
Git version: 2.24.1
Operating system: Ubuntu 18.04
Database (use [x]):

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

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

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

Log gist:

Description
always get "Connection closed by <IP_ADDRESS> port 40246 [preauth]" when migration almost finished.
...

Could you please post some relevant logs from Gitea? Also, where are you migrating from?

nope, because I recreated the container using sqlite instead. In sqlite, it also failed several times but it eventually works. Not sure what caused it, maybe I changed postgres version to 12 if that makes any difference.
Here is the repo https://github.com/danielmiessler/SecLists

This is likely a timeout issue: https://docs.gitea.io/en-us/config-cheat-sheet/#git-timeout-settings-git-timeout
In particular the MIGRATE setting.
@finzzz without logs and without a way to definitively reproduce I'm not sure we will be able to move this issue further forward.

I'm closing this issue as no further action has been taken since June.


chore(deps): update dependency webpack-cli to v3.3.12

This PR contains the following updates:

Package
Type
Update
Change

webpack-cli
devDependencies
patch
3.3.11 -> 3.3.12

Release Notes

webpack/webpack-cli
v3.3.12
Compare Source

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v5.1.4
GitHub release

Your semantic-release bot :package::rocket:


Add argv binding

Add uv.argv() which returns an Array containing the full C argv[] without modifications.
The returned array is not a copy so edits made to the array are visible in a future uv.argv() call.

One detail is whether uv.argv() return value should be a fresh copy so that any changes made by a caller doesn't edit the globally stashed array.

Example usage:
"use strict";

// uv.argv() returns the C argv[] array
uv.argv().forEach(function (v, i) {
  print('arg', i, v);
});

Result:
$ dukluv test-argv.js
arg 0 dukluv
arg 1 test-argv.js

I'm fine with it not being a copy.  I don't expect that many different consumers to be messing with argv at once.


Reduce created topology keys for volumes

the topology feature is essential when working with volumes that are not
remote attachable (for example, without a drbd layer). A node publishes
a set of labels that can later be referenced by volumes to bind to a
specific node set.
A created volume can be accessible via 1-2 "topologies":

node names: this is used to directly relate the backing disks created
in LINSTOR to a set of nodes. This works for all LINSTOR managed resources.
storage pool names: this is used in case remote access to a volume is
possible. This depends on the wheter the storage class supports diskless
volumes.

Using storage pool names greatly decreases the size of the generated PV spec,
since only a few nodes are directly referenced (those with backing disk
resources). In the old appoach, only using node names meant that any "diskless"
supporting volume would:

have a list of all nodes in the cluster in its spec
would not be schedulable on nodes that joined the cluster after the volume
was created (the list would not be updated at that point).

This is a different approach then #56 in the face of #54
Also see the discussion in the operator project: https://github.com/piraeusdatastore/piraeus-operator/issues/68

For example, a default PV created with this change would have this spec:
    nodeAffinity:
      required:
        nodeSelectorTerms:
        - matchExpressions:
          - key: linbit.com/hostname
            operator: In
            values:
            - centos-7-k8s-100.test
        - matchExpressions:
          - key: linbit.com/sp-DfltDisklessStorPool
            operator: In
            values:
            - "true"

A volume with no support for "diskless" attaching would look like this:
    nodeAffinity:
      required:
        nodeSelectorTerms:
        - matchExpressions:
          - key: linbit.com/hostname
            operator: In
            values:
            - centos-7-k8s-100.test


implement EOA get_evm_address() method

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this link everytime you take an issue and check your issue isn't targeted by a known bug.

Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this tracking issue everytime you take an issue and check your issue isn't targeted by a known bug. Will add this reminder in many places to make sure we keep track of known bugs.

Closing this issue, as it seems to be already implemented for the EOA.


Update Podcast Page Template and routing Automation World Global (Monorail) site.

Hero block only displays  on the first page of results

NOTE: Items will need to be scheduled to the new AW Podcasts section in order for this page to work.

 Subsection for AW Podcasts


Allow the number of wallets shown in the modal to be configured when …

…using WalletMultiButton

@andrewjmeier thank you for the PR. I think the solution looks great. Could you please add a description to the PR explaining the changes and mentioning the issue.
Another think should be done is an update of the docs.
Thanks!!


feature: Workload propagation status for BindingPolicy

Feature Description
As a user I would like to be able to see the status of the workload propagation to the WECs for my BindingPolicy.
Currently this can only be done by looking at the status field of the related ManifestWork objects in ITS.
Proposed Solution
2 options:

Use the BindingPolicy object status field and copy a subset of the status from the related ManifestWork objects to the BindingPolicy object.
Introduce a new API object for the propagation status.

Want to contribute?

[ ] I would like to work on this issue.

Additional Context
No response

The approach taken in #2055 is another possibility. One of the ideas there is that the status that can be combined includes an implicit augmentation by propagation status. Another of the ideas there is that the KubeStellar interface should be end-to-end and not get into details of the transport plugin.


modify servicebuilder Template

@lovettli can you update these with the latest changes made to the service builder examples in blade?  i made a bunch of changes today.  thanks!


Use always-fail tests to make sure nix flake is having the tests run

#neveragain

Probably best to rebase on master after #1389 to make the flaky tests work.


[ci] Implement XALT workaround for unit tests on Dom

This needs to be merged asap since it blocks other PRs.

@jenkins-cscs retry daint


feat: add request queue requests list method

New method to list requests
New method to easily iterate all requests in queue
Example usage:

for await (const { items } of rqClient.paginateRequests()) {
  const rqsToDelete = items.filter(someFilter);
  await rqClient.batchDeleteRequests(rqsToDelete);
}

yield the requests from the AsyncIterator one by one

I had it like that originally, but I found out that with one by one you cannot easily call batch operations like batchDeleteRequests.

Maybe it could be an option? yieldRequests: true or smth like that. I think both use-cases are valid.

Maybe it could be an option?

I would not overcomplicate now. I would say the main customer for this is SDK, so we can adjust if we found we need request by request during the implementation of rq2 into SDK.


Initial environment variable for batch options, simply appends to existing list

This really should override the existing list, but this is currently unsupported in argparse
Only documentation I could find provides example code that doesn't work (anymore?)

Could you write a custom action to deal with this?

i.e. action checks that if appending to the default list, just replace it, otherwise append

That's the idea, but my python-fu isn't strong enough to do it.

Check out PR #83. I create an int subclass to mark default values. You could do the same with lists. It's not perfect, but it works.

Hrm. I was thinking of replacing the argparse handler as per various discussions around. This probably much more doable.

Should be handled via #85


Hitbox for info in achievement is too small

Summary:
While testing a PR I faced difficulty toggling the info on the fields in the achievement tab.
Steps to reproduce:
Go to the profile section and try toggling the info for any field.
Device and Android version:
Nokia 6.1+ android 10 stock
Commons app version:
3.0.0-debug master.
Would you like to work on the issue?
YES.

Instead of having a small icon at the top right of the info field we can have the whole field toggle the info dialog. ie tapping on the fields would open the info dialog instead of tapping on the icon.
We can also increase the size of the icon if necessary.
@nicolas-raoul, @misaochan for suggestions.

You mean that tapping on "Quality images" would open the pop-up that explains what a quality image is, right?
Good idea I think.
Getting rid of the "?" might even solve #3434. As a consequence I think it is fair to let @Ayan-10 (assigned to that issue) work on this if they want, though. What do you think @4D17Y4?

You mean that tapping on "Quality images" would open the pop-up that explains what a quality image is, right?

Yes, exactly.

Getting rid of the "?" might even solve #3434. As a consequence I think it is fair to let @Ayan-10 (assigned to that issue) work on this if they want, though. What do you think @4D17Y4?

Sure, as @Ayan-10  is working on it I think it'll be fair to let him solve this.
@Ayan-10 keep us updated on ur progress.

Thanks @4D17Y4 @nicolas-raoul , Although I think I solved #3434 , I love to work on this also.
Sure, I will keep you updated on my progress.

Should I keep the help icon as it is and make the TextView clickable or Should I remove the help icon? @nicolas-raoul

Hey @Ayan-10 it would be amazing if you could add UI screen shoots and explain what you propose :)

My opinion is that if the labels are visibly tap-able (in other words: user can see that clicking the label will offer some kind of help) then the "?" circles can be removed. But Neslihan is more knowledgeable about UI, so a screenshot or mockup would be great.

@nicolas-raoul That's right, but I think If I remove the help icon user can't able to understand that the label is clickable and the label can show a popup.
@neslihanturan I am attaching the screenshots that can explain my thought.
1. Removing the help icon: User can click anywhere on the label to see the help popup.

 Removing the icon ( Look at the "Images via Nearby Places label" )
 The whole label is clickable

**2. Removing the help icon**: User can click anywhere on the label to see the help popup. No need to click to the small icon now it is clickable from everywhere.

 Not Removing the icon
 The whole label is clickable

@Ayan-10 Thanks for this well-illustrated explanation, you convinced me that your option 2 is the best.

Thank you so much @nicolas-raoul for your appreciation, Should I make a PR now?

Let's wait a bit for Neslihan's insight.
On Mon, 5 Apr 2021, 21:26 Ayan Sarkar, @.***> wrote:

Thank you so much @nicolas-raoul https://github.com/nicolas-raoul for
your appreciation, Should I make a PR now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/commons-app/apps-android-commons/issues/4318#issuecomment-813367905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAYKBRU5TLMEF76TWIOKNTTHGT6NANCNFSM42KLVDBA
.

Hey @neslihanturan , Can you kindly give your insight on this so that I can proceed further.

Thanks for the mockups @Ayan-10 , I agree we should go with option 2. Otherwise it is not clear that labels are clickable and there is a way to get help.

Hi, I wanted to link https://github.com/commons-app/apps-android-commons/issues/3441 here.

Hey, @madhurgupta10 I think I did the same thing that @maskaravivek said in #3441 . Please tell me should I have to change something or is it ok?


ShaderLab Support

wanna support ShaderLab files for Unity 💥
https://docs.unity3d.com/jp/540/Manual/SL-Shader.html
Maybe I have to write language-shaderlab first...( ꒪﹃ ꒪)

HSLS could be supported with https://github.com/Thekla/hlslparser

wow language package for shaderlab files exists! https://atom.io/packages/unity-shader-files


model required

PS C:\Users\usr> python C:\Users\usr\OneDrive\Bureau\People-Counting-in-Real-Time-master/run.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel --input videos/example_01.mp4
Traceback (most recent call last):
File "C:\Users\usr\OneDrive\Bureau\People-Counting-in-Real-Time-master\run.py", line 349, in
run()
File "C:\Users\usrs\OneDrive\Bureau\People-Counting-in-Real-Time-master\run.py", line 42, in run
net = cv2.dnn.readNetFromCaffe(args["prototxt"], args["model"])
cv2.error: OpenCV(4.5.1) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wvn_it83\opencv\modules\dnn\src\caffe\caffe_io.cpp:1121: error: (-2:Unspecified error) FAILED: fs.is_open(). Can't open "mobilenet_ssd/MobileNetSSD_deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'
i'm receiving this error..all my packages are up to date

Have you tried:
python run.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel --input videos/example_01.mp4 ?

yes..and this error comes up
-Can't open "mobilenet_ssd/MobileNetSSD_deploy.prototxt" in function 'cv::dnn::ReadProtoFromTextFile'

what should be done now?

I think you need to install cmake package, here is the link: https://pypi.org/project/cmake/.

CMake is already installed.

and OpenCV is working on other projects.
Is there a problem with the model being used?

Which version of Python are you using?

3.10

I think this project doesn't work on 3.10, I have 3.9 and it worked for me. I didn't succeed running the project in 3.10.

oh okk

It works now!
thanks.


🐛 Bug Report: Backstage CLI config:check doesn't error on "extra" keys

📜 Description
When running the Backstage CLI config:check validation, it doesn't validate if there are extraneous keys in the config.
👍 Expected behavior
I believe if there is an extraneous key beyond the defined configuration, there should be a failure.  I suppose this could be added as a separate --strict requirement, though simply defaulting to this behavior would be OK with me (though some may feel that's a breaking change in behavior to the CLI).
👎 Actual Behavior with Screenshots
We had a PR which added an integrations config to our app-config.production.yaml, which mistakenly looked like this:
auth:
  environment: production
  providers:
    github:
      production:
        clientId: ${AUTH_GITHUB_CLIENT_ID}
        clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}

  integrations:
    github:
      - host: github.com
        apps:
          - appId: 123456
            webhookUrl: "https://smee.io/randomvalue"
            clientId: ${AUTH_GITHUB_CLIENT_ID}
            clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}
            webhookSecret: ${AUTH_GITHUB_WEBHOOK_SECRET}
            privateKey: |
              ${AUTH_GITHUB_PRIVATE_KEY}

We have a lint check in our CI which does this:
      - run:
          name: "Validate Backstage default configuration"
          command: yarn backstage-cli config:check --config app-config.yaml --lax
      - run:
          name: "Validate Backstage production configuration"
          # combine the default + production config file
          command: yarn backstage-cli config:check --config app-config.yaml --config app-config.production.yaml --lax

And these stages went green.
But upon deployment, our startup failed with:
Loaded config from app-config.yaml, app-config.production.yaml
{"level":"info","message":"Found 2 new secrets in config that will be redacted","service":"backstage"}
Backend failed to start up TypeError: Invalid type in config for key 'integrations.github[0].token' in 'app-config.production.yaml', got empty-string, wanted string
    at ConfigReader.readConfigValue (/app/node_modules/@backstage/config/dist/index.cjs.js:304:13)
    at ConfigReader.getOptionalString (/app/node_modules/@backstage/config/dist/index.cjs.js:246:17)
    at readGithubIntegrationConfig (/app/node_modules/@backstage/integration/dist/index.cjs.js:1148:24)

This is because in fact we still had a root integrations key expecting a local token, while our prod config was going to use the GitHub App but couldn't find it, as it was now at auth.integrations.  I believe this should not have passed a config:check.
👟 Reproduction steps

Use an app-config.yaml with an integrations.github key which uses only Token authentication
Use an app-config.production.yaml configuration, where the integrations.github key for a GitHub app is mistakenly placed as a child key to auth, i.e. you end up with auth.integrations.github.apps.appId
Run a config check: yarn backstage-cli config:check --config app-config.yaml --config app-config.production.yaml --lax

This currently indicates a successful deployment, even though there is no such auth.integrations key defined by
📃 Provide the context for the Bug.
We were adding a new configuration, and expected our linting  heck on validating the schema should have caught if we put an entire section of keys in too deep under another key.
I can appreciate that potentially today by being loose, any other root key may be possible, but I feel like it should still error because say I'm creating a new plugin that requires a root key, I should be setting that in a config.d.ts file in my plugin, so the validation properly picks it up.
🖥 Your Environment
yarn run v1.22.10
OS:   Darwin 22.4.0 - darwin/x64
node: v18.15.0
yarn: 1.22.10
cli:  0.22.4 (installed)
backstage:  1.12.0
Dependencies:
@backstage/app-defaults                          1.2.1
@backstage/backend-app-api                       0.4.1
@backstage/backend-common                        0.18.3
@backstage/backend-dev-utils                     0.1.1
@backstage/backend-plugin-api                    0.5.0
@backstage/backend-tasks                         0.5.0
@backstage/catalog-client                        1.4.0
@backstage/catalog-model                         1.2.1
@backstage/cli-common                            0.1.12
@backstage/cli                                   0.22.4
@backstage/config-loader                         1.1.9
@backstage/config                                1.0.7
@backstage/core-app-api                          1.6.0
@backstage/core-components                       0.12.5
@backstage/core-plugin-api                       1.5.0
@backstage/errors                                1.1.5
@backstage/eslint-plugin                         0.1.2
@backstage/integration-aws-node                  0.1.2
@backstage/integration-react                     1.1.11
@backstage/integration                           1.4.3
@backstage/plugin-api-docs                       0.9.1
@backstage/plugin-app-backend                    0.3.43
@backstage/plugin-auth-backend                   0.18.1
@backstage/plugin-auth-node                      0.2.12
@backstage/plugin-catalog-backend-module-github  0.2.6
@backstage/plugin-catalog-backend                1.8.0
@backstage/plugin-catalog-common                 1.0.12
@backstage/plugin-catalog-graph                  0.2.28
@backstage/plugin-catalog-import                 0.9.6
@backstage/plugin-catalog-node                   1.3.4
@backstage/plugin-catalog-react                  1.4.0
@backstage/plugin-catalog                        1.9.0
@backstage/plugin-circleci                       0.3.16
@backstage/plugin-events-node                    0.2.4
@backstage/plugin-explore-backend                0.0.5
@backstage/plugin-explore-common                 0.0.1
@backstage/plugin-explore-react                  0.0.27
@backstage/plugin-explore                        0.4.1
@backstage/plugin-github-actions                 0.5.16
@backstage/plugin-home                           0.4.32
@backstage/plugin-org                            0.6.6
@backstage/plugin-permission-common              0.7.4
@backstage/plugin-permission-node                0.7.6
@backstage/plugin-permission-react               0.4.11
@backstage/plugin-proxy-backend                  0.2.37
@backstage/plugin-scaffolder-backend             1.12.0
@backstage/plugin-scaffolder-common              1.2.6
@backstage/plugin-scaffolder-node                0.1.1
@backstage/plugin-scaffolder-react               1.2.0
@backstage/plugin-scaffolder                     1.12.0
@backstage/plugin-search-backend-module-pg       0.5.4
@backstage/plugin-search-backend-node            1.1.4
@backstage/plugin-search-backend                 1.2.4
@backstage/plugin-search-common                  1.2.2
@backstage/plugin-search-react                   1.5.1
@backstage/plugin-search                         1.1.1
@backstage/plugin-tech-radar                     0.6.2
@backstage/plugin-techdocs-backend               1.6.0
@backstage/plugin-techdocs-module-addons-contrib 1.0.11
@backstage/plugin-techdocs-node                  1.6.0
@backstage/plugin-techdocs-react                 1.1.4
@backstage/plugin-techdocs                       1.6.0
@backstage/plugin-user-settings                  0.7.1
@backstage/release-manifests                     0.0.9
@backstage/test-utils                            1.2.6
@backstage/theme                                 0.2.18
@backstage/types                                 1.0.2
@backstage/version-bridge                        1.0.3
✨  Done in 1.32s.
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

Yep makes sense! There's quite a couple of cases where we don't have schema in place right night, but really this could be a pretty good driver to fix that too, since it's not desirable either. I think we would need to ship this with a --strict flag to begin with, but then we could eventually switch over the default at some point and have --no-strict instead.

Took a shot at this, see #17674. It adds additionalProperties: false where it can to the generated schema to enforce no additional keys and then surfaces errors from AJV as well.
In your example, it would error out with
  Config must NOT have additional properties { additionalProperty=integrations } at /auth

Let me know if that's expected behavior? Happy to update as needed.


Redstone conduit does not update

Issue Description:
the signal does not update
What happens:
if the output of the redstone source drops to the redstone conduit, the input of the conduit will not be updated.
What you expected to happen:
that the input from the conduit is also lost
Steps to reproduce:

I am playing stoneblock 1 mod pack.

Affected Versions (Do not use "latest"):

EnderIO: 5.1.55
EnderCore: 1.12.2-0.5.76
Minecraft: 1.12.2
Forge: <IP_ADDRESS>54
SpongeForge? no
Optifine? no
Single Player

Your most recent log file where the issue was present:
[pastebin/gist/etc link here]

your Using Outdated Version of EnderIO

I can see that, but then come the question can I just download the newer version and install it, because i downloaded this mod pack with this version installed. the origanal stoneblock modpack.

your Using Outdated Version of EnderIO

you can always try and report and link this to the modpack author


fix(Modal): throttle callback undefined fix

What:
updateHeightAndShadows doesn't exist at the time of throttledUpdateHeightAndShadows initialization. I missed it last time :(
Also, added a live modal example

Why:

How:

Checklist:

[x] Documentation
[ ] Tests N/A
[x] Ready to be merged

Looks good, but please remove the console log before I merge.


Add careers page

This PR creates the careers page for the Ferguson Box website and integrates it into the CMS.

Approved by Tim Fuqua on 6/10


[CHORE] Linter

We definitely need a linter/formatter for snippets, like eslint + prettier only that it has to work with JSX, too. Can someone please suggest some options and/or help implement them?

eslint has a JSX plugin as https://www.npmjs.com/package/eslint-plugin-react that could probably help 😉

@meetzaveri good point, but the only problem with this is that our snippet's are stored in .md files, so we need a way to prettier only the parts inside backticks (```jsx);

Oh @fejes713 ! Got the point.


[camera_android_camerax] Camera preview is rotated on the supported Impeller version

What package does this bug report belong to?
camera
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
camera_android_camerax 0.6.5+4

Steps to reproduce

In the version camera_android_camerax 0.6.5+4 after this commit, the preview camera screen is displayed abnormally, and the up, down, left, and right movement directions are also abnormal. This version will display abnormally regardless of whether io.flutter.embedding.android.EnableImpeller is set to true.
Test device: Google Android 15 AP31.240426.023 and HuaWei Android12.0 API31

Expected results
This is the original normal screenshot:

This is the original normal screen recording:
https://github.com/flutter/flutter/assets/86029709/8546eb56-81ad-411f-8b5c-4f35d4fb3429
Actual results
This is the current abnormal screenshot:

This is the current abnormal screen recording:
https://github.com/flutter/flutter/assets/86029709/29e2006b-2853-4b2a-b90d-9c302e9f86ff
Code sample
Code sample
if (isCameraReady)
          SizedBox(
            width: cameraMaxSize,
            height: cameraMaxSize,
            child: ClipRRect(
              child: OverflowBox(
                child: FittedBox(
                  fit: BoxFit.cover,
                  child: SizedBox(
                    width: cameraMaxSize,
                    child: CameraPreview(
                      controller!
                    ),
                  ),
                ),
              ),
            ),
          ),

Screenshots or Videos

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/86029709/9397d560-44bb-4bad-9f8c-785ff772b4d8

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
$ flutter doctor -v
[✓] Flutter (Channel beta, 3.22.1, on macOS 14.5 23F79 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.22.1 on channel beta at /opt/homebrew/Caskroom/flutter/3.10.5/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (7 天前), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3
    • Flutter download mirror https://mirrors.tuna.tsinghua.edu.cn/flutter

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/xuegao/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/xuegao/Library/Android/sdk
    • Java binary at: /Applications/Android Studio
      Preview.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome
      Canary

[!] Android Studio (version unknown)
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.2)
    • IntelliJ at /Users/xuegao/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.90.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.89.20240501

[✓] Connected device (6 available)
    • ALN AL10 (mobile)               • 23F0213C21011631                                 •
      android-arm64  • Android 12 (API 31)
    • Pixel 7 Pro (mobile)            • <IP_ADDRESS>:38723                              •
      android-arm64  • Android 14 (API 34)
    • macOS (desktop)                 • macos                                            •
      darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                            •
      darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                                           •
      web-javascript • Google Chrome 127.0.6508.0 canary

[✓] Network resources
    • All expected network resources are available.

Thanks for the report. Reproduced this issue using camera_android_camerax's example. The camera preview is rotated 90 degree.

Demo

latest version 0.6.5+4 ❗
previous version 0.6.5+3 ✅

✅: No Issue ❗: Issue reproduced

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.1 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (11 hours ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.76

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.23.0-13.0.pre.19, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.23.0-13.0.pre.19 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c787dc99bd (45 minutes ago), 2024-05-29 22:28:10 -0400
    • Engine revision 4adf453b6d
    • Dart version 3.5.0 (build 3.5.0-203.0.dev)
    • DevTools version 2.36.0-dev.10
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.113

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

happens to me aswell

+1 moving from camera_android_camerax: 0.6.5+3 -> camera_android_camerax: 0.6.5+4 reproduces the issue for me as well.  In my case, the package seemed to have been pulled in by camera: 0.11.0+1

Revert is https://github.com/flutter/packages/pull/6838

I bumped the version so it should autopublish as well.

Oof, thanks for catching and iterating on this.
Is there anything else to be done?
(I was loosely following elsewhere we think it's just the rotation logic being different?)

@matanlurey Yeah looks like we need to fix the natural orientation of the preview with the change. We'll also need to fix https://github.com/flutter/flutter/issues/149177 in the process.

Could you please provide an update on this issue? It's critical for our current project. If possible, could you please share an eta? Thank you.

https://github.com/flutter/flutter/wiki/Issue-hygiene#when-will-my-bug-be-fixed
If you would like to have this issue fixed sooner you are welcome to submit a patch. See our contribution guide here https://github.com/flutter/flutter/blob/main/CONTRIBUTING.md

any news? We also faced this problem

@GorinMaxim there is an open pull request to fix the issue https://github.com/flutter/packages/pull/6856

it might be useful
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.4.1 23E224 darwin-arm64, locale en-RU)
• Flutter version 3.22.2 on channel stable at /Users/maximgorin/Library/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 761747bfc5 (3 weeks ago), 2024-06-05 22:15:13 +0200
• Engine revision edd8546116
• Dart version 3.4.3
• DevTools version 2.34.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/maximgorin/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.90.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.90.0
[✓] Connected device (5 available)
• sdk gphone64 arm64 (mobile)     • emulator-5554             • android-arm64  • Android 14 (API 34) (emulator)
• iPhone 15 Pro (Maxim) (mobile)  • 00008130-001E709626F0001C • ios            • iOS 17.5.1 21F90
• macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.4.1 23E224 darwin-arm64
• Chrome (web)                    • chrome                    • web-javascript • Google Chrome 126.0.6478.127
! Error: Browsing on the local area network for iPhone XS Max (Maxim). Ensure the device is unlocked and attached with a cable or associated with the same local area network as
this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
• No issues found!
I also noticed that version 0.10.6 works well with flutter 3.16.9, but rotated at flutter 3.22.2

@camsim99 Are you planning to land a similar approach for camera_android? See https://github.com/flutter/flutter/issues/150549

@AlexV525 https://github.com/flutter/flutter/issues/150549#issuecomment-2203989033

@AlexV525 #150549 (comment)

Sorry, so you are talking about that you don't want to reland https://github.com/flutter/packages/pull/6461 for camera_android but you already reland https://github.com/flutter/packages/pull/7044 for camera_android_camerax? 0.10.9+6 fixes that issue because I reverted https://github.com/flutter/packages/pull/6461 and that request has never been brought to the implementation again. Now it seems nobody cares and trying to avoid landing it because I've tried my best to tell everyone that the issue has not been really fixed.

@AlexV525 The situation has been pretty complex, with PRs being landed and reverted across several plugins and the repro cases being different as to whether they are about impeller or non-impeller codepaths, and all of that being conflated into a small number of issues.
Filing a new issue clearly describing the current state of the issue, with current repro steps (as well as links to relevant context) would be much more productive—and much more consistent with our code of conduct—than attributing bad intent to other project members.


Feat/tests

not sure if needed to be merged, exploring building out some simple test cases.

Looks like this will need to be rebased.

Ill fix the conflicts but let me know if these tests make any sense the app itself if simple enough that i was on the fence.

Yeah I think it's great. Only suggestion I have is, since you're already testing the healthcheck endpoint, you could test the output of /metrics instead of testing monitorQueue() directly. There's not a lot of actual logic in monitorQueue() anyways.

o thats a good point, i didnt think of that since its a big ole text blob


Use the pointer to show which enemy is being attacked with auto clicker

this script uses the new player pointer to show you what enemy is being attacked https://github.com/ensingm2/SteamMonsterGameScript/blob/master/automator.js#L793-L798
I would implement it but I am about to go to bed right after I join the new game

@wchill Can be closed: https://github.com/wchill/steamSummerMinigame/commit/b3ce3ef47acd55a09fa05ec0e6491974e7cc4ef6#diff-2400c5b9c09e41abca684af32c0de223


fix sentence in docs, '#' shouldn't be there

Right, the "# register is not read-only.

Pretty sure this will be included in the next runtime update.


Add orders queue and associated configuration

This PR adds a new Azure Storage queue for processing orders, and updates the website configuration to include the storage account and queue information.

no it's fine


sanitize bookdesc html and set to render

provide a fix for issue #2

removed appDir from experimental config as app dir is a default feature now.
added sanitize-html dependency to sanitize the bookDesc html before setting it inside dangerouslySetInnerHTML

When i did npm install on my local the next-pwa gave some errors so had to do force install which also bumped up next and postcss versions. Havent noticed any breakage in functionality yet.

looks good to me, thanks for the PR
merging now


Scroll Wheel Zoom Not Working

On this (and other maps I've made) I have enabled "scroll wheel zoom"
https://davidmanthos.cartodb.com/viz/9e48164c-45da-11e5-bcf9-0e0c41326911/public_map
But scroll wheel zoom does not work for me either in Chrome or Safari.

Hi @ezys,
In the public map sites, the scroll wheel zoom is disabled automatically in order to allow users to scroll in the page and not get stuck in the map zoom interaction.
You can check that the scroll wheel zoom is indeed working here: https://davidmanthos.cartodb.com/viz/9e48164c-45da-11e5-bcf9-0e0c41326911/embed_map
Hope this helps!

Ok, I see the difference, but it's a rather unclear extra step if someone thinks they are linking to the explorable map.
In general, scroll wheel interaction is a tricky thing for any map that could live by itself  or be embedded in a website somewhere. Any chance you could create an option that scrolling zoom doesn't until someone clicks to "interact with the map". Something like this, perhaps?
http://stackoverflow.com/a/22567753
Just a suggestion. Thanks.


[Fix] LocalPartitioning does not utilise parallelism

From @hkkenneth on November 11, 2016 17:27
In LocalConfiguration.partitionHandler() , need to call setTaskExecutor() on handler with a properly configured SimpleAsyncTaskExecutor.
Copied from original issue: KHP-Informatics/cogstack#8

From @RichJackson on November 21, 2016 22:26
fixed this

From @hkkenneth on December 2, 2016 16:33
Not fully resolved yet.. asked a question on stackoverflow http://stackoverflow.com/questions/40936889/spring-batch-multithreading-has-a-default-limit-of-10-implicitly

This issue was moved to CogStack/cogstack#8


DigitalOcean Spaces "503 Slow Down"

Hello!
I've got a Statamic 3 project that's using flysystem-aws-s3-v3 to persist assets to a Digital Ocean spaces bucket.
Setting things up was a breeze, but I've run into a persistent issue that I'd love some help debugging, as I'm not sure whether it's an issue in the Statamic source code, a misconfiguration on my end, or something to do with this project.
While I seem to be able to upload/delete images from Statamic's asset library UI, I always run into this particular error 503 Slow Down when editing a collection. What's particularly weird about this is that my site has zero web traffic, I have 1 image uploaded to DO spaces, and I'm ostensibly the only user making requests (through a web browser, no less). I'm not sure how I would ever be able to cross such a rate-limiting threshold.

Any advice on where to start digging in further? I see in the stack trace that this is coming from:
League\Flysystem\AwsS3v3\AwsS3Adapter::has
vendor/league/flysystem-aws-s3-v3/src/AwsS3Adapter.php:233

if ($this->s3Client->doesObjectExist($this->bucket, $location, $this->options)) {
  return true;
}

Thank you!

There is rate-limiting on the DO/S3 side. I don't know enough about Statamic to help you out with this one. Flysystem just proxies calls in a particular format, we don't influence how often calls are being made. You can disable file existence assertions using a configuration setting: https://flysystem.thephpleague.com/v1/docs/advanced/performance/ but other than that I really can't help you. Sorry about that.

@frankdejonge no worries, thank you so much for the prompt reply! Will dig into this further ❤

Good luck!


Disabled categories are still visible on the wiki

Same issue reported on Plugin Shop: https://github.com/Azuriom/Plugin-Shop/issues/228

I deactivated a Wiki category that was within another category and it is still not removed from the site.

Fixed in 5b742b1156464d4408bad173b37c4362c5010200


Step by step on how to install micro on debian for someone with minimal unix experience.

Description of the problem or steps to reproduce
I have tried to install the script, first i had to chmod +x it but then i keep getting this errors
"tar: This does not look like a tar archive
gzip: stdin: not in gzip format"
I can download the binary file but there is only one executable there and running that does run micro but it's basically for one time use. It does not install micro, it just runs an instance of micro.
I am not sure how to install it in debian, can you please help.
OS:Linux mint XFCE Sonya 18.2
Terminal: zsh

You can put the executable in /usr/bin which should do the trick, and you can also use Snap packager

On Linux, you can install micro through snap
snap install micro --classic

You can install Snap through apt https://docs.snapcraft.io/core/install-debian

Manual install:
Download the tar file from the releases. Then run:
$ tar -xf micro-1.3.3.tar.gz # opens the tarball (unix version of zip file)
$ cd micro-1.3.3
$ sudo mv micro /usr/local/bin # moves the binary on your PATH so it is globally accessible

That should let you call micro from the command line.
Auto install:
As @evolbug mentioned, you can install with snap:
$ sudo apt install snapd
$ sudo snap install micro --classic

Or use
$ sudo snap install micro --classic --edge

to install the most recent nightly version.

But then how do you run it?

Some times you need to restart gnome shell to run micro after installing through snap.
Press Alt+F2 type restart.
Open terminal type micro.
Bingo!