fix: prevent fetching address suggestions in forced offline mode

Details
Sets the Google Places Autocomplete request URL to null when Force Offline preference is enabled in order to prevent fetching addresses.
Fixed Issues
$ https://github.com/Expensify/App/issues/26869
PROPOSAL: https://github.com/Expensify/App/issues/26869#issuecomment-1708395663
Tests

Launch Expensify ND or the app.
Navigate to Settings > Preferences and turn on the Force Offline switch.
Open the global create menu and select Request money.
Select the Distance tab if it is not already active.
Tap / click any of the waypoints and enter a search term in the input field.
Verify that results matching the address are not retrieved and displayed. Note that if you have address results saved from previous sessions, these will still be displayed, but no new addresses will be fetched.
Verify that there are no console errors when attempting to search for addresses with Force Offline on.

[x] Verify that no errors appear in the JS console

Offline tests
Same as tests.
QA Steps
Same as tests.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/4160319/2e196b72-8a23-47ee-801b-c16f9bb3d8e8

Mobile Web - Chrome
https://github.com/Expensify/App/assets/4160319/e97945e5-90cc-40c7-84d5-13f03012c8f3

Mobile Web - Safari
https://github.com/Expensify/App/assets/4160319/1e5f129c-1f33-4002-ad62-cf212351c7f4

Desktop
https://github.com/Expensify/App/assets/4160319/9eaa5286-c240-4e90-82ef-78176e9ce0c0

iOS
https://github.com/Expensify/App/assets/4160319/125404c1-95f5-4f0e-873d-9ba88dc6192c

Android
https://github.com/Expensify/App/assets/4160319/adb92c86-4aa3-4e87-aa01-43a7587580e5

@nkuoch This didn't get merged yet. Is there anything else I need to do here?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/nkuoch in version: 1.3.72-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 1.3.72-11 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Improve doc for vendoring multiple workspaces

@cyang1 and I work with multiple workspaces within a repository, and we did not realize this was an option until we dove into cargo-vendor source. This should surface the ability more easily.

👍


Where to get the header file "i2c_bus.h"

Would like to use your library in my application...
I find that it is well done and clearly annotated...
However, I cannot find the include file "i2c_bus.h" in the esp-idf repo...
Please add to your repo, or indicated where to get it from...
thank you

Hi @JL1946 sorry for the lack of instructions on the use of the component. The i2c_bus.h file is part of a component named i2c_bus found here: https://github.com/mauriciobarroso/i2c_bus.git
The libraries sht4x and i2c_bus work together, the following code show how they must be used.
#include "i2c_bus.h"
#include "sht4x.h"

i2c_bus_t i2c_bus;
sht4x_t sht41;

void app_main(main) {
  	/* Initialize I2C bus */
	ESP_ERROR_CHECK(i2c_bus_init(&i2c_bus,	/* I2C bus instance */
			I2C_NUM_0,		/* I2C port number */
			I2C_BUS_SDA_PIN, 	/* I2C SDA gpio number */
			I2C_BUS_SCL_PIN, 	/* I2C SCL gpio number */
			false,       		/* I2C SDA pullup resistor */
			false,       		/* I2C SCL pullup resistor */
			400000));    		/* I2C frequency */

	/* Initialize SHT4x */
	sht4x_init(&sht41,			/* SHT4x instance */
			i2c_bus, 		/* I2C bus instance */
			SHT41_I2C_ADDR_44,	/* I2C device address */
			NULL, 			/* Use default I2C bus read funciton */
			NULL);			/* Use default I2C bus read funciton */

	/* Get and print temperature and humidity */
	float temp, hum;

	sht4x_measure_high_precision(&sht41, &temp, &hum);

	printf("Temperature: %f, Humidity: %f", temp, hum);
}

