[Bug]: react/no-unused-class-component-methods instance property React element false positive

Is there an existing issue for this?

[X] I have searched the existing issues and my issue is unique
[X] My issue appears in the command-line and not only in the text editor

Description Overview
After upgrading from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>using an instance property as a React element leads to a react/no-unused-class-component-methods false positive.

Steps to Replicate
class ViewModel extends React.Component {
  constructor(props) {
    super(props);

    this.View = View;
  }

  render() {
    return <this.View />;
  }
}

Using the example code above, run the following command in your CLI:
eslint . --ext .js,.jsx

Expected Behavior

ESLint should not return an error.
eslint-plugin-react version
v7.23.2
eslint version
v8.42.0
node version
v18.16.1

That's a really strange usage pattern - why does it need to be stored on the instance, instead of just referenced via closure?

While a bare minimum example, real-world use includes legacy class-based view models before functional/hooks became trendy.

React class components are never subclasses of anything, and this.View isn't set to anything dynamic, so I'm still not sure why that would have ever been a reasonable pattern.

this.View is so that the view component is not seen as unique causing premature re-rendering.

@jwoo92 i have no idea what that means - React only ever considers props and state, and ignores instance properties, and that's always been the case.

@ljharb Jordan, thank you for helping me comprehend your viewpoint on this design pattern. I'd be happy to discuss it further with you separately from the issue at hand.
To keep our conversation on track, I have a couple examples of the package behavior and false positive.
class ViewModel extends React.Component {
  constructor(props) {
    super(props);

    this.View = View; // No ESLint error
  }

  render() {
    const { View } = this;

    return <View />;
  }
}

class ViewModel extends React.Component {
  constructor(props) {
    super(props);

    this.View = View; // ESLint false positive
  }

  render() {
    return <this.View />;
  }
}

Regarding this regression, would you be the individual to collaborate with to assist in its resolution?