thank you very much...
I do have another question...
could you advise on how to implement an SHT4x and mcp23008 port expander (address 0x20) together on the same i2c bus? I am working with both devices and am using the NSBum mcp23008 library (https://github.com/NSBum/esp32-mcp23008.git)...
thanks again for your prompt response...

I would have to write an mcp23008 library compatible with i2c_bus. It's not something too complex, but for now I don't have enough time.


toggle win key like in linux

if (key->vkCode == VK_CAPITAL || key->vkCode == VK_LWIN)

Hey,
I'm not totally clear on what you're asking for in this issue, so I'm going to close it for now. Feel free to reopen it with more details, and I'll gladly take another look.


Incorrect references in ClassifiedAds.GRPC project

Hi
May be I'm missing something but just doing:

git clone --recursive https://github.com/phongnguyend/Practical.CleanArchitecture.git
cd Practical.CleanArchitecture/src/ClassifiedAds.Microservices/Services/ClassifiedAds.GRPC
dotnet build

will result to error because some projects missing ??????
Actually this project reference other projects like this:
    <ItemGroup>
      <ProjectReference Include="..\ClassifiedAds.Application\ClassifiedAds.Application.csproj" />
      <ProjectReference Include="..\ClassifiedAds.Infrastructure\ClassifiedAds.Infrastructure.csproj" />
      <ProjectReference Include="..\ClassifiedAds.Persistence\ClassifiedAds.Persistence.csproj" />
    </ItemGroup>

and all those above projects are located somewhere else ???
Could you fix those references ?
May be provide SLN/script file in root folder to just build everything ?
Add something to documentation on how to actually build those projects from scratch ?

Microservices version (#40)  has been supported now. Documentation will be created soon.


missing variable declaration in directLightContribution shader

Hi,
I think I missed a variable declaration in my last PR, here it is.
Roberto

Thanks! I saw this as well but forgot to push the change.


Add/remove binaries in the emacs cask

Remove ctags binary, since it conflicts with the ctags formula in homebrew-core.
Add emacs binary.
Add conflicts_with formula: 'emacs'

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Thank you, but I think it is better to add ctags to conflict_with than remove it.

I think the installation of the ctags binary in this cask should not be a requirement, for two reasons:

ctags is a very popular formula in homebrew-core (see https://brew.sh/analytics/install/), so introducing conflicts will affect a lot of people
the emacs formula in homebrew-core makes the installation of the ctags binary optional, causing consistency problems


Remove git gud start/change way we initialize

So, instead of git gud start, I think it might just make sense to load up everything we need to the first time we run git gud load.
We can add the functionality that simply running git gud load will load the first level.
When handle_load runs, do the same checks that handle_start runs and return appropriate output for the new situation.

@wertydoo Do you want to work on this?

I will be working on this

Done.


questions when we run the code

mkdir log

Thanks a lot! The result looks like this:

May I ask is this right? I'm not familiar with this project. Would you please explain more about this repo files? Thank you so much for your amazing work!

Thanks a lot! The result looks like this:

May I ask is this right? I'm not familiar with this project. Would you please explain more about this repo files? Thank you so much for your amazing work!

Your output is correct.
You can read the paper to find more details about this project.


Remote checks on dependent steps not working

Hello Bo, thanks again for providing this excellent tool. I have a workflow where I build a custom database for kraken and then have a subsequent step that uses kraken and the database on some samples with a dependency on the database build step. However, when I change the database build step, the subsequent steps do not re-run. Here's an example.
%sosrun depends_test -q yale_hpc_task_spooler \
-r yale_hpc_task_spooler mem="1G" cores=1 walltime="00:05:00" nodes=1

[touch_files]
output: f'/home/pgc29/scratch60/test.txt'
task: walltime='00:01:00', mem='1G', cores=1, nodes=1,
    workdir='/home/pgc29/scratch60/'

run: expand=True
    touch {_output}

[depends_test]
depends: sos_step('touch_files')
output: f'/home/pgc29/data/test2.txt'
task: walltime='00:01:00', mem='1G', cores=1, nodes=1,
    workdir='/home/pgc29/scratch60/'

run: expand=True
    touch {_output}

But if I then modify the first step to
[touch_files]
output: f'/home/pgc29/scratch60//test.txt'
task: walltime='00:01:00', mem='1G', cores=1, nodes=1,
    workdir='/home/pgc29/scratch60/'

run: expand=True
    echo "test" > {_output}

And run depends_test again, it re-runs touch_files but skips depends_test
INFO: Running touch_files:
INFO: tce6f8d6f7553ab25 submitted to yale_hpc_task_spooler with job id 30325020
INFO: Waiting for the completion of 1 task.
INFO: tce6f8d6f7553ab25 received '/home/pgc29/scratch60/test.txt' from yale_hpc_task_spooler
INFO: touch_files output:   /home/pgc29/scratch60/test.txt
INFO: Running depends_test:
INFO: depends_test (index=0) is ignored due to saved signature
INFO: depends_test (index=0) is ignored due to saved signature
INFO: depends_test output:   /home/pgc29/scratch60/test2.txt
INFO: Workflow depends_test (ID=w01db23b738dc700b) is executed successfully with 1 completed step, 1 ignored step and 1 completed task.

It is a moderately complex setup. Let me try to reproduce it and see why signature does not work.


Update google-cloud-bigquery to 1.127.10

Updates com.google.cloud:google-cloud-bigquery from 1.122.2 to 1.127.10.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-bigquery" } ]

labels: library-update, semver-minor

Superseded by #202.


improvement: handle None in list_app_ids()

list_app_ids() was the only method that expected you to magically know that the default partition_key is "". Now, it accepts None as an argument.
Also, took the opportunity to replace the use of the instance attribute by the class attribute.

Nice! This makes sense. Might be nice to have a test?  I think e have other tests for this.


docs: add 11 docs for CBDB

Add several docs to CBDB site:

Table storage models
Manage roles and privileges
Data types
Password protection
Use aggregation pushdown to speed up query execution
Use IndexScan on AO Tables
Use RuntimeFilter to Optimize Join Queries
Parallel Queries Execution
Create and Manage Views
Create and Manage Materialized Views
Create and Manage Schemas

Change logs

Describe your change clearly, including what problem is being solved or what document is being added or updated.

Contributor's checklist
Here are some reminders before you submit your pull request:

Make sure that your Pull Request has a clear title and commit message. You can take the Git commit template as a reference.
Sign the Contributor License Agreement as prompted for your first-time contribution (One-time setup).
Learn the code contribution and doc contribution guides for better collaboration.
Make sure that your changes deployment preview is successful.
List your communications in the GitHub Issues or Discussions (if has or needed).
Feel free to ask for the @cloudberrydb/doc team or other people to help review and approve.

As discussed, we can split this pull request into 2 pull requests. One is for the reviewed docs from Feishu, and the other is for the new docs.

@TomShawn #113 has been merged now. Thanks!


Not compatible w/ bootstrap 3+

Was using wtf-forms with boostrap 2 and all was fine.  Recently upgraded to bootstrap 3.3.2 and it seems like some of the css classes are conflicting.
here is a plunk:
http://plnkr.co/edit/d0NiqyziiuFLPuh4vP0h?p=preview
Remove bootstrap css and look just fine

Yeah, they're not necessarily meant for each other. I won't be adding any CSS to make them work flawlessly together either. Sorry about that.

No, worries.  Saw a few collisions and started to realize just that.


Based on scalaz 7.3.0

Closes #34
I have created series/8.0.x branch.
This PR moves master to scalaz 7.3.0.
It changes the underlying machinery with the only exception being the Category typeclass done manually.

Yes, it is mostly mechanical, thanks!


High RAM & CPU utilization after 8h during long term run

Describe the bug
When using conviva for several hours, RAM will get flooded by somehwoe not garbage-collected objects. When the RAM is full, GC takes over all the availbale CPU und the bot becomes more and more unresponsible.
Things we already tried to tackle this issue:

Switch to GC1 garbage collector
Reduced permanent loop load when try to find new messages
enabled verbose logging for GC

Possible problems that can probably lead to this error:

Eithter the chrome and chromium session get more and more RAM usage, but it seems to be the java process in general (Check by adding a chrome refresh / restart during the execution - may with a simple command)
object lists are not cleaned in a good way.
underlying frameworks causing this issue

[36257.386s][info][gc] GC(37841) Pause Young (Normal) (G1 Evacuation Pause) (Evacuation Failure: Allocation) 2044M->2039M(2048M) 4.680ms
[36257.402s][info][gc] GC(37842) Pause Young (Concurrent Start) (G1 Evacuation Pause) (Evacuation Failure: Allocation) 2044M->2043M(2048M) 6.021ms
[36257.402s][info][gc] GC(37843) Concurrent Mark Cycle
[36257.412s][info][gc] GC(37844) Pause Young (Normal) (G1 Evacuation Pause) (Evacuation Failure: Allocation) 2044M->2044M(2048M) 5.350ms
[36261.299s][info][gc] GC(37845) Pause Full (G1 Compaction Pause) 2044M->1972M(2048M) 3886.089ms
[36261.299s][info][gc] GC(37843) Concurrent Mark Cycle 3897.238ms
05.05.2024 08:01:29.835 [main][WARN][SCID:20a35f8d81c11621aadc304224b6d956]: core.DesktopGuiElementCore - find() #277897 of UiElement(By.cssSelector: div.message-in div.copyable-text[32]) took 4.01s of 2s
[36261.542s][info][gc] GC(37846) Pause Young (Normal) (G1 Evacuation Pause) (Evacuation Failure: Allocation) 2044M->2039M(2048M) 5.132ms
[36261.563s][info][gc] GC(37847) Pause Young (Concurrent Start) (G1 Evacuation Pause) (Evacuation Failure: Allocation) 2044M->2044M(2048M) 6.490ms
[36261.563s][info][gc] GC(37849) Concurrent Mark Cycle
[36265.300s][info][gc] GC(37848) Pause Full (G1 Compaction Pause) 2044M->1972M(2048M) 3737.511ms
[36265.303s][info][gc] GC(37849) Concurrent Mark Cycle 3740.373ms
05.05.2024 08:01:33.831 [main][WARN][SCID:20a35f8d81c11621aadc304224b6d9

And Testerra is using the EventFiringDecorator and WebDriverDecorator of Selenium, which are currently flagged and annotaed as  @Beta class.
Concrete the DesktopWebDriverFactory uses the EventFiringDecorator to decorate the driver in setupNewWebDriverSession().

So basically, what I did to fix this issue:
Removed io.testerra:driver-ui-desktop and instead of that now uses io.testerra.driver-ui and implement the DesktopWebDriverFactory by our own. Therefor we used the DesktopWebDriverFactory class of Testerra itself and then removed the calls to the @Beta annotated classes for EventFiringDecorator.
This speeds up the whole element finding process and handling a lot. and now we can easily answer nearly in realtime.
The memory leak was removed as well as ByteBuddy instances are not created anymore.


exodus bundling fail silently on docker build

Enviroment:

Arch: arm64
Version: v0.19

Issue description:
I tried to use Dockerfile to generate a ldb_toolchain_gen.sh for arm64. It worked fine in ldb-toolchain v0.18. But in v0.19, I built docker image succesfully then docker run --rm -v /tmp/some_toolchain_gen:/data ldbtoolchain:arm64-ldb-19 failed with cp: cannot stat '/opt/exodus/bundles/*/lib/aarch64-linux-gnu/*': No such file or directory.
Additional information
I attached into the container, there was no /opt/exodus folder in container:
# ls /opt/
cmake-3.22.1-linux-aarch64.tar.gz  libc6_2.27-3ubuntu1.6_arm64.deb  patchelf-0.14.3-aarch64.tar.gz  printers.py

Looks like it's because RUN exodus failed but didn't report failure. Then I manually executed the exodus xxx ... | bash command, it failed sliently as well:
# exodus /usr/bin/yasm /usr/bin/nasm /usr/bin/nm /usr/bin/addr2line /usr/bin/python3 /usr/bin/curl /usr/bin/gdb /usr/bin/ninja     /usr/bin/m4 /usr/bin/bison /usr/bin/yacc /usr/bin/flex /usr/bin/pkg-config /usr/bin/as /usr/bin/ld.bfd     /usr/bin/gcc-ranlib-${GCC_VERSION} /usr/bin/g++-${GCC_VERSION} /usr/bin/gcc-ar-${GCC_VERSION}     /usr/bin/gcc-nm-${GCC_VERSION}     /usr/bin/gcc-${GCC_VERSION}     /usr/bin/${ARCH}-linux-gnu-cpp-${GCC_VERSION}     /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/lto1     /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/lto-wrapper     /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/cc1     /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/cc1plus     /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/collect2     /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/g++-mapper-server     /usr/bin/lldb-argdumper-${LLVM_VERSION}     /usr/bin/lldb-instr-${LLVM_VERSION}     /usr/bin/lldb-server-${LLVM_VERSION}     /usr/bin/lldb-vscode-${LLVM_VERSION}     /usr/bin/lldb-${LLVM_VERSION}     /usr/bin/clangd-${LLVM_VERSION}     /usr/bin/clang-tidy-${LLVM_VERSION}     /usr/bin/clang-format-${LLVM_VERSION}     /usr/bin/clang-cpp-${LLVM_VERSION}     /usr/bin/clang-${LLVM_VERSION}     /usr/lib/llvm-${LLVM_VERSION}/bin/llvm-link     /usr/lib/llvm-${LLVM_VERSION}/bin/llc     /usr/lib/llvm-${LLVM_VERSION}/bin/opt     /usr/bin/llvm-strip-${LLVM_VERSION}     /usr/bin/llvm-install-name-tool-${LLVM_VERSION}     /usr/bin/llvm-objcopy-${LLVM_VERSION}     /usr/bin/llvm-ranlib-${LLVM_VERSION}     /usr/bin/llvm-ar-${LLVM_VERSION}     /usr/bin/llvm-nm-${LLVM_VERSION}     /usr/bin/llvm-cov-${LLVM_VERSION}     /usr/bin/llvm-profdata-${LLVM_VERSION}     /usr/bin/llvm-profgen-${LLVM_VERSION}     /usr/bin/lld-${LLVM_VERSION} | bash
# echo "code $? "
code 0

I know nothing about exodus so I blindly bitsect the arguments, only command below reports error:(not sure if related)
exodus /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/lto1 \
    /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/lto-wrapper \
    /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/cc1 \
    /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/cc1plus \
    /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/collect2 \
    /usr/libexec/gcc/${ARCH}-linux-gnu/${GCC_VERSION}/g++-mapper-server | bash

Installing executable bundle in "/opt/exodus"...

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Something went wrong, please send an email to<EMAIL_ADDRESS>with details about the bundle.

Without gcc tool above, exodus handles bundling just fine.

Hi. Apologies for the delay in response. I currently lack an arm64 environment to reproduce. Ideally we should identify dependencies by ourselves instead of blindly trusting Exodus. I will work on this in the next release.

I have the same problem use master branch. does it fix？

Now the Exodus tool has been removed and I've published an aarch64 toolchain with LLVM-17. This change was necessary because LLVM-18 is broken in the upstream Ubuntu 18 aarch64 environment.


added renderTaglist

Added the renderTagList prop with test, examples and description to readme.
@i-like-robots Like I said, it's not much , but could you please review?  I think the TagList component needs optimising, maybe needs props? Let me know hat you think. Thanks!

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

28 of 28 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 93.197%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
1509

Relevant Lines:
1624

💛  - Coveralls

Thanks for your contribution @ellunium and for the nice example too. I should be able to review and test this week 👍

Thanks for your contribution - I'm going to merge this but make a few changes before releasing. I intend to refactor all of the list props into the useTagList hook so that it is consistent with the other custom renderers and implementors can create a custom list like so rather than declaring each attribute individually:

  {children.map((child) => (

      {child}

  ))}

Makes perfect sense!


Added YaLinqo.

YaLinqo is one of the three major .NET's LINQ to Objects implementations for PHP.

Rebase please - merge conflicts for now.

@jadb done.

Needs another rebase now that the other pr is merged.

@josegonzalez done.


Fix gulp allow empty

I' ve got this error when gulp:
Error: File not found with singular glob: /Users/eduardogoncalves/Documents/samples/amp-pwa-reader/dist/inline.css (if this was purposeful, use `allowEmpty` option)
fixed it by adding , { allowEmpty: true }

/ping @pbakaus

lgtm, thanks!


La7.it - ERROR: Unable to extract player data

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.04.25. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

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

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'http://www.la7.it/propagandalive/rivedila7/propaganda-live-28-04-2018-240280']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.04.25
[debug] Python version 2.7.14 (CPython) -<EMAIL_ADDRESS>[debug] exe versions: ffmpeg N-89656-g0c78b6a416, ffprobe N-89656-g0c78b6a416
[debug] Proxy map: {}
[la7.it] propaganda-live-28-04-2018-240280: Downloading webpage
ERROR: Unable to extract player data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/src/youtube-dl/youtube-dl/youtube_dl/YoutubeDL.py", line 789, in extract_info
    ie_result = ie.extract(url)
  File "/usr/src/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 440, in extract
    ie_result = self._real_extract(url)
  File "/usr/src/youtube-dl/youtube-dl/youtube_dl/extractor/la7.py", line 54, in _real_extract
    webpage, 'player data'),
  File "/usr/src/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 808, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract player data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Apparently equal to issue #15501, closed on 7 February.

video non disponibile


Support "compact CIDR": trailing zeros may be omitted from IP part.

This is a non-standard but common shorthand when referring to
CIDR networks.

I have no complaints if it works.  Just that I have never seen that usage before during my recent 4 years of post secondary.  I just hope that they will understand that the parsing for IP Address will not be equal if they enter '8' vs '8/8'

I think this is too obscure to be in scope for this library. I may reconsider if the use case is sufficiently motivated (with sample use of such syntax done by a major vendor).


unix,stream: return error on closed handle passing

Return EBADF when trying to send a handle which, while enqueued, was
closed.
Fixes: https://github.com/libuv/libuv/issues/806

A couple of comments:

I've decided to return EBADF instead of ECANCELED as seems to be suggested here.
I think it does no apply to Windows but I can be wrong.

I think all the comments have been addressed. PTAL.
CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/287/

@saghul could you PTAL? Thanks!

I forgot to add the PR-URL to the commit message. Force pushed https://github.com/libuv/libuv/commit/404ee42706084025b53e9fd98ba42fddc35c6132 with the correct information. Sorry about that.

Just a heads up: this test case does not fail with the fix reverted.


Update Composer dependencies (2022-02-17-00-06)

Visual regression test passed!
View the visual regression test report


MSConceptGraph.ipynb

https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/2-Symbolic/MSConceptGraph.ipynb Unable to function properly
I tried running in VS Code environment
https://github.com/microsoft/AI-For-Beginners/blob/main/lessons/2-Symbolic/MSConceptGraph.ipynb The first paragraph of code for:
import urllib
import json
import ssl

def http(x):
    ssl._create_default_https_context = ssl._create_unverified_context
    response = urllib.request.urlopen(x)
    data = response.read()
    return data.decode('utf-8')

def query(x):
    return json.loads(http("https://concept.research.microsoft.com/api/Concept/ScoreByProb?instance={}&topK=10".format(urllib.parse.quote(x))))

query('microsoft')

But the following error prompt appears:
SSLZeroReturnError Traceback (most recent call last)
File~/. yenv/versions/3.9.7/lib/python3.9/urllib/request. py: 1346, in AbstractHTTPHandler.do_ Open (self, http_class, req, * * http_conn_args)
1345 try:
->1346 h. request (req. get_method(), req. selector, req. data, headers,
1347 encode_ Chunked=req.has_ Header ('Transfer encoding ')
1348 except OSError as err: # timeout error
File~/. pyenv/versions/3.9.7/lib/python3.9/http/client.py:1279, in HTTPConnection.request (self, method, URL, body, headers, encode_chunked)
Send a complete request to the server
->1279 self_ Send_ Request (method, URL, body, headers, encode_chunked)
File~/. yenv/versions/3.9.7/lib/python3.9/http/client.py:1325, in HTTPConnection_ Send_ Request (self, method, URL, body, headers, encode_chunked)
1324 body=_ Encode (body, 'body')
->1325 self. endheaders (body, encode_chunked=encode_chunked)
File~/. pyenv/versions/3.9.7/lib/python3.9/http/client.py:1274, in HTTPConnection. endheaders (self, messagebody, encode_chunked)
1273 raise CannotSendHeader()
->1274 self_ Send_ Output (messagebody, encode_chunked=encode_chunked)
File~/. yenv/versions/3.9.7/lib/python3.9/http/client.py: 1034, in HTTPConnection_ Send_ Output (self, messagebody, encode_chunked)
1033 del self_ Buffer [:]
->1034 self. send (msg)
1036 if message_ Body is not None:
one thousand and thirty-seven
->1349 raise URLError (err)
1350 r=h. getresponse()
1351 exception:
URLError:
Output is truncated View as a scrollable element or open in a text editor Adjust cell output settings

What went wrong and how should I make the necessary modifications?
Thank you very much to those who can provide help.

Hi @mouseart!
Just tested it myself, I am getting a timeout error as well.
Looking into it, looks like the website we are trying to obtain the JSON from is no longer available. Which would cause the timeout issue we are both seeing.

If there was a URL with the same JSON this one hosted previously we could use that, or if someone can get a copy it could be added to the project itself, I would think.
Sorry this isn't much of a solution, but wanted to clarify it is not an issue on your end at least.

Hi @mouseart!
Just tested it myself, I am getting a timeout error as well.
Looking into it, looks like the website we are trying to obtain the JSON from is no longer available. Which would cause the timeout issue we are both seeing.

If there was a URL with the same JSON this one hosted previously we could use that, or if someone can get a copy it could be added to the project itself, I would think.
Sorry this isn't much of a solution, but wanted to clarify it is not an issue on your end at least.
UPDATE Using "Wayback Machine", we can see the format of the JSON that was expected to be retrieved.
https://web.archive.org/web/20220330074751/https://concept.research.microsoft.com/Home/API

Technically, someone could re-create the JSON data into a local file, add it to the repo and adjust the code to load it, to mimic the results being retrieved. Test that it works correctly and has the expected results.

Thank you for your feedback. I roughly understand.


Shutdown ycmd server with SIGINT

The ycmd server expects to be shutdown cleanly with SIGTERM or SIGINT in
order to clean up temp files etc. Use interrupt-process instead of
delete-process in ycmd-close to terminate the ycmd process.
Fixes #201

Beat me to it ;)


[Private graph] race condition prevention

Definition
To remove race condition of stateful storage changes we are going to send the hash of current state in itemized and paginated requests.
AC

Modify Itemized extrinsic to get a hash value and compare it with the hash of current page and fail if the don't match
Modify Paginated extrinsic to get the hash value (ignore comparing for now since we will need to read the page on chain) but this will allow us to add that later.
Return hash with the storage rpc and add to page update event (validate against current hash)

Question

What hash function we should use and what should be the input param type be ? It can be a multihash type to support multiple hashes but ideally ti should only be 32 bytes hash algorithms. Please refer to @wesbiggs for that decision.

To add a little color to this -- on the DSNP side the fact that it's a hash of a certain flavor will be opaque to an application (DSNP just thinks of it as an etag, like that header in HTTP). So I think the choice of hash function is up to Frequency. It does need to be computable on the client side, though, and it should vary when the page "chunk" (which is just a raw binary from Frequency's point of view) changes.

Does the hash really need to be computed on the client side? Maybe I'm misunderstanding how this will work, but I thought the hash would be something computed on the node when the page state is queried, representing the hash of the current state. That hash is then recycled by the client back to the node when a subsequent request is made. If the hash. If client supplied hash <> current computed hash, then the page state has been modified, operation is rejected and client must re-query current state in order to submit a change.
What am I missing?

in practice if we expose the hash in retrieval the client might not need to calculate it themselves but I think there is a value in client side being able to calculate the hash independently and without being able to retrieve from node.

@JoeCap08055 Good point, the requirement is that it be returned synchronously from a client/application point of view. If the node can do that, that's fine. We just don't wait to force an application to wait for a block to be published to learn the (probable) latest value.


Add Markdown link check to CI

Description

This PR adds an action to our nightly cron job that also checks the links in our Markdown files. Suggested by comments in #900.
Related Issues

#910
Checklist

[x] Is this code covered by new or existing unit tests or integration tests?
[x] Did you run make test successfully?
[x] Do new classes, functions, methods and parameters all have docstrings?
[x] Were existing docstrings updated, if necessary?
[x] Was external documentation updated, if necessary?

Additional Notes or Comments

Codecov Report
Patch coverage has no change and project coverage change: +0.05% :tada:

Comparison is base (bf3bc17) 79.20% compared to head (480f69f) 79.26%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #932      +/-   ##
==========================================
+ Coverage   79.20%   79.26%   +0.05%
==========================================
  Files          97       97
  Lines        5969     5975       +6
==========================================
+ Hits         4728     4736       +8
+ Misses       1241     1239       -2

see 7 files with indirect coverage changes

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

@nenb Not sure if it should triggered by schedule or on pull_request.
In the sense that is better to get informed about typos/links when you create the PR rather than 1-2 days later.

@fnikolai Sure! How would you feel about creating this action? I'm very happy to review when it's done!

@nenb Sure!
I 've built over your commit another version that combines link checking, spell checking, and linting. It looks like the following:
jobs:

  markdown-checker:
    runs-on: ubuntu-latest

    steps:
      # Checkout repo
      - name: Checkout repository
        uses: actions/checkout@v4

      # Link Checker
      - name: Link Checker
        uses: gaurav-nelson/github-action-markdown-link-check@v1

      # Spell Checker
      - name: Spell Checker
        uses<EMAIL_ADDRESS>        with:
          files: '*.md **/*.md **/*.txt' # Apply to the specific file types
          quiet: true # do not report files without spelling mistakes
          dictionaries: ./docs/dictionary.txt

      # Linter
      #      - name: Linter
      #        uses: DavidAnson/markdownlint-cli2-action@v12

The link checker indeed finds and several broken links (tested locally with act).
The spellchecking reports some spelling mistakes, the majority of which is tech jargon (pandoc, superduperdb, apis, ...). To exclude these errors, we need to create a dedicated dictionary on which we define the jargon. Besides spellchecking, we can also benefit by using this dictionary for search engine optimization (aka, technologies used by superduperdb).
The linter is a nightmare. It reports tons of stylistic errors and that's the reason i 've commented it out.
Overall, let's decide which actions we want to keep and i 'll do the PR.

The link checker indeed finds and several broken links (tested locally with act).

@fnikolai  Nice work (And I'm looking forward to you sharing the knowledge about act :wink:  I was very excited about it 12-18 months ago, but found it too much of a pain to get working at the time, I'm really excited to change my mind about this now!)
I'm going to suggest only the link checker for now. We haven't enough bandwidth to be able to devote resources to the spell checker at the moment (although I'm sympathetic to the idea) and the linter doesn't sound like much fun. :crying_cat_face:

@nenb no idea how it was back then, but it now appears to be pretty straight forward -- at least for simple workflows like this one.
Regardless that, I would say proceed with your initial commit. Mispointing links may be detected with some delay, but periodic full-check is necessary since the availability of endpoints is out of our control.


Add tests for userprofile views

Coverage increased (+3.4%) to 73.984% when pulling 6860db24c0bb9ca92fe64ebe243e811dea957903 on tests/userprofile-views into a4e03ff0efb89e32db705949178c5930be1e6539 on main.

Testing qualification grants is not easily possible because initially, there are no form fields that could be filled in because of the dynamic formset. @felixrindt

Testing qualification grants is not easily possible because initially, there are no form fields that could be filled in because of the dynamic formset. @felixrindt

You can still test them by explicitly setting post data manually, which includes values for the formset's management form. A little more work, but possible.


Error when deleting the last item off the planner

Suspected steps:

add something to plan
delete it before the snackbar disappears


Should "percentage" work with this implementation ?

Hi guys !
I sucessfully managed to use the speed parameter, but "percentage" doesn't seem to work, it this functionality implemented ?
I'm trying to use is like this :
<div class="container" v-rellax="{       speed: -5,       percentage: 0.5     }">
Cheers and thanks !

sorry that this isn't related to your question, but what version of vue are you using? I can't seen to get this to work with vue 3 and the composition api.


Permanent learned port won't relearn after config reload.

When a change is made to the config file, and the reload is triggered by sending a SIGHUP, faucet removes rules from the eth_src_table.
However with the permanent_learn flag set, a MAC address that has been learnt on the permanent_learn port will not be re-learnt, and all it's packets will be dropped.
There is a rule for antispoofing here:
https://github.com/REANNZ/faucet/blob/master/faucet/valve_host.py#L121
that is installed for hosts on permanent_learn ports, which matches packets with the same MAC address, from any in_port and drops them. This means that as the MAC is no longer learned (rule was deleted on config reload) it is unable to be re-learnt.
From what I can tell,
https://github.com/REANNZ/faucet/blob/master/faucet/valve.py#L702
and
https://github.com/REANNZ/faucet/blob/master/faucet/valve.py#L395-L401
is the code that deletes the rules from eth_src_table. and is matching on the in_port, which the antispoofing rule does not have.
Table 3 before:
cookie=0x5adc15c0, duration=195.089s, table=3, table=3, n_packets=148, n_bytes=14504, priority=9098,in_port=1,dl_vlan=100,dl_src=08:00:27:00:03:02 actions=goto_table:6
 cookie=0x5adc15c0, duration=195.050s, table=3, n_packets=147, n_bytes=14406, hard_timeout=300, priority=9098,in_port=2,dl_vlan=100,dl_src=52:54:00:12:35:02 actions=goto_table:6
 cookie=0x5adc15c0, duration=195.089s, table=3, n_packets=0, n_bytes=0, priority=9097,dl_vlan=100,dl_src=08:00:27:00:03:02 actions=drop
 cookie=0x5adc15c0, duration=196.030s, table=3, n_packets=0, n_bytes=0, priority=0 actions=drop

Table 3 after config reload:
 cookie=0x5adc15c0, duration=423.878s, table=3, n_packets=8, n_bytes=784, priority=9097,dl_vlan=100,dl_src=08:00:27:00:03:02 actions=drop
 cookie=0x5adc15c0, duration=424.819s, table=3, n_packets=0, n_bytes=0, priority=0 actions=drop
 cookie=0x5adc15c0, duration=424.819s, table=3, n_packets=2, n_bytes=196, priority=9000 actions=CONTROLLER:128,goto_table:6

Fixed by #519


dry contact support

Hi,
I'm reflashing my ZBMINI (CC2652P based) to be able to add a dry-contact on the input (L2 on P08, L1 is the button on P23). I've set the type to GPIO + switch. In the Z2M external converter I've modified the exposes line to the following:
exposes: [e.switch().withEndpoint('l1'), e.contact().withEndpoint('l2'),],

The problem is, I'm getting 'null' for the contact:
Debug Received Zigbee message from '0x00124bxxxxc07xxx', type 'readResponse', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info MQTT publish: topic 'zigbee2mqtt/0x00124bxxxxc07xxx', payload '{"contact_l2":null,"last_seen":1646934330600,"linkquality":2,"state_l1":"OFF"}'
Debug Received Zigbee message from '0x00124bxxxxc07xxx', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info MQTT publish: topic 'zigbee2mqtt/0x00124bxxxxc07xxx', payload '{"contact_l2":null,"last_seen":1646934331622,"linkquality":2,"state_l1":"OFF"}'

What did I do wrong?
PTVO version 2022-03-02, <IP_ADDRESS>

I've changed back my external converter config to this (firmware untouhced, L1 is a button linked to out1, L2 is a switch):
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.action(['single', 'double', 'triple', 'hold', 'release'])],

And the log shows this now (detecting single action for a switch?) upon a change in the contact sensor:
 MQTT publish: topic 'zigbee2mqtt/0x00124bxxxxc07xxx', payload '{"action":"","last_seen":1646990731533,"linkquality":7,"state_l1":"OFF","state_l2":"OFF"}'
Info MQTT publish: topic 'zigbee2mqtt/0x00124bxxxxc07xxx', payload '{"action":null,"click":"","last_seen":1646990731533,"linkquality":7,"state_l1":"OFF","state_l2":"OFF"}'
Info MQTT publish: topic 'zigbee2mqtt/0x00124bxxxxc07xxx/action', payload 'release_l2'
Info MQTT publish: topic 'zigbee2mqtt/0x00124bxxxxc07xxx/click', payload 'l2_release'
Debug Received Zigbee message from '0x00124bxxxxc07xxx', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info MQTT publish: topic 'zigbee2mqtt/0x00124bxxxxc07xxx', payload '{"action":null,"last_seen":1646990731629,"linkquality":5,"state_l1":"OFF","state_l2":"OFF"}'
Debug Received Zigbee message from '0x00124bxxxxc07xxx', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Info MQTT publish: topic 'zigbee2mqtt/0x00124bxxxxc07xxx', payload '{"action":null,"last_seen":1646990737136,"linkquality":5,"state_l1":"OFF","state_l2":"OFF"}'
Debug Received Zigbee message from '0x00124bxxxxc07xxx', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0

Did you export your external converter from the PTVO configurator?

Did you export your external converter from the PTVO configurator?

yes, than I did change it the expose line, since it was not giving me the expected results. This is the expose line from the exporter:
exposes: [e.switch().withEndpoint('l1'), e.action(['single', 'double', 'triple', 'hold', 'release']),]

My main problem is, that I cannot get the second input as a state (with the default config I'm getting it as an action, which is pretty weird, since the L2 is configured as a switch). The best option would be however, if I cound get it as "contact_l2", like a Tuya door sensor.

@V1pr I'm sorry about the delay with my answer. I've tested the contact GPIO type, and it works well. Could you please show me the full version of your converter?

@ptvoinfo mean't know push, just wasn't sure if you've seen my answer.
What do you mean by "contact GPIO type"?
The full converter (as exported from <IP_ADDRESS>):
const zigbeeHerdsmanConverters = require('zigbee-herdsman-converters');

const exposes = zigbeeHerdsmanConverters.exposes;
const ea = exposes.access;
const e = exposes.presets;
const fz = zigbeeHerdsmanConverters.fromZigbeeConverters;
const tz = zigbeeHerdsmanConverters.toZigbeeConverters;

const ptvo_switch = zigbeeHerdsmanConverters.findByDevice({modelID: 'ptvo.switch'});
fz.legacy = ptvo_switch.meta.tuyaThermostatPreset;
fz.ptvo_on_off = {
  cluster: 'genOnOff',
  type: ['attributeReport', 'readResponse'],
  convert: (model, msg, publish, options, meta) => {
      if (msg.data.hasOwnProperty('onOff')) {
          const channel = msg.endpoint.ID;
          const endpointName = `l${channel}`;
          const binaryEndpoint = model.meta && model.meta.binaryEndpoints && model.meta.binaryEndpoints[endpointName];
          const prefix = (binaryEndpoint) ? model.meta.binaryEndpoints[endpointName] : 'state';
          const property = `${prefix}_${endpointName}`;
	  if (binaryEndpoint) {
            return {[property]: msg.data['onOff'] === 1};
          }
          return {[property]: msg.data['onOff'] === 1 ? 'ON' : 'OFF'};
      }
  },
};

const device = {
    zigbeeModel: ['02ZBMINI'],
    model: '02ZBMINI',
    vendor: 'CustomSon',
    description: '[Configurable firmware](https://ptvo.info/zigbee-configurable-firmware-features/)',
    fromZigbee: [fz.ignore_basic_report, fz.ptvo_on_off, fz.ptvo_multistate_action, fz.legacy.ptvo_switch_buttons,],
    toZigbee: [tz.ptvo_switch_trigger, tz.on_off,],
    exposes: [e.switch().withEndpoint('l1'),
      e.action(['single', 'double', 'triple', 'hold', 'release']),
],
    meta: {
        multiEndpoint: true,

    },
    endpoint: (device) => {
        return {
            l1: 1, l2: 2,
        };
    },

};

module.exports = device;

My config:
Board type: CC2652R1
Device type: Router
Serial bootloader (SBL): P23
Manufacturer ID: 64447
Manufacturer name: CustomSon
Model ID: 02ZBMINI
Update firmware's timestamp : 2022-03-07
Enable watchdog timer: Yes
Status LED: P07 (Inversed), Periodic (every 5 seconds)
Set default reporting interval (s): 5

Output pins:
P27: Output 1, Pulse switch, Pull-up (Impulse (ms): 500, Restore after power off: Off)

Input pins:
P23: Input 1, GPIO, Pull-up, Link to out 1
P08: Input 2, GPIO, External pull-up, Switch

Could you please try the following latest version:
https://ptvo.info/download/ptvo-firmware-latest.zip
I've added a new option that will help you to generate the correct converter for the contact sensor

.

I'm a bit confused. Should this not be an input rather than an output? The contect sensor is connected to P08 and set up as an input. Should I change it to be an output?

@V1pr Hmm. If you want to make a contact sensor for Input 2, you should link it to an output. You can use any virtual pin on this output. Otherwise, the firmware reports clicks for an input using the "action" attribute.


Disable 1s spam prevention delay

Is there a possible way to disable the 1s delay mentioned in https://github.com/bbepis/XUnity.AutoTranslator/tree/master#spam-prevention
I'm trying to write and see if a translation endpoint that uses Sugoi offline translator would be viable. And since it is offline, it wouldnt mind being spammed with translation requests.
It's a bit hard to find where in the sources where this delay is introduced so I'd like to both disable it in a custom build of the dll that i could rebuild and test with, and maybe as an option in the future for specific translation backends.

It's not just a 1 second delay. It is a system that waits for the text shown in the component to stabilize. For example, this "delay" also prevents translating text that appears by "scrolling in" letter-by-letter, etc. It also prevents texts that constantly change from being translated.
I'm not particularly interested in release a version without the safety valve in place, but the relevant code is this:
https://github.com/bbepis/XUnity.AutoTranslator/blob/master/src/XUnity.AutoTranslator.Plugin.Core/AutoTranslationPlugin.cs#L2287
The call to "WaitForTextStabilization" is what is causing the delay to appear, as can be seen here.
Just removing that logic may cause the plugin to shutdown, however, because there are mechanisms that will detect "bad behaviour" from games. So you will probably also need to remove all references to SpamChecker.
https://github.com/bbepis/XUnity.AutoTranslator/blob/946e2173868499b44acb78a79878528a883a0613/src/XUnity.AutoTranslator.Plugin.Core/SpamChecker.cs#L13

Thanks! I don't think releasing a new version for it is needed, since it's the only one endpoint I'm writing and is experimental anyway. Just needed to be pointed in the right direction as the codebase is large.
I could probably just create an external plugin that patches the stabilization and spam check via harmonylib when the specific endpoint is active.


Improved docs for par.line.numbering-scope

If the numbering can't be reset at all, then the "automatically" part should be dropped to not confuse people into thinking that it can be reset manually.
I actually haven't tried it. Can you reset the numbering with counter("par.line").update(0) or something?
Also the "that is, is never" sounds strange to me. Another change could be replacing the "that is" with "i.e.".

I'm not sure I understand. By resetting on each page, it is doing so automatically, that is, without your intervention.
It's true that you can't do it manually at the moment - we did try implementing that, but it turned out to be a much deeper rabbit hole than it seemed, because the line number counter is stepped outside of the document flow, so the document flow isn't aware of the current value of the counter unless you do an explicit pagebreak, making this very tricky. Still, it'd be an interesting goal for the future.
Either way, I don't mind changing the wording to that.

Based on the additionally provided context, I changed the wording to how I think it would be easier to read/understand the description/docs. You can further modify it, if needed.


Refactor scheduler request specs to unit specs

Scheduler testing is currently done completely at the network level. While these tests adequately test the functionality of the scheduler code, the code should really be unit tested.

Forgot to close this a while ago. e1c8b03e2c6407c9f2f42a7459989a0c0bc2e525


Studio support

It would be useful & not too hard to implement
To add onto this, it could also enable generally useful FFlags like light attenuation and extended light range

will work on this tonight, any special FFlags I should add/remove for the Studio version?

will work on this tonight, any special FFlags I should add/remove for the Studio version?

just the ones i mentioned
"FFlagNewLightAttenuation": true,
"FFlagExtendedLightRanges2": true,

attenuation is apparently buggy so that could probably be off by default
DFIntTaskSchedulerTargetFps could also be unlimited to 999 for both studio & client since there's no point in capping it to 120 when you might aswell squeeze as much performance as you can out of your hardware (or for higher refresh rate monitors)

completed in v1.2.0


How to get EncoderStream from VoiceConnectionInfo

Hi, I'm kinda following the encoderstream.js example, but I can't get the Encoder Stream after joining a voice channel... Here is my code:
channel.join().then(connectionInfo => {
		let mp3decoder = new lame.Decoder();
  		let file = fs.createReadStream("./audio/test.mp3");
		file.pipe(mp3decoder);

		mp3decoder.on('format', pcmfmt => {
			var options = {
				frameDuration: 60,
				sampleRate: pcmfmt.sampleRate,
				channels: pcmfmt.channels,
				float: false
			};

			var encoderStream = connectionInfo.getEncoderStream(options);
			...
		}
}

Is there any way to get the Encoder Stream from VoiceConnectionInfo?

I think you missed one tiny thing:
//connectionInfo.getEncoderStream(options);
connectionInfo.voiceConnection.getEncoderStream(options);

https://github.com/qeled/discordie/blob/master/examples/encoderstream.js#L106


Seemingly no way to test old version of respository because cloning it leads to missing packages

I decided to clone an old version of the ITensors repository (more specifically, pull request #287), to see how my code for DMRG on the spin-1/2 lattice formulation of the Schwinger model was working on an old version compared to a new version. However, when I did this, I got the following error:
ERROR: LoadError: ArgumentError: Package ITensors [9136182c-28ba-11e9-034c-db9fb085ebd5] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
 [1] _require(::Base.PkgId) at .\loading.jl:993
 [2] require(::Base.PkgId) at .\loading.jl:922
 [3] require(::Module, ::Symbol) at .\loading.jl:917
in expression starting at D:\Julia Files\Simple Examples\ITensors_test.jl:1

However, when I run "Pkg.instantiate," I see the following:
Updating registry at `C:\Users\user\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Updating git-repo `https://github.com/ITensor/ITensors.jl`

This results in the latest version of the ITensors code being downloaded into the ITensors.jl folder, which means that there is no way, as far as I can tell, to test an old version of the code.
To be fair, I understand that this is pre-release and is thus going through a lot of changes, but I actually think that makes it all the more important to have this functionality. I say this in particular relation to issue #322 , where an error occurred in a newer version of the code that did not appear in an older version of the code. Is there some way I can test an old version of the code? Any help on this would be greatly appreciated.

Hi Sujay, I think this issue will get a lot easier after we officially register the package.
Does the following approach work for you?

make a clean install of Julia, say on a different machine (without any packages installed yet, especially ITensors.jl)
use git clone https://github.com/ITensor/ITensors.jl to clone ITensors.jl into a folder somewhere
add this folder to your Julia LOAD_PATH push!(LOAD_PATH,"/folder/name/where/ITensors.jl/is/cloned"). You could put this line of code into your .julia/config/startup.jl

Then it may work better to switch the ITensors.jl folder to different versions. Not sure & maybe @mtfishman has a better suggestion. Or maybe this is already the approach you've tried?

@emstoudenmire, that was one way I was going to suggest.
The way I would switch between branches/commits that has worked for me is checking out the package in development mode. For example if I had installed ITensors.jl as follows:
julia> ]

(@v1.4) pkg> add https://github.com/ITensor/ITensors.jl

then I would use the development version of ITensors with the following command (in Pkg mode):
(@v1.4) pkg> dev ITensors

This creates a clone of ITensors.jl in the path ~/.julia/dev/ITensors and when you type using ITensors it uses the version of ITensors.jl in that path. Then, you can enter the directory ~/.julia/dev/ITensors, checkout whichever commit you are interested in, and that will be reflected in a new Julia session.
Perhaps you have already tried this. Please let us know what steps you tried/how you have ITensors.jl installed so we have a better idea of what is going on.

You can also tell the package manager to install a specific commit:
(test_commit) pkg> add https://github.com/ITensor/ITensors.jl#4ade960
 (test_commit) pkg> st
Status `~/tmp/test_commit/Project.toml`
  [9136182c] ITensors v0.1.0 #4ade960 (https://github.com/ITensor/ITensors.jl)

As far as I understand this should pin the version of ITensor to the specific commit.
But I personally find the approach described in Matt's comment above to be the most convenient if I frequently need to checkout different commits / branches .

Sorry for the late reply, but thank you all so much! I am very inexperienced with GitHub, so this was all very helpful.
Ultimately, the method suggested by @orialb worked very nicely, so I will stick with that for the time being. I also tried the method recommended by @mtfishman but ran into an issue--I have attached a picture of it to this reply.

I also tried the method recommended by @mtfishman but ran into an issue

Since ITensors is not yet a registered package, it should probably be:
pkg> dev https://github.com/ITensor/ITensors.jl

Or if you already cloned ITensors to some local path
pkg> dev /local/path/to/ITensors

I would recommend reading through the documentation of the package manager to learn more about package and environment management in Julia.

I think there are a few good suggestions for how to do this, so I'll close this issue. These types of things should become easier when we register the package (which I expect will be in a week or so).

when we register the package (which I expect will be in a week or so).

Exciting!


Kibana 6.5.1 Support

HI any idea when we will get the release for 6.5.1 or is there any workaround to get it work

Will be great to support 6.6 version. It's a great plugin and a lot of people wait for you guys :)

Hi,
please give it a try to the last release (support for kibana v6.5.x to 6.7.x).
Regards


I want someone to make a event which changes the stage and a note which slows down the scroll speed

I didn't mean to make this


absolute IMU class, fails to find ports in new version of ev3dev

When trying to generate an instance of class AbsoluteIMU, you can only specify the port as an integer value, and then it checks in /sys/class / ... uevent  for LEGO_ADDRESS=in2'  but the port name for an the absolute IMU-ACG sensor from mindsensors mounts on port  in2:i2c17 or something like this.
Thus the code breaks, when trying to make the sensor.  A quick fix is to use .startswith() instead of an exact match.

The problem occurs in ev3dev.py around line 229 - 258


Upload to Gradle Plugins index

https://plugins.gradle.org/docs/submit. Should add ENV variables in Travis and trigger upload for releases.


Time constructs are not handeled properly by PreDi

They should be tokenized and symbolically comparable.

This is just an example:
python main.py "NS<(1days)" "NS<(1days)"
Traceback (most recent call last):
  File "main.py", line 17, in <module>
    main()
  File "main.py", line 13, in main
    result = comparator.compare(predicate1, predicate2)
  File "/Users/mojtabaeshghie/projects/SSPredicates/src/comparator.py", line 16, in compare
    tokens1 = self.tokenizer.tokenize(predicate1)
  File "/Users/mojtabaeshghie/projects/SSPredicates/src/tokenizer.py", line 95, in tokenize
    raise ValueError(f"Unexpected character: {predicate[position]} at position {position}")
ValueError: Unexpected character: 1 at position 4

The same is true for "minutes" and "hours" (and block.timestamp and block.now);


how to change confidence threshold ?

Hi
Thank you for the great work on this repository. How do I change the confidence value of the prediction in basnet_test.py ?
Thanks ... :)

Thanks for your interests. Sorry I couldn't understand your question? What
do you mean about "change the confidence value"? The output of the network
is the probability map and then normalized to exactly [0,1] by  normPRED ()
. It is then normalized to [0,255] and saved as images. If you want to
binarize the results, you just have to write you own functions and
threshold that.
On Fri, Feb 14, 2020 at 11:34 AM Raghav Gurbaxani<EMAIL_ADDRESS>wrote:

Hi
Thank you for the great work on this repository. How do I change the
confidence value of the prediction in basnet_test.py ?
Thanks ... :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NathanUA/BASNet/issues/35?email_source=notifications&email_token=ADSGORILPHKFQRVLLUA64YDRC3PZ7A5CNFSM4KVNP4S2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INUWBVA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSGORPRKHB5N65TGGUHYPLRC3PZ7ANCNFSM4KVNP4SQ
.

--
Xuebin Qin
PhD Candidate
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage:https://webdocs.cs.ualberta.ca/~xuebin/


Add new auth-jwt-service

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 4

Complexity increasing per file
==============================
- auth-jwt-service/src/main/java/io/stargate/auth/jwt/AuthJWTServiceActivator.java  4
- auth-jwt-service/src/main/java/io/stargate/auth/jwt/JwtValidator.java  5
- auth-jwt-service/src/main/java/io/stargate/auth/jwt/AuthJwtService.java  6
- auth-jwt-service/src/test/java/io/stargate/auth/jwt/AuthJwtServiceTest.java  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 3

Complexity increasing per file
==============================
- auth-jwt-service/src/main/java/io/stargate/auth/jwt/AuthJWTServiceActivator.java  8
- auth-jwt-service/src/main/java/io/stargate/auth/jwt/AuthJwtService.java  6
- auth-jwt-service/src/test/java/io/stargate/auth/jwt/AuthJwtServiceTest.java  1
- auth-jwt-service/src/test/java/io/stargate/auth/jwt/AuthJWTServiceActivatorTest.java  1

Clones added
============
- auth-jwt-service/src/test/java/io/stargate/auth/jwt/AuthJWTServiceActivatorTest.java  2

See the complete overview on Codacy


Add Search

@rcosnita you might be interested in some of the improvements I made to the search, if you continue using your own fork. Thanks for the intiial work.

Awesome. Sorry for the late reply but I've been extremely busy recently. I will use docstrap in another project I am currently working on.
Regards,
Radu


fix: update default k8s ver to 1.30

Reason for Change:

Main branch is for release 1.6.x, which is locked to k8s 1.30. Updates the default cluster for E2Es and development to 1.30.
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] relevant PR labels added

Notes:

/azp run Azure Container Networking PR

Updating to 1.30 is bringing in new tests that is only failing for windows dualstack. Currently looking into why they are failing.

i'm starting to think there's a problem with the dualstack overlay test...

So, this is exclusively impacting k8s 1.30 clusters. Not the testing that is being brought in with k8sE2E suite.

Warning  FailedCreatePodSandBox  2m7s   kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: hcs::CreateComputeSystem 41e358524cf5b069ac3c271cba38948df30276e9fdb280a1ee6b7b08684faad0: The parameter is incorrect.: unknown

Will see if there are any open issues tracking this on:

https://github.com/microsoft/hcsshim
https://github.com/kubernetes/kubernetes/

Talked to @paulyufan, this could also be containerd issue.

@jpayne3506 what do I need to do to get this merged?

/azp run Azure Container Networking PR


Unify beans

@schleichardt please review. As I stumbled over the cart stuff, I preferred to leave it here and continue with the task in a future PR. It became already too many changes.

ok, but see the comments


[#noissue] Change and commonize CSS color

comonize and change CSS color
as-is

to-be

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Doyoon Kim:x: BillionaireDYDoyoon Kim seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


offsets for different scroll directions?

It is easy to determine if I am scrolling up or down.
However, I would like to trigger events when an element first comes into view from the top or the bottom.
Since I can only set one offset, how do I do this?
Adding an additional element.waypoint( ... ) seems to override the behavior of the first one. :-/

See here:
https://github.com/imakewebthings/waypoints/issues/12
and here:
https://stackoverflow.com/questions/19181435/different-offset-for-jquery-waypoint-up-event


Added Docker Setup Instructions and Automation Script

Summary
This pull request adds Docker setup instructions and an automation script to the Laravel Gymie project. The following changes have been made:

README.md:

Added a new section with detailed instructions on how to set up and run the project using Docker.
Included a subsection outlining the particularities for Docker, specifically mentioning the use of Nginx as a reverse proxy due to compatibility issues with the PHP version.
Provided instructions for using the setup script setup_gymie_docker.sh to automate the Docker setup process.

Setup Script:

Added setup_gymie_docker.sh, a script to automate the Docker setup process. This script builds and starts the Docker containers, waits for MySQL to be ready, sets up the necessary directories and permissions, installs dependencies, sets up environment variables, generates the application key, runs migrations, and sets permissions inside the container.

Detailed Changes
README.md

Added Docker Method section under Installation:

Step-by-step instructions to set up the project using Docker.
Specifics on using Nginx as a reverse proxy due to PHP version compatibility issues.
Instructions for using the setup_gymie_docker.sh script for automated setup.

setup_gymie_docker.sh

Automates the following steps:

Building and starting Docker containers.
Waiting for MySQL to be ready.
Setting up necessary directories and permissions.
Installing composer dependencies.
Setting up environment variables.
Generating application key.
Running migrations and seeding the database.
Modifying php-fpm listen directive.
Restarting php-fpm.
Adding a cron job for scheduled tasks.

Testing
Tested the Docker setup and script on a local environment to ensure all services start correctly and the application is accessible through Nginx.
Notes
These additions aim to simplify the setup process for new users and contributors by providing a standardized Docker environment.
Thank you for considering this pull request. Please let me know if there are any changes or additional improvements required.

Hi @ajitbohra
I have added Docker setup instructions and an automation script as outlined in the description. Please review the changes at your earliest convenience. If there are any adjustments needed or questions, feel free to let me know.
Thank you for your time and consideration.
Best regards,
Higor Matos.


change(rpc): Refactor RPCs using a state tip height function

Motivation
We call the same code 4 times to get the state tip height, so I made a function for it.
Review
This is a tiny refactor, anyone can review it.
Reviewer Checklist

[x] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[x] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?
[ ] How do you know it works? Does it have tests?

hm this may need a rebase

hm this may need a rebase

GitHub does this when the workflows are different for PRs targeting main. Seems like a CI bug we should fix.
This PR will get rebased anyway, after we fix main branch failures in PR #5549.

hm this may need a rebase

GitHub does this when the workflows are different for PRs targeting main. Seems like a CI bug we should fix.

I opened PR #5550 which should fix this.

@mergifyio update

This PR conflicts with PR #5526, so I pushed a merge commit, and set it to merge after that PR merges.


Transition Rejection : while upgrading angularjs from 1.5 to 1.8   using angular-route:1.0.0

Transition Rejection($id: 0 type: 6, message: The transition errored, detail: TypeError: this.parent.parameters is not a function)

here we are using
$stateProvider
.state('mobile-login',
{
url : "/mobile-login",
templateUrl : "assets/myorg/mobile/login/login.html",
controller: "loginController",
authenticate: false
})
.state('mobile-main',
{
url: "/mobile-main",
templateUrl: "assets/myorg/mobile/main/main.html",
controller: "MainController",
authenticate: true
})
.state('login',
{
url : "/login",
templateUrl : "assets/myorg/login/login.html",
controller: "loginController",
authenticate: false
})
.
.
.
        Can someone help me, what could be the issue?

I'm having the same issue. can someone help here?


PPI Logger

We need a logging class. Does it deserve to be its own component ?
My initial use case for this internally is to throw a deprecated notice for functionality that we want to phase out gradually.
More thoughts required here
@BenTheDesigner you built the exception component.. any thoughts here?

I suppose it depends on how we plan to handle framework errors in general. We could implement something similar to the exception component with the ability to specify which error types are handled by the error handler.
Whether or not the logging class became a component in it's own right would require a wider vote as this could result in dependencies and less loosely coupled components.
Thoughts?

@BenTheDesigner
"Whether or not the logging class became a component in it's own right would require a wider vote as this could result in dependencies and less loosely coupled components."
Agreed.
For error handler we could have an Observer pattern like you suggested with the relation to the "Exception component".
This would let us flexibly add our decoupled logger component into the error process.
I think PPI\Log in itself is a viable component as we'll have different types of log classes.
PPI\Log\Log, PPI\Log\FirePHP, <insert_other_logging_methods_here>.
Thoughts ?

@dragoonis, I think having a log component in itself is very viable, specially because you can have different types of log classes, like you said, PPI\Log\Text, \FirePHP, \DB, etc..

Van I suggest splitting this issue into two parts? One - the error handling component, the second - the logging component. I'm happy to implement the first.

@BenTheDesigner yes that was the point i was trying to convey.
@alfrekjv Yes, I agree having skeleton log classes in which you can pass resources into is a good idea.
For text it would want a "path"
For DB it would want maybe an object with a ->save() method or something? (needs more thought)
It seems we're all saying the same thing here in one way or another.
Implement()->Propose()->Discuss();
Thanks :-)


Add preview builds

A preview build will now be triggered when a comment is left on a PR starting with '@metamaskbot publish-preview'. The preview will be published to the directory "preview/[commit hash]". The bot will comment on the PR with a link to the preview once it has been published.
Note that this only works on branches on this repository. For security reasons, we don't allow previews on branches from forks.

looks great! LGTM!


Correcting typo in consistency check parameter name

I spotted a typo on the name DATA_CONISTENCY_CHECK (missing the first S)

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

#sign-off


Instant popup near mouse: event is undefined

I intent to show a popup near the mouse pointer as soon as user finished dragging something. I thought qtip would come in handy. This is my init code:
$(drag_target).qtip({
  content: make_qty_widget(position.qty),
  position: { target: 'mouse' },
  show: { ready: true }
});

This throws error message "TypeError: event is undefined" in jquery.qtip.js:775:4.

I just stumbled onto the very same problem.
It worked in 2.2.0 jsFiddle but  no longer works in 3.0.3 jsFiddle.

This package is abandoned.


Gettin' the Goods is unwishable

In the G-Lover path, the Genie relay tries to wish for "Gettin' the Goods" for +100% item drops, but the genie does not allow this buff to be wished for.

Fixed in some version.


Dependencies of uberJar type must be declared only on top level

Environment

Platform version: 7.2-SNAPSHOT
Gradle version: 5.6.4

Description of the bug or enhancement
Case: I need to add a 3rd-party appender to the logstash. I use the following in my logback configuration file for both uberJar and WAR deploy:
    <appender name="Logstash" class="net.logstash.logback.appender.LogstashTcpSocketAppender">
        <destination>logstash:4560</destination>
        <!-- encoder is required -->
        <encoder class="net.logstash.logback.encoder.LogstashEncoder" />
    </appender>

I need to add a dependency to my project:
configure(globalModule) {
    dependencies {
        uberJar ('net.logstash.logback:logstash-logback-encoder:6.3')
        if (!JavaVersion.current().isJava8()) {
            runtime('javax.xml.bind:jaxb-api:2.3.1')
            runtime('org.glassfish.jaxb:jaxb-runtime:2.3.1')
        }
    }
}

It works fine if I use WAR deployment scheme, logs are being set to the logstash host.
But for the UberJar it doesn't work, because logback starts BEFORE the application is started, therefore in UberJar I got an error:
Caused by: java.lang.ClassNotFoundException: net.logstash.logback.appender.LogstashTcpSocketAppender
        at      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
        at      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
        at      at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at      at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:56)                                                 at      ... 34 common frames omitted

This can be resolved by adding the dependency as uberJar, not runtime.

Expected behavior
I change the dependency type to uberJar:

configure(globalModule) {
    dependencies {
        uberJar ('net.logstash.logback:logstash-logback-encoder:6.3')
        if (!JavaVersion.current().isJava8()) {
            runtime('javax.xml.bind:jaxb-api:2.3.1')
            runtime('org.glassfish.jaxb:jaxb-runtime:2.3.1')
        }
    }
}

and the library is unpacked for uberJar and added as a dependency for WAR.

Actual behavior
If I change dependency type to uberJar I got an error:

FAILURE: Build failed with an exception.                                                                                * Where:                                                                                Build file 'C:\Users\belya\Work\Haulmont\RnD\logstashtest\build.gradle' line: 74                                                                                * What went wrong:                                                                                A problem occurred evaluating root project 'logstashtest'.                                                                                > Could not find method uberJar() for arguments [net.logstash.logback:logstash-logback-encoder:6.3] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

The problem can be solved if the dependency is declared at top level:
dependencies {
    appComponent("com.haulmont.cuba:cuba-global:$cubaVersion")
    uberJar ('net.logstash.logback:logstash-logback-encoder:6.3')
}

But in this case, the library is not packed to WAR files and I got the error:
Caused by: java.lang.ClassNotFoundException: net.logstash.logback.appender.LogstashTcpSocketAppender
        at      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365)
        at      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
        at      at ch.qos.logback.core.util.OptionHelper.instantiateByClassNameAndParameter(OptionHelper.java:56)
        at      ... 63 common frames omitted