@jwoo92 it's not a design pattern that i've ever seen, and it's actively harmful in that it will make your code slower for precisely zero benefit, and it's the reason you're running into a false positive. There's no benefit in fixing a false positive that nobody would ever run into (since I can't imagine anyone else writing code this way).
In other words, the best solution seems to be fixing your code to not do that.

@ljharb are you replying to my comment above, or is our timing a coincidence?

I'm replying to your comment.

@ljharb Thank you for clarifying.
There appears to be a misunderstanding here. I'm open to discussing the design pattern further.
I have followed the pull request guidelines and provided supporting evidence. Could you please state your needs and the subsequent steps we should take to make headway?

First I'm trying to understand why anyone would do this.X = X for any class X, not even React-specific - every class already has this.constructor === X for that scenario anyways. Second, I'm trying to understand why you'd do that in react, where it 100% guaranteed never has or will have a rendering impact.
If we can establish that the code that gets a false positive shouldn't exist in the first place then the proper path forward is for you to change your code, and we don't need to bother fixing it here.
Alternatively, if the use case is valid, then we should fix it here.
Can you help me understand why you would do <this.View> instead of just <View> from inside the class? They'll be === identical, so React (and JS) can't possibly tell the difference.


Extend list of cryptocurrencies

Adds a bunch of cryptocurrencies to Faker::CryptoCoin
closes #1547

@jacksonpires please review


untreated exception when calling  _writer = new VideoFileWriter();

in StartRecording() ...  _writer = new VideoFileWriter();
I get the ecxeption "untreated exception". I use webcam on windows 10. What can I do?

upgrading to newest accord files helped me


added array declaration/definition parsing & Typechecking arrays

a:int[] = [1, 2, 3];

b:int = 2;
a:int[] = [1, 2, 3, b];

Errors are handled accordingly:
b:string = "2";
a:int[] = [1, 2, 3, b]; # throw error here

Looks good to me.


xcodebuild hangs if run from command line not by flutter_tool

Steps to Reproduce
I'm trying to integrate with fastlane but got blocked by a build command hanging forever. I based my Fastlane file on the Gallery app version.
The process stops on:
    # Build and archive the app again.
    build_ios_app(
      workspace: 'Runner.xcworkspace',
      scheme: 'Runner',
      export_method: 'app-store',
    )

After trying to debug this I ended up trying to run following xcodebuild command:
# in ios subfolder
xcodebuild -workspace Runner.xcworkspace -scheme Runner \
  -destination 'generic/platform=iOS' \
  -archivePath /Users/username/Library/Developer/Xcode/Archives/2018-03-16/Runner\ 2018-03-16\ 20.41.22.xcarchive \
  archive \
  CODE_SIGN_IDENTITY=iPhone\ Distribution:\ My\ Name\ \(TEAM_ID\)

This command hangs on "Run script" step which executes (according to project config):
/bin/sh "$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh" build

Note: if I try to execute this script directly it works. Only when it's run by xcodebuild it hangs.

With export VERBOSE_SCRIPT_LOGGING=1 these are the last log entries I can see before everything stops:
♦ rm -rf -- /Users/anatoly/Projects/memspace/ios/Flutter/App.framework
♦ rm -f -- /Users/anatoly/Projects/memspace/ios/Flutter/app.flx
♦ cp -r -- /Users/anatoly/flutter/bin/cache/artifacts/engine/ios-release/Flutter.framework /Users/anatoly/Projects/memspace/ios/Flutter
♦ find /Users/anatoly/Projects/memspace/ios/Flutter/Flutter.framework -type f -exec chmod a-w {} ;
♦ /Users/anatoly/flutter/bin/flutter --suppress-analytics build aot --output-dir=build/aot --target-platform=ios --target=lib/main.dart --release --preview-dart-2
Building AOT snapshot in release mode (ios-release)...
Skipping AOT snapshot build. Fingerprint match.
Built to build/aot/.
^C** BUILD INTERRUPTED **

When this happens I can see a dart process running in the Activity Monitor, which seems to be idle.
I'm still not sure what can cause this. I was thinking it could be something wrong with environment on my machine (I suspect Gallery app builds are working fine?). But this hanging dart process looks very strange.
Flutter Doctor
[✓] Flutter (Channel master, v0.2.3-pre.33, on Mac OS X 10.13.3 17D102, locale en-BY)
    • Flutter version 0.2.3-pre.33 at /Users/anatoly/flutter
    • Framework revision cbbf4d4b1b (4 hours ago), 2018-03-16 17:44:47 -0700
    • Engine revision 9671f63459
    • Dart version 2.0.0-dev.37.0.flutter-7328726088

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.3)
    • Android SDK at /Users/anatoly/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-26, build-tools 26.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Community Edition (version 2017.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 22.2.2
    • Dart plugin version 173.4548.30

[✓] VS Code (version 1.21.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension version 2.10.0

[!] Connected devices
    ! No devices available

! Doctor found issues in 1 category.

I see the same issue with my fastlane script.
It was working fine last week, but not today anymore (upgrading to latest master several times per week).

Can you guys help us debug this by opening xcode_backend.sh in the flutter repo and adding set -e at the beginning of BuildApp() function?
It would help us figure out where it's stuck at.

Thanks! I should have some time to try that over the weekend. Will update when I have something.

Did some quick checking and set -e does not provide more logs than what @pulyaevskiy posted.
BuildApp() function hangs on:
    RunCommand "${FLUTTER_ROOT}/bin/flutter" --suppress-analytics build aot \
      --output-dir="${build_dir}/aot"                                       \
      --target-platform=ios                                                 \
      --target="${target_path}"                                             \
      ${aot_flags}                                                          \
      ${local_engine_flag}                                                  \
      ${preview_dart_2_flag}

There is no errors, and I can also see a sleeping dart process until I kill the script manually.

I can confirm what @lukaspili said. No difference in logs after adding set -e:
♦ /Users/anatoly/flutter/bin/flutter --suppress-analytics build aot --output-dir=build/aot --target-platform=ios --target=lib/main.dart --release --preview-dart-2
Building AOT snapshot in release mode (ios-release)...
Skipping AOT snapshot build. Fingerprint match.
Built to build/aot/.

Tried upgrading to latest master, still the same.

This should be fixed once #16116 lands. Already landed in the Dart SDK here.


Fix ending .} of pragmas

Used re"(?<!\.)}" in karax directory. I run the tester and all but the last commands succeeded (no node.js found).

I mean I found first the matches and replaced the ones that were incorrect.


get metadata from file

Merges privbayes, mst, and ctgan getting metadata from file.
IPF still needs refactored.

Closes #38


Remove duplicate defines of StreamOrDevice and is_big_endian

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING document
[x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have updated the necessary documentation (if needed)

LGTM, but could you rebase, looks like there is a conflict? Then I will run the tests

Rebased.


Oracle Database Audit Event data naming mismatch

Hi Team
Since the update of the Oracle database audit parser change, the data types in the logs seems to be changed.
The change of the parser will make the old analytic rule and hunting query unusable.
for example in the parser, the SrcUserName is renamed as CURUSE

however, in the analytic rules the attribute remained unchanged.

Hi @TheCat1989,
My team is working on fixing this issue.
@NikTripathi - Can you please provide update once the Parser changes are live.
Thanks

Hi @TheCat1989,
The parser is optimized and currently pending with certification process. We will share you the update once it's pushed to live. Meanwhile you can review the parser from this link.
Thanks

Hi @TheCat1989,
Closing this incident as fixed. Please feel free to reopen the issue if you still need any further assistance on this.
Thanks


Create FatimaMubeen.html

added myself

Your pull request is currently considered invalid for the following reason(s):

Your file is not in the Friends folder.
Your file does not clearly show a link to your github profile.

Once you have resolved the issues, comment on this request to be re-judged
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

d8a47690a58e283c9fc888af0133034fafa3f87f

This PR has been idle for more than 24 hours, and will now be closed. Feel free to re-open.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

d8a47690a58e283c9fc888af0133034fafa3f87f


Antialiased corners look jugged

I don't know if I am missing something regarding antialias, but the corners look a bit jagged to me at all radius. Less noticable on darker borders with shadows on top, but that's just due to the contrast?

Although this is expected (you don't seem to have a high resolution display) something is off in the corners atm so I'll leave this open for now

done in 1c9a0be8c40ee47cd438ab33f2bfe4184b19b8a7
any pixelation now is a deficit of pixels.


DatePicker/TimePicker miss inputClass

It would be nice to have the inputClass also for Date/TimePicker. This is a very convenient way to instruct and style the component.

What DOM element in particular would you like to style with inputClass? The thing is, DatePicker doesn't even have an <input> internally, it only borrows it from TextInput. Do you want to style the <input> element of these TextInputs?

As the name says, it's the input class of the respective TextField element. It's not only for styling but also for processing within the form where it's included. Additionally it would be nice to propagate the $$restprops to the TextField too.
Great job by the way. I really like your work.

Why did you close this issue? It does seem like a nice addition


Bind to parameter option is not available

Hi, I see that this document is updated (Article 06/17/2022), how ever I am unable to get the dynamic M parameter works, even following step by step this document. I dont have Bind to parameter option. I have PBI Version: 2.107.841.0 64-bit (july 2022)
It is a valid document? Do I missing something than is not writed in the document?
I'll really appreciate any help.
Thanks

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: dc66475d-11b3-ba33-cde4-9948dc07ea2c
Version Independent ID: 46aeb704-a74f-2064-307f-24660579ef4c
Content: Dynamic M query parameters in Power BI Desktop - Power BI
Content Source: powerbi-docs/connect-data/desktop-dynamic-m-query-parameters.md
Service: powerbi
Sub-service: pbi-data-sources
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @sergordon. This issue has been assigned to the doc author for review.

I am experiencing the same issue, I can not see the feature to Bind Parameters on the Advanced Tab as illustrated on the document above

I'm facing the same issue currently.  I have PowerBi desktop August release(2.108.997.0 64-bit (August, 2022)) and trying to implement date picker to fetch data dynamically using KQL query, but unable to find the Bind to parameter option.

Same issue. I have PowerBi desktop 2.108.997.0 64-bit (agosto de 2022) and trying to implement date picker to fetch data dynamically using an API query, but unable to find the Bind to parameter option.

Same issue. Power BI desktop 2.108.997.0 64-bit (August 2022). Bind To Parameter option is missing.

Version: 2.109.1021.0 64-bit (September 2022)
Bind to parameter option is also missing here.

I am using sql server as a source with direct query i am not getting Bind to parameter option. any idea or inputs please

Hello all, sorry for the issues you're experiencing. The article is correct, so it may be one of the exclusions (described toward the bottom of the article). You might find a solution in the Power BI Community, found at https://community.powerbi.com. If not, you can get support by going to https://support.powerbi.com.
If the overall community finds a discrepancy with this article, please post again and we'll bring it up with engineering.


Add circleci and travisci

Do we need to support OSX too?

For a library, I suggest supporting stable, beta and nightly version.

CI failed @andelf

CI still failed @andelf

how to setup rustfmt version?
CI fails because 0.8.3 conflicts with 0.6.2.

can we force using 0.6 version like TiKV does?

You could you add #![deny(warnings)] in the lib.rs, to fails the build if there're warnings.

LGTM
PTAL @zhangjinpeng1987

LGTM


The image displayed in the article make Cx confused

Hi sir / madam,
The image make Cx assumed that this was configurable for bidirectional interaction

but below state :
Product receipts (purchase order receipts in Dataverse) are managed by Supply Chain Management and can't be created from Dataverse if Supply Chain Management is installed. The product receipts from Supply Chain Management are synced from Supply Chain Management to Dataverse.
if I understand correct the Dual-Write mapping type for PO receipts with One-Way sync from FinOps to CE.
so could you please correct the illustration to avoid reader misunderstanding?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5034c9f1-31bf-9649-f8f8-af7cca2da37e
Version Independent ID: ecd0db96-4b9a-7d65-986c-523fa42f6ce0
Content: Integrate procurement between Supply Chain Management and Field Service - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/data-entities/dual-write/scm-field-service-procurement.md
Service: dynamics-365-crossapp
Product: ****
Technology: ****
GitHub Login: @RichardLuan
Microsoft Alias: riluan

Thanks for your feedback. @RichardLuan can you please review this comment?

@kamaybac can you please assign this issue to the correct person? Thanks.

BUG 564237 creted to track this.

I was contacted about this issue by email last week and have fixed it already. I'll close the bug too.


Please restore crd-operator.yaml in 1.21+

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
We rely on reading and using IstioOperator CRD in testing scenarios for validation of the IstioOperator manifest.
As of 1.21 the crd-operator.yaml is gone. It was generated automatically with no human overhead and no development costs. There is no other way to obtain it prior to and in lieu of istioctl installation as of 1.21.
The change was done via #47860
Please revert the part where crd-operator.yaml is no longer generated.
This caused karellen/kubernator#52
Version
1.21.0

Additional Information
No response

Its still there in manifests/charts/istio-operator/crds/crd-operator.yaml, can you use that?

Oh, thank you! I didn't realize there was a copy of it as well. Let me check.

That worked. Thank you!


History downloading is sometimes slow

I have noticed several times that even if my internet connection is generally fast and other sites refresh quickly, sensor history downloading from Ruuvi Cloud has been slow. It may be due to my internet connectivity and/or VPN and not a webui related issue, but because I have noticed this only while using the webui, opening the issue here this time so that others can share their observations about this.
Here is a sample video where downloading is actually fast compared to many other times. However, also on this video those 273kB history chunks in the end of the video are downloaded pretty slowly one at a time. For the record, sometimes it has taken up to one minute or more to download the dashboard that has 25 sensors on it, while other websites have opened quickly and sometimes I have not been able to refresh the sensors at all.  I will try to shoot more videos later about this once I run into the slowness again.
https://user-images.githubusercontent.com/1311912/164391249-505edbd8-dcd5-48f3-8a75-c302e2ae54b2.mov

Closing this one. Haven't noticed slowness anymore.


Add about me block and merge branch patch/content/head to feature/body

The about me block has been added and the branches have been merged.


softlock in RE2 US version rando

Version
3.1.3 (cbe02d7)
Seed
R720-GC5F-ZXHB00MZ9YR60HJRN3U40Z1ZZZZZZZZZZZZZZZZZZZZZ
Scenario
RE 2 (Claire B)
Player Character
Alexia
What happened?
Rando places item 'mainfuse' in room 202.15. Either I cannot find item or postion does not exsist. Playing Arrange mode

You shouldn't play arrange mode, that is not part of biorand.

There may be some confusion on my end. Biorand 3.1.1 [Feature] RE 2, add US/EUR item placements. I assumed that ment Arrange mode was now playable. Its like 80%  playable lol, my mistake. Looking foward to the next update!

No problem, sorry for the confusion.


Changing SelectedItem bound property on ComboBox and ListBox is not reflected on View

Describe the bug
Using SelectedItem binding, with ComboBox or ListBox, changing the bound property is not reflected on the view.
If the same bound property is used on a TextBox Text binding, the correct value appears.
No errors in output window.
This works fine with SelectedIndex : changing from View or ViewModel updates selected item on listbox and combobox.
To Reproduce
Check out https://github.com/blueperspective/avaloniaSelectedItemIssue
Screenshots
NOT WORKING: On left hand side, using SelectedIem, no selected item appears (set in viewmodel constructor).
WORKING: On right hand side, using SelectedIndex, selected item appears on both combobox and listbox.
Changing selected item in combobox or listbox updates the other.

Desktop (please complete the following information):

OS: Windows
Version 0.10.6

This is because your equality comparison code is incorrect. To demonstrate, at the end of your MainWindowViewModel constructor put the following code:
            if (Categories.IndexOf(ca2) == -1)
                throw new InvalidOperationException("Equals is broken!");

More specifically, this code in Category is incorrect:
        public override bool Equals(object? obj)
        {
            return Name.Equals(obj);
        }

obj is a Category object, so will never be equal to Name. I think you meant to do:
        public override bool Equals(object? obj)
        {
            return obj is Category c && Name.Equals(c.Name);
        }

If I fix Category.Equals in this matter, selection seems to work.

Ok yes thank you, my bad, I did this for testing on DataGrid, I implemented this a bit too quickly... :(


Remove IteratorRange in favor of llvm::iterator_range

Now that llvm::iterator_range has empty, there's not enough reason to keep our own version of it in the Swift repo.
No functionality change.

apple/swift-llvm#174
@swift-ci Please smoke test

Why not inject this into LLVM.h and strip the llvm::?

Sure, will do.

apple/swift-llvm#174
@swift-ci Please smoke test

Hm, guess I have to wait until the LLVM change propagates into stable.

@swift-ci Please smoke test

@swift-ci Please smoke test macOS


Missing plugin exception after adding flutter plugin to the flutter module

i have add flutter module to the ios application using App to app method. after  add a flutter plugin to the module it got "missing plugin exception" error.
Flutter Doctor result.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0.1 22A400 darwin-x64, locale
en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.75.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!

@MaduraDiasTreinetic
Can you provide complete reproducible code sample or a sample repo that we can clone to verify the reported behavior ?
You can take a look at below add2app github samples and compare with your implementation and see if you are missing any in your code that is causing the error.
https://github.com/flutter/samples/tree/main/add_to_app

i have followed your sample code and fixed my code, Thank you for your support


Mixed F# with C# solution shows completly wrong in solution explorer

Describe the bug
I expect only F# code to show up in solution explorer, instead C# code is shown and F# code is not
Steps to reproduce
Create a project with F# unit tests, referencing a C# console project.
Open it in ionide
Link to sample reproduction

Expected behaviour
F# solution explorer loads F# files, but leaves out C# files? It's confusing
Screenshots

Machine info

OS: MAC
.NET SDK version: 6.0
Ionide version: 7.0.0

F# solution explorer loads F# files, but leaves out C# files? It's confusing

Well, it is called F# solution explorer ;-)
But yeah, better support for csproj files is something I wanted to do for a while.

Tested with Ionide 7.0.0:
I wanted to have a look at this issue but I am not sure what the problem is.
File explorer:

F# solution explorer:

It looks like both F# and C# project are loaded and displayed with their respective files.
The difference between F# and C#, is that F# project don't have the .fsproj suffix and the obj folder is hidden.
From this observation, I suppose we can remove the differences. But I don't really see a bug.


Correctly register pandas matplotlib conversions

Fixed issue registering the matplotlib conversion hooks for datetime types when using pandas 0.22.0. The register function does not seem to exist where pandas says it does, so I'm now importing it explicitly from the converter module.

Ready to merge.

Looks good to me. Merging.


Bot gets stuck; thinks block ahead has already been mined

Hello there,
I am using the latest version of both mineflayer and mineflayer-collectblock
When the bot mines for ores (for example), I very often find it in a situation where I see on the prismarine viewer, that there is no block in front of him (eye level) but in reality on the server there is.
Maybe a simple block check update after every mined block?
Idk if there is a packet that gets the block state of only one block, but I can't think of any other solution.

Interestingly enough, when given a GoalBlock, the pathfinder automatically detects after several tries, that it has to choose another path... Is there an option for the collectBot to do the same?
And how can one disable parkour for the collectBot?

Interestingly enough, when given a GoalBlock, the pathfinder automatically detects after several tries, that it has to choose another path... Is there an option for the collectBot to do the same?
And how can one disable parkour for the collectBot?

This seems to be caused by https://github.com/PrismarineJS/mineflayer/issues/1575, so it's not something that can be fixed in this plugin or the pathfinder plugin.

This seems to be caused by https://github.com/PrismarineJS/mineflayer/issues/1575, so it's not something that can be fixed in this plugin or the pathfinder plugin.


Add Jekyll deployment workflow for GitHub Pages

You are about to deploy your site using the most powerful tools.
With the power of GitHub Actions, your code is built, tested, and deployed to the cloud using technologies trusted by companies of all sizes.

🎉Nice job! You've just triggered a deployment from GitHub Actions. Check out this workflow run to see the progress. Your site will be published to docker.pages.io.


flax.errors.ScopeParamShapeError at executing 360_eval.sh or 360_render.sh after executing camp/360_train.sh

Hi, thanks for this great paper and code.
After running camp/360_train.sh,  I am trying to run 360_eval.sh or 360_render.sh, a flax.errors.ScopeParamShapeError always occur.
Is there a solution?
Below is the console log when running 360_render.sh.
`
2024-04-25 05:47:31.916448: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-04-25 05:47:31.916484: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-04-25 05:47:31.917323: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-04-25 05:47:32.577797: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
I0425 05:47:41.449953<PHONE_NUMBER>27264 render.py:144] Rendering config:
Parameters for eval/Config:
==============================================================================
eval/Config.adam_beta1 = 0.9
eval/Config.adam_beta2 = 0.99
eval/Config.adam_eps = 1e-15
eval/Config.arcore_format_pose_file = None
eval/Config.autoexpose_renders = False
eval/Config.batch_size = 8192
eval/Config.batching = 'all_images'
eval/Config.camera_perturb_dolly_use_average = False
eval/Config.camera_perturb_intrinsic_single = True
eval/Config.camera_perturb_sigma_dolly_z = 0.0
eval/Config.camera_perturb_sigma_focal_length = 0.0
eval/Config.camera_perturb_sigma_look_at = 0.0
eval/Config.camera_perturb_sigma_position = 0.0
eval/Config.camera_perturb_zero_distortion = False
eval/Config.cast_rays_in_eval_step = True
eval/Config.cast_rays_in_train_step = True
eval/Config.charb_padding = 0.001
eval/Config.checkpoint_dir =
'/home/user/camp_zipnerf_output/zipnerf/360/garden'
eval/Config.checkpoint_every = 10000
eval/Config.checkpoint_init = False
eval/Config.checkpoint_keep = 2
eval/Config.colmap_subdir = None
eval/Config.compute_disp_metrics = False
eval/Config.compute_normal_metrics = False
eval/Config.compute_procrustes_metric = False
eval/Config.data_coarse_loss_mult = 0.0
eval/Config.data_dir = '/home/user/data/360_v2/garden'
eval/Config.data_loss_mult = 1.0
eval/Config.data_loss_type = 'charb'
eval/Config.dataset_loader = 'llff'
eval/Config.debug_mode = False
eval/Config.deterministic_showcase = True
eval/Config.disable_multiscale_loss = False
eval/Config.disable_pmap_and_jit = False
eval/Config.distortion_loss_curve_fn =
(@math.power_ladder, {'p': -0.25, 'premult': 10000.0})
eval/Config.distortion_loss_mult = 0.01
eval/Config.distortion_loss_target = 'tdist'
eval/Config.donate_args_to_train = True
eval/Config.dtu_light_cond = 3
eval/Config.early_exit_steps = None
eval/Config.eikonal_coarse_loss_mult = 0.0
eval/Config.eikonal_loss_mult = 0.0
eval/Config.enable_grid_c2f = False
eval/Config.enable_loss_scaler = False
eval/Config.eval_crop_borders = 0
eval/Config.eval_dataset_limit =<PHONE_NUMBER>
eval/Config.eval_only_once = True
eval/Config.eval_quantize_metrics = True
eval/Config.eval_raw_affine_cc = False
eval/Config.eval_render_interval = 1
eval/Config.eval_save_output = True
eval/Config.eval_save_ray_data = False
eval/Config.exposure_percentile = 97.0
eval/Config.factor = 4
eval/Config.far = 1000000.0
eval/Config.far_plane_meters = None
eval/Config.focal_length_var_loss_mult = 0.0
eval/Config.forward_facing = False
eval/Config.gc_every = 10000
eval/Config.grad_max_norm = 0.0
eval/Config.grad_max_val = 0.0
eval/Config.grid_c2f_weight_method = 'cosine_sequential'
eval/Config.image_subdir = None
eval/Config.jax_rng_seed = 20200823
eval/Config.llff_load_from_poses_bounds = False
eval/Config.llff_use_all_images_for_training = False
eval/Config.llffhold = 8
eval/Config.load_alphabetical = True
eval/Config.load_colmap_points = False
eval/Config.load_ngp_format_poses = False
eval/Config.lock_up = False
eval/Config.loss_scale = 1000.0
eval/Config.lr_delay_mult = 1e-08
eval/Config.lr_delay_steps = 20000
eval/Config.lr_final = 0.000125
eval/Config.lr_final_grid = None
eval/Config.lr_init = 0.00125
eval/Config.lr_init_grid = None
eval/Config.max_steps = 200000
eval/Config.multiscale_train_factors = None
eval/Config.near = 0.0
eval/Config.near_plane_meters = None
eval/Config.np_rng_seed = 20201473
eval/Config.num_border_pixels_to_mask = 0
eval/Config.num_showcase_images = 5
eval/Config.optimize_cameras = False
eval/Config.optimize_test_cameras = False
eval/Config.optimize_test_cameras_batch_size = 10000
eval/Config.optimize_test_cameras_for_n_steps = 200
eval/Config.optimize_test_cameras_lr = 0.001
eval/Config.orientation_coarse_loss_mult = 0.0
eval/Config.orientation_loss_mult = 0.0
eval/Config.orientation_loss_target = 'normals_pred'
eval/Config.param_regularizers =
{'grid_0': (0.1, @jnp.mean, 2, 1),
'grid_1': (0.1, @jnp.mean, 2, 1),
'grid_2': (0.1, @jnp.mean, 2, 1)}
eval/Config.patch_size = 1
eval/Config.predicted_normal_coarse_loss_mult = 0.0
eval/Config.predicted_normal_loss_mult = 0.0
eval/Config.principal_point_reg_loss_mult = 0.0
eval/Config.principal_point_var_loss_mult = 0.0
eval/Config.print_camera_every = 500
eval/Config.print_every = 100
eval/Config.rad_mult_max = 1.0
eval/Config.rad_mult_min = 1.0
eval/Config.radial_distortion_var_loss_mult = 0.0
eval/Config.randomized = True
eval/Config.rawnerf_mode = False
eval/Config.render_calibration_distance = 3.0
eval/Config.render_calibration_keyframes = None
eval/Config.render_camtype = None
eval/Config.render_chunk_size = 32768
eval/Config.render_delete_images_when_done = True
eval/Config.render_dir =
'/home/user/camp_zipnerf_output/zipnerf/360/garden/render/'
eval/Config.render_dist_adaptive = False
eval/Config.render_dist_percentile = 0.5
eval/Config.render_focal = None
eval/Config.render_looped_videos = False
eval/Config.render_path = True
eval/Config.render_path_file = None
eval/Config.render_path_frames = 480
eval/Config.render_resolution = None
eval/Config.render_rgb_only = False
eval/Config.render_rotate_xaxis = 0.0
eval/Config.render_rotate_yaxis = 0.0
eval/Config.render_spherical = False
eval/Config.render_spline_const_speed = False
eval/Config.render_spline_degree = 5
eval/Config.render_spline_fixed_up = False
eval/Config.render_spline_interpolate_exposure = False
eval/Config.render_spline_interpolate_exposure_smoothness = 20
eval/Config.render_spline_keyframes = None
eval/Config.render_spline_keyframes_choices = None
eval/Config.render_spline_lock_up = False
eval/Config.render_spline_lookahead_i = None
eval/Config.render_spline_meters_per_sec = None
eval/Config.render_spline_n_buffer = None
eval/Config.render_spline_n_interp = 30
eval/Config.render_spline_outlier_keyframe_multiplier = None
eval/Config.render_spline_outlier_keyframe_quantile = None
eval/Config.render_spline_rot_weight = 0.1
eval/Config.render_spline_smoothness = 0.03
eval/Config.render_video_crf = 18
eval/Config.render_video_exts = ('mp4',)
eval/Config.render_video_fps = 60
eval/Config.robust_loss_scale = 0.01
eval/Config.save_calibration_to_disk = False
eval/Config.scene_bbox = None
eval/Config.spline_interlevel_params = {'blurs': (0.03, 0.003), 'mults': 0.01}
eval/Config.train_render_every = 0
eval/Config.transform_poses_fn = None
eval/Config.use_exrs = False
eval/Config.use_identity_cameras = False
eval/Config.use_perturbed_cameras = False
eval/Config.use_tiffs = False
eval/Config.vis_decimate = 0
eval/Config.vis_num_rays = 16
eval/Config.visualize_every = 10000
eval/Config.vocab_tree_path = None
eval/Config.world_scale = 1.0
eval/Config.z_max = None
eval/Config.z_min = None
eval/Config.z_phase = 0.0
eval/Config.z_variation = 0.0
I0425 05:47:41.546334<PHONE_NUMBER>27264 xla_bridge.py:660] Unable to initialize backend 'rocm': NOT_FOUND: Could not find registered platform with name: "rocm". Available platform names are: CUDA
I0425 05:47:41.548914<PHONE_NUMBER>27264 xla_bridge.py:660] Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
*** using 4x downsampled images
*** Finding COLMAP data
*** Constructing NeRF Scene Manager
Warning: image_path not found for reconstruction
*** Processing COLMAP data
*** Loaded camera parameters for 185 images
*** image names sorted alphabetically
*** Loading images from /home/user/data/360_v2/garden/images_4
*** Loaded 185 images from disk
*** Loaded EXIF data for 185 images
*** Constructed COLMAP-to-world transform.
*** Constructed 480 render poses via ellipse path
*** Constructed train/test split: #train=161 #test=24
*** LLFF successfully loaded!
*** split=DataSplit.TEST
*** #images/poses/exposures=24
*** #camtoworlds=480
*** resolution=(840, 1297)
I0425 05:49:08.581712<PHONE_NUMBER>27264 checkpoints.py:1062] Restoring orbax checkpoint from //home/user/camp_zipnerf_output/zipnerf/360/garden/checkpoint_200000
I0425 05:49:08.584176<PHONE_NUMBER>27264 checkpointer.py:164] Restoring item from /home/user/camp_zipnerf_output/zipnerf/360/garden/checkpoint_200000.
W0425 05:49:09.925947<PHONE_NUMBER>27264 transform_utils.py:229] The transformations API will eventually be replaced by an upgraded design. The current API will not be removed until this point, but it will no longer be actively worked on.
I0425 05:49:09.927694<PHONE_NUMBER>27264 transform_utils.py:286] The following keys are not loaded from the original tree after applying specified transforms: opt_state/0/count, opt_state/0/mu/params/MLP_0/Dense_0/bias, opt_state/0/mu/params/MLP_0/Dense_0/kernel, opt_state/0/mu/params/MLP_0/Dense_1/bias, opt_state/0/mu/params/MLP_0/Dense_1/kernel, opt_state/0/mu/params/MLP_1/Dense_0/bias, opt_state/0/mu/params/MLP_1/Dense_0/kernel, opt_state/0/mu/params/MLP_1/Dense_1/bias, opt_state/0/mu/params/MLP_1/Dense_1/kernel, opt_state/0/mu/params/MLP_2/Dense_0/bias, opt_state/0/mu/params/MLP_2/Dense_0/kernel, opt_state/0/mu/params/MLP_2/Dense_1/bias, opt_state/0/mu/params/MLP_2/Dense_1/kernel, opt_state/0/mu/params/MLP_2/Dense_2/bias, opt_state/0/mu/params/MLP_2/Dense_2/kernel, opt_state/0/mu/params/MLP_2/Dense_3/bias, opt_state/0/mu/params/MLP_2/Dense_3/kernel, opt_state/0/mu/params/MLP_2/Dense_4/bias, opt_state/0/mu/params/MLP_2/Dense_4/kernel, opt_state/0/mu/params/MLP_2/Dense_5/bias, opt_state/0/mu/params/MLP_2/Dense_5/kernel, opt_state/0/mu/params/MLP_2/Dense_6/bias, opt_state/0/mu/params/MLP_2/Dense_6/kernel, opt_state/0/mu/params/grid_0/grid_016, opt_state/0/mu/params/grid_0/grid_032, opt_state/0/mu/params/grid_0/grid_064, opt_state/0/mu/params/grid_0/grid_128, opt_state/0/mu/params/grid_0/hash_256, opt_state/0/mu/params/grid_0/hash_512, opt_state/0/mu/params/grid_1/grid_0016, opt_state/0/mu/params/grid_1/grid_0032, opt_state/0/mu/params/grid_1/grid_0064, opt_state/0/mu/params/grid_1/grid_0128, opt_state/0/mu/params/grid_1/hash_0256, opt_state/0/mu/params/grid_1/hash_0512, opt_state/0/mu/params/grid_1/hash_1024, opt_state/0/mu/params/grid_1/hash_2048, opt_state/0/mu/params/grid_2/grid_0016, opt_state/0/mu/params/grid_2/grid_0032, opt_state/0/mu/params/grid_2/grid_0064, opt_state/0/mu/params/grid_2/grid_0128, opt_state/0/mu/params/grid_2/hash_0256, opt_state/0/mu/params/grid_2/hash_0512, opt_state/0/mu/params/grid_2/hash_1024, opt_state/0/mu/params/grid_2/hash_2048, opt_state/0/mu/params/grid_2/hash_4096, opt_state/0/mu/params/grid_2/hash_8192, opt_state/0/nu/params/MLP_0/Dense_0/bias, opt_state/0/nu/params/MLP_0/Dense_0/kernel, opt_state/0/nu/params/MLP_0/Dense_1/bias, opt_state/0/nu/params/MLP_0/Dense_1/kernel, opt_state/0/nu/params/MLP_1/Dense_0/bias, opt_state/0/nu/params/MLP_1/Dense_0/kernel, opt_state/0/nu/params/MLP_1/Dense_1/bias, opt_state/0/nu/params/MLP_1/Dense_1/kernel, opt_state/0/nu/params/MLP_2/Dense_0/bias, opt_state/0/nu/params/MLP_2/Dense_0/kernel, opt_state/0/nu/params/MLP_2/Dense_1/bias, opt_state/0/nu/params/MLP_2/Dense_1/kernel, opt_state/0/nu/params/MLP_2/Dense_2/bias, opt_state/0/nu/params/MLP_2/Dense_2/kernel, opt_state/0/nu/params/MLP_2/Dense_3/bias, opt_state/0/nu/params/MLP_2/Dense_3/kernel, opt_state/0/nu/params/MLP_2/Dense_4/bias, opt_state/0/nu/params/MLP_2/Dense_4/kernel, opt_state/0/nu/params/MLP_2/Dense_5/bias, opt_state/0/nu/params/MLP_2/Dense_5/kernel, opt_state/0/nu/params/MLP_2/Dense_6/bias, opt_state/0/nu/params/MLP_2/Dense_6/kernel, opt_state/0/nu/params/grid_0/grid_016, opt_state/0/nu/params/grid_0/grid_032, opt_state/0/nu/params/grid_0/grid_064, opt_state/0/nu/params/grid_0/grid_128, opt_state/0/nu/params/grid_0/hash_256, opt_state/0/nu/params/grid_0/hash_512, opt_state/0/nu/params/grid_1/grid_0016, opt_state/0/nu/params/grid_1/grid_0032, opt_state/0/nu/params/grid_1/grid_0064, opt_state/0/nu/params/grid_1/grid_0128, opt_state/0/nu/params/grid_1/hash_0256, opt_state/0/nu/params/grid_1/hash_0512, opt_state/0/nu/params/grid_1/hash_1024, opt_state/0/nu/params/grid_1/hash_2048, opt_state/0/nu/params/grid_2/grid_0016, opt_state/0/nu/params/grid_2/grid_0032, opt_state/0/nu/params/grid_2/grid_0064, opt_state/0/nu/params/grid_2/grid_0128, opt_state/0/nu/params/grid_2/hash_0256, opt_state/0/nu/params/grid_2/hash_0512, opt_state/0/nu/params/grid_2/hash_1024, opt_state/0/nu/params/grid_2/hash_2048, opt_state/0/nu/params/grid_2/hash_4096, opt_state/0/nu/params/grid_2/hash_8192, opt_state/1/count
I0425 05:49:09.967541<PHONE_NUMBER>27264 checkpointer.py:166] Finished restoring checkpoint from /home/user/camp_zipnerf_output/zipnerf/360/garden/checkpoint_200000.
I0425 05:49:09.968436<PHONE_NUMBER>27264 render.py:61] Rendering checkpoint at step 200000.
/home/user/miniconda3/envs/camp_zipnerf/lib/python3.11/site-packages/jax/_src/xla_bridge.py:945: UserWarning: jax.host_id has been renamed to jax.process_index. This alias will eventually be removed; please update your code.
warnings.warn(
I0425 05:49:10.007920<PHONE_NUMBER>27264 render.py:96] Evaluating image 1/480
I0425 05:49:10.008137<PHONE_NUMBER>27264 models.py:1046] Rendering chunk 1/34
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/user/_NeRF_Test/camp_zipnerf/render.py", line 199, in
app.run(main)
File "/home/user/miniconda3/envs/camp_zipnerf/lib/python3.11/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/user/miniconda3/envs/camp_zipnerf/lib/python3.11/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
^^^^^^^^^^
File "/home/user/_NeRF_Test/camp_zipnerf/render.py", line 194, in main
render_config(config)
File "/home/user/_NeRF_Test/camp_zipnerf/render.py", line 155, in render_config
render_pipeline(config)
File "/home/user/_NeRF_Test/camp_zipnerf/render.py", line 99, in render_pipeline
rendering = models.render_image(  # pytype: disable=wrong-arg-types  # jnp-array
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/_NeRF_Test/camp_zipnerf/internal/models.py", line 1085, in render_image
chunk_renderings, _ = render_fn(rng, chunk_rays)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/_NeRF_Test/camp_zipnerf/internal/train_utils.py", line 770, in render_eval_fn
model.apply(
File "/home/user/_NeRF_Test/camp_zipnerf/internal/models.py", line 279, in call
ray_results = mlp(
^^^^
File "/home/user/_NeRF_Test/camp_zipnerf/internal/models.py", line 779, in call
raw_density, x = predict_density(means, covs, **predict_density_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/_NeRF_Test/camp_zipnerf/internal/models.py", line 733, in predict_density
x = density_dense_layer(self.net_width)(x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/miniconda3/envs/camp_zipnerf/lib/python3.11/site-packages/flax/linen/linear.py", line 235, in call
kernel = self.param(
^^^^^^^^^^^
flax.errors.ScopeParamShapeError: Initializer expected to generate shape (36, 64) but got shape (12, 64) instead for parameter "kernel" in "/MLP_0/Dense_0". (https://flax.readthedocs.io/en/latest/api_reference/flax.errors.html#flax.errors.ScopeParamShapeError)
For simplicity, JAX has removed its internal frames from the traceback of the following exception. Set JAX_TRACEBACK_FILTERING=off to include these.
`

On the other hand, After running zipnerf/360_train.sh,executing 360_eval.sh and 360_render.sh was success.

And I tried at another jax and flax version's environment, do the same sh was running,Another error message appeared,
That is "ValueError: The field names of the state dict and the named tuple do not match, got {'inner_state'} and {'count', 'mu', 'nu'}".
The Checkpoint file of camp/360_train.sh's output isn't match the field of input checkpoint file of 360_eval.sh and 360_render.sh?
Do I need to modify camp/360_train.sh or 360_render.sh?
at  python=3.10 jax==0.4.6 jaxlib==0.4.6 flax==0.6.1
Below is the console error log when running 360_render.sh. after running camp/360_train.sh.
Traceback (most recent call last):
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/user/_NeRF_Test/_google-research/google-research/camp_zipnerf/render.py", line 199, in
app.run(main)
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/home/user/_NeRF_Test/_google-research/google-research/camp_zipnerf/render.py", line 194, in main
render_config(config)
File "/home/user/_NeRF_Test/_google-research/google-research/camp_zipnerf/render.py", line 155, in render_config
render_pipeline(config)
File "/home/user/_NeRF_Test/_google-research/google-research/camp_zipnerf/render.py", line 59, in render_pipeline
state = checkpoints.restore_checkpoint(config.checkpoint_dir, state)
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/flax/training/checkpoints.py", line 752, in restore_checkpoint
return serialization.from_state_dict(target, state_dict)
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/flax/serialization.py", line 65, in from_state_dict
return ty_from_state_dict(target, state)
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/flax/struct.py", line 149, in from_state_dict
updates[name] = serialization.from_state_dict(value, value_state)
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/flax/serialization.py", line 65, in from_state_dict
return ty_from_state_dict(target, state)
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/flax/serialization.py", line 156, in
lambda xs, state_dict: tuple(_restore_list(list(xs), state_dict)))
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/flax/serialization.py", line 114, in _restore_list
y = from_state_dict(xs[i], state_dict[str(i)])
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/flax/serialization.py", line 65, in from_state_dict
return ty_from_state_dict(target, state)
File "/home/user/miniconda3/envs/camp_zipnerf_gr/lib/python3.10/site-packages/flax/serialization.py", line 146, in _restore_namedtuple
raise ValueError('The field names of the state dict and the named tuple do not match,'
ValueError: The field names of the state dict and the named tuple do not match, got {'inner_state'} and {'count', 'mu', 'nu'}.

I had the same problem flax.errors.ScopeParamShapeError: Initializer expected to generate shape (36, 64) but got shape (12, 64) instead for parameter "kernel" in "/MLP_0/Dense_0".
The solution was to load the correct config file from the model that i trained.


Increase Traefik replicas

Is there a way to make Traefik HA? As I can see the default install only makes a single replica, which results in downtime when a node that has Traefik drains for updates.

Traefik HA is only available if you use their premium version, however you still can have it run in daemonset mode it seems. You need to either configure the traefik_values variable before deploy, or edit the Traefik helmchartconfig after deploy! https://forums.rancher.com/t/ha-traefik-ingress/39331
For more flexible options, best use ingress-nginx that you can activate in kube.tf before launch, while turning off traefik.

Damn that's sad to hear, but thanks! I'll switch back to ingress nginx.

Traefik docs say that if you want to use multiple replicas you can't use integrated acme, but if you use cert-manager you can have multiple replicas (without switching to enterprise).
Is there a way to set replica count to 3 in kube.tf?
I can see that there is traefik_ingress_values that is loaded from kube.tf (although it's missing from example), but it would be nicer if it was a seperate option, like it is for longhorn.

@aleksasiriski Traefik works the same way as Longhorn, it uses rancher helmchart/helmchartconfig definition behind the scene (please search this project to learn more about those).
Basically, as mentioned in kube.tf, go to the traefik values yaml, search replicas, and reproduce the path in yaml in your custom values variable and set the replicas count of the deployment to 3.
Or for clusters already running, you can kubectl edit helmchatconfig traefik (or just list the names if that is not found), and edit the values there.


Make br a constant instead of a function

So that instead of br() one uses br.
This seems very minor but I think it is somewhat important. A function that takes no arguments looks impure in the same way that a function with return type void indicates impurity. Since a pure function can do nothing but return a value based on it's input, if it doesn't take any arguments it must either be impure or always return the exact same value. In the latter case it can simply be made into a constant.
br took some optional arguments but they didn't make sense for a br elements anyway so we loose nothing by making it a constant.

You have a good point, my only concern would be the inconsistency of br being the only constant.


[SUPPORT] Hudi Delta Streamer Ingesting JSON files Question

"Does Apache Hudi Delta Streamer support ingestion of a JSON file with multiple JSON records in a single file, where each record is delimited by a new line character? For example, if I have a file named File1.json with several JSON records separated by new line characters, can I use Hudi Delta Streamer to ingest the data?"
Input Format  org.apache.hadoop.mapred.TextInputFormat
'''
{}
{}
{}
{}
'''
This is how records are in files

Just like CSV, delta streamer doesn't  yet support the file JSON sources using normal spark reader like spark.read.format("csv")
This can be good enhancement and we can add the normal JSON source also by overriding org.apache.hudi.utilities.sources.
This type of source doesn't need to specify schema as it will directly infer the same.
Created JIRA for the same - https://issues.apache.org/jira/browse/HUDI-6059

Thanks to our event-driven architecture, which includes consumer-driven data dumping into SQS and lambda batch uploading of JSON files, we dump a lot of data onto S3. This will enable us to use Hudi Delta Streamer for our use cases right out of the box. I appreciate you creating JIRA tickets.

Closing it as we have a jira to track the enhancement.

Closing it as we have a jira to track the enhancement.

sounds good buddy thanks :D


Error on conflicting routes

Yet another follow-up to #7051, which can be considered an alternative to #7278. It reverts to the simpler algorithm initially present in that PR, but adds a check for routes that are in conflict with each other (for example x/[[y]] and [[y]]/x, which can't meaningfully coexist) so that the algorithm doesn't need to consider the additional cases added later in the PR.
The one case it doesn't handle is x/[...rest] vs [...rest]/x (or x/[[optional]] vs [...rest]/x), which is the exception to the rule that a route ending with a rest/optional parameters comes after an otherwise-equivalent route. I'm hopeful that we can solve that case without introducing a lot more complexity, but I haven't nailed it yet.
Another test that fails (both in this PR and in #7278) is foo/bar[...rest] vs foo/[...rest]bar.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

foo/bar[...rest] vs foo/[...rest]bar -> is that even allowed? Can rest params appear as part of a segment?
(if they can't, there's still foo/bar[[optional]] vs foo/[[optional]]bar, which .. should probably be a route conflict?)

is that even allowed? Can rest params appear as part of a segment?

It is, yeah — it's come up in the past for things like [...path].json — https://github.com/sveltejs/kit/issues/4656. Less likely that you'd need a route like that since the big loading revamp a few months back, but still a legitimate use case.
foo/bar[[optional]] and foo/[[optional]]bar would be treated as a conflict. The way this PR detects conflicts is it normalizes routes by replacing [param] with <*> and [param=x] with <x> and [[param]] with <?*> and so on...

foo/bar<?*>
foo/<?*>bar

...then figures out all the permutations of those routes:

foo/bar
foo/bar<*>
foo/<*>bar
foo/bar

Since 3 (derived from 1) and 6 (derived from 2) are identical, those routes are identified as being incompatible.

Ah, that's an interesting case. It seems like a fairly unlikely one, but if it did arise then it would be possible to work around, or we could relax the conflict detection as you say. Aside from that edge case I think having the conflict detection is useful regardless (e.g. it found a conflicting route in the test app that wasn't doing any work)


updated readme for flux action creator workarounds

Not sure if I am missing some syntax here or get/set methods on a different version of node, but my impl required this tweak.

This seems right, must have been a typo. Thanks for catching this!


OS_API_Init failure

I cloned this cFS repository with all its submodules, followed the instructions in the README for compilation. I get the following error when running the executable (core-cpu1).
CFE_PSP: Default Reset Type = PO
CFE_PSP: Default Reset SubType = 1
CFE_PSP: Default CPU ID = 1
CFE_PSP: Default Spacecraft ID = 42
CFE_PSP: Default CPU Name: cpu1
CFE_PSP: Starting the cFE with a POWER ON reset.
CFE_PSP: OS_API_Init() failure
I am working on a linux workstation running ubuntu 18.04. Any insight would be helpful.

Did you configure for permissive mode, as specified in the readme?  If not you need to run the code with elevated privileges.
Version information (did you pull master or a tag/release?), and your exact steps to recreate the issue would likely get you a more applicable response (information from the bug issue template is useful).

Also may help to enable debug messages by defining OS_DEBUG_PRINTF in your default_osconfig.h.

Including the define for the permissive mode seems to have fixed this issue. Many thanks for the swift response.


Add support for abstact sockets

This adds support for abstract unix domain sockets.
They usually start with a null byte but the Go net package accepts a '@' byte prefix instead.
However, the url.URL parser doesn't keep the prefix parsing the host, resulting in this information being lost.

Can you speak a bit more to (a) the properties of abstract sockets, as they differ from existing (named) Unix domain sockets, and (b) the use case/s for them?

Sure:
a) Abstract sockets are regular unix domain sockets, the main difference is about the socket location.

It is not stored on disk
Socket permissions cannot be applied to it
Its name can be anything (it doesn't have to be a valid filesystem path), it just needs to be unique.
It automatically disappears when all open references to that socket are closed

b)

Auto-cleanup: A named unix domain socket is not removed until it gets unliked manually (this is done by the Close function of the listener in Go) but in case of a crash the socket file remains on the filesystem. With abstract sockets the socket disappears when the last process using it dies.
Process singleton: They can be used as a thread-safe way of ensuring a program is run at most once

Can you link to some stdlib docs which describe these @ semantics?

@asdine I'm trying to understand what makes this @ special 😅 Are the semantics of the @ prefix for Unix sockets described in Go docs somewhere? Or maybe it's a more fundamental thing documented somewhere else?

@peterbourgon sorry for the delay.
According to man 7 unix , to specify that the socket is abstract you need the first character of the path to be a null byte.

abstract: an abstract socket address is distinguished (from a
pathname socket) by the fact that sun_path[0] is a null byte
('\0').

Some post and discussions mention an automatic translation of the '@' character into the '\0' byte, both ways.

If you want to use an abstract socket address, its name should starts with ’@’, not ’\0’.

Displaying a leading null byte to denote such type of a socket may be difficult, so that is maybe the reason for the leading @ sign.

It's noteworthy that the ASCII NUL character is entered in many terminals as ^@ ([Ctrl]+[@]) and it can show up as ^@ when displayed by various Unix commands (such as GNU cat -a).

However, I didn't find any mention of the '@' character in the godoc and it seems that Go doesn't make that translation anywhere in the source code.
It does use that character though:

to determine whether to unlink a socket from the filesystem or not (link1)
in the net package tests (link, link2, link3)

It seems that it's aware of its existence but the @ to \0 translation is not managed by Go directly but probably at a lower level after the syscall.
Also, it is worth mentioning that abstract sockets only work on Linux, not on macos or Windows for example.
This feature might be too esoteric for this project though so I'd be happy to close it if you think it doesn't belong here.

I'm down with this capability in the abstract, for sure. I'm just trying to figure out if/how it's possible to provide in this here module in a safe and portable way. Thanks for the links, I'll dig a bit and update...

I did this:
var socketPath, requestPath string
parts := strings.SplitN(req.URL.Path, ":", 2)
if req.URL.User != nil {
	u := req.URL.User.Username()
	p, _ := req.URL.User.Password()
	if u == "" && p == "" {
		socketPath = "@" + req.URL.Host
		if len(parts) == 1 {
			requestPath = req.URL.Path
		} else {
			socketPath += parts[0]
			requestPath = parts[1]
		}
	}
}

if socketPath == "" {
	if len(parts) != 2 {
		return nil, errors.New("unix transport: invalid path")
	}
	socketPath = parts[0]
	requestPath = parts[1]
}

encodedHost := base64.RawURLEncoding.EncodeToString([]byte(socketPath))

...

Upon review, I don't think this capability is sufficiently general to warrant first-class support in package unixtransport.


License change

I want to change to license from MIT License to Apache 2.0 License. More information can be found here: https://www.apache.org/licenses/LICENSE-2.0.txt
Before I change it, I need permissions from all contributors of this project. All the users below, do you agree the change to Apache 2.0?

[ ] @noeppi-noeppi
[x] @Fodoth-jinzi89

Agreed.
——Fodoth_jinzi89
At 2021-09-11 19:11:28, "MelanX" @.***> wrote:
I want to change to license from MIT License to Apache 2.0 License. More information can be found here: https://www.apache.org/licenses/LICENSE-2.0.txt
Before I change it, I need permissions from all contributors of this project. All the users below, do you agree the change to Apache 2.0?
@noeppi-noeppi
@Fodoth-jinzi89
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I approve that you change the license to Apache 2.0 for the project botanical-machinery.


posible ads?

Sorry for this request..
is posible to add adsense  on the theme site.
this theme is awesome, i like it.
thanks..

Hi,
yes it's possible to add anything you like. A static site is perfect for ad sense. Here you have a blog post describing a possible solutionhttps://bash-prompt.net/guides/custom-html-jugo/.
Nice that you like the theme!


CHEBI:187980 please CHECK

Hi Adnan,
Please check (22S)-22-hydroxysitosterol  as I need it for a Rhea reaction.
I have attached a nicer structure drawn similar to CHEBI:27693.
CHEBI_187980.txt
Please add x-ref to MetaCyc CPD-7190 and add pmid:16460510
Cheers,
Kristian

now checked.


feat: use assert_eq for Ok MempoolResult

Uses pretty_assertions, colored and formatted output.

Stack:

#276 ⬅
#270

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.60%. Comparing base (382c920) to head (ad8e02e).

Files
Patch %
Lines

crates/mempool_types/src/errors.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@                Coverage Diff                 @@
##           spr/main/286e5e96     #276   +/-   ##
==================================================
  Coverage              78.60%   78.60%
==================================================
  Files                     26       26
  Lines                   1192     1192
  Branches                1192     1192
==================================================
  Hits                     937      937
  Misses                   201      201
  Partials                  54       54

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


Add benchmarks for copy to geo-types

Should be able to reuse (or vendor for now) https://github.com/georust/geo/pull/1255

Closed by #37


Update redline rpm plugin version

Update the version fo redlinerpm-maven-plugin to the latest.  This fixes
the error that occured if a build was attempted when artifacts existed.
Now it will always overwrite existing artifacts.
This version of redlinerpm-maven-plugin also brings in the latest version
of redline-rpm, which has some fixes for compatiblity with later versions
of the rpm library.  One of those fixes- supporting large inode values -
is not compatible with versions of rpm before 4.6.
Add a profile that builds the rpm using the older version of redline-rpm
Testing: confirmed could build multiple times. Confirmed inode type in
rpm header is 32bit int for old-rpm profile and 64bit int for the default.

merged, thanks!


Ctrl+Enter on a Markdown cell prompts for Kernel install

Testing microsoft/vscode-jupyter#11463

Open insiders.vscode.dev
Install Jupyter and Python extensions
Create a new untitled jupyter notebook
Create a markdown cell
Paste image
Ctrl+Enter

-> I get a prompt for installing kernels from the market place.

This is wrong for two reasons:

Since the Jupyter extension is installed I should be able to connect the notebook to a kernel on a remote server. Also see vscode-jupyter#11479
This is a markdown cell. No kernel needed for rendering a markdown cell.

I'm not seeing this locally but I can reproduce with vscode.dev. Not sure where is the best place to check whether the cells are markdown cells.


The section on how to disable JIT debug could be clearer.

The "Disable Just-In-Time debugging from the Windows registry" should be changed to just say, "Delete the following keys if they exist on your machine", and list out all the reg entries.  A customer was confused from this because the 3. section says "if key exists or you're running 32bit", but both he and I saw 32bit and skipped reading that bullet.  Fact is most people need to delete all these keys since they're running 64 bit machines, and debugging both 32 and 64 bit code.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 975e5ca6-98b1-0e2e-1c57-364fe1e13337
Version Independent ID: 1b18b1df-023b-3c13-f95e-e0166ee7f704
Content: Debug using the Just-In-Time Debugger - Visual Studio (Windows)
Content Source: docs/debugger/debug-using-the-just-in-time-debugger.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@Mikejo5000 -- Mike, please review this update in private PR 10422.


Implement array_resize function

Is your feature request related to a problem or challenge?
Summary

Characteristic
Description

Function name:
array_resize

Aliases:
list_resize

Original function?:
No

Function Description:
ClickHouse: Changes the length of the array.  DuckDB: Resizes the list to contain size elements. Initializes new elements with value or NULL if value is not set.

Sources:
Concept DuckDB ClickHouse

Examples:
SELECT arrayResize([1], 3)

Query id: 2c975fce-0843-485f-9aef-1a8899728cdc

┌─arrayResize([1], 3)─┐
│ [1,0,0]             │
└─────────────────────┘

SELECT arrayResize([[1, 2]], 2)

Query id: 2765406e-c2dd-4208-bf5b-7fe42cd8b682

┌─arrayResize([[1, 2]], 2)─┐
│ [[1,2],[]]               │
└──────────────────────────┘

SELECT arrayResize([1, 2], 4, 5)

Query id: b75e55d1-1abb-4933-b2b1-f9d472308d91

┌─arrayResize([1, 2], 4, 5)─┐
│ [1,2,5,5]                 │
└───────────────────────────┘

SELECT arrayResize([[1, 2], [3, 4]], 4, [1, 1])

Query id: ebaeb0e6-b9e1-4a1f-986f-ff546eb37f9d

┌─arrayResize([[1, 2], [3, 4]], 4, [1, 1])─┐
│ [[1,2],[3,4],[1,1],[1,1]]                │
└──────────────────────────────────────────┘

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Hi, I'm interested in this issue, can I have a try?

For the issues no assignment and no others claiming to do, please feel free to pick it. Thanks.

For the issues no assignment and no others claiming to do, please feel free to pick it. Thanks.

Thanks for advice :rocket:

@izveigor Hi, sorry for reporting no any progress for so long, due to work reasons.
For the value is not set case like:
SELECT array_resize([[1, 2]], 2)

I want to fill NULL like duckdb rather than clickhouse? Is it ok to do that?

Hello, @Rachelint! As I understand, you worry about two questions: "Can NULL be an element in array?" and "May I implement DuckDB implementations rather ClickHouse?". I can not give you guarantees about null handling, because that problem has long history and lots of contradictions. If you interest about it, you can read the discussion in #7142 (comment). Also, I would like to notice @jayzhan211 and his PR: #7338. The answer of the second question is predictably simple: you can use any methods if they have pragmatic value.
I think I can answer all your questions. If you don't comprehend some situations, then you can ask me again :)

Thanks for the reply, it's very helpful to me！I am reading #7142 and #7338 , and I feel it can solve my confusion. I'm really confused about how datafusion intends to handle NULL, and thing got worse after I see the different behaviors in duckdb and clickhouse... I think above discussion can help me a lot !
About May I implement DuckDB implementations rather ClickHouse, it is due some behaviors in clickhouse confused me actually... And behaviors in duckdb seem more understandable.
For example, this query is no problem in clickhouse:
SELECT arrayResize([1, 2, 3], 4, NULL)

[1,2,3,NULL]

But this query may occur error:
SELECT arrayResize([[1], [2], [3]], 4, NULL)

Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Nullable(Nothing) because some of them are Array and some of them are not: While processing arrayResize([[1], [2], [3]], 4, NULL). (NO_COMMON_TYPE) (version <IP_ADDRESS>91 (official build))

But it may be not so important now, because my main purpose is to know how datafusion plans to handle this, and the discussion may help.

I will work on this.

I will work on this.

Ok, I am too busy with work lately...
Sorry for the lack of progress for so long @izveigor

I will work on this.

Ok, I am too busy with work lately... Sorry for the lack of progress for so long @izveigor

I saw there was no progress on this issue, so I tried to pick it up. Your precious discussion is very helpful. Thank you for your contribution! @Rachelint 👍


Support more parachains

Bifrost
Interlay
Acala
Westend (Nova only supports this testnet)
Amplitude
Pendulum

Amplitude and Pendulum don't have the proxy pallet unfortunately


Exit node

Tailscale/headscale supports using exit nodes for using the network as a full mesh VPN.
This feature is very important for me, as I want to have a single IP, which gives me full speed while I'm in LAN, while being accessible from outside the network.
i would be using it mostly from mobile, related #213

I agree. A mobile client that supports always-on VPN and starts on boot linked to a centralized exit node would be heaven 😇

Dropping by a year later -- Android client and cloud control panel look nice! Still no <IP_ADDRESS>/0 route option though...

+1 for the feature.

+1

+1

+1

+1. The only thing missing before switching completely to netbird

Any progress?

+1

+1

+1

exit nodes has been sheduled for Q3 in 2023
https://github.com/netbirdio/netbird/projects/2#card-85699571
still unsure if it is currently worked on. @braginini it would be nice to get some feedback on the progress. thanks

+1 for this

+1 For this as well... it's really needed for mobile devices on untrusted networks, right now I need to run wireguard separately for the full tunnel and NetBird for when I just need overlay mode.

I would really like this feature.

+1

+2

+1

Actually netbird is using COTURN tunneling, which does something very similar like exit nodes. You can access networks behind NAT, but this is very poorly documented.

Actually netbird is using COTURN tunneling, which does something very similar like exit nodes. You can access networks behind NAT, but this is very poorly documented.

How does this work? How did you get this working? I want to have my private nodes connected via ipv6 and have access to ipv4 public internet via one exit node (that has both, ipv4 and ipv6 to public internet).

this feature will be available next month (March 2024) according to the public roadmap 🥳
https://github.com/netbirdio/netbird/projects/2#card-91718215

Actually netbird is using COTURN tunneling, which does something very similar like exit nodes. You can access networks behind NAT, but this is very poorly documented.

COTURN is used as a relay server and can’t be used as an exit node. It is just a “dummy proxy” that forwards peer-to-peer encrypted traffic between machines when no p2p connection is possible.
https://docs.netbird.io/about-netbird/how-netbird-works#relay-service

Whoa! NetBird CEO and Co-founder @braginini personally replying to a GitHub issue?! That just made my day. 🌟
P.S. Your article https://netbird.io/knowledge-hub/using-xdp-ebpf-to-share-default-dns-port-between-resolvers was fascinating -- really helps unmask the technically challenging "magic" that goes on behind the scenes. Keep up the great work - we're all fans here

Whoa! NetBird CEO and Co-founder @braginini personally replying to a GitHub issue?! That just made my day. 🌟
Thank you, @mrbluecoat, for the kind words.  Your article https://netbird.io/knowledge-hub/using-xdp-ebpf-to-share-default-dns-port-between-resolvers was fascinating -- really helps unmask the technically challenging "magic" that goes on behind the scenes. Keep up the great work - we're all fans here

Thanks! The team has put a lot of effort into making it work. We will publish more. Stay tuned ;)

Glad to see this exit nodes (route <IP_ADDRESS>) to be coming soon.... its really the only missing feature stopping me from coming over from tailscale.

Is there any update on this? Netbird's speed currently outperforms its major competition and we might be looking to switch over after further testing and trials.

+1 we really need this

Apparently it has been added for linux clients in #1667. But what about the other clients? Is it also planned for them this or next month?

Apparently it has been added for linux clients in #1667. But what about the other clients? Is it also planned for them this or next month?

A new version v0.26.4 was released that supports Linux. Update the client, and the <IP_ADDRESS>/0 routes should work already.
Windows is in the review, and we should finish it by the end of the week. Mac is next. The release should be there next week.
Mobile clients are a little tricky, but we are at full power!

It is planned to have a selection in the client whether you can accept the default route or not?

Could we select exit nodes via the app? We don't really want to go into the panel to switch exit nodes all the time.

Could we select exit nodes via the app? We don't really want to go into the panel to switch exit nodes all the time.

To offer another perspective, my use case needs a device zero-touch approach controlled by the panel, preferably without the ability for an end-user to turn off the exit node. Hard to please everyone, I guess :)

Could we select exit nodes via the app? We don't really want to go into the panel to switch exit nodes all the time.

To offer another perspective, my use case needs a device zero-touch approach controlled by the panel, preferably without the ability for an end-user to turn off the exit node. Hard to please everyone, I guess :)

My use case needs both scenarios 😄

How about a setting. If user is in group modify-exit-node then they can select from a list specified in that group. Else they cannot modify.
The panel can always override the exit.

I have set a route of <IP_ADDRESS>/0 so all the traffic in from a clients goes throug a exit node but I want to exclude local client range like <IP_ADDRESS>/16. How can I have sort of split tunnel where local ips are not covered by netbird?
For now I am using https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/ to add like 10 routes but looking something simpler as every client will have different ipranges that they use locally.

Hello @aki263 are the private routes locally or in an internal gateway?
Can you confirm with traceroute or tracert that the routes are going via the exit node?

For those in a mixed-vendor environment running both Tailscale and NetBird: https://mrkaran.dev/posts/travel-tailscale/

When mobile clients will support exit nodes?

Hello folks,
We've just released a new android version with exit node support.
Please check it out https://play.google.com/store/apps/details?id=io.netbird.client
The iOS version is under Apple review and should be available over the next days.

Hello folks,
We've just released a new android version with exit node support.
Please check it out https://play.google.com/store/apps/details?id=io.netbird.client
The iOS version is under Apple's review and should be available over the next days.

Just upgrade through Google play, looks like we have bug here.  v0.0.20 works fine, but v0.0.21 shows 0 connected peer VS 6 peers.

The iOS app is live, you can download it here:
https://apps.apple.com/us/app/netbird-p2p-vpn/id6469329339

Hello folks,
We've just released a new android version with exit node support.
Please check it out https://play.google.com/store/apps/details?id=io.netbird.client
The iOS version is under Apple's review and should be available over the next days.

Just upgrade through Google play, looks like we have bug here. v0.0.20 works fine, but v0.0.21 shows 0 connected peer VS 6 peers.
It was 4 of 6 peers connected, but now its 0 of 6 peers connected.
No other change except upgrading of netbird app.

Can you access the advanced menu, enable trace logs. Disconnected and connected again, then after 1 minute share the logs with us?

Hello folks,
We've just released a new android version with exit node support.
Please check it out https://play.google.com/store/apps/details?id=io.netbird.client
The iOS version is under Apple's review and should be available over the next days.

Just upgrade through Google play, looks like we have bug here. v0.0.20 works fine, but v0.0.21 shows 0 connected peer VS 6 peers.
It was 4 of 6 peers connected, but now its 0 of 6 peers connected.
No other change except upgrading of netbird app.

Can you access the advanced menu, enable trace logs. Disconnected and connected again, then after 1 minute share the logs with us?

Share more findings:

Clear Android App storage
Phone connected to WiFi network only
Login Again
Only "2 of 6 Peers connected"
Now switch to "5G" network
We get "4 of 6 Peers connected"
There are 4 peers except this Phone connected all the time

Looks like network routes doesn't work on new client for me.

Thank you for your progress on that feature. However it’s not working for me with iOS client 0.0.4. As soon as a I activate the route <IP_ADDRESS>/0 on the client I cannot connect to any host. Neither on my internal networks nor on the internet. The trace log reads:
2024-05-20T20:20:47Z DEBG client/internal/routemanager/client.go:338: Received a new client network route update for <IP_ADDRESS>/0
2024-05-20T20:20:47Z WARN client/internal/routemanager/client.go:154: the network <IP_ADDRESS>/0 has not been assigned a routing peer as no peers from the list […] are currently connected

Any help is appreciated.

@svardie can you open a new github issue for your case? There is a share logs option in the Advanced menu that would help us troubleshoot the problem.

Hello folks,
We've just released a new android version with exit node support.
Please check it out https://play.google.com/store/apps/details?id=io.netbird.client
The iOS version is under Apple's review and should be available over the next days.

Just upgrade through Google play, looks like we have bug here. v0.0.20 works fine, but v0.0.21 shows 0 connected peer VS 6 peers.
It was 4 of 6 peers connected, but now its 0 of 6 peers connected.
No other change except upgrading of netbird app.

Can you access the advanced menu, enable trace logs. Disconnected and connected again, then after 1 minute share the logs with us?

Share more findings:

Clear Android App storage
Phone connected to WiFi network only
Login Again
Only "2 of 6 Peers connected"
Now switch to "5G" network
We get "4 of 6 Peers connected"
There are 4 peers except this Phone connected all the time

From the logs you've shared we found an issue with DNS and the fix will be in the next release.


Upgrade to compile and test cleanly with truffle 0.4.18

A couple of very minor style tweaks also included.

@grempe This is great! Can you also update the version in package.json to 1.0.1? Thanks! 😃

Never mind, I'll merge this in now, then do another PR with some more changes and tag that one as 1.0.1.


WIP on issue 65

Fixes #issue_number
What was changed?
I changed the list of data (ShelterList) that is displayed on the homepage of the website.
Why was it changed?
There was an issue about how each child should have a unique key. JSX auto-defaults to using index, but that can cause unexpected behavior when a list is not static and a longer rendering time. This issue appeared on the console when on the home page, as it was from the file that displayed the list of shelters (ShelterList.js)
How was it changed?
I added that when the shelter would get added if it met the condition in the if loop it would assign a key to the element using the unique shelter.id variable.

Added line 25 and now the error is gone.

@cbiddle3 - I see that you are on the right track. The changes you made to ShelterList.js, fix it on the Shelters page, but some other places also need the same fix. For example, shift list (upcoming and previous shifts page), table views (add shifts and shift confirmation page), etc. It would be great if you could do the other changes as part of this PR, else we can raise a new issue if you feel that it is too much work for this one.
The dashboard after adding a shift shows the error(due to the issue in the shift list)


Adjust connection timeout for TLS

Found the following crash.
[ 0 ] traffic_server      write_to_net_io                    ( UnixNetVConnection.cc:445 )
[ 1 ] traffic_server      NetHandler::waitForActivity(long)  ( UnixNet.cc:514 )
[ 2 ] traffic_server      EThread::execute_regular()         ( UnixEThread.cc:277 )
[ 3 ] traffic_server      spawn_thread_internal              ( Thread.cc:85 )
[ 4 ] libpthread-2.17.so  start_thread

Line numbers on our branch are off from open source master, but top of stack from write_to_net_io is in code below
 if (!vc->getSSLHandShakeComplete()) {
    if (vc->trackFirstHandshake()) {
      // Send the write ready on up to the state machine
      write_signal_and_update(VC_EVENT_WRITE_READY, vc);
      vc->write.triggered = 0;
      nh->write_ready_list.remove(vc);
    }

    int err, ret;

    if (vc->get_context() == NET_VCONNECTION_OUT) {
      ret = vc->sslStartHandShake(SSL_EVENT_CLIENT, err);
    } else {
      ret = vc->sslStartHandShake(SSL_EVENT_SERVER, err);
    }

Specifically the crash is at the "ret = vc->sslStartHandShake(SSL_EVENT_CLIENT, err);" and looking in the core shows that "vc" has been freed (vtable pointer is bogus).
I think the issue is how we are handling notifying the state machine that the socket is in a write-ready state (SYN exchange has completed) with the call to write_signal_and_update.  We assume that the vc is in a good state after this call, but it is quite possible that the HttpSM has determined it is in an error state and closed the vc.
I think we should reconsider how the connect timeout should apply to the TLS connection.  Rather than just covering the SYN exchange, I would argue that it should cover the entire TLS handshake.  If the TLS handshake stalls out, that should be covered by the connection timeout not the data no-activity timeout.  Making that change would remove the write_signal_and_update here.  Instead we don't notify the state machine until the read_complete signal sent at the end of the TLS handshake.
This PR makes that change.
We haven't see this crash very often, but the original TTFB timeout fix was backed out of the 8.0.x branch I assume due to instability issues.

So with this fix, we don't need to blackout the TTFB PR from 8.0.x? If so, we should put that back in for 8.1.x as well IMO.

This is a fix for #4028


Create CodeIgniter specific documentation

We have https://docs.rollbar.com/docs/codeigniter now so I'm going to close this.


国服comd 1.9.47dump失败

Hey, the libil2cpp.so is protected (encrypted) that's why dump failed. You need to get the il2cpp binary from game's memory at runtime.

As there's no problem in dumper I'm closing this issue.


feature enable doris hive/iceberg catalog to read data on tencent GooseFS

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.11 seconds
stream load tsv:          423 seconds loaded<PHONE_NUMBER>9 Bytes, about 168 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230414175851_clickbench_pr_129364.html


Add option to inline resources (--inline)

It minifies and inlines images, javascript and css.
Only fonts are still loaded from external file.
This fixes https://github.com/Mermade/shins/issues/12, and makes it possible to use shins on read-only filesystem.

Looking good @TomiTakussaari - just needs README.md updating with the new option I think.

Added few lines about new option to README

Many thanks again for this. Published as v2.0.1-3


Change to remove deprecated svg call - Chrome 48

Chrome 48 has dropped support for getTransformToElement and have recommended getCTM in its replacement.

Thanks!


incorrect newlines fixed

replace \n\r with proper \r\n

I don't think this is needed.  Purely debug code output to the serial console. \n\r and \r\n are equivalent.

it's still non-standard and inconsistent with other newlines in the code.


Intermediate h5 files should be compressed

Is your feature request related to a problem? Please describe.
Currently, to collect whole-slide level predictions and metrics the outputs are written to an intermediate h5 file. This file is not compressed.
Describe the solution you'd like
The current file size of the files can be around 15GB, while likely this level (float32) of precision is not required, and 8-bits with an image compression applied should be sufficient. We could consider using imagecodecs
Describe alternatives you've considered
N/A
Additional context
See: https://github.com/NKI-AI/ahcore/blob/6342fe0d14d7444bc9a9e3856ea6339da58b51ea/ahcore/callbacks.py#L265

We can now set the precision, which should already compress quite a bit. Closing for until it becomes a new issue.


Rule use-pipe-transform-interface shows violation when extending a class which implements PipeTransform

When extending a class which already implements the PipeTransform interface a violation of that rule is shown on that class. This rule should analyze the class hierarchy and check if PipeTransform is already implemented higher up in the hierarchy.

I'd recommend you to disable the rule for this specific class. codelyzer does not perform type checking at the moment, and we don't have plans for introducing it in the near future.


added NodeCapabilities message

this will allow for dynamic detection of node capabilities, and
upgrade to FDCAN

One other thing I just realized, some hardware might be able to support different FD clock rates but cannot change them at runtime (i.e. needs new firmware or needs to be configured manually). If you are on a device that is, for example, using a 4M datarate and the minimum capability negotiated is 2M what does the node do to say "I can't do that"?

If you are on a device that is, for example, using a 4M datarate and the minimum capability negotiated is 2M what does the node do to say "I can't do that"?

it is assumed that devices can do 1M bxCAN, as all existing devices doing DroneCAN and v0 UAVCAN must be able to do


where can i find libcas?

Hi,
where can i find libcas and it contains? such as "parameters/0.8.3.standard.r13.config.txt"
const LIBCAS_CONFIG = Pkg.dir("CCAS/libcas/parameters/0.8.3.standard.r13.config.txt")

libcas is not included in this library (as noted in the readme). That library is not publicly available. If you are trying to do some experimentation with collision avoidance, you can check out: https://github.com/sisl/CollisionAvoidancePOMDPs.jl


[Feature]: Target json schema validation should include stream name

Feature scope
Targets (data type handling, batching, SQL object generation, etc.)
Description
When you get an exception like  jsonschema.exceptions.ValidationError the exception is really good about listing out which json key the offending value is at ie  Failed validating 'type' in schema['properties']['powerUps']['items']: {'properties': {}, 'type': 'object'}   On instance['powerUps'][0]:   'cardAging' , but it doesn't have the stream name which makes it harder to fix than this needs to be.
I did something similar in target-jsonl.  https://github.com/andyhuynh3/target-jsonl/commit/681242f73897c2b08d1e9432578c15e37520f6ff
Probably not too hard :D

Thanks for creating this @visch!

Still relevant and still open to contributions

The log message in https://github.com/meltano/sdk/pull/2421 is emitted by the <tap name>.<stream name> logger.


add EntityProperties for VAV Terminal_Units

Add EntityProperties for VAVs to support fixed, non-telemetry, metadata. These should essentially capture the data on mechanical schedules and/or product cut sheets. AHRI 881 Performance Rating of Air Terminals might be a good starting point for standardized properties.

Thanks for the suggestion! I can begin adding these for the 1.3.1 release

@MatthewSteen is there an XML schema or other digital representation of the AHRI metadata? It may be easier for us to just point to a standard machine-readable document, rather than having to import the whole standard into Brick. What would be the most useful cutsheet properties for us to incorporate?

Additional sources of entity properties:

https://cdn.daikincloud.io/PIM/Assets/Documents/AG-cag-vrv-controllers-comb.pdf
https://docs.johnsoncontrols.com/bas/r/Metasys/en-US/VRF-Smart-Gateway-Installation-Instructions/E/BACnet-Points

Not that I'm aware of. A possible source of machine-readable properties would be the OpenStudio API or EnergyPlus IDD. However, they're not standardized. @ThibaultMarzullo's work with EnergyPlus mapping to Brick might be useful.


Remove mentions of ROUTES in configuration

Signed-off-by: Nikolay Nikolaev<EMAIL_ADDRESS>
Description
There is some stale configuration about configuring routes.
Motivation and Context

How Has This Been Tested?

[x] Covered by existing integration testing
[ ] Added integration testing to cover
[x] Tested locally
[ ] Have not tested

Types of changes

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

Checklist:

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

@nickolaev How are folks supposed to setup routes?

So this code is a leftover from some experiments around having Routes in the config. We now have a new NewCustomFuncEndpoint composite which can be used to mutate the connection. We do it here:
https://github.com/networkservicemesh/networkservicemesh/blob/master/test/applications/cmd/icmp-responder-nse/main.go#L71
The point is, it is left to the implementator to figure out if they want Routes or Neighbors, it is not a core Endpoint configuration.

Got it :)  So basically improved modularity, which is good :)