If the dependency is declared at both places (top level and global module), it is packed twice to the uberJar.

Suggestion
We need to define proper build process behavior to handle such cases, when a dependency should be unpacked in uberJar and just deployed for WAR case.

Sample project:
logstashtest.zip

It was decided to add server configuration to modules. If dependency added as server to core, web or portal modules (modules that have task with type CubaDeployment) it will be placed to server libs by deploy, CubaWarBuilding and buildUberJar tasks.

Case 1

Add server to the core module in the build.gradle file
Build UberJar
Open generated web module (for example app.jar)
Check that folder with server libs not created

AR: Server libs were added to the web module.
Also, server libs add in the portal module if it was added to the project.
Case 2

Create a new project
Create the first entity
Install app component to the local maven repository
Create the second entity and delete the first entity
Undeploy project
Change the artifact version
Install app component to the local maven repository
Create a new project
Select Use Local Maven repository property in the Project properties
Add the first artifact coordinates of the previous project as server to the core module
Add the second artifact coordinates of the previous project as server to the web module
Build the single UberJar

AR: Server libs for the first artifact coordinate and the second artifact coordinates were added to the one folder

Checked:

add a server to the different modules
add the different server to the core, global and portal modules at the same time
add two same servers in the different module
add two different servers in the one module
All cases were checked for WAR, UberJar, single WAR, single UberJar, and deployment


malformed test URLs

Some test JSON files have escape slashes in their URLs, probably from the previous version of the TootClient debug print, e.g. this from scheduled_post_attachment.json
"preview_url" : "https:\/\/media.universeodon.com\/media_attachments\/files\/110\/884\/868\/918\/054\/337\/small\/93d235b25788c9fd.jpeg",

@technicat Good catch! I guess if no tests are failing we're probably not using the values. Did you encounter issues while working on the translations or elsewhere?

I noticed it way back when I filed the bug about the debug printer outputting those slashes when I was generating test feils, at first I thought it was something new then I saw it was in a bunch of older test files. i just didn't file a bug til now.


Project TeckStack not showing

Issue Raised By
@GauravGusain98
How to Replicate

Go to Projects
Edit a project
Go to Project Techstack section

Fill Teckstack details
Save the details
The updated data is not shown in the fields

Expected behavior
One we save the teckstack form, the updated data should be displayed in the page

Action Items
Basics Concept - 1 pointer:

[ ] Read about Models in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read about Views in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read about Routes in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read about Controller in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read about Services files in Laravel. Share your understanding of why we use them in the task comment in your own language
[ ] Read how we can print a value in Laravel using dd()
[ ] Try printing hello world using the dd function

Form Submission

[ ] Read about HTML forms and how we submit forms. Also, share the use of the below provide items
[ ] Action attribute in the form
[ ] Method attribute in the form and different types of Methods
[ ] Name attribute in any HTML tag and its importance while form submission
[ ] Read about old() function in laravel