MLR - Added bio + image

Added image to assets folder and bio to _staffers folder.

@Prothean051 Nice github username! What does 051 signify?

@Prothean051 Nice github username! What does 051 signify?

@ykharitonova 4th grade me thought it was crazy that 51 wasn't a prime number, so whenever I need to slap some numbers on the end of my username I default to it.


Optimize generation of custom props map in ServiceEnvironmentImpl

This is follow on work to #941.  In that change ServiceEnvironmentImpl.getCustom() and getTableCustom() were introduced.  The implementation of those method could be optimized to only recompute the maps when config changes.   AccumuloConfig has an atomic counter that is update each time it changes. This can be used to cache the custom maps and only recompute them when the counter changes.

Is this issue obsolete? The referenced methods getCustom() and getTableCustom() no longer exist in ServiceEnvironmentImpl.java

Is this issue obsolete? The referenced methods getCustom() and getTableCustom() no longer exist in ServiceEnvironmentImpl.java

It looks like the implementation moved to core/src/main/java/org/apache/accumulo/core/util/ConfigurationImpl.java
As for the proposed change, I'm not sure exactly what is being proposed.

I would like to be assigned to this ticket please.

If these changes involve reading properties from zookeeper - could you hold off - the storage of those is close to being changed.

If these changes involve reading properties from zookeeper - could you hold off - the storage of those is close to being changed.