Bugfix

[ ] Find if the data is getting stored in database
[ ] See why its not getting shown in the form
[ ] Make chnages to display stored data in the form as well
[ ] Create a PR
[ ] Do self review of your code changes in GitHub
[ ] Assign for review

Basics Concept - 1 pointer

Previously Answered

An HTML form is used to collect user input.
The HTML <form> element is used to create an HTML form.

The action attribute defines the action to be performed when the form is submitted.
the form data is sent to a file on the server when clicking the submit button.

The method attribute specifies the HTTP method to be used when submitting the form data.
The form-data can be sent as URL variables with method="get" or as HTTP post transaction with method="post". we never use GET method to send sensitive data.

The name attribute specifies the name of a form.
The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted.

The old() function is used to retrieve the value of the field from the previous form submission.


feat(icons): export icon names in entrypoint of @clr/core/icon

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

N/A Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
N/A If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

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

What is the current behavior?

Issue Number: https://github.com/vmware/clarity/issues/5335
TypeScript users had to load `import { xyzIconName } from '@clr/core/icon/shapes/xyz'; in order to use type checked icon names.
What is the new behavior?
TypeScript users can now load directly from: import { xyzIcon, xyzIconName } from '@clr/core/icon';
Does this PR introduce a breaking change?

[ ] Yes
[x] No

@mathisscott, anything else you need me to change on this? :)

@bdryanovski, done, rebased on next and squashed! It just needs a review from @coryrylan to lift the block :D


Dependency Update / Ruby Syntax overhaul

Summary
This PR fixes a couple of small syntax issues, it adds a new core-dependency (Which simplifies a lot of logic and doesn't really change XP)
Details

Remove some conditional hooks, that aren't needed
Use Better Ruby Syntax

Motivation and Context
Remove un-needed lines of code. Simplify contributor block
How Has This Been Tested?
CI
Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Ping for review.
In essence

Fix syntax to new symbol push syntax (not rockets)
Fix a bug which isn't an issue yet, but could be an issue in Ruby3 or 2.7 (Where we're mutating a frozen string, but inside a different thread where magic comments don't work)
Remove condition gem assign which isn't needed


docs: fix links in Markdown files

Description
this PR is supposed to fix all the broken links in markdown files across the repo.

/rtm


Migrate to ES2015

Use babel instead of ts-loader to compile our javascripts, as well as migrate to es2015 in place of typescript.  Fixing now

Nvm, that was me


Node/Edge Profiles

When user hovers over node or edge, tooltip appears presenting brief overview
Contents:

# of neighbors by type
Model-specific info

RedThread: evidence weights
Pagerank: PPR scores

Need to add (graph-specific) API endpoint for node/edge summaries


[capture] Fixes AES fixed-vs-random non-batch capture

At the moment AES fixed-vs-random non-batch capture doesn't work properly.
The problem is that the cipertext variable is updated too soon, so the received ciphertext is compared with the result of the following encryption, causing Uncorrect encryption result error.
This PR fixes it.
The patch is not the most elegant, but things will simplify later on when I modify data_generator.py to include random capture.
Thanks @m-temp for pointing out this problem

Would it generally make sense to swap "gen_ref_crypto" with "start_capture"?

Yes, this absolutely makes sense.
At the moment it is tricky to do due to a strange way in which we generate data for aes_random capture (with old ciphertext = new plaintext).
I would rather first modify random capture to also use data_generator. This should simplify the code and reduce the number of flows.


Update BingMapsCustomer.Table.al

@freddydk can you accept me?

@freddydk can you accept me?

Accepted to run the PR handler to see the process.
Thanks for submitting.
I did find and fix a bug, which is why I re-ran the workflow (if you noticed)

@jonaswre - I will obviously close the PR once you have seen the process here.

BTW - I did find an error in the calculated workflow details link here:

It should have taken you to the job in the workflow - will fix that.

@freddydk can you accept me?

Accepted to run the PR handler to see the process.
Thanks for submitting.
I did find and fix a bug, which is why I re-ran the workflow (if you noticed)

Of course I meant you should allow me to run the workflow. I'll close it now. I think I've seen enough. Thanks


Auth keys are printed to stdout

It seems as if auth keys are printed plainly to stdout in some circumstances. I'm surprised GitHub isn't redacting this automatically, but I also don't think Tailscale should be printing auth keys like this.
backend error: invalid key: API key k6e7bE3CNTRL not valid

See: https://github.com/uhthomas/automata/runs/7373878755?check_suite_focus=true#step%3A3%3A36=
I understand the API key is "invalid", but it was once valid.

That's just the Key ID. The secret part seems to be redacted.

Ah, I see now. Thanks!


Stack overflow

Testing with last relase 0.8.1 loading this html page https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity raises a stackoverflow and crashes the application. It was loaded with DocumentBuilder.Html(htmlstr, null, url);, htmlstr is UTF8 string.
Mitja

In 0.8.1 i could reproduce this.
Latest release though is 0.8.3: https://www.nuget.org/packages/AngleSharp/
It seems fixed there since i tried 3 ways but all 3 worked for me.
//Getting the HTML...
WebClient dl = new WebClient();
var html = dl.DownloadString("https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity");

//Parsing your overload
var doc1 = DocumentBuilder.Html(html, null, null);

//Parsing using the new way
var doc2 = new HtmlParser(html).Parse();

//Getting and parsing the cool way
var context = BrowsingContext.New(new Configuration().WithDefaultLoader());
var doc3 = context.OpenAsync(Url.Create("https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity")).Result;

I saw 0.8 on Github and wrongly assumed there was no other release. Yes, it works fine now.
The new way of loading is nice, but why is there no option to use "var doc2 = new HtmlParser(html).Parse();" and give it a base Url. All access to document Url is protected so there is no way to set it afterwards or set it when parsing. The only other option is to use BrowsingContext which brings other things with it.

You are right the scenario you describe is not possible with the HtmlParser directly. But the BrowsingContext has an extension method for that. There you basically "fake" the response from a website. You can enter the content (either via a stream or a string), the base url, any HTTP header and so on. Maybe this is what you are looking for.
An example which can also be found in the samples repository:
var document = await BrowsingContext.New().OpenAsync(m => m.Content("
Some example source

This is a paragraph element"));

If you want another base address and maybe some other cool stuff:
var document = await BrowsingContext.New().OpenAsync(m => m.Content("...").Status(200).Address("http://localhost:8080/some/test").Headers(new {
    Cookie = "...",
    Allow = "GET"
});

Hope this helps you!

Just one remark: Using the parser directly may have some advantages over using a browsing context, however, please note that a browsing context is always created. Hence if you are only interested in loading (parsing) a page then using the browsing context is definitely the way to do it. If you are interested in fragment parsing, or specifically use the embedded mode or similar, then you need to use the parser directly.

Thanks for comments and guidance. Two more things.

After upgrade I noticed that default encoding is no longer UTF8 but it depends on current locale. Is this ok? I believe there is a greater chance that unspecified encoding is UTF8 than current locale encoding of the server/client where app is running.

Attribute streaming is no longer possible with ToString(). Is there any chance of getting back a method to manually stream only one attribute? I had to copy the formatter code to my source now to get the same functionality.

Hm. I'll try to answer both:

Actually AngleSharp always used the current locale to determine the default encoding. This is as specified by the W3C. But in the Configuration you can set the current locale to a fixed CultureInfo, which will bring some determinism. I don't know if this is a good solution, or it could be improved. Maybe suggestions would be helpful here.

I have to say that I am probably not understanding the question correctly. As far as I understand, you are looking for a way to serialize all attributes via ToString? Yes, I removed the former ability (sorry for that). My reasoning was based on consistency (partly to AngleSharp and partly to the .NET framework). However, attributes are nearly "opaque", such that in the more recent DOM specifications they do not require specific interfaces. All interaction to attributes is handled by the caretaker (the Element interface). Therefore I decided that the caretaker is also responsible for serializing its attributes. Using your own IMarkupFormatter is certainly a possibility. But maybe we can add another possibility (maybe via an extension method) to alleviate the situation. How would your ideal solution look like? Do you have any suggestions or requirements?

My bad. Did not know that. The library behaved differently than 0.8.1 for one site so I thought something changed. I think it would be nice to be able to give direct encoding to the Configuration without reverse engineering via culture (so searching for culture that would have the right encoding).
BTW, are you planning any non HTML-5 compatibility? HTML 4.1 has . I am currently doing this manually (detecting it and converting to UTF-8 and then reloading). Or maybe some option of injecting our own charset detection mechanism via some extension?

I maybe have specific needs. I needed to modify html on the fly so I was manually streaming just some elements and adding extra inline classes and styles on the way. I looked at the outerHtml code and tried to emulate the method when working with the document. Modifying document itself in my case is not desired.

Making stringify public in HtmlMarkupFormatter would be great.
In general I sometimes have some problems with internal methods (see (1)). However on the other side it is good not to have too many methods public because that means a lot of maintainance.
Hope I am not too long.
Mitja

Maybe a service would help here. Something like IEncodingService with a method DetermineDefaultEncoding() for a specific URL, locale etc. - if its not implemented the default way is using the LocalizationEncodingService (name tbd).

You are right. The IMarkupFormatter should be extended with an Attribute method that gets all the required information for creating the serialized form of an attribute. Then you can easily use your own implementation that pretty much uses the associated methods of e.g. HtmlMarkupFormatter except the Attribute method, which of course uses the one from HtmlMarkupFormatter, but also does some other stuff.

Alright - both changes are in there and will be included in the next release on NuGet. By default AngleSharp will use UTF-8 exclusively, however, there is an IEncodingService implementation that uses the W3C algorithm for locale based encoding determination. So its up to the user to change / set how the (default) encoding should be determined.

Great. :) Thank you!
Hope I did not take you on a stray path by ignoring the standard and going for UTF-8.

I think it is alright. I don't think many users will mind that UTF-8 will be chosen by default (initially - but it is a good setup; normally the encoding will be auto-detected or supplied by the webpage anyway). If they mind, then it is really easy to use the locale based encoding suggestion.
So I think everybody wins here.