Yes, will do.

After a bit of investigation, this may not be an issue. The proposed change is to cache the props map in question and only update it if the configuration changes. However, the props maps are only ever generated once, when they are null. Assuming this is correct, this may not be an issue.
During my investigation I did look into the mentioned counter that is updated when AccumuloConfig changes however the getter for this counter AccumuloConfig.getUpdateCount() returns 0 instead of the counters value. It seems this variable is used as mentioned, to determine when to recompute or when to use the cached map. From what I can tell this is an error and will always cause the updateCounter comparisons to fail causing the props maps to be recomputed every time. I'm not certain whether this is behaving correctly or not so I wanted to get a second opinion. I'll create a separate issue if needed.

However, the props maps are only ever generated once, when they are null (see getCustom() and getTableCustom()). Assuming this is correct, this may not be an issue.

Yeah I think the caching solves this issue.  I also like the caching as it provides a consistent snapshot of those props to plugins.  There is a comment that could be removed here.
Looking at the code in ConfigurationImpl, it seems like it may provide a consistent snapshot of the custom props but not other props.  That seems like a wild and wacky user experience (also related to wider discussion I have had w/ @ctubbsii  in the past about making all of Accumulo's config operate on consistent snapshots), but if we wanted to address that it would be another issue.  I think the comment can be removed and this issue could be closed.

Okay sounds good, thanks.

I think the comment can be removed and this issue could be closed.

I'll go ahead and do that.

Based on the above conversation, I'll go ahead and close this issue. @DomGarguilo , feel free to make a PR to remove the comment. That PR doesn't have to depend on this issue being open, since this issue describes something else entirely.


Final revisions for JOSS article

Purpose:
Final revisions for JOSS article
Notes:

Used extra curly brackets around the "b" in "bayesian" in the paper.bib file to ensure "B" capitalizaion
Changed "Github" to "GitHub" in the paper.md file

References:
https://github.com/openjournals/joss-reviews/issues/6507

Thanks @crvernon for your kind help! I have merged this pull request.


[Airbrake] [Production] key not found: "buffer_space_heating_16"

Airbrake error: #2024
Airbrake project: ETMoses
Error type: KeyError
Error message: key not found: "buffer_space_heating_16"
Where: testing_grounds#data
Occurred at: Jun 21, 2016 12:04:16 UTC
First seen at: Jun 21, 2016 12:04:16 UTC
Occurrences: 1 (1 since last deploy on Jun 20, 2016 12:46:23 UTC)
URL: https://moses.energytransitionmodel.com/testing_grounds/478/data.json
File: [PROJECT_ROOT]/app/models/calculation/technology_load.rb
Backtrace:
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:88:in fetch
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:88:in composite
[PROJECT_ROOT]/app/models/calculation/technology_load.rb:48:in block (2 levels) in techs_for
[PROJECT_ROOT]/app/models/installed_technology/profile_curve.rb:17:in block in each

Just to be clear about this one...
This is not an error in the calculator. A heating technology is reporting that it belongs to buffer_space_heating_16, and no such buffer exists. I suspect something in the technology form is to blame.
    {
      "buffer": "buffer_space_heating_16",
      "capacity": 10.0,
      "composite": false,
      "composite_value": null,
      "congestion_reserve_percentage": null,
      "demand": null,
      "name": "Heat pump for space heating (air)",
      "position_relative_to_buffer": "buffering",
      "profile": null,
      "type": "households_space_heater_heatpump_air_water_electricity",
      "units": 18,
      "volume": null,
      "composite_index": 2,
      "concurrency": "min",
      "full_load_hours": 1167,
      "includes": [

      ],
      "initial_investment": 9500.0,
      "om_costs_for_ccs_per_full_load_hour": null,
      "om_costs_per_full_load_hour": 0.0,
      "om_costs_per_year": 100.0,
      "performance_coefficient": 4.5,
      "technical_lifetime": 15,
      "associates": [

      ],
      "node": null,
      "profile_key": null
    },

I suspect something in the technology form is to blame.

I think so to... my best guess would be that there's something going haywire when hitting the concurrency buttons too many times. However, it could also be a bit harder like adding 20 buffers and than adding one again, than switching concurrency? I need to look into this though.

From @ChaelKruip via e-mail:

I triggered this error by moving a technology to another buffer and deleting the original buffer it was attached to...
Strangely, it seems not to be assigned to any buffer now:

I can reproduce this. Apparently, if I move a technology from one buffer to another, save and then refresh, the technology is not actually moved; it remains attached to the original buffer.

Apparently, if I move a technology from one buffer to another, save and then refresh, the technology is not actually moved; it remains attached to the original buffer.

👍 Thanks for finding out the problem though. I'll take a look pretty soon.

Comment from Airbrake: Resolved error reoccurred.

This has to do with the concurrency problems... this is obviously solved with #1